Skip to content

Commit

Permalink
Fixed #4231 - Update d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Aug 2, 2023
1 parent 5d8c790 commit 6d3d420
Show file tree
Hide file tree
Showing 27 changed files with 110 additions and 55 deletions.
6 changes: 4 additions & 2 deletions components/lib/accordiontab/AccordionTab.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -59,7 +61,7 @@ export interface AccordionTabPassThroughOptions {
/**
* Used to control Vue Transition API.
*/
transition?: any;
transition?: AccordionTabPassThroughTransitionType;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion components/lib/autocomplete/AutoComplete.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export interface AutoCompletePassThroughOptions {
/**
* Used to control Vue Transition API.
*/
transition?: any;
transition?: PanelPassThroughTransitionType;
}

/**
Expand Down
6 changes: 4 additions & 2 deletions components/lib/calendar/Calendar.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -293,7 +295,7 @@ export interface CalendarPassThroughOptions {
/**
* Used to control Vue Transition API.
*/
transition?: any;
transition?: CalendarPassThroughTransitionType;
}

/**
Expand Down
6 changes: 4 additions & 2 deletions components/lib/cascadeselect/CascadeSelect.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -112,7 +114,7 @@ export interface CascadeSelectPassThroughOptions {
/**
* Used to control Vue Transition API.
*/
transition?: any;
transition?: CascadeSelectPassThroughTransitionType;
}

/**
Expand Down
5 changes: 4 additions & 1 deletion components/lib/colorpicker/ColorPicker.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -85,7 +88,7 @@ export interface ColorPickerPassThroughOptions {
/**
* Used to control Vue Transition API.
*/
transition?: any;
transition?: ColorPickerPassThroughTransitionType;
}

/**
Expand Down
6 changes: 4 additions & 2 deletions components/lib/confirmpopup/ConfirmPopup.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@
* @module confirmpopup
*
*/
import { VNode } from 'vue';
import { TransitionProps, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent';
import { ButtonPassThroughOptions } from '../button';
import { ConfirmationOptions } from '../confirmationoptions';
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.
*/
Expand Down Expand Up @@ -67,7 +69,7 @@ export interface ConfirmPopupPassThroughOptions {
/**
* Used to control Vue Transition API.
*/
transition?: any;
transition?: ConfirmPopupPassThroughTransitionType;
}

/**
Expand Down
6 changes: 4 additions & 2 deletions components/lib/contextmenu/ContextMenu.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -78,7 +80,7 @@ export interface ContextMenuPassThroughOptions {
/**
* Used to control Vue Transition API.
*/
transition?: any;
transition?: ContextMenuPassThroughTransitionType;
}

/**
Expand Down
6 changes: 4 additions & 2 deletions components/lib/datatable/DataTable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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.
*/
Expand Down Expand Up @@ -657,7 +659,7 @@ export interface DataTablePassThroughOptions {
/**
* Used to control Vue Transition API.
*/
transition?: any;
transition?: DataTablePassThroughTransitionType;
}

/**
Expand Down
6 changes: 4 additions & 2 deletions components/lib/dialog/Dialog.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -79,7 +81,7 @@ export interface DialogPassThroughOptions {
/**
* Used to control Vue Transition API.
*/
transition?: any;
transition?: DialogPassThroughTransitionType;
}

/**
Expand Down
6 changes: 4 additions & 2 deletions components/lib/dropdown/Dropdown.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -152,7 +154,7 @@ export interface DropdownPassThroughOptions {
/**
* Used to control Vue Transition API.
*/
transition?: any;
transition?: DropdownPassThroughTransitionType;
}

/**
Expand Down
6 changes: 4 additions & 2 deletions components/lib/fieldset/Fieldset.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -78,7 +80,7 @@ export interface FieldsetPassThroughOptions {
/**
* Used to control Vue Transition API.
*/
transition?: any;
transition?: FieldsetPassThroughTransitionType;
}

/**
Expand Down
7 changes: 5 additions & 2 deletions components/lib/galleria/Galleria.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -158,7 +161,7 @@ export interface GalleriaPassThroughOptions {
/**
* Used to control Vue Transition API.
*/
transition?: any;
transition?: GalleriaPassThroughTransitionType;
}

/**
Expand Down
7 changes: 5 additions & 2 deletions components/lib/image/Image.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -106,7 +109,7 @@ export interface ImagePassThroughOptions {
/**
* Used to control Vue Transition API.
*/
transition?: any;
transition?: ImagePassThroughTransitionType;
}

/**
Expand Down
6 changes: 4 additions & 2 deletions components/lib/menu/Menu.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -81,7 +83,7 @@ export interface MenuPassThroughOptions {
/**
* Used to control Vue Transition API.
*/
transition?: any;
transition?: MenuPassThroughTransitionType;
}

/**
Expand Down
6 changes: 4 additions & 2 deletions components/lib/message/Message.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -69,7 +71,7 @@ export interface MessagePassThroughOptions {
/**
* Used to control Vue Transition API.
*/
transition?: any;
transition?: MessagePassThroughTransitionType;
}

/**
Expand Down
6 changes: 4 additions & 2 deletions components/lib/multiselect/MultiSelect.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -219,7 +221,7 @@ export interface MultiSelectPassThroughOptions {
/**
* Used to control Vue Transition API.
*/
transition?: any;
transition?: MultiSelectPassThroughTransitionType;
}

/**
Expand Down
Loading

0 comments on commit 6d3d420

Please sign in to comment.