@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,13 @@
|
|
1
|
-
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/locale/getLocale", "sap/ui/webc/common/thirdparty/base/config/FormatSettings", "sap/ui/webc/common/thirdparty/localization/getCachedLocaleDataInstance", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/localization/dates/CalendarDate", "sap/ui/webc/common/thirdparty/localization/dates/calculateWeekNumber", "sap/ui/webc/common/thirdparty/base/types/CalendarType", "./types/CalendarSelectionMode", "./CalendarPart", "./generated/
|
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/decorators/event", "sap/ui/webc/common/thirdparty/base/locale/getLocale", "sap/ui/webc/common/thirdparty/base/config/FormatSettings", "sap/ui/webc/common/thirdparty/localization/getCachedLocaleDataInstance", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/localization/dates/CalendarDate", "sap/ui/webc/common/thirdparty/localization/dates/calculateWeekNumber", "sap/ui/webc/common/thirdparty/base/types/CalendarType", "./types/CalendarSelectionMode", "./CalendarPart", "./generated/i18n/i18n-defaults", "./generated/templates/DayPickerTemplate.lit", "./generated/themes/DayPicker.css"], function (_exports, _customElement, _property, _event, _getLocale, _FormatSettings, _getCachedLocaleDataInstance, _Keys, _Integer, _CalendarDate, _calculateWeekNumber, _CalendarType, _CalendarSelectionMode, _CalendarPart, _i18nDefaults, _DayPickerTemplate, _DayPicker) {
|
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);
|
10
|
+
_event = _interopRequireDefault(_event);
|
8
11
|
_getLocale = _interopRequireDefault(_getLocale);
|
9
12
|
_getCachedLocaleDataInstance = _interopRequireDefault(_getCachedLocaleDataInstance);
|
10
13
|
_Integer = _interopRequireDefault(_Integer);
|
@@ -16,131 +19,37 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/locale/getLocale",
|
|
16
19
|
_DayPickerTemplate = _interopRequireDefault(_DayPickerTemplate);
|
17
20
|
_DayPicker = _interopRequireDefault(_DayPicker);
|
18
21
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
/**
|
26
|
-
* An array of UTC timestamps representing the selected date or dates depending on the capabilities of the picker component.
|
27
|
-
* @type {Array}
|
28
|
-
* @public
|
29
|
-
*/
|
30
|
-
selectedDates: {
|
31
|
-
type: _Integer.default,
|
32
|
-
multiple: true,
|
33
|
-
compareValues: true
|
34
|
-
},
|
35
|
-
/**
|
36
|
-
* Defines the type of selection used in the day picker component.
|
37
|
-
* Accepted property values are:<br>
|
38
|
-
* <ul>
|
39
|
-
* <li><code>CalendarSelectionMode.Single</code> - enables a single date selection.(default value)</li>
|
40
|
-
* <li><code>CalendarSelectionMode.Range</code> - enables selection of a date range.</li>
|
41
|
-
* <li><code>CalendarSelectionMode.Multiple</code> - enables selection of multiple dates.</li>
|
42
|
-
* </ul>
|
43
|
-
* @type {CalendarSelectionMode}
|
44
|
-
* @defaultvalue "Single"
|
45
|
-
* @public
|
46
|
-
*/
|
47
|
-
selectionMode: {
|
48
|
-
type: _CalendarSelectionMode.default,
|
49
|
-
defaultValue: _CalendarSelectionMode.default.Single
|
50
|
-
},
|
51
|
-
/**
|
52
|
-
* Defines the visibility of the week numbers column.
|
53
|
-
* <br><br>
|
54
|
-
*
|
55
|
-
* <b>Note:<b> For calendars other than Gregorian,
|
56
|
-
* the week numbers are not displayed regardless of what is set.
|
57
|
-
*
|
58
|
-
* @type {boolean}
|
59
|
-
* @defaultvalue false
|
60
|
-
* @public
|
61
|
-
* @since 1.0.0-rc.8
|
62
|
-
*/
|
63
|
-
hideWeekNumbers: {
|
64
|
-
type: Boolean
|
65
|
-
},
|
66
|
-
/**
|
67
|
-
* @type {Object}
|
68
|
-
* @private
|
69
|
-
*/
|
70
|
-
_weeks: {
|
71
|
-
type: Object,
|
72
|
-
multiple: true
|
73
|
-
},
|
74
|
-
_dayNames: {
|
75
|
-
type: Object,
|
76
|
-
multiple: true
|
77
|
-
},
|
78
|
-
/**
|
79
|
-
* When set, the component will skip all work in onBeforeRendering and will not automatically set the focus on itself
|
80
|
-
* @type {boolean}
|
81
|
-
* @private
|
82
|
-
*/
|
83
|
-
_hidden: {
|
84
|
-
type: Boolean,
|
85
|
-
noAttribute: true
|
86
|
-
},
|
87
|
-
/**
|
88
|
-
* When selectionMode="Range" and the first day in the range is selected, this is the currently hovered (when using mouse) or focused (when using keyboard) day by the user
|
89
|
-
* @private
|
90
|
-
*/
|
91
|
-
_secondTimestamp: {
|
92
|
-
type: String
|
93
|
-
}
|
94
|
-
},
|
95
|
-
events: /** @lends sap.ui.webcomponents.main.DayPicker.prototype */{
|
96
|
-
/**
|
97
|
-
* Fired when the selected date(s) change
|
98
|
-
* @public
|
99
|
-
* @event
|
100
|
-
*/
|
101
|
-
change: {},
|
102
|
-
/**
|
103
|
-
* Fired when the timestamp changes (user navigates with the keyboard) or clicks with the mouse
|
104
|
-
* @public
|
105
|
-
* @event
|
106
|
-
*/
|
107
|
-
navigate: {}
|
108
|
-
}
|
22
|
+
var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
|
23
|
+
var c = arguments.length,
|
24
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
25
|
+
d;
|
26
|
+
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;
|
27
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
109
28
|
};
|
29
|
+
var DayPicker_1;
|
110
30
|
const isBetween = (x, num1, num2) => x > Math.min(num1, num2) && x < Math.max(num1, num2);
|
111
31
|
const DAYS_IN_WEEK = 7;
|
112
|
-
|
113
32
|
/**
|
114
33
|
* @class
|
115
34
|
*
|
116
|
-
* Represents
|
35
|
+
* Represents the days inside a single month view of the <code>ui5-calendar</code> component.
|
117
36
|
*
|
118
37
|
* @constructor
|
119
38
|
* @author SAP SE
|
120
|
-
* @alias sap.ui.
|
121
|
-
* @extends CalendarPart
|
39
|
+
* @alias sap.ui.webc.main.DayPicker
|
40
|
+
* @extends sap.ui.webc.main.CalendarPart
|
122
41
|
* @tagname ui5-daypicker
|
123
42
|
* @public
|
124
43
|
*/
|
125
|
-
class DayPicker extends _CalendarPart.default {
|
126
|
-
static get metadata() {
|
127
|
-
return metadata;
|
128
|
-
}
|
129
|
-
static get template() {
|
130
|
-
return _DayPickerTemplate.default;
|
131
|
-
}
|
132
|
-
static get styles() {
|
133
|
-
return _DayPicker.default;
|
134
|
-
}
|
44
|
+
let DayPicker = DayPicker_1 = class DayPicker extends _CalendarPart.default {
|
135
45
|
onBeforeRendering() {
|
136
46
|
const localeData = (0, _getCachedLocaleDataInstance.default)((0, _getLocale.default)());
|
137
47
|
this._buildWeeks(localeData);
|
138
48
|
this._buildDayNames(localeData);
|
139
49
|
}
|
140
|
-
|
141
50
|
/**
|
142
|
-
* Builds the _weeks object that represents the month
|
143
|
-
* @param localeData
|
51
|
+
* Builds the "_weeks" object that represents the month.
|
52
|
+
* @param { LocaleData }localeData
|
144
53
|
* @private
|
145
54
|
*/
|
146
55
|
_buildWeeks(localeData) {
|
@@ -151,21 +60,19 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/locale/getLocale",
|
|
151
60
|
this._weeks = [];
|
152
61
|
const firstDayOfWeek = this._getFirstDayOfWeek();
|
153
62
|
const monthsNames = localeData.getMonths("wide", this._primaryCalendarType);
|
154
|
-
const secondaryMonthsNames = this.hasSecondaryCalendarType
|
155
|
-
const nonWorkingDayLabel =
|
156
|
-
const todayLabel =
|
63
|
+
const secondaryMonthsNames = this.hasSecondaryCalendarType ? localeData.getMonths("wide", this.secondaryCalendarType) : [];
|
64
|
+
const nonWorkingDayLabel = DayPicker_1.i18nBundle.getText(_i18nDefaults.DAY_PICKER_NON_WORKING_DAY);
|
65
|
+
const todayLabel = DayPicker_1.i18nBundle.getText(_i18nDefaults.DAY_PICKER_TODAY);
|
157
66
|
const tempDate = this._getFirstDay(); // date that will be changed by 1 day 42 times
|
158
67
|
const todayDate = _CalendarDate.default.fromLocalJSDate(new Date(), this._primaryCalendarType); // current day date - calculate once
|
159
68
|
const calendarDate = this._calendarDate; // store the _calendarDate value as this getter is expensive and degrades IE11 perf
|
160
69
|
const minDate = this._minDate; // store the _minDate (expensive getter)
|
161
70
|
const maxDate = this._maxDate; // store the _maxDate (expensive getter)
|
162
|
-
|
163
|
-
const tempSecondDate = this.hasSecondaryCalendarType && this._getSecondaryDay(tempDate);
|
71
|
+
const tempSecondDate = this.hasSecondaryCalendarType ? this._getSecondaryDay(tempDate) : undefined;
|
164
72
|
let week = [];
|
165
73
|
for (let i = 0; i < DAYS_IN_WEEK * 6; i++) {
|
166
74
|
// always show 6 weeks total, 42 days to avoid jumping
|
167
75
|
const timestamp = tempDate.valueOf() / 1000; // no need to round because CalendarDate does it
|
168
|
-
|
169
76
|
let dayOfTheWeek = tempDate.getDay() - firstDayOfWeek;
|
170
77
|
if (dayOfTheWeek < 0) {
|
171
78
|
dayOfTheWeek += DAYS_IN_WEEK;
|
@@ -180,14 +87,17 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/locale/getLocale",
|
|
180
87
|
const isFirstDayOfWeek = tempDate.getDay() === firstDayOfWeek;
|
181
88
|
const nonWorkingAriaLabel = isWeekend ? `${nonWorkingDayLabel} ` : "";
|
182
89
|
const todayAriaLabel = isToday ? `${todayLabel} ` : "";
|
183
|
-
const
|
90
|
+
const tempSecondDateNumber = tempSecondDate ? tempSecondDate.getDate() : "";
|
91
|
+
const tempSecondYearNumber = tempSecondDate ? tempSecondDate.getYear() : "";
|
92
|
+
const secondaryMonthsNamesString = secondaryMonthsNames.length > 0 ? secondaryMonthsNames[tempSecondDate.getMonth()] : "";
|
93
|
+
const ariaLabel = this.hasSecondaryCalendarType ? `${todayAriaLabel}${nonWorkingAriaLabel}${monthsNames[tempDate.getMonth()]} ${tempDate.getDate()}, ${tempDate.getYear()}; ${secondaryMonthsNamesString} ${tempSecondDateNumber}, ${tempSecondYearNumber}` : `${todayAriaLabel}${nonWorkingAriaLabel}${monthsNames[tempDate.getMonth()]} ${tempDate.getDate()}, ${tempDate.getYear()}`;
|
184
94
|
const day = {
|
185
95
|
timestamp: timestamp.toString(),
|
186
96
|
focusRef: isFocused,
|
187
97
|
_tabIndex: isFocused ? "0" : "-1",
|
188
98
|
selected: isSelected,
|
189
99
|
day: tempDate.getDate(),
|
190
|
-
secondDay: this.hasSecondaryCalendarType
|
100
|
+
secondDay: this.hasSecondaryCalendarType ? tempSecondDate.getDate() : undefined,
|
191
101
|
_isSecondaryCalendarType: this.hasSecondaryCalendarType,
|
192
102
|
classes: `ui5-dp-item ui5-dp-wday${dayOfTheWeek}`,
|
193
103
|
ariaLabel,
|
@@ -233,15 +143,14 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/locale/getLocale",
|
|
233
143
|
week = [];
|
234
144
|
}
|
235
145
|
tempDate.setDate(tempDate.getDate() + 1);
|
236
|
-
if (this.hasSecondaryCalendarType) {
|
146
|
+
if (this.hasSecondaryCalendarType && tempSecondDate) {
|
237
147
|
tempSecondDate.setDate(tempSecondDate.getDate() + 1);
|
238
148
|
}
|
239
149
|
}
|
240
150
|
}
|
241
|
-
|
242
151
|
/**
|
243
|
-
* Builds the dayNames object (header of the month)
|
244
|
-
* @param localeData
|
152
|
+
* Builds the dayNames object (header of the month).
|
153
|
+
* @param { LocaleData } localeData
|
245
154
|
* @private
|
246
155
|
*/
|
247
156
|
_buildDayNames(localeData) {
|
@@ -256,7 +165,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/locale/getLocale",
|
|
256
165
|
this._dayNames = [];
|
257
166
|
this._dayNames.push({
|
258
167
|
classes: "ui5-dp-dayname",
|
259
|
-
name:
|
168
|
+
name: DayPicker_1.i18nBundle.getText(_i18nDefaults.DAY_PICKER_WEEK_NUMBER_TEXT)
|
260
169
|
});
|
261
170
|
for (let i = 0; i < DAYS_IN_WEEK; i++) {
|
262
171
|
dayOfTheWeek = i + this._getFirstDayOfWeek();
|
@@ -287,26 +196,23 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/locale/getLocale",
|
|
287
196
|
_onfocusout() {
|
288
197
|
this._autoFocus = false;
|
289
198
|
}
|
290
|
-
|
291
199
|
/**
|
292
|
-
* Tells if the day is selected (dark blue)
|
293
|
-
* @param timestamp
|
294
|
-
* @returns {boolean}
|
200
|
+
* Tells if the day is selected (dark blue).
|
201
|
+
* @param { number } timestamp
|
202
|
+
* @returns { boolean }
|
295
203
|
* @private
|
296
204
|
*/
|
297
205
|
_isDaySelected(timestamp) {
|
298
206
|
if (this.selectionMode === _CalendarSelectionMode.default.Single) {
|
299
207
|
return timestamp === this.selectedDates[0];
|
300
208
|
}
|
301
|
-
|
302
209
|
// Multiple, Range
|
303
210
|
return this.selectedDates.includes(timestamp);
|
304
211
|
}
|
305
|
-
|
306
212
|
/**
|
307
|
-
* Tells if the day is inside a selection range (light blue)
|
308
|
-
* @param timestamp
|
309
|
-
* @returns {
|
213
|
+
* Tells if the day is inside a selection range (light blue).
|
214
|
+
* @param { number } timestamp
|
215
|
+
* @returns { boolean }
|
310
216
|
* @private
|
311
217
|
*/
|
312
218
|
_isDayInsideSelectionRange(timestamp) {
|
@@ -314,24 +220,21 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/locale/getLocale",
|
|
314
220
|
if (this.selectionMode !== _CalendarSelectionMode.default.Range || !this.selectedDates.length) {
|
315
221
|
return false;
|
316
222
|
}
|
317
|
-
|
318
223
|
// Only one date selected - the user is hovering with the mouse or navigating with the keyboard to select the second one
|
319
224
|
if (this.selectedDates.length === 1 && this._secondTimestamp) {
|
320
225
|
return isBetween(timestamp, this.selectedDates[0], this._secondTimestamp);
|
321
226
|
}
|
322
|
-
|
323
227
|
// Two dates selected - stable range
|
324
228
|
return isBetween(timestamp, this.selectedDates[0], this.selectedDates[1]);
|
325
229
|
}
|
326
|
-
|
327
230
|
/**
|
328
|
-
* Selects/deselects a day
|
329
|
-
* @param
|
330
|
-
* @param isShift true if the user did Click+Shift or Enter+Shift (but not Space+Shift)
|
231
|
+
* Selects/deselects a day.
|
232
|
+
* @param { Event} e
|
233
|
+
* @param { boolean} isShift true if the user did Click+Shift or Enter+Shift (but not Space+Shift)
|
331
234
|
* @private
|
332
235
|
*/
|
333
|
-
_selectDate(
|
334
|
-
const target =
|
236
|
+
_selectDate(e, isShift) {
|
237
|
+
const target = e.target;
|
335
238
|
if (!this._isDayPressed(target)) {
|
336
239
|
return;
|
337
240
|
}
|
@@ -354,29 +257,28 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/locale/getLocale",
|
|
354
257
|
dates: this.selectedDates
|
355
258
|
});
|
356
259
|
}
|
357
|
-
|
358
260
|
/**
|
359
|
-
* Selects/deselects the whole row (week)
|
360
|
-
* @param event
|
261
|
+
* Selects/deselects the whole row (week).
|
361
262
|
* @private
|
362
263
|
*/
|
363
|
-
_selectWeek(
|
264
|
+
_selectWeek() {
|
364
265
|
this._weeks.forEach(week => {
|
365
|
-
const
|
266
|
+
const _week = week;
|
267
|
+
const dayInThisWeek = _week.findIndex(item => {
|
366
268
|
const date = _CalendarDate.default.fromTimestamp(parseInt(item.timestamp) * 1000);
|
367
269
|
return date.getMonth() === this._calendarDate.getMonth() && date.getDate() === this._calendarDate.getDate();
|
368
270
|
}) !== -1;
|
369
271
|
if (dayInThisWeek) {
|
370
272
|
// The current day is in this week
|
371
|
-
const notAllDaysOfThisWeekSelected =
|
273
|
+
const notAllDaysOfThisWeekSelected = _week.some(item => item.timestamp && !this.selectedDates.includes(parseInt(item.timestamp)));
|
372
274
|
if (notAllDaysOfThisWeekSelected) {
|
373
275
|
// even if one day is not selected, select the whole week
|
374
|
-
|
276
|
+
_week.filter(item => item.timestamp).forEach(item => {
|
375
277
|
this._addTimestampToSelection(parseInt(item.timestamp));
|
376
278
|
});
|
377
279
|
} else {
|
378
280
|
// only if all days of this week are selected, deselect them
|
379
|
-
|
281
|
+
_week.filter(item => item.timestamp).forEach(item => {
|
380
282
|
this._removeTimestampFromSelection(parseInt(item.timestamp));
|
381
283
|
});
|
382
284
|
}
|
@@ -402,10 +304,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/locale/getLocale",
|
|
402
304
|
_removeTimestampFromSelection(timestamp) {
|
403
305
|
this.selectedDates = this.selectedDates.filter(value => value !== timestamp);
|
404
306
|
}
|
405
|
-
|
406
307
|
/**
|
407
|
-
*
|
408
|
-
* @param timestamp
|
308
|
+
* Called when at least one day is selected and the user presses "Shift".
|
309
|
+
* @param { number } timestamp
|
409
310
|
* @private
|
410
311
|
*/
|
411
312
|
_multipleSelection(timestamp) {
|
@@ -440,51 +341,51 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/locale/getLocale",
|
|
440
341
|
startDate.setDate(startDate.getDate() + 1);
|
441
342
|
}
|
442
343
|
}
|
443
|
-
|
444
344
|
/**
|
445
|
-
* Set the hovered day as the _secondTimestamp
|
446
|
-
* @param
|
345
|
+
* Set the hovered day as the "_secondTimestamp".
|
346
|
+
* @param { MouseEvent } e
|
447
347
|
* @private
|
448
348
|
*/
|
449
|
-
_onmouseover(
|
450
|
-
const
|
349
|
+
_onmouseover(e) {
|
350
|
+
const target = e.target;
|
351
|
+
const hoveredItem = target.closest(".ui5-dp-item");
|
451
352
|
if (hoveredItem && this.selectionMode === _CalendarSelectionMode.default.Range && this.selectedDates.length === 1) {
|
452
353
|
this._secondTimestamp = this._getTimestampFromDom(hoveredItem);
|
453
354
|
}
|
454
355
|
}
|
455
|
-
_onkeydown(
|
356
|
+
_onkeydown(e) {
|
456
357
|
let preventDefault = true;
|
457
|
-
if ((0, _Keys.isEnter)(
|
458
|
-
this._selectDate(
|
459
|
-
} else if ((0, _Keys.isSpace)(
|
460
|
-
|
461
|
-
} else if ((0, _Keys.isLeft)(
|
358
|
+
if ((0, _Keys.isEnter)(e) || (0, _Keys.isEnterShift)(e)) {
|
359
|
+
this._selectDate(e, (0, _Keys.isEnterShift)(e));
|
360
|
+
} else if ((0, _Keys.isSpace)(e) || (0, _Keys.isSpaceShift)(e)) {
|
361
|
+
e.preventDefault();
|
362
|
+
} else if ((0, _Keys.isLeft)(e)) {
|
462
363
|
this._modifyTimestampBy(-1, "day");
|
463
|
-
} else if ((0, _Keys.isRight)(
|
364
|
+
} else if ((0, _Keys.isRight)(e)) {
|
464
365
|
this._modifyTimestampBy(1, "day");
|
465
|
-
} else if ((0, _Keys.isUp)(
|
366
|
+
} else if ((0, _Keys.isUp)(e)) {
|
466
367
|
this._modifyTimestampBy(-7, "day");
|
467
|
-
} else if ((0, _Keys.isDown)(
|
368
|
+
} else if ((0, _Keys.isDown)(e)) {
|
468
369
|
this._modifyTimestampBy(7, "day");
|
469
|
-
} else if ((0, _Keys.isPageUp)(
|
370
|
+
} else if ((0, _Keys.isPageUp)(e)) {
|
470
371
|
this._modifyTimestampBy(-1, "month");
|
471
|
-
} else if ((0, _Keys.isPageDown)(
|
372
|
+
} else if ((0, _Keys.isPageDown)(e)) {
|
472
373
|
this._modifyTimestampBy(1, "month");
|
473
|
-
} else if ((0, _Keys.isPageUpShift)(
|
374
|
+
} else if ((0, _Keys.isPageUpShift)(e) || (0, _Keys.isPageUpAlt)(e)) {
|
474
375
|
this._modifyTimestampBy(-1, "year");
|
475
|
-
} else if ((0, _Keys.isPageDownShift)(
|
376
|
+
} else if ((0, _Keys.isPageDownShift)(e) || (0, _Keys.isPageDownAlt)(e)) {
|
476
377
|
this._modifyTimestampBy(1, "year");
|
477
|
-
} else if ((0, _Keys.isPageUpShiftCtrl)(
|
378
|
+
} else if ((0, _Keys.isPageUpShiftCtrl)(e)) {
|
478
379
|
this._modifyTimestampBy(-10, "year");
|
479
|
-
} else if ((0, _Keys.isPageDownShiftCtrl)(
|
380
|
+
} else if ((0, _Keys.isPageDownShiftCtrl)(e)) {
|
480
381
|
this._modifyTimestampBy(10, "year");
|
481
|
-
} else if ((0, _Keys.isHome)(
|
482
|
-
this._onHomeOrEnd((0, _Keys.isHome)(
|
483
|
-
} else if ((0, _Keys.isHomeCtrl)(
|
382
|
+
} else if ((0, _Keys.isHome)(e) || (0, _Keys.isEnd)(e)) {
|
383
|
+
this._onHomeOrEnd((0, _Keys.isHome)(e));
|
384
|
+
} else if ((0, _Keys.isHomeCtrl)(e)) {
|
484
385
|
const tempDate = new _CalendarDate.default(this._calendarDate, this._primaryCalendarType);
|
485
386
|
tempDate.setDate(1); // Set the first day of the month
|
486
387
|
this._setTimestamp(tempDate.valueOf() / 1000);
|
487
|
-
} else if ((0, _Keys.isEndCtrl)(
|
388
|
+
} else if ((0, _Keys.isEndCtrl)(e)) {
|
488
389
|
const tempDate = new _CalendarDate.default(this._calendarDate, this._primaryCalendarType);
|
489
390
|
tempDate.setMonth(tempDate.getMonth() + 1);
|
490
391
|
tempDate.setDate(0); // Set the last day of the month (0th day of next month)
|
@@ -493,100 +394,95 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/locale/getLocale",
|
|
493
394
|
preventDefault = false;
|
494
395
|
}
|
495
396
|
if (preventDefault) {
|
496
|
-
|
397
|
+
e.preventDefault();
|
497
398
|
}
|
498
399
|
}
|
499
|
-
_onkeyup(
|
400
|
+
_onkeyup(e) {
|
500
401
|
// Even if Space+Shift was pressed, ignore the shift unless in Multiple selection
|
501
|
-
if ((0, _Keys.isSpace)(
|
502
|
-
this._selectDate(
|
503
|
-
} else if ((0, _Keys.isSpaceShift)(
|
504
|
-
this._selectWeek(
|
402
|
+
if ((0, _Keys.isSpace)(e) || (0, _Keys.isSpaceShift)(e) && this.selectionMode !== _CalendarSelectionMode.default.Multiple) {
|
403
|
+
this._selectDate(e, false);
|
404
|
+
} else if ((0, _Keys.isSpaceShift)(e)) {
|
405
|
+
this._selectWeek();
|
505
406
|
}
|
506
407
|
}
|
507
|
-
|
508
408
|
/**
|
509
|
-
* Click is the same as Enter
|
510
|
-
*
|
409
|
+
* Click is the same as "Enter".
|
410
|
+
* <b>Note:</b> "Click+Shift" has the same effect as "Enter+Shift".
|
411
|
+
* @param { MouseEvent } e
|
511
412
|
* @private
|
512
413
|
*/
|
513
|
-
_onclick(
|
514
|
-
this._selectDate(
|
414
|
+
_onclick(e) {
|
415
|
+
this._selectDate(e, e.shiftKey);
|
515
416
|
}
|
516
|
-
|
517
417
|
/**
|
518
|
-
*
|
519
|
-
* @param homePressed
|
418
|
+
* Called upon "Home" or "End" - moves the focus to the first or last item in the row.
|
419
|
+
* @param { boolean } homePressed
|
520
420
|
* @private
|
521
421
|
*/
|
522
422
|
_onHomeOrEnd(homePressed) {
|
523
423
|
this._weeks.forEach(week => {
|
524
|
-
const
|
424
|
+
const _week = week;
|
425
|
+
const dayInThisWeek = _week.findIndex(item => {
|
525
426
|
const date = _CalendarDate.default.fromTimestamp(parseInt(item.timestamp) * 1000);
|
526
427
|
return date.getMonth() === this._calendarDate.getMonth() && date.getDate() === this._calendarDate.getDate();
|
527
428
|
}) !== -1;
|
528
429
|
if (dayInThisWeek) {
|
529
430
|
// The current day is in this week
|
530
431
|
const index = homePressed ? 1 : 7; // select the first (if Home) or last (if End) day of the week
|
531
|
-
this._setTimestamp(parseInt(
|
432
|
+
this._setTimestamp(parseInt(_week[index].timestamp));
|
532
433
|
}
|
533
434
|
});
|
534
435
|
}
|
535
|
-
|
536
436
|
/**
|
537
|
-
* Called
|
437
|
+
* Called by the Calendar component.
|
538
438
|
* @protected
|
439
|
+
* @returns { boolean }
|
539
440
|
*/
|
540
441
|
_hasPreviousPage() {
|
541
442
|
return !(this._calendarDate.getMonth() === this._minDate.getMonth() && this._calendarDate.getYear() === this._minDate.getYear());
|
542
443
|
}
|
543
|
-
|
544
444
|
/**
|
545
|
-
* Called
|
445
|
+
* Called by the Calendar component.
|
546
446
|
* @protected
|
447
|
+
* @returns { boolean }
|
547
448
|
*/
|
548
449
|
_hasNextPage() {
|
549
450
|
return !(this._calendarDate.getMonth() === this._maxDate.getMonth() && this._calendarDate.getYear() === this._maxDate.getYear());
|
550
451
|
}
|
551
|
-
|
552
452
|
/**
|
553
|
-
* Called
|
554
|
-
*
|
453
|
+
* Called by the Calendar component.
|
454
|
+
* <b>Note:</b> same as for "PageUp"
|
555
455
|
* @protected
|
556
456
|
*/
|
557
457
|
_showPreviousPage() {
|
558
458
|
this._modifyTimestampBy(-1, "month");
|
559
459
|
}
|
560
|
-
|
561
460
|
/**
|
562
|
-
* Called
|
563
|
-
*
|
461
|
+
* Called by the Calendar component.
|
462
|
+
* <b>Note:</b> same as for "PageDown"
|
564
463
|
* @protected
|
565
464
|
*/
|
566
465
|
_showNextPage() {
|
567
466
|
this._modifyTimestampBy(1, "month");
|
568
467
|
}
|
569
|
-
|
570
468
|
/**
|
571
|
-
* Modifies the timestamp by a certain amount of days/months/years
|
572
|
-
* @param amount
|
573
|
-
* @param unit
|
469
|
+
* Modifies the timestamp by a certain amount of days/months/years.
|
470
|
+
* @param { number } amount
|
471
|
+
* @param { string } unit
|
574
472
|
* @private
|
575
473
|
*/
|
576
474
|
_modifyTimestampBy(amount, unit) {
|
577
475
|
// Modify the current timestamp
|
578
476
|
this._safelyModifyTimestampBy(amount, unit);
|
579
477
|
this._updateSecondTimestamp();
|
580
|
-
|
581
478
|
// Notify the calendar to update its timestamp
|
582
479
|
this.fireEvent("navigate", {
|
583
480
|
timestamp: this.timestamp
|
584
481
|
});
|
585
482
|
}
|
586
|
-
|
587
483
|
/**
|
588
|
-
* Sets the timestamp to an absolute value
|
589
|
-
* @param value
|
484
|
+
* Sets the timestamp to an absolute value.
|
485
|
+
* @param { number } value
|
590
486
|
* @private
|
591
487
|
*/
|
592
488
|
_setTimestamp(value) {
|
@@ -596,13 +492,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/locale/getLocale",
|
|
596
492
|
timestamp: this.timestamp
|
597
493
|
});
|
598
494
|
}
|
599
|
-
|
600
495
|
/**
|
601
|
-
* During range selection, when the user is navigating with the keyboard,
|
496
|
+
* During range selection, when the user is navigating with the keyboard,
|
497
|
+
* the currently focused day is considered the "second day".
|
602
498
|
* @private
|
603
499
|
*/
|
604
500
|
_updateSecondTimestamp() {
|
605
|
-
if (this.selectionMode === _CalendarSelectionMode.default.Range && this.selectedDates.length === 1) {
|
501
|
+
if (this.selectionMode === _CalendarSelectionMode.default.Range && (this.selectedDates.length === 1 || this.selectedDates.length === 2)) {
|
606
502
|
this._secondTimestamp = this.timestamp;
|
607
503
|
}
|
608
504
|
}
|
@@ -632,7 +528,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/locale/getLocale",
|
|
632
528
|
_getFirstDay() {
|
633
529
|
let daysFromPreviousMonth;
|
634
530
|
const firstDayOfWeek = this._getFirstDayOfWeek();
|
635
|
-
|
636
531
|
// determine weekday of first day in month
|
637
532
|
const firstDay = new _CalendarDate.default(this._calendarDate, this._primaryCalendarType);
|
638
533
|
firstDay.setDate(1);
|
@@ -664,7 +559,47 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/locale/getLocale",
|
|
664
559
|
get ariaRoledescription() {
|
665
560
|
return this.hasSecondaryCalendarType ? `${this._primaryCalendarType} calendar with secondary ${this.secondaryCalendarType} calendar` : `${this._primaryCalendarType} calendar`;
|
666
561
|
}
|
667
|
-
}
|
562
|
+
};
|
563
|
+
__decorate([(0, _property.default)({
|
564
|
+
validator: _Integer.default,
|
565
|
+
multiple: true,
|
566
|
+
compareValues: true
|
567
|
+
})], DayPicker.prototype, "selectedDates", void 0);
|
568
|
+
__decorate([(0, _property.default)({
|
569
|
+
type: _CalendarSelectionMode.default,
|
570
|
+
defaultValue: _CalendarSelectionMode.default.Single
|
571
|
+
})], DayPicker.prototype, "selectionMode", void 0);
|
572
|
+
__decorate([(0, _property.default)({
|
573
|
+
type: Boolean
|
574
|
+
})], DayPicker.prototype, "hideWeekNumbers", void 0);
|
575
|
+
__decorate([(0, _property.default)({
|
576
|
+
type: Object,
|
577
|
+
multiple: true
|
578
|
+
})], DayPicker.prototype, "_weeks", void 0);
|
579
|
+
__decorate([(0, _property.default)({
|
580
|
+
type: Object,
|
581
|
+
multiple: true
|
582
|
+
})], DayPicker.prototype, "_dayNames", void 0);
|
583
|
+
__decorate([(0, _property.default)({
|
584
|
+
type: Boolean,
|
585
|
+
noAttribute: true
|
586
|
+
})], DayPicker.prototype, "_hidden", void 0);
|
587
|
+
__decorate([(0, _property.default)()], DayPicker.prototype, "_secondTimestamp", void 0);
|
588
|
+
DayPicker = DayPicker_1 = __decorate([(0, _customElement.default)({
|
589
|
+
tag: "ui5-daypicker",
|
590
|
+
styles: _DayPicker.default,
|
591
|
+
template: _DayPickerTemplate.default
|
592
|
+
})
|
593
|
+
/**
|
594
|
+
* Fired when the selected date(s) change
|
595
|
+
* @public
|
596
|
+
* @event sap.ui.webc.main.DayPicker#change
|
597
|
+
*/, (0, _event.default)("change")
|
598
|
+
/**
|
599
|
+
* Fired when the timestamp changes (user navigates with the keyboard) or clicks with the mouse
|
600
|
+
* @public
|
601
|
+
* @event sap.ui.webc.main.DayPicker#navigate
|
602
|
+
*/, (0, _event.default)("navigate")], DayPicker);
|
668
603
|
DayPicker.define();
|
669
604
|
var _default = DayPicker;
|
670
605
|
_exports.default = _default;
|