@ui5/webcomponents 2.19.2 → 2.20.0-rc.1
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 +32 -4
- package/dist/.tsbuildinfo +1 -1
- package/dist/Avatar.d.ts +23 -2
- package/dist/Avatar.js +41 -4
- package/dist/Avatar.js.map +1 -1
- package/dist/AvatarGroup.d.ts +5 -0
- package/dist/AvatarGroup.js +17 -10
- package/dist/AvatarGroup.js.map +1 -1
- package/dist/AvatarTemplate.js +1 -1
- package/dist/AvatarTemplate.js.map +1 -1
- package/dist/Breadcrumbs.d.ts +4 -1
- package/dist/Breadcrumbs.js +4 -0
- package/dist/Breadcrumbs.js.map +1 -1
- package/dist/ColorPalette.d.ts +14 -0
- package/dist/ColorPalette.js +11 -1
- package/dist/ColorPalette.js.map +1 -1
- package/dist/ColorPalettePopover.d.ts +14 -0
- package/dist/ColorPalettePopover.js +6 -0
- package/dist/ColorPalettePopover.js.map +1 -1
- package/dist/ColorPalettePopoverTemplate.js +1 -1
- package/dist/ColorPalettePopoverTemplate.js.map +1 -1
- package/dist/ColorPaletteTemplate.js +1 -1
- package/dist/ColorPaletteTemplate.js.map +1 -1
- package/dist/ColorPicker.d.ts +14 -0
- package/dist/ColorPicker.js +11 -1
- package/dist/ColorPicker.js.map +1 -1
- package/dist/ColorPickerTemplate.js +1 -1
- package/dist/ColorPickerTemplate.js.map +1 -1
- package/dist/DateComponentBase.d.ts +2 -2
- package/dist/DateComponentBase.js +1 -1
- package/dist/DateComponentBase.js.map +1 -1
- package/dist/DatePicker.d.ts +3 -2
- package/dist/DatePicker.js +6 -3
- package/dist/DatePicker.js.map +1 -1
- package/dist/DatePickerPopoverTemplate.js +8 -4
- package/dist/DatePickerPopoverTemplate.js.map +1 -1
- package/dist/List.js +6 -0
- package/dist/List.js.map +1 -1
- package/dist/ListItemCustom.d.ts +21 -1
- package/dist/ListItemCustom.js +86 -2
- package/dist/ListItemCustom.js.map +1 -1
- package/dist/ListItemGroup.d.ts +1 -0
- package/dist/ListItemGroup.js +1 -0
- package/dist/ListItemGroup.js.map +1 -1
- package/dist/ListItemGroupTemplate.js +1 -1
- package/dist/ListItemGroupTemplate.js.map +1 -1
- package/dist/Menu.d.ts +2 -1
- package/dist/Menu.js +14 -7
- package/dist/Menu.js.map +1 -1
- package/dist/MenuItem.d.ts +1 -0
- package/dist/MenuItem.js +6 -2
- package/dist/MenuItem.js.map +1 -1
- package/dist/MultiComboBoxPopoverTemplate.js +2 -1
- package/dist/MultiComboBoxPopoverTemplate.js.map +1 -1
- package/dist/MultiInputTemplate.js +2 -1
- package/dist/MultiInputTemplate.js.map +1 -1
- package/dist/Panel.d.ts +3 -0
- package/dist/Panel.js +13 -0
- package/dist/Panel.js.map +1 -1
- package/dist/PanelTemplate.js +1 -1
- package/dist/PanelTemplate.js.map +1 -1
- package/dist/RatingIndicator.d.ts +17 -0
- package/dist/RatingIndicator.js +12 -0
- package/dist/RatingIndicator.js.map +1 -1
- package/dist/RatingIndicatorTemplate.js +6 -8
- package/dist/RatingIndicatorTemplate.js.map +1 -1
- package/dist/SplitButton.d.ts +2 -0
- package/dist/SplitButton.js +5 -0
- package/dist/SplitButton.js.map +1 -1
- package/dist/StepInput.js +2 -2
- package/dist/StepInput.js.map +1 -1
- package/dist/Switch.js +2 -2
- package/dist/Switch.js.map +1 -1
- package/dist/TimePickerPopoverTemplate.js +2 -3
- package/dist/TimePickerPopoverTemplate.js.map +1 -1
- package/dist/Tokenizer.js +2 -2
- package/dist/Tokenizer.js.map +1 -1
- package/dist/Toolbar.d.ts +5 -2
- package/dist/Toolbar.js +29 -4
- package/dist/Toolbar.js.map +1 -1
- package/dist/ToolbarItem.d.ts +40 -1
- package/dist/ToolbarItem.js +97 -2
- package/dist/ToolbarItem.js.map +1 -1
- package/dist/ToolbarItemTemplate.d.ts +2 -0
- package/dist/ToolbarItemTemplate.js +5 -0
- package/dist/ToolbarItemTemplate.js.map +1 -0
- package/dist/ToolbarTemplate.js +9 -8
- package/dist/ToolbarTemplate.js.map +1 -1
- package/dist/bundle.esm.js +1 -0
- package/dist/bundle.esm.js.map +1 -1
- package/dist/css/themes/Avatar.css +1 -1
- package/dist/css/themes/Bar.css +1 -1
- package/dist/css/themes/DatePickerPopover.css +1 -1
- package/dist/css/themes/Panel.css +1 -1
- package/dist/css/themes/RatingIndicator.css +1 -1
- package/dist/css/themes/ResponsivePopoverCommon.css +1 -1
- package/dist/css/themes/TimePickerPopover.css +1 -1
- package/dist/css/themes/Toolbar.css +1 -1
- package/dist/css/themes/ToolbarItem.css +1 -0
- package/dist/css/themes/ToolbarPopover.css +1 -1
- package/dist/custom-elements-internal.json +476 -11
- package/dist/custom-elements.json +340 -7
- package/dist/features/InputSuggestionsTemplate.js +2 -1
- package/dist/features/InputSuggestionsTemplate.js.map +1 -1
- 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.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.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/i18n/i18n-defaults.d.ts +2 -2
- package/dist/generated/i18n/i18n-defaults.js +2 -2
- package/dist/generated/i18n/i18n-defaults.js.map +1 -1
- package/dist/generated/themes/Avatar.css.d.ts +1 -1
- package/dist/generated/themes/Avatar.css.js +1 -1
- package/dist/generated/themes/Avatar.css.js.map +1 -1
- package/dist/generated/themes/Bar.css.d.ts +1 -1
- package/dist/generated/themes/Bar.css.js +1 -1
- package/dist/generated/themes/Bar.css.js.map +1 -1
- package/dist/generated/themes/DatePickerPopover.css.d.ts +1 -1
- package/dist/generated/themes/DatePickerPopover.css.js +1 -1
- package/dist/generated/themes/DatePickerPopover.css.js.map +1 -1
- package/dist/generated/themes/Panel.css.d.ts +1 -1
- package/dist/generated/themes/Panel.css.js +1 -1
- package/dist/generated/themes/Panel.css.js.map +1 -1
- package/dist/generated/themes/RatingIndicator.css.d.ts +1 -1
- package/dist/generated/themes/RatingIndicator.css.js +1 -1
- package/dist/generated/themes/RatingIndicator.css.js.map +1 -1
- package/dist/generated/themes/ResponsivePopoverCommon.css.d.ts +1 -1
- package/dist/generated/themes/ResponsivePopoverCommon.css.js +1 -1
- package/dist/generated/themes/ResponsivePopoverCommon.css.js.map +1 -1
- package/dist/generated/themes/TimePickerPopover.css.d.ts +1 -1
- package/dist/generated/themes/TimePickerPopover.css.js +1 -1
- package/dist/generated/themes/TimePickerPopover.css.js.map +1 -1
- package/dist/generated/themes/Toolbar.css.d.ts +1 -1
- package/dist/generated/themes/Toolbar.css.js +1 -1
- package/dist/generated/themes/Toolbar.css.js.map +1 -1
- package/dist/generated/themes/ToolbarItem.css.d.ts +2 -0
- package/dist/generated/themes/ToolbarItem.css.js +8 -0
- package/dist/generated/themes/ToolbarItem.css.js.map +1 -0
- package/dist/generated/themes/ToolbarPopover.css.d.ts +1 -1
- package/dist/generated/themes/ToolbarPopover.css.js +1 -1
- package/dist/generated/themes/ToolbarPopover.css.js.map +1 -1
- package/dist/types/AvatarMode.d.ts +30 -0
- package/dist/types/AvatarMode.js +32 -0
- package/dist/types/AvatarMode.js.map +1 -0
- package/dist/vscode.html-custom-data.json +64 -14
- package/dist/web-types.json +234 -19
- package/package.json +10 -10
- package/src/AvatarTemplate.tsx +1 -0
- package/src/ColorPalettePopoverTemplate.tsx +3 -0
- package/src/ColorPaletteTemplate.tsx +1 -1
- package/src/ColorPickerTemplate.tsx +2 -2
- package/src/DatePickerPopoverTemplate.tsx +21 -10
- package/src/ListItemGroupTemplate.tsx +9 -3
- package/src/MultiComboBoxPopoverTemplate.tsx +8 -1
- package/src/MultiInputTemplate.tsx +2 -1
- package/src/PanelTemplate.tsx +2 -0
- package/src/RatingIndicatorTemplate.tsx +10 -10
- package/src/TimePickerPopoverTemplate.tsx +1 -9
- package/src/ToolbarItemTemplate.tsx +7 -0
- package/src/ToolbarTemplate.tsx +9 -16
- package/src/features/InputSuggestionsTemplate.tsx +9 -2
- package/src/i18n/messagebundle.properties +5 -5
- package/src/i18n/messagebundle_ar.properties +14 -8
- package/src/i18n/messagebundle_bg.properties +14 -8
- package/src/i18n/messagebundle_ca.properties +14 -8
- package/src/i18n/messagebundle_cnr.properties +14 -8
- package/src/i18n/messagebundle_cs.properties +14 -8
- package/src/i18n/messagebundle_cy.properties +14 -8
- package/src/i18n/messagebundle_da.properties +14 -8
- package/src/i18n/messagebundle_de.properties +14 -8
- package/src/i18n/messagebundle_el.properties +14 -8
- package/src/i18n/messagebundle_en.properties +14 -8
- package/src/i18n/messagebundle_en_GB.properties +14 -8
- package/src/i18n/messagebundle_en_US_sappsd.properties +17 -11
- package/src/i18n/messagebundle_en_US_saprigi.properties +17 -11
- package/src/i18n/messagebundle_en_US_saptrc.properties +17 -11
- package/src/i18n/messagebundle_es.properties +16 -10
- package/src/i18n/messagebundle_es_MX.properties +15 -9
- package/src/i18n/messagebundle_et.properties +14 -8
- package/src/i18n/messagebundle_fi.properties +14 -8
- package/src/i18n/messagebundle_fr.properties +14 -8
- package/src/i18n/messagebundle_fr_CA.properties +15 -9
- package/src/i18n/messagebundle_hi.properties +14 -8
- package/src/i18n/messagebundle_hr.properties +14 -8
- package/src/i18n/messagebundle_hu.properties +14 -8
- package/src/i18n/messagebundle_id.properties +14 -8
- package/src/i18n/messagebundle_it.properties +14 -8
- package/src/i18n/messagebundle_iw.properties +14 -8
- package/src/i18n/messagebundle_ja.properties +14 -8
- package/src/i18n/messagebundle_kk.properties +14 -8
- package/src/i18n/messagebundle_ko.properties +14 -8
- package/src/i18n/messagebundle_lt.properties +14 -8
- package/src/i18n/messagebundle_lv.properties +14 -8
- package/src/i18n/messagebundle_mk.properties +14 -8
- package/src/i18n/messagebundle_ms.properties +14 -8
- package/src/i18n/messagebundle_nl.properties +14 -8
- package/src/i18n/messagebundle_no.properties +14 -8
- package/src/i18n/messagebundle_pl.properties +14 -8
- package/src/i18n/messagebundle_pt.properties +14 -8
- package/src/i18n/messagebundle_pt_PT.properties +14 -8
- package/src/i18n/messagebundle_ro.properties +14 -8
- package/src/i18n/messagebundle_ru.properties +14 -8
- package/src/i18n/messagebundle_sh.properties +14 -8
- package/src/i18n/messagebundle_sk.properties +14 -8
- package/src/i18n/messagebundle_sl.properties +14 -8
- package/src/i18n/messagebundle_sr.properties +14 -8
- package/src/i18n/messagebundle_sv.properties +14 -8
- package/src/i18n/messagebundle_th.properties +14 -8
- package/src/i18n/messagebundle_tr.properties +14 -8
- package/src/i18n/messagebundle_uk.properties +14 -8
- package/src/i18n/messagebundle_vi.properties +14 -8
- package/src/i18n/messagebundle_zh_CN.properties +14 -8
- package/src/i18n/messagebundle_zh_TW.properties +15 -9
- package/src/themes/Avatar.css +39 -14
- package/src/themes/Bar.css +1 -1
- package/src/themes/DatePickerPopover.css +24 -1
- package/src/themes/Panel.css +5 -1
- package/src/themes/RatingIndicator.css +26 -12
- package/src/themes/ResponsivePopoverCommon.css +1 -1
- package/src/themes/TimePickerPopover.css +7 -0
- package/src/themes/Toolbar.css +11 -3
- package/src/themes/ToolbarItem.css +8 -0
- package/src/themes/ToolbarPopover.css +1 -1
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"declarations": [
|
|
27
27
|
{
|
|
28
28
|
"kind": "class",
|
|
29
|
-
"description": "### Overview\n\nAn image-like component that has different display options for representing images and icons\nin different shapes and sizes, depending on the use case.\n\nThe shape can be circular or square. There are several predefined sizes, as well as an option to\nset a custom size.\n\n### Keyboard Handling\n\n- [Space] / [Enter] or [Return] - Fires the `click` event if the `interactive` property is set to true.\n- [Shift] - If [Space] is pressed, pressing [Shift] releases the component without triggering the click event.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents/dist/Avatar.js\";`",
|
|
29
|
+
"description": "### Overview\n\nAn image-like component that has different display options for representing images and icons\nin different shapes and sizes, depending on the use case.\n\nThe shape can be circular or square. There are several predefined sizes, as well as an option to\nset a custom size.\n\n### Keyboard Handling\n\n- [Space] / [Enter] or [Return] - Fires the `click` event if the `mode` is set to `Interactive` or the deprecated `interactive` property is set to true.\n- [Shift] - If [Space] is pressed, pressing [Shift] releases the component without triggering the click event.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents/dist/Avatar.js\";`",
|
|
30
30
|
"name": "Avatar",
|
|
31
31
|
"slots": [
|
|
32
32
|
{
|
|
@@ -56,7 +56,25 @@
|
|
|
56
56
|
"text": "boolean"
|
|
57
57
|
},
|
|
58
58
|
"default": "false",
|
|
59
|
-
"description": "Defines if the avatar is interactive (focusable and pressable).\n\n**Note:** This property won't have effect if the `disabled`\nproperty is set to `true`.",
|
|
59
|
+
"description": "Defines if the avatar is interactive (focusable and pressable).\n\n**Note:** When set to `true`, this property takes precedence over the `mode` property,\nand the avatar will be rendered as interactive (role=\"button\", focusable) regardless of the `mode` value.\n\n**Note:** This property won't have effect if the `disabled`\nproperty is set to `true`.",
|
|
60
|
+
"privacy": "public",
|
|
61
|
+
"deprecated": "Set `mode=\"Interactive\"` instead for the same functionality with proper accessibility."
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"kind": "field",
|
|
65
|
+
"name": "mode",
|
|
66
|
+
"type": {
|
|
67
|
+
"text": "AvatarMode",
|
|
68
|
+
"references": [
|
|
69
|
+
{
|
|
70
|
+
"name": "AvatarMode",
|
|
71
|
+
"package": "@ui5/webcomponents",
|
|
72
|
+
"module": "dist/types/AvatarMode.js"
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
"default": "\"Image\"",
|
|
77
|
+
"description": "Defines the mode of the component.\n\n**Note:**\n- `Image` (default) - renders with role=\"img\"\n- `Decorative` - renders with role=\"presentation\" and aria-hidden=\"true\", making it purely decorative\n- `Interactive` - renders with role=\"button\", focusable (tabindex=\"0\"), and supports keyboard interaction\n\n**Note:** This property is ignored when the `interactive` property is set to `true`.\nIn that case, the avatar will always be rendered as interactive.",
|
|
60
78
|
"privacy": "public"
|
|
61
79
|
},
|
|
62
80
|
{
|
|
@@ -188,12 +206,22 @@
|
|
|
188
206
|
}
|
|
189
207
|
},
|
|
190
208
|
{
|
|
191
|
-
"description": "Defines if the avatar is interactive (focusable and pressable).\n\n**Note:** This property won't have effect if the `disabled`\nproperty is set to `true`.",
|
|
209
|
+
"description": "Defines if the avatar is interactive (focusable and pressable).\n\n**Note:** When set to `true`, this property takes precedence over the `mode` property,\nand the avatar will be rendered as interactive (role=\"button\", focusable) regardless of the `mode` value.\n\n**Note:** This property won't have effect if the `disabled`\nproperty is set to `true`.",
|
|
192
210
|
"name": "interactive",
|
|
193
211
|
"default": "false",
|
|
194
212
|
"fieldName": "interactive",
|
|
195
213
|
"type": {
|
|
196
214
|
"text": "boolean"
|
|
215
|
+
},
|
|
216
|
+
"deprecated": "Set `mode=\"Interactive\"` instead for the same functionality with proper accessibility."
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"description": "Defines the mode of the component.\n\n**Note:**\n- `Image` (default) - renders with role=\"img\"\n- `Decorative` - renders with role=\"presentation\" and aria-hidden=\"true\", making it purely decorative\n- `Interactive` - renders with role=\"button\", focusable (tabindex=\"0\"), and supports keyboard interaction\n\n**Note:** This property is ignored when the `interactive` property is set to `true`.\nIn that case, the avatar will always be rendered as interactive.",
|
|
220
|
+
"name": "mode",
|
|
221
|
+
"default": "\"Image\"",
|
|
222
|
+
"fieldName": "mode",
|
|
223
|
+
"type": {
|
|
224
|
+
"text": "\"Image\" | \"Decorative\" | \"Interactive\""
|
|
197
225
|
}
|
|
198
226
|
},
|
|
199
227
|
{
|
|
@@ -3610,6 +3638,28 @@
|
|
|
3610
3638
|
"description": "Defines the `ui5-color-palette-item` elements."
|
|
3611
3639
|
}
|
|
3612
3640
|
],
|
|
3641
|
+
"members": [
|
|
3642
|
+
{
|
|
3643
|
+
"kind": "field",
|
|
3644
|
+
"name": "accessibleName",
|
|
3645
|
+
"type": {
|
|
3646
|
+
"text": "string | undefined"
|
|
3647
|
+
},
|
|
3648
|
+
"description": "Defines the accessible name of the component.",
|
|
3649
|
+
"default": "undefined",
|
|
3650
|
+
"privacy": "public"
|
|
3651
|
+
},
|
|
3652
|
+
{
|
|
3653
|
+
"kind": "field",
|
|
3654
|
+
"name": "accessibleNameRef",
|
|
3655
|
+
"type": {
|
|
3656
|
+
"text": "string | undefined"
|
|
3657
|
+
},
|
|
3658
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
3659
|
+
"default": "undefined",
|
|
3660
|
+
"privacy": "public"
|
|
3661
|
+
}
|
|
3662
|
+
],
|
|
3613
3663
|
"events": [
|
|
3614
3664
|
{
|
|
3615
3665
|
"name": "item-click",
|
|
@@ -3626,6 +3676,26 @@
|
|
|
3626
3676
|
"description": "Fired when the user selects a color."
|
|
3627
3677
|
}
|
|
3628
3678
|
],
|
|
3679
|
+
"attributes": [
|
|
3680
|
+
{
|
|
3681
|
+
"description": "Defines the accessible name of the component.",
|
|
3682
|
+
"name": "accessible-name",
|
|
3683
|
+
"default": "undefined",
|
|
3684
|
+
"fieldName": "accessibleName",
|
|
3685
|
+
"type": {
|
|
3686
|
+
"text": "string | undefined"
|
|
3687
|
+
}
|
|
3688
|
+
},
|
|
3689
|
+
{
|
|
3690
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
3691
|
+
"name": "accessible-name-ref",
|
|
3692
|
+
"default": "undefined",
|
|
3693
|
+
"fieldName": "accessibleNameRef",
|
|
3694
|
+
"type": {
|
|
3695
|
+
"text": "string | undefined"
|
|
3696
|
+
}
|
|
3697
|
+
}
|
|
3698
|
+
],
|
|
3629
3699
|
"superclass": {
|
|
3630
3700
|
"name": "UI5Element",
|
|
3631
3701
|
"package": "@ui5/webcomponents-base",
|
|
@@ -3787,6 +3857,26 @@
|
|
|
3787
3857
|
"default": "undefined",
|
|
3788
3858
|
"privacy": "public"
|
|
3789
3859
|
},
|
|
3860
|
+
{
|
|
3861
|
+
"kind": "field",
|
|
3862
|
+
"name": "accessibleName",
|
|
3863
|
+
"type": {
|
|
3864
|
+
"text": "string | undefined"
|
|
3865
|
+
},
|
|
3866
|
+
"description": "Defines the accessible name of the component.",
|
|
3867
|
+
"default": "undefined",
|
|
3868
|
+
"privacy": "public"
|
|
3869
|
+
},
|
|
3870
|
+
{
|
|
3871
|
+
"kind": "field",
|
|
3872
|
+
"name": "accessibleNameRef",
|
|
3873
|
+
"type": {
|
|
3874
|
+
"text": "string | undefined"
|
|
3875
|
+
},
|
|
3876
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
3877
|
+
"default": "undefined",
|
|
3878
|
+
"privacy": "public"
|
|
3879
|
+
},
|
|
3790
3880
|
{
|
|
3791
3881
|
"kind": "field",
|
|
3792
3882
|
"name": "open",
|
|
@@ -3885,6 +3975,24 @@
|
|
|
3885
3975
|
"text": "string | undefined"
|
|
3886
3976
|
}
|
|
3887
3977
|
},
|
|
3978
|
+
{
|
|
3979
|
+
"description": "Defines the accessible name of the component.",
|
|
3980
|
+
"name": "accessible-name",
|
|
3981
|
+
"default": "undefined",
|
|
3982
|
+
"fieldName": "accessibleName",
|
|
3983
|
+
"type": {
|
|
3984
|
+
"text": "string | undefined"
|
|
3985
|
+
}
|
|
3986
|
+
},
|
|
3987
|
+
{
|
|
3988
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
3989
|
+
"name": "accessible-name-ref",
|
|
3990
|
+
"default": "undefined",
|
|
3991
|
+
"fieldName": "accessibleNameRef",
|
|
3992
|
+
"type": {
|
|
3993
|
+
"text": "string | undefined"
|
|
3994
|
+
}
|
|
3995
|
+
},
|
|
3888
3996
|
{
|
|
3889
3997
|
"description": "Defines the open | closed state of the popover.",
|
|
3890
3998
|
"name": "open",
|
|
@@ -3979,6 +4087,26 @@
|
|
|
3979
4087
|
"default": "false",
|
|
3980
4088
|
"description": "When set to `true`, the alpha slider and inputs for RGB values will not be displayed.",
|
|
3981
4089
|
"privacy": "public"
|
|
4090
|
+
},
|
|
4091
|
+
{
|
|
4092
|
+
"kind": "field",
|
|
4093
|
+
"name": "accessibleName",
|
|
4094
|
+
"type": {
|
|
4095
|
+
"text": "string | undefined"
|
|
4096
|
+
},
|
|
4097
|
+
"description": "Defines the accessible name of the component.",
|
|
4098
|
+
"default": "undefined",
|
|
4099
|
+
"privacy": "public"
|
|
4100
|
+
},
|
|
4101
|
+
{
|
|
4102
|
+
"kind": "field",
|
|
4103
|
+
"name": "accessibleNameRef",
|
|
4104
|
+
"type": {
|
|
4105
|
+
"text": "string | undefined"
|
|
4106
|
+
},
|
|
4107
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
4108
|
+
"default": "undefined",
|
|
4109
|
+
"privacy": "public"
|
|
3982
4110
|
}
|
|
3983
4111
|
],
|
|
3984
4112
|
"events": [
|
|
@@ -4017,6 +4145,24 @@
|
|
|
4017
4145
|
"type": {
|
|
4018
4146
|
"text": "boolean"
|
|
4019
4147
|
}
|
|
4148
|
+
},
|
|
4149
|
+
{
|
|
4150
|
+
"description": "Defines the accessible name of the component.",
|
|
4151
|
+
"name": "accessible-name",
|
|
4152
|
+
"default": "undefined",
|
|
4153
|
+
"fieldName": "accessibleName",
|
|
4154
|
+
"type": {
|
|
4155
|
+
"text": "string | undefined"
|
|
4156
|
+
}
|
|
4157
|
+
},
|
|
4158
|
+
{
|
|
4159
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
4160
|
+
"name": "accessible-name-ref",
|
|
4161
|
+
"default": "undefined",
|
|
4162
|
+
"fieldName": "accessibleNameRef",
|
|
4163
|
+
"type": {
|
|
4164
|
+
"text": "string | undefined"
|
|
4165
|
+
}
|
|
4020
4166
|
}
|
|
4021
4167
|
],
|
|
4022
4168
|
"superclass": {
|
|
@@ -4595,6 +4741,14 @@
|
|
|
4595
4741
|
"name": "ListItemGroup",
|
|
4596
4742
|
"module": "dist/ListItemGroup.js"
|
|
4597
4743
|
}
|
|
4744
|
+
},
|
|
4745
|
+
{
|
|
4746
|
+
"description": "Used to style the title of the group header",
|
|
4747
|
+
"name": "title",
|
|
4748
|
+
"inheritedFrom": {
|
|
4749
|
+
"name": "ListItemGroup",
|
|
4750
|
+
"module": "dist/ListItemGroup.js"
|
|
4751
|
+
}
|
|
4598
4752
|
}
|
|
4599
4753
|
],
|
|
4600
4754
|
"attributes": [
|
|
@@ -4915,7 +5069,7 @@
|
|
|
4915
5069
|
"declarations": [
|
|
4916
5070
|
{
|
|
4917
5071
|
"kind": "class",
|
|
4918
|
-
"description": "### Overview\n\nThe `ui5-date-picker` component provides an input field with assigned calendar which opens on user action.\nThe `ui5-date-picker` allows users to select a localized date using touch,\nmouse, or keyboard input. It consists of two parts: the date input field and the\ndate picker.\n\n### Usage\n\nThe user can enter a date by:\n\n- Using the calendar that opens in a popup\n- Typing it in directly in the input field\n\nWhen the user makes an entry and presses the enter key, the calendar shows the corresponding date.\nWhen the user directly triggers the calendar display, the actual date is displayed.\n\n### Formatting\n\nIf a date is entered by typing it into\nthe input field, it must fit to the used date format.\n\nSupported format options are pattern-based on Unicode LDML Date Format notation.\nFor more information, see [UTS #35: Unicode Locale Data Markup Language](https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table).\n\nFor example, if the
|
|
5072
|
+
"description": "### Overview\n\nThe `ui5-date-picker` component provides an input field with assigned calendar which opens on user action.\nThe `ui5-date-picker` allows users to select a localized date using touch,\nmouse, or keyboard input. It consists of two parts: the date input field and the\ndate picker.\n\n### Usage\n\nThe user can enter a date by:\n\n- Using the calendar that opens in a popup\n- Typing it in directly in the input field\n\nWhen the user makes an entry and presses the enter key, the calendar shows the corresponding date.\nWhen the user directly triggers the calendar display, the actual date is displayed.\n\n### Formatting\n\nIf a date is entered by typing it into\nthe input field, it must fit to the used date format.\n\nSupported format options are pattern-based on Unicode LDML Date Format notation.\nFor more information, see [UTS #35: Unicode Locale Data Markup Language](https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table).\n\nFor example, if the valueFormat is \"yyyy-MM-dd\", the displayFormat is \"MMM d, y\", and the used locale is English, a valid value string is \"2015-07-30\", which leads to an output of \"Jul 30, 2015\".\nIf no placeholder is set to the DatePicker, the used displayFormat is displayed as a placeholder. If another placeholder is needed, it must be set.\n\n### Keyboard Handling\nThe `ui5-date-picker` provides advanced keyboard handling.\nIf the `ui5-date-picker` is focused,\nyou can open or close the drop-down by pressing [F4], [Alt] + [Up] or [Alt] + [Down] keys.\nOnce the drop-down is opened, you can use the [Up], [Down], [Left] or [Right] arrow keys\nto navigate through the dates and select one by pressing the `Space` or `Enter` keys. Moreover you can\nuse TAB to reach the buttons for changing month and year.\n\nIf the `ui5-date-picker` input field is focused and its corresponding picker dialog is not opened,\nthen users can increment or decrement the date referenced by `dateValue` property\nby using the following shortcuts:\n\n- [Page Down] - Decrements the corresponding day of the month by one\n- [Shift] + [Page Down] - Decrements the corresponding month by one\n- [Shift] + [Ctrl] + [Page Down] - Decrements the corresponding year by one\n- [Page Up] - Increments the corresponding day of the month by one\n- [Shift] + [Page Up] - Increments the corresponding month by one\n- [Shift] + [Ctrl] + [Page Up] - Increments the corresponding year by one\n\n### Calendar types\nThe component supports several calendar types - Gregorian, Buddhist, Islamic, Japanese and Persian.\nBy default the Gregorian Calendar is used. In order to use the Buddhist, Islamic, Japanese or Persian calendar,\nyou need to set the `primaryCalendarType` property and import one or more of the following modules:\n\n`import \"@ui5/webcomponents-localization/dist/features/calendar/Buddhist.js\";`\n\n`import \"@ui5/webcomponents-localization/dist/features/calendar/Islamic.js\";`\n\n`import \"@ui5/webcomponents-localization/dist/features/calendar/Japanese.js\";`\n\n`import \"@ui5/webcomponents-localization/dist/features/calendar/Persian.js\";`\n\nOr, you can use the global configuration and set the `calendarType` key:\n\n```html\n<script data-id=\"sap-ui-config\" type=\"application/json\">\n\t{\n\t\t\"calendarType\": \"Japanese\"\n\t}\n<script>\n```\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/DatePicker.js\";`",
|
|
4919
5073
|
"name": "DatePicker",
|
|
4920
5074
|
"cssParts": [
|
|
4921
5075
|
{
|
|
@@ -11485,6 +11639,10 @@
|
|
|
11485
11639
|
{
|
|
11486
11640
|
"description": "Used to style the header item of the group",
|
|
11487
11641
|
"name": "header"
|
|
11642
|
+
},
|
|
11643
|
+
{
|
|
11644
|
+
"description": "Used to style the title of the group header",
|
|
11645
|
+
"name": "title"
|
|
11488
11646
|
}
|
|
11489
11647
|
],
|
|
11490
11648
|
"slots": [
|
|
@@ -13751,6 +13909,14 @@
|
|
|
13751
13909
|
"name": "ListItemGroup",
|
|
13752
13910
|
"module": "dist/ListItemGroup.js"
|
|
13753
13911
|
}
|
|
13912
|
+
},
|
|
13913
|
+
{
|
|
13914
|
+
"description": "Used to style the title of the group header",
|
|
13915
|
+
"name": "title",
|
|
13916
|
+
"inheritedFrom": {
|
|
13917
|
+
"name": "ListItemGroup",
|
|
13918
|
+
"module": "dist/ListItemGroup.js"
|
|
13919
|
+
}
|
|
13754
13920
|
}
|
|
13755
13921
|
],
|
|
13756
13922
|
"attributes": [
|
|
@@ -16879,6 +17045,26 @@
|
|
|
16879
17045
|
"description": "Defines the tooltip of the component.",
|
|
16880
17046
|
"default": "undefined",
|
|
16881
17047
|
"privacy": "public"
|
|
17048
|
+
},
|
|
17049
|
+
{
|
|
17050
|
+
"kind": "field",
|
|
17051
|
+
"name": "iconSelected",
|
|
17052
|
+
"type": {
|
|
17053
|
+
"text": "string | undefined"
|
|
17054
|
+
},
|
|
17055
|
+
"description": "Defines the icon to be displayed for the selected (filled) rating symbol.",
|
|
17056
|
+
"default": "\"favorite\"",
|
|
17057
|
+
"privacy": "public"
|
|
17058
|
+
},
|
|
17059
|
+
{
|
|
17060
|
+
"kind": "field",
|
|
17061
|
+
"name": "iconUnselected",
|
|
17062
|
+
"type": {
|
|
17063
|
+
"text": "string | undefined"
|
|
17064
|
+
},
|
|
17065
|
+
"description": "Defines the icon to be displayed for the unselected (empty) rating symbol.",
|
|
17066
|
+
"default": "\"unfavorite\"",
|
|
17067
|
+
"privacy": "public"
|
|
16882
17068
|
}
|
|
16883
17069
|
],
|
|
16884
17070
|
"events": [
|
|
@@ -16971,6 +17157,24 @@
|
|
|
16971
17157
|
"type": {
|
|
16972
17158
|
"text": "string | undefined"
|
|
16973
17159
|
}
|
|
17160
|
+
},
|
|
17161
|
+
{
|
|
17162
|
+
"description": "Defines the icon to be displayed for the selected (filled) rating symbol.",
|
|
17163
|
+
"name": "icon-selected",
|
|
17164
|
+
"default": "\"favorite\"",
|
|
17165
|
+
"fieldName": "iconSelected",
|
|
17166
|
+
"type": {
|
|
17167
|
+
"text": "string | undefined"
|
|
17168
|
+
}
|
|
17169
|
+
},
|
|
17170
|
+
{
|
|
17171
|
+
"description": "Defines the icon to be displayed for the unselected (empty) rating symbol.",
|
|
17172
|
+
"name": "icon-unselected",
|
|
17173
|
+
"default": "\"unfavorite\"",
|
|
17174
|
+
"fieldName": "iconUnselected",
|
|
17175
|
+
"type": {
|
|
17176
|
+
"text": "string | undefined"
|
|
17177
|
+
}
|
|
16974
17178
|
}
|
|
16975
17179
|
],
|
|
16976
17180
|
"superclass": {
|
|
@@ -19883,6 +20087,14 @@
|
|
|
19883
20087
|
"name": "ListItemGroup",
|
|
19884
20088
|
"module": "dist/ListItemGroup.js"
|
|
19885
20089
|
}
|
|
20090
|
+
},
|
|
20091
|
+
{
|
|
20092
|
+
"description": "Used to style the title of the group header",
|
|
20093
|
+
"name": "title",
|
|
20094
|
+
"inheritedFrom": {
|
|
20095
|
+
"name": "ListItemGroup",
|
|
20096
|
+
"module": "dist/ListItemGroup.js"
|
|
20097
|
+
}
|
|
19886
20098
|
}
|
|
19887
20099
|
],
|
|
19888
20100
|
"attributes": [
|
|
@@ -25580,6 +25792,17 @@
|
|
|
25580
25792
|
"text": "CustomEvent"
|
|
25581
25793
|
},
|
|
25582
25794
|
"description": "Fired when the component is activated either with a\nmouse/tap or by using the Enter or Space key.\n\n**Note:** The event will not be fired if the `disabled`\nproperty is set to `true`."
|
|
25795
|
+
},
|
|
25796
|
+
{
|
|
25797
|
+
"name": "close-overflow",
|
|
25798
|
+
"type": {
|
|
25799
|
+
"text": "CustomEvent"
|
|
25800
|
+
},
|
|
25801
|
+
"description": "Fired when the overflow popover is closed.",
|
|
25802
|
+
"inheritedFrom": {
|
|
25803
|
+
"name": "ToolbarItem",
|
|
25804
|
+
"module": "dist/ToolbarItem.js"
|
|
25805
|
+
}
|
|
25583
25806
|
}
|
|
25584
25807
|
],
|
|
25585
25808
|
"attributes": [
|
|
@@ -25715,7 +25938,17 @@
|
|
|
25715
25938
|
"module": "dist/ToolbarItem.js"
|
|
25716
25939
|
},
|
|
25717
25940
|
"tagName": "ui5-toolbar-button",
|
|
25718
|
-
"customElement": true
|
|
25941
|
+
"customElement": true,
|
|
25942
|
+
"slots": [
|
|
25943
|
+
{
|
|
25944
|
+
"name": "default",
|
|
25945
|
+
"description": "Wrapped component slot.",
|
|
25946
|
+
"inheritedFrom": {
|
|
25947
|
+
"name": "ToolbarItem",
|
|
25948
|
+
"module": "dist/ToolbarItem.js"
|
|
25949
|
+
}
|
|
25950
|
+
}
|
|
25951
|
+
]
|
|
25719
25952
|
}
|
|
25720
25953
|
],
|
|
25721
25954
|
"exports": [
|
|
@@ -25745,6 +25978,12 @@
|
|
|
25745
25978
|
"kind": "class",
|
|
25746
25979
|
"description": "Represents an abstract class for items, used in the `ui5-toolbar`.",
|
|
25747
25980
|
"name": "ToolbarItem",
|
|
25981
|
+
"slots": [
|
|
25982
|
+
{
|
|
25983
|
+
"name": "default",
|
|
25984
|
+
"description": "Wrapped component slot."
|
|
25985
|
+
}
|
|
25986
|
+
],
|
|
25748
25987
|
"members": [
|
|
25749
25988
|
{
|
|
25750
25989
|
"kind": "field",
|
|
@@ -25774,6 +26013,15 @@
|
|
|
25774
26013
|
"privacy": "public"
|
|
25775
26014
|
}
|
|
25776
26015
|
],
|
|
26016
|
+
"events": [
|
|
26017
|
+
{
|
|
26018
|
+
"name": "close-overflow",
|
|
26019
|
+
"type": {
|
|
26020
|
+
"text": "CustomEvent"
|
|
26021
|
+
},
|
|
26022
|
+
"description": "Fired when the overflow popover is closed."
|
|
26023
|
+
}
|
|
26024
|
+
],
|
|
25777
26025
|
"attributes": [
|
|
25778
26026
|
{
|
|
25779
26027
|
"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.",
|
|
@@ -25799,6 +26047,7 @@
|
|
|
25799
26047
|
"package": "@ui5/webcomponents-base",
|
|
25800
26048
|
"module": "dist/UI5Element.js"
|
|
25801
26049
|
},
|
|
26050
|
+
"tagName": "ui5-toolbar-item",
|
|
25802
26051
|
"customElement": true
|
|
25803
26052
|
}
|
|
25804
26053
|
],
|
|
@@ -25810,6 +26059,14 @@
|
|
|
25810
26059
|
"name": "ToolbarItem",
|
|
25811
26060
|
"module": "dist/ToolbarItem.js"
|
|
25812
26061
|
}
|
|
26062
|
+
},
|
|
26063
|
+
{
|
|
26064
|
+
"kind": "custom-element-definition",
|
|
26065
|
+
"name": "ui5-toolbar-item",
|
|
26066
|
+
"declaration": {
|
|
26067
|
+
"name": "ToolbarItem",
|
|
26068
|
+
"module": "dist/ToolbarItem.js"
|
|
26069
|
+
}
|
|
25813
26070
|
}
|
|
25814
26071
|
]
|
|
25815
26072
|
},
|
|
@@ -25824,7 +26081,11 @@
|
|
|
25824
26081
|
"slots": [
|
|
25825
26082
|
{
|
|
25826
26083
|
"name": "default",
|
|
25827
|
-
"description": "Defines the component options.\n\n**Note:** Only one selected option is allowed.\nIf more than one option is defined as selected, the last one would be considered as the selected one.\n\n**Note:** Use the `ui5-toolbar-select-option` component to define the desired options."
|
|
26084
|
+
"description": "Defines the component options.\n\n**Note:** Only one selected option is allowed.\nIf more than one option is defined as selected, the last one would be considered as the selected one.\n\n**Note:** Use the `ui5-toolbar-select-option` component to define the desired options.",
|
|
26085
|
+
"inheritedFrom": {
|
|
26086
|
+
"name": "ToolbarItem",
|
|
26087
|
+
"module": "dist/ToolbarItem.js"
|
|
26088
|
+
}
|
|
25828
26089
|
},
|
|
25829
26090
|
{
|
|
25830
26091
|
"name": "label",
|
|
@@ -25963,6 +26224,17 @@
|
|
|
25963
26224
|
"text": "CustomEvent"
|
|
25964
26225
|
},
|
|
25965
26226
|
"description": "Fired after the component's dropdown menu closes."
|
|
26227
|
+
},
|
|
26228
|
+
{
|
|
26229
|
+
"name": "close-overflow",
|
|
26230
|
+
"type": {
|
|
26231
|
+
"text": "CustomEvent"
|
|
26232
|
+
},
|
|
26233
|
+
"description": "Fired when the overflow popover is closed.",
|
|
26234
|
+
"inheritedFrom": {
|
|
26235
|
+
"name": "ToolbarItem",
|
|
26236
|
+
"module": "dist/ToolbarItem.js"
|
|
26237
|
+
}
|
|
25966
26238
|
}
|
|
25967
26239
|
],
|
|
25968
26240
|
"attributes": [
|
|
@@ -26192,6 +26464,16 @@
|
|
|
26192
26464
|
},
|
|
26193
26465
|
"tagName": "ui5-toolbar-separator",
|
|
26194
26466
|
"customElement": true,
|
|
26467
|
+
"slots": [
|
|
26468
|
+
{
|
|
26469
|
+
"name": "default",
|
|
26470
|
+
"description": "Wrapped component slot.",
|
|
26471
|
+
"inheritedFrom": {
|
|
26472
|
+
"name": "ToolbarItem",
|
|
26473
|
+
"module": "dist/ToolbarItem.js"
|
|
26474
|
+
}
|
|
26475
|
+
}
|
|
26476
|
+
],
|
|
26195
26477
|
"attributes": [
|
|
26196
26478
|
{
|
|
26197
26479
|
"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.",
|
|
@@ -26219,6 +26501,19 @@
|
|
|
26219
26501
|
"module": "dist/ToolbarItem.js"
|
|
26220
26502
|
}
|
|
26221
26503
|
}
|
|
26504
|
+
],
|
|
26505
|
+
"events": [
|
|
26506
|
+
{
|
|
26507
|
+
"name": "close-overflow",
|
|
26508
|
+
"type": {
|
|
26509
|
+
"text": "CustomEvent"
|
|
26510
|
+
},
|
|
26511
|
+
"description": "Fired when the overflow popover is closed.",
|
|
26512
|
+
"inheritedFrom": {
|
|
26513
|
+
"name": "ToolbarItem",
|
|
26514
|
+
"module": "dist/ToolbarItem.js"
|
|
26515
|
+
}
|
|
26516
|
+
}
|
|
26222
26517
|
]
|
|
26223
26518
|
}
|
|
26224
26519
|
],
|
|
@@ -26339,7 +26634,30 @@
|
|
|
26339
26634
|
"module": "dist/ToolbarItem.js"
|
|
26340
26635
|
},
|
|
26341
26636
|
"tagName": "ui5-toolbar-spacer",
|
|
26342
|
-
"customElement": true
|
|
26637
|
+
"customElement": true,
|
|
26638
|
+
"slots": [
|
|
26639
|
+
{
|
|
26640
|
+
"name": "default",
|
|
26641
|
+
"description": "Wrapped component slot.",
|
|
26642
|
+
"inheritedFrom": {
|
|
26643
|
+
"name": "ToolbarItem",
|
|
26644
|
+
"module": "dist/ToolbarItem.js"
|
|
26645
|
+
}
|
|
26646
|
+
}
|
|
26647
|
+
],
|
|
26648
|
+
"events": [
|
|
26649
|
+
{
|
|
26650
|
+
"name": "close-overflow",
|
|
26651
|
+
"type": {
|
|
26652
|
+
"text": "CustomEvent"
|
|
26653
|
+
},
|
|
26654
|
+
"description": "Fired when the overflow popover is closed.",
|
|
26655
|
+
"inheritedFrom": {
|
|
26656
|
+
"name": "ToolbarItem",
|
|
26657
|
+
"module": "dist/ToolbarItem.js"
|
|
26658
|
+
}
|
|
26659
|
+
}
|
|
26660
|
+
]
|
|
26343
26661
|
}
|
|
26344
26662
|
],
|
|
26345
26663
|
"exports": [
|
|
@@ -28541,6 +28859,21 @@
|
|
|
28541
28859
|
}
|
|
28542
28860
|
]
|
|
28543
28861
|
},
|
|
28862
|
+
{
|
|
28863
|
+
"kind": "javascript-module",
|
|
28864
|
+
"path": "dist/types/AvatarMode.js",
|
|
28865
|
+
"declarations": [],
|
|
28866
|
+
"exports": [
|
|
28867
|
+
{
|
|
28868
|
+
"kind": "js",
|
|
28869
|
+
"name": "default",
|
|
28870
|
+
"declaration": {
|
|
28871
|
+
"name": "AvatarMode",
|
|
28872
|
+
"module": "dist/types/AvatarMode.js"
|
|
28873
|
+
}
|
|
28874
|
+
}
|
|
28875
|
+
]
|
|
28876
|
+
},
|
|
28544
28877
|
{
|
|
28545
28878
|
"kind": "javascript-module",
|
|
28546
28879
|
"path": "dist/types/AvatarShape.js",
|
|
@@ -5,6 +5,7 @@ import List from "../List.js";
|
|
|
5
5
|
import ResponsivePopover from "../ResponsivePopover.js";
|
|
6
6
|
import Button from "../Button.js";
|
|
7
7
|
import ListAccessibleRole from "../types/ListAccessibleRole.js";
|
|
8
|
+
import Title from "../Title.js";
|
|
8
9
|
export default function InputSuggestionsTemplate(hooks) {
|
|
9
10
|
const suggestionsList = hooks?.suggestionsList || defaultSuggestionsList;
|
|
10
11
|
// Mobile header hook - intended only for MultiInput design scenario
|
|
@@ -12,7 +13,7 @@ export default function InputSuggestionsTemplate(hooks) {
|
|
|
12
13
|
const valueStateMessage = hooks?.valueStateMessage;
|
|
13
14
|
const valueStateMessageInputIcon = hooks?.valueStateMessageInputIcon;
|
|
14
15
|
return (_jsxs(ResponsivePopover, { class: this.classes.popover, hideArrow: true, preventFocusRestore: true, preventInitialFocus: true, placement: "Bottom", horizontalAlign: "Start", tabindex: -1, style: this.styles.suggestionsPopover, onOpen: this._afterOpenPicker, onClose: this._afterClosePicker, onScroll: this._scroll, open: this.open, opener: this, accessibleName: this._popupLabel, children: [this._isPhone &&
|
|
15
|
-
_jsx(_Fragment, { children: _jsxs("div", { slot: "header", class: "ui5-responsive-popover-header", children: [_jsx("div", { class: "row", children: _jsx("
|
|
16
|
+
_jsx(_Fragment, { children: _jsxs("div", { slot: "header", class: "ui5-responsive-popover-header", children: [_jsx("div", { class: "row", children: _jsx(Title, { level: "H1", wrappingType: "None", class: "ui5-responsive-popover-header-text", children: this._headerTitleText }) }), _jsx("div", { class: "row", children: _jsxs("div", { class: "input-root-phone native-input-wrapper", children: [_jsx(Input, { class: "ui5-input-inner-phone", type: this.inputType, value: this.value, showClearIcon: this.showClearIcon, placeholder: this.placeholder, onInput: this._handleInput }), mobileHeader?.call(this)] }) }), this.hasValueStateMessage &&
|
|
16
17
|
_jsxs("div", { class: this.classes.popoverValueState, style: this.styles.suggestionPopoverHeader, children: [_jsx(Icon, { class: "ui5-input-value-state-message-icon", name: valueStateMessageInputIcon?.call(this) }), this.open && valueStateMessage?.call(this)] })] }) }), !this._isPhone && this.hasValueStateMessage &&
|
|
17
18
|
_jsxs("div", { slot: "header", class: {
|
|
18
19
|
"ui5-responsive-popover-header": true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputSuggestionsTemplate.js","sourceRoot":"","sources":["../../src/features/InputSuggestionsTemplate.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,MAAM,aAAa,CAAC;AAChC,OAAO,IAAI,MAAM,YAAY,CAAC;AAE9B,OAAO,IAAI,MAAM,YAAY,CAAC;AAC9B,OAAO,iBAAiB,MAAM,yBAAyB,CAAC;AACxD,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,kBAAkB,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"InputSuggestionsTemplate.js","sourceRoot":"","sources":["../../src/features/InputSuggestionsTemplate.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,MAAM,aAAa,CAAC;AAChC,OAAO,IAAI,MAAM,YAAY,CAAC;AAE9B,OAAO,IAAI,MAAM,YAAY,CAAC;AAC9B,OAAO,iBAAiB,MAAM,yBAAyB,CAAC;AACxD,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,kBAAkB,MAAM,gCAAgC,CAAC;AAChE,OAAO,KAAK,MAAM,aAAa,CAAC;AAEhC,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAc,KAA+N;IAC5R,MAAM,eAAe,GAAG,KAAK,EAAE,eAAe,IAAI,sBAAsB,CAAC;IACzE,oEAAoE;IACpE,MAAM,YAAY,GAAG,KAAK,EAAE,YAAY,CAAC;IACzC,MAAM,iBAAiB,GAAG,KAAK,EAAE,iBAAiB,CAAC;IACnD,MAAM,0BAA0B,GAAG,KAAK,EAAE,0BAA0B,CAAC;IAErE,OAAO,CACN,MAAC,iBAAiB,IACjB,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,EAC3B,SAAS,EAAE,IAAI,EACf,mBAAmB,EAAE,IAAI,EACzB,mBAAmB,EAAE,IAAI,EACzB,SAAS,EAAC,QAAQ,EAClB,eAAe,EAAC,OAAO,EACvB,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,kBAAkB,EACrC,MAAM,EAAE,IAAI,CAAC,gBAAgB,EAC7B,OAAO,EAAE,IAAI,CAAC,iBAAiB,EAC/B,QAAQ,EAAE,IAAI,CAAC,OAAO,EACtB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,MAAM,EAAE,IAAI,EACZ,cAAc,EAAE,IAAI,CAAC,WAAW,aAE/B,IAAI,CAAC,QAAQ;gBACb,4BACC,eAAK,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,+BAA+B,aACvD,cAAK,KAAK,EAAC,KAAK,YACf,KAAC,KAAK,IACL,KAAK,EAAC,IAAI,EACV,YAAY,EAAC,MAAM,EACnB,KAAK,EAAC,oCAAoC,YAEzC,IAAI,CAAC,gBAAgB,GACf,GACH,EACN,cAAK,KAAK,EAAC,KAAK,YACf,eAAK,KAAK,EAAC,uCAAuC,aACjD,KAAC,KAAK,IACL,KAAK,EAAC,uBAAuB,EAC7B,IAAI,EAAE,IAAI,CAAC,SAAS,EACpB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,OAAO,EAAE,IAAI,CAAC,YAAY,GACzB,EACD,YAAY,EAAE,IAAI,CAAC,IAAI,CAAC,IACpB,GACD,EAEL,IAAI,CAAC,oBAAoB;gCACzB,eAAK,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,uBAAuB,aACrF,KAAC,IAAI,IAAC,KAAK,EAAC,oCAAoC,EAAC,IAAI,EAAE,0BAA0B,EAAE,IAAI,CAAC,IAAI,CAAC,GAAI,EAChG,IAAI,CAAC,IAAI,IAAI,iBAAiB,EAAE,IAAI,CAAC,IAAI,CAAC,IACtC,IAEF,GACJ,EAGH,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,oBAAoB;gBAC3C,eACC,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE;wBACN,+BAA+B,EAAE,IAAI;wBACrC,GAAG,IAAI,CAAC,OAAO,CAAC,iBAAiB;qBACjC,EACD,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,uBAAuB,aAE1C,KAAC,IAAI,IAAC,KAAK,EAAC,oCAAoC,EAAC,IAAI,EAAE,0BAA0B,EAAE,IAAI,CAAC,IAAI,CAAC,GAAI,EAChG,IAAI,CAAC,IAAI,IAAI,iBAAiB,EAAE,IAAI,CAAC,IAAI,CAAC,IACtC,EAGN,IAAI,CAAC,eAAe,IAAI,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,EAElD,IAAI,CAAC,QAAQ;gBACb,eAAK,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,+BAA+B,aACvD,KAAC,MAAM,IACN,MAAM,EAAC,YAAY,EACnB,OAAO,EAAE,IAAI,CAAC,mBAAmB,YAEhC,IAAI,CAAC,wBAAwB,GACtB,EACT,KAAC,MAAM,IACN,KAAK,EAAC,kCAAkC,EACxC,MAAM,EAAC,aAAa,EACpB,OAAO,EAAE,IAAI,CAAC,kBAAkB,YAE/B,IAAI,CAAC,4BAA4B,GAC1B,IACJ,IAEY,CACpB,CAAC;AACH,CAAC;AAED,SAAS,sBAAsB;IAC9B,OAAO,CACN,KAAC,IAAI,IACJ,cAAc,EAAE,kBAAkB,CAAC,OAAO,EAC1C,UAAU,EAAE,IAAI,CAAC,oBAAoB,EACrC,aAAa,EAAC,QAAQ,EACtB,WAAW,EAAE,IAAI,CAAC,eAAe,EACjC,WAAW,EAAE,IAAI,CAAC,0BAA0B,EAC5C,iBAAiB,EAAE,IAAI,CAAC,sBAAsB,YAE9C,gBAAa,GACP,CACP,CAAC;AACH,CAAC","sourcesContent":["import type { JsxTemplateResult } from \"@ui5/webcomponents-base/dist/index.js\";\nimport Input from \"../Input.js\";\nimport Icon from \"../Icon.js\";\n\nimport List from \"../List.js\";\nimport ResponsivePopover from \"../ResponsivePopover.js\";\nimport Button from \"../Button.js\";\nimport ListAccessibleRole from \"../types/ListAccessibleRole.js\";\nimport Title from \"../Title.js\";\n\nexport default function InputSuggestionsTemplate(this: Input, hooks?: { suggestionsList?: (this: Input) => JsxTemplateResult, mobileHeader?: (this: Input) => JsxTemplateResult, valueStateMessage: (this: Input) => JsxTemplateResult, valueStateMessageInputIcon: (this: Input) => string }) {\n\tconst suggestionsList = hooks?.suggestionsList || defaultSuggestionsList;\n\t// Mobile header hook - intended only for MultiInput design scenario\n\tconst mobileHeader = hooks?.mobileHeader;\n\tconst valueStateMessage = hooks?.valueStateMessage;\n\tconst valueStateMessageInputIcon = hooks?.valueStateMessageInputIcon;\n\n\treturn (\n\t\t<ResponsivePopover\n\t\t\tclass={this.classes.popover}\n\t\t\thideArrow={true}\n\t\t\tpreventFocusRestore={true}\n\t\t\tpreventInitialFocus={true}\n\t\t\tplacement=\"Bottom\"\n\t\t\thorizontalAlign=\"Start\"\n\t\t\ttabindex={-1}\n\t\t\tstyle={this.styles.suggestionsPopover}\n\t\t\tonOpen={this._afterOpenPicker}\n\t\t\tonClose={this._afterClosePicker}\n\t\t\tonScroll={this._scroll}\n\t\t\topen={this.open}\n\t\t\topener={this}\n\t\t\taccessibleName={this._popupLabel}\n\t\t>\n\t\t\t{this._isPhone &&\n\t\t\t\t<>\n\t\t\t\t\t<div slot=\"header\" class=\"ui5-responsive-popover-header\">\n\t\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t\t<Title\n\t\t\t\t\t\t\t\tlevel=\"H1\"\n\t\t\t\t\t\t\t\twrappingType=\"None\"\n\t\t\t\t\t\t\t\tclass=\"ui5-responsive-popover-header-text\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this._headerTitleText}\n\t\t\t\t\t\t\t</Title>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t\t<div class=\"input-root-phone native-input-wrapper\">\n\t\t\t\t\t\t\t\t<Input\n\t\t\t\t\t\t\t\t\tclass=\"ui5-input-inner-phone\"\n\t\t\t\t\t\t\t\t\ttype={this.inputType}\n\t\t\t\t\t\t\t\t\tvalue={this.value}\n\t\t\t\t\t\t\t\t\tshowClearIcon={this.showClearIcon}\n\t\t\t\t\t\t\t\t\tplaceholder={this.placeholder}\n\t\t\t\t\t\t\t\t\tonInput={this._handleInput}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t{mobileHeader?.call(this)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t{this.hasValueStateMessage &&\n\t\t\t\t\t\t\t<div class={this.classes.popoverValueState} style={this.styles.suggestionPopoverHeader}>\n\t\t\t\t\t\t\t\t<Icon class=\"ui5-input-value-state-message-icon\" name={valueStateMessageInputIcon?.call(this)} />\n\t\t\t\t\t\t\t\t{this.open && valueStateMessage?.call(this)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</>\n\t\t\t}\n\n\t\t\t{!this._isPhone && this.hasValueStateMessage &&\n\t\t\t\t<div\n\t\t\t\t\tslot=\"header\"\n\t\t\t\t\tclass={{\n\t\t\t\t\t\t\"ui5-responsive-popover-header\": true,\n\t\t\t\t\t\t...this.classes.popoverValueState,\n\t\t\t\t\t}}\n\t\t\t\t\tstyle={this.styles.suggestionPopoverHeader}\n\t\t\t\t>\n\t\t\t\t\t<Icon class=\"ui5-input-value-state-message-icon\" name={valueStateMessageInputIcon?.call(this)} />\n\t\t\t\t\t{this.open && valueStateMessage?.call(this)}\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t{this.showSuggestions && suggestionsList.call(this)}\n\n\t\t\t{this._isPhone &&\n\t\t\t\t<div slot=\"footer\" class=\"ui5-responsive-popover-footer\">\n\t\t\t\t\t<Button\n\t\t\t\t\t\tdesign=\"Emphasized\"\n\t\t\t\t\t\tonClick={this._confirmMobileValue}\n\t\t\t\t\t>\n\t\t\t\t\t\t{this._suggestionsOkButtonText}\n\t\t\t\t\t</Button>\n\t\t\t\t\t<Button\n\t\t\t\t\t\tclass=\"ui5-responsive-popover-close-btn\"\n\t\t\t\t\t\tdesign=\"Transparent\"\n\t\t\t\t\t\tonClick={this._cancelMobileValue}\n\t\t\t\t\t>\n\t\t\t\t\t\t{this._suggestionsCancelButtonText}\n\t\t\t\t\t</Button>\n\t\t\t\t</div>\n\t\t\t}\n\t\t</ResponsivePopover>\n\t);\n}\n\nfunction defaultSuggestionsList(this: Input) {\n\treturn (\n\t\t<List\n\t\t\taccessibleRole={ListAccessibleRole.ListBox}\n\t\t\tseparators={this.suggestionSeparators}\n\t\t\tselectionMode=\"Single\"\n\t\t\tonMouseDown={this.onItemMouseDown}\n\t\t\tonItemClick={this._handleSuggestionItemPress}\n\t\t\tonSelectionChange={this._handleSelectionChange}\n\t\t>\n\t\t\t<slot></slot>\n\t\t</List>\n\t);\n}\n"]}
|