@ui5/webcomponents-ai 0.0.0-38f83ffef → 0.0.0-47cc17a26

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 (206) hide show
  1. package/CHANGELOG.md +309 -0
  2. package/LICENSE.txt +201 -0
  3. package/README.md +10 -8
  4. package/dist/.tsbuildinfo +1 -1
  5. package/dist/Assets-fetch.js +1 -1
  6. package/dist/Assets-fetch.js.map +1 -1
  7. package/dist/Assets-node.js +1 -1
  8. package/dist/Assets-node.js.map +1 -1
  9. package/dist/Button.d.ts +37 -0
  10. package/dist/Button.js +56 -2
  11. package/dist/Button.js.map +1 -1
  12. package/dist/ButtonTemplate.js +1 -1
  13. package/dist/ButtonTemplate.js.map +1 -1
  14. package/dist/Input.d.ts +143 -0
  15. package/dist/Input.js +288 -0
  16. package/dist/Input.js.map +1 -0
  17. package/dist/InputTemplate.d.ts +10 -0
  18. package/dist/InputTemplate.js +28 -0
  19. package/dist/InputTemplate.js.map +1 -0
  20. package/dist/TextArea.d.ts +118 -0
  21. package/dist/TextArea.js +230 -0
  22. package/dist/TextArea.js.map +1 -0
  23. package/dist/TextAreaTemplate.d.ts +2 -0
  24. package/dist/TextAreaTemplate.js +13 -0
  25. package/dist/TextAreaTemplate.js.map +1 -0
  26. package/dist/ToolbarLabel.d.ts +39 -0
  27. package/dist/ToolbarLabel.js +67 -0
  28. package/dist/ToolbarLabel.js.map +1 -0
  29. package/dist/ToolbarLabelTemplate.d.ts +2 -0
  30. package/dist/ToolbarLabelTemplate.js +5 -0
  31. package/dist/ToolbarLabelTemplate.js.map +1 -0
  32. package/dist/Versioning.d.ts +95 -0
  33. package/dist/Versioning.js +187 -0
  34. package/dist/Versioning.js.map +1 -0
  35. package/dist/VersioningTemplate.d.ts +4 -0
  36. package/dist/VersioningTemplate.js +9 -0
  37. package/dist/VersioningTemplate.js.map +1 -0
  38. package/dist/WritingAssistant.d.ts +100 -0
  39. package/dist/WritingAssistant.js +197 -0
  40. package/dist/WritingAssistant.js.map +1 -0
  41. package/dist/WritingAssistantTemplate.d.ts +2 -0
  42. package/dist/WritingAssistantTemplate.js +12 -0
  43. package/dist/WritingAssistantTemplate.js.map +1 -0
  44. package/dist/bundle.esm.js +2 -0
  45. package/dist/bundle.esm.js.map +1 -1
  46. package/dist/css/themes/Button.css +1 -1
  47. package/dist/css/themes/Input.css +1 -0
  48. package/dist/css/themes/PromptInput.css +1 -1
  49. package/dist/css/themes/TextArea.css +1 -0
  50. package/dist/css/themes/Versioning.css +1 -0
  51. package/dist/css/themes/WritingAssistant.css +1 -0
  52. package/dist/custom-elements-internal.json +486 -1457
  53. package/dist/custom-elements.json +351 -1345
  54. package/dist/generated/assets/i18n/messagebundle_ar.json +1 -1
  55. package/dist/generated/assets/i18n/messagebundle_bg.json +1 -1
  56. package/dist/generated/assets/i18n/messagebundle_ca.json +1 -1
  57. package/dist/generated/assets/i18n/messagebundle_cnr.json +1 -1
  58. package/dist/generated/assets/i18n/messagebundle_cs.json +1 -1
  59. package/dist/generated/assets/i18n/messagebundle_cy.json +1 -1
  60. package/dist/generated/assets/i18n/messagebundle_da.json +1 -1
  61. package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
  62. package/dist/generated/assets/i18n/messagebundle_el.json +1 -1
  63. package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
  64. package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -1
  65. package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -1
  66. package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -1
  67. package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -1
  68. package/dist/generated/assets/i18n/messagebundle_es.json +1 -1
  69. package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -1
  70. package/dist/generated/assets/i18n/messagebundle_et.json +1 -1
  71. package/dist/generated/assets/i18n/messagebundle_fi.json +1 -1
  72. package/dist/generated/assets/i18n/messagebundle_fr.json +1 -1
  73. package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -1
  74. package/dist/generated/assets/i18n/messagebundle_hi.json +1 -1
  75. package/dist/generated/assets/i18n/messagebundle_hr.json +1 -1
  76. package/dist/generated/assets/i18n/messagebundle_hu.json +1 -1
  77. package/dist/generated/assets/i18n/messagebundle_id.json +1 -1
  78. package/dist/generated/assets/i18n/messagebundle_it.json +1 -1
  79. package/dist/generated/assets/i18n/messagebundle_iw.json +1 -1
  80. package/dist/generated/assets/i18n/messagebundle_ja.json +1 -1
  81. package/dist/generated/assets/i18n/messagebundle_kk.json +1 -1
  82. package/dist/generated/assets/i18n/messagebundle_ko.json +1 -1
  83. package/dist/generated/assets/i18n/messagebundle_lt.json +1 -1
  84. package/dist/generated/assets/i18n/messagebundle_lv.json +1 -1
  85. package/dist/generated/assets/i18n/messagebundle_mk.json +1 -1
  86. package/dist/generated/assets/i18n/messagebundle_ms.json +1 -1
  87. package/dist/generated/assets/i18n/messagebundle_nl.json +1 -1
  88. package/dist/generated/assets/i18n/messagebundle_no.json +1 -1
  89. package/dist/generated/assets/i18n/messagebundle_pl.json +1 -1
  90. package/dist/generated/assets/i18n/messagebundle_pt.json +1 -1
  91. package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -1
  92. package/dist/generated/assets/i18n/messagebundle_ro.json +1 -1
  93. package/dist/generated/assets/i18n/messagebundle_ru.json +1 -1
  94. package/dist/generated/assets/i18n/messagebundle_sh.json +1 -1
  95. package/dist/generated/assets/i18n/messagebundle_sk.json +1 -1
  96. package/dist/generated/assets/i18n/messagebundle_sl.json +1 -1
  97. package/dist/generated/assets/i18n/messagebundle_sr.json +1 -1
  98. package/dist/generated/assets/i18n/messagebundle_sv.json +1 -1
  99. package/dist/generated/assets/i18n/messagebundle_th.json +1 -1
  100. package/dist/generated/assets/i18n/messagebundle_tr.json +1 -1
  101. package/dist/generated/assets/i18n/messagebundle_uk.json +1 -1
  102. package/dist/generated/assets/i18n/messagebundle_vi.json +1 -1
  103. package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -1
  104. package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -1
  105. package/dist/generated/i18n/i18n-defaults.d.ts +15 -1
  106. package/dist/generated/i18n/i18n-defaults.js +15 -1
  107. package/dist/generated/i18n/i18n-defaults.js.map +1 -1
  108. package/dist/generated/json-imports/Themes-fetch.js +1 -1
  109. package/dist/generated/json-imports/Themes-fetch.js.map +1 -1
  110. package/dist/generated/json-imports/Themes-node.js +1 -1
  111. package/dist/generated/json-imports/Themes-node.js.map +1 -1
  112. package/dist/generated/json-imports/Themes.js +1 -1
  113. package/dist/generated/json-imports/Themes.js.map +1 -1
  114. package/dist/generated/json-imports/i18n-fetch.js +1 -1
  115. package/dist/generated/json-imports/i18n-fetch.js.map +1 -1
  116. package/dist/generated/json-imports/i18n-node.js +1 -1
  117. package/dist/generated/json-imports/i18n-node.js.map +1 -1
  118. package/dist/generated/json-imports/i18n.js +1 -1
  119. package/dist/generated/json-imports/i18n.js.map +1 -1
  120. package/dist/generated/themes/Button.css.d.ts +1 -1
  121. package/dist/generated/themes/Button.css.js +3 -3
  122. package/dist/generated/themes/Button.css.js.map +1 -1
  123. package/dist/generated/themes/Input.css.d.ts +2 -0
  124. package/dist/generated/themes/Input.css.js +8 -0
  125. package/dist/generated/themes/Input.css.js.map +1 -0
  126. package/dist/generated/themes/PromptInput.css.d.ts +1 -1
  127. package/dist/generated/themes/PromptInput.css.js +3 -3
  128. package/dist/generated/themes/PromptInput.css.js.map +1 -1
  129. package/dist/generated/themes/TextArea.css.d.ts +2 -0
  130. package/dist/generated/themes/TextArea.css.js +8 -0
  131. package/dist/generated/themes/TextArea.css.js.map +1 -0
  132. package/dist/generated/themes/Versioning.css.d.ts +2 -0
  133. package/dist/generated/themes/Versioning.css.js +8 -0
  134. package/dist/generated/themes/Versioning.css.js.map +1 -0
  135. package/dist/generated/themes/WritingAssistant.css.d.ts +2 -0
  136. package/dist/generated/themes/WritingAssistant.css.js +8 -0
  137. package/dist/generated/themes/WritingAssistant.css.js.map +1 -0
  138. package/dist/vscode.html-custom-data.json +54 -0
  139. package/dist/web-types.json +174 -1
  140. package/package-scripts.cjs +0 -1
  141. package/package.json +24 -22
  142. package/src/ButtonTemplate.tsx +1 -0
  143. package/src/InputTemplate.tsx +197 -0
  144. package/src/TextArea.css +45 -0
  145. package/src/TextAreaTemplate.tsx +90 -0
  146. package/src/ToolbarLabelTemplate.tsx +9 -0
  147. package/src/VersioningTemplate.tsx +34 -0
  148. package/src/WritingAssistantTemplate.tsx +49 -0
  149. package/src/i18n/messagebundle.properties +43 -1
  150. package/src/i18n/messagebundle_ar.properties +20 -0
  151. package/src/i18n/messagebundle_bg.properties +20 -0
  152. package/src/i18n/messagebundle_ca.properties +20 -0
  153. package/src/i18n/messagebundle_cnr.properties +20 -0
  154. package/src/i18n/messagebundle_cs.properties +20 -0
  155. package/src/i18n/messagebundle_cy.properties +20 -0
  156. package/src/i18n/messagebundle_da.properties +20 -0
  157. package/src/i18n/messagebundle_de.properties +20 -0
  158. package/src/i18n/messagebundle_el.properties +20 -0
  159. package/src/i18n/messagebundle_en.properties +20 -0
  160. package/src/i18n/messagebundle_en_GB.properties +20 -0
  161. package/src/i18n/messagebundle_en_US_sappsd.properties +20 -0
  162. package/src/i18n/messagebundle_en_US_saprigi.properties +20 -0
  163. package/src/i18n/messagebundle_en_US_saptrc.properties +20 -0
  164. package/src/i18n/messagebundle_es.properties +20 -0
  165. package/src/i18n/messagebundle_es_MX.properties +21 -1
  166. package/src/i18n/messagebundle_et.properties +20 -0
  167. package/src/i18n/messagebundle_fi.properties +20 -0
  168. package/src/i18n/messagebundle_fr.properties +20 -0
  169. package/src/i18n/messagebundle_fr_CA.properties +20 -0
  170. package/src/i18n/messagebundle_hi.properties +20 -0
  171. package/src/i18n/messagebundle_hr.properties +22 -2
  172. package/src/i18n/messagebundle_hu.properties +20 -0
  173. package/src/i18n/messagebundle_id.properties +20 -0
  174. package/src/i18n/messagebundle_it.properties +20 -0
  175. package/src/i18n/messagebundle_iw.properties +20 -0
  176. package/src/i18n/messagebundle_ja.properties +20 -0
  177. package/src/i18n/messagebundle_kk.properties +20 -0
  178. package/src/i18n/messagebundle_ko.properties +20 -0
  179. package/src/i18n/messagebundle_lt.properties +20 -0
  180. package/src/i18n/messagebundle_lv.properties +20 -0
  181. package/src/i18n/messagebundle_mk.properties +20 -0
  182. package/src/i18n/messagebundle_ms.properties +20 -0
  183. package/src/i18n/messagebundle_nl.properties +20 -0
  184. package/src/i18n/messagebundle_no.properties +20 -0
  185. package/src/i18n/messagebundle_pl.properties +20 -0
  186. package/src/i18n/messagebundle_pt.properties +20 -0
  187. package/src/i18n/messagebundle_pt_PT.properties +20 -0
  188. package/src/i18n/messagebundle_ro.properties +20 -0
  189. package/src/i18n/messagebundle_ru.properties +20 -0
  190. package/src/i18n/messagebundle_sh.properties +20 -0
  191. package/src/i18n/messagebundle_sk.properties +20 -0
  192. package/src/i18n/messagebundle_sl.properties +20 -0
  193. package/src/i18n/messagebundle_sr.properties +20 -0
  194. package/src/i18n/messagebundle_sv.properties +20 -0
  195. package/src/i18n/messagebundle_th.properties +22 -2
  196. package/src/i18n/messagebundle_tr.properties +20 -0
  197. package/src/i18n/messagebundle_uk.properties +20 -0
  198. package/src/i18n/messagebundle_vi.properties +20 -0
  199. package/src/i18n/messagebundle_zh_CN.properties +20 -0
  200. package/src/i18n/messagebundle_zh_TW.properties +20 -0
  201. package/src/themes/Input.css +83 -0
  202. package/src/themes/PromptInput.css +5 -1
  203. package/src/themes/TextArea.css +45 -0
  204. package/src/themes/Versioning.css +20 -0
  205. package/src/themes/WritingAssistant.css +45 -0
  206. package/tsconfig.json +6 -0
@@ -96,467 +96,23 @@
96
96
  "_ui5since": "2.6.0",
97
97
  "_ui5noAttribute": true
98
98
  },
99
- {
100
- "kind": "method",
101
- "name": "onBeforeRendering",
102
- "return": {
103
- "type": {
104
- "text": "void"
105
- }
106
- },
107
- "description": "Called every time before the component renders.",
108
- "privacy": "public",
109
- "inheritedFrom": {
110
- "name": "UI5Element",
111
- "package": "@ui5/webcomponents-base",
112
- "module": "dist/UI5Element.js"
113
- }
114
- },
115
- {
116
- "kind": "method",
117
- "name": "onAfterRendering",
118
- "return": {
119
- "type": {
120
- "text": "void"
121
- }
122
- },
123
- "description": "Called every time after the component renders.",
124
- "privacy": "public",
125
- "inheritedFrom": {
126
- "name": "UI5Element",
127
- "package": "@ui5/webcomponents-base",
128
- "module": "dist/UI5Element.js"
129
- }
130
- },
131
- {
132
- "kind": "method",
133
- "name": "onEnterDOM",
134
- "return": {
135
- "type": {
136
- "text": "void"
137
- }
138
- },
139
- "description": "Called on connectedCallback - added to the DOM.",
140
- "privacy": "public",
141
- "inheritedFrom": {
142
- "name": "UI5Element",
143
- "package": "@ui5/webcomponents-base",
144
- "module": "dist/UI5Element.js"
145
- }
146
- },
147
- {
148
- "kind": "method",
149
- "name": "onExitDOM",
150
- "return": {
151
- "type": {
152
- "text": "void"
153
- }
154
- },
155
- "description": "Called on disconnectedCallback - removed from the DOM.",
156
- "privacy": "public",
157
- "inheritedFrom": {
158
- "name": "UI5Element",
159
- "package": "@ui5/webcomponents-base",
160
- "module": "dist/UI5Element.js"
161
- }
162
- },
163
- {
164
- "kind": "method",
165
- "name": "attachInvalidate",
166
- "return": {
167
- "type": {
168
- "text": "void"
169
- }
170
- },
171
- "parameters": [
172
- {
173
- "name": "callback",
174
- "type": {
175
- "text": "(param: InvalidationInfo) => void"
176
- },
177
- "_ui5privacy": "public"
178
- }
179
- ],
180
- "description": "Attach a callback that will be executed whenever the component is invalidated",
181
- "privacy": "public",
182
- "inheritedFrom": {
183
- "name": "UI5Element",
184
- "package": "@ui5/webcomponents-base",
185
- "module": "dist/UI5Element.js"
186
- }
187
- },
188
- {
189
- "kind": "method",
190
- "name": "detachInvalidate",
191
- "return": {
192
- "type": {
193
- "text": "void"
194
- }
195
- },
196
- "parameters": [
197
- {
198
- "name": "callback",
199
- "type": {
200
- "text": "(param: InvalidationInfo) => void"
201
- },
202
- "_ui5privacy": "public"
203
- }
204
- ],
205
- "description": "Detach the callback that is executed whenever the component is invalidated",
206
- "privacy": "public",
207
- "inheritedFrom": {
208
- "name": "UI5Element",
209
- "package": "@ui5/webcomponents-base",
210
- "module": "dist/UI5Element.js"
211
- }
212
- },
213
- {
214
- "kind": "method",
215
- "name": "onInvalidation",
216
- "return": {
217
- "type": {
218
- "text": "void"
219
- }
220
- },
221
- "parameters": [
222
- {
223
- "name": "changeInfo",
224
- "type": {
225
- "text": "ChangeInfo",
226
- "references": [
227
- {
228
- "name": "ChangeInfo",
229
- "package": "@ui5/webcomponents-base",
230
- "module": "dist/UI5Element.js"
231
- }
232
- ]
233
- },
234
- "description": "An object with information about the change that caused invalidation.\nThe object can have the following properties:\n- type: (property|slot) tells what caused the invalidation\n1) property: a property value was changed either directly or as a result of changing the corresponding attribute\n2) slot: a slotted node(nodes) changed in one of several ways (see \"reason\")\n\n- name: the name of the property or slot that caused the invalidation\n\n- reason: (children|textcontent|childchange|slotchange) relevant only for type=\"slot\" only and tells exactly what changed in the slot\n1) children: immediate children (HTML elements or text nodes) were added, removed or reordered in the slot\n2) textcontent: text nodes in the slot changed value (or nested text nodes were added or changed value). Can only trigger for slots of \"type: Node\"\n3) slotchange: a slot element, slotted inside that slot had its \"slotchange\" event listener called. This practically means that transitively slotted children changed.\nCan only trigger if the child of a slot is a slot element itself.\n4) childchange: indicates that a UI5Element child in that slot was invalidated and in turn invalidated the component.\nCan only trigger for slots with \"invalidateOnChildChange\" metadata descriptor\n\n- newValue: the new value of the property (for type=\"property\" only)\n\n- oldValue: the old value of the property (for type=\"property\" only)\n\n- child the child that was changed (for type=\"slot\" and reason=\"childchange\" only)",
235
- "_ui5privacy": "public"
236
- }
237
- ],
238
- "description": "A callback that is executed each time an already rendered component is invalidated (scheduled for re-rendering)",
239
- "privacy": "public",
240
- "inheritedFrom": {
241
- "name": "UI5Element",
242
- "package": "@ui5/webcomponents-base",
243
- "module": "dist/UI5Element.js"
244
- }
245
- },
246
- {
247
- "kind": "method",
248
- "name": "getDomRef",
249
- "return": {
250
- "type": {
251
- "text": "HTMLElement | undefined"
252
- }
253
- },
254
- "description": "Returns the DOM Element inside the Shadow Root that corresponds to the opening tag in the UI5 Web Component's template\n*Note:* For logical (abstract) elements (items, options, etc...), returns the part of the parent's DOM that represents this option\nUse this method instead of \"this.shadowRoot\" to read the Shadow DOM, if ever necessary",
255
- "privacy": "public",
256
- "inheritedFrom": {
257
- "name": "UI5Element",
258
- "package": "@ui5/webcomponents-base",
259
- "module": "dist/UI5Element.js"
260
- }
261
- },
262
- {
263
- "kind": "method",
264
- "name": "getFocusDomRef",
265
- "return": {
266
- "type": {
267
- "text": "HTMLElement | undefined"
268
- }
269
- },
270
- "description": "Returns the DOM Element marked with \"data-sap-focus-ref\" inside the template.\nThis is the element that will receive the focus by default.",
271
- "privacy": "public",
272
- "inheritedFrom": {
273
- "name": "UI5Element",
274
- "package": "@ui5/webcomponents-base",
275
- "module": "dist/UI5Element.js"
276
- }
277
- },
278
- {
279
- "kind": "method",
280
- "name": "getFocusDomRefAsync",
281
- "return": {
282
- "type": {
283
- "text": "Promise<HTMLElement | undefined>"
284
- }
285
- },
286
- "description": "Waits for dom ref and then returns the DOM Element marked with \"data-sap-focus-ref\" inside the template.\nThis is the element that will receive the focus by default.",
287
- "privacy": "public",
288
- "inheritedFrom": {
289
- "name": "UI5Element",
290
- "package": "@ui5/webcomponents-base",
291
- "module": "dist/UI5Element.js"
292
- }
293
- },
294
- {
295
- "kind": "method",
296
- "name": "focus",
297
- "return": {
298
- "type": {
299
- "text": "Promise<void>"
300
- }
301
- },
302
- "parameters": [
303
- {
304
- "name": "focusOptions",
305
- "optional": true,
306
- "type": {
307
- "text": "FocusOptions"
308
- },
309
- "description": "additional options for the focus",
310
- "_ui5privacy": "public"
311
- }
312
- ],
313
- "description": "Set the focus to the element, returned by \"getFocusDomRef()\" (marked by \"data-sap-focus-ref\")",
314
- "privacy": "public",
315
- "inheritedFrom": {
316
- "name": "UI5Element",
317
- "package": "@ui5/webcomponents-base",
318
- "module": "dist/UI5Element.js"
319
- }
320
- },
321
- {
322
- "kind": "method",
323
- "name": "fireEvent",
324
- "return": {
325
- "type": {
326
- "text": "boolean"
327
- },
328
- "description": "false, if the event was cancelled (preventDefault called), true otherwise"
329
- },
330
- "parameters": [
331
- {
332
- "name": "name",
333
- "type": {
334
- "text": "string"
335
- },
336
- "description": "name of the event",
337
- "_ui5privacy": "public"
338
- },
339
- {
340
- "name": "data",
341
- "optional": true,
342
- "type": {
343
- "text": "T"
344
- },
345
- "description": "additional data for the event",
346
- "_ui5privacy": "public"
347
- },
348
- {
349
- "name": "cancelable",
350
- "default": "false",
351
- "description": "true, if the user can call preventDefault on the event object",
352
- "_ui5privacy": "public"
353
- },
354
- {
355
- "name": "bubbles",
356
- "default": "true",
357
- "description": "true, if the event bubbles",
358
- "_ui5privacy": "public"
359
- }
360
- ],
361
- "privacy": "public",
362
- "deprecated": "use fireDecoratorEvent instead",
363
- "inheritedFrom": {
364
- "name": "UI5Element",
365
- "package": "@ui5/webcomponents-base",
366
- "module": "dist/UI5Element.js"
367
- }
368
- },
369
- {
370
- "kind": "method",
371
- "name": "fireDecoratorEvent",
372
- "return": {
373
- "type": {
374
- "text": "boolean"
375
- },
376
- "description": "false, if the event was cancelled (preventDefault called), true otherwise"
377
- },
378
- "parameters": [
379
- {
380
- "name": "name",
381
- "type": {
382
- "text": "N"
383
- },
384
- "description": "name of the event",
385
- "_ui5privacy": "public"
386
- },
387
- {
388
- "name": "data",
389
- "optional": true,
390
- "type": {
391
- "text": "this[\"eventDetails\"][N] | undefined"
392
- },
393
- "description": "additional data for the event",
394
- "_ui5privacy": "public"
395
- }
396
- ],
397
- "description": "Fires a custom event, configured via the \"event\" decorator.",
398
- "privacy": "public",
399
- "inheritedFrom": {
400
- "name": "UI5Element",
401
- "package": "@ui5/webcomponents-base",
402
- "module": "dist/UI5Element.js"
403
- }
404
- },
405
- {
406
- "kind": "method",
407
- "name": "getSlottedNodes",
408
- "return": {
409
- "type": {
410
- "text": "Array<T>"
411
- }
412
- },
413
- "description": "Returns the actual children, associated with a slot.\nUseful when there are transitive slots in nested component scenarios and you don't want to get a list of the slots, but rather of their content.",
414
- "privacy": "public",
415
- "inheritedFrom": {
416
- "name": "UI5Element",
417
- "package": "@ui5/webcomponents-base",
418
- "module": "dist/UI5Element.js"
419
- }
420
- },
421
- {
422
- "kind": "method",
423
- "name": "attachComponentStateFinalized",
424
- "return": {
425
- "type": {
426
- "text": "void"
427
- }
428
- },
429
- "parameters": [
430
- {
431
- "name": "callback",
432
- "type": {
433
- "text": "() => void"
434
- },
435
- "_ui5privacy": "public"
436
- }
437
- ],
438
- "description": "Attach a callback that will be executed whenever the component's state is finalized",
439
- "privacy": "public",
440
- "inheritedFrom": {
441
- "name": "UI5Element",
442
- "package": "@ui5/webcomponents-base",
443
- "module": "dist/UI5Element.js"
444
- }
445
- },
446
- {
447
- "kind": "method",
448
- "name": "detachComponentStateFinalized",
449
- "return": {
450
- "type": {
451
- "text": "void"
452
- }
453
- },
454
- "parameters": [
455
- {
456
- "name": "callback",
457
- "type": {
458
- "text": "() => void"
459
- },
460
- "_ui5privacy": "public"
461
- }
462
- ],
463
- "description": "Detach the callback that is executed whenever the component's state is finalized",
464
- "privacy": "public",
465
- "inheritedFrom": {
466
- "name": "UI5Element",
467
- "package": "@ui5/webcomponents-base",
468
- "module": "dist/UI5Element.js"
469
- }
470
- },
471
- {
472
- "kind": "field",
473
- "name": "effectiveDir",
474
- "type": {
475
- "text": "string | undefined"
476
- },
477
- "description": "Determines whether the component should be rendered in RTL mode or not.\nReturns: \"rtl\", \"ltr\" or undefined",
478
- "privacy": "public",
479
- "default": "undefined",
480
- "readonly": true,
481
- "inheritedFrom": {
482
- "name": "UI5Element",
483
- "package": "@ui5/webcomponents-base",
484
- "module": "dist/UI5Element.js"
485
- }
486
- },
487
99
  {
488
100
  "kind": "field",
489
- "name": "isUI5Element",
101
+ "name": "accessibilityAttributes",
490
102
  "type": {
491
- "text": "boolean"
492
- },
493
- "description": "Used to duck-type UI5 elements without using instanceof",
494
- "privacy": "public",
495
- "default": "true",
496
- "readonly": true,
497
- "inheritedFrom": {
498
- "name": "UI5Element",
499
- "package": "@ui5/webcomponents-base",
500
- "module": "dist/UI5Element.js"
501
- }
502
- },
503
- {
504
- "kind": "method",
505
- "name": "getUniqueDependencies",
506
- "static": true,
507
- "return": {
508
- "type": {
509
- "text": "Array<typeof UI5Element>"
510
- }
511
- },
512
- "description": "Returns a list of the unique dependencies for this UI5 Web Component",
513
- "privacy": "public",
514
- "inheritedFrom": {
515
- "name": "UI5Element",
516
- "package": "@ui5/webcomponents-base",
517
- "module": "dist/UI5Element.js"
518
- }
519
- },
520
- {
521
- "kind": "method",
522
- "name": "define",
523
- "static": true,
524
- "return": {
525
- "type": {
526
- "text": "typeof UI5Element"
527
- }
528
- },
529
- "description": "Registers a UI5 Web Component in the browser window object",
530
- "privacy": "public",
531
- "inheritedFrom": {
532
- "name": "UI5Element",
533
- "package": "@ui5/webcomponents-base",
534
- "module": "dist/UI5Element.js"
535
- }
536
- },
537
- {
538
- "kind": "method",
539
- "name": "getMetadata",
540
- "static": true,
541
- "return": {
542
- "type": {
543
- "text": "UI5ElementMetadata",
544
- "references": [
545
- {
546
- "name": "UI5ElementMetadata",
547
- "package": "@ui5/webcomponents-base",
548
- "module": "dist/UI5ElementMetadata.js"
549
- }
550
- ]
551
- }
103
+ "text": "AIButtonAccessibilityAttributes",
104
+ "references": [
105
+ {
106
+ "name": "AIButtonAccessibilityAttributes",
107
+ "package": "@ui5/webcomponents-ai",
108
+ "module": "dist/Button.js"
109
+ }
110
+ ]
552
111
  },
553
- "description": "Returns an instance of UI5ElementMetadata.js representing this UI5 Web Component's full metadata (its and its parents')\nNote: not to be confused with the \"get metadata()\" method, which returns an object for this class's metadata only",
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`.",
554
114
  "privacy": "public",
555
- "inheritedFrom": {
556
- "name": "UI5Element",
557
- "package": "@ui5/webcomponents-base",
558
- "module": "dist/UI5Element.js"
559
- }
115
+ "_ui5since": "2.6.0"
560
116
  }
561
117
  ],
562
118
  "events": [
@@ -619,6 +175,15 @@
619
175
  "type": {
620
176
  "text": "boolean"
621
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
+ }
622
187
  }
623
188
  ],
624
189
  "superclass": {
@@ -711,514 +276,52 @@
711
276
  "description": "Defines if the component is in split button mode.",
712
277
  "privacy": "public",
713
278
  "_ui5since": "2.6.0"
714
- },
715
- {
716
- "kind": "method",
717
- "name": "onBeforeRendering",
718
- "return": {
719
- "type": {
720
- "text": "void"
721
- }
722
- },
723
- "description": "Called every time before the component renders.",
724
- "privacy": "public",
725
- "inheritedFrom": {
726
- "name": "UI5Element",
727
- "package": "@ui5/webcomponents-base",
728
- "module": "dist/UI5Element.js"
729
- }
730
- },
731
- {
732
- "kind": "method",
733
- "name": "onAfterRendering",
734
- "return": {
735
- "type": {
736
- "text": "void"
737
- }
738
- },
739
- "description": "Called every time after the component renders.",
740
- "privacy": "public",
741
- "inheritedFrom": {
742
- "name": "UI5Element",
743
- "package": "@ui5/webcomponents-base",
744
- "module": "dist/UI5Element.js"
745
- }
746
- },
747
- {
748
- "kind": "method",
749
- "name": "onEnterDOM",
750
- "return": {
751
- "type": {
752
- "text": "void"
753
- }
754
- },
755
- "description": "Called on connectedCallback - added to the DOM.",
756
- "privacy": "public",
757
- "inheritedFrom": {
758
- "name": "UI5Element",
759
- "package": "@ui5/webcomponents-base",
760
- "module": "dist/UI5Element.js"
761
- }
762
- },
279
+ }
280
+ ],
281
+ "attributes": [
763
282
  {
764
- "kind": "method",
765
- "name": "onExitDOM",
766
- "return": {
767
- "type": {
768
- "text": "void"
769
- }
770
- },
771
- "description": "Called on disconnectedCallback - removed from the DOM.",
772
- "privacy": "public",
773
- "inheritedFrom": {
774
- "name": "UI5Element",
775
- "package": "@ui5/webcomponents-base",
776
- "module": "dist/UI5Element.js"
283
+ "description": "Defines the name of the button state.",
284
+ "name": "name",
285
+ "default": "undefined",
286
+ "fieldName": "name",
287
+ "type": {
288
+ "text": "string | undefined"
777
289
  }
778
290
  },
779
291
  {
780
- "kind": "method",
781
- "name": "attachInvalidate",
782
- "return": {
783
- "type": {
784
- "text": "void"
785
- }
786
- },
787
- "parameters": [
788
- {
789
- "name": "callback",
790
- "type": {
791
- "text": "(param: InvalidationInfo) => void"
792
- },
793
- "_ui5privacy": "public"
794
- }
795
- ],
796
- "description": "Attach a callback that will be executed whenever the component is invalidated",
797
- "privacy": "public",
798
- "inheritedFrom": {
799
- "name": "UI5Element",
800
- "package": "@ui5/webcomponents-base",
801
- "module": "dist/UI5Element.js"
292
+ "description": "Defines the text of the button in this state.",
293
+ "name": "text",
294
+ "default": "undefined",
295
+ "fieldName": "text",
296
+ "type": {
297
+ "text": "string | undefined"
802
298
  }
803
299
  },
804
300
  {
805
- "kind": "method",
806
- "name": "detachInvalidate",
807
- "return": {
808
- "type": {
809
- "text": "void"
810
- }
811
- },
812
- "parameters": [
813
- {
814
- "name": "callback",
815
- "type": {
816
- "text": "(param: InvalidationInfo) => void"
817
- },
818
- "_ui5privacy": "public"
819
- }
820
- ],
821
- "description": "Detach the callback that is executed whenever the component is invalidated",
822
- "privacy": "public",
823
- "inheritedFrom": {
824
- "name": "UI5Element",
825
- "package": "@ui5/webcomponents-base",
826
- "module": "dist/UI5Element.js"
301
+ "description": "Defines the icon to be displayed as graphical element within the component before the text.\nThe SAP-icons font provides numerous options.\n\n**Example:**\n\nSee all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).",
302
+ "name": "icon",
303
+ "default": "undefined",
304
+ "fieldName": "icon",
305
+ "type": {
306
+ "text": "string | undefined"
827
307
  }
828
308
  },
829
309
  {
830
- "kind": "method",
831
- "name": "onInvalidation",
832
- "return": {
833
- "type": {
834
- "text": "void"
835
- }
836
- },
837
- "parameters": [
838
- {
839
- "name": "changeInfo",
840
- "type": {
841
- "text": "ChangeInfo",
842
- "references": [
843
- {
844
- "name": "ChangeInfo",
845
- "package": "@ui5/webcomponents-base",
846
- "module": "dist/UI5Element.js"
847
- }
848
- ]
849
- },
850
- "description": "An object with information about the change that caused invalidation.\nThe object can have the following properties:\n- type: (property|slot) tells what caused the invalidation\n1) property: a property value was changed either directly or as a result of changing the corresponding attribute\n2) slot: a slotted node(nodes) changed in one of several ways (see \"reason\")\n\n- name: the name of the property or slot that caused the invalidation\n\n- reason: (children|textcontent|childchange|slotchange) relevant only for type=\"slot\" only and tells exactly what changed in the slot\n1) children: immediate children (HTML elements or text nodes) were added, removed or reordered in the slot\n2) textcontent: text nodes in the slot changed value (or nested text nodes were added or changed value). Can only trigger for slots of \"type: Node\"\n3) slotchange: a slot element, slotted inside that slot had its \"slotchange\" event listener called. This practically means that transitively slotted children changed.\nCan only trigger if the child of a slot is a slot element itself.\n4) childchange: indicates that a UI5Element child in that slot was invalidated and in turn invalidated the component.\nCan only trigger for slots with \"invalidateOnChildChange\" metadata descriptor\n\n- newValue: the new value of the property (for type=\"property\" only)\n\n- oldValue: the old value of the property (for type=\"property\" only)\n\n- child the child that was changed (for type=\"slot\" and reason=\"childchange\" only)",
851
- "_ui5privacy": "public"
852
- }
853
- ],
854
- "description": "A callback that is executed each time an already rendered component is invalidated (scheduled for re-rendering)",
855
- "privacy": "public",
856
- "inheritedFrom": {
857
- "name": "UI5Element",
858
- "package": "@ui5/webcomponents-base",
859
- "module": "dist/UI5Element.js"
310
+ "description": "Defines the icon to be displayed as graphical element within the component after the text.\nThe SAP-icons font provides numerous options.\n\n**Example:**\n\nSee all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).",
311
+ "name": "end-icon",
312
+ "default": "undefined",
313
+ "fieldName": "endIcon",
314
+ "type": {
315
+ "text": "string | undefined"
860
316
  }
861
317
  },
862
318
  {
863
- "kind": "method",
864
- "name": "getDomRef",
865
- "return": {
866
- "type": {
867
- "text": "HTMLElement | undefined"
868
- }
869
- },
870
- "description": "Returns the DOM Element inside the Shadow Root that corresponds to the opening tag in the UI5 Web Component's template\n*Note:* For logical (abstract) elements (items, options, etc...), returns the part of the parent's DOM that represents this option\nUse this method instead of \"this.shadowRoot\" to read the Shadow DOM, if ever necessary",
871
- "privacy": "public",
872
- "inheritedFrom": {
873
- "name": "UI5Element",
874
- "package": "@ui5/webcomponents-base",
875
- "module": "dist/UI5Element.js"
876
- }
877
- },
878
- {
879
- "kind": "method",
880
- "name": "getFocusDomRef",
881
- "return": {
882
- "type": {
883
- "text": "HTMLElement | undefined"
884
- }
885
- },
886
- "description": "Returns the DOM Element marked with \"data-sap-focus-ref\" inside the template.\nThis is the element that will receive the focus by default.",
887
- "privacy": "public",
888
- "inheritedFrom": {
889
- "name": "UI5Element",
890
- "package": "@ui5/webcomponents-base",
891
- "module": "dist/UI5Element.js"
892
- }
893
- },
894
- {
895
- "kind": "method",
896
- "name": "getFocusDomRefAsync",
897
- "return": {
898
- "type": {
899
- "text": "Promise<HTMLElement | undefined>"
900
- }
901
- },
902
- "description": "Waits for dom ref and then returns the DOM Element marked with \"data-sap-focus-ref\" inside the template.\nThis is the element that will receive the focus by default.",
903
- "privacy": "public",
904
- "inheritedFrom": {
905
- "name": "UI5Element",
906
- "package": "@ui5/webcomponents-base",
907
- "module": "dist/UI5Element.js"
908
- }
909
- },
910
- {
911
- "kind": "method",
912
- "name": "focus",
913
- "return": {
914
- "type": {
915
- "text": "Promise<void>"
916
- }
917
- },
918
- "parameters": [
919
- {
920
- "name": "focusOptions",
921
- "optional": true,
922
- "type": {
923
- "text": "FocusOptions"
924
- },
925
- "description": "additional options for the focus",
926
- "_ui5privacy": "public"
927
- }
928
- ],
929
- "description": "Set the focus to the element, returned by \"getFocusDomRef()\" (marked by \"data-sap-focus-ref\")",
930
- "privacy": "public",
931
- "inheritedFrom": {
932
- "name": "UI5Element",
933
- "package": "@ui5/webcomponents-base",
934
- "module": "dist/UI5Element.js"
935
- }
936
- },
937
- {
938
- "kind": "method",
939
- "name": "fireEvent",
940
- "return": {
941
- "type": {
942
- "text": "boolean"
943
- },
944
- "description": "false, if the event was cancelled (preventDefault called), true otherwise"
945
- },
946
- "parameters": [
947
- {
948
- "name": "name",
949
- "type": {
950
- "text": "string"
951
- },
952
- "description": "name of the event",
953
- "_ui5privacy": "public"
954
- },
955
- {
956
- "name": "data",
957
- "optional": true,
958
- "type": {
959
- "text": "T"
960
- },
961
- "description": "additional data for the event",
962
- "_ui5privacy": "public"
963
- },
964
- {
965
- "name": "cancelable",
966
- "default": "false",
967
- "description": "true, if the user can call preventDefault on the event object",
968
- "_ui5privacy": "public"
969
- },
970
- {
971
- "name": "bubbles",
972
- "default": "true",
973
- "description": "true, if the event bubbles",
974
- "_ui5privacy": "public"
975
- }
976
- ],
977
- "privacy": "public",
978
- "deprecated": "use fireDecoratorEvent instead",
979
- "inheritedFrom": {
980
- "name": "UI5Element",
981
- "package": "@ui5/webcomponents-base",
982
- "module": "dist/UI5Element.js"
983
- }
984
- },
985
- {
986
- "kind": "method",
987
- "name": "fireDecoratorEvent",
988
- "return": {
989
- "type": {
990
- "text": "boolean"
991
- },
992
- "description": "false, if the event was cancelled (preventDefault called), true otherwise"
993
- },
994
- "parameters": [
995
- {
996
- "name": "name",
997
- "type": {
998
- "text": "N"
999
- },
1000
- "description": "name of the event",
1001
- "_ui5privacy": "public"
1002
- },
1003
- {
1004
- "name": "data",
1005
- "optional": true,
1006
- "type": {
1007
- "text": "this[\"eventDetails\"][N] | undefined"
1008
- },
1009
- "description": "additional data for the event",
1010
- "_ui5privacy": "public"
1011
- }
1012
- ],
1013
- "description": "Fires a custom event, configured via the \"event\" decorator.",
1014
- "privacy": "public",
1015
- "inheritedFrom": {
1016
- "name": "UI5Element",
1017
- "package": "@ui5/webcomponents-base",
1018
- "module": "dist/UI5Element.js"
1019
- }
1020
- },
1021
- {
1022
- "kind": "method",
1023
- "name": "getSlottedNodes",
1024
- "return": {
1025
- "type": {
1026
- "text": "Array<T>"
1027
- }
1028
- },
1029
- "description": "Returns the actual children, associated with a slot.\nUseful when there are transitive slots in nested component scenarios and you don't want to get a list of the slots, but rather of their content.",
1030
- "privacy": "public",
1031
- "inheritedFrom": {
1032
- "name": "UI5Element",
1033
- "package": "@ui5/webcomponents-base",
1034
- "module": "dist/UI5Element.js"
1035
- }
1036
- },
1037
- {
1038
- "kind": "method",
1039
- "name": "attachComponentStateFinalized",
1040
- "return": {
1041
- "type": {
1042
- "text": "void"
1043
- }
1044
- },
1045
- "parameters": [
1046
- {
1047
- "name": "callback",
1048
- "type": {
1049
- "text": "() => void"
1050
- },
1051
- "_ui5privacy": "public"
1052
- }
1053
- ],
1054
- "description": "Attach a callback that will be executed whenever the component's state is finalized",
1055
- "privacy": "public",
1056
- "inheritedFrom": {
1057
- "name": "UI5Element",
1058
- "package": "@ui5/webcomponents-base",
1059
- "module": "dist/UI5Element.js"
1060
- }
1061
- },
1062
- {
1063
- "kind": "method",
1064
- "name": "detachComponentStateFinalized",
1065
- "return": {
1066
- "type": {
1067
- "text": "void"
1068
- }
1069
- },
1070
- "parameters": [
1071
- {
1072
- "name": "callback",
1073
- "type": {
1074
- "text": "() => void"
1075
- },
1076
- "_ui5privacy": "public"
1077
- }
1078
- ],
1079
- "description": "Detach the callback that is executed whenever the component's state is finalized",
1080
- "privacy": "public",
1081
- "inheritedFrom": {
1082
- "name": "UI5Element",
1083
- "package": "@ui5/webcomponents-base",
1084
- "module": "dist/UI5Element.js"
1085
- }
1086
- },
1087
- {
1088
- "kind": "field",
1089
- "name": "effectiveDir",
1090
- "type": {
1091
- "text": "string | undefined"
1092
- },
1093
- "description": "Determines whether the component should be rendered in RTL mode or not.\nReturns: \"rtl\", \"ltr\" or undefined",
1094
- "privacy": "public",
1095
- "default": "undefined",
1096
- "readonly": true,
1097
- "inheritedFrom": {
1098
- "name": "UI5Element",
1099
- "package": "@ui5/webcomponents-base",
1100
- "module": "dist/UI5Element.js"
1101
- }
1102
- },
1103
- {
1104
- "kind": "field",
1105
- "name": "isUI5Element",
1106
- "type": {
1107
- "text": "boolean"
1108
- },
1109
- "description": "Used to duck-type UI5 elements without using instanceof",
1110
- "privacy": "public",
1111
- "default": "true",
1112
- "readonly": true,
1113
- "inheritedFrom": {
1114
- "name": "UI5Element",
1115
- "package": "@ui5/webcomponents-base",
1116
- "module": "dist/UI5Element.js"
1117
- }
1118
- },
1119
- {
1120
- "kind": "method",
1121
- "name": "getUniqueDependencies",
1122
- "static": true,
1123
- "return": {
1124
- "type": {
1125
- "text": "Array<typeof UI5Element>"
1126
- }
1127
- },
1128
- "description": "Returns a list of the unique dependencies for this UI5 Web Component",
1129
- "privacy": "public",
1130
- "inheritedFrom": {
1131
- "name": "UI5Element",
1132
- "package": "@ui5/webcomponents-base",
1133
- "module": "dist/UI5Element.js"
1134
- }
1135
- },
1136
- {
1137
- "kind": "method",
1138
- "name": "define",
1139
- "static": true,
1140
- "return": {
1141
- "type": {
1142
- "text": "typeof UI5Element"
1143
- }
1144
- },
1145
- "description": "Registers a UI5 Web Component in the browser window object",
1146
- "privacy": "public",
1147
- "inheritedFrom": {
1148
- "name": "UI5Element",
1149
- "package": "@ui5/webcomponents-base",
1150
- "module": "dist/UI5Element.js"
1151
- }
1152
- },
1153
- {
1154
- "kind": "method",
1155
- "name": "getMetadata",
1156
- "static": true,
1157
- "return": {
1158
- "type": {
1159
- "text": "UI5ElementMetadata",
1160
- "references": [
1161
- {
1162
- "name": "UI5ElementMetadata",
1163
- "package": "@ui5/webcomponents-base",
1164
- "module": "dist/UI5ElementMetadata.js"
1165
- }
1166
- ]
1167
- }
1168
- },
1169
- "description": "Returns an instance of UI5ElementMetadata.js representing this UI5 Web Component's full metadata (its and its parents')\nNote: not to be confused with the \"get metadata()\" method, which returns an object for this class's metadata only",
1170
- "privacy": "public",
1171
- "inheritedFrom": {
1172
- "name": "UI5Element",
1173
- "package": "@ui5/webcomponents-base",
1174
- "module": "dist/UI5Element.js"
1175
- }
1176
- }
1177
- ],
1178
- "attributes": [
1179
- {
1180
- "description": "Defines the name of the button state.",
1181
- "name": "name",
1182
- "default": "undefined",
1183
- "fieldName": "name",
1184
- "type": {
1185
- "text": "string | undefined"
1186
- }
1187
- },
1188
- {
1189
- "description": "Defines the text of the button in this state.",
1190
- "name": "text",
1191
- "default": "undefined",
1192
- "fieldName": "text",
1193
- "type": {
1194
- "text": "string | undefined"
1195
- }
1196
- },
1197
- {
1198
- "description": "Defines the icon to be displayed as graphical element within the component before the text.\nThe SAP-icons font provides numerous options.\n\n**Example:**\n\nSee all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).",
1199
- "name": "icon",
1200
- "default": "undefined",
1201
- "fieldName": "icon",
1202
- "type": {
1203
- "text": "string | undefined"
1204
- }
1205
- },
1206
- {
1207
- "description": "Defines the icon to be displayed as graphical element within the component after the text.\nThe SAP-icons font provides numerous options.\n\n**Example:**\n\nSee all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).",
1208
- "name": "end-icon",
1209
- "default": "undefined",
1210
- "fieldName": "endIcon",
1211
- "type": {
1212
- "text": "string | undefined"
1213
- }
1214
- },
1215
- {
1216
- "description": "Defines if the component is in split button mode.",
1217
- "name": "show-arrow-button",
1218
- "default": "false",
1219
- "fieldName": "showArrowButton",
1220
- "type": {
1221
- "text": "boolean"
319
+ "description": "Defines if the component is in split button mode.",
320
+ "name": "show-arrow-button",
321
+ "default": "false",
322
+ "fieldName": "showArrowButton",
323
+ "type": {
324
+ "text": "boolean"
1222
325
  }
1223
326
  }
1224
327
  ],
@@ -1256,33 +359,16 @@
1256
359
  },
1257
360
  {
1258
361
  "kind": "javascript-module",
1259
- "path": "dist/PromptInput.js",
362
+ "path": "dist/Input.js",
1260
363
  "declarations": [
1261
364
  {
1262
365
  "kind": "class",
1263
- "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\"`",
1264
- "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",
1265
368
  "slots": [
1266
369
  {
1267
- "name": "default",
1268
- "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.",
1269
- "_ui5propertyName": "suggestionItems",
1270
- "_ui5type": {
1271
- "text": "Array<IInputSuggestionItem>",
1272
- "references": [
1273
- {
1274
- "name": "IInputSuggestionItem",
1275
- "package": "@ui5/webcomponents",
1276
- "module": "dist/Input.js"
1277
- }
1278
- ]
1279
- },
1280
- "_ui5privacy": "public"
1281
- },
1282
- {
1283
- "name": "valueStateMessage",
1284
- "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.",
1285
- "_ui5since": "2.0.0",
370
+ "name": "actions",
371
+ "description": "Defines the items of the menu for the component.",
1286
372
  "_ui5type": {
1287
373
  "text": "Array<HTMLElement>"
1288
374
  },
@@ -1292,581 +378,309 @@
1292
378
  "members": [
1293
379
  {
1294
380
  "kind": "field",
1295
- "name": "value",
381
+ "name": "currentVersion",
1296
382
  "type": {
1297
- "text": "string"
383
+ "text": "number"
1298
384
  },
1299
- "default": "\"\"",
1300
- "description": "Defines the value of the component.",
1301
- "privacy": "public",
1302
- "_ui5since": "2.0.0"
1303
- },
1304
- {
1305
- "kind": "field",
1306
- "name": "placeholder",
1307
- "type": {
1308
- "text": "string | undefined"
1309
- },
1310
- "description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
1311
- "default": "undefined",
1312
- "privacy": "public",
1313
- "_ui5since": "2.0.0"
1314
- },
1315
- {
1316
- "kind": "field",
1317
- "name": "label",
1318
- "type": {
1319
- "text": "string | undefined"
1320
- },
1321
- "description": "Defines the label of the input field.",
1322
- "default": "undefined",
1323
- "privacy": "public",
1324
- "_ui5since": "2.0.0"
385
+ "default": "0",
386
+ "description": "Indicates the index of the currently displayed version.",
387
+ "privacy": "public"
1325
388
  },
1326
389
  {
1327
390
  "kind": "field",
1328
- "name": "showClearIcon",
391
+ "name": "totalVersions",
1329
392
  "type": {
1330
- "text": "boolean"
393
+ "text": "number"
1331
394
  },
1332
- "default": "false",
1333
- "description": "Defines whether the clear icon of the input will be shown.",
1334
- "privacy": "public",
1335
- "_ui5since": "2.0.0"
395
+ "default": "0",
396
+ "description": "Indicates the total number of result versions available.\n\nWhen not set or set to 0, the versioning will be hidden.",
397
+ "privacy": "public"
1336
398
  },
1337
399
  {
1338
400
  "kind": "field",
1339
- "name": "showExceededText",
401
+ "name": "loading",
1340
402
  "type": {
1341
403
  "text": "boolean"
1342
404
  },
1343
405
  "default": "false",
1344
- "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.",
1345
- "privacy": "public",
1346
- "_ui5since": "2.0.0"
1347
- },
406
+ "description": "Defines whether the AI Writing Assistant is currently loading.\n\nWhen `true`, indicates that an AI action is in progress.",
407
+ "privacy": "public"
408
+ }
409
+ ],
410
+ "events": [
1348
411
  {
1349
- "kind": "field",
1350
- "name": "disabled",
412
+ "name": "button-click",
413
+ "_ui5privacy": "public",
1351
414
  "type": {
1352
- "text": "boolean"
415
+ "text": "CustomEvent"
1353
416
  },
1354
- "default": "false",
1355
- "description": "Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.",
1356
- "privacy": "public",
1357
- "_ui5since": "2.0.0"
417
+ "description": "Fired when the user selects the AI button.",
418
+ "_ui5Cancelable": true,
419
+ "_ui5allowPreventDefault": true,
420
+ "_ui5Bubbles": false
1358
421
  },
1359
422
  {
1360
- "kind": "field",
1361
- "name": "readonly",
423
+ "name": "item-click",
424
+ "_ui5privacy": "public",
1362
425
  "type": {
1363
- "text": "boolean"
426
+ "text": "CustomEvent"
1364
427
  },
1365
- "default": "false",
1366
- "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.",
1367
- "privacy": "public",
1368
- "_ui5since": "2.0.0"
428
+ "description": "Fired when an item from the AI actions menu is clicked.",
429
+ "_ui5Cancelable": false,
430
+ "_ui5allowPreventDefault": false,
431
+ "_ui5Bubbles": false
1369
432
  },
1370
433
  {
1371
- "kind": "field",
1372
- "name": "maxlength",
434
+ "name": "stop-generation",
435
+ "_ui5privacy": "public",
1373
436
  "type": {
1374
- "text": "number | undefined"
437
+ "text": "CustomEvent"
1375
438
  },
1376
- "description": "Sets the maximum number of characters available in the input field.",
1377
- "default": "undefined",
1378
- "privacy": "public",
1379
- "_ui5since": "2.0.0"
439
+ "description": "Fired when the user selects the \"Stop\" button to stop ongoing AI text generation.",
440
+ "_ui5Cancelable": false,
441
+ "_ui5allowPreventDefault": false,
442
+ "_ui5Bubbles": false
1380
443
  },
1381
444
  {
1382
- "kind": "field",
1383
- "name": "valueState",
445
+ "name": "version-change",
446
+ "_ui5privacy": "public",
1384
447
  "type": {
1385
- "text": "ValueState",
448
+ "text": "CustomEvent<InputVersionChangeEventDetail>",
1386
449
  "references": [
1387
450
  {
1388
- "name": "ValueState",
1389
- "package": "@ui5/webcomponents-base",
1390
- "module": "dist/types/ValueState.js"
451
+ "name": "InputVersionChangeEventDetail",
452
+ "package": "@ui5/webcomponents-ai",
453
+ "module": "dist/Input.js"
1391
454
  }
1392
455
  ]
1393
456
  },
1394
- "default": "\"None\"",
1395
- "description": "Defines the value state of the component.",
1396
- "privacy": "public",
1397
- "_ui5since": "2.0.0"
1398
- },
1399
- {
1400
- "kind": "field",
1401
- "name": "showSuggestions",
1402
- "type": {
1403
- "text": "boolean"
1404
- },
1405
- "default": "false",
1406
- "description": "Defines whether the component should show suggestions, if such are present.",
1407
- "privacy": "public"
1408
- },
1409
- {
1410
- "kind": "method",
1411
- "name": "onBeforeRendering",
1412
- "return": {
1413
- "type": {
1414
- "text": "void"
1415
- }
1416
- },
1417
- "description": "Called every time before the component renders.",
1418
- "privacy": "public",
1419
- "inheritedFrom": {
1420
- "name": "UI5Element",
1421
- "package": "@ui5/webcomponents-base",
1422
- "module": "dist/UI5Element.js"
1423
- }
1424
- },
1425
- {
1426
- "kind": "method",
1427
- "name": "onAfterRendering",
1428
- "return": {
1429
- "type": {
1430
- "text": "void"
1431
- }
1432
- },
1433
- "description": "Called every time after the component renders.",
1434
- "privacy": "public",
1435
- "inheritedFrom": {
1436
- "name": "UI5Element",
1437
- "package": "@ui5/webcomponents-base",
1438
- "module": "dist/UI5Element.js"
1439
- }
1440
- },
1441
- {
1442
- "kind": "method",
1443
- "name": "onEnterDOM",
1444
- "return": {
1445
- "type": {
1446
- "text": "void"
1447
- }
1448
- },
1449
- "description": "Called on connectedCallback - added to the DOM.",
1450
- "privacy": "public",
1451
- "inheritedFrom": {
1452
- "name": "UI5Element",
1453
- "package": "@ui5/webcomponents-base",
1454
- "module": "dist/UI5Element.js"
1455
- }
1456
- },
1457
- {
1458
- "kind": "method",
1459
- "name": "onExitDOM",
1460
- "return": {
1461
- "type": {
1462
- "text": "void"
1463
- }
1464
- },
1465
- "description": "Called on disconnectedCallback - removed from the DOM.",
1466
- "privacy": "public",
1467
- "inheritedFrom": {
1468
- "name": "UI5Element",
1469
- "package": "@ui5/webcomponents-base",
1470
- "module": "dist/UI5Element.js"
1471
- }
1472
- },
1473
- {
1474
- "kind": "method",
1475
- "name": "attachInvalidate",
1476
- "return": {
1477
- "type": {
1478
- "text": "void"
1479
- }
1480
- },
1481
- "parameters": [
1482
- {
1483
- "name": "callback",
1484
- "type": {
1485
- "text": "(param: InvalidationInfo) => void"
1486
- },
1487
- "_ui5privacy": "public"
1488
- }
1489
- ],
1490
- "description": "Attach a callback that will be executed whenever the component is invalidated",
1491
- "privacy": "public",
1492
- "inheritedFrom": {
1493
- "name": "UI5Element",
1494
- "package": "@ui5/webcomponents-base",
1495
- "module": "dist/UI5Element.js"
1496
- }
1497
- },
1498
- {
1499
- "kind": "method",
1500
- "name": "detachInvalidate",
1501
- "return": {
1502
- "type": {
1503
- "text": "void"
1504
- }
1505
- },
1506
- "parameters": [
1507
- {
1508
- "name": "callback",
1509
- "type": {
1510
- "text": "(param: InvalidationInfo) => void"
1511
- },
1512
- "_ui5privacy": "public"
1513
- }
1514
- ],
1515
- "description": "Detach the callback that is executed whenever the component is invalidated",
1516
- "privacy": "public",
1517
- "inheritedFrom": {
1518
- "name": "UI5Element",
1519
- "package": "@ui5/webcomponents-base",
1520
- "module": "dist/UI5Element.js"
1521
- }
1522
- },
1523
- {
1524
- "kind": "method",
1525
- "name": "onInvalidation",
1526
- "return": {
1527
- "type": {
1528
- "text": "void"
1529
- }
1530
- },
1531
- "parameters": [
457
+ "description": "Fired when the user selects the version navigation buttons.",
458
+ "_ui5Cancelable": false,
459
+ "_ui5allowPreventDefault": false,
460
+ "_ui5Bubbles": false,
461
+ "_ui5parameters": [
1532
462
  {
1533
- "name": "changeInfo",
1534
463
  "type": {
1535
- "text": "ChangeInfo",
1536
- "references": [
1537
- {
1538
- "name": "ChangeInfo",
1539
- "package": "@ui5/webcomponents-base",
1540
- "module": "dist/UI5Element.js"
1541
- }
1542
- ]
464
+ "text": "boolean"
1543
465
  },
1544
- "description": "An object with information about the change that caused invalidation.\nThe object can have the following properties:\n- type: (property|slot) tells what caused the invalidation\n1) property: a property value was changed either directly or as a result of changing the corresponding attribute\n2) slot: a slotted node(nodes) changed in one of several ways (see \"reason\")\n\n- name: the name of the property or slot that caused the invalidation\n\n- reason: (children|textcontent|childchange|slotchange) relevant only for type=\"slot\" only and tells exactly what changed in the slot\n1) children: immediate children (HTML elements or text nodes) were added, removed or reordered in the slot\n2) textcontent: text nodes in the slot changed value (or nested text nodes were added or changed value). Can only trigger for slots of \"type: Node\"\n3) slotchange: a slot element, slotted inside that slot had its \"slotchange\" event listener called. This practically means that transitively slotted children changed.\nCan only trigger if the child of a slot is a slot element itself.\n4) childchange: indicates that a UI5Element child in that slot was invalidated and in turn invalidated the component.\nCan only trigger for slots with \"invalidateOnChildChange\" metadata descriptor\n\n- newValue: the new value of the property (for type=\"property\" only)\n\n- oldValue: the old value of the property (for type=\"property\" only)\n\n- child the child that was changed (for type=\"slot\" and reason=\"childchange\" only)",
1545
- "_ui5privacy": "public"
466
+ "name": "backwards",
467
+ "_ui5privacy": "public",
468
+ "description": "Indicates if navigation is backwards (true) or forwards (false, default)"
1546
469
  }
1547
- ],
1548
- "description": "A callback that is executed each time an already rendered component is invalidated (scheduled for re-rendering)",
1549
- "privacy": "public",
1550
- "inheritedFrom": {
1551
- "name": "UI5Element",
1552
- "package": "@ui5/webcomponents-base",
1553
- "module": "dist/UI5Element.js"
1554
- }
1555
- },
470
+ ]
471
+ }
472
+ ],
473
+ "attributes": [
1556
474
  {
1557
- "kind": "method",
1558
- "name": "getDomRef",
1559
- "return": {
1560
- "type": {
1561
- "text": "HTMLElement | undefined"
1562
- }
1563
- },
1564
- "description": "Returns the DOM Element inside the Shadow Root that corresponds to the opening tag in the UI5 Web Component's template\n*Note:* For logical (abstract) elements (items, options, etc...), returns the part of the parent's DOM that represents this option\nUse this method instead of \"this.shadowRoot\" to read the Shadow DOM, if ever necessary",
1565
- "privacy": "public",
1566
- "inheritedFrom": {
1567
- "name": "UI5Element",
1568
- "package": "@ui5/webcomponents-base",
1569
- "module": "dist/UI5Element.js"
475
+ "description": "Indicates the index of the currently displayed version.",
476
+ "name": "current-version",
477
+ "default": "0",
478
+ "fieldName": "currentVersion",
479
+ "type": {
480
+ "text": "number"
1570
481
  }
1571
482
  },
1572
483
  {
1573
- "kind": "method",
1574
- "name": "getFocusDomRef",
1575
- "return": {
1576
- "type": {
1577
- "text": "HTMLElement | undefined"
1578
- }
1579
- },
1580
- "description": "Returns the DOM Element marked with \"data-sap-focus-ref\" inside the template.\nThis is the element that will receive the focus by default.",
1581
- "privacy": "public",
1582
- "inheritedFrom": {
1583
- "name": "UI5Element",
1584
- "package": "@ui5/webcomponents-base",
1585
- "module": "dist/UI5Element.js"
484
+ "description": "Indicates the total number of result versions available.\n\nWhen not set or set to 0, the versioning will be hidden.",
485
+ "name": "total-versions",
486
+ "default": "0",
487
+ "fieldName": "totalVersions",
488
+ "type": {
489
+ "text": "number"
1586
490
  }
1587
491
  },
1588
492
  {
1589
- "kind": "method",
1590
- "name": "getFocusDomRefAsync",
1591
- "return": {
1592
- "type": {
1593
- "text": "Promise<HTMLElement | undefined>"
1594
- }
1595
- },
1596
- "description": "Waits for dom ref and then returns the DOM Element marked with \"data-sap-focus-ref\" inside the template.\nThis is the element that will receive the focus by default.",
1597
- "privacy": "public",
1598
- "inheritedFrom": {
1599
- "name": "UI5Element",
1600
- "package": "@ui5/webcomponents-base",
1601
- "module": "dist/UI5Element.js"
493
+ "description": "Defines whether the AI Writing Assistant is currently loading.\n\nWhen `true`, indicates that an AI action is in progress.",
494
+ "name": "loading",
495
+ "default": "false",
496
+ "fieldName": "loading",
497
+ "type": {
498
+ "text": "boolean"
1602
499
  }
1603
- },
500
+ }
501
+ ],
502
+ "superclass": {
503
+ "name": "BaseInput",
504
+ "package": "@ui5/webcomponents",
505
+ "module": "dist/Input.js"
506
+ },
507
+ "tagName": "ui5-ai-input",
508
+ "customElement": true,
509
+ "_ui5experimental": "The **@ui5/webcomponents-ai** package is under active development and considered experimental. Component APIs are subject to change.",
510
+ "_ui5since": "2.16.0",
511
+ "_ui5privacy": "public"
512
+ }
513
+ ],
514
+ "exports": [
515
+ {
516
+ "kind": "js",
517
+ "name": "default",
518
+ "declaration": {
519
+ "name": "Input",
520
+ "module": "dist/Input.js"
521
+ }
522
+ },
523
+ {
524
+ "kind": "custom-element-definition",
525
+ "name": "ui5-ai-input",
526
+ "declaration": {
527
+ "name": "Input",
528
+ "module": "dist/Input.js"
529
+ }
530
+ }
531
+ ]
532
+ },
533
+ {
534
+ "kind": "javascript-module",
535
+ "path": "dist/PromptInput.js",
536
+ "declarations": [
537
+ {
538
+ "kind": "class",
539
+ "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\"`",
540
+ "name": "PromptInput",
541
+ "slots": [
1604
542
  {
1605
- "kind": "method",
1606
- "name": "focus",
1607
- "return": {
1608
- "type": {
1609
- "text": "Promise<void>"
1610
- }
543
+ "name": "default",
544
+ "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.",
545
+ "_ui5propertyName": "suggestionItems",
546
+ "_ui5type": {
547
+ "text": "Array<IInputSuggestionItem>",
548
+ "references": [
549
+ {
550
+ "name": "IInputSuggestionItem",
551
+ "package": "@ui5/webcomponents",
552
+ "module": "dist/Input.js"
553
+ }
554
+ ]
1611
555
  },
1612
- "parameters": [
1613
- {
1614
- "name": "focusOptions",
1615
- "optional": true,
1616
- "type": {
1617
- "text": "FocusOptions"
1618
- },
1619
- "description": "additional options for the focus",
1620
- "_ui5privacy": "public"
1621
- }
1622
- ],
1623
- "description": "Set the focus to the element, returned by \"getFocusDomRef()\" (marked by \"data-sap-focus-ref\")",
1624
- "privacy": "public",
1625
- "inheritedFrom": {
1626
- "name": "UI5Element",
1627
- "package": "@ui5/webcomponents-base",
1628
- "module": "dist/UI5Element.js"
1629
- }
556
+ "_ui5privacy": "public"
1630
557
  },
1631
558
  {
1632
- "kind": "method",
1633
- "name": "fireEvent",
1634
- "return": {
1635
- "type": {
1636
- "text": "boolean"
1637
- },
1638
- "description": "false, if the event was cancelled (preventDefault called), true otherwise"
559
+ "name": "valueStateMessage",
560
+ "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.",
561
+ "_ui5since": "2.0.0",
562
+ "_ui5type": {
563
+ "text": "Array<HTMLElement>"
1639
564
  },
1640
- "parameters": [
1641
- {
1642
- "name": "name",
1643
- "type": {
1644
- "text": "string"
1645
- },
1646
- "description": "name of the event",
1647
- "_ui5privacy": "public"
1648
- },
1649
- {
1650
- "name": "data",
1651
- "optional": true,
1652
- "type": {
1653
- "text": "T"
1654
- },
1655
- "description": "additional data for the event",
1656
- "_ui5privacy": "public"
1657
- },
1658
- {
1659
- "name": "cancelable",
1660
- "default": "false",
1661
- "description": "true, if the user can call preventDefault on the event object",
1662
- "_ui5privacy": "public"
1663
- },
1664
- {
1665
- "name": "bubbles",
1666
- "default": "true",
1667
- "description": "true, if the event bubbles",
1668
- "_ui5privacy": "public"
1669
- }
1670
- ],
565
+ "_ui5privacy": "public"
566
+ }
567
+ ],
568
+ "members": [
569
+ {
570
+ "kind": "field",
571
+ "name": "value",
572
+ "type": {
573
+ "text": "string"
574
+ },
575
+ "default": "\"\"",
576
+ "description": "Defines the value of the component.",
1671
577
  "privacy": "public",
1672
- "deprecated": "use fireDecoratorEvent instead",
1673
- "inheritedFrom": {
1674
- "name": "UI5Element",
1675
- "package": "@ui5/webcomponents-base",
1676
- "module": "dist/UI5Element.js"
1677
- }
578
+ "_ui5since": "2.0.0"
1678
579
  },
1679
580
  {
1680
- "kind": "method",
1681
- "name": "fireDecoratorEvent",
1682
- "return": {
1683
- "type": {
1684
- "text": "boolean"
1685
- },
1686
- "description": "false, if the event was cancelled (preventDefault called), true otherwise"
581
+ "kind": "field",
582
+ "name": "placeholder",
583
+ "type": {
584
+ "text": "string | undefined"
1687
585
  },
1688
- "parameters": [
1689
- {
1690
- "name": "name",
1691
- "type": {
1692
- "text": "N"
1693
- },
1694
- "description": "name of the event",
1695
- "_ui5privacy": "public"
1696
- },
1697
- {
1698
- "name": "data",
1699
- "optional": true,
1700
- "type": {
1701
- "text": "this[\"eventDetails\"][N] | undefined"
1702
- },
1703
- "description": "additional data for the event",
1704
- "_ui5privacy": "public"
1705
- }
1706
- ],
1707
- "description": "Fires a custom event, configured via the \"event\" decorator.",
586
+ "description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
587
+ "default": "undefined",
1708
588
  "privacy": "public",
1709
- "inheritedFrom": {
1710
- "name": "UI5Element",
1711
- "package": "@ui5/webcomponents-base",
1712
- "module": "dist/UI5Element.js"
1713
- }
589
+ "_ui5since": "2.0.0"
1714
590
  },
1715
591
  {
1716
- "kind": "method",
1717
- "name": "getSlottedNodes",
1718
- "return": {
1719
- "type": {
1720
- "text": "Array<T>"
1721
- }
592
+ "kind": "field",
593
+ "name": "label",
594
+ "type": {
595
+ "text": "string | undefined"
1722
596
  },
1723
- "description": "Returns the actual children, associated with a slot.\nUseful when there are transitive slots in nested component scenarios and you don't want to get a list of the slots, but rather of their content.",
597
+ "description": "Defines the label of the input field.",
598
+ "default": "undefined",
1724
599
  "privacy": "public",
1725
- "inheritedFrom": {
1726
- "name": "UI5Element",
1727
- "package": "@ui5/webcomponents-base",
1728
- "module": "dist/UI5Element.js"
1729
- }
600
+ "_ui5since": "2.0.0"
1730
601
  },
1731
602
  {
1732
- "kind": "method",
1733
- "name": "attachComponentStateFinalized",
1734
- "return": {
1735
- "type": {
1736
- "text": "void"
1737
- }
603
+ "kind": "field",
604
+ "name": "showClearIcon",
605
+ "type": {
606
+ "text": "boolean"
1738
607
  },
1739
- "parameters": [
1740
- {
1741
- "name": "callback",
1742
- "type": {
1743
- "text": "() => void"
1744
- },
1745
- "_ui5privacy": "public"
1746
- }
1747
- ],
1748
- "description": "Attach a callback that will be executed whenever the component's state is finalized",
608
+ "default": "false",
609
+ "description": "Defines whether the clear icon of the input will be shown.",
1749
610
  "privacy": "public",
1750
- "inheritedFrom": {
1751
- "name": "UI5Element",
1752
- "package": "@ui5/webcomponents-base",
1753
- "module": "dist/UI5Element.js"
1754
- }
611
+ "_ui5since": "2.0.0"
1755
612
  },
1756
613
  {
1757
- "kind": "method",
1758
- "name": "detachComponentStateFinalized",
1759
- "return": {
1760
- "type": {
1761
- "text": "void"
1762
- }
614
+ "kind": "field",
615
+ "name": "showExceededText",
616
+ "type": {
617
+ "text": "boolean"
1763
618
  },
1764
- "parameters": [
1765
- {
1766
- "name": "callback",
1767
- "type": {
1768
- "text": "() => void"
1769
- },
1770
- "_ui5privacy": "public"
1771
- }
1772
- ],
1773
- "description": "Detach the callback that is executed whenever the component's state is finalized",
619
+ "default": "false",
620
+ "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.",
1774
621
  "privacy": "public",
1775
- "inheritedFrom": {
1776
- "name": "UI5Element",
1777
- "package": "@ui5/webcomponents-base",
1778
- "module": "dist/UI5Element.js"
1779
- }
622
+ "_ui5since": "2.0.0"
1780
623
  },
1781
624
  {
1782
625
  "kind": "field",
1783
- "name": "effectiveDir",
626
+ "name": "disabled",
1784
627
  "type": {
1785
- "text": "string | undefined"
628
+ "text": "boolean"
1786
629
  },
1787
- "description": "Determines whether the component should be rendered in RTL mode or not.\nReturns: \"rtl\", \"ltr\" or undefined",
630
+ "default": "false",
631
+ "description": "Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.",
1788
632
  "privacy": "public",
1789
- "default": "undefined",
1790
- "readonly": true,
1791
- "inheritedFrom": {
1792
- "name": "UI5Element",
1793
- "package": "@ui5/webcomponents-base",
1794
- "module": "dist/UI5Element.js"
1795
- }
633
+ "_ui5since": "2.0.0"
1796
634
  },
1797
635
  {
1798
636
  "kind": "field",
1799
- "name": "isUI5Element",
637
+ "name": "readonly",
1800
638
  "type": {
1801
639
  "text": "boolean"
1802
640
  },
1803
- "description": "Used to duck-type UI5 elements without using instanceof",
641
+ "default": "false",
642
+ "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.",
1804
643
  "privacy": "public",
1805
- "default": "true",
1806
- "readonly": true,
1807
- "inheritedFrom": {
1808
- "name": "UI5Element",
1809
- "package": "@ui5/webcomponents-base",
1810
- "module": "dist/UI5Element.js"
1811
- }
644
+ "_ui5since": "2.0.0"
1812
645
  },
1813
646
  {
1814
- "kind": "method",
1815
- "name": "getUniqueDependencies",
1816
- "static": true,
1817
- "return": {
1818
- "type": {
1819
- "text": "Array<typeof UI5Element>"
1820
- }
647
+ "kind": "field",
648
+ "name": "maxlength",
649
+ "type": {
650
+ "text": "number | undefined"
1821
651
  },
1822
- "description": "Returns a list of the unique dependencies for this UI5 Web Component",
652
+ "description": "Sets the maximum number of characters available in the input field.",
653
+ "default": "undefined",
1823
654
  "privacy": "public",
1824
- "inheritedFrom": {
1825
- "name": "UI5Element",
1826
- "package": "@ui5/webcomponents-base",
1827
- "module": "dist/UI5Element.js"
1828
- }
655
+ "_ui5since": "2.0.0"
1829
656
  },
1830
657
  {
1831
- "kind": "method",
1832
- "name": "define",
1833
- "static": true,
1834
- "return": {
1835
- "type": {
1836
- "text": "typeof UI5Element"
1837
- }
658
+ "kind": "field",
659
+ "name": "valueState",
660
+ "type": {
661
+ "text": "ValueState",
662
+ "references": [
663
+ {
664
+ "name": "ValueState",
665
+ "package": "@ui5/webcomponents-base",
666
+ "module": "dist/types/ValueState.js"
667
+ }
668
+ ]
1838
669
  },
1839
- "description": "Registers a UI5 Web Component in the browser window object",
670
+ "default": "\"None\"",
671
+ "description": "Defines the value state of the component.",
1840
672
  "privacy": "public",
1841
- "inheritedFrom": {
1842
- "name": "UI5Element",
1843
- "package": "@ui5/webcomponents-base",
1844
- "module": "dist/UI5Element.js"
1845
- }
673
+ "_ui5since": "2.0.0"
1846
674
  },
1847
675
  {
1848
- "kind": "method",
1849
- "name": "getMetadata",
1850
- "static": true,
1851
- "return": {
1852
- "type": {
1853
- "text": "UI5ElementMetadata",
1854
- "references": [
1855
- {
1856
- "name": "UI5ElementMetadata",
1857
- "package": "@ui5/webcomponents-base",
1858
- "module": "dist/UI5ElementMetadata.js"
1859
- }
1860
- ]
1861
- }
676
+ "kind": "field",
677
+ "name": "showSuggestions",
678
+ "type": {
679
+ "text": "boolean"
1862
680
  },
1863
- "description": "Returns an instance of UI5ElementMetadata.js representing this UI5 Web Component's full metadata (its and its parents')\nNote: not to be confused with the \"get metadata()\" method, which returns an object for this class's metadata only",
1864
- "privacy": "public",
1865
- "inheritedFrom": {
1866
- "name": "UI5Element",
1867
- "package": "@ui5/webcomponents-base",
1868
- "module": "dist/UI5Element.js"
1869
- }
681
+ "default": "false",
682
+ "description": "Defines whether the component should show suggestions, if such are present.",
683
+ "privacy": "public"
1870
684
  }
1871
685
  ],
1872
686
  "events": [
@@ -2028,6 +842,221 @@
2028
842
  }
2029
843
  }
2030
844
  ]
845
+ },
846
+ {
847
+ "kind": "javascript-module",
848
+ "path": "dist/TextArea.js",
849
+ "declarations": [
850
+ {
851
+ "kind": "class",
852
+ "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\";`",
853
+ "name": "TextArea",
854
+ "slots": [
855
+ {
856
+ "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.",
857
+ "name": "menu",
858
+ "_ui5privacy": "public",
859
+ "_ui5type": {
860
+ "text": "HTMLElement"
861
+ }
862
+ }
863
+ ],
864
+ "members": [
865
+ {
866
+ "kind": "field",
867
+ "name": "loading",
868
+ "type": {
869
+ "text": "boolean"
870
+ },
871
+ "default": "false",
872
+ "description": "Defines whether the `ui5-ai-textarea` is currently in a loading(processing) state.",
873
+ "privacy": "public"
874
+ },
875
+ {
876
+ "kind": "field",
877
+ "name": "promptDescription",
878
+ "type": {
879
+ "text": "string"
880
+ },
881
+ "default": "\"\"",
882
+ "description": "Defines the prompt description of the current action.",
883
+ "privacy": "public"
884
+ },
885
+ {
886
+ "kind": "field",
887
+ "name": "currentVersion",
888
+ "type": {
889
+ "text": "number"
890
+ },
891
+ "default": "0",
892
+ "description": "Indicates the index of the currently displayed version.",
893
+ "privacy": "public"
894
+ },
895
+ {
896
+ "kind": "field",
897
+ "name": "totalVersions",
898
+ "type": {
899
+ "text": "number"
900
+ },
901
+ "default": "0",
902
+ "description": "Indicates the total number of result versions available.\n\nNotes:\nVersioning is hidden if the value is `0`",
903
+ "privacy": "public"
904
+ }
905
+ ],
906
+ "events": [
907
+ {
908
+ "name": "version-change",
909
+ "_ui5privacy": "public",
910
+ "type": {
911
+ "text": "CustomEvent<TextAreaVersionChangeEventDetail>",
912
+ "references": [
913
+ {
914
+ "name": "TextAreaVersionChangeEventDetail",
915
+ "package": "@ui5/webcomponents-ai",
916
+ "module": "dist/TextArea.js"
917
+ }
918
+ ]
919
+ },
920
+ "description": "Fired when the user clicks on version navigation buttons.",
921
+ "_ui5Cancelable": false,
922
+ "_ui5allowPreventDefault": false,
923
+ "_ui5Bubbles": false,
924
+ "_ui5parameters": [
925
+ {
926
+ "type": {
927
+ "text": "boolean"
928
+ },
929
+ "name": "backwards",
930
+ "_ui5privacy": "public",
931
+ "description": "Indicates if navigation is backwards (true) or forwards (false, default)."
932
+ }
933
+ ]
934
+ },
935
+ {
936
+ "name": "stop-generation",
937
+ "_ui5privacy": "public",
938
+ "type": {
939
+ "text": "CustomEvent"
940
+ },
941
+ "description": "Fired when the user requests to stop AI text generation.",
942
+ "_ui5Cancelable": false,
943
+ "_ui5allowPreventDefault": false,
944
+ "_ui5Bubbles": false
945
+ }
946
+ ],
947
+ "attributes": [
948
+ {
949
+ "description": "Defines whether the `ui5-ai-textarea` is currently in a loading(processing) state.",
950
+ "name": "loading",
951
+ "default": "false",
952
+ "fieldName": "loading",
953
+ "type": {
954
+ "text": "boolean"
955
+ }
956
+ },
957
+ {
958
+ "description": "Defines the prompt description of the current action.",
959
+ "name": "prompt-description",
960
+ "default": "\"\"",
961
+ "fieldName": "promptDescription",
962
+ "type": {
963
+ "text": "string"
964
+ }
965
+ },
966
+ {
967
+ "description": "Indicates the index of the currently displayed version.",
968
+ "name": "current-version",
969
+ "default": "0",
970
+ "fieldName": "currentVersion",
971
+ "type": {
972
+ "text": "number"
973
+ }
974
+ },
975
+ {
976
+ "description": "Indicates the total number of result versions available.\n\nNotes:\nVersioning is hidden if the value is `0`",
977
+ "name": "total-versions",
978
+ "default": "0",
979
+ "fieldName": "totalVersions",
980
+ "type": {
981
+ "text": "number"
982
+ }
983
+ }
984
+ ],
985
+ "superclass": {
986
+ "name": "BaseTextArea",
987
+ "package": "@ui5/webcomponents",
988
+ "module": "dist/TextArea.js"
989
+ },
990
+ "tagName": "ui5-ai-textarea",
991
+ "customElement": true,
992
+ "_ui5experimental": "The **@ui5/webcomponents-ai** package is under development and considered experimental - components' APIs are subject to change.",
993
+ "_ui5since": "2.16.0",
994
+ "_ui5privacy": "public"
995
+ }
996
+ ],
997
+ "exports": [
998
+ {
999
+ "kind": "js",
1000
+ "name": "default",
1001
+ "declaration": {
1002
+ "name": "TextArea",
1003
+ "module": "dist/TextArea.js"
1004
+ }
1005
+ },
1006
+ {
1007
+ "kind": "custom-element-definition",
1008
+ "name": "ui5-ai-textarea",
1009
+ "declaration": {
1010
+ "name": "TextArea",
1011
+ "module": "dist/TextArea.js"
1012
+ }
1013
+ }
1014
+ ]
1015
+ },
1016
+ {
1017
+ "kind": "javascript-module",
1018
+ "path": "dist/ToolbarLabel.js",
1019
+ "declarations": [],
1020
+ "exports": [
1021
+ {
1022
+ "kind": "js",
1023
+ "name": "default",
1024
+ "declaration": {
1025
+ "name": "ToolbarLabel",
1026
+ "module": "dist/ToolbarLabel.js"
1027
+ }
1028
+ }
1029
+ ]
1030
+ },
1031
+ {
1032
+ "kind": "javascript-module",
1033
+ "path": "dist/Versioning.js",
1034
+ "declarations": [],
1035
+ "exports": [
1036
+ {
1037
+ "kind": "js",
1038
+ "name": "default",
1039
+ "declaration": {
1040
+ "name": "Versioning",
1041
+ "module": "dist/Versioning.js"
1042
+ }
1043
+ }
1044
+ ]
1045
+ },
1046
+ {
1047
+ "kind": "javascript-module",
1048
+ "path": "dist/WritingAssistant.js",
1049
+ "declarations": [],
1050
+ "exports": [
1051
+ {
1052
+ "kind": "js",
1053
+ "name": "default",
1054
+ "declaration": {
1055
+ "name": "WritingAssistant",
1056
+ "module": "dist/WritingAssistant.js"
1057
+ }
1058
+ }
1059
+ ]
2031
1060
  }
2032
1061
  ]
2033
1062
  }