Update d.ts files

pull/4101/head^2
mertsincan 2023-07-06 12:09:01 +01:00
parent a4529e5be0
commit e9a561a7d1
98 changed files with 638 additions and 322 deletions

View File

@ -9,6 +9,7 @@
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { AccordionTabPassThroughOptionType } from '../accordiontab'; import { AccordionTabPassThroughOptionType } from '../accordiontab';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type AccordionPassThroughOptionType = AccordionPassThroughAttributes | ((options: AccordionPassThroughMethodOptions) => AccordionPassThroughAttributes) | null | undefined; export declare type AccordionPassThroughOptionType = AccordionPassThroughAttributes | ((options: AccordionPassThroughMethodOptions) => AccordionPassThroughAttributes) | null | undefined;
@ -63,6 +64,11 @@ export interface AccordionPassThroughOptions {
* Uses to pass attributes to AccordionTab helper components. * Uses to pass attributes to AccordionTab helper components.
*/ */
tab?: AccordionTabPassThroughOptionType; tab?: AccordionTabPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue'; import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ButtonPassThroughOptionType } from '../button'; import { ButtonPassThroughOptionType } from '../button';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
import { VirtualScrollerItemOptions, VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../virtualscroller'; import { VirtualScrollerItemOptions, VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../virtualscroller';
@ -164,6 +165,11 @@ export interface AutoCompletePassThroughOptions {
* Uses to pass attributes to the selected message's DOM element. * Uses to pass attributes to the selected message's DOM element.
*/ */
selectedMessage?: AutoCompletePassThroughOptionType; selectedMessage?: AutoCompletePassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { AvatarGroupPassThroughOptions } from '../avatargroup'; import { AvatarGroupPassThroughOptions } from '../avatargroup';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type AvatarPassThroughOptionType = AvatarPassThroughAttributes | ((options: AvatarPassThroughMethodOptions) => AvatarPassThroughAttributes) | null | undefined; export declare type AvatarPassThroughOptionType = AvatarPassThroughAttributes | ((options: AvatarPassThroughMethodOptions) => AvatarPassThroughAttributes) | null | undefined;
@ -48,6 +49,11 @@ export interface AvatarPassThroughOptions {
* Uses to pass attributes to the image's DOM element. * Uses to pass attributes to the image's DOM element.
*/ */
image?: AvatarPassThroughOptionType; image?: AvatarPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -7,6 +7,7 @@
* @module avatargroup * @module avatargroup
* *
*/ */
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type AvatarGroupPassThroughOptionType = AvatarGroupPassThroughAttributes | null | undefined; export declare type AvatarGroupPassThroughOptionType = AvatarGroupPassThroughAttributes | null | undefined;
@ -27,6 +28,11 @@ export interface AvatarGroupPassThroughOptions {
* Uses to pass attributes to the root's DOM element. * Uses to pass attributes to the root's DOM element.
*/ */
root?: AvatarGroupPassThroughOptionType; root?: AvatarGroupPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type BadgePassThroughOptionType = BadgePassThroughAttributes | ((options: BadgePassThroughMethodOptions) => BadgePassThroughAttributes) | null | undefined; export declare type BadgePassThroughOptionType = BadgePassThroughAttributes | ((options: BadgePassThroughMethodOptions) => BadgePassThroughAttributes) | null | undefined;
@ -35,6 +36,11 @@ export interface BadgePassThroughOptions {
* Uses to pass attributes to the root's DOM element. * Uses to pass attributes to the root's DOM element.
*/ */
root?: BadgePassThroughOptionType; root?: BadgePassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -7,6 +7,9 @@
* @module badgedirective * @module badgedirective
*/ */
import { DirectiveBinding, ObjectDirective } from 'vue'; import { DirectiveBinding, ObjectDirective } from 'vue';
import { DirectiveHooks } from '../basedirective';
export declare type BadgeDirectivePassThroughOptionType = BadgeDirectivePassThroughAttributes | null | undefined;
/** /**
* Defines options of Badge. * Defines options of Badge.
@ -31,73 +34,20 @@ export interface BadgeDirectiveOptions {
export interface BadgeDirectivePassThroughOptions { export interface BadgeDirectivePassThroughOptions {
/** /**
* Uses to pass attributes to the root's DOM element. * Uses to pass attributes to the root's DOM element.
* @see {@link BadgeDirectivePassThroughDirectiveOptions}
*/ */
root?: BadgeDirectivePassThroughDirectiveOptions; root?: BadgeDirectivePassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseDirective.DirectiveHooks}
*/
hooks?: DirectiveHooks;
} }
/** /**
* Custom passthrough(pt) directive options. * Custom passthrough attributes for each DOM elements
*/ */
export interface BadgeDirectivePassThroughDirectiveOptions { export interface BadgeDirectivePassThroughAttributes {
/** [key: string]: any;
* Uses to pass attributes to the life cycle hooks.
* @see {@link BadgeDirectivePassThroughHooksOptions}
*/
hooks?: BadgeDirectivePassThroughHooksOptions;
/**
* Uses to pass attributes to the styles.
* @see {@link BadgeDirectivePassThroughCSSOptions}
*/
css?: BadgeDirectivePassThroughCSSOptions;
}
/**
* Custom passthrough(pt) hooks options.
*/
export interface BadgeDirectivePassThroughHooksOptions {
/**
* Called before bound element's attributes or event listeners are applied.
*/
created?: DirectiveBinding;
/**
* Called right before the element is inserted into the DOM.
*/
beforeMount?: DirectiveBinding;
/**
* Called when the bound element's parent component and all its children are mounted.
*/
mounted?: DirectiveBinding;
/**
* Called before the parent component is updated.
*/
beforeUpdate?: DirectiveBinding;
/**
* Called after the parent component and all of its children have updated all of its children have updated.
*/
updated?: DirectiveBinding;
/**
* Called before the parent component is unmounted.
*/
beforeUnmount?: DirectiveBinding;
/**
* Called when the parent component is unmounted.
*/
unmounted?: DirectiveBinding;
}
/**
* Custom passthrough(pt) css options.
*/
export interface BadgeDirectivePassThroughCSSOptions {
/**
* Style class of the element.
*/
class?: any;
/**
* Inline style of the element.
*/
style?: any;
} }
/** /**

View File

@ -0,0 +1,14 @@
export interface ComponentHooks {
beforeCreate?(): void;
created?(): void;
beforeMount?(): void;
mounted?(): void;
beforeUpdate?(): void;
updated?(): void;
beforeUnmount?(): void;
unmounted?(): void;
}
export interface BaseComponentPassThroughOptions {
hooks?: ComponentHooks;
}

View File

@ -2,6 +2,7 @@
"main": "./basecomponent.cjs.js", "main": "./basecomponent.cjs.js",
"module": "./basecomponent.esm.js", "module": "./basecomponent.esm.js",
"unpkg": "./basecomponent.min.js", "unpkg": "./basecomponent.min.js",
"types": "./BaseComponent.d.ts",
"browser": { "browser": {
"./sfc": "./BaseComponent.vue" "./sfc": "./BaseComponent.vue"
} }

View File

@ -0,0 +1,7 @@
import { ObjectDirective } from 'vue';
export interface DirectiveHooks extends Omit<ObjectDirective, 'getSSRProps' | 'deep'> {}
export interface BaseDirectivePassThroughOptions {
hooks?: DirectiveHooks;
}

View File

@ -1,5 +1,6 @@
{ {
"main": "./basedirective.cjs.js", "main": "./basedirective.cjs.js",
"module": "./basedirective.esm.js", "module": "./basedirective.esm.js",
"unpkg": "./basedirective.min.js" "unpkg": "./basedirective.min.js",
"types": "./BaseDirective.d.ts"
} }

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type BlockUIPassThroughOptionType = BlockUIPassThroughAttributes | ((options: BlockUIPassThroughMethodOptions) => BlockUIPassThroughAttributes) | null | undefined; export declare type BlockUIPassThroughOptionType = BlockUIPassThroughAttributes | ((options: BlockUIPassThroughMethodOptions) => BlockUIPassThroughAttributes) | null | undefined;
@ -29,6 +30,11 @@ export interface BlockUIPassThroughOptions {
* Uses to pass attributes to the root's DOM element. * Uses to pass attributes to the root's DOM element.
*/ */
root?: BlockUIPassThroughOptionType; root?: BlockUIPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { MenuItem } from '../menuitem'; import { MenuItem } from '../menuitem';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -57,6 +58,11 @@ export interface BreadcrumbPassThroughOptions {
* Uses to pass attributes to the separator icon's DOM element. * Uses to pass attributes to the separator icon's DOM element.
*/ */
separatorIcon?: BreadcrumbPassThroughOptionType; separatorIcon?: BreadcrumbPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { ButtonHTMLAttributes, VNode } from 'vue'; import { ButtonHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type ButtonPassThroughOptionType = ButtonPassThroughAttributes | ((options: ButtonPassThroughMethodOptions) => ButtonPassThroughAttributes) | null | undefined; export declare type ButtonPassThroughOptionType = ButtonPassThroughAttributes | ((options: ButtonPassThroughMethodOptions) => ButtonPassThroughAttributes) | null | undefined;
@ -45,6 +46,11 @@ export interface ButtonPassThroughOptions {
* Uses to pass attributes to the badge's DOM element. * Uses to pass attributes to the badge's DOM element.
*/ */
badge?: ButtonPassThroughOptionType; badge?: ButtonPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue'; import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ButtonPassThroughOptionType } from '../button'; import { ButtonPassThroughOptionType } from '../button';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -282,6 +283,11 @@ export interface CalendarPassThroughOptions {
* @see {@link ButtonPassThroughOptionType} * @see {@link ButtonPassThroughOptionType}
*/ */
clearButton?: ButtonPassThroughOptionType; clearButton?: ButtonPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type CardPassThroughOptionType = CardPassThroughAttributes | null | undefined; export declare type CardPassThroughOptionType = CardPassThroughAttributes | null | undefined;
@ -45,6 +46,11 @@ export interface CardPassThroughOptions {
* Uses to pass attributes to the footer's DOM element. * Uses to pass attributes to the footer's DOM element.
*/ */
footer?: CardPassThroughOptionType; footer?: CardPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { ButtonHTMLAttributes, VNode } from 'vue'; import { ButtonHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type CarouselPassThroughOptionType = CarouselPassThroughAttributes | ((options: CarouselPassThroughMethodOptions) => CarouselPassThroughAttributes) | null | undefined; export declare type CarouselPassThroughOptionType = CarouselPassThroughAttributes | ((options: CarouselPassThroughMethodOptions) => CarouselPassThroughAttributes) | null | undefined;
@ -89,6 +90,11 @@ export interface CarouselPassThroughOptions {
* Uses to pass attributes to the footer's DOM element. * Uses to pass attributes to the footer's DOM element.
*/ */
footer?: CarouselPassThroughOptionType; footer?: CarouselPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue'; import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type CascadeSelectPassThroughOptionType = CascadeSelectPassThroughAttributes | ((options: CascadeSelectPassThroughMethodOptions) => CascadeSelectPassThroughAttributes) | null | undefined; export declare type CascadeSelectPassThroughOptionType = CascadeSelectPassThroughAttributes | ((options: CascadeSelectPassThroughMethodOptions) => CascadeSelectPassThroughAttributes) | null | undefined;
@ -102,6 +103,11 @@ export interface CascadeSelectPassThroughOptions {
* Uses to pass attributes to the search result message text aria's DOM element. * Uses to pass attributes to the search result message text aria's DOM element.
*/ */
hiddenSearchResult?: CascadeSelectPassThroughOptionType; hiddenSearchResult?: CascadeSelectPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { CanvasHTMLAttributes } from 'vue'; import { CanvasHTMLAttributes } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type ChartPassThroughOptionType = ChartPassThroughAttributes | ((options: ChartPassThroughMethodOptions) => ChartPassThroughAttributes) | null | undefined; export declare type ChartPassThroughOptionType = ChartPassThroughAttributes | ((options: ChartPassThroughMethodOptions) => ChartPassThroughAttributes) | null | undefined;
@ -32,6 +33,11 @@ export interface ChartPassThroughOptions {
* Uses to pass attributes to the canvas's DOM element. * Uses to pass attributes to the canvas's DOM element.
*/ */
canvas?: ChartPassThroughOptionType; canvas?: ChartPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { InputHTMLAttributes, VNode } from 'vue'; import { InputHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type CheckboxPassThroughOptionType = CheckboxPassThroughAttributes | ((options: CheckboxPassThroughMethodOptions) => CheckboxPassThroughAttributes) | null | undefined; export declare type CheckboxPassThroughOptionType = CheckboxPassThroughAttributes | ((options: CheckboxPassThroughMethodOptions) => CheckboxPassThroughAttributes) | null | undefined;
@ -46,6 +47,11 @@ export interface CheckboxPassThroughOptions {
* Uses to pass attributes to the hidden input's DOM element. * Uses to pass attributes to the hidden input's DOM element.
*/ */
hiddenInput?: CheckboxPassThroughOptionType; hiddenInput?: CheckboxPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type ChipPassThroughOptionType = ChipPassThroughAttributes | ((options: ChipPassThroughMethodOptions) => ChipPassThroughAttributes) | null | undefined; export declare type ChipPassThroughOptionType = ChipPassThroughAttributes | ((options: ChipPassThroughMethodOptions) => ChipPassThroughAttributes) | null | undefined;
@ -45,6 +46,11 @@ export interface ChipPassThroughOptions {
* Uses to pass attributes to the removeIcon's DOM element. * Uses to pass attributes to the removeIcon's DOM element.
*/ */
removeIcon?: ChipPassThroughOptionType; removeIcon?: ChipPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { InputHTMLAttributes, VNode } from 'vue'; import { InputHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type ChipsPassThroughOptionType = ChipsPassThroughAttributes | ((options: ChipsPassThroughMethodOptions) => ChipsPassThroughAttributes) | null | undefined; export declare type ChipsPassThroughOptionType = ChipsPassThroughAttributes | ((options: ChipsPassThroughMethodOptions) => ChipsPassThroughAttributes) | null | undefined;
@ -75,6 +76,11 @@ export interface ChipsPassThroughOptions {
* Uses to pass attributes to the input's DOM element. * Uses to pass attributes to the input's DOM element.
*/ */
input?: ChipsPassThroughOptionType; input?: ChipsPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -7,6 +7,7 @@
* @module colorpicker * @module colorpicker
* *
*/ */
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type ColorPickerPassThroughOptionType = ColorPickerPassThroughAttributes | ((options: ColorPickerPassThroughMethodOptions) => ColorPickerPassThroughAttributes) | null | undefined; export declare type ColorPickerPassThroughOptionType = ColorPickerPassThroughAttributes | ((options: ColorPickerPassThroughMethodOptions) => ColorPickerPassThroughAttributes) | null | undefined;
@ -75,6 +76,11 @@ export interface ColorPickerPassThroughOptions {
* Uses to pass attributes to the hue handler's DOM element. * Uses to pass attributes to the hue handler's DOM element.
*/ */
hueHandle: ColorPickerPassThroughOptionType; hueHandle: ColorPickerPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -10,6 +10,7 @@
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ButtonPassThroughOptionType } from '../button'; import { ButtonPassThroughOptionType } from '../button';
import { DataTablePassThroughOptions } from '../datatable'; import { DataTablePassThroughOptions } from '../datatable';
import { DropdownPassThroughOptionType } from '../dropdown'; import { DropdownPassThroughOptionType } from '../dropdown';
@ -313,6 +314,11 @@ export interface ColumnPassThroughOptions {
* Uses to pass attributes to the hidden input's DOM element. * Uses to pass attributes to the hidden input's DOM element.
*/ */
hiddenInput?: ColumnPassThroughOptionType; hiddenInput?: ColumnPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -5,6 +5,7 @@
* [Live Demo](https://www.primevue.org/datatable/) * [Live Demo](https://www.primevue.org/datatable/)
* @module columngroup * @module columngroup
*/ */
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { DataTablePassThroughOptions } from '../datatable'; import { DataTablePassThroughOptions } from '../datatable';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -28,6 +29,11 @@ export interface ColumnGroupPassThroughOptions {
* Uses to pass attributes to the root's DOM element. * Uses to pass attributes to the root's DOM element.
*/ */
root?: ColumnGroupPassThroughOptionType; root?: ColumnGroupPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -81,7 +81,7 @@ import { TieredMenuPassThroughOptions } from '../tieredmenu';
import { TimelinePassThroughOptions } from '../timeline'; import { TimelinePassThroughOptions } from '../timeline';
import { ToastPassThroughOptions } from '../toast'; import { ToastPassThroughOptions } from '../toast';
import { ToolbarPassThroughOptions } from '../toolbar'; import { ToolbarPassThroughOptions } from '../toolbar';
import { TooltipPassThroughOptions } from '../tooltip'; import { TooltipDirectivePassThroughOptions } from '../tooltip';
import { TreePassThroughOptions } from '../tree'; import { TreePassThroughOptions } from '../tree';
import { TreeSelectPassThroughOptions } from '../treeselect'; import { TreeSelectPassThroughOptions } from '../treeselect';
import { TreeTablePassThroughOptions } from '../treetable'; import { TreeTablePassThroughOptions } from '../treetable';
@ -111,7 +111,6 @@ interface PrimeVuePTOptions {
autocomplete?: DefaultPTOptions<AutoCompletePassThroughOptions>; autocomplete?: DefaultPTOptions<AutoCompletePassThroughOptions>;
avatar?: DefaultPTOptions<AvatarPassThroughOptions>; avatar?: DefaultPTOptions<AvatarPassThroughOptions>;
badge?: DefaultPTOptions<BadgePassThroughOptions>; badge?: DefaultPTOptions<BadgePassThroughOptions>;
badgedirective?: DefaultPTOptions<BadgeDirectivePassThroughOptions>;
blockui?: DefaultPTOptions<BlockUIPassThroughOptions>; blockui?: DefaultPTOptions<BlockUIPassThroughOptions>;
breadcrumb?: DefaultPTOptions<BreadcrumbPassThroughOptions>; breadcrumb?: DefaultPTOptions<BreadcrumbPassThroughOptions>;
button?: DefaultPTOptions<ButtonPassThroughOptions>; button?: DefaultPTOptions<ButtonPassThroughOptions>;
@ -140,7 +139,6 @@ interface PrimeVuePTOptions {
editor?: DefaultPTOptions<EditorPassThroughOptions>; editor?: DefaultPTOptions<EditorPassThroughOptions>;
fieldset?: DefaultPTOptions<FieldsetPassThroughOptions>; fieldset?: DefaultPTOptions<FieldsetPassThroughOptions>;
fileupload?: DefaultPTOptions<FileUploadPassThroughOptions>; fileupload?: DefaultPTOptions<FileUploadPassThroughOptions>;
focustrap?: DefaultPTOptions<FocusTrapDirectivePassThroughOptions>;
galleria?: DefaultPTOptions<GalleriaPassThroughOptions>; galleria?: DefaultPTOptions<GalleriaPassThroughOptions>;
image?: DefaultPTOptions<ImagePassThroughOptions>; image?: DefaultPTOptions<ImagePassThroughOptions>;
inlinemessage?: DefaultPTOptions<InlineMessagePassThroughOptions>; inlinemessage?: DefaultPTOptions<InlineMessagePassThroughOptions>;
@ -167,7 +165,6 @@ interface PrimeVuePTOptions {
progressbar?: DefaultPTOptions<ProgressBarPassThroughOptions>; progressbar?: DefaultPTOptions<ProgressBarPassThroughOptions>;
progressspinner?: DefaultPTOptions<ProgressSpinnerPassThroughOptions>; progressspinner?: DefaultPTOptions<ProgressSpinnerPassThroughOptions>;
radiobutton?: DefaultPTOptions<RadioButtonPassThroughOptions>; radiobutton?: DefaultPTOptions<RadioButtonPassThroughOptions>;
ripple?: DefaultPTOptions<RippleDirectivePassThroughOptions>;
row?: DefaultPTOptions<RowPassThroughOptions>; row?: DefaultPTOptions<RowPassThroughOptions>;
scrollpanel?: DefaultPTOptions<ScrollPanelPassThroughOptions>; scrollpanel?: DefaultPTOptions<ScrollPanelPassThroughOptions>;
scrolltop?: DefaultPTOptions<ScrollTopPassThroughOptions>; scrolltop?: DefaultPTOptions<ScrollTopPassThroughOptions>;
@ -178,7 +175,6 @@ interface PrimeVuePTOptions {
splitbutton?: DefaultPTOptions<SplitButtonPassThroughOptions>; splitbutton?: DefaultPTOptions<SplitButtonPassThroughOptions>;
splitter?: DefaultPTOptions<SplitterPassThroughOptions>; splitter?: DefaultPTOptions<SplitterPassThroughOptions>;
steps?: DefaultPTOptions<StepsPassThroughOptions>; steps?: DefaultPTOptions<StepsPassThroughOptions>;
styleclass?: DefaultPTOptions<StyleClassDirectivePassThroughOptions>;
tabmenu?: DefaultPTOptions<TabMenuPassThroughOptions>; tabmenu?: DefaultPTOptions<TabMenuPassThroughOptions>;
tabpanel?: DefaultPTOptions<TabPanelPassThroughOptions>; tabpanel?: DefaultPTOptions<TabPanelPassThroughOptions>;
tabview?: DefaultPTOptions<TabViewPassThroughOptions>; tabview?: DefaultPTOptions<TabViewPassThroughOptions>;
@ -189,11 +185,17 @@ interface PrimeVuePTOptions {
timeline?: DefaultPTOptions<TimelinePassThroughOptions>; timeline?: DefaultPTOptions<TimelinePassThroughOptions>;
toast?: DefaultPTOptions<ToastPassThroughOptions>; toast?: DefaultPTOptions<ToastPassThroughOptions>;
toolbar?: DefaultPTOptions<ToolbarPassThroughOptions>; toolbar?: DefaultPTOptions<ToolbarPassThroughOptions>;
tooltip?: DefaultPTOptions<TooltipPassThroughOptions>;
tree?: DefaultPTOptions<TreePassThroughOptions>; tree?: DefaultPTOptions<TreePassThroughOptions>;
treeselect?: DefaultPTOptions<TreeSelectPassThroughOptions>; treeselect?: DefaultPTOptions<TreeSelectPassThroughOptions>;
treetable?: DefaultPTOptions<TreeTablePassThroughOptions>; treetable?: DefaultPTOptions<TreeTablePassThroughOptions>;
virtualscroller?: DefaultPTOptions<VirtualScrollerPassThroughOptions>; virtualscroller?: DefaultPTOptions<VirtualScrollerPassThroughOptions>;
directives?: {
badge?: BadgeDirectivePassThroughOptions;
tooltip?: TooltipDirectivePassThroughOptions;
styleclass?: StyleClassDirectivePassThroughOptions;
focustrap?: FocusTrapDirectivePassThroughOptions;
ripple?: RippleDirectivePassThroughOptions;
};
} }
interface PrimeVueLocaleAriaOptions { interface PrimeVueLocaleAriaOptions {

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ButtonPassThroughOptions } from '../button'; import { ButtonPassThroughOptions } from '../button';
import { ConfirmationOptions } from '../confirmationoptions'; import { ConfirmationOptions } from '../confirmationoptions';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -77,6 +78,11 @@ export interface ConfirmDialogPassThroughOptions {
* @see {@link ButtonPassThroughOptions} * @see {@link ButtonPassThroughOptions}
*/ */
acceptButton?: ButtonPassThroughOptions; acceptButton?: ButtonPassThroughOptions;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ButtonPassThroughOptions } from '../button'; import { ButtonPassThroughOptions } from '../button';
import { ConfirmationOptions } from '../confirmationoptions'; import { ConfirmationOptions } from '../confirmationoptions';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -57,6 +58,11 @@ export interface ConfirmPopupPassThroughOptions {
* @see {@link ButtonPassThroughOptions} * @see {@link ButtonPassThroughOptions}
*/ */
acceptButton?: ButtonPassThroughOptions; acceptButton?: ButtonPassThroughOptions;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -9,6 +9,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { MenuItem } from '../menuitem'; import { MenuItem } from '../menuitem';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -68,6 +69,11 @@ export interface ContextMenuPassThroughOptions {
* Uses to pass attributes to the submenu's DOM element. * Uses to pass attributes to the submenu's DOM element.
*/ */
submenu?: ContextMenuPassThroughOptionType; submenu?: ContextMenuPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { InputHTMLAttributes, TableHTMLAttributes, VNode } from 'vue'; import { InputHTMLAttributes, TableHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ColumnPassThroughOptionType } from '../column'; import { ColumnPassThroughOptionType } from '../column';
import { ColumnGroupPassThroughOptionType } from '../columngroup'; import { ColumnGroupPassThroughOptionType } from '../columngroup';
import { PaginatorPassThroughOptionType } from '../paginator'; import { PaginatorPassThroughOptionType } from '../paginator';
@ -646,6 +647,11 @@ export interface DataTablePassThroughOptions {
* Uses to pass attributes to the Column helper components. * Uses to pass attributes to the Column helper components.
*/ */
column?: ColumnPassThroughOptionType; column?: ColumnPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { PaginatorPassThroughOptionType } from '../paginator'; import { PaginatorPassThroughOptionType } from '../paginator';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -81,6 +82,11 @@ export interface DataViewPassThroughOptions {
* Uses to pass attributes to the footer's DOM element. * Uses to pass attributes to the footer's DOM element.
*/ */
footer?: DataViewPassThroughOptionType; footer?: DataViewPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type DataViewLayoutOptionsPassThroughOptionType = DataViewLayoutOptionsPassThroughAttributes | ((options: DataViewLayoutOptionsPassThroughMethodOptions) => DataViewLayoutOptionsPassThroughAttributes) | null | undefined; export declare type DataViewLayoutOptionsPassThroughOptionType = DataViewLayoutOptionsPassThroughAttributes | ((options: DataViewLayoutOptionsPassThroughMethodOptions) => DataViewLayoutOptionsPassThroughAttributes) | null | undefined;
@ -45,6 +46,11 @@ export interface DataViewLayoutOptionsPassThroughOptions {
* Uses to pass attributes to the grid icon's DOM element. * Uses to pass attributes to the grid icon's DOM element.
*/ */
gridIcon?: DataViewLayoutOptionsPassThroughOptionType; gridIcon?: DataViewLayoutOptionsPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type DeferredContentPassThroughOptionType = DeferredContentPassThroughAttributes | ((options: DeferredContentPassThroughMethodOptions) => DeferredContentPassThroughAttributes) | null | undefined; export declare type DeferredContentPassThroughOptionType = DeferredContentPassThroughAttributes | ((options: DeferredContentPassThroughMethodOptions) => DeferredContentPassThroughAttributes) | null | undefined;
@ -29,6 +30,11 @@ export interface DeferredContentPassThroughOptions {
* Uses to pass attributes to the root's DOM element. * Uses to pass attributes to the root's DOM element.
*/ */
root?: DeferredContentPassThroughOptionType; root?: DeferredContentPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { HTMLAttributes, VNode } from 'vue'; import { HTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type DialogPassThroughOptionType = DialogPassThroughAttributes | ((options: DialogPassThroughMethodOptions) => DialogPassThroughAttributes) | null | undefined; export declare type DialogPassThroughOptionType = DialogPassThroughAttributes | ((options: DialogPassThroughMethodOptions) => DialogPassThroughAttributes) | null | undefined;
@ -69,6 +70,11 @@ export interface DialogPassThroughOptions {
* Uses to pass attributes to the mask's DOM element. * Uses to pass attributes to the mask's DOM element.
*/ */
mask?: DialogPassThroughOptionType; mask?: DialogPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type DividerPassThroughOptionType = DividerPassThroughAttributes | ((options: DividerPassThroughMethodOptions) => DividerPassThroughAttributes) | null | undefined; export declare type DividerPassThroughOptionType = DividerPassThroughAttributes | ((options: DividerPassThroughMethodOptions) => DividerPassThroughAttributes) | null | undefined;
@ -32,6 +33,11 @@ export interface DividerPassThroughOptions {
* Uses to pass attributes to the content's DOM element. * Uses to pass attributes to the content's DOM element.
*/ */
content?: DividerPassThroughOptionType; content?: DividerPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { MenuItem } from '../menuitem'; import { MenuItem } from '../menuitem';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -55,6 +56,11 @@ export interface DockPassThroughOptions {
* Uses to pass attributes to the icon's DOM element. * Uses to pass attributes to the icon's DOM element.
*/ */
icon?: DockPassThroughOptionType; icon?: DockPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue'; import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
import { VirtualScrollerItemOptions, VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../virtualscroller'; import { VirtualScrollerItemOptions, VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../virtualscroller';
@ -142,6 +143,11 @@ export interface DropdownPassThroughOptions {
* Uses to pass attributes to the hidden last focusable element's DOM element. * Uses to pass attributes to the hidden last focusable element's DOM element.
*/ */
hiddenLastFocusableEl?: DropdownPassThroughOptionType; hiddenLastFocusableEl?: DropdownPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type EditorPassThroughOptionType = EditorPassThroughAttributes | ((options: EditorPassThroughMethodOptions) => EditorPassThroughAttributes) | null | undefined; export declare type EditorPassThroughOptionType = EditorPassThroughAttributes | ((options: EditorPassThroughMethodOptions) => EditorPassThroughAttributes) | null | undefined;
@ -159,6 +160,11 @@ export interface EditorPassThroughOptions {
* Uses to pass attributes to the content's DOM element. * Uses to pass attributes to the content's DOM element.
*/ */
content?: EditorPassThroughOptionType; content?: EditorPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { AnchorHTMLAttributes, VNode } from 'vue'; import { AnchorHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type FieldsetPassThroughOptionType = FieldsetPassThroughAttributes | ((options: FieldsetPassThroughMethodOptions) => FieldsetPassThroughAttributes) | null | undefined; export declare type FieldsetPassThroughOptionType = FieldsetPassThroughAttributes | ((options: FieldsetPassThroughMethodOptions) => FieldsetPassThroughAttributes) | null | undefined;
@ -68,6 +69,11 @@ export interface FieldsetPassThroughOptions {
* Uses to pass attributes to the content's DOM element. * Uses to pass attributes to the content's DOM element.
*/ */
content?: FieldsetPassThroughOptionType; content?: FieldsetPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ButtonPassThroughOptions } from '../button'; import { ButtonPassThroughOptions } from '../button';
import { MessagePassThroughOptions } from '../message'; import { MessagePassThroughOptions } from '../message';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -247,6 +248,11 @@ export interface FileUploadPassThroughOptions {
* Uses to pass attributes to the upload icon's DOM element. * Uses to pass attributes to the upload icon's DOM element.
*/ */
uploadIcon?: FileUploadPassThroughOptionType; uploadIcon?: FileUploadPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -7,6 +7,9 @@
* @module focustrap * @module focustrap
*/ */
import { DirectiveBinding, ObjectDirective } from 'vue'; import { DirectiveBinding, ObjectDirective } from 'vue';
import { DirectiveHooks } from '../basedirective';
export declare type FocusTrapDirectivePassThroughOptionType = FocusTrapDirectivePassThroughAttributes | null | undefined;
/** /**
* Defines options of FocusTrap. * Defines options of FocusTrap.
@ -36,83 +39,28 @@ export interface FocusTrapOptions {
export interface FocusTrapDirectivePassThroughOptions { export interface FocusTrapDirectivePassThroughOptions {
/** /**
* Uses to pass attributes to the root's DOM element. * Uses to pass attributes to the root's DOM element.
* @see {@link FocusTrapDirectivePassThroughDirectiveOptions}
*/ */
root?: FocusTrapDirectivePassThroughDirectiveOptions; root?: FocusTrapDirectivePassThroughOptionType;
/** /**
* Uses to pass attributes to the first focusable element's DOM element. * Uses to pass attributes to the first focusable element's DOM element.
* @see {@link FocusTrapDirectivePassThroughDirectiveOptions}
*/ */
firstFocusableElement?: FocusTrapDirectivePassThroughDirectiveOptions; firstFocusableElement?: FocusTrapDirectivePassThroughOptionType;
/** /**
* Uses to pass attributes to the last focusable element's DOM element. * Uses to pass attributes to the last focusable element's DOM element.
* @see {@link FocusTrapDirectivePassThroughDirectiveOptions}
*/ */
lastFocusableElement?: FocusTrapDirectivePassThroughDirectiveOptions; lastFocusableElement?: FocusTrapDirectivePassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseDirective.DirectiveHooks}
*/
hooks?: DirectiveHooks;
} }
/** /**
* Custom passthrough(pt) directive options. * Custom passthrough attributes for each DOM elements
*/ */
export interface FocusTrapDirectivePassThroughDirectiveOptions { export interface FocusTrapDirectivePassThroughAttributes {
/** [key: string]: any;
* Uses to pass attributes to the life cycle hooks.
* @see {@link FocusTrapDirectivePassThroughHooksOptions}
*/
hooks?: FocusTrapDirectivePassThroughHooksOptions;
/**
* Uses to pass attributes to the styles.
* @see {@link FocusTrapDirectivePassThroughCSSOptions}
*/
css?: FocusTrapDirectivePassThroughCSSOptions;
}
/**
* Custom passthrough(pt) hooks options.
*/
export interface FocusTrapDirectivePassThroughHooksOptions {
/**
* Called before bound element's attributes or event listeners are applied.
*/
created?: DirectiveBinding;
/**
* Called right before the element is inserted into the DOM.
*/
beforeMount?: DirectiveBinding;
/**
* Called when the bound element's parent component and all its children are mounted.
*/
mounted?: DirectiveBinding;
/**
* Called before the parent component is updated.
*/
beforeUpdate?: DirectiveBinding;
/**
* Called after the parent component and all of its children have updated all of its children have updated.
*/
updated?: DirectiveBinding;
/**
* Called before the parent component is unmounted.
*/
beforeUnmount?: DirectiveBinding;
/**
* Called when the parent component is unmounted.
*/
unmounted?: DirectiveBinding;
}
/**
* Custom passthrough(pt) css options.
*/
export interface FocusTrapDirectivePassThroughCSSOptions {
/**
* Style class of the element.
*/
class?: any;
/**
* Inline style of the element.
*/
style?: any;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { ButtonHTMLAttributes, HTMLAttributes, VNode } from 'vue'; import { ButtonHTMLAttributes, HTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type GalleriaPassThroughOptionType = GalleriaPassThroughAttributes | ((options: GalleriaPassThroughMethodOptions) => GalleriaPassThroughAttributes) | null | undefined; export declare type GalleriaPassThroughOptionType = GalleriaPassThroughAttributes | ((options: GalleriaPassThroughMethodOptions) => GalleriaPassThroughAttributes) | null | undefined;
@ -143,6 +144,11 @@ export interface GalleriaPassThroughOptions {
* Uses to pass attributes to the mask's DOM element. * Uses to pass attributes to the mask's DOM element.
*/ */
mask?: GalleriaPassThroughOptionType; mask?: GalleriaPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type ImagePassThroughOptionType = ImagePassThroughAttributes | ((options: ImagePassThroughMethodOptions) => ImagePassThroughAttributes) | null | undefined; export declare type ImagePassThroughOptionType = ImagePassThroughAttributes | ((options: ImagePassThroughMethodOptions) => ImagePassThroughAttributes) | null | undefined;
@ -96,6 +97,11 @@ export interface ImagePassThroughOptions {
* Uses to pass attributes to the preview's DOM element. * Uses to pass attributes to the preview's DOM element.
*/ */
preview?: ImagePassThroughOptionType; preview?: ImagePassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type InlineMessagePassThroughOptionType = InlineMessagePassThroughAttributes | ((options: InlineMessagePassThroughMethodOptions) => InlineMessagePassThroughAttributes) | null | undefined; export declare type InlineMessagePassThroughOptionType = InlineMessagePassThroughAttributes | ((options: InlineMessagePassThroughMethodOptions) => InlineMessagePassThroughAttributes) | null | undefined;
@ -37,6 +38,11 @@ export interface InlineMessagePassThroughOptions {
* Uses to pass attributes to the text's DOM element. * Uses to pass attributes to the text's DOM element.
*/ */
text?: InlineMessagePassThroughOptionType; text?: InlineMessagePassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -9,6 +9,7 @@
*/ */
import { ButtonHTMLAttributes, HTMLAttributes, VNode } from 'vue'; import { ButtonHTMLAttributes, HTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ButtonPassThroughOptions } from '../button'; import { ButtonPassThroughOptions } from '../button';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -44,6 +45,11 @@ export interface InplacePassThroughOptions {
* @see {@link ButtonPassThroughOptions} * @see {@link ButtonPassThroughOptions}
*/ */
closeButton?: ButtonPassThroughOptions; closeButton?: ButtonPassThroughOptions;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -7,6 +7,7 @@
* @module inputmask * @module inputmask
* *
*/ */
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type InputMaskPassThroughOptionType = InputMaskPassThroughAttributes | null | undefined; export declare type InputMaskPassThroughOptionType = InputMaskPassThroughAttributes | null | undefined;
@ -20,6 +21,11 @@ export interface InputMaskPassThroughOptions {
* Uses to pass attributes to the root's DOM element. * Uses to pass attributes to the root's DOM element.
*/ */
root?: InputMaskPassThroughOptionType; root?: InputMaskPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { ButtonHTMLAttributes, InputHTMLAttributes, VNode } from 'vue'; import { ButtonHTMLAttributes, InputHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ButtonPassThroughOptionType } from '../button'; import { ButtonPassThroughOptionType } from '../button';
import { InputTextPassThroughOptionType } from '../inputtext'; import { InputTextPassThroughOptionType } from '../inputtext';
import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers';
@ -80,6 +81,11 @@ export interface InputNumberPassThroughOptions {
* @see {@link ButtonPassThroughOptions} * @see {@link ButtonPassThroughOptions}
*/ */
decrementButton?: ButtonPassThroughOptionType; decrementButton?: ButtonPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { InputHTMLAttributes } from 'vue'; import { InputHTMLAttributes } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type InputSwitchPassThroughOptionType = InputSwitchPassThroughAttributes | ((options: InputSwitchPassThroughMethodOptions) => InputSwitchPassThroughAttributes) | null | undefined; export declare type InputSwitchPassThroughOptionType = InputSwitchPassThroughAttributes | ((options: InputSwitchPassThroughMethodOptions) => InputSwitchPassThroughAttributes) | null | undefined;
@ -41,6 +42,11 @@ export interface InputSwitchPassThroughOptions {
* Uses to pass attributes to the hidden input's DOM element. * Uses to pass attributes to the hidden input's DOM element.
*/ */
hiddenInput?: InputSwitchPassThroughOptionType; hiddenInput?: InputSwitchPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { InputHTMLAttributes } from 'vue'; import { InputHTMLAttributes } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers';
export declare type InputTextPassThroughOptionType = InputTextPassThroughAttributes | null | undefined; export declare type InputTextPassThroughOptionType = InputTextPassThroughAttributes | null | undefined;
@ -21,6 +22,11 @@ export interface InputTextPassThroughOptions {
* Uses to pass attributes to the root's DOM element. * Uses to pass attributes to the root's DOM element.
*/ */
root?: InputTextPassThroughOptionType; root?: InputTextPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -7,6 +7,7 @@
* @module knob * @module knob
* *
*/ */
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type KnobPassThroughOptionType = KnobPassThroughAttributes | ((options: KnobPassThroughMethodOptions) => KnobPassThroughAttributes) | null | undefined; export declare type KnobPassThroughOptionType = KnobPassThroughAttributes | ((options: KnobPassThroughMethodOptions) => KnobPassThroughAttributes) | null | undefined;
@ -44,6 +45,11 @@ export interface KnobPassThroughOptions {
* Uses to pass attributes to the label's DOM element. * Uses to pass attributes to the label's DOM element.
*/ */
label?: KnobPassThroughOptionType; label?: KnobPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { InputHTMLAttributes, VNode } from 'vue'; import { InputHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
import { VirtualScrollerItemOptions, VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../virtualscroller'; import { VirtualScrollerItemOptions, VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../virtualscroller';
@ -118,6 +119,11 @@ export interface ListboxPassThroughOptions {
* Uses to pass attributes to the hidden last focusable element's DOM element. * Uses to pass attributes to the hidden last focusable element's DOM element.
*/ */
hiddenLastFocusableEl?: ListboxPassThroughOptionType; hiddenLastFocusableEl?: ListboxPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { MenuItem } from '../menuitem'; import { MenuItem } from '../menuitem';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -91,6 +92,11 @@ export interface MegaMenuPassThroughOptions {
* Uses to pass attributes to the end of the component. * Uses to pass attributes to the end of the component.
*/ */
end?: MegaMenuPassThroughOptionType; end?: MegaMenuPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { MenuItem } from '../menuitem'; import { MenuItem } from '../menuitem';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -71,6 +72,11 @@ export interface MenuPassThroughOptions {
* Uses to pass attributes to the end of the component. * Uses to pass attributes to the end of the component.
*/ */
end?: MenuPassThroughOptionType; end?: MenuPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { ButtonHTMLAttributes, VNode } from 'vue'; import { ButtonHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { MenuItem } from '../menuitem'; import { MenuItem } from '../menuitem';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -83,6 +84,11 @@ export interface MenubarPassThroughOptions {
* Uses to pass attributes to the end of the component. * Uses to pass attributes to the end of the component.
*/ */
end?: MenubarPassThroughOptionType; end?: MenubarPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { ButtonHTMLAttributes, VNode } from 'vue'; import { ButtonHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type MessagePassThroughOptionType = MessagePassThroughAttributes | ((options: MessagePassThroughMethodOptions) => MessagePassThroughAttributes) | null | undefined; export declare type MessagePassThroughOptionType = MessagePassThroughAttributes | ((options: MessagePassThroughMethodOptions) => MessagePassThroughAttributes) | null | undefined;
@ -49,6 +50,11 @@ export interface MessagePassThroughOptions {
* Uses to pass attributes to the button icon's DOM element. * Uses to pass attributes to the button icon's DOM element.
*/ */
buttonIcon?: MessagePassThroughOptionType; buttonIcon?: MessagePassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { ButtonHTMLAttributes, HTMLAttributes, InputHTMLAttributes, VNode } from 'vue'; import { ButtonHTMLAttributes, HTMLAttributes, InputHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
import { VirtualScrollerItemOptions, VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../virtualscroller'; import { VirtualScrollerItemOptions, VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../virtualscroller';
@ -213,6 +214,11 @@ export interface MultiSelectPassThroughOptions {
* Uses to pass attributes to the hidden last focusable element's DOM element. * Uses to pass attributes to the hidden last focusable element's DOM element.
*/ */
hiddenLastFocusableEl?: MultiSelectPassThroughOptionType; hiddenLastFocusableEl?: MultiSelectPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { ButtonHTMLAttributes, HTMLAttributes, VNode } from 'vue'; import { ButtonHTMLAttributes, HTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ButtonPassThroughOptionType } from '../button'; import { ButtonPassThroughOptionType } from '../button';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -100,6 +101,11 @@ export interface OrderListPassThroughOptions {
* Uses to pass attributes to the item's DOM element. * Uses to pass attributes to the item's DOM element.
*/ */
item?: OrderListPassThroughOptionType; item?: OrderListPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type OrganizationChartPassThroughOptionType = OrganizationChartPassThroughAttributes | ((options: OrganizationChartPassThroughMethodOptions) => OrganizationChartPassThroughAttributes) | null | undefined; export declare type OrganizationChartPassThroughOptionType = OrganizationChartPassThroughAttributes | ((options: OrganizationChartPassThroughMethodOptions) => OrganizationChartPassThroughAttributes) | null | undefined;
@ -132,6 +133,11 @@ export interface OrganizationChartPassThroughOptions {
* Uses to pass attributes to the nodeCell's DOM element. * Uses to pass attributes to the nodeCell's DOM element.
*/ */
nodeCell?: OrganizationChartPassThroughOptionType; nodeCell?: OrganizationChartPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type OverlayPanelPassThroughOptionType = OverlayPanelPassThroughAttributes | ((options: OverlayPanelPassThroughMethodOptions) => OverlayPanelPassThroughAttributes) | null | undefined; export declare type OverlayPanelPassThroughOptionType = OverlayPanelPassThroughAttributes | ((options: OverlayPanelPassThroughMethodOptions) => OverlayPanelPassThroughAttributes) | null | undefined;
@ -41,6 +42,11 @@ export interface OverlayPanelPassThroughOptions {
* Uses to pass attributes to the close icon's DOM element. * Uses to pass attributes to the close icon's DOM element.
*/ */
closeIcon?: OverlayPanelPassThroughOptionType; closeIcon?: OverlayPanelPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { DropdownPassThroughOptionType } from '../dropdown'; import { DropdownPassThroughOptionType } from '../dropdown';
import { InputNumberPassThroughOptionType } from '../inputnumber'; import { InputNumberPassThroughOptionType } from '../inputnumber';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -128,6 +129,11 @@ export interface PaginatorPassThroughOptions {
* Uses to pass attributes to the end's DOM element. * Uses to pass attributes to the end's DOM element.
*/ */
end?: PaginatorPassThroughOptionType; end?: PaginatorPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { ButtonHTMLAttributes, VNode } from 'vue'; import { ButtonHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type PanelPassThroughOptionType = PanelPassThroughAttributes | ((options: PanelPassThroughMethodOptions) => PanelPassThroughAttributes) | null | undefined; export declare type PanelPassThroughOptionType = PanelPassThroughAttributes | ((options: PanelPassThroughMethodOptions) => PanelPassThroughAttributes) | null | undefined;
@ -76,6 +77,11 @@ export interface PanelPassThroughOptions {
* Uses to pass attributes to the footer's DOM element. * Uses to pass attributes to the footer's DOM element.
*/ */
footer?: PanelPassThroughOptionType; footer?: PanelPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { MenuItem } from '../menuitem'; import { MenuItem } from '../menuitem';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -99,6 +100,11 @@ export interface PanelMenuPassThroughOptions {
* Uses to pass attributes to the separator's DOM element. * Uses to pass attributes to the separator's DOM element.
*/ */
separator?: PanelMenuPassThroughOptionType; separator?: PanelMenuPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue'; import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { InputTextPassThroughOptionType } from '../inputtext'; import { InputTextPassThroughOptionType } from '../inputtext';
import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers';
@ -63,6 +64,11 @@ export interface PasswordPassThroughOptions {
* Uses to pass attributes to the hidden accessible DOM element. * Uses to pass attributes to the hidden accessible DOM element.
*/ */
hiddenAccesible?: PasswordPassThroughOptionType; hiddenAccesible?: PasswordPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { ButtonHTMLAttributes, HTMLAttributes, VNode } from 'vue'; import { ButtonHTMLAttributes, HTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ButtonPassThroughOptionType } from '../button'; import { ButtonPassThroughOptionType } from '../button';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -188,6 +189,11 @@ export interface PickListPassThroughOptions {
* Uses to pass attributes to the Button component. * Uses to pass attributes to the Button component.
*/ */
targetMoveBottomButton?: ButtonPassThroughOptionType; targetMoveBottomButton?: ButtonPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type ProgressBarPassThroughOptionType = ProgressBarPassThroughAttributes | ((options: ProgressBarPassThroughMethodOptions) => ProgressBarPassThroughAttributes) | null | undefined; export declare type ProgressBarPassThroughOptionType = ProgressBarPassThroughAttributes | ((options: ProgressBarPassThroughMethodOptions) => ProgressBarPassThroughAttributes) | null | undefined;
@ -36,6 +37,11 @@ export interface ProgressBarPassThroughOptions {
* Uses to pass attributes to the label's DOM element. * Uses to pass attributes to the label's DOM element.
*/ */
label?: ProgressBarPassThroughOptionType; label?: ProgressBarPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -7,6 +7,7 @@
* @module progressspinner * @module progressspinner
* *
*/ */
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type ProgressSpinnerPassThroughOptionType = ProgressSpinnerPassThroughAttributes | ((options: ProgressSpinnerPassThroughMethodOptions) => ProgressSpinnerPassThroughAttributes) | null | undefined; export declare type ProgressSpinnerPassThroughOptionType = ProgressSpinnerPassThroughAttributes | ((options: ProgressSpinnerPassThroughMethodOptions) => ProgressSpinnerPassThroughAttributes) | null | undefined;
@ -35,6 +36,11 @@ export interface ProgressSpinnerPassThroughOptions {
* Uses to pass attributes to the circle's DOM element. * Uses to pass attributes to the circle's DOM element.
*/ */
circle?: ProgressSpinnerPassThroughOptionType; circle?: ProgressSpinnerPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { InputHTMLAttributes } from 'vue'; import { InputHTMLAttributes } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type RadioButtonPassThroughOptionType = RadioButtonPassThroughAttributes | ((options: RadioButtonPassThroughMethodOptions) => RadioButtonPassThroughAttributes) | null | undefined; export declare type RadioButtonPassThroughOptionType = RadioButtonPassThroughAttributes | ((options: RadioButtonPassThroughMethodOptions) => RadioButtonPassThroughAttributes) | null | undefined;
@ -45,6 +46,11 @@ export interface RadioButtonPassThroughOptions {
* Uses to pass attributes to the hidden accessible DOM element. * Uses to pass attributes to the hidden accessible DOM element.
*/ */
hiddenInput?: RadioButtonPassThroughOptionType; hiddenInput?: RadioButtonPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type RatingPassThroughOptionType = RatingPassThroughAttributes | ((options: RatingPassThroughMethodOptions) => RatingPassThroughAttributes) | null | undefined; export declare type RatingPassThroughOptionType = RatingPassThroughAttributes | ((options: RatingPassThroughMethodOptions) => RatingPassThroughAttributes) | null | undefined;
@ -66,6 +67,11 @@ export interface RatingPassThroughOptions {
* Uses to pass attributes to the hidden item input's DOM element. * Uses to pass attributes to the hidden item input's DOM element.
*/ */
hiddenItemInput?: RatingPassThroughOptionType; hiddenItemInput?: RatingPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -7,6 +7,9 @@
* @module ripple * @module ripple
*/ */
import { DirectiveBinding, ObjectDirective } from 'vue'; import { DirectiveBinding, ObjectDirective } from 'vue';
import { DirectiveHooks } from '../basedirective';
export declare type RippleDirectivePassThroughOptionType = RippleDirectivePassThroughAttributes | null | undefined;
/** /**
* Defines options of Ripple. * Defines options of Ripple.
@ -31,73 +34,20 @@ export interface RippleOptions {
export interface RippleDirectivePassThroughOptions { export interface RippleDirectivePassThroughOptions {
/** /**
* Uses to pass attributes to the root's DOM element. * Uses to pass attributes to the root's DOM element.
* @see {@link RippleDirectivePassThroughOptions}
*/ */
root?: RippleDirectivePassThroughOptions; root?: RippleDirectivePassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseDirective.DirectiveHooks}
*/
hooks?: DirectiveHooks;
} }
/** /**
* Custom passthrough(pt) directive options. * Custom passthrough attributes for each DOM elements
*/ */
export interface RippleDirectivePassThroughOptions { export interface RippleDirectivePassThroughAttributes {
/** [key: string]: any;
* Uses to pass attributes to the life cycle hooks.
* @see {@link RippleDirectivePassThroughHooksOptions}
*/
hooks?: RippleDirectivePassThroughHooksOptions;
/**
* Uses to pass attributes to the styles.
* @see {@link RippleDirectivePassThroughCSSOptions}
*/
css?: RippleDirectivePassThroughCSSOptions;
}
/**
* Custom passthrough(pt) hooks options.
*/
export interface RippleDirectivePassThroughHooksOptions {
/**
* Called before bound element's attributes or event listeners are applied.
*/
created?: DirectiveBinding;
/**
* Called right before the element is inserted into the DOM.
*/
beforeMount?: DirectiveBinding;
/**
* Called when the bound element's parent component and all its children are mounted.
*/
mounted?: DirectiveBinding;
/**
* Called before the parent component is updated.
*/
beforeUpdate?: DirectiveBinding;
/**
* Called after the parent component and all of its children have updated all of its children have updated.
*/
updated?: DirectiveBinding;
/**
* Called before the parent component is unmounted.
*/
beforeUnmount?: DirectiveBinding;
/**
* Called when the parent component is unmounted.
*/
unmounted?: DirectiveBinding;
}
/**
* Custom passthrough(pt) css options.
*/
export interface RippleDirectivePassThroughCSSOptions {
/**
* Style class of the element.
*/
class?: any;
/**
* Inline style of the element.
*/
style?: any;
} }
/** /**

View File

@ -5,6 +5,7 @@
* *
* @module row * @module row
*/ */
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ColumnGroupPassThroughOptions } from '../columngroup'; import { ColumnGroupPassThroughOptions } from '../columngroup';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -28,6 +29,11 @@ export interface RowPassThroughOptions {
* Uses to pass attributes to the root's DOM element. * Uses to pass attributes to the root's DOM element.
*/ */
root?: RowPassThroughOptionType; root?: RowPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type ScrollPanelPassThroughOptionType = ScrollPanelPassThroughAttributes | ((options: ScrollPanelPassThroughMethodOptions) => ScrollPanelPassThroughAttributes) | null | undefined; export declare type ScrollPanelPassThroughOptionType = ScrollPanelPassThroughAttributes | ((options: ScrollPanelPassThroughMethodOptions) => ScrollPanelPassThroughAttributes) | null | undefined;
@ -45,6 +46,11 @@ export interface ScrollPanelPassThroughOptions {
* Uses to pass attributes to the vertical panel's DOM element. * Uses to pass attributes to the vertical panel's DOM element.
*/ */
barY?: ScrollPanelPassThroughOptionType; barY?: ScrollPanelPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type ScrollTopPassThroughOptionType = ScrollTopPassThroughAttributes | ((options: ScrollTopPassThroughMethodOptions) => ScrollTopPassThroughAttributes) | null | undefined; export declare type ScrollTopPassThroughOptionType = ScrollTopPassThroughAttributes | ((options: ScrollTopPassThroughMethodOptions) => ScrollTopPassThroughAttributes) | null | undefined;
@ -33,6 +34,11 @@ export interface ScrollTopPassThroughOptions {
* Uses to pass attributes to the icon's DOM element. * Uses to pass attributes to the icon's DOM element.
*/ */
icon?: ScrollTopPassThroughOptionType; icon?: ScrollTopPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type SelectButtonPassThroughOptionType = SelectButtonPassThroughAttributes | ((options: SelectButtonPassThroughMethodOptions) => SelectButtonPassThroughAttributes) | null | undefined; export declare type SelectButtonPassThroughOptionType = SelectButtonPassThroughAttributes | ((options: SelectButtonPassThroughMethodOptions) => SelectButtonPassThroughAttributes) | null | undefined;
@ -38,6 +39,11 @@ export interface SelectButtonPassThroughOptions {
* Uses to pass attributes to the label's DOM element. * Uses to pass attributes to the label's DOM element.
*/ */
label?: SelectButtonPassThroughOptionType; label?: SelectButtonPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type SidebarPassThroughOptionType = SidebarPassThroughAttributes | ((options: SidebarPassThroughMethodOptions) => SidebarPassThroughAttributes) | null | undefined; export declare type SidebarPassThroughOptionType = SidebarPassThroughAttributes | ((options: SidebarPassThroughMethodOptions) => SidebarPassThroughAttributes) | null | undefined;
@ -53,6 +54,11 @@ export interface SidebarPassThroughOptions {
* Uses to pass attributes to the mask's DOM element. * Uses to pass attributes to the mask's DOM element.
*/ */
mask?: SidebarPassThroughOptionType; mask?: SidebarPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -7,6 +7,7 @@
* @module skeleton * @module skeleton
* *
*/ */
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type SkeletonPassThroughOptionType = SkeletonPassThroughAttributes | ((options: SkeletonPassThroughMethodOptions) => SkeletonPassThroughAttributes) | null | undefined; export declare type SkeletonPassThroughOptionType = SkeletonPassThroughAttributes | ((options: SkeletonPassThroughMethodOptions) => SkeletonPassThroughAttributes) | null | undefined;
@ -27,6 +28,11 @@ export interface SkeletonPassThroughOptions {
* Uses to pass attributes to the root's DOM element. * Uses to pass attributes to the root's DOM element.
*/ */
root?: SkeletonPassThroughOptionType; root?: SkeletonPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -7,6 +7,7 @@
* @module slider * @module slider
* *
*/ */
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type SliderPassThroughOptionType = SliderPassThroughAttributes | ((options: SliderPassThroughMethodOptions) => SliderPassThroughAttributes) | null | undefined; export declare type SliderPassThroughOptionType = SliderPassThroughAttributes | ((options: SliderPassThroughMethodOptions) => SliderPassThroughAttributes) | null | undefined;
@ -43,6 +44,11 @@ export interface SliderPassThroughOptions {
* Uses to pass attributes to the end handler's DOM element. * Uses to pass attributes to the end handler's DOM element.
*/ */
endHandler?: SliderPassThroughOptionType; endHandler?: SliderPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ButtonPassThroughOptions } from '../button'; import { ButtonPassThroughOptions } from '../button';
import { MenuItem } from '../menuitem'; import { MenuItem } from '../menuitem';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -57,6 +58,11 @@ export interface SpeedDialPassThroughOptions {
* Uses to pass attributes to the mask's DOM element. * Uses to pass attributes to the mask's DOM element.
*/ */
mask?: SpeedDialPassThroughOptionType; mask?: SpeedDialPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { ButtonHTMLAttributes, VNode } from 'vue'; import { ButtonHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ButtonPassThroughOptions } from '../button'; import { ButtonPassThroughOptions } from '../button';
import { MenuItem } from '../menuitem'; import { MenuItem } from '../menuitem';
import { TieredMenuPassThroughOptions } from '../tieredmenu'; import { TieredMenuPassThroughOptions } from '../tieredmenu';
@ -46,6 +47,11 @@ export interface SplitButtonPassThroughOptions {
* @see {@link TieredMenuPassThroughOptions} * @see {@link TieredMenuPassThroughOptions}
*/ */
menu?: TieredMenuPassThroughOptions; menu?: TieredMenuPassThroughOptions;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type SplitterPassThroughOptionType = SplitterPassThroughAttributes | ((options: SplitterPassThroughMethodOptions) => SplitterPassThroughAttributes) | null | undefined; export declare type SplitterPassThroughOptionType = SplitterPassThroughAttributes | ((options: SplitterPassThroughMethodOptions) => SplitterPassThroughAttributes) | null | undefined;
@ -67,6 +68,11 @@ export interface SplitterPassThroughOptions {
* Uses to pass attributes to the gutter handler's DOM element. * Uses to pass attributes to the gutter handler's DOM element.
*/ */
gutterHandler?: SplitterPassThroughOptionType; gutterHandler?: SplitterPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type SplitterPanelPassThroughOptionType = SplitterPanelPassThroughAttributes | ((options: SplitterPanelPassThroughMethodOptions) => SplitterPanelPassThroughAttributes) | null | undefined; export declare type SplitterPanelPassThroughOptionType = SplitterPanelPassThroughAttributes | ((options: SplitterPanelPassThroughMethodOptions) => SplitterPanelPassThroughAttributes) | null | undefined;
@ -28,6 +29,11 @@ export interface SplitterPanelPassThroughOptions {
* Uses to pass attributes to the root's DOM element. * Uses to pass attributes to the root's DOM element.
*/ */
root?: SplitterPanelPassThroughOptionType; root?: SplitterPanelPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { MenuItem } from '../menuitem'; import { MenuItem } from '../menuitem';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -49,6 +50,11 @@ export interface StepsPassThroughOptions {
* Uses to pass attributes to the label's DOM element. * Uses to pass attributes to the label's DOM element.
*/ */
label?: StepsPassThroughOptionType; label?: StepsPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -7,6 +7,7 @@
* @module styleclass * @module styleclass
*/ */
import { DirectiveBinding, ObjectDirective } from 'vue'; import { DirectiveBinding, ObjectDirective } from 'vue';
import { DirectiveHooks } from '../basedirective';
/** /**
* Defines options of StyleClass. * Defines options of StyleClass.
@ -61,44 +62,10 @@ export interface StyleClassOptions {
*/ */
export interface StyleClassDirectivePassThroughOptions { export interface StyleClassDirectivePassThroughOptions {
/** /**
* Uses to pass attributes to the life cycle hooks. * Uses to manage all lifecycle hooks
* @see {@link StyleClassDirectivePassThroughHooksOptions} * @see {@link BaseDirective.DirectiveHooks}
*/ */
hooks?: StyleClassDirectivePassThroughHooksOptions; hooks?: DirectiveHooks;
}
/**
* Custom passthrough(pt) hooks options.
*/
export interface StyleClassDirectivePassThroughHooksOptions {
/**
* Called before bound element's attributes or event listeners are applied.
*/
created?: DirectiveBinding;
/**
* Called right before the element is inserted into the DOM.
*/
beforeMount?: DirectiveBinding;
/**
* Called when the bound element's parent component and all its children are mounted.
*/
mounted?: DirectiveBinding;
/**
* Called before the parent component is updated.
*/
beforeUpdate?: DirectiveBinding;
/**
* Called after the parent component and all of its children have updated all of its children have updated.
*/
updated?: DirectiveBinding;
/**
* Called before the parent component is unmounted.
*/
beforeUnmount?: DirectiveBinding;
/**
* Called when the parent component is unmounted.
*/
unmounted?: DirectiveBinding;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { MenuItem } from '../menuitem'; import { MenuItem } from '../menuitem';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -55,6 +56,11 @@ export interface TabMenuPassThroughOptions {
* Uses to pass attributes to the inkbar's DOM element. * Uses to pass attributes to the inkbar's DOM element.
*/ */
inkbar?: TabMenuPassThroughOptionType; inkbar?: TabMenuPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { AnchorHTMLAttributes, HTMLAttributes, LiHTMLAttributes, VNode } from 'vue'; import { AnchorHTMLAttributes, HTMLAttributes, LiHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { TabViewPassThroughOptions } from '../tabview'; import { TabViewPassThroughOptions } from '../tabview';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -47,6 +48,11 @@ export interface TabPanelPassThroughOptions {
* Uses to pass attributes to the list's DOM element. * Uses to pass attributes to the list's DOM element.
*/ */
content?: TabPanelPassThroughOptionType; content?: TabPanelPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
export interface TabPanelPassThroughAttributes { export interface TabPanelPassThroughAttributes {

View File

@ -8,6 +8,7 @@
* *
*/ */
import { ButtonHTMLAttributes, VNode } from 'vue'; import { ButtonHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { TabPanelPassThroughOptionType } from '../tabpanel'; import { TabPanelPassThroughOptionType } from '../tabpanel';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -84,6 +85,11 @@ export interface TabViewPassThroughOptions {
* Uses to pass attributes to TabPanel helper components. * Uses to pass attributes to TabPanel helper components.
*/ */
tab?: TabPanelPassThroughOptionType; tab?: TabPanelPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type TagPassThroughOptionType = TagPassThroughAttributes | ((options: TagPassThroughMethodOptions) => TagPassThroughAttributes) | null | undefined; export declare type TagPassThroughOptionType = TagPassThroughAttributes | ((options: TagPassThroughMethodOptions) => TagPassThroughAttributes) | null | undefined;
@ -36,6 +37,11 @@ export interface TagPassThroughOptions {
* Uses to pass attributes to the value's DOM element. * Uses to pass attributes to the value's DOM element.
*/ */
value?: TagPassThroughOptionType; value?: TagPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -7,6 +7,7 @@
* @module terminal * @module terminal
* *
*/ */
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type TerminalPassThroughOptionType = TerminalPassThroughAttributes | ((options: TerminalPassThroughMethodOptions) => TerminalPassThroughAttributes) | null | undefined; export declare type TerminalPassThroughOptionType = TerminalPassThroughAttributes | ((options: TerminalPassThroughMethodOptions) => TerminalPassThroughAttributes) | null | undefined;
@ -60,6 +61,11 @@ export interface TerminalPassThroughOptions {
* Uses to pass attributes to the command text's DOM element. * Uses to pass attributes to the command text's DOM element.
*/ */
commandText?: TerminalPassThroughOptionType; commandText?: TerminalPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { TextareaHTMLAttributes } from 'vue'; import { TextareaHTMLAttributes } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type TextareaPassThroughOptionType = TextareaPassThroughAttributes | ((options: TextareaPassThroughMethodOptions) => TextareaPassThroughAttributes) | null | undefined; export declare type TextareaPassThroughOptionType = TextareaPassThroughAttributes | ((options: TextareaPassThroughMethodOptions) => TextareaPassThroughAttributes) | null | undefined;
@ -28,6 +29,11 @@ export interface TextareaPassThroughOptions {
* Uses to pass attributes to the root's DOM element. * Uses to pass attributes to the root's DOM element.
*/ */
root?: TextareaPassThroughOptionType; root?: TextareaPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { MenuItem } from '../menuitem'; import { MenuItem } from '../menuitem';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -67,6 +68,11 @@ export interface TieredMenuPassThroughOptions {
* Uses to pass attributes to the submenu's DOM element. * Uses to pass attributes to the submenu's DOM element.
*/ */
submenu?: TieredMenuPassThroughOptionType; submenu?: TieredMenuPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -7,6 +7,7 @@
* @module timeline * @module timeline
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type TimelinePassThroughOptionType = TimelinePassThroughAttributes | null | undefined; export declare type TimelinePassThroughOptionType = TimelinePassThroughAttributes | null | undefined;
@ -44,6 +45,11 @@ export interface TimelinePassThroughOptions {
* Uses to pass attributes to the content's DOM element. * Uses to pass attributes to the content's DOM element.
*/ */
content?: TimelinePassThroughOptionType; content?: TimelinePassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { ButtonHTMLAttributes, VNode } from 'vue'; import { ButtonHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type ToastPassThroughOptionType = ToastPassThroughAttributes | ((options: ToastPassThroughMethodOptions) => ToastPassThroughAttributes) | null | undefined; export declare type ToastPassThroughOptionType = ToastPassThroughAttributes | ((options: ToastPassThroughMethodOptions) => ToastPassThroughAttributes) | null | undefined;
@ -69,6 +70,11 @@ export interface ToastPassThroughOptions {
* Uses to pass attributes to the button icon's DOM element. * Uses to pass attributes to the button icon's DOM element.
*/ */
buttonIcon?: ToastPassThroughOptionType; buttonIcon?: ToastPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { InputHTMLAttributes, VNode } from 'vue'; import { InputHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type ToggleButtonPassThroughOptionType = ToggleButtonPassThroughAttributes | ((options: ToggleButtonPassThroughMethodOptions) => ToggleButtonPassThroughAttributes) | null | undefined; export declare type ToggleButtonPassThroughOptionType = ToggleButtonPassThroughAttributes | ((options: ToggleButtonPassThroughMethodOptions) => ToggleButtonPassThroughAttributes) | null | undefined;
@ -45,6 +46,11 @@ export interface ToggleButtonPassThroughOptions {
* Uses to pass attributes to the hidden input's DOM element. * Uses to pass attributes to the hidden input's DOM element.
*/ */
hiddenInput?: ToggleButtonPassThroughOptionType; hiddenInput?: ToggleButtonPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type ToolbarPassThroughOptionType = ToolbarPassThroughAttributes | ((options: ToolbarPassThroughMethodOptions) => ToolbarPassThroughAttributes) | null | undefined; export declare type ToolbarPassThroughOptionType = ToolbarPassThroughAttributes | ((options: ToolbarPassThroughMethodOptions) => ToolbarPassThroughAttributes) | null | undefined;
@ -40,6 +41,11 @@ export interface ToolbarPassThroughOptions {
* Uses to pass attributes to the right's DOM element. * Uses to pass attributes to the right's DOM element.
*/ */
end?: ToolbarPassThroughOptionType; end?: ToolbarPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,9 @@
* *
*/ */
import { DirectiveBinding, ObjectDirective } from 'vue'; import { DirectiveBinding, ObjectDirective } from 'vue';
import { DirectiveHooks } from '../basedirective';
export declare type TooltipDirectivePassThroughOptionType = TooltipDirectivePassThroughAttributes | null | undefined;
/** /**
* Defines options of Tooltip. * Defines options of Tooltip.
@ -52,9 +55,9 @@ export interface TooltipOptions {
hideDelay?: number | undefined; hideDelay?: number | undefined;
/** /**
* Uses to pass attributes to DOM elements inside the component. * Uses to pass attributes to DOM elements inside the component.
* @type {TooltipPassThroughOptions} * @type {TooltipDirectivePassThroughOptions}
*/ */
pt?: TooltipPassThroughOptions; pt?: TooltipDirectivePassThroughOptions;
/** /**
* When enabled, it removes component related styles in the core. * When enabled, it removes component related styles in the core.
* @defaultValue false * @defaultValue false
@ -62,6 +65,37 @@ export interface TooltipOptions {
unstyled?: boolean; unstyled?: boolean;
} }
/**
* Custom passthrough(pt) options.
* @see {@link TooltipOptions.pt}
*/
export interface TooltipDirectivePassThroughOptions {
/**
* Uses to pass attributes to the root's DOM element.
*/
root?: TooltipDirectivePassThroughOptionType;
/**
* Uses to pass attributes to the text's DOM element.
*/
text?: TooltipDirectivePassThroughOptionType;
/**
* Uses to pass attributes to the arrow's DOM element.
*/
arrow?: TooltipDirectivePassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseDirective.DirectiveHooks}
*/
hooks?: DirectiveHooks;
}
/**
* Custom passthrough attributes for each DOM elements
*/
export interface TooltipDirectivePassThroughAttributes {
[key: string]: any;
}
/** /**
* Defines modifiers of Tooltip. * Defines modifiers of Tooltip.
*/ */
@ -93,92 +127,6 @@ export interface TooltipDirectiveModifiers {
focus?: boolean | undefined; focus?: boolean | undefined;
} }
/**
* Custom passthrough(pt) options.
* @see {@link TooltipOptions.pt}
*/
export interface TooltipPassThroughOptions {
/**
* Uses to pass attributes to the root's DOM element.
* @see {@link TooltipPassThroughDirectiveOptions}
*/
root?: TooltipPassThroughDirectiveOptions;
/**
* Uses to pass attributes to the text's DOM element.
* @see {@link TooltipPassThroughDirectiveOptions}
*/
text?: TooltipPassThroughDirectiveOptions;
/**
* Uses to pass attributes to the arrow's DOM element.
* @see {@link TooltipPassThroughDirectiveOptions}
*/
arrow?: TooltipPassThroughDirectiveOptions;
}
/**
* Custom passthrough(pt) directive options.
*/
export interface TooltipPassThroughDirectiveOptions {
/**
* Uses to pass attributes to the life cycle hooks.
* @see {@link TooltipPassThroughHooksOptions}
*/
hooks?: TooltipPassThroughHooksOptions;
/**
* Uses to pass attributes to the styles.
* @see {@link TooltipPassThroughCSSOptions}
*/
css?: TooltipPassThroughCSSOptions;
}
/**
* Custom passthrough(pt) hooks options.
*/
export interface TooltipPassThroughHooksOptions {
/**
* Called before bound element's attributes or event listeners are applied.
*/
created?: DirectiveBinding;
/**
* Called right before the element is inserted into the DOM.
*/
beforeMount?: DirectiveBinding;
/**
* Called when the bound element's parent component and all its children are mounted.
*/
mounted?: DirectiveBinding;
/**
* Called before the parent component is updated.
*/
beforeUpdate?: DirectiveBinding;
/**
* Called after the parent component and all of its children have updated all of its children have updated.
*/
updated?: DirectiveBinding;
/**
* Called before the parent component is unmounted.
*/
beforeUnmount?: DirectiveBinding;
/**
* Called when the parent component is unmounted.
*/
unmounted?: DirectiveBinding;
}
/**
* Custom passthrough(pt) css options.
*/
export interface TooltipPassThroughCSSOptions {
/**
* Style class of the element.
*/
class?: any;
/**
* Inline style of the element.
*/
style?: any;
}
/** /**
* Binding of Tooltip directive. * Binding of Tooltip directive.
*/ */

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type TreePassThroughOptionType = TreePassThroughAttributes | ((options: TreePassThroughMethodOptions) => TreePassThroughAttributes) | null | undefined; export declare type TreePassThroughOptionType = TreePassThroughAttributes | ((options: TreePassThroughMethodOptions) => TreePassThroughAttributes) | null | undefined;
@ -178,6 +179,11 @@ export interface TreePassThroughOptions {
* Uses to pass attributes to the loading icon's DOM element. * Uses to pass attributes to the loading icon's DOM element.
*/ */
loadingIcon?: TreePassThroughOptionType; loadingIcon?: TreePassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { InputHTMLAttributes, VNode } from 'vue'; import { InputHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { TreeExpandedKeys, TreeNode, TreePassThroughOptionType } from '../tree'; import { TreeExpandedKeys, TreeNode, TreePassThroughOptionType } from '../tree';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -79,6 +80,11 @@ export interface TreeSelectPassThroughOptions {
* Uses to pass attributes to the hidden input's DOM element. * Uses to pass attributes to the hidden input's DOM element.
*/ */
hiddenInput?: TreeSelectPassThroughOptionType; hiddenInput?: TreeSelectPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ColumnPassThroughOptionType } from '../column'; import { ColumnPassThroughOptionType } from '../column';
import { PaginatorPassThroughOptionType } from '../paginator'; import { PaginatorPassThroughOptionType } from '../paginator';
import { TreeNode } from '../tree'; import { TreeNode } from '../tree';
@ -255,6 +256,11 @@ export interface TreeTablePassThroughOptions {
* Uses to pass attributes to the Column helper components. * Uses to pass attributes to the Column helper components.
*/ */
column?: ColumnPassThroughOptionType; column?: ColumnPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { InputHTMLAttributes, VNode } from 'vue'; import { InputHTMLAttributes, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers';
export declare type TriStateCheckboxPassThroughOptionType = TriStateCheckboxPassThroughAttributes | ((options: TriStateCheckboxPassThroughMethodOptions) => TriStateCheckboxPassThroughAttributes) | null | undefined; export declare type TriStateCheckboxPassThroughOptionType = TriStateCheckboxPassThroughAttributes | ((options: TriStateCheckboxPassThroughMethodOptions) => TriStateCheckboxPassThroughAttributes) | null | undefined;
@ -58,6 +59,11 @@ export interface TriStateCheckboxPassThroughOptions {
* Uses to pass attributes to the hidden value label's DOM element. * Uses to pass attributes to the hidden value label's DOM element.
*/ */
hiddenValueLabel?: TriStateCheckboxPassThroughOptionType; hiddenValueLabel?: TriStateCheckboxPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**

View File

@ -8,6 +8,7 @@
* *
*/ */
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent/BaseComponent';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type VirtualScrollerPassThroughOptionType = VirtualScrollerPassThroughAttributes | ((options: VirtualScrollerPassThroughMethodOptions) => VirtualScrollerPassThroughAttributes) | null | undefined; export declare type VirtualScrollerPassThroughOptionType = VirtualScrollerPassThroughAttributes | ((options: VirtualScrollerPassThroughMethodOptions) => VirtualScrollerPassThroughAttributes) | null | undefined;
@ -127,6 +128,11 @@ export interface VirtualScrollerPassThroughOptions {
* Uses to pass attributes to the spacer's DOM element. * Uses to pass attributes to the spacer's DOM element.
*/ */
spacer?: VirtualScrollerPassThroughOptionType; spacer?: VirtualScrollerPassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}
*/
hooks?: ComponentHooks;
} }
/** /**