@openui5/sap.ui.webc.main 1.96.2 → 1.97.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 +1 -1
- package/THIRDPARTY.txt +2 -1
- package/package.json +3 -3
- package/src/sap/ui/webc/main/.library +1 -1
- package/src/sap/ui/webc/main/Avatar.js +2 -2
- package/src/sap/ui/webc/main/AvatarGroup.js +1 -1
- package/src/sap/ui/webc/main/Badge.js +1 -1
- 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 +1 -1
- package/src/sap/ui/webc/main/Button.js +3 -3
- package/src/sap/ui/webc/main/Calendar.js +4 -4
- package/src/sap/ui/webc/main/CalendarDate.js +1 -1
- package/src/sap/ui/webc/main/Card.js +17 -1
- package/src/sap/ui/webc/main/CardHeader.js +4 -4
- package/src/sap/ui/webc/main/Carousel.js +1 -1
- package/src/sap/ui/webc/main/CheckBox.js +1 -1
- package/src/sap/ui/webc/main/ColorPalette.js +4 -4
- package/src/sap/ui/webc/main/ColorPaletteItem.js +1 -1
- package/src/sap/ui/webc/main/ColorPalettePopover.js +112 -0
- package/src/sap/ui/webc/main/ColorPicker.js +3 -3
- package/src/sap/ui/webc/main/ComboBox.js +4 -4
- package/src/sap/ui/webc/main/ComboBoxGroupItem.js +4 -4
- package/src/sap/ui/webc/main/ComboBoxItem.js +1 -1
- package/src/sap/ui/webc/main/CustomListItem.js +1 -1
- package/src/sap/ui/webc/main/DatePicker.js +5 -5
- package/src/sap/ui/webc/main/DateRangePicker.js +3 -3
- package/src/sap/ui/webc/main/DateTimePicker.js +4 -6
- package/src/sap/ui/webc/main/Dialog.js +1 -1
- package/src/sap/ui/webc/main/FileUploader.js +2 -2
- package/src/sap/ui/webc/main/GroupHeaderListItem.js +1 -1
- package/src/sap/ui/webc/main/Icon.js +1 -1
- package/src/sap/ui/webc/main/Input.js +6 -27
- package/src/sap/ui/webc/main/Label.js +2 -2
- package/src/sap/ui/webc/main/Link.js +2 -2
- package/src/sap/ui/webc/main/List.js +5 -6
- package/src/sap/ui/webc/main/MessageStrip.js +2 -2
- package/src/sap/ui/webc/main/MultiComboBox.js +4 -6
- package/src/sap/ui/webc/main/MultiComboBoxItem.js +1 -1
- package/src/sap/ui/webc/main/MultiInput.js +6 -27
- package/src/sap/ui/webc/main/Option.js +1 -1
- package/src/sap/ui/webc/main/Panel.js +5 -4
- package/src/sap/ui/webc/main/Popover.js +1 -1
- package/src/sap/ui/webc/main/ProgressIndicator.js +14 -1
- package/src/sap/ui/webc/main/RadioButton.js +1 -1
- package/src/sap/ui/webc/main/RangeSlider.js +15 -17
- package/src/sap/ui/webc/main/RatingIndicator.js +4 -4
- package/src/sap/ui/webc/main/ResponsivePopover.js +1 -1
- package/src/sap/ui/webc/main/SegmentedButton.js +1 -1
- package/src/sap/ui/webc/main/SegmentedButtonItem.js +5 -5
- package/src/sap/ui/webc/main/Select.js +1 -1
- package/src/sap/ui/webc/main/Slider.js +20 -20
- package/src/sap/ui/webc/main/StandardListItem.js +1 -1
- package/src/sap/ui/webc/main/StepInput.js +1 -1
- package/src/sap/ui/webc/main/SuggestionGroupItem.js +4 -4
- package/src/sap/ui/webc/main/SuggestionItem.js +2 -2
- package/src/sap/ui/webc/main/Switch.js +5 -5
- package/src/sap/ui/webc/main/Tab.js +1 -1
- package/src/sap/ui/webc/main/TabContainer.js +1 -1
- package/src/sap/ui/webc/main/TabSeparator.js +1 -1
- package/src/sap/ui/webc/main/Table.js +1 -1
- package/src/sap/ui/webc/main/TableCell.js +1 -1
- package/src/sap/ui/webc/main/TableColumn.js +1 -1
- package/src/sap/ui/webc/main/TableGroupRow.js +5 -5
- package/src/sap/ui/webc/main/TableRow.js +5 -5
- package/src/sap/ui/webc/main/TextArea.js +5 -5
- package/src/sap/ui/webc/main/TimePicker.js +3 -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 +3 -3
- package/src/sap/ui/webc/main/Token.js +2 -2
- package/src/sap/ui/webc/main/Tree.js +29 -1
- package/src/sap/ui/webc/main/TreeItem.js +1 -1
- 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 +6 -4
- package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +2 -3
- package/src/sap/ui/webc/main/thirdparty/Button.js +3 -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 +31 -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 +146 -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 +9 -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 +14 -9
- package/src/sap/ui/webc/main/thirdparty/GroupHeaderListItem.js +5 -8
- package/src/sap/ui/webc/main/thirdparty/Icon.js +14 -11
- package/src/sap/ui/webc/main/thirdparty/Input.js +68 -39
- package/src/sap/ui/webc/main/thirdparty/Link.js +2 -3
- package/src/sap/ui/webc/main/thirdparty/List.js +41 -12
- package/src/sap/ui/webc/main/thirdparty/ListItem.js +13 -8
- package/src/sap/ui/webc/main/thirdparty/MessageStrip.js +2 -3
- package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +189 -59
- package/src/sap/ui/webc/main/thirdparty/MultiInput.js +1 -1
- 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 +6 -7
- 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 +53 -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 +3 -4
- package/src/sap/ui/webc/main/thirdparty/Switch.js +5 -6
- package/src/sap/ui/webc/main/thirdparty/Tab.js +12 -2
- package/src/sap/ui/webc/main/thirdparty/TabContainer.js +12 -5
- package/src/sap/ui/webc/main/thirdparty/Table.js +8 -6
- package/src/sap/ui/webc/main/thirdparty/TableGroupRow.js +2 -3
- package/src/sap/ui/webc/main/thirdparty/TableRow.js +4 -8
- package/src/sap/ui/webc/main/thirdparty/TextArea.js +11 -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/Token.js +2 -6
- 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/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 +20 -15
- 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 +2 -2
- 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/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 +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +1 -1
- 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/MultiComboBoxPopoverTemplate.lit.js +12 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +1 -1
- 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 +2 -2
- 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/SuggestionListItemTemplate.lit.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.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/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/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-0f28e359.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-1ee56435.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-4d4cd873.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-5bdedee7.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-60d672db.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-793a420b.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-7c549d8f.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-7e5617d6.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-e75a0bfb.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
|
@@ -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();
|
|
@@ -305,13 +304,13 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation', 'sa
|
|
|
305
304
|
return !!this.responsivePopover && this.responsivePopover.opened;
|
|
306
305
|
}
|
|
307
306
|
get _accessibleNameText() {
|
|
308
|
-
return
|
|
307
|
+
return Breadcrumbs.i18nBundle.getText(i18nDefaults.BREADCRUMBS_ARIA_LABEL);
|
|
309
308
|
}
|
|
310
309
|
get _dropdownArrowAccessibleNameText() {
|
|
311
|
-
return
|
|
310
|
+
return Breadcrumbs.i18nBundle.getText(i18nDefaults.BREADCRUMBS_OVERFLOW_ARIA_LABEL);
|
|
312
311
|
}
|
|
313
312
|
get _cancelButtonText() {
|
|
314
|
-
return
|
|
313
|
+
return Breadcrumbs.i18nBundle.getText(i18nDefaults.BREADCRUMBS_CANCEL_BUTTON);
|
|
315
314
|
}
|
|
316
315
|
static get dependencies() {
|
|
317
316
|
return [
|
|
@@ -324,6 +323,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation', 'sa
|
|
|
324
323
|
Icon,
|
|
325
324
|
];
|
|
326
325
|
}
|
|
326
|
+
static async onDefine() {
|
|
327
|
+
Breadcrumbs.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
328
|
+
}
|
|
327
329
|
}
|
|
328
330
|
Breadcrumbs.define();
|
|
329
331
|
|
|
@@ -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");
|
|
@@ -202,7 +201,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
202
201
|
};
|
|
203
202
|
}
|
|
204
203
|
get buttonTypeText() {
|
|
205
|
-
return
|
|
204
|
+
return Button.i18nBundle.getText(Button.typeTextMappings()[this.design]);
|
|
206
205
|
}
|
|
207
206
|
get tabIndexValue() {
|
|
208
207
|
const tabindex = this.getAttribute("tabindex");
|
|
@@ -215,7 +214,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
215
214
|
return this.iconOnly && !this.title;
|
|
216
215
|
}
|
|
217
216
|
static async onDefine() {
|
|
218
|
-
await i18nBundle.
|
|
217
|
+
Button.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
219
218
|
}
|
|
220
219
|
}
|
|
221
220
|
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";
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
sap.ui.define(['sap/ui/webc/common/thirdparty/
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/common/thirdparty/base/types/CalendarType', 'sap/ui/webc/common/thirdparty/icons/slim-arrow-left', 'sap/ui/webc/common/thirdparty/icons/slim-arrow-right', './Icon', './generated/templates/CalendarHeaderTemplate.lit', './generated/i18n/i18n-defaults', './generated/themes/CalendarHeader.css'], function (UI5Element, litRender, Keys, i18nBundle, Integer, CalendarType, slimArrowLeft, slimArrowRight, Icon, CalendarHeaderTemplate_lit, i18nDefaults, CalendarHeader_css) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
4
|
|
|
5
|
-
var CalendarDate__default = /*#__PURE__*/_interopDefaultLegacy(CalendarDate);
|
|
6
|
-
var getLocale__default = /*#__PURE__*/_interopDefaultLegacy(getLocale);
|
|
7
|
-
var DateFormat__default = /*#__PURE__*/_interopDefaultLegacy(DateFormat);
|
|
8
|
-
var getCachedLocaleDataInstance__default = /*#__PURE__*/_interopDefaultLegacy(getCachedLocaleDataInstance);
|
|
9
5
|
var UI5Element__default = /*#__PURE__*/_interopDefaultLegacy(UI5Element);
|
|
10
6
|
var litRender__default = /*#__PURE__*/_interopDefaultLegacy(litRender);
|
|
11
7
|
var Integer__default = /*#__PURE__*/_interopDefaultLegacy(Integer);
|
|
@@ -24,6 +20,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/localization/dates/CalendarDate',
|
|
|
24
20
|
secondaryCalendarType: {
|
|
25
21
|
type: CalendarType__default,
|
|
26
22
|
},
|
|
23
|
+
buttonTextForSecondaryCalendarType: {
|
|
24
|
+
type: Object,
|
|
25
|
+
},
|
|
27
26
|
isNextButtonDisabled: {
|
|
28
27
|
type: Boolean,
|
|
29
28
|
},
|
|
@@ -33,6 +32,12 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/localization/dates/CalendarDate',
|
|
|
33
32
|
isMonthButtonHidden: {
|
|
34
33
|
type: Boolean,
|
|
35
34
|
},
|
|
35
|
+
_monthButtonText: {
|
|
36
|
+
type: String,
|
|
37
|
+
},
|
|
38
|
+
_yearButtonText: {
|
|
39
|
+
type: String,
|
|
40
|
+
},
|
|
36
41
|
isYearButtonHidden: {
|
|
37
42
|
type: Boolean,
|
|
38
43
|
},
|
|
@@ -61,27 +66,17 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/localization/dates/CalendarDate',
|
|
|
61
66
|
return [Icon];
|
|
62
67
|
}
|
|
63
68
|
static async onDefine() {
|
|
64
|
-
await i18nBundle.
|
|
69
|
+
CalendarHeader.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
65
70
|
}
|
|
66
71
|
constructor() {
|
|
67
72
|
super();
|
|
68
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
69
73
|
}
|
|
70
74
|
onBeforeRendering() {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
const localDate = new Date(this.timestamp * 1000);
|
|
74
|
-
const calendarDate = CalendarDate__default.fromTimestamp(localDate.getTime(), this.primaryCalendarType);
|
|
75
|
-
this._monthButtonText = localeData.getMonths("wide", this.primaryCalendarType)[calendarDate.getMonth()];
|
|
76
|
-
this._yearButtonText = yearFormat.format(localDate, true);
|
|
77
|
-
this._prevButtonText = this.i18nBundle.getText(i18nDefaults.CALENDAR_HEADER_PREVIOUS_BUTTON);
|
|
78
|
-
this._nextButtonText = this.i18nBundle.getText(i18nDefaults.CALENDAR_HEADER_NEXT_BUTTON);
|
|
75
|
+
this._prevButtonText = CalendarHeader.i18nBundle.getText(i18nDefaults.CALENDAR_HEADER_PREVIOUS_BUTTON);
|
|
76
|
+
this._nextButtonText = CalendarHeader.i18nBundle.getText(i18nDefaults.CALENDAR_HEADER_NEXT_BUTTON);
|
|
79
77
|
if (this.hasSecondaryCalendarType) {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
this._secondaryMonthInfo = this._getDisplayedSecondaryMonthText(secoundaryMonths);
|
|
83
|
-
this._secondMonthButtonText = this._secondaryMonthInfo.text;
|
|
84
|
-
this._secondYearButtonText = secondYearFormat.format(localDate, true);
|
|
78
|
+
this._secondMonthButtonText = this.buttonTextForSecondaryCalendarType.monthButtonText;
|
|
79
|
+
this._secondYearButtonText = this.buttonTextForSecondaryCalendarType.yearButtonText;
|
|
85
80
|
}
|
|
86
81
|
}
|
|
87
82
|
onPrevButtonClick(event) {
|
|
@@ -124,40 +119,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/localization/dates/CalendarDate',
|
|
|
124
119
|
this.fireEvent("show-year-press", event);
|
|
125
120
|
}
|
|
126
121
|
}
|
|
127
|
-
_getDisplayedSecondaryMonthText(month) {
|
|
128
|
-
const localeData = getCachedLocaleDataInstance__default(getLocale__default());
|
|
129
|
-
const pattern = localeData.getIntervalPattern();
|
|
130
|
-
const secondaryMonthsNames = getCachedLocaleDataInstance__default(getLocale__default()).getMonthsStandAlone("abbreviated", this.secondaryCalendarType);
|
|
131
|
-
const secondaryMonthsNamesWide = getCachedLocaleDataInstance__default(getLocale__default()).getMonthsStandAlone("wide", this.secondaryCalendarType);
|
|
132
|
-
if (month.startMonth === month.endMonth) {
|
|
133
|
-
return {
|
|
134
|
-
text: localeData.getMonths("abbreviated", this.secondaryCalendarType)[month.startMonth],
|
|
135
|
-
textInfo: localeData.getMonths("wide", this.secondaryCalendarType)[month.startMonth],
|
|
136
|
-
};
|
|
137
|
-
}
|
|
138
|
-
return {
|
|
139
|
-
text: pattern.replace(/\{0\}/, secondaryMonthsNames[month.startMonth]).replace(/\{1\}/, secondaryMonthsNames[month.endMonth]),
|
|
140
|
-
textInfo: pattern.replace(/\{0\}/, secondaryMonthsNamesWide[month.startMonth]).replace(/\{1\}/, secondaryMonthsNamesWide[month.endMonth]),
|
|
141
|
-
};
|
|
142
|
-
}
|
|
143
|
-
_getDisplayedSecondaryMonths(localDate) {
|
|
144
|
-
let firstDate = CalendarDate__default.fromLocalJSDate(localDate, this.primaryCalendarType);
|
|
145
|
-
firstDate.setDate(1);
|
|
146
|
-
firstDate = new CalendarDate__default(firstDate, this.secondaryCalendarType);
|
|
147
|
-
const startMonth = firstDate.getMonth();
|
|
148
|
-
let lastDate = CalendarDate__default.fromLocalJSDate(localDate, this.primaryCalendarType);
|
|
149
|
-
lastDate.setDate(this._daysInMonth(lastDate));
|
|
150
|
-
lastDate = new CalendarDate__default(lastDate, this.secondaryCalendarType);
|
|
151
|
-
const endMonth = lastDate.getMonth();
|
|
152
|
-
return { startMonth, endMonth };
|
|
153
|
-
}
|
|
154
|
-
_daysInMonth(calendarDate) {
|
|
155
|
-
calendarDate = new CalendarDate__default(calendarDate);
|
|
156
|
-
calendarDate.setDate(1);
|
|
157
|
-
calendarDate.setMonth(calendarDate.getMonth() + 1);
|
|
158
|
-
calendarDate.setDate(0);
|
|
159
|
-
return calendarDate.getDate();
|
|
160
|
-
}
|
|
161
122
|
get hasSecondaryCalendarType() {
|
|
162
123
|
return !!this.secondaryCalendarType;
|
|
163
124
|
}
|
|
@@ -175,7 +136,8 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/localization/dates/CalendarDate',
|
|
|
175
136
|
}
|
|
176
137
|
get accInfo() {
|
|
177
138
|
return {
|
|
178
|
-
ariaLabelMonthButton: this.hasSecondaryCalendarType
|
|
139
|
+
ariaLabelMonthButton: this.hasSecondaryCalendarType
|
|
140
|
+
? `${this._monthButtonText}, ${this.buttonTextForSecondaryCalendarType.info}` : `${this._monthButtonText}`,
|
|
179
141
|
};
|
|
180
142
|
}
|
|
181
143
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/i18nBundle', './generated/templates/CardTemplate.lit', './Icon', './generated/i18n/i18n-defaults', './generated/themes/Card.css'], function (UI5Element, litRender, i18nBundle, CardTemplate_lit, Icon, i18nDefaults, Card_css) { 'use strict';
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper', './generated/templates/CardTemplate.lit', './Icon', './generated/i18n/i18n-defaults', './generated/themes/Card.css'], function (UI5Element, litRender, i18nBundle, AriaLabelHelper, CardTemplate_lit, Icon, i18nDefaults, Card_css) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
4
|
|
|
@@ -19,15 +19,17 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
19
19
|
},
|
|
20
20
|
},
|
|
21
21
|
properties: {
|
|
22
|
+
accessibleName: {
|
|
23
|
+
type: String,
|
|
24
|
+
},
|
|
25
|
+
accessibleNameRef: {
|
|
26
|
+
type: String,
|
|
27
|
+
},
|
|
22
28
|
},
|
|
23
29
|
events: {
|
|
24
30
|
},
|
|
25
31
|
};
|
|
26
32
|
class Card extends UI5Element__default {
|
|
27
|
-
constructor() {
|
|
28
|
-
super();
|
|
29
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
30
|
-
}
|
|
31
33
|
static get metadata() {
|
|
32
34
|
return metadata;
|
|
33
35
|
}
|
|
@@ -49,17 +51,19 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
49
51
|
get _hasHeader() {
|
|
50
52
|
return !!this.header.length;
|
|
51
53
|
}
|
|
52
|
-
get
|
|
53
|
-
|
|
54
|
+
get _getAriaLabel() {
|
|
55
|
+
const effectiveAriaLabelText = AriaLabelHelper.getEffectiveAriaLabelText(this),
|
|
56
|
+
effectiveAriaLabel = effectiveAriaLabelText ? ` ${effectiveAriaLabelText}` : "";
|
|
57
|
+
return Card.i18nBundle.getText(i18nDefaults.ARIA_ROLEDESCRIPTION_CARD) + effectiveAriaLabel;
|
|
54
58
|
}
|
|
55
59
|
get _ariaCardContentLabel() {
|
|
56
|
-
return
|
|
60
|
+
return Card.i18nBundle.getText(i18nDefaults.ARIA_LABEL_CARD_CONTENT);
|
|
57
61
|
}
|
|
58
62
|
static get dependencies() {
|
|
59
63
|
return [Icon];
|
|
60
64
|
}
|
|
61
65
|
static async onDefine() {
|
|
62
|
-
await i18nBundle.
|
|
66
|
+
Card.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
63
67
|
}
|
|
64
68
|
}
|
|
65
69
|
Card.define();
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/Keys', './generated/templates/CardHeaderTemplate.lit', './Icon', './generated/i18n/i18n-defaults', './generated/themes/CardHeader.css'], function (UI5Element, litRender, i18nBundle, Keys, CardHeaderTemplate_lit, Icon, i18nDefaults, CardHeader_css) { 'use strict';
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/base/types/Integer', './generated/templates/CardHeaderTemplate.lit', './Icon', './generated/i18n/i18n-defaults', './generated/themes/CardHeader.css'], function (UI5Element, litRender, i18nBundle, Keys, Integer, CardHeaderTemplate_lit, Icon, i18nDefaults, CardHeader_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 UI5Element__default = /*#__PURE__*/_interopDefaultLegacy(UI5Element);
|
|
6
6
|
var litRender__default = /*#__PURE__*/_interopDefaultLegacy(litRender);
|
|
7
|
+
var Integer__default = /*#__PURE__*/_interopDefaultLegacy(Integer);
|
|
7
8
|
|
|
8
9
|
const metadata = {
|
|
9
10
|
tag: "ui5-card-header",
|
|
@@ -30,6 +31,10 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
30
31
|
interactive: {
|
|
31
32
|
type: Boolean,
|
|
32
33
|
},
|
|
34
|
+
ariaLevel: {
|
|
35
|
+
type: Integer__default,
|
|
36
|
+
defaultValue: 3,
|
|
37
|
+
},
|
|
33
38
|
_headerActive: {
|
|
34
39
|
type: Boolean,
|
|
35
40
|
noAttribute: true,
|
|
@@ -40,10 +45,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
40
45
|
},
|
|
41
46
|
};
|
|
42
47
|
class CardHeader extends UI5Element__default {
|
|
43
|
-
constructor() {
|
|
44
|
-
super();
|
|
45
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
46
|
-
}
|
|
47
48
|
static get metadata() {
|
|
48
49
|
return metadata;
|
|
49
50
|
}
|
|
@@ -66,14 +67,17 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
66
67
|
get ariaHeaderRole() {
|
|
67
68
|
return this.interactive ? "button" : "heading";
|
|
68
69
|
}
|
|
69
|
-
get
|
|
70
|
-
|
|
70
|
+
get _ariaLevel() {
|
|
71
|
+
if (this.interactive) {
|
|
72
|
+
return undefined;
|
|
73
|
+
}
|
|
74
|
+
return this.ariaLevel;
|
|
71
75
|
}
|
|
72
76
|
get ariaCardHeaderRoleDescription() {
|
|
73
|
-
return this.interactive ?
|
|
77
|
+
return this.interactive ? CardHeader.i18nBundle.getText(i18nDefaults.ARIA_ROLEDESCRIPTION_INTERACTIVE_CARD_HEADER) : CardHeader.i18nBundle.getText(i18nDefaults.ARIA_ROLEDESCRIPTION_CARD_HEADER);
|
|
74
78
|
}
|
|
75
79
|
get ariaCardAvatarLabel() {
|
|
76
|
-
return
|
|
80
|
+
return CardHeader.i18nBundle.getText(i18nDefaults.AVATAR_TOOLTIP);
|
|
77
81
|
}
|
|
78
82
|
get ariaLabelledByHeader() {
|
|
79
83
|
const labels = [];
|
|
@@ -101,9 +105,10 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
101
105
|
return [Icon];
|
|
102
106
|
}
|
|
103
107
|
static async onDefine() {
|
|
104
|
-
await i18nBundle.
|
|
108
|
+
CardHeader.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
105
109
|
}
|
|
106
|
-
_headerClick() {
|
|
110
|
+
_headerClick(event) {
|
|
111
|
+
event.stopImmediatePropagation();
|
|
107
112
|
if (this.interactive) {
|
|
108
113
|
this.fireEvent("click");
|
|
109
114
|
}
|
|
@@ -91,7 +91,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
91
91
|
this._scrollEnablement.attachEvent("touchend", event => {
|
|
92
92
|
this._updateScrolling(event);
|
|
93
93
|
});
|
|
94
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
95
94
|
this._onResizeBound = this._onResize.bind(this);
|
|
96
95
|
this._resizing = false;
|
|
97
96
|
this._lastFocusedElements = [];
|
|
@@ -251,7 +250,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
251
250
|
tabIndex: visible ? "0" : "-1",
|
|
252
251
|
posinset: idx + 1,
|
|
253
252
|
setsize: this.content.length,
|
|
254
|
-
|
|
253
|
+
styles: {
|
|
254
|
+
width: `${this._itemWidth}px`,
|
|
255
|
+
},
|
|
255
256
|
classes: visible ? "" : "ui5-carousel-item--hidden",
|
|
256
257
|
};
|
|
257
258
|
});
|
|
@@ -330,7 +331,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
330
331
|
for (let index = 0; index < pages; index++) {
|
|
331
332
|
dots.push({
|
|
332
333
|
active: index === this._selectedIndex,
|
|
333
|
-
ariaLabel:
|
|
334
|
+
ariaLabel: Carousel.i18nBundle.getText(i18nDefaults.CAROUSEL_DOT_TEXT, index + 1, pages),
|
|
334
335
|
});
|
|
335
336
|
}
|
|
336
337
|
return dots;
|
|
@@ -358,16 +359,16 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
358
359
|
return this._isRTL ? this.pagesCount - (this.pagesCount - this._selectedIndex) + 1 : this._selectedIndex + 1;
|
|
359
360
|
}
|
|
360
361
|
get ofText() {
|
|
361
|
-
return
|
|
362
|
+
return Carousel.i18nBundle.getText(i18nDefaults.CAROUSEL_OF_TEXT);
|
|
362
363
|
}
|
|
363
364
|
get ariaActiveDescendant() {
|
|
364
365
|
return this.content.length ? `${this._id}-carousel-item-${this._selectedIndex + 1}` : undefined;
|
|
365
366
|
}
|
|
366
367
|
get nextPageText() {
|
|
367
|
-
return
|
|
368
|
+
return Carousel.i18nBundle.getText(i18nDefaults.CAROUSEL_NEXT_ARROW_TEXT);
|
|
368
369
|
}
|
|
369
370
|
get previousPageText() {
|
|
370
|
-
return
|
|
371
|
+
return Carousel.i18nBundle.getText(i18nDefaults.CAROUSEL_PREVIOUS_ARROW_TEXT);
|
|
371
372
|
}
|
|
372
373
|
get visibleItemsIndices() {
|
|
373
374
|
const visibleItemsIndices = [];
|
|
@@ -385,7 +386,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
385
386
|
];
|
|
386
387
|
}
|
|
387
388
|
static async onDefine() {
|
|
388
|
-
await i18nBundle.
|
|
389
|
+
Carousel.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
389
390
|
}
|
|
390
391
|
}
|
|
391
392
|
Carousel.define();
|