@openui5/sap.ui.webc.main 1.111.0 → 1.112.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/package.json +3 -3
- package/src/sap/ui/webc/main/.library +1 -1
- package/src/sap/ui/webc/main/Avatar.js +1 -1
- 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 +1 -1
- package/src/sap/ui/webc/main/BreadcrumbsItem.js +1 -1
- package/src/sap/ui/webc/main/BusyIndicator.js +1 -1
- package/src/sap/ui/webc/main/Button.js +1 -1
- package/src/sap/ui/webc/main/Calendar.js +1 -1
- package/src/sap/ui/webc/main/CalendarDate.js +1 -1
- package/src/sap/ui/webc/main/Card.js +1 -1
- package/src/sap/ui/webc/main/CardHeader.js +1 -1
- 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 +1 -1
- package/src/sap/ui/webc/main/ColorPaletteItem.js +1 -1
- package/src/sap/ui/webc/main/ColorPalettePopover.js +1 -1
- package/src/sap/ui/webc/main/ColorPicker.js +1 -1
- package/src/sap/ui/webc/main/ComboBox.js +1 -1
- package/src/sap/ui/webc/main/ComboBoxGroupItem.js +1 -1
- package/src/sap/ui/webc/main/ComboBoxItem.js +1 -1
- package/src/sap/ui/webc/main/CustomListItem.js +1 -1
- package/src/sap/ui/webc/main/DatePicker.js +2 -2
- package/src/sap/ui/webc/main/DateRangePicker.js +2 -2
- package/src/sap/ui/webc/main/DateTimePicker.js +2 -2
- package/src/sap/ui/webc/main/Dialog.js +1 -1
- package/src/sap/ui/webc/main/FileUploader.js +1 -1
- package/src/sap/ui/webc/main/GroupHeaderListItem.js +1 -1
- package/src/sap/ui/webc/main/Icon.js +5 -11
- package/src/sap/ui/webc/main/Input.js +1 -1
- package/src/sap/ui/webc/main/Label.js +1 -1
- package/src/sap/ui/webc/main/Link.js +1 -1
- package/src/sap/ui/webc/main/List.js +1 -1
- package/src/sap/ui/webc/main/Menu.js +1 -1
- package/src/sap/ui/webc/main/MenuItem.js +1 -1
- package/src/sap/ui/webc/main/MessageStrip.js +1 -1
- package/src/sap/ui/webc/main/MultiComboBox.js +1 -1
- package/src/sap/ui/webc/main/MultiComboBoxGroupItem.js +1 -1
- package/src/sap/ui/webc/main/MultiComboBoxItem.js +1 -1
- package/src/sap/ui/webc/main/MultiInput.js +1 -1
- package/src/sap/ui/webc/main/Option.js +1 -1
- package/src/sap/ui/webc/main/Panel.js +1 -1
- package/src/sap/ui/webc/main/Popover.js +1 -1
- package/src/sap/ui/webc/main/ProgressIndicator.js +1 -1
- package/src/sap/ui/webc/main/RadioButton.js +1 -1
- package/src/sap/ui/webc/main/RangeSlider.js +1 -1
- package/src/sap/ui/webc/main/RatingIndicator.js +1 -1
- 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 +1 -1
- package/src/sap/ui/webc/main/Select.js +1 -1
- package/src/sap/ui/webc/main/Slider.js +1 -1
- package/src/sap/ui/webc/main/SplitButton.js +1 -1
- 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 +1 -1
- package/src/sap/ui/webc/main/SuggestionItem.js +1 -1
- package/src/sap/ui/webc/main/Switch.js +1 -1
- 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 +1 -1
- package/src/sap/ui/webc/main/TableRow.js +1 -1
- package/src/sap/ui/webc/main/TextArea.js +1 -1
- package/src/sap/ui/webc/main/TimePicker.js +2 -2
- 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 +1 -1
- package/src/sap/ui/webc/main/Token.js +1 -1
- package/src/sap/ui/webc/main/Tree.js +1 -1
- package/src/sap/ui/webc/main/TreeItem.js +1 -1
- package/src/sap/ui/webc/main/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/ui/webc/main/library.config.js +6 -0
- package/src/sap/ui/webc/main/library.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/Avatar.js +7 -51
- package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +34 -100
- package/src/sap/ui/webc/main/thirdparty/Badge.js +4 -23
- package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +43 -145
- package/src/sap/ui/webc/main/thirdparty/BreadcrumbsItem.js +4 -17
- package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +7 -36
- package/src/sap/ui/webc/main/thirdparty/Button.js +6 -73
- package/src/sap/ui/webc/main/thirdparty/Calendar.js +19 -74
- package/src/sap/ui/webc/main/thirdparty/CalendarDate.js +2 -8
- package/src/sap/ui/webc/main/thirdparty/CalendarHeader.js +1 -29
- package/src/sap/ui/webc/main/thirdparty/CalendarPart.js +6 -26
- package/src/sap/ui/webc/main/thirdparty/Card.js +5 -26
- package/src/sap/ui/webc/main/thirdparty/CardHeader.js +4 -47
- package/src/sap/ui/webc/main/thirdparty/Carousel.js +17 -107
- package/src/sap/ui/webc/main/thirdparty/CheckBox.js +9 -63
- package/src/sap/ui/webc/main/thirdparty/ColorPalette.js +5 -83
- package/src/sap/ui/webc/main/thirdparty/ColorPaletteItem.js +4 -26
- package/src/sap/ui/webc/main/thirdparty/ColorPalettePopover.js +7 -41
- package/src/sap/ui/webc/main/thirdparty/ColorPicker.js +51 -123
- package/src/sap/ui/webc/main/thirdparty/ComboBox.js +24 -212
- package/src/sap/ui/webc/main/thirdparty/ComboBoxGroupItem.js +5 -18
- package/src/sap/ui/webc/main/thirdparty/ComboBoxItem.js +2 -9
- package/src/sap/ui/webc/main/thirdparty/CustomListItem.js +3 -20
- package/src/sap/ui/webc/main/thirdparty/DateComponentBase.js +2 -25
- package/src/sap/ui/webc/main/thirdparty/DatePicker.js +28 -127
- package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +20 -85
- package/src/sap/ui/webc/main/thirdparty/DateTimePicker.js +20 -66
- package/src/sap/ui/webc/main/thirdparty/DayPicker.js +32 -158
- package/src/sap/ui/webc/main/thirdparty/Dialog.js +18 -104
- package/src/sap/ui/webc/main/thirdparty/DurationPicker.js +11 -56
- package/src/sap/ui/webc/main/thirdparty/FileUploader.js +9 -83
- package/src/sap/ui/webc/main/thirdparty/Filters.js +0 -9
- package/src/sap/ui/webc/main/thirdparty/GroupHeaderListItem.js +5 -20
- package/src/sap/ui/webc/main/thirdparty/Icon.js +8 -53
- package/src/sap/ui/webc/main/thirdparty/Input.js +75 -273
- package/src/sap/ui/webc/main/thirdparty/Interfaces.js +19 -20
- package/src/sap/ui/webc/main/thirdparty/Label.js +5 -21
- package/src/sap/ui/webc/main/thirdparty/Link.js +5 -48
- package/src/sap/ui/webc/main/thirdparty/List.js +33 -183
- package/src/sap/ui/webc/main/thirdparty/ListItem.js +10 -76
- package/src/sap/ui/webc/main/thirdparty/ListItemBase.js +5 -37
- package/src/sap/ui/webc/main/thirdparty/Menu.js +8 -91
- package/src/sap/ui/webc/main/thirdparty/MenuItem.js +3 -21
- package/src/sap/ui/webc/main/thirdparty/MessageStrip.js +4 -34
- package/src/sap/ui/webc/main/thirdparty/MonthPicker.js +12 -61
- package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +25 -299
- package/src/sap/ui/webc/main/thirdparty/MultiComboBoxGroupItem.js +5 -18
- package/src/sap/ui/webc/main/thirdparty/MultiComboBoxItem.js +2 -9
- package/src/sap/ui/webc/main/thirdparty/MultiInput.js +10 -71
- package/src/sap/ui/webc/main/thirdparty/Option.js +5 -22
- package/src/sap/ui/webc/main/thirdparty/Panel.js +4 -62
- package/src/sap/ui/webc/main/thirdparty/Popover.js +28 -143
- package/src/sap/ui/webc/main/thirdparty/Popup.js +20 -118
- package/src/sap/ui/webc/main/thirdparty/ProgressIndicator.js +6 -38
- package/src/sap/ui/webc/main/thirdparty/RadioButton.js +8 -76
- package/src/sap/ui/webc/main/thirdparty/RadioButtonGroup.js +8 -54
- package/src/sap/ui/webc/main/thirdparty/RangeSlider.js +79 -170
- package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +6 -49
- package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +5 -35
- package/src/sap/ui/webc/main/thirdparty/SegmentedButton.js +9 -57
- package/src/sap/ui/webc/main/thirdparty/SegmentedButtonItem.js +2 -15
- package/src/sap/ui/webc/main/thirdparty/Select.js +15 -131
- package/src/sap/ui/webc/main/thirdparty/Slider.js +24 -65
- package/src/sap/ui/webc/main/thirdparty/SliderBase.js +74 -164
- package/src/sap/ui/webc/main/thirdparty/SplitButton.js +6 -67
- package/src/sap/ui/webc/main/thirdparty/StandardListItem.js +3 -25
- package/src/sap/ui/webc/main/thirdparty/StepInput.js +12 -106
- package/src/sap/ui/webc/main/thirdparty/SuggestionGroupItem.js +5 -17
- package/src/sap/ui/webc/main/thirdparty/SuggestionItem.js +4 -22
- package/src/sap/ui/webc/main/thirdparty/SuggestionListItem.js +2 -12
- package/src/sap/ui/webc/main/thirdparty/Switch.js +6 -41
- package/src/sap/ui/webc/main/thirdparty/Tab.js +6 -83
- package/src/sap/ui/webc/main/thirdparty/TabContainer.js +39 -259
- package/src/sap/ui/webc/main/thirdparty/TabSeparator.js +2 -17
- package/src/sap/ui/webc/main/thirdparty/Table.js +25 -185
- package/src/sap/ui/webc/main/thirdparty/TableCell.js +4 -18
- package/src/sap/ui/webc/main/thirdparty/TableColumn.js +4 -18
- package/src/sap/ui/webc/main/thirdparty/TableGroupRow.js +5 -28
- package/src/sap/ui/webc/main/thirdparty/TableRow.js +7 -81
- package/src/sap/ui/webc/main/thirdparty/TextArea.js +7 -97
- package/src/sap/ui/webc/main/thirdparty/TimePicker.js +3 -16
- package/src/sap/ui/webc/main/thirdparty/TimePickerBase.js +14 -93
- package/src/sap/ui/webc/main/thirdparty/TimeSelection.js +7 -95
- package/src/sap/ui/webc/main/thirdparty/Title.js +4 -22
- package/src/sap/ui/webc/main/thirdparty/Toast.js +8 -31
- package/src/sap/ui/webc/main/thirdparty/ToggleButton.js +2 -14
- package/src/sap/ui/webc/main/thirdparty/Token.js +4 -36
- package/src/sap/ui/webc/main/thirdparty/Tokenizer.js +12 -117
- package/src/sap/ui/webc/main/thirdparty/Tree.js +7 -53
- package/src/sap/ui/webc/main/thirdparty/TreeItem.js +4 -22
- package/src/sap/ui/webc/main/thirdparty/TreeListItem.js +5 -45
- package/src/sap/ui/webc/main/thirdparty/WheelSlider.js +6 -93
- package/src/sap/ui/webc/main/thirdparty/YearPicker.js +22 -72
- package/src/sap/ui/webc/main/thirdparty/features/ColorPaletteMoreColors.js +0 -8
- package/src/sap/ui/webc/main/thirdparty/features/InputElementsFormSupport.js +2 -19
- package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +24 -165
- package/src/sap/ui/webc/main/thirdparty/generated/json-imports/Themes.js +0 -16
- package/src/sap/ui/webc/main/thirdparty/generated/json-imports/i18n.js +0 -52
- package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarGroupTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarTemplate.lit.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BadgeTemplate.lit.js +1 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsPopoverTemplate.lit.js +1 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BusyIndicatorTemplate.lit.js +1 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ButtonTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarHeaderTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CardHeaderTemplate.lit.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CardTemplate.lit.js +1 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CarouselTemplate.lit.js +1 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CheckBoxTemplate.lit.js +1 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteDialogTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteItemTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPalettePopoverTemplate.lit.js +1 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteTemplate.lit.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPickerTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxPopoverTemplate.lit.js +1 -18
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxTemplate.lit.js +1 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CustomListItemTemplate.lit.js +1 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerPopoverTemplate.lit.js +1 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DateTimePickerPopoverTemplate.lit.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DayPickerTemplate.lit.js +1 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DialogTemplate.lit.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderPopoverTemplate.lit.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderTemplate.lit.js +1 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/GroupHeaderListItemTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/IconTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputPopoverTemplate.lit.js +1 -22
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/LabelTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/LinkTemplate.lit.js +1 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ListItemTemplate.lit.js +1 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ListTemplate.lit.js +1 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MenuTemplate.lit.js +1 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MessageStripTemplate.lit.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MonthPickerTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +1 -25
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +1 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PanelTemplate.lit.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopoverTemplate.lit.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupBlockLayerTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ProgressIndicatorTemplate.lit.js +1 -12
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RadioButtonTemplate.lit.js +1 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RangeSliderTemplate.lit.js +1 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RatingIndicatorTemplate.lit.js +1 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ResponsivePopoverTemplate.lit.js +1 -14
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonItemTemplate.lit.js +1 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectPopoverTemplate.lit.js +1 -18
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderBaseTemplate.lit.js +1 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderTemplate.lit.js +1 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SplitButtonTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/StandardListItemTemplate.lit.js +1 -19
- package/src/sap/ui/webc/main/thirdparty/generated/templates/StepInputTemplate.lit.js +1 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js +1 -22
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.lit.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerPopoverTemplate.lit.js +1 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerTemplate.lit.js +1 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInOverflowTemplate.lit.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +1 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInOverflowTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInStripTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabTemplate.lit.js +1 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableCellTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableColumnTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableGroupRowTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableRowTemplate.lit.js +1 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableTemplate.lit.js +1 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaPopoverTemplate.lit.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaTemplate.lit.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerPopoverTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimeSelectionTemplate.lit.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TitleTemplate.lit.js +1 -8
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToastTemplate.lit.js +1 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToggleButtonTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenTemplate.lit.js +1 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerPopoverTemplate.lit.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeListItemTemplate.lit.js +1 -16
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeTemplate.lit.js +1 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/WheelSliderTemplate.lit.js +1 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/YearPickerTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Avatar.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/AvatarGroup.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Badge.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Breadcrumbs.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BreadcrumbsPopover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BrowserScrollbar.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BusyIndicator.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Calendar.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CalendarHeader.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Card.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CardHeader.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Carousel.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CheckBox.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalette.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteItem.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalettePopover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteStaticArea.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPicker.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBox.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBoxPopover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CustomListItem.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePicker.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePickerPopover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateRangePicker.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePicker.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePickerPopover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DayPicker.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Dialog.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/FileUploader.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/GroupHeaderListItem.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/GrowingButton.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Icon.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Input.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/InputIcon.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/InvisibleTextStyles.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Label.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Link.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/List.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItem.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItemBase.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Menu.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MessageStrip.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MonthPicker.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBox.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBoxPopover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiInput.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Panel.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Popover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Popup.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupGlobal.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupStaticAreaStyles.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupsCommon.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ProgressIndicator.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RadioButton.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RangeSlider.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RatingIndicator.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopoverCommon.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SegmentedButton.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Select.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SelectPopover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SliderBase.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SplitButton.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/StepInput.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Suggestions.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Switch.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tab.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabContainer.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInOverflow.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInStrip.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSemanticIcon.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInOverflow.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInStrip.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Table.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableCell.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableColumn.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableGroupRow.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableRow.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TapHighlightColor.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TextArea.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePicker.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePickerPopover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimeSelection.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Title.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Toast.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Token.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tokenizer.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TokenizerPopover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tree.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeListItem.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ValueStateMessage.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/WheelSlider.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/YearPicker.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/popup-utils/OpenedPopupsRegistry.js +0 -12
- package/src/sap/ui/webc/main/thirdparty/popup-utils/PopoverRegistry.js +4 -33
- package/src/sap/ui/webc/main/thirdparty/timepicker-utils/TimeSlider.js +0 -26
- package/src/sap/ui/webc/main/thirdparty/types/AvatarColorScheme.js +1 -15
- package/src/sap/ui/webc/main/thirdparty/types/AvatarGroupType.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/types/AvatarShape.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/types/AvatarSize.js +1 -9
- package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsDesign.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsSeparatorStyle.js +1 -10
- package/src/sap/ui/webc/main/thirdparty/types/BusyIndicatorSize.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/types/ButtonDesign.js +1 -10
- package/src/sap/ui/webc/main/thirdparty/types/CalendarSelectionMode.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/types/CarouselArrowsPlacement.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/types/GrowingMode.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/types/HasPopup.js +1 -9
- package/src/sap/ui/webc/main/thirdparty/types/InputType.js +1 -10
- package/src/sap/ui/webc/main/thirdparty/types/LinkDesign.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/types/ListGrowingMode.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/types/ListItemType.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/types/ListMode.js +1 -11
- package/src/sap/ui/webc/main/thirdparty/types/ListSeparators.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/types/MessageStripDesign.js +1 -8
- package/src/sap/ui/webc/main/thirdparty/types/PanelAccessibleRole.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/types/PopoverHorizontalAlign.js +1 -8
- package/src/sap/ui/webc/main/thirdparty/types/PopoverPlacementType.js +1 -8
- package/src/sap/ui/webc/main/thirdparty/types/PopoverVerticalAlign.js +1 -8
- package/src/sap/ui/webc/main/thirdparty/types/Priority.js +1 -8
- package/src/sap/ui/webc/main/thirdparty/types/SemanticColor.js +1 -9
- package/src/sap/ui/webc/main/thirdparty/types/SwitchDesign.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/types/TabContainerTabsPlacement.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/types/TabLayout.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/types/TableGrowingMode.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/types/TableMode.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/types/TableRowType.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/types/TabsOverflowMode.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/types/TitleLevel.js +1 -10
- package/src/sap/ui/webc/main/thirdparty/types/ToastPlacement.js +1 -13
- package/src/sap/ui/webc/main/thirdparty/types/WrappingType.js +1 -6
- package/ui5.yaml +1 -1
@@ -7,18 +7,14 @@ sap.ui.define(["exports", "./StandardListItem", "./generated/templates/Suggestio
|
|
7
7
|
_exports.default = void 0;
|
8
8
|
_StandardListItem = _interopRequireDefault(_StandardListItem);
|
9
9
|
_SuggestionListItemTemplate = _interopRequireDefault(_SuggestionListItemTemplate);
|
10
|
-
|
11
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
12
|
-
|
13
11
|
/**
|
14
12
|
* @public
|
15
13
|
*/
|
16
14
|
const metadata = {
|
17
15
|
tag: "ui5-li-suggestion-item",
|
18
16
|
managedSlots: true,
|
19
|
-
slots:
|
20
|
-
/** @lends sap.ui.webcomponents.main.SuggestionListItem.prototype */
|
21
|
-
{
|
17
|
+
slots: /** @lends sap.ui.webcomponents.main.SuggestionListItem.prototype */{
|
22
18
|
/**
|
23
19
|
* Defines a description that can contain HTML.
|
24
20
|
* <b>Note:</b> If not specified, the <code>description</code> property will be used.
|
@@ -36,6 +32,7 @@ sap.ui.define(["exports", "./StandardListItem", "./generated/templates/Suggestio
|
|
36
32
|
}
|
37
33
|
}
|
38
34
|
};
|
35
|
+
|
39
36
|
/**
|
40
37
|
* @class
|
41
38
|
* The <code>ui5-li-suggestion-item</code> represents the suggestion item in the <code>ui5-input</code>
|
@@ -58,31 +55,24 @@ sap.ui.define(["exports", "./StandardListItem", "./generated/templates/Suggestio
|
|
58
55
|
* @extends StandardListItem
|
59
56
|
* @tagname ui5-li-suggestion-item
|
60
57
|
*/
|
61
|
-
|
62
58
|
class SuggestionListItem extends _StandardListItem.default {
|
63
59
|
static get metadata() {
|
64
60
|
return metadata;
|
65
61
|
}
|
66
|
-
|
67
62
|
static get template() {
|
68
63
|
return _SuggestionListItemTemplate.default;
|
69
64
|
}
|
70
|
-
|
71
65
|
onBeforeRendering(...params) {
|
72
66
|
super.onBeforeRendering(...params);
|
73
67
|
this.hasTitle = !!this.titleText.length;
|
74
68
|
}
|
75
|
-
|
76
69
|
get effectiveTitle() {
|
77
70
|
return this.titleText.filter(node => node.nodeType !== Node.COMMENT_NODE).map(el => el.textContent).join("");
|
78
71
|
}
|
79
|
-
|
80
72
|
get hasDescription() {
|
81
73
|
return this.richDescription.length || this.description;
|
82
74
|
}
|
83
|
-
|
84
75
|
}
|
85
|
-
|
86
76
|
SuggestionListItem.define();
|
87
77
|
var _default = SuggestionListItem;
|
88
78
|
_exports.default = _default;
|
@@ -11,10 +11,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
11
11
|
_SwitchDesign = _interopRequireDefault(_SwitchDesign);
|
12
12
|
_SwitchTemplate = _interopRequireDefault(_SwitchTemplate);
|
13
13
|
_Switch = _interopRequireDefault(_Switch);
|
14
|
-
|
15
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
16
|
-
|
17
15
|
// Template
|
16
|
+
|
18
17
|
// Styles
|
19
18
|
|
20
19
|
/**
|
@@ -23,9 +22,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
23
22
|
const metadata = {
|
24
23
|
tag: "ui5-switch",
|
25
24
|
languageAware: true,
|
26
|
-
properties:
|
27
|
-
/** @lends sap.ui.webcomponents.main.Switch.prototype */
|
28
|
-
{
|
25
|
+
properties: /** @lends sap.ui.webcomponents.main.Switch.prototype */{
|
29
26
|
/**
|
30
27
|
* Defines the component design.
|
31
28
|
* <br><br>
|
@@ -40,7 +37,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
40
37
|
type: _SwitchDesign.default,
|
41
38
|
defaultValue: _SwitchDesign.default.Textual
|
42
39
|
},
|
43
|
-
|
44
40
|
/**
|
45
41
|
* Defines if the component is checked.
|
46
42
|
* <br><br>
|
@@ -53,7 +49,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
53
49
|
checked: {
|
54
50
|
type: Boolean
|
55
51
|
},
|
56
|
-
|
57
52
|
/**
|
58
53
|
* Defines whether the component is disabled.
|
59
54
|
* <br><br>
|
@@ -66,7 +61,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
66
61
|
disabled: {
|
67
62
|
type: Boolean
|
68
63
|
},
|
69
|
-
|
70
64
|
/**
|
71
65
|
* Defines the text, displayed when the component is checked.
|
72
66
|
*
|
@@ -80,7 +74,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
80
74
|
textOn: {
|
81
75
|
type: String
|
82
76
|
},
|
83
|
-
|
84
77
|
/**
|
85
78
|
* Defines the text, displayed when the component is not checked.
|
86
79
|
* <br><br>
|
@@ -93,7 +86,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
93
86
|
textOff: {
|
94
87
|
type: String
|
95
88
|
},
|
96
|
-
|
97
89
|
/**
|
98
90
|
* Sets the accessible aria name of the component.
|
99
91
|
*
|
@@ -107,7 +99,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
107
99
|
accessibleName: {
|
108
100
|
type: String
|
109
101
|
},
|
110
|
-
|
111
102
|
/**
|
112
103
|
* Receives id(or many ids) of the elements that label the component.
|
113
104
|
*
|
@@ -123,9 +114,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
123
114
|
defaultValue: ""
|
124
115
|
}
|
125
116
|
},
|
126
|
-
events:
|
127
|
-
/** @lends sap.ui.webcomponents.main.Switch.prototype */
|
128
|
-
{
|
117
|
+
events: /** @lends sap.ui.webcomponents.main.Switch.prototype */{
|
129
118
|
/**
|
130
119
|
* Fired when the component checked state changes.
|
131
120
|
*
|
@@ -135,6 +124,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
135
124
|
change: {}
|
136
125
|
}
|
137
126
|
};
|
127
|
+
|
138
128
|
/**
|
139
129
|
* @class
|
140
130
|
*
|
@@ -175,77 +165,61 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
175
165
|
* @public
|
176
166
|
* @since 0.8.0
|
177
167
|
*/
|
178
|
-
|
179
168
|
class Switch extends _UI5Element.default {
|
180
169
|
static get metadata() {
|
181
170
|
return metadata;
|
182
171
|
}
|
183
|
-
|
184
172
|
static get styles() {
|
185
173
|
return _Switch.default;
|
186
174
|
}
|
187
|
-
|
188
175
|
static get render() {
|
189
176
|
return _LitRenderer.default;
|
190
177
|
}
|
191
|
-
|
192
178
|
static get template() {
|
193
179
|
return _SwitchTemplate.default;
|
194
180
|
}
|
195
|
-
|
196
181
|
get sapNextIcon() {
|
197
182
|
return this.checked ? "accept" : "less";
|
198
183
|
}
|
199
|
-
|
200
184
|
_onclick(event) {
|
201
185
|
this.toggle();
|
202
186
|
}
|
203
|
-
|
204
187
|
_onkeydown(event) {
|
205
188
|
if ((0, _Keys.isSpace)(event)) {
|
206
189
|
event.preventDefault();
|
207
190
|
}
|
208
|
-
|
209
191
|
if ((0, _Keys.isEnter)(event)) {
|
210
192
|
this.toggle();
|
211
193
|
}
|
212
194
|
}
|
213
|
-
|
214
195
|
_onkeyup(event) {
|
215
196
|
if ((0, _Keys.isSpace)(event)) {
|
216
197
|
this.toggle();
|
217
198
|
}
|
218
199
|
}
|
219
|
-
|
220
200
|
toggle() {
|
221
201
|
if (!this.disabled) {
|
222
202
|
this.checked = !this.checked;
|
223
|
-
this.fireEvent("change");
|
224
|
-
|
203
|
+
this.fireEvent("change");
|
204
|
+
// Angular two way data binding;
|
225
205
|
this.fireEvent("value-changed");
|
226
206
|
}
|
227
207
|
}
|
228
|
-
|
229
208
|
get graphical() {
|
230
209
|
return this.design === _SwitchDesign.default.Graphical;
|
231
210
|
}
|
232
|
-
|
233
211
|
get hasNoLabel() {
|
234
212
|
return !(this.graphical || this.textOn || this.textOff);
|
235
213
|
}
|
236
|
-
|
237
214
|
get _textOn() {
|
238
215
|
return this.graphical ? "" : this.textOn;
|
239
216
|
}
|
240
|
-
|
241
217
|
get _textOff() {
|
242
218
|
return this.graphical ? "" : this.textOff;
|
243
219
|
}
|
244
|
-
|
245
220
|
get tabIndex() {
|
246
221
|
return this.disabled ? undefined : "0";
|
247
222
|
}
|
248
|
-
|
249
223
|
get classes() {
|
250
224
|
const hasLabel = this.graphical || this.textOn || this.textOff;
|
251
225
|
return {
|
@@ -258,37 +232,28 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
258
232
|
}
|
259
233
|
};
|
260
234
|
}
|
261
|
-
|
262
235
|
get ariaDisabled() {
|
263
236
|
return this.disabled ? "true" : undefined;
|
264
237
|
}
|
265
|
-
|
266
238
|
get accessibilityOnText() {
|
267
239
|
return this._textOn;
|
268
240
|
}
|
269
|
-
|
270
241
|
get accessibilityOffText() {
|
271
242
|
return this._textOff;
|
272
243
|
}
|
273
|
-
|
274
244
|
get hiddenText() {
|
275
245
|
return this.checked ? this.accessibilityOnText : this.accessibilityOffText;
|
276
246
|
}
|
277
|
-
|
278
247
|
get ariaLabelText() {
|
279
248
|
return [(0, _AriaLabelHelper.getEffectiveAriaLabelText)(this), this.hiddenText].join(" ").trim();
|
280
249
|
}
|
281
|
-
|
282
250
|
static get dependencies() {
|
283
251
|
return [_Icon.default];
|
284
252
|
}
|
285
|
-
|
286
253
|
static async onDefine() {
|
287
254
|
Switch.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
|
288
255
|
}
|
289
|
-
|
290
256
|
}
|
291
|
-
|
292
257
|
Switch.define();
|
293
258
|
var _default = Switch;
|
294
259
|
_exports.default = _default;
|
@@ -20,10 +20,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
20
20
|
_Tab = _interopRequireDefault(_Tab);
|
21
21
|
_TabInStrip = _interopRequireDefault(_TabInStrip);
|
22
22
|
_TabInOverflow = _interopRequireDefault(_TabInOverflow);
|
23
|
-
|
24
23
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
25
|
-
|
26
24
|
// Templates
|
25
|
+
|
27
26
|
// Styles
|
28
27
|
|
29
28
|
/**
|
@@ -33,9 +32,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
33
32
|
tag: "ui5-tab",
|
34
33
|
managedSlots: true,
|
35
34
|
languageAware: true,
|
36
|
-
slots:
|
37
|
-
/** @lends sap.ui.webcomponents.main.Tab.prototype */
|
38
|
-
{
|
35
|
+
slots: /** @lends sap.ui.webcomponents.main.Tab.prototype */{
|
39
36
|
/**
|
40
37
|
* Holds the content associated with this tab.
|
41
38
|
*
|
@@ -51,7 +48,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
51
48
|
slots: false
|
52
49
|
}
|
53
50
|
},
|
54
|
-
|
55
51
|
/**
|
56
52
|
* Defines hierarchies with nested sub tabs.
|
57
53
|
* <br><br>
|
@@ -70,9 +66,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
70
66
|
}
|
71
67
|
}
|
72
68
|
},
|
73
|
-
properties:
|
74
|
-
/** @lends sap.ui.webcomponents.main.Tab.prototype */
|
75
|
-
{
|
69
|
+
properties: /** @lends sap.ui.webcomponents.main.Tab.prototype */{
|
76
70
|
/**
|
77
71
|
* The text to be displayed for the item.
|
78
72
|
* @type {string}
|
@@ -82,7 +76,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
82
76
|
text: {
|
83
77
|
type: String
|
84
78
|
},
|
85
|
-
|
86
79
|
/**
|
87
80
|
* Enabled items can be selected.
|
88
81
|
* @type {boolean}
|
@@ -92,7 +85,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
92
85
|
disabled: {
|
93
86
|
type: Boolean
|
94
87
|
},
|
95
|
-
|
96
88
|
/**
|
97
89
|
* Represents the "additionalText" text, which is displayed in the tab.
|
98
90
|
* @type {string}
|
@@ -102,7 +94,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
102
94
|
additionalText: {
|
103
95
|
type: String
|
104
96
|
},
|
105
|
-
|
106
97
|
/**
|
107
98
|
* Defines the icon source URI to be displayed as graphical element within the component.
|
108
99
|
* The SAP-icons font provides numerous built-in icons.
|
@@ -115,7 +106,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
115
106
|
icon: {
|
116
107
|
type: String
|
117
108
|
},
|
118
|
-
|
119
109
|
/**
|
120
110
|
* Defines the component's design color.
|
121
111
|
* <br><br>
|
@@ -139,7 +129,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
139
129
|
type: _SemanticColor.default,
|
140
130
|
defaultValue: _SemanticColor.default.Default
|
141
131
|
},
|
142
|
-
|
143
132
|
/**
|
144
133
|
* Specifies if the component is selected.
|
145
134
|
*
|
@@ -165,10 +154,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
165
154
|
type: Boolean
|
166
155
|
}
|
167
156
|
},
|
168
|
-
events:
|
169
|
-
/** @lends sap.ui.webcomponents.main.Tab.prototype */
|
170
|
-
{}
|
157
|
+
events: /** @lends sap.ui.webcomponents.main.Tab.prototype */{}
|
171
158
|
};
|
159
|
+
|
172
160
|
/**
|
173
161
|
* @class
|
174
162
|
* The <code>ui5-tab</code> represents a selectable item inside a <code>ui5-tabcontainer</code>.
|
@@ -183,85 +171,66 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
183
171
|
* @implements sap.ui.webcomponents.main.ITab
|
184
172
|
* @public
|
185
173
|
*/
|
186
|
-
|
187
174
|
class Tab extends _UI5Element.default {
|
188
175
|
static get metadata() {
|
189
176
|
return metadata;
|
190
177
|
}
|
191
|
-
|
192
178
|
static get render() {
|
193
179
|
return _LitRenderer.default;
|
194
180
|
}
|
195
|
-
|
196
181
|
static get template() {
|
197
182
|
return _TabTemplate.default;
|
198
183
|
}
|
199
|
-
|
200
184
|
static get stripTemplate() {
|
201
185
|
return _TabInStripTemplate.default;
|
202
186
|
}
|
203
|
-
|
204
187
|
static get overflowTemplate() {
|
205
188
|
return _TabInOverflowTemplate.default;
|
206
189
|
}
|
207
|
-
|
208
190
|
static get styles() {
|
209
191
|
return _Tab.default;
|
210
192
|
}
|
211
|
-
|
212
193
|
static get dependencies() {
|
213
194
|
return [_Icon.default, _Button.default, _CustomListItem.default];
|
214
195
|
}
|
215
|
-
|
216
196
|
get displayText() {
|
217
197
|
let text = this.text;
|
218
|
-
|
219
198
|
if (this._isInline && this.additionalText) {
|
220
199
|
text += ` (${this.additionalText})`;
|
221
200
|
}
|
222
|
-
|
223
201
|
return text;
|
224
202
|
}
|
225
|
-
|
226
203
|
get isSeparator() {
|
227
204
|
return false;
|
228
205
|
}
|
229
|
-
|
230
206
|
get stripPresentation() {
|
231
207
|
return (0, _executeTemplate.default)(this.constructor.stripTemplate, this);
|
232
208
|
}
|
233
|
-
|
234
209
|
get overflowPresentation() {
|
235
210
|
return (0, _executeTemplate.default)(this.constructor.overflowTemplate, this);
|
236
211
|
}
|
237
|
-
|
238
212
|
get stableDomRef() {
|
239
213
|
return this.getAttribute("stable-dom-ref") || `${this._id}-stable-dom-ref`;
|
240
214
|
}
|
241
|
-
|
242
215
|
get requiresExpandButton() {
|
243
216
|
return this.subTabs.length > 0 && this._isTopLevelTab && this._hasOwnContent;
|
244
217
|
}
|
245
|
-
|
246
218
|
get isSingleClickArea() {
|
247
219
|
return this.subTabs.length > 0 && this._isTopLevelTab && !this._hasOwnContent;
|
248
220
|
}
|
249
|
-
|
250
221
|
get isOnSelectedTabPath() {
|
251
222
|
return this._realTab === this || this.tabs.some(subTab => subTab.isOnSelectedTabPath);
|
252
223
|
}
|
253
|
-
|
254
224
|
get _effectiveSlotName() {
|
255
225
|
return this.isOnSelectedTabPath ? this._individualSlot : `disabled-${this._individualSlot}`;
|
256
226
|
}
|
257
|
-
|
258
227
|
get _defaultSlotName() {
|
259
228
|
return this._realTab === this ? "" : "disabled-slot";
|
260
229
|
}
|
261
|
-
|
262
230
|
get _hasOwnContent() {
|
263
231
|
return this.content.some(node => node.nodeType !== Node.COMMENT_NODE && (node.nodeType !== Node.TEXT_NODE || node.nodeValue.trim().length !== 0));
|
264
232
|
}
|
233
|
+
|
265
234
|
/**
|
266
235
|
* Returns the DOM reference of the tab that is placed in the header.
|
267
236
|
* <b>Note:</b> If you need a DOM ref to the tab content please use the <code>getDomRef</code> method.
|
@@ -270,167 +239,121 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
270
239
|
* @public
|
271
240
|
* @since 1.0.0-rc.16
|
272
241
|
*/
|
273
|
-
|
274
|
-
|
275
242
|
getTabInStripDomRef() {
|
276
243
|
return this._tabInStripDomRef;
|
277
244
|
}
|
278
|
-
|
279
245
|
getFocusDomRef() {
|
280
246
|
let focusedDomRef = super.getFocusDomRef();
|
281
|
-
|
282
247
|
if (this._getTabContainerHeaderItemCallback) {
|
283
248
|
focusedDomRef = this._getTabContainerHeaderItemCallback();
|
284
249
|
}
|
285
|
-
|
286
250
|
return focusedDomRef;
|
287
251
|
}
|
288
|
-
|
289
252
|
get isMixedModeTab() {
|
290
253
|
return !this.icon && this._mixedMode;
|
291
254
|
}
|
292
|
-
|
293
255
|
get isTextOnlyTab() {
|
294
256
|
return !this.icon && !this._mixedMode;
|
295
257
|
}
|
296
|
-
|
297
258
|
get isIconTab() {
|
298
259
|
return !!this.icon;
|
299
260
|
}
|
300
|
-
|
301
261
|
get effectiveDisabled() {
|
302
262
|
return this.disabled || undefined;
|
303
263
|
}
|
304
|
-
|
305
264
|
get effectiveSelected() {
|
306
265
|
const subItemSelected = this.tabs.some(elem => elem.effectiveSelected);
|
307
266
|
return this.selected || this._selected || subItemSelected;
|
308
267
|
}
|
309
|
-
|
310
268
|
get effectiveHidden() {
|
311
269
|
return !this.effectiveSelected;
|
312
270
|
}
|
313
|
-
|
314
271
|
get tabs() {
|
315
272
|
return this.subTabs.filter(tab => !tab.isSeparator);
|
316
273
|
}
|
317
|
-
|
318
274
|
get ariaLabelledBy() {
|
319
275
|
const labels = [];
|
320
|
-
|
321
276
|
if (this.text) {
|
322
277
|
labels.push(`${this._id}-text`);
|
323
278
|
}
|
324
|
-
|
325
279
|
if (this.additionalText) {
|
326
280
|
labels.push(`${this._id}-additionalText`);
|
327
281
|
}
|
328
|
-
|
329
282
|
if (this.icon) {
|
330
283
|
labels.push(`${this._id}-icon`);
|
331
284
|
}
|
332
|
-
|
333
285
|
return labels.join(" ");
|
334
286
|
}
|
335
|
-
|
336
287
|
get stripClasses() {
|
337
288
|
const classes = ["ui5-tab-strip-item"];
|
338
|
-
|
339
289
|
if (this.effectiveSelected) {
|
340
290
|
classes.push("ui5-tab-strip-item--selected");
|
341
291
|
}
|
342
|
-
|
343
292
|
if (this.disabled) {
|
344
293
|
classes.push("ui5-tab-strip-item--disabled");
|
345
294
|
}
|
346
|
-
|
347
295
|
if (this._isInline) {
|
348
296
|
classes.push("ui5-tab-strip-item--inline");
|
349
297
|
}
|
350
|
-
|
351
298
|
if (this.additionalText) {
|
352
299
|
classes.push("ui5-tab-strip-item--withAddionalText");
|
353
300
|
}
|
354
|
-
|
355
301
|
if (!this.icon && !this._mixedMode) {
|
356
302
|
classes.push("ui5-tab-strip-item--textOnly");
|
357
303
|
}
|
358
|
-
|
359
304
|
if (this.icon) {
|
360
305
|
classes.push("ui5-tab-strip-item--withIcon");
|
361
306
|
}
|
362
|
-
|
363
307
|
if (!this.icon && this._mixedMode) {
|
364
308
|
classes.push("ui5-tab-strip-item--mixedMode");
|
365
309
|
}
|
366
|
-
|
367
310
|
if (this.design !== _SemanticColor.default.Default) {
|
368
311
|
classes.push(`ui5-tab-strip-item--${this.design.toLowerCase()}`);
|
369
312
|
}
|
370
|
-
|
371
313
|
if (this.isSingleClickArea) {
|
372
314
|
classes.push(`ui5-tab-strip-item--singleClickArea`);
|
373
315
|
}
|
374
|
-
|
375
316
|
return classes.join(" ");
|
376
317
|
}
|
377
|
-
|
378
318
|
get semanticIconName() {
|
379
319
|
switch (this.design) {
|
380
320
|
case _SemanticColor.default.Positive:
|
381
321
|
return "sys-enter-2";
|
382
|
-
|
383
322
|
case _SemanticColor.default.Negative:
|
384
323
|
return "error";
|
385
|
-
|
386
324
|
case _SemanticColor.default.Critical:
|
387
325
|
return "alert";
|
388
|
-
|
389
326
|
default:
|
390
327
|
return null;
|
391
328
|
}
|
392
329
|
}
|
393
|
-
|
394
330
|
get semanticIconClasses() {
|
395
331
|
const classes = ["ui5-tab-semantic-icon"];
|
396
|
-
|
397
332
|
if (this.design !== _SemanticColor.default.Default && this.design !== _SemanticColor.default.Neutral) {
|
398
333
|
classes.push(`ui5-tab-semantic-icon--${this.design.toLowerCase()}`);
|
399
334
|
}
|
400
|
-
|
401
335
|
return classes.join(" ");
|
402
336
|
}
|
403
|
-
|
404
337
|
get overflowClasses() {
|
405
338
|
const classes = ["ui5-tab-overflow-item"];
|
406
|
-
|
407
339
|
if (this.design !== _SemanticColor.default.Default && this.design !== _SemanticColor.default.Neutral) {
|
408
340
|
classes.push(`ui5-tab-overflow-item--${this.design.toLowerCase()}`);
|
409
341
|
}
|
410
|
-
|
411
342
|
if (this.effectiveDisabled) {
|
412
343
|
classes.push("ui5-tab-overflow-item--disabled");
|
413
344
|
}
|
414
|
-
|
415
345
|
if (this.selected) {
|
416
346
|
classes.push("ui5-tab-overflow-item--selectedSubTab");
|
417
347
|
}
|
418
|
-
|
419
348
|
return classes.join(" ");
|
420
349
|
}
|
421
|
-
|
422
350
|
get overflowState() {
|
423
351
|
return this.disabled || this.isSingleClickArea ? _ListItemType.default.Inactive : _ListItemType.default.Active;
|
424
352
|
}
|
425
|
-
|
426
353
|
}
|
427
|
-
|
428
354
|
Tab.define();
|
429
|
-
|
430
355
|
_TabContainer.default.registerTabStyles(_TabInStrip.default);
|
431
|
-
|
432
356
|
_TabContainer.default.registerStaticAreaTabStyles(_TabInOverflow.default);
|
433
|
-
|
434
357
|
var _default = Tab;
|
435
358
|
_exports.default = _default;
|
436
359
|
});
|