From 6d3d4201897a04ea8c06e2df526d3f84e26b5b2e Mon Sep 17 00:00:00 2001 From: mertsincan Date: Wed, 2 Aug 2023 17:07:22 +0300 Subject: [PATCH] Fixed #4231 - Update d.ts --- components/lib/accordiontab/AccordionTab.d.ts | 6 ++++-- components/lib/autocomplete/AutoComplete.d.ts | 2 +- components/lib/calendar/Calendar.d.ts | 6 ++++-- components/lib/cascadeselect/CascadeSelect.d.ts | 6 ++++-- components/lib/colorpicker/ColorPicker.d.ts | 5 ++++- components/lib/confirmpopup/ConfirmPopup.d.ts | 6 ++++-- components/lib/contextmenu/ContextMenu.d.ts | 6 ++++-- components/lib/datatable/DataTable.d.ts | 6 ++++-- components/lib/dialog/Dialog.d.ts | 6 ++++-- components/lib/dropdown/Dropdown.d.ts | 6 ++++-- components/lib/fieldset/Fieldset.d.ts | 6 ++++-- components/lib/galleria/Galleria.d.ts | 7 +++++-- components/lib/image/Image.d.ts | 7 +++++-- components/lib/menu/Menu.d.ts | 6 ++++-- components/lib/message/Message.d.ts | 6 ++++-- components/lib/multiselect/MultiSelect.d.ts | 6 ++++-- components/lib/orderlist/OrderList.d.ts | 6 ++++-- components/lib/overlaypanel/OverlayPanel.d.ts | 6 ++++-- components/lib/panel/Panel.d.ts | 12 +++++++----- components/lib/panelmenu/PanelMenu.d.ts | 6 ++++-- components/lib/password/Password.d.ts | 6 ++++-- components/lib/picklist/PickList.d.ts | 6 ++++-- components/lib/scrolltop/ScrollTop.d.ts | 6 ++++-- components/lib/sidebar/Sidebar.d.ts | 6 ++++-- components/lib/tieredmenu/TieredMenu.d.ts | 6 ++++-- components/lib/toast/Toast.d.ts | 6 ++++-- components/lib/treeselect/TreeSelect.d.ts | 6 ++++-- 27 files changed, 110 insertions(+), 55 deletions(-) diff --git a/components/lib/accordiontab/AccordionTab.d.ts b/components/lib/accordiontab/AccordionTab.d.ts index 2b9b8090e..83174bcc1 100755 --- a/components/lib/accordiontab/AccordionTab.d.ts +++ b/components/lib/accordiontab/AccordionTab.d.ts @@ -7,12 +7,14 @@ * @module accordiontab * */ -import { AnchorHTMLAttributes, HTMLAttributes, VNode } from 'vue'; +import { AnchorHTMLAttributes, HTMLAttributes, TransitionProps, VNode } from 'vue'; import { AccordionPassThroughOptions } from '../accordion'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type AccordionTabPassThroughOptionType = AccordionTabPassThroughAttributes | ((options: AccordionTabPassThroughMethodOptions) => AccordionTabPassThroughAttributes | string) | string | null | undefined; +export declare type AccordionTabPassThroughTransitionType = TransitionProps | ((options: AccordionTabPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -59,7 +61,7 @@ export interface AccordionTabPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: AccordionTabPassThroughTransitionType; } /** diff --git a/components/lib/autocomplete/AutoComplete.d.ts b/components/lib/autocomplete/AutoComplete.d.ts index d1da1f4c0..3eaa4cee4 100755 --- a/components/lib/autocomplete/AutoComplete.d.ts +++ b/components/lib/autocomplete/AutoComplete.d.ts @@ -174,7 +174,7 @@ export interface AutoCompletePassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: PanelPassThroughTransitionType; } /** diff --git a/components/lib/calendar/Calendar.d.ts b/components/lib/calendar/Calendar.d.ts index 23bcc80e8..eddcb3915 100755 --- a/components/lib/calendar/Calendar.d.ts +++ b/components/lib/calendar/Calendar.d.ts @@ -7,13 +7,15 @@ * @module calendar * */ -import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue'; +import { HTMLAttributes, InputHTMLAttributes, TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { ButtonPassThroughOptionType } from '../button'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type CalendarPassThroughOptionType = CalendarPassThroughAttributes | ((options: CalendarPassThroughMethodOptions) => CalendarPassThroughAttributes | string) | string | null | undefined; +export declare type CalendarPassThroughTransitionType = TransitionProps | ((options: CalendarPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -293,7 +295,7 @@ export interface CalendarPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: CalendarPassThroughTransitionType; } /** diff --git a/components/lib/cascadeselect/CascadeSelect.d.ts b/components/lib/cascadeselect/CascadeSelect.d.ts index fd555861f..078a739ed 100644 --- a/components/lib/cascadeselect/CascadeSelect.d.ts +++ b/components/lib/cascadeselect/CascadeSelect.d.ts @@ -7,12 +7,14 @@ * @module cascadeselect * */ -import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue'; +import { HTMLAttributes, InputHTMLAttributes, TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type CascadeSelectPassThroughOptionType = CascadeSelectPassThroughAttributes | ((options: CascadeSelectPassThroughMethodOptions) => CascadeSelectPassThroughAttributes | string) | string | null | undefined; +export declare type CascadeSelectPassThroughTransitionType = TransitionProps | ((options: CascadeSelectPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -112,7 +114,7 @@ export interface CascadeSelectPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: CascadeSelectPassThroughTransitionType; } /** diff --git a/components/lib/colorpicker/ColorPicker.d.ts b/components/lib/colorpicker/ColorPicker.d.ts index f7d0f462f..0e36a6f8f 100755 --- a/components/lib/colorpicker/ColorPicker.d.ts +++ b/components/lib/colorpicker/ColorPicker.d.ts @@ -7,11 +7,14 @@ * @module colorpicker * */ +import { TransitionProps } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type ColorPickerPassThroughOptionType = ColorPickerPassThroughAttributes | ((options: ColorPickerPassThroughMethodOptions) => ColorPickerPassThroughAttributes | string) | string | null | undefined; +export declare type ColorPickerPassThroughTransitionType = TransitionProps | ((options: ColorPickerPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -85,7 +88,7 @@ export interface ColorPickerPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: ColorPickerPassThroughTransitionType; } /** diff --git a/components/lib/confirmpopup/ConfirmPopup.d.ts b/components/lib/confirmpopup/ConfirmPopup.d.ts index c3cb6b46a..d96fba9e8 100644 --- a/components/lib/confirmpopup/ConfirmPopup.d.ts +++ b/components/lib/confirmpopup/ConfirmPopup.d.ts @@ -7,7 +7,7 @@ * @module confirmpopup * */ -import { VNode } from 'vue'; +import { TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { ButtonPassThroughOptions } from '../button'; import { ConfirmationOptions } from '../confirmationoptions'; @@ -15,6 +15,8 @@ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type ConfirmPopupPassThroughOptionType = ConfirmPopupPassThroughAttributes | ((options: ConfirmPopupPassThroughMethodOptions) => ConfirmPopupPassThroughAttributes | string) | string | null | undefined; +export declare type ConfirmPopupPassThroughTransitionType = TransitionProps | ((options: ConfirmPopupPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -67,7 +69,7 @@ export interface ConfirmPopupPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: ConfirmPopupPassThroughTransitionType; } /** diff --git a/components/lib/contextmenu/ContextMenu.d.ts b/components/lib/contextmenu/ContextMenu.d.ts index 5230c20f3..5171b9f17 100755 --- a/components/lib/contextmenu/ContextMenu.d.ts +++ b/components/lib/contextmenu/ContextMenu.d.ts @@ -8,13 +8,15 @@ * @module contextmenu * */ -import { VNode } from 'vue'; +import { TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { MenuItem } from '../menuitem'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type ContextMenuPassThroughOptionType = ContextMenuPassThroughAttributes | ((options: ContextMenuPassThroughMethodOptions) => ContextMenuPassThroughAttributes | string) | string | null | undefined; +export declare type ContextMenuPassThroughTransitionType = TransitionProps | ((options: ContextMenuPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -78,7 +80,7 @@ export interface ContextMenuPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: ContextMenuPassThroughTransitionType; } /** diff --git a/components/lib/datatable/DataTable.d.ts b/components/lib/datatable/DataTable.d.ts index 72c3c15d6..af214296e 100755 --- a/components/lib/datatable/DataTable.d.ts +++ b/components/lib/datatable/DataTable.d.ts @@ -7,7 +7,7 @@ * @module datatable * */ -import { InputHTMLAttributes, TableHTMLAttributes, VNode } from 'vue'; +import { InputHTMLAttributes, TableHTMLAttributes, TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { ColumnPassThroughOptionType } from '../column'; import { ColumnGroupPassThroughOptionType } from '../columngroup'; @@ -18,6 +18,8 @@ import { VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../v export declare type DataTablePassThroughOptionType = DataTablePassThroughAttributes | ((options: DataTablePassThroughMethodOptions) => DataTablePassThroughAttributes | string) | string | null | undefined; +export declare type DataTablePassThroughTransitionType = TransitionProps | ((options: DataTablePassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -657,7 +659,7 @@ export interface DataTablePassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: DataTablePassThroughTransitionType; } /** diff --git a/components/lib/dialog/Dialog.d.ts b/components/lib/dialog/Dialog.d.ts index 4a4613e5d..dbcc3208b 100755 --- a/components/lib/dialog/Dialog.d.ts +++ b/components/lib/dialog/Dialog.d.ts @@ -7,12 +7,14 @@ * @module dialog * */ -import { HTMLAttributes, VNode } from 'vue'; +import { HTMLAttributes, TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type DialogPassThroughOptionType = DialogPassThroughAttributes | ((options: DialogPassThroughMethodOptions) => DialogPassThroughAttributes | string) | string | null | undefined; +export declare type DialogPassThroughTransitionType = TransitionProps | ((options: DialogPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -79,7 +81,7 @@ export interface DialogPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: DialogPassThroughTransitionType; } /** diff --git a/components/lib/dropdown/Dropdown.d.ts b/components/lib/dropdown/Dropdown.d.ts index 77a9b92c7..4147e3a70 100755 --- a/components/lib/dropdown/Dropdown.d.ts +++ b/components/lib/dropdown/Dropdown.d.ts @@ -7,13 +7,15 @@ * @module dropdown * */ -import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue'; +import { HTMLAttributes, InputHTMLAttributes, TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { VirtualScrollerItemOptions, VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../virtualscroller'; export declare type DropdownPassThroughOptionType = DropdownPassThroughAttributes | ((options: DropdownPassThroughMethodOptions) => DropdownPassThroughAttributes | string) | string | null | undefined; +export declare type DropdownPassThroughTransitionType = TransitionProps | ((options: DropdownPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -152,7 +154,7 @@ export interface DropdownPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: DropdownPassThroughTransitionType; } /** diff --git a/components/lib/fieldset/Fieldset.d.ts b/components/lib/fieldset/Fieldset.d.ts index a18054c38..4e230be6d 100755 --- a/components/lib/fieldset/Fieldset.d.ts +++ b/components/lib/fieldset/Fieldset.d.ts @@ -7,12 +7,14 @@ * @module fieldset * */ -import { AnchorHTMLAttributes, VNode } from 'vue'; +import { AnchorHTMLAttributes, TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type FieldsetPassThroughOptionType = FieldsetPassThroughAttributes | ((options: FieldsetPassThroughMethodOptions) => FieldsetPassThroughAttributes | string) | string | null | undefined; +export declare type FieldsetPassThroughTransitionType = TransitionProps | ((options: FieldsetPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -78,7 +80,7 @@ export interface FieldsetPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: FieldsetPassThroughTransitionType; } /** diff --git a/components/lib/galleria/Galleria.d.ts b/components/lib/galleria/Galleria.d.ts index 3eea3dde0..16b84cd6a 100755 --- a/components/lib/galleria/Galleria.d.ts +++ b/components/lib/galleria/Galleria.d.ts @@ -7,11 +7,14 @@ * @module galleria * */ -import { ButtonHTMLAttributes, HTMLAttributes, VNode } from 'vue'; +import { ButtonHTMLAttributes, HTMLAttributes, TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; + export declare type GalleriaPassThroughOptionType = GalleriaPassThroughAttributes | ((options: GalleriaPassThroughMethodOptions) => GalleriaPassThroughAttributes | string) | string | null | undefined; +export declare type GalleriaPassThroughTransitionType = TransitionProps | ((options: GalleriaPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -158,7 +161,7 @@ export interface GalleriaPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: GalleriaPassThroughTransitionType; } /** diff --git a/components/lib/image/Image.d.ts b/components/lib/image/Image.d.ts index ff0a8db9a..0546bf671 100644 --- a/components/lib/image/Image.d.ts +++ b/components/lib/image/Image.d.ts @@ -7,11 +7,14 @@ * @module image * */ -import { VNode } from 'vue'; +import { TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; + export declare type ImagePassThroughOptionType = ImagePassThroughAttributes | ((options: ImagePassThroughMethodOptions) => ImagePassThroughAttributes | string) | string | null | undefined; +export declare type ImagePassThroughTransitionType = TransitionProps | ((options: ImagePassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -106,7 +109,7 @@ export interface ImagePassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: ImagePassThroughTransitionType; } /** diff --git a/components/lib/menu/Menu.d.ts b/components/lib/menu/Menu.d.ts index 1f6554b5c..11179a85d 100755 --- a/components/lib/menu/Menu.d.ts +++ b/components/lib/menu/Menu.d.ts @@ -7,13 +7,15 @@ * @module menu * */ -import { VNode } from 'vue'; +import { TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { MenuItem } from '../menuitem'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type MenuPassThroughOptionType = MenuPassThroughAttributes | ((options: MenuPassThroughMethodOptions) => MenuPassThroughAttributes | string) | string | null | undefined; +export declare type MenuPassThroughTransitionType = TransitionProps | ((options: MenuPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -81,7 +83,7 @@ export interface MenuPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: MenuPassThroughTransitionType; } /** diff --git a/components/lib/message/Message.d.ts b/components/lib/message/Message.d.ts index 7bb5470ed..e81c81c93 100755 --- a/components/lib/message/Message.d.ts +++ b/components/lib/message/Message.d.ts @@ -7,12 +7,14 @@ * @module message * */ -import { ButtonHTMLAttributes, VNode } from 'vue'; +import { ButtonHTMLAttributes, TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type MessagePassThroughOptionType = MessagePassThroughAttributes | ((options: MessagePassThroughMethodOptions) => MessagePassThroughAttributes | string) | string | null | undefined; +export declare type MessagePassThroughTransitionType = TransitionProps | ((options: MessagePassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -69,7 +71,7 @@ export interface MessagePassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: MessagePassThroughTransitionType; } /** diff --git a/components/lib/multiselect/MultiSelect.d.ts b/components/lib/multiselect/MultiSelect.d.ts index 0c8f977e7..678e874af 100755 --- a/components/lib/multiselect/MultiSelect.d.ts +++ b/components/lib/multiselect/MultiSelect.d.ts @@ -7,13 +7,15 @@ * @module multiselect * */ -import { ButtonHTMLAttributes, HTMLAttributes, InputHTMLAttributes, VNode } from 'vue'; +import { ButtonHTMLAttributes, HTMLAttributes, InputHTMLAttributes, TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { VirtualScrollerItemOptions, VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../virtualscroller'; export declare type MultiSelectPassThroughOptionType = MultiSelectPassThroughAttributes | ((options: MultiSelectPassThroughMethodOptions) => MultiSelectPassThroughAttributes | string) | string | null | undefined; +export declare type MultiSelectPassThroughTransitionType = TransitionProps | ((options: MultiSelectPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -219,7 +221,7 @@ export interface MultiSelectPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: MultiSelectPassThroughTransitionType; } /** diff --git a/components/lib/orderlist/OrderList.d.ts b/components/lib/orderlist/OrderList.d.ts index 5a9319f90..5e4d14947 100755 --- a/components/lib/orderlist/OrderList.d.ts +++ b/components/lib/orderlist/OrderList.d.ts @@ -7,13 +7,15 @@ * @module orderlist * */ -import { ButtonHTMLAttributes, HTMLAttributes, VNode } from 'vue'; +import { ButtonHTMLAttributes, HTMLAttributes, TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { ButtonPassThroughOptionType } from '../button'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type OrderListPassThroughOptionType = OrderListPassThroughAttributes | ((options: OrderListPassThroughMethodOptions) => OrderListPassThroughAttributes | string) | string | null | undefined; +export declare type OrderListPassThroughTransitionType = TransitionProps | ((options: OrderListPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -111,7 +113,7 @@ export interface OrderListPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: OrderListPassThroughTransitionType; } /** diff --git a/components/lib/overlaypanel/OverlayPanel.d.ts b/components/lib/overlaypanel/OverlayPanel.d.ts index 1f4fd25df..b2609bd33 100755 --- a/components/lib/overlaypanel/OverlayPanel.d.ts +++ b/components/lib/overlaypanel/OverlayPanel.d.ts @@ -7,12 +7,14 @@ * @module overlaypanel * */ -import { VNode } from 'vue'; +import { TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type OverlayPanelPassThroughOptionType = OverlayPanelPassThroughAttributes | ((options: OverlayPanelPassThroughMethodOptions) => OverlayPanelPassThroughAttributes | string) | string | null | undefined; +export declare type OverlayPanelPassThroughTransitionType = TransitionProps | ((options: OverlayPanelPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -51,7 +53,7 @@ export interface OverlayPanelPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: OverlayPanelPassThroughTransitionType; } /** diff --git a/components/lib/panel/Panel.d.ts b/components/lib/panel/Panel.d.ts index 2c87bdfb4..8cd1dac0b 100755 --- a/components/lib/panel/Panel.d.ts +++ b/components/lib/panel/Panel.d.ts @@ -7,12 +7,14 @@ * @module panel * */ -import { ButtonHTMLAttributes, VNode } from 'vue'; +import { ButtonHTMLAttributes, TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type PanelPassThroughOptionType = PanelPassThroughAttributes | ((options: PanelPassThroughMethodOptions) => PanelPassThroughAttributes | string) | string | null | undefined; +export declare type PanelPassThroughTransitionType = TransitionProps | ((options: PanelPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -78,15 +80,15 @@ export interface PanelPassThroughOptions { * Used to pass attributes to the footer's DOM element. */ footer?: PanelPassThroughOptionType; + /** + * Used to control Vue Transition API. + */ + transition?: PanelPassThroughTransitionType; /** * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; - /** - * Used to control Vue Transition API. - */ - transition?: any; } /** diff --git a/components/lib/panelmenu/PanelMenu.d.ts b/components/lib/panelmenu/PanelMenu.d.ts index 501d877e0..2504688fb 100755 --- a/components/lib/panelmenu/PanelMenu.d.ts +++ b/components/lib/panelmenu/PanelMenu.d.ts @@ -7,13 +7,15 @@ * @module panelmenu * */ -import { VNode } from 'vue'; +import { TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { MenuItem } from '../menuitem'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type PanelMenuPassThroughOptionType = PanelMenuPassThroughAttributes | ((options: PanelMenuPassThroughMethodOptions) => PanelMenuPassThroughAttributes | string) | string | null | undefined; +export declare type PanelMenuPassThroughTransitionType = TransitionProps | ((options: PanelMenuPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -109,7 +111,7 @@ export interface PanelMenuPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: PanelMenuPassThroughTransitionType; } /** diff --git a/components/lib/password/Password.d.ts b/components/lib/password/Password.d.ts index 293a05896..61f83b109 100755 --- a/components/lib/password/Password.d.ts +++ b/components/lib/password/Password.d.ts @@ -7,13 +7,15 @@ * @module password * */ -import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue'; +import { HTMLAttributes, InputHTMLAttributes, TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { InputTextPassThroughOptionType } from '../inputtext'; import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers'; export declare type PasswordPassThroughOptionType = PasswordPassThroughAttributes | ((options: PasswordPassThroughMethodOptions) => PasswordPassThroughAttributes | string) | string | null | undefined; +export declare type PasswordPassThroughTransitionType = TransitionProps | ((options: PasswordPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -73,7 +75,7 @@ export interface PasswordPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: PasswordPassThroughTransitionType; } /** diff --git a/components/lib/picklist/PickList.d.ts b/components/lib/picklist/PickList.d.ts index 863f076db..1713633b7 100755 --- a/components/lib/picklist/PickList.d.ts +++ b/components/lib/picklist/PickList.d.ts @@ -7,13 +7,15 @@ * @module picklist * */ -import { ButtonHTMLAttributes, HTMLAttributes, VNode } from 'vue'; +import { ButtonHTMLAttributes, HTMLAttributes, TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { ButtonPassThroughOptionType } from '../button'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type PickListPassThroughOptionType = PickListPassThroughAttributes | ((options: PickListPassThroughMethodOptions) => PickListPassThroughAttributes | string) | string | null | undefined; +export declare type PickListPassThroughTransitionType = TransitionProps | ((options: PickListPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -203,7 +205,7 @@ export interface PickListPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: PickListPassThroughTransitionType; } /** diff --git a/components/lib/scrolltop/ScrollTop.d.ts b/components/lib/scrolltop/ScrollTop.d.ts index 833081525..8134f5a0a 100644 --- a/components/lib/scrolltop/ScrollTop.d.ts +++ b/components/lib/scrolltop/ScrollTop.d.ts @@ -7,12 +7,14 @@ * @module scrolltop * */ -import { VNode } from 'vue'; +import { TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type ScrollTopPassThroughOptionType = ScrollTopPassThroughAttributes | ((options: ScrollTopPassThroughMethodOptions) => ScrollTopPassThroughAttributes | string) | string | null | undefined; +export declare type ScrollTopPassThroughTransitionType = TransitionProps | ((options: ScrollTopPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -43,7 +45,7 @@ export interface ScrollTopPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: ScrollTopPassThroughTransitionType; } /** diff --git a/components/lib/sidebar/Sidebar.d.ts b/components/lib/sidebar/Sidebar.d.ts index fa28b8341..914324e6c 100755 --- a/components/lib/sidebar/Sidebar.d.ts +++ b/components/lib/sidebar/Sidebar.d.ts @@ -7,12 +7,14 @@ * @module sidebar * */ -import { VNode } from 'vue'; +import { TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type SidebarPassThroughOptionType = SidebarPassThroughAttributes | ((options: SidebarPassThroughMethodOptions) => SidebarPassThroughAttributes | string) | string | null | undefined; +export declare type SidebarPassThroughTransitionType = TransitionProps | ((options: SidebarPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -63,7 +65,7 @@ export interface SidebarPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: SidebarPassThroughTransitionType; } /** diff --git a/components/lib/tieredmenu/TieredMenu.d.ts b/components/lib/tieredmenu/TieredMenu.d.ts index c34f72530..6d03551a7 100755 --- a/components/lib/tieredmenu/TieredMenu.d.ts +++ b/components/lib/tieredmenu/TieredMenu.d.ts @@ -7,13 +7,15 @@ * @module tieredmenu * */ -import { VNode } from 'vue'; +import { TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { MenuItem } from '../menuitem'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type TieredMenuPassThroughOptionType = TieredMenuPassThroughAttributes | ((options: TieredMenuPassThroughMethodOptions) => TieredMenuPassThroughAttributes | string) | string | null | undefined; +export declare type TieredMenuPassThroughTransitionType = TransitionProps | ((options: TieredMenuPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -77,7 +79,7 @@ export interface TieredMenuPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: TieredMenuPassThroughTransitionType; } /** diff --git a/components/lib/toast/Toast.d.ts b/components/lib/toast/Toast.d.ts index 0fec4ca47..4a38727f3 100755 --- a/components/lib/toast/Toast.d.ts +++ b/components/lib/toast/Toast.d.ts @@ -7,12 +7,14 @@ * @module toast * */ -import { ButtonHTMLAttributes, VNode } from 'vue'; +import { ButtonHTMLAttributes, TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type ToastPassThroughOptionType = ToastPassThroughAttributes | ((options: ToastPassThroughMethodOptions) => ToastPassThroughAttributes | string) | string | null | undefined; +export declare type ToastPassThroughTransitionType = TransitionProps | ((options: ToastPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -89,7 +91,7 @@ export interface ToastPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: ToastPassThroughTransitionType; } /** diff --git a/components/lib/treeselect/TreeSelect.d.ts b/components/lib/treeselect/TreeSelect.d.ts index 0ba60cf07..950103521 100644 --- a/components/lib/treeselect/TreeSelect.d.ts +++ b/components/lib/treeselect/TreeSelect.d.ts @@ -7,13 +7,15 @@ * @module treeselect * */ -import { InputHTMLAttributes, VNode } from 'vue'; +import { InputHTMLAttributes, TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { TreeExpandedKeys, TreeNode, TreePassThroughOptionType } from '../tree'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type TreeSelectPassThroughOptionType = TreeSelectPassThroughAttributes | ((options: TreeSelectPassThroughMethodOptions) => TreeSelectPassThroughAttributes | string) | string | null | undefined; +export declare type TreeSelectPassThroughTransitionType = TransitionProps | ((options: TreeSelectPassThroughMethodOptions) => TransitionProps) | undefined; + /** * Custom passthrough(pt) option method. */ @@ -89,7 +91,7 @@ export interface TreeSelectPassThroughOptions { /** * Used to control Vue Transition API. */ - transition?: any; + transition?: TreeSelectPassThroughTransitionType; } /**