From a6af4902759ed492e2e646df8b53cafe8c99706e Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 9 Apr 2024 14:24:32 +0300 Subject: [PATCH] SpeedDial template demo updated --- doc/common/apidoc/index.json | 117 ++++++---------- doc/speeddial/CustomDoc.vue | 175 ----------------------- doc/speeddial/TemplateDoc.vue | 252 ++++++++++++++++++++++++++++++++++ pages/speeddial/index.vue | 4 +- 4 files changed, 293 insertions(+), 255 deletions(-) delete mode 100644 doc/speeddial/CustomDoc.vue create mode 100644 doc/speeddial/TemplateDoc.vue diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index ba7a154af..fef835079 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -7513,7 +7513,7 @@ "name": "previousButton", "optional": true, "readonly": false, - "type": "CalendarPassThroughOptionType", + "type": "ButtonPassThroughOptions", "default": "", "description": "Used to pass attributes to the previous button's DOM element." }, @@ -7553,9 +7553,9 @@ "name": "nextButton", "optional": true, "readonly": false, - "type": "CalendarPassThroughOptionType", + "type": "ButtonPassThroughOptions", "default": "", - "description": "Used to pass attributes to the previous button's DOM element." + "description": "Used to pass attributes to the next button's DOM element." }, { "name": "container", @@ -8273,14 +8273,6 @@ "default": "date", "description": "Type of view to display." }, - { - "name": "touchUI", - "optional": true, - "readonly": false, - "type": "boolean", - "default": "false", - "description": "When enabled, calendar overlay is displayed as optimized for touch devices." - }, { "name": "monthNavigator", "optional": true, @@ -8596,6 +8588,22 @@ "default": "", "description": "Used to pass all properties of the ButtonProps to the clear button component." }, + { + "name": "navigatorButtonProps", + "optional": true, + "readonly": false, + "type": "object", + "default": "", + "description": "Used to pass all properties of the ButtonProps to the navigator button component." + }, + { + "name": "timepickerButtonProps", + "optional": true, + "readonly": false, + "type": "object", + "default": "", + "description": "Used to pass all properties of the ButtonProps to the timepicker button component." + }, { "name": "ariaLabelledby", "optional": true, @@ -45636,22 +45644,6 @@ "default": "", "description": "Used to pass attributes to the root's DOM element." }, - { - "name": "cancelItem", - "optional": true, - "readonly": false, - "type": "RatingPassThroughOptionType", - "default": "", - "description": "Used to pass attributes to the cancel item's DOM element." - }, - { - "name": "cancelIcon", - "optional": true, - "readonly": false, - "type": "RatingPassThroughOptionType", - "default": "", - "description": "Used to pass attributes to the cancel icon's DOM element." - }, { "name": "item", "optional": true, @@ -45676,22 +45668,6 @@ "default": "", "description": "Used to pass attributes to the off icon's DOM element." }, - { - "name": "hiddenCancelInputWrapper", - "optional": true, - "readonly": false, - "type": "RatingPassThroughOptionType", - "default": "", - "description": "Used to pass attributes to the hidden cancel inputW wapper's DOM element." - }, - { - "name": "hiddenCancelInput", - "optional": true, - "readonly": false, - "type": "RatingPassThroughOptionType", - "default": "", - "description": "Used to pass attributes to the hidden cancel input's DOM element." - }, { "name": "hiddenItemInputWrapper", "optional": true, @@ -45845,15 +45821,6 @@ "default": "5", "description": "Number of stars." }, - { - "name": "cancel", - "optional": true, - "readonly": false, - "type": "boolean", - "default": "false", - "description": "When specified a cancel icon is displayed to allow clearing the value.", - "deprecated": "since v4.0.0-beta.1" - }, { "name": "onIcon", "optional": true, @@ -45872,15 +45839,6 @@ "description": "Icon for the off state.", "deprecated": "since v3.27.0. Use 'officon' slot." }, - { - "name": "cancelIcon", - "optional": true, - "readonly": false, - "type": "string", - "default": "", - "description": "Icon for the cancelable state.", - "deprecated": "since v3.27.0. Use 'cancelicon' slot." - }, { "name": "dt", "optional": true, @@ -45921,19 +45879,6 @@ "relatedProp": "", "props": [], "methods": [ - { - "name": "cancelicon", - "parameters": [ - { - "name": "scope", - "optional": false, - "type": "{\n \t class: string, // Style class of the icon.\n }", - "description": "cancelicon slot's params." - } - ], - "returnType": "VNode[]", - "description": "Custom cancel icon template." - }, { "name": "onicon", "parameters": [ @@ -48831,9 +48776,9 @@ "name": "action", "optional": true, "readonly": false, - "type": "SpeedDialPassThroughOptionType", + "type": "ButtonPassThroughOptions", "default": "", - "description": "Used to pass attributes to the action's DOM element." + "description": "Used to pass attributes to the action's Button component." }, { "name": "actionIcon", @@ -49124,6 +49069,22 @@ "default": "", "description": "Whether to display the tooltip on items. The modifiers of Tooltip can be used like an object in it. Valid keys are 'event' and 'position'." }, + { + "name": "buttonProps", + "optional": true, + "readonly": false, + "type": "object", + "default": "", + "description": "Used to pass all properties of the ButtonProps to the button component." + }, + { + "name": "actionButtonProps", + "optional": true, + "readonly": false, + "type": "object", + "default": "", + "description": "Used to pass all properties of the ButtonProps to the item component." + }, { "name": "ariaLabel", "optional": true, @@ -49186,7 +49147,7 @@ { "name": "scope", "optional": false, - "type": "{\n \t item: MenuItem, // Menuitem instance\n \t onClick: (event: Event) ⇒ void, // Item click function\n}", + "type": "{\n \t item: MenuItem, // Menuitem instance\n \t onClick: (event: Event) ⇒ void, // Item click function\n\t toggleCallback: (event: Event) ⇒ void, // Button click function\n}", "description": "item slot's params." } ], @@ -49199,7 +49160,7 @@ { "name": "scope", "optional": false, - "type": "{\n \t onClick: (event: Event) ⇒ void, // Button click function\n\t toggleCallback: (event: Event) ⇒ void, // Button click function\n}", + "type": "{\n \t visible: boolean, // Visible state of the item\n \t onClick: (event: Event) ⇒ void, // Button click function\n\t toggleCallback: (event: Event) ⇒ void, // Button click function\n}", "description": "button slot's params." } ], diff --git a/doc/speeddial/CustomDoc.vue b/doc/speeddial/CustomDoc.vue deleted file mode 100644 index 0502de748..000000000 --- a/doc/speeddial/CustomDoc.vue +++ /dev/null @@ -1,175 +0,0 @@ - - - diff --git a/doc/speeddial/TemplateDoc.vue b/doc/speeddial/TemplateDoc.vue new file mode 100644 index 000000000..bfddeba86 --- /dev/null +++ b/doc/speeddial/TemplateDoc.vue @@ -0,0 +1,252 @@ + + + diff --git a/pages/speeddial/index.vue b/pages/speeddial/index.vue index 4e7380f45..df50b9c3b 100644 --- a/pages/speeddial/index.vue +++ b/pages/speeddial/index.vue @@ -13,12 +13,12 @@