@ui5/webcomponents-ai 0.0.0-acc6fea96 → 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.
Files changed (240) hide show
  1. package/.ui5-cem-aliases.json +4 -0
  2. package/CHANGELOG.md +695 -0
  3. package/LICENSE.txt +201 -0
  4. package/README.md +12 -10
  5. package/cypress.config.js +3 -0
  6. package/dist/.tsbuildinfo +1 -0
  7. package/dist/Assets-fetch.d.ts +3 -0
  8. package/dist/Assets-fetch.js +6 -0
  9. package/dist/Assets-fetch.js.map +1 -0
  10. package/dist/Assets-node.d.ts +14 -0
  11. package/dist/Assets-node.js +17 -0
  12. package/dist/Assets-node.js.map +1 -0
  13. package/dist/Button.d.ts +45 -5
  14. package/dist/Button.js +70 -14
  15. package/dist/Button.js.map +1 -1
  16. package/dist/ButtonState.d.ts +5 -4
  17. package/dist/ButtonState.js +6 -5
  18. package/dist/ButtonState.js.map +1 -1
  19. package/dist/ButtonTemplate.js +1 -1
  20. package/dist/ButtonTemplate.js.map +1 -1
  21. package/dist/Input.d.ts +144 -0
  22. package/dist/Input.js +291 -0
  23. package/dist/Input.js.map +1 -0
  24. package/dist/InputTemplate.d.ts +10 -0
  25. package/dist/InputTemplate.js +28 -0
  26. package/dist/InputTemplate.js.map +1 -0
  27. package/dist/PromptInput.d.ts +10 -13
  28. package/dist/PromptInput.js +5 -6
  29. package/dist/PromptInput.js.map +1 -1
  30. package/dist/TextArea.d.ts +125 -0
  31. package/dist/TextArea.js +272 -0
  32. package/dist/TextArea.js.map +1 -0
  33. package/dist/TextAreaTemplate.d.ts +2 -0
  34. package/dist/TextAreaTemplate.js +13 -0
  35. package/dist/TextAreaTemplate.js.map +1 -0
  36. package/dist/ToolbarLabel.d.ts +39 -0
  37. package/dist/ToolbarLabel.js +67 -0
  38. package/dist/ToolbarLabel.js.map +1 -0
  39. package/dist/ToolbarLabelTemplate.d.ts +2 -0
  40. package/dist/ToolbarLabelTemplate.js +5 -0
  41. package/dist/ToolbarLabelTemplate.js.map +1 -0
  42. package/dist/Versioning.d.ts +95 -0
  43. package/dist/Versioning.js +187 -0
  44. package/dist/Versioning.js.map +1 -0
  45. package/dist/VersioningTemplate.d.ts +4 -0
  46. package/dist/VersioningTemplate.js +9 -0
  47. package/dist/VersioningTemplate.js.map +1 -0
  48. package/dist/WritingAssistant.d.ts +101 -0
  49. package/dist/WritingAssistant.js +201 -0
  50. package/dist/WritingAssistant.js.map +1 -0
  51. package/dist/WritingAssistantTemplate.d.ts +2 -0
  52. package/dist/WritingAssistantTemplate.js +12 -0
  53. package/dist/WritingAssistantTemplate.js.map +1 -0
  54. package/dist/bundle.esm.js +2 -0
  55. package/dist/bundle.esm.js.map +1 -1
  56. package/dist/css/themes/Button.css +1 -1
  57. package/dist/css/themes/Input.css +1 -0
  58. package/dist/css/themes/PromptInput.css +1 -1
  59. package/dist/css/themes/TextArea.css +1 -0
  60. package/dist/css/themes/Versioning.css +1 -0
  61. package/dist/css/themes/WritingAssistant.css +1 -0
  62. package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -0
  63. package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -0
  64. package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -0
  65. package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -0
  66. package/dist/custom-elements-internal.json +1932 -145
  67. package/dist/custom-elements.json +1618 -87
  68. package/dist/generated/assets/i18n/messagebundle_ar.json +1 -1
  69. package/dist/generated/assets/i18n/messagebundle_bg.json +1 -1
  70. package/dist/generated/assets/i18n/messagebundle_ca.json +1 -1
  71. package/dist/generated/assets/i18n/messagebundle_cnr.json +1 -1
  72. package/dist/generated/assets/i18n/messagebundle_cs.json +1 -1
  73. package/dist/generated/assets/i18n/messagebundle_cy.json +1 -1
  74. package/dist/generated/assets/i18n/messagebundle_da.json +1 -1
  75. package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
  76. package/dist/generated/assets/i18n/messagebundle_el.json +1 -1
  77. package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
  78. package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -1
  79. package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -1
  80. package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -1
  81. package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -1
  82. package/dist/generated/assets/i18n/messagebundle_es.json +1 -1
  83. package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -1
  84. package/dist/generated/assets/i18n/messagebundle_et.json +1 -1
  85. package/dist/generated/assets/i18n/messagebundle_fi.json +1 -1
  86. package/dist/generated/assets/i18n/messagebundle_fr.json +1 -1
  87. package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -1
  88. package/dist/generated/assets/i18n/messagebundle_hi.json +1 -1
  89. package/dist/generated/assets/i18n/messagebundle_hr.json +1 -1
  90. package/dist/generated/assets/i18n/messagebundle_hu.json +1 -1
  91. package/dist/generated/assets/i18n/messagebundle_id.json +1 -0
  92. package/dist/generated/assets/i18n/messagebundle_it.json +1 -1
  93. package/dist/generated/assets/i18n/messagebundle_iw.json +1 -1
  94. package/dist/generated/assets/i18n/messagebundle_ja.json +1 -1
  95. package/dist/generated/assets/i18n/messagebundle_kk.json +1 -1
  96. package/dist/generated/assets/i18n/messagebundle_ko.json +1 -1
  97. package/dist/generated/assets/i18n/messagebundle_lt.json +1 -1
  98. package/dist/generated/assets/i18n/messagebundle_lv.json +1 -1
  99. package/dist/generated/assets/i18n/messagebundle_mk.json +1 -1
  100. package/dist/generated/assets/i18n/messagebundle_ms.json +1 -1
  101. package/dist/generated/assets/i18n/messagebundle_nl.json +1 -1
  102. package/dist/generated/assets/i18n/messagebundle_no.json +1 -1
  103. package/dist/generated/assets/i18n/messagebundle_pl.json +1 -1
  104. package/dist/generated/assets/i18n/messagebundle_pt.json +1 -1
  105. package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -1
  106. package/dist/generated/assets/i18n/messagebundle_ro.json +1 -1
  107. package/dist/generated/assets/i18n/messagebundle_ru.json +1 -1
  108. package/dist/generated/assets/i18n/messagebundle_sh.json +1 -1
  109. package/dist/generated/assets/i18n/messagebundle_sk.json +1 -1
  110. package/dist/generated/assets/i18n/messagebundle_sl.json +1 -1
  111. package/dist/generated/assets/i18n/messagebundle_sr.json +1 -1
  112. package/dist/generated/assets/i18n/messagebundle_sv.json +1 -1
  113. package/dist/generated/assets/i18n/messagebundle_th.json +1 -1
  114. package/dist/generated/assets/i18n/messagebundle_tr.json +1 -1
  115. package/dist/generated/assets/i18n/messagebundle_uk.json +1 -1
  116. package/dist/generated/assets/i18n/messagebundle_vi.json +1 -1
  117. package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -1
  118. package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -1
  119. package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
  120. package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
  121. package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
  122. package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
  123. package/dist/generated/i18n/i18n-defaults.d.ts +15 -1
  124. package/dist/generated/i18n/i18n-defaults.js +15 -1
  125. package/dist/generated/i18n/i18n-defaults.js.map +1 -1
  126. package/dist/generated/json-imports/Themes-fetch.js +1 -1
  127. package/dist/generated/json-imports/Themes-fetch.js.map +1 -1
  128. package/dist/generated/json-imports/Themes-node.d.ts +1 -0
  129. package/dist/generated/json-imports/Themes-node.js +21 -0
  130. package/dist/generated/json-imports/Themes-node.js.map +1 -0
  131. package/dist/generated/json-imports/Themes.js +1 -1
  132. package/dist/generated/json-imports/Themes.js.map +1 -1
  133. package/dist/generated/json-imports/i18n-fetch.js +3 -1
  134. package/dist/generated/json-imports/i18n-fetch.js.map +1 -1
  135. package/dist/generated/json-imports/i18n-node.d.ts +1 -0
  136. package/dist/generated/json-imports/i18n-node.js +120 -0
  137. package/dist/generated/json-imports/i18n-node.js.map +1 -0
  138. package/dist/generated/json-imports/i18n.js +3 -1
  139. package/dist/generated/json-imports/i18n.js.map +1 -1
  140. package/dist/generated/themes/Button.css.d.ts +1 -1
  141. package/dist/generated/themes/Button.css.js +3 -3
  142. package/dist/generated/themes/Button.css.js.map +1 -1
  143. package/dist/generated/themes/Input.css.d.ts +2 -0
  144. package/dist/generated/themes/Input.css.js +8 -0
  145. package/dist/generated/themes/Input.css.js.map +1 -0
  146. package/dist/generated/themes/PromptInput.css.d.ts +1 -1
  147. package/dist/generated/themes/PromptInput.css.js +3 -3
  148. package/dist/generated/themes/PromptInput.css.js.map +1 -1
  149. package/dist/generated/themes/TextArea.css.d.ts +2 -0
  150. package/dist/generated/themes/TextArea.css.js +8 -0
  151. package/dist/generated/themes/TextArea.css.js.map +1 -0
  152. package/dist/generated/themes/Versioning.css.d.ts +2 -0
  153. package/dist/generated/themes/Versioning.css.js +8 -0
  154. package/dist/generated/themes/Versioning.css.js.map +1 -0
  155. package/dist/generated/themes/WritingAssistant.css.d.ts +2 -0
  156. package/dist/generated/themes/WritingAssistant.css.js +8 -0
  157. package/dist/generated/themes/WritingAssistant.css.js.map +1 -0
  158. package/dist/generated/themes/sap_horizon/parameters-bundle.css.d.ts +1 -1
  159. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
  160. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
  161. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.d.ts +1 -1
  162. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -1
  163. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
  164. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.d.ts +1 -1
  165. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -1
  166. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -1
  167. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.d.ts +1 -1
  168. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -1
  169. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
  170. package/dist/vscode.html-custom-data.json +111 -6
  171. package/dist/web-types.json +321 -13
  172. package/package-scripts.cjs +4 -0
  173. package/package.json +25 -18
  174. package/src/ButtonTemplate.tsx +1 -0
  175. package/src/InputTemplate.tsx +197 -0
  176. package/src/TextArea.css +25 -0
  177. package/src/TextAreaTemplate.tsx +91 -0
  178. package/src/ToolbarLabelTemplate.tsx +9 -0
  179. package/src/VersioningTemplate.tsx +34 -0
  180. package/src/WritingAssistantTemplate.tsx +51 -0
  181. package/src/i18n/messagebundle.properties +43 -1
  182. package/src/i18n/messagebundle_ar.properties +28 -0
  183. package/src/i18n/messagebundle_bg.properties +28 -0
  184. package/src/i18n/messagebundle_ca.properties +28 -0
  185. package/src/i18n/messagebundle_cnr.properties +28 -0
  186. package/src/i18n/messagebundle_cs.properties +28 -0
  187. package/src/i18n/messagebundle_cy.properties +28 -0
  188. package/src/i18n/messagebundle_da.properties +28 -0
  189. package/src/i18n/messagebundle_de.properties +28 -0
  190. package/src/i18n/messagebundle_el.properties +28 -0
  191. package/src/i18n/messagebundle_en.properties +28 -0
  192. package/src/i18n/messagebundle_en_GB.properties +28 -0
  193. package/src/i18n/messagebundle_en_US_sappsd.properties +28 -0
  194. package/src/i18n/messagebundle_en_US_saprigi.properties +28 -0
  195. package/src/i18n/messagebundle_en_US_saptrc.properties +28 -0
  196. package/src/i18n/messagebundle_es.properties +28 -0
  197. package/src/i18n/messagebundle_es_MX.properties +29 -1
  198. package/src/i18n/messagebundle_et.properties +28 -0
  199. package/src/i18n/messagebundle_fi.properties +28 -0
  200. package/src/i18n/messagebundle_fr.properties +28 -0
  201. package/src/i18n/messagebundle_fr_CA.properties +28 -0
  202. package/src/i18n/messagebundle_hi.properties +28 -0
  203. package/src/i18n/messagebundle_hr.properties +30 -2
  204. package/src/i18n/messagebundle_hu.properties +28 -0
  205. package/src/i18n/messagebundle_id.properties +28 -0
  206. package/src/i18n/messagebundle_it.properties +28 -0
  207. package/src/i18n/messagebundle_iw.properties +28 -0
  208. package/src/i18n/messagebundle_ja.properties +28 -0
  209. package/src/i18n/messagebundle_kk.properties +28 -0
  210. package/src/i18n/messagebundle_ko.properties +28 -0
  211. package/src/i18n/messagebundle_lt.properties +28 -0
  212. package/src/i18n/messagebundle_lv.properties +28 -0
  213. package/src/i18n/messagebundle_mk.properties +28 -0
  214. package/src/i18n/messagebundle_ms.properties +28 -0
  215. package/src/i18n/messagebundle_nl.properties +28 -0
  216. package/src/i18n/messagebundle_no.properties +28 -0
  217. package/src/i18n/messagebundle_pl.properties +28 -0
  218. package/src/i18n/messagebundle_pt.properties +28 -0
  219. package/src/i18n/messagebundle_pt_PT.properties +28 -0
  220. package/src/i18n/messagebundle_ro.properties +28 -0
  221. package/src/i18n/messagebundle_ru.properties +28 -0
  222. package/src/i18n/messagebundle_sh.properties +28 -0
  223. package/src/i18n/messagebundle_sk.properties +28 -0
  224. package/src/i18n/messagebundle_sl.properties +28 -0
  225. package/src/i18n/messagebundle_sr.properties +28 -0
  226. package/src/i18n/messagebundle_sv.properties +28 -0
  227. package/src/i18n/messagebundle_th.properties +30 -2
  228. package/src/i18n/messagebundle_tr.properties +28 -0
  229. package/src/i18n/messagebundle_uk.properties +28 -0
  230. package/src/i18n/messagebundle_vi.properties +28 -0
  231. package/src/i18n/messagebundle_zh_CN.properties +28 -0
  232. package/src/i18n/messagebundle_zh_TW.properties +28 -0
  233. package/src/themes/Input.css +83 -0
  234. package/src/themes/PromptInput.css +5 -1
  235. package/src/themes/TextArea.css +45 -0
  236. package/src/themes/Versioning.css +20 -0
  237. package/src/themes/WritingAssistant.css +23 -0
  238. package/src/themes/base/Button-parameters.css +1 -1
  239. package/tsconfig.json +28 -1
  240. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -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",
@@ -74,7 +86,7 @@
74
86
  },
75
87
  {
76
88
  "kind": "field",
77
- "name": "activeArrowButton",
89
+ "name": "arrowButtonPressed",
78
90
  "type": {
79
91
  "text": "boolean"
80
92
  },
@@ -83,6 +95,24 @@
83
95
  "privacy": "public",
84
96
  "_ui5since": "2.6.0",
85
97
  "_ui5noAttribute": true
98
+ },
99
+ {
100
+ "kind": "field",
101
+ "name": "accessibilityAttributes",
102
+ "type": {
103
+ "text": "AIButtonAccessibilityAttributes",
104
+ "references": [
105
+ {
106
+ "name": "AIButtonAccessibilityAttributes",
107
+ "package": "@ui5/webcomponents-ai",
108
+ "module": "dist/Button.js"
109
+ }
110
+ ]
111
+ },
112
+ "default": "{}",
113
+ "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`.",
114
+ "privacy": "public",
115
+ "_ui5since": "2.6.0"
86
116
  }
87
117
  ],
88
118
  "events": [
@@ -98,7 +128,7 @@
98
128
  "_ui5Bubbles": true
99
129
  },
100
130
  {
101
- "name": "arrow-click",
131
+ "name": "arrow-button-click",
102
132
  "_ui5privacy": "public",
103
133
  "type": {
104
134
  "text": "CustomEvent"
@@ -139,12 +169,21 @@
139
169
  },
140
170
  {
141
171
  "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.",
142
- "name": "active-arrow-button",
172
+ "name": "arrow-button-pressed",
143
173
  "default": "false",
144
- "fieldName": "activeArrowButton",
174
+ "fieldName": "arrowButtonPressed",
145
175
  "type": {
146
176
  "text": "boolean"
147
177
  }
178
+ },
179
+ {
180
+ "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`.",
181
+ "name": "accessibility-attributes",
182
+ "default": "{}",
183
+ "fieldName": "accessibilityAttributes",
184
+ "type": {
185
+ "text": "AIButtonAccessibilityAttributes"
186
+ }
148
187
  }
149
188
  ],
150
189
  "superclass": {
@@ -154,7 +193,7 @@
154
193
  },
155
194
  "tagName": "ui5-ai-button",
156
195
  "customElement": true,
157
- "_ui5experimental": "The Button and ButtonState web components are availabe since 2.0 under an experimental flag and their API and behaviour are subject to change.",
196
+ "_ui5experimental": "The **@ui5/webcomponents-ai** package (including Button and ButtonState) is under active development and considered experimental. Component APIs are subject to change.\nFurthermore, the package supports **Horizon** themes only.",
158
197
  "_ui5since": "2.0.0",
159
198
  "_ui5privacy": "public"
160
199
  }
@@ -184,7 +223,7 @@
184
223
  "declarations": [
185
224
  {
186
225
  "kind": "class",
187
- "description": "### Overview\n\n`ui5-ai-button-state` is the item to use for defining states of `ui5-ai-button` components.\n\n### Usage\n\n`ui5-si-button-state` is an abstract element, representing a state of `ui5-ai-button`. It is meant to be used in the `states` slot\nof `ui5-ai-button` and should be used as standalone component.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/AiButtonState.js\";`",
226
+ "description": "### Overview\n\n`ui5-ai-button-state` is the item to use for defining states of `ui5-ai-button` components.\n\n### Usage\n\n`ui5-ai-button-state` is an abstract element, representing a state of `ui5-ai-button`. It is meant to be used in the `default` slot\nof `ui5-ai-button` and should not be used as standalone component.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/AiButtonState.js\";`",
188
227
  "name": "ButtonState",
189
228
  "members": [
190
229
  {
@@ -229,7 +268,7 @@
229
268
  },
230
269
  {
231
270
  "kind": "field",
232
- "name": "splitMode",
271
+ "name": "showArrowButton",
233
272
  "type": {
234
273
  "text": "boolean"
235
274
  },
@@ -278,9 +317,9 @@
278
317
  },
279
318
  {
280
319
  "description": "Defines if the component is in split button mode.",
281
- "name": "split-mode",
320
+ "name": "show-arrow-button",
282
321
  "default": "false",
283
- "fieldName": "splitMode",
322
+ "fieldName": "showArrowButton",
284
323
  "type": {
285
324
  "text": "boolean"
286
325
  }
@@ -293,7 +332,7 @@
293
332
  },
294
333
  "tagName": "ui5-ai-button-state",
295
334
  "customElement": true,
296
- "_ui5experimental": "The Button and ButtonState web components are availabe since 2.0 under an experimental flag and their API and behaviour are subject to change.",
335
+ "_ui5experimental": "The **@ui5/webcomponents-ai** package (including ButtonState) is under active development and considered experimental. Component APIs are subject to change.\nFurthermore, the package supports **Horizon** themes only.",
297
336
  "_ui5since": "2.0.0",
298
337
  "_ui5privacy": "public",
299
338
  "_ui5abstract": true
@@ -320,16 +359,24 @@
320
359
  },
321
360
  {
322
361
  "kind": "javascript-module",
323
- "path": "dist/PromptInput.js",
362
+ "path": "dist/Input.js",
324
363
  "declarations": [
325
364
  {
326
365
  "kind": "class",
327
- "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",
328
- "name": "PromptInput",
366
+ "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\";`",
367
+ "name": "Input",
329
368
  "slots": [
369
+ {
370
+ "name": "actions",
371
+ "description": "Defines the items of the menu for the component.",
372
+ "_ui5type": {
373
+ "text": "Array<HTMLElement>"
374
+ },
375
+ "_ui5privacy": "public"
376
+ },
330
377
  {
331
378
  "name": "default",
332
- "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.\n\n**Note:** Importing the Input Suggestions Support feature:\n\n`import \"@ui5/webcomponents/dist/features/InputSuggestions.js\";`\n\nautomatically imports the `<ui5-suggestion-item>` and `<ui5-suggestion-item-group>` for your convenience.",
379
+ "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.",
333
380
  "_ui5propertyName": "suggestionItems",
334
381
  "_ui5type": {
335
382
  "text": "Array<IInputSuggestionItem>",
@@ -343,10 +390,25 @@
343
390
  },
344
391
  "_ui5privacy": "public"
345
392
  },
393
+ {
394
+ "name": "icon",
395
+ "description": "Defines the icon to be displayed in the component.",
396
+ "_ui5type": {
397
+ "text": "Array<IIcon>",
398
+ "references": [
399
+ {
400
+ "name": "IIcon",
401
+ "package": "@ui5/webcomponents",
402
+ "module": "dist/Icon.js"
403
+ }
404
+ ]
405
+ },
406
+ "_ui5privacy": "public"
407
+ },
346
408
  {
347
409
  "name": "valueStateMessage",
348
- "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.",
349
- "_ui5since": "2.0.0",
410
+ "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.",
411
+ "_ui5since": "1.0.0-rc.6",
350
412
  "_ui5type": {
351
413
  "text": "Array<HTMLElement>"
352
414
  },
@@ -356,91 +418,114 @@
356
418
  "members": [
357
419
  {
358
420
  "kind": "field",
359
- "name": "value",
421
+ "name": "currentVersion",
360
422
  "type": {
361
- "text": "string"
423
+ "text": "number"
362
424
  },
363
- "default": "\"\"",
364
- "description": "Defines the value of the component.",
365
- "privacy": "public",
366
- "_ui5since": "2.0.0"
425
+ "default": "0",
426
+ "description": "Indicates the index of the currently displayed version.",
427
+ "privacy": "public"
367
428
  },
368
429
  {
369
430
  "kind": "field",
370
- "name": "placeholder",
431
+ "name": "totalVersions",
371
432
  "type": {
372
- "text": "string | undefined"
433
+ "text": "number"
373
434
  },
374
- "description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
375
- "default": "undefined",
376
- "privacy": "public",
377
- "_ui5since": "2.0.0"
435
+ "default": "0",
436
+ "description": "Indicates the total number of result versions available.\n\nWhen not set or set to 0, the versioning will be hidden.",
437
+ "privacy": "public"
378
438
  },
379
439
  {
380
440
  "kind": "field",
381
- "name": "label",
441
+ "name": "loading",
382
442
  "type": {
383
- "text": "string | undefined"
443
+ "text": "boolean"
384
444
  },
385
- "description": "Defines the label of the input field.",
386
- "default": "undefined",
387
- "privacy": "public",
388
- "_ui5since": "2.0.0"
445
+ "default": "false",
446
+ "description": "Defines whether the AI Writing Assistant is currently loading.\n\nWhen `true`, indicates that an AI action is in progress.",
447
+ "privacy": "public"
389
448
  },
390
449
  {
391
450
  "kind": "field",
392
- "name": "showClearIcon",
451
+ "name": "disabled",
393
452
  "type": {
394
453
  "text": "boolean"
395
454
  },
396
455
  "default": "false",
397
- "description": "Defines whether the clear icon of the input will be shown.",
398
- "privacy": "public",
399
- "_ui5since": "2.0.0"
456
+ "description": "Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.",
457
+ "privacy": "public"
400
458
  },
401
459
  {
402
460
  "kind": "field",
403
- "name": "showExceededText",
461
+ "name": "placeholder",
462
+ "type": {
463
+ "text": "string | undefined"
464
+ },
465
+ "description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
466
+ "default": "undefined",
467
+ "privacy": "public"
468
+ },
469
+ {
470
+ "kind": "field",
471
+ "name": "readonly",
404
472
  "type": {
405
473
  "text": "boolean"
406
474
  },
407
475
  "default": "false",
408
- "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.",
409
- "privacy": "public",
410
- "_ui5since": "2.0.0"
476
+ "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.",
477
+ "privacy": "public"
411
478
  },
412
479
  {
413
480
  "kind": "field",
414
- "name": "disabled",
481
+ "name": "required",
415
482
  "type": {
416
483
  "text": "boolean"
417
484
  },
418
485
  "default": "false",
419
- "description": "Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.",
486
+ "description": "Defines whether the component is required.",
420
487
  "privacy": "public",
421
- "_ui5since": "2.0.0"
488
+ "_ui5since": "1.0.0-rc.3"
422
489
  },
423
490
  {
424
491
  "kind": "field",
425
- "name": "readonly",
492
+ "name": "noTypeahead",
426
493
  "type": {
427
494
  "text": "boolean"
428
495
  },
429
496
  "default": "false",
430
- "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.",
497
+ "description": "Defines whether the value will be autcompleted to match an item",
431
498
  "privacy": "public",
432
- "_ui5since": "2.0.0"
499
+ "_ui5since": "1.4.0"
433
500
  },
434
501
  {
435
502
  "kind": "field",
436
- "name": "maxlength",
503
+ "name": "type",
437
504
  "type": {
438
- "text": "number | undefined"
505
+ "text": "InputType",
506
+ "references": [
507
+ {
508
+ "name": "InputType",
509
+ "package": "@ui5/webcomponents",
510
+ "module": "dist/types/InputType.js"
511
+ }
512
+ ]
439
513
  },
440
- "description": "Sets the maximum number of characters available in the input field.",
441
- "default": "undefined",
514
+ "default": "\"Text\"",
515
+ "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.",
516
+ "privacy": "public"
517
+ },
518
+ {
519
+ "kind": "field",
520
+ "name": "value",
521
+ "type": {
522
+ "text": "string"
523
+ },
524
+ "default": "\"\"",
525
+ "description": "Defines the value of the component.\n\n**Note:** The property is updated upon typing.",
442
526
  "privacy": "public",
443
- "_ui5since": "2.0.0"
527
+ "_ui5formProperty": true,
528
+ "_ui5formEvents": "change,input"
444
529
  },
445
530
  {
446
531
  "kind": "field",
@@ -457,8 +542,17 @@
457
542
  },
458
543
  "default": "\"None\"",
459
544
  "description": "Defines the value state of the component.",
460
- "privacy": "public",
461
- "_ui5since": "2.0.0"
545
+ "privacy": "public"
546
+ },
547
+ {
548
+ "kind": "field",
549
+ "name": "name",
550
+ "type": {
551
+ "text": "string | undefined"
552
+ },
553
+ "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.",
554
+ "default": "undefined",
555
+ "privacy": "public"
462
556
  },
463
557
  {
464
558
  "kind": "field",
@@ -467,119 +561,369 @@
467
561
  "text": "boolean"
468
562
  },
469
563
  "default": "false",
470
- "description": "Defines whether the component should show suggestions, if such are present.\n\n**Note:** You need to import the `InputSuggestions` module\nfrom `\"@ui5/webcomponents/dist/features/InputSuggestions.js\"` to enable this functionality.",
564
+ "description": "Defines whether the component should show suggestions, if such are present.",
471
565
  "privacy": "public"
472
- }
473
- ],
474
- "events": [
566
+ },
475
567
  {
476
- "name": "submit",
477
- "_ui5privacy": "public",
568
+ "kind": "field",
569
+ "name": "maxlength",
478
570
  "type": {
479
- "text": "CustomEvent"
571
+ "text": "number | undefined"
480
572
  },
481
- "description": "Fired when the input operation has finished by pressing Enter\nor AI button is clicked.",
482
- "_ui5Cancelable": false,
483
- "_ui5allowPreventDefault": false,
484
- "_ui5Bubbles": true,
485
- "_ui5since": "2.0.0"
573
+ "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.",
574
+ "default": "undefined",
575
+ "privacy": "public",
576
+ "_ui5since": "1.0.0-rc.5"
486
577
  },
487
578
  {
488
- "name": "input",
489
- "_ui5privacy": "public",
579
+ "kind": "field",
580
+ "name": "accessibleName",
490
581
  "type": {
491
- "text": "CustomEvent"
582
+ "text": "string | undefined"
492
583
  },
493
- "description": "Fired when the value of the component changes at each keystroke,\nand when a suggestion item has been selected.",
494
- "_ui5Cancelable": false,
495
- "_ui5allowPreventDefault": false,
496
- "_ui5Bubbles": true,
497
- "_ui5since": "2.0.0"
584
+ "description": "Defines the accessible ARIA name of the component.",
585
+ "default": "undefined",
586
+ "privacy": "public",
587
+ "_ui5since": "1.0.0-rc.15"
498
588
  },
499
589
  {
500
- "name": "change",
501
- "_ui5privacy": "public",
590
+ "kind": "field",
591
+ "name": "accessibleNameRef",
502
592
  "type": {
503
- "text": "CustomEvent"
593
+ "text": "string | undefined"
504
594
  },
505
- "description": "Fired when the input operation has finished by pressing Enter\nor on focusout.",
506
- "_ui5Cancelable": false,
507
- "_ui5allowPreventDefault": false,
508
- "_ui5Bubbles": true,
509
- "_ui5since": "2.0.0"
510
- }
511
- ],
512
- "attributes": [
513
- {
514
- "description": "Defines the value of the component.",
515
- "name": "value",
516
- "default": "\"\"",
517
- "fieldName": "value",
518
- "type": {
519
- "text": "string"
520
- }
595
+ "description": "Receives id(or many ids) of the elements that label the input.",
596
+ "default": "undefined",
597
+ "privacy": "public",
598
+ "_ui5since": "1.0.0-rc.15"
521
599
  },
522
600
  {
523
- "description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
524
- "name": "placeholder",
525
- "default": "undefined",
526
- "fieldName": "placeholder",
601
+ "kind": "field",
602
+ "name": "accessibleDescription",
527
603
  "type": {
528
604
  "text": "string | undefined"
529
- }
605
+ },
606
+ "description": "Defines the accessible description of the component.",
607
+ "default": "undefined",
608
+ "privacy": "public",
609
+ "_ui5since": "2.9.0"
530
610
  },
531
611
  {
532
- "description": "Defines the label of the input field.",
533
- "name": "label",
534
- "default": "undefined",
535
- "fieldName": "label",
612
+ "kind": "field",
613
+ "name": "accessibleDescriptionRef",
536
614
  "type": {
537
615
  "text": "string | undefined"
538
- }
616
+ },
617
+ "description": "Receives id(or many ids) of the elements that describe the input.",
618
+ "default": "undefined",
619
+ "privacy": "public",
620
+ "_ui5since": "2.9.0"
539
621
  },
540
622
  {
541
- "description": "Defines whether the clear icon of the input will be shown.",
542
- "name": "show-clear-icon",
543
- "default": "false",
544
- "fieldName": "showClearIcon",
623
+ "kind": "field",
624
+ "name": "showClearIcon",
545
625
  "type": {
546
626
  "text": "boolean"
547
- }
627
+ },
628
+ "default": "false",
629
+ "description": "Defines whether the clear icon of the input will be shown.",
630
+ "privacy": "public",
631
+ "_ui5since": "1.2.0"
548
632
  },
549
633
  {
550
- "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.",
551
- "name": "show-exceeded-text",
552
- "default": "false",
553
- "fieldName": "showExceededText",
634
+ "kind": "field",
635
+ "name": "open",
554
636
  "type": {
555
637
  "text": "boolean"
556
- }
638
+ },
639
+ "default": "false",
640
+ "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.",
641
+ "privacy": "public",
642
+ "_ui5since": "2.0.0"
557
643
  },
558
644
  {
559
- "description": "Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.",
560
- "name": "disabled",
561
- "default": "false",
562
- "fieldName": "disabled",
645
+ "kind": "field",
646
+ "name": "filter",
563
647
  "type": {
564
- "text": "boolean"
565
- }
566
- },
648
+ "text": "InputSuggestionsFilter",
649
+ "references": [
650
+ {
651
+ "name": "InputSuggestionsFilter",
652
+ "package": "@ui5/webcomponents",
653
+ "module": "dist/types/InputSuggestionsFilter.js"
654
+ }
655
+ ]
656
+ },
657
+ "description": "Defines the filter type of the component.",
658
+ "default": "\"None\"",
659
+ "privacy": "public",
660
+ "_ui5since": "2.19.0"
661
+ }
662
+ ],
663
+ "events": [
567
664
  {
568
- "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.",
569
- "name": "readonly",
570
- "default": "false",
571
- "fieldName": "readonly",
665
+ "name": "button-click",
666
+ "_ui5privacy": "public",
572
667
  "type": {
573
- "text": "boolean"
574
- }
668
+ "text": "CustomEvent"
669
+ },
670
+ "description": "Fired when the user selects the AI button.",
671
+ "_ui5Cancelable": true,
672
+ "_ui5allowPreventDefault": true,
673
+ "_ui5Bubbles": false
575
674
  },
576
675
  {
577
- "description": "Sets the maximum number of characters available in the input field.",
578
- "name": "maxlength",
579
- "default": "undefined",
580
- "fieldName": "maxlength",
676
+ "name": "item-click",
677
+ "_ui5privacy": "public",
581
678
  "type": {
582
- "text": "number | undefined"
679
+ "text": "CustomEvent<InputItemClickEventDetail>",
680
+ "references": [
681
+ {
682
+ "name": "InputItemClickEventDetail",
683
+ "package": "@ui5/webcomponents-ai",
684
+ "module": "dist/Input.js"
685
+ }
686
+ ]
687
+ },
688
+ "description": "Fired when an item from the AI actions menu is clicked.",
689
+ "_ui5Cancelable": false,
690
+ "_ui5allowPreventDefault": false,
691
+ "_ui5Bubbles": false,
692
+ "_ui5parameters": [
693
+ {
694
+ "type": {
695
+ "text": "HTMLElement"
696
+ },
697
+ "name": "item",
698
+ "_ui5privacy": "public",
699
+ "description": "The currently clicked menu item."
700
+ },
701
+ {
702
+ "type": {
703
+ "text": "string"
704
+ },
705
+ "name": "text",
706
+ "_ui5privacy": "public",
707
+ "description": "The text of the currently clicked menu item."
708
+ }
709
+ ]
710
+ },
711
+ {
712
+ "name": "stop-generation",
713
+ "_ui5privacy": "public",
714
+ "type": {
715
+ "text": "CustomEvent"
716
+ },
717
+ "description": "Fired when the user selects the \"Stop\" button to stop ongoing AI text generation.",
718
+ "_ui5Cancelable": false,
719
+ "_ui5allowPreventDefault": false,
720
+ "_ui5Bubbles": false
721
+ },
722
+ {
723
+ "name": "version-change",
724
+ "_ui5privacy": "public",
725
+ "type": {
726
+ "text": "CustomEvent<InputVersionChangeEventDetail>",
727
+ "references": [
728
+ {
729
+ "name": "InputVersionChangeEventDetail",
730
+ "package": "@ui5/webcomponents-ai",
731
+ "module": "dist/Input.js"
732
+ }
733
+ ]
734
+ },
735
+ "description": "Fired when the user selects the version navigation buttons.",
736
+ "_ui5Cancelable": false,
737
+ "_ui5allowPreventDefault": false,
738
+ "_ui5Bubbles": false,
739
+ "_ui5parameters": [
740
+ {
741
+ "type": {
742
+ "text": "boolean"
743
+ },
744
+ "name": "backwards",
745
+ "_ui5privacy": "public",
746
+ "description": "The text of the currently clicked menu item."
747
+ }
748
+ ]
749
+ },
750
+ {
751
+ "name": "change",
752
+ "_ui5privacy": "public",
753
+ "type": {
754
+ "text": "CustomEvent"
755
+ },
756
+ "description": "Fired when the input operation has finished by pressing Enter or on focusout.",
757
+ "_ui5Cancelable": false,
758
+ "_ui5allowPreventDefault": false,
759
+ "_ui5Bubbles": true
760
+ },
761
+ {
762
+ "name": "input",
763
+ "_ui5privacy": "public",
764
+ "type": {
765
+ "text": "CustomEvent"
766
+ },
767
+ "description": "Fired when the value of the component changes at each keystroke,\nand when a suggestion item has been selected.",
768
+ "_ui5Cancelable": true,
769
+ "_ui5allowPreventDefault": true,
770
+ "_ui5Bubbles": true
771
+ },
772
+ {
773
+ "name": "select",
774
+ "_ui5privacy": "public",
775
+ "type": {
776
+ "text": "CustomEvent"
777
+ },
778
+ "description": "Fired when some text has been selected.",
779
+ "_ui5Cancelable": false,
780
+ "_ui5allowPreventDefault": false,
781
+ "_ui5Bubbles": true,
782
+ "_ui5since": "2.0.0"
783
+ },
784
+ {
785
+ "name": "selection-change",
786
+ "_ui5privacy": "public",
787
+ "type": {
788
+ "text": "CustomEvent<InputSelectionChangeEventDetail>",
789
+ "references": [
790
+ {
791
+ "name": "InputSelectionChangeEventDetail",
792
+ "package": "@ui5/webcomponents",
793
+ "module": "dist/Input.js"
794
+ }
795
+ ]
796
+ },
797
+ "description": "Fired when the user navigates to a suggestion item via the ARROW keys,\nas a preview, before the final selection.",
798
+ "_ui5Cancelable": false,
799
+ "_ui5allowPreventDefault": false,
800
+ "_ui5Bubbles": true,
801
+ "_ui5since": "2.0.0",
802
+ "_ui5parameters": [
803
+ {
804
+ "type": {
805
+ "text": "HTMLElement"
806
+ },
807
+ "name": "item",
808
+ "_ui5privacy": "public",
809
+ "description": "The previewed suggestion item."
810
+ }
811
+ ]
812
+ },
813
+ {
814
+ "name": "open",
815
+ "_ui5privacy": "public",
816
+ "type": {
817
+ "text": "CustomEvent"
818
+ },
819
+ "description": "Fired when the suggestions picker is open.",
820
+ "_ui5Cancelable": false,
821
+ "_ui5allowPreventDefault": false,
822
+ "_ui5Bubbles": true,
823
+ "_ui5since": "2.0.0"
824
+ },
825
+ {
826
+ "name": "close",
827
+ "_ui5privacy": "public",
828
+ "type": {
829
+ "text": "CustomEvent"
830
+ },
831
+ "description": "Fired when the suggestions picker is closed.",
832
+ "_ui5Cancelable": false,
833
+ "_ui5allowPreventDefault": false,
834
+ "_ui5Bubbles": false,
835
+ "_ui5since": "2.0.0"
836
+ }
837
+ ],
838
+ "attributes": [
839
+ {
840
+ "description": "Indicates the index of the currently displayed version.",
841
+ "name": "current-version",
842
+ "default": "0",
843
+ "fieldName": "currentVersion",
844
+ "type": {
845
+ "text": "number"
846
+ }
847
+ },
848
+ {
849
+ "description": "Indicates the total number of result versions available.\n\nWhen not set or set to 0, the versioning will be hidden.",
850
+ "name": "total-versions",
851
+ "default": "0",
852
+ "fieldName": "totalVersions",
853
+ "type": {
854
+ "text": "number"
855
+ }
856
+ },
857
+ {
858
+ "description": "Defines whether the AI Writing Assistant is currently loading.\n\nWhen `true`, indicates that an AI action is in progress.",
859
+ "name": "loading",
860
+ "default": "false",
861
+ "fieldName": "loading",
862
+ "type": {
863
+ "text": "boolean"
864
+ }
865
+ },
866
+ {
867
+ "description": "Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.",
868
+ "name": "disabled",
869
+ "default": "false",
870
+ "fieldName": "disabled",
871
+ "type": {
872
+ "text": "boolean"
873
+ }
874
+ },
875
+ {
876
+ "description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
877
+ "name": "placeholder",
878
+ "default": "undefined",
879
+ "fieldName": "placeholder",
880
+ "type": {
881
+ "text": "string | undefined"
882
+ }
883
+ },
884
+ {
885
+ "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.",
886
+ "name": "readonly",
887
+ "default": "false",
888
+ "fieldName": "readonly",
889
+ "type": {
890
+ "text": "boolean"
891
+ }
892
+ },
893
+ {
894
+ "description": "Defines whether the component is required.",
895
+ "name": "required",
896
+ "default": "false",
897
+ "fieldName": "required",
898
+ "type": {
899
+ "text": "boolean"
900
+ }
901
+ },
902
+ {
903
+ "description": "Defines whether the value will be autcompleted to match an item",
904
+ "name": "no-typeahead",
905
+ "default": "false",
906
+ "fieldName": "noTypeahead",
907
+ "type": {
908
+ "text": "boolean"
909
+ }
910
+ },
911
+ {
912
+ "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.",
913
+ "name": "type",
914
+ "default": "\"Text\"",
915
+ "fieldName": "type",
916
+ "type": {
917
+ "text": "\"Text\" | \"Email\" | \"Number\" | \"Password\" | \"Tel\" | \"URL\" | \"Search\""
918
+ }
919
+ },
920
+ {
921
+ "description": "Defines the value of the component.\n\n**Note:** The property is updated upon typing.",
922
+ "name": "value",
923
+ "default": "\"\"",
924
+ "fieldName": "value",
925
+ "type": {
926
+ "text": "string"
583
927
  }
584
928
  },
585
929
  {
@@ -588,28 +932,124 @@
588
932
  "default": "\"None\"",
589
933
  "fieldName": "valueState",
590
934
  "type": {
591
- "text": "\"Positive\" | \"Negative\" | \"None\" | \"Critical\" | \"Information\""
935
+ "text": "\"None\" | \"Positive\" | \"Critical\" | \"Negative\" | \"Information\""
592
936
  }
593
937
  },
594
938
  {
595
- "description": "Defines whether the component should show suggestions, if such are present.\n\n**Note:** You need to import the `InputSuggestions` module\nfrom `\"@ui5/webcomponents/dist/features/InputSuggestions.js\"` to enable this functionality.",
939
+ "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.",
940
+ "name": "name",
941
+ "default": "undefined",
942
+ "fieldName": "name",
943
+ "type": {
944
+ "text": "string | undefined"
945
+ }
946
+ },
947
+ {
948
+ "description": "Defines whether the component should show suggestions, if such are present.",
596
949
  "name": "show-suggestions",
597
950
  "default": "false",
598
951
  "fieldName": "showSuggestions",
599
952
  "type": {
600
953
  "text": "boolean"
601
954
  }
955
+ },
956
+ {
957
+ "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.",
958
+ "name": "maxlength",
959
+ "default": "undefined",
960
+ "fieldName": "maxlength",
961
+ "type": {
962
+ "text": "number | undefined"
963
+ }
964
+ },
965
+ {
966
+ "description": "Defines the accessible ARIA name of the component.",
967
+ "name": "accessible-name",
968
+ "default": "undefined",
969
+ "fieldName": "accessibleName",
970
+ "type": {
971
+ "text": "string | undefined"
972
+ }
973
+ },
974
+ {
975
+ "description": "Receives id(or many ids) of the elements that label the input.",
976
+ "name": "accessible-name-ref",
977
+ "default": "undefined",
978
+ "fieldName": "accessibleNameRef",
979
+ "type": {
980
+ "text": "string | undefined"
981
+ }
982
+ },
983
+ {
984
+ "description": "Defines the accessible description of the component.",
985
+ "name": "accessible-description",
986
+ "default": "undefined",
987
+ "fieldName": "accessibleDescription",
988
+ "type": {
989
+ "text": "string | undefined"
990
+ }
991
+ },
992
+ {
993
+ "description": "Receives id(or many ids) of the elements that describe the input.",
994
+ "name": "accessible-description-ref",
995
+ "default": "undefined",
996
+ "fieldName": "accessibleDescriptionRef",
997
+ "type": {
998
+ "text": "string | undefined"
999
+ }
1000
+ },
1001
+ {
1002
+ "description": "Defines whether the clear icon of the input will be shown.",
1003
+ "name": "show-clear-icon",
1004
+ "default": "false",
1005
+ "fieldName": "showClearIcon",
1006
+ "type": {
1007
+ "text": "boolean"
1008
+ }
1009
+ },
1010
+ {
1011
+ "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.",
1012
+ "name": "open",
1013
+ "default": "false",
1014
+ "fieldName": "open",
1015
+ "type": {
1016
+ "text": "boolean"
1017
+ }
1018
+ },
1019
+ {
1020
+ "description": "Defines the filter type of the component.",
1021
+ "name": "filter",
1022
+ "default": "\"None\"",
1023
+ "fieldName": "filter",
1024
+ "type": {
1025
+ "text": "\"None\" | \"StartsWithPerTerm\" | \"StartsWith\" | \"Contains\""
1026
+ }
602
1027
  }
603
1028
  ],
604
1029
  "superclass": {
605
- "name": "UI5Element",
606
- "package": "@ui5/webcomponents-base",
607
- "module": "dist/UI5Element.js"
1030
+ "name": "Input",
1031
+ "package": "@ui5/webcomponents",
1032
+ "module": "dist/Input.js"
608
1033
  },
609
- "tagName": "ui5-ai-prompt-input",
1034
+ "tagName": "ui5-ai-input",
610
1035
  "customElement": true,
611
- "_ui5experimental": "The **@ui5/webcomponents-ai** package is under development and considered experimental - components' APIs are subject to change.",
612
- "_ui5privacy": "public"
1036
+ "_ui5experimental": "The **@ui5/webcomponents-ai** package is under active development and considered experimental. Component APIs are subject to change.\nFurthermore, the package supports **Horizon** themes only.",
1037
+ "_ui5since": "2.16.0",
1038
+ "_ui5privacy": "public",
1039
+ "cssParts": [
1040
+ {
1041
+ "description": "Used to style the root DOM element of the Input component",
1042
+ "name": "root"
1043
+ },
1044
+ {
1045
+ "description": "Used to style the native input element",
1046
+ "name": "input"
1047
+ },
1048
+ {
1049
+ "description": "Used to style the clear icon, which can be pressed to clear user input text",
1050
+ "name": "clear-icon"
1051
+ }
1052
+ ]
613
1053
  }
614
1054
  ],
615
1055
  "exports": [
@@ -617,16 +1057,1363 @@
617
1057
  "kind": "js",
618
1058
  "name": "default",
619
1059
  "declaration": {
620
- "name": "PromptInput",
621
- "module": "dist/PromptInput.js"
1060
+ "name": "Input",
1061
+ "module": "dist/Input.js"
622
1062
  }
623
1063
  },
624
1064
  {
625
1065
  "kind": "custom-element-definition",
626
- "name": "ui5-ai-prompt-input",
1066
+ "name": "ui5-ai-input",
627
1067
  "declaration": {
628
- "name": "PromptInput",
629
- "module": "dist/PromptInput.js"
1068
+ "name": "Input",
1069
+ "module": "dist/Input.js"
1070
+ }
1071
+ }
1072
+ ]
1073
+ },
1074
+ {
1075
+ "kind": "javascript-module",
1076
+ "path": "dist/PromptInput.js",
1077
+ "declarations": [
1078
+ {
1079
+ "kind": "class",
1080
+ "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\"`",
1081
+ "name": "PromptInput",
1082
+ "slots": [
1083
+ {
1084
+ "name": "default",
1085
+ "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.",
1086
+ "_ui5propertyName": "suggestionItems",
1087
+ "_ui5type": {
1088
+ "text": "Array<IInputSuggestionItem>",
1089
+ "references": [
1090
+ {
1091
+ "name": "IInputSuggestionItem",
1092
+ "package": "@ui5/webcomponents",
1093
+ "module": "dist/Input.js"
1094
+ }
1095
+ ]
1096
+ },
1097
+ "_ui5privacy": "public"
1098
+ },
1099
+ {
1100
+ "name": "valueStateMessage",
1101
+ "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.",
1102
+ "_ui5since": "2.0.0",
1103
+ "_ui5type": {
1104
+ "text": "Array<HTMLElement>"
1105
+ },
1106
+ "_ui5privacy": "public"
1107
+ }
1108
+ ],
1109
+ "members": [
1110
+ {
1111
+ "kind": "field",
1112
+ "name": "value",
1113
+ "type": {
1114
+ "text": "string"
1115
+ },
1116
+ "default": "\"\"",
1117
+ "description": "Defines the value of the component.",
1118
+ "privacy": "public",
1119
+ "_ui5since": "2.0.0"
1120
+ },
1121
+ {
1122
+ "kind": "field",
1123
+ "name": "placeholder",
1124
+ "type": {
1125
+ "text": "string | undefined"
1126
+ },
1127
+ "description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
1128
+ "default": "undefined",
1129
+ "privacy": "public",
1130
+ "_ui5since": "2.0.0"
1131
+ },
1132
+ {
1133
+ "kind": "field",
1134
+ "name": "label",
1135
+ "type": {
1136
+ "text": "string | undefined"
1137
+ },
1138
+ "description": "Defines the label of the input field.",
1139
+ "default": "undefined",
1140
+ "privacy": "public",
1141
+ "_ui5since": "2.0.0"
1142
+ },
1143
+ {
1144
+ "kind": "field",
1145
+ "name": "showClearIcon",
1146
+ "type": {
1147
+ "text": "boolean"
1148
+ },
1149
+ "default": "false",
1150
+ "description": "Defines whether the clear icon of the input will be shown.",
1151
+ "privacy": "public",
1152
+ "_ui5since": "2.0.0"
1153
+ },
1154
+ {
1155
+ "kind": "field",
1156
+ "name": "showExceededText",
1157
+ "type": {
1158
+ "text": "boolean"
1159
+ },
1160
+ "default": "false",
1161
+ "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.",
1162
+ "privacy": "public",
1163
+ "_ui5since": "2.0.0"
1164
+ },
1165
+ {
1166
+ "kind": "field",
1167
+ "name": "disabled",
1168
+ "type": {
1169
+ "text": "boolean"
1170
+ },
1171
+ "default": "false",
1172
+ "description": "Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.",
1173
+ "privacy": "public",
1174
+ "_ui5since": "2.0.0"
1175
+ },
1176
+ {
1177
+ "kind": "field",
1178
+ "name": "readonly",
1179
+ "type": {
1180
+ "text": "boolean"
1181
+ },
1182
+ "default": "false",
1183
+ "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.",
1184
+ "privacy": "public",
1185
+ "_ui5since": "2.0.0"
1186
+ },
1187
+ {
1188
+ "kind": "field",
1189
+ "name": "maxlength",
1190
+ "type": {
1191
+ "text": "number | undefined"
1192
+ },
1193
+ "description": "Sets the maximum number of characters available in the input field.",
1194
+ "default": "undefined",
1195
+ "privacy": "public",
1196
+ "_ui5since": "2.0.0"
1197
+ },
1198
+ {
1199
+ "kind": "field",
1200
+ "name": "valueState",
1201
+ "type": {
1202
+ "text": "ValueState",
1203
+ "references": [
1204
+ {
1205
+ "name": "ValueState",
1206
+ "package": "@ui5/webcomponents-base",
1207
+ "module": "dist/types/ValueState.js"
1208
+ }
1209
+ ]
1210
+ },
1211
+ "default": "\"None\"",
1212
+ "description": "Defines the value state of the component.",
1213
+ "privacy": "public",
1214
+ "_ui5since": "2.0.0"
1215
+ },
1216
+ {
1217
+ "kind": "field",
1218
+ "name": "showSuggestions",
1219
+ "type": {
1220
+ "text": "boolean"
1221
+ },
1222
+ "default": "false",
1223
+ "description": "Defines whether the component should show suggestions, if such are present.",
1224
+ "privacy": "public"
1225
+ }
1226
+ ],
1227
+ "events": [
1228
+ {
1229
+ "name": "submit",
1230
+ "_ui5privacy": "public",
1231
+ "type": {
1232
+ "text": "CustomEvent"
1233
+ },
1234
+ "description": "Fired when the input operation has finished by pressing Enter\nor AI button is clicked.",
1235
+ "_ui5Cancelable": false,
1236
+ "_ui5allowPreventDefault": false,
1237
+ "_ui5Bubbles": true,
1238
+ "_ui5since": "2.0.0"
1239
+ },
1240
+ {
1241
+ "name": "input",
1242
+ "_ui5privacy": "public",
1243
+ "type": {
1244
+ "text": "CustomEvent"
1245
+ },
1246
+ "description": "Fired when the value of the component changes at each keystroke,\nand when a suggestion item has been selected.",
1247
+ "_ui5Cancelable": false,
1248
+ "_ui5allowPreventDefault": false,
1249
+ "_ui5Bubbles": true,
1250
+ "_ui5since": "2.0.0"
1251
+ },
1252
+ {
1253
+ "name": "change",
1254
+ "_ui5privacy": "public",
1255
+ "type": {
1256
+ "text": "CustomEvent"
1257
+ },
1258
+ "description": "Fired when the input operation has finished by pressing Enter\nor on focusout.",
1259
+ "_ui5Cancelable": false,
1260
+ "_ui5allowPreventDefault": false,
1261
+ "_ui5Bubbles": true,
1262
+ "_ui5since": "2.0.0"
1263
+ }
1264
+ ],
1265
+ "attributes": [
1266
+ {
1267
+ "description": "Defines the value of the component.",
1268
+ "name": "value",
1269
+ "default": "\"\"",
1270
+ "fieldName": "value",
1271
+ "type": {
1272
+ "text": "string"
1273
+ }
1274
+ },
1275
+ {
1276
+ "description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
1277
+ "name": "placeholder",
1278
+ "default": "undefined",
1279
+ "fieldName": "placeholder",
1280
+ "type": {
1281
+ "text": "string | undefined"
1282
+ }
1283
+ },
1284
+ {
1285
+ "description": "Defines the label of the input field.",
1286
+ "name": "label",
1287
+ "default": "undefined",
1288
+ "fieldName": "label",
1289
+ "type": {
1290
+ "text": "string | undefined"
1291
+ }
1292
+ },
1293
+ {
1294
+ "description": "Defines whether the clear icon of the input will be shown.",
1295
+ "name": "show-clear-icon",
1296
+ "default": "false",
1297
+ "fieldName": "showClearIcon",
1298
+ "type": {
1299
+ "text": "boolean"
1300
+ }
1301
+ },
1302
+ {
1303
+ "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.",
1304
+ "name": "show-exceeded-text",
1305
+ "default": "false",
1306
+ "fieldName": "showExceededText",
1307
+ "type": {
1308
+ "text": "boolean"
1309
+ }
1310
+ },
1311
+ {
1312
+ "description": "Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.",
1313
+ "name": "disabled",
1314
+ "default": "false",
1315
+ "fieldName": "disabled",
1316
+ "type": {
1317
+ "text": "boolean"
1318
+ }
1319
+ },
1320
+ {
1321
+ "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.",
1322
+ "name": "readonly",
1323
+ "default": "false",
1324
+ "fieldName": "readonly",
1325
+ "type": {
1326
+ "text": "boolean"
1327
+ }
1328
+ },
1329
+ {
1330
+ "description": "Sets the maximum number of characters available in the input field.",
1331
+ "name": "maxlength",
1332
+ "default": "undefined",
1333
+ "fieldName": "maxlength",
1334
+ "type": {
1335
+ "text": "number | undefined"
1336
+ }
1337
+ },
1338
+ {
1339
+ "description": "Defines the value state of the component.",
1340
+ "name": "value-state",
1341
+ "default": "\"None\"",
1342
+ "fieldName": "valueState",
1343
+ "type": {
1344
+ "text": "\"Positive\" | \"Negative\" | \"None\" | \"Critical\" | \"Information\""
1345
+ }
1346
+ },
1347
+ {
1348
+ "description": "Defines whether the component should show suggestions, if such are present.",
1349
+ "name": "show-suggestions",
1350
+ "default": "false",
1351
+ "fieldName": "showSuggestions",
1352
+ "type": {
1353
+ "text": "boolean"
1354
+ }
1355
+ }
1356
+ ],
1357
+ "superclass": {
1358
+ "name": "UI5Element",
1359
+ "package": "@ui5/webcomponents-base",
1360
+ "module": "dist/UI5Element.js"
1361
+ },
1362
+ "tagName": "ui5-ai-prompt-input",
1363
+ "customElement": true,
1364
+ "_ui5experimental": "The **@ui5/webcomponents-ai** package is under development and considered experimental - components' APIs are subject to change.\nFurthermore, the package supports **Horizon** themes only.",
1365
+ "_ui5privacy": "public"
1366
+ }
1367
+ ],
1368
+ "exports": [
1369
+ {
1370
+ "kind": "js",
1371
+ "name": "default",
1372
+ "declaration": {
1373
+ "name": "PromptInput",
1374
+ "module": "dist/PromptInput.js"
1375
+ }
1376
+ },
1377
+ {
1378
+ "kind": "custom-element-definition",
1379
+ "name": "ui5-ai-prompt-input",
1380
+ "declaration": {
1381
+ "name": "PromptInput",
1382
+ "module": "dist/PromptInput.js"
1383
+ }
1384
+ }
1385
+ ]
1386
+ },
1387
+ {
1388
+ "kind": "javascript-module",
1389
+ "path": "dist/TextArea.js",
1390
+ "declarations": [
1391
+ {
1392
+ "kind": "class",
1393
+ "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\";`",
1394
+ "name": "TextArea",
1395
+ "slots": [
1396
+ {
1397
+ "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.",
1398
+ "name": "menu",
1399
+ "_ui5privacy": "public",
1400
+ "_ui5type": {
1401
+ "text": "HTMLElement"
1402
+ }
1403
+ },
1404
+ {
1405
+ "name": "valueStateMessage",
1406
+ "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`.",
1407
+ "_ui5since": "1.0.0-rc.7",
1408
+ "_ui5type": {
1409
+ "text": "Array<HTMLElement>"
1410
+ },
1411
+ "_ui5privacy": "public"
1412
+ }
1413
+ ],
1414
+ "members": [
1415
+ {
1416
+ "kind": "field",
1417
+ "name": "loading",
1418
+ "type": {
1419
+ "text": "boolean"
1420
+ },
1421
+ "default": "false",
1422
+ "description": "Defines whether the `ui5-ai-textarea` is currently in a loading(processing) state.",
1423
+ "privacy": "public"
1424
+ },
1425
+ {
1426
+ "kind": "field",
1427
+ "name": "promptDescription",
1428
+ "type": {
1429
+ "text": "string"
1430
+ },
1431
+ "default": "\"\"",
1432
+ "description": "Defines the prompt description of the current action.",
1433
+ "privacy": "public"
1434
+ },
1435
+ {
1436
+ "kind": "field",
1437
+ "name": "currentVersion",
1438
+ "type": {
1439
+ "text": "number"
1440
+ },
1441
+ "default": "0",
1442
+ "description": "Indicates the index of the currently displayed version.",
1443
+ "privacy": "public"
1444
+ },
1445
+ {
1446
+ "kind": "field",
1447
+ "name": "totalVersions",
1448
+ "type": {
1449
+ "text": "number"
1450
+ },
1451
+ "default": "0",
1452
+ "description": "Indicates the total number of result versions available.\n\nNotes:\nVersioning is hidden if the value is `0`",
1453
+ "privacy": "public"
1454
+ },
1455
+ {
1456
+ "kind": "field",
1457
+ "name": "value",
1458
+ "type": {
1459
+ "text": "string"
1460
+ },
1461
+ "default": "\"\"",
1462
+ "description": "Defines the value of the component.",
1463
+ "privacy": "public",
1464
+ "_ui5formProperty": true,
1465
+ "_ui5formEvents": "change,input"
1466
+ },
1467
+ {
1468
+ "kind": "field",
1469
+ "name": "disabled",
1470
+ "type": {
1471
+ "text": "boolean"
1472
+ },
1473
+ "default": "false",
1474
+ "description": "Indicates whether the user can interact with the component or not.\n\n**Note:** A disabled component is completely noninteractive.",
1475
+ "privacy": "public"
1476
+ },
1477
+ {
1478
+ "kind": "field",
1479
+ "name": "readonly",
1480
+ "type": {
1481
+ "text": "boolean"
1482
+ },
1483
+ "default": "false",
1484
+ "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.",
1485
+ "privacy": "public"
1486
+ },
1487
+ {
1488
+ "kind": "field",
1489
+ "name": "required",
1490
+ "type": {
1491
+ "text": "boolean"
1492
+ },
1493
+ "default": "false",
1494
+ "description": "Defines whether the component is required.",
1495
+ "privacy": "public",
1496
+ "_ui5since": "1.0.0-rc.3"
1497
+ },
1498
+ {
1499
+ "kind": "field",
1500
+ "name": "placeholder",
1501
+ "type": {
1502
+ "text": "string | undefined"
1503
+ },
1504
+ "description": "Defines a short hint intended to aid the user with data entry when the component has no value.",
1505
+ "default": "undefined",
1506
+ "privacy": "public"
1507
+ },
1508
+ {
1509
+ "kind": "field",
1510
+ "name": "valueState",
1511
+ "type": {
1512
+ "text": "ValueState",
1513
+ "references": [
1514
+ {
1515
+ "name": "ValueState",
1516
+ "package": "@ui5/webcomponents-base",
1517
+ "module": "dist/types/ValueState.js"
1518
+ }
1519
+ ]
1520
+ },
1521
+ "default": "\"None\"",
1522
+ "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.",
1523
+ "privacy": "public",
1524
+ "_ui5since": "1.0.0-rc.7"
1525
+ },
1526
+ {
1527
+ "kind": "field",
1528
+ "name": "rows",
1529
+ "type": {
1530
+ "text": "number"
1531
+ },
1532
+ "default": "0",
1533
+ "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.",
1534
+ "privacy": "public"
1535
+ },
1536
+ {
1537
+ "kind": "field",
1538
+ "name": "maxlength",
1539
+ "type": {
1540
+ "text": "number | undefined"
1541
+ },
1542
+ "description": "Defines the maximum number of characters that the `value` can have.",
1543
+ "default": "undefined",
1544
+ "privacy": "public"
1545
+ },
1546
+ {
1547
+ "kind": "field",
1548
+ "name": "showExceededText",
1549
+ "type": {
1550
+ "text": "boolean"
1551
+ },
1552
+ "default": "false",
1553
+ "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.",
1554
+ "privacy": "public"
1555
+ },
1556
+ {
1557
+ "kind": "field",
1558
+ "name": "growing",
1559
+ "type": {
1560
+ "text": "boolean"
1561
+ },
1562
+ "default": "false",
1563
+ "description": "Enables the component to automatically grow and shrink dynamically with its content.",
1564
+ "privacy": "public"
1565
+ },
1566
+ {
1567
+ "kind": "field",
1568
+ "name": "growingMaxRows",
1569
+ "type": {
1570
+ "text": "number"
1571
+ },
1572
+ "default": "0",
1573
+ "description": "Defines the maximum number of rows that the component can grow.",
1574
+ "privacy": "public"
1575
+ },
1576
+ {
1577
+ "kind": "field",
1578
+ "name": "name",
1579
+ "type": {
1580
+ "text": "string | undefined"
1581
+ },
1582
+ "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.",
1583
+ "default": "undefined",
1584
+ "privacy": "public"
1585
+ },
1586
+ {
1587
+ "kind": "field",
1588
+ "name": "accessibleName",
1589
+ "type": {
1590
+ "text": "string | undefined"
1591
+ },
1592
+ "description": "Defines the accessible ARIA name of the component.",
1593
+ "default": "undefined",
1594
+ "privacy": "public",
1595
+ "_ui5since": "1.0.0-rc.15"
1596
+ },
1597
+ {
1598
+ "kind": "field",
1599
+ "name": "accessibleNameRef",
1600
+ "type": {
1601
+ "text": "string | undefined"
1602
+ },
1603
+ "description": "Receives id(or many ids) of the elements that label the textarea.",
1604
+ "default": "undefined",
1605
+ "privacy": "public",
1606
+ "_ui5since": "1.0.0-rc.15"
1607
+ },
1608
+ {
1609
+ "kind": "field",
1610
+ "name": "accessibleDescription",
1611
+ "type": {
1612
+ "text": "string | undefined"
1613
+ },
1614
+ "description": "Defines the accessible description of the component.",
1615
+ "default": "undefined",
1616
+ "privacy": "public",
1617
+ "_ui5since": "2.16.0"
1618
+ },
1619
+ {
1620
+ "kind": "field",
1621
+ "name": "accessibleDescriptionRef",
1622
+ "type": {
1623
+ "text": "string | undefined"
1624
+ },
1625
+ "description": "Receives id(or many ids) of the elements that describe the textarea.",
1626
+ "default": "undefined",
1627
+ "privacy": "public",
1628
+ "_ui5since": "2.16.0"
1629
+ }
1630
+ ],
1631
+ "events": [
1632
+ {
1633
+ "name": "version-change",
1634
+ "_ui5privacy": "public",
1635
+ "type": {
1636
+ "text": "CustomEvent<TextAreaVersionChangeEventDetail>",
1637
+ "references": [
1638
+ {
1639
+ "name": "TextAreaVersionChangeEventDetail",
1640
+ "package": "@ui5/webcomponents-ai",
1641
+ "module": "dist/TextArea.js"
1642
+ }
1643
+ ]
1644
+ },
1645
+ "description": "Fired when the user clicks on version navigation buttons.",
1646
+ "_ui5Cancelable": false,
1647
+ "_ui5allowPreventDefault": false,
1648
+ "_ui5Bubbles": false,
1649
+ "_ui5parameters": [
1650
+ {
1651
+ "type": {
1652
+ "text": "boolean"
1653
+ },
1654
+ "name": "backwards",
1655
+ "_ui5privacy": "public",
1656
+ "description": "Indicates if navigation is backwards (true) or forwards (false, default)."
1657
+ }
1658
+ ]
1659
+ },
1660
+ {
1661
+ "name": "stop-generation",
1662
+ "_ui5privacy": "public",
1663
+ "type": {
1664
+ "text": "CustomEvent"
1665
+ },
1666
+ "description": "Fired when the user requests to stop AI text generation.",
1667
+ "_ui5Cancelable": false,
1668
+ "_ui5allowPreventDefault": false,
1669
+ "_ui5Bubbles": false
1670
+ },
1671
+ {
1672
+ "name": "change",
1673
+ "_ui5privacy": "public",
1674
+ "type": {
1675
+ "text": "CustomEvent"
1676
+ },
1677
+ "description": "Fired when the text has changed and the focus leaves the component.",
1678
+ "_ui5Cancelable": false,
1679
+ "_ui5allowPreventDefault": false,
1680
+ "_ui5Bubbles": true
1681
+ },
1682
+ {
1683
+ "name": "input",
1684
+ "_ui5privacy": "public",
1685
+ "type": {
1686
+ "text": "CustomEvent<TextAreaInputEventDetail>",
1687
+ "references": [
1688
+ {
1689
+ "name": "TextAreaInputEventDetail",
1690
+ "package": "@ui5/webcomponents",
1691
+ "module": "dist/TextArea.js"
1692
+ }
1693
+ ]
1694
+ },
1695
+ "description": "Fired when the value of the component changes at each keystroke or when\nsomething is pasted.",
1696
+ "_ui5Cancelable": true,
1697
+ "_ui5allowPreventDefault": true,
1698
+ "_ui5Bubbles": true,
1699
+ "_ui5since": "1.0.0-rc.5",
1700
+ "_ui5parameters": [
1701
+ {
1702
+ "type": {
1703
+ "text": "boolean"
1704
+ },
1705
+ "name": "escapePressed",
1706
+ "_ui5privacy": "public",
1707
+ "description": "Indicates whether the Escape key was pressed, which triggers a revert to the previous value"
1708
+ }
1709
+ ]
1710
+ },
1711
+ {
1712
+ "name": "select",
1713
+ "_ui5privacy": "public",
1714
+ "type": {
1715
+ "text": "CustomEvent"
1716
+ },
1717
+ "description": "Fired when some text has been selected.",
1718
+ "_ui5Cancelable": false,
1719
+ "_ui5allowPreventDefault": false,
1720
+ "_ui5Bubbles": true,
1721
+ "_ui5since": "1.23.0"
1722
+ },
1723
+ {
1724
+ "name": "scroll",
1725
+ "_ui5privacy": "public",
1726
+ "type": {
1727
+ "text": "CustomEvent"
1728
+ },
1729
+ "description": "Fired when textarea is scrolled.",
1730
+ "_ui5Cancelable": false,
1731
+ "_ui5allowPreventDefault": false,
1732
+ "_ui5Bubbles": true,
1733
+ "_ui5since": "1.23.0"
1734
+ }
1735
+ ],
1736
+ "attributes": [
1737
+ {
1738
+ "description": "Defines whether the `ui5-ai-textarea` is currently in a loading(processing) state.",
1739
+ "name": "loading",
1740
+ "default": "false",
1741
+ "fieldName": "loading",
1742
+ "type": {
1743
+ "text": "boolean"
1744
+ }
1745
+ },
1746
+ {
1747
+ "description": "Defines the prompt description of the current action.",
1748
+ "name": "prompt-description",
1749
+ "default": "\"\"",
1750
+ "fieldName": "promptDescription",
1751
+ "type": {
1752
+ "text": "string"
1753
+ }
1754
+ },
1755
+ {
1756
+ "description": "Indicates the index of the currently displayed version.",
1757
+ "name": "current-version",
1758
+ "default": "0",
1759
+ "fieldName": "currentVersion",
1760
+ "type": {
1761
+ "text": "number"
1762
+ }
1763
+ },
1764
+ {
1765
+ "description": "Indicates the total number of result versions available.\n\nNotes:\nVersioning is hidden if the value is `0`",
1766
+ "name": "total-versions",
1767
+ "default": "0",
1768
+ "fieldName": "totalVersions",
1769
+ "type": {
1770
+ "text": "number"
1771
+ }
1772
+ },
1773
+ {
1774
+ "description": "Defines the value of the component.",
1775
+ "name": "value",
1776
+ "default": "\"\"",
1777
+ "fieldName": "value",
1778
+ "type": {
1779
+ "text": "string"
1780
+ }
1781
+ },
1782
+ {
1783
+ "description": "Indicates whether the user can interact with the component or not.\n\n**Note:** A disabled component is completely noninteractive.",
1784
+ "name": "disabled",
1785
+ "default": "false",
1786
+ "fieldName": "disabled",
1787
+ "type": {
1788
+ "text": "boolean"
1789
+ }
1790
+ },
1791
+ {
1792
+ "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.",
1793
+ "name": "readonly",
1794
+ "default": "false",
1795
+ "fieldName": "readonly",
1796
+ "type": {
1797
+ "text": "boolean"
1798
+ }
1799
+ },
1800
+ {
1801
+ "description": "Defines whether the component is required.",
1802
+ "name": "required",
1803
+ "default": "false",
1804
+ "fieldName": "required",
1805
+ "type": {
1806
+ "text": "boolean"
1807
+ }
1808
+ },
1809
+ {
1810
+ "description": "Defines a short hint intended to aid the user with data entry when the component has no value.",
1811
+ "name": "placeholder",
1812
+ "default": "undefined",
1813
+ "fieldName": "placeholder",
1814
+ "type": {
1815
+ "text": "string | undefined"
1816
+ }
1817
+ },
1818
+ {
1819
+ "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.",
1820
+ "name": "value-state",
1821
+ "default": "\"None\"",
1822
+ "fieldName": "valueState",
1823
+ "type": {
1824
+ "text": "\"None\" | \"Positive\" | \"Critical\" | \"Negative\" | \"Information\""
1825
+ }
1826
+ },
1827
+ {
1828
+ "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.",
1829
+ "name": "rows",
1830
+ "default": "0",
1831
+ "fieldName": "rows",
1832
+ "type": {
1833
+ "text": "number"
1834
+ }
1835
+ },
1836
+ {
1837
+ "description": "Defines the maximum number of characters that the `value` can have.",
1838
+ "name": "maxlength",
1839
+ "default": "undefined",
1840
+ "fieldName": "maxlength",
1841
+ "type": {
1842
+ "text": "number | undefined"
1843
+ }
1844
+ },
1845
+ {
1846
+ "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.",
1847
+ "name": "show-exceeded-text",
1848
+ "default": "false",
1849
+ "fieldName": "showExceededText",
1850
+ "type": {
1851
+ "text": "boolean"
1852
+ }
1853
+ },
1854
+ {
1855
+ "description": "Enables the component to automatically grow and shrink dynamically with its content.",
1856
+ "name": "growing",
1857
+ "default": "false",
1858
+ "fieldName": "growing",
1859
+ "type": {
1860
+ "text": "boolean"
1861
+ }
1862
+ },
1863
+ {
1864
+ "description": "Defines the maximum number of rows that the component can grow.",
1865
+ "name": "growing-max-rows",
1866
+ "default": "0",
1867
+ "fieldName": "growingMaxRows",
1868
+ "type": {
1869
+ "text": "number"
1870
+ }
1871
+ },
1872
+ {
1873
+ "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.",
1874
+ "name": "name",
1875
+ "default": "undefined",
1876
+ "fieldName": "name",
1877
+ "type": {
1878
+ "text": "string | undefined"
1879
+ }
1880
+ },
1881
+ {
1882
+ "description": "Defines the accessible ARIA name of the component.",
1883
+ "name": "accessible-name",
1884
+ "default": "undefined",
1885
+ "fieldName": "accessibleName",
1886
+ "type": {
1887
+ "text": "string | undefined"
1888
+ }
1889
+ },
1890
+ {
1891
+ "description": "Receives id(or many ids) of the elements that label the textarea.",
1892
+ "name": "accessible-name-ref",
1893
+ "default": "undefined",
1894
+ "fieldName": "accessibleNameRef",
1895
+ "type": {
1896
+ "text": "string | undefined"
1897
+ }
1898
+ },
1899
+ {
1900
+ "description": "Defines the accessible description of the component.",
1901
+ "name": "accessible-description",
1902
+ "default": "undefined",
1903
+ "fieldName": "accessibleDescription",
1904
+ "type": {
1905
+ "text": "string | undefined"
1906
+ }
1907
+ },
1908
+ {
1909
+ "description": "Receives id(or many ids) of the elements that describe the textarea.",
1910
+ "name": "accessible-description-ref",
1911
+ "default": "undefined",
1912
+ "fieldName": "accessibleDescriptionRef",
1913
+ "type": {
1914
+ "text": "string | undefined"
1915
+ }
1916
+ }
1917
+ ],
1918
+ "superclass": {
1919
+ "name": "TextArea",
1920
+ "package": "@ui5/webcomponents",
1921
+ "module": "dist/TextArea.js"
1922
+ },
1923
+ "tagName": "ui5-ai-textarea",
1924
+ "customElement": true,
1925
+ "_ui5experimental": "The **@ui5/webcomponents-ai** package is under development and considered experimental - components' APIs are subject to change.\nFurthermore, the package supports **Horizon** themes only.",
1926
+ "_ui5since": "2.16.0",
1927
+ "_ui5privacy": "public",
1928
+ "cssParts": [
1929
+ {
1930
+ "description": "Used to style the native textarea",
1931
+ "name": "textarea"
1932
+ }
1933
+ ]
1934
+ }
1935
+ ],
1936
+ "exports": [
1937
+ {
1938
+ "kind": "js",
1939
+ "name": "default",
1940
+ "declaration": {
1941
+ "name": "TextArea",
1942
+ "module": "dist/TextArea.js"
1943
+ }
1944
+ },
1945
+ {
1946
+ "kind": "custom-element-definition",
1947
+ "name": "ui5-ai-textarea",
1948
+ "declaration": {
1949
+ "name": "TextArea",
1950
+ "module": "dist/TextArea.js"
1951
+ }
1952
+ }
1953
+ ]
1954
+ },
1955
+ {
1956
+ "kind": "javascript-module",
1957
+ "path": "dist/ToolbarLabel.js",
1958
+ "declarations": [
1959
+ {
1960
+ "kind": "class",
1961
+ "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\";`",
1962
+ "name": "ToolbarLabel",
1963
+ "members": [
1964
+ {
1965
+ "kind": "field",
1966
+ "name": "text",
1967
+ "type": {
1968
+ "text": "string"
1969
+ },
1970
+ "default": "\"\"",
1971
+ "description": "Defines the text of the label.",
1972
+ "privacy": "public"
1973
+ },
1974
+ {
1975
+ "kind": "field",
1976
+ "name": "overflowPriority",
1977
+ "type": {
1978
+ "text": "ToolbarItemOverflowBehavior",
1979
+ "references": [
1980
+ {
1981
+ "name": "ToolbarItemOverflowBehavior",
1982
+ "package": "@ui5/webcomponents",
1983
+ "module": "dist/types/ToolbarItemOverflowBehavior.js"
1984
+ }
1985
+ ]
1986
+ },
1987
+ "default": "\"Default\"",
1988
+ "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.",
1989
+ "privacy": "public"
1990
+ },
1991
+ {
1992
+ "kind": "field",
1993
+ "name": "preventOverflowClosing",
1994
+ "type": {
1995
+ "text": "boolean"
1996
+ },
1997
+ "default": "false",
1998
+ "description": "Defines if the toolbar overflow popup should close upon interaction with the item.\nIt will close by default.",
1999
+ "privacy": "public"
2000
+ }
2001
+ ],
2002
+ "attributes": [
2003
+ {
2004
+ "description": "Defines the text of the label.",
2005
+ "name": "text",
2006
+ "default": "\"\"",
2007
+ "fieldName": "text",
2008
+ "type": {
2009
+ "text": "string"
2010
+ }
2011
+ },
2012
+ {
2013
+ "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.",
2014
+ "name": "overflow-priority",
2015
+ "default": "\"Default\"",
2016
+ "fieldName": "overflowPriority",
2017
+ "type": {
2018
+ "text": "\"Default\" | \"NeverOverflow\" | \"AlwaysOverflow\""
2019
+ }
2020
+ },
2021
+ {
2022
+ "description": "Defines if the toolbar overflow popup should close upon interaction with the item.\nIt will close by default.",
2023
+ "name": "prevent-overflow-closing",
2024
+ "default": "false",
2025
+ "fieldName": "preventOverflowClosing",
2026
+ "type": {
2027
+ "text": "boolean"
2028
+ }
2029
+ }
2030
+ ],
2031
+ "superclass": {
2032
+ "name": "ToolbarItem",
2033
+ "package": "@ui5/webcomponents",
2034
+ "module": "dist/ToolbarItem.js"
2035
+ },
2036
+ "tagName": "ui5-ai-toolbar-label",
2037
+ "customElement": true,
2038
+ "_ui5since": "1.0.0-rc.1",
2039
+ "_ui5privacy": "private",
2040
+ "slots": [
2041
+ {
2042
+ "name": "default",
2043
+ "description": "Wrapped component slot.",
2044
+ "_ui5since": "2.20.0",
2045
+ "_ui5propertyName": "item",
2046
+ "_ui5type": {
2047
+ "text": "Array<IOverflowToolbarItem>",
2048
+ "references": [
2049
+ {
2050
+ "name": "IOverflowToolbarItem",
2051
+ "package": "@ui5/webcomponents",
2052
+ "module": "dist/ToolbarItem.js"
2053
+ }
2054
+ ]
2055
+ },
2056
+ "_ui5privacy": "public"
2057
+ }
2058
+ ],
2059
+ "events": [
2060
+ {
2061
+ "name": "close-overflow",
2062
+ "_ui5privacy": "public",
2063
+ "type": {
2064
+ "text": "CustomEvent"
2065
+ },
2066
+ "description": "Fired when the overflow popover is closed.",
2067
+ "_ui5Cancelable": true,
2068
+ "_ui5allowPreventDefault": true,
2069
+ "_ui5Bubbles": true,
2070
+ "_ui5since": "1.17.0"
2071
+ }
2072
+ ],
2073
+ "cssStates": [
2074
+ {
2075
+ "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.",
2076
+ "name": "overflowed"
2077
+ }
2078
+ ]
2079
+ }
2080
+ ],
2081
+ "exports": [
2082
+ {
2083
+ "kind": "js",
2084
+ "name": "default",
2085
+ "declaration": {
2086
+ "name": "ToolbarLabel",
2087
+ "module": "dist/ToolbarLabel.js"
2088
+ }
2089
+ },
2090
+ {
2091
+ "kind": "custom-element-definition",
2092
+ "name": "ui5-ai-toolbar-label",
2093
+ "declaration": {
2094
+ "name": "ToolbarLabel",
2095
+ "module": "dist/ToolbarLabel.js"
2096
+ }
2097
+ }
2098
+ ]
2099
+ },
2100
+ {
2101
+ "kind": "javascript-module",
2102
+ "path": "dist/Versioning.js",
2103
+ "declarations": [
2104
+ {
2105
+ "kind": "class",
2106
+ "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\";`",
2107
+ "name": "Versioning",
2108
+ "members": [
2109
+ {
2110
+ "kind": "field",
2111
+ "name": "currentStep",
2112
+ "type": {
2113
+ "text": "number"
2114
+ },
2115
+ "default": "0",
2116
+ "description": "Indicates the index of the currently displayed result version.\n\nThis property represents the current position in the version history.",
2117
+ "privacy": "public"
2118
+ },
2119
+ {
2120
+ "kind": "field",
2121
+ "name": "totalSteps",
2122
+ "type": {
2123
+ "text": "number"
2124
+ },
2125
+ "default": "0",
2126
+ "description": "The total number of available result versions.\n\nNote: Versioning is hidden if the value is `0`.",
2127
+ "privacy": "public"
2128
+ },
2129
+ {
2130
+ "kind": "field",
2131
+ "name": "overflowPriority",
2132
+ "type": {
2133
+ "text": "ToolbarItemOverflowBehavior",
2134
+ "references": [
2135
+ {
2136
+ "name": "ToolbarItemOverflowBehavior",
2137
+ "package": "@ui5/webcomponents",
2138
+ "module": "dist/types/ToolbarItemOverflowBehavior.js"
2139
+ }
2140
+ ]
2141
+ },
2142
+ "default": "\"Default\"",
2143
+ "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.",
2144
+ "privacy": "public"
2145
+ },
2146
+ {
2147
+ "kind": "field",
2148
+ "name": "preventOverflowClosing",
2149
+ "type": {
2150
+ "text": "boolean"
2151
+ },
2152
+ "default": "false",
2153
+ "description": "Defines if the toolbar overflow popup should close upon interaction with the item.\nIt will close by default.",
2154
+ "privacy": "public"
2155
+ }
2156
+ ],
2157
+ "events": [
2158
+ {
2159
+ "name": "version-change",
2160
+ "_ui5privacy": "public",
2161
+ "type": {
2162
+ "text": "CustomEvent"
2163
+ },
2164
+ "description": "Fired when the user clicks on version navigation buttons.",
2165
+ "_ui5Cancelable": false,
2166
+ "_ui5allowPreventDefault": false,
2167
+ "_ui5Bubbles": false
2168
+ },
2169
+ {
2170
+ "name": "close-overflow",
2171
+ "_ui5privacy": "public",
2172
+ "type": {
2173
+ "text": "CustomEvent"
2174
+ },
2175
+ "description": "Fired when the overflow popover is closed.",
2176
+ "_ui5Cancelable": true,
2177
+ "_ui5allowPreventDefault": true,
2178
+ "_ui5Bubbles": true,
2179
+ "_ui5since": "1.17.0"
2180
+ }
2181
+ ],
2182
+ "attributes": [
2183
+ {
2184
+ "description": "Indicates the index of the currently displayed result version.\n\nThis property represents the current position in the version history.",
2185
+ "name": "current-step",
2186
+ "default": "0",
2187
+ "fieldName": "currentStep",
2188
+ "type": {
2189
+ "text": "number"
2190
+ }
2191
+ },
2192
+ {
2193
+ "description": "The total number of available result versions.\n\nNote: Versioning is hidden if the value is `0`.",
2194
+ "name": "total-steps",
2195
+ "default": "0",
2196
+ "fieldName": "totalSteps",
2197
+ "type": {
2198
+ "text": "number"
2199
+ }
2200
+ },
2201
+ {
2202
+ "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.",
2203
+ "name": "overflow-priority",
2204
+ "default": "\"Default\"",
2205
+ "fieldName": "overflowPriority",
2206
+ "type": {
2207
+ "text": "\"Default\" | \"NeverOverflow\" | \"AlwaysOverflow\""
2208
+ }
2209
+ },
2210
+ {
2211
+ "description": "Defines if the toolbar overflow popup should close upon interaction with the item.\nIt will close by default.",
2212
+ "name": "prevent-overflow-closing",
2213
+ "default": "false",
2214
+ "fieldName": "preventOverflowClosing",
2215
+ "type": {
2216
+ "text": "boolean"
2217
+ }
2218
+ }
2219
+ ],
2220
+ "superclass": {
2221
+ "name": "ToolbarItem",
2222
+ "package": "@ui5/webcomponents",
2223
+ "module": "dist/ToolbarItem.js"
2224
+ },
2225
+ "tagName": "ui5-ai-versioning",
2226
+ "customElement": true,
2227
+ "_ui5since": "2.16.0",
2228
+ "_ui5privacy": "private",
2229
+ "slots": [
2230
+ {
2231
+ "name": "default",
2232
+ "description": "Wrapped component slot.",
2233
+ "_ui5since": "2.20.0",
2234
+ "_ui5propertyName": "item",
2235
+ "_ui5type": {
2236
+ "text": "Array<IOverflowToolbarItem>",
2237
+ "references": [
2238
+ {
2239
+ "name": "IOverflowToolbarItem",
2240
+ "package": "@ui5/webcomponents",
2241
+ "module": "dist/ToolbarItem.js"
2242
+ }
2243
+ ]
2244
+ },
2245
+ "_ui5privacy": "public"
2246
+ }
2247
+ ],
2248
+ "cssStates": [
2249
+ {
2250
+ "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.",
2251
+ "name": "overflowed"
2252
+ }
2253
+ ]
2254
+ }
2255
+ ],
2256
+ "exports": [
2257
+ {
2258
+ "kind": "js",
2259
+ "name": "default",
2260
+ "declaration": {
2261
+ "name": "Versioning",
2262
+ "module": "dist/Versioning.js"
2263
+ }
2264
+ },
2265
+ {
2266
+ "kind": "custom-element-definition",
2267
+ "name": "ui5-ai-versioning",
2268
+ "declaration": {
2269
+ "name": "Versioning",
2270
+ "module": "dist/Versioning.js"
2271
+ }
2272
+ }
2273
+ ]
2274
+ },
2275
+ {
2276
+ "kind": "javascript-module",
2277
+ "path": "dist/WritingAssistant.js",
2278
+ "declarations": [
2279
+ {
2280
+ "kind": "class",
2281
+ "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\";`",
2282
+ "name": "WritingAssistant",
2283
+ "members": [
2284
+ {
2285
+ "kind": "field",
2286
+ "name": "promptDescription",
2287
+ "type": {
2288
+ "text": "string"
2289
+ },
2290
+ "default": "\"\"",
2291
+ "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\").",
2292
+ "privacy": "public"
2293
+ },
2294
+ {
2295
+ "kind": "field",
2296
+ "name": "currentVersion",
2297
+ "type": {
2298
+ "text": "number"
2299
+ },
2300
+ "default": "0",
2301
+ "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.",
2302
+ "privacy": "public",
2303
+ "_ui5since": "2.16.0"
2304
+ },
2305
+ {
2306
+ "kind": "field",
2307
+ "name": "totalVersions",
2308
+ "type": {
2309
+ "text": "number"
2310
+ },
2311
+ "default": "0",
2312
+ "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.",
2313
+ "privacy": "public"
2314
+ },
2315
+ {
2316
+ "kind": "method",
2317
+ "name": "handleButtonClick",
2318
+ "return": {
2319
+ "type": {
2320
+ "text": "void"
2321
+ }
2322
+ },
2323
+ "description": "Handles the click event for the AI generate button.\nToggles between generate and stop states based on current button state.",
2324
+ "privacy": "public"
2325
+ }
2326
+ ],
2327
+ "events": [
2328
+ {
2329
+ "name": "version-change",
2330
+ "_ui5privacy": "public",
2331
+ "type": {
2332
+ "text": "CustomEvent"
2333
+ },
2334
+ "description": "Fired when the user clicks on version navigation buttons.",
2335
+ "_ui5Cancelable": false,
2336
+ "_ui5allowPreventDefault": false,
2337
+ "_ui5Bubbles": false
2338
+ },
2339
+ {
2340
+ "name": "button-click",
2341
+ "_ui5privacy": "public",
2342
+ "type": {
2343
+ "text": "CustomEvent"
2344
+ },
2345
+ "description": "Fired when the user clicks on the AI button.",
2346
+ "_ui5Cancelable": false,
2347
+ "_ui5allowPreventDefault": false,
2348
+ "_ui5Bubbles": false
2349
+ },
2350
+ {
2351
+ "name": "stop-generation",
2352
+ "_ui5privacy": "public",
2353
+ "type": {
2354
+ "text": "CustomEvent"
2355
+ },
2356
+ "description": "Fired when the user clicks on the \"Stop\" button to stop ongoing AI text generation.",
2357
+ "_ui5Cancelable": false,
2358
+ "_ui5allowPreventDefault": false,
2359
+ "_ui5Bubbles": false
2360
+ }
2361
+ ],
2362
+ "attributes": [
2363
+ {
2364
+ "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\").",
2365
+ "name": "prompt-description",
2366
+ "default": "\"\"",
2367
+ "fieldName": "promptDescription",
2368
+ "type": {
2369
+ "text": "string"
2370
+ }
2371
+ },
2372
+ {
2373
+ "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.",
2374
+ "name": "current-version",
2375
+ "default": "0",
2376
+ "fieldName": "currentVersion",
2377
+ "type": {
2378
+ "text": "number"
2379
+ }
2380
+ },
2381
+ {
2382
+ "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.",
2383
+ "name": "total-versions",
2384
+ "default": "0",
2385
+ "fieldName": "totalVersions",
2386
+ "type": {
2387
+ "text": "number"
2388
+ }
2389
+ }
2390
+ ],
2391
+ "superclass": {
2392
+ "name": "UI5Element",
2393
+ "package": "@ui5/webcomponents-base",
2394
+ "module": "dist/UI5Element.js"
2395
+ },
2396
+ "tagName": "ui5-ai-writing-assistant",
2397
+ "customElement": true,
2398
+ "_ui5since": "2.16.0",
2399
+ "_ui5privacy": "private"
2400
+ }
2401
+ ],
2402
+ "exports": [
2403
+ {
2404
+ "kind": "js",
2405
+ "name": "default",
2406
+ "declaration": {
2407
+ "name": "WritingAssistant",
2408
+ "module": "dist/WritingAssistant.js"
2409
+ }
2410
+ },
2411
+ {
2412
+ "kind": "custom-element-definition",
2413
+ "name": "ui5-ai-writing-assistant",
2414
+ "declaration": {
2415
+ "name": "WritingAssistant",
2416
+ "module": "dist/WritingAssistant.js"
630
2417
  }
631
2418
  }
632
2419
  ]