@ui5/webcomponents 2.19.0 → 2.20.0-rc.0
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 +24 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/AvatarGroup.d.ts +5 -0
- package/dist/AvatarGroup.js +17 -10
- package/dist/AvatarGroup.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/ListItemCustom.d.ts +32 -0
- package/dist/ListItemCustom.js +121 -2
- package/dist/ListItemCustom.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/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/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 +1 -2
- package/dist/Toolbar.js +18 -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/Bar.css +1 -1
- package/dist/css/themes/DatePickerPopover.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 +361 -7
- package/dist/custom-elements.json +266 -4
- package/dist/features/InputSuggestionsTemplate.js +2 -1
- package/dist/features/InputSuggestionsTemplate.js.map +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/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/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/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/vscode.html-custom-data.json +49 -8
- package/dist/web-types.json +196 -12
- package/package.json +10 -10
- 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/MultiComboBoxPopoverTemplate.tsx +8 -1
- package/src/MultiInputTemplate.tsx +2 -1
- 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_en_US_sappsd.properties +14 -8
- package/src/i18n/messagebundle_en_US_saprigi.properties +14 -8
- package/src/i18n/messagebundle_en_US_saptrc.properties +14 -8
- package/src/themes/Bar.css +1 -1
- package/src/themes/DatePickerPopover.css +24 -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
|
@@ -3610,6 +3610,28 @@
|
|
|
3610
3610
|
"description": "Defines the `ui5-color-palette-item` elements."
|
|
3611
3611
|
}
|
|
3612
3612
|
],
|
|
3613
|
+
"members": [
|
|
3614
|
+
{
|
|
3615
|
+
"kind": "field",
|
|
3616
|
+
"name": "accessibleName",
|
|
3617
|
+
"type": {
|
|
3618
|
+
"text": "string | undefined"
|
|
3619
|
+
},
|
|
3620
|
+
"description": "Defines the accessible name of the component.",
|
|
3621
|
+
"default": "undefined",
|
|
3622
|
+
"privacy": "public"
|
|
3623
|
+
},
|
|
3624
|
+
{
|
|
3625
|
+
"kind": "field",
|
|
3626
|
+
"name": "accessibleNameRef",
|
|
3627
|
+
"type": {
|
|
3628
|
+
"text": "string | undefined"
|
|
3629
|
+
},
|
|
3630
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
3631
|
+
"default": "undefined",
|
|
3632
|
+
"privacy": "public"
|
|
3633
|
+
}
|
|
3634
|
+
],
|
|
3613
3635
|
"events": [
|
|
3614
3636
|
{
|
|
3615
3637
|
"name": "item-click",
|
|
@@ -3626,6 +3648,26 @@
|
|
|
3626
3648
|
"description": "Fired when the user selects a color."
|
|
3627
3649
|
}
|
|
3628
3650
|
],
|
|
3651
|
+
"attributes": [
|
|
3652
|
+
{
|
|
3653
|
+
"description": "Defines the accessible name of the component.",
|
|
3654
|
+
"name": "accessible-name",
|
|
3655
|
+
"default": "undefined",
|
|
3656
|
+
"fieldName": "accessibleName",
|
|
3657
|
+
"type": {
|
|
3658
|
+
"text": "string | undefined"
|
|
3659
|
+
}
|
|
3660
|
+
},
|
|
3661
|
+
{
|
|
3662
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
3663
|
+
"name": "accessible-name-ref",
|
|
3664
|
+
"default": "undefined",
|
|
3665
|
+
"fieldName": "accessibleNameRef",
|
|
3666
|
+
"type": {
|
|
3667
|
+
"text": "string | undefined"
|
|
3668
|
+
}
|
|
3669
|
+
}
|
|
3670
|
+
],
|
|
3629
3671
|
"superclass": {
|
|
3630
3672
|
"name": "UI5Element",
|
|
3631
3673
|
"package": "@ui5/webcomponents-base",
|
|
@@ -3787,6 +3829,26 @@
|
|
|
3787
3829
|
"default": "undefined",
|
|
3788
3830
|
"privacy": "public"
|
|
3789
3831
|
},
|
|
3832
|
+
{
|
|
3833
|
+
"kind": "field",
|
|
3834
|
+
"name": "accessibleName",
|
|
3835
|
+
"type": {
|
|
3836
|
+
"text": "string | undefined"
|
|
3837
|
+
},
|
|
3838
|
+
"description": "Defines the accessible name of the component.",
|
|
3839
|
+
"default": "undefined",
|
|
3840
|
+
"privacy": "public"
|
|
3841
|
+
},
|
|
3842
|
+
{
|
|
3843
|
+
"kind": "field",
|
|
3844
|
+
"name": "accessibleNameRef",
|
|
3845
|
+
"type": {
|
|
3846
|
+
"text": "string | undefined"
|
|
3847
|
+
},
|
|
3848
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
3849
|
+
"default": "undefined",
|
|
3850
|
+
"privacy": "public"
|
|
3851
|
+
},
|
|
3790
3852
|
{
|
|
3791
3853
|
"kind": "field",
|
|
3792
3854
|
"name": "open",
|
|
@@ -3885,6 +3947,24 @@
|
|
|
3885
3947
|
"text": "string | undefined"
|
|
3886
3948
|
}
|
|
3887
3949
|
},
|
|
3950
|
+
{
|
|
3951
|
+
"description": "Defines the accessible name of the component.",
|
|
3952
|
+
"name": "accessible-name",
|
|
3953
|
+
"default": "undefined",
|
|
3954
|
+
"fieldName": "accessibleName",
|
|
3955
|
+
"type": {
|
|
3956
|
+
"text": "string | undefined"
|
|
3957
|
+
}
|
|
3958
|
+
},
|
|
3959
|
+
{
|
|
3960
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
3961
|
+
"name": "accessible-name-ref",
|
|
3962
|
+
"default": "undefined",
|
|
3963
|
+
"fieldName": "accessibleNameRef",
|
|
3964
|
+
"type": {
|
|
3965
|
+
"text": "string | undefined"
|
|
3966
|
+
}
|
|
3967
|
+
},
|
|
3888
3968
|
{
|
|
3889
3969
|
"description": "Defines the open | closed state of the popover.",
|
|
3890
3970
|
"name": "open",
|
|
@@ -3979,6 +4059,26 @@
|
|
|
3979
4059
|
"default": "false",
|
|
3980
4060
|
"description": "When set to `true`, the alpha slider and inputs for RGB values will not be displayed.",
|
|
3981
4061
|
"privacy": "public"
|
|
4062
|
+
},
|
|
4063
|
+
{
|
|
4064
|
+
"kind": "field",
|
|
4065
|
+
"name": "accessibleName",
|
|
4066
|
+
"type": {
|
|
4067
|
+
"text": "string | undefined"
|
|
4068
|
+
},
|
|
4069
|
+
"description": "Defines the accessible name of the component.",
|
|
4070
|
+
"default": "undefined",
|
|
4071
|
+
"privacy": "public"
|
|
4072
|
+
},
|
|
4073
|
+
{
|
|
4074
|
+
"kind": "field",
|
|
4075
|
+
"name": "accessibleNameRef",
|
|
4076
|
+
"type": {
|
|
4077
|
+
"text": "string | undefined"
|
|
4078
|
+
},
|
|
4079
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
4080
|
+
"default": "undefined",
|
|
4081
|
+
"privacy": "public"
|
|
3982
4082
|
}
|
|
3983
4083
|
],
|
|
3984
4084
|
"events": [
|
|
@@ -4017,6 +4117,24 @@
|
|
|
4017
4117
|
"type": {
|
|
4018
4118
|
"text": "boolean"
|
|
4019
4119
|
}
|
|
4120
|
+
},
|
|
4121
|
+
{
|
|
4122
|
+
"description": "Defines the accessible name of the component.",
|
|
4123
|
+
"name": "accessible-name",
|
|
4124
|
+
"default": "undefined",
|
|
4125
|
+
"fieldName": "accessibleName",
|
|
4126
|
+
"type": {
|
|
4127
|
+
"text": "string | undefined"
|
|
4128
|
+
}
|
|
4129
|
+
},
|
|
4130
|
+
{
|
|
4131
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
4132
|
+
"name": "accessible-name-ref",
|
|
4133
|
+
"default": "undefined",
|
|
4134
|
+
"fieldName": "accessibleNameRef",
|
|
4135
|
+
"type": {
|
|
4136
|
+
"text": "string | undefined"
|
|
4137
|
+
}
|
|
4020
4138
|
}
|
|
4021
4139
|
],
|
|
4022
4140
|
"superclass": {
|
|
@@ -4915,7 +5033,7 @@
|
|
|
4915
5033
|
"declarations": [
|
|
4916
5034
|
{
|
|
4917
5035
|
"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
|
|
5036
|
+
"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
5037
|
"name": "DatePicker",
|
|
4920
5038
|
"cssParts": [
|
|
4921
5039
|
{
|
|
@@ -16879,6 +16997,26 @@
|
|
|
16879
16997
|
"description": "Defines the tooltip of the component.",
|
|
16880
16998
|
"default": "undefined",
|
|
16881
16999
|
"privacy": "public"
|
|
17000
|
+
},
|
|
17001
|
+
{
|
|
17002
|
+
"kind": "field",
|
|
17003
|
+
"name": "iconSelected",
|
|
17004
|
+
"type": {
|
|
17005
|
+
"text": "string | undefined"
|
|
17006
|
+
},
|
|
17007
|
+
"description": "Defines the icon to be displayed for the selected (filled) rating symbol.",
|
|
17008
|
+
"default": "\"favorite\"",
|
|
17009
|
+
"privacy": "public"
|
|
17010
|
+
},
|
|
17011
|
+
{
|
|
17012
|
+
"kind": "field",
|
|
17013
|
+
"name": "iconUnselected",
|
|
17014
|
+
"type": {
|
|
17015
|
+
"text": "string | undefined"
|
|
17016
|
+
},
|
|
17017
|
+
"description": "Defines the icon to be displayed for the unselected (empty) rating symbol.",
|
|
17018
|
+
"default": "\"unfavorite\"",
|
|
17019
|
+
"privacy": "public"
|
|
16882
17020
|
}
|
|
16883
17021
|
],
|
|
16884
17022
|
"events": [
|
|
@@ -16971,6 +17109,24 @@
|
|
|
16971
17109
|
"type": {
|
|
16972
17110
|
"text": "string | undefined"
|
|
16973
17111
|
}
|
|
17112
|
+
},
|
|
17113
|
+
{
|
|
17114
|
+
"description": "Defines the icon to be displayed for the selected (filled) rating symbol.",
|
|
17115
|
+
"name": "icon-selected",
|
|
17116
|
+
"default": "\"favorite\"",
|
|
17117
|
+
"fieldName": "iconSelected",
|
|
17118
|
+
"type": {
|
|
17119
|
+
"text": "string | undefined"
|
|
17120
|
+
}
|
|
17121
|
+
},
|
|
17122
|
+
{
|
|
17123
|
+
"description": "Defines the icon to be displayed for the unselected (empty) rating symbol.",
|
|
17124
|
+
"name": "icon-unselected",
|
|
17125
|
+
"default": "\"unfavorite\"",
|
|
17126
|
+
"fieldName": "iconUnselected",
|
|
17127
|
+
"type": {
|
|
17128
|
+
"text": "string | undefined"
|
|
17129
|
+
}
|
|
16974
17130
|
}
|
|
16975
17131
|
],
|
|
16976
17132
|
"superclass": {
|
|
@@ -25580,6 +25736,17 @@
|
|
|
25580
25736
|
"text": "CustomEvent"
|
|
25581
25737
|
},
|
|
25582
25738
|
"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`."
|
|
25739
|
+
},
|
|
25740
|
+
{
|
|
25741
|
+
"name": "close-overflow",
|
|
25742
|
+
"type": {
|
|
25743
|
+
"text": "CustomEvent"
|
|
25744
|
+
},
|
|
25745
|
+
"description": "Fired when the overflow popover is closed.",
|
|
25746
|
+
"inheritedFrom": {
|
|
25747
|
+
"name": "ToolbarItem",
|
|
25748
|
+
"module": "dist/ToolbarItem.js"
|
|
25749
|
+
}
|
|
25583
25750
|
}
|
|
25584
25751
|
],
|
|
25585
25752
|
"attributes": [
|
|
@@ -25715,7 +25882,17 @@
|
|
|
25715
25882
|
"module": "dist/ToolbarItem.js"
|
|
25716
25883
|
},
|
|
25717
25884
|
"tagName": "ui5-toolbar-button",
|
|
25718
|
-
"customElement": true
|
|
25885
|
+
"customElement": true,
|
|
25886
|
+
"slots": [
|
|
25887
|
+
{
|
|
25888
|
+
"name": "default",
|
|
25889
|
+
"description": "Wrapped component slot.",
|
|
25890
|
+
"inheritedFrom": {
|
|
25891
|
+
"name": "ToolbarItem",
|
|
25892
|
+
"module": "dist/ToolbarItem.js"
|
|
25893
|
+
}
|
|
25894
|
+
}
|
|
25895
|
+
]
|
|
25719
25896
|
}
|
|
25720
25897
|
],
|
|
25721
25898
|
"exports": [
|
|
@@ -25745,6 +25922,12 @@
|
|
|
25745
25922
|
"kind": "class",
|
|
25746
25923
|
"description": "Represents an abstract class for items, used in the `ui5-toolbar`.",
|
|
25747
25924
|
"name": "ToolbarItem",
|
|
25925
|
+
"slots": [
|
|
25926
|
+
{
|
|
25927
|
+
"name": "default",
|
|
25928
|
+
"description": "Wrapped component slot."
|
|
25929
|
+
}
|
|
25930
|
+
],
|
|
25748
25931
|
"members": [
|
|
25749
25932
|
{
|
|
25750
25933
|
"kind": "field",
|
|
@@ -25774,6 +25957,15 @@
|
|
|
25774
25957
|
"privacy": "public"
|
|
25775
25958
|
}
|
|
25776
25959
|
],
|
|
25960
|
+
"events": [
|
|
25961
|
+
{
|
|
25962
|
+
"name": "close-overflow",
|
|
25963
|
+
"type": {
|
|
25964
|
+
"text": "CustomEvent"
|
|
25965
|
+
},
|
|
25966
|
+
"description": "Fired when the overflow popover is closed."
|
|
25967
|
+
}
|
|
25968
|
+
],
|
|
25777
25969
|
"attributes": [
|
|
25778
25970
|
{
|
|
25779
25971
|
"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 +25991,7 @@
|
|
|
25799
25991
|
"package": "@ui5/webcomponents-base",
|
|
25800
25992
|
"module": "dist/UI5Element.js"
|
|
25801
25993
|
},
|
|
25994
|
+
"tagName": "ui5-toolbar-item",
|
|
25802
25995
|
"customElement": true
|
|
25803
25996
|
}
|
|
25804
25997
|
],
|
|
@@ -25810,6 +26003,14 @@
|
|
|
25810
26003
|
"name": "ToolbarItem",
|
|
25811
26004
|
"module": "dist/ToolbarItem.js"
|
|
25812
26005
|
}
|
|
26006
|
+
},
|
|
26007
|
+
{
|
|
26008
|
+
"kind": "custom-element-definition",
|
|
26009
|
+
"name": "ui5-toolbar-item",
|
|
26010
|
+
"declaration": {
|
|
26011
|
+
"name": "ToolbarItem",
|
|
26012
|
+
"module": "dist/ToolbarItem.js"
|
|
26013
|
+
}
|
|
25813
26014
|
}
|
|
25814
26015
|
]
|
|
25815
26016
|
},
|
|
@@ -25824,7 +26025,11 @@
|
|
|
25824
26025
|
"slots": [
|
|
25825
26026
|
{
|
|
25826
26027
|
"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."
|
|
26028
|
+
"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.",
|
|
26029
|
+
"inheritedFrom": {
|
|
26030
|
+
"name": "ToolbarItem",
|
|
26031
|
+
"module": "dist/ToolbarItem.js"
|
|
26032
|
+
}
|
|
25828
26033
|
},
|
|
25829
26034
|
{
|
|
25830
26035
|
"name": "label",
|
|
@@ -25963,6 +26168,17 @@
|
|
|
25963
26168
|
"text": "CustomEvent"
|
|
25964
26169
|
},
|
|
25965
26170
|
"description": "Fired after the component's dropdown menu closes."
|
|
26171
|
+
},
|
|
26172
|
+
{
|
|
26173
|
+
"name": "close-overflow",
|
|
26174
|
+
"type": {
|
|
26175
|
+
"text": "CustomEvent"
|
|
26176
|
+
},
|
|
26177
|
+
"description": "Fired when the overflow popover is closed.",
|
|
26178
|
+
"inheritedFrom": {
|
|
26179
|
+
"name": "ToolbarItem",
|
|
26180
|
+
"module": "dist/ToolbarItem.js"
|
|
26181
|
+
}
|
|
25966
26182
|
}
|
|
25967
26183
|
],
|
|
25968
26184
|
"attributes": [
|
|
@@ -26192,6 +26408,16 @@
|
|
|
26192
26408
|
},
|
|
26193
26409
|
"tagName": "ui5-toolbar-separator",
|
|
26194
26410
|
"customElement": true,
|
|
26411
|
+
"slots": [
|
|
26412
|
+
{
|
|
26413
|
+
"name": "default",
|
|
26414
|
+
"description": "Wrapped component slot.",
|
|
26415
|
+
"inheritedFrom": {
|
|
26416
|
+
"name": "ToolbarItem",
|
|
26417
|
+
"module": "dist/ToolbarItem.js"
|
|
26418
|
+
}
|
|
26419
|
+
}
|
|
26420
|
+
],
|
|
26195
26421
|
"attributes": [
|
|
26196
26422
|
{
|
|
26197
26423
|
"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 +26445,19 @@
|
|
|
26219
26445
|
"module": "dist/ToolbarItem.js"
|
|
26220
26446
|
}
|
|
26221
26447
|
}
|
|
26448
|
+
],
|
|
26449
|
+
"events": [
|
|
26450
|
+
{
|
|
26451
|
+
"name": "close-overflow",
|
|
26452
|
+
"type": {
|
|
26453
|
+
"text": "CustomEvent"
|
|
26454
|
+
},
|
|
26455
|
+
"description": "Fired when the overflow popover is closed.",
|
|
26456
|
+
"inheritedFrom": {
|
|
26457
|
+
"name": "ToolbarItem",
|
|
26458
|
+
"module": "dist/ToolbarItem.js"
|
|
26459
|
+
}
|
|
26460
|
+
}
|
|
26222
26461
|
]
|
|
26223
26462
|
}
|
|
26224
26463
|
],
|
|
@@ -26339,7 +26578,30 @@
|
|
|
26339
26578
|
"module": "dist/ToolbarItem.js"
|
|
26340
26579
|
},
|
|
26341
26580
|
"tagName": "ui5-toolbar-spacer",
|
|
26342
|
-
"customElement": true
|
|
26581
|
+
"customElement": true,
|
|
26582
|
+
"slots": [
|
|
26583
|
+
{
|
|
26584
|
+
"name": "default",
|
|
26585
|
+
"description": "Wrapped component slot.",
|
|
26586
|
+
"inheritedFrom": {
|
|
26587
|
+
"name": "ToolbarItem",
|
|
26588
|
+
"module": "dist/ToolbarItem.js"
|
|
26589
|
+
}
|
|
26590
|
+
}
|
|
26591
|
+
],
|
|
26592
|
+
"events": [
|
|
26593
|
+
{
|
|
26594
|
+
"name": "close-overflow",
|
|
26595
|
+
"type": {
|
|
26596
|
+
"text": "CustomEvent"
|
|
26597
|
+
},
|
|
26598
|
+
"description": "Fired when the overflow popover is closed.",
|
|
26599
|
+
"inheritedFrom": {
|
|
26600
|
+
"name": "ToolbarItem",
|
|
26601
|
+
"module": "dist/ToolbarItem.js"
|
|
26602
|
+
}
|
|
26603
|
+
}
|
|
26604
|
+
]
|
|
26343
26605
|
}
|
|
26344
26606
|
],
|
|
26345
26607
|
"exports": [
|
|
@@ -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;AACh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,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"]}
|