From 8268c74a999b25f4c1f300564a05ba37049b80ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Fri, 23 Jun 2023 12:47:31 +0300 Subject: [PATCH] Refactor #3965 - For Directives .d.ts --- .../lib/badgedirective/BadgeDirective.d.ts | 75 +- components/lib/focustrap/FocusTrap.d.ts | 115 +-- components/lib/ripple/Ripple.d.ts | 75 +- components/lib/styleclass/StyleClass.d.ts | 95 +- components/lib/tooltip/Tooltip.d.ts | 169 ++-- doc/common/apidoc/index.json | 823 +++++++++--------- 6 files changed, 691 insertions(+), 661 deletions(-) diff --git a/components/lib/badgedirective/BadgeDirective.d.ts b/components/lib/badgedirective/BadgeDirective.d.ts index 63ef03616..549c7cc19 100644 --- a/components/lib/badgedirective/BadgeDirective.d.ts +++ b/components/lib/badgedirective/BadgeDirective.d.ts @@ -8,6 +8,45 @@ */ import { DirectiveBinding, ObjectDirective } from 'vue'; +/** + * Defines options of Badge. + */ +export interface BadgeOptions { + /** + * Uses to pass attributes to DOM elements inside the component. + * @type {BadgePassThroughOptions} + */ + pt?: BadgePassThroughOptions; +} + +/** + * Custom passthrough(pt) options. + * @see {@link BadgeOptions.pt} + */ +export interface BadgePassThroughOptions { + /** + * Uses to pass attributes to the root's DOM element. + * @see {@link BadgePassThroughDirectiveOptions} + */ + root?: BadgePassThroughDirectiveOptions; +} + +/** + * Custom passthrough(pt) directive options. + */ +export interface BadgePassThroughDirectiveOptions { + /** + * Uses to pass attributes to the life cycle hooks. + * @see {@link BadgePassThroughHooksOptions} + */ + hooks?: BadgePassThroughHooksOptions; + /** + * Uses to pass attributes to the styles. + * @see {@link BadgePassThroughCSSOptions} + */ + css?: BadgePassThroughCSSOptions; +} + /** * Custom passthrough(pt) hooks options. */ @@ -56,42 +95,6 @@ export interface BadgePassThroughCSSOptions { style?: any; } -export interface BadgePassThroughDirectiveOptions { - /** - * Uses to pass attributes to the life cycle hooks. - * @see {@link BadgePassThroughHooksOptions} - */ - hooks?: BadgePassThroughHooksOptions; - /** - * Uses to pass attributes to the styles. - * @see {@link BadgePassThroughCSSOptions} - */ - css?: BadgePassThroughCSSOptions; -} - -/** - * Custom passthrough(pt) options. - * @see {@link BadgeOptions.pt} - */ -export interface BadgePassThroughOptions { - /** - * Uses to pass attributes to the root's DOM element. - * @see {@link BadgePassThroughDirectiveOptions} - */ - root?: BadgePassThroughDirectiveOptions; -} - -/** - * Defines options of Badge. - */ -export interface BadgeOptions { - /** - * Uses to pass attributes to DOM elements inside the component. - * @type {BadgePassThroughOptions} - */ - pt?: BadgePassThroughOptions; -} - /** * Defines modifiers of Badge directive. */ diff --git a/components/lib/focustrap/FocusTrap.d.ts b/components/lib/focustrap/FocusTrap.d.ts index 68ccb7b82..3f908b99a 100644 --- a/components/lib/focustrap/FocusTrap.d.ts +++ b/components/lib/focustrap/FocusTrap.d.ts @@ -8,6 +8,65 @@ */ import { DirectiveBinding, ObjectDirective } from 'vue'; +/** + * Defines options of FocusTrap. + */ +export interface FocusTrapOptions { + /** + * When present, it specifies that the directive should be disabled. + * @defaultValue false + */ + disabled?: boolean | undefined; + /** + * When When disabled, focustrap will not focus by default. + * @defaultValue true + */ + autoFocus?: boolean | undefined; + /** + * Uses to pass attributes to DOM elements inside the component. + * @type {FocusTrapPassThroughOptions} + */ + pt?: FocusTrapPassThroughOptions; +} + +/** + * Custom passthrough(pt) options. + * @see {@link FocusTrapOptions.pt} + */ +export interface FocusTrapPassThroughOptions { + /** + * Uses to pass attributes to the root's DOM element. + * @see {@link FocusTrapPassThroughDirectiveOptions} + */ + root?: FocusTrapPassThroughDirectiveOptions; + /** + * Uses to pass attributes to the first focusable element's DOM element. + * @see {@link FocusTrapPassThroughDirectiveOptions} + */ + firstFocusableElement?: FocusTrapPassThroughDirectiveOptions; + /** + * Uses to pass attributes to the last focusable element's DOM element. + * @see {@link FocusTrapPassThroughDirectiveOptions} + */ + lastFocusableElement?: FocusTrapPassThroughDirectiveOptions; +} + +/** + * Custom passthrough(pt) directive options. + */ +export interface FocusTrapPassThroughDirectiveOptions { + /** + * Uses to pass attributes to the life cycle hooks. + * @see {@link FocusTrapPassThroughHooksOptions} + */ + hooks?: FocusTrapPassThroughHooksOptions; + /** + * Uses to pass attributes to the styles. + * @see {@link FocusTrapPassThroughCSSOptions} + */ + css?: FocusTrapPassThroughCSSOptions; +} + /** * Custom passthrough(pt) hooks options. */ @@ -56,62 +115,6 @@ export interface FocusTrapPassThroughCSSOptions { style?: any; } -export interface FocusTrapPassThroughDirectiveOptions { - /** - * Uses to pass attributes to the life cycle hooks. - * @see {@link FocusTrapPassThroughHooksOptions} - */ - hooks?: FocusTrapPassThroughHooksOptions; - /** - * Uses to pass attributes to the styles. - * @see {@link FocusTrapPassThroughCSSOptions} - */ - css?: FocusTrapPassThroughCSSOptions; -} - -/** - * Custom passthrough(pt) options. - * @see {@link FocusTrapOptions.pt} - */ -export interface FocusTrapPassThroughOptions { - /** - * Uses to pass attributes to the root's DOM element. - * @see {@link FocusTrapPassThroughDirectiveOptions} - */ - root?: FocusTrapPassThroughDirectiveOptions; - /** - * Uses to pass attributes to the first focusable element's DOM element. - * @see {@link FocusTrapPassThroughDirectiveOptions} - */ - firstFocusableElement?: FocusTrapPassThroughDirectiveOptions; - /** - * Uses to pass attributes to the last focusable element's DOM element. - * @see {@link FocusTrapPassThroughDirectiveOptions} - */ - lastFocusableElement?: FocusTrapPassThroughDirectiveOptions; -} - -/** - * Defines options of FocusTrap. - */ -export interface FocusTrapOptions { - /** - * When present, it specifies that the directive should be disabled. - * @defaultValue false - */ - disabled?: boolean | undefined; - /** - * When When disabled, focustrap will not focus by default. - * @defaultValue true - */ - autoFocus?: boolean | undefined; - /** - * Uses to pass attributes to DOM elements inside the component. - * @type {FocusTrapPassThroughOptions} - */ - pt?: FocusTrapPassThroughOptions; -} - /** * Binding of FocusTrap directive. */ diff --git a/components/lib/ripple/Ripple.d.ts b/components/lib/ripple/Ripple.d.ts index 3a89d893b..a5723720a 100644 --- a/components/lib/ripple/Ripple.d.ts +++ b/components/lib/ripple/Ripple.d.ts @@ -8,6 +8,45 @@ */ import { DirectiveBinding, ObjectDirective } from 'vue'; +/** + * Defines options of Ripple. + */ +export interface RippleOptions { + /** + * Uses to pass attributes to DOM elements inside the component. + * @type {RipplePassThroughOptions} + */ + pt?: RipplePassThroughOptions; +} + +/** + * Custom passthrough(pt) options. + * @see {@link RippleOptions.pt} + */ +export interface RipplePassThroughOptions { + /** + * Uses to pass attributes to the root's DOM element. + * @see {@link RipplePassThroughDirectiveOptions} + */ + root?: RipplePassThroughDirectiveOptions; +} + +/** + * Custom passthrough(pt) directive options. + */ +export interface RipplePassThroughDirectiveOptions { + /** + * Uses to pass attributes to the life cycle hooks. + * @see {@link RipplePassThroughHooksOptions} + */ + hooks?: RipplePassThroughHooksOptions; + /** + * Uses to pass attributes to the styles. + * @see {@link RipplePassThroughCSSOptions} + */ + css?: RipplePassThroughCSSOptions; +} + /** * Custom passthrough(pt) hooks options. */ @@ -56,42 +95,6 @@ export interface RipplePassThroughCSSOptions { style?: any; } -export interface RipplePassThroughDirectiveOptions { - /** - * Uses to pass attributes to the life cycle hooks. - * @see {@link RipplePassThroughHooksOptions} - */ - hooks?: RipplePassThroughHooksOptions; - /** - * Uses to pass attributes to the styles. - * @see {@link RipplePassThroughCSSOptions} - */ - css?: RipplePassThroughCSSOptions; -} - -/** - * Custom passthrough(pt) options. - * @see {@link RippleOptions.pt} - */ -export interface RipplePassThroughOptions { - /** - * Uses to pass attributes to the root's DOM element. - * @see {@link RipplePassThroughDirectiveOptions} - */ - root?: RipplePassThroughDirectiveOptions; -} - -/** - * Defines options of Ripple. - */ -export interface RippleOptions { - /** - * Uses to pass attributes to DOM elements inside the component. - * @type {RipplePassThroughOptions} - */ - pt?: RipplePassThroughOptions; -} - /** * Binding of Ripple directive. */ diff --git a/components/lib/styleclass/StyleClass.d.ts b/components/lib/styleclass/StyleClass.d.ts index 0b2f0a227..112279db3 100644 --- a/components/lib/styleclass/StyleClass.d.ts +++ b/components/lib/styleclass/StyleClass.d.ts @@ -8,51 +8,6 @@ */ import { DirectiveBinding, ObjectDirective } from 'vue'; -/** - * Custom passthrough(pt) hooks options. - */ -export interface StyleClassPassThroughHooksOptions { - /** - * 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; -} - -/** - * Defines passthrough(pt) options. - */ -export interface StyleClassPassThroughDirectiveOptions { - /** - * Uses to pass attributes to the life cycle hooks. - * @see {@link StyleClassPassThroughHooksOptions} - */ - hooks?: StyleClassPassThroughHooksOptions; -} - /** * Defines options of StyleClass. */ @@ -94,6 +49,56 @@ export interface StyleClassOptions { * Adds or removes a class when no enter-leave animation is required. */ toggleClass?: string | undefined; + /** + * Uses to pass attributes to DOM elements inside the component. + * @type {StyleClassPassThroughDirectiveOptions} + */ + pt?: StyleClassPassThroughDirectiveOptions; +} + +/** + * Custom passthrough(pt) directive options. + */ +export interface StyleClassPassThroughDirectiveOptions { + /** + * Uses to pass attributes to the life cycle hooks. + * @see {@link StyleClassPassThroughHooksOptions} + */ + hooks?: StyleClassPassThroughHooksOptions; +} + +/** + * Custom passthrough(pt) hooks options. + */ +export interface StyleClassPassThroughHooksOptions { + /** + * 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; } /** diff --git a/components/lib/tooltip/Tooltip.d.ts b/components/lib/tooltip/Tooltip.d.ts index 0578597fe..182ccee2b 100755 --- a/components/lib/tooltip/Tooltip.d.ts +++ b/components/lib/tooltip/Tooltip.d.ts @@ -9,89 +9,6 @@ */ import { DirectiveBinding, ObjectDirective } from 'vue'; -/** - * 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; -} - -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) 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; -} - /** * Defines options of Tooltip. */ @@ -171,6 +88,92 @@ export interface TooltipDirectiveModifiers { 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. */ diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index 57040c3f5..8278f0bf8 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -4140,6 +4140,59 @@ "methodDescription": "Defines methods that can be accessed by the component's reference.", "typeDescription": "Defines the custom types used by the module.", "values": { + "BadgeOptions": { + "description": "Defines options of Badge.", + "relatedProp": "", + "props": [ + { + "name": "pt", + "optional": true, + "readonly": false, + "type": "BadgePassThroughOptions", + "default": "", + "description": "Uses to pass attributes to DOM elements inside the component." + } + ], + "methods": [] + }, + "BadgePassThroughOptions": { + "description": "Custom passthrough(pt) options.", + "relatedProp": "BadgeOptions.pt", + "props": [ + { + "name": "root", + "optional": true, + "readonly": false, + "type": "BadgePassThroughDirectiveOptions", + "default": "", + "description": "Uses to pass attributes to the root's DOM element." + } + ], + "methods": [] + }, + "BadgePassThroughDirectiveOptions": { + "description": "Custom passthrough(pt) directive options.", + "relatedProp": "", + "props": [ + { + "name": "hooks", + "optional": true, + "readonly": false, + "type": "BadgePassThroughHooksOptions", + "default": "", + "description": "Uses to pass attributes to the life cycle hooks." + }, + { + "name": "css", + "optional": true, + "readonly": false, + "type": "BadgePassThroughCSSOptions", + "default": "", + "description": "Uses to pass attributes to the styles." + } + ], + "methods": [] + }, "BadgePassThroughHooksOptions": { "description": "Custom passthrough(pt) hooks options.", "relatedProp": "", @@ -4226,58 +4279,6 @@ ], "methods": [] }, - "BadgePassThroughDirectiveOptions": { - "relatedProp": "", - "props": [ - { - "name": "hooks", - "optional": true, - "readonly": false, - "type": "BadgePassThroughHooksOptions", - "default": "", - "description": "Uses to pass attributes to the life cycle hooks." - }, - { - "name": "css", - "optional": true, - "readonly": false, - "type": "BadgePassThroughCSSOptions", - "default": "", - "description": "Uses to pass attributes to the styles." - } - ], - "methods": [] - }, - "BadgePassThroughOptions": { - "description": "Custom passthrough(pt) options.", - "relatedProp": "BadgeOptions.pt", - "props": [ - { - "name": "root", - "optional": true, - "readonly": false, - "type": "BadgePassThroughDirectiveOptions", - "default": "", - "description": "Uses to pass attributes to the root's DOM element." - } - ], - "methods": [] - }, - "BadgeOptions": { - "description": "Defines options of Badge.", - "relatedProp": "", - "props": [ - { - "name": "pt", - "optional": true, - "readonly": false, - "type": "BadgePassThroughOptions", - "default": "", - "description": "Uses to pass attributes to DOM elements inside the component." - } - ], - "methods": [] - }, "BadgeDirectiveModifiers": { "description": "Defines modifiers of Badge directive.", "relatedProp": "", @@ -4344,6 +4345,7 @@ } } }, + "basedirective/BaseDirective": {}, "blockui": { "description": "BlockUI represents people using icons, labels and images.\n\n[Live Demo](https://www.primevue.org/blockui)", "components": { @@ -19758,6 +19760,91 @@ "methodDescription": "Defines methods that can be accessed by the component's reference.", "typeDescription": "Defines the custom types used by the module.", "values": { + "FocusTrapOptions": { + "description": "Defines options of FocusTrap.", + "relatedProp": "", + "props": [ + { + "name": "disabled", + "optional": true, + "readonly": false, + "type": "boolean", + "default": "false", + "description": "When present, it specifies that the directive should be disabled." + }, + { + "name": "autoFocus", + "optional": true, + "readonly": false, + "type": "boolean", + "default": "true", + "description": "When When disabled, focustrap will not focus by default." + }, + { + "name": "pt", + "optional": true, + "readonly": false, + "type": "FocusTrapPassThroughOptions", + "default": "", + "description": "Uses to pass attributes to DOM elements inside the component." + } + ], + "methods": [] + }, + "FocusTrapPassThroughOptions": { + "description": "Custom passthrough(pt) options.", + "relatedProp": "FocusTrapOptions.pt", + "props": [ + { + "name": "root", + "optional": true, + "readonly": false, + "type": "FocusTrapPassThroughDirectiveOptions", + "default": "", + "description": "Uses to pass attributes to the root's DOM element." + }, + { + "name": "firstFocusableElement", + "optional": true, + "readonly": false, + "type": "FocusTrapPassThroughDirectiveOptions", + "default": "", + "description": "Uses to pass attributes to the first focusable element's DOM element." + }, + { + "name": "lastFocusableElement", + "optional": true, + "readonly": false, + "type": "FocusTrapPassThroughDirectiveOptions", + "default": "", + "description": "Uses to pass attributes to the last focusable element's DOM element." + } + ], + "methods": [] + }, + "FocusTrapPassThroughDirectiveOptions": { + "description": "Custom passthrough(pt) directive options.", + "relatedProp": "", + "props": [ + { + "name": "hooks", + "optional": true, + "readonly": false, + "type": "FocusTrapPassThroughHooksOptions", + "default": "", + "description": "Uses to pass attributes to the life cycle hooks." + }, + { + "name": "css", + "optional": true, + "readonly": false, + "type": "FocusTrapPassThroughCSSOptions", + "default": "", + "description": "Uses to pass attributes to the styles." + } + ], + "methods": [] + }, "FocusTrapPassThroughHooksOptions": { "description": "Custom passthrough(pt) hooks options.", "relatedProp": "", @@ -19844,90 +19931,6 @@ ], "methods": [] }, - "FocusTrapPassThroughDirectiveOptions": { - "relatedProp": "", - "props": [ - { - "name": "hooks", - "optional": true, - "readonly": false, - "type": "FocusTrapPassThroughHooksOptions", - "default": "", - "description": "Uses to pass attributes to the life cycle hooks." - }, - { - "name": "css", - "optional": true, - "readonly": false, - "type": "FocusTrapPassThroughCSSOptions", - "default": "", - "description": "Uses to pass attributes to the styles." - } - ], - "methods": [] - }, - "FocusTrapPassThroughOptions": { - "description": "Custom passthrough(pt) options.", - "relatedProp": "FocusTrapOptions.pt", - "props": [ - { - "name": "root", - "optional": true, - "readonly": false, - "type": "FocusTrapPassThroughDirectiveOptions", - "default": "", - "description": "Uses to pass attributes to the root's DOM element." - }, - { - "name": "firstFocusableElement", - "optional": true, - "readonly": false, - "type": "FocusTrapPassThroughDirectiveOptions", - "default": "", - "description": "Uses to pass attributes to the first focusable element's DOM element." - }, - { - "name": "lastFocusableElement", - "optional": true, - "readonly": false, - "type": "FocusTrapPassThroughDirectiveOptions", - "default": "", - "description": "Uses to pass attributes to the last focusable element's DOM element." - } - ], - "methods": [] - }, - "FocusTrapOptions": { - "description": "Defines options of FocusTrap.", - "relatedProp": "", - "props": [ - { - "name": "disabled", - "optional": true, - "readonly": false, - "type": "boolean", - "default": "false", - "description": "When present, it specifies that the directive should be disabled." - }, - { - "name": "autoFocus", - "optional": true, - "readonly": false, - "type": "boolean", - "default": "true", - "description": "When When disabled, focustrap will not focus by default." - }, - { - "name": "pt", - "optional": true, - "readonly": false, - "type": "FocusTrapPassThroughOptions", - "default": "", - "description": "Uses to pass attributes to DOM elements inside the component." - } - ], - "methods": [] - }, "FocusTrapDirectiveBinding": { "description": "Binding of FocusTrap directive.", "relatedProp": "", @@ -32073,6 +32076,59 @@ "methodDescription": "Defines methods that can be accessed by the component's reference.", "typeDescription": "Defines the custom types used by the module.", "values": { + "RippleOptions": { + "description": "Defines options of Ripple.", + "relatedProp": "", + "props": [ + { + "name": "pt", + "optional": true, + "readonly": false, + "type": "RipplePassThroughOptions", + "default": "", + "description": "Uses to pass attributes to DOM elements inside the component." + } + ], + "methods": [] + }, + "RipplePassThroughOptions": { + "description": "Custom passthrough(pt) options.", + "relatedProp": "RippleOptions.pt", + "props": [ + { + "name": "root", + "optional": true, + "readonly": false, + "type": "RipplePassThroughDirectiveOptions", + "default": "", + "description": "Uses to pass attributes to the root's DOM element." + } + ], + "methods": [] + }, + "RipplePassThroughDirectiveOptions": { + "description": "Custom passthrough(pt) directive options.", + "relatedProp": "", + "props": [ + { + "name": "hooks", + "optional": true, + "readonly": false, + "type": "RipplePassThroughHooksOptions", + "default": "", + "description": "Uses to pass attributes to the life cycle hooks." + }, + { + "name": "css", + "optional": true, + "readonly": false, + "type": "RipplePassThroughCSSOptions", + "default": "", + "description": "Uses to pass attributes to the styles." + } + ], + "methods": [] + }, "RipplePassThroughHooksOptions": { "description": "Custom passthrough(pt) hooks options.", "relatedProp": "", @@ -32159,58 +32215,6 @@ ], "methods": [] }, - "RipplePassThroughDirectiveOptions": { - "relatedProp": "", - "props": [ - { - "name": "hooks", - "optional": true, - "readonly": false, - "type": "RipplePassThroughHooksOptions", - "default": "", - "description": "Uses to pass attributes to the life cycle hooks." - }, - { - "name": "css", - "optional": true, - "readonly": false, - "type": "RipplePassThroughCSSOptions", - "default": "", - "description": "Uses to pass attributes to the styles." - } - ], - "methods": [] - }, - "RipplePassThroughOptions": { - "description": "Custom passthrough(pt) options.", - "relatedProp": "RippleOptions.pt", - "props": [ - { - "name": "root", - "optional": true, - "readonly": false, - "type": "RipplePassThroughDirectiveOptions", - "default": "", - "description": "Uses to pass attributes to the root's DOM element." - } - ], - "methods": [] - }, - "RippleOptions": { - "description": "Defines options of Ripple.", - "relatedProp": "", - "props": [ - { - "name": "pt", - "optional": true, - "readonly": false, - "type": "RipplePassThroughOptions", - "default": "", - "description": "Uses to pass attributes to DOM elements inside the component." - } - ], - "methods": [] - }, "RippleDirectiveBinding": { "description": "Binding of Ripple directive.", "relatedProp": "", @@ -35249,84 +35253,6 @@ "methodDescription": "Defines methods that can be accessed by the component's reference.", "typeDescription": "Defines the custom types used by the module.", "values": { - "StyleClassPassThroughHooksOptions": { - "description": "Custom passthrough(pt) hooks options.", - "relatedProp": "", - "props": [ - { - "name": "created", - "optional": true, - "readonly": false, - "type": "DirectiveBinding", - "default": "", - "description": "Called before bound element's attributes or event listeners are applied." - }, - { - "name": "beforeMount", - "optional": true, - "readonly": false, - "type": "DirectiveBinding", - "default": "", - "description": "Called right before the element is inserted into the DOM." - }, - { - "name": "mounted", - "optional": true, - "readonly": false, - "type": "DirectiveBinding", - "default": "", - "description": "Called when the bound element's parent component and all its children are mounted." - }, - { - "name": "beforeUpdate", - "optional": true, - "readonly": false, - "type": "DirectiveBinding", - "default": "", - "description": "Called before the parent component is updated." - }, - { - "name": "updated", - "optional": true, - "readonly": false, - "type": "DirectiveBinding", - "default": "", - "description": "Called after the parent component and all of its children have updated all of its children have updated." - }, - { - "name": "beforeUnmount", - "optional": true, - "readonly": false, - "type": "DirectiveBinding", - "default": "", - "description": "Called before the parent component is unmounted." - }, - { - "name": "unmounted", - "optional": true, - "readonly": false, - "type": "DirectiveBinding", - "default": "", - "description": "Called when the parent component is unmounted." - } - ], - "methods": [] - }, - "StyleClassPassThroughDirectiveOptions": { - "description": "Defines passthrough(pt) options.", - "relatedProp": "", - "props": [ - { - "name": "hooks", - "optional": true, - "readonly": false, - "type": "StyleClassPassThroughHooksOptions", - "default": "", - "description": "Uses to pass attributes to the life cycle hooks." - } - ], - "methods": [] - }, "StyleClassOptions": { "description": "Defines options of StyleClass.", "relatedProp": "", @@ -35402,6 +35328,92 @@ "type": "string", "default": "", "description": "Adds or removes a class when no enter-leave animation is required." + }, + { + "name": "pt", + "optional": true, + "readonly": false, + "type": "StyleClassPassThroughDirectiveOptions", + "default": "", + "description": "Uses to pass attributes to DOM elements inside the component." + } + ], + "methods": [] + }, + "StyleClassPassThroughDirectiveOptions": { + "description": "Custom passthrough(pt) directive options.", + "relatedProp": "", + "props": [ + { + "name": "hooks", + "optional": true, + "readonly": false, + "type": "StyleClassPassThroughHooksOptions", + "default": "", + "description": "Uses to pass attributes to the life cycle hooks." + } + ], + "methods": [] + }, + "StyleClassPassThroughHooksOptions": { + "description": "Custom passthrough(pt) hooks options.", + "relatedProp": "", + "props": [ + { + "name": "created", + "optional": true, + "readonly": false, + "type": "DirectiveBinding", + "default": "", + "description": "Called before bound element's attributes or event listeners are applied." + }, + { + "name": "beforeMount", + "optional": true, + "readonly": false, + "type": "DirectiveBinding", + "default": "", + "description": "Called right before the element is inserted into the DOM." + }, + { + "name": "mounted", + "optional": true, + "readonly": false, + "type": "DirectiveBinding", + "default": "", + "description": "Called when the bound element's parent component and all its children are mounted." + }, + { + "name": "beforeUpdate", + "optional": true, + "readonly": false, + "type": "DirectiveBinding", + "default": "", + "description": "Called before the parent component is updated." + }, + { + "name": "updated", + "optional": true, + "readonly": false, + "type": "DirectiveBinding", + "default": "", + "description": "Called after the parent component and all of its children have updated all of its children have updated." + }, + { + "name": "beforeUnmount", + "optional": true, + "readonly": false, + "type": "DirectiveBinding", + "default": "", + "description": "Called before the parent component is unmounted." + }, + { + "name": "unmounted", + "optional": true, + "readonly": false, + "type": "DirectiveBinding", + "default": "", + "description": "Called when the parent component is unmounted." } ], "methods": [] @@ -38625,145 +38637,6 @@ "methodDescription": "Defines methods that can be accessed by the component's reference.", "typeDescription": "Defines the custom types used by the module.", "values": { - "TooltipPassThroughHooksOptions": { - "description": "Custom passthrough(pt) hooks options.", - "relatedProp": "", - "props": [ - { - "name": "created", - "optional": true, - "readonly": false, - "type": "DirectiveBinding", - "default": "", - "description": "Called before bound element's attributes or event listeners are applied." - }, - { - "name": "beforeMount", - "optional": true, - "readonly": false, - "type": "DirectiveBinding", - "default": "", - "description": "Called right before the element is inserted into the DOM." - }, - { - "name": "mounted", - "optional": true, - "readonly": false, - "type": "DirectiveBinding", - "default": "", - "description": "Called when the bound element's parent component and all its children are mounted." - }, - { - "name": "beforeUpdate", - "optional": true, - "readonly": false, - "type": "DirectiveBinding", - "default": "", - "description": "Called before the parent component is updated." - }, - { - "name": "updated", - "optional": true, - "readonly": false, - "type": "DirectiveBinding", - "default": "", - "description": "Called after the parent component and all of its children have updated all of its children have updated." - }, - { - "name": "beforeUnmount", - "optional": true, - "readonly": false, - "type": "DirectiveBinding", - "default": "", - "description": "Called before the parent component is unmounted." - }, - { - "name": "unmounted", - "optional": true, - "readonly": false, - "type": "DirectiveBinding", - "default": "", - "description": "Called when the parent component is unmounted." - } - ], - "methods": [] - }, - "TooltipPassThroughCSSOptions": { - "description": "Custom passthrough(pt) css options.", - "relatedProp": "", - "props": [ - { - "name": "class", - "optional": true, - "readonly": false, - "type": "any", - "default": "", - "description": "Style class of the element." - }, - { - "name": "style", - "optional": true, - "readonly": false, - "type": "any", - "default": "", - "description": "Inline style of the element." - } - ], - "methods": [] - }, - "TooltipPassThroughDirectiveOptions": { - "relatedProp": "", - "props": [ - { - "name": "hooks", - "optional": true, - "readonly": false, - "type": "TooltipPassThroughHooksOptions", - "default": "", - "description": "Uses to pass attributes to the life cycle hooks." - }, - { - "name": "css", - "optional": true, - "readonly": false, - "type": "TooltipPassThroughCSSOptions", - "default": "", - "description": "Uses to pass attributes to the styles." - } - ], - "methods": [] - }, - "TooltipPassThroughOptions": { - "description": "Custom passthrough(pt) options.", - "relatedProp": "TooltipOptions.pt", - "props": [ - { - "name": "root", - "optional": true, - "readonly": false, - "type": "TooltipPassThroughDirectiveOptions", - "default": "", - "description": "Uses to pass attributes to the root's DOM element." - }, - { - "name": "text", - "optional": true, - "readonly": false, - "type": "TooltipPassThroughDirectiveOptions", - "default": "", - "description": "Uses to pass attributes to the text's DOM element." - }, - { - "name": "arrow", - "optional": true, - "readonly": false, - "type": "TooltipPassThroughDirectiveOptions", - "default": "", - "description": "Uses to pass attributes to the arrow's DOM element." - } - ], - "methods": [] - }, "TooltipOptions": { "description": "Defines options of Tooltip.", "relatedProp": "", @@ -38890,6 +38763,146 @@ ], "methods": [] }, + "TooltipPassThroughOptions": { + "description": "Custom passthrough(pt) options.", + "relatedProp": "TooltipOptions.pt", + "props": [ + { + "name": "root", + "optional": true, + "readonly": false, + "type": "TooltipPassThroughDirectiveOptions", + "default": "", + "description": "Uses to pass attributes to the root's DOM element." + }, + { + "name": "text", + "optional": true, + "readonly": false, + "type": "TooltipPassThroughDirectiveOptions", + "default": "", + "description": "Uses to pass attributes to the text's DOM element." + }, + { + "name": "arrow", + "optional": true, + "readonly": false, + "type": "TooltipPassThroughDirectiveOptions", + "default": "", + "description": "Uses to pass attributes to the arrow's DOM element." + } + ], + "methods": [] + }, + "TooltipPassThroughDirectiveOptions": { + "description": "Custom passthrough(pt) directive options.", + "relatedProp": "", + "props": [ + { + "name": "hooks", + "optional": true, + "readonly": false, + "type": "TooltipPassThroughHooksOptions", + "default": "", + "description": "Uses to pass attributes to the life cycle hooks." + }, + { + "name": "css", + "optional": true, + "readonly": false, + "type": "TooltipPassThroughCSSOptions", + "default": "", + "description": "Uses to pass attributes to the styles." + } + ], + "methods": [] + }, + "TooltipPassThroughHooksOptions": { + "description": "Custom passthrough(pt) hooks options.", + "relatedProp": "", + "props": [ + { + "name": "created", + "optional": true, + "readonly": false, + "type": "DirectiveBinding", + "default": "", + "description": "Called before bound element's attributes or event listeners are applied." + }, + { + "name": "beforeMount", + "optional": true, + "readonly": false, + "type": "DirectiveBinding", + "default": "", + "description": "Called right before the element is inserted into the DOM." + }, + { + "name": "mounted", + "optional": true, + "readonly": false, + "type": "DirectiveBinding", + "default": "", + "description": "Called when the bound element's parent component and all its children are mounted." + }, + { + "name": "beforeUpdate", + "optional": true, + "readonly": false, + "type": "DirectiveBinding", + "default": "", + "description": "Called before the parent component is updated." + }, + { + "name": "updated", + "optional": true, + "readonly": false, + "type": "DirectiveBinding", + "default": "", + "description": "Called after the parent component and all of its children have updated all of its children have updated." + }, + { + "name": "beforeUnmount", + "optional": true, + "readonly": false, + "type": "DirectiveBinding", + "default": "", + "description": "Called before the parent component is unmounted." + }, + { + "name": "unmounted", + "optional": true, + "readonly": false, + "type": "DirectiveBinding", + "default": "", + "description": "Called when the parent component is unmounted." + } + ], + "methods": [] + }, + "TooltipPassThroughCSSOptions": { + "description": "Custom passthrough(pt) css options.", + "relatedProp": "", + "props": [ + { + "name": "class", + "optional": true, + "readonly": false, + "type": "any", + "default": "", + "description": "Style class of the element." + }, + { + "name": "style", + "optional": true, + "readonly": false, + "type": "any", + "default": "", + "description": "Inline style of the element." + } + ], + "methods": [] + }, "TooltipDirectiveBinding": { "description": "Binding of Tooltip directive.", "relatedProp": "",