@ui5/webcomponents-ai 0.0.0-bf8366eb6 → 0.0.0-f42e7c18c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +297 -0
- package/README.md +5 -7
- package/dist/Button.d.ts +82 -7
- package/dist/Button.js +183 -17
- package/dist/Button.js.map +1 -1
- package/dist/ButtonState.d.ts +60 -0
- package/dist/ButtonState.js +51 -0
- package/dist/ButtonState.js.map +1 -0
- package/dist/ButtonTemplate.d.ts +2 -0
- package/dist/ButtonTemplate.js +6 -0
- package/dist/ButtonTemplate.js.map +1 -0
- package/dist/PromptInput.d.ts +136 -7
- package/dist/PromptInput.js +199 -11
- package/dist/PromptInput.js.map +1 -1
- package/dist/PromptInputTemplate.d.ts +2 -0
- package/dist/PromptInputTemplate.js +12 -0
- package/dist/PromptInputTemplate.js.map +1 -0
- package/dist/bundle.esm.js +3 -2
- package/dist/bundle.esm.js.map +1 -1
- package/dist/bundle.scoped.config.d.ts +1 -0
- package/dist/bundle.scoped.config.js +3 -0
- package/dist/bundle.scoped.config.js.map +1 -0
- package/dist/bundle.scoped.esm.d.ts +2 -1
- package/dist/bundle.scoped.esm.js +2 -2
- package/dist/bundle.scoped.esm.js.map +1 -1
- package/dist/css/themes/Button.css +1 -0
- package/dist/css/themes/PromptInput.css +1 -0
- package/dist/custom-elements-internal.json +460 -28
- package/dist/custom-elements.json +396 -24
- package/dist/generated/assets/i18n/messagebundle_ar.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_bg.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ca.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_cnr.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_cs.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_cy.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_da.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_de.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_el.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_en.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_es.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_et.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_fi.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_fr.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_hi.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_hr.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_hu.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_it.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_iw.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ja.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_kk.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ko.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_lt.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_lv.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_mk.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ms.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_nl.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_no.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_pl.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_pt.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ro.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ru.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_sh.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_sk.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_sl.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_sr.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_sv.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_th.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_tr.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_uk.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_vi.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -0
- package/dist/generated/i18n/i18n-defaults.d.ts +4 -1
- package/dist/generated/i18n/i18n-defaults.js +3 -1
- package/dist/generated/i18n/i18n-defaults.js.map +1 -1
- package/dist/generated/json-imports/Themes-fetch.d.ts +1 -0
- package/dist/generated/json-imports/Themes-fetch.js +21 -0
- package/dist/generated/json-imports/Themes-fetch.js.map +1 -0
- package/dist/generated/json-imports/Themes.js.map +1 -1
- package/dist/generated/json-imports/i18n-fetch.d.ts +1 -0
- package/dist/generated/json-imports/i18n-fetch.js +118 -0
- package/dist/generated/json-imports/i18n-fetch.js.map +1 -0
- package/dist/generated/json-imports/i18n.d.ts +1 -0
- package/dist/generated/json-imports/i18n.js +117 -1
- package/dist/generated/json-imports/i18n.js.map +1 -1
- package/dist/generated/themes/Button.css.js +2 -1
- package/dist/generated/themes/Button.css.js.map +1 -1
- package/dist/generated/themes/PromptInput.css.d.ts +3 -0
- package/dist/generated/themes/PromptInput.css.js +9 -0
- package/dist/generated/themes/PromptInput.css.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/vscode.html-custom-data.json +98 -3
- package/dist/web-types.json +233 -8
- package/package.json +7 -7
- package/src/ButtonTemplate.tsx +24 -0
- package/src/PromptInputTemplate.tsx +49 -0
- package/src/i18n/messagebundle.properties +6 -0
- package/src/i18n/messagebundle_ar.properties +4 -0
- package/src/i18n/messagebundle_bg.properties +4 -0
- package/src/i18n/messagebundle_ca.properties +4 -0
- package/src/i18n/messagebundle_cnr.properties +4 -0
- package/src/i18n/messagebundle_cs.properties +4 -0
- package/src/i18n/messagebundle_cy.properties +4 -0
- package/src/i18n/messagebundle_da.properties +4 -0
- package/src/i18n/messagebundle_de.properties +4 -0
- package/src/i18n/messagebundle_el.properties +4 -0
- package/src/i18n/messagebundle_en.properties +4 -0
- package/src/i18n/messagebundle_en_GB.properties +4 -0
- package/src/i18n/messagebundle_en_US_sappsd.properties +4 -0
- package/src/i18n/messagebundle_en_US_saprigi.properties +4 -0
- package/src/i18n/messagebundle_en_US_saptrc.properties +4 -0
- package/src/i18n/messagebundle_es.properties +4 -0
- package/src/i18n/messagebundle_es_MX.properties +4 -0
- package/src/i18n/messagebundle_et.properties +4 -0
- package/src/i18n/messagebundle_fi.properties +4 -0
- package/src/i18n/messagebundle_fr.properties +4 -0
- package/src/i18n/messagebundle_fr_CA.properties +4 -0
- package/src/i18n/messagebundle_hi.properties +4 -0
- package/src/i18n/messagebundle_hr.properties +4 -0
- package/src/i18n/messagebundle_hu.properties +4 -0
- package/src/i18n/messagebundle_id.properties +4 -0
- package/src/i18n/messagebundle_it.properties +4 -0
- package/src/i18n/messagebundle_iw.properties +4 -0
- package/src/i18n/messagebundle_ja.properties +4 -0
- package/src/i18n/messagebundle_kk.properties +4 -0
- package/src/i18n/messagebundle_ko.properties +4 -0
- package/src/i18n/messagebundle_lt.properties +4 -0
- package/src/i18n/messagebundle_lv.properties +4 -0
- package/src/i18n/messagebundle_mk.properties +4 -0
- package/src/i18n/messagebundle_ms.properties +4 -0
- package/src/i18n/messagebundle_nl.properties +4 -0
- package/src/i18n/messagebundle_no.properties +4 -0
- package/src/i18n/messagebundle_pl.properties +4 -0
- package/src/i18n/messagebundle_pt.properties +4 -0
- package/src/i18n/messagebundle_pt_PT.properties +4 -0
- package/src/i18n/messagebundle_ro.properties +4 -0
- package/src/i18n/messagebundle_ru.properties +4 -0
- package/src/i18n/messagebundle_sh.properties +4 -0
- package/src/i18n/messagebundle_sk.properties +4 -0
- package/src/i18n/messagebundle_sl.properties +4 -0
- package/src/i18n/messagebundle_sr.properties +4 -0
- package/src/i18n/messagebundle_sv.properties +4 -0
- package/src/i18n/messagebundle_th.properties +4 -0
- package/src/i18n/messagebundle_tr.properties +4 -0
- package/src/i18n/messagebundle_uk.properties +4 -0
- package/src/i18n/messagebundle_vi.properties +4 -0
- package/src/i18n/messagebundle_zh_CN.properties +4 -0
- package/src/i18n/messagebundle_zh_TW.properties +4 -0
- package/src/themes/Button.css +88 -0
- package/src/themes/PromptInput.css +30 -0
- package/tsconfig.json +36 -26
- package/dist/PromtInput.d.ts +0 -4
- package/dist/PromtInput.js +0 -28
- package/dist/PromtInput.js.map +0 -1
- package/dist/generated/templates/ButtonTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ButtonTemplate.lit.js +0 -5
- package/dist/generated/templates/ButtonTemplate.lit.js.map +0 -1
- package/src/Button.hbs +0 -3
@@ -14,21 +14,72 @@
|
|
14
14
|
"declarations": [
|
15
15
|
{
|
16
16
|
"kind": "class",
|
17
|
-
"description": "### Overview\n\nThe `ui5-ai-button` component represents a button used in AI-related scenarios.\nIt enables users to trigger actions by clicking or tapping the `ui5-ai-button`, or by pressing\ncertain keyboard keys, such as Enter.\n\n### Usage\n\nFor the `ui5-ai-button` UI, you can define one or more states of the button by placing `ai-button-state` components in its default slot.\nEach state have a
|
17
|
+
"description": "### Overview\n\nThe `ui5-ai-button` component represents a button used in AI-related scenarios.\nIt enables users to trigger actions by clicking or tapping the `ui5-ai-button`, or by pressing\ncertain keyboard keys, such as Enter.\n\n### Usage\n\nFor the `ui5-ai-button` UI, you can define one or more states of the button by placing `ai-button-state` components in its default slot.\nEach state have a name that identifies it and can have text, icon and end icon defined (in any combination) depending on the state purpose.\n\nYou can choose from a set of predefined designs (the same as for regular `ui5-button` component) that allow different styling to correspond to the triggered action.\n\n`ui5-ai-button` can be activated by clicking or tapping it. The state can be changed in `click` event handler.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/Button.js\";`",
|
18
18
|
"name": "Button",
|
19
|
+
"slots": [
|
20
|
+
{
|
21
|
+
"name": "default",
|
22
|
+
"description": "Defines the available states of the component.\n**Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use `ui5-ai-button-state` components in order to preserve the intended design."
|
23
|
+
}
|
24
|
+
],
|
19
25
|
"members": [
|
26
|
+
{
|
27
|
+
"kind": "field",
|
28
|
+
"name": "design",
|
29
|
+
"type": {
|
30
|
+
"text": "ButtonDesign | undefined",
|
31
|
+
"references": [
|
32
|
+
{
|
33
|
+
"name": "ButtonDesign",
|
34
|
+
"package": "@ui5/webcomponents",
|
35
|
+
"module": "@ui5/webcomponents"
|
36
|
+
}
|
37
|
+
]
|
38
|
+
},
|
39
|
+
"default": "\"Default\"",
|
40
|
+
"description": "Defines the component design.",
|
41
|
+
"privacy": "public"
|
42
|
+
},
|
20
43
|
{
|
21
44
|
"kind": "field",
|
22
45
|
"name": "disabled",
|
23
46
|
"type": {
|
24
47
|
"text": "boolean"
|
25
48
|
},
|
26
|
-
"description": "Defines whether the component is disabled.\nA disabled component can't be pressed or\nfocused, and it is not in the tab chain.",
|
27
49
|
"default": "false",
|
50
|
+
"description": "Defines whether the component is disabled.\nA disabled component can't be pressed or\nfocused, and it is not in the tab chain.",
|
51
|
+
"privacy": "public"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"kind": "field",
|
55
|
+
"name": "state",
|
56
|
+
"type": {
|
57
|
+
"text": "string | undefined"
|
58
|
+
},
|
59
|
+
"description": "Defines the current state of the component.",
|
60
|
+
"default": "undefined",
|
28
61
|
"privacy": "public"
|
29
62
|
}
|
30
63
|
],
|
64
|
+
"events": [
|
65
|
+
{
|
66
|
+
"name": "click",
|
67
|
+
"type": {
|
68
|
+
"text": "CustomEvent"
|
69
|
+
},
|
70
|
+
"description": "Fired when the component is activated either with a\nmouse/tap or by using the Enter or Space key."
|
71
|
+
}
|
72
|
+
],
|
31
73
|
"attributes": [
|
74
|
+
{
|
75
|
+
"description": "Defines the component design.",
|
76
|
+
"name": "design",
|
77
|
+
"default": "\"Default\"",
|
78
|
+
"fieldName": "design",
|
79
|
+
"type": {
|
80
|
+
"text": "\"Default\" | \"Positive\" | \"Negative\" | \"Transparent\" | \"Emphasized\" | \"Attention\" | undefined"
|
81
|
+
}
|
82
|
+
},
|
32
83
|
{
|
33
84
|
"description": "Defines whether the component is disabled.\nA disabled component can't be pressed or\nfocused, and it is not in the tab chain.",
|
34
85
|
"name": "disabled",
|
@@ -37,12 +88,21 @@
|
|
37
88
|
"type": {
|
38
89
|
"text": "boolean"
|
39
90
|
}
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"description": "Defines the current state of the component.",
|
94
|
+
"name": "state",
|
95
|
+
"default": "undefined",
|
96
|
+
"fieldName": "state",
|
97
|
+
"type": {
|
98
|
+
"text": "string | undefined"
|
99
|
+
}
|
40
100
|
}
|
41
101
|
],
|
42
102
|
"superclass": {
|
43
103
|
"name": "UI5Element",
|
44
104
|
"package": "@ui5/webcomponents-base",
|
45
|
-
"module": "
|
105
|
+
"module": "@ui5/webcomponents-base"
|
46
106
|
},
|
47
107
|
"tagName": "ui5-ai-button",
|
48
108
|
"customElement": true
|
@@ -67,14 +127,140 @@
|
|
67
127
|
}
|
68
128
|
]
|
69
129
|
},
|
130
|
+
{
|
131
|
+
"kind": "javascript-module",
|
132
|
+
"path": "dist/ButtonState.js",
|
133
|
+
"declarations": [
|
134
|
+
{
|
135
|
+
"kind": "class",
|
136
|
+
"description": "### Overview\n\n`ui5-ai-button-state` is the item to use for defining states of `ui5-ai-button` components.\n\n### Usage\n\n`ui5-si-button-state` is an abstract element, representing a state of `ui5-ai-button`. It is meant to be used in the `states` slot\nof `ui5-ai-button` and should be used as standalone component.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/AiButtonState.js\";`",
|
137
|
+
"name": "ButtonState",
|
138
|
+
"members": [
|
139
|
+
{
|
140
|
+
"kind": "field",
|
141
|
+
"name": "name",
|
142
|
+
"type": {
|
143
|
+
"text": "string | undefined"
|
144
|
+
},
|
145
|
+
"description": "Defines the name of the button state.",
|
146
|
+
"default": "undefined",
|
147
|
+
"privacy": "public"
|
148
|
+
},
|
149
|
+
{
|
150
|
+
"kind": "field",
|
151
|
+
"name": "text",
|
152
|
+
"type": {
|
153
|
+
"text": "string | undefined"
|
154
|
+
},
|
155
|
+
"description": "Defines the text of the button in this state.",
|
156
|
+
"default": "undefined",
|
157
|
+
"privacy": "public"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"kind": "field",
|
161
|
+
"name": "icon",
|
162
|
+
"type": {
|
163
|
+
"text": "string | undefined"
|
164
|
+
},
|
165
|
+
"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).",
|
166
|
+
"default": "undefined",
|
167
|
+
"privacy": "public"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"kind": "field",
|
171
|
+
"name": "endIcon",
|
172
|
+
"type": {
|
173
|
+
"text": "string | undefined"
|
174
|
+
},
|
175
|
+
"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).",
|
176
|
+
"default": "undefined",
|
177
|
+
"privacy": "public"
|
178
|
+
}
|
179
|
+
],
|
180
|
+
"attributes": [
|
181
|
+
{
|
182
|
+
"description": "Defines the name of the button state.",
|
183
|
+
"name": "name",
|
184
|
+
"default": "undefined",
|
185
|
+
"fieldName": "name",
|
186
|
+
"type": {
|
187
|
+
"text": "string | undefined"
|
188
|
+
}
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"description": "Defines the text of the button in this state.",
|
192
|
+
"name": "text",
|
193
|
+
"default": "undefined",
|
194
|
+
"fieldName": "text",
|
195
|
+
"type": {
|
196
|
+
"text": "string | undefined"
|
197
|
+
}
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"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).",
|
201
|
+
"name": "icon",
|
202
|
+
"default": "undefined",
|
203
|
+
"fieldName": "icon",
|
204
|
+
"type": {
|
205
|
+
"text": "string | undefined"
|
206
|
+
}
|
207
|
+
},
|
208
|
+
{
|
209
|
+
"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).",
|
210
|
+
"name": "end-icon",
|
211
|
+
"default": "undefined",
|
212
|
+
"fieldName": "endIcon",
|
213
|
+
"type": {
|
214
|
+
"text": "string | undefined"
|
215
|
+
}
|
216
|
+
}
|
217
|
+
],
|
218
|
+
"superclass": {
|
219
|
+
"name": "UI5Element",
|
220
|
+
"package": "@ui5/webcomponents-base",
|
221
|
+
"module": "@ui5/webcomponents-base"
|
222
|
+
},
|
223
|
+
"tagName": "ui5-ai-button-state",
|
224
|
+
"customElement": true
|
225
|
+
}
|
226
|
+
],
|
227
|
+
"exports": [
|
228
|
+
{
|
229
|
+
"kind": "js",
|
230
|
+
"name": "default",
|
231
|
+
"declaration": {
|
232
|
+
"name": "ButtonState",
|
233
|
+
"module": "dist/ButtonState.js"
|
234
|
+
}
|
235
|
+
},
|
236
|
+
{
|
237
|
+
"kind": "custom-element-definition",
|
238
|
+
"name": "ui5-ai-button-state",
|
239
|
+
"declaration": {
|
240
|
+
"name": "ButtonState",
|
241
|
+
"module": "dist/ButtonState.js"
|
242
|
+
}
|
243
|
+
}
|
244
|
+
]
|
245
|
+
},
|
70
246
|
{
|
71
247
|
"kind": "javascript-module",
|
72
248
|
"path": "dist/PromptInput.js",
|
73
249
|
"declarations": [
|
74
250
|
{
|
75
251
|
"kind": "class",
|
76
|
-
"description": "### Overview\n\nThe
|
252
|
+
"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",
|
77
253
|
"name": "PromptInput",
|
254
|
+
"slots": [
|
255
|
+
{
|
256
|
+
"name": "default",
|
257
|
+
"description": "Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items.\n\n**Note:** Importing the Input Suggestions Support feature:\n\n`import \"@ui5/webcomponents/dist/features/InputSuggestions.js\";`\n\nautomatically imports the `<ui5-suggestion-item>` and `<ui5-suggestion-item-group>` for your convenience."
|
258
|
+
},
|
259
|
+
{
|
260
|
+
"name": "valueStateMessage",
|
261
|
+
"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."
|
262
|
+
}
|
263
|
+
],
|
78
264
|
"members": [
|
79
265
|
{
|
80
266
|
"kind": "field",
|
@@ -82,26 +268,227 @@
|
|
82
268
|
"type": {
|
83
269
|
"text": "string"
|
84
270
|
},
|
85
|
-
"
|
86
|
-
"
|
87
|
-
"
|
271
|
+
"default": "\"\"",
|
272
|
+
"description": "Defines the value of the component.",
|
273
|
+
"privacy": "public"
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"kind": "field",
|
277
|
+
"name": "placeholder",
|
278
|
+
"type": {
|
279
|
+
"text": "string | undefined"
|
280
|
+
},
|
281
|
+
"description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
|
282
|
+
"default": "undefined",
|
283
|
+
"privacy": "public"
|
284
|
+
},
|
285
|
+
{
|
286
|
+
"kind": "field",
|
287
|
+
"name": "label",
|
288
|
+
"type": {
|
289
|
+
"text": "string | undefined"
|
290
|
+
},
|
291
|
+
"description": "Defines the label of the input field.",
|
292
|
+
"default": "undefined",
|
293
|
+
"privacy": "public"
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"kind": "field",
|
297
|
+
"name": "showClearIcon",
|
298
|
+
"type": {
|
299
|
+
"text": "boolean"
|
300
|
+
},
|
301
|
+
"default": "false",
|
302
|
+
"description": "Defines whether the clear icon of the input will be shown.",
|
303
|
+
"privacy": "public"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"kind": "field",
|
307
|
+
"name": "showExceededText",
|
308
|
+
"type": {
|
309
|
+
"text": "boolean"
|
310
|
+
},
|
311
|
+
"default": "false",
|
312
|
+
"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.",
|
313
|
+
"privacy": "public"
|
314
|
+
},
|
315
|
+
{
|
316
|
+
"kind": "field",
|
317
|
+
"name": "disabled",
|
318
|
+
"type": {
|
319
|
+
"text": "boolean"
|
320
|
+
},
|
321
|
+
"default": "false",
|
322
|
+
"description": "Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.",
|
323
|
+
"privacy": "public"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"kind": "field",
|
327
|
+
"name": "readonly",
|
328
|
+
"type": {
|
329
|
+
"text": "boolean"
|
330
|
+
},
|
331
|
+
"default": "false",
|
332
|
+
"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.",
|
333
|
+
"privacy": "public"
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"kind": "field",
|
337
|
+
"name": "maxlength",
|
338
|
+
"type": {
|
339
|
+
"text": "number | undefined"
|
340
|
+
},
|
341
|
+
"description": "Sets the maximum number of characters available in the input field.",
|
342
|
+
"default": "undefined",
|
343
|
+
"privacy": "public"
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"kind": "field",
|
347
|
+
"name": "valueState",
|
348
|
+
"type": {
|
349
|
+
"text": "ValueState",
|
350
|
+
"references": [
|
351
|
+
{
|
352
|
+
"name": "ValueState",
|
353
|
+
"package": "@ui5/webcomponents-base",
|
354
|
+
"module": "@ui5/webcomponents-base"
|
355
|
+
}
|
356
|
+
]
|
357
|
+
},
|
358
|
+
"default": "\"None\"",
|
359
|
+
"description": "Defines the value state of the component.",
|
360
|
+
"privacy": "public"
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"kind": "field",
|
364
|
+
"name": "showSuggestions",
|
365
|
+
"type": {
|
366
|
+
"text": "boolean"
|
367
|
+
},
|
368
|
+
"default": "false",
|
369
|
+
"description": "Defines whether the component should show suggestions, if such are present.\n\n**Note:** You need to import the `InputSuggestions` module\nfrom `\"@ui5/webcomponents/dist/features/InputSuggestions.js\"` to enable this functionality.",
|
370
|
+
"privacy": "public"
|
371
|
+
}
|
372
|
+
],
|
373
|
+
"events": [
|
374
|
+
{
|
375
|
+
"name": "submit",
|
376
|
+
"type": {
|
377
|
+
"text": "CustomEvent"
|
378
|
+
},
|
379
|
+
"description": "Fired when the input operation has finished by pressing Enter\nor AI button is clicked."
|
380
|
+
},
|
381
|
+
{
|
382
|
+
"name": "input",
|
383
|
+
"type": {
|
384
|
+
"text": "CustomEvent"
|
385
|
+
},
|
386
|
+
"description": "Fired when the value of the component changes at each keystroke,\nand when a suggestion item has been selected."
|
387
|
+
},
|
388
|
+
{
|
389
|
+
"name": "change",
|
390
|
+
"type": {
|
391
|
+
"text": "CustomEvent"
|
392
|
+
},
|
393
|
+
"description": "Fired when the input operation has finished by pressing Enter\nor on focusout."
|
88
394
|
}
|
89
395
|
],
|
90
396
|
"attributes": [
|
91
397
|
{
|
92
|
-
"description": "Defines the value of the
|
398
|
+
"description": "Defines the value of the component.",
|
93
399
|
"name": "value",
|
94
400
|
"default": "\"\"",
|
95
401
|
"fieldName": "value",
|
96
402
|
"type": {
|
97
403
|
"text": "string"
|
98
404
|
}
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
|
408
|
+
"name": "placeholder",
|
409
|
+
"default": "undefined",
|
410
|
+
"fieldName": "placeholder",
|
411
|
+
"type": {
|
412
|
+
"text": "string | undefined"
|
413
|
+
}
|
414
|
+
},
|
415
|
+
{
|
416
|
+
"description": "Defines the label of the input field.",
|
417
|
+
"name": "label",
|
418
|
+
"default": "undefined",
|
419
|
+
"fieldName": "label",
|
420
|
+
"type": {
|
421
|
+
"text": "string | undefined"
|
422
|
+
}
|
423
|
+
},
|
424
|
+
{
|
425
|
+
"description": "Defines whether the clear icon of the input will be shown.",
|
426
|
+
"name": "show-clear-icon",
|
427
|
+
"default": "false",
|
428
|
+
"fieldName": "showClearIcon",
|
429
|
+
"type": {
|
430
|
+
"text": "boolean"
|
431
|
+
}
|
432
|
+
},
|
433
|
+
{
|
434
|
+
"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.",
|
435
|
+
"name": "show-exceeded-text",
|
436
|
+
"default": "false",
|
437
|
+
"fieldName": "showExceededText",
|
438
|
+
"type": {
|
439
|
+
"text": "boolean"
|
440
|
+
}
|
441
|
+
},
|
442
|
+
{
|
443
|
+
"description": "Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.",
|
444
|
+
"name": "disabled",
|
445
|
+
"default": "false",
|
446
|
+
"fieldName": "disabled",
|
447
|
+
"type": {
|
448
|
+
"text": "boolean"
|
449
|
+
}
|
450
|
+
},
|
451
|
+
{
|
452
|
+
"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.",
|
453
|
+
"name": "readonly",
|
454
|
+
"default": "false",
|
455
|
+
"fieldName": "readonly",
|
456
|
+
"type": {
|
457
|
+
"text": "boolean"
|
458
|
+
}
|
459
|
+
},
|
460
|
+
{
|
461
|
+
"description": "Sets the maximum number of characters available in the input field.",
|
462
|
+
"name": "maxlength",
|
463
|
+
"default": "undefined",
|
464
|
+
"fieldName": "maxlength",
|
465
|
+
"type": {
|
466
|
+
"text": "number | undefined"
|
467
|
+
}
|
468
|
+
},
|
469
|
+
{
|
470
|
+
"description": "Defines the value state of the component.",
|
471
|
+
"name": "value-state",
|
472
|
+
"default": "\"None\"",
|
473
|
+
"fieldName": "valueState",
|
474
|
+
"type": {
|
475
|
+
"text": "\"Positive\" | \"Negative\" | \"None\" | \"Critical\" | \"Information\""
|
476
|
+
}
|
477
|
+
},
|
478
|
+
{
|
479
|
+
"description": "Defines whether the component should show suggestions, if such are present.\n\n**Note:** You need to import the `InputSuggestions` module\nfrom `\"@ui5/webcomponents/dist/features/InputSuggestions.js\"` to enable this functionality.",
|
480
|
+
"name": "show-suggestions",
|
481
|
+
"default": "false",
|
482
|
+
"fieldName": "showSuggestions",
|
483
|
+
"type": {
|
484
|
+
"text": "boolean"
|
485
|
+
}
|
99
486
|
}
|
100
487
|
],
|
101
488
|
"superclass": {
|
102
489
|
"name": "UI5Element",
|
103
490
|
"package": "@ui5/webcomponents-base",
|
104
|
-
"module": "
|
491
|
+
"module": "@ui5/webcomponents-base"
|
105
492
|
},
|
106
493
|
"tagName": "ui5-ai-prompt-input",
|
107
494
|
"customElement": true
|
@@ -125,21 +512,6 @@
|
|
125
512
|
}
|
126
513
|
}
|
127
514
|
]
|
128
|
-
},
|
129
|
-
{
|
130
|
-
"kind": "javascript-module",
|
131
|
-
"path": "dist/PromtInput.js",
|
132
|
-
"declarations": [],
|
133
|
-
"exports": [
|
134
|
-
{
|
135
|
-
"kind": "js",
|
136
|
-
"name": "default",
|
137
|
-
"declaration": {
|
138
|
-
"name": "PromptInput",
|
139
|
-
"module": "dist/PromtInput.js"
|
140
|
-
}
|
141
|
-
}
|
142
|
-
]
|
143
515
|
}
|
144
516
|
]
|
145
517
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"متبق {0} من الحروف","PROMPT_INPUT_CHARACTERS_EXCEEDED":"تم تجاوز الحد بمقدار {0} من الحروف"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"Остават {0} символа","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} символа над ограничението"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} caràcters restants","PROMPT_INPUT_CHARACTERS_EXCEEDED":"S''han excedit {0} caràcters"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} znakova preostaje","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} znakova prekoračeno"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} znaky zbývají","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} znaky přes limit"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} nod ar ôl","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} nod dros yr uchafswm"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} resterende tegn","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} tegn over grænsen"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} Zeichen verbleibend","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} Zeichen über Limit"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} εναπομείναντες χαρακτήρες","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} Πλεονάζοντες χαρακτήρες"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} characters remaining","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} characters over limit"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} characters remaining","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} characters over limit"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"[[[{0} ċĥąŗąċţēŗş ŗēɱąįŋįŋğ]]]","PROMPT_INPUT_CHARACTERS_EXCEEDED":"[[[{0} ċĥąŗąċţēŗş ŏʋēŗ ĺįɱįţ]]]"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} characters remaining","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} characters over limit"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"ApfX3Ybp+LpUZGYmQzr70w_{0} characters remaining","PROMPT_INPUT_CHARACTERS_EXCEEDED":"j5kNPkXE7zFJCcHSJi7nbg_{0} characters over limit"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} caracteres restantes","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} caracteres excedidos"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"Quedan {0} caracteres","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} caracteres por encima del límite"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} märki veel","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} märki üle limiidi"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} merkkiä jäljellä","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} merkkiä yli rajan"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} caractères restants","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} caractères en trop"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} caractères restants","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} caractères en trop"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} शेष वर्ण","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} सीमा से अधिक वर्ण"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} znakova preostalo","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} znakova prekoračeno"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} karaktert írhat még","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} karakterrel túllépve"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} caratteri rimanenti","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} caratteri oltre il limite"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} תווים נותרו","PROMPT_INPUT_CHARACTERS_EXCEEDED":"חריגה של {0} תווים"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"残り {0} 文字です","PROMPT_INPUT_CHARACTERS_EXCEEDED":"上限を {0} 文字超過しています"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} таңба қалды","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} таңбаға асып кетті"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0}자 남음","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0}자 한도 초과"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"Liko simbolių: {0}","PROMPT_INPUT_CHARACTERS_EXCEEDED":"Viršytas simbolių skaičius: {0}"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"Atlikušas {0} rakstzīmes","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} rakstzīmes pārsniedz limitu"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} преостанати знаци","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} знаци над границата"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} aksara yang tinggal","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} aksara melebihi had"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} tekens over","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} tekens boven limiet"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} tegn gjenstår","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} tegn over grensen"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"Pozostała następująca liczba znaków: {0}","PROMPT_INPUT_CHARACTERS_EXCEEDED":"Przekroczono o następującą liczbę znaków: {0}"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} caracteres restantes","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} caracteres acima do limite"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} carateres restantes","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} carateres acima do limite"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} caractere rămase","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} caractere peste limită"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"Осталось символов: {0}","PROMPT_INPUT_CHARACTERS_EXCEEDED":"Символов свыше лимита: {0}"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} znakova preostaje","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} znakova prekoračeno"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"PROMPT_INPUT_CHARACTERS_LEFT":"{0} znakov zostáva","PROMPT_INPUT_CHARACTERS_EXCEEDED":"{0} znakov nad limit"}
|