@ui5/webcomponents-ai 0.0.0-093de5dd1 → 0.0.0-10f3c0dc7
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 +213 -1
- package/dist/.tsbuildinfo +1 -1
- package/dist/Button.d.ts +2 -1
- package/dist/Button.js +1 -1
- package/dist/Button.js.map +1 -1
- package/dist/Input.d.ts +8 -8
- package/dist/Input.js +5 -3
- package/dist/Input.js.map +1 -1
- package/dist/InputTemplate.js +1 -1
- package/dist/InputTemplate.js.map +1 -1
- package/dist/PromptInput.d.ts +3 -2
- package/dist/PromptInput.js +1 -1
- package/dist/PromptInput.js.map +1 -1
- package/dist/PromptInputTemplate.js +1 -1
- package/dist/PromptInputTemplate.js.map +1 -1
- package/dist/TextArea.d.ts +2 -1
- package/dist/TextArea.js +1 -1
- package/dist/TextArea.js.map +1 -1
- package/dist/ToolbarLabel.d.ts +1 -1
- package/dist/ToolbarLabel.js +1 -1
- package/dist/ToolbarLabel.js.map +1 -1
- package/dist/css/themes/Button.css +1 -1
- package/dist/css/themes/Input.css +1 -1
- package/dist/css/themes/TextArea.css +1 -1
- package/dist/css/themes/WritingAssistant.css +1 -1
- package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -0
- package/dist/css/themes/sap_horizon_auto/parameters-bundle.css +1 -0
- package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -0
- package/dist/css/themes/sap_horizon_hc_auto/parameters-bundle.css +1 -0
- package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -0
- package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -0
- package/dist/custom-elements-internal.json +995 -560
- package/dist/custom-elements.json +875 -508
- package/dist/generated/assets/i18n/messagebundle_ar.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_bg.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ca.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_cnr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_cs.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_cy.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_da.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_el.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_es.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_et.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hu.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_id.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_it.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_iw.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ja.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_kk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ko.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_lt.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_lv.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_mk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ms.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_nl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_no.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pt.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ro.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ru.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sh.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sv.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_th.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_tr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_uk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_vi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -1
- package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_auto/parameters-bundle.css.json +1 -0
- package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hc_auto/parameters-bundle.css.json +1 -0
- package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
- package/dist/generated/json-imports/Themes-fetch.js +4 -2
- package/dist/generated/json-imports/Themes-fetch.js.map +1 -1
- package/dist/generated/json-imports/Themes-node.js +4 -2
- package/dist/generated/json-imports/Themes-node.js.map +1 -1
- package/dist/generated/json-imports/Themes.js +4 -2
- package/dist/generated/json-imports/Themes.js.map +1 -1
- package/dist/generated/themes/Button.css.d.ts +1 -1
- package/dist/generated/themes/Button.css.js +2 -2
- package/dist/generated/themes/Button.css.js.map +1 -1
- package/dist/generated/themes/Input.css.d.ts +1 -1
- package/dist/generated/themes/Input.css.js +2 -2
- package/dist/generated/themes/Input.css.js.map +1 -1
- package/dist/generated/themes/PromptInput.css.js +1 -1
- package/dist/generated/themes/PromptInput.css.js.map +1 -1
- package/dist/generated/themes/TextArea.css.d.ts +1 -1
- package/dist/generated/themes/TextArea.css.js +2 -2
- package/dist/generated/themes/TextArea.css.js.map +1 -1
- package/dist/generated/themes/Versioning.css.js +1 -1
- package/dist/generated/themes/Versioning.css.js.map +1 -1
- package/dist/generated/themes/WritingAssistant.css.d.ts +1 -1
- package/dist/generated/themes/WritingAssistant.css.js +2 -2
- package/dist/generated/themes/WritingAssistant.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_auto/parameters-bundle.css.d.ts +2 -0
- package/dist/generated/themes/sap_horizon_auto/parameters-bundle.css.js +2 -0
- package/dist/generated/themes/sap_horizon_auto/parameters-bundle.css.js.map +1 -0
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hc_auto/parameters-bundle.css.d.ts +2 -0
- package/dist/generated/themes/sap_horizon_hc_auto/parameters-bundle.css.js +2 -0
- package/dist/generated/themes/sap_horizon_hc_auto/parameters-bundle.css.js.map +1 -0
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
- package/dist/vscode.html-custom-data.json +97 -46
- package/dist/web-types.json +262 -127
- package/package-scripts.cjs +2 -0
- package/package.json +8 -8
- package/src/InputTemplate.tsx +2 -2
- package/src/PromptInputTemplate.tsx +1 -0
- package/src/i18n/messagebundle_ar.properties +2 -2
- package/src/i18n/messagebundle_bg.properties +2 -2
- package/src/i18n/messagebundle_ca.properties +2 -2
- package/src/i18n/messagebundle_cnr.properties +2 -2
- package/src/i18n/messagebundle_cs.properties +2 -2
- package/src/i18n/messagebundle_cy.properties +2 -2
- package/src/i18n/messagebundle_da.properties +2 -2
- package/src/i18n/messagebundle_de.properties +2 -2
- package/src/i18n/messagebundle_el.properties +2 -2
- package/src/i18n/messagebundle_en.properties +1 -16
- package/src/i18n/messagebundle_en_GB.properties +2 -2
- package/src/i18n/messagebundle_es.properties +2 -2
- package/src/i18n/messagebundle_es_MX.properties +7 -7
- package/src/i18n/messagebundle_et.properties +2 -2
- package/src/i18n/messagebundle_fi.properties +2 -2
- package/src/i18n/messagebundle_fr.properties +2 -2
- package/src/i18n/messagebundle_fr_CA.properties +2 -2
- package/src/i18n/messagebundle_hi.properties +2 -2
- package/src/i18n/messagebundle_hr.properties +2 -2
- package/src/i18n/messagebundle_hu.properties +2 -2
- package/src/i18n/messagebundle_id.properties +2 -2
- package/src/i18n/messagebundle_it.properties +2 -2
- package/src/i18n/messagebundle_iw.properties +2 -2
- package/src/i18n/messagebundle_ja.properties +2 -2
- package/src/i18n/messagebundle_kk.properties +2 -2
- package/src/i18n/messagebundle_ko.properties +2 -2
- package/src/i18n/messagebundle_lt.properties +2 -2
- package/src/i18n/messagebundle_lv.properties +2 -2
- package/src/i18n/messagebundle_mk.properties +2 -2
- package/src/i18n/messagebundle_ms.properties +2 -2
- package/src/i18n/messagebundle_nl.properties +3 -3
- package/src/i18n/messagebundle_no.properties +2 -2
- package/src/i18n/messagebundle_pl.properties +2 -2
- package/src/i18n/messagebundle_pt.properties +2 -2
- package/src/i18n/messagebundle_pt_PT.properties +2 -2
- package/src/i18n/messagebundle_ro.properties +2 -2
- package/src/i18n/messagebundle_ru.properties +2 -2
- package/src/i18n/messagebundle_sh.properties +2 -2
- package/src/i18n/messagebundle_sk.properties +2 -2
- package/src/i18n/messagebundle_sl.properties +2 -2
- package/src/i18n/messagebundle_sr.properties +2 -2
- package/src/i18n/messagebundle_sv.properties +2 -2
- package/src/i18n/messagebundle_th.properties +2 -2
- package/src/i18n/messagebundle_tr.properties +2 -2
- package/src/i18n/messagebundle_uk.properties +2 -2
- package/src/i18n/messagebundle_vi.properties +2 -2
- package/src/i18n/messagebundle_zh_CN.properties +2 -2
- package/src/i18n/messagebundle_zh_TW.properties +2 -2
- package/src/themes/base/Button-parameters.css +1 -1
- package/src/themes/sap_horizon_auto/parameters-bundle.css +3 -0
- package/src/themes/sap_horizon_hc_auto/parameters-bundle.css +3 -0
|
@@ -47,6 +47,36 @@
|
|
|
47
47
|
}
|
|
48
48
|
],
|
|
49
49
|
"members": [
|
|
50
|
+
{
|
|
51
|
+
"kind": "field",
|
|
52
|
+
"name": "accessibilityAttributes",
|
|
53
|
+
"type": {
|
|
54
|
+
"text": "AIButtonAccessibilityAttributes",
|
|
55
|
+
"references": [
|
|
56
|
+
{
|
|
57
|
+
"name": "AIButtonAccessibilityAttributes",
|
|
58
|
+
"package": "@ui5/webcomponents-ai",
|
|
59
|
+
"module": "dist/Button.js"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"default": "{}",
|
|
64
|
+
"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`.",
|
|
65
|
+
"privacy": "public",
|
|
66
|
+
"_ui5since": "2.6.0"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"kind": "field",
|
|
70
|
+
"name": "arrowButtonPressed",
|
|
71
|
+
"type": {
|
|
72
|
+
"text": "boolean"
|
|
73
|
+
},
|
|
74
|
+
"default": "false",
|
|
75
|
+
"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.",
|
|
76
|
+
"privacy": "public",
|
|
77
|
+
"_ui5since": "2.6.0",
|
|
78
|
+
"_ui5noAttribute": true
|
|
79
|
+
},
|
|
50
80
|
{
|
|
51
81
|
"kind": "field",
|
|
52
82
|
"name": "design",
|
|
@@ -83,63 +113,51 @@
|
|
|
83
113
|
"description": "Defines the current state of the component.",
|
|
84
114
|
"default": "undefined",
|
|
85
115
|
"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
116
|
}
|
|
117
117
|
],
|
|
118
118
|
"events": [
|
|
119
119
|
{
|
|
120
|
-
"name": "click",
|
|
120
|
+
"name": "arrow-button-click",
|
|
121
121
|
"_ui5privacy": "public",
|
|
122
122
|
"type": {
|
|
123
123
|
"text": "CustomEvent"
|
|
124
124
|
},
|
|
125
|
-
"description": "Fired when the component is activated either
|
|
125
|
+
"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.",
|
|
126
126
|
"_ui5Cancelable": false,
|
|
127
127
|
"_ui5allowPreventDefault": false,
|
|
128
128
|
"_ui5Bubbles": true
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
|
-
"name": "
|
|
131
|
+
"name": "click",
|
|
132
132
|
"_ui5privacy": "public",
|
|
133
133
|
"type": {
|
|
134
134
|
"text": "CustomEvent"
|
|
135
135
|
},
|
|
136
|
-
"description": "Fired when the component is
|
|
136
|
+
"description": "Fired when the component is activated either with a\nmouse/tap or by using the Enter or Space key.",
|
|
137
137
|
"_ui5Cancelable": false,
|
|
138
138
|
"_ui5allowPreventDefault": false,
|
|
139
139
|
"_ui5Bubbles": true
|
|
140
140
|
}
|
|
141
141
|
],
|
|
142
142
|
"attributes": [
|
|
143
|
+
{
|
|
144
|
+
"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`.",
|
|
145
|
+
"name": "accessibility-attributes",
|
|
146
|
+
"default": "{}",
|
|
147
|
+
"fieldName": "accessibilityAttributes",
|
|
148
|
+
"type": {
|
|
149
|
+
"text": "AIButtonAccessibilityAttributes"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"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.",
|
|
154
|
+
"name": "arrow-button-pressed",
|
|
155
|
+
"default": "false",
|
|
156
|
+
"fieldName": "arrowButtonPressed",
|
|
157
|
+
"type": {
|
|
158
|
+
"text": "boolean"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
143
161
|
{
|
|
144
162
|
"description": "Defines the component design.",
|
|
145
163
|
"name": "design",
|
|
@@ -166,24 +184,6 @@
|
|
|
166
184
|
"type": {
|
|
167
185
|
"text": "string | undefined"
|
|
168
186
|
}
|
|
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
187
|
}
|
|
188
188
|
],
|
|
189
189
|
"superclass": {
|
|
@@ -228,21 +228,11 @@
|
|
|
228
228
|
"members": [
|
|
229
229
|
{
|
|
230
230
|
"kind": "field",
|
|
231
|
-
"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",
|
|
231
|
+
"name": "endIcon",
|
|
242
232
|
"type": {
|
|
243
233
|
"text": "string | undefined"
|
|
244
234
|
},
|
|
245
|
-
"description": "Defines the text
|
|
235
|
+
"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).",
|
|
246
236
|
"default": "undefined",
|
|
247
237
|
"privacy": "public"
|
|
248
238
|
},
|
|
@@ -258,11 +248,11 @@
|
|
|
258
248
|
},
|
|
259
249
|
{
|
|
260
250
|
"kind": "field",
|
|
261
|
-
"name": "
|
|
251
|
+
"name": "name",
|
|
262
252
|
"type": {
|
|
263
253
|
"text": "string | undefined"
|
|
264
254
|
},
|
|
265
|
-
"description": "Defines the
|
|
255
|
+
"description": "Defines the name of the button state.",
|
|
266
256
|
"default": "undefined",
|
|
267
257
|
"privacy": "public"
|
|
268
258
|
},
|
|
@@ -276,23 +266,24 @@
|
|
|
276
266
|
"description": "Defines if the component is in split button mode.",
|
|
277
267
|
"privacy": "public",
|
|
278
268
|
"_ui5since": "2.6.0"
|
|
279
|
-
}
|
|
280
|
-
],
|
|
281
|
-
"attributes": [
|
|
269
|
+
},
|
|
282
270
|
{
|
|
283
|
-
"
|
|
284
|
-
"name": "
|
|
285
|
-
"default": "undefined",
|
|
286
|
-
"fieldName": "name",
|
|
271
|
+
"kind": "field",
|
|
272
|
+
"name": "text",
|
|
287
273
|
"type": {
|
|
288
274
|
"text": "string | undefined"
|
|
289
|
-
}
|
|
290
|
-
},
|
|
291
|
-
{
|
|
275
|
+
},
|
|
292
276
|
"description": "Defines the text of the button in this state.",
|
|
293
|
-
"name": "text",
|
|
294
277
|
"default": "undefined",
|
|
295
|
-
"
|
|
278
|
+
"privacy": "public"
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
"attributes": [
|
|
282
|
+
{
|
|
283
|
+
"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).",
|
|
284
|
+
"name": "end-icon",
|
|
285
|
+
"default": "undefined",
|
|
286
|
+
"fieldName": "endIcon",
|
|
296
287
|
"type": {
|
|
297
288
|
"text": "string | undefined"
|
|
298
289
|
}
|
|
@@ -307,10 +298,10 @@
|
|
|
307
298
|
}
|
|
308
299
|
},
|
|
309
300
|
{
|
|
310
|
-
"description": "Defines the
|
|
311
|
-
"name": "
|
|
301
|
+
"description": "Defines the name of the button state.",
|
|
302
|
+
"name": "name",
|
|
312
303
|
"default": "undefined",
|
|
313
|
-
"fieldName": "
|
|
304
|
+
"fieldName": "name",
|
|
314
305
|
"type": {
|
|
315
306
|
"text": "string | undefined"
|
|
316
307
|
}
|
|
@@ -323,6 +314,15 @@
|
|
|
323
314
|
"type": {
|
|
324
315
|
"text": "boolean"
|
|
325
316
|
}
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"description": "Defines the text of the button in this state.",
|
|
320
|
+
"name": "text",
|
|
321
|
+
"default": "undefined",
|
|
322
|
+
"fieldName": "text",
|
|
323
|
+
"type": {
|
|
324
|
+
"text": "string | undefined"
|
|
325
|
+
}
|
|
326
326
|
}
|
|
327
327
|
],
|
|
328
328
|
"superclass": {
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
},
|
|
377
377
|
{
|
|
378
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.",
|
|
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.\n\n**Note:** Input with type `Number` does not support suggestions.",
|
|
380
380
|
"_ui5propertyName": "suggestionItems",
|
|
381
381
|
"_ui5type": {
|
|
382
382
|
"text": "Array<IInputSuggestionItem>",
|
|
@@ -428,127 +428,112 @@
|
|
|
428
428
|
},
|
|
429
429
|
{
|
|
430
430
|
"kind": "field",
|
|
431
|
-
"name": "
|
|
431
|
+
"name": "loading",
|
|
432
432
|
"type": {
|
|
433
|
-
"text": "
|
|
433
|
+
"text": "boolean"
|
|
434
434
|
},
|
|
435
|
-
"default": "
|
|
436
|
-
"description": "
|
|
435
|
+
"default": "false",
|
|
436
|
+
"description": "Defines whether the AI Writing Assistant is currently loading.\n\nWhen `true`, indicates that an AI action is in progress.",
|
|
437
437
|
"privacy": "public"
|
|
438
438
|
},
|
|
439
439
|
{
|
|
440
440
|
"kind": "field",
|
|
441
|
-
"name": "
|
|
441
|
+
"name": "totalVersions",
|
|
442
442
|
"type": {
|
|
443
|
-
"text": "
|
|
443
|
+
"text": "number"
|
|
444
444
|
},
|
|
445
|
-
"default": "
|
|
446
|
-
"description": "
|
|
445
|
+
"default": "0",
|
|
446
|
+
"description": "Indicates the total number of result versions available.\n\nWhen not set or set to 0, the versioning will be hidden.",
|
|
447
447
|
"privacy": "public"
|
|
448
448
|
},
|
|
449
449
|
{
|
|
450
450
|
"kind": "field",
|
|
451
|
-
"name": "
|
|
451
|
+
"name": "accessibleDescription",
|
|
452
452
|
"type": {
|
|
453
|
-
"text": "
|
|
453
|
+
"text": "string | undefined"
|
|
454
454
|
},
|
|
455
|
-
"
|
|
456
|
-
"
|
|
457
|
-
"privacy": "public"
|
|
455
|
+
"description": "Defines the accessible description of the component.",
|
|
456
|
+
"default": "undefined",
|
|
457
|
+
"privacy": "public",
|
|
458
|
+
"_ui5since": "2.9.0"
|
|
458
459
|
},
|
|
459
460
|
{
|
|
460
461
|
"kind": "field",
|
|
461
|
-
"name": "
|
|
462
|
+
"name": "accessibleDescriptionRef",
|
|
462
463
|
"type": {
|
|
463
464
|
"text": "string | undefined"
|
|
464
465
|
},
|
|
465
|
-
"description": "
|
|
466
|
+
"description": "Receives id(or many ids) of the elements that describe the input.",
|
|
466
467
|
"default": "undefined",
|
|
467
|
-
"privacy": "public"
|
|
468
|
+
"privacy": "public",
|
|
469
|
+
"_ui5since": "2.9.0"
|
|
468
470
|
},
|
|
469
471
|
{
|
|
470
472
|
"kind": "field",
|
|
471
|
-
"name": "
|
|
473
|
+
"name": "accessibleName",
|
|
472
474
|
"type": {
|
|
473
|
-
"text": "
|
|
475
|
+
"text": "string | undefined"
|
|
474
476
|
},
|
|
475
|
-
"
|
|
476
|
-
"
|
|
477
|
-
"privacy": "public"
|
|
477
|
+
"description": "Defines the accessible ARIA name of the component.",
|
|
478
|
+
"default": "undefined",
|
|
479
|
+
"privacy": "public",
|
|
480
|
+
"_ui5since": "1.0.0-rc.15"
|
|
478
481
|
},
|
|
479
482
|
{
|
|
480
483
|
"kind": "field",
|
|
481
|
-
"name": "
|
|
484
|
+
"name": "accessibleNameRef",
|
|
482
485
|
"type": {
|
|
483
|
-
"text": "
|
|
486
|
+
"text": "string | undefined"
|
|
484
487
|
},
|
|
485
|
-
"
|
|
486
|
-
"
|
|
488
|
+
"description": "Receives id(or many ids) of the elements that label the input.",
|
|
489
|
+
"default": "undefined",
|
|
487
490
|
"privacy": "public",
|
|
488
|
-
"_ui5since": "1.0.0-rc.
|
|
491
|
+
"_ui5since": "1.0.0-rc.15"
|
|
489
492
|
},
|
|
490
493
|
{
|
|
491
494
|
"kind": "field",
|
|
492
|
-
"name": "
|
|
495
|
+
"name": "disabled",
|
|
493
496
|
"type": {
|
|
494
497
|
"text": "boolean"
|
|
495
498
|
},
|
|
496
499
|
"default": "false",
|
|
497
|
-
"description": "Defines whether the
|
|
498
|
-
"privacy": "public"
|
|
499
|
-
"_ui5since": "1.4.0"
|
|
500
|
+
"description": "Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.",
|
|
501
|
+
"privacy": "public"
|
|
500
502
|
},
|
|
501
503
|
{
|
|
502
504
|
"kind": "field",
|
|
503
|
-
"name": "
|
|
505
|
+
"name": "filter",
|
|
504
506
|
"type": {
|
|
505
|
-
"text": "
|
|
507
|
+
"text": "InputSuggestionsFilter",
|
|
506
508
|
"references": [
|
|
507
509
|
{
|
|
508
|
-
"name": "
|
|
510
|
+
"name": "InputSuggestionsFilter",
|
|
509
511
|
"package": "@ui5/webcomponents",
|
|
510
|
-
"module": "dist/types/
|
|
512
|
+
"module": "dist/types/InputSuggestionsFilter.js"
|
|
511
513
|
}
|
|
512
514
|
]
|
|
513
515
|
},
|
|
514
|
-
"
|
|
515
|
-
"
|
|
516
|
-
"privacy": "public"
|
|
516
|
+
"description": "Defines the filter type of the component.",
|
|
517
|
+
"default": "\"None\"",
|
|
518
|
+
"privacy": "public",
|
|
519
|
+
"_ui5since": "2.19.0"
|
|
517
520
|
},
|
|
518
521
|
{
|
|
519
522
|
"kind": "field",
|
|
520
|
-
"name": "
|
|
523
|
+
"name": "maxlength",
|
|
521
524
|
"type": {
|
|
522
|
-
"text": "
|
|
525
|
+
"text": "number | undefined"
|
|
523
526
|
},
|
|
524
|
-
"
|
|
525
|
-
"
|
|
527
|
+
"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.",
|
|
528
|
+
"default": "undefined",
|
|
526
529
|
"privacy": "public",
|
|
527
|
-
"
|
|
528
|
-
"_ui5formEvents": "change,input"
|
|
530
|
+
"_ui5since": "1.0.0-rc.5"
|
|
529
531
|
},
|
|
530
532
|
{
|
|
531
533
|
"kind": "field",
|
|
532
|
-
"name": "
|
|
534
|
+
"name": "name",
|
|
533
535
|
"type": {
|
|
534
|
-
"text": "
|
|
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"
|
|
536
|
+
"text": "string | undefined"
|
|
552
537
|
},
|
|
553
538
|
"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
539
|
"default": "undefined",
|
|
@@ -556,68 +541,56 @@
|
|
|
556
541
|
},
|
|
557
542
|
{
|
|
558
543
|
"kind": "field",
|
|
559
|
-
"name": "
|
|
544
|
+
"name": "noTypeahead",
|
|
560
545
|
"type": {
|
|
561
546
|
"text": "boolean"
|
|
562
547
|
},
|
|
563
548
|
"default": "false",
|
|
564
|
-
"description": "Defines whether the
|
|
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",
|
|
549
|
+
"description": "Defines whether the value will be autcompleted to match an item",
|
|
575
550
|
"privacy": "public",
|
|
576
|
-
"_ui5since": "1.
|
|
551
|
+
"_ui5since": "1.4.0"
|
|
577
552
|
},
|
|
578
553
|
{
|
|
579
554
|
"kind": "field",
|
|
580
|
-
"name": "
|
|
555
|
+
"name": "open",
|
|
581
556
|
"type": {
|
|
582
|
-
"text": "
|
|
557
|
+
"text": "boolean"
|
|
583
558
|
},
|
|
584
|
-
"
|
|
585
|
-
"
|
|
559
|
+
"default": "false",
|
|
560
|
+
"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.",
|
|
586
561
|
"privacy": "public",
|
|
587
|
-
"_ui5since": "
|
|
562
|
+
"_ui5since": "2.0.0"
|
|
588
563
|
},
|
|
589
564
|
{
|
|
590
565
|
"kind": "field",
|
|
591
|
-
"name": "
|
|
566
|
+
"name": "placeholder",
|
|
592
567
|
"type": {
|
|
593
568
|
"text": "string | undefined"
|
|
594
569
|
},
|
|
595
|
-
"description": "
|
|
570
|
+
"description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
|
|
596
571
|
"default": "undefined",
|
|
597
|
-
"privacy": "public"
|
|
598
|
-
"_ui5since": "1.0.0-rc.15"
|
|
572
|
+
"privacy": "public"
|
|
599
573
|
},
|
|
600
574
|
{
|
|
601
575
|
"kind": "field",
|
|
602
|
-
"name": "
|
|
576
|
+
"name": "readonly",
|
|
603
577
|
"type": {
|
|
604
|
-
"text": "
|
|
578
|
+
"text": "boolean"
|
|
605
579
|
},
|
|
606
|
-
"
|
|
607
|
-
"
|
|
608
|
-
"privacy": "public"
|
|
609
|
-
"_ui5since": "2.9.0"
|
|
580
|
+
"default": "false",
|
|
581
|
+
"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.",
|
|
582
|
+
"privacy": "public"
|
|
610
583
|
},
|
|
611
584
|
{
|
|
612
585
|
"kind": "field",
|
|
613
|
-
"name": "
|
|
586
|
+
"name": "required",
|
|
614
587
|
"type": {
|
|
615
|
-
"text": "
|
|
588
|
+
"text": "boolean"
|
|
616
589
|
},
|
|
617
|
-
"
|
|
618
|
-
"
|
|
590
|
+
"default": "false",
|
|
591
|
+
"description": "Defines whether the component is required.",
|
|
619
592
|
"privacy": "public",
|
|
620
|
-
"_ui5since": "
|
|
593
|
+
"_ui5since": "1.0.0-rc.3"
|
|
621
594
|
},
|
|
622
595
|
{
|
|
623
596
|
"kind": "field",
|
|
@@ -632,14 +605,59 @@
|
|
|
632
605
|
},
|
|
633
606
|
{
|
|
634
607
|
"kind": "field",
|
|
635
|
-
"name": "
|
|
608
|
+
"name": "showSuggestions",
|
|
636
609
|
"type": {
|
|
637
610
|
"text": "boolean"
|
|
638
611
|
},
|
|
639
612
|
"default": "false",
|
|
640
|
-
"description": "Defines whether the
|
|
613
|
+
"description": "Defines whether the component should show suggestions, if such are present.",
|
|
614
|
+
"privacy": "public"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"kind": "field",
|
|
618
|
+
"name": "type",
|
|
619
|
+
"type": {
|
|
620
|
+
"text": "InputType",
|
|
621
|
+
"references": [
|
|
622
|
+
{
|
|
623
|
+
"name": "InputType",
|
|
624
|
+
"package": "@ui5/webcomponents",
|
|
625
|
+
"module": "dist/types/InputType.js"
|
|
626
|
+
}
|
|
627
|
+
]
|
|
628
|
+
},
|
|
629
|
+
"default": "\"Text\"",
|
|
630
|
+
"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.\n- Type `Number` does not support suggestions.",
|
|
631
|
+
"privacy": "public"
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"kind": "field",
|
|
635
|
+
"name": "value",
|
|
636
|
+
"type": {
|
|
637
|
+
"text": "string"
|
|
638
|
+
},
|
|
639
|
+
"default": "\"\"",
|
|
640
|
+
"description": "Defines the value of the component.\n\n**Note:** The property is updated upon typing.",
|
|
641
641
|
"privacy": "public",
|
|
642
|
-
"
|
|
642
|
+
"_ui5formProperty": true,
|
|
643
|
+
"_ui5formEvents": "change,input"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"kind": "field",
|
|
647
|
+
"name": "valueState",
|
|
648
|
+
"type": {
|
|
649
|
+
"text": "ValueState",
|
|
650
|
+
"references": [
|
|
651
|
+
{
|
|
652
|
+
"name": "ValueState",
|
|
653
|
+
"package": "@ui5/webcomponents-base",
|
|
654
|
+
"module": "dist/types/ValueState.js"
|
|
655
|
+
}
|
|
656
|
+
]
|
|
657
|
+
},
|
|
658
|
+
"default": "\"None\"",
|
|
659
|
+
"description": "Defines the value state of the component.",
|
|
660
|
+
"privacy": "public"
|
|
643
661
|
}
|
|
644
662
|
],
|
|
645
663
|
"events": [
|
|
@@ -658,12 +676,37 @@
|
|
|
658
676
|
"name": "item-click",
|
|
659
677
|
"_ui5privacy": "public",
|
|
660
678
|
"type": {
|
|
661
|
-
"text": "CustomEvent"
|
|
679
|
+
"text": "CustomEvent<InputItemClickEventDetail>",
|
|
680
|
+
"references": [
|
|
681
|
+
{
|
|
682
|
+
"name": "InputItemClickEventDetail",
|
|
683
|
+
"package": "@ui5/webcomponents-ai",
|
|
684
|
+
"module": "dist/Input.js"
|
|
685
|
+
}
|
|
686
|
+
]
|
|
662
687
|
},
|
|
663
688
|
"description": "Fired when an item from the AI actions menu is clicked.",
|
|
664
689
|
"_ui5Cancelable": false,
|
|
665
690
|
"_ui5allowPreventDefault": false,
|
|
666
|
-
"_ui5Bubbles": false
|
|
691
|
+
"_ui5Bubbles": false,
|
|
692
|
+
"_ui5parameters": [
|
|
693
|
+
{
|
|
694
|
+
"type": {
|
|
695
|
+
"text": "HTMLElement"
|
|
696
|
+
},
|
|
697
|
+
"name": "item",
|
|
698
|
+
"_ui5privacy": "public",
|
|
699
|
+
"description": "The currently clicked menu item."
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"type": {
|
|
703
|
+
"text": "string"
|
|
704
|
+
},
|
|
705
|
+
"name": "text",
|
|
706
|
+
"_ui5privacy": "public",
|
|
707
|
+
"description": "The text of the currently clicked menu item."
|
|
708
|
+
}
|
|
709
|
+
]
|
|
667
710
|
},
|
|
668
711
|
{
|
|
669
712
|
"name": "stop-generation",
|
|
@@ -700,7 +743,7 @@
|
|
|
700
743
|
},
|
|
701
744
|
"name": "backwards",
|
|
702
745
|
"_ui5privacy": "public",
|
|
703
|
-
"description": "
|
|
746
|
+
"description": "The text of the currently clicked menu item."
|
|
704
747
|
}
|
|
705
748
|
]
|
|
706
749
|
},
|
|
@@ -715,6 +758,18 @@
|
|
|
715
758
|
"_ui5allowPreventDefault": false,
|
|
716
759
|
"_ui5Bubbles": true
|
|
717
760
|
},
|
|
761
|
+
{
|
|
762
|
+
"name": "close",
|
|
763
|
+
"_ui5privacy": "public",
|
|
764
|
+
"type": {
|
|
765
|
+
"text": "CustomEvent"
|
|
766
|
+
},
|
|
767
|
+
"description": "Fired when the suggestions picker is closed.",
|
|
768
|
+
"_ui5Cancelable": false,
|
|
769
|
+
"_ui5allowPreventDefault": false,
|
|
770
|
+
"_ui5Bubbles": false,
|
|
771
|
+
"_ui5since": "2.0.0"
|
|
772
|
+
},
|
|
718
773
|
{
|
|
719
774
|
"name": "input",
|
|
720
775
|
"_ui5privacy": "public",
|
|
@@ -726,6 +781,18 @@
|
|
|
726
781
|
"_ui5allowPreventDefault": true,
|
|
727
782
|
"_ui5Bubbles": true
|
|
728
783
|
},
|
|
784
|
+
{
|
|
785
|
+
"name": "open",
|
|
786
|
+
"_ui5privacy": "public",
|
|
787
|
+
"type": {
|
|
788
|
+
"text": "CustomEvent"
|
|
789
|
+
},
|
|
790
|
+
"description": "Fired when the suggestions picker is open.",
|
|
791
|
+
"_ui5Cancelable": false,
|
|
792
|
+
"_ui5allowPreventDefault": false,
|
|
793
|
+
"_ui5Bubbles": true,
|
|
794
|
+
"_ui5since": "2.0.0"
|
|
795
|
+
},
|
|
729
796
|
{
|
|
730
797
|
"name": "select",
|
|
731
798
|
"_ui5privacy": "public",
|
|
@@ -766,30 +833,6 @@
|
|
|
766
833
|
"description": "The previewed suggestion item."
|
|
767
834
|
}
|
|
768
835
|
]
|
|
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
836
|
}
|
|
794
837
|
],
|
|
795
838
|
"attributes": [
|
|
@@ -802,6 +845,15 @@
|
|
|
802
845
|
"text": "number"
|
|
803
846
|
}
|
|
804
847
|
},
|
|
848
|
+
{
|
|
849
|
+
"description": "Defines whether the AI Writing Assistant is currently loading.\n\nWhen `true`, indicates that an AI action is in progress.",
|
|
850
|
+
"name": "loading",
|
|
851
|
+
"default": "false",
|
|
852
|
+
"fieldName": "loading",
|
|
853
|
+
"type": {
|
|
854
|
+
"text": "boolean"
|
|
855
|
+
}
|
|
856
|
+
},
|
|
805
857
|
{
|
|
806
858
|
"description": "Indicates the total number of result versions available.\n\nWhen not set or set to 0, the versioning will be hidden.",
|
|
807
859
|
"name": "total-versions",
|
|
@@ -812,12 +864,39 @@
|
|
|
812
864
|
}
|
|
813
865
|
},
|
|
814
866
|
{
|
|
815
|
-
"description": "Defines
|
|
816
|
-
"name": "
|
|
817
|
-
"default": "
|
|
818
|
-
"fieldName": "
|
|
867
|
+
"description": "Defines the accessible description of the component.",
|
|
868
|
+
"name": "accessible-description",
|
|
869
|
+
"default": "undefined",
|
|
870
|
+
"fieldName": "accessibleDescription",
|
|
819
871
|
"type": {
|
|
820
|
-
"text": "
|
|
872
|
+
"text": "string | undefined"
|
|
873
|
+
}
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"description": "Receives id(or many ids) of the elements that describe the input.",
|
|
877
|
+
"name": "accessible-description-ref",
|
|
878
|
+
"default": "undefined",
|
|
879
|
+
"fieldName": "accessibleDescriptionRef",
|
|
880
|
+
"type": {
|
|
881
|
+
"text": "string | undefined"
|
|
882
|
+
}
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"description": "Defines the accessible ARIA name of the component.",
|
|
886
|
+
"name": "accessible-name",
|
|
887
|
+
"default": "undefined",
|
|
888
|
+
"fieldName": "accessibleName",
|
|
889
|
+
"type": {
|
|
890
|
+
"text": "string | undefined"
|
|
891
|
+
}
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"description": "Receives id(or many ids) of the elements that label the input.",
|
|
895
|
+
"name": "accessible-name-ref",
|
|
896
|
+
"default": "undefined",
|
|
897
|
+
"fieldName": "accessibleNameRef",
|
|
898
|
+
"type": {
|
|
899
|
+
"text": "string | undefined"
|
|
821
900
|
}
|
|
822
901
|
},
|
|
823
902
|
{
|
|
@@ -830,30 +909,30 @@
|
|
|
830
909
|
}
|
|
831
910
|
},
|
|
832
911
|
{
|
|
833
|
-
"description": "Defines
|
|
834
|
-
"name": "
|
|
835
|
-
"default": "
|
|
836
|
-
"fieldName": "
|
|
912
|
+
"description": "Defines the filter type of the component.",
|
|
913
|
+
"name": "filter",
|
|
914
|
+
"default": "\"None\"",
|
|
915
|
+
"fieldName": "filter",
|
|
837
916
|
"type": {
|
|
838
|
-
"text": "
|
|
917
|
+
"text": "\"None\" | \"StartsWithPerTerm\" | \"StartsWith\" | \"Contains\""
|
|
839
918
|
}
|
|
840
919
|
},
|
|
841
920
|
{
|
|
842
|
-
"description": "
|
|
843
|
-
"name": "
|
|
844
|
-
"default": "
|
|
845
|
-
"fieldName": "
|
|
921
|
+
"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.",
|
|
922
|
+
"name": "maxlength",
|
|
923
|
+
"default": "undefined",
|
|
924
|
+
"fieldName": "maxlength",
|
|
846
925
|
"type": {
|
|
847
|
-
"text": "
|
|
926
|
+
"text": "number | undefined"
|
|
848
927
|
}
|
|
849
928
|
},
|
|
850
929
|
{
|
|
851
|
-
"description": "
|
|
852
|
-
"name": "
|
|
853
|
-
"default": "
|
|
854
|
-
"fieldName": "
|
|
930
|
+
"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.",
|
|
931
|
+
"name": "name",
|
|
932
|
+
"default": "undefined",
|
|
933
|
+
"fieldName": "name",
|
|
855
934
|
"type": {
|
|
856
|
-
"text": "
|
|
935
|
+
"text": "string | undefined"
|
|
857
936
|
}
|
|
858
937
|
},
|
|
859
938
|
{
|
|
@@ -866,111 +945,84 @@
|
|
|
866
945
|
}
|
|
867
946
|
},
|
|
868
947
|
{
|
|
869
|
-
"description": "Defines the
|
|
870
|
-
"name": "
|
|
871
|
-
"default": "
|
|
872
|
-
"fieldName": "
|
|
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",
|
|
948
|
+
"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.",
|
|
949
|
+
"name": "open",
|
|
950
|
+
"default": "false",
|
|
951
|
+
"fieldName": "open",
|
|
891
952
|
"type": {
|
|
892
|
-
"text": "
|
|
953
|
+
"text": "boolean"
|
|
893
954
|
}
|
|
894
955
|
},
|
|
895
956
|
{
|
|
896
|
-
"description": "
|
|
897
|
-
"name": "
|
|
957
|
+
"description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
|
|
958
|
+
"name": "placeholder",
|
|
898
959
|
"default": "undefined",
|
|
899
|
-
"fieldName": "
|
|
960
|
+
"fieldName": "placeholder",
|
|
900
961
|
"type": {
|
|
901
962
|
"text": "string | undefined"
|
|
902
963
|
}
|
|
903
964
|
},
|
|
904
965
|
{
|
|
905
|
-
"description": "Defines whether the component
|
|
906
|
-
"name": "
|
|
966
|
+
"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.",
|
|
967
|
+
"name": "readonly",
|
|
907
968
|
"default": "false",
|
|
908
|
-
"fieldName": "
|
|
969
|
+
"fieldName": "readonly",
|
|
909
970
|
"type": {
|
|
910
971
|
"text": "boolean"
|
|
911
972
|
}
|
|
912
973
|
},
|
|
913
974
|
{
|
|
914
|
-
"description": "
|
|
915
|
-
"name": "
|
|
916
|
-
"default": "
|
|
917
|
-
"fieldName": "
|
|
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",
|
|
975
|
+
"description": "Defines whether the component is required.",
|
|
976
|
+
"name": "required",
|
|
977
|
+
"default": "false",
|
|
978
|
+
"fieldName": "required",
|
|
927
979
|
"type": {
|
|
928
|
-
"text": "
|
|
980
|
+
"text": "boolean"
|
|
929
981
|
}
|
|
930
982
|
},
|
|
931
983
|
{
|
|
932
|
-
"description": "
|
|
933
|
-
"name": "
|
|
934
|
-
"default": "
|
|
935
|
-
"fieldName": "
|
|
984
|
+
"description": "Defines whether the clear icon of the input will be shown.",
|
|
985
|
+
"name": "show-clear-icon",
|
|
986
|
+
"default": "false",
|
|
987
|
+
"fieldName": "showClearIcon",
|
|
936
988
|
"type": {
|
|
937
|
-
"text": "
|
|
989
|
+
"text": "boolean"
|
|
938
990
|
}
|
|
939
991
|
},
|
|
940
992
|
{
|
|
941
|
-
"description": "Defines the
|
|
942
|
-
"name": "
|
|
943
|
-
"default": "
|
|
944
|
-
"fieldName": "
|
|
993
|
+
"description": "Defines whether the component should show suggestions, if such are present.",
|
|
994
|
+
"name": "show-suggestions",
|
|
995
|
+
"default": "false",
|
|
996
|
+
"fieldName": "showSuggestions",
|
|
945
997
|
"type": {
|
|
946
|
-
"text": "
|
|
998
|
+
"text": "boolean"
|
|
947
999
|
}
|
|
948
1000
|
},
|
|
949
1001
|
{
|
|
950
|
-
"description": "
|
|
951
|
-
"name": "
|
|
952
|
-
"default": "
|
|
953
|
-
"fieldName": "
|
|
1002
|
+
"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.\n- Type `Number` does not support suggestions.",
|
|
1003
|
+
"name": "type",
|
|
1004
|
+
"default": "\"Text\"",
|
|
1005
|
+
"fieldName": "type",
|
|
954
1006
|
"type": {
|
|
955
|
-
"text": "
|
|
1007
|
+
"text": "\"Text\" | \"Email\" | \"Number\" | \"Password\" | \"Tel\" | \"URL\" | \"Search\""
|
|
956
1008
|
}
|
|
957
1009
|
},
|
|
958
1010
|
{
|
|
959
|
-
"description": "Defines
|
|
960
|
-
"name": "
|
|
961
|
-
"default": "
|
|
962
|
-
"fieldName": "
|
|
1011
|
+
"description": "Defines the value of the component.\n\n**Note:** The property is updated upon typing.",
|
|
1012
|
+
"name": "value",
|
|
1013
|
+
"default": "\"\"",
|
|
1014
|
+
"fieldName": "value",
|
|
963
1015
|
"type": {
|
|
964
|
-
"text": "
|
|
1016
|
+
"text": "string"
|
|
965
1017
|
}
|
|
966
1018
|
},
|
|
967
1019
|
{
|
|
968
|
-
"description": "Defines
|
|
969
|
-
"name": "
|
|
970
|
-
"default": "
|
|
971
|
-
"fieldName": "
|
|
1020
|
+
"description": "Defines the value state of the component.",
|
|
1021
|
+
"name": "value-state",
|
|
1022
|
+
"default": "\"None\"",
|
|
1023
|
+
"fieldName": "valueState",
|
|
972
1024
|
"type": {
|
|
973
|
-
"text": "
|
|
1025
|
+
"text": "\"None\" | \"Positive\" | \"Critical\" | \"Negative\" | \"Information\""
|
|
974
1026
|
}
|
|
975
1027
|
}
|
|
976
1028
|
],
|
|
@@ -986,16 +1038,16 @@
|
|
|
986
1038
|
"_ui5privacy": "public",
|
|
987
1039
|
"cssParts": [
|
|
988
1040
|
{
|
|
989
|
-
"description": "Used to style the
|
|
990
|
-
"name": "
|
|
1041
|
+
"description": "Used to style the clear icon, which can be pressed to clear user input text",
|
|
1042
|
+
"name": "clear-icon"
|
|
991
1043
|
},
|
|
992
1044
|
{
|
|
993
1045
|
"description": "Used to style the native input element",
|
|
994
1046
|
"name": "input"
|
|
995
1047
|
},
|
|
996
1048
|
{
|
|
997
|
-
"description": "Used to style the
|
|
998
|
-
"name": "
|
|
1049
|
+
"description": "Used to style the root DOM element of the Input component",
|
|
1050
|
+
"name": "root"
|
|
999
1051
|
}
|
|
1000
1052
|
]
|
|
1001
1053
|
}
|
|
@@ -1057,89 +1109,99 @@
|
|
|
1057
1109
|
"members": [
|
|
1058
1110
|
{
|
|
1059
1111
|
"kind": "field",
|
|
1060
|
-
"name": "
|
|
1112
|
+
"name": "disabled",
|
|
1061
1113
|
"type": {
|
|
1062
|
-
"text": "
|
|
1114
|
+
"text": "boolean"
|
|
1063
1115
|
},
|
|
1064
|
-
"default": "
|
|
1065
|
-
"description": "Defines the
|
|
1116
|
+
"default": "false",
|
|
1117
|
+
"description": "Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.",
|
|
1066
1118
|
"privacy": "public",
|
|
1067
1119
|
"_ui5since": "2.0.0"
|
|
1068
1120
|
},
|
|
1069
1121
|
{
|
|
1070
1122
|
"kind": "field",
|
|
1071
|
-
"name": "
|
|
1123
|
+
"name": "label",
|
|
1072
1124
|
"type": {
|
|
1073
1125
|
"text": "string | undefined"
|
|
1074
1126
|
},
|
|
1075
|
-
"description": "Defines
|
|
1127
|
+
"description": "Defines the label of the input field.",
|
|
1076
1128
|
"default": "undefined",
|
|
1077
1129
|
"privacy": "public",
|
|
1078
1130
|
"_ui5since": "2.0.0"
|
|
1079
1131
|
},
|
|
1080
1132
|
{
|
|
1081
1133
|
"kind": "field",
|
|
1082
|
-
"name": "
|
|
1134
|
+
"name": "maxlength",
|
|
1135
|
+
"type": {
|
|
1136
|
+
"text": "number | undefined"
|
|
1137
|
+
},
|
|
1138
|
+
"description": "Sets the maximum number of characters available in the input field.",
|
|
1139
|
+
"default": "undefined",
|
|
1140
|
+
"privacy": "public",
|
|
1141
|
+
"_ui5since": "2.0.0"
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
"kind": "field",
|
|
1145
|
+
"name": "placeholder",
|
|
1083
1146
|
"type": {
|
|
1084
1147
|
"text": "string | undefined"
|
|
1085
1148
|
},
|
|
1086
|
-
"description": "Defines the
|
|
1149
|
+
"description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
|
|
1087
1150
|
"default": "undefined",
|
|
1088
1151
|
"privacy": "public",
|
|
1089
1152
|
"_ui5since": "2.0.0"
|
|
1090
1153
|
},
|
|
1091
1154
|
{
|
|
1092
1155
|
"kind": "field",
|
|
1093
|
-
"name": "
|
|
1156
|
+
"name": "readonly",
|
|
1094
1157
|
"type": {
|
|
1095
1158
|
"text": "boolean"
|
|
1096
1159
|
},
|
|
1097
1160
|
"default": "false",
|
|
1098
|
-
"description": "Defines whether the
|
|
1161
|
+
"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.",
|
|
1099
1162
|
"privacy": "public",
|
|
1100
1163
|
"_ui5since": "2.0.0"
|
|
1101
1164
|
},
|
|
1102
1165
|
{
|
|
1103
1166
|
"kind": "field",
|
|
1104
|
-
"name": "
|
|
1167
|
+
"name": "showClearIcon",
|
|
1105
1168
|
"type": {
|
|
1106
1169
|
"text": "boolean"
|
|
1107
1170
|
},
|
|
1108
1171
|
"default": "false",
|
|
1109
|
-
"description": "
|
|
1172
|
+
"description": "Defines whether the clear icon of the input will be shown.",
|
|
1110
1173
|
"privacy": "public",
|
|
1111
1174
|
"_ui5since": "2.0.0"
|
|
1112
1175
|
},
|
|
1113
1176
|
{
|
|
1114
1177
|
"kind": "field",
|
|
1115
|
-
"name": "
|
|
1178
|
+
"name": "showExceededText",
|
|
1116
1179
|
"type": {
|
|
1117
1180
|
"text": "boolean"
|
|
1118
1181
|
},
|
|
1119
1182
|
"default": "false",
|
|
1120
|
-
"description": "
|
|
1183
|
+
"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.",
|
|
1121
1184
|
"privacy": "public",
|
|
1122
1185
|
"_ui5since": "2.0.0"
|
|
1123
1186
|
},
|
|
1124
1187
|
{
|
|
1125
1188
|
"kind": "field",
|
|
1126
|
-
"name": "
|
|
1189
|
+
"name": "showSuggestions",
|
|
1127
1190
|
"type": {
|
|
1128
1191
|
"text": "boolean"
|
|
1129
1192
|
},
|
|
1130
1193
|
"default": "false",
|
|
1131
|
-
"description": "Defines whether the component
|
|
1132
|
-
"privacy": "public"
|
|
1133
|
-
"_ui5since": "2.0.0"
|
|
1194
|
+
"description": "Defines whether the component should show suggestions, if such are present.",
|
|
1195
|
+
"privacy": "public"
|
|
1134
1196
|
},
|
|
1135
1197
|
{
|
|
1136
1198
|
"kind": "field",
|
|
1137
|
-
"name": "
|
|
1199
|
+
"name": "value",
|
|
1138
1200
|
"type": {
|
|
1139
|
-
"text": "
|
|
1201
|
+
"text": "string"
|
|
1140
1202
|
},
|
|
1141
|
-
"
|
|
1142
|
-
"
|
|
1203
|
+
"default": "\"\"",
|
|
1204
|
+
"description": "Defines the value of the component.",
|
|
1143
1205
|
"privacy": "public",
|
|
1144
1206
|
"_ui5since": "2.0.0"
|
|
1145
1207
|
},
|
|
@@ -1160,26 +1222,16 @@
|
|
|
1160
1222
|
"description": "Defines the value state of the component.",
|
|
1161
1223
|
"privacy": "public",
|
|
1162
1224
|
"_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
1225
|
}
|
|
1174
1226
|
],
|
|
1175
1227
|
"events": [
|
|
1176
1228
|
{
|
|
1177
|
-
"name": "
|
|
1229
|
+
"name": "change",
|
|
1178
1230
|
"_ui5privacy": "public",
|
|
1179
1231
|
"type": {
|
|
1180
1232
|
"text": "CustomEvent"
|
|
1181
1233
|
},
|
|
1182
|
-
"description": "Fired when the input operation has finished by pressing Enter\nor
|
|
1234
|
+
"description": "Fired when the input operation has finished by pressing Enter\nor on focusout.",
|
|
1183
1235
|
"_ui5Cancelable": false,
|
|
1184
1236
|
"_ui5allowPreventDefault": false,
|
|
1185
1237
|
"_ui5Bubbles": true,
|
|
@@ -1198,12 +1250,12 @@
|
|
|
1198
1250
|
"_ui5since": "2.0.0"
|
|
1199
1251
|
},
|
|
1200
1252
|
{
|
|
1201
|
-
"name": "
|
|
1253
|
+
"name": "submit",
|
|
1202
1254
|
"_ui5privacy": "public",
|
|
1203
1255
|
"type": {
|
|
1204
1256
|
"text": "CustomEvent"
|
|
1205
1257
|
},
|
|
1206
|
-
"description": "Fired when the input operation has finished by pressing Enter\nor
|
|
1258
|
+
"description": "Fired when the input operation has finished by pressing Enter\nor AI button is clicked.",
|
|
1207
1259
|
"_ui5Cancelable": false,
|
|
1208
1260
|
"_ui5allowPreventDefault": false,
|
|
1209
1261
|
"_ui5Bubbles": true,
|
|
@@ -1212,12 +1264,30 @@
|
|
|
1212
1264
|
],
|
|
1213
1265
|
"attributes": [
|
|
1214
1266
|
{
|
|
1215
|
-
"description": "Defines the
|
|
1216
|
-
"name": "
|
|
1217
|
-
"default": "
|
|
1218
|
-
"fieldName": "
|
|
1267
|
+
"description": "Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.",
|
|
1268
|
+
"name": "disabled",
|
|
1269
|
+
"default": "false",
|
|
1270
|
+
"fieldName": "disabled",
|
|
1219
1271
|
"type": {
|
|
1220
|
-
"text": "
|
|
1272
|
+
"text": "boolean"
|
|
1273
|
+
}
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
"description": "Defines the label of the input field.",
|
|
1277
|
+
"name": "label",
|
|
1278
|
+
"default": "undefined",
|
|
1279
|
+
"fieldName": "label",
|
|
1280
|
+
"type": {
|
|
1281
|
+
"text": "string | undefined"
|
|
1282
|
+
}
|
|
1283
|
+
},
|
|
1284
|
+
{
|
|
1285
|
+
"description": "Sets the maximum number of characters available in the input field.",
|
|
1286
|
+
"name": "maxlength",
|
|
1287
|
+
"default": "undefined",
|
|
1288
|
+
"fieldName": "maxlength",
|
|
1289
|
+
"type": {
|
|
1290
|
+
"text": "number | undefined"
|
|
1221
1291
|
}
|
|
1222
1292
|
},
|
|
1223
1293
|
{
|
|
@@ -1230,12 +1300,12 @@
|
|
|
1230
1300
|
}
|
|
1231
1301
|
},
|
|
1232
1302
|
{
|
|
1233
|
-
"description": "Defines the
|
|
1234
|
-
"name": "
|
|
1235
|
-
"default": "
|
|
1236
|
-
"fieldName": "
|
|
1303
|
+
"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.",
|
|
1304
|
+
"name": "readonly",
|
|
1305
|
+
"default": "false",
|
|
1306
|
+
"fieldName": "readonly",
|
|
1237
1307
|
"type": {
|
|
1238
|
-
"text": "
|
|
1308
|
+
"text": "boolean"
|
|
1239
1309
|
}
|
|
1240
1310
|
},
|
|
1241
1311
|
{
|
|
@@ -1257,30 +1327,21 @@
|
|
|
1257
1327
|
}
|
|
1258
1328
|
},
|
|
1259
1329
|
{
|
|
1260
|
-
"description": "Defines whether the component
|
|
1261
|
-
"name": "
|
|
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",
|
|
1330
|
+
"description": "Defines whether the component should show suggestions, if such are present.",
|
|
1331
|
+
"name": "show-suggestions",
|
|
1271
1332
|
"default": "false",
|
|
1272
|
-
"fieldName": "
|
|
1333
|
+
"fieldName": "showSuggestions",
|
|
1273
1334
|
"type": {
|
|
1274
1335
|
"text": "boolean"
|
|
1275
1336
|
}
|
|
1276
1337
|
},
|
|
1277
1338
|
{
|
|
1278
|
-
"description": "
|
|
1279
|
-
"name": "
|
|
1280
|
-
"default": "
|
|
1281
|
-
"fieldName": "
|
|
1339
|
+
"description": "Defines the value of the component.",
|
|
1340
|
+
"name": "value",
|
|
1341
|
+
"default": "\"\"",
|
|
1342
|
+
"fieldName": "value",
|
|
1282
1343
|
"type": {
|
|
1283
|
-
"text": "
|
|
1344
|
+
"text": "string"
|
|
1284
1345
|
}
|
|
1285
1346
|
},
|
|
1286
1347
|
{
|
|
@@ -1291,15 +1352,6 @@
|
|
|
1291
1352
|
"type": {
|
|
1292
1353
|
"text": "\"Positive\" | \"Negative\" | \"None\" | \"Critical\" | \"Information\""
|
|
1293
1354
|
}
|
|
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
1355
|
}
|
|
1304
1356
|
],
|
|
1305
1357
|
"superclass": {
|
|
@@ -1360,6 +1412,16 @@
|
|
|
1360
1412
|
}
|
|
1361
1413
|
],
|
|
1362
1414
|
"members": [
|
|
1415
|
+
{
|
|
1416
|
+
"kind": "field",
|
|
1417
|
+
"name": "currentVersion",
|
|
1418
|
+
"type": {
|
|
1419
|
+
"text": "number"
|
|
1420
|
+
},
|
|
1421
|
+
"default": "0",
|
|
1422
|
+
"description": "Indicates the index of the currently displayed version.",
|
|
1423
|
+
"privacy": "public"
|
|
1424
|
+
},
|
|
1363
1425
|
{
|
|
1364
1426
|
"kind": "field",
|
|
1365
1427
|
"name": "loading",
|
|
@@ -1380,16 +1442,6 @@
|
|
|
1380
1442
|
"description": "Defines the prompt description of the current action.",
|
|
1381
1443
|
"privacy": "public"
|
|
1382
1444
|
},
|
|
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
1445
|
{
|
|
1394
1446
|
"kind": "field",
|
|
1395
1447
|
"name": "totalVersions",
|
|
@@ -1402,83 +1454,76 @@
|
|
|
1402
1454
|
},
|
|
1403
1455
|
{
|
|
1404
1456
|
"kind": "field",
|
|
1405
|
-
"name": "
|
|
1457
|
+
"name": "accessibleDescription",
|
|
1406
1458
|
"type": {
|
|
1407
|
-
"text": "string"
|
|
1459
|
+
"text": "string | undefined"
|
|
1408
1460
|
},
|
|
1409
|
-
"
|
|
1410
|
-
"
|
|
1461
|
+
"description": "Defines the accessible description of the component.",
|
|
1462
|
+
"default": "undefined",
|
|
1411
1463
|
"privacy": "public",
|
|
1412
|
-
"
|
|
1413
|
-
"_ui5formEvents": "change,input"
|
|
1464
|
+
"_ui5since": "2.16.0"
|
|
1414
1465
|
},
|
|
1415
1466
|
{
|
|
1416
1467
|
"kind": "field",
|
|
1417
|
-
"name": "
|
|
1468
|
+
"name": "accessibleDescriptionRef",
|
|
1418
1469
|
"type": {
|
|
1419
|
-
"text": "
|
|
1470
|
+
"text": "string | undefined"
|
|
1420
1471
|
},
|
|
1421
|
-
"
|
|
1422
|
-
"
|
|
1423
|
-
"privacy": "public"
|
|
1472
|
+
"description": "Receives id(or many ids) of the elements that describe the textarea.",
|
|
1473
|
+
"default": "undefined",
|
|
1474
|
+
"privacy": "public",
|
|
1475
|
+
"_ui5since": "2.16.0"
|
|
1424
1476
|
},
|
|
1425
1477
|
{
|
|
1426
1478
|
"kind": "field",
|
|
1427
|
-
"name": "
|
|
1479
|
+
"name": "accessibleName",
|
|
1428
1480
|
"type": {
|
|
1429
|
-
"text": "
|
|
1481
|
+
"text": "string | undefined"
|
|
1430
1482
|
},
|
|
1431
|
-
"
|
|
1432
|
-
"
|
|
1433
|
-
"privacy": "public"
|
|
1483
|
+
"description": "Defines the accessible ARIA name of the component.",
|
|
1484
|
+
"default": "undefined",
|
|
1485
|
+
"privacy": "public",
|
|
1486
|
+
"_ui5since": "1.0.0-rc.15"
|
|
1434
1487
|
},
|
|
1435
1488
|
{
|
|
1436
1489
|
"kind": "field",
|
|
1437
|
-
"name": "
|
|
1490
|
+
"name": "accessibleNameRef",
|
|
1438
1491
|
"type": {
|
|
1439
|
-
"text": "
|
|
1492
|
+
"text": "string | undefined"
|
|
1440
1493
|
},
|
|
1441
|
-
"
|
|
1442
|
-
"
|
|
1494
|
+
"description": "Receives id(or many ids) of the elements that label the textarea.",
|
|
1495
|
+
"default": "undefined",
|
|
1443
1496
|
"privacy": "public",
|
|
1444
|
-
"_ui5since": "1.0.0-rc.
|
|
1497
|
+
"_ui5since": "1.0.0-rc.15"
|
|
1445
1498
|
},
|
|
1446
1499
|
{
|
|
1447
1500
|
"kind": "field",
|
|
1448
|
-
"name": "
|
|
1501
|
+
"name": "disabled",
|
|
1449
1502
|
"type": {
|
|
1450
|
-
"text": "
|
|
1503
|
+
"text": "boolean"
|
|
1451
1504
|
},
|
|
1452
|
-
"
|
|
1453
|
-
"
|
|
1505
|
+
"default": "false",
|
|
1506
|
+
"description": "Indicates whether the user can interact with the component or not.\n\n**Note:** A disabled component is completely noninteractive.",
|
|
1454
1507
|
"privacy": "public"
|
|
1455
1508
|
},
|
|
1456
1509
|
{
|
|
1457
1510
|
"kind": "field",
|
|
1458
|
-
"name": "
|
|
1511
|
+
"name": "growing",
|
|
1459
1512
|
"type": {
|
|
1460
|
-
"text": "
|
|
1461
|
-
"references": [
|
|
1462
|
-
{
|
|
1463
|
-
"name": "ValueState",
|
|
1464
|
-
"package": "@ui5/webcomponents-base",
|
|
1465
|
-
"module": "dist/types/ValueState.js"
|
|
1466
|
-
}
|
|
1467
|
-
]
|
|
1513
|
+
"text": "boolean"
|
|
1468
1514
|
},
|
|
1469
|
-
"default": "
|
|
1470
|
-
"description": "
|
|
1471
|
-
"privacy": "public"
|
|
1472
|
-
"_ui5since": "1.0.0-rc.7"
|
|
1515
|
+
"default": "false",
|
|
1516
|
+
"description": "Enables the component to automatically grow and shrink dynamically with its content.",
|
|
1517
|
+
"privacy": "public"
|
|
1473
1518
|
},
|
|
1474
1519
|
{
|
|
1475
1520
|
"kind": "field",
|
|
1476
|
-
"name": "
|
|
1521
|
+
"name": "growingMaxRows",
|
|
1477
1522
|
"type": {
|
|
1478
1523
|
"text": "number"
|
|
1479
1524
|
},
|
|
1480
1525
|
"default": "0",
|
|
1481
|
-
"description": "Defines the number of
|
|
1526
|
+
"description": "Defines the maximum number of rows that the component can grow.",
|
|
1482
1527
|
"privacy": "public"
|
|
1483
1528
|
},
|
|
1484
1529
|
{
|
|
@@ -1493,90 +1538,108 @@
|
|
|
1493
1538
|
},
|
|
1494
1539
|
{
|
|
1495
1540
|
"kind": "field",
|
|
1496
|
-
"name": "
|
|
1541
|
+
"name": "name",
|
|
1497
1542
|
"type": {
|
|
1498
|
-
"text": "
|
|
1543
|
+
"text": "string | undefined"
|
|
1499
1544
|
},
|
|
1500
|
-
"
|
|
1501
|
-
"
|
|
1545
|
+
"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.",
|
|
1546
|
+
"default": "undefined",
|
|
1502
1547
|
"privacy": "public"
|
|
1503
1548
|
},
|
|
1504
1549
|
{
|
|
1505
1550
|
"kind": "field",
|
|
1506
|
-
"name": "
|
|
1551
|
+
"name": "placeholder",
|
|
1507
1552
|
"type": {
|
|
1508
|
-
"text": "
|
|
1553
|
+
"text": "string | undefined"
|
|
1509
1554
|
},
|
|
1510
|
-
"
|
|
1511
|
-
"
|
|
1555
|
+
"description": "Defines a short hint intended to aid the user with data entry when the component has no value.",
|
|
1556
|
+
"default": "undefined",
|
|
1512
1557
|
"privacy": "public"
|
|
1513
1558
|
},
|
|
1514
1559
|
{
|
|
1515
1560
|
"kind": "field",
|
|
1516
|
-
"name": "
|
|
1561
|
+
"name": "readonly",
|
|
1517
1562
|
"type": {
|
|
1518
|
-
"text": "
|
|
1563
|
+
"text": "boolean"
|
|
1519
1564
|
},
|
|
1520
|
-
"default": "
|
|
1521
|
-
"description": "Defines the
|
|
1565
|
+
"default": "false",
|
|
1566
|
+
"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.",
|
|
1522
1567
|
"privacy": "public"
|
|
1523
1568
|
},
|
|
1524
1569
|
{
|
|
1525
1570
|
"kind": "field",
|
|
1526
|
-
"name": "
|
|
1571
|
+
"name": "required",
|
|
1527
1572
|
"type": {
|
|
1528
|
-
"text": "
|
|
1573
|
+
"text": "boolean"
|
|
1529
1574
|
},
|
|
1530
|
-
"
|
|
1531
|
-
"
|
|
1532
|
-
"privacy": "public"
|
|
1575
|
+
"default": "false",
|
|
1576
|
+
"description": "Defines whether the component is required.",
|
|
1577
|
+
"privacy": "public",
|
|
1578
|
+
"_ui5since": "1.0.0-rc.3"
|
|
1533
1579
|
},
|
|
1534
1580
|
{
|
|
1535
1581
|
"kind": "field",
|
|
1536
|
-
"name": "
|
|
1582
|
+
"name": "rows",
|
|
1537
1583
|
"type": {
|
|
1538
|
-
"text": "
|
|
1584
|
+
"text": "number"
|
|
1539
1585
|
},
|
|
1540
|
-
"
|
|
1541
|
-
"
|
|
1542
|
-
"privacy": "public"
|
|
1543
|
-
"_ui5since": "1.0.0-rc.15"
|
|
1586
|
+
"default": "0",
|
|
1587
|
+
"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.",
|
|
1588
|
+
"privacy": "public"
|
|
1544
1589
|
},
|
|
1545
1590
|
{
|
|
1546
1591
|
"kind": "field",
|
|
1547
|
-
"name": "
|
|
1592
|
+
"name": "showExceededText",
|
|
1548
1593
|
"type": {
|
|
1549
|
-
"text": "
|
|
1594
|
+
"text": "boolean"
|
|
1550
1595
|
},
|
|
1551
|
-
"
|
|
1552
|
-
"
|
|
1553
|
-
"privacy": "public"
|
|
1554
|
-
"_ui5since": "1.0.0-rc.15"
|
|
1596
|
+
"default": "false",
|
|
1597
|
+
"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.",
|
|
1598
|
+
"privacy": "public"
|
|
1555
1599
|
},
|
|
1556
1600
|
{
|
|
1557
1601
|
"kind": "field",
|
|
1558
|
-
"name": "
|
|
1602
|
+
"name": "value",
|
|
1559
1603
|
"type": {
|
|
1560
|
-
"text": "string
|
|
1604
|
+
"text": "string"
|
|
1561
1605
|
},
|
|
1562
|
-
"
|
|
1563
|
-
"
|
|
1606
|
+
"default": "\"\"",
|
|
1607
|
+
"description": "Defines the value of the component.",
|
|
1564
1608
|
"privacy": "public",
|
|
1565
|
-
"
|
|
1609
|
+
"_ui5formProperty": true,
|
|
1610
|
+
"_ui5formEvents": "change,input"
|
|
1566
1611
|
},
|
|
1567
1612
|
{
|
|
1568
1613
|
"kind": "field",
|
|
1569
|
-
"name": "
|
|
1614
|
+
"name": "valueState",
|
|
1570
1615
|
"type": {
|
|
1571
|
-
"text": "
|
|
1616
|
+
"text": "ValueState",
|
|
1617
|
+
"references": [
|
|
1618
|
+
{
|
|
1619
|
+
"name": "ValueState",
|
|
1620
|
+
"package": "@ui5/webcomponents-base",
|
|
1621
|
+
"module": "dist/types/ValueState.js"
|
|
1622
|
+
}
|
|
1623
|
+
]
|
|
1572
1624
|
},
|
|
1573
|
-
"
|
|
1574
|
-
"
|
|
1625
|
+
"default": "\"None\"",
|
|
1626
|
+
"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.",
|
|
1575
1627
|
"privacy": "public",
|
|
1576
|
-
"_ui5since": "
|
|
1628
|
+
"_ui5since": "1.0.0-rc.7"
|
|
1577
1629
|
}
|
|
1578
1630
|
],
|
|
1579
1631
|
"events": [
|
|
1632
|
+
{
|
|
1633
|
+
"name": "stop-generation",
|
|
1634
|
+
"_ui5privacy": "public",
|
|
1635
|
+
"type": {
|
|
1636
|
+
"text": "CustomEvent"
|
|
1637
|
+
},
|
|
1638
|
+
"description": "Fired when the user requests to stop AI text generation.",
|
|
1639
|
+
"_ui5Cancelable": false,
|
|
1640
|
+
"_ui5allowPreventDefault": false,
|
|
1641
|
+
"_ui5Bubbles": false
|
|
1642
|
+
},
|
|
1580
1643
|
{
|
|
1581
1644
|
"name": "version-change",
|
|
1582
1645
|
"_ui5privacy": "public",
|
|
@@ -1605,17 +1668,6 @@
|
|
|
1605
1668
|
}
|
|
1606
1669
|
]
|
|
1607
1670
|
},
|
|
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
1671
|
{
|
|
1620
1672
|
"name": "change",
|
|
1621
1673
|
"_ui5privacy": "public",
|
|
@@ -1657,24 +1709,24 @@
|
|
|
1657
1709
|
]
|
|
1658
1710
|
},
|
|
1659
1711
|
{
|
|
1660
|
-
"name": "
|
|
1712
|
+
"name": "scroll",
|
|
1661
1713
|
"_ui5privacy": "public",
|
|
1662
1714
|
"type": {
|
|
1663
1715
|
"text": "CustomEvent"
|
|
1664
1716
|
},
|
|
1665
|
-
"description": "Fired when
|
|
1717
|
+
"description": "Fired when textarea is scrolled.",
|
|
1666
1718
|
"_ui5Cancelable": false,
|
|
1667
1719
|
"_ui5allowPreventDefault": false,
|
|
1668
1720
|
"_ui5Bubbles": true,
|
|
1669
1721
|
"_ui5since": "1.23.0"
|
|
1670
1722
|
},
|
|
1671
1723
|
{
|
|
1672
|
-
"name": "
|
|
1724
|
+
"name": "select",
|
|
1673
1725
|
"_ui5privacy": "public",
|
|
1674
1726
|
"type": {
|
|
1675
1727
|
"text": "CustomEvent"
|
|
1676
1728
|
},
|
|
1677
|
-
"description": "Fired when
|
|
1729
|
+
"description": "Fired when some text has been selected.",
|
|
1678
1730
|
"_ui5Cancelable": false,
|
|
1679
1731
|
"_ui5allowPreventDefault": false,
|
|
1680
1732
|
"_ui5Bubbles": true,
|
|
@@ -1682,6 +1734,15 @@
|
|
|
1682
1734
|
}
|
|
1683
1735
|
],
|
|
1684
1736
|
"attributes": [
|
|
1737
|
+
{
|
|
1738
|
+
"description": "Indicates the index of the currently displayed version.",
|
|
1739
|
+
"name": "current-version",
|
|
1740
|
+
"default": "0",
|
|
1741
|
+
"fieldName": "currentVersion",
|
|
1742
|
+
"type": {
|
|
1743
|
+
"text": "number"
|
|
1744
|
+
}
|
|
1745
|
+
},
|
|
1685
1746
|
{
|
|
1686
1747
|
"description": "Defines whether the `ui5-ai-textarea` is currently in a loading(processing) state.",
|
|
1687
1748
|
"name": "loading",
|
|
@@ -1700,15 +1761,6 @@
|
|
|
1700
1761
|
"text": "string"
|
|
1701
1762
|
}
|
|
1702
1763
|
},
|
|
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
1764
|
{
|
|
1713
1765
|
"description": "Indicates the total number of result versions available.\n\nNotes:\nVersioning is hidden if the value is `0`",
|
|
1714
1766
|
"name": "total-versions",
|
|
@@ -1719,64 +1771,64 @@
|
|
|
1719
1771
|
}
|
|
1720
1772
|
},
|
|
1721
1773
|
{
|
|
1722
|
-
"description": "Defines the
|
|
1723
|
-
"name": "
|
|
1724
|
-
"default": "
|
|
1725
|
-
"fieldName": "
|
|
1774
|
+
"description": "Defines the accessible description of the component.",
|
|
1775
|
+
"name": "accessible-description",
|
|
1776
|
+
"default": "undefined",
|
|
1777
|
+
"fieldName": "accessibleDescription",
|
|
1726
1778
|
"type": {
|
|
1727
|
-
"text": "string"
|
|
1779
|
+
"text": "string | undefined"
|
|
1728
1780
|
}
|
|
1729
1781
|
},
|
|
1730
1782
|
{
|
|
1731
|
-
"description": "
|
|
1732
|
-
"name": "
|
|
1733
|
-
"default": "
|
|
1734
|
-
"fieldName": "
|
|
1783
|
+
"description": "Receives id(or many ids) of the elements that describe the textarea.",
|
|
1784
|
+
"name": "accessible-description-ref",
|
|
1785
|
+
"default": "undefined",
|
|
1786
|
+
"fieldName": "accessibleDescriptionRef",
|
|
1735
1787
|
"type": {
|
|
1736
|
-
"text": "
|
|
1788
|
+
"text": "string | undefined"
|
|
1737
1789
|
}
|
|
1738
1790
|
},
|
|
1739
1791
|
{
|
|
1740
|
-
"description": "Defines
|
|
1741
|
-
"name": "
|
|
1742
|
-
"default": "
|
|
1743
|
-
"fieldName": "
|
|
1792
|
+
"description": "Defines the accessible ARIA name of the component.",
|
|
1793
|
+
"name": "accessible-name",
|
|
1794
|
+
"default": "undefined",
|
|
1795
|
+
"fieldName": "accessibleName",
|
|
1744
1796
|
"type": {
|
|
1745
|
-
"text": "
|
|
1797
|
+
"text": "string | undefined"
|
|
1746
1798
|
}
|
|
1747
1799
|
},
|
|
1748
1800
|
{
|
|
1749
|
-
"description": "
|
|
1750
|
-
"name": "
|
|
1751
|
-
"default": "
|
|
1752
|
-
"fieldName": "
|
|
1801
|
+
"description": "Receives id(or many ids) of the elements that label the textarea.",
|
|
1802
|
+
"name": "accessible-name-ref",
|
|
1803
|
+
"default": "undefined",
|
|
1804
|
+
"fieldName": "accessibleNameRef",
|
|
1753
1805
|
"type": {
|
|
1754
|
-
"text": "
|
|
1806
|
+
"text": "string | undefined"
|
|
1755
1807
|
}
|
|
1756
1808
|
},
|
|
1757
1809
|
{
|
|
1758
|
-
"description": "
|
|
1759
|
-
"name": "
|
|
1760
|
-
"default": "
|
|
1761
|
-
"fieldName": "
|
|
1810
|
+
"description": "Indicates whether the user can interact with the component or not.\n\n**Note:** A disabled component is completely noninteractive.",
|
|
1811
|
+
"name": "disabled",
|
|
1812
|
+
"default": "false",
|
|
1813
|
+
"fieldName": "disabled",
|
|
1762
1814
|
"type": {
|
|
1763
|
-
"text": "
|
|
1815
|
+
"text": "boolean"
|
|
1764
1816
|
}
|
|
1765
1817
|
},
|
|
1766
1818
|
{
|
|
1767
|
-
"description": "
|
|
1768
|
-
"name": "
|
|
1769
|
-
"default": "
|
|
1770
|
-
"fieldName": "
|
|
1819
|
+
"description": "Enables the component to automatically grow and shrink dynamically with its content.",
|
|
1820
|
+
"name": "growing",
|
|
1821
|
+
"default": "false",
|
|
1822
|
+
"fieldName": "growing",
|
|
1771
1823
|
"type": {
|
|
1772
|
-
"text": "
|
|
1824
|
+
"text": "boolean"
|
|
1773
1825
|
}
|
|
1774
1826
|
},
|
|
1775
1827
|
{
|
|
1776
|
-
"description": "Defines the number of
|
|
1777
|
-
"name": "rows",
|
|
1828
|
+
"description": "Defines the maximum number of rows that the component can grow.",
|
|
1829
|
+
"name": "growing-max-rows",
|
|
1778
1830
|
"default": "0",
|
|
1779
|
-
"fieldName": "
|
|
1831
|
+
"fieldName": "growingMaxRows",
|
|
1780
1832
|
"type": {
|
|
1781
1833
|
"text": "number"
|
|
1782
1834
|
}
|
|
@@ -1791,75 +1843,75 @@
|
|
|
1791
1843
|
}
|
|
1792
1844
|
},
|
|
1793
1845
|
{
|
|
1794
|
-
"description": "Determines
|
|
1795
|
-
"name": "
|
|
1796
|
-
"default": "
|
|
1797
|
-
"fieldName": "
|
|
1846
|
+
"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.",
|
|
1847
|
+
"name": "name",
|
|
1848
|
+
"default": "undefined",
|
|
1849
|
+
"fieldName": "name",
|
|
1798
1850
|
"type": {
|
|
1799
|
-
"text": "
|
|
1851
|
+
"text": "string | undefined"
|
|
1800
1852
|
}
|
|
1801
1853
|
},
|
|
1802
1854
|
{
|
|
1803
|
-
"description": "
|
|
1804
|
-
"name": "
|
|
1805
|
-
"default": "
|
|
1806
|
-
"fieldName": "
|
|
1855
|
+
"description": "Defines a short hint intended to aid the user with data entry when the component has no value.",
|
|
1856
|
+
"name": "placeholder",
|
|
1857
|
+
"default": "undefined",
|
|
1858
|
+
"fieldName": "placeholder",
|
|
1807
1859
|
"type": {
|
|
1808
|
-
"text": "
|
|
1860
|
+
"text": "string | undefined"
|
|
1809
1861
|
}
|
|
1810
1862
|
},
|
|
1811
1863
|
{
|
|
1812
|
-
"description": "Defines the
|
|
1813
|
-
"name": "
|
|
1814
|
-
"default": "
|
|
1815
|
-
"fieldName": "
|
|
1864
|
+
"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.",
|
|
1865
|
+
"name": "readonly",
|
|
1866
|
+
"default": "false",
|
|
1867
|
+
"fieldName": "readonly",
|
|
1816
1868
|
"type": {
|
|
1817
|
-
"text": "
|
|
1869
|
+
"text": "boolean"
|
|
1818
1870
|
}
|
|
1819
1871
|
},
|
|
1820
1872
|
{
|
|
1821
|
-
"description": "
|
|
1822
|
-
"name": "
|
|
1823
|
-
"default": "
|
|
1824
|
-
"fieldName": "
|
|
1873
|
+
"description": "Defines whether the component is required.",
|
|
1874
|
+
"name": "required",
|
|
1875
|
+
"default": "false",
|
|
1876
|
+
"fieldName": "required",
|
|
1825
1877
|
"type": {
|
|
1826
|
-
"text": "
|
|
1878
|
+
"text": "boolean"
|
|
1827
1879
|
}
|
|
1828
1880
|
},
|
|
1829
1881
|
{
|
|
1830
|
-
"description": "Defines the
|
|
1831
|
-
"name": "
|
|
1832
|
-
"default": "
|
|
1833
|
-
"fieldName": "
|
|
1882
|
+
"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.",
|
|
1883
|
+
"name": "rows",
|
|
1884
|
+
"default": "0",
|
|
1885
|
+
"fieldName": "rows",
|
|
1834
1886
|
"type": {
|
|
1835
|
-
"text": "
|
|
1887
|
+
"text": "number"
|
|
1836
1888
|
}
|
|
1837
1889
|
},
|
|
1838
1890
|
{
|
|
1839
|
-
"description": "
|
|
1840
|
-
"name": "
|
|
1841
|
-
"default": "
|
|
1842
|
-
"fieldName": "
|
|
1891
|
+
"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.",
|
|
1892
|
+
"name": "show-exceeded-text",
|
|
1893
|
+
"default": "false",
|
|
1894
|
+
"fieldName": "showExceededText",
|
|
1843
1895
|
"type": {
|
|
1844
|
-
"text": "
|
|
1896
|
+
"text": "boolean"
|
|
1845
1897
|
}
|
|
1846
1898
|
},
|
|
1847
1899
|
{
|
|
1848
|
-
"description": "Defines the
|
|
1849
|
-
"name": "
|
|
1850
|
-
"default": "
|
|
1851
|
-
"fieldName": "
|
|
1900
|
+
"description": "Defines the value of the component.",
|
|
1901
|
+
"name": "value",
|
|
1902
|
+
"default": "\"\"",
|
|
1903
|
+
"fieldName": "value",
|
|
1852
1904
|
"type": {
|
|
1853
|
-
"text": "string
|
|
1905
|
+
"text": "string"
|
|
1854
1906
|
}
|
|
1855
1907
|
},
|
|
1856
1908
|
{
|
|
1857
|
-
"description": "
|
|
1858
|
-
"name": "
|
|
1859
|
-
"default": "
|
|
1860
|
-
"fieldName": "
|
|
1909
|
+
"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.",
|
|
1910
|
+
"name": "value-state",
|
|
1911
|
+
"default": "\"None\"",
|
|
1912
|
+
"fieldName": "valueState",
|
|
1861
1913
|
"type": {
|
|
1862
|
-
"text": "
|
|
1914
|
+
"text": "\"None\" | \"Positive\" | \"Critical\" | \"Negative\" | \"Information\""
|
|
1863
1915
|
}
|
|
1864
1916
|
}
|
|
1865
1917
|
],
|
|
@@ -1903,7 +1955,109 @@
|
|
|
1903
1955
|
{
|
|
1904
1956
|
"kind": "javascript-module",
|
|
1905
1957
|
"path": "dist/ToolbarLabel.js",
|
|
1906
|
-
"declarations": [
|
|
1958
|
+
"declarations": [
|
|
1959
|
+
{
|
|
1960
|
+
"kind": "class",
|
|
1961
|
+
"description": "### Overview\nThe `ui5-ai-toolbar-label` represents a text label,\nused in the `ui5-toolbar`.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents-ai/dist/ToolbarLabel.js\";`",
|
|
1962
|
+
"name": "ToolbarLabel",
|
|
1963
|
+
"members": [
|
|
1964
|
+
{
|
|
1965
|
+
"kind": "field",
|
|
1966
|
+
"name": "text",
|
|
1967
|
+
"type": {
|
|
1968
|
+
"text": "string"
|
|
1969
|
+
},
|
|
1970
|
+
"default": "\"\"",
|
|
1971
|
+
"description": "Defines the text of the label.",
|
|
1972
|
+
"privacy": "public"
|
|
1973
|
+
},
|
|
1974
|
+
{
|
|
1975
|
+
"kind": "field",
|
|
1976
|
+
"name": "overflowPriority",
|
|
1977
|
+
"type": {
|
|
1978
|
+
"text": "ToolbarItemOverflowBehavior",
|
|
1979
|
+
"references": [
|
|
1980
|
+
{
|
|
1981
|
+
"name": "ToolbarItemOverflowBehavior",
|
|
1982
|
+
"package": "@ui5/webcomponents",
|
|
1983
|
+
"module": "dist/types/ToolbarItemOverflowBehavior.js"
|
|
1984
|
+
}
|
|
1985
|
+
]
|
|
1986
|
+
},
|
|
1987
|
+
"default": "\"Default\"",
|
|
1988
|
+
"description": "Property used to define the access of the item to the overflow Popover. If \"NeverOverflow\" option is set,\nthe item never goes in the Popover, if \"AlwaysOverflow\" - it never comes out of it.",
|
|
1989
|
+
"privacy": "public"
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
"kind": "field",
|
|
1993
|
+
"name": "preventOverflowClosing",
|
|
1994
|
+
"type": {
|
|
1995
|
+
"text": "boolean"
|
|
1996
|
+
},
|
|
1997
|
+
"default": "false",
|
|
1998
|
+
"description": "Defines if the toolbar overflow popup should close upon interaction with the item.\nIt will close by default.",
|
|
1999
|
+
"privacy": "public"
|
|
2000
|
+
}
|
|
2001
|
+
],
|
|
2002
|
+
"attributes": [
|
|
2003
|
+
{
|
|
2004
|
+
"description": "Defines the text of the label.",
|
|
2005
|
+
"name": "text",
|
|
2006
|
+
"default": "\"\"",
|
|
2007
|
+
"fieldName": "text",
|
|
2008
|
+
"type": {
|
|
2009
|
+
"text": "string"
|
|
2010
|
+
}
|
|
2011
|
+
},
|
|
2012
|
+
{
|
|
2013
|
+
"description": "Property used to define the access of the item to the overflow Popover. If \"NeverOverflow\" option is set,\nthe item never goes in the Popover, if \"AlwaysOverflow\" - it never comes out of it.",
|
|
2014
|
+
"name": "overflow-priority",
|
|
2015
|
+
"default": "\"Default\"",
|
|
2016
|
+
"fieldName": "overflowPriority",
|
|
2017
|
+
"type": {
|
|
2018
|
+
"text": "\"Default\" | \"NeverOverflow\" | \"AlwaysOverflow\""
|
|
2019
|
+
}
|
|
2020
|
+
},
|
|
2021
|
+
{
|
|
2022
|
+
"description": "Defines if the toolbar overflow popup should close upon interaction with the item.\nIt will close by default.",
|
|
2023
|
+
"name": "prevent-overflow-closing",
|
|
2024
|
+
"default": "false",
|
|
2025
|
+
"fieldName": "preventOverflowClosing",
|
|
2026
|
+
"type": {
|
|
2027
|
+
"text": "boolean"
|
|
2028
|
+
}
|
|
2029
|
+
}
|
|
2030
|
+
],
|
|
2031
|
+
"superclass": {
|
|
2032
|
+
"name": "ToolbarItem",
|
|
2033
|
+
"package": "@ui5/webcomponents",
|
|
2034
|
+
"module": "dist/ToolbarItem.js"
|
|
2035
|
+
},
|
|
2036
|
+
"tagName": "ui5-ai-toolbar-label",
|
|
2037
|
+
"customElement": true,
|
|
2038
|
+
"_ui5since": "1.0.0-rc.1",
|
|
2039
|
+
"_ui5privacy": "private",
|
|
2040
|
+
"slots": [
|
|
2041
|
+
{
|
|
2042
|
+
"name": "default",
|
|
2043
|
+
"description": "Wrapped component slot.",
|
|
2044
|
+
"_ui5since": "2.20.0",
|
|
2045
|
+
"_ui5propertyName": "item",
|
|
2046
|
+
"_ui5type": {
|
|
2047
|
+
"text": "Array<IToolbarItemContent>",
|
|
2048
|
+
"references": [
|
|
2049
|
+
{
|
|
2050
|
+
"name": "IToolbarItemContent",
|
|
2051
|
+
"package": "@ui5/webcomponents",
|
|
2052
|
+
"module": "dist/ToolbarItem.js"
|
|
2053
|
+
}
|
|
2054
|
+
]
|
|
2055
|
+
},
|
|
2056
|
+
"_ui5privacy": "public"
|
|
2057
|
+
}
|
|
2058
|
+
]
|
|
2059
|
+
}
|
|
2060
|
+
],
|
|
1907
2061
|
"exports": [
|
|
1908
2062
|
{
|
|
1909
2063
|
"kind": "js",
|
|
@@ -1912,13 +2066,155 @@
|
|
|
1912
2066
|
"name": "ToolbarLabel",
|
|
1913
2067
|
"module": "dist/ToolbarLabel.js"
|
|
1914
2068
|
}
|
|
2069
|
+
},
|
|
2070
|
+
{
|
|
2071
|
+
"kind": "custom-element-definition",
|
|
2072
|
+
"name": "ui5-ai-toolbar-label",
|
|
2073
|
+
"declaration": {
|
|
2074
|
+
"name": "ToolbarLabel",
|
|
2075
|
+
"module": "dist/ToolbarLabel.js"
|
|
2076
|
+
}
|
|
1915
2077
|
}
|
|
1916
2078
|
]
|
|
1917
2079
|
},
|
|
1918
2080
|
{
|
|
1919
2081
|
"kind": "javascript-module",
|
|
1920
2082
|
"path": "dist/Versioning.js",
|
|
1921
|
-
"declarations": [
|
|
2083
|
+
"declarations": [
|
|
2084
|
+
{
|
|
2085
|
+
"kind": "class",
|
|
2086
|
+
"description": "### Overview\n\nThe `ui5-ai-versioning` component provides navigation controls for AI-generated content versions.\nIt displays the current version index and total versions, with previous/next navigation buttons.\nThis component extends ToolbarItem to participate in toolbar overflow behavior as a single unit.\n\n### Structure\nThe `ui5-ai-versioning` consists of the following elements:\n- Previous Button: Navigates to the previous version (disabled when at first version)\n- Version Counter: Shows current version / total versions (e.g., \"2 / 5\")\n- Next Button: Navigates to the nex\nt version (disabled when at last version)\n\n### Focus Management\nThe component automatically manages focus when users reach version boundaries,\nmoving focus to the available navigation button when one becomes disabled.\n\n### Responsive Behavior\nWhen used in a toolbar, the entire versioning component (buttons + label) will overflow\ntogether as a single unit when there is insufficient space.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/Versioning.js\";`",
|
|
2087
|
+
"name": "Versioning",
|
|
2088
|
+
"members": [
|
|
2089
|
+
{
|
|
2090
|
+
"kind": "field",
|
|
2091
|
+
"name": "currentStep",
|
|
2092
|
+
"type": {
|
|
2093
|
+
"text": "number"
|
|
2094
|
+
},
|
|
2095
|
+
"default": "0",
|
|
2096
|
+
"description": "Indicates the index of the currently displayed result version.\n\nThis property represents the current position in the version history.",
|
|
2097
|
+
"privacy": "public"
|
|
2098
|
+
},
|
|
2099
|
+
{
|
|
2100
|
+
"kind": "field",
|
|
2101
|
+
"name": "totalSteps",
|
|
2102
|
+
"type": {
|
|
2103
|
+
"text": "number"
|
|
2104
|
+
},
|
|
2105
|
+
"default": "0",
|
|
2106
|
+
"description": "The total number of available result versions.\n\nNote: Versioning is hidden if the value is `0`.",
|
|
2107
|
+
"privacy": "public"
|
|
2108
|
+
},
|
|
2109
|
+
{
|
|
2110
|
+
"kind": "field",
|
|
2111
|
+
"name": "overflowPriority",
|
|
2112
|
+
"type": {
|
|
2113
|
+
"text": "ToolbarItemOverflowBehavior",
|
|
2114
|
+
"references": [
|
|
2115
|
+
{
|
|
2116
|
+
"name": "ToolbarItemOverflowBehavior",
|
|
2117
|
+
"package": "@ui5/webcomponents",
|
|
2118
|
+
"module": "dist/types/ToolbarItemOverflowBehavior.js"
|
|
2119
|
+
}
|
|
2120
|
+
]
|
|
2121
|
+
},
|
|
2122
|
+
"default": "\"Default\"",
|
|
2123
|
+
"description": "Property used to define the access of the item to the overflow Popover. If \"NeverOverflow\" option is set,\nthe item never goes in the Popover, if \"AlwaysOverflow\" - it never comes out of it.",
|
|
2124
|
+
"privacy": "public"
|
|
2125
|
+
},
|
|
2126
|
+
{
|
|
2127
|
+
"kind": "field",
|
|
2128
|
+
"name": "preventOverflowClosing",
|
|
2129
|
+
"type": {
|
|
2130
|
+
"text": "boolean"
|
|
2131
|
+
},
|
|
2132
|
+
"default": "false",
|
|
2133
|
+
"description": "Defines if the toolbar overflow popup should close upon interaction with the item.\nIt will close by default.",
|
|
2134
|
+
"privacy": "public"
|
|
2135
|
+
}
|
|
2136
|
+
],
|
|
2137
|
+
"events": [
|
|
2138
|
+
{
|
|
2139
|
+
"name": "version-change",
|
|
2140
|
+
"_ui5privacy": "public",
|
|
2141
|
+
"type": {
|
|
2142
|
+
"text": "CustomEvent"
|
|
2143
|
+
},
|
|
2144
|
+
"description": "Fired when the user clicks on version navigation buttons.",
|
|
2145
|
+
"_ui5Cancelable": false,
|
|
2146
|
+
"_ui5allowPreventDefault": false,
|
|
2147
|
+
"_ui5Bubbles": false
|
|
2148
|
+
}
|
|
2149
|
+
],
|
|
2150
|
+
"attributes": [
|
|
2151
|
+
{
|
|
2152
|
+
"description": "Indicates the index of the currently displayed result version.\n\nThis property represents the current position in the version history.",
|
|
2153
|
+
"name": "current-step",
|
|
2154
|
+
"default": "0",
|
|
2155
|
+
"fieldName": "currentStep",
|
|
2156
|
+
"type": {
|
|
2157
|
+
"text": "number"
|
|
2158
|
+
}
|
|
2159
|
+
},
|
|
2160
|
+
{
|
|
2161
|
+
"description": "The total number of available result versions.\n\nNote: Versioning is hidden if the value is `0`.",
|
|
2162
|
+
"name": "total-steps",
|
|
2163
|
+
"default": "0",
|
|
2164
|
+
"fieldName": "totalSteps",
|
|
2165
|
+
"type": {
|
|
2166
|
+
"text": "number"
|
|
2167
|
+
}
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
"description": "Property used to define the access of the item to the overflow Popover. If \"NeverOverflow\" option is set,\nthe item never goes in the Popover, if \"AlwaysOverflow\" - it never comes out of it.",
|
|
2171
|
+
"name": "overflow-priority",
|
|
2172
|
+
"default": "\"Default\"",
|
|
2173
|
+
"fieldName": "overflowPriority",
|
|
2174
|
+
"type": {
|
|
2175
|
+
"text": "\"Default\" | \"NeverOverflow\" | \"AlwaysOverflow\""
|
|
2176
|
+
}
|
|
2177
|
+
},
|
|
2178
|
+
{
|
|
2179
|
+
"description": "Defines if the toolbar overflow popup should close upon interaction with the item.\nIt will close by default.",
|
|
2180
|
+
"name": "prevent-overflow-closing",
|
|
2181
|
+
"default": "false",
|
|
2182
|
+
"fieldName": "preventOverflowClosing",
|
|
2183
|
+
"type": {
|
|
2184
|
+
"text": "boolean"
|
|
2185
|
+
}
|
|
2186
|
+
}
|
|
2187
|
+
],
|
|
2188
|
+
"superclass": {
|
|
2189
|
+
"name": "ToolbarItem",
|
|
2190
|
+
"package": "@ui5/webcomponents",
|
|
2191
|
+
"module": "dist/ToolbarItem.js"
|
|
2192
|
+
},
|
|
2193
|
+
"tagName": "ui5-ai-versioning",
|
|
2194
|
+
"customElement": true,
|
|
2195
|
+
"_ui5since": "2.16.0",
|
|
2196
|
+
"_ui5privacy": "private",
|
|
2197
|
+
"slots": [
|
|
2198
|
+
{
|
|
2199
|
+
"name": "default",
|
|
2200
|
+
"description": "Wrapped component slot.",
|
|
2201
|
+
"_ui5since": "2.20.0",
|
|
2202
|
+
"_ui5propertyName": "item",
|
|
2203
|
+
"_ui5type": {
|
|
2204
|
+
"text": "Array<IToolbarItemContent>",
|
|
2205
|
+
"references": [
|
|
2206
|
+
{
|
|
2207
|
+
"name": "IToolbarItemContent",
|
|
2208
|
+
"package": "@ui5/webcomponents",
|
|
2209
|
+
"module": "dist/ToolbarItem.js"
|
|
2210
|
+
}
|
|
2211
|
+
]
|
|
2212
|
+
},
|
|
2213
|
+
"_ui5privacy": "public"
|
|
2214
|
+
}
|
|
2215
|
+
]
|
|
2216
|
+
}
|
|
2217
|
+
],
|
|
1922
2218
|
"exports": [
|
|
1923
2219
|
{
|
|
1924
2220
|
"kind": "js",
|
|
@@ -1927,13 +2223,144 @@
|
|
|
1927
2223
|
"name": "Versioning",
|
|
1928
2224
|
"module": "dist/Versioning.js"
|
|
1929
2225
|
}
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
"kind": "custom-element-definition",
|
|
2229
|
+
"name": "ui5-ai-versioning",
|
|
2230
|
+
"declaration": {
|
|
2231
|
+
"name": "Versioning",
|
|
2232
|
+
"module": "dist/Versioning.js"
|
|
2233
|
+
}
|
|
1930
2234
|
}
|
|
1931
2235
|
]
|
|
1932
2236
|
},
|
|
1933
2237
|
{
|
|
1934
2238
|
"kind": "javascript-module",
|
|
1935
2239
|
"path": "dist/WritingAssistant.js",
|
|
1936
|
-
"declarations": [
|
|
2240
|
+
"declarations": [
|
|
2241
|
+
{
|
|
2242
|
+
"kind": "class",
|
|
2243
|
+
"description": "### Overview\n\nThe `ui5-ai-textarea-toolbar` component provides a specialized toolbar for AI TextArea functionality.\nIt manages different states of the AI assistant and provides version navigation capabilities.\n\n### Structure\nThe `ui5-ai-textarea-toolbar` consists of the following elements:\n- AI Generate Button: Triggers AI text generation or stops ongoing generation\n- Version Navigation: Allows navigation between multiple AI-generated results\n- Action Label: Displays the current AI action being performed\n\n### ES6 Module Import\n\n`import \"@sap-webcomponents/ai/dist/WritingAssistant.js\";`",
|
|
2244
|
+
"name": "WritingAssistant",
|
|
2245
|
+
"members": [
|
|
2246
|
+
{
|
|
2247
|
+
"kind": "field",
|
|
2248
|
+
"name": "currentVersion",
|
|
2249
|
+
"type": {
|
|
2250
|
+
"text": "number"
|
|
2251
|
+
},
|
|
2252
|
+
"default": "0",
|
|
2253
|
+
"description": "Indicates the index of the currently displayed result version.\n\nThe index is **0-based** (i.e. `0` represents the first result).\nThis property is synchronized with the parent AI TextArea component.",
|
|
2254
|
+
"privacy": "public",
|
|
2255
|
+
"_ui5since": "2.16.0"
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
"kind": "method",
|
|
2259
|
+
"name": "handleButtonClick",
|
|
2260
|
+
"return": {
|
|
2261
|
+
"type": {
|
|
2262
|
+
"text": "void"
|
|
2263
|
+
}
|
|
2264
|
+
},
|
|
2265
|
+
"description": "Handles the click event for the AI generate button.\nToggles between generate and stop states based on current button state.",
|
|
2266
|
+
"privacy": "public"
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
"kind": "field",
|
|
2270
|
+
"name": "promptDescription",
|
|
2271
|
+
"type": {
|
|
2272
|
+
"text": "string"
|
|
2273
|
+
},
|
|
2274
|
+
"default": "\"\"",
|
|
2275
|
+
"description": "Defines the prompt description of the Writing Assistant.\n\nThis text is displayed in the toolbar to indicate the current or last\nperformed AI action (e.g., \"Generated text\", \"Simplified text\").",
|
|
2276
|
+
"privacy": "public"
|
|
2277
|
+
},
|
|
2278
|
+
{
|
|
2279
|
+
"kind": "field",
|
|
2280
|
+
"name": "totalVersions",
|
|
2281
|
+
"type": {
|
|
2282
|
+
"text": "number"
|
|
2283
|
+
},
|
|
2284
|
+
"default": "0",
|
|
2285
|
+
"description": "Indicates the total number of result versions available.\n\nThis property determines whether version navigation controls are displayed.\nWhen totalVersions > 0, previous/next buttons become available.",
|
|
2286
|
+
"privacy": "public"
|
|
2287
|
+
}
|
|
2288
|
+
],
|
|
2289
|
+
"events": [
|
|
2290
|
+
{
|
|
2291
|
+
"name": "button-click",
|
|
2292
|
+
"_ui5privacy": "public",
|
|
2293
|
+
"type": {
|
|
2294
|
+
"text": "CustomEvent"
|
|
2295
|
+
},
|
|
2296
|
+
"description": "Fired when the user clicks on the AI button.",
|
|
2297
|
+
"_ui5Cancelable": false,
|
|
2298
|
+
"_ui5allowPreventDefault": false,
|
|
2299
|
+
"_ui5Bubbles": false
|
|
2300
|
+
},
|
|
2301
|
+
{
|
|
2302
|
+
"name": "stop-generation",
|
|
2303
|
+
"_ui5privacy": "public",
|
|
2304
|
+
"type": {
|
|
2305
|
+
"text": "CustomEvent"
|
|
2306
|
+
},
|
|
2307
|
+
"description": "Fired when the user clicks on the \"Stop\" button to stop ongoing AI text generation.",
|
|
2308
|
+
"_ui5Cancelable": false,
|
|
2309
|
+
"_ui5allowPreventDefault": false,
|
|
2310
|
+
"_ui5Bubbles": false
|
|
2311
|
+
},
|
|
2312
|
+
{
|
|
2313
|
+
"name": "version-change",
|
|
2314
|
+
"_ui5privacy": "public",
|
|
2315
|
+
"type": {
|
|
2316
|
+
"text": "CustomEvent"
|
|
2317
|
+
},
|
|
2318
|
+
"description": "Fired when the user clicks on version navigation buttons.",
|
|
2319
|
+
"_ui5Cancelable": false,
|
|
2320
|
+
"_ui5allowPreventDefault": false,
|
|
2321
|
+
"_ui5Bubbles": false
|
|
2322
|
+
}
|
|
2323
|
+
],
|
|
2324
|
+
"attributes": [
|
|
2325
|
+
{
|
|
2326
|
+
"description": "Indicates the index of the currently displayed result version.\n\nThe index is **0-based** (i.e. `0` represents the first result).\nThis property is synchronized with the parent AI TextArea component.",
|
|
2327
|
+
"name": "current-version",
|
|
2328
|
+
"default": "0",
|
|
2329
|
+
"fieldName": "currentVersion",
|
|
2330
|
+
"type": {
|
|
2331
|
+
"text": "number"
|
|
2332
|
+
}
|
|
2333
|
+
},
|
|
2334
|
+
{
|
|
2335
|
+
"description": "Defines the prompt description of the Writing Assistant.\n\nThis text is displayed in the toolbar to indicate the current or last\nperformed AI action (e.g., \"Generated text\", \"Simplified text\").",
|
|
2336
|
+
"name": "prompt-description",
|
|
2337
|
+
"default": "\"\"",
|
|
2338
|
+
"fieldName": "promptDescription",
|
|
2339
|
+
"type": {
|
|
2340
|
+
"text": "string"
|
|
2341
|
+
}
|
|
2342
|
+
},
|
|
2343
|
+
{
|
|
2344
|
+
"description": "Indicates the total number of result versions available.\n\nThis property determines whether version navigation controls are displayed.\nWhen totalVersions > 0, previous/next buttons become available.",
|
|
2345
|
+
"name": "total-versions",
|
|
2346
|
+
"default": "0",
|
|
2347
|
+
"fieldName": "totalVersions",
|
|
2348
|
+
"type": {
|
|
2349
|
+
"text": "number"
|
|
2350
|
+
}
|
|
2351
|
+
}
|
|
2352
|
+
],
|
|
2353
|
+
"superclass": {
|
|
2354
|
+
"name": "UI5Element",
|
|
2355
|
+
"package": "@ui5/webcomponents-base",
|
|
2356
|
+
"module": "dist/UI5Element.js"
|
|
2357
|
+
},
|
|
2358
|
+
"tagName": "ui5-ai-writing-assistant",
|
|
2359
|
+
"customElement": true,
|
|
2360
|
+
"_ui5since": "2.16.0",
|
|
2361
|
+
"_ui5privacy": "private"
|
|
2362
|
+
}
|
|
2363
|
+
],
|
|
1937
2364
|
"exports": [
|
|
1938
2365
|
{
|
|
1939
2366
|
"kind": "js",
|
|
@@ -1942,6 +2369,14 @@
|
|
|
1942
2369
|
"name": "WritingAssistant",
|
|
1943
2370
|
"module": "dist/WritingAssistant.js"
|
|
1944
2371
|
}
|
|
2372
|
+
},
|
|
2373
|
+
{
|
|
2374
|
+
"kind": "custom-element-definition",
|
|
2375
|
+
"name": "ui5-ai-writing-assistant",
|
|
2376
|
+
"declaration": {
|
|
2377
|
+
"name": "WritingAssistant",
|
|
2378
|
+
"module": "dist/WritingAssistant.js"
|
|
2379
|
+
}
|
|
1945
2380
|
}
|
|
1946
2381
|
]
|
|
1947
2382
|
}
|