@openui5/sap.ui.webc.main 1.115.1 → 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,22 +1,27 @@
|
|
1
|
-
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry", "sap/ui/webc/common/thirdparty/localization/dates/CalendarDate", "sap/ui/webc/common/thirdparty/localization/dates/modifyDateBy", "sap/ui/webc/common/thirdparty/localization/dates/getRoundedTimestamp", "sap/ui/webc/common/thirdparty/localization/dates/getTodayUTCTimestamp", "sap/ui/webc/common/thirdparty/base/types/ValueState", "sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/webc/common/thirdparty/icons/appointment-2", "sap/ui/webc/common/thirdparty/icons/decline", "./types/HasPopup", "./generated/i18n/i18n-defaults", "./DateComponentBase", "./Icon", "./Button", "./ResponsivePopover", "./Calendar", "./CalendarDate", "./Input", "./types/InputType", "./generated/templates/DatePickerTemplate.lit", "./generated/templates/DatePickerPopoverTemplate.lit", "sap/ui/webc/common/thirdparty/localization/features/calendar/Gregorian", "./generated/themes/DatePicker.css", "./generated/themes/DatePickerPopover.css", "./generated/themes/ResponsivePopoverCommon.css"], function (_exports, _FeaturesRegistry, _CalendarDate, _modifyDateBy, _getRoundedTimestamp, _getTodayUTCTimestamp, _ValueState, _AriaLabelHelper, _Keys, _Device, _appointment, _decline, _HasPopup, _i18nDefaults, _DateComponentBase, _Icon, _Button, _ResponsivePopover, _Calendar,
|
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/slot", "sap/ui/webc/common/thirdparty/base/decorators/event", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry", "sap/ui/webc/common/thirdparty/localization/dates/CalendarDate", "sap/ui/webc/common/thirdparty/localization/dates/modifyDateBy", "sap/ui/webc/common/thirdparty/localization/dates/getRoundedTimestamp", "sap/ui/webc/common/thirdparty/localization/dates/getTodayUTCTimestamp", "sap/ui/webc/common/thirdparty/base/types/ValueState", "sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/Device", "./types/CalendarPickersMode", "sap/ui/webc/common/thirdparty/icons/appointment-2", "sap/ui/webc/common/thirdparty/icons/decline", "./types/HasPopup", "./generated/i18n/i18n-defaults", "./DateComponentBase", "./Icon", "./Button", "./ResponsivePopover", "./Calendar", "./CalendarDate", "./Input", "./types/InputType", "./generated/templates/DatePickerTemplate.lit", "./generated/templates/DatePickerPopoverTemplate.lit", "sap/ui/webc/common/thirdparty/localization/features/calendar/Gregorian", "./generated/themes/DatePicker.css", "./generated/themes/DatePickerPopover.css", "./generated/themes/ResponsivePopoverCommon.css"], function (_exports, _customElement, _property, _slot, _event, _FeaturesRegistry, _CalendarDate, _modifyDateBy, _getRoundedTimestamp, _getTodayUTCTimestamp, _ValueState, _AriaLabelHelper, _Keys, _Device, _CalendarPickersMode, _appointment, _decline, _HasPopup, _i18nDefaults, _DateComponentBase, _Icon, _Button, _ResponsivePopover, _Calendar, _CalendarDate2, _Input, _InputType, _DatePickerTemplate, _DatePickerPopoverTemplate, _Gregorian, _DatePicker, _DatePickerPopover, _ResponsivePopoverCommon) {
|
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
|
+
_slot = _interopRequireDefault(_slot);
|
11
|
+
_event = _interopRequireDefault(_event);
|
8
12
|
_CalendarDate = _interopRequireDefault(_CalendarDate);
|
9
13
|
_modifyDateBy = _interopRequireDefault(_modifyDateBy);
|
10
14
|
_getRoundedTimestamp = _interopRequireDefault(_getRoundedTimestamp);
|
11
15
|
_getTodayUTCTimestamp = _interopRequireDefault(_getTodayUTCTimestamp);
|
12
16
|
_ValueState = _interopRequireDefault(_ValueState);
|
17
|
+
_CalendarPickersMode = _interopRequireDefault(_CalendarPickersMode);
|
13
18
|
_HasPopup = _interopRequireDefault(_HasPopup);
|
14
19
|
_DateComponentBase = _interopRequireDefault(_DateComponentBase);
|
15
20
|
_Icon = _interopRequireDefault(_Icon);
|
16
21
|
_Button = _interopRequireDefault(_Button);
|
17
22
|
_ResponsivePopover = _interopRequireDefault(_ResponsivePopover);
|
18
23
|
_Calendar = _interopRequireDefault(_Calendar);
|
19
|
-
|
24
|
+
_CalendarDate2 = _interopRequireDefault(_CalendarDate2);
|
20
25
|
_Input = _interopRequireDefault(_Input);
|
21
26
|
_InputType = _interopRequireDefault(_InputType);
|
22
27
|
_DatePickerTemplate = _interopRequireDefault(_DatePickerTemplate);
|
@@ -24,236 +29,15 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
24
29
|
_DatePicker = _interopRequireDefault(_DatePicker);
|
25
30
|
_DatePickerPopover = _interopRequireDefault(_DatePickerPopover);
|
26
31
|
_ResponsivePopoverCommon = _interopRequireDefault(_ResponsivePopoverCommon);
|
27
|
-
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); }
|
28
|
-
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; }
|
29
32
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
*/
|
37
|
-
const metadata = {
|
38
|
-
tag: "ui5-date-picker",
|
39
|
-
altTag: "ui5-datepicker",
|
40
|
-
managedSlots: true,
|
41
|
-
properties: /** @lends sap.ui.webcomponents.main.DatePicker.prototype */{
|
42
|
-
/**
|
43
|
-
* Defines a formatted date value.
|
44
|
-
*
|
45
|
-
* @type {string}
|
46
|
-
* @defaultvalue ""
|
47
|
-
* @public
|
48
|
-
*/
|
49
|
-
value: {
|
50
|
-
type: String
|
51
|
-
},
|
52
|
-
/**
|
53
|
-
* Defines the value state of the component.
|
54
|
-
* <br><br>
|
55
|
-
* Available options are:
|
56
|
-
* <ul>
|
57
|
-
* <li><code>None</code></li>
|
58
|
-
* <li><code>Error</code></li>
|
59
|
-
* <li><code>Warning</code></li>
|
60
|
-
* <li><code>Success</code></li>
|
61
|
-
* <li><code>Information</code></li>
|
62
|
-
* </ul>
|
63
|
-
*
|
64
|
-
* @type {ValueState}
|
65
|
-
* @defaultvalue "None"
|
66
|
-
* @public
|
67
|
-
*/
|
68
|
-
valueState: {
|
69
|
-
type: _ValueState.default,
|
70
|
-
defaultValue: _ValueState.default.None
|
71
|
-
},
|
72
|
-
/**
|
73
|
-
* Defines whether the component is required.
|
74
|
-
*
|
75
|
-
* @since 1.0.0-rc.9
|
76
|
-
* @type {boolean}
|
77
|
-
* @defaultvalue false
|
78
|
-
* @public
|
79
|
-
*/
|
80
|
-
required: {
|
81
|
-
type: Boolean
|
82
|
-
},
|
83
|
-
/**
|
84
|
-
* Determines whether the component is displayed as disabled.
|
85
|
-
*
|
86
|
-
* @type {boolean}
|
87
|
-
* @defaultvalue false
|
88
|
-
* @public
|
89
|
-
*/
|
90
|
-
disabled: {
|
91
|
-
type: Boolean
|
92
|
-
},
|
93
|
-
/**
|
94
|
-
* Determines whether the component is displayed as read-only.
|
95
|
-
*
|
96
|
-
* @type {boolean}
|
97
|
-
* @defaultvalue false
|
98
|
-
* @public
|
99
|
-
*/
|
100
|
-
readonly: {
|
101
|
-
type: Boolean
|
102
|
-
},
|
103
|
-
/**
|
104
|
-
* Defines a short hint, intended to aid the user with data entry when the
|
105
|
-
* component has no value.
|
106
|
-
*
|
107
|
-
* <br><br>
|
108
|
-
* <b>Note:</b> When no placeholder is set, the format pattern is displayed as a placeholder.
|
109
|
-
* Passing an empty string as the value of this property will make the component appear empty - without placeholder or format pattern.
|
110
|
-
*
|
111
|
-
* @type {string}
|
112
|
-
* @defaultvalue undefined
|
113
|
-
* @public
|
114
|
-
*/
|
115
|
-
placeholder: {
|
116
|
-
type: String,
|
117
|
-
defaultValue: undefined
|
118
|
-
},
|
119
|
-
/**
|
120
|
-
* Determines the name with which the component will be submitted in an HTML form.
|
121
|
-
*
|
122
|
-
* <br><br>
|
123
|
-
* <b>Important:</b> For the <code>name</code> property to have effect, you must add the following import to your project:
|
124
|
-
* <code>import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";</code>
|
125
|
-
*
|
126
|
-
* <br><br>
|
127
|
-
* <b>Note:</b> When set, a native <code>input</code> HTML element
|
128
|
-
* will be created inside the component so that it can be submitted as
|
129
|
-
* part of an HTML form. Do not use this property unless you need to submit a form.
|
130
|
-
*
|
131
|
-
* @type {string}
|
132
|
-
* @defaultvalue ""
|
133
|
-
* @public
|
134
|
-
*/
|
135
|
-
name: {
|
136
|
-
type: String
|
137
|
-
},
|
138
|
-
/**
|
139
|
-
* Defines the visibility of the week numbers column.
|
140
|
-
* <br><br>
|
141
|
-
*
|
142
|
-
* <b>Note:</b> For calendars other than Gregorian,
|
143
|
-
* the week numbers are not displayed regardless of what is set.
|
144
|
-
*
|
145
|
-
* @type {boolean}
|
146
|
-
* @defaultvalue false
|
147
|
-
* @public
|
148
|
-
* @since 1.0.0-rc.8
|
149
|
-
*/
|
150
|
-
hideWeekNumbers: {
|
151
|
-
type: Boolean
|
152
|
-
},
|
153
|
-
/**
|
154
|
-
* Defines the aria-label attribute for the component.
|
155
|
-
*
|
156
|
-
* @type {string}
|
157
|
-
* @public
|
158
|
-
* @since 1.0.0-rc.15
|
159
|
-
*/
|
160
|
-
accessibleName: {
|
161
|
-
type: String
|
162
|
-
},
|
163
|
-
/**
|
164
|
-
* Receives id(or many ids) of the elements that label the component.
|
165
|
-
*
|
166
|
-
* @type {string}
|
167
|
-
* @defaultvalue ""
|
168
|
-
* @public
|
169
|
-
* @since 1.0.0-rc.15
|
170
|
-
*/
|
171
|
-
accessibleNameRef: {
|
172
|
-
type: String,
|
173
|
-
defaultValue: ""
|
174
|
-
},
|
175
|
-
_isPickerOpen: {
|
176
|
-
type: Boolean,
|
177
|
-
noAttribute: true
|
178
|
-
},
|
179
|
-
_respPopoverConfig: {
|
180
|
-
type: Object
|
181
|
-
},
|
182
|
-
_calendarCurrentPicker: {
|
183
|
-
type: String,
|
184
|
-
defaultValue: "day"
|
185
|
-
}
|
186
|
-
},
|
187
|
-
slots: /** @lends sap.ui.webcomponents.main.DatePicker.prototype */{
|
188
|
-
/**
|
189
|
-
* Defines the value state message that will be displayed as pop up under the component.
|
190
|
-
* <br><br>
|
191
|
-
*
|
192
|
-
* <b>Note:</b> If not specified, a default text (in the respective language) will be displayed.
|
193
|
-
* <br>
|
194
|
-
* <b>Note:</b> The <code>valueStateMessage</code> would be displayed,
|
195
|
-
* when the component is in <code>Information</code>, <code>Warning</code> or <code>Error</code> value state.
|
196
|
-
* @type {HTMLElement}
|
197
|
-
* @since 1.0.0-rc.7
|
198
|
-
* @slot
|
199
|
-
* @public
|
200
|
-
*/
|
201
|
-
valueStateMessage: {
|
202
|
-
type: HTMLElement
|
203
|
-
},
|
204
|
-
/**
|
205
|
-
* The slot is used to render native <code>input</code> HTML element within Light DOM to enable form submit,
|
206
|
-
* when <code>name</code> property is set.
|
207
|
-
* @type {HTMLElement[]}
|
208
|
-
* @slot
|
209
|
-
* @private
|
210
|
-
*/
|
211
|
-
formSupport: {
|
212
|
-
type: HTMLElement
|
213
|
-
}
|
214
|
-
},
|
215
|
-
events: /** @lends sap.ui.webcomponents.main.DatePicker.prototype */{
|
216
|
-
/**
|
217
|
-
* Fired when the input operation has finished by pressing Enter or on focusout.
|
218
|
-
*
|
219
|
-
* @event
|
220
|
-
* @allowPreventDefault
|
221
|
-
* @public
|
222
|
-
* @param {string} value The submitted value.
|
223
|
-
* @param {boolean} valid Indicator if the value is in correct format pattern and in valid range.
|
224
|
-
*/
|
225
|
-
change: {
|
226
|
-
detail: {
|
227
|
-
value: {
|
228
|
-
type: String
|
229
|
-
},
|
230
|
-
valid: {
|
231
|
-
type: Boolean
|
232
|
-
}
|
233
|
-
}
|
234
|
-
},
|
235
|
-
/**
|
236
|
-
* Fired when the value of the component is changed at each key stroke.
|
237
|
-
*
|
238
|
-
* @event
|
239
|
-
* @allowPreventDefault
|
240
|
-
* @public
|
241
|
-
* @param {string} value The submitted value.
|
242
|
-
* @param {boolean} valid Indicator if the value is in correct format pattern and in valid range.
|
243
|
-
*/
|
244
|
-
input: {
|
245
|
-
detail: {
|
246
|
-
value: {
|
247
|
-
type: String
|
248
|
-
},
|
249
|
-
valid: {
|
250
|
-
type: Boolean
|
251
|
-
}
|
252
|
-
}
|
253
|
-
}
|
254
|
-
}
|
33
|
+
var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
|
34
|
+
var c = arguments.length,
|
35
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
36
|
+
d;
|
37
|
+
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;
|
38
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
255
39
|
};
|
256
|
-
|
40
|
+
var DatePicker_1;
|
257
41
|
/**
|
258
42
|
* @class
|
259
43
|
*
|
@@ -281,7 +65,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
281
65
|
* the input field, it must fit to the used date format.
|
282
66
|
* <br><br>
|
283
67
|
* Supported format options are pattern-based on Unicode LDML Date Format notation.
|
284
|
-
* For more information, see <ui5-link target="_blank" href="http://unicode.org/reports/tr35/#Date_Field_Symbol_Table"
|
68
|
+
* For more information, see <ui5-link target="_blank" href="http://unicode.org/reports/tr35/#Date_Field_Symbol_Table">UTS #35: Unicode Locale Data Markup Language</ui5-link>.
|
285
69
|
* <br><br>
|
286
70
|
* For example, if the <code>format-pattern</code> is "yyyy-MM-dd",
|
287
71
|
* a valid value string is "2015-07-30" and the same is displayed in the input.
|
@@ -337,32 +121,12 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
337
121
|
*
|
338
122
|
* @constructor
|
339
123
|
* @author SAP SE
|
340
|
-
* @alias sap.ui.
|
341
|
-
* @extends DateComponentBase
|
124
|
+
* @alias sap.ui.webc.main.DatePicker
|
125
|
+
* @extends sap.ui.webc.main.DateComponentBase
|
342
126
|
* @tagname ui5-date-picker
|
343
127
|
* @public
|
344
128
|
*/
|
345
|
-
class DatePicker extends _DateComponentBase.default {
|
346
|
-
static get metadata() {
|
347
|
-
return metadata;
|
348
|
-
}
|
349
|
-
static get template() {
|
350
|
-
return _DatePickerTemplate.default;
|
351
|
-
}
|
352
|
-
static get staticAreaTemplate() {
|
353
|
-
return _DatePickerPopoverTemplate.default;
|
354
|
-
}
|
355
|
-
static get styles() {
|
356
|
-
return _DatePicker.default;
|
357
|
-
}
|
358
|
-
static get staticAreaStyles() {
|
359
|
-
return [_ResponsivePopoverCommon.default, _DatePickerPopover.default];
|
360
|
-
}
|
361
|
-
constructor() {
|
362
|
-
super();
|
363
|
-
this.FormSupport = undefined;
|
364
|
-
}
|
365
|
-
|
129
|
+
let DatePicker = DatePicker_1 = class DatePicker extends _DateComponentBase.default {
|
366
130
|
/**
|
367
131
|
* @protected
|
368
132
|
*/
|
@@ -371,20 +135,20 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
371
135
|
if ((0, _Device.isPhone)()) {
|
372
136
|
this.blur(); // close device's keyboard and prevent further typing
|
373
137
|
} else {
|
374
|
-
this._getInput()
|
138
|
+
this._getInput()?.focus();
|
375
139
|
}
|
376
140
|
}
|
377
141
|
onBeforeRendering() {
|
378
142
|
this.FormSupport = (0, _FeaturesRegistry.getFeature)("FormSupport");
|
379
143
|
["minDate", "maxDate"].forEach(prop => {
|
380
|
-
|
381
|
-
|
144
|
+
const propValue = this[prop];
|
145
|
+
if (!this.isValid(propValue)) {
|
146
|
+
console.warn(`Invalid value for property "${prop}": ${propValue} is not compatible with the configured format pattern: "${this._displayFormat}"`); // eslint-disable-line
|
382
147
|
}
|
383
148
|
});
|
384
149
|
|
385
|
-
|
386
|
-
|
387
|
-
FormSupport.syncNativeHiddenInput(this);
|
150
|
+
if (this.FormSupport) {
|
151
|
+
this.FormSupport.syncNativeHiddenInput(this);
|
388
152
|
} else if (this.name) {
|
389
153
|
console.warn(`In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";`); // eslint-disable-line
|
390
154
|
}
|
@@ -392,7 +156,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
392
156
|
this.value = this.normalizeValue(this.value) || this.value;
|
393
157
|
this.liveValue = this.value;
|
394
158
|
}
|
395
|
-
|
396
159
|
/**
|
397
160
|
* Override in derivatives to change calendar selection mode
|
398
161
|
* @returns {string}
|
@@ -401,25 +164,25 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
401
164
|
get _calendarSelectionMode() {
|
402
165
|
return "Single";
|
403
166
|
}
|
404
|
-
|
405
167
|
/**
|
406
168
|
* Used to provide a timestamp to the Calendar (to focus it to a relevant date when open) based on the component's state
|
407
169
|
* Override in derivatives to provide the calendar a timestamp based on their properties
|
408
170
|
* By default focus the calendar on the selected date if set, or the current day otherwise
|
409
171
|
* @protected
|
172
|
+
* @returns { number } the calendar timestamp
|
410
173
|
*/
|
411
174
|
get _calendarTimestamp() {
|
412
|
-
if (this.value && this._checkValueValidity(this.value)) {
|
175
|
+
if (this.value && this.dateValueUTC && this._checkValueValidity(this.value)) {
|
413
176
|
const millisecondsUTC = this.dateValueUTC.getTime();
|
414
177
|
return (0, _getRoundedTimestamp.default)(millisecondsUTC);
|
415
178
|
}
|
416
179
|
return (0, _getTodayUTCTimestamp.default)(this._primaryCalendarType);
|
417
180
|
}
|
418
|
-
|
419
181
|
/**
|
420
182
|
* Used to provide selectedDates to the calendar based on the component's state
|
421
183
|
* Override in derivatives to provide different rules for setting the calendar's selected dates
|
422
184
|
* @protected
|
185
|
+
* @returns { array } the selected dates
|
423
186
|
*/
|
424
187
|
get _calendarSelectedDates() {
|
425
188
|
if (this.value && this._checkValueValidity(this.value)) {
|
@@ -427,49 +190,51 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
427
190
|
}
|
428
191
|
return [];
|
429
192
|
}
|
430
|
-
_onkeydown(
|
431
|
-
if ((0, _Keys.isShow)(
|
432
|
-
|
193
|
+
_onkeydown(e) {
|
194
|
+
if ((0, _Keys.isShow)(e)) {
|
195
|
+
e.preventDefault(); // Prevent scroll on Alt/Option + Arrow Up/Down
|
433
196
|
if (this.isOpen()) {
|
434
|
-
if (!(0, _Keys.isF4)(
|
197
|
+
if (!(0, _Keys.isF4)(e)) {
|
435
198
|
this._toggleAndFocusInput();
|
436
199
|
}
|
437
200
|
} else {
|
438
201
|
this._toggleAndFocusInput();
|
439
202
|
}
|
440
203
|
}
|
204
|
+
if (this._getInput().isEqualNode(e.target) && this.isOpen() && ((0, _Keys.isTabNext)(e) || (0, _Keys.isTabPrevious)(e) || (0, _Keys.isF6Next)(e) || (0, _Keys.isF6Previous)(e))) {
|
205
|
+
this.closePicker();
|
206
|
+
}
|
441
207
|
if (this.isOpen()) {
|
442
208
|
return;
|
443
209
|
}
|
444
|
-
if ((0, _Keys.isEnter)(
|
210
|
+
if ((0, _Keys.isEnter)(e)) {
|
445
211
|
if (this.FormSupport) {
|
446
212
|
this.FormSupport.triggerFormSubmit(this);
|
447
213
|
}
|
448
|
-
} else if ((0, _Keys.isPageUpShiftCtrl)(
|
449
|
-
|
214
|
+
} else if ((0, _Keys.isPageUpShiftCtrl)(e)) {
|
215
|
+
e.preventDefault();
|
450
216
|
this._modifyDateValue(1, "year");
|
451
|
-
} else if ((0, _Keys.isPageUpShift)(
|
452
|
-
|
217
|
+
} else if ((0, _Keys.isPageUpShift)(e)) {
|
218
|
+
e.preventDefault();
|
453
219
|
this._modifyDateValue(1, "month");
|
454
|
-
} else if ((0, _Keys.isPageUp)(
|
455
|
-
|
220
|
+
} else if ((0, _Keys.isPageUp)(e)) {
|
221
|
+
e.preventDefault();
|
456
222
|
this._modifyDateValue(1, "day");
|
457
|
-
} else if ((0, _Keys.isPageDownShiftCtrl)(
|
458
|
-
|
223
|
+
} else if ((0, _Keys.isPageDownShiftCtrl)(e)) {
|
224
|
+
e.preventDefault();
|
459
225
|
this._modifyDateValue(-1, "year");
|
460
|
-
} else if ((0, _Keys.isPageDownShift)(
|
461
|
-
|
226
|
+
} else if ((0, _Keys.isPageDownShift)(e)) {
|
227
|
+
e.preventDefault();
|
462
228
|
this._modifyDateValue(-1, "month");
|
463
|
-
} else if ((0, _Keys.isPageDown)(
|
464
|
-
|
229
|
+
} else if ((0, _Keys.isPageDown)(e)) {
|
230
|
+
e.preventDefault();
|
465
231
|
this._modifyDateValue(-1, "day");
|
466
232
|
}
|
467
233
|
}
|
468
|
-
|
469
234
|
/**
|
470
235
|
*
|
471
|
-
* @param amount
|
472
|
-
* @param unit
|
236
|
+
* @param { number } amount
|
237
|
+
* @param { string } unit
|
473
238
|
* @protected
|
474
239
|
*/
|
475
240
|
_modifyDateValue(amount, unit) {
|
@@ -488,22 +253,24 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
488
253
|
|
489
254
|
let executeEvent = true;
|
490
255
|
this.liveValue = value;
|
491
|
-
|
492
|
-
|
256
|
+
const previousValue = this.value;
|
257
|
+
if (updateValue) {
|
258
|
+
this._getInput().value = value;
|
259
|
+
this.value = value;
|
260
|
+
this._updateValueState(); // Change the value state to Error/None, but only if needed
|
261
|
+
}
|
262
|
+
|
263
|
+
events.forEach(e => {
|
264
|
+
if (!this.fireEvent(e, {
|
493
265
|
value,
|
494
266
|
valid
|
495
267
|
}, true)) {
|
496
268
|
executeEvent = false;
|
497
269
|
}
|
498
270
|
});
|
499
|
-
if (!executeEvent) {
|
500
|
-
|
501
|
-
|
502
|
-
if (updateValue) {
|
503
|
-
this._getInput().getInputDOMRef().then(innnerInput => {
|
504
|
-
innnerInput.value = value;
|
505
|
-
});
|
506
|
-
this.value = value;
|
271
|
+
if (!executeEvent && updateValue) {
|
272
|
+
this._getInput().value = previousValue;
|
273
|
+
this.value = previousValue;
|
507
274
|
this._updateValueState(); // Change the value state to Error/None, but only if needed
|
508
275
|
}
|
509
276
|
}
|
@@ -525,31 +292,30 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
525
292
|
_getInput() {
|
526
293
|
return this.shadowRoot.querySelector("[ui5-input]");
|
527
294
|
}
|
528
|
-
|
529
295
|
/**
|
530
296
|
* The ui5-input "submit" event handler - fire change event when the user presses enter
|
531
297
|
* @protected
|
532
298
|
*/
|
533
|
-
_onInputSubmit(
|
534
|
-
|
299
|
+
_onInputSubmit() {}
|
535
300
|
/**
|
536
301
|
* The ui5-input "change" event handler - fire change event when the user focuses out of the input
|
537
302
|
* @protected
|
538
303
|
*/
|
539
|
-
_onInputChange(
|
540
|
-
this._updateValueAndFireEvents(
|
304
|
+
_onInputChange(e) {
|
305
|
+
this._updateValueAndFireEvents(e.target.value, true, ["change", "value-changed"]);
|
541
306
|
}
|
542
|
-
|
543
307
|
/**
|
544
308
|
* The ui5-input "input" event handler - fire input even when the user types
|
545
309
|
* @protected
|
546
310
|
*/
|
547
|
-
|
548
|
-
this._updateValueAndFireEvents(
|
311
|
+
_onInputInput(e) {
|
312
|
+
this._updateValueAndFireEvents(e.target.value, false, ["input"], false);
|
549
313
|
}
|
550
|
-
|
551
314
|
/**
|
315
|
+
* Checks if the provided value is valid and within valid range.
|
552
316
|
* @protected
|
317
|
+
* @param { string } value
|
318
|
+
* @returns { boolean }
|
553
319
|
*/
|
554
320
|
_checkValueValidity(value) {
|
555
321
|
if (value === "") {
|
@@ -557,18 +323,19 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
557
323
|
}
|
558
324
|
return this.isValid(value) && this.isInValidRange(value);
|
559
325
|
}
|
560
|
-
_click(
|
326
|
+
_click(e) {
|
561
327
|
if ((0, _Device.isPhone)()) {
|
562
328
|
this.responsivePopover.showAt(this);
|
563
|
-
|
329
|
+
e.preventDefault(); // prevent immediate selection of any item
|
564
330
|
}
|
565
331
|
}
|
566
|
-
|
567
332
|
/**
|
568
333
|
* Checks if a value is valid against the current date format of the DatePicker.
|
569
|
-
* @param {string} value A value to be tested against the current date format
|
570
|
-
* @returns {boolean}
|
571
334
|
* @public
|
335
|
+
* @method
|
336
|
+
* @name sap.ui.webc.main.DatePicker#isValid
|
337
|
+
* @param { string } [value=""] A value to be tested against the current date format
|
338
|
+
* @returns { boolean }
|
572
339
|
*/
|
573
340
|
isValid(value = "") {
|
574
341
|
if (value === "") {
|
@@ -576,21 +343,24 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
576
343
|
}
|
577
344
|
return !!this.getFormat().parse(value);
|
578
345
|
}
|
579
|
-
|
580
346
|
/**
|
581
347
|
* Checks if a date is between the minimum and maximum date.
|
582
|
-
* @param {string} value A value to be checked
|
583
|
-
* @returns {boolean}
|
584
348
|
* @public
|
349
|
+
* @method
|
350
|
+
* @name sap.ui.webc.main.DatePicker#isInValidRange
|
351
|
+
* @param { string } [value=""] A value to be checked
|
352
|
+
* @returns { boolean }
|
585
353
|
*/
|
586
354
|
isInValidRange(value = "") {
|
587
355
|
if (value === "") {
|
588
356
|
return true;
|
589
357
|
}
|
590
358
|
const calendarDate = this._getCalendarDateFromString(value);
|
359
|
+
if (!calendarDate || !this._minDate || !this._maxDate) {
|
360
|
+
return false;
|
361
|
+
}
|
591
362
|
return calendarDate.valueOf() >= this._minDate.valueOf() && calendarDate.valueOf() <= this._maxDate.valueOf();
|
592
363
|
}
|
593
|
-
|
594
364
|
/**
|
595
365
|
* The parser understands many formats, but we need one format
|
596
366
|
* @protected
|
@@ -603,9 +373,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
603
373
|
}
|
604
374
|
|
605
375
|
get _displayFormat() {
|
376
|
+
// @ts-ignore oFormatOptions is a private API of DateFormat
|
606
377
|
return this.getFormat().oFormatOptions.pattern;
|
607
378
|
}
|
608
|
-
|
609
379
|
/**
|
610
380
|
* @protected
|
611
381
|
*/
|
@@ -613,7 +383,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
613
383
|
return this.placeholder !== undefined ? this.placeholder : this._displayFormat;
|
614
384
|
}
|
615
385
|
get _headerTitleText() {
|
616
|
-
return
|
386
|
+
return DatePicker_1.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS_TITLE);
|
617
387
|
}
|
618
388
|
get phone() {
|
619
389
|
return (0, _Device.isPhone)();
|
@@ -634,15 +404,14 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
634
404
|
};
|
635
405
|
}
|
636
406
|
get openIconTitle() {
|
637
|
-
return
|
407
|
+
return DatePicker_1.i18nBundle.getText(_i18nDefaults.DATEPICKER_OPEN_ICON_TITLE);
|
638
408
|
}
|
639
409
|
get openIconName() {
|
640
410
|
return "appointment-2";
|
641
411
|
}
|
642
412
|
get dateAriaDescription() {
|
643
|
-
return
|
413
|
+
return DatePicker_1.i18nBundle.getText(_i18nDefaults.DATEPICKER_DATE_DESCRIPTION);
|
644
414
|
}
|
645
|
-
|
646
415
|
/**
|
647
416
|
* Defines whether the dialog on mobile should have header
|
648
417
|
* @private
|
@@ -650,6 +419,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
650
419
|
get _shouldHideHeader() {
|
651
420
|
return false;
|
652
421
|
}
|
422
|
+
/**
|
423
|
+
* Defines whether the value help icon is hidden
|
424
|
+
* @private
|
425
|
+
*/
|
426
|
+
get _ariaHidden() {
|
427
|
+
return (0, _Device.isDesktop)();
|
428
|
+
}
|
653
429
|
async _respPopover() {
|
654
430
|
const staticAreaItem = await this.getStaticAreaItemDomRef();
|
655
431
|
return staticAreaItem.querySelector("[ui5-responsive-popover]");
|
@@ -657,56 +433,69 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
657
433
|
_canOpenPicker() {
|
658
434
|
return !this.disabled && !this.readonly;
|
659
435
|
}
|
660
|
-
|
436
|
+
get _calendarPickersMode() {
|
437
|
+
const format = this.getFormat();
|
438
|
+
const patternSymbolTypes = format.aFormatArray.map(patternSymbolSettings => {
|
439
|
+
return patternSymbolSettings.type.toLowerCase();
|
440
|
+
});
|
441
|
+
if (patternSymbolTypes.includes("day")) {
|
442
|
+
return _CalendarPickersMode.default.DAY_MONTH_YEAR;
|
443
|
+
}
|
444
|
+
if (patternSymbolTypes.includes("month") || patternSymbolTypes.includes("monthstandalone")) {
|
445
|
+
return _CalendarPickersMode.default.MONTH_YEAR;
|
446
|
+
}
|
447
|
+
return _CalendarPickersMode.default.YEAR;
|
448
|
+
}
|
661
449
|
/**
|
662
450
|
* The user selected a new date in the calendar
|
663
451
|
* @param event
|
664
452
|
* @protected
|
665
453
|
*/
|
666
|
-
onSelectedDatesChange(
|
667
|
-
|
668
|
-
const newValue =
|
454
|
+
onSelectedDatesChange(e) {
|
455
|
+
e.preventDefault();
|
456
|
+
const newValue = e.detail.values && e.detail.values[0];
|
669
457
|
this._updateValueAndFireEvents(newValue, true, ["change", "value-changed"]);
|
670
458
|
this.closePicker();
|
671
459
|
}
|
672
|
-
|
673
460
|
/**
|
674
461
|
* The user clicked the "month" button in the header
|
675
462
|
*/
|
676
463
|
onHeaderShowMonthPress() {
|
677
464
|
this._calendarCurrentPicker = "month";
|
678
465
|
}
|
679
|
-
|
680
466
|
/**
|
681
467
|
* The user clicked the "year" button in the header
|
682
468
|
*/
|
683
469
|
onHeaderShowYearPress() {
|
684
470
|
this._calendarCurrentPicker = "year";
|
685
471
|
}
|
686
|
-
|
687
472
|
/**
|
688
473
|
* Formats a Java Script date object into a string representing a locale date
|
689
474
|
* according to the <code>formatPattern</code> property of the DatePicker instance
|
475
|
+
* @public
|
476
|
+
* @method
|
477
|
+
* @name sap.ui.webc.main.DatePicker#formatValue
|
690
478
|
* @param {Date} date A Java Script date object to be formatted as string
|
691
479
|
* @returns {string} The date as string
|
692
|
-
* @public
|
693
480
|
*/
|
694
481
|
formatValue(date) {
|
695
482
|
return this.getFormat().format(date);
|
696
483
|
}
|
697
|
-
|
698
484
|
/**
|
699
485
|
* Closes the picker.
|
700
486
|
* @public
|
487
|
+
* @method
|
488
|
+
* @name sap.ui.webc.main.DatePicker#closePicker
|
701
489
|
*/
|
702
490
|
closePicker() {
|
703
491
|
this.responsivePopover.close();
|
704
492
|
}
|
705
|
-
|
706
493
|
/**
|
707
494
|
* Opens the picker.
|
708
495
|
* @public
|
709
496
|
* @async
|
497
|
+
* @method
|
498
|
+
* @name sap.ui.webc.main.DatePicker#openPicker
|
710
499
|
* @returns {Promise} Resolves when the picker is open
|
711
500
|
*/
|
712
501
|
async openPicker() {
|
@@ -722,22 +511,23 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
722
511
|
this.openPicker();
|
723
512
|
}
|
724
513
|
}
|
725
|
-
|
726
514
|
/**
|
727
515
|
* Checks if the picker is open.
|
728
|
-
* @returns {boolean} true if the picker is open, false otherwise
|
729
516
|
* @public
|
517
|
+
* @method
|
518
|
+
* @name sap.ui.webc.main.DatePicker#isOpen
|
519
|
+
* @returns {boolean} true if the picker is open, false otherwise
|
730
520
|
*/
|
731
521
|
isOpen() {
|
732
522
|
return !!this._isPickerOpen;
|
733
523
|
}
|
734
|
-
|
735
524
|
/**
|
736
525
|
* Currently selected date represented as a Local JavaScript Date instance.
|
737
526
|
*
|
527
|
+
* @public
|
738
528
|
* @readonly
|
529
|
+
* @name sap.ui.webc.main.DatePicker.prototype.dateValue
|
739
530
|
* @type { Date }
|
740
|
-
* @public
|
741
531
|
*/
|
742
532
|
get dateValue() {
|
743
533
|
return this.liveValue ? this.getFormat().parse(this.liveValue) : this.getFormat().parse(this.value);
|
@@ -755,10 +545,93 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
755
545
|
get type() {
|
756
546
|
return _InputType.default.Text;
|
757
547
|
}
|
758
|
-
|
759
|
-
|
548
|
+
};
|
549
|
+
__decorate([(0, _property.default)()], DatePicker.prototype, "value", void 0);
|
550
|
+
__decorate([(0, _property.default)({
|
551
|
+
type: _ValueState.default,
|
552
|
+
defaultValue: _ValueState.default.None
|
553
|
+
})], DatePicker.prototype, "valueState", void 0);
|
554
|
+
__decorate([(0, _property.default)({
|
555
|
+
type: Boolean
|
556
|
+
})], DatePicker.prototype, "required", void 0);
|
557
|
+
__decorate([(0, _property.default)({
|
558
|
+
type: Boolean
|
559
|
+
})], DatePicker.prototype, "disabled", void 0);
|
560
|
+
__decorate([(0, _property.default)({
|
561
|
+
type: Boolean
|
562
|
+
})], DatePicker.prototype, "readonly", void 0);
|
563
|
+
__decorate([(0, _property.default)({
|
564
|
+
defaultValue: undefined
|
565
|
+
})], DatePicker.prototype, "placeholder", void 0);
|
566
|
+
__decorate([(0, _property.default)()], DatePicker.prototype, "name", void 0);
|
567
|
+
__decorate([(0, _property.default)({
|
568
|
+
type: Boolean
|
569
|
+
})], DatePicker.prototype, "hideWeekNumbers", void 0);
|
570
|
+
__decorate([(0, _property.default)()], DatePicker.prototype, "accessibleName", void 0);
|
571
|
+
__decorate([(0, _property.default)({
|
572
|
+
defaultValue: ""
|
573
|
+
})], DatePicker.prototype, "accessibleNameRef", void 0);
|
574
|
+
__decorate([(0, _property.default)({
|
575
|
+
type: Boolean,
|
576
|
+
noAttribute: true
|
577
|
+
})], DatePicker.prototype, "_isPickerOpen", void 0);
|
578
|
+
__decorate([(0, _property.default)({
|
579
|
+
type: Object
|
580
|
+
})], DatePicker.prototype, "_respPopoverConfig", void 0);
|
581
|
+
__decorate([(0, _property.default)({
|
582
|
+
defaultValue: "day"
|
583
|
+
})], DatePicker.prototype, "_calendarCurrentPicker", void 0);
|
584
|
+
__decorate([(0, _slot.default)({
|
585
|
+
type: HTMLElement
|
586
|
+
})], DatePicker.prototype, "valueStateMessage", void 0);
|
587
|
+
__decorate([(0, _slot.default)({
|
588
|
+
type: HTMLElement
|
589
|
+
})], DatePicker.prototype, "formSupport", void 0);
|
590
|
+
DatePicker = DatePicker_1 = __decorate([(0, _customElement.default)({
|
591
|
+
tag: "ui5-date-picker",
|
592
|
+
languageAware: true,
|
593
|
+
template: _DatePickerTemplate.default,
|
594
|
+
staticAreaTemplate: _DatePickerPopoverTemplate.default,
|
595
|
+
styles: _DatePicker.default,
|
596
|
+
staticAreaStyles: [_ResponsivePopoverCommon.default, _DatePickerPopover.default],
|
597
|
+
dependencies: [_Icon.default, _ResponsivePopover.default, _Calendar.default, _CalendarDate2.default, _Input.default, _Button.default]
|
598
|
+
})
|
599
|
+
/**
|
600
|
+
* Fired when the input operation has finished by pressing Enter or on focusout.
|
601
|
+
*
|
602
|
+
* @event sap.ui.webc.main.DatePicker#change
|
603
|
+
* @allowPreventDefault
|
604
|
+
* @public
|
605
|
+
* @param {string} value The submitted value.
|
606
|
+
* @param {boolean} valid Indicator if the value is in correct format pattern and in valid range.
|
607
|
+
*/, (0, _event.default)("change", {
|
608
|
+
detail: {
|
609
|
+
value: {
|
610
|
+
type: String
|
611
|
+
},
|
612
|
+
valid: {
|
613
|
+
type: Boolean
|
614
|
+
}
|
615
|
+
}
|
616
|
+
})
|
617
|
+
/**
|
618
|
+
* Fired when the value of the component is changed at each key stroke.
|
619
|
+
*
|
620
|
+
* @event sap.ui.webc.main.DatePicker#input
|
621
|
+
* @allowPreventDefault
|
622
|
+
* @public
|
623
|
+
* @param {string} value The submitted value.
|
624
|
+
* @param {boolean} valid Indicator if the value is in correct format pattern and in valid range.
|
625
|
+
*/, (0, _event.default)("input", {
|
626
|
+
detail: {
|
627
|
+
value: {
|
628
|
+
type: String
|
629
|
+
},
|
630
|
+
valid: {
|
631
|
+
type: Boolean
|
632
|
+
}
|
760
633
|
}
|
761
|
-
}
|
634
|
+
})], DatePicker);
|
762
635
|
DatePicker.define();
|
763
636
|
var _default = DatePicker;
|
764
637
|
_exports.default = _default;
|