diff --git a/src/components/autocomplete/AutoComplete.d.ts b/src/components/autocomplete/AutoComplete.d.ts index b988d783c..3d28711dd 100755 --- a/src/components/autocomplete/AutoComplete.d.ts +++ b/src/components/autocomplete/AutoComplete.d.ts @@ -1,4 +1,4 @@ -import { VNode } from 'vue'; +import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; 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. */ - inputProps?: HTMLInputElement | undefined; + inputProps?: InputHTMLAttributes | undefined; /** * 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. */ - panelProps?: HTMLDivElement | undefined; + panelProps?: HTMLAttributes | undefined; /** * Icon to display in loading state. * Default value is 'pi pi-spinner pi-spin'. diff --git a/src/components/calendar/Calendar.d.ts b/src/components/calendar/Calendar.d.ts index 33ed32023..28b812226 100755 --- a/src/components/calendar/Calendar.d.ts +++ b/src/components/calendar/Calendar.d.ts @@ -1,4 +1,4 @@ -import { VNode } from 'vue'; +import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; 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. */ - inputProps?: HTMLInputElement | undefined; + inputProps?: InputHTMLAttributes | undefined; /** * 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. */ - panelProps?: HTMLDivElement | undefined; + panelProps?: HTMLAttributes | undefined; /** * Establishes relationships between the component and label(s) where its value should be one or more element IDs. */ diff --git a/src/components/cascadeselect/CascadeSelect.d.ts b/src/components/cascadeselect/CascadeSelect.d.ts index 68221250c..0219e76ca 100644 --- a/src/components/cascadeselect/CascadeSelect.d.ts +++ b/src/components/cascadeselect/CascadeSelect.d.ts @@ -1,4 +1,4 @@ -import { VNode } from 'vue'; +import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; 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. */ - inputProps?: HTMLInputElement | undefined; + inputProps?: InputHTMLAttributes | undefined; /** * 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. */ - 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. * @see CascadeSelectAppendToType diff --git a/src/components/checkbox/Checkbox.d.ts b/src/components/checkbox/Checkbox.d.ts index 5f3fb3cc1..835074f8a 100755 --- a/src/components/checkbox/Checkbox.d.ts +++ b/src/components/checkbox/Checkbox.d.ts @@ -1,3 +1,4 @@ +import { InputHTMLAttributes } from 'vue'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; 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. */ - inputProps?: HTMLInputElement | undefined; + inputProps?: InputHTMLAttributes | undefined; /** * Establishes relationships between the component and label(s) where its value should be one or more element IDs. */ diff --git a/src/components/chips/Chips.d.ts b/src/components/chips/Chips.d.ts index 4a64643e2..4f5f70f31 100755 --- a/src/components/chips/Chips.d.ts +++ b/src/components/chips/Chips.d.ts @@ -1,4 +1,4 @@ -import { VNode } from 'vue'; +import { InputHTMLAttributes, VNode } from 'vue'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; 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. */ - inputProps?: HTMLInputElement | undefined; + inputProps?: InputHTMLAttributes | undefined; /** * When present, it specifies that the element should be disabled. */ diff --git a/src/components/dropdown/Dropdown.d.ts b/src/components/dropdown/Dropdown.d.ts index 89e26e3ec..adaf626b8 100755 --- a/src/components/dropdown/Dropdown.d.ts +++ b/src/components/dropdown/Dropdown.d.ts @@ -1,4 +1,4 @@ -import { VNode } from 'vue'; +import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; 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. */ - inputProps?: HTMLInputElement | HTMLSpanElement | undefined; + inputProps?: InputHTMLAttributes | HTMLAttributes | undefined; /** * 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. */ - panelProps?: HTMLDivElement | undefined; + panelProps?: HTMLAttributes | undefined; /** * 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. */ - 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. * @see DropdownAppendToType diff --git a/src/components/inputnumber/InputNumber.d.ts b/src/components/inputnumber/InputNumber.d.ts index ef06f4c3a..fb9887266 100755 --- a/src/components/inputnumber/InputNumber.d.ts +++ b/src/components/inputnumber/InputNumber.d.ts @@ -1,3 +1,4 @@ +import { ButtonHTMLAttributes, InputHTMLAttributes } from 'vue'; import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers'; 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. */ - inputProps?: HTMLInputElement | undefined; + inputProps?: InputHTMLAttributes | undefined; /** * 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. */ - decrementButtonProps?: HTMLButtonElement | undefined; + decrementButtonProps?: ButtonHTMLAttributes | undefined; /** * Establishes relationships between the component and label(s) where its value should be one or more element IDs. */ diff --git a/src/components/inputswitch/InputSwitch.d.ts b/src/components/inputswitch/InputSwitch.d.ts index 05cd3f355..86c718c56 100755 --- a/src/components/inputswitch/InputSwitch.d.ts +++ b/src/components/inputswitch/InputSwitch.d.ts @@ -1,3 +1,4 @@ +import { InputHTMLAttributes } from 'vue'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; 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. */ - inputProps?: HTMLInputElement | undefined; + inputProps?: InputHTMLAttributes | undefined; /** * Establishes relationships between the component and label(s) where its value should be one or more element IDs. */ diff --git a/src/components/listbox/Listbox.d.ts b/src/components/listbox/Listbox.d.ts index 051356184..1721ab87b 100755 --- a/src/components/listbox/Listbox.d.ts +++ b/src/components/listbox/Listbox.d.ts @@ -1,4 +1,4 @@ -import { VNode } from 'vue'; +import { InputHTMLAttributes, VNode } from 'vue'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; 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. */ - 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. * @see VirtualScroller.VirtualScrollerProps diff --git a/src/components/multiselect/MultiSelect.d.ts b/src/components/multiselect/MultiSelect.d.ts index a30007b01..0ef65d612 100755 --- a/src/components/multiselect/MultiSelect.d.ts +++ b/src/components/multiselect/MultiSelect.d.ts @@ -1,4 +1,4 @@ -import { VNode } from 'vue'; +import { ButtonHTMLAttributes, HTMLAttributes, InputHTMLAttributes, VNode } from 'vue'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; 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. */ - inputProps?: HTMLInputElement | undefined; + inputProps?: InputHTMLAttributes | undefined; /** * 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. */ - panelProps?: HTMLDivElement | undefined; + panelProps?: HTMLAttributes | undefined; /** * 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. */ - closeButtonProps?: HTMLButtonElement | undefined; + closeButtonProps?: ButtonHTMLAttributes | undefined; /** * A property to uniquely identify an option. */ diff --git a/src/components/password/Password.d.ts b/src/components/password/Password.d.ts index 75ae82507..0ea51a640 100755 --- a/src/components/password/Password.d.ts +++ b/src/components/password/Password.d.ts @@ -1,4 +1,4 @@ -import { VNode, InputHTMLAttributes } from 'vue'; +import { VNode, InputHTMLAttributes, HTMLAttributes } from 'vue'; import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers'; 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. */ - inputProps?: HTMLInputElement | undefined; + inputProps?: InputHTMLAttributes | undefined; /** * 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. */ - panelProps?: HTMLDivElement | undefined; + panelProps?: HTMLAttributes | undefined; /** * Establishes relationships between the component and label(s) where its value should be one or more element IDs. */ diff --git a/src/components/radiobutton/RadioButton.d.ts b/src/components/radiobutton/RadioButton.d.ts index 24314859d..ba613d01e 100755 --- a/src/components/radiobutton/RadioButton.d.ts +++ b/src/components/radiobutton/RadioButton.d.ts @@ -1,3 +1,4 @@ +import { InputHTMLAttributes } from 'vue'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; 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. */ - inputProps?: HTMLInputElement | undefined; + inputProps?: InputHTMLAttributes | undefined; /** * Establishes relationships between the component and label(s) where its value should be one or more element IDs. */ diff --git a/src/components/togglebutton/ToggleButton.d.ts b/src/components/togglebutton/ToggleButton.d.ts index b7381467e..b55353269 100755 --- a/src/components/togglebutton/ToggleButton.d.ts +++ b/src/components/togglebutton/ToggleButton.d.ts @@ -1,3 +1,4 @@ +import { InputHTMLAttributes } from 'vue'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; 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. */ - inputProps?: HTMLInputElement | undefined; + inputProps?: InputHTMLAttributes | undefined; /** * Establishes relationships between the component and label(s) where its value should be one or more element IDs. */ diff --git a/src/components/tristatecheckbox/TriStateCheckbox.d.ts b/src/components/tristatecheckbox/TriStateCheckbox.d.ts index 401de9cad..e0bbdd9db 100755 --- a/src/components/tristatecheckbox/TriStateCheckbox.d.ts +++ b/src/components/tristatecheckbox/TriStateCheckbox.d.ts @@ -1,3 +1,4 @@ +import { InputHTMLAttributes } from 'vue'; import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers'; 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. */ - inputProps?: HTMLInputElement | undefined; + inputProps?: InputHTMLAttributes | undefined; /** * Establishes relationships between the component and label(s) where its value should be one or more element IDs. */