@openui5/sap.ui.webc.main 1.96.2 → 1.98.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 +26 -31
- package/THIRDPARTY.txt +15 -21
- package/package.json +3 -3
- package/src/sap/ui/webc/main/.library +2 -2
- package/src/sap/ui/webc/main/Avatar.js +3 -3
- package/src/sap/ui/webc/main/AvatarGroup.js +2 -2
- package/src/sap/ui/webc/main/Badge.js +2 -2
- package/src/sap/ui/webc/main/Breadcrumbs.js +4 -4
- package/src/sap/ui/webc/main/BreadcrumbsItem.js +4 -4
- package/src/sap/ui/webc/main/BusyIndicator.js +2 -2
- package/src/sap/ui/webc/main/Button.js +4 -4
- package/src/sap/ui/webc/main/Calendar.js +5 -5
- package/src/sap/ui/webc/main/CalendarDate.js +2 -2
- package/src/sap/ui/webc/main/Card.js +18 -2
- package/src/sap/ui/webc/main/CardHeader.js +4 -4
- package/src/sap/ui/webc/main/Carousel.js +2 -2
- package/src/sap/ui/webc/main/CheckBox.js +2 -2
- package/src/sap/ui/webc/main/ColorPalette.js +5 -5
- package/src/sap/ui/webc/main/ColorPaletteItem.js +2 -2
- package/src/sap/ui/webc/main/ColorPalettePopover.js +112 -0
- package/src/sap/ui/webc/main/ColorPicker.js +4 -4
- package/src/sap/ui/webc/main/ComboBox.js +5 -5
- package/src/sap/ui/webc/main/ComboBoxGroupItem.js +4 -4
- package/src/sap/ui/webc/main/ComboBoxItem.js +2 -2
- package/src/sap/ui/webc/main/CustomListItem.js +2 -2
- package/src/sap/ui/webc/main/DatePicker.js +6 -6
- package/src/sap/ui/webc/main/DateRangePicker.js +4 -4
- package/src/sap/ui/webc/main/DateTimePicker.js +5 -7
- package/src/sap/ui/webc/main/Dialog.js +2 -2
- package/src/sap/ui/webc/main/FileUploader.js +3 -3
- package/src/sap/ui/webc/main/GroupHeaderListItem.js +2 -2
- package/src/sap/ui/webc/main/Icon.js +2 -2
- package/src/sap/ui/webc/main/Input.js +7 -28
- package/src/sap/ui/webc/main/Label.js +3 -3
- package/src/sap/ui/webc/main/Link.js +3 -3
- package/src/sap/ui/webc/main/List.js +9 -10
- package/src/sap/ui/webc/main/MessageStrip.js +4 -4
- package/src/sap/ui/webc/main/MultiComboBox.js +4 -11
- package/src/sap/ui/webc/main/MultiComboBoxItem.js +2 -2
- package/src/sap/ui/webc/main/MultiInput.js +7 -28
- package/src/sap/ui/webc/main/Option.js +2 -2
- package/src/sap/ui/webc/main/Panel.js +6 -5
- package/src/sap/ui/webc/main/Popover.js +2 -2
- package/src/sap/ui/webc/main/ProgressIndicator.js +15 -2
- package/src/sap/ui/webc/main/RadioButton.js +2 -2
- package/src/sap/ui/webc/main/RangeSlider.js +16 -18
- package/src/sap/ui/webc/main/RatingIndicator.js +5 -5
- package/src/sap/ui/webc/main/ResponsivePopover.js +2 -2
- package/src/sap/ui/webc/main/SegmentedButton.js +2 -2
- package/src/sap/ui/webc/main/SegmentedButtonItem.js +5 -5
- package/src/sap/ui/webc/main/Select.js +2 -12
- package/src/sap/ui/webc/main/Slider.js +21 -21
- package/src/sap/ui/webc/main/StandardListItem.js +2 -2
- package/src/sap/ui/webc/main/StepInput.js +2 -2
- package/src/sap/ui/webc/main/SuggestionGroupItem.js +4 -4
- package/src/sap/ui/webc/main/SuggestionItem.js +3 -3
- package/src/sap/ui/webc/main/Switch.js +6 -6
- package/src/sap/ui/webc/main/Tab.js +11 -3
- package/src/sap/ui/webc/main/TabContainer.js +2 -11
- package/src/sap/ui/webc/main/TabSeparator.js +2 -2
- package/src/sap/ui/webc/main/Table.js +5 -5
- package/src/sap/ui/webc/main/TableCell.js +2 -2
- package/src/sap/ui/webc/main/TableColumn.js +2 -2
- package/src/sap/ui/webc/main/TableGroupRow.js +5 -5
- package/src/sap/ui/webc/main/TableRow.js +6 -6
- package/src/sap/ui/webc/main/TextArea.js +6 -6
- package/src/sap/ui/webc/main/TimePicker.js +4 -4
- package/src/sap/ui/webc/main/Title.js +2 -2
- package/src/sap/ui/webc/main/Toast.js +2 -2
- package/src/sap/ui/webc/main/ToggleButton.js +4 -4
- package/src/sap/ui/webc/main/Token.js +3 -3
- package/src/sap/ui/webc/main/Tree.js +30 -2
- package/src/sap/ui/webc/main/TreeItem.js +2 -2
- package/src/sap/ui/webc/main/library.js +16 -12
- package/src/sap/ui/webc/main/thirdparty/Assets.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/Avatar.js +8 -11
- package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +6 -7
- package/src/sap/ui/webc/main/thirdparty/Badge.js +11 -6
- package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +14 -4
- package/src/sap/ui/webc/main/thirdparty/BreadcrumbsItem.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +2 -3
- package/src/sap/ui/webc/main/thirdparty/Button.js +6 -4
- package/src/sap/ui/webc/main/thirdparty/Calendar.js +73 -2
- package/src/sap/ui/webc/main/thirdparty/CalendarHeader.js +17 -55
- package/src/sap/ui/webc/main/thirdparty/Card.js +13 -9
- package/src/sap/ui/webc/main/thirdparty/CardHeader.js +16 -11
- package/src/sap/ui/webc/main/thirdparty/Carousel.js +8 -7
- package/src/sap/ui/webc/main/thirdparty/CheckBox.js +34 -6
- package/src/sap/ui/webc/main/thirdparty/ColorPalette.js +161 -12
- package/src/sap/ui/webc/main/thirdparty/ColorPaletteItem.js +14 -4
- package/src/sap/ui/webc/main/thirdparty/ColorPalettePopover.js +110 -0
- package/src/sap/ui/webc/main/thirdparty/ColorPicker.js +10 -1
- package/src/sap/ui/webc/main/thirdparty/ComboBox.js +161 -57
- package/src/sap/ui/webc/main/thirdparty/DateComponentBase.js +2 -3
- package/src/sap/ui/webc/main/thirdparty/DatePicker.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/DateTimePicker.js +7 -6
- package/src/sap/ui/webc/main/thirdparty/DayPicker.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/Dialog.js +11 -4
- package/src/sap/ui/webc/main/thirdparty/DurationPicker.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/FileUploader.js +25 -13
- package/src/sap/ui/webc/main/thirdparty/GroupHeaderListItem.js +5 -8
- package/src/sap/ui/webc/main/thirdparty/Icon.js +15 -11
- package/src/sap/ui/webc/main/thirdparty/Input.js +104 -50
- package/src/sap/ui/webc/main/thirdparty/Link.js +2 -3
- package/src/sap/ui/webc/main/thirdparty/List.js +42 -13
- package/src/sap/ui/webc/main/thirdparty/ListItem.js +13 -8
- package/src/sap/ui/webc/main/thirdparty/MessageStrip.js +11 -11
- package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +205 -59
- package/src/sap/ui/webc/main/thirdparty/MultiComboBoxItem.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/MultiInput.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/Option.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/Panel.js +2 -3
- package/src/sap/ui/webc/main/thirdparty/Popover.js +52 -31
- package/src/sap/ui/webc/main/thirdparty/Popup.js +14 -25
- package/src/sap/ui/webc/main/thirdparty/ProgressIndicator.js +8 -7
- package/src/sap/ui/webc/main/thirdparty/RadioButton.js +35 -7
- package/src/sap/ui/webc/main/thirdparty/RangeSlider.js +7 -8
- package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +3 -4
- package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +5 -23
- package/src/sap/ui/webc/main/thirdparty/SegmentedButton.js +4 -4
- package/src/sap/ui/webc/main/thirdparty/SegmentedButtonItem.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/Select.js +72 -47
- package/src/sap/ui/webc/main/thirdparty/Slider.js +2 -3
- package/src/sap/ui/webc/main/thirdparty/SliderBase.js +4 -9
- package/src/sap/ui/webc/main/thirdparty/StepInput.js +8 -10
- package/src/sap/ui/webc/main/thirdparty/Switch.js +9 -7
- package/src/sap/ui/webc/main/thirdparty/Tab.js +18 -5
- package/src/sap/ui/webc/main/thirdparty/TabContainer.js +17 -6
- package/src/sap/ui/webc/main/thirdparty/Table.js +10 -8
- package/src/sap/ui/webc/main/thirdparty/TableGroupRow.js +2 -3
- package/src/sap/ui/webc/main/thirdparty/TableRow.js +5 -9
- package/src/sap/ui/webc/main/thirdparty/TextArea.js +20 -10
- package/src/sap/ui/webc/main/thirdparty/TimePicker.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/TimePickerBase.js +9 -6
- package/src/sap/ui/webc/main/thirdparty/TimeSelection.js +8 -9
- package/src/sap/ui/webc/main/thirdparty/Toast.js +5 -0
- package/src/sap/ui/webc/main/thirdparty/ToggleButton.js +4 -1
- package/src/sap/ui/webc/main/thirdparty/Token.js +13 -7
- package/src/sap/ui/webc/main/thirdparty/Tokenizer.js +12 -14
- package/src/sap/ui/webc/main/thirdparty/Tree.js +18 -0
- package/src/sap/ui/webc/main/thirdparty/TreeListItem.js +12 -15
- package/src/sap/ui/webc/main/thirdparty/WheelSlider.js +9 -9
- package/src/sap/ui/webc/main/thirdparty/YearPicker.js +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Avatar.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/AvatarGroup.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Badge.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Breadcrumbs.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/BreadcrumbsPopover.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/BrowserScrollbar.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/BusyIndicator.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Button.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Button.ie11.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Calendar.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/CalendarHeader.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Card.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/CardHeader.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Carousel.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/CheckBox.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalette.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteItem.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalettePopover.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteStaticArea.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPicker.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBox.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBoxPopover.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/CustomListItem.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/DatePicker.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/DatePickerPopover.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/DateRangePicker.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePicker.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePickerPopover.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/DayPicker.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Dialog.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/FileUploader.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/GroupHeaderListItem.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/GrowingButton.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Icon.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Input.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/InputIcon.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/InvisibleTextStyles.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Label.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Link.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/List.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ListItem.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ListItemBase.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/MessageStrip.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/MonthPicker.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/MultiComboBox.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/MultiInput.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Panel.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Popover.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Popup.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/PopupGlobal.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/PopupStaticAreaStyles.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/PopupsCommon.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ProgressIndicator.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/RadioButton.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/RatingIndicator.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopover.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopoverCommon.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/SegmentedButton.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Select.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/SelectPopover.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/SliderBase.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/StepInput.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Suggestions.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Switch.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Tab.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabContainer.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabInOverflow.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabInStrip.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Table.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableCell.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableColumn.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableGroupRow.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableRow.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TapHighlightColor.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TextArea.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimePicker.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimePickerPopover.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimeSelection.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Title.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Toast.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ToggleButton.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ToggleButton.ie11.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Token.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Tokenizer.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Tree.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TreeListItem.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ValueStateMessage.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/WheelSlider.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/YearPicker.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcb/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcw/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_exp/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/features/ColorPaletteMoreColors.js +6 -6
- package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +104 -41
- package/src/sap/ui/webc/main/thirdparty/generated/i18n/i18n-defaults.js +8 -1
- package/src/sap/ui/webc/main/thirdparty/generated/json-imports/Themes.js +10 -8
- package/src/sap/ui/webc/main/thirdparty/generated/json-imports/i18n.js +47 -47
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BadgeTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BusyIndicatorTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CardHeaderTemplate.lit.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CardTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CarouselTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CheckBoxTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteItemTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPalettePopoverTemplate.lit.js +8 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteTemplate.lit.js +6 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPickerTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxPopoverTemplate.lit.js +4 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxTemplate.lit.js +4 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CustomListItemTemplate.lit.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerPopoverTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DateTimePickerPopoverTemplate.lit.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DayPickerTemplate.lit.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderPopoverTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/GroupHeaderListItemTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputPopoverTemplate.lit.js +4 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +6 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ListItemTemplate.lit.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ListTemplate.lit.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MessageStripTemplate.lit.js +4 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +14 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +4 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +7 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ProgressIndicatorTemplate.lit.js +9 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RadioButtonTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RangeSliderTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RatingIndicatorTemplate.lit.js +6 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectPopoverTemplate.lit.js +5 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/StandardListItemTemplate.lit.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/StepInputTemplate.lit.js +4 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.lit.js +4 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerPopoverTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +2 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableTemplate.lit.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaPopoverTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerPopoverTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimeSelectionTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToastTemplate.lit.js +2 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeListItemTemplate.lit.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/WheelSliderTemplate.lit.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Avatar.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/AvatarGroup.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Badge.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Breadcrumbs.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BreadcrumbsPopover.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BrowserScrollbar.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BusyIndicator.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.ie11.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Calendar.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CalendarHeader.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Card.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CardHeader.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Carousel.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CheckBox.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalette.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteItem.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalettePopover.css.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteStaticArea.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPicker.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBox.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBoxPopover.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CustomListItem.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePicker.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePickerPopover.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateRangePicker.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePicker.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePickerPopover.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DayPicker.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Dialog.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/FileUploader.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/GroupHeaderListItem.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/GrowingButton.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Icon.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Input.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/InputIcon.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/InvisibleTextStyles.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Label.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Link.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/List.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItem.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItemBase.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MessageStrip.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MonthPicker.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBox.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiInput.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Panel.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Popover.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Popup.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupGlobal.css.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupStaticAreaStyles.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupsCommon.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ProgressIndicator.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RadioButton.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RatingIndicator.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopover.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopoverCommon.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SegmentedButton.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Select.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SelectPopover.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SliderBase.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/StepInput.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Suggestions.css.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Switch.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tab.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabContainer.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInOverflow.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInStrip.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Table.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableCell.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableColumn.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableGroupRow.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableRow.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TapHighlightColor.css.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TextArea.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePicker.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePickerPopover.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimeSelection.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Title.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Toast.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.ie11.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Token.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tokenizer.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tree.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeListItem.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ValueStateMessage.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/WheelSlider.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/YearPicker.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon/parameters-bundle.css.js +7 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_exp/parameters-bundle.css.js +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ar-7754de1c.js → messagebundle_ar-f610ffe9.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_bg-041345aa.js → messagebundle_bg-e372ad7a.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ca-df38eb0b.js → messagebundle_ca-64403819.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_cs-51d17321.js → messagebundle_cs-f5276d1f.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_cy-cc129f0c.js → messagebundle_cy-5b51959f.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_da-bc87b599.js → messagebundle_da-3f0c542a.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_de-518b0a75.js → messagebundle_de-ff52e292.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_el-9686b145.js → messagebundle_el-8a8f0e04.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en-57ad19b6.js → messagebundle_en-39f79920.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_GB-588d53e3.js → messagebundle_en_GB-9a6995bc.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_sappsd-e370df7b.js → messagebundle_en_US_sappsd-1cd6f946.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_saprigi-adf0ddb3.js → messagebundle_en_US_saprigi-88214efb.js} +10 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_saptrc-261422e2.js → messagebundle_en_US_saptrc-d8b4cc37.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_es-ec258b44.js → messagebundle_es-4e7804b3.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_es_MX-5f113e73.js → messagebundle_es_MX-5d55637e.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_et-901c732b.js → messagebundle_et-d019447e.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_fi-0a2a6323.js → messagebundle_fi-115f5a0c.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_fr-5df8899a.js → messagebundle_fr-f4458a8c.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_fr_CA-0de6a568.js → messagebundle_fr_CA-d3ac2579.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_hi-13e67957.js → messagebundle_hi-3dbf5206.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_hr-93fbc1d1.js → messagebundle_hr-3112e358.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_hu-dd94c35e.js → messagebundle_hu-90f77b24.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_it-0c46ce25.js → messagebundle_it-4fd2c566.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_iw-946df0a2.js → messagebundle_iw-ff53b57b.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ja-9cb333bb.js → messagebundle_ja-050a69c3.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_kk-239d7820.js → messagebundle_kk-597a9724.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ko-6f09e984.js → messagebundle_ko-d840efd8.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_lt-2d4f9935.js → messagebundle_lt-d15c1526.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_lv-d73bf0c0.js → messagebundle_lv-539ad33e.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ms-9b4b2929.js → messagebundle_ms-98b3e6dd.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_nl-55193168.js → messagebundle_nl-5c52e887.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_no-7f4a6832.js → messagebundle_no-04ee2aaf.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_pl-89c36a34.js → messagebundle_pl-6da30702.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_pt-b87f9645.js → messagebundle_pt-71f281c3.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_pt_PT-0e8230b0.js → messagebundle_pt_PT-6d966418.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ro-83e7f44d.js → messagebundle_ro-e76a9c5d.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ru-befd37d0.js → messagebundle_ru-dc34dd79.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sh-4edec182.js → messagebundle_sh-f2171ee6.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sk-29160489.js → messagebundle_sk-5c10a3c8.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sl-fd9ba370.js → messagebundle_sl-14cff3cf.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sv-57bfda52.js → messagebundle_sv-44a9e5d4.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_th-184c45a0.js → messagebundle_th-6cbca7a8.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_tr-d5781fbb.js → messagebundle_tr-00ce0f94.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_uk-e49bb47f.js → messagebundle_uk-bf2de1c7.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_vi-ce27847a.js → messagebundle_vi-a0de6aa8.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_zh_CN-bdbfb1bd.js → messagebundle_zh_CN-7cbf9197.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_zh_TW-ca1de535.js → messagebundle_zh_TW-53705d5b.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-0af46f05.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-4d5954e7.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-58c993f1.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-5cd315e5.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-6cdfb99e.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-c4cbd21b.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-cc68d055.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-d4d2e1ea.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-ec070c87.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-09f8e92d.js +0 -9
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-19666884.js +0 -9
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-8e7c6ad9.js +0 -9
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-cb713657.js +0 -9
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-dd8f2f47.js +0 -9
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-e3a31f8e.js +0 -9
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-e44b2b84.js +0 -9
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -57,7 +57,7 @@ sap.ui.define([
|
|
|
57
57
|
* </ul>
|
|
58
58
|
*
|
|
59
59
|
* @author SAP SE
|
|
60
|
-
* @version 1.
|
|
60
|
+
* @version 1.98.0
|
|
61
61
|
*
|
|
62
62
|
* @constructor
|
|
63
63
|
* @public
|
|
@@ -194,6 +194,34 @@ sap.ui.define([
|
|
|
194
194
|
}
|
|
195
195
|
},
|
|
196
196
|
|
|
197
|
+
/**
|
|
198
|
+
* Fired when the mouse cursor leaves the tree item borders.
|
|
199
|
+
*/
|
|
200
|
+
itemMouseout: {
|
|
201
|
+
parameters: {
|
|
202
|
+
/**
|
|
203
|
+
* the hovered item.
|
|
204
|
+
*/
|
|
205
|
+
item: {
|
|
206
|
+
type: "HTMLElement"
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Fired when the mouse cursor enters the tree item borders.
|
|
213
|
+
*/
|
|
214
|
+
itemMouseover: {
|
|
215
|
+
parameters: {
|
|
216
|
+
/**
|
|
217
|
+
* the hovered item.
|
|
218
|
+
*/
|
|
219
|
+
item: {
|
|
220
|
+
type: "HTMLElement"
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
|
|
197
225
|
/**
|
|
198
226
|
* Fired when a tree item is expanded or collapsed. <i>Note:</i> You can call <code>preventDefault()</code> on the event object to suppress the event, if needed. This may be handy for example if you want to dynamically load tree items upon the user expanding a node. Even if you prevented the event's default behavior, you can always manually call <code>toggle()</code> on a tree item.
|
|
199
227
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* <h3>Usage</h3> <code>sap.ui.webc.main.TreeItem</code> is an abstract element, representing a node in a <code>sap.ui.webc.main.Tree</code>. The tree itself is rendered as a list, and each <code>sap.ui.webc.main.TreeItem</code> is represented by a list item(<code>sap.ui.webc.main.TreeListItem</code>) in that list. Therefore, you should only use <code>sap.ui.webc.main.TreeItem</code> directly in your apps. The <code>sap.ui.webc.main.TreeListItem</code> list item is internal for the list, and not intended for public use.
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.98.0
|
|
33
33
|
*
|
|
34
34
|
* @constructor
|
|
35
35
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -9,16 +9,17 @@
|
|
|
9
9
|
*/
|
|
10
10
|
sap.ui.define([
|
|
11
11
|
"sap/ui/webc/common/library",
|
|
12
|
+
"sap/ui/webc/common/thirdparty/base/CSP",
|
|
12
13
|
"./thirdparty/Assets"
|
|
13
14
|
], // library dependency
|
|
14
|
-
function() {
|
|
15
|
+
function(commonLibrary, CSP) {
|
|
15
16
|
|
|
16
17
|
"use strict";
|
|
17
18
|
|
|
18
19
|
// delegate further initialization of this library to the Core
|
|
19
20
|
sap.ui.getCore().initLibrary({
|
|
20
21
|
name: "sap.ui.webc.main",
|
|
21
|
-
version: "1.
|
|
22
|
+
version: "1.98.0",
|
|
22
23
|
dependencies: ["sap.ui.core", "sap.ui.webc.common"],
|
|
23
24
|
noLibraryCSS: true,
|
|
24
25
|
designtime: "sap/ui/webc/main/designtime/library.designtime",
|
|
@@ -93,6 +94,7 @@ sap.ui.define([
|
|
|
93
94
|
"sap.ui.webc.main.CheckBox",
|
|
94
95
|
"sap.ui.webc.main.ColorPalette",
|
|
95
96
|
"sap.ui.webc.main.ColorPaletteItem",
|
|
97
|
+
"sap.ui.webc.main.ColorPalettePopover",
|
|
96
98
|
"sap.ui.webc.main.ColorPicker",
|
|
97
99
|
"sap.ui.webc.main.ComboBox",
|
|
98
100
|
"sap.ui.webc.main.ComboBoxGroupItem",
|
|
@@ -157,7 +159,7 @@ sap.ui.define([
|
|
|
157
159
|
* @namespace
|
|
158
160
|
* @alias sap.ui.webc.main
|
|
159
161
|
* @author SAP SE
|
|
160
|
-
* @version 1.
|
|
162
|
+
* @version 1.98.0
|
|
161
163
|
* @public
|
|
162
164
|
* @since 1.92.0
|
|
163
165
|
* @experimental Since 1.92.0 This API is experimental and might change significantly.
|
|
@@ -182,8 +184,8 @@ sap.ui.define([
|
|
|
182
184
|
* @name sap.ui.webc.main.IBreadcrumbsItem
|
|
183
185
|
* @interface
|
|
184
186
|
* @public
|
|
185
|
-
* @since 1.
|
|
186
|
-
* @experimental Since 1.
|
|
187
|
+
* @since 1.95.0
|
|
188
|
+
* @experimental Since 1.95.0 This API is experimental and might change significantly.
|
|
187
189
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
188
190
|
*/
|
|
189
191
|
|
|
@@ -292,8 +294,8 @@ sap.ui.define([
|
|
|
292
294
|
* @name sap.ui.webc.main.ISegmentedButtonItem
|
|
293
295
|
* @interface
|
|
294
296
|
* @public
|
|
295
|
-
* @since 1.
|
|
296
|
-
* @experimental Since 1.
|
|
297
|
+
* @since 1.95.0
|
|
298
|
+
* @experimental Since 1.95.0 This API is experimental and might change significantly.
|
|
297
299
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
298
300
|
*/
|
|
299
301
|
|
|
@@ -551,8 +553,8 @@ sap.ui.define([
|
|
|
551
553
|
*
|
|
552
554
|
* @enum {string}
|
|
553
555
|
* @public
|
|
554
|
-
* @since 1.
|
|
555
|
-
* @experimental Since 1.
|
|
556
|
+
* @since 1.95.0
|
|
557
|
+
* @experimental Since 1.95.0 This API is experimental and might change significantly.
|
|
556
558
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
557
559
|
*/
|
|
558
560
|
thisLib.BreadcrumbsDesign = {
|
|
@@ -576,8 +578,8 @@ sap.ui.define([
|
|
|
576
578
|
*
|
|
577
579
|
* @enum {string}
|
|
578
580
|
* @public
|
|
579
|
-
* @since 1.
|
|
580
|
-
* @experimental Since 1.
|
|
581
|
+
* @since 1.95.0
|
|
582
|
+
* @experimental Since 1.95.0 This API is experimental and might change significantly.
|
|
581
583
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
582
584
|
*/
|
|
583
585
|
thisLib.BreadcrumbsSeparatorStyle = {
|
|
@@ -1513,6 +1515,8 @@ sap.ui.define([
|
|
|
1513
1515
|
Normal: "Normal"
|
|
1514
1516
|
};
|
|
1515
1517
|
|
|
1518
|
+
CSP.setPackageCSSRoot("@ui5/webcomponents", sap.ui.require.toUrl("sap/ui/webc/main/thirdparty/css/"));
|
|
1519
|
+
|
|
1516
1520
|
return thisLib;
|
|
1517
1521
|
|
|
1518
1522
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['sap/ui/webc/common/thirdparty/localization/Assets', 'sap/ui/webc/common/thirdparty/
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/localization/Assets', 'sap/ui/webc/common/thirdparty/theming/Assets', 'sap/ui/webc/common/thirdparty/icons/Assets', './generated/json-imports/Themes', './generated/json-imports/i18n'], function (Assets, Assets$1, Assets$2, Themes, i18n) { 'use strict';
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
@@ -67,10 +67,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
67
67
|
},
|
|
68
68
|
};
|
|
69
69
|
class Avatar extends UI5Element__default {
|
|
70
|
-
constructor() {
|
|
71
|
-
super();
|
|
72
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
73
|
-
}
|
|
74
70
|
static get metadata() {
|
|
75
71
|
return metadata;
|
|
76
72
|
}
|
|
@@ -87,7 +83,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
87
83
|
return [Icon];
|
|
88
84
|
}
|
|
89
85
|
static async onDefine() {
|
|
90
|
-
await i18nBundle.
|
|
86
|
+
Avatar.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
91
87
|
}
|
|
92
88
|
get tabindex() {
|
|
93
89
|
return this._tabIndex || (this.interactive ? "0" : "-1");
|
|
@@ -115,17 +111,18 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
115
111
|
if (this.accessibleName) {
|
|
116
112
|
return this.accessibleName;
|
|
117
113
|
}
|
|
118
|
-
return
|
|
114
|
+
return Avatar.i18nBundle.getText(i18nDefaults.AVATAR_TOOLTIP) || undefined;
|
|
119
115
|
}
|
|
120
116
|
get hasImage() {
|
|
121
117
|
this._hasImage = !!this.image.length;
|
|
122
118
|
return this._hasImage;
|
|
123
119
|
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
120
|
+
onBeforeRendering() {
|
|
121
|
+
this._onclick = this.interactive ? this._onClickHandler.bind(this) : undefined;
|
|
122
|
+
}
|
|
123
|
+
_onClickHandler(event) {
|
|
124
|
+
event.stopPropagation();
|
|
125
|
+
this.fireEvent("click");
|
|
129
126
|
}
|
|
130
127
|
_onkeydown(event) {
|
|
131
128
|
if (!this.interactive) {
|
|
@@ -77,7 +77,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
77
77
|
this._colorIndex = 0;
|
|
78
78
|
this._hiddenItems = 0;
|
|
79
79
|
this._onResizeHandler = this._onResize.bind(this);
|
|
80
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
81
80
|
}
|
|
82
81
|
static get metadata() {
|
|
83
82
|
return metadata;
|
|
@@ -97,7 +96,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
97
96
|
];
|
|
98
97
|
}
|
|
99
98
|
static async onDefine() {
|
|
100
|
-
await i18nBundle.
|
|
99
|
+
AvatarGroup.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
101
100
|
}
|
|
102
101
|
get hiddenItems() {
|
|
103
102
|
return this.items.slice(this._hiddenStartIndex);
|
|
@@ -111,17 +110,17 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
111
110
|
get _ariaLabelText() {
|
|
112
111
|
const hiddenItemsCount = this.hiddenItems.length;
|
|
113
112
|
const typeLabelKey = this._isGroup ? i18nDefaults.AVATAR_GROUP_ARIA_LABEL_GROUP : i18nDefaults.AVATAR_GROUP_ARIA_LABEL_INDIVIDUAL;
|
|
114
|
-
let text =
|
|
115
|
-
text += ` ${
|
|
113
|
+
let text = AvatarGroup.i18nBundle.getText(typeLabelKey);
|
|
114
|
+
text += ` ${AvatarGroup.i18nBundle.getText(i18nDefaults.AVATAR_GROUP_DISPLAYED_HIDDEN_LABEL, this._itemsCount - hiddenItemsCount, hiddenItemsCount)}`;
|
|
116
115
|
if (this._isGroup) {
|
|
117
|
-
text += ` ${
|
|
116
|
+
text += ` ${AvatarGroup.i18nBundle.getText(i18nDefaults.AVATAR_GROUP_SHOW_COMPLETE_LIST_LABEL)}`;
|
|
118
117
|
} else {
|
|
119
|
-
text += ` ${
|
|
118
|
+
text += ` ${AvatarGroup.i18nBundle.getText(i18nDefaults.AVATAR_GROUP_MOVE)}`;
|
|
120
119
|
}
|
|
121
120
|
return text;
|
|
122
121
|
}
|
|
123
122
|
get _overflowButtonAriaLabelText() {
|
|
124
|
-
return this._isGroup ? undefined :
|
|
123
|
+
return this._isGroup ? undefined : AvatarGroup.i18nBundle.getText(i18nDefaults.AVATAR_GROUP_SHOW_COMPLETE_LIST_LABEL);
|
|
125
124
|
}
|
|
126
125
|
get _containerAriaHasPopup() {
|
|
127
126
|
return this._isGroup ? this._getAriaHasPopup() : undefined;
|
|
@@ -19,6 +19,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
19
19
|
_iconOnly: {
|
|
20
20
|
type: Boolean,
|
|
21
21
|
},
|
|
22
|
+
active: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
},
|
|
22
25
|
},
|
|
23
26
|
managedSlots: true,
|
|
24
27
|
slots: {
|
|
@@ -31,10 +34,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
31
34
|
},
|
|
32
35
|
};
|
|
33
36
|
class Badge extends UI5Element__default {
|
|
34
|
-
constructor() {
|
|
35
|
-
super();
|
|
36
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
37
|
-
}
|
|
38
37
|
static get metadata() {
|
|
39
38
|
return metadata;
|
|
40
39
|
}
|
|
@@ -48,12 +47,18 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
48
47
|
return Badge_css;
|
|
49
48
|
}
|
|
50
49
|
static async onDefine() {
|
|
51
|
-
await i18nBundle.
|
|
50
|
+
Badge.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
52
51
|
}
|
|
53
52
|
onBeforeRendering() {
|
|
54
53
|
this._hasIcon = this.hasIcon;
|
|
55
54
|
this._iconOnly = this.iconOnly;
|
|
56
55
|
}
|
|
56
|
+
_onmousedown() {
|
|
57
|
+
this.active = true;
|
|
58
|
+
}
|
|
59
|
+
_onmouseup() {
|
|
60
|
+
this.active = false;
|
|
61
|
+
}
|
|
57
62
|
get hasText() {
|
|
58
63
|
return !!this.textContent.trim().length;
|
|
59
64
|
}
|
|
@@ -64,7 +69,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
64
69
|
return this.hasIcon && !this.hasText;
|
|
65
70
|
}
|
|
66
71
|
get badgeDescription() {
|
|
67
|
-
return
|
|
72
|
+
return Badge.i18nBundle.getText(i18nDefaults.BADGE_DESCRIPTION);
|
|
68
73
|
}
|
|
69
74
|
}
|
|
70
75
|
Badge.define();
|
|
@@ -64,7 +64,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation', 'sa
|
|
|
64
64
|
}
|
|
65
65
|
constructor() {
|
|
66
66
|
super();
|
|
67
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
68
67
|
this._initItemNavigation();
|
|
69
68
|
this._onResizeHandler = this._updateOverflow.bind(this);
|
|
70
69
|
this._breadcrumbItemWidths = new WeakMap();
|
|
@@ -91,6 +90,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation', 'sa
|
|
|
91
90
|
}
|
|
92
91
|
}
|
|
93
92
|
}
|
|
93
|
+
onBeforeRendering() {
|
|
94
|
+
this._preprocessItems();
|
|
95
|
+
}
|
|
94
96
|
onAfterRendering() {
|
|
95
97
|
this._cacheWidths();
|
|
96
98
|
this._updateOverflow();
|
|
@@ -243,6 +245,11 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation', 'sa
|
|
|
243
245
|
_hasVisibleContent(item) {
|
|
244
246
|
return item.innerText || Array.from(item.children).some(child => !child.hidden);
|
|
245
247
|
}
|
|
248
|
+
_preprocessItems() {
|
|
249
|
+
this.items.forEach(item => {
|
|
250
|
+
item._getRealDomRef = () => this.getDomRef().querySelector(`[data-ui5-stable*=${item.stableDomRef}]`);
|
|
251
|
+
});
|
|
252
|
+
}
|
|
246
253
|
getCurrentLocationLabelWrapper() {
|
|
247
254
|
return this.shadowRoot.querySelector(".ui5-breadcrumbs-current-location > span");
|
|
248
255
|
}
|
|
@@ -305,13 +312,13 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation', 'sa
|
|
|
305
312
|
return !!this.responsivePopover && this.responsivePopover.opened;
|
|
306
313
|
}
|
|
307
314
|
get _accessibleNameText() {
|
|
308
|
-
return
|
|
315
|
+
return Breadcrumbs.i18nBundle.getText(i18nDefaults.BREADCRUMBS_ARIA_LABEL);
|
|
309
316
|
}
|
|
310
317
|
get _dropdownArrowAccessibleNameText() {
|
|
311
|
-
return
|
|
318
|
+
return Breadcrumbs.i18nBundle.getText(i18nDefaults.BREADCRUMBS_OVERFLOW_ARIA_LABEL);
|
|
312
319
|
}
|
|
313
320
|
get _cancelButtonText() {
|
|
314
|
-
return
|
|
321
|
+
return Breadcrumbs.i18nBundle.getText(i18nDefaults.BREADCRUMBS_CANCEL_BUTTON);
|
|
315
322
|
}
|
|
316
323
|
static get dependencies() {
|
|
317
324
|
return [
|
|
@@ -324,6 +331,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation', 'sa
|
|
|
324
331
|
Icon,
|
|
325
332
|
];
|
|
326
333
|
}
|
|
334
|
+
static async onDefine() {
|
|
335
|
+
Breadcrumbs.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
336
|
+
}
|
|
327
337
|
}
|
|
328
338
|
Breadcrumbs.define();
|
|
329
339
|
|
|
@@ -18,9 +18,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element'], function (UI5El
|
|
|
18
18
|
accessibleName: {
|
|
19
19
|
type: String,
|
|
20
20
|
},
|
|
21
|
-
stableDomRef: {
|
|
22
|
-
type: String,
|
|
23
|
-
},
|
|
24
21
|
},
|
|
25
22
|
slots: {
|
|
26
23
|
"default": {
|
|
@@ -33,6 +30,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element'], function (UI5El
|
|
|
33
30
|
static get metadata() {
|
|
34
31
|
return metadata;
|
|
35
32
|
}
|
|
33
|
+
get stableDomRef() {
|
|
34
|
+
return `${this._id}-stable-dom-ref`;
|
|
35
|
+
}
|
|
36
36
|
}
|
|
37
37
|
BreadcrumbsItem.define();
|
|
38
38
|
|
|
@@ -39,7 +39,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
39
39
|
class BusyIndicator extends UI5Element__default {
|
|
40
40
|
constructor() {
|
|
41
41
|
super();
|
|
42
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
43
42
|
this._keydownHandler = this._handleKeydown.bind(this);
|
|
44
43
|
this._preventEventHandler = this._preventEvent.bind(this);
|
|
45
44
|
}
|
|
@@ -75,10 +74,10 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
75
74
|
return [Label];
|
|
76
75
|
}
|
|
77
76
|
static async onDefine() {
|
|
78
|
-
await i18nBundle.
|
|
77
|
+
BusyIndicator.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
79
78
|
}
|
|
80
79
|
get ariaTitle() {
|
|
81
|
-
return
|
|
80
|
+
return BusyIndicator.i18nBundle.getText(i18nDefaults.BUSY_INDICATOR_TITLE);
|
|
82
81
|
}
|
|
83
82
|
get labelId() {
|
|
84
83
|
return this.text ? `${this._id}-label` : undefined;
|
|
@@ -105,10 +105,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
105
105
|
document.addEventListener("mouseup", this._deactivate);
|
|
106
106
|
isGlobalHandlerAttached = true;
|
|
107
107
|
}
|
|
108
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
109
108
|
}
|
|
110
109
|
onEnterDOM() {
|
|
111
|
-
this._isTouch = Device.isPhone() || Device.isTablet();
|
|
110
|
+
this._isTouch = (Device.isPhone() || Device.isTablet()) && !Device.isCombi();
|
|
112
111
|
}
|
|
113
112
|
onBeforeRendering() {
|
|
114
113
|
const FormSupport = FeaturesRegistry.getFeature("FormSupport");
|
|
@@ -127,6 +126,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
127
126
|
if (FormSupport) {
|
|
128
127
|
FormSupport.triggerFormSubmit(this);
|
|
129
128
|
}
|
|
129
|
+
if (Device.isSafari()) {
|
|
130
|
+
this.getDomRef().focus();
|
|
131
|
+
}
|
|
130
132
|
}
|
|
131
133
|
_onmousedown(event) {
|
|
132
134
|
if (this.nonInteractive || this._isTouch) {
|
|
@@ -202,7 +204,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
202
204
|
};
|
|
203
205
|
}
|
|
204
206
|
get buttonTypeText() {
|
|
205
|
-
return
|
|
207
|
+
return Button.i18nBundle.getText(Button.typeTextMappings()[this.design]);
|
|
206
208
|
}
|
|
207
209
|
get tabIndexValue() {
|
|
208
210
|
const tabindex = this.getAttribute("tabindex");
|
|
@@ -215,7 +217,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
215
217
|
return this.iconOnly && !this.title;
|
|
216
218
|
}
|
|
217
219
|
static async onDefine() {
|
|
218
|
-
await i18nBundle.
|
|
220
|
+
Button.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
219
221
|
}
|
|
220
222
|
}
|
|
221
223
|
Button.define();
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
sap.ui.define(['sap/ui/webc/common/thirdparty/localization/dates/CalendarDate', 'sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/thirdparty/base/Keys', './CalendarDate', './CalendarPart', './CalendarHeader', './DayPicker', './MonthPicker', './YearPicker', './types/CalendarSelectionMode', 'sap/ui/webc/common/thirdparty/localization/features/calendar/Gregorian', './generated/templates/CalendarTemplate.lit', './generated/themes/Calendar.css'], function (CalendarDate, Render, Keys, CalendarDate$1, CalendarPart, CalendarHeader, DayPicker, MonthPicker, YearPicker, CalendarSelectionMode, Gregorian, CalendarTemplate_lit, Calendar_css) { 'use strict';
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/localization/dates/CalendarDate', 'sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/localization/getCachedLocaleDataInstance', 'sap/ui/webc/common/thirdparty/base/locale/getLocale', 'sap/ui/webc/common/thirdparty/localization/DateFormat', './CalendarDate', './CalendarPart', './CalendarHeader', './DayPicker', './MonthPicker', './YearPicker', './types/CalendarSelectionMode', 'sap/ui/webc/common/thirdparty/localization/features/calendar/Gregorian', './generated/templates/CalendarTemplate.lit', './generated/themes/Calendar.css'], function (CalendarDate, Render, Keys, getCachedLocaleDataInstance, getLocale, DateFormat, CalendarDate$1, CalendarPart, CalendarHeader, DayPicker, MonthPicker, YearPicker, CalendarSelectionMode, Gregorian, CalendarTemplate_lit, Calendar_css) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
4
|
|
|
5
5
|
var CalendarDate__default = /*#__PURE__*/_interopDefaultLegacy(CalendarDate);
|
|
6
|
+
var getCachedLocaleDataInstance__default = /*#__PURE__*/_interopDefaultLegacy(getCachedLocaleDataInstance);
|
|
7
|
+
var getLocale__default = /*#__PURE__*/_interopDefaultLegacy(getLocale);
|
|
8
|
+
var DateFormat__default = /*#__PURE__*/_interopDefaultLegacy(DateFormat);
|
|
6
9
|
|
|
7
10
|
const metadata = {
|
|
8
11
|
tag: "ui5-calendar",
|
|
@@ -24,6 +27,12 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/localization/dates/CalendarDate',
|
|
|
24
27
|
_nextButtonDisabled: {
|
|
25
28
|
type: Boolean,
|
|
26
29
|
},
|
|
30
|
+
_headerMonthButtonText: {
|
|
31
|
+
type: String,
|
|
32
|
+
},
|
|
33
|
+
_headerYearButtonText: {
|
|
34
|
+
type: String,
|
|
35
|
+
},
|
|
27
36
|
},
|
|
28
37
|
managedSlots: true,
|
|
29
38
|
slots: {
|
|
@@ -76,6 +85,18 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/localization/dates/CalendarDate',
|
|
|
76
85
|
await Render.renderFinished();
|
|
77
86
|
this._previousButtonDisabled = !this._currentPickerDOM._hasPreviousPage();
|
|
78
87
|
this._nextButtonDisabled = !this._currentPickerDOM._hasNextPage();
|
|
88
|
+
const yearFormat = DateFormat__default.getDateInstance({ format: "y", calendarType: this.primaryCalendarType });
|
|
89
|
+
const localeData = getCachedLocaleDataInstance__default(getLocale__default());
|
|
90
|
+
this._headerMonthButtonText = localeData.getMonths("wide", this.primaryCalendarType)[this._calendarDate.getMonth()];
|
|
91
|
+
if (this._currentPicker === "year") {
|
|
92
|
+
const rangeStart = new CalendarDate__default(this._calendarDate, this._primaryCalendarType);
|
|
93
|
+
const rangeEnd = new CalendarDate__default(this._calendarDate, this._primaryCalendarType);
|
|
94
|
+
rangeStart.setYear(this._currentPickerDOM._firstYear);
|
|
95
|
+
rangeEnd.setYear(this._currentPickerDOM._lastYear);
|
|
96
|
+
this._headerYearButtonText = `${yearFormat.format(rangeStart.toLocalJSDate(), true)} - ${yearFormat.format(rangeEnd.toLocalJSDate(), true)}`;
|
|
97
|
+
} else {
|
|
98
|
+
this._headerYearButtonText = String(yearFormat.format(this._localDate, true));
|
|
99
|
+
}
|
|
79
100
|
}
|
|
80
101
|
onHeaderShowMonthPress(event) {
|
|
81
102
|
this._currentPickerDOM._autoFocus = false;
|
|
@@ -96,8 +117,58 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/localization/dates/CalendarDate',
|
|
|
96
117
|
onHeaderNextPress() {
|
|
97
118
|
this._currentPickerDOM._showNextPage();
|
|
98
119
|
}
|
|
120
|
+
get secondaryCalendarTypeButtonText() {
|
|
121
|
+
if (!this.secondaryCalendarType) {
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
const localDate = new Date(this._timestamp * 1000);
|
|
125
|
+
const secondYearFormat = DateFormat__default.getDateInstance({ format: "y", calendarType: this.secondaryCalendarType });
|
|
126
|
+
const secondMonthInfo = this._getDisplayedSecondaryMonthText();
|
|
127
|
+
const secondYearText = secondYearFormat.format(localDate, true);
|
|
128
|
+
return {
|
|
129
|
+
yearButtonText: secondYearText,
|
|
130
|
+
monthButtonText: secondMonthInfo.text,
|
|
131
|
+
monthButtonInfo: secondMonthInfo.info,
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
_getDisplayedSecondaryMonthText() {
|
|
135
|
+
const month = this._getDisplayedSecondaryMonths();
|
|
136
|
+
const localeData = getCachedLocaleDataInstance__default(getLocale__default());
|
|
137
|
+
const pattern = localeData.getIntervalPattern();
|
|
138
|
+
const secondaryMonthsNames = getCachedLocaleDataInstance__default(getLocale__default()).getMonthsStandAlone("abbreviated", this.secondaryCalendarType);
|
|
139
|
+
const secondaryMonthsNamesWide = getCachedLocaleDataInstance__default(getLocale__default()).getMonthsStandAlone("wide", this.secondaryCalendarType);
|
|
140
|
+
if (month.startMonth === month.endMonth) {
|
|
141
|
+
return {
|
|
142
|
+
text: localeData.getMonths("abbreviated", this.secondaryCalendarType)[month.startMonth],
|
|
143
|
+
textInfo: localeData.getMonths("wide", this.secondaryCalendarType)[month.startMonth],
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
return {
|
|
147
|
+
text: pattern.replace(/\{0\}/, secondaryMonthsNames[month.startMonth]).replace(/\{1\}/, secondaryMonthsNames[month.endMonth]),
|
|
148
|
+
textInfo: pattern.replace(/\{0\}/, secondaryMonthsNamesWide[month.startMonth]).replace(/\{1\}/, secondaryMonthsNamesWide[month.endMonth]),
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
_getDisplayedSecondaryMonths() {
|
|
152
|
+
const localDate = new Date(this._timestamp * 1000);
|
|
153
|
+
let firstDate = CalendarDate__default.fromLocalJSDate(localDate, this._primaryCalendarType);
|
|
154
|
+
firstDate.setDate(1);
|
|
155
|
+
firstDate = new CalendarDate__default(firstDate, this.secondaryCalendarType);
|
|
156
|
+
const startMonth = firstDate.getMonth();
|
|
157
|
+
let lastDate = CalendarDate__default.fromLocalJSDate(localDate, this._primaryCalendarType);
|
|
158
|
+
lastDate.setDate(this._getDaysInMonth(lastDate));
|
|
159
|
+
lastDate = new CalendarDate__default(lastDate, this.secondaryCalendarType);
|
|
160
|
+
const endMonth = lastDate.getMonth();
|
|
161
|
+
return { startMonth, endMonth };
|
|
162
|
+
}
|
|
163
|
+
_getDaysInMonth(date) {
|
|
164
|
+
const tempCalendarDate = new CalendarDate__default(date);
|
|
165
|
+
tempCalendarDate.setDate(1);
|
|
166
|
+
tempCalendarDate.setMonth(tempCalendarDate.getMonth() + 1);
|
|
167
|
+
tempCalendarDate.setDate(0);
|
|
168
|
+
return tempCalendarDate.getDate();
|
|
169
|
+
}
|
|
99
170
|
get _isHeaderMonthButtonHidden() {
|
|
100
|
-
return this._currentPicker === "month";
|
|
171
|
+
return this._currentPicker === "month" || this._currentPicker === "year";
|
|
101
172
|
}
|
|
102
173
|
get _isDayPickerHidden() {
|
|
103
174
|
return this._currentPicker !== "day";
|