diff --git a/components/doc/DocApiTable.vue b/components/doc/DocApiTable.vue index f9b99f517..bbc12dd22 100644 --- a/components/doc/DocApiTable.vue +++ b/components/doc/DocApiTable.vue @@ -29,14 +29,14 @@ {{ ' | ' }} {{ value }}{{ value }} + >{{ value ==='T'? 'any': value }} - {{ val.name }}: {{ val.type }} + {{ val.name }}: {{ (val.type === 'T' || val.type.includes('')) ? 'any' : val.type }} @@ -111,7 +111,7 @@ export default { }); }, isLinkType(value) { - if (this.label === 'Slots') return false; + if (this.label === 'Slots' || value.includes('SharedPassThroughOption') || value.includes('PassThrough<')) return false; const validValues = ['confirmationoptions', 'toastmessageoptions']; return value.toLowerCase().includes(this.id.split('.')[1]) || validValues.includes(value.toLowerCase()); diff --git a/components/doc/helpers/PTHelper.js b/components/doc/helpers/PTHelper.js index 76675d28f..b6c79714e 100644 --- a/components/doc/helpers/PTHelper.js +++ b/components/doc/helpers/PTHelper.js @@ -7,10 +7,21 @@ export const getPTOption = (name) => { for (const [i, prop] of props.entries()) { if (options) { + let subCompName, subOptions; + let hasSubComp = prop.name !== 'hooks' && prop.type.indexOf('TransitionType') === -1 && prop.type.indexOf('<') > -1 && name.toLowerCase() !== prop.type.slice(0, prop.type.indexOf('<')).toLowerCase(); + + if (hasSubComp) { + subCompName = prop.type.slice(0, prop.type.indexOf('<')).replace('PassThroughOptions', '').replace('PassThroughOptionType', ''); + subOptions = APIDocs[subCompName.toLowerCase()].interfaces.values[`${subCompName}PassThroughMethodOptions`]; + const objToReplace = subOptions.props.find((opt) => opt.name === 'parent'); + + objToReplace.type = prop.type; + } + data.push({ value: i + 1, label: prop.name, - options: options?.props, + options: hasSubComp ? subOptions?.props : options?.props, description: prop.description }); } else { diff --git a/components/lib/autocomplete/AutoComplete.d.ts b/components/lib/autocomplete/AutoComplete.d.ts index f808f8f35..5266f582d 100755 --- a/components/lib/autocomplete/AutoComplete.d.ts +++ b/components/lib/autocomplete/AutoComplete.d.ts @@ -9,7 +9,7 @@ */ import { HTMLAttributes, InputHTMLAttributes, TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; -import { ButtonPassThroughOptionType } from '../button'; +import { ButtonPassThroughOptions } from '../button'; import { PassThroughOptions } from '../passthrough'; import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers'; import { VirtualScrollerItemOptions, VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../virtualscroller'; @@ -44,6 +44,20 @@ export interface AutoCompletePassThroughMethodOptions { global: object | undefined; } +/** + * Custom shared passthrough(pt) option method. + */ +export interface AutoCompleteSharedPassThroughMethodOptions { + /** + * Defines valid properties. + */ + props: AutoCompleteProps; + /** + * Defines current inline state. + */ + state: AutoCompleteState; +} + /** * Custom change event. * @see {@link AutoCompleteEmits.change} @@ -150,8 +164,9 @@ export interface AutoCompletePassThroughOptions { loadingIcon?: AutoCompletePassThroughOptionType; /** * Used to pass attributes to the Button component. + * @see {@link ButtonPassThroughOptions} */ - dropdownButton?: ButtonPassThroughOptionType; + dropdownButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the panel's DOM element. */ diff --git a/components/lib/badge/Badge.d.ts b/components/lib/badge/Badge.d.ts index b91687a8b..6002e5770 100644 --- a/components/lib/badge/Badge.d.ts +++ b/components/lib/badge/Badge.d.ts @@ -12,12 +12,12 @@ import { ComponentHooks } from '../basecomponent'; import { PassThroughOptions } from '../passthrough'; import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers'; -export declare type BadgePassThroughOptionType = BadgePassThroughAttributes | ((options: BadgePassThroughMethodOptions) => BadgePassThroughAttributes | string) | string | null | undefined; +export declare type BadgePassThroughOptionType = BadgePassThroughAttributes | ((options: BadgePassThroughMethodOptions) => BadgePassThroughAttributes | string) | string | null | undefined; /** * Custom passthrough(pt) option method. */ -export interface BadgePassThroughMethodOptions { +export interface BadgePassThroughMethodOptions { /** * Defines instance. */ @@ -30,6 +30,10 @@ export interface BadgePassThroughMethodOptions { * Defines passthrough(pt) options in global config. */ global: object | undefined; + /** + * Defines parent instance. + */ + parent: T; } /** @@ -43,11 +47,11 @@ export interface BadgePassThroughAttributes { * Custom passthrough(pt) options. * @see {@link BadgeProps.pt} */ -export interface BadgePassThroughOptions { +export interface BadgePassThroughOptions { /** * Used to pass attributes to the root's DOM element. */ - root?: BadgePassThroughOptionType; + root?: BadgePassThroughOptionType; /** * Used to manage all lifecycle hooks. * @see {@link BaseComponent.ComponentHooks} diff --git a/components/lib/button/Button.d.ts b/components/lib/button/Button.d.ts index bbda85ea1..768e3ff28 100755 --- a/components/lib/button/Button.d.ts +++ b/components/lib/button/Button.d.ts @@ -12,12 +12,12 @@ import { ComponentHooks } from '../basecomponent'; import { PassThroughOptions } from '../passthrough'; import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers'; -export declare type ButtonPassThroughOptionType = ButtonPassThroughAttributes | ((options: ButtonPassThroughMethodOptions) => ButtonPassThroughAttributes | string) | string | null | undefined; +export declare type ButtonPassThroughOptionType = ButtonPassThroughAttributes | ((options: ButtonPassThroughMethodOptions) => ButtonPassThroughAttributes | string) | string | null | undefined; /** * Custom passthrough(pt) option method. */ -export interface ButtonPassThroughMethodOptions { +export interface ButtonPassThroughMethodOptions { /** * Defines instance. */ @@ -33,7 +33,7 @@ export interface ButtonPassThroughMethodOptions { /** * Defines parent instance. */ - parent: any; + parent: T; /** * Defines passthrough(pt) options in global config. */ @@ -44,27 +44,27 @@ export interface ButtonPassThroughMethodOptions { * Custom passthrough(pt) options. * @see {@link ButtonProps.pt} */ -export interface ButtonPassThroughOptions { +export interface ButtonPassThroughOptions { /** * Used to pass attributes to the root's DOM element. */ - root?: ButtonPassThroughOptionType; + root?: ButtonPassThroughOptionType; /** * Used to pass attributes to the loading icon's DOM element. */ - loadingIcon?: ButtonPassThroughOptionType; + loadingIcon?: ButtonPassThroughOptionType; /** * Used to pass attributes to the icon's DOM element. */ - icon?: ButtonPassThroughOptionType; + icon?: ButtonPassThroughOptionType; /** * Used to pass attributes to the label's DOM element. */ - label?: ButtonPassThroughOptionType; + label?: ButtonPassThroughOptionType; /** * Used to pass attributes to the badge's DOM element. */ - badge?: ButtonPassThroughOptionType; + badge?: ButtonPassThroughOptionType; /** * Used to manage all lifecycle hooks. * @see {@link BaseComponent.ComponentHooks} @@ -171,7 +171,7 @@ export interface ButtonProps extends ButtonHTMLAttributes { * Used to pass attributes to DOM elements inside the component. * @type {ButtonPassThroughOptions} */ - pt?: PassThrough; + pt?: PassThrough>; /** * Used to configure passthrough(pt) options of the component. * @type {PassThroughOptions} diff --git a/components/lib/calendar/Calendar.d.ts b/components/lib/calendar/Calendar.d.ts index 1ad87ee10..b399e31d4 100755 --- a/components/lib/calendar/Calendar.d.ts +++ b/components/lib/calendar/Calendar.d.ts @@ -9,7 +9,7 @@ */ import { HTMLAttributes, InputHTMLAttributes, TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; -import { ButtonPassThroughOptionType } from '../button'; +import { ButtonPassThroughOptions } from '../button'; import { PassThroughOptions } from '../passthrough'; import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers'; @@ -43,6 +43,20 @@ export interface CalendarPassThroughMethodOptions { global: object | undefined; } +/** + * Custom shared passthrough(pt) option method. + */ +export interface CalendarSharedPassThroughMethodOptions { + /** + * Defines valid properties. + */ + props: CalendarProps; + /** + * Defines current inline state. + */ + state: CalendarState; +} + /** * Custom Calendar responsive options metadata. */ @@ -117,9 +131,9 @@ export interface CalendarPassThroughOptions { input?: CalendarPassThroughOptionType; /** * Used to pass attributes to the Button component. - * @see {@link ButtonPassThroughOptionType} + * @see {@link ButtonPassThroughOptions} */ - dropdownButton?: ButtonPassThroughOptionType; + dropdownButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the panel's DOM element. */ @@ -138,9 +152,9 @@ export interface CalendarPassThroughOptions { header?: CalendarPassThroughOptionType; /** * Used to pass attributes to the Button component. - * @see {@link ButtonPassThroughOptionType} + * @see {@link ButtonPassThroughOptions} */ - previousButton?: ButtonPassThroughOptionType; + previousButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the title's DOM element. */ @@ -159,9 +173,9 @@ export interface CalendarPassThroughOptions { decadeTitle?: CalendarPassThroughOptionType; /** * Used to pass attributes to the Button component. - * @see {@link ButtonPassThroughOptionType} + * @see {@link ButtonPassThroughOptions} */ - nextButton?: ButtonPassThroughOptionType; + nextButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the container's DOM element. */ @@ -288,14 +302,14 @@ export interface CalendarPassThroughOptions { buttonbar?: CalendarPassThroughOptionType; /** * Used to pass attributes to the Button component. - * @see {@link ButtonPassThroughOptionType} + * @see {@link ButtonPassThroughOptions} */ - todayButton?: ButtonPassThroughOptionType; + todayButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the Button component. - * @see {@link ButtonPassThroughOptionType} + * @see {@link ButtonPassThroughOptions} */ - clearButton?: ButtonPassThroughOptionType; + clearButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the aria selected day's DOM element. */ diff --git a/components/lib/column/Column.d.ts b/components/lib/column/Column.d.ts index 093b17694..b9400f2f6 100755 --- a/components/lib/column/Column.d.ts +++ b/components/lib/column/Column.d.ts @@ -11,7 +11,7 @@ import { VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; -import { ButtonPassThroughOptionType } from '../button'; +import { ButtonPassThroughOptions } from '../button'; import { DataTablePassThroughOptions } from '../datatable'; import { DropdownPassThroughOptionType } from '../dropdown'; import { PassThroughOptions } from '../passthrough'; @@ -46,6 +46,20 @@ export interface ColumnPassThroughMethodOptions { global: object | undefined; } +/** + * Custom shared passthrough(pt) option method. + */ +export interface ColumnSharedPassThroughMethodOptions { + /** + * Defines valid properties. + */ + props: ColumnProps; + /** + * Defines parent instance. + */ + parent: DataTablePassThroughOptions; +} + /** * Filter model metadata. */ @@ -194,7 +208,7 @@ export interface ColumnPassThroughOptions { * Used to pass attributes to the Dropdown component. * @see {@link DropdownPassThroughOptionType} */ - filterOperatorDropdown?: DropdownPassThroughOptionType; + filterOperatorDropdown?: DropdownPassThroughOptionType; /** * Used to pass attributes to the filter constraints' DOM element. */ @@ -207,39 +221,39 @@ export interface ColumnPassThroughOptions { * Used to pass attributes to the Dropdown component. * @see {@link DropdownPassThroughOptionType} */ - filterMatchModeDropdown?: DropdownPassThroughOptionType; + filterMatchModeDropdown?: DropdownPassThroughOptionType; /** * Used to pass attributes to the filter remove button container's DOM element. */ filterRemove?: ColumnPassThroughOptionType; /** * Used to pass attributes to the Button component. - * @see {@link ButtonPassThroughOptionType} + * @see {@link ButtonPassThroughOptions} */ - filterRemoveButton?: ButtonPassThroughOptionType; + filterRemoveButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the filter add rule's DOM element. */ filterAddRule?: ColumnPassThroughOptionType; /** * Used to pass attributes to the Button component. - * @see {@link ButtonPassThroughOptionType} + * @see {@link ButtonPassThroughOptions} */ - filterAddRuleButton?: ButtonPassThroughOptionType; + filterAddRuleButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the filter buttonbar's DOM element. */ filterButtonbar?: ColumnPassThroughOptionType; /** * Used to pass attributes to the Button component. - * @see {@link ButtonPassThroughOptionType} + * @see {@link ButtonPassThroughOptions} */ - filterClearButton?: ButtonPassThroughOptionType; + filterClearButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the Button component. - * @see {@link ButtonPassThroughOptionType} + * @see {@link ButtonPassThroughOptions} */ - filterApplyButton?: ButtonPassThroughOptionType; + filterApplyButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the body cell's DOM element. */ diff --git a/components/lib/confirmdialog/ConfirmDialog.d.ts b/components/lib/confirmdialog/ConfirmDialog.d.ts index 20639a966..9597497e4 100644 --- a/components/lib/confirmdialog/ConfirmDialog.d.ts +++ b/components/lib/confirmdialog/ConfirmDialog.d.ts @@ -38,6 +38,20 @@ export interface ConfirmDialogPassThroughMethodOptions { global: object | undefined; } +/** + * Custom shared passthrough(pt) option method. + */ +export interface ConfirmDialogSharedPassThroughMethodOptions { + /** + * Defines valid properties. + */ + props: ConfirmDialogProps; + /** + * Defines current inline state. + */ + state: ConfirmDialogState; +} + /** * Custom passthrough(pt) options. * @see {@link ConfirmDialogProps.pt} @@ -87,12 +101,12 @@ export interface ConfirmDialogPassThroughOptions { * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptions} */ - rejectButton?: ButtonPassThroughOptions; + rejectButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptions} */ - acceptButton?: ButtonPassThroughOptions; + acceptButton?: ButtonPassThroughOptions; /** * Used to manage all lifecycle hooks. * @see {@link BaseComponent.ComponentHooks} diff --git a/components/lib/confirmpopup/ConfirmPopup.d.ts b/components/lib/confirmpopup/ConfirmPopup.d.ts index a87c77c75..4bf168c86 100644 --- a/components/lib/confirmpopup/ConfirmPopup.d.ts +++ b/components/lib/confirmpopup/ConfirmPopup.d.ts @@ -40,6 +40,20 @@ export interface ConfirmPopupPassThroughMethodOptions { global: object | undefined; } +/** + * Custom shared passthrough(pt) option method. + */ +export interface ConfirmPopupSharedPassThroughMethodOptions { + /** + * Defines valid properties. + */ + props: ConfirmPopupProps; + /** + * Defines current inline state. + */ + state: ConfirmPopupState; +} + /** * Custom passthrough(pt) options. * @see {@link ConfirmPopupProps.pt} @@ -69,12 +83,12 @@ export interface ConfirmPopupPassThroughOptions { * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptions} */ - rejectButton?: ButtonPassThroughOptions; + rejectButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptions} */ - acceptButton?: ButtonPassThroughOptions; + acceptButton?: ButtonPassThroughOptions; /** * Used to manage all lifecycle hooks. * @see {@link BaseComponent.ComponentHooks} diff --git a/components/lib/datatable/DataTable.d.ts b/components/lib/datatable/DataTable.d.ts index 6df41b87e..ee7e08888 100755 --- a/components/lib/datatable/DataTable.d.ts +++ b/components/lib/datatable/DataTable.d.ts @@ -47,6 +47,20 @@ export interface DataTablePassThroughMethodOptions { global: object | undefined; } +/** + * Custom shared passthrough(pt) option method. + */ +export interface DataTableSharedPassThroughMethodOptions { + /** + * Defines valid properties. + */ + props: DataTableProps; + /** + * Defines current inline state. + */ + state: DataTableState; +} + /** * Custom datatable export metadata. */ @@ -582,7 +596,7 @@ export interface DataTablePassThroughOptions { * Used to pass attributes to the Paginator component. * @see {@link PaginatorPassThroughOptionType} */ - paginator?: PaginatorPassThroughOptionType; + paginator?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the wrapper's DOM element. */ diff --git a/components/lib/dataview/DataView.d.ts b/components/lib/dataview/DataView.d.ts index 64afb3291..d533a097e 100755 --- a/components/lib/dataview/DataView.d.ts +++ b/components/lib/dataview/DataView.d.ts @@ -36,6 +36,21 @@ export interface DataViewPassThroughMethodOptions { */ global: object | undefined; } + +/** + * Custom shared passthrough(pt) option method. + */ +export interface DataViewSharedPassThroughMethodOptions { + /** + * Defines valid properties. + */ + props: DataViewProps; + /** + * Defines current inline state. + */ + state: DataViewState; +} + /** * Custom page event. * @see {@link DataViewEmits.page} @@ -76,7 +91,7 @@ export interface DataViewPassThroughOptions { * Used to pass attributes to the Paginator component. * @see {@link PaginatorPassThroughOptionType} */ - paginator?: PaginatorPassThroughOptionType; + paginator?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the content's DOM element. */ diff --git a/components/lib/dialog/Dialog.d.ts b/components/lib/dialog/Dialog.d.ts index 55ff6e8ea..5cf3c5b19 100755 --- a/components/lib/dialog/Dialog.d.ts +++ b/components/lib/dialog/Dialog.d.ts @@ -12,14 +12,14 @@ import { ComponentHooks } from '../basecomponent'; import { PassThroughOptions } from '../passthrough'; import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers'; -export declare type DialogPassThroughOptionType = DialogPassThroughAttributes | ((options: DialogPassThroughMethodOptions) => DialogPassThroughAttributes | string) | string | null | undefined; +export declare type DialogPassThroughOptionType = DialogPassThroughAttributes | ((options: DialogPassThroughMethodOptions) => DialogPassThroughAttributes | string) | string | null | undefined; -export declare type DialogPassThroughTransitionType = TransitionProps | ((options: DialogPassThroughMethodOptions) => TransitionProps) | undefined; +export declare type DialogPassThroughTransitionType = TransitionProps | ((options: DialogPassThroughMethodOptions) => TransitionProps) | undefined; /** * Custom passthrough(pt) option method. */ -export interface DialogPassThroughMethodOptions { +export interface DialogPassThroughMethodOptions { /** * Defines instance. */ @@ -32,6 +32,10 @@ export interface DialogPassThroughMethodOptions { * Defines current inline state. */ state: DialogState; + /** + * Defines parent instance. + */ + parent: T; /** * Defines passthrough(pt) options in global config. */ @@ -42,51 +46,51 @@ export interface DialogPassThroughMethodOptions { * Custom passthrough(pt) options. * @see {@link DialogProps.pt} */ -export interface DialogPassThroughOptions { +export interface DialogPassThroughOptions { /** * Used to pass attributes to the root's DOM element. */ - root?: DialogPassThroughOptionType; + root?: DialogPassThroughOptionType; /** * Used to pass attributes to the header's DOM element. */ - header?: DialogPassThroughOptionType; + header?: DialogPassThroughOptionType; /** * Used to pass attributes to the header title's DOM element. */ - title?: DialogPassThroughOptionType; + title?: DialogPassThroughOptionType; /** * Used to pass attributes to the header icons' DOM element. */ - icons?: DialogPassThroughOptionType; + icons?: DialogPassThroughOptionType; /** * Used to pass attributes to the maximizable button's DOM element. */ - maximizableButton?: DialogPassThroughOptionType; + maximizableButton?: DialogPassThroughOptionType; /** * Used to pass attributes to the maximizable icon's DOM element. */ - maximizableIcon?: DialogPassThroughOptionType; + maximizableIcon?: DialogPassThroughOptionType; /** * Used to pass attributes to the close button's component. */ - closeButton?: DialogPassThroughOptionType; + closeButton?: DialogPassThroughOptionType; /** * Used to pass attributes to the close button icon's component. */ - closeButtonIcon?: DialogPassThroughOptionType; + closeButtonIcon?: DialogPassThroughOptionType; /** * Used to pass attributes to the content's DOM element. */ - content?: DialogPassThroughOptionType; + content?: DialogPassThroughOptionType; /** * Used to pass attributes to the footer's DOM element. */ - footer?: DialogPassThroughOptionType; + footer?: DialogPassThroughOptionType; /** * Used to pass attributes to the mask's DOM element. */ - mask?: DialogPassThroughOptionType; + mask?: DialogPassThroughOptionType; /** * Used to manage all lifecycle hooks. * @see {@link BaseComponent.ComponentHooks} @@ -95,7 +99,7 @@ export interface DialogPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: DialogPassThroughTransitionType; + transition?: DialogPassThroughTransitionType; } /** diff --git a/components/lib/dropdown/Dropdown.d.ts b/components/lib/dropdown/Dropdown.d.ts index dee0b76d2..3e86a0347 100755 --- a/components/lib/dropdown/Dropdown.d.ts +++ b/components/lib/dropdown/Dropdown.d.ts @@ -13,14 +13,14 @@ import { PassThroughOptions } from '../passthrough'; import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers'; import { VirtualScrollerItemOptions, VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../virtualscroller'; -export declare type DropdownPassThroughOptionType = DropdownPassThroughAttributes | ((options: DropdownPassThroughMethodOptions) => DropdownPassThroughAttributes | string) | string | null | undefined; +export declare type DropdownPassThroughOptionType = DropdownPassThroughAttributes | ((options: DropdownPassThroughMethodOptions) => DropdownPassThroughAttributes | string) | string | null | undefined; -export declare type DropdownPassThroughTransitionType = TransitionProps | ((options: DropdownPassThroughMethodOptions) => TransitionProps) | undefined; +export declare type DropdownPassThroughTransitionType = TransitionProps | ((options: DropdownPassThroughMethodOptions) => TransitionProps) | undefined; /** * Custom passthrough(pt) option method. */ -export interface DropdownPassThroughMethodOptions { +export interface DropdownPassThroughMethodOptions { /** * Defines instance. */ @@ -33,6 +33,10 @@ export interface DropdownPassThroughMethodOptions { * Defines current inline state. */ state: DropdownState; + /** + * Defines parent instance. + */ + parent: T | any; /** * Defines current options. */ @@ -77,51 +81,51 @@ export interface DropdownFilterEvent { * Custom passthrough(pt) options. * @see {@link DropdownProps.pt} */ -export interface DropdownPassThroughOptions { +export interface DropdownPassThroughOptions { /** * Used to pass attributes to the root's DOM element. */ - root?: DropdownPassThroughOptionType; + root?: DropdownPassThroughOptionType; /** * Used to pass attributes to the input's DOM element. */ - input?: DropdownPassThroughOptionType; + input?: DropdownPassThroughOptionType; /** * Used to pass attributes to the clear icon's DOM element. */ - clearIcon?: DropdownPassThroughOptionType; + clearIcon?: DropdownPassThroughOptionType; /** * Used to pass attributes to the trigger' DOM element. */ - trigger?: DropdownPassThroughOptionType; + trigger?: DropdownPassThroughOptionType; /** * Used to pass attributes to the loading icon's DOM element. */ - loadingIcon?: DropdownPassThroughOptionType; + loadingIcon?: DropdownPassThroughOptionType; /** * Used to pass attributes to the panel's DOM element. */ - panel?: DropdownPassThroughOptionType; + panel?: DropdownPassThroughOptionType; /** * Used to pass attributes to the header's DOM element. */ - header?: DropdownPassThroughOptionType; + header?: DropdownPassThroughOptionType; /** * Used to pass attributes to the filter container's DOM element. */ - filterContainer?: DropdownPassThroughOptionType; + filterContainer?: DropdownPassThroughOptionType; /** * Used to pass attributes to the filter input's DOM element. */ - filterInput?: DropdownPassThroughOptionType; + filterInput?: DropdownPassThroughOptionType; /** * Used to pass attributes to the filter icon's DOM element. */ - filterIcon?: DropdownPassThroughOptionType; + filterIcon?: DropdownPassThroughOptionType; /** * Used to pass attributes to the wrapper's DOM element. */ - wrapper?: DropdownPassThroughOptionType; + wrapper?: DropdownPassThroughOptionType; /** * Used to pass attributes to the VirtualScroller component. * @see {@link VirtualScrollerPassThroughOptionType} @@ -130,39 +134,39 @@ export interface DropdownPassThroughOptions { /** * Used to pass attributes to the list's DOM element. */ - list?: DropdownPassThroughOptionType; + list?: DropdownPassThroughOptionType; /** * Used to pass attributes to the item group's DOM element. */ - itemGroup?: DropdownPassThroughOptionType; + itemGroup?: DropdownPassThroughOptionType; /** * Used to pass attributes to the item's DOM element. */ - item?: DropdownPassThroughOptionType; + item?: DropdownPassThroughOptionType; /** * Used to pass attributes to the empty message's DOM element. */ - emptyMessage?: DropdownPassThroughOptionType; + emptyMessage?: DropdownPassThroughOptionType; /** * Used to pass attributes to the hidden first focusable element's DOM element. */ - hiddenFirstFocusableEl?: DropdownPassThroughOptionType; + hiddenFirstFocusableEl?: DropdownPassThroughOptionType; /** * Used to pass attributes to the hidden filter result's DOM element. */ - hiddenFilterResult?: DropdownPassThroughOptionType; + hiddenFilterResult?: DropdownPassThroughOptionType; /** * Used to pass attributes to the hidden empty message's DOM element. */ - hiddenEmptyMessage?: DropdownPassThroughOptionType; + hiddenEmptyMessage?: DropdownPassThroughOptionType; /** * Used to pass attributes to the hidden selected message's DOM element. */ - hiddenSelectedMessage?: DropdownPassThroughOptionType; + hiddenSelectedMessage?: DropdownPassThroughOptionType; /** * Used to pass attributes to the hidden last focusable element's DOM element. */ - hiddenLastFocusableEl?: DropdownPassThroughOptionType; + hiddenLastFocusableEl?: DropdownPassThroughOptionType; /** * Used to manage all lifecycle hooks. * @see {@link BaseComponent.ComponentHooks} diff --git a/components/lib/fileupload/FileUpload.d.ts b/components/lib/fileupload/FileUpload.d.ts index 53727f0f1..eb4b84044 100755 --- a/components/lib/fileupload/FileUpload.d.ts +++ b/components/lib/fileupload/FileUpload.d.ts @@ -8,6 +8,7 @@ * */ import { VNode } from 'vue'; +import { BadgePassThroughOptions } from '../badge'; import { ComponentHooks } from '../basecomponent'; import { ButtonPassThroughOptions } from '../button'; import { MessagePassThroughOptions } from '../message'; @@ -38,6 +39,20 @@ export interface FileUploadPassThroughMethodOptions { global: object | undefined; } +/** + * Custom shared passthrough(pt) option method. + */ +export interface FileUploadPassThroughMethodOptions { + /** + * Defines valid properties. + */ + props: FileUploadProps; + /** + * Defines current inline state. + */ + state: FileUploadState; +} + /** * Custom select event. * @see {@link FileUploadEmits.select} @@ -199,12 +214,12 @@ export interface FileUploadPassThroughOptions { * Used to pass attributes to the upload button's DOM element. * @see {@link ButtonPassThroughOptions} */ - uploadButton?: ButtonPassThroughOptions; + uploadButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the cancel button's DOM element. * @see {@link ButtonPassThroughOptions} */ - cancelButton?: ButtonPassThroughOptions; + cancelButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the content's DOM element. */ @@ -217,7 +232,7 @@ export interface FileUploadPassThroughOptions { * Used to pass attributes to the messages' DOM element. * @see {@link MessagePassThroughOptions} */ - message?: MessagePassThroughOptions; + message?: MessagePassThroughOptions; /** * Used to pass attributes to the file's DOM element. */ @@ -239,9 +254,10 @@ export interface FileUploadPassThroughOptions { */ fileSize?: FileUploadPassThroughOptionType; /** - * Used to pass attributes to the badge's DOM element. + * Used to pass attributes to the Badge component. + * @see {@link BadgePassThroughOptions} */ - badge?: FileUploadPassThroughOptionType; + badge?: BadgePassThroughOptions; /** * Used to pass attributes to the actions's DOM element. */ @@ -250,7 +266,7 @@ export interface FileUploadPassThroughOptions { * Used to pass attributes to the remove button's DOM element. * @see {@link ButtonPassThroughOptions} */ - removeButton?: ButtonPassThroughOptions; + removeButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the empty's DOM element. */ diff --git a/components/lib/inplace/Inplace.d.ts b/components/lib/inplace/Inplace.d.ts index bcf74acb2..09989eebb 100755 --- a/components/lib/inplace/Inplace.d.ts +++ b/components/lib/inplace/Inplace.d.ts @@ -38,6 +38,20 @@ export interface InplacePassThroughMethodOptions { global: object | undefined; } +/** + * Custom shared passthrough(pt) option method. + */ +export interface InplaceSharedPassThroughMethodOptions { + /** + * Defines valid properties. + */ + props: InplaceProps; + /** + * Defines current inline state. + */ + state: InplaceState; +} + /** * Custom passthrough(pt) options. * @see {@link InplaceProps.pt} @@ -59,7 +73,7 @@ export interface InplacePassThroughOptions { * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptions} */ - closeButton?: ButtonPassThroughOptions; + closeButton?: ButtonPassThroughOptions; /** * Used to manage all lifecycle hooks. * @see {@link BaseComponent.ComponentHooks} diff --git a/components/lib/inputnumber/InputNumber.d.ts b/components/lib/inputnumber/InputNumber.d.ts index 0f19ff419..7a15b9d95 100755 --- a/components/lib/inputnumber/InputNumber.d.ts +++ b/components/lib/inputnumber/InputNumber.d.ts @@ -9,17 +9,17 @@ */ import { ButtonHTMLAttributes, InputHTMLAttributes, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; -import { ButtonPassThroughOptionType } from '../button'; -import { InputTextPassThroughOptionType } from '../inputtext'; +import { ButtonPassThroughOptions } from '../button'; +import { InputTextPassThroughOptions } from '../inputtext'; import { PassThroughOptions } from '../passthrough'; import { ClassComponent, GlobalComponentConstructor, Nullable, PassThrough } from '../ts-helpers'; -export declare type InputNumberPassThroughOptionType = InputNumberPassThroughAttributes | ((options: InputNumberPassThroughMethodOptions) => InputNumberPassThroughAttributes | string) | string | null | undefined; +export declare type InputNumberPassThroughOptionType = InputNumberPassThroughAttributes | ((options: InputNumberPassThroughMethodOptions) => InputNumberPassThroughAttributes | string) | string | null | undefined; /** * Custom passthrough(pt) option method. */ -export interface InputNumberPassThroughMethodOptions { +export interface InputNumberPassThroughMethodOptions { /** * Defines instance. */ @@ -32,12 +32,30 @@ export interface InputNumberPassThroughMethodOptions { * Defines current inline state. */ state: InputNumberState; + /** + * Defines parent instance. + */ + parent: T; /** * Defines passthrough(pt) options in global config. */ global: object | undefined; } +/** + * Custom shared passthrough(pt) option method. + */ +export interface InputNumberSharedPassThroughMethodOptions { + /** + * Defines valid properties. + */ + props: InputNumberProps; + /** + * Defines current inline state. + */ + state: InputNumberState; +} + /** * Custom input event. * @see {@link InputNumberEmits.input} @@ -72,30 +90,30 @@ export interface InputNumberBlurEvent { * Custom passthrough(pt) options. * @see {@link InputNumberProps.pt} */ -export interface InputNumberPassThroughOptions { +export interface InputNumberPassThroughOptions { /** * Used to pass attributes to the root's DOM element. */ - root?: InputNumberPassThroughOptionType; + root?: InputNumberPassThroughOptionType; /** - * Used to pass attributes to the Input component. - * @see {@link InputTextPassThroughOptionType} + * Used to pass attributes to the InputText component. + * @see {@link InputTextPassThroughOptions} */ - input?: InputTextPassThroughOptionType; + input?: InputTextPassThroughOptions; /** * Used to pass attributes to the button group's DOM element. */ - buttonGroup?: InputNumberPassThroughOptionType; + buttonGroup?: InputNumberPassThroughOptionType; /** * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptions} */ - incrementButton?: ButtonPassThroughOptionType; + incrementButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptions} */ - decrementButton?: ButtonPassThroughOptionType; + decrementButton?: ButtonPassThroughOptions; /** * Used to manage all lifecycle hooks. * @see {@link BaseComponent.ComponentHooks} diff --git a/components/lib/inputtext/InputText.d.ts b/components/lib/inputtext/InputText.d.ts index c51245881..bbd729cbf 100755 --- a/components/lib/inputtext/InputText.d.ts +++ b/components/lib/inputtext/InputText.d.ts @@ -12,12 +12,12 @@ import { ComponentHooks } from '../basecomponent'; import { PassThroughOptions } from '../passthrough'; import { ClassComponent, GlobalComponentConstructor, Nullable, PassThrough } from '../ts-helpers'; -export declare type InputTextPassThroughOptionType = InputTextPassThroughAttributes | ((options: InputTextPassThroughMethodOptions) => InputTextPassThroughAttributes | string) | string | null | undefined; +export declare type InputTextPassThroughOptionType = InputTextPassThroughAttributes | ((options: InputTextPassThroughMethodOptions) => InputTextPassThroughAttributes | string) | string | null | undefined; /** * Custom passthrough(pt) option method. */ -export interface InputTextPassThroughMethodOptions { +export interface InputTextPassThroughMethodOptions { /** * Defines instance. */ @@ -30,6 +30,10 @@ export interface InputTextPassThroughMethodOptions { * Defines current options. */ context: InputTextContext; + /** + * Defines parent instance. + */ + parent: T; /** * Defines passthrough(pt) options in global config. */ @@ -40,11 +44,11 @@ export interface InputTextPassThroughMethodOptions { * Custom passthrough(pt) options. * @see {@link InputTextProps.pt} */ -export interface InputTextPassThroughOptions { +export interface InputTextPassThroughOptions { /** * Used to pass attributes to the root's DOM element. */ - root?: InputTextPassThroughOptionType; + root?: InputTextPassThroughOptionType; /** * Used to manage all lifecycle hooks. * @see {@link BaseComponent.ComponentHooks} diff --git a/components/lib/message/Message.d.ts b/components/lib/message/Message.d.ts index a304216d4..52474fdff 100755 --- a/components/lib/message/Message.d.ts +++ b/components/lib/message/Message.d.ts @@ -12,14 +12,14 @@ import { ComponentHooks } from '../basecomponent'; import { PassThroughOptions } from '../passthrough'; import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers'; -export declare type MessagePassThroughOptionType = MessagePassThroughAttributes | ((options: MessagePassThroughMethodOptions) => MessagePassThroughAttributes | string) | string | null | undefined; +export declare type MessagePassThroughOptionType = MessagePassThroughAttributes | ((options: MessagePassThroughMethodOptions) => MessagePassThroughAttributes | string) | string | null | undefined; -export declare type MessagePassThroughTransitionType = TransitionProps | ((options: MessagePassThroughMethodOptions) => TransitionProps) | undefined; +export declare type MessagePassThroughTransitionType = TransitionProps | ((options: MessagePassThroughMethodOptions) => TransitionProps) | undefined; /** * Custom passthrough(pt) option method. */ -export interface MessagePassThroughMethodOptions { +export interface MessagePassThroughMethodOptions { /** * Defines instance. */ @@ -32,6 +32,10 @@ export interface MessagePassThroughMethodOptions { * Defines current inline state. */ state: MessageState; + /** + * Defines parent instance. + */ + parent: T; /** * Defines passthrough(pt) options in global config. */ @@ -42,41 +46,41 @@ export interface MessagePassThroughMethodOptions { * Custom passthrough(pt) options. * @see {@link MessageProps.pt} */ -export interface MessagePassThroughOptions { +export interface MessagePassThroughOptions { /** * Used to pass attributes to the root's DOM element. */ - root?: MessagePassThroughOptionType; + root?: MessagePassThroughOptionType; /** * Used to pass attributes to the wrapper's DOM element. */ - wrapper?: MessagePassThroughOptionType; + wrapper?: MessagePassThroughOptionType; /** * Used to pass attributes to the icon's DOM element. */ - icon?: MessagePassThroughOptionType; + icon?: MessagePassThroughOptionType; /** * Used to pass attributes to the text's DOM element. */ - text?: MessagePassThroughOptionType; + text?: MessagePassThroughOptionType; /** * Used to pass attributes to the button's DOM element. * @deprecated since v3.30.2. Use 'closeButton' option. */ - button?: MessagePassThroughOptionType; + button?: MessagePassThroughOptionType; /** * Used to pass attributes to the button's DOM element. */ - closeButton?: MessagePassThroughOptionType; + closeButton?: MessagePassThroughOptionType; /** * Used to pass attributes to the button icon's DOM element. * @deprecated since v3.30.2. Use 'closeIcon' option. */ - buttonIcon?: MessagePassThroughOptionType; + buttonIcon?: MessagePassThroughOptionType; /** * Used to pass attributes to the button icon's DOM element. */ - closeIcon?: MessagePassThroughOptionType; + closeIcon?: MessagePassThroughOptionType; /** * Used to manage all lifecycle hooks. * @see {@link BaseComponent.ComponentHooks} @@ -85,7 +89,7 @@ export interface MessagePassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: MessagePassThroughTransitionType; + transition?: MessagePassThroughTransitionType; } /** diff --git a/components/lib/orderlist/OrderList.d.ts b/components/lib/orderlist/OrderList.d.ts index e49eadc50..89d26b4c6 100755 --- a/components/lib/orderlist/OrderList.d.ts +++ b/components/lib/orderlist/OrderList.d.ts @@ -9,7 +9,7 @@ */ import { ButtonHTMLAttributes, HTMLAttributes, TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; -import { ButtonPassThroughOptionType } from '../button'; +import { ButtonPassThroughOptions } from '../button'; import { PassThroughOptions } from '../passthrough'; import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers'; @@ -43,6 +43,20 @@ export interface OrderListPassThroughMethodOptions { global: object | undefined; } +/** + * Custom shared passthrough(pt) option method. + */ +export interface OrderListSharedPassThroughMethodOptions { + /** + * Defines valid properties. + */ + props: OrderListProps; + /** + * Defines current inline state. + */ + state: OrderListState; +} + /** * Custom reorder event * @see {@link OrderListEmits.reorder} @@ -93,19 +107,19 @@ export interface OrderListPassThroughOptions { /** * Used to pass attributes to the Button component. */ - moveUpButton?: ButtonPassThroughOptionType; + moveUpButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the Button component. */ - moveTopButton?: ButtonPassThroughOptionType; + moveTopButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the Button component. */ - moveDownButton?: ButtonPassThroughOptionType; + moveDownButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the Button component. */ - moveBottomButton?: ButtonPassThroughOptionType; + moveBottomButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the container's DOM element. */ diff --git a/components/lib/paginator/Paginator.d.ts b/components/lib/paginator/Paginator.d.ts index 584c37030..966a2b185 100755 --- a/components/lib/paginator/Paginator.d.ts +++ b/components/lib/paginator/Paginator.d.ts @@ -9,17 +9,17 @@ */ import { VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; -import { DropdownPassThroughOptionType } from '../dropdown'; -import { InputNumberPassThroughOptionType } from '../inputnumber'; +import { DropdownPassThroughOptions } from '../dropdown'; +import { InputNumberPassThroughOptions } from '../inputnumber'; import { PassThroughOptions } from '../passthrough'; import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers'; -export declare type PaginatorPassThroughOptionType = PaginatorPassThroughAttributes | ((options: PaginatorPassThroughMethodOptions) => PaginatorPassThroughAttributes | string) | string | null | undefined; +export declare type PaginatorPassThroughOptionType = PaginatorPassThroughAttributes | ((options: PaginatorPassThroughMethodOptions) => PaginatorPassThroughAttributes | string) | string | null | undefined; /** * Custom passthrough(pt) option method. */ -export interface PaginatorPassThroughMethodOptions { +export interface PaginatorPassThroughMethodOptions { /** * Defines instance. */ @@ -32,6 +32,10 @@ export interface PaginatorPassThroughMethodOptions { * Defines current inline state. */ state: PaginatorState; + /** + * Defines parent instance. + */ + parent: T; /** * Defines current options. */ @@ -42,86 +46,100 @@ export interface PaginatorPassThroughMethodOptions { global: object | undefined; } +/** + * Custom shared passthrough(pt) option method. + */ +export interface PaginatorSharedPassThroughMethodOptions { + /** + * Defines valid properties. + */ + props: PaginatorProps; + /** + * Defines current inline state. + */ + state: PaginatorState; +} + /** * Custom passthrough(pt) options. * @see {@link PaginatorProps.pt} */ -export interface PaginatorPassThroughOptions { +export interface PaginatorPassThroughOptions { /** * Used to pass attributes to the paginator wrapper's DOM element. */ - paginatorWrapper?: PaginatorPassThroughOptionType; + paginatorWrapper?: PaginatorPassThroughOptionType | any; /** * Used to pass attributes to the root's DOM element. */ - root?: PaginatorPassThroughOptionType; + root?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the start's DOM element. */ - start?: PaginatorPassThroughOptionType; + start?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the first page button's DOM element. */ - firstPageButton?: PaginatorPassThroughOptionType; + firstPageButton?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the first page icon's DOM element. */ - firstPageIcon?: PaginatorPassThroughOptionType; + firstPageIcon?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the prev page button's DOM element. */ - previousPageButton?: PaginatorPassThroughOptionType; + previousPageButton?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the prev page icon's DOM element. */ - previousPageIcon?: PaginatorPassThroughOptionType; + previousPageIcon?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the next page button's DOM element. */ - nextPageButton?: PaginatorPassThroughOptionType; + nextPageButton?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the next page icon's DOM element. */ - nextPageIcon?: PaginatorPassThroughOptionType; + nextPageIcon?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the last page button's DOM element. */ - lastPageButton?: PaginatorPassThroughOptionType; + lastPageButton?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the last page icon's DOM element. */ - lastPageIcon?: PaginatorPassThroughOptionType; + lastPageIcon?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the pages's DOM element. */ - pages?: PaginatorPassThroughOptionType; + pages?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the page button's DOM element. */ - pageButton?: PaginatorPassThroughOptionType; + pageButton?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the current's DOM element. */ - current?: PaginatorPassThroughOptionType; + current?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the Dropdown component. - * @see {@link DropdownPassThroughOptionType} + * @see {@link DropdownPassThroughOptions} */ - rowPerPageDropdown?: DropdownPassThroughOptionType; + rowPerPageDropdown?: DropdownPassThroughOptions; /** * Used to pass attributes to the Dropdown component. - * @see {@link DropdownPassThroughOptionType} + * @see {@link DropdownPassThroughOptions} */ - jumpToPageDropdown?: DropdownPassThroughOptionType; + jumpToPageDropdown?: DropdownPassThroughOptions; /** * Used to pass attributes to the Dropdown component. - * @see {@link InputNumberPassThroughOptionType} + * @see {@link InputNumberPassThroughOptions} */ - jumpToPageInput?: InputNumberPassThroughOptionType; + jumpToPageInput?: InputNumberPassThroughOptions; /** * Used to pass attributes to the end's DOM element. */ - end?: PaginatorPassThroughOptionType; + end?: PaginatorPassThroughOptionType; /** * Used to manage all lifecycle hooks. * @see {@link BaseComponent.ComponentHooks} diff --git a/components/lib/password/Password.d.ts b/components/lib/password/Password.d.ts index 44e10c433..e40689ca7 100755 --- a/components/lib/password/Password.d.ts +++ b/components/lib/password/Password.d.ts @@ -9,7 +9,7 @@ */ import { HTMLAttributes, InputHTMLAttributes, TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; -import { InputTextPassThroughOptionType } from '../inputtext'; +import { InputTextPassThroughOptions } from '../inputtext'; import { PassThroughOptions } from '../passthrough'; import { ClassComponent, GlobalComponentConstructor, Nullable, PassThrough } from '../ts-helpers'; @@ -39,6 +39,20 @@ export interface PasswordPassThroughMethodOptions { global: object | undefined; } +/** + * Custom shared passthrough(pt) option method. + */ +export interface PasswordSharedPassThroughMethodOptions { + /** + * Defines valid properties. + */ + props: PasswordProps; + /** + * Defines current inline state. + */ + state: PasswordState; +} + /** * Custom passthrough(pt) options. * @see {@link PasswordProps.pt} @@ -50,9 +64,9 @@ export interface PasswordPassThroughOptions { root?: PasswordPassThroughOptionType; /** * Used to pass attributes to the InputText component. - * @see {@link InputTextPassThroughOptionType} + * @see {@link InputTextPassThroughOptions} */ - input?: PasswordPassThroughOptionType; + input?: InputTextPassThroughOptions; /** * Used to pass attributes to the hide icon's DOM element. */ diff --git a/components/lib/picklist/PickList.d.ts b/components/lib/picklist/PickList.d.ts index 687930770..d0f4ac77a 100755 --- a/components/lib/picklist/PickList.d.ts +++ b/components/lib/picklist/PickList.d.ts @@ -9,7 +9,7 @@ */ import { ButtonHTMLAttributes, HTMLAttributes, TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; -import { ButtonPassThroughOptionType } from '../button'; +import { ButtonPassThroughOptions } from '../button'; import { PassThroughOptions } from '../passthrough'; import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers'; @@ -43,6 +43,20 @@ export interface PickListPassThroughMethodOptions { global: object | undefined; } +/** + * Custom shared passthrough(pt) option method. + */ +export interface PickListSharedPassThroughMethodOptions { + /** + * Defines valid properties. + */ + props: PickListProps; + /** + * Defines current inline state. + */ + state: PickListState; +} + /** * Custom reorder event. * @see {@link PickListEmits.reorder} @@ -133,19 +147,19 @@ export interface PickListPassThroughOptions { /** * Used to pass attributes to the Button component. */ - sourceMoveUpButton?: ButtonPassThroughOptionType; + sourceMoveUpButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the Button component. */ - sourceMoveTopButton?: ButtonPassThroughOptionType; + sourceMoveTopButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the Button component. */ - sourceMoveDownButton?: ButtonPassThroughOptionType; + sourceMoveDownButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the Button component. */ - sourceMoveBottomButton?: ButtonPassThroughOptionType; + sourceMoveBottomButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the source wrapper's DOM element. */ @@ -165,19 +179,19 @@ export interface PickListPassThroughOptions { /** * Used to pass attributes to the Button component. */ - moveToTargetButton?: ButtonPassThroughOptionType; + moveToTargetButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the Button component. */ - moveAllToTargetButton?: ButtonPassThroughOptionType; + moveAllToTargetButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the Button component. */ - moveToSourceButton?: ButtonPassThroughOptionType; + moveToSourceButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the Button component. */ - moveAllToSourceButton?: ButtonPassThroughOptionType; + moveAllToSourceButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the target wrapper's DOM element. */ @@ -201,19 +215,19 @@ export interface PickListPassThroughOptions { /** * Used to pass attributes to the Button component. */ - targetMoveUpButton?: ButtonPassThroughOptionType; + targetMoveUpButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the Button component. */ - targetMoveTopButton?: ButtonPassThroughOptionType; + targetMoveTopButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the Button component. */ - targetMoveDownButton?: ButtonPassThroughOptionType; + targetMoveDownButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the Button component. */ - targetMoveBottomButton?: ButtonPassThroughOptionType; + targetMoveBottomButton?: ButtonPassThroughOptions; /** * Used to manage all lifecycle hooks. * @see {@link BaseComponent.ComponentHooks} diff --git a/components/lib/progressbar/ProgressBar.d.ts b/components/lib/progressbar/ProgressBar.d.ts index 26bb57454..9c72cd266 100755 --- a/components/lib/progressbar/ProgressBar.d.ts +++ b/components/lib/progressbar/ProgressBar.d.ts @@ -12,12 +12,12 @@ import { ComponentHooks } from '../basecomponent'; import { PassThroughOptions } from '../passthrough'; import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers'; -export declare type ProgressBarPassThroughOptionType = ProgressBarPassThroughAttributes | ((options: ProgressBarPassThroughMethodOptions) => ProgressBarPassThroughAttributes | string) | string | null | undefined; +export declare type ProgressBarPassThroughOptionType = ProgressBarPassThroughAttributes | ((options: ProgressBarPassThroughMethodOptions) => ProgressBarPassThroughAttributes | string) | string | null | undefined; /** * Custom passthrough(pt) option method. */ -export interface ProgressBarPassThroughMethodOptions { +export interface ProgressBarPassThroughMethodOptions { /** * Defines instance. */ @@ -30,25 +30,29 @@ export interface ProgressBarPassThroughMethodOptions { * Defines passthrough(pt) options in global config. */ global: object | undefined; + /** + * Defines parent instance. + */ + parent: T; } /** * Custom passthrough(pt) options. * @see {@link ProgressBarProps.pt} */ -export interface ProgressBarPassThroughOptions { +export interface ProgressBarPassThroughOptions { /** * Used to pass attributes to the root's DOM element. */ - root?: ProgressBarPassThroughOptionType; + root?: ProgressBarPassThroughOptionType; /** * Used to pass attributes to the value's DOM element. */ - value?: ProgressBarPassThroughOptionType; + value?: ProgressBarPassThroughOptionType; /** * Used to pass attributes to the label's DOM element. */ - label?: ProgressBarPassThroughOptionType; + label?: ProgressBarPassThroughOptionType; /** * Used to manage all lifecycle hooks. * @see {@link BaseComponent.ComponentHooks} diff --git a/components/lib/speeddial/SpeedDial.d.ts b/components/lib/speeddial/SpeedDial.d.ts index e62b485ea..4b3058c62 100644 --- a/components/lib/speeddial/SpeedDial.d.ts +++ b/components/lib/speeddial/SpeedDial.d.ts @@ -42,6 +42,20 @@ export interface SpeedDialPassThroughMethodOptions { global: object | undefined; } +/** + * Custom shared passthrough(pt) option method. + */ +export interface SpeedDialSharedPassThroughMethodOptions { + /** + * Defines valid properties. + */ + props: SpeedDialProps; + /** + * Defines current inline state. + */ + state: SpeedDialState; +} + /** * Custom passthrough(pt) options. * @see {@link SpeedDialProps.pt} @@ -55,7 +69,7 @@ export interface SpeedDialPassThroughOptions { * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptions} */ - button?: ButtonPassThroughOptions; + button?: ButtonPassThroughOptions; /** * Used to pass attributes to the menu's DOM element. */ diff --git a/components/lib/splitbutton/SplitButton.d.ts b/components/lib/splitbutton/SplitButton.d.ts index 8f36dde20..d6e11bc52 100755 --- a/components/lib/splitbutton/SplitButton.d.ts +++ b/components/lib/splitbutton/SplitButton.d.ts @@ -39,6 +39,20 @@ export interface SplitButtonPassThroughMethodOptions { global: object | undefined; } +/** + * Custom shared passthrough(pt) option method. + */ +export interface SplitButtonSharedPassThroughMethodOptions { + /** + * Defines valid properties. + */ + props: SplitButtonProps; + /** + * Defines current inline state. + */ + state: SplitButtonState; +} + /** * Custom passthrough(pt) options. * @see {@link SplitButtonProps.pt} @@ -56,12 +70,12 @@ export interface SplitButtonPassThroughOptions { * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptions} */ - menuButton?: ButtonPassThroughOptions; + menuButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the TieredMenu component. * @see {@link TieredMenuPassThroughOptions} */ - menu?: TieredMenuPassThroughOptions; + menu?: TieredMenuPassThroughOptions; /** * Used to manage all lifecycle hooks. * @see {@link BaseComponent.ComponentHooks} diff --git a/components/lib/tieredmenu/TieredMenu.d.ts b/components/lib/tieredmenu/TieredMenu.d.ts index f48a55ac5..af09de81b 100755 --- a/components/lib/tieredmenu/TieredMenu.d.ts +++ b/components/lib/tieredmenu/TieredMenu.d.ts @@ -13,14 +13,14 @@ import { MenuItem } from '../menuitem'; import { PassThroughOptions } from '../passthrough'; import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers'; -export declare type TieredMenuPassThroughOptionType = TieredMenuPassThroughAttributes | ((options: TieredMenuPassThroughMethodOptions) => TieredMenuPassThroughAttributes | string) | string | null | undefined; +export declare type TieredMenuPassThroughOptionType = TieredMenuPassThroughAttributes | ((options: TieredMenuPassThroughMethodOptions) => TieredMenuPassThroughAttributes | string) | string | null | undefined; -export declare type TieredMenuPassThroughTransitionType = TransitionProps | ((options: TieredMenuPassThroughMethodOptions) => TransitionProps) | undefined; +export declare type TieredMenuPassThroughTransitionType = TransitionProps | ((options: TieredMenuPassThroughMethodOptions) => TransitionProps) | undefined; /** * Custom passthrough(pt) option method. */ -export interface TieredMenuPassThroughMethodOptions { +export interface TieredMenuPassThroughMethodOptions { /** * Defines instance. */ @@ -33,6 +33,10 @@ export interface TieredMenuPassThroughMethodOptions { * Defines current inline state. */ state: TieredMenuState; + /** + * Defines parent instance. + */ + parent: T; /** * Defines current options. */ @@ -47,47 +51,47 @@ export interface TieredMenuPassThroughMethodOptions { * Custom passthrough(pt) options. * @see {@link TieredMenuProps.pt} */ -export interface TieredMenuPassThroughOptions { +export interface TieredMenuPassThroughOptions { /** * Used to pass attributes to the root's DOM element. */ - root?: TieredMenuPassThroughOptionType; + root?: TieredMenuPassThroughOptionType; /** * Used to pass attributes to the list's DOM element. */ - menu?: TieredMenuPassThroughOptionType; + menu?: TieredMenuPassThroughOptionType; /** * Used to pass attributes to the list item's DOM element. */ - menuitem?: TieredMenuPassThroughOptionType; + menuitem?: TieredMenuPassThroughOptionType; /** * Used to pass attributes to the content's DOM element. */ - content?: TieredMenuPassThroughOptionType; + content?: TieredMenuPassThroughOptionType; /** * Used to pass attributes to the action's DOM element. */ - action?: TieredMenuPassThroughOptionType; + action?: TieredMenuPassThroughOptionType; /** * Used to pass attributes to the icon's DOM element. */ - icon?: TieredMenuPassThroughOptionType; + icon?: TieredMenuPassThroughOptionType; /** * Used to pass attributes to the label's DOM element. */ - label?: TieredMenuPassThroughOptionType; + label?: TieredMenuPassThroughOptionType; /** * Used to pass attributes to the submenu icon's DOM element. */ - submenuIcon?: TieredMenuPassThroughOptionType; + submenuIcon?: TieredMenuPassThroughOptionType; /** * Used to pass attributes to the separator's DOM element. */ - separator?: TieredMenuPassThroughOptionType; + separator?: TieredMenuPassThroughOptionType; /** * Used to pass attributes to the submenu's DOM element. */ - submenu?: TieredMenuPassThroughOptionType; + submenu?: TieredMenuPassThroughOptionType; /** * Used to manage all lifecycle hooks. * @see {@link BaseComponent.ComponentHooks} diff --git a/components/lib/tree/Tree.d.ts b/components/lib/tree/Tree.d.ts index d5162fe0f..41a46c852 100755 --- a/components/lib/tree/Tree.d.ts +++ b/components/lib/tree/Tree.d.ts @@ -13,12 +13,12 @@ import { PassThroughOptions } from '../passthrough'; import { TreeNode } from '../treenode'; import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers'; -export declare type TreePassThroughOptionType = TreePassThroughAttributes | ((options: TreePassThroughMethodOptions) => TreePassThroughAttributes | string) | string | null | undefined; +export declare type TreePassThroughOptionType = TreePassThroughAttributes | ((options: TreePassThroughMethodOptions) => TreePassThroughAttributes | string) | string | null | undefined; /** * Custom passthrough(pt) option method. */ -export interface TreePassThroughMethodOptions { +export interface TreePassThroughMethodOptions { /** * Defines instance. */ @@ -31,6 +31,10 @@ export interface TreePassThroughMethodOptions { * Defines current inline state. */ state: TreeState; + /** + * Defines parent instance. + */ + parent: T; /** * Defines current options. */ @@ -80,79 +84,79 @@ export interface TreeFilterEvent { * Custom passthrough(pt) options. * @see {@link TreeProps.pt} */ -export interface TreePassThroughOptions { +export interface TreePassThroughOptions { /** * Used to pass attributes to the root's DOM element. */ - root?: TreePassThroughOptionType; + root?: TreePassThroughOptionType; /** * Used to pass attributes to the filter container's DOM element. */ - filterContainer?: TreePassThroughOptionType; + filterContainer?: TreePassThroughOptionType; /** * Used to pass attributes to the input's DOM element. */ - input?: TreePassThroughOptionType; + input?: TreePassThroughOptionType; /** * Used to pass attributes to the search icon's DOM element. */ - searchIcon?: TreePassThroughOptionType; + searchIcon?: TreePassThroughOptionType; /** * Used to pass attributes to the wrapper's DOM element. */ - wrapper?: TreePassThroughOptionType; + wrapper?: TreePassThroughOptionType; /** * Used to pass attributes to the container's DOM element. */ - container?: TreePassThroughOptionType; + container?: TreePassThroughOptionType; /** * Used to pass attributes to the node's DOM element. */ - node?: TreePassThroughOptionType; + node?: TreePassThroughOptionType; /** * Used to pass attributes to the content's DOM element. */ - content?: TreePassThroughOptionType; + content?: TreePassThroughOptionType; /** * Used to pass attributes to the toggler's DOM element. */ - toggler?: TreePassThroughOptionType; + toggler?: TreePassThroughOptionType; /** * Used to pass attributes to the toggler icon's DOM element. */ - togglerIcon?: TreePassThroughOptionType; + togglerIcon?: TreePassThroughOptionType; /** * Used to pass attributes to the checkbox container's DOM element. */ - checkboxContainer?: TreePassThroughOptionType; + checkboxContainer?: TreePassThroughOptionType; /** * Used to pass attributes to the checkbox's DOM element. */ - checkbox?: TreePassThroughOptionType; + checkbox?: TreePassThroughOptionType; /** * Used to pass attributes to the checkbox icon's DOM element. */ - checkboxIcon?: TreePassThroughOptionType; + checkboxIcon?: TreePassThroughOptionType; /** * Used to pass attributes to the node icon's DOM element. */ - nodeIcon?: TreePassThroughOptionType; + nodeIcon?: TreePassThroughOptionType; /** * Used to pass attributes to the label's DOM element. */ - label?: TreePassThroughOptionType; + label?: TreePassThroughOptionType; /** * Used to pass attributes to the subgroup's DOM element. */ - subgroup?: TreePassThroughOptionType; + subgroup?: TreePassThroughOptionType; /** * Used to pass attributes to the loading overlay's DOM element. */ - loadingOverlay?: TreePassThroughOptionType; + loadingOverlay?: TreePassThroughOptionType; /** * Used to pass attributes to the loading icon's DOM element. */ - loadingIcon?: TreePassThroughOptionType; + loadingIcon?: TreePassThroughOptionType; /** * Used to manage all lifecycle hooks. * @see {@link BaseComponent.ComponentHooks} diff --git a/components/lib/treeselect/TreeSelect.d.ts b/components/lib/treeselect/TreeSelect.d.ts index 91a427a63..b9069b70c 100644 --- a/components/lib/treeselect/TreeSelect.d.ts +++ b/components/lib/treeselect/TreeSelect.d.ts @@ -40,6 +40,20 @@ export interface TreeSelectPassThroughMethodOptions { global: object | undefined; } +/** + * Custom shared passthrough(pt) option method. + */ +export interface TreeSelectSharedPassThroughMethodOptions { + /** + * Defines valid properties. + */ + props: TreeSelectProps; + /** + * Defines current inline state. + */ + state: TreeSelectState; +} + /** * Custom passthrough(pt) options. * @see {@link TreeSelectProps.pt} @@ -85,7 +99,7 @@ export interface TreeSelectPassThroughOptions { * Used to pass attributes to Tree component. * @see {@link TreePassThroughOptionType} */ - tree?: TreePassThroughOptionType; + tree?: TreePassThroughOptionType; /** * Used to pass attributes to the empty message's DOM element. */ diff --git a/components/lib/treetable/TreeTable.d.ts b/components/lib/treetable/TreeTable.d.ts index c0cafe1fd..46f0075e5 100755 --- a/components/lib/treetable/TreeTable.d.ts +++ b/components/lib/treetable/TreeTable.d.ts @@ -43,6 +43,20 @@ export interface TreeTablePassThroughMethodOptions { global: object | undefined; } +/** + * Custom shared passthrough(pt) option method. + */ +export interface TreeTableSharedPassThroughMethodOptions { + /** + * Defines valid properties. + */ + props: TreeTableProps; + /** + * Defines current inline state. + */ + state: TreeTableState; +} + /** * Custom treetable filter metadata. */ @@ -214,7 +228,7 @@ export interface TreeTablePassThroughOptions { * Used to pass attributes to the Paginator component. * @see {@link PaginatorPassThroughOptionType} */ - paginator?: PaginatorPassThroughOptionType; + paginator?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the wrapper's DOM element. */ diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index 3e6917ead..91c163da9 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -3077,6 +3077,29 @@ ], "methods": [] }, + "AutoCompleteSharedPassThroughMethodOptions": { + "description": "Custom shared passthrough(pt) option method.", + "relatedProp": "", + "props": [ + { + "name": "props", + "optional": false, + "readonly": false, + "type": "AutoCompleteProps", + "default": "", + "description": "Defines valid properties." + }, + { + "name": "state", + "optional": false, + "readonly": false, + "type": "AutoCompleteState", + "default": "", + "description": "Defines current inline state." + } + ], + "methods": [] + }, "AutoCompleteChangeEvent": { "description": "Custom change event.", "relatedProp": "AutoCompleteEmits.change", @@ -3266,7 +3289,7 @@ "name": "dropdownButton", "optional": true, "readonly": false, - "type": "ButtonPassThroughOptionType", + "type": "ButtonPassThroughOptions", "default": "", "description": "Used to pass attributes to the Button component." }, @@ -4722,6 +4745,14 @@ "type": "undefined | object", "default": "", "description": "Defines passthrough(pt) options in global config." + }, + { + "name": "parent", + "optional": false, + "readonly": false, + "type": "T", + "default": "", + "description": "Defines parent instance." } ], "methods": [] @@ -4747,7 +4778,7 @@ "name": "root", "optional": true, "readonly": false, - "type": "BadgePassThroughOptionType", + "type": "BadgePassThroughOptionType", "default": "", "description": "Used to pass attributes to the root's DOM element." }, @@ -4794,7 +4825,7 @@ "name": "pt", "optional": true, "readonly": false, - "type": "PassThrough", + "type": "PassThrough>", "default": "", "description": "Used to pass attributes to DOM elements inside the component." }, @@ -6356,7 +6387,7 @@ "name": "parent", "optional": false, "readonly": false, - "type": "any", + "type": "T", "default": "", "description": "Defines parent instance." }, @@ -6379,7 +6410,7 @@ "name": "root", "optional": true, "readonly": false, - "type": "ButtonPassThroughOptionType", + "type": "ButtonPassThroughOptionType", "default": "", "description": "Used to pass attributes to the root's DOM element." }, @@ -6387,7 +6418,7 @@ "name": "loadingIcon", "optional": true, "readonly": false, - "type": "ButtonPassThroughOptionType", + "type": "ButtonPassThroughOptionType", "default": "", "description": "Used to pass attributes to the loading icon's DOM element." }, @@ -6395,7 +6426,7 @@ "name": "icon", "optional": true, "readonly": false, - "type": "ButtonPassThroughOptionType", + "type": "ButtonPassThroughOptionType", "default": "", "description": "Used to pass attributes to the icon's DOM element." }, @@ -6403,7 +6434,7 @@ "name": "label", "optional": true, "readonly": false, - "type": "ButtonPassThroughOptionType", + "type": "ButtonPassThroughOptionType", "default": "", "description": "Used to pass attributes to the label's DOM element." }, @@ -6411,7 +6442,7 @@ "name": "badge", "optional": true, "readonly": false, - "type": "ButtonPassThroughOptionType", + "type": "ButtonPassThroughOptionType", "default": "", "description": "Used to pass attributes to the badge's DOM element." }, @@ -6599,7 +6630,7 @@ "name": "pt", "optional": true, "readonly": false, - "type": "PassThrough", + "type": "PassThrough>", "default": "", "description": "Used to pass attributes to DOM elements inside the component." }, @@ -6817,6 +6848,29 @@ ], "methods": [] }, + "CalendarSharedPassThroughMethodOptions": { + "description": "Custom shared passthrough(pt) option method.", + "relatedProp": "", + "props": [ + { + "name": "props", + "optional": false, + "readonly": false, + "type": "CalendarProps", + "default": "", + "description": "Defines valid properties." + }, + { + "name": "state", + "optional": false, + "readonly": false, + "type": "CalendarState", + "default": "", + "description": "Defines current inline state." + } + ], + "methods": [] + }, "CalendarResponsiveOptions": { "description": "Custom Calendar responsive options metadata.", "relatedProp": "", @@ -6933,7 +6987,7 @@ "name": "dropdownButton", "optional": true, "readonly": false, - "type": "ButtonPassThroughOptionType", + "type": "ButtonPassThroughOptions", "default": "", "description": "Used to pass attributes to the Button component." }, @@ -6973,7 +7027,7 @@ "name": "previousButton", "optional": true, "readonly": false, - "type": "ButtonPassThroughOptionType", + "type": "ButtonPassThroughOptions", "default": "", "description": "Used to pass attributes to the Button component." }, @@ -7013,7 +7067,7 @@ "name": "nextButton", "optional": true, "readonly": false, - "type": "ButtonPassThroughOptionType", + "type": "ButtonPassThroughOptions", "default": "", "description": "Used to pass attributes to the Button component." }, @@ -7269,7 +7323,7 @@ "name": "todayButton", "optional": true, "readonly": false, - "type": "ButtonPassThroughOptionType", + "type": "ButtonPassThroughOptions", "default": "", "description": "Used to pass attributes to the Button component." }, @@ -7277,7 +7331,7 @@ "name": "clearButton", "optional": true, "readonly": false, - "type": "ButtonPassThroughOptionType", + "type": "ButtonPassThroughOptions", "default": "", "description": "Used to pass attributes to the Button component." }, @@ -12339,6 +12393,29 @@ ], "methods": [] }, + "ColumnSharedPassThroughMethodOptions": { + "description": "Custom shared passthrough(pt) option method.", + "relatedProp": "", + "props": [ + { + "name": "props", + "optional": false, + "readonly": false, + "type": "ColumnProps", + "default": "", + "description": "Defines valid properties." + }, + { + "name": "parent", + "optional": false, + "readonly": false, + "type": "DataTablePassThroughOptions", + "default": "", + "description": "Defines parent instance." + } + ], + "methods": [] + }, "ColumnFilterModelType": { "description": "Filter model metadata.", "relatedProp": "", @@ -12663,7 +12740,7 @@ "name": "filterOperatorDropdown", "optional": true, "readonly": false, - "type": "DropdownPassThroughOptionType", + "type": "DropdownPassThroughOptionType", "default": "", "description": "Used to pass attributes to the Dropdown component." }, @@ -12687,7 +12764,7 @@ "name": "filterMatchModeDropdown", "optional": true, "readonly": false, - "type": "DropdownPassThroughOptionType", + "type": "DropdownPassThroughOptionType", "default": "", "description": "Used to pass attributes to the Dropdown component." }, @@ -12703,7 +12780,7 @@ "name": "filterRemoveButton", "optional": true, "readonly": false, - "type": "ButtonPassThroughOptionType", + "type": "ButtonPassThroughOptions", "default": "", "description": "Used to pass attributes to the Button component." }, @@ -12719,7 +12796,7 @@ "name": "filterAddRuleButton", "optional": true, "readonly": false, - "type": "ButtonPassThroughOptionType", + "type": "ButtonPassThroughOptions", "default": "", "description": "Used to pass attributes to the Button component." }, @@ -12735,7 +12812,7 @@ "name": "filterClearButton", "optional": true, "readonly": false, - "type": "ButtonPassThroughOptionType", + "type": "ButtonPassThroughOptions", "default": "", "description": "Used to pass attributes to the Button component." }, @@ -12743,7 +12820,7 @@ "name": "filterApplyButton", "optional": true, "readonly": false, - "type": "ButtonPassThroughOptionType", + "type": "ButtonPassThroughOptions", "default": "", "description": "Used to pass attributes to the Button component." }, @@ -14254,7 +14331,7 @@ "name": "badge", "optional": true, "readonly": false, - "type": "DefaultPassThrough", + "type": "DefaultPassThrough>", "default": "" }, { @@ -14275,7 +14352,7 @@ "name": "button", "optional": true, "readonly": false, - "type": "DefaultPassThrough", + "type": "DefaultPassThrough>", "default": "" }, { @@ -14415,7 +14492,7 @@ "name": "dialog", "optional": true, "readonly": false, - "type": "DefaultPassThrough", + "type": "DefaultPassThrough>", "default": "" }, { @@ -14429,14 +14506,14 @@ "name": "dropdown", "optional": true, "readonly": false, - "type": "DefaultPassThrough", + "type": "DefaultPassThrough>", "default": "" }, { "name": "dynamicdialog", "optional": true, "readonly": false, - "type": "DefaultPassThrough", + "type": "DefaultPassThrough>", "default": "" }, { @@ -14499,7 +14576,7 @@ "name": "inputnumber", "optional": true, "readonly": false, - "type": "DefaultPassThrough", + "type": "DefaultPassThrough>", "default": "" }, { @@ -14513,7 +14590,7 @@ "name": "inputtext", "optional": true, "readonly": false, - "type": "DefaultPassThrough", + "type": "DefaultPassThrough>", "default": "" }, { @@ -14555,7 +14632,7 @@ "name": "message", "optional": true, "readonly": false, - "type": "DefaultPassThrough", + "type": "DefaultPassThrough>", "default": "" }, { @@ -14590,7 +14667,7 @@ "name": "paginator", "optional": true, "readonly": false, - "type": "DefaultPassThrough", + "type": "DefaultPassThrough>", "default": "" }, { @@ -14625,7 +14702,7 @@ "name": "progressbar", "optional": true, "readonly": false, - "type": "DefaultPassThrough", + "type": "DefaultPassThrough>", "default": "" }, { @@ -14779,7 +14856,7 @@ "name": "tieredmenu", "optional": true, "readonly": false, - "type": "DefaultPassThrough", + "type": "DefaultPassThrough>", "default": "" }, { @@ -14814,7 +14891,7 @@ "name": "tree", "optional": true, "readonly": false, - "type": "DefaultPassThrough", + "type": "DefaultPassThrough>", "default": "" }, { @@ -15940,6 +16017,29 @@ ], "methods": [] }, + "ConfirmDialogSharedPassThroughMethodOptions": { + "description": "Custom shared passthrough(pt) option method.", + "relatedProp": "", + "props": [ + { + "name": "props", + "optional": false, + "readonly": false, + "type": "ConfirmDialogProps", + "default": "", + "description": "Defines valid properties." + }, + { + "name": "state", + "optional": false, + "readonly": false, + "type": "ConfirmDialogState", + "default": "", + "description": "Defines current inline state." + } + ], + "methods": [] + }, "ConfirmDialogPassThroughOptions": { "description": "Custom passthrough(pt) options.", "relatedProp": "ConfirmDialogProps.pt", @@ -16028,7 +16128,7 @@ "name": "rejectButton", "optional": true, "readonly": false, - "type": "ButtonPassThroughOptions", + "type": "ButtonPassThroughOptions", "default": "", "description": "Used to pass attributes to the Button component." }, @@ -16036,7 +16136,7 @@ "name": "acceptButton", "optional": true, "readonly": false, - "type": "ButtonPassThroughOptions", + "type": "ButtonPassThroughOptions", "default": "", "description": "Used to pass attributes to the Button component." }, @@ -16345,6 +16445,29 @@ ], "methods": [] }, + "ConfirmPopupSharedPassThroughMethodOptions": { + "description": "Custom shared passthrough(pt) option method.", + "relatedProp": "", + "props": [ + { + "name": "props", + "optional": false, + "readonly": false, + "type": "ConfirmPopupProps", + "default": "", + "description": "Defines valid properties." + }, + { + "name": "state", + "optional": false, + "readonly": false, + "type": "ConfirmPopupState", + "default": "", + "description": "Defines current inline state." + } + ], + "methods": [] + }, "ConfirmPopupPassThroughOptions": { "description": "Custom passthrough(pt) options.", "relatedProp": "ConfirmPopupProps.pt", @@ -16393,7 +16516,7 @@ "name": "rejectButton", "optional": true, "readonly": false, - "type": "ButtonPassThroughOptions", + "type": "ButtonPassThroughOptions", "default": "", "description": "Used to pass attributes to the Button component." }, @@ -16401,7 +16524,7 @@ "name": "acceptButton", "optional": true, "readonly": false, - "type": "ButtonPassThroughOptions", + "type": "ButtonPassThroughOptions", "default": "", "description": "Used to pass attributes to the Button component." }, @@ -17381,6 +17504,29 @@ ], "methods": [] }, + "DataTableSharedPassThroughMethodOptions": { + "description": "Custom shared passthrough(pt) option method.", + "relatedProp": "", + "props": [ + { + "name": "props", + "optional": false, + "readonly": false, + "type": "DataTableProps", + "default": "", + "description": "Defines valid properties." + }, + { + "name": "state", + "optional": false, + "readonly": false, + "type": "DataTableState", + "default": "", + "description": "Defines current inline state." + } + ], + "methods": [] + }, "DataTableExportFunctionOptions": { "description": "Custom datatable export metadata.", "relatedProp": "", @@ -18591,7 +18737,7 @@ "name": "paginator", "optional": true, "readonly": false, - "type": "PaginatorPassThroughOptionType", + "type": "PaginatorPassThroughOptionType", "default": "", "description": "Used to pass attributes to the Paginator component." }, @@ -20344,6 +20490,29 @@ ], "methods": [] }, + "DataViewSharedPassThroughMethodOptions": { + "description": "Custom shared passthrough(pt) option method.", + "relatedProp": "", + "props": [ + { + "name": "props", + "optional": false, + "readonly": false, + "type": "DataViewProps", + "default": "", + "description": "Defines valid properties." + }, + { + "name": "state", + "optional": false, + "readonly": false, + "type": "DataViewState", + "default": "", + "description": "Defines current inline state." + } + ], + "methods": [] + }, "DataViewPageEvent": { "description": "Custom page event.", "relatedProp": "DataViewEmits.page", @@ -20407,7 +20576,7 @@ "name": "paginator", "optional": true, "readonly": false, - "type": "PaginatorPassThroughOptionType", + "type": "PaginatorPassThroughOptionType", "default": "", "description": "Used to pass attributes to the Paginator component." }, @@ -21401,6 +21570,14 @@ "default": "", "description": "Defines current inline state." }, + { + "name": "parent", + "optional": false, + "readonly": false, + "type": "T", + "default": "", + "description": "Defines parent instance." + }, { "name": "global", "optional": false, @@ -21420,7 +21597,7 @@ "name": "root", "optional": true, "readonly": false, - "type": "DialogPassThroughOptionType", + "type": "DialogPassThroughOptionType