From a1f459568611a147759aa412851f61336ecd817e 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, 28 Apr 2023 14:02:20 +0300 Subject: [PATCH] Text updates --- doc/card/pt/index.vue | 2 +- doc/common/apidoc/index.json | 115 ++++++++++++++++++++++++++++++- doc/deferredcontent/pt/index.vue | 2 +- doc/divider/pt/index.vue | 2 +- doc/dynamicdialog/pt/index.vue | 2 +- doc/fieldset/pt/index.vue | 2 +- doc/panel/pt/index.vue | 2 +- doc/progressbar/pt/index.vue | 2 +- doc/progressspinner/pt/index.vue | 2 +- doc/scrollpanel/pt/index.vue | 2 +- doc/scrolltop/pt/index.vue | 2 +- doc/tag/pt/index.vue | 2 +- doc/terminal/pt/index.vue | 2 +- doc/toolbar/pt/index.vue | 2 +- 14 files changed, 126 insertions(+), 15 deletions(-) diff --git a/doc/card/pt/index.vue b/doc/card/pt/index.vue index 476e2ed47..eb5efae1e 100644 --- a/doc/card/pt/index.vue +++ b/doc/card/pt/index.vue @@ -25,7 +25,7 @@ export default { }, { id: 'pt.doc', - label: 'Card Elements', + label: 'Card PT Options', component: DocApiTable, data: getPTOption('Card') }, diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index 17afd9bbd..3092532f7 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -19265,6 +19265,110 @@ "methodDescription": "Defines methods that can be accessed by the component's reference.", "typeDescription": "Defines the custom types used by the module.", "values": { + "MessagePassThroughMethodOptions": { + "description": "Custom passthrough(pt) option method.", + "relatedProp": "", + "props": [ + { + "name": "props", + "optional": false, + "readonly": false, + "type": "MessageProps", + "default": "" + }, + { + "name": "state", + "optional": false, + "readonly": false, + "type": "MessageState", + "default": "" + } + ], + "methods": [] + }, + "MessagePassThroughOptions": { + "description": "Custom passthrough(pt) options.", + "relatedProp": "undefined.MessageProps.pt", + "props": [ + { + "name": "root", + "optional": true, + "readonly": false, + "type": "MessagePassThroughOptionType", + "default": "", + "description": "Uses to pass attributes to the root's DOM element." + }, + { + "name": "wrapper", + "optional": true, + "readonly": false, + "type": "MessagePassThroughOptionType", + "default": "", + "description": "Uses to pass attributes to the wrapper's DOM element." + }, + { + "name": "icon", + "optional": true, + "readonly": false, + "type": "MessagePassThroughOptionType", + "default": "", + "description": "Uses to pass attributes to the icon's DOM element." + }, + { + "name": "text", + "optional": true, + "readonly": false, + "type": "MessagePassThroughOptionType", + "default": "", + "description": "Uses to pass attributes to the text's DOM element." + }, + { + "name": "button", + "optional": true, + "readonly": false, + "type": "MessagePassThroughOptionType", + "default": "", + "description": "Uses to pass attributes to the button's DOM element." + }, + { + "name": "buttonIcon", + "optional": true, + "readonly": false, + "type": "MessagePassThroughOptionType", + "default": "", + "description": "Uses to pass attributes to the button icon's DOM element." + } + ], + "methods": [] + }, + "MessagePassThroughAttributes": { + "description": "Custom passthrough attributes for each DOM elements", + "relatedProp": "", + "props": [ + { + "name": "[key: string]", + "optional": false, + "readonly": false, + "type": "any" + } + ], + "methods": [] + }, + "MessageState": { + "description": "Defines current inline state in Message component.", + "relatedProp": "", + "props": [ + { + "name": "visible", + "optional": false, + "readonly": false, + "type": "boolean", + "default": "false", + "description": "Current visible state as a boolean." + } + ], + "methods": [] + }, "MessageProps": { "description": "Defines valid properties in Message component.", "relatedProp": "", @@ -19324,8 +19428,7 @@ "readonly": false, "type": "ButtonHTMLAttributes", "default": "", - "description": "Uses to pass all properties of the HTMLButtonElement to the close button.", - "deprecated": "since v3.26.0. Use 'pt' property." + "description": "Uses to pass all properties of the HTMLButtonElement to the close button." } ], "methods": [] @@ -19388,6 +19491,14 @@ ] } } + }, + "types": { + "description": "Defines the custom types used by the module.", + "values": { + "MessagePassThroughOptionType": { + "values": "MessagePassThroughAttributes | (options: MessagePassThroughMethodOptions) => MessagePassThroughAttributes | null | undefined" + } + } } }, "multiselect": { diff --git a/doc/deferredcontent/pt/index.vue b/doc/deferredcontent/pt/index.vue index 4687e1735..bbbb2e2c8 100644 --- a/doc/deferredcontent/pt/index.vue +++ b/doc/deferredcontent/pt/index.vue @@ -24,7 +24,7 @@ export default { }, { id: 'pt.doc', - label: 'DeferredContent Elements', + label: 'DeferredContent PT Options', component: DocApiTable, data: getPTOption('DeferredContent') } diff --git a/doc/divider/pt/index.vue b/doc/divider/pt/index.vue index 063b3f4ee..6d46f3bdb 100644 --- a/doc/divider/pt/index.vue +++ b/doc/divider/pt/index.vue @@ -25,7 +25,7 @@ export default { }, { id: 'pt.doc', - label: 'Divider Elements', + label: 'Divider PT Options', component: DocApiTable, data: getPTOption('Divider') }, diff --git a/doc/dynamicdialog/pt/index.vue b/doc/dynamicdialog/pt/index.vue index d801dc37a..45417ede2 100644 --- a/doc/dynamicdialog/pt/index.vue +++ b/doc/dynamicdialog/pt/index.vue @@ -25,7 +25,7 @@ export default { }, { id: 'pt.doc.dynamicdialog', - label: 'Dialog Elements', + label: 'Dialog PT Options', component: DocApiTable, data: getPTOption('Dialog') }, diff --git a/doc/fieldset/pt/index.vue b/doc/fieldset/pt/index.vue index 8a83b651b..c95f48f48 100644 --- a/doc/fieldset/pt/index.vue +++ b/doc/fieldset/pt/index.vue @@ -25,7 +25,7 @@ export default { }, { id: 'pt.doc', - label: 'Fieldset Elements', + label: 'Fieldset PT Options', component: DocApiTable, data: getPTOption('Fieldset') }, diff --git a/doc/panel/pt/index.vue b/doc/panel/pt/index.vue index 16c7ef2ab..abacccd81 100644 --- a/doc/panel/pt/index.vue +++ b/doc/panel/pt/index.vue @@ -25,7 +25,7 @@ export default { }, { id: 'pt.doc', - label: 'Panel Elements', + label: 'Panel PT Options', component: DocApiTable, data: getPTOption('Panel') }, diff --git a/doc/progressbar/pt/index.vue b/doc/progressbar/pt/index.vue index 76b281978..d10c6f4e7 100644 --- a/doc/progressbar/pt/index.vue +++ b/doc/progressbar/pt/index.vue @@ -25,7 +25,7 @@ export default { }, { id: 'pt.doc', - label: 'ProgressBar Elements', + label: 'ProgressBar PT Options', component: DocApiTable, data: getPTOption('ProgressBar') }, diff --git a/doc/progressspinner/pt/index.vue b/doc/progressspinner/pt/index.vue index 76b281978..d10c6f4e7 100644 --- a/doc/progressspinner/pt/index.vue +++ b/doc/progressspinner/pt/index.vue @@ -25,7 +25,7 @@ export default { }, { id: 'pt.doc', - label: 'ProgressBar Elements', + label: 'ProgressBar PT Options', component: DocApiTable, data: getPTOption('ProgressBar') }, diff --git a/doc/scrollpanel/pt/index.vue b/doc/scrollpanel/pt/index.vue index fc9020368..7b5a35d12 100644 --- a/doc/scrollpanel/pt/index.vue +++ b/doc/scrollpanel/pt/index.vue @@ -25,7 +25,7 @@ export default { }, { id: 'pt.doc', - label: 'ScrollPanel Elements', + label: 'ScrollPanel PT Options', component: DocApiTable, data: getPTOption('ScrollPanel') }, diff --git a/doc/scrolltop/pt/index.vue b/doc/scrolltop/pt/index.vue index 79110428a..2e23566fb 100644 --- a/doc/scrolltop/pt/index.vue +++ b/doc/scrolltop/pt/index.vue @@ -25,7 +25,7 @@ export default { }, { id: 'pt.doc', - label: 'ScrollTop Elements', + label: 'ScrollTop PT Options', component: DocApiTable, data: getPTOption('ScrollTop') }, diff --git a/doc/tag/pt/index.vue b/doc/tag/pt/index.vue index a6fae6a53..6c8364581 100644 --- a/doc/tag/pt/index.vue +++ b/doc/tag/pt/index.vue @@ -25,7 +25,7 @@ export default { }, { id: 'pt.doc', - label: 'Tag Elements', + label: 'Tag PT Options', component: DocApiTable, data: getPTOption('Tag') }, diff --git a/doc/terminal/pt/index.vue b/doc/terminal/pt/index.vue index 6acd9c731..faf98021c 100644 --- a/doc/terminal/pt/index.vue +++ b/doc/terminal/pt/index.vue @@ -25,7 +25,7 @@ export default { }, { id: 'pt.doc', - label: 'Terminal Elements', + label: 'Terminal PT Options', component: DocApiTable, data: getPTOption('Terminal') }, diff --git a/doc/toolbar/pt/index.vue b/doc/toolbar/pt/index.vue index d7e62eeab..11ced09d7 100644 --- a/doc/toolbar/pt/index.vue +++ b/doc/toolbar/pt/index.vue @@ -25,7 +25,7 @@ export default { }, { id: 'pt.doc', - label: 'Toolbar Elements', + label: 'Toolbar PT Options', component: DocApiTable, data: getPTOption('Toolbar') },