@ui5/webcomponents-ai 0.0.0-093de5dd1

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 (267) hide show
  1. package/.env.production +1 -0
  2. package/.env.testing +4 -0
  3. package/.npsrc.json +3 -0
  4. package/.ui5-cem-aliases.json +4 -0
  5. package/CHANGELOG.md +1004 -0
  6. package/LICENSE.txt +201 -0
  7. package/README.md +40 -0
  8. package/cypress.config.js +3 -0
  9. package/dist/.tsbuildinfo +1 -0
  10. package/dist/Assets-fetch.d.ts +3 -0
  11. package/dist/Assets-fetch.js +6 -0
  12. package/dist/Assets-fetch.js.map +1 -0
  13. package/dist/Assets-node.d.ts +14 -0
  14. package/dist/Assets-node.js +17 -0
  15. package/dist/Assets-node.js.map +1 -0
  16. package/dist/Assets.d.ts +3 -0
  17. package/dist/Assets.js +6 -0
  18. package/dist/Assets.js.map +1 -0
  19. package/dist/Button.d.ts +166 -0
  20. package/dist/Button.js +325 -0
  21. package/dist/Button.js.map +1 -0
  22. package/dist/ButtonState.d.ts +68 -0
  23. package/dist/ButtonState.js +65 -0
  24. package/dist/ButtonState.js.map +1 -0
  25. package/dist/ButtonTemplate.d.ts +2 -0
  26. package/dist/ButtonTemplate.js +6 -0
  27. package/dist/ButtonTemplate.js.map +1 -0
  28. package/dist/Input.d.ts +144 -0
  29. package/dist/Input.js +289 -0
  30. package/dist/Input.js.map +1 -0
  31. package/dist/InputTemplate.d.ts +10 -0
  32. package/dist/InputTemplate.js +28 -0
  33. package/dist/InputTemplate.js.map +1 -0
  34. package/dist/PromptInput.d.ts +150 -0
  35. package/dist/PromptInput.js +226 -0
  36. package/dist/PromptInput.js.map +1 -0
  37. package/dist/PromptInputTemplate.d.ts +2 -0
  38. package/dist/PromptInputTemplate.js +12 -0
  39. package/dist/PromptInputTemplate.js.map +1 -0
  40. package/dist/TextArea.d.ts +124 -0
  41. package/dist/TextArea.js +272 -0
  42. package/dist/TextArea.js.map +1 -0
  43. package/dist/TextAreaTemplate.d.ts +2 -0
  44. package/dist/TextAreaTemplate.js +13 -0
  45. package/dist/TextAreaTemplate.js.map +1 -0
  46. package/dist/ToolbarLabel.d.ts +39 -0
  47. package/dist/ToolbarLabel.js +67 -0
  48. package/dist/ToolbarLabel.js.map +1 -0
  49. package/dist/ToolbarLabelTemplate.d.ts +2 -0
  50. package/dist/ToolbarLabelTemplate.js +5 -0
  51. package/dist/ToolbarLabelTemplate.js.map +1 -0
  52. package/dist/Versioning.d.ts +95 -0
  53. package/dist/Versioning.js +187 -0
  54. package/dist/Versioning.js.map +1 -0
  55. package/dist/VersioningTemplate.d.ts +4 -0
  56. package/dist/VersioningTemplate.js +9 -0
  57. package/dist/VersioningTemplate.js.map +1 -0
  58. package/dist/WritingAssistant.d.ts +101 -0
  59. package/dist/WritingAssistant.js +201 -0
  60. package/dist/WritingAssistant.js.map +1 -0
  61. package/dist/WritingAssistantTemplate.d.ts +2 -0
  62. package/dist/WritingAssistantTemplate.js +12 -0
  63. package/dist/WritingAssistantTemplate.js.map +1 -0
  64. package/dist/bundle.esm.d.ts +3 -0
  65. package/dist/bundle.esm.js +11 -0
  66. package/dist/bundle.esm.js.map +1 -0
  67. package/dist/bundle.scoped.config.d.ts +1 -0
  68. package/dist/bundle.scoped.config.js +3 -0
  69. package/dist/bundle.scoped.config.js.map +1 -0
  70. package/dist/bundle.scoped.esm.d.ts +2 -0
  71. package/dist/bundle.scoped.esm.js +3 -0
  72. package/dist/bundle.scoped.esm.js.map +1 -0
  73. package/dist/css/themes/Button.css +1 -0
  74. package/dist/css/themes/Input.css +1 -0
  75. package/dist/css/themes/PromptInput.css +1 -0
  76. package/dist/css/themes/TextArea.css +1 -0
  77. package/dist/css/themes/Versioning.css +1 -0
  78. package/dist/css/themes/WritingAssistant.css +1 -0
  79. package/dist/css/themes/sap_horizon/parameters-bundle.css +0 -0
  80. package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +0 -0
  81. package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +0 -0
  82. package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +0 -0
  83. package/dist/custom-elements-internal.json +1949 -0
  84. package/dist/custom-elements.json +1698 -0
  85. package/dist/generated/assets/i18n/messagebundle_ar.json +1 -0
  86. package/dist/generated/assets/i18n/messagebundle_bg.json +1 -0
  87. package/dist/generated/assets/i18n/messagebundle_ca.json +1 -0
  88. package/dist/generated/assets/i18n/messagebundle_cnr.json +1 -0
  89. package/dist/generated/assets/i18n/messagebundle_cs.json +1 -0
  90. package/dist/generated/assets/i18n/messagebundle_cy.json +1 -0
  91. package/dist/generated/assets/i18n/messagebundle_da.json +1 -0
  92. package/dist/generated/assets/i18n/messagebundle_de.json +1 -0
  93. package/dist/generated/assets/i18n/messagebundle_el.json +1 -0
  94. package/dist/generated/assets/i18n/messagebundle_en.json +1 -0
  95. package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -0
  96. package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -0
  97. package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -0
  98. package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -0
  99. package/dist/generated/assets/i18n/messagebundle_es.json +1 -0
  100. package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -0
  101. package/dist/generated/assets/i18n/messagebundle_et.json +1 -0
  102. package/dist/generated/assets/i18n/messagebundle_fi.json +1 -0
  103. package/dist/generated/assets/i18n/messagebundle_fr.json +1 -0
  104. package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -0
  105. package/dist/generated/assets/i18n/messagebundle_hi.json +1 -0
  106. package/dist/generated/assets/i18n/messagebundle_hr.json +1 -0
  107. package/dist/generated/assets/i18n/messagebundle_hu.json +1 -0
  108. package/dist/generated/assets/i18n/messagebundle_id.json +1 -0
  109. package/dist/generated/assets/i18n/messagebundle_it.json +1 -0
  110. package/dist/generated/assets/i18n/messagebundle_iw.json +1 -0
  111. package/dist/generated/assets/i18n/messagebundle_ja.json +1 -0
  112. package/dist/generated/assets/i18n/messagebundle_kk.json +1 -0
  113. package/dist/generated/assets/i18n/messagebundle_ko.json +1 -0
  114. package/dist/generated/assets/i18n/messagebundle_lt.json +1 -0
  115. package/dist/generated/assets/i18n/messagebundle_lv.json +1 -0
  116. package/dist/generated/assets/i18n/messagebundle_mk.json +1 -0
  117. package/dist/generated/assets/i18n/messagebundle_ms.json +1 -0
  118. package/dist/generated/assets/i18n/messagebundle_nl.json +1 -0
  119. package/dist/generated/assets/i18n/messagebundle_no.json +1 -0
  120. package/dist/generated/assets/i18n/messagebundle_pl.json +1 -0
  121. package/dist/generated/assets/i18n/messagebundle_pt.json +1 -0
  122. package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -0
  123. package/dist/generated/assets/i18n/messagebundle_ro.json +1 -0
  124. package/dist/generated/assets/i18n/messagebundle_ru.json +1 -0
  125. package/dist/generated/assets/i18n/messagebundle_sh.json +1 -0
  126. package/dist/generated/assets/i18n/messagebundle_sk.json +1 -0
  127. package/dist/generated/assets/i18n/messagebundle_sl.json +1 -0
  128. package/dist/generated/assets/i18n/messagebundle_sr.json +1 -0
  129. package/dist/generated/assets/i18n/messagebundle_sv.json +1 -0
  130. package/dist/generated/assets/i18n/messagebundle_th.json +1 -0
  131. package/dist/generated/assets/i18n/messagebundle_tr.json +1 -0
  132. package/dist/generated/assets/i18n/messagebundle_uk.json +1 -0
  133. package/dist/generated/assets/i18n/messagebundle_vi.json +1 -0
  134. package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -0
  135. package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -0
  136. package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -0
  137. package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -0
  138. package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -0
  139. package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -0
  140. package/dist/generated/i18n/i18n-defaults.d.ts +18 -0
  141. package/dist/generated/i18n/i18n-defaults.js +18 -0
  142. package/dist/generated/i18n/i18n-defaults.js.map +1 -0
  143. package/dist/generated/json-imports/Themes-fetch.d.ts +1 -0
  144. package/dist/generated/json-imports/Themes-fetch.js +21 -0
  145. package/dist/generated/json-imports/Themes-fetch.js.map +1 -0
  146. package/dist/generated/json-imports/Themes-node.d.ts +1 -0
  147. package/dist/generated/json-imports/Themes-node.js +21 -0
  148. package/dist/generated/json-imports/Themes-node.js.map +1 -0
  149. package/dist/generated/json-imports/Themes.d.ts +1 -0
  150. package/dist/generated/json-imports/Themes.js +21 -0
  151. package/dist/generated/json-imports/Themes.js.map +1 -0
  152. package/dist/generated/json-imports/i18n-fetch.d.ts +1 -0
  153. package/dist/generated/json-imports/i18n-fetch.js +120 -0
  154. package/dist/generated/json-imports/i18n-fetch.js.map +1 -0
  155. package/dist/generated/json-imports/i18n-node.d.ts +1 -0
  156. package/dist/generated/json-imports/i18n-node.js +120 -0
  157. package/dist/generated/json-imports/i18n-node.js.map +1 -0
  158. package/dist/generated/json-imports/i18n.d.ts +1 -0
  159. package/dist/generated/json-imports/i18n.js +120 -0
  160. package/dist/generated/json-imports/i18n.js.map +1 -0
  161. package/dist/generated/themes/Button.css.d.ts +2 -0
  162. package/dist/generated/themes/Button.css.js +8 -0
  163. package/dist/generated/themes/Button.css.js.map +1 -0
  164. package/dist/generated/themes/Input.css.d.ts +2 -0
  165. package/dist/generated/themes/Input.css.js +8 -0
  166. package/dist/generated/themes/Input.css.js.map +1 -0
  167. package/dist/generated/themes/PromptInput.css.d.ts +2 -0
  168. package/dist/generated/themes/PromptInput.css.js +8 -0
  169. package/dist/generated/themes/PromptInput.css.js.map +1 -0
  170. package/dist/generated/themes/TextArea.css.d.ts +2 -0
  171. package/dist/generated/themes/TextArea.css.js +8 -0
  172. package/dist/generated/themes/TextArea.css.js.map +1 -0
  173. package/dist/generated/themes/Versioning.css.d.ts +2 -0
  174. package/dist/generated/themes/Versioning.css.js +8 -0
  175. package/dist/generated/themes/Versioning.css.js.map +1 -0
  176. package/dist/generated/themes/WritingAssistant.css.d.ts +2 -0
  177. package/dist/generated/themes/WritingAssistant.css.js +8 -0
  178. package/dist/generated/themes/WritingAssistant.css.js.map +1 -0
  179. package/dist/generated/themes/sap_horizon/parameters-bundle.css.d.ts +2 -0
  180. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +2 -0
  181. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -0
  182. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.d.ts +2 -0
  183. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +2 -0
  184. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -0
  185. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.d.ts +2 -0
  186. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +2 -0
  187. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -0
  188. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.d.ts +2 -0
  189. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +2 -0
  190. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -0
  191. package/dist/vscode.html-custom-data.json +188 -0
  192. package/dist/web-types.json +488 -0
  193. package/jsconfig.json +11 -0
  194. package/package-scripts.cjs +18 -0
  195. package/package.json +64 -0
  196. package/src/ButtonTemplate.tsx +27 -0
  197. package/src/InputTemplate.tsx +197 -0
  198. package/src/PromptInputTemplate.tsx +49 -0
  199. package/src/TextArea.css +25 -0
  200. package/src/TextAreaTemplate.tsx +91 -0
  201. package/src/ToolbarLabelTemplate.tsx +9 -0
  202. package/src/VersioningTemplate.tsx +34 -0
  203. package/src/WritingAssistantTemplate.tsx +51 -0
  204. package/src/i18n/messagebundle.properties +50 -0
  205. package/src/i18n/messagebundle_ar.properties +32 -0
  206. package/src/i18n/messagebundle_bg.properties +32 -0
  207. package/src/i18n/messagebundle_ca.properties +32 -0
  208. package/src/i18n/messagebundle_cnr.properties +32 -0
  209. package/src/i18n/messagebundle_cs.properties +32 -0
  210. package/src/i18n/messagebundle_cy.properties +32 -0
  211. package/src/i18n/messagebundle_da.properties +32 -0
  212. package/src/i18n/messagebundle_de.properties +32 -0
  213. package/src/i18n/messagebundle_el.properties +32 -0
  214. package/src/i18n/messagebundle_en.properties +47 -0
  215. package/src/i18n/messagebundle_en_GB.properties +32 -0
  216. package/src/i18n/messagebundle_en_US_sappsd.properties +32 -0
  217. package/src/i18n/messagebundle_en_US_saprigi.properties +32 -0
  218. package/src/i18n/messagebundle_en_US_saptrc.properties +32 -0
  219. package/src/i18n/messagebundle_es.properties +32 -0
  220. package/src/i18n/messagebundle_es_MX.properties +32 -0
  221. package/src/i18n/messagebundle_et.properties +32 -0
  222. package/src/i18n/messagebundle_fi.properties +32 -0
  223. package/src/i18n/messagebundle_fr.properties +32 -0
  224. package/src/i18n/messagebundle_fr_CA.properties +32 -0
  225. package/src/i18n/messagebundle_hi.properties +32 -0
  226. package/src/i18n/messagebundle_hr.properties +32 -0
  227. package/src/i18n/messagebundle_hu.properties +32 -0
  228. package/src/i18n/messagebundle_id.properties +32 -0
  229. package/src/i18n/messagebundle_it.properties +32 -0
  230. package/src/i18n/messagebundle_iw.properties +32 -0
  231. package/src/i18n/messagebundle_ja.properties +32 -0
  232. package/src/i18n/messagebundle_kk.properties +32 -0
  233. package/src/i18n/messagebundle_ko.properties +32 -0
  234. package/src/i18n/messagebundle_lt.properties +32 -0
  235. package/src/i18n/messagebundle_lv.properties +32 -0
  236. package/src/i18n/messagebundle_mk.properties +32 -0
  237. package/src/i18n/messagebundle_ms.properties +32 -0
  238. package/src/i18n/messagebundle_nl.properties +32 -0
  239. package/src/i18n/messagebundle_no.properties +32 -0
  240. package/src/i18n/messagebundle_pl.properties +32 -0
  241. package/src/i18n/messagebundle_pt.properties +32 -0
  242. package/src/i18n/messagebundle_pt_PT.properties +32 -0
  243. package/src/i18n/messagebundle_ro.properties +32 -0
  244. package/src/i18n/messagebundle_ru.properties +32 -0
  245. package/src/i18n/messagebundle_sh.properties +32 -0
  246. package/src/i18n/messagebundle_sk.properties +32 -0
  247. package/src/i18n/messagebundle_sl.properties +32 -0
  248. package/src/i18n/messagebundle_sr.properties +32 -0
  249. package/src/i18n/messagebundle_sv.properties +32 -0
  250. package/src/i18n/messagebundle_th.properties +32 -0
  251. package/src/i18n/messagebundle_tr.properties +32 -0
  252. package/src/i18n/messagebundle_uk.properties +32 -0
  253. package/src/i18n/messagebundle_vi.properties +32 -0
  254. package/src/i18n/messagebundle_zh_CN.properties +32 -0
  255. package/src/i18n/messagebundle_zh_TW.properties +32 -0
  256. package/src/themes/Button.css +142 -0
  257. package/src/themes/Input.css +83 -0
  258. package/src/themes/PromptInput.css +34 -0
  259. package/src/themes/TextArea.css +45 -0
  260. package/src/themes/Versioning.css +20 -0
  261. package/src/themes/WritingAssistant.css +23 -0
  262. package/src/themes/base/Button-parameters.css +2 -0
  263. package/src/themes/sap_horizon/parameters-bundle.css +1 -0
  264. package/src/themes/sap_horizon_dark/parameters-bundle.css +1 -0
  265. package/src/themes/sap_horizon_hcb/parameters-bundle.css +1 -0
  266. package/src/themes/sap_horizon_hcw/parameters-bundle.css +1 -0
  267. package/tsconfig.json +63 -0
@@ -0,0 +1,1949 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
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
+ },
17
+ {
18
+ "kind": "javascript-module",
19
+ "path": "dist/Assets.js",
20
+ "declarations": [],
21
+ "exports": []
22
+ },
23
+ {
24
+ "kind": "javascript-module",
25
+ "path": "dist/Button.js",
26
+ "declarations": [
27
+ {
28
+ "kind": "class",
29
+ "description": "### Overview\n\nThe `ui5-ai-button` component serves as a button for AI-related scenarios. Users can trigger actions by clicking or tapping the `ui5-ai-button`\nor by pressing keyboard keys like [Enter] or [Space].\n\n### Usage\n\nFor the `ui5-ai-button` user interface, you can define one or more button states by placing `ui5-ai-button-state` components in their default slot.\nEach state has a name for identification and can include text, an icon, and an end icon, as needed for its purpose.\nYou can define a split mode for the `ui5-ai-button`, which will results in displaying an arrow button for additional actions.\n\nYou can choose from a set of predefined designs for `ui5-ai-button` (as in `ui5-button`) to match the desired styling.\n\nThe `ui5-ai-button` can be activated by clicking or tapping it. You can change the button state in the click event handler. When the button is\nin split mode, you can activate the default button action by clicking or tapping it, or by pressing keyboard keys like [Enter] or [Space].\nYou can activate the arrow button by clicking or tapping it, or by pressing keyboard keys like [Arrow Up], [Arrow Down], or [F4].\nTo display additional actions, you can attach a menu to the arrow button.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/Button.js\";`",
30
+ "name": "Button",
31
+ "slots": [
32
+ {
33
+ "name": "default",
34
+ "description": "Defines the available states of the component.\n**Note:** Although this slot accepts HTML Elements, it is strongly recommended that\nyou only use `ui5-ai-button-state` components in order to preserve the intended design.",
35
+ "_ui5propertyName": "states",
36
+ "_ui5type": {
37
+ "text": "Array<ButtonState>",
38
+ "references": [
39
+ {
40
+ "name": "ButtonState",
41
+ "package": "@ui5/webcomponents-ai",
42
+ "module": "dist/ButtonState.js"
43
+ }
44
+ ]
45
+ },
46
+ "_ui5privacy": "public"
47
+ }
48
+ ],
49
+ "members": [
50
+ {
51
+ "kind": "field",
52
+ "name": "design",
53
+ "type": {
54
+ "text": "ButtonDesign | undefined",
55
+ "references": [
56
+ {
57
+ "name": "ButtonDesign",
58
+ "package": "@ui5/webcomponents",
59
+ "module": "dist/types/ButtonDesign.js"
60
+ }
61
+ ]
62
+ },
63
+ "default": "\"Default\"",
64
+ "description": "Defines the component design.",
65
+ "privacy": "public"
66
+ },
67
+ {
68
+ "kind": "field",
69
+ "name": "disabled",
70
+ "type": {
71
+ "text": "boolean"
72
+ },
73
+ "default": "false",
74
+ "description": "Defines whether the component is disabled.\nA disabled component can't be pressed or\nfocused, and it is not in the tab chain.",
75
+ "privacy": "public"
76
+ },
77
+ {
78
+ "kind": "field",
79
+ "name": "state",
80
+ "type": {
81
+ "text": "string | undefined"
82
+ },
83
+ "description": "Defines the current state of the component.",
84
+ "default": "undefined",
85
+ "privacy": "public"
86
+ },
87
+ {
88
+ "kind": "field",
89
+ "name": "arrowButtonPressed",
90
+ "type": {
91
+ "text": "boolean"
92
+ },
93
+ "default": "false",
94
+ "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.",
95
+ "privacy": "public",
96
+ "_ui5since": "2.6.0",
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"
116
+ }
117
+ ],
118
+ "events": [
119
+ {
120
+ "name": "click",
121
+ "_ui5privacy": "public",
122
+ "type": {
123
+ "text": "CustomEvent"
124
+ },
125
+ "description": "Fired when the component is activated either with a\nmouse/tap or by using the Enter or Space key.",
126
+ "_ui5Cancelable": false,
127
+ "_ui5allowPreventDefault": false,
128
+ "_ui5Bubbles": true
129
+ },
130
+ {
131
+ "name": "arrow-button-click",
132
+ "_ui5privacy": "public",
133
+ "type": {
134
+ "text": "CustomEvent"
135
+ },
136
+ "description": "Fired when the component is in split mode and after the arrow button\nis activated either by clicking or tapping it or by using the [Arrow Up] / [Arrow Down],\n[Alt] + [Arrow Up]/ [Arrow Down], or [F4] keyboard keys.",
137
+ "_ui5Cancelable": false,
138
+ "_ui5allowPreventDefault": false,
139
+ "_ui5Bubbles": true
140
+ }
141
+ ],
142
+ "attributes": [
143
+ {
144
+ "description": "Defines the component design.",
145
+ "name": "design",
146
+ "default": "\"Default\"",
147
+ "fieldName": "design",
148
+ "type": {
149
+ "text": "\"Default\" | \"Positive\" | \"Negative\" | \"Transparent\" | \"Emphasized\" | \"Attention\" | undefined"
150
+ }
151
+ },
152
+ {
153
+ "description": "Defines whether the component is disabled.\nA disabled component can't be pressed or\nfocused, and it is not in the tab chain.",
154
+ "name": "disabled",
155
+ "default": "false",
156
+ "fieldName": "disabled",
157
+ "type": {
158
+ "text": "boolean"
159
+ }
160
+ },
161
+ {
162
+ "description": "Defines the current state of the component.",
163
+ "name": "state",
164
+ "default": "undefined",
165
+ "fieldName": "state",
166
+ "type": {
167
+ "text": "string | undefined"
168
+ }
169
+ },
170
+ {
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.",
172
+ "name": "arrow-button-pressed",
173
+ "default": "false",
174
+ "fieldName": "arrowButtonPressed",
175
+ "type": {
176
+ "text": "boolean"
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
+ }
187
+ }
188
+ ],
189
+ "superclass": {
190
+ "name": "UI5Element",
191
+ "package": "@ui5/webcomponents-base",
192
+ "module": "dist/UI5Element.js"
193
+ },
194
+ "tagName": "ui5-ai-button",
195
+ "customElement": true,
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.",
197
+ "_ui5since": "2.0.0",
198
+ "_ui5privacy": "public"
199
+ }
200
+ ],
201
+ "exports": [
202
+ {
203
+ "kind": "js",
204
+ "name": "default",
205
+ "declaration": {
206
+ "name": "Button",
207
+ "module": "dist/Button.js"
208
+ }
209
+ },
210
+ {
211
+ "kind": "custom-element-definition",
212
+ "name": "ui5-ai-button",
213
+ "declaration": {
214
+ "name": "Button",
215
+ "module": "dist/Button.js"
216
+ }
217
+ }
218
+ ]
219
+ },
220
+ {
221
+ "kind": "javascript-module",
222
+ "path": "dist/ButtonState.js",
223
+ "declarations": [
224
+ {
225
+ "kind": "class",
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\";`",
227
+ "name": "ButtonState",
228
+ "members": [
229
+ {
230
+ "kind": "field",
231
+ "name": "name",
232
+ "type": {
233
+ "text": "string | undefined"
234
+ },
235
+ "description": "Defines the name of the button state.",
236
+ "default": "undefined",
237
+ "privacy": "public"
238
+ },
239
+ {
240
+ "kind": "field",
241
+ "name": "text",
242
+ "type": {
243
+ "text": "string | undefined"
244
+ },
245
+ "description": "Defines the text of the button in this state.",
246
+ "default": "undefined",
247
+ "privacy": "public"
248
+ },
249
+ {
250
+ "kind": "field",
251
+ "name": "icon",
252
+ "type": {
253
+ "text": "string | undefined"
254
+ },
255
+ "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).",
256
+ "default": "undefined",
257
+ "privacy": "public"
258
+ },
259
+ {
260
+ "kind": "field",
261
+ "name": "endIcon",
262
+ "type": {
263
+ "text": "string | undefined"
264
+ },
265
+ "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).",
266
+ "default": "undefined",
267
+ "privacy": "public"
268
+ },
269
+ {
270
+ "kind": "field",
271
+ "name": "showArrowButton",
272
+ "type": {
273
+ "text": "boolean"
274
+ },
275
+ "default": "false",
276
+ "description": "Defines if the component is in split button mode.",
277
+ "privacy": "public",
278
+ "_ui5since": "2.6.0"
279
+ }
280
+ ],
281
+ "attributes": [
282
+ {
283
+ "description": "Defines the name of the button state.",
284
+ "name": "name",
285
+ "default": "undefined",
286
+ "fieldName": "name",
287
+ "type": {
288
+ "text": "string | undefined"
289
+ }
290
+ },
291
+ {
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"
298
+ }
299
+ },
300
+ {
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"
307
+ }
308
+ },
309
+ {
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"
316
+ }
317
+ },
318
+ {
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"
325
+ }
326
+ }
327
+ ],
328
+ "superclass": {
329
+ "name": "UI5Element",
330
+ "package": "@ui5/webcomponents-base",
331
+ "module": "dist/UI5Element.js"
332
+ },
333
+ "tagName": "ui5-ai-button-state",
334
+ "customElement": true,
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.",
336
+ "_ui5since": "2.0.0",
337
+ "_ui5privacy": "public",
338
+ "_ui5abstract": true
339
+ }
340
+ ],
341
+ "exports": [
342
+ {
343
+ "kind": "js",
344
+ "name": "default",
345
+ "declaration": {
346
+ "name": "ButtonState",
347
+ "module": "dist/ButtonState.js"
348
+ }
349
+ },
350
+ {
351
+ "kind": "custom-element-definition",
352
+ "name": "ui5-ai-button-state",
353
+ "declaration": {
354
+ "name": "ButtonState",
355
+ "module": "dist/ButtonState.js"
356
+ }
357
+ }
358
+ ]
359
+ },
360
+ {
361
+ "kind": "javascript-module",
362
+ "path": "dist/Input.js",
363
+ "declarations": [
364
+ {
365
+ "kind": "class",
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",
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
+ },
377
+ {
378
+ "name": "default",
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.",
380
+ "_ui5propertyName": "suggestionItems",
381
+ "_ui5type": {
382
+ "text": "Array<IInputSuggestionItem>",
383
+ "references": [
384
+ {
385
+ "name": "IInputSuggestionItem",
386
+ "package": "@ui5/webcomponents",
387
+ "module": "dist/Input.js"
388
+ }
389
+ ]
390
+ },
391
+ "_ui5privacy": "public"
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
+ },
408
+ {
409
+ "name": "valueStateMessage",
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",
412
+ "_ui5type": {
413
+ "text": "Array<HTMLElement>"
414
+ },
415
+ "_ui5privacy": "public"
416
+ }
417
+ ],
418
+ "members": [
419
+ {
420
+ "kind": "field",
421
+ "name": "currentVersion",
422
+ "type": {
423
+ "text": "number"
424
+ },
425
+ "default": "0",
426
+ "description": "Indicates the index of the currently displayed version.",
427
+ "privacy": "public"
428
+ },
429
+ {
430
+ "kind": "field",
431
+ "name": "totalVersions",
432
+ "type": {
433
+ "text": "number"
434
+ },
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"
438
+ },
439
+ {
440
+ "kind": "field",
441
+ "name": "loading",
442
+ "type": {
443
+ "text": "boolean"
444
+ },
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"
448
+ },
449
+ {
450
+ "kind": "field",
451
+ "name": "disabled",
452
+ "type": {
453
+ "text": "boolean"
454
+ },
455
+ "default": "false",
456
+ "description": "Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.",
457
+ "privacy": "public"
458
+ },
459
+ {
460
+ "kind": "field",
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",
472
+ "type": {
473
+ "text": "boolean"
474
+ },
475
+ "default": "false",
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"
478
+ },
479
+ {
480
+ "kind": "field",
481
+ "name": "required",
482
+ "type": {
483
+ "text": "boolean"
484
+ },
485
+ "default": "false",
486
+ "description": "Defines whether the component is required.",
487
+ "privacy": "public",
488
+ "_ui5since": "1.0.0-rc.3"
489
+ },
490
+ {
491
+ "kind": "field",
492
+ "name": "noTypeahead",
493
+ "type": {
494
+ "text": "boolean"
495
+ },
496
+ "default": "false",
497
+ "description": "Defines whether the value will be autcompleted to match an item",
498
+ "privacy": "public",
499
+ "_ui5since": "1.4.0"
500
+ },
501
+ {
502
+ "kind": "field",
503
+ "name": "type",
504
+ "type": {
505
+ "text": "InputType",
506
+ "references": [
507
+ {
508
+ "name": "InputType",
509
+ "package": "@ui5/webcomponents",
510
+ "module": "dist/types/InputType.js"
511
+ }
512
+ ]
513
+ },
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.",
526
+ "privacy": "public",
527
+ "_ui5formProperty": true,
528
+ "_ui5formEvents": "change,input"
529
+ },
530
+ {
531
+ "kind": "field",
532
+ "name": "valueState",
533
+ "type": {
534
+ "text": "ValueState",
535
+ "references": [
536
+ {
537
+ "name": "ValueState",
538
+ "package": "@ui5/webcomponents-base",
539
+ "module": "dist/types/ValueState.js"
540
+ }
541
+ ]
542
+ },
543
+ "default": "\"None\"",
544
+ "description": "Defines the value state of the component.",
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"
556
+ },
557
+ {
558
+ "kind": "field",
559
+ "name": "showSuggestions",
560
+ "type": {
561
+ "text": "boolean"
562
+ },
563
+ "default": "false",
564
+ "description": "Defines whether the component should show suggestions, if such are present.",
565
+ "privacy": "public"
566
+ },
567
+ {
568
+ "kind": "field",
569
+ "name": "maxlength",
570
+ "type": {
571
+ "text": "number | undefined"
572
+ },
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"
577
+ },
578
+ {
579
+ "kind": "field",
580
+ "name": "accessibleName",
581
+ "type": {
582
+ "text": "string | undefined"
583
+ },
584
+ "description": "Defines the accessible ARIA name of the component.",
585
+ "default": "undefined",
586
+ "privacy": "public",
587
+ "_ui5since": "1.0.0-rc.15"
588
+ },
589
+ {
590
+ "kind": "field",
591
+ "name": "accessibleNameRef",
592
+ "type": {
593
+ "text": "string | undefined"
594
+ },
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"
599
+ },
600
+ {
601
+ "kind": "field",
602
+ "name": "accessibleDescription",
603
+ "type": {
604
+ "text": "string | undefined"
605
+ },
606
+ "description": "Defines the accessible description of the component.",
607
+ "default": "undefined",
608
+ "privacy": "public",
609
+ "_ui5since": "2.9.0"
610
+ },
611
+ {
612
+ "kind": "field",
613
+ "name": "accessibleDescriptionRef",
614
+ "type": {
615
+ "text": "string | undefined"
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"
621
+ },
622
+ {
623
+ "kind": "field",
624
+ "name": "showClearIcon",
625
+ "type": {
626
+ "text": "boolean"
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"
632
+ },
633
+ {
634
+ "kind": "field",
635
+ "name": "open",
636
+ "type": {
637
+ "text": "boolean"
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"
643
+ }
644
+ ],
645
+ "events": [
646
+ {
647
+ "name": "button-click",
648
+ "_ui5privacy": "public",
649
+ "type": {
650
+ "text": "CustomEvent"
651
+ },
652
+ "description": "Fired when the user selects the AI button.",
653
+ "_ui5Cancelable": true,
654
+ "_ui5allowPreventDefault": true,
655
+ "_ui5Bubbles": false
656
+ },
657
+ {
658
+ "name": "item-click",
659
+ "_ui5privacy": "public",
660
+ "type": {
661
+ "text": "CustomEvent"
662
+ },
663
+ "description": "Fired when an item from the AI actions menu is clicked.",
664
+ "_ui5Cancelable": false,
665
+ "_ui5allowPreventDefault": false,
666
+ "_ui5Bubbles": false
667
+ },
668
+ {
669
+ "name": "stop-generation",
670
+ "_ui5privacy": "public",
671
+ "type": {
672
+ "text": "CustomEvent"
673
+ },
674
+ "description": "Fired when the user selects the \"Stop\" button to stop ongoing AI text generation.",
675
+ "_ui5Cancelable": false,
676
+ "_ui5allowPreventDefault": false,
677
+ "_ui5Bubbles": false
678
+ },
679
+ {
680
+ "name": "version-change",
681
+ "_ui5privacy": "public",
682
+ "type": {
683
+ "text": "CustomEvent<InputVersionChangeEventDetail>",
684
+ "references": [
685
+ {
686
+ "name": "InputVersionChangeEventDetail",
687
+ "package": "@ui5/webcomponents-ai",
688
+ "module": "dist/Input.js"
689
+ }
690
+ ]
691
+ },
692
+ "description": "Fired when the user selects the version navigation buttons.",
693
+ "_ui5Cancelable": false,
694
+ "_ui5allowPreventDefault": false,
695
+ "_ui5Bubbles": false,
696
+ "_ui5parameters": [
697
+ {
698
+ "type": {
699
+ "text": "boolean"
700
+ },
701
+ "name": "backwards",
702
+ "_ui5privacy": "public",
703
+ "description": "Indicates if navigation is backwards (true) or forwards (false, default)"
704
+ }
705
+ ]
706
+ },
707
+ {
708
+ "name": "change",
709
+ "_ui5privacy": "public",
710
+ "type": {
711
+ "text": "CustomEvent"
712
+ },
713
+ "description": "Fired when the input operation has finished by pressing Enter or on focusout.",
714
+ "_ui5Cancelable": false,
715
+ "_ui5allowPreventDefault": false,
716
+ "_ui5Bubbles": true
717
+ },
718
+ {
719
+ "name": "input",
720
+ "_ui5privacy": "public",
721
+ "type": {
722
+ "text": "CustomEvent"
723
+ },
724
+ "description": "Fired when the value of the component changes at each keystroke,\nand when a suggestion item has been selected.",
725
+ "_ui5Cancelable": true,
726
+ "_ui5allowPreventDefault": true,
727
+ "_ui5Bubbles": true
728
+ },
729
+ {
730
+ "name": "select",
731
+ "_ui5privacy": "public",
732
+ "type": {
733
+ "text": "CustomEvent"
734
+ },
735
+ "description": "Fired when some text has been selected.",
736
+ "_ui5Cancelable": false,
737
+ "_ui5allowPreventDefault": false,
738
+ "_ui5Bubbles": true,
739
+ "_ui5since": "2.0.0"
740
+ },
741
+ {
742
+ "name": "selection-change",
743
+ "_ui5privacy": "public",
744
+ "type": {
745
+ "text": "CustomEvent<InputSelectionChangeEventDetail>",
746
+ "references": [
747
+ {
748
+ "name": "InputSelectionChangeEventDetail",
749
+ "package": "@ui5/webcomponents",
750
+ "module": "dist/Input.js"
751
+ }
752
+ ]
753
+ },
754
+ "description": "Fired when the user navigates to a suggestion item via the ARROW keys,\nas a preview, before the final selection.",
755
+ "_ui5Cancelable": false,
756
+ "_ui5allowPreventDefault": false,
757
+ "_ui5Bubbles": true,
758
+ "_ui5since": "2.0.0",
759
+ "_ui5parameters": [
760
+ {
761
+ "type": {
762
+ "text": "HTMLElement"
763
+ },
764
+ "name": "item",
765
+ "_ui5privacy": "public",
766
+ "description": "The previewed suggestion item."
767
+ }
768
+ ]
769
+ },
770
+ {
771
+ "name": "open",
772
+ "_ui5privacy": "public",
773
+ "type": {
774
+ "text": "CustomEvent"
775
+ },
776
+ "description": "Fired when the suggestions picker is open.",
777
+ "_ui5Cancelable": false,
778
+ "_ui5allowPreventDefault": false,
779
+ "_ui5Bubbles": true,
780
+ "_ui5since": "2.0.0"
781
+ },
782
+ {
783
+ "name": "close",
784
+ "_ui5privacy": "public",
785
+ "type": {
786
+ "text": "CustomEvent"
787
+ },
788
+ "description": "Fired when the suggestions picker is closed.",
789
+ "_ui5Cancelable": false,
790
+ "_ui5allowPreventDefault": false,
791
+ "_ui5Bubbles": false,
792
+ "_ui5since": "2.0.0"
793
+ }
794
+ ],
795
+ "attributes": [
796
+ {
797
+ "description": "Indicates the index of the currently displayed version.",
798
+ "name": "current-version",
799
+ "default": "0",
800
+ "fieldName": "currentVersion",
801
+ "type": {
802
+ "text": "number"
803
+ }
804
+ },
805
+ {
806
+ "description": "Indicates the total number of result versions available.\n\nWhen not set or set to 0, the versioning will be hidden.",
807
+ "name": "total-versions",
808
+ "default": "0",
809
+ "fieldName": "totalVersions",
810
+ "type": {
811
+ "text": "number"
812
+ }
813
+ },
814
+ {
815
+ "description": "Defines whether the AI Writing Assistant is currently loading.\n\nWhen `true`, indicates that an AI action is in progress.",
816
+ "name": "loading",
817
+ "default": "false",
818
+ "fieldName": "loading",
819
+ "type": {
820
+ "text": "boolean"
821
+ }
822
+ },
823
+ {
824
+ "description": "Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.",
825
+ "name": "disabled",
826
+ "default": "false",
827
+ "fieldName": "disabled",
828
+ "type": {
829
+ "text": "boolean"
830
+ }
831
+ },
832
+ {
833
+ "description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
834
+ "name": "placeholder",
835
+ "default": "undefined",
836
+ "fieldName": "placeholder",
837
+ "type": {
838
+ "text": "string | undefined"
839
+ }
840
+ },
841
+ {
842
+ "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.",
843
+ "name": "readonly",
844
+ "default": "false",
845
+ "fieldName": "readonly",
846
+ "type": {
847
+ "text": "boolean"
848
+ }
849
+ },
850
+ {
851
+ "description": "Defines whether the component is required.",
852
+ "name": "required",
853
+ "default": "false",
854
+ "fieldName": "required",
855
+ "type": {
856
+ "text": "boolean"
857
+ }
858
+ },
859
+ {
860
+ "description": "Defines whether the value will be autcompleted to match an item",
861
+ "name": "no-typeahead",
862
+ "default": "false",
863
+ "fieldName": "noTypeahead",
864
+ "type": {
865
+ "text": "boolean"
866
+ }
867
+ },
868
+ {
869
+ "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.",
870
+ "name": "type",
871
+ "default": "\"Text\"",
872
+ "fieldName": "type",
873
+ "type": {
874
+ "text": "\"Text\" | \"Email\" | \"Number\" | \"Password\" | \"Tel\" | \"URL\" | \"Search\""
875
+ }
876
+ },
877
+ {
878
+ "description": "Defines the value of the component.\n\n**Note:** The property is updated upon typing.",
879
+ "name": "value",
880
+ "default": "\"\"",
881
+ "fieldName": "value",
882
+ "type": {
883
+ "text": "string"
884
+ }
885
+ },
886
+ {
887
+ "description": "Defines the value state of the component.",
888
+ "name": "value-state",
889
+ "default": "\"None\"",
890
+ "fieldName": "valueState",
891
+ "type": {
892
+ "text": "\"None\" | \"Positive\" | \"Negative\" | \"Critical\" | \"Information\""
893
+ }
894
+ },
895
+ {
896
+ "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.",
897
+ "name": "name",
898
+ "default": "undefined",
899
+ "fieldName": "name",
900
+ "type": {
901
+ "text": "string | undefined"
902
+ }
903
+ },
904
+ {
905
+ "description": "Defines whether the component should show suggestions, if such are present.",
906
+ "name": "show-suggestions",
907
+ "default": "false",
908
+ "fieldName": "showSuggestions",
909
+ "type": {
910
+ "text": "boolean"
911
+ }
912
+ },
913
+ {
914
+ "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.",
915
+ "name": "maxlength",
916
+ "default": "undefined",
917
+ "fieldName": "maxlength",
918
+ "type": {
919
+ "text": "number | undefined"
920
+ }
921
+ },
922
+ {
923
+ "description": "Defines the accessible ARIA name of the component.",
924
+ "name": "accessible-name",
925
+ "default": "undefined",
926
+ "fieldName": "accessibleName",
927
+ "type": {
928
+ "text": "string | undefined"
929
+ }
930
+ },
931
+ {
932
+ "description": "Receives id(or many ids) of the elements that label the input.",
933
+ "name": "accessible-name-ref",
934
+ "default": "undefined",
935
+ "fieldName": "accessibleNameRef",
936
+ "type": {
937
+ "text": "string | undefined"
938
+ }
939
+ },
940
+ {
941
+ "description": "Defines the accessible description of the component.",
942
+ "name": "accessible-description",
943
+ "default": "undefined",
944
+ "fieldName": "accessibleDescription",
945
+ "type": {
946
+ "text": "string | undefined"
947
+ }
948
+ },
949
+ {
950
+ "description": "Receives id(or many ids) of the elements that describe the input.",
951
+ "name": "accessible-description-ref",
952
+ "default": "undefined",
953
+ "fieldName": "accessibleDescriptionRef",
954
+ "type": {
955
+ "text": "string | undefined"
956
+ }
957
+ },
958
+ {
959
+ "description": "Defines whether the clear icon of the input will be shown.",
960
+ "name": "show-clear-icon",
961
+ "default": "false",
962
+ "fieldName": "showClearIcon",
963
+ "type": {
964
+ "text": "boolean"
965
+ }
966
+ },
967
+ {
968
+ "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.",
969
+ "name": "open",
970
+ "default": "false",
971
+ "fieldName": "open",
972
+ "type": {
973
+ "text": "boolean"
974
+ }
975
+ }
976
+ ],
977
+ "superclass": {
978
+ "name": "Input",
979
+ "package": "@ui5/webcomponents",
980
+ "module": "dist/Input.js"
981
+ },
982
+ "tagName": "ui5-ai-input",
983
+ "customElement": true,
984
+ "_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.",
985
+ "_ui5since": "2.16.0",
986
+ "_ui5privacy": "public",
987
+ "cssParts": [
988
+ {
989
+ "description": "Used to style the root DOM element of the Input component",
990
+ "name": "root"
991
+ },
992
+ {
993
+ "description": "Used to style the native input element",
994
+ "name": "input"
995
+ },
996
+ {
997
+ "description": "Used to style the clear icon, which can be pressed to clear user input text",
998
+ "name": "clear-icon"
999
+ }
1000
+ ]
1001
+ }
1002
+ ],
1003
+ "exports": [
1004
+ {
1005
+ "kind": "js",
1006
+ "name": "default",
1007
+ "declaration": {
1008
+ "name": "Input",
1009
+ "module": "dist/Input.js"
1010
+ }
1011
+ },
1012
+ {
1013
+ "kind": "custom-element-definition",
1014
+ "name": "ui5-ai-input",
1015
+ "declaration": {
1016
+ "name": "Input",
1017
+ "module": "dist/Input.js"
1018
+ }
1019
+ }
1020
+ ]
1021
+ },
1022
+ {
1023
+ "kind": "javascript-module",
1024
+ "path": "dist/PromptInput.js",
1025
+ "declarations": [
1026
+ {
1027
+ "kind": "class",
1028
+ "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\"`",
1029
+ "name": "PromptInput",
1030
+ "slots": [
1031
+ {
1032
+ "name": "default",
1033
+ "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.",
1034
+ "_ui5propertyName": "suggestionItems",
1035
+ "_ui5type": {
1036
+ "text": "Array<IInputSuggestionItem>",
1037
+ "references": [
1038
+ {
1039
+ "name": "IInputSuggestionItem",
1040
+ "package": "@ui5/webcomponents",
1041
+ "module": "dist/Input.js"
1042
+ }
1043
+ ]
1044
+ },
1045
+ "_ui5privacy": "public"
1046
+ },
1047
+ {
1048
+ "name": "valueStateMessage",
1049
+ "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.",
1050
+ "_ui5since": "2.0.0",
1051
+ "_ui5type": {
1052
+ "text": "Array<HTMLElement>"
1053
+ },
1054
+ "_ui5privacy": "public"
1055
+ }
1056
+ ],
1057
+ "members": [
1058
+ {
1059
+ "kind": "field",
1060
+ "name": "value",
1061
+ "type": {
1062
+ "text": "string"
1063
+ },
1064
+ "default": "\"\"",
1065
+ "description": "Defines the value of the component.",
1066
+ "privacy": "public",
1067
+ "_ui5since": "2.0.0"
1068
+ },
1069
+ {
1070
+ "kind": "field",
1071
+ "name": "placeholder",
1072
+ "type": {
1073
+ "text": "string | undefined"
1074
+ },
1075
+ "description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
1076
+ "default": "undefined",
1077
+ "privacy": "public",
1078
+ "_ui5since": "2.0.0"
1079
+ },
1080
+ {
1081
+ "kind": "field",
1082
+ "name": "label",
1083
+ "type": {
1084
+ "text": "string | undefined"
1085
+ },
1086
+ "description": "Defines the label of the input field.",
1087
+ "default": "undefined",
1088
+ "privacy": "public",
1089
+ "_ui5since": "2.0.0"
1090
+ },
1091
+ {
1092
+ "kind": "field",
1093
+ "name": "showClearIcon",
1094
+ "type": {
1095
+ "text": "boolean"
1096
+ },
1097
+ "default": "false",
1098
+ "description": "Defines whether the clear icon of the input will be shown.",
1099
+ "privacy": "public",
1100
+ "_ui5since": "2.0.0"
1101
+ },
1102
+ {
1103
+ "kind": "field",
1104
+ "name": "showExceededText",
1105
+ "type": {
1106
+ "text": "boolean"
1107
+ },
1108
+ "default": "false",
1109
+ "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.",
1110
+ "privacy": "public",
1111
+ "_ui5since": "2.0.0"
1112
+ },
1113
+ {
1114
+ "kind": "field",
1115
+ "name": "disabled",
1116
+ "type": {
1117
+ "text": "boolean"
1118
+ },
1119
+ "default": "false",
1120
+ "description": "Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.",
1121
+ "privacy": "public",
1122
+ "_ui5since": "2.0.0"
1123
+ },
1124
+ {
1125
+ "kind": "field",
1126
+ "name": "readonly",
1127
+ "type": {
1128
+ "text": "boolean"
1129
+ },
1130
+ "default": "false",
1131
+ "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.",
1132
+ "privacy": "public",
1133
+ "_ui5since": "2.0.0"
1134
+ },
1135
+ {
1136
+ "kind": "field",
1137
+ "name": "maxlength",
1138
+ "type": {
1139
+ "text": "number | undefined"
1140
+ },
1141
+ "description": "Sets the maximum number of characters available in the input field.",
1142
+ "default": "undefined",
1143
+ "privacy": "public",
1144
+ "_ui5since": "2.0.0"
1145
+ },
1146
+ {
1147
+ "kind": "field",
1148
+ "name": "valueState",
1149
+ "type": {
1150
+ "text": "ValueState",
1151
+ "references": [
1152
+ {
1153
+ "name": "ValueState",
1154
+ "package": "@ui5/webcomponents-base",
1155
+ "module": "dist/types/ValueState.js"
1156
+ }
1157
+ ]
1158
+ },
1159
+ "default": "\"None\"",
1160
+ "description": "Defines the value state of the component.",
1161
+ "privacy": "public",
1162
+ "_ui5since": "2.0.0"
1163
+ },
1164
+ {
1165
+ "kind": "field",
1166
+ "name": "showSuggestions",
1167
+ "type": {
1168
+ "text": "boolean"
1169
+ },
1170
+ "default": "false",
1171
+ "description": "Defines whether the component should show suggestions, if such are present.",
1172
+ "privacy": "public"
1173
+ }
1174
+ ],
1175
+ "events": [
1176
+ {
1177
+ "name": "submit",
1178
+ "_ui5privacy": "public",
1179
+ "type": {
1180
+ "text": "CustomEvent"
1181
+ },
1182
+ "description": "Fired when the input operation has finished by pressing Enter\nor AI button is clicked.",
1183
+ "_ui5Cancelable": false,
1184
+ "_ui5allowPreventDefault": false,
1185
+ "_ui5Bubbles": true,
1186
+ "_ui5since": "2.0.0"
1187
+ },
1188
+ {
1189
+ "name": "input",
1190
+ "_ui5privacy": "public",
1191
+ "type": {
1192
+ "text": "CustomEvent"
1193
+ },
1194
+ "description": "Fired when the value of the component changes at each keystroke,\nand when a suggestion item has been selected.",
1195
+ "_ui5Cancelable": false,
1196
+ "_ui5allowPreventDefault": false,
1197
+ "_ui5Bubbles": true,
1198
+ "_ui5since": "2.0.0"
1199
+ },
1200
+ {
1201
+ "name": "change",
1202
+ "_ui5privacy": "public",
1203
+ "type": {
1204
+ "text": "CustomEvent"
1205
+ },
1206
+ "description": "Fired when the input operation has finished by pressing Enter\nor on focusout.",
1207
+ "_ui5Cancelable": false,
1208
+ "_ui5allowPreventDefault": false,
1209
+ "_ui5Bubbles": true,
1210
+ "_ui5since": "2.0.0"
1211
+ }
1212
+ ],
1213
+ "attributes": [
1214
+ {
1215
+ "description": "Defines the value of the component.",
1216
+ "name": "value",
1217
+ "default": "\"\"",
1218
+ "fieldName": "value",
1219
+ "type": {
1220
+ "text": "string"
1221
+ }
1222
+ },
1223
+ {
1224
+ "description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
1225
+ "name": "placeholder",
1226
+ "default": "undefined",
1227
+ "fieldName": "placeholder",
1228
+ "type": {
1229
+ "text": "string | undefined"
1230
+ }
1231
+ },
1232
+ {
1233
+ "description": "Defines the label of the input field.",
1234
+ "name": "label",
1235
+ "default": "undefined",
1236
+ "fieldName": "label",
1237
+ "type": {
1238
+ "text": "string | undefined"
1239
+ }
1240
+ },
1241
+ {
1242
+ "description": "Defines whether the clear icon of the input will be shown.",
1243
+ "name": "show-clear-icon",
1244
+ "default": "false",
1245
+ "fieldName": "showClearIcon",
1246
+ "type": {
1247
+ "text": "boolean"
1248
+ }
1249
+ },
1250
+ {
1251
+ "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.",
1252
+ "name": "show-exceeded-text",
1253
+ "default": "false",
1254
+ "fieldName": "showExceededText",
1255
+ "type": {
1256
+ "text": "boolean"
1257
+ }
1258
+ },
1259
+ {
1260
+ "description": "Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.",
1261
+ "name": "disabled",
1262
+ "default": "false",
1263
+ "fieldName": "disabled",
1264
+ "type": {
1265
+ "text": "boolean"
1266
+ }
1267
+ },
1268
+ {
1269
+ "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.",
1270
+ "name": "readonly",
1271
+ "default": "false",
1272
+ "fieldName": "readonly",
1273
+ "type": {
1274
+ "text": "boolean"
1275
+ }
1276
+ },
1277
+ {
1278
+ "description": "Sets the maximum number of characters available in the input field.",
1279
+ "name": "maxlength",
1280
+ "default": "undefined",
1281
+ "fieldName": "maxlength",
1282
+ "type": {
1283
+ "text": "number | undefined"
1284
+ }
1285
+ },
1286
+ {
1287
+ "description": "Defines the value state of the component.",
1288
+ "name": "value-state",
1289
+ "default": "\"None\"",
1290
+ "fieldName": "valueState",
1291
+ "type": {
1292
+ "text": "\"Positive\" | \"Negative\" | \"None\" | \"Critical\" | \"Information\""
1293
+ }
1294
+ },
1295
+ {
1296
+ "description": "Defines whether the component should show suggestions, if such are present.",
1297
+ "name": "show-suggestions",
1298
+ "default": "false",
1299
+ "fieldName": "showSuggestions",
1300
+ "type": {
1301
+ "text": "boolean"
1302
+ }
1303
+ }
1304
+ ],
1305
+ "superclass": {
1306
+ "name": "UI5Element",
1307
+ "package": "@ui5/webcomponents-base",
1308
+ "module": "dist/UI5Element.js"
1309
+ },
1310
+ "tagName": "ui5-ai-prompt-input",
1311
+ "customElement": true,
1312
+ "_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.",
1313
+ "_ui5privacy": "public"
1314
+ }
1315
+ ],
1316
+ "exports": [
1317
+ {
1318
+ "kind": "js",
1319
+ "name": "default",
1320
+ "declaration": {
1321
+ "name": "PromptInput",
1322
+ "module": "dist/PromptInput.js"
1323
+ }
1324
+ },
1325
+ {
1326
+ "kind": "custom-element-definition",
1327
+ "name": "ui5-ai-prompt-input",
1328
+ "declaration": {
1329
+ "name": "PromptInput",
1330
+ "module": "dist/PromptInput.js"
1331
+ }
1332
+ }
1333
+ ]
1334
+ },
1335
+ {
1336
+ "kind": "javascript-module",
1337
+ "path": "dist/TextArea.js",
1338
+ "declarations": [
1339
+ {
1340
+ "kind": "class",
1341
+ "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\";`",
1342
+ "name": "TextArea",
1343
+ "slots": [
1344
+ {
1345
+ "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.",
1346
+ "name": "menu",
1347
+ "_ui5privacy": "public",
1348
+ "_ui5type": {
1349
+ "text": "HTMLElement"
1350
+ }
1351
+ },
1352
+ {
1353
+ "name": "valueStateMessage",
1354
+ "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`.",
1355
+ "_ui5since": "1.0.0-rc.7",
1356
+ "_ui5type": {
1357
+ "text": "Array<HTMLElement>"
1358
+ },
1359
+ "_ui5privacy": "public"
1360
+ }
1361
+ ],
1362
+ "members": [
1363
+ {
1364
+ "kind": "field",
1365
+ "name": "loading",
1366
+ "type": {
1367
+ "text": "boolean"
1368
+ },
1369
+ "default": "false",
1370
+ "description": "Defines whether the `ui5-ai-textarea` is currently in a loading(processing) state.",
1371
+ "privacy": "public"
1372
+ },
1373
+ {
1374
+ "kind": "field",
1375
+ "name": "promptDescription",
1376
+ "type": {
1377
+ "text": "string"
1378
+ },
1379
+ "default": "\"\"",
1380
+ "description": "Defines the prompt description of the current action.",
1381
+ "privacy": "public"
1382
+ },
1383
+ {
1384
+ "kind": "field",
1385
+ "name": "currentVersion",
1386
+ "type": {
1387
+ "text": "number"
1388
+ },
1389
+ "default": "0",
1390
+ "description": "Indicates the index of the currently displayed version.",
1391
+ "privacy": "public"
1392
+ },
1393
+ {
1394
+ "kind": "field",
1395
+ "name": "totalVersions",
1396
+ "type": {
1397
+ "text": "number"
1398
+ },
1399
+ "default": "0",
1400
+ "description": "Indicates the total number of result versions available.\n\nNotes:\nVersioning is hidden if the value is `0`",
1401
+ "privacy": "public"
1402
+ },
1403
+ {
1404
+ "kind": "field",
1405
+ "name": "value",
1406
+ "type": {
1407
+ "text": "string"
1408
+ },
1409
+ "default": "\"\"",
1410
+ "description": "Defines the value of the component.",
1411
+ "privacy": "public",
1412
+ "_ui5formProperty": true,
1413
+ "_ui5formEvents": "change,input"
1414
+ },
1415
+ {
1416
+ "kind": "field",
1417
+ "name": "disabled",
1418
+ "type": {
1419
+ "text": "boolean"
1420
+ },
1421
+ "default": "false",
1422
+ "description": "Indicates whether the user can interact with the component or not.\n\n**Note:** A disabled component is completely noninteractive.",
1423
+ "privacy": "public"
1424
+ },
1425
+ {
1426
+ "kind": "field",
1427
+ "name": "readonly",
1428
+ "type": {
1429
+ "text": "boolean"
1430
+ },
1431
+ "default": "false",
1432
+ "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.",
1433
+ "privacy": "public"
1434
+ },
1435
+ {
1436
+ "kind": "field",
1437
+ "name": "required",
1438
+ "type": {
1439
+ "text": "boolean"
1440
+ },
1441
+ "default": "false",
1442
+ "description": "Defines whether the component is required.",
1443
+ "privacy": "public",
1444
+ "_ui5since": "1.0.0-rc.3"
1445
+ },
1446
+ {
1447
+ "kind": "field",
1448
+ "name": "placeholder",
1449
+ "type": {
1450
+ "text": "string | undefined"
1451
+ },
1452
+ "description": "Defines a short hint intended to aid the user with data entry when the component has no value.",
1453
+ "default": "undefined",
1454
+ "privacy": "public"
1455
+ },
1456
+ {
1457
+ "kind": "field",
1458
+ "name": "valueState",
1459
+ "type": {
1460
+ "text": "ValueState",
1461
+ "references": [
1462
+ {
1463
+ "name": "ValueState",
1464
+ "package": "@ui5/webcomponents-base",
1465
+ "module": "dist/types/ValueState.js"
1466
+ }
1467
+ ]
1468
+ },
1469
+ "default": "\"None\"",
1470
+ "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.",
1471
+ "privacy": "public",
1472
+ "_ui5since": "1.0.0-rc.7"
1473
+ },
1474
+ {
1475
+ "kind": "field",
1476
+ "name": "rows",
1477
+ "type": {
1478
+ "text": "number"
1479
+ },
1480
+ "default": "0",
1481
+ "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.",
1482
+ "privacy": "public"
1483
+ },
1484
+ {
1485
+ "kind": "field",
1486
+ "name": "maxlength",
1487
+ "type": {
1488
+ "text": "number | undefined"
1489
+ },
1490
+ "description": "Defines the maximum number of characters that the `value` can have.",
1491
+ "default": "undefined",
1492
+ "privacy": "public"
1493
+ },
1494
+ {
1495
+ "kind": "field",
1496
+ "name": "showExceededText",
1497
+ "type": {
1498
+ "text": "boolean"
1499
+ },
1500
+ "default": "false",
1501
+ "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.",
1502
+ "privacy": "public"
1503
+ },
1504
+ {
1505
+ "kind": "field",
1506
+ "name": "growing",
1507
+ "type": {
1508
+ "text": "boolean"
1509
+ },
1510
+ "default": "false",
1511
+ "description": "Enables the component to automatically grow and shrink dynamically with its content.",
1512
+ "privacy": "public"
1513
+ },
1514
+ {
1515
+ "kind": "field",
1516
+ "name": "growingMaxRows",
1517
+ "type": {
1518
+ "text": "number"
1519
+ },
1520
+ "default": "0",
1521
+ "description": "Defines the maximum number of rows that the component can grow.",
1522
+ "privacy": "public"
1523
+ },
1524
+ {
1525
+ "kind": "field",
1526
+ "name": "name",
1527
+ "type": {
1528
+ "text": "string | undefined"
1529
+ },
1530
+ "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.",
1531
+ "default": "undefined",
1532
+ "privacy": "public"
1533
+ },
1534
+ {
1535
+ "kind": "field",
1536
+ "name": "accessibleName",
1537
+ "type": {
1538
+ "text": "string | undefined"
1539
+ },
1540
+ "description": "Defines the accessible ARIA name of the component.",
1541
+ "default": "undefined",
1542
+ "privacy": "public",
1543
+ "_ui5since": "1.0.0-rc.15"
1544
+ },
1545
+ {
1546
+ "kind": "field",
1547
+ "name": "accessibleNameRef",
1548
+ "type": {
1549
+ "text": "string | undefined"
1550
+ },
1551
+ "description": "Receives id(or many ids) of the elements that label the textarea.",
1552
+ "default": "undefined",
1553
+ "privacy": "public",
1554
+ "_ui5since": "1.0.0-rc.15"
1555
+ },
1556
+ {
1557
+ "kind": "field",
1558
+ "name": "accessibleDescription",
1559
+ "type": {
1560
+ "text": "string | undefined"
1561
+ },
1562
+ "description": "Defines the accessible description of the component.",
1563
+ "default": "undefined",
1564
+ "privacy": "public",
1565
+ "_ui5since": "2.16.0"
1566
+ },
1567
+ {
1568
+ "kind": "field",
1569
+ "name": "accessibleDescriptionRef",
1570
+ "type": {
1571
+ "text": "string | undefined"
1572
+ },
1573
+ "description": "Receives id(or many ids) of the elements that describe the textarea.",
1574
+ "default": "undefined",
1575
+ "privacy": "public",
1576
+ "_ui5since": "2.16.0"
1577
+ }
1578
+ ],
1579
+ "events": [
1580
+ {
1581
+ "name": "version-change",
1582
+ "_ui5privacy": "public",
1583
+ "type": {
1584
+ "text": "CustomEvent<TextAreaVersionChangeEventDetail>",
1585
+ "references": [
1586
+ {
1587
+ "name": "TextAreaVersionChangeEventDetail",
1588
+ "package": "@ui5/webcomponents-ai",
1589
+ "module": "dist/TextArea.js"
1590
+ }
1591
+ ]
1592
+ },
1593
+ "description": "Fired when the user clicks on version navigation buttons.",
1594
+ "_ui5Cancelable": false,
1595
+ "_ui5allowPreventDefault": false,
1596
+ "_ui5Bubbles": false,
1597
+ "_ui5parameters": [
1598
+ {
1599
+ "type": {
1600
+ "text": "boolean"
1601
+ },
1602
+ "name": "backwards",
1603
+ "_ui5privacy": "public",
1604
+ "description": "Indicates if navigation is backwards (true) or forwards (false, default)."
1605
+ }
1606
+ ]
1607
+ },
1608
+ {
1609
+ "name": "stop-generation",
1610
+ "_ui5privacy": "public",
1611
+ "type": {
1612
+ "text": "CustomEvent"
1613
+ },
1614
+ "description": "Fired when the user requests to stop AI text generation.",
1615
+ "_ui5Cancelable": false,
1616
+ "_ui5allowPreventDefault": false,
1617
+ "_ui5Bubbles": false
1618
+ },
1619
+ {
1620
+ "name": "change",
1621
+ "_ui5privacy": "public",
1622
+ "type": {
1623
+ "text": "CustomEvent"
1624
+ },
1625
+ "description": "Fired when the text has changed and the focus leaves the component.",
1626
+ "_ui5Cancelable": false,
1627
+ "_ui5allowPreventDefault": false,
1628
+ "_ui5Bubbles": true
1629
+ },
1630
+ {
1631
+ "name": "input",
1632
+ "_ui5privacy": "public",
1633
+ "type": {
1634
+ "text": "CustomEvent<TextAreaInputEventDetail>",
1635
+ "references": [
1636
+ {
1637
+ "name": "TextAreaInputEventDetail",
1638
+ "package": "@ui5/webcomponents",
1639
+ "module": "dist/TextArea.js"
1640
+ }
1641
+ ]
1642
+ },
1643
+ "description": "Fired when the value of the component changes at each keystroke or when\nsomething is pasted.",
1644
+ "_ui5Cancelable": true,
1645
+ "_ui5allowPreventDefault": true,
1646
+ "_ui5Bubbles": true,
1647
+ "_ui5since": "1.0.0-rc.5",
1648
+ "_ui5parameters": [
1649
+ {
1650
+ "type": {
1651
+ "text": "boolean"
1652
+ },
1653
+ "name": "escapePressed",
1654
+ "_ui5privacy": "public",
1655
+ "description": "Indicates whether the Escape key was pressed, which triggers a revert to the previous value"
1656
+ }
1657
+ ]
1658
+ },
1659
+ {
1660
+ "name": "select",
1661
+ "_ui5privacy": "public",
1662
+ "type": {
1663
+ "text": "CustomEvent"
1664
+ },
1665
+ "description": "Fired when some text has been selected.",
1666
+ "_ui5Cancelable": false,
1667
+ "_ui5allowPreventDefault": false,
1668
+ "_ui5Bubbles": true,
1669
+ "_ui5since": "1.23.0"
1670
+ },
1671
+ {
1672
+ "name": "scroll",
1673
+ "_ui5privacy": "public",
1674
+ "type": {
1675
+ "text": "CustomEvent"
1676
+ },
1677
+ "description": "Fired when textarea is scrolled.",
1678
+ "_ui5Cancelable": false,
1679
+ "_ui5allowPreventDefault": false,
1680
+ "_ui5Bubbles": true,
1681
+ "_ui5since": "1.23.0"
1682
+ }
1683
+ ],
1684
+ "attributes": [
1685
+ {
1686
+ "description": "Defines whether the `ui5-ai-textarea` is currently in a loading(processing) state.",
1687
+ "name": "loading",
1688
+ "default": "false",
1689
+ "fieldName": "loading",
1690
+ "type": {
1691
+ "text": "boolean"
1692
+ }
1693
+ },
1694
+ {
1695
+ "description": "Defines the prompt description of the current action.",
1696
+ "name": "prompt-description",
1697
+ "default": "\"\"",
1698
+ "fieldName": "promptDescription",
1699
+ "type": {
1700
+ "text": "string"
1701
+ }
1702
+ },
1703
+ {
1704
+ "description": "Indicates the index of the currently displayed version.",
1705
+ "name": "current-version",
1706
+ "default": "0",
1707
+ "fieldName": "currentVersion",
1708
+ "type": {
1709
+ "text": "number"
1710
+ }
1711
+ },
1712
+ {
1713
+ "description": "Indicates the total number of result versions available.\n\nNotes:\nVersioning is hidden if the value is `0`",
1714
+ "name": "total-versions",
1715
+ "default": "0",
1716
+ "fieldName": "totalVersions",
1717
+ "type": {
1718
+ "text": "number"
1719
+ }
1720
+ },
1721
+ {
1722
+ "description": "Defines the value of the component.",
1723
+ "name": "value",
1724
+ "default": "\"\"",
1725
+ "fieldName": "value",
1726
+ "type": {
1727
+ "text": "string"
1728
+ }
1729
+ },
1730
+ {
1731
+ "description": "Indicates whether the user can interact with the component or not.\n\n**Note:** A disabled component is completely noninteractive.",
1732
+ "name": "disabled",
1733
+ "default": "false",
1734
+ "fieldName": "disabled",
1735
+ "type": {
1736
+ "text": "boolean"
1737
+ }
1738
+ },
1739
+ {
1740
+ "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.",
1741
+ "name": "readonly",
1742
+ "default": "false",
1743
+ "fieldName": "readonly",
1744
+ "type": {
1745
+ "text": "boolean"
1746
+ }
1747
+ },
1748
+ {
1749
+ "description": "Defines whether the component is required.",
1750
+ "name": "required",
1751
+ "default": "false",
1752
+ "fieldName": "required",
1753
+ "type": {
1754
+ "text": "boolean"
1755
+ }
1756
+ },
1757
+ {
1758
+ "description": "Defines a short hint intended to aid the user with data entry when the component has no value.",
1759
+ "name": "placeholder",
1760
+ "default": "undefined",
1761
+ "fieldName": "placeholder",
1762
+ "type": {
1763
+ "text": "string | undefined"
1764
+ }
1765
+ },
1766
+ {
1767
+ "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.",
1768
+ "name": "value-state",
1769
+ "default": "\"None\"",
1770
+ "fieldName": "valueState",
1771
+ "type": {
1772
+ "text": "\"None\" | \"Positive\" | \"Negative\" | \"Critical\" | \"Information\""
1773
+ }
1774
+ },
1775
+ {
1776
+ "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.",
1777
+ "name": "rows",
1778
+ "default": "0",
1779
+ "fieldName": "rows",
1780
+ "type": {
1781
+ "text": "number"
1782
+ }
1783
+ },
1784
+ {
1785
+ "description": "Defines the maximum number of characters that the `value` can have.",
1786
+ "name": "maxlength",
1787
+ "default": "undefined",
1788
+ "fieldName": "maxlength",
1789
+ "type": {
1790
+ "text": "number | undefined"
1791
+ }
1792
+ },
1793
+ {
1794
+ "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.",
1795
+ "name": "show-exceeded-text",
1796
+ "default": "false",
1797
+ "fieldName": "showExceededText",
1798
+ "type": {
1799
+ "text": "boolean"
1800
+ }
1801
+ },
1802
+ {
1803
+ "description": "Enables the component to automatically grow and shrink dynamically with its content.",
1804
+ "name": "growing",
1805
+ "default": "false",
1806
+ "fieldName": "growing",
1807
+ "type": {
1808
+ "text": "boolean"
1809
+ }
1810
+ },
1811
+ {
1812
+ "description": "Defines the maximum number of rows that the component can grow.",
1813
+ "name": "growing-max-rows",
1814
+ "default": "0",
1815
+ "fieldName": "growingMaxRows",
1816
+ "type": {
1817
+ "text": "number"
1818
+ }
1819
+ },
1820
+ {
1821
+ "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.",
1822
+ "name": "name",
1823
+ "default": "undefined",
1824
+ "fieldName": "name",
1825
+ "type": {
1826
+ "text": "string | undefined"
1827
+ }
1828
+ },
1829
+ {
1830
+ "description": "Defines the accessible ARIA name of the component.",
1831
+ "name": "accessible-name",
1832
+ "default": "undefined",
1833
+ "fieldName": "accessibleName",
1834
+ "type": {
1835
+ "text": "string | undefined"
1836
+ }
1837
+ },
1838
+ {
1839
+ "description": "Receives id(or many ids) of the elements that label the textarea.",
1840
+ "name": "accessible-name-ref",
1841
+ "default": "undefined",
1842
+ "fieldName": "accessibleNameRef",
1843
+ "type": {
1844
+ "text": "string | undefined"
1845
+ }
1846
+ },
1847
+ {
1848
+ "description": "Defines the accessible description of the component.",
1849
+ "name": "accessible-description",
1850
+ "default": "undefined",
1851
+ "fieldName": "accessibleDescription",
1852
+ "type": {
1853
+ "text": "string | undefined"
1854
+ }
1855
+ },
1856
+ {
1857
+ "description": "Receives id(or many ids) of the elements that describe the textarea.",
1858
+ "name": "accessible-description-ref",
1859
+ "default": "undefined",
1860
+ "fieldName": "accessibleDescriptionRef",
1861
+ "type": {
1862
+ "text": "string | undefined"
1863
+ }
1864
+ }
1865
+ ],
1866
+ "superclass": {
1867
+ "name": "TextArea",
1868
+ "package": "@ui5/webcomponents",
1869
+ "module": "dist/TextArea.js"
1870
+ },
1871
+ "tagName": "ui5-ai-textarea",
1872
+ "customElement": true,
1873
+ "_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.",
1874
+ "_ui5since": "2.16.0",
1875
+ "_ui5privacy": "public",
1876
+ "cssParts": [
1877
+ {
1878
+ "description": "Used to style the native textarea",
1879
+ "name": "textarea"
1880
+ }
1881
+ ]
1882
+ }
1883
+ ],
1884
+ "exports": [
1885
+ {
1886
+ "kind": "js",
1887
+ "name": "default",
1888
+ "declaration": {
1889
+ "name": "TextArea",
1890
+ "module": "dist/TextArea.js"
1891
+ }
1892
+ },
1893
+ {
1894
+ "kind": "custom-element-definition",
1895
+ "name": "ui5-ai-textarea",
1896
+ "declaration": {
1897
+ "name": "TextArea",
1898
+ "module": "dist/TextArea.js"
1899
+ }
1900
+ }
1901
+ ]
1902
+ },
1903
+ {
1904
+ "kind": "javascript-module",
1905
+ "path": "dist/ToolbarLabel.js",
1906
+ "declarations": [],
1907
+ "exports": [
1908
+ {
1909
+ "kind": "js",
1910
+ "name": "default",
1911
+ "declaration": {
1912
+ "name": "ToolbarLabel",
1913
+ "module": "dist/ToolbarLabel.js"
1914
+ }
1915
+ }
1916
+ ]
1917
+ },
1918
+ {
1919
+ "kind": "javascript-module",
1920
+ "path": "dist/Versioning.js",
1921
+ "declarations": [],
1922
+ "exports": [
1923
+ {
1924
+ "kind": "js",
1925
+ "name": "default",
1926
+ "declaration": {
1927
+ "name": "Versioning",
1928
+ "module": "dist/Versioning.js"
1929
+ }
1930
+ }
1931
+ ]
1932
+ },
1933
+ {
1934
+ "kind": "javascript-module",
1935
+ "path": "dist/WritingAssistant.js",
1936
+ "declarations": [],
1937
+ "exports": [
1938
+ {
1939
+ "kind": "js",
1940
+ "name": "default",
1941
+ "declaration": {
1942
+ "name": "WritingAssistant",
1943
+ "module": "dist/WritingAssistant.js"
1944
+ }
1945
+ }
1946
+ ]
1947
+ }
1948
+ ]
1949
+ }