@ui5/webcomponents-ai 0.0.0-b132dd7b9 → 0.0.0-b3a4f8020
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.ui5-cem-aliases.json +4 -0
- package/CHANGELOG.md +481 -0
- package/LICENSE.txt +201 -0
- package/README.md +11 -10
- package/dist/.tsbuildinfo +1 -1
- package/dist/Assets-fetch.d.ts +3 -0
- package/dist/Assets-fetch.js +6 -0
- package/dist/Assets-fetch.js.map +1 -0
- package/dist/Assets-node.d.ts +14 -0
- package/dist/Assets-node.js +17 -0
- package/dist/Assets-node.js.map +1 -0
- package/dist/Button.d.ts +41 -2
- package/dist/Button.js +59 -4
- package/dist/Button.js.map +1 -1
- package/dist/ButtonState.d.ts +2 -1
- package/dist/ButtonState.js +2 -1
- package/dist/ButtonState.js.map +1 -1
- package/dist/ButtonTemplate.js +1 -1
- package/dist/ButtonTemplate.js.map +1 -1
- package/dist/Input.d.ts +144 -0
- package/dist/Input.js +291 -0
- package/dist/Input.js.map +1 -0
- package/dist/InputTemplate.d.ts +10 -0
- package/dist/InputTemplate.js +28 -0
- package/dist/InputTemplate.js.map +1 -0
- package/dist/PromptInput.d.ts +4 -2
- package/dist/PromptInput.js +2 -1
- package/dist/PromptInput.js.map +1 -1
- package/dist/TextArea.d.ts +125 -0
- package/dist/TextArea.js +272 -0
- package/dist/TextArea.js.map +1 -0
- package/dist/TextAreaTemplate.d.ts +2 -0
- package/dist/TextAreaTemplate.js +13 -0
- package/dist/TextAreaTemplate.js.map +1 -0
- package/dist/ToolbarLabel.d.ts +39 -0
- package/dist/ToolbarLabel.js +67 -0
- package/dist/ToolbarLabel.js.map +1 -0
- package/dist/ToolbarLabelTemplate.d.ts +2 -0
- package/dist/ToolbarLabelTemplate.js +5 -0
- package/dist/ToolbarLabelTemplate.js.map +1 -0
- package/dist/Versioning.d.ts +95 -0
- package/dist/Versioning.js +187 -0
- package/dist/Versioning.js.map +1 -0
- package/dist/VersioningTemplate.d.ts +4 -0
- package/dist/VersioningTemplate.js +9 -0
- package/dist/VersioningTemplate.js.map +1 -0
- package/dist/WritingAssistant.d.ts +101 -0
- package/dist/WritingAssistant.js +201 -0
- package/dist/WritingAssistant.js.map +1 -0
- package/dist/WritingAssistantTemplate.d.ts +2 -0
- package/dist/WritingAssistantTemplate.js +12 -0
- package/dist/WritingAssistantTemplate.js.map +1 -0
- package/dist/bundle.esm.js +2 -0
- package/dist/bundle.esm.js.map +1 -1
- package/dist/css/themes/Button.css +1 -1
- package/dist/css/themes/Input.css +1 -0
- package/dist/css/themes/PromptInput.css +1 -1
- package/dist/css/themes/TextArea.css +1 -0
- package/dist/css/themes/Versioning.css +1 -0
- package/dist/css/themes/WritingAssistant.css +1 -0
- package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -0
- package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -0
- package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -0
- package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -0
- package/dist/custom-elements-internal.json +1921 -134
- package/dist/custom-elements.json +1607 -76
- package/dist/generated/assets/i18n/messagebundle_ar.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_bg.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ca.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_cnr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_cs.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_cy.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_da.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_el.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_es.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_et.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hu.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_id.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_it.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_iw.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ja.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_kk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ko.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_lt.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_lv.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_mk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ms.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_nl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_no.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pt.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ro.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ru.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sh.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sv.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_th.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_tr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_uk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_vi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -1
- package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
- package/dist/generated/i18n/i18n-defaults.d.ts +15 -1
- package/dist/generated/i18n/i18n-defaults.js +15 -1
- package/dist/generated/i18n/i18n-defaults.js.map +1 -1
- package/dist/generated/json-imports/Themes-fetch.js +1 -1
- package/dist/generated/json-imports/Themes-fetch.js.map +1 -1
- package/dist/generated/json-imports/Themes-node.d.ts +1 -0
- package/dist/generated/json-imports/Themes-node.js +21 -0
- package/dist/generated/json-imports/Themes-node.js.map +1 -0
- package/dist/generated/json-imports/Themes.js +1 -1
- package/dist/generated/json-imports/Themes.js.map +1 -1
- package/dist/generated/json-imports/i18n-fetch.js +1 -1
- package/dist/generated/json-imports/i18n-fetch.js.map +1 -1
- package/dist/generated/json-imports/i18n-node.d.ts +1 -0
- package/dist/generated/json-imports/i18n-node.js +120 -0
- package/dist/generated/json-imports/i18n-node.js.map +1 -0
- package/dist/generated/json-imports/i18n.js +1 -1
- package/dist/generated/json-imports/i18n.js.map +1 -1
- package/dist/generated/themes/Button.css.d.ts +1 -1
- package/dist/generated/themes/Button.css.js +3 -3
- package/dist/generated/themes/Button.css.js.map +1 -1
- package/dist/generated/themes/Input.css.d.ts +2 -0
- package/dist/generated/themes/Input.css.js +8 -0
- package/dist/generated/themes/Input.css.js.map +1 -0
- package/dist/generated/themes/PromptInput.css.d.ts +1 -1
- package/dist/generated/themes/PromptInput.css.js +3 -3
- package/dist/generated/themes/PromptInput.css.js.map +1 -1
- package/dist/generated/themes/TextArea.css.d.ts +2 -0
- package/dist/generated/themes/TextArea.css.js +8 -0
- package/dist/generated/themes/TextArea.css.js.map +1 -0
- package/dist/generated/themes/Versioning.css.d.ts +2 -0
- package/dist/generated/themes/Versioning.css.js +8 -0
- package/dist/generated/themes/Versioning.css.js.map +1 -0
- package/dist/generated/themes/WritingAssistant.css.d.ts +2 -0
- package/dist/generated/themes/WritingAssistant.css.js +8 -0
- package/dist/generated/themes/WritingAssistant.css.js.map +1 -0
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
- package/dist/vscode.html-custom-data.json +105 -0
- package/dist/web-types.json +309 -1
- package/package-scripts.cjs +1 -1
- package/package.json +24 -21
- package/src/ButtonTemplate.tsx +1 -0
- package/src/InputTemplate.tsx +197 -0
- package/src/TextArea.css +25 -0
- package/src/TextAreaTemplate.tsx +91 -0
- package/src/ToolbarLabelTemplate.tsx +9 -0
- package/src/VersioningTemplate.tsx +34 -0
- package/src/WritingAssistantTemplate.tsx +51 -0
- package/src/i18n/messagebundle.properties +43 -1
- package/src/i18n/messagebundle_ar.properties +28 -0
- package/src/i18n/messagebundle_bg.properties +28 -0
- package/src/i18n/messagebundle_ca.properties +28 -0
- package/src/i18n/messagebundle_cnr.properties +28 -0
- package/src/i18n/messagebundle_cs.properties +28 -0
- package/src/i18n/messagebundle_cy.properties +28 -0
- package/src/i18n/messagebundle_da.properties +28 -0
- package/src/i18n/messagebundle_de.properties +28 -0
- package/src/i18n/messagebundle_el.properties +28 -0
- package/src/i18n/messagebundle_en.properties +28 -0
- package/src/i18n/messagebundle_en_GB.properties +28 -0
- package/src/i18n/messagebundle_en_US_sappsd.properties +28 -0
- package/src/i18n/messagebundle_en_US_saprigi.properties +28 -0
- package/src/i18n/messagebundle_en_US_saptrc.properties +28 -0
- package/src/i18n/messagebundle_es.properties +28 -0
- package/src/i18n/messagebundle_es_MX.properties +29 -1
- package/src/i18n/messagebundle_et.properties +28 -0
- package/src/i18n/messagebundle_fi.properties +28 -0
- package/src/i18n/messagebundle_fr.properties +28 -0
- package/src/i18n/messagebundle_fr_CA.properties +28 -0
- package/src/i18n/messagebundle_hi.properties +28 -0
- package/src/i18n/messagebundle_hr.properties +30 -2
- package/src/i18n/messagebundle_hu.properties +28 -0
- package/src/i18n/messagebundle_id.properties +28 -0
- package/src/i18n/messagebundle_it.properties +28 -0
- package/src/i18n/messagebundle_iw.properties +28 -0
- package/src/i18n/messagebundle_ja.properties +28 -0
- package/src/i18n/messagebundle_kk.properties +28 -0
- package/src/i18n/messagebundle_ko.properties +28 -0
- package/src/i18n/messagebundle_lt.properties +28 -0
- package/src/i18n/messagebundle_lv.properties +28 -0
- package/src/i18n/messagebundle_mk.properties +28 -0
- package/src/i18n/messagebundle_ms.properties +28 -0
- package/src/i18n/messagebundle_nl.properties +28 -0
- package/src/i18n/messagebundle_no.properties +28 -0
- package/src/i18n/messagebundle_pl.properties +28 -0
- package/src/i18n/messagebundle_pt.properties +28 -0
- package/src/i18n/messagebundle_pt_PT.properties +28 -0
- package/src/i18n/messagebundle_ro.properties +28 -0
- package/src/i18n/messagebundle_ru.properties +28 -0
- package/src/i18n/messagebundle_sh.properties +28 -0
- package/src/i18n/messagebundle_sk.properties +28 -0
- package/src/i18n/messagebundle_sl.properties +28 -0
- package/src/i18n/messagebundle_sr.properties +28 -0
- package/src/i18n/messagebundle_sv.properties +28 -0
- package/src/i18n/messagebundle_th.properties +30 -2
- package/src/i18n/messagebundle_tr.properties +28 -0
- package/src/i18n/messagebundle_uk.properties +28 -0
- package/src/i18n/messagebundle_vi.properties +28 -0
- package/src/i18n/messagebundle_zh_CN.properties +28 -0
- package/src/i18n/messagebundle_zh_TW.properties +28 -0
- package/src/themes/Input.css +83 -0
- package/src/themes/PromptInput.css +5 -1
- package/src/themes/TextArea.css +45 -0
- package/src/themes/Versioning.css +20 -0
- package/src/themes/WritingAssistant.css +23 -0
- package/src/themes/base/Button-parameters.css +1 -1
- package/tsconfig.json +6 -0
- package/cypress/specs/Button.cy.tsx +0 -14
- package/cypress/support/commands.ts +0 -40
- package/cypress/support/component-index.html +0 -12
- package/cypress/support/component.ts +0 -17
- package/cypress/tsconfig.json +0 -47
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"readme": "",
|
|
4
4
|
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "dist/Assets-fetch.js",
|
|
8
|
+
"declarations": [],
|
|
9
|
+
"exports": []
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"kind": "javascript-module",
|
|
13
|
+
"path": "dist/Assets-node.js",
|
|
14
|
+
"declarations": [],
|
|
15
|
+
"exports": []
|
|
16
|
+
},
|
|
5
17
|
{
|
|
6
18
|
"kind": "javascript-module",
|
|
7
19
|
"path": "dist/Assets.js",
|
|
@@ -69,6 +81,23 @@
|
|
|
69
81
|
"default": "false",
|
|
70
82
|
"description": "Defines the active state of the arrow button in split mode.\nSet to true when the button is in split mode and a menu with additional options\nis opened by the arrow button. Set back to false when the menu is closed.",
|
|
71
83
|
"privacy": "public"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"kind": "field",
|
|
87
|
+
"name": "accessibilityAttributes",
|
|
88
|
+
"type": {
|
|
89
|
+
"text": "AIButtonAccessibilityAttributes",
|
|
90
|
+
"references": [
|
|
91
|
+
{
|
|
92
|
+
"name": "AIButtonAccessibilityAttributes",
|
|
93
|
+
"package": "@ui5/webcomponents-ai",
|
|
94
|
+
"module": "dist/Button.js"
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
"default": "{}",
|
|
99
|
+
"description": "Defines the additional accessibility attributes that will be applied to the component.\n\nThis property allows for fine-tuned control of ARIA attributes for screen reader support.\nIt accepts an object with the following optional fields:\n\n- **root**: Accessibility attributes that will be applied to the root element.\n - **hasPopup**: Indicates the availability and type of interactive popup element (such as a menu or dialog).\n Accepts string values: `\"dialog\"`, `\"grid\"`, `\"listbox\"`, `\"menu\"`, or `\"tree\"`.\n - **roleDescription**: Defines a human-readable description for the button's role.\n Accepts any string value.\n - **title**: Specifies a tooltip or description for screen readers.\n Accepts any string value.\n- **ariaKeyShortcuts**: Defines keyboard shortcuts that activate or focus the button.\n\n- **arrowButton**: Accessibility attributes that will be applied to the arrow (split) button element.\n - **hasPopup**: Indicates the type of popup triggered by the arrow button.\n Accepts string values: `\"dialog\"`, `\"grid\"`, `\"listbox\"`, `\"menu\"`, or `\"tree\"`.\n - **expanded**: Indicates whether the popup controlled by the arrow button is currently expanded.\n Accepts boolean values: `true` or `false`.",
|
|
100
|
+
"privacy": "public"
|
|
72
101
|
}
|
|
73
102
|
],
|
|
74
103
|
"events": [
|
|
@@ -123,6 +152,15 @@
|
|
|
123
152
|
"type": {
|
|
124
153
|
"text": "boolean"
|
|
125
154
|
}
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"description": "Defines the additional accessibility attributes that will be applied to the component.\n\nThis property allows for fine-tuned control of ARIA attributes for screen reader support.\nIt accepts an object with the following optional fields:\n\n- **root**: Accessibility attributes that will be applied to the root element.\n - **hasPopup**: Indicates the availability and type of interactive popup element (such as a menu or dialog).\n Accepts string values: `\"dialog\"`, `\"grid\"`, `\"listbox\"`, `\"menu\"`, or `\"tree\"`.\n - **roleDescription**: Defines a human-readable description for the button's role.\n Accepts any string value.\n - **title**: Specifies a tooltip or description for screen readers.\n Accepts any string value.\n- **ariaKeyShortcuts**: Defines keyboard shortcuts that activate or focus the button.\n\n- **arrowButton**: Accessibility attributes that will be applied to the arrow (split) button element.\n - **hasPopup**: Indicates the type of popup triggered by the arrow button.\n Accepts string values: `\"dialog\"`, `\"grid\"`, `\"listbox\"`, `\"menu\"`, or `\"tree\"`.\n - **expanded**: Indicates whether the popup controlled by the arrow button is currently expanded.\n Accepts boolean values: `true` or `false`.",
|
|
158
|
+
"name": "accessibility-attributes",
|
|
159
|
+
"default": "{}",
|
|
160
|
+
"fieldName": "accessibilityAttributes",
|
|
161
|
+
"type": {
|
|
162
|
+
"text": "AIButtonAccessibilityAttributes"
|
|
163
|
+
}
|
|
126
164
|
}
|
|
127
165
|
],
|
|
128
166
|
"superclass": {
|
|
@@ -290,101 +328,136 @@
|
|
|
290
328
|
},
|
|
291
329
|
{
|
|
292
330
|
"kind": "javascript-module",
|
|
293
|
-
"path": "dist/
|
|
331
|
+
"path": "dist/Input.js",
|
|
294
332
|
"declarations": [
|
|
295
333
|
{
|
|
296
334
|
"kind": "class",
|
|
297
|
-
"description": "### Overview\n\nThe `ui5-ai-
|
|
298
|
-
"name": "
|
|
335
|
+
"description": "### Overview\n\nThe `ui5-ai-input` component extends the standard `ui5-input` with **AI Writing Assistant** capabilities.\n\n### Structure\n\nThe `ui5-ai-input` consists of the following main parts:\n\n- **Input Field** – Inherits all standard Input behaviors.\n- **AI Action Button** – Appears when focused or loading, providing access to AI-related actions or stopping generation.\n\nThe component automatically determines which elements to render based on its internal state:\n- The AI Button is only shown when there are available `actions`.\n- The version navigation appears only when `totalVersions > 1`.\n\n### Keyboard Support\n\n- **Shift + F4** — Opens the AI menu.\n- **Ctrl + Shift + Z / Y** — Navigates backward/forward between AI-generated versions.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/Input.js\";`",
|
|
336
|
+
"name": "Input",
|
|
299
337
|
"slots": [
|
|
338
|
+
{
|
|
339
|
+
"name": "actions",
|
|
340
|
+
"description": "Defines the items of the menu for the component."
|
|
341
|
+
},
|
|
300
342
|
{
|
|
301
343
|
"name": "default",
|
|
302
344
|
"description": "Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items."
|
|
303
345
|
},
|
|
346
|
+
{
|
|
347
|
+
"name": "icon",
|
|
348
|
+
"description": "Defines the icon to be displayed in the component."
|
|
349
|
+
},
|
|
304
350
|
{
|
|
305
351
|
"name": "valueStateMessage",
|
|
306
|
-
"description": "Defines the value state message that will be displayed as pop up under the component.\nThe value state message slot should contain only one root element.\n\n**Note:** If not specified, a default text (in the respective language) will be displayed.\n\n**Note:** The `valueStateMessage` would be displayed,\nwhen the component is in `Information`, `Critical` or `Negative` value state."
|
|
352
|
+
"description": "Defines the value state message that will be displayed as pop up under the component.\nThe value state message slot should contain only one root element.\n\n**Note:** If not specified, a default text (in the respective language) will be displayed.\n\n**Note:** The `valueStateMessage` would be displayed,\nwhen the component is in `Information`, `Critical` or `Negative` value state.\n\n**Note:** If the component has `suggestionItems`,\nthe `valueStateMessage` would be displayed as part of the same popover, if used on desktop, or dialog - on phone."
|
|
307
353
|
}
|
|
308
354
|
],
|
|
309
355
|
"members": [
|
|
310
356
|
{
|
|
311
357
|
"kind": "field",
|
|
312
|
-
"name": "
|
|
358
|
+
"name": "currentVersion",
|
|
313
359
|
"type": {
|
|
314
|
-
"text": "
|
|
360
|
+
"text": "number"
|
|
315
361
|
},
|
|
316
|
-
"default": "
|
|
317
|
-
"description": "
|
|
362
|
+
"default": "0",
|
|
363
|
+
"description": "Indicates the index of the currently displayed version.",
|
|
318
364
|
"privacy": "public"
|
|
319
365
|
},
|
|
320
366
|
{
|
|
321
367
|
"kind": "field",
|
|
322
|
-
"name": "
|
|
368
|
+
"name": "totalVersions",
|
|
323
369
|
"type": {
|
|
324
|
-
"text": "
|
|
370
|
+
"text": "number"
|
|
325
371
|
},
|
|
326
|
-
"
|
|
327
|
-
"
|
|
372
|
+
"default": "0",
|
|
373
|
+
"description": "Indicates the total number of result versions available.\n\nWhen not set or set to 0, the versioning will be hidden.",
|
|
328
374
|
"privacy": "public"
|
|
329
375
|
},
|
|
330
376
|
{
|
|
331
377
|
"kind": "field",
|
|
332
|
-
"name": "
|
|
378
|
+
"name": "loading",
|
|
333
379
|
"type": {
|
|
334
|
-
"text": "
|
|
380
|
+
"text": "boolean"
|
|
335
381
|
},
|
|
336
|
-
"
|
|
337
|
-
"
|
|
382
|
+
"default": "false",
|
|
383
|
+
"description": "Defines whether the AI Writing Assistant is currently loading.\n\nWhen `true`, indicates that an AI action is in progress.",
|
|
338
384
|
"privacy": "public"
|
|
339
385
|
},
|
|
340
386
|
{
|
|
341
387
|
"kind": "field",
|
|
342
|
-
"name": "
|
|
388
|
+
"name": "disabled",
|
|
343
389
|
"type": {
|
|
344
390
|
"text": "boolean"
|
|
345
391
|
},
|
|
346
392
|
"default": "false",
|
|
347
|
-
"description": "Defines whether the
|
|
393
|
+
"description": "Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.",
|
|
348
394
|
"privacy": "public"
|
|
349
395
|
},
|
|
350
396
|
{
|
|
351
397
|
"kind": "field",
|
|
352
|
-
"name": "
|
|
398
|
+
"name": "placeholder",
|
|
399
|
+
"type": {
|
|
400
|
+
"text": "string | undefined"
|
|
401
|
+
},
|
|
402
|
+
"description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
|
|
403
|
+
"default": "undefined",
|
|
404
|
+
"privacy": "public"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"kind": "field",
|
|
408
|
+
"name": "readonly",
|
|
353
409
|
"type": {
|
|
354
410
|
"text": "boolean"
|
|
355
411
|
},
|
|
356
412
|
"default": "false",
|
|
357
|
-
"description": "
|
|
413
|
+
"description": "Defines whether the component is read-only.\n\n**Note:** A read-only component is not editable,\nbut still provides visual feedback upon user interaction.",
|
|
358
414
|
"privacy": "public"
|
|
359
415
|
},
|
|
360
416
|
{
|
|
361
417
|
"kind": "field",
|
|
362
|
-
"name": "
|
|
418
|
+
"name": "required",
|
|
363
419
|
"type": {
|
|
364
420
|
"text": "boolean"
|
|
365
421
|
},
|
|
366
422
|
"default": "false",
|
|
367
|
-
"description": "Defines whether the component is
|
|
423
|
+
"description": "Defines whether the component is required.",
|
|
368
424
|
"privacy": "public"
|
|
369
425
|
},
|
|
370
426
|
{
|
|
371
427
|
"kind": "field",
|
|
372
|
-
"name": "
|
|
428
|
+
"name": "noTypeahead",
|
|
373
429
|
"type": {
|
|
374
430
|
"text": "boolean"
|
|
375
431
|
},
|
|
376
432
|
"default": "false",
|
|
377
|
-
"description": "Defines whether the
|
|
433
|
+
"description": "Defines whether the value will be autcompleted to match an item",
|
|
378
434
|
"privacy": "public"
|
|
379
435
|
},
|
|
380
436
|
{
|
|
381
437
|
"kind": "field",
|
|
382
|
-
"name": "
|
|
438
|
+
"name": "type",
|
|
383
439
|
"type": {
|
|
384
|
-
"text": "
|
|
440
|
+
"text": "InputType",
|
|
441
|
+
"references": [
|
|
442
|
+
{
|
|
443
|
+
"name": "InputType",
|
|
444
|
+
"package": "@ui5/webcomponents",
|
|
445
|
+
"module": "dist/types/InputType.js"
|
|
446
|
+
}
|
|
447
|
+
]
|
|
385
448
|
},
|
|
386
|
-
"
|
|
387
|
-
"
|
|
449
|
+
"default": "\"Text\"",
|
|
450
|
+
"description": "Defines the HTML type of the component.\n\n**Notes:**\n\n- The particular effect of this property differs depending on the browser\nand the current language settings, especially for type `Number`.\n- The property is mostly intended to be used with touch devices\nthat use different soft keyboard layouts depending on the given input type.",
|
|
451
|
+
"privacy": "public"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"kind": "field",
|
|
455
|
+
"name": "value",
|
|
456
|
+
"type": {
|
|
457
|
+
"text": "string"
|
|
458
|
+
},
|
|
459
|
+
"default": "\"\"",
|
|
460
|
+
"description": "Defines the value of the component.\n\n**Note:** The property is updated upon typing.",
|
|
388
461
|
"privacy": "public"
|
|
389
462
|
},
|
|
390
463
|
{
|
|
@@ -404,6 +477,16 @@
|
|
|
404
477
|
"description": "Defines the value state of the component.",
|
|
405
478
|
"privacy": "public"
|
|
406
479
|
},
|
|
480
|
+
{
|
|
481
|
+
"kind": "field",
|
|
482
|
+
"name": "name",
|
|
483
|
+
"type": {
|
|
484
|
+
"text": "string | undefined"
|
|
485
|
+
},
|
|
486
|
+
"description": "Determines the name by which the component will be identified upon submission in an HTML form.\n\n**Note:** This property is only applicable within the context of an HTML Form element.",
|
|
487
|
+
"default": "undefined",
|
|
488
|
+
"privacy": "public"
|
|
489
|
+
},
|
|
407
490
|
{
|
|
408
491
|
"kind": "field",
|
|
409
492
|
"name": "showSuggestions",
|
|
@@ -413,15 +496,144 @@
|
|
|
413
496
|
"default": "false",
|
|
414
497
|
"description": "Defines whether the component should show suggestions, if such are present.",
|
|
415
498
|
"privacy": "public"
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"kind": "field",
|
|
502
|
+
"name": "maxlength",
|
|
503
|
+
"type": {
|
|
504
|
+
"text": "number | undefined"
|
|
505
|
+
},
|
|
506
|
+
"description": "Sets the maximum number of characters available in the input field.\n\n**Note:** This property is not compatible with the ui5-input type InputType.Number. If the ui5-input type is set to Number, the maxlength value is ignored.",
|
|
507
|
+
"default": "undefined",
|
|
508
|
+
"privacy": "public"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"kind": "field",
|
|
512
|
+
"name": "accessibleName",
|
|
513
|
+
"type": {
|
|
514
|
+
"text": "string | undefined"
|
|
515
|
+
},
|
|
516
|
+
"description": "Defines the accessible ARIA name of the component.",
|
|
517
|
+
"default": "undefined",
|
|
518
|
+
"privacy": "public"
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"kind": "field",
|
|
522
|
+
"name": "accessibleNameRef",
|
|
523
|
+
"type": {
|
|
524
|
+
"text": "string | undefined"
|
|
525
|
+
},
|
|
526
|
+
"description": "Receives id(or many ids) of the elements that label the input.",
|
|
527
|
+
"default": "undefined",
|
|
528
|
+
"privacy": "public"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"kind": "field",
|
|
532
|
+
"name": "accessibleDescription",
|
|
533
|
+
"type": {
|
|
534
|
+
"text": "string | undefined"
|
|
535
|
+
},
|
|
536
|
+
"description": "Defines the accessible description of the component.",
|
|
537
|
+
"default": "undefined",
|
|
538
|
+
"privacy": "public"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"kind": "field",
|
|
542
|
+
"name": "accessibleDescriptionRef",
|
|
543
|
+
"type": {
|
|
544
|
+
"text": "string | undefined"
|
|
545
|
+
},
|
|
546
|
+
"description": "Receives id(or many ids) of the elements that describe the input.",
|
|
547
|
+
"default": "undefined",
|
|
548
|
+
"privacy": "public"
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"kind": "field",
|
|
552
|
+
"name": "showClearIcon",
|
|
553
|
+
"type": {
|
|
554
|
+
"text": "boolean"
|
|
555
|
+
},
|
|
556
|
+
"default": "false",
|
|
557
|
+
"description": "Defines whether the clear icon of the input will be shown.",
|
|
558
|
+
"privacy": "public"
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"kind": "field",
|
|
562
|
+
"name": "open",
|
|
563
|
+
"type": {
|
|
564
|
+
"text": "boolean"
|
|
565
|
+
},
|
|
566
|
+
"default": "false",
|
|
567
|
+
"description": "Defines whether the suggestions picker is open.\nThe picker will not open if the `showSuggestions` property is set to `false`, the input is disabled or the input is readonly.\nThe picker will close automatically and `close` event will be fired if the input is not in the viewport.",
|
|
568
|
+
"privacy": "public"
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"kind": "field",
|
|
572
|
+
"name": "filter",
|
|
573
|
+
"type": {
|
|
574
|
+
"text": "InputSuggestionsFilter",
|
|
575
|
+
"references": [
|
|
576
|
+
{
|
|
577
|
+
"name": "InputSuggestionsFilter",
|
|
578
|
+
"package": "@ui5/webcomponents",
|
|
579
|
+
"module": "dist/types/InputSuggestionsFilter.js"
|
|
580
|
+
}
|
|
581
|
+
]
|
|
582
|
+
},
|
|
583
|
+
"description": "Defines the filter type of the component.",
|
|
584
|
+
"default": "\"None\"",
|
|
585
|
+
"privacy": "public"
|
|
416
586
|
}
|
|
417
587
|
],
|
|
418
588
|
"events": [
|
|
419
589
|
{
|
|
420
|
-
"name": "
|
|
590
|
+
"name": "button-click",
|
|
421
591
|
"type": {
|
|
422
592
|
"text": "CustomEvent"
|
|
423
593
|
},
|
|
424
|
-
"description": "Fired when the
|
|
594
|
+
"description": "Fired when the user selects the AI button."
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"name": "item-click",
|
|
598
|
+
"type": {
|
|
599
|
+
"text": "CustomEvent<InputItemClickEventDetail>",
|
|
600
|
+
"references": [
|
|
601
|
+
{
|
|
602
|
+
"name": "InputItemClickEventDetail",
|
|
603
|
+
"package": "@ui5/webcomponents-ai",
|
|
604
|
+
"module": "dist/Input.js"
|
|
605
|
+
}
|
|
606
|
+
]
|
|
607
|
+
},
|
|
608
|
+
"description": "Fired when an item from the AI actions menu is clicked."
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"name": "stop-generation",
|
|
612
|
+
"type": {
|
|
613
|
+
"text": "CustomEvent"
|
|
614
|
+
},
|
|
615
|
+
"description": "Fired when the user selects the \"Stop\" button to stop ongoing AI text generation."
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"name": "version-change",
|
|
619
|
+
"type": {
|
|
620
|
+
"text": "CustomEvent<InputVersionChangeEventDetail>",
|
|
621
|
+
"references": [
|
|
622
|
+
{
|
|
623
|
+
"name": "InputVersionChangeEventDetail",
|
|
624
|
+
"package": "@ui5/webcomponents-ai",
|
|
625
|
+
"module": "dist/Input.js"
|
|
626
|
+
}
|
|
627
|
+
]
|
|
628
|
+
},
|
|
629
|
+
"description": "Fired when the user selects the version navigation buttons."
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"name": "change",
|
|
633
|
+
"type": {
|
|
634
|
+
"text": "CustomEvent"
|
|
635
|
+
},
|
|
636
|
+
"description": "Fired when the input operation has finished by pressing Enter or on focusout."
|
|
425
637
|
},
|
|
426
638
|
{
|
|
427
639
|
"name": "input",
|
|
@@ -431,55 +643,65 @@
|
|
|
431
643
|
"description": "Fired when the value of the component changes at each keystroke,\nand when a suggestion item has been selected."
|
|
432
644
|
},
|
|
433
645
|
{
|
|
434
|
-
"name": "
|
|
646
|
+
"name": "select",
|
|
435
647
|
"type": {
|
|
436
648
|
"text": "CustomEvent"
|
|
437
649
|
},
|
|
438
|
-
"description": "Fired when
|
|
439
|
-
}
|
|
440
|
-
],
|
|
441
|
-
"attributes": [
|
|
650
|
+
"description": "Fired when some text has been selected."
|
|
651
|
+
},
|
|
442
652
|
{
|
|
443
|
-
"
|
|
444
|
-
"name": "value",
|
|
445
|
-
"default": "\"\"",
|
|
446
|
-
"fieldName": "value",
|
|
653
|
+
"name": "selection-change",
|
|
447
654
|
"type": {
|
|
448
|
-
"text": "
|
|
449
|
-
|
|
655
|
+
"text": "CustomEvent<InputSelectionChangeEventDetail>",
|
|
656
|
+
"references": [
|
|
657
|
+
{
|
|
658
|
+
"name": "InputSelectionChangeEventDetail",
|
|
659
|
+
"package": "@ui5/webcomponents",
|
|
660
|
+
"module": "dist/Input.js"
|
|
661
|
+
}
|
|
662
|
+
]
|
|
663
|
+
},
|
|
664
|
+
"description": "Fired when the user navigates to a suggestion item via the ARROW keys,\nas a preview, before the final selection."
|
|
450
665
|
},
|
|
451
666
|
{
|
|
452
|
-
"
|
|
453
|
-
"name": "placeholder",
|
|
454
|
-
"default": "undefined",
|
|
455
|
-
"fieldName": "placeholder",
|
|
667
|
+
"name": "open",
|
|
456
668
|
"type": {
|
|
457
|
-
"text": "
|
|
458
|
-
}
|
|
669
|
+
"text": "CustomEvent"
|
|
670
|
+
},
|
|
671
|
+
"description": "Fired when the suggestions picker is open."
|
|
459
672
|
},
|
|
460
673
|
{
|
|
461
|
-
"
|
|
462
|
-
"name": "label",
|
|
463
|
-
"default": "undefined",
|
|
464
|
-
"fieldName": "label",
|
|
674
|
+
"name": "close",
|
|
465
675
|
"type": {
|
|
466
|
-
"text": "
|
|
676
|
+
"text": "CustomEvent"
|
|
677
|
+
},
|
|
678
|
+
"description": "Fired when the suggestions picker is closed."
|
|
679
|
+
}
|
|
680
|
+
],
|
|
681
|
+
"attributes": [
|
|
682
|
+
{
|
|
683
|
+
"description": "Indicates the index of the currently displayed version.",
|
|
684
|
+
"name": "current-version",
|
|
685
|
+
"default": "0",
|
|
686
|
+
"fieldName": "currentVersion",
|
|
687
|
+
"type": {
|
|
688
|
+
"text": "number"
|
|
467
689
|
}
|
|
468
690
|
},
|
|
469
691
|
{
|
|
470
|
-
"description": "
|
|
471
|
-
"name": "
|
|
472
|
-
"default": "
|
|
473
|
-
"fieldName": "
|
|
692
|
+
"description": "Indicates the total number of result versions available.\n\nWhen not set or set to 0, the versioning will be hidden.",
|
|
693
|
+
"name": "total-versions",
|
|
694
|
+
"default": "0",
|
|
695
|
+
"fieldName": "totalVersions",
|
|
474
696
|
"type": {
|
|
475
|
-
"text": "
|
|
697
|
+
"text": "number"
|
|
476
698
|
}
|
|
477
699
|
},
|
|
478
700
|
{
|
|
479
|
-
"description": "
|
|
480
|
-
"name": "
|
|
701
|
+
"description": "Defines whether the AI Writing Assistant is currently loading.\n\nWhen `true`, indicates that an AI action is in progress.",
|
|
702
|
+
"name": "loading",
|
|
481
703
|
"default": "false",
|
|
482
|
-
"fieldName": "
|
|
704
|
+
"fieldName": "loading",
|
|
483
705
|
"type": {
|
|
484
706
|
"text": "boolean"
|
|
485
707
|
}
|
|
@@ -493,6 +715,15 @@
|
|
|
493
715
|
"text": "boolean"
|
|
494
716
|
}
|
|
495
717
|
},
|
|
718
|
+
{
|
|
719
|
+
"description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
|
|
720
|
+
"name": "placeholder",
|
|
721
|
+
"default": "undefined",
|
|
722
|
+
"fieldName": "placeholder",
|
|
723
|
+
"type": {
|
|
724
|
+
"text": "string | undefined"
|
|
725
|
+
}
|
|
726
|
+
},
|
|
496
727
|
{
|
|
497
728
|
"description": "Defines whether the component is read-only.\n\n**Note:** A read-only component is not editable,\nbut still provides visual feedback upon user interaction.",
|
|
498
729
|
"name": "readonly",
|
|
@@ -503,12 +734,39 @@
|
|
|
503
734
|
}
|
|
504
735
|
},
|
|
505
736
|
{
|
|
506
|
-
"description": "
|
|
507
|
-
"name": "
|
|
508
|
-
"default": "
|
|
509
|
-
"fieldName": "
|
|
737
|
+
"description": "Defines whether the component is required.",
|
|
738
|
+
"name": "required",
|
|
739
|
+
"default": "false",
|
|
740
|
+
"fieldName": "required",
|
|
510
741
|
"type": {
|
|
511
|
-
"text": "
|
|
742
|
+
"text": "boolean"
|
|
743
|
+
}
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"description": "Defines whether the value will be autcompleted to match an item",
|
|
747
|
+
"name": "no-typeahead",
|
|
748
|
+
"default": "false",
|
|
749
|
+
"fieldName": "noTypeahead",
|
|
750
|
+
"type": {
|
|
751
|
+
"text": "boolean"
|
|
752
|
+
}
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"description": "Defines the HTML type of the component.\n\n**Notes:**\n\n- The particular effect of this property differs depending on the browser\nand the current language settings, especially for type `Number`.\n- The property is mostly intended to be used with touch devices\nthat use different soft keyboard layouts depending on the given input type.",
|
|
756
|
+
"name": "type",
|
|
757
|
+
"default": "\"Text\"",
|
|
758
|
+
"fieldName": "type",
|
|
759
|
+
"type": {
|
|
760
|
+
"text": "\"Text\" | \"Email\" | \"Number\" | \"Password\" | \"Tel\" | \"URL\" | \"Search\""
|
|
761
|
+
}
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
"description": "Defines the value of the component.\n\n**Note:** The property is updated upon typing.",
|
|
765
|
+
"name": "value",
|
|
766
|
+
"default": "\"\"",
|
|
767
|
+
"fieldName": "value",
|
|
768
|
+
"type": {
|
|
769
|
+
"text": "string"
|
|
512
770
|
}
|
|
513
771
|
},
|
|
514
772
|
{
|
|
@@ -517,7 +775,16 @@
|
|
|
517
775
|
"default": "\"None\"",
|
|
518
776
|
"fieldName": "valueState",
|
|
519
777
|
"type": {
|
|
520
|
-
"text": "\"
|
|
778
|
+
"text": "\"None\" | \"Positive\" | \"Critical\" | \"Negative\" | \"Information\""
|
|
779
|
+
}
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
"description": "Determines the name by which the component will be identified upon submission in an HTML form.\n\n**Note:** This property is only applicable within the context of an HTML Form element.",
|
|
783
|
+
"name": "name",
|
|
784
|
+
"default": "undefined",
|
|
785
|
+
"fieldName": "name",
|
|
786
|
+
"type": {
|
|
787
|
+
"text": "string | undefined"
|
|
521
788
|
}
|
|
522
789
|
},
|
|
523
790
|
{
|
|
@@ -528,15 +795,101 @@
|
|
|
528
795
|
"type": {
|
|
529
796
|
"text": "boolean"
|
|
530
797
|
}
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"description": "Sets the maximum number of characters available in the input field.\n\n**Note:** This property is not compatible with the ui5-input type InputType.Number. If the ui5-input type is set to Number, the maxlength value is ignored.",
|
|
801
|
+
"name": "maxlength",
|
|
802
|
+
"default": "undefined",
|
|
803
|
+
"fieldName": "maxlength",
|
|
804
|
+
"type": {
|
|
805
|
+
"text": "number | undefined"
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"description": "Defines the accessible ARIA name of the component.",
|
|
810
|
+
"name": "accessible-name",
|
|
811
|
+
"default": "undefined",
|
|
812
|
+
"fieldName": "accessibleName",
|
|
813
|
+
"type": {
|
|
814
|
+
"text": "string | undefined"
|
|
815
|
+
}
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
"description": "Receives id(or many ids) of the elements that label the input.",
|
|
819
|
+
"name": "accessible-name-ref",
|
|
820
|
+
"default": "undefined",
|
|
821
|
+
"fieldName": "accessibleNameRef",
|
|
822
|
+
"type": {
|
|
823
|
+
"text": "string | undefined"
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"description": "Defines the accessible description of the component.",
|
|
828
|
+
"name": "accessible-description",
|
|
829
|
+
"default": "undefined",
|
|
830
|
+
"fieldName": "accessibleDescription",
|
|
831
|
+
"type": {
|
|
832
|
+
"text": "string | undefined"
|
|
833
|
+
}
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"description": "Receives id(or many ids) of the elements that describe the input.",
|
|
837
|
+
"name": "accessible-description-ref",
|
|
838
|
+
"default": "undefined",
|
|
839
|
+
"fieldName": "accessibleDescriptionRef",
|
|
840
|
+
"type": {
|
|
841
|
+
"text": "string | undefined"
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
"description": "Defines whether the clear icon of the input will be shown.",
|
|
846
|
+
"name": "show-clear-icon",
|
|
847
|
+
"default": "false",
|
|
848
|
+
"fieldName": "showClearIcon",
|
|
849
|
+
"type": {
|
|
850
|
+
"text": "boolean"
|
|
851
|
+
}
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
"description": "Defines whether the suggestions picker is open.\nThe picker will not open if the `showSuggestions` property is set to `false`, the input is disabled or the input is readonly.\nThe picker will close automatically and `close` event will be fired if the input is not in the viewport.",
|
|
855
|
+
"name": "open",
|
|
856
|
+
"default": "false",
|
|
857
|
+
"fieldName": "open",
|
|
858
|
+
"type": {
|
|
859
|
+
"text": "boolean"
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"description": "Defines the filter type of the component.",
|
|
864
|
+
"name": "filter",
|
|
865
|
+
"default": "\"None\"",
|
|
866
|
+
"fieldName": "filter",
|
|
867
|
+
"type": {
|
|
868
|
+
"text": "\"None\" | \"StartsWithPerTerm\" | \"StartsWith\" | \"Contains\""
|
|
869
|
+
}
|
|
531
870
|
}
|
|
532
871
|
],
|
|
533
872
|
"superclass": {
|
|
534
|
-
"name": "
|
|
535
|
-
"package": "@ui5/webcomponents
|
|
536
|
-
"module": "dist/
|
|
873
|
+
"name": "Input",
|
|
874
|
+
"package": "@ui5/webcomponents",
|
|
875
|
+
"module": "dist/Input.js"
|
|
537
876
|
},
|
|
538
|
-
"tagName": "ui5-ai-
|
|
539
|
-
"customElement": true
|
|
877
|
+
"tagName": "ui5-ai-input",
|
|
878
|
+
"customElement": true,
|
|
879
|
+
"cssParts": [
|
|
880
|
+
{
|
|
881
|
+
"description": "Used to style the root DOM element of the Input component",
|
|
882
|
+
"name": "root"
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"description": "Used to style the native input element",
|
|
886
|
+
"name": "input"
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
"description": "Used to style the clear icon, which can be pressed to clear user input text",
|
|
890
|
+
"name": "clear-icon"
|
|
891
|
+
}
|
|
892
|
+
]
|
|
540
893
|
}
|
|
541
894
|
],
|
|
542
895
|
"exports": [
|
|
@@ -544,16 +897,1194 @@
|
|
|
544
897
|
"kind": "js",
|
|
545
898
|
"name": "default",
|
|
546
899
|
"declaration": {
|
|
547
|
-
"name": "
|
|
548
|
-
"module": "dist/
|
|
900
|
+
"name": "Input",
|
|
901
|
+
"module": "dist/Input.js"
|
|
549
902
|
}
|
|
550
903
|
},
|
|
551
904
|
{
|
|
552
905
|
"kind": "custom-element-definition",
|
|
553
|
-
"name": "ui5-ai-
|
|
906
|
+
"name": "ui5-ai-input",
|
|
554
907
|
"declaration": {
|
|
555
|
-
"name": "
|
|
556
|
-
"module": "dist/
|
|
908
|
+
"name": "Input",
|
|
909
|
+
"module": "dist/Input.js"
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
]
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
"kind": "javascript-module",
|
|
916
|
+
"path": "dist/PromptInput.js",
|
|
917
|
+
"declarations": [
|
|
918
|
+
{
|
|
919
|
+
"kind": "class",
|
|
920
|
+
"description": "### Overview\n\nThe `ui5-ai-prompt-input` component allows the user to write custom instructions in natural language, so that AI is guided to generate content tailored to user needs.\n\n**Note:** The web component is in an experimental state\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/PromptInput.js\"`",
|
|
921
|
+
"name": "PromptInput",
|
|
922
|
+
"slots": [
|
|
923
|
+
{
|
|
924
|
+
"name": "default",
|
|
925
|
+
"description": "Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items."
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"name": "valueStateMessage",
|
|
929
|
+
"description": "Defines the value state message that will be displayed as pop up under the component.\nThe value state message slot should contain only one root element.\n\n**Note:** If not specified, a default text (in the respective language) will be displayed.\n\n**Note:** The `valueStateMessage` would be displayed,\nwhen the component is in `Information`, `Critical` or `Negative` value state."
|
|
930
|
+
}
|
|
931
|
+
],
|
|
932
|
+
"members": [
|
|
933
|
+
{
|
|
934
|
+
"kind": "field",
|
|
935
|
+
"name": "value",
|
|
936
|
+
"type": {
|
|
937
|
+
"text": "string"
|
|
938
|
+
},
|
|
939
|
+
"default": "\"\"",
|
|
940
|
+
"description": "Defines the value of the component.",
|
|
941
|
+
"privacy": "public"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"kind": "field",
|
|
945
|
+
"name": "placeholder",
|
|
946
|
+
"type": {
|
|
947
|
+
"text": "string | undefined"
|
|
948
|
+
},
|
|
949
|
+
"description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
|
|
950
|
+
"default": "undefined",
|
|
951
|
+
"privacy": "public"
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"kind": "field",
|
|
955
|
+
"name": "label",
|
|
956
|
+
"type": {
|
|
957
|
+
"text": "string | undefined"
|
|
958
|
+
},
|
|
959
|
+
"description": "Defines the label of the input field.",
|
|
960
|
+
"default": "undefined",
|
|
961
|
+
"privacy": "public"
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
"kind": "field",
|
|
965
|
+
"name": "showClearIcon",
|
|
966
|
+
"type": {
|
|
967
|
+
"text": "boolean"
|
|
968
|
+
},
|
|
969
|
+
"default": "false",
|
|
970
|
+
"description": "Defines whether the clear icon of the input will be shown.",
|
|
971
|
+
"privacy": "public"
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
"kind": "field",
|
|
975
|
+
"name": "showExceededText",
|
|
976
|
+
"type": {
|
|
977
|
+
"text": "boolean"
|
|
978
|
+
},
|
|
979
|
+
"default": "false",
|
|
980
|
+
"description": "Determines whether the characters exceeding the maximum allowed character count are visible\nin the component.\n\nIf set to `false`, the user is not allowed to enter more characters than what is set in the\n`maxlength` property.\nIf set to `true` the characters exceeding the `maxlength` value are selected on\npaste and the counter below the component displays their number.",
|
|
981
|
+
"privacy": "public"
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"kind": "field",
|
|
985
|
+
"name": "disabled",
|
|
986
|
+
"type": {
|
|
987
|
+
"text": "boolean"
|
|
988
|
+
},
|
|
989
|
+
"default": "false",
|
|
990
|
+
"description": "Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.",
|
|
991
|
+
"privacy": "public"
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
"kind": "field",
|
|
995
|
+
"name": "readonly",
|
|
996
|
+
"type": {
|
|
997
|
+
"text": "boolean"
|
|
998
|
+
},
|
|
999
|
+
"default": "false",
|
|
1000
|
+
"description": "Defines whether the component is read-only.\n\n**Note:** A read-only component is not editable,\nbut still provides visual feedback upon user interaction.",
|
|
1001
|
+
"privacy": "public"
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
"kind": "field",
|
|
1005
|
+
"name": "maxlength",
|
|
1006
|
+
"type": {
|
|
1007
|
+
"text": "number | undefined"
|
|
1008
|
+
},
|
|
1009
|
+
"description": "Sets the maximum number of characters available in the input field.",
|
|
1010
|
+
"default": "undefined",
|
|
1011
|
+
"privacy": "public"
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
"kind": "field",
|
|
1015
|
+
"name": "valueState",
|
|
1016
|
+
"type": {
|
|
1017
|
+
"text": "ValueState",
|
|
1018
|
+
"references": [
|
|
1019
|
+
{
|
|
1020
|
+
"name": "ValueState",
|
|
1021
|
+
"package": "@ui5/webcomponents-base",
|
|
1022
|
+
"module": "dist/types/ValueState.js"
|
|
1023
|
+
}
|
|
1024
|
+
]
|
|
1025
|
+
},
|
|
1026
|
+
"default": "\"None\"",
|
|
1027
|
+
"description": "Defines the value state of the component.",
|
|
1028
|
+
"privacy": "public"
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
"kind": "field",
|
|
1032
|
+
"name": "showSuggestions",
|
|
1033
|
+
"type": {
|
|
1034
|
+
"text": "boolean"
|
|
1035
|
+
},
|
|
1036
|
+
"default": "false",
|
|
1037
|
+
"description": "Defines whether the component should show suggestions, if such are present.",
|
|
1038
|
+
"privacy": "public"
|
|
1039
|
+
}
|
|
1040
|
+
],
|
|
1041
|
+
"events": [
|
|
1042
|
+
{
|
|
1043
|
+
"name": "submit",
|
|
1044
|
+
"type": {
|
|
1045
|
+
"text": "CustomEvent"
|
|
1046
|
+
},
|
|
1047
|
+
"description": "Fired when the input operation has finished by pressing Enter\nor AI button is clicked."
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"name": "input",
|
|
1051
|
+
"type": {
|
|
1052
|
+
"text": "CustomEvent"
|
|
1053
|
+
},
|
|
1054
|
+
"description": "Fired when the value of the component changes at each keystroke,\nand when a suggestion item has been selected."
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
"name": "change",
|
|
1058
|
+
"type": {
|
|
1059
|
+
"text": "CustomEvent"
|
|
1060
|
+
},
|
|
1061
|
+
"description": "Fired when the input operation has finished by pressing Enter\nor on focusout."
|
|
1062
|
+
}
|
|
1063
|
+
],
|
|
1064
|
+
"attributes": [
|
|
1065
|
+
{
|
|
1066
|
+
"description": "Defines the value of the component.",
|
|
1067
|
+
"name": "value",
|
|
1068
|
+
"default": "\"\"",
|
|
1069
|
+
"fieldName": "value",
|
|
1070
|
+
"type": {
|
|
1071
|
+
"text": "string"
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
|
|
1076
|
+
"name": "placeholder",
|
|
1077
|
+
"default": "undefined",
|
|
1078
|
+
"fieldName": "placeholder",
|
|
1079
|
+
"type": {
|
|
1080
|
+
"text": "string | undefined"
|
|
1081
|
+
}
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"description": "Defines the label of the input field.",
|
|
1085
|
+
"name": "label",
|
|
1086
|
+
"default": "undefined",
|
|
1087
|
+
"fieldName": "label",
|
|
1088
|
+
"type": {
|
|
1089
|
+
"text": "string | undefined"
|
|
1090
|
+
}
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
"description": "Defines whether the clear icon of the input will be shown.",
|
|
1094
|
+
"name": "show-clear-icon",
|
|
1095
|
+
"default": "false",
|
|
1096
|
+
"fieldName": "showClearIcon",
|
|
1097
|
+
"type": {
|
|
1098
|
+
"text": "boolean"
|
|
1099
|
+
}
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"description": "Determines whether the characters exceeding the maximum allowed character count are visible\nin the component.\n\nIf set to `false`, the user is not allowed to enter more characters than what is set in the\n`maxlength` property.\nIf set to `true` the characters exceeding the `maxlength` value are selected on\npaste and the counter below the component displays their number.",
|
|
1103
|
+
"name": "show-exceeded-text",
|
|
1104
|
+
"default": "false",
|
|
1105
|
+
"fieldName": "showExceededText",
|
|
1106
|
+
"type": {
|
|
1107
|
+
"text": "boolean"
|
|
1108
|
+
}
|
|
1109
|
+
},
|
|
1110
|
+
{
|
|
1111
|
+
"description": "Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.",
|
|
1112
|
+
"name": "disabled",
|
|
1113
|
+
"default": "false",
|
|
1114
|
+
"fieldName": "disabled",
|
|
1115
|
+
"type": {
|
|
1116
|
+
"text": "boolean"
|
|
1117
|
+
}
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"description": "Defines whether the component is read-only.\n\n**Note:** A read-only component is not editable,\nbut still provides visual feedback upon user interaction.",
|
|
1121
|
+
"name": "readonly",
|
|
1122
|
+
"default": "false",
|
|
1123
|
+
"fieldName": "readonly",
|
|
1124
|
+
"type": {
|
|
1125
|
+
"text": "boolean"
|
|
1126
|
+
}
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
"description": "Sets the maximum number of characters available in the input field.",
|
|
1130
|
+
"name": "maxlength",
|
|
1131
|
+
"default": "undefined",
|
|
1132
|
+
"fieldName": "maxlength",
|
|
1133
|
+
"type": {
|
|
1134
|
+
"text": "number | undefined"
|
|
1135
|
+
}
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
"description": "Defines the value state of the component.",
|
|
1139
|
+
"name": "value-state",
|
|
1140
|
+
"default": "\"None\"",
|
|
1141
|
+
"fieldName": "valueState",
|
|
1142
|
+
"type": {
|
|
1143
|
+
"text": "\"Positive\" | \"Negative\" | \"None\" | \"Critical\" | \"Information\""
|
|
1144
|
+
}
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"description": "Defines whether the component should show suggestions, if such are present.",
|
|
1148
|
+
"name": "show-suggestions",
|
|
1149
|
+
"default": "false",
|
|
1150
|
+
"fieldName": "showSuggestions",
|
|
1151
|
+
"type": {
|
|
1152
|
+
"text": "boolean"
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
],
|
|
1156
|
+
"superclass": {
|
|
1157
|
+
"name": "UI5Element",
|
|
1158
|
+
"package": "@ui5/webcomponents-base",
|
|
1159
|
+
"module": "dist/UI5Element.js"
|
|
1160
|
+
},
|
|
1161
|
+
"tagName": "ui5-ai-prompt-input",
|
|
1162
|
+
"customElement": true
|
|
1163
|
+
}
|
|
1164
|
+
],
|
|
1165
|
+
"exports": [
|
|
1166
|
+
{
|
|
1167
|
+
"kind": "js",
|
|
1168
|
+
"name": "default",
|
|
1169
|
+
"declaration": {
|
|
1170
|
+
"name": "PromptInput",
|
|
1171
|
+
"module": "dist/PromptInput.js"
|
|
1172
|
+
}
|
|
1173
|
+
},
|
|
1174
|
+
{
|
|
1175
|
+
"kind": "custom-element-definition",
|
|
1176
|
+
"name": "ui5-ai-prompt-input",
|
|
1177
|
+
"declaration": {
|
|
1178
|
+
"name": "PromptInput",
|
|
1179
|
+
"module": "dist/PromptInput.js"
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
]
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"kind": "javascript-module",
|
|
1186
|
+
"path": "dist/TextArea.js",
|
|
1187
|
+
"declarations": [
|
|
1188
|
+
{
|
|
1189
|
+
"kind": "class",
|
|
1190
|
+
"description": "### Overview\n\nThe `ui5-ai-textarea` component extends the standard TextArea with Writing Assistant capabilities.\nIt provides AI-powered text generation, editing suggestions, and version management functionality.\n\n### Structure\nThe `ui5-ai-textarea` consists of the following elements:\n- TextArea: The main text input area with all standard textarea functionality\n- WritingAssistant: Dedicated toolbar containing:\n - Versioning: A component with left/right navigation buttons and a label for browsing AI-generated versions\n - AI Button: Opens a menu that can be extended with custom AI generation options through slotting\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/TextArea.js\";`",
|
|
1191
|
+
"name": "TextArea",
|
|
1192
|
+
"slots": [
|
|
1193
|
+
{
|
|
1194
|
+
"description": "Defines a slot for `ui5-menu` integration. This slot allows you to pass a `ui5-menu` instance that will be associated with the assistant.",
|
|
1195
|
+
"name": "menu"
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
"name": "valueStateMessage",
|
|
1199
|
+
"description": "Defines the value state message that will be displayed as pop up under the component.\nThe value state message slot should contain only one root element.\n \n**Note:** If not specified, a default text (in the respective language) will be displayed.\n\n**Note:** The `valueStateMessage` would be displayed if the component has\n`valueState` of type `Information`, `Critical` or `Negative`."
|
|
1200
|
+
}
|
|
1201
|
+
],
|
|
1202
|
+
"members": [
|
|
1203
|
+
{
|
|
1204
|
+
"kind": "field",
|
|
1205
|
+
"name": "loading",
|
|
1206
|
+
"type": {
|
|
1207
|
+
"text": "boolean"
|
|
1208
|
+
},
|
|
1209
|
+
"default": "false",
|
|
1210
|
+
"description": "Defines whether the `ui5-ai-textarea` is currently in a loading(processing) state.",
|
|
1211
|
+
"privacy": "public"
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
"kind": "field",
|
|
1215
|
+
"name": "promptDescription",
|
|
1216
|
+
"type": {
|
|
1217
|
+
"text": "string"
|
|
1218
|
+
},
|
|
1219
|
+
"default": "\"\"",
|
|
1220
|
+
"description": "Defines the prompt description of the current action.",
|
|
1221
|
+
"privacy": "public"
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
"kind": "field",
|
|
1225
|
+
"name": "currentVersion",
|
|
1226
|
+
"type": {
|
|
1227
|
+
"text": "number"
|
|
1228
|
+
},
|
|
1229
|
+
"default": "0",
|
|
1230
|
+
"description": "Indicates the index of the currently displayed version.",
|
|
1231
|
+
"privacy": "public"
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
"kind": "field",
|
|
1235
|
+
"name": "totalVersions",
|
|
1236
|
+
"type": {
|
|
1237
|
+
"text": "number"
|
|
1238
|
+
},
|
|
1239
|
+
"default": "0",
|
|
1240
|
+
"description": "Indicates the total number of result versions available.\n\nNotes:\nVersioning is hidden if the value is `0`",
|
|
1241
|
+
"privacy": "public"
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
"kind": "field",
|
|
1245
|
+
"name": "value",
|
|
1246
|
+
"type": {
|
|
1247
|
+
"text": "string"
|
|
1248
|
+
},
|
|
1249
|
+
"default": "\"\"",
|
|
1250
|
+
"description": "Defines the value of the component.",
|
|
1251
|
+
"privacy": "public"
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
"kind": "field",
|
|
1255
|
+
"name": "disabled",
|
|
1256
|
+
"type": {
|
|
1257
|
+
"text": "boolean"
|
|
1258
|
+
},
|
|
1259
|
+
"default": "false",
|
|
1260
|
+
"description": "Indicates whether the user can interact with the component or not.\n\n**Note:** A disabled component is completely noninteractive.",
|
|
1261
|
+
"privacy": "public"
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
"kind": "field",
|
|
1265
|
+
"name": "readonly",
|
|
1266
|
+
"type": {
|
|
1267
|
+
"text": "boolean"
|
|
1268
|
+
},
|
|
1269
|
+
"default": "false",
|
|
1270
|
+
"description": "Defines whether the component is read-only.\n\n**Note:** A read-only component is not editable,\nbut still provides visual feedback upon user interaction.",
|
|
1271
|
+
"privacy": "public"
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
"kind": "field",
|
|
1275
|
+
"name": "required",
|
|
1276
|
+
"type": {
|
|
1277
|
+
"text": "boolean"
|
|
1278
|
+
},
|
|
1279
|
+
"default": "false",
|
|
1280
|
+
"description": "Defines whether the component is required.",
|
|
1281
|
+
"privacy": "public"
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
"kind": "field",
|
|
1285
|
+
"name": "placeholder",
|
|
1286
|
+
"type": {
|
|
1287
|
+
"text": "string | undefined"
|
|
1288
|
+
},
|
|
1289
|
+
"description": "Defines a short hint intended to aid the user with data entry when the component has no value.",
|
|
1290
|
+
"default": "undefined",
|
|
1291
|
+
"privacy": "public"
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
"kind": "field",
|
|
1295
|
+
"name": "valueState",
|
|
1296
|
+
"type": {
|
|
1297
|
+
"text": "ValueState",
|
|
1298
|
+
"references": [
|
|
1299
|
+
{
|
|
1300
|
+
"name": "ValueState",
|
|
1301
|
+
"package": "@ui5/webcomponents-base",
|
|
1302
|
+
"module": "dist/types/ValueState.js"
|
|
1303
|
+
}
|
|
1304
|
+
]
|
|
1305
|
+
},
|
|
1306
|
+
"default": "\"None\"",
|
|
1307
|
+
"description": "Defines the value state of the component.\n\n**Note:** If `maxlength` property is set,\nthe component turns into \"Critical\" state once the characters exceeds the limit.\nIn this case, only the \"Negative\" state is considered and can be applied.",
|
|
1308
|
+
"privacy": "public"
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
"kind": "field",
|
|
1312
|
+
"name": "rows",
|
|
1313
|
+
"type": {
|
|
1314
|
+
"text": "number"
|
|
1315
|
+
},
|
|
1316
|
+
"default": "0",
|
|
1317
|
+
"description": "Defines the number of visible text rows for the component.\n\n**Notes:**\n\n- If the `growing` property is enabled, this property defines the minimum rows to be displayed\nin the textarea.\n- The CSS `height` property wins over the `rows` property, if both are set.",
|
|
1318
|
+
"privacy": "public"
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
"kind": "field",
|
|
1322
|
+
"name": "maxlength",
|
|
1323
|
+
"type": {
|
|
1324
|
+
"text": "number | undefined"
|
|
1325
|
+
},
|
|
1326
|
+
"description": "Defines the maximum number of characters that the `value` can have.",
|
|
1327
|
+
"default": "undefined",
|
|
1328
|
+
"privacy": "public"
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
"kind": "field",
|
|
1332
|
+
"name": "showExceededText",
|
|
1333
|
+
"type": {
|
|
1334
|
+
"text": "boolean"
|
|
1335
|
+
},
|
|
1336
|
+
"default": "false",
|
|
1337
|
+
"description": "Determines whether the characters exceeding the maximum allowed character count are visible\nin the component.\n\nIf set to `false`, the user is not allowed to enter more characters than what is set in the\n`maxlength` property.\nIf set to `true` the characters exceeding the `maxlength` value are selected on\npaste and the counter below the component displays their number.",
|
|
1338
|
+
"privacy": "public"
|
|
1339
|
+
},
|
|
1340
|
+
{
|
|
1341
|
+
"kind": "field",
|
|
1342
|
+
"name": "growing",
|
|
1343
|
+
"type": {
|
|
1344
|
+
"text": "boolean"
|
|
1345
|
+
},
|
|
1346
|
+
"default": "false",
|
|
1347
|
+
"description": "Enables the component to automatically grow and shrink dynamically with its content.",
|
|
1348
|
+
"privacy": "public"
|
|
1349
|
+
},
|
|
1350
|
+
{
|
|
1351
|
+
"kind": "field",
|
|
1352
|
+
"name": "growingMaxRows",
|
|
1353
|
+
"type": {
|
|
1354
|
+
"text": "number"
|
|
1355
|
+
},
|
|
1356
|
+
"default": "0",
|
|
1357
|
+
"description": "Defines the maximum number of rows that the component can grow.",
|
|
1358
|
+
"privacy": "public"
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
"kind": "field",
|
|
1362
|
+
"name": "name",
|
|
1363
|
+
"type": {
|
|
1364
|
+
"text": "string | undefined"
|
|
1365
|
+
},
|
|
1366
|
+
"description": "Determines the name by which the component will be identified upon submission in an HTML form.\n\n**Note:** This property is only applicable within the context of an HTML Form element.",
|
|
1367
|
+
"default": "undefined",
|
|
1368
|
+
"privacy": "public"
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
"kind": "field",
|
|
1372
|
+
"name": "accessibleName",
|
|
1373
|
+
"type": {
|
|
1374
|
+
"text": "string | undefined"
|
|
1375
|
+
},
|
|
1376
|
+
"description": "Defines the accessible ARIA name of the component.",
|
|
1377
|
+
"default": "undefined",
|
|
1378
|
+
"privacy": "public"
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
"kind": "field",
|
|
1382
|
+
"name": "accessibleNameRef",
|
|
1383
|
+
"type": {
|
|
1384
|
+
"text": "string | undefined"
|
|
1385
|
+
},
|
|
1386
|
+
"description": "Receives id(or many ids) of the elements that label the textarea.",
|
|
1387
|
+
"default": "undefined",
|
|
1388
|
+
"privacy": "public"
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
"kind": "field",
|
|
1392
|
+
"name": "accessibleDescription",
|
|
1393
|
+
"type": {
|
|
1394
|
+
"text": "string | undefined"
|
|
1395
|
+
},
|
|
1396
|
+
"description": "Defines the accessible description of the component.",
|
|
1397
|
+
"default": "undefined",
|
|
1398
|
+
"privacy": "public"
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
"kind": "field",
|
|
1402
|
+
"name": "accessibleDescriptionRef",
|
|
1403
|
+
"type": {
|
|
1404
|
+
"text": "string | undefined"
|
|
1405
|
+
},
|
|
1406
|
+
"description": "Receives id(or many ids) of the elements that describe the textarea.",
|
|
1407
|
+
"default": "undefined",
|
|
1408
|
+
"privacy": "public"
|
|
1409
|
+
}
|
|
1410
|
+
],
|
|
1411
|
+
"events": [
|
|
1412
|
+
{
|
|
1413
|
+
"name": "version-change",
|
|
1414
|
+
"type": {
|
|
1415
|
+
"text": "CustomEvent<TextAreaVersionChangeEventDetail>",
|
|
1416
|
+
"references": [
|
|
1417
|
+
{
|
|
1418
|
+
"name": "TextAreaVersionChangeEventDetail",
|
|
1419
|
+
"package": "@ui5/webcomponents-ai",
|
|
1420
|
+
"module": "dist/TextArea.js"
|
|
1421
|
+
}
|
|
1422
|
+
]
|
|
1423
|
+
},
|
|
1424
|
+
"description": "Fired when the user clicks on version navigation buttons."
|
|
1425
|
+
},
|
|
1426
|
+
{
|
|
1427
|
+
"name": "stop-generation",
|
|
1428
|
+
"type": {
|
|
1429
|
+
"text": "CustomEvent"
|
|
1430
|
+
},
|
|
1431
|
+
"description": "Fired when the user requests to stop AI text generation."
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
"name": "change",
|
|
1435
|
+
"type": {
|
|
1436
|
+
"text": "CustomEvent"
|
|
1437
|
+
},
|
|
1438
|
+
"description": "Fired when the text has changed and the focus leaves the component."
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
"name": "input",
|
|
1442
|
+
"type": {
|
|
1443
|
+
"text": "CustomEvent<TextAreaInputEventDetail>",
|
|
1444
|
+
"references": [
|
|
1445
|
+
{
|
|
1446
|
+
"name": "TextAreaInputEventDetail",
|
|
1447
|
+
"package": "@ui5/webcomponents",
|
|
1448
|
+
"module": "dist/TextArea.js"
|
|
1449
|
+
}
|
|
1450
|
+
]
|
|
1451
|
+
},
|
|
1452
|
+
"description": "Fired when the value of the component changes at each keystroke or when\nsomething is pasted."
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
"name": "select",
|
|
1456
|
+
"type": {
|
|
1457
|
+
"text": "CustomEvent"
|
|
1458
|
+
},
|
|
1459
|
+
"description": "Fired when some text has been selected."
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
"name": "scroll",
|
|
1463
|
+
"type": {
|
|
1464
|
+
"text": "CustomEvent"
|
|
1465
|
+
},
|
|
1466
|
+
"description": "Fired when textarea is scrolled."
|
|
1467
|
+
}
|
|
1468
|
+
],
|
|
1469
|
+
"attributes": [
|
|
1470
|
+
{
|
|
1471
|
+
"description": "Defines whether the `ui5-ai-textarea` is currently in a loading(processing) state.",
|
|
1472
|
+
"name": "loading",
|
|
1473
|
+
"default": "false",
|
|
1474
|
+
"fieldName": "loading",
|
|
1475
|
+
"type": {
|
|
1476
|
+
"text": "boolean"
|
|
1477
|
+
}
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"description": "Defines the prompt description of the current action.",
|
|
1481
|
+
"name": "prompt-description",
|
|
1482
|
+
"default": "\"\"",
|
|
1483
|
+
"fieldName": "promptDescription",
|
|
1484
|
+
"type": {
|
|
1485
|
+
"text": "string"
|
|
1486
|
+
}
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"description": "Indicates the index of the currently displayed version.",
|
|
1490
|
+
"name": "current-version",
|
|
1491
|
+
"default": "0",
|
|
1492
|
+
"fieldName": "currentVersion",
|
|
1493
|
+
"type": {
|
|
1494
|
+
"text": "number"
|
|
1495
|
+
}
|
|
1496
|
+
},
|
|
1497
|
+
{
|
|
1498
|
+
"description": "Indicates the total number of result versions available.\n\nNotes:\nVersioning is hidden if the value is `0`",
|
|
1499
|
+
"name": "total-versions",
|
|
1500
|
+
"default": "0",
|
|
1501
|
+
"fieldName": "totalVersions",
|
|
1502
|
+
"type": {
|
|
1503
|
+
"text": "number"
|
|
1504
|
+
}
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
"description": "Defines the value of the component.",
|
|
1508
|
+
"name": "value",
|
|
1509
|
+
"default": "\"\"",
|
|
1510
|
+
"fieldName": "value",
|
|
1511
|
+
"type": {
|
|
1512
|
+
"text": "string"
|
|
1513
|
+
}
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
"description": "Indicates whether the user can interact with the component or not.\n\n**Note:** A disabled component is completely noninteractive.",
|
|
1517
|
+
"name": "disabled",
|
|
1518
|
+
"default": "false",
|
|
1519
|
+
"fieldName": "disabled",
|
|
1520
|
+
"type": {
|
|
1521
|
+
"text": "boolean"
|
|
1522
|
+
}
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
"description": "Defines whether the component is read-only.\n\n**Note:** A read-only component is not editable,\nbut still provides visual feedback upon user interaction.",
|
|
1526
|
+
"name": "readonly",
|
|
1527
|
+
"default": "false",
|
|
1528
|
+
"fieldName": "readonly",
|
|
1529
|
+
"type": {
|
|
1530
|
+
"text": "boolean"
|
|
1531
|
+
}
|
|
1532
|
+
},
|
|
1533
|
+
{
|
|
1534
|
+
"description": "Defines whether the component is required.",
|
|
1535
|
+
"name": "required",
|
|
1536
|
+
"default": "false",
|
|
1537
|
+
"fieldName": "required",
|
|
1538
|
+
"type": {
|
|
1539
|
+
"text": "boolean"
|
|
1540
|
+
}
|
|
1541
|
+
},
|
|
1542
|
+
{
|
|
1543
|
+
"description": "Defines a short hint intended to aid the user with data entry when the component has no value.",
|
|
1544
|
+
"name": "placeholder",
|
|
1545
|
+
"default": "undefined",
|
|
1546
|
+
"fieldName": "placeholder",
|
|
1547
|
+
"type": {
|
|
1548
|
+
"text": "string | undefined"
|
|
1549
|
+
}
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
"description": "Defines the value state of the component.\n\n**Note:** If `maxlength` property is set,\nthe component turns into \"Critical\" state once the characters exceeds the limit.\nIn this case, only the \"Negative\" state is considered and can be applied.",
|
|
1553
|
+
"name": "value-state",
|
|
1554
|
+
"default": "\"None\"",
|
|
1555
|
+
"fieldName": "valueState",
|
|
1556
|
+
"type": {
|
|
1557
|
+
"text": "\"None\" | \"Positive\" | \"Critical\" | \"Negative\" | \"Information\""
|
|
1558
|
+
}
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
"description": "Defines the number of visible text rows for the component.\n\n**Notes:**\n\n- If the `growing` property is enabled, this property defines the minimum rows to be displayed\nin the textarea.\n- The CSS `height` property wins over the `rows` property, if both are set.",
|
|
1562
|
+
"name": "rows",
|
|
1563
|
+
"default": "0",
|
|
1564
|
+
"fieldName": "rows",
|
|
1565
|
+
"type": {
|
|
1566
|
+
"text": "number"
|
|
1567
|
+
}
|
|
1568
|
+
},
|
|
1569
|
+
{
|
|
1570
|
+
"description": "Defines the maximum number of characters that the `value` can have.",
|
|
1571
|
+
"name": "maxlength",
|
|
1572
|
+
"default": "undefined",
|
|
1573
|
+
"fieldName": "maxlength",
|
|
1574
|
+
"type": {
|
|
1575
|
+
"text": "number | undefined"
|
|
1576
|
+
}
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
"description": "Determines whether the characters exceeding the maximum allowed character count are visible\nin the component.\n\nIf set to `false`, the user is not allowed to enter more characters than what is set in the\n`maxlength` property.\nIf set to `true` the characters exceeding the `maxlength` value are selected on\npaste and the counter below the component displays their number.",
|
|
1580
|
+
"name": "show-exceeded-text",
|
|
1581
|
+
"default": "false",
|
|
1582
|
+
"fieldName": "showExceededText",
|
|
1583
|
+
"type": {
|
|
1584
|
+
"text": "boolean"
|
|
1585
|
+
}
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
"description": "Enables the component to automatically grow and shrink dynamically with its content.",
|
|
1589
|
+
"name": "growing",
|
|
1590
|
+
"default": "false",
|
|
1591
|
+
"fieldName": "growing",
|
|
1592
|
+
"type": {
|
|
1593
|
+
"text": "boolean"
|
|
1594
|
+
}
|
|
1595
|
+
},
|
|
1596
|
+
{
|
|
1597
|
+
"description": "Defines the maximum number of rows that the component can grow.",
|
|
1598
|
+
"name": "growing-max-rows",
|
|
1599
|
+
"default": "0",
|
|
1600
|
+
"fieldName": "growingMaxRows",
|
|
1601
|
+
"type": {
|
|
1602
|
+
"text": "number"
|
|
1603
|
+
}
|
|
1604
|
+
},
|
|
1605
|
+
{
|
|
1606
|
+
"description": "Determines the name by which the component will be identified upon submission in an HTML form.\n\n**Note:** This property is only applicable within the context of an HTML Form element.",
|
|
1607
|
+
"name": "name",
|
|
1608
|
+
"default": "undefined",
|
|
1609
|
+
"fieldName": "name",
|
|
1610
|
+
"type": {
|
|
1611
|
+
"text": "string | undefined"
|
|
1612
|
+
}
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
"description": "Defines the accessible ARIA name of the component.",
|
|
1616
|
+
"name": "accessible-name",
|
|
1617
|
+
"default": "undefined",
|
|
1618
|
+
"fieldName": "accessibleName",
|
|
1619
|
+
"type": {
|
|
1620
|
+
"text": "string | undefined"
|
|
1621
|
+
}
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
"description": "Receives id(or many ids) of the elements that label the textarea.",
|
|
1625
|
+
"name": "accessible-name-ref",
|
|
1626
|
+
"default": "undefined",
|
|
1627
|
+
"fieldName": "accessibleNameRef",
|
|
1628
|
+
"type": {
|
|
1629
|
+
"text": "string | undefined"
|
|
1630
|
+
}
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
"description": "Defines the accessible description of the component.",
|
|
1634
|
+
"name": "accessible-description",
|
|
1635
|
+
"default": "undefined",
|
|
1636
|
+
"fieldName": "accessibleDescription",
|
|
1637
|
+
"type": {
|
|
1638
|
+
"text": "string | undefined"
|
|
1639
|
+
}
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
"description": "Receives id(or many ids) of the elements that describe the textarea.",
|
|
1643
|
+
"name": "accessible-description-ref",
|
|
1644
|
+
"default": "undefined",
|
|
1645
|
+
"fieldName": "accessibleDescriptionRef",
|
|
1646
|
+
"type": {
|
|
1647
|
+
"text": "string | undefined"
|
|
1648
|
+
}
|
|
1649
|
+
}
|
|
1650
|
+
],
|
|
1651
|
+
"superclass": {
|
|
1652
|
+
"name": "TextArea",
|
|
1653
|
+
"package": "@ui5/webcomponents",
|
|
1654
|
+
"module": "dist/TextArea.js"
|
|
1655
|
+
},
|
|
1656
|
+
"tagName": "ui5-ai-textarea",
|
|
1657
|
+
"customElement": true,
|
|
1658
|
+
"cssParts": [
|
|
1659
|
+
{
|
|
1660
|
+
"description": "Used to style the native textarea",
|
|
1661
|
+
"name": "textarea"
|
|
1662
|
+
}
|
|
1663
|
+
]
|
|
1664
|
+
}
|
|
1665
|
+
],
|
|
1666
|
+
"exports": [
|
|
1667
|
+
{
|
|
1668
|
+
"kind": "js",
|
|
1669
|
+
"name": "default",
|
|
1670
|
+
"declaration": {
|
|
1671
|
+
"name": "TextArea",
|
|
1672
|
+
"module": "dist/TextArea.js"
|
|
1673
|
+
}
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
"kind": "custom-element-definition",
|
|
1677
|
+
"name": "ui5-ai-textarea",
|
|
1678
|
+
"declaration": {
|
|
1679
|
+
"name": "TextArea",
|
|
1680
|
+
"module": "dist/TextArea.js"
|
|
1681
|
+
}
|
|
1682
|
+
}
|
|
1683
|
+
]
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
"kind": "javascript-module",
|
|
1687
|
+
"path": "dist/ToolbarLabel.js",
|
|
1688
|
+
"declarations": [
|
|
1689
|
+
{
|
|
1690
|
+
"kind": "class",
|
|
1691
|
+
"description": "### Overview\nThe `ui5-ai-toolbar-label` represents a text label,\nused in the `ui5-toolbar`.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents-ai/dist/ToolbarLabel.js\";`",
|
|
1692
|
+
"name": "ToolbarLabel",
|
|
1693
|
+
"members": [
|
|
1694
|
+
{
|
|
1695
|
+
"kind": "field",
|
|
1696
|
+
"name": "text",
|
|
1697
|
+
"type": {
|
|
1698
|
+
"text": "string"
|
|
1699
|
+
},
|
|
1700
|
+
"default": "\"\"",
|
|
1701
|
+
"description": "Defines the text of the label.",
|
|
1702
|
+
"privacy": "public"
|
|
1703
|
+
},
|
|
1704
|
+
{
|
|
1705
|
+
"kind": "field",
|
|
1706
|
+
"name": "overflowPriority",
|
|
1707
|
+
"type": {
|
|
1708
|
+
"text": "ToolbarItemOverflowBehavior",
|
|
1709
|
+
"references": [
|
|
1710
|
+
{
|
|
1711
|
+
"name": "ToolbarItemOverflowBehavior",
|
|
1712
|
+
"package": "@ui5/webcomponents",
|
|
1713
|
+
"module": "dist/types/ToolbarItemOverflowBehavior.js"
|
|
1714
|
+
}
|
|
1715
|
+
]
|
|
1716
|
+
},
|
|
1717
|
+
"default": "\"Default\"",
|
|
1718
|
+
"description": "Property used to define the access of the item to the overflow Popover. If \"NeverOverflow\" option is set,\nthe item never goes in the Popover, if \"AlwaysOverflow\" - it never comes out of it.",
|
|
1719
|
+
"privacy": "public"
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
"kind": "field",
|
|
1723
|
+
"name": "preventOverflowClosing",
|
|
1724
|
+
"type": {
|
|
1725
|
+
"text": "boolean"
|
|
1726
|
+
},
|
|
1727
|
+
"default": "false",
|
|
1728
|
+
"description": "Defines if the toolbar overflow popup should close upon interaction with the item.\nIt will close by default.",
|
|
1729
|
+
"privacy": "public"
|
|
1730
|
+
}
|
|
1731
|
+
],
|
|
1732
|
+
"attributes": [
|
|
1733
|
+
{
|
|
1734
|
+
"description": "Defines the text of the label.",
|
|
1735
|
+
"name": "text",
|
|
1736
|
+
"default": "\"\"",
|
|
1737
|
+
"fieldName": "text",
|
|
1738
|
+
"type": {
|
|
1739
|
+
"text": "string"
|
|
1740
|
+
}
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
"description": "Property used to define the access of the item to the overflow Popover. If \"NeverOverflow\" option is set,\nthe item never goes in the Popover, if \"AlwaysOverflow\" - it never comes out of it.",
|
|
1744
|
+
"name": "overflow-priority",
|
|
1745
|
+
"default": "\"Default\"",
|
|
1746
|
+
"fieldName": "overflowPriority",
|
|
1747
|
+
"type": {
|
|
1748
|
+
"text": "\"Default\" | \"NeverOverflow\" | \"AlwaysOverflow\""
|
|
1749
|
+
}
|
|
1750
|
+
},
|
|
1751
|
+
{
|
|
1752
|
+
"description": "Defines if the toolbar overflow popup should close upon interaction with the item.\nIt will close by default.",
|
|
1753
|
+
"name": "prevent-overflow-closing",
|
|
1754
|
+
"default": "false",
|
|
1755
|
+
"fieldName": "preventOverflowClosing",
|
|
1756
|
+
"type": {
|
|
1757
|
+
"text": "boolean"
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
],
|
|
1761
|
+
"superclass": {
|
|
1762
|
+
"name": "ToolbarItem",
|
|
1763
|
+
"package": "@ui5/webcomponents",
|
|
1764
|
+
"module": "dist/ToolbarItem.js"
|
|
1765
|
+
},
|
|
1766
|
+
"tagName": "ui5-ai-toolbar-label",
|
|
1767
|
+
"customElement": true,
|
|
1768
|
+
"slots": [
|
|
1769
|
+
{
|
|
1770
|
+
"name": "default",
|
|
1771
|
+
"description": "Wrapped component slot."
|
|
1772
|
+
}
|
|
1773
|
+
],
|
|
1774
|
+
"events": [
|
|
1775
|
+
{
|
|
1776
|
+
"name": "close-overflow",
|
|
1777
|
+
"type": {
|
|
1778
|
+
"text": "CustomEvent"
|
|
1779
|
+
},
|
|
1780
|
+
"description": "Fired when the overflow popover is closed."
|
|
1781
|
+
}
|
|
1782
|
+
],
|
|
1783
|
+
"cssStates": [
|
|
1784
|
+
{
|
|
1785
|
+
"description": "When the item is displayed in the overflow popover. Use this state to apply different styles when the item is overflowed. Available since 2.20.0.",
|
|
1786
|
+
"name": "overflowed"
|
|
1787
|
+
}
|
|
1788
|
+
]
|
|
1789
|
+
}
|
|
1790
|
+
],
|
|
1791
|
+
"exports": [
|
|
1792
|
+
{
|
|
1793
|
+
"kind": "js",
|
|
1794
|
+
"name": "default",
|
|
1795
|
+
"declaration": {
|
|
1796
|
+
"name": "ToolbarLabel",
|
|
1797
|
+
"module": "dist/ToolbarLabel.js"
|
|
1798
|
+
}
|
|
1799
|
+
},
|
|
1800
|
+
{
|
|
1801
|
+
"kind": "custom-element-definition",
|
|
1802
|
+
"name": "ui5-ai-toolbar-label",
|
|
1803
|
+
"declaration": {
|
|
1804
|
+
"name": "ToolbarLabel",
|
|
1805
|
+
"module": "dist/ToolbarLabel.js"
|
|
1806
|
+
}
|
|
1807
|
+
}
|
|
1808
|
+
]
|
|
1809
|
+
},
|
|
1810
|
+
{
|
|
1811
|
+
"kind": "javascript-module",
|
|
1812
|
+
"path": "dist/Versioning.js",
|
|
1813
|
+
"declarations": [
|
|
1814
|
+
{
|
|
1815
|
+
"kind": "class",
|
|
1816
|
+
"description": "### Overview\n\nThe `ui5-ai-versioning` component provides navigation controls for AI-generated content versions.\nIt displays the current version index and total versions, with previous/next navigation buttons.\nThis component extends ToolbarItem to participate in toolbar overflow behavior as a single unit.\n\n### Structure\nThe `ui5-ai-versioning` consists of the following elements:\n- Previous Button: Navigates to the previous version (disabled when at first version)\n- Version Counter: Shows current version / total versions (e.g., \"2 / 5\")\n- Next Button: Navigates to the nex\nt version (disabled when at last version)\n\n### Focus Management\nThe component automatically manages focus when users reach version boundaries,\nmoving focus to the available navigation button when one becomes disabled.\n\n### Responsive Behavior\nWhen used in a toolbar, the entire versioning component (buttons + label) will overflow\ntogether as a single unit when there is insufficient space.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/Versioning.js\";`",
|
|
1817
|
+
"name": "Versioning",
|
|
1818
|
+
"members": [
|
|
1819
|
+
{
|
|
1820
|
+
"kind": "field",
|
|
1821
|
+
"name": "currentStep",
|
|
1822
|
+
"type": {
|
|
1823
|
+
"text": "number"
|
|
1824
|
+
},
|
|
1825
|
+
"default": "0",
|
|
1826
|
+
"description": "Indicates the index of the currently displayed result version.\n\nThis property represents the current position in the version history.",
|
|
1827
|
+
"privacy": "public"
|
|
1828
|
+
},
|
|
1829
|
+
{
|
|
1830
|
+
"kind": "field",
|
|
1831
|
+
"name": "totalSteps",
|
|
1832
|
+
"type": {
|
|
1833
|
+
"text": "number"
|
|
1834
|
+
},
|
|
1835
|
+
"default": "0",
|
|
1836
|
+
"description": "The total number of available result versions.\n\nNote: Versioning is hidden if the value is `0`.",
|
|
1837
|
+
"privacy": "public"
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
"kind": "field",
|
|
1841
|
+
"name": "overflowPriority",
|
|
1842
|
+
"type": {
|
|
1843
|
+
"text": "ToolbarItemOverflowBehavior",
|
|
1844
|
+
"references": [
|
|
1845
|
+
{
|
|
1846
|
+
"name": "ToolbarItemOverflowBehavior",
|
|
1847
|
+
"package": "@ui5/webcomponents",
|
|
1848
|
+
"module": "dist/types/ToolbarItemOverflowBehavior.js"
|
|
1849
|
+
}
|
|
1850
|
+
]
|
|
1851
|
+
},
|
|
1852
|
+
"default": "\"Default\"",
|
|
1853
|
+
"description": "Property used to define the access of the item to the overflow Popover. If \"NeverOverflow\" option is set,\nthe item never goes in the Popover, if \"AlwaysOverflow\" - it never comes out of it.",
|
|
1854
|
+
"privacy": "public"
|
|
1855
|
+
},
|
|
1856
|
+
{
|
|
1857
|
+
"kind": "field",
|
|
1858
|
+
"name": "preventOverflowClosing",
|
|
1859
|
+
"type": {
|
|
1860
|
+
"text": "boolean"
|
|
1861
|
+
},
|
|
1862
|
+
"default": "false",
|
|
1863
|
+
"description": "Defines if the toolbar overflow popup should close upon interaction with the item.\nIt will close by default.",
|
|
1864
|
+
"privacy": "public"
|
|
1865
|
+
}
|
|
1866
|
+
],
|
|
1867
|
+
"events": [
|
|
1868
|
+
{
|
|
1869
|
+
"name": "version-change",
|
|
1870
|
+
"type": {
|
|
1871
|
+
"text": "CustomEvent"
|
|
1872
|
+
},
|
|
1873
|
+
"description": "Fired when the user clicks on version navigation buttons."
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
"name": "close-overflow",
|
|
1877
|
+
"type": {
|
|
1878
|
+
"text": "CustomEvent"
|
|
1879
|
+
},
|
|
1880
|
+
"description": "Fired when the overflow popover is closed."
|
|
1881
|
+
}
|
|
1882
|
+
],
|
|
1883
|
+
"attributes": [
|
|
1884
|
+
{
|
|
1885
|
+
"description": "Indicates the index of the currently displayed result version.\n\nThis property represents the current position in the version history.",
|
|
1886
|
+
"name": "current-step",
|
|
1887
|
+
"default": "0",
|
|
1888
|
+
"fieldName": "currentStep",
|
|
1889
|
+
"type": {
|
|
1890
|
+
"text": "number"
|
|
1891
|
+
}
|
|
1892
|
+
},
|
|
1893
|
+
{
|
|
1894
|
+
"description": "The total number of available result versions.\n\nNote: Versioning is hidden if the value is `0`.",
|
|
1895
|
+
"name": "total-steps",
|
|
1896
|
+
"default": "0",
|
|
1897
|
+
"fieldName": "totalSteps",
|
|
1898
|
+
"type": {
|
|
1899
|
+
"text": "number"
|
|
1900
|
+
}
|
|
1901
|
+
},
|
|
1902
|
+
{
|
|
1903
|
+
"description": "Property used to define the access of the item to the overflow Popover. If \"NeverOverflow\" option is set,\nthe item never goes in the Popover, if \"AlwaysOverflow\" - it never comes out of it.",
|
|
1904
|
+
"name": "overflow-priority",
|
|
1905
|
+
"default": "\"Default\"",
|
|
1906
|
+
"fieldName": "overflowPriority",
|
|
1907
|
+
"type": {
|
|
1908
|
+
"text": "\"Default\" | \"NeverOverflow\" | \"AlwaysOverflow\""
|
|
1909
|
+
}
|
|
1910
|
+
},
|
|
1911
|
+
{
|
|
1912
|
+
"description": "Defines if the toolbar overflow popup should close upon interaction with the item.\nIt will close by default.",
|
|
1913
|
+
"name": "prevent-overflow-closing",
|
|
1914
|
+
"default": "false",
|
|
1915
|
+
"fieldName": "preventOverflowClosing",
|
|
1916
|
+
"type": {
|
|
1917
|
+
"text": "boolean"
|
|
1918
|
+
}
|
|
1919
|
+
}
|
|
1920
|
+
],
|
|
1921
|
+
"superclass": {
|
|
1922
|
+
"name": "ToolbarItem",
|
|
1923
|
+
"package": "@ui5/webcomponents",
|
|
1924
|
+
"module": "dist/ToolbarItem.js"
|
|
1925
|
+
},
|
|
1926
|
+
"tagName": "ui5-ai-versioning",
|
|
1927
|
+
"customElement": true,
|
|
1928
|
+
"slots": [
|
|
1929
|
+
{
|
|
1930
|
+
"name": "default",
|
|
1931
|
+
"description": "Wrapped component slot."
|
|
1932
|
+
}
|
|
1933
|
+
],
|
|
1934
|
+
"cssStates": [
|
|
1935
|
+
{
|
|
1936
|
+
"description": "When the item is displayed in the overflow popover. Use this state to apply different styles when the item is overflowed. Available since 2.20.0.",
|
|
1937
|
+
"name": "overflowed"
|
|
1938
|
+
}
|
|
1939
|
+
]
|
|
1940
|
+
}
|
|
1941
|
+
],
|
|
1942
|
+
"exports": [
|
|
1943
|
+
{
|
|
1944
|
+
"kind": "js",
|
|
1945
|
+
"name": "default",
|
|
1946
|
+
"declaration": {
|
|
1947
|
+
"name": "Versioning",
|
|
1948
|
+
"module": "dist/Versioning.js"
|
|
1949
|
+
}
|
|
1950
|
+
},
|
|
1951
|
+
{
|
|
1952
|
+
"kind": "custom-element-definition",
|
|
1953
|
+
"name": "ui5-ai-versioning",
|
|
1954
|
+
"declaration": {
|
|
1955
|
+
"name": "Versioning",
|
|
1956
|
+
"module": "dist/Versioning.js"
|
|
1957
|
+
}
|
|
1958
|
+
}
|
|
1959
|
+
]
|
|
1960
|
+
},
|
|
1961
|
+
{
|
|
1962
|
+
"kind": "javascript-module",
|
|
1963
|
+
"path": "dist/WritingAssistant.js",
|
|
1964
|
+
"declarations": [
|
|
1965
|
+
{
|
|
1966
|
+
"kind": "class",
|
|
1967
|
+
"description": "### Overview\n\nThe `ui5-ai-textarea-toolbar` component provides a specialized toolbar for AI TextArea functionality.\nIt manages different states of the AI assistant and provides version navigation capabilities.\n\n### Structure\nThe `ui5-ai-textarea-toolbar` consists of the following elements:\n- AI Generate Button: Triggers AI text generation or stops ongoing generation\n- Version Navigation: Allows navigation between multiple AI-generated results\n- Action Label: Displays the current AI action being performed\n\n### ES6 Module Import\n\n`import \"@sap-webcomponents/ai/dist/WritingAssistant.js\";`",
|
|
1968
|
+
"name": "WritingAssistant",
|
|
1969
|
+
"members": [
|
|
1970
|
+
{
|
|
1971
|
+
"kind": "field",
|
|
1972
|
+
"name": "promptDescription",
|
|
1973
|
+
"type": {
|
|
1974
|
+
"text": "string"
|
|
1975
|
+
},
|
|
1976
|
+
"default": "\"\"",
|
|
1977
|
+
"description": "Defines the prompt description of the Writing Assistant.\n\nThis text is displayed in the toolbar to indicate the current or last\nperformed AI action (e.g., \"Generated text\", \"Simplified text\").",
|
|
1978
|
+
"privacy": "public"
|
|
1979
|
+
},
|
|
1980
|
+
{
|
|
1981
|
+
"kind": "field",
|
|
1982
|
+
"name": "currentVersion",
|
|
1983
|
+
"type": {
|
|
1984
|
+
"text": "number"
|
|
1985
|
+
},
|
|
1986
|
+
"default": "0",
|
|
1987
|
+
"description": "Indicates the index of the currently displayed result version.\n\nThe index is **0-based** (i.e. `0` represents the first result).\nThis property is synchronized with the parent AI TextArea component.",
|
|
1988
|
+
"privacy": "public"
|
|
1989
|
+
},
|
|
1990
|
+
{
|
|
1991
|
+
"kind": "field",
|
|
1992
|
+
"name": "totalVersions",
|
|
1993
|
+
"type": {
|
|
1994
|
+
"text": "number"
|
|
1995
|
+
},
|
|
1996
|
+
"default": "0",
|
|
1997
|
+
"description": "Indicates the total number of result versions available.\n\nThis property determines whether version navigation controls are displayed.\nWhen totalVersions > 0, previous/next buttons become available.",
|
|
1998
|
+
"privacy": "public"
|
|
1999
|
+
},
|
|
2000
|
+
{
|
|
2001
|
+
"kind": "method",
|
|
2002
|
+
"name": "handleButtonClick",
|
|
2003
|
+
"return": {
|
|
2004
|
+
"type": {
|
|
2005
|
+
"text": "void"
|
|
2006
|
+
}
|
|
2007
|
+
},
|
|
2008
|
+
"description": "Handles the click event for the AI generate button.\nToggles between generate and stop states based on current button state.",
|
|
2009
|
+
"privacy": "public"
|
|
2010
|
+
}
|
|
2011
|
+
],
|
|
2012
|
+
"events": [
|
|
2013
|
+
{
|
|
2014
|
+
"name": "version-change",
|
|
2015
|
+
"type": {
|
|
2016
|
+
"text": "CustomEvent"
|
|
2017
|
+
},
|
|
2018
|
+
"description": "Fired when the user clicks on version navigation buttons."
|
|
2019
|
+
},
|
|
2020
|
+
{
|
|
2021
|
+
"name": "button-click",
|
|
2022
|
+
"type": {
|
|
2023
|
+
"text": "CustomEvent"
|
|
2024
|
+
},
|
|
2025
|
+
"description": "Fired when the user clicks on the AI button."
|
|
2026
|
+
},
|
|
2027
|
+
{
|
|
2028
|
+
"name": "stop-generation",
|
|
2029
|
+
"type": {
|
|
2030
|
+
"text": "CustomEvent"
|
|
2031
|
+
},
|
|
2032
|
+
"description": "Fired when the user clicks on the \"Stop\" button to stop ongoing AI text generation."
|
|
2033
|
+
}
|
|
2034
|
+
],
|
|
2035
|
+
"attributes": [
|
|
2036
|
+
{
|
|
2037
|
+
"description": "Defines the prompt description of the Writing Assistant.\n\nThis text is displayed in the toolbar to indicate the current or last\nperformed AI action (e.g., \"Generated text\", \"Simplified text\").",
|
|
2038
|
+
"name": "prompt-description",
|
|
2039
|
+
"default": "\"\"",
|
|
2040
|
+
"fieldName": "promptDescription",
|
|
2041
|
+
"type": {
|
|
2042
|
+
"text": "string"
|
|
2043
|
+
}
|
|
2044
|
+
},
|
|
2045
|
+
{
|
|
2046
|
+
"description": "Indicates the index of the currently displayed result version.\n\nThe index is **0-based** (i.e. `0` represents the first result).\nThis property is synchronized with the parent AI TextArea component.",
|
|
2047
|
+
"name": "current-version",
|
|
2048
|
+
"default": "0",
|
|
2049
|
+
"fieldName": "currentVersion",
|
|
2050
|
+
"type": {
|
|
2051
|
+
"text": "number"
|
|
2052
|
+
}
|
|
2053
|
+
},
|
|
2054
|
+
{
|
|
2055
|
+
"description": "Indicates the total number of result versions available.\n\nThis property determines whether version navigation controls are displayed.\nWhen totalVersions > 0, previous/next buttons become available.",
|
|
2056
|
+
"name": "total-versions",
|
|
2057
|
+
"default": "0",
|
|
2058
|
+
"fieldName": "totalVersions",
|
|
2059
|
+
"type": {
|
|
2060
|
+
"text": "number"
|
|
2061
|
+
}
|
|
2062
|
+
}
|
|
2063
|
+
],
|
|
2064
|
+
"superclass": {
|
|
2065
|
+
"name": "UI5Element",
|
|
2066
|
+
"package": "@ui5/webcomponents-base",
|
|
2067
|
+
"module": "dist/UI5Element.js"
|
|
2068
|
+
},
|
|
2069
|
+
"tagName": "ui5-ai-writing-assistant",
|
|
2070
|
+
"customElement": true
|
|
2071
|
+
}
|
|
2072
|
+
],
|
|
2073
|
+
"exports": [
|
|
2074
|
+
{
|
|
2075
|
+
"kind": "js",
|
|
2076
|
+
"name": "default",
|
|
2077
|
+
"declaration": {
|
|
2078
|
+
"name": "WritingAssistant",
|
|
2079
|
+
"module": "dist/WritingAssistant.js"
|
|
2080
|
+
}
|
|
2081
|
+
},
|
|
2082
|
+
{
|
|
2083
|
+
"kind": "custom-element-definition",
|
|
2084
|
+
"name": "ui5-ai-writing-assistant",
|
|
2085
|
+
"declaration": {
|
|
2086
|
+
"name": "WritingAssistant",
|
|
2087
|
+
"module": "dist/WritingAssistant.js"
|
|
557
2088
|
}
|
|
558
2089
|
}
|
|
559
2090
|
]
|