Fixed #2891 - Update all html prop types
parent
ab957ad53d
commit
93b6b04cdf
|
@ -1,4 +1,4 @@
|
||||||
import { VNode } from 'vue';
|
import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue';
|
||||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||||
import { VirtualScrollerProps, VirtualScrollerItemOptions } from '../virtualscroller';
|
import { VirtualScrollerProps, VirtualScrollerItemOptions } from '../virtualscroller';
|
||||||
|
|
||||||
|
@ -174,7 +174,7 @@ export interface AutoCompleteProps {
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
||||||
*/
|
*/
|
||||||
inputProps?: HTMLInputElement | undefined;
|
inputProps?: InputHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Inline style of the overlay panel.
|
* Inline style of the overlay panel.
|
||||||
*/
|
*/
|
||||||
|
@ -186,7 +186,7 @@ export interface AutoCompleteProps {
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.
|
* Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.
|
||||||
*/
|
*/
|
||||||
panelProps?: HTMLDivElement | undefined;
|
panelProps?: HTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in loading state.
|
* Icon to display in loading state.
|
||||||
* Default value is 'pi pi-spinner pi-spin'.
|
* Default value is 'pi pi-spinner pi-spin'.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { VNode } from 'vue';
|
import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue';
|
||||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||||
|
|
||||||
type CalendarValueType = Date | Date[] | undefined;
|
type CalendarValueType = Date | Date[] | undefined;
|
||||||
|
@ -266,7 +266,7 @@ export interface CalendarProps {
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
||||||
*/
|
*/
|
||||||
inputProps?: HTMLInputElement | undefined;
|
inputProps?: InputHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Inline style of the overlay panel.
|
* Inline style of the overlay panel.
|
||||||
*/
|
*/
|
||||||
|
@ -278,7 +278,7 @@ export interface CalendarProps {
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.
|
* Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.
|
||||||
*/
|
*/
|
||||||
panelProps?: HTMLDivElement | undefined;
|
panelProps?: HTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { VNode } from 'vue';
|
import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue';
|
||||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||||
|
|
||||||
type CascadeSelectOptionLabelType = string | ((data: any) => string) | undefined;
|
type CascadeSelectOptionLabelType = string | ((data: any) => string) | undefined;
|
||||||
|
@ -88,7 +88,7 @@ export interface CascadeSelectProps {
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
||||||
*/
|
*/
|
||||||
inputProps?: HTMLInputElement | undefined;
|
inputProps?: InputHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Inline style of the overlay panel.
|
* Inline style of the overlay panel.
|
||||||
*/
|
*/
|
||||||
|
@ -100,7 +100,7 @@ export interface CascadeSelectProps {
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.
|
* Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.
|
||||||
*/
|
*/
|
||||||
panelProps?: HTMLDivElement | undefined;
|
panelProps?: HTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are 'body' for document body and 'self' for the element itself.
|
* A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are 'body' for document body and 'self' for the element itself.
|
||||||
* @see CascadeSelectAppendToType
|
* @see CascadeSelectAppendToType
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
import { InputHTMLAttributes } from 'vue';
|
||||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||||
|
|
||||||
export interface CheckboxProps {
|
export interface CheckboxProps {
|
||||||
|
@ -56,7 +57,7 @@ export interface CheckboxProps {
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
||||||
*/
|
*/
|
||||||
inputProps?: HTMLInputElement | undefined;
|
inputProps?: InputHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { VNode } from 'vue';
|
import { InputHTMLAttributes, VNode } from 'vue';
|
||||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||||
|
|
||||||
export interface ChipsAddEvent {
|
export interface ChipsAddEvent {
|
||||||
|
@ -54,7 +54,7 @@ export interface ChipsProps {
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
||||||
*/
|
*/
|
||||||
inputProps?: HTMLInputElement | undefined;
|
inputProps?: InputHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* When present, it specifies that the element should be disabled.
|
* When present, it specifies that the element should be disabled.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { VNode } from 'vue';
|
import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue';
|
||||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||||
import { VirtualScrollerProps, VirtualScrollerItemOptions } from '../virtualscroller';
|
import { VirtualScrollerProps, VirtualScrollerItemOptions } from '../virtualscroller';
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@ export interface DropdownProps {
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component.
|
* Uses to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component.
|
||||||
*/
|
*/
|
||||||
inputProps?: HTMLInputElement | HTMLSpanElement | undefined;
|
inputProps?: InputHTMLAttributes | HTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Inline style of the overlay panel.
|
* Inline style of the overlay panel.
|
||||||
*/
|
*/
|
||||||
|
@ -144,15 +144,15 @@ export interface DropdownProps {
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.
|
* Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.
|
||||||
*/
|
*/
|
||||||
panelProps?: HTMLDivElement | undefined;
|
panelProps?: HTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLInputElement to the filter input inside the component.
|
* Uses to pass all properties of the HTMLInputElement to the filter input inside the component.
|
||||||
*/
|
*/
|
||||||
filterInputProps?: HTMLInputElement | undefined;
|
filterInputProps?: InputHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLElement to the clear icon inside the component.
|
* Uses to pass all properties of the HTMLElement to the clear icon inside the component.
|
||||||
*/
|
*/
|
||||||
clearIconProps?: HTMLElement | undefined;
|
clearIconProps?: HTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are 'body' for document body and 'self' for the element itself.
|
* A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are 'body' for document body and 'self' for the element itself.
|
||||||
* @see DropdownAppendToType
|
* @see DropdownAppendToType
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
import { ButtonHTMLAttributes, InputHTMLAttributes } from 'vue';
|
||||||
import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers';
|
import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers';
|
||||||
|
|
||||||
type InputNumberButtonLayoutType = 'stacked' | 'horizontal' | 'vertical' | undefined;
|
type InputNumberButtonLayoutType = 'stacked' | 'horizontal' | 'vertical' | undefined;
|
||||||
|
@ -160,15 +161,15 @@ export interface InputNumberProps {
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
||||||
*/
|
*/
|
||||||
inputProps?: HTMLInputElement | undefined;
|
inputProps?: InputHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLButtonElement to increment button inside the component.
|
* Uses to pass all properties of the HTMLButtonElement to increment button inside the component.
|
||||||
*/
|
*/
|
||||||
incrementButtonProps?: HTMLButtonElement | undefined;
|
incrementButtonProps?: ButtonHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLButtonElement to decrement button inside the component.
|
* Uses to pass all properties of the HTMLButtonElement to decrement button inside the component.
|
||||||
*/
|
*/
|
||||||
decrementButtonProps?: HTMLButtonElement | undefined;
|
decrementButtonProps?: ButtonHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
import { InputHTMLAttributes } from 'vue';
|
||||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||||
|
|
||||||
export interface InputSwitchProps {
|
export interface InputSwitchProps {
|
||||||
|
@ -28,7 +29,7 @@ export interface InputSwitchProps {
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
||||||
*/
|
*/
|
||||||
inputProps?: HTMLInputElement | undefined;
|
inputProps?: InputHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { VNode } from 'vue';
|
import { InputHTMLAttributes, VNode } from 'vue';
|
||||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||||
import { VirtualScrollerProps, VirtualScrollerItemOptions } from '../virtualscroller';
|
import { VirtualScrollerProps, VirtualScrollerItemOptions } from '../virtualscroller';
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@ export interface ListboxProps {
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLInputElement to the filter input inside the component.
|
* Uses to pass all properties of the HTMLInputElement to the filter input inside the component.
|
||||||
*/
|
*/
|
||||||
filterInputProps?: HTMLInputElement | undefined;
|
filterInputProps?: InputHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it.
|
* Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it.
|
||||||
* @see VirtualScroller.VirtualScrollerProps
|
* @see VirtualScroller.VirtualScrollerProps
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { VNode } from 'vue';
|
import { ButtonHTMLAttributes, HTMLAttributes, InputHTMLAttributes, VNode } from 'vue';
|
||||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||||
import { VirtualScrollerProps, VirtualScrollerItemOptions } from '../virtualscroller';
|
import { VirtualScrollerProps, VirtualScrollerItemOptions } from '../virtualscroller';
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ export interface MultiSelectProps {
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
||||||
*/
|
*/
|
||||||
inputProps?: HTMLInputElement | undefined;
|
inputProps?: InputHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Inline style of the overlay panel.
|
* Inline style of the overlay panel.
|
||||||
*/
|
*/
|
||||||
|
@ -110,15 +110,15 @@ export interface MultiSelectProps {
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLDivElement to the overlay panel.
|
* Uses to pass all properties of the HTMLDivElement to the overlay panel.
|
||||||
*/
|
*/
|
||||||
panelProps?: HTMLDivElement | undefined;
|
panelProps?: HTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLInputElement to the filter input inside the overlay panel.
|
* Uses to pass all properties of the HTMLInputElement to the filter input inside the overlay panel.
|
||||||
*/
|
*/
|
||||||
filterInputProps?: HTMLInputElement | undefined;
|
filterInputProps?: InputHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLButtonElement to the clear button inside the overlay panel.
|
* Uses to pass all properties of the HTMLButtonElement to the clear button inside the overlay panel.
|
||||||
*/
|
*/
|
||||||
closeButtonProps?: HTMLButtonElement | undefined;
|
closeButtonProps?: ButtonHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* A property to uniquely identify an option.
|
* A property to uniquely identify an option.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { VNode, InputHTMLAttributes } from 'vue';
|
import { VNode, InputHTMLAttributes, HTMLAttributes } from 'vue';
|
||||||
import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers';
|
import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers';
|
||||||
|
|
||||||
type PasswordAppendToType = 'body' | 'self' | string | undefined | HTMLElement;
|
type PasswordAppendToType = 'body' | 'self' | string | undefined | HTMLElement;
|
||||||
|
@ -82,7 +82,7 @@ export interface PasswordProps extends InputHTMLAttributes {
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
||||||
*/
|
*/
|
||||||
inputProps?: HTMLInputElement | undefined;
|
inputProps?: InputHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Identifier of the underlying overlay panel element.
|
* Identifier of the underlying overlay panel element.
|
||||||
*/
|
*/
|
||||||
|
@ -98,7 +98,7 @@ export interface PasswordProps extends InputHTMLAttributes {
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.
|
* Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.
|
||||||
*/
|
*/
|
||||||
panelProps?: HTMLDivElement | undefined;
|
panelProps?: HTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
import { InputHTMLAttributes } from 'vue';
|
||||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||||
|
|
||||||
export interface RadioButtonProps {
|
export interface RadioButtonProps {
|
||||||
|
@ -32,7 +33,7 @@ export interface RadioButtonProps {
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
||||||
*/
|
*/
|
||||||
inputProps?: HTMLInputElement | undefined;
|
inputProps?: InputHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
import { InputHTMLAttributes } from 'vue';
|
||||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||||
|
|
||||||
type ToggleButtonType = 'left' | 'right' | undefined;
|
type ToggleButtonType = 'left' | 'right' | undefined;
|
||||||
|
@ -54,7 +55,7 @@ export interface ToggleButtonProps {
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
||||||
*/
|
*/
|
||||||
inputProps?: HTMLInputElement | undefined;
|
inputProps?: InputHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
import { InputHTMLAttributes } from 'vue';
|
||||||
import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers';
|
import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers';
|
||||||
|
|
||||||
export interface TriStateCheckboxProps {
|
export interface TriStateCheckboxProps {
|
||||||
|
@ -20,7 +21,7 @@ export interface TriStateCheckboxProps {
|
||||||
/**
|
/**
|
||||||
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
||||||
*/
|
*/
|
||||||
inputProps?: HTMLInputElement | undefined;
|
inputProps?: InputHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue