@openui5/sap.ui.webc.main 1.115.0 → 1.116.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/.reuse/dep5 +0 -5
- package/THIRDPARTY.txt +1 -7
- package/package.json +3 -3
- package/src/sap/ui/webc/main/.library +1 -1
- package/src/sap/ui/webc/main/Avatar.js +23 -3
- package/src/sap/ui/webc/main/AvatarGroup.js +1 -1
- package/src/sap/ui/webc/main/Badge.js +2 -2
- package/src/sap/ui/webc/main/Breadcrumbs.js +1 -1
- package/src/sap/ui/webc/main/BreadcrumbsItem.js +3 -3
- package/src/sap/ui/webc/main/BusyIndicator.js +1 -1
- package/src/sap/ui/webc/main/Button.js +4 -3
- package/src/sap/ui/webc/main/Calendar.js +6 -2
- package/src/sap/ui/webc/main/CalendarDate.js +2 -2
- package/src/sap/ui/webc/main/Card.js +3 -7
- package/src/sap/ui/webc/main/CardHeader.js +7 -2
- package/src/sap/ui/webc/main/Carousel.js +49 -4
- package/src/sap/ui/webc/main/CheckBox.js +14 -4
- package/src/sap/ui/webc/main/ColorPalette.js +1 -1
- package/src/sap/ui/webc/main/ColorPaletteItem.js +1 -1
- package/src/sap/ui/webc/main/ColorPalettePopover.js +1 -1
- package/src/sap/ui/webc/main/ColorPicker.js +1 -1
- package/src/sap/ui/webc/main/ComboBox.js +11 -8
- package/src/sap/ui/webc/main/ComboBoxGroupItem.js +1 -1
- package/src/sap/ui/webc/main/ComboBoxItem.js +1 -1
- package/src/sap/ui/webc/main/CustomListItem.js +19 -3
- package/src/sap/ui/webc/main/DatePicker.js +7 -2
- package/src/sap/ui/webc/main/DateRangePicker.js +9 -3
- package/src/sap/ui/webc/main/DateTimePicker.js +8 -3
- package/src/sap/ui/webc/main/Dialog.js +37 -6
- package/src/sap/ui/webc/main/FileUploader.js +1 -1
- package/src/sap/ui/webc/main/GroupHeaderListItem.js +1 -1
- package/src/sap/ui/webc/main/Icon.js +42 -2
- package/src/sap/ui/webc/main/Input.js +2 -2
- package/src/sap/ui/webc/main/Label.js +7 -3
- package/src/sap/ui/webc/main/Link.js +12 -2
- package/src/sap/ui/webc/main/List.js +2 -1
- package/src/sap/ui/webc/main/Menu.js +87 -3
- package/src/sap/ui/webc/main/MenuItem.js +34 -1
- package/src/sap/ui/webc/main/MessageStrip.js +1 -1
- package/src/sap/ui/webc/main/MultiComboBox.js +8 -7
- package/src/sap/ui/webc/main/MultiComboBoxGroupItem.js +1 -1
- package/src/sap/ui/webc/main/MultiComboBoxItem.js +1 -1
- package/src/sap/ui/webc/main/MultiInput.js +4 -4
- package/src/sap/ui/webc/main/Option.js +1 -1
- package/src/sap/ui/webc/main/Panel.js +3 -3
- package/src/sap/ui/webc/main/Popover.js +18 -4
- package/src/sap/ui/webc/main/ProgressIndicator.js +1 -1
- package/src/sap/ui/webc/main/RadioButton.js +17 -1
- package/src/sap/ui/webc/main/RangeSlider.js +12 -2
- package/src/sap/ui/webc/main/RatingIndicator.js +2 -2
- package/src/sap/ui/webc/main/ResponsivePopover.js +18 -4
- package/src/sap/ui/webc/main/SegmentedButton.js +40 -5
- package/src/sap/ui/webc/main/SegmentedButtonItem.js +4 -3
- package/src/sap/ui/webc/main/Select.js +20 -4
- package/src/sap/ui/webc/main/Slider.js +2 -2
- package/src/sap/ui/webc/main/SplitButton.js +7 -7
- package/src/sap/ui/webc/main/StandardListItem.js +31 -4
- package/src/sap/ui/webc/main/StepInput.js +2 -2
- package/src/sap/ui/webc/main/SuggestionGroupItem.js +1 -1
- package/src/sap/ui/webc/main/SuggestionItem.js +2 -2
- package/src/sap/ui/webc/main/Switch.js +2 -2
- package/src/sap/ui/webc/main/Tab.js +3 -3
- package/src/sap/ui/webc/main/TabContainer.js +40 -4
- package/src/sap/ui/webc/main/TabSeparator.js +10 -2
- package/src/sap/ui/webc/main/Table.js +2 -2
- package/src/sap/ui/webc/main/TableCell.js +1 -1
- package/src/sap/ui/webc/main/TableColumn.js +21 -1
- package/src/sap/ui/webc/main/TableGroupRow.js +1 -1
- package/src/sap/ui/webc/main/TableRow.js +9 -1
- package/src/sap/ui/webc/main/TextArea.js +2 -3
- package/src/sap/ui/webc/main/TimePicker.js +31 -3
- package/src/sap/ui/webc/main/Title.js +1 -1
- package/src/sap/ui/webc/main/Toast.js +1 -1
- package/src/sap/ui/webc/main/ToggleButton.js +4 -3
- package/src/sap/ui/webc/main/Token.js +6 -4
- package/src/sap/ui/webc/main/Tree.js +31 -2
- package/src/sap/ui/webc/main/TreeItem.js +63 -10
- package/src/sap/ui/webc/main/TreeItemCustom.js +205 -0
- package/src/sap/ui/webc/main/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/ui/webc/main/library.js +348 -70
- package/src/sap/ui/webc/main/thirdparty/Avatar.js +130 -232
- package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +109 -184
- package/src/sap/ui/webc/main/thirdparty/Badge.js +40 -86
- package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +152 -202
- package/src/sap/ui/webc/main/thirdparty/BreadcrumbsItem.js +27 -78
- package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +46 -115
- package/src/sap/ui/webc/main/thirdparty/Button.js +123 -287
- package/src/sap/ui/webc/main/thirdparty/Calendar.js +146 -197
- package/src/sap/ui/webc/main/thirdparty/CalendarDate.js +16 -26
- package/src/sap/ui/webc/main/thirdparty/CalendarHeader.js +78 -113
- package/src/sap/ui/webc/main/thirdparty/CalendarPart.js +16 -27
- package/src/sap/ui/webc/main/thirdparty/Card.js +43 -92
- package/src/sap/ui/webc/main/thirdparty/CardHeader.js +69 -129
- package/src/sap/ui/webc/main/thirdparty/Carousel.js +167 -229
- package/src/sap/ui/webc/main/thirdparty/CheckBox.js +103 -244
- package/src/sap/ui/webc/main/thirdparty/ColorPalette.js +122 -173
- package/src/sap/ui/webc/main/thirdparty/ColorPaletteItem.js +41 -77
- package/src/sap/ui/webc/main/thirdparty/ColorPalettePopover.js +62 -105
- package/src/sap/ui/webc/main/thirdparty/ColorPicker.js +138 -244
- package/src/sap/ui/webc/main/thirdparty/ComboBox.js +297 -419
- package/src/sap/ui/webc/main/thirdparty/ComboBoxGroupItem.js +20 -41
- package/src/sap/ui/webc/main/thirdparty/ComboBoxItem.js +30 -37
- package/src/sap/ui/webc/main/thirdparty/CustomListItem.js +33 -54
- package/src/sap/ui/webc/main/thirdparty/DateComponentBase.js +59 -76
- package/src/sap/ui/webc/main/thirdparty/DatePicker.js +207 -334
- package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +56 -72
- package/src/sap/ui/webc/main/thirdparty/DateTimePicker.js +63 -111
- package/src/sap/ui/webc/main/thirdparty/DayPicker.js +147 -212
- package/src/sap/ui/webc/main/thirdparty/Dialog.js +162 -183
- package/src/sap/ui/webc/main/thirdparty/FileUploader.js +101 -242
- package/src/sap/ui/webc/main/thirdparty/GroupHeaderListItem.js +25 -58
- package/src/sap/ui/webc/main/thirdparty/Icon.js +103 -193
- package/src/sap/ui/webc/main/thirdparty/Input.js +453 -717
- package/src/sap/ui/webc/main/thirdparty/Interfaces.js +51 -61
- package/src/sap/ui/webc/main/thirdparty/Label.js +49 -108
- package/src/sap/ui/webc/main/thirdparty/Link.js +104 -247
- package/src/sap/ui/webc/main/thirdparty/List.js +303 -468
- package/src/sap/ui/webc/main/thirdparty/ListItem.js +126 -166
- package/src/sap/ui/webc/main/thirdparty/ListItemBase.js +64 -104
- package/src/sap/ui/webc/main/thirdparty/Menu.js +264 -200
- package/src/sap/ui/webc/main/thirdparty/MenuItem.js +66 -117
- package/src/sap/ui/webc/main/thirdparty/MessageStrip.js +70 -141
- package/src/sap/ui/webc/main/thirdparty/MonthPicker.js +100 -103
- package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +381 -496
- package/src/sap/ui/webc/main/thirdparty/MultiComboBoxGroupItem.js +20 -34
- package/src/sap/ui/webc/main/thirdparty/MultiComboBoxItem.js +19 -26
- package/src/sap/ui/webc/main/thirdparty/MultiInput.js +127 -137
- package/src/sap/ui/webc/main/thirdparty/Option.js +40 -107
- package/src/sap/ui/webc/main/thirdparty/Panel.js +102 -214
- package/src/sap/ui/webc/main/thirdparty/Popover.js +141 -274
- package/src/sap/ui/webc/main/thirdparty/Popup.js +155 -250
- package/src/sap/ui/webc/main/thirdparty/ProgressIndicator.js +41 -109
- package/src/sap/ui/webc/main/thirdparty/RadioButton.js +111 -263
- package/src/sap/ui/webc/main/thirdparty/RadioButtonGroup.js +32 -13
- package/src/sap/ui/webc/main/thirdparty/RangeSlider.js +208 -208
- package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +79 -146
- package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +70 -81
- package/src/sap/ui/webc/main/thirdparty/SegmentedButton.js +141 -126
- package/src/sap/ui/webc/main/thirdparty/SegmentedButtonItem.js +41 -73
- package/src/sap/ui/webc/main/thirdparty/Select.js +186 -285
- package/src/sap/ui/webc/main/thirdparty/Slider.js +84 -80
- package/src/sap/ui/webc/main/thirdparty/SliderBase.js +151 -326
- package/src/sap/ui/webc/main/thirdparty/SplitButton.js +111 -240
- package/src/sap/ui/webc/main/thirdparty/StandardListItem.js +50 -142
- package/src/sap/ui/webc/main/thirdparty/StepInput.js +137 -309
- package/src/sap/ui/webc/main/thirdparty/SuggestionGroupItem.js +22 -35
- package/src/sap/ui/webc/main/thirdparty/SuggestionItem.js +37 -114
- package/src/sap/ui/webc/main/thirdparty/SuggestionListItem.js +29 -37
- package/src/sap/ui/webc/main/thirdparty/Switch.js +63 -146
- package/src/sap/ui/webc/main/thirdparty/Tab.js +126 -168
- package/src/sap/ui/webc/main/thirdparty/TabContainer.js +344 -453
- package/src/sap/ui/webc/main/thirdparty/TabSeparator.js +35 -26
- package/src/sap/ui/webc/main/thirdparty/Table.js +319 -489
- package/src/sap/ui/webc/main/thirdparty/TableCell.js +41 -50
- package/src/sap/ui/webc/main/thirdparty/TableColumn.js +38 -88
- package/src/sap/ui/webc/main/thirdparty/TableGroupRow.js +50 -90
- package/src/sap/ui/webc/main/thirdparty/TableRow.js +137 -174
- package/src/sap/ui/webc/main/thirdparty/TextArea.js +162 -358
- package/src/sap/ui/webc/main/thirdparty/TimePicker.js +24 -52
- package/src/sap/ui/webc/main/thirdparty/TimePickerBase.js +116 -159
- package/src/sap/ui/webc/main/thirdparty/TimeSelection.js +121 -167
- package/src/sap/ui/webc/main/thirdparty/Title.js +38 -71
- package/src/sap/ui/webc/main/thirdparty/Toast.js +41 -110
- package/src/sap/ui/webc/main/thirdparty/ToggleButton.js +25 -39
- package/src/sap/ui/webc/main/thirdparty/Token.js +86 -143
- package/src/sap/ui/webc/main/thirdparty/Tokenizer.js +256 -202
- package/src/sap/ui/webc/main/thirdparty/Tree.js +227 -302
- package/src/sap/ui/webc/main/thirdparty/TreeItem.js +42 -156
- package/src/sap/ui/webc/main/thirdparty/TreeItemBase.js +256 -0
- package/src/sap/ui/webc/main/thirdparty/TreeItemCustom.js +80 -0
- package/src/sap/ui/webc/main/thirdparty/TreeList.js +51 -0
- package/src/sap/ui/webc/main/thirdparty/WheelSlider.js +75 -120
- package/src/sap/ui/webc/main/thirdparty/YearPicker.js +135 -124
- package/src/sap/ui/webc/main/thirdparty/css/themes/Avatar.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/AvatarGroup.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Badge.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Breadcrumbs.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/BreadcrumbsPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/BrowserScrollbar.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/BusyIndicator.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Button.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Calendar.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/CalendarHeader.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Card.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/CardHeader.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Carousel.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/CheckBox.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalette.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteItem.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalettePopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteStaticArea.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBox.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBoxPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/CustomListItem.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DatePicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DatePickerPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DateRangePicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePickerPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DayPicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Dialog.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/FileUploader.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/FormComponents.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/GroupHeaderListItem.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/GrowingButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Icon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Input.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/InputIcon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/InvisibleTextStyles.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Label.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Link.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/List.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ListItem.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ListItemBase.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Menu.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/MessageStrip.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/MonthPicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/MultiComboBox.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/MultiInput.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Panel.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Popover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Popup.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/PopupStaticAreaStyles.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/PopupsCommon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ProgressIndicator.css +3 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/RadioButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/RangeSlider.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/RatingIndicator.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopoverCommon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/SegmentedButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Select.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/SelectPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/SliderBase.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/SplitButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/StepInput.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Suggestions.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Switch.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Tab.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabContainer.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabInOverflow.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabInStrip.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabSemanticIcon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabSeparatorInOverflow.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabSeparatorInStrip.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Table.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableCell.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableColumn.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableGroupRow.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableRow.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TextArea.css +2 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimePicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimePickerPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimeSelection.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Title.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Toast.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ToggleButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Token.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Tokenizer.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Tree.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TreeItem.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ValueStateMessage.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/WheelSlider.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/YearPicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/custom-elements.json.js +1 -0
- package/src/sap/ui/webc/main/thirdparty/features/InputElementsFormSupport.js +25 -10
- package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +70 -72
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ar.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_bg.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ca.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_cs.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_cy.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_da.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_de.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_el.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_GB.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_sappsd.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_saprigi.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_saptrc.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_es.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_es_MX.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_et.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fi.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fr.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fr_CA.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hi.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hr.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hu.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_it.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_iw.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ja.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_kk.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ko.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_lt.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_lv.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ms.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_nl.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_no.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pl.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pt.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pt_PT.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ro.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ru.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sh.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sk.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sl.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sv.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_th.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_tr.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_uk.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_vi.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_zh_CN.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_zh_TW.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/i18n/i18n-defaults.js +108 -23
- package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarGroupTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarTemplate.lit.js +15 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BadgeTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsPopoverTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BusyIndicatorTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ButtonTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarHeaderTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CardHeaderTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CardTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CarouselTemplate.lit.js +30 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CheckBoxTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteDialogTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteItemTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPalettePopoverTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPickerTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxPopoverTemplate.lit.js +57 -17
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CustomListItemTemplate.lit.js +48 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerPopoverTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DateTimePickerPopoverTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DayPickerTemplate.lit.js +30 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DialogTemplate.lit.js +36 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderPopoverTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/GroupHeaderListItemTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/IconTemplate.lit.js +16 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputPopoverTemplate.lit.js +63 -21
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/LabelTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/LinkTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ListItemTemplate.lit.js +48 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ListTemplate.lit.js +27 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MenuTemplate.lit.js +33 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MessageStripTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MonthPickerTemplate.lit.js +12 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +72 -24
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +30 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PanelTemplate.lit.js +21 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopoverTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupBlockLayerTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ProgressIndicatorTemplate.lit.js +33 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RadioButtonTemplate.lit.js +13 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RangeSliderTemplate.lit.js +30 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RatingIndicatorTemplate.lit.js +30 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ResponsivePopoverTemplate.lit.js +39 -13
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonItemTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectPopoverTemplate.lit.js +51 -17
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderBaseTemplate.lit.js +24 -8
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderTemplate.lit.js +27 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SplitButtonTemplate.lit.js +6 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/StandardListItemTemplate.lit.js +78 -18
- package/src/sap/ui/webc/main/thirdparty/generated/templates/StepInputTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js +87 -21
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerPopoverTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerTemplate.lit.js +33 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInOverflowTemplate.lit.js +18 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +24 -8
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInOverflowTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInStripTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableCellTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableColumnTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableGroupRowTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableRowTemplate.lit.js +36 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableTemplate.lit.js +33 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaPopoverTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerPopoverTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimeSelectionTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TitleTemplate.lit.js +21 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToastTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToggleButtonTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerPopoverTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemBaseTemplate.lit.js +72 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemCustomTemplate.lit.js +72 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemTemplate.lit.js +78 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/WheelSliderTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/YearPickerTemplate.lit.js +12 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Avatar.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/AvatarGroup.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Badge.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Breadcrumbs.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BreadcrumbsPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BrowserScrollbar.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BusyIndicator.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Calendar.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CalendarHeader.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Card.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CardHeader.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Carousel.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CheckBox.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalette.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteItem.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalettePopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteStaticArea.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBox.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBoxPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CustomListItem.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePickerPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateRangePicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePickerPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DayPicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Dialog.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/FileUploader.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/FormComponents.css.js +20 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/GroupHeaderListItem.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/GrowingButton.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Icon.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Input.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/InputIcon.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/InvisibleTextStyles.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Label.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Link.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/List.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItem.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItemBase.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Menu.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MessageStrip.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MonthPicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBox.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBoxPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiInput.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Panel.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Popover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Popup.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupGlobal.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupStaticAreaStyles.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupsCommon.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ProgressIndicator.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RadioButton.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RangeSlider.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RatingIndicator.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopoverCommon.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SegmentedButton.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Select.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SelectPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SliderBase.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SplitButton.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/StepInput.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Suggestions.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Switch.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tab.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabContainer.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInOverflow.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInStrip.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSemanticIcon.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInOverflow.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInStrip.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Table.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableCell.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableColumn.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableGroupRow.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableRow.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TapHighlightColor.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TextArea.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePickerPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimeSelection.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Title.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Toast.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Token.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tokenizer.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TokenizerPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tree.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeItem.css.js +20 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ValueStateMessage.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/WheelSlider.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/YearPicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_dark/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_exp/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/popup-utils/OpenedPopupsRegistry.js +16 -1
- package/src/sap/ui/webc/main/thirdparty/popup-utils/PopoverRegistry.js +36 -21
- package/src/sap/ui/webc/main/thirdparty/timepicker-utils/TimeSlider.js +6 -3
- package/src/sap/ui/webc/main/thirdparty/types/AvatarColorScheme.js +21 -34
- package/src/sap/ui/webc/main/thirdparty/types/AvatarGroupType.js +13 -26
- package/src/sap/ui/webc/main/thirdparty/types/AvatarShape.js +11 -24
- package/src/sap/ui/webc/main/thirdparty/types/AvatarSize.js +19 -32
- package/src/sap/ui/webc/main/thirdparty/types/BackgroundDesign.js +40 -0
- package/src/sap/ui/webc/main/thirdparty/types/BorderDesign.js +34 -0
- package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsDesign.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsSeparatorStyle.js +17 -29
- package/src/sap/ui/webc/main/thirdparty/types/BusyIndicatorSize.js +13 -25
- package/src/sap/ui/webc/main/thirdparty/types/ButtonDesign.js +16 -28
- package/src/sap/ui/webc/main/thirdparty/types/CalendarPickersMode.js +40 -0
- package/src/sap/ui/webc/main/thirdparty/types/CalendarSelectionMode.js +13 -25
- package/src/sap/ui/webc/main/thirdparty/types/CarouselArrowsPlacement.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/CarouselPageIndicatorStyle.js +35 -0
- package/src/sap/ui/webc/main/thirdparty/types/ComboBoxFilter.js +46 -0
- package/src/sap/ui/webc/main/thirdparty/types/HasPopup.js +14 -27
- package/src/sap/ui/webc/main/thirdparty/types/IconDesign.js +70 -0
- package/src/sap/ui/webc/main/thirdparty/types/InputType.js +16 -28
- package/src/sap/ui/webc/main/thirdparty/types/LinkDesign.js +13 -25
- package/src/sap/ui/webc/main/thirdparty/types/ListGrowingMode.js +15 -27
- package/src/sap/ui/webc/main/thirdparty/types/ListItemType.js +19 -25
- package/src/sap/ui/webc/main/thirdparty/types/ListMode.js +17 -29
- package/src/sap/ui/webc/main/thirdparty/types/ListSeparators.js +14 -26
- package/src/sap/ui/webc/main/thirdparty/types/MessageStripDesign.js +14 -26
- package/src/sap/ui/webc/main/thirdparty/types/PanelAccessibleRole.js +19 -28
- package/src/sap/ui/webc/main/thirdparty/types/PopoverHorizontalAlign.js +18 -30
- package/src/sap/ui/webc/main/thirdparty/types/PopoverPlacementType.js +14 -26
- package/src/sap/ui/webc/main/thirdparty/types/PopoverVerticalAlign.js +14 -26
- package/src/sap/ui/webc/main/thirdparty/types/PopupAccessibleRole.js +40 -0
- package/src/sap/ui/webc/main/thirdparty/types/Priority.js +13 -26
- package/src/sap/ui/webc/main/thirdparty/types/SegmentedButtonMode.js +34 -0
- package/src/sap/ui/webc/main/thirdparty/types/SemanticColor.js +15 -27
- package/src/sap/ui/webc/main/thirdparty/types/SwitchDesign.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/TabContainerBackgroundDesign.js +40 -0
- package/src/sap/ui/webc/main/thirdparty/types/TabContainerTabsPlacement.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/TabLayout.js +14 -26
- package/src/sap/ui/webc/main/thirdparty/types/TableColumnPopinDisplay.js +34 -0
- package/src/sap/ui/webc/main/thirdparty/types/TableGrowingMode.js +17 -29
- package/src/sap/ui/webc/main/thirdparty/types/TableMode.js +13 -25
- package/src/sap/ui/webc/main/thirdparty/types/TableRowType.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/TabsOverflowMode.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/TitleLevel.js +16 -28
- package/src/sap/ui/webc/main/thirdparty/types/ToastPlacement.js +28 -40
- package/src/sap/ui/webc/main/thirdparty/types/WrappingType.js +11 -24
- package/ui5.yaml +15 -2
- package/src/sap/ui/webc/main/thirdparty/DurationPicker.js +0 -300
- package/src/sap/ui/webc/main/thirdparty/TreeListItem.js +0 -316
- package/src/sap/ui/webc/main/thirdparty/css/themes/TreeListItem.css +0 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeListItemTemplate.lit.js +0 -27
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeListItem.css.js +0 -19
- package/src/sap/ui/webc/main/thirdparty/types/GrowingMode.js +0 -53
@@ -1,10 +1,16 @@
|
|
1
|
-
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/localization/dates/CalendarDate", "sap/ui/webc/common/thirdparty/base/Render", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/localization/getCachedLocaleDataInstance", "sap/ui/webc/common/thirdparty/base/locale/getLocale", "sap/ui/webc/common/thirdparty/localization/DateFormat", "./CalendarDate", "./CalendarPart", "./CalendarHeader", "./DayPicker", "./MonthPicker", "./YearPicker", "./types/CalendarSelectionMode", "sap/ui/webc/common/thirdparty/localization/features/calendar/Gregorian", "./generated/templates/CalendarTemplate.lit", "./generated/themes/Calendar.css"], function (_exports, _CalendarDate, _Render, _Keys, _getCachedLocaleDataInstance, _getLocale, _DateFormat, CalendarDateComponent, _CalendarPart, _CalendarHeader, _DayPicker, _MonthPicker, _YearPicker, _CalendarSelectionMode, _Gregorian, _CalendarTemplate, _Calendar) {
|
1
|
+
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/decorators/customElement", "sap/ui/webc/common/thirdparty/base/decorators/event", "sap/ui/webc/common/thirdparty/base/decorators/property", "sap/ui/webc/common/thirdparty/base/decorators/slot", "sap/ui/webc/common/thirdparty/localization/dates/transformDateToSecondaryType", "sap/ui/webc/common/thirdparty/localization/dates/convertMonthNumbersToMonthNames", "sap/ui/webc/common/thirdparty/localization/dates/CalendarDate", "sap/ui/webc/common/thirdparty/base/Render", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/localization/getCachedLocaleDataInstance", "sap/ui/webc/common/thirdparty/base/locale/getLocale", "sap/ui/webc/common/thirdparty/localization/DateFormat", "./CalendarDate", "./CalendarPart", "./CalendarHeader", "./DayPicker", "./MonthPicker", "./YearPicker", "./types/CalendarSelectionMode", "./types/CalendarPickersMode", "sap/ui/webc/common/thirdparty/localization/features/calendar/Gregorian", "./generated/templates/CalendarTemplate.lit", "./generated/themes/Calendar.css"], function (_exports, _customElement, _event, _property, _slot, _transformDateToSecondaryType, _convertMonthNumbersToMonthNames, _CalendarDate, _Render, _Keys, _getCachedLocaleDataInstance, _getLocale, _DateFormat, CalendarDateComponent, _CalendarPart, _CalendarHeader, _DayPicker, _MonthPicker, _YearPicker, _CalendarSelectionMode, _CalendarPickersMode, _Gregorian, _CalendarTemplate, _Calendar) {
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
Object.defineProperty(_exports, "__esModule", {
|
5
5
|
value: true
|
6
6
|
});
|
7
7
|
_exports.default = void 0;
|
8
|
+
_customElement = _interopRequireDefault(_customElement);
|
9
|
+
_event = _interopRequireDefault(_event);
|
10
|
+
_property = _interopRequireDefault(_property);
|
11
|
+
_slot = _interopRequireDefault(_slot);
|
12
|
+
_transformDateToSecondaryType = _interopRequireDefault(_transformDateToSecondaryType);
|
13
|
+
_convertMonthNumbersToMonthNames = _interopRequireDefault(_convertMonthNumbersToMonthNames);
|
8
14
|
_CalendarDate = _interopRequireDefault(_CalendarDate);
|
9
15
|
_getCachedLocaleDataInstance = _interopRequireDefault(_getCachedLocaleDataInstance);
|
10
16
|
_getLocale = _interopRequireDefault(_getLocale);
|
@@ -16,116 +22,19 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/localization/dates/Cale
|
|
16
22
|
_MonthPicker = _interopRequireDefault(_MonthPicker);
|
17
23
|
_YearPicker = _interopRequireDefault(_YearPicker);
|
18
24
|
_CalendarSelectionMode = _interopRequireDefault(_CalendarSelectionMode);
|
25
|
+
_CalendarPickersMode = _interopRequireDefault(_CalendarPickersMode);
|
19
26
|
_CalendarTemplate = _interopRequireDefault(_CalendarTemplate);
|
20
27
|
_Calendar = _interopRequireDefault(_Calendar);
|
21
28
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
22
29
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
23
30
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
/**
|
31
|
-
* @public
|
32
|
-
*/
|
33
|
-
const metadata = {
|
34
|
-
tag: "ui5-calendar",
|
35
|
-
fastNavigation: true,
|
36
|
-
properties: /** @lends sap.ui.webcomponents.main.Calendar.prototype */{
|
37
|
-
/**
|
38
|
-
* Defines the type of selection used in the calendar component.
|
39
|
-
* Accepted property values are:<br>
|
40
|
-
* <ul>
|
41
|
-
* <li><code>CalendarSelectionMode.Single</code> - enables a single date selection.(default value)</li>
|
42
|
-
* <li><code>CalendarSelectionMode.Range</code> - enables selection of a date range.</li>
|
43
|
-
* <li><code>CalendarSelectionMode.Multiple</code> - enables selection of multiple dates.</li>
|
44
|
-
* </ul>
|
45
|
-
* @type {CalendarSelectionMode}
|
46
|
-
* @defaultvalue "Single"
|
47
|
-
* @public
|
48
|
-
*/
|
49
|
-
selectionMode: {
|
50
|
-
type: _CalendarSelectionMode.default,
|
51
|
-
defaultValue: _CalendarSelectionMode.default.Single
|
52
|
-
},
|
53
|
-
/**
|
54
|
-
* Defines the visibility of the week numbers column.
|
55
|
-
* <br><br>
|
56
|
-
*
|
57
|
-
* <b>Note:</b> For calendars other than Gregorian,
|
58
|
-
* the week numbers are not displayed regardless of what is set.
|
59
|
-
*
|
60
|
-
* @type {boolean}
|
61
|
-
* @defaultvalue false
|
62
|
-
* @public
|
63
|
-
*/
|
64
|
-
hideWeekNumbers: {
|
65
|
-
type: Boolean
|
66
|
-
},
|
67
|
-
/**
|
68
|
-
* Which picker is currently visible to the user: day/month/year
|
69
|
-
*/
|
70
|
-
_currentPicker: {
|
71
|
-
type: String,
|
72
|
-
defaultValue: "day"
|
73
|
-
},
|
74
|
-
_previousButtonDisabled: {
|
75
|
-
type: Boolean
|
76
|
-
},
|
77
|
-
_nextButtonDisabled: {
|
78
|
-
type: Boolean
|
79
|
-
},
|
80
|
-
_headerMonthButtonText: {
|
81
|
-
type: String
|
82
|
-
},
|
83
|
-
_headerYearButtonText: {
|
84
|
-
type: String
|
85
|
-
}
|
86
|
-
},
|
87
|
-
managedSlots: true,
|
88
|
-
slots: /** @lends sap.ui.webcomponents.main.Calendar.prototype */{
|
89
|
-
/**
|
90
|
-
* Defines the selected date or dates (depending on the <code>selectionMode</code> property) for this calendar as instances of <code>ui5-date</code>
|
91
|
-
*
|
92
|
-
* @type {sap.ui.webcomponents.main.ICalendarDate[]}
|
93
|
-
* @slot dates
|
94
|
-
* @public
|
95
|
-
*/
|
96
|
-
"default": {
|
97
|
-
propertyName: "dates",
|
98
|
-
type: HTMLElement,
|
99
|
-
invalidateOnChildChange: true
|
100
|
-
}
|
101
|
-
},
|
102
|
-
events: /** @lends sap.ui.webcomponents.main.Calendar.prototype */{
|
103
|
-
/**
|
104
|
-
* Fired when the selected dates change.
|
105
|
-
* <b>Note:</b> If you call <code>preventDefault()</code> for this event, the component will not
|
106
|
-
* create instances of <code>ui5-date</code> for the newly selected dates. In that case you should do this manually.
|
107
|
-
*
|
108
|
-
* @event sap.ui.webcomponents.main.Calendar#selected-dates-change
|
109
|
-
* @allowPreventDefault
|
110
|
-
* @param {Array} values The selected dates
|
111
|
-
* @param {Array} dates The selected dates as UTC timestamps
|
112
|
-
* @public
|
113
|
-
*/
|
114
|
-
"selected-dates-change": {
|
115
|
-
detail: {
|
116
|
-
dates: {
|
117
|
-
type: Array
|
118
|
-
},
|
119
|
-
values: {
|
120
|
-
type: Array
|
121
|
-
}
|
122
|
-
}
|
123
|
-
},
|
124
|
-
"show-month-press": {},
|
125
|
-
"show-year-press": {}
|
126
|
-
}
|
31
|
+
var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
|
32
|
+
var c = arguments.length,
|
33
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
34
|
+
d;
|
35
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
36
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
127
37
|
};
|
128
|
-
|
129
38
|
/**
|
130
39
|
* @class
|
131
40
|
*
|
@@ -233,46 +142,34 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/localization/dates/Cale
|
|
233
142
|
*
|
234
143
|
* @constructor
|
235
144
|
* @author SAP SE
|
236
|
-
* @alias sap.ui.
|
237
|
-
* @extends CalendarPart
|
145
|
+
* @alias sap.ui.webc.main.Calendar
|
146
|
+
* @extends sap.ui.webc.main.CalendarPart
|
238
147
|
* @tagname ui5-calendar
|
239
|
-
* @appenddocs CalendarDate
|
148
|
+
* @appenddocs sap.ui.webc.main.CalendarDate
|
240
149
|
* @public
|
241
150
|
* @since 1.0.0-rc.11
|
242
151
|
*/
|
243
|
-
class Calendar extends _CalendarPart.default {
|
244
|
-
static get metadata() {
|
245
|
-
return metadata;
|
246
|
-
}
|
247
|
-
static get template() {
|
248
|
-
return _CalendarTemplate.default;
|
249
|
-
}
|
250
|
-
static get styles() {
|
251
|
-
return _Calendar.default;
|
252
|
-
}
|
253
|
-
|
152
|
+
let Calendar = class Calendar extends _CalendarPart.default {
|
254
153
|
/**
|
255
154
|
* @private
|
256
155
|
*/
|
257
156
|
get _selectedDatesTimestamps() {
|
258
157
|
return this.dates.map(date => {
|
259
158
|
const value = date.value;
|
260
|
-
|
159
|
+
const validValue = value && !!this.getFormat().parse(value);
|
160
|
+
return validValue ? this._getTimeStampFromString(value) / 1000 : undefined;
|
261
161
|
}).filter(date => !!date);
|
262
162
|
}
|
263
|
-
|
264
163
|
/**
|
265
164
|
* @private
|
266
165
|
*/
|
267
166
|
_setSelectedDates(selectedDates) {
|
268
167
|
const selectedValues = selectedDates.map(timestamp => this.getFormat().format(new Date(timestamp * 1000), true)); // Format as UTC
|
269
168
|
const valuesInDOM = [...this.dates].map(dateElement => dateElement.value);
|
270
|
-
|
271
169
|
// Remove all elements for dates that are no longer selected
|
272
170
|
this.dates.filter(dateElement => !selectedValues.includes(dateElement.value)).forEach(dateElement => {
|
273
171
|
this.removeChild(dateElement);
|
274
172
|
});
|
275
|
-
|
276
173
|
// Create tags for the selected dates that don't already exist in DOM
|
277
174
|
selectedValues.filter(value => !valuesInDOM.includes(value)).forEach(value => {
|
278
175
|
const dateElement = document.createElement(CalendarDateComponent.default.getMetadata().getTag());
|
@@ -280,6 +177,20 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/localization/dates/Cale
|
|
280
177
|
this.appendChild(dateElement);
|
281
178
|
});
|
282
179
|
}
|
180
|
+
/**
|
181
|
+
* Makes sure that _currentPicker is always set to a value, allowed by _pickersMode
|
182
|
+
*/
|
183
|
+
_normalizeCurrentPicker() {
|
184
|
+
if (this._currentPicker === "day" && this._pickersMode !== _CalendarPickersMode.default.DAY_MONTH_YEAR) {
|
185
|
+
this._currentPicker = "month";
|
186
|
+
}
|
187
|
+
if (this._currentPicker === "month" && this._pickersMode === _CalendarPickersMode.default.YEAR) {
|
188
|
+
this._currentPicker = "year";
|
189
|
+
}
|
190
|
+
}
|
191
|
+
onBeforeRendering() {
|
192
|
+
this._normalizeCurrentPicker();
|
193
|
+
}
|
283
194
|
async onAfterRendering() {
|
284
195
|
await (0, _Render.renderFinished)(); // Await for the current picker to render and then ask if it has previous/next pages
|
285
196
|
this._previousButtonDisabled = !this._currentPickerDOM._hasPreviousPage();
|
@@ -299,42 +210,57 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/localization/dates/Cale
|
|
299
210
|
} else {
|
300
211
|
this._headerYearButtonText = String(yearFormat.format(this._localDate, true));
|
301
212
|
}
|
213
|
+
this.secondaryCalendarType && this._setSecondaryCalendarTypeButtonText();
|
302
214
|
}
|
303
|
-
|
304
215
|
/**
|
305
216
|
* The user clicked the "month" button in the header
|
306
217
|
*/
|
307
|
-
onHeaderShowMonthPress(
|
218
|
+
onHeaderShowMonthPress(e) {
|
308
219
|
this._currentPickerDOM._autoFocus = false;
|
309
220
|
this._currentPicker = "month";
|
310
|
-
this.fireEvent("show-month-press",
|
221
|
+
this.fireEvent("show-month-press", e);
|
311
222
|
}
|
312
|
-
|
313
223
|
/**
|
314
224
|
* The user clicked the "year" button in the header
|
315
225
|
*/
|
316
|
-
onHeaderShowYearPress(
|
226
|
+
onHeaderShowYearPress(e) {
|
317
227
|
this._currentPickerDOM._autoFocus = false;
|
318
228
|
this._currentPicker = "year";
|
319
|
-
this.fireEvent("show-year-press",
|
229
|
+
this.fireEvent("show-year-press", e);
|
320
230
|
}
|
321
231
|
get _currentPickerDOM() {
|
232
|
+
// Calendar's shadowRoot and all the pickers are always present - the "!" is safe to be used.
|
322
233
|
return this.shadowRoot.querySelector(`[ui5-${this._currentPicker}picker]`);
|
323
234
|
}
|
324
|
-
|
325
235
|
/**
|
326
236
|
* The year clicked the "Previous" button in the header
|
327
237
|
*/
|
328
238
|
onHeaderPreviousPress() {
|
329
239
|
this._currentPickerDOM._showPreviousPage();
|
330
240
|
}
|
331
|
-
|
332
241
|
/**
|
333
242
|
* The year clicked the "Next" button in the header
|
334
243
|
*/
|
335
244
|
onHeaderNextPress() {
|
336
245
|
this._currentPickerDOM._showNextPage();
|
337
246
|
}
|
247
|
+
_setSecondaryCalendarTypeButtonText() {
|
248
|
+
const yearFormatSecType = _DateFormat.default.getDateInstance({
|
249
|
+
format: "y",
|
250
|
+
calendarType: this.secondaryCalendarType
|
251
|
+
});
|
252
|
+
if (this._currentPicker === "year") {
|
253
|
+
const rangeStart = new _CalendarDate.default(this._calendarDate, this._primaryCalendarType);
|
254
|
+
const rangeEnd = new _CalendarDate.default(this._calendarDate, this._primaryCalendarType);
|
255
|
+
rangeStart.setYear(this._currentPickerDOM._firstYear);
|
256
|
+
rangeEnd.setYear(this._currentPickerDOM._lastYear);
|
257
|
+
const rangeStartSecType = (0, _transformDateToSecondaryType.default)(this.primaryCalendarType, this.secondaryCalendarType, rangeStart.valueOf() / 1000, true).firstDate;
|
258
|
+
const rangeEndSecType = (0, _transformDateToSecondaryType.default)(this.primaryCalendarType, this.secondaryCalendarType, rangeEnd.valueOf() / 1000, true).lastDate;
|
259
|
+
this._headerYearButtonTextSecType = `${yearFormatSecType.format(rangeStartSecType.toLocalJSDate(), true)} - ${yearFormatSecType.format(rangeEndSecType.toLocalJSDate(), true)}`;
|
260
|
+
} else {
|
261
|
+
this._headerYearButtonTextSecType = String(yearFormatSecType.format(this._localDate, true));
|
262
|
+
}
|
263
|
+
}
|
338
264
|
get secondaryCalendarTypeButtonText() {
|
339
265
|
if (!this.secondaryCalendarType) {
|
340
266
|
return;
|
@@ -344,54 +270,15 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/localization/dates/Cale
|
|
344
270
|
format: "y",
|
345
271
|
calendarType: this.secondaryCalendarType
|
346
272
|
});
|
347
|
-
const
|
273
|
+
const dateInSecType = (0, _transformDateToSecondaryType.default)(this._primaryCalendarType, this.secondaryCalendarType, this._timestamp);
|
274
|
+
const secondMonthInfo = (0, _convertMonthNumbersToMonthNames.default)(dateInSecType.firstDate.getMonth(), dateInSecType.lastDate.getMonth(), this.secondaryCalendarType);
|
348
275
|
const secondYearText = secondYearFormat.format(localDate, true);
|
349
276
|
return {
|
350
277
|
yearButtonText: secondYearText,
|
351
278
|
monthButtonText: secondMonthInfo.text,
|
352
|
-
monthButtonInfo: secondMonthInfo.
|
353
|
-
};
|
354
|
-
}
|
355
|
-
_getDisplayedSecondaryMonthText() {
|
356
|
-
const month = this._getDisplayedSecondaryMonths();
|
357
|
-
const localeData = (0, _getCachedLocaleDataInstance.default)((0, _getLocale.default)());
|
358
|
-
const pattern = localeData.getIntervalPattern();
|
359
|
-
const secondaryMonthsNames = (0, _getCachedLocaleDataInstance.default)((0, _getLocale.default)()).getMonthsStandAlone("abbreviated", this.secondaryCalendarType);
|
360
|
-
const secondaryMonthsNamesWide = (0, _getCachedLocaleDataInstance.default)((0, _getLocale.default)()).getMonthsStandAlone("wide", this.secondaryCalendarType);
|
361
|
-
if (month.startMonth === month.endMonth) {
|
362
|
-
return {
|
363
|
-
text: localeData.getMonths("abbreviated", this.secondaryCalendarType)[month.startMonth],
|
364
|
-
textInfo: localeData.getMonths("wide", this.secondaryCalendarType)[month.startMonth]
|
365
|
-
};
|
366
|
-
}
|
367
|
-
return {
|
368
|
-
text: pattern.replace(/\{0\}/, secondaryMonthsNames[month.startMonth]).replace(/\{1\}/, secondaryMonthsNames[month.endMonth]),
|
369
|
-
textInfo: pattern.replace(/\{0\}/, secondaryMonthsNamesWide[month.startMonth]).replace(/\{1\}/, secondaryMonthsNamesWide[month.endMonth])
|
370
|
-
};
|
371
|
-
}
|
372
|
-
_getDisplayedSecondaryMonths() {
|
373
|
-
const localDate = new Date(this._timestamp * 1000);
|
374
|
-
let firstDate = _CalendarDate.default.fromLocalJSDate(localDate, this._primaryCalendarType);
|
375
|
-
firstDate.setDate(1);
|
376
|
-
firstDate = new _CalendarDate.default(firstDate, this.secondaryCalendarType);
|
377
|
-
const startMonth = firstDate.getMonth();
|
378
|
-
let lastDate = _CalendarDate.default.fromLocalJSDate(localDate, this._primaryCalendarType);
|
379
|
-
lastDate.setDate(this._getDaysInMonth(lastDate));
|
380
|
-
lastDate = new _CalendarDate.default(lastDate, this.secondaryCalendarType);
|
381
|
-
const endMonth = lastDate.getMonth();
|
382
|
-
return {
|
383
|
-
startMonth,
|
384
|
-
endMonth
|
279
|
+
monthButtonInfo: secondMonthInfo.textInfo
|
385
280
|
};
|
386
281
|
}
|
387
|
-
_getDaysInMonth(date) {
|
388
|
-
const tempCalendarDate = new _CalendarDate.default(date);
|
389
|
-
tempCalendarDate.setDate(1);
|
390
|
-
tempCalendarDate.setMonth(tempCalendarDate.getMonth() + 1);
|
391
|
-
tempCalendarDate.setDate(0);
|
392
|
-
return tempCalendarDate.getDate();
|
393
|
-
}
|
394
|
-
|
395
282
|
/**
|
396
283
|
* The month button is hidden when the month picker or year picker is shown
|
397
284
|
* @returns {boolean}
|
@@ -409,16 +296,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/localization/dates/Cale
|
|
409
296
|
get _isYearPickerHidden() {
|
410
297
|
return this._currentPicker !== "year";
|
411
298
|
}
|
412
|
-
|
413
|
-
const
|
414
|
-
|
415
|
-
const datesValues = selectedDates.map(ts => {
|
416
|
-
const calendarDate = _CalendarDate.default.fromTimestamp(ts * 1000, this._primaryCalendarType);
|
299
|
+
_fireEventAndUpdateSelectedDates(selectedDates) {
|
300
|
+
const datesValues = selectedDates.map(timestamp => {
|
301
|
+
const calendarDate = _CalendarDate.default.fromTimestamp(timestamp * 1000, this._primaryCalendarType);
|
417
302
|
return this.getFormat().format(calendarDate.toUTCJSDate(), true);
|
418
303
|
});
|
419
|
-
this.timestamp = timestamp;
|
420
304
|
const defaultPrevented = !this.fireEvent("selected-dates-change", {
|
421
|
-
timestamp,
|
305
|
+
timestamp: this.timestamp,
|
422
306
|
dates: [...selectedDates],
|
423
307
|
values: datesValues
|
424
308
|
}, true);
|
@@ -426,28 +310,41 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/localization/dates/Cale
|
|
426
310
|
this._setSelectedDates(selectedDates);
|
427
311
|
}
|
428
312
|
}
|
429
|
-
|
430
|
-
this.timestamp =
|
431
|
-
this.
|
313
|
+
onSelectedDatesChange(e) {
|
314
|
+
this.timestamp = e.detail.timestamp;
|
315
|
+
this._fireEventAndUpdateSelectedDates(e.detail.dates);
|
316
|
+
}
|
317
|
+
onSelectedMonthChange(e) {
|
318
|
+
this.timestamp = e.detail.timestamp;
|
319
|
+
if (this._pickersMode === _CalendarPickersMode.default.DAY_MONTH_YEAR) {
|
320
|
+
this._currentPicker = "day";
|
321
|
+
} else {
|
322
|
+
this._fireEventAndUpdateSelectedDates([this.timestamp]);
|
323
|
+
}
|
432
324
|
this._currentPickerDOM._autoFocus = true;
|
433
325
|
}
|
434
|
-
onSelectedYearChange(
|
435
|
-
this.timestamp =
|
436
|
-
this.
|
326
|
+
onSelectedYearChange(e) {
|
327
|
+
this.timestamp = e.detail.timestamp;
|
328
|
+
if (this._pickersMode === _CalendarPickersMode.default.DAY_MONTH_YEAR) {
|
329
|
+
this._currentPicker = "day";
|
330
|
+
} else if (this._pickersMode === _CalendarPickersMode.default.MONTH_YEAR) {
|
331
|
+
this._currentPicker = "month";
|
332
|
+
} else {
|
333
|
+
this._fireEventAndUpdateSelectedDates([this.timestamp]);
|
334
|
+
}
|
437
335
|
this._currentPickerDOM._autoFocus = true;
|
438
336
|
}
|
439
|
-
onNavigate(
|
440
|
-
this.timestamp =
|
337
|
+
onNavigate(e) {
|
338
|
+
this.timestamp = e.detail.timestamp;
|
441
339
|
}
|
442
|
-
_onkeydown(
|
443
|
-
if ((0, _Keys.isF4)(
|
340
|
+
_onkeydown(e) {
|
341
|
+
if ((0, _Keys.isF4)(e) && this._currentPicker !== "month") {
|
444
342
|
this._currentPicker = "month";
|
445
343
|
}
|
446
|
-
if ((0, _Keys.isF4Shift)(
|
344
|
+
if ((0, _Keys.isF4Shift)(e) && this._currentPicker !== "year") {
|
447
345
|
this._currentPicker = "year";
|
448
346
|
}
|
449
347
|
}
|
450
|
-
|
451
348
|
/**
|
452
349
|
* Returns an array of UTC timestamps, representing the selected dates.
|
453
350
|
* @protected
|
@@ -456,20 +353,72 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/localization/dates/Cale
|
|
456
353
|
get selectedDates() {
|
457
354
|
return this._selectedDatesTimestamps;
|
458
355
|
}
|
459
|
-
|
460
356
|
/**
|
461
357
|
* Creates instances of <code>ui5-date</code> inside this <code>ui5-calendar</code> with values, equal to the provided UTC timestamps
|
462
358
|
* @protected
|
463
359
|
* @deprecated
|
464
|
-
* @param selectedDates Array of UTC timestamps
|
360
|
+
* @param { Array<number> } selectedDates Array of UTC timestamps
|
465
361
|
*/
|
466
362
|
set selectedDates(selectedDates) {
|
467
363
|
this._setSelectedDates(selectedDates);
|
468
364
|
}
|
469
|
-
|
470
|
-
|
365
|
+
};
|
366
|
+
__decorate([(0, _property.default)({
|
367
|
+
type: _CalendarSelectionMode.default,
|
368
|
+
defaultValue: _CalendarSelectionMode.default.Single
|
369
|
+
})], Calendar.prototype, "selectionMode", void 0);
|
370
|
+
__decorate([(0, _property.default)({
|
371
|
+
type: Boolean
|
372
|
+
})], Calendar.prototype, "hideWeekNumbers", void 0);
|
373
|
+
__decorate([(0, _property.default)({
|
374
|
+
defaultValue: "day"
|
375
|
+
})], Calendar.prototype, "_currentPicker", void 0);
|
376
|
+
__decorate([(0, _property.default)({
|
377
|
+
type: Boolean
|
378
|
+
})], Calendar.prototype, "_previousButtonDisabled", void 0);
|
379
|
+
__decorate([(0, _property.default)({
|
380
|
+
type: Boolean
|
381
|
+
})], Calendar.prototype, "_nextButtonDisabled", void 0);
|
382
|
+
__decorate([(0, _property.default)()], Calendar.prototype, "_headerMonthButtonText", void 0);
|
383
|
+
__decorate([(0, _property.default)()], Calendar.prototype, "_headerYearButtonText", void 0);
|
384
|
+
__decorate([(0, _property.default)()], Calendar.prototype, "_headerYearButtonTextSecType", void 0);
|
385
|
+
__decorate([(0, _property.default)({
|
386
|
+
type: _CalendarPickersMode.default,
|
387
|
+
defaultValue: _CalendarPickersMode.default.DAY_MONTH_YEAR,
|
388
|
+
noAttribute: true
|
389
|
+
})], Calendar.prototype, "_pickersMode", void 0);
|
390
|
+
__decorate([(0, _slot.default)({
|
391
|
+
type: HTMLElement,
|
392
|
+
invalidateOnChildChange: true,
|
393
|
+
"default": true
|
394
|
+
})], Calendar.prototype, "dates", void 0);
|
395
|
+
Calendar = __decorate([(0, _customElement.default)({
|
396
|
+
tag: "ui5-calendar",
|
397
|
+
fastNavigation: true,
|
398
|
+
template: _CalendarTemplate.default,
|
399
|
+
styles: _Calendar.default,
|
400
|
+
dependencies: [CalendarDateComponent.default, _CalendarHeader.default, _DayPicker.default, _MonthPicker.default, _YearPicker.default]
|
401
|
+
})
|
402
|
+
/**
|
403
|
+
* Fired when the selected dates change.
|
404
|
+
* <b>Note:</b> If you call <code>preventDefault()</code> for this event, the component will not
|
405
|
+
* create instances of <code>ui5-date</code> for the newly selected dates. In that case you should do this manually.
|
406
|
+
*
|
407
|
+
* @event sap.ui.webc.main.Calendar#selected-dates-change
|
408
|
+
* @allowPreventDefault
|
409
|
+
* @param {Array} values The selected dates
|
410
|
+
* @param {Array} dates The selected dates as UTC timestamps
|
411
|
+
* @public
|
412
|
+
*/, (0, _event.default)("selected-dates-change", {
|
413
|
+
detail: {
|
414
|
+
dates: {
|
415
|
+
type: Array
|
416
|
+
},
|
417
|
+
values: {
|
418
|
+
type: Array
|
419
|
+
}
|
471
420
|
}
|
472
|
-
}
|
421
|
+
}), (0, _event.default)("show-month-press"), (0, _event.default)("show-year-press")], Calendar);
|
473
422
|
Calendar.define();
|
474
423
|
var _default = Calendar;
|
475
424
|
_exports.default = _default;
|
@@ -1,30 +1,21 @@
|
|
1
|
-
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element"], function (_exports, _UI5Element) {
|
1
|
+
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/decorators/customElement", "sap/ui/webc/common/thirdparty/base/decorators/property", "sap/ui/webc/common/thirdparty/base/UI5Element"], function (_exports, _customElement, _property, _UI5Element) {
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
Object.defineProperty(_exports, "__esModule", {
|
5
5
|
value: true
|
6
6
|
});
|
7
7
|
_exports.default = void 0;
|
8
|
+
_customElement = _interopRequireDefault(_customElement);
|
9
|
+
_property = _interopRequireDefault(_property);
|
8
10
|
_UI5Element = _interopRequireDefault(_UI5Element);
|
9
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
/**
|
17
|
-
* The date formatted according to the <code>formatPattern</code> property of the <code>ui5-calendar</code> that hosts the component
|
18
|
-
*
|
19
|
-
* @type {string}
|
20
|
-
* @public
|
21
|
-
*/
|
22
|
-
value: {
|
23
|
-
type: String
|
24
|
-
}
|
25
|
-
}
|
12
|
+
var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
|
13
|
+
var c = arguments.length,
|
14
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
15
|
+
d;
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
17
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
26
18
|
};
|
27
|
-
|
28
19
|
/**
|
29
20
|
* @class
|
30
21
|
*
|
@@ -34,17 +25,16 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element"], func
|
|
34
25
|
*
|
35
26
|
* @constructor
|
36
27
|
* @author SAP SE
|
37
|
-
* @alias sap.ui.
|
38
|
-
* @extends sap.ui.
|
28
|
+
* @alias sap.ui.webc.main.CalendarDate
|
29
|
+
* @extends sap.ui.webc.base.UI5Element
|
30
|
+
* @abstract
|
39
31
|
* @tagname ui5-date
|
40
|
-
* @implements sap.ui.
|
32
|
+
* @implements sap.ui.webc.main.ICalendarDate
|
41
33
|
* @public
|
42
34
|
*/
|
43
|
-
class CalendarDate extends _UI5Element.default {
|
44
|
-
|
45
|
-
|
46
|
-
}
|
47
|
-
}
|
35
|
+
let CalendarDate = class CalendarDate extends _UI5Element.default {};
|
36
|
+
__decorate([(0, _property.default)()], CalendarDate.prototype, "value", void 0);
|
37
|
+
CalendarDate = __decorate([(0, _customElement.default)("ui5-date")], CalendarDate);
|
48
38
|
CalendarDate.define();
|
49
39
|
var _default = CalendarDate;
|
50
40
|
_exports.default = _default;
|