@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
@@ -12,10 +12,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
12
12
|
_Label = _interopRequireDefault(_Label);
|
13
13
|
_BusyIndicatorTemplate = _interopRequireDefault(_BusyIndicatorTemplate);
|
14
14
|
_BusyIndicator = _interopRequireDefault(_BusyIndicator);
|
15
|
-
|
16
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
17
|
-
|
18
16
|
// Template
|
17
|
+
|
19
18
|
// Styles
|
20
19
|
|
21
20
|
/**
|
@@ -25,9 +24,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
25
24
|
tag: "ui5-busy-indicator",
|
26
25
|
altTag: "ui5-busyindicator",
|
27
26
|
languageAware: true,
|
28
|
-
slots:
|
29
|
-
/** @lends sap.ui.webcomponents.main.BusyIndicator.prototype */
|
30
|
-
{
|
27
|
+
slots: /** @lends sap.ui.webcomponents.main.BusyIndicator.prototype */{
|
31
28
|
/**
|
32
29
|
* Determines the content over which the component will appear.
|
33
30
|
*
|
@@ -39,9 +36,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
39
36
|
type: Node
|
40
37
|
}
|
41
38
|
},
|
42
|
-
properties:
|
43
|
-
/** @lends sap.ui.webcomponents.main.BusyIndicator.prototype */
|
44
|
-
{
|
39
|
+
properties: /** @lends sap.ui.webcomponents.main.BusyIndicator.prototype */{
|
45
40
|
/**
|
46
41
|
* Defines text to be displayed below the component. It can be used to inform the user of the current operation.
|
47
42
|
* @type {string}
|
@@ -52,7 +47,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
52
47
|
text: {
|
53
48
|
type: String
|
54
49
|
},
|
55
|
-
|
56
50
|
/**
|
57
51
|
* Defines the size of the component.
|
58
52
|
*
|
@@ -73,7 +67,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
73
67
|
type: _BusyIndicatorSize.default,
|
74
68
|
defaultValue: _BusyIndicatorSize.default.Medium
|
75
69
|
},
|
76
|
-
|
77
70
|
/**
|
78
71
|
* Defines if the busy indicator is visible on the screen. By default it is not.
|
79
72
|
*
|
@@ -84,7 +77,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
84
77
|
active: {
|
85
78
|
type: Boolean
|
86
79
|
},
|
87
|
-
|
88
80
|
/**
|
89
81
|
* Defines the delay in milliseconds, after which the busy indicator will be visible on the screen.
|
90
82
|
*
|
@@ -96,7 +88,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
96
88
|
type: _Integer.default,
|
97
89
|
defaultValue: 1000
|
98
90
|
},
|
99
|
-
|
100
91
|
/**
|
101
92
|
* Defines if the component is currently in busy state.
|
102
93
|
* @private
|
@@ -106,6 +97,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
106
97
|
}
|
107
98
|
}
|
108
99
|
};
|
100
|
+
|
109
101
|
/**
|
110
102
|
* @class
|
111
103
|
*
|
@@ -149,14 +141,12 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
149
141
|
* @public
|
150
142
|
* @since 0.12.0
|
151
143
|
*/
|
152
|
-
|
153
144
|
class BusyIndicator extends _UI5Element.default {
|
154
145
|
constructor() {
|
155
146
|
super();
|
156
147
|
this._keydownHandler = this._handleKeydown.bind(this);
|
157
148
|
this._preventEventHandler = this._preventEvent.bind(this);
|
158
149
|
}
|
159
|
-
|
160
150
|
onEnterDOM() {
|
161
151
|
this.addEventListener("keydown", this._keydownHandler, {
|
162
152
|
capture: true
|
@@ -165,49 +155,38 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
165
155
|
capture: true
|
166
156
|
});
|
167
157
|
}
|
168
|
-
|
169
158
|
onExitDOM() {
|
170
159
|
if (this._busyTimeoutId) {
|
171
160
|
clearTimeout(this._busyTimeoutId);
|
172
161
|
delete this._busyTimeoutId;
|
173
162
|
}
|
174
|
-
|
175
163
|
this.removeEventListener("keydown", this._keydownHandler, true);
|
176
164
|
this.removeEventListener("keyup", this._preventEventHandler, true);
|
177
165
|
}
|
178
|
-
|
179
166
|
static get metadata() {
|
180
167
|
return metadata;
|
181
168
|
}
|
182
|
-
|
183
169
|
static get styles() {
|
184
170
|
return _BusyIndicator.default;
|
185
171
|
}
|
186
|
-
|
187
172
|
static get render() {
|
188
173
|
return _LitRenderer.default;
|
189
174
|
}
|
190
|
-
|
191
175
|
static get template() {
|
192
176
|
return _BusyIndicatorTemplate.default;
|
193
177
|
}
|
194
|
-
|
195
178
|
static get dependencies() {
|
196
179
|
return [_Label.default];
|
197
180
|
}
|
198
|
-
|
199
181
|
static async onDefine() {
|
200
182
|
BusyIndicator.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
|
201
183
|
}
|
202
|
-
|
203
184
|
get ariaTitle() {
|
204
185
|
return BusyIndicator.i18nBundle.getText(_i18nDefaults.BUSY_INDICATOR_TITLE);
|
205
186
|
}
|
206
|
-
|
207
187
|
get labelId() {
|
208
188
|
return this.text ? `${this._id}-label` : undefined;
|
209
189
|
}
|
210
|
-
|
211
190
|
get classes() {
|
212
191
|
return {
|
213
192
|
root: {
|
@@ -215,7 +194,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
215
194
|
}
|
216
195
|
};
|
217
196
|
}
|
218
|
-
|
219
197
|
onBeforeRendering() {
|
220
198
|
if (this.active) {
|
221
199
|
if (!this._isBusy && !this._busyTimeoutId) {
|
@@ -229,46 +207,39 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
229
207
|
clearTimeout(this._busyTimeoutId);
|
230
208
|
delete this._busyTimeoutId;
|
231
209
|
}
|
232
|
-
|
233
210
|
this._isBusy = false;
|
234
211
|
}
|
235
212
|
}
|
236
|
-
|
237
213
|
_handleKeydown(event) {
|
238
214
|
if (!this._isBusy) {
|
239
215
|
return;
|
240
216
|
}
|
217
|
+
event.stopImmediatePropagation();
|
241
218
|
|
242
|
-
|
243
|
-
|
219
|
+
// move the focus to the last element in this DOM and let TAB continue to the next focusable element
|
244
220
|
if ((0, _Keys.isTabNext)(event)) {
|
245
221
|
this.focusForward = true;
|
246
222
|
this.shadowRoot.querySelector("[data-ui5-focus-redirect]").focus();
|
247
223
|
this.focusForward = false;
|
248
224
|
}
|
249
225
|
}
|
250
|
-
|
251
226
|
_preventEvent(event) {
|
252
227
|
if (this._isBusy) {
|
253
228
|
event.stopImmediatePropagation();
|
254
229
|
}
|
255
230
|
}
|
231
|
+
|
256
232
|
/**
|
257
233
|
* Moves the focus to busy area when coming with SHIFT + TAB
|
258
234
|
*/
|
259
|
-
|
260
|
-
|
261
235
|
_redirectFocus(event) {
|
262
236
|
if (this.focusForward) {
|
263
237
|
return;
|
264
238
|
}
|
265
|
-
|
266
239
|
event.preventDefault();
|
267
240
|
this.shadowRoot.querySelector(".ui5-busy-indicator-busy-area").focus();
|
268
241
|
}
|
269
|
-
|
270
242
|
}
|
271
|
-
|
272
243
|
BusyIndicator.define();
|
273
244
|
var _default = BusyIndicator;
|
274
245
|
_exports.default = _default;
|
@@ -12,22 +12,19 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
12
12
|
_ButtonTemplate = _interopRequireDefault(_ButtonTemplate);
|
13
13
|
_Icon = _interopRequireDefault(_Icon);
|
14
14
|
_Button = _interopRequireDefault(_Button);
|
15
|
-
|
16
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
17
|
-
|
18
16
|
// Styles
|
17
|
+
|
19
18
|
let isGlobalHandlerAttached = false;
|
20
19
|
let activeButton = null;
|
20
|
+
|
21
21
|
/**
|
22
22
|
* @public
|
23
23
|
*/
|
24
|
-
|
25
24
|
const metadata = {
|
26
25
|
tag: "ui5-button",
|
27
26
|
languageAware: true,
|
28
|
-
properties:
|
29
|
-
/** @lends sap.ui.webcomponents.main.Button.prototype */
|
30
|
-
{
|
27
|
+
properties: /** @lends sap.ui.webcomponents.main.Button.prototype */{
|
31
28
|
/**
|
32
29
|
* Defines the component design.
|
33
30
|
*
|
@@ -51,7 +48,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
51
48
|
type: _ButtonDesign.default,
|
52
49
|
defaultValue: _ButtonDesign.default.Default
|
53
50
|
},
|
54
|
-
|
55
51
|
/**
|
56
52
|
* Defines whether the component is disabled.
|
57
53
|
* A disabled component can't be pressed or
|
@@ -64,7 +60,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
64
60
|
disabled: {
|
65
61
|
type: Boolean
|
66
62
|
},
|
67
|
-
|
68
63
|
/**
|
69
64
|
* Defines the icon, displayed as graphical element within the component.
|
70
65
|
* The SAP-icons font provides numerous options.
|
@@ -80,7 +75,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
80
75
|
icon: {
|
81
76
|
type: String
|
82
77
|
},
|
83
|
-
|
84
78
|
/**
|
85
79
|
* Defines whether the icon should be displayed after the component text.
|
86
80
|
*
|
@@ -91,7 +85,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
91
85
|
iconEnd: {
|
92
86
|
type: Boolean
|
93
87
|
},
|
94
|
-
|
95
88
|
/**
|
96
89
|
* When set to <code>true</code>, the component will
|
97
90
|
* automatically submit the nearest HTML form element on <code>press</code>.
|
@@ -106,7 +99,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
106
99
|
submits: {
|
107
100
|
type: Boolean
|
108
101
|
},
|
109
|
-
|
110
102
|
/**
|
111
103
|
* Defines the tooltip of the component.
|
112
104
|
* <br>
|
@@ -119,7 +111,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
119
111
|
tooltip: {
|
120
112
|
type: String
|
121
113
|
},
|
122
|
-
|
123
114
|
/**
|
124
115
|
* Used to switch the active state (pressed or not) of the component.
|
125
116
|
* @private
|
@@ -127,7 +118,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
127
118
|
active: {
|
128
119
|
type: Boolean
|
129
120
|
},
|
130
|
-
|
131
121
|
/**
|
132
122
|
* Defines if a content has been added to the default slot
|
133
123
|
* @private
|
@@ -135,7 +125,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
135
125
|
iconOnly: {
|
136
126
|
type: Boolean
|
137
127
|
},
|
138
|
-
|
139
128
|
/**
|
140
129
|
* Indicates if the elements is on focus
|
141
130
|
* @private
|
@@ -143,7 +132,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
143
132
|
focused: {
|
144
133
|
type: Boolean
|
145
134
|
},
|
146
|
-
|
147
135
|
/**
|
148
136
|
* Indicates if the elements has a slotted icon
|
149
137
|
* @private
|
@@ -151,7 +139,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
151
139
|
hasIcon: {
|
152
140
|
type: Boolean
|
153
141
|
},
|
154
|
-
|
155
142
|
/**
|
156
143
|
* Defines the accessible aria name of the component.
|
157
144
|
*
|
@@ -164,7 +151,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
164
151
|
type: String,
|
165
152
|
defaultValue: undefined
|
166
153
|
},
|
167
|
-
|
168
154
|
/**
|
169
155
|
* Receives id(or many ids) of the elements that label the component.
|
170
156
|
*
|
@@ -177,7 +163,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
177
163
|
type: String,
|
178
164
|
defaultValue: ""
|
179
165
|
},
|
180
|
-
|
181
166
|
/**
|
182
167
|
* An object of strings that defines several additional accessibility attribute values
|
183
168
|
* for customization depending on the use case.
|
@@ -209,7 +194,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
209
194
|
accessibilityAttributes: {
|
210
195
|
type: Object
|
211
196
|
},
|
212
|
-
|
213
197
|
/**
|
214
198
|
* Indicates if the element if focusable
|
215
199
|
* @private
|
@@ -220,7 +204,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
220
204
|
_iconSettings: {
|
221
205
|
type: Object
|
222
206
|
},
|
223
|
-
|
224
207
|
/**
|
225
208
|
* Defines the tabIndex of the component.
|
226
209
|
* @private
|
@@ -230,7 +213,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
230
213
|
defaultValue: "0",
|
231
214
|
noAttribute: true
|
232
215
|
},
|
233
|
-
|
234
216
|
/**
|
235
217
|
* @since 1.0.0-rc.13
|
236
218
|
* @private
|
@@ -240,9 +222,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
240
222
|
}
|
241
223
|
},
|
242
224
|
managedSlots: true,
|
243
|
-
slots:
|
244
|
-
/** @lends sap.ui.webcomponents.main.Button.prototype */
|
245
|
-
{
|
225
|
+
slots: /** @lends sap.ui.webcomponents.main.Button.prototype */{
|
246
226
|
/**
|
247
227
|
* Defines the text of the component.
|
248
228
|
* <br><br>
|
@@ -256,9 +236,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
256
236
|
type: Node
|
257
237
|
}
|
258
238
|
},
|
259
|
-
events:
|
260
|
-
/** @lends sap.ui.webcomponents.main.Button.prototype */
|
261
|
-
{
|
239
|
+
events: /** @lends sap.ui.webcomponents.main.Button.prototype */{
|
262
240
|
/**
|
263
241
|
* Fired when the component is activated either with a
|
264
242
|
* mouse/tap or by using the Enter or Space key.
|
@@ -273,6 +251,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
273
251
|
click: {}
|
274
252
|
}
|
275
253
|
};
|
254
|
+
|
276
255
|
/**
|
277
256
|
* @class
|
278
257
|
*
|
@@ -317,65 +296,50 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
317
296
|
* @implements sap.ui.webcomponents.main.IButton
|
318
297
|
* @public
|
319
298
|
*/
|
320
|
-
|
321
299
|
class Button extends _UI5Element.default {
|
322
300
|
static get metadata() {
|
323
301
|
return metadata;
|
324
302
|
}
|
325
|
-
|
326
303
|
static get styles() {
|
327
304
|
return _Button.default;
|
328
305
|
}
|
329
|
-
|
330
306
|
static get render() {
|
331
307
|
return _LitRenderer.default;
|
332
308
|
}
|
333
|
-
|
334
309
|
static get template() {
|
335
310
|
return _ButtonTemplate.default;
|
336
311
|
}
|
337
|
-
|
338
312
|
static get dependencies() {
|
339
313
|
return [_Icon.default];
|
340
314
|
}
|
341
|
-
|
342
315
|
constructor() {
|
343
316
|
super();
|
344
|
-
|
345
317
|
this._deactivate = () => {
|
346
318
|
if (activeButton) {
|
347
319
|
activeButton.active = false;
|
348
320
|
}
|
349
321
|
};
|
350
|
-
|
351
322
|
if (!isGlobalHandlerAttached) {
|
352
323
|
document.addEventListener("mouseup", this._deactivate);
|
353
324
|
isGlobalHandlerAttached = true;
|
354
325
|
}
|
355
|
-
|
356
326
|
const handleTouchStartEvent = event => {
|
357
327
|
event.isMarked = "button";
|
358
|
-
|
359
328
|
if (this.nonInteractive) {
|
360
329
|
return;
|
361
330
|
}
|
362
|
-
|
363
331
|
this.active = true;
|
364
332
|
};
|
365
|
-
|
366
333
|
this._ontouchstart = {
|
367
334
|
handleEvent: handleTouchStartEvent,
|
368
335
|
passive: true
|
369
336
|
};
|
370
337
|
}
|
371
|
-
|
372
338
|
onEnterDOM() {
|
373
339
|
this._isTouch = ((0, _Device.isPhone)() || (0, _Device.isTablet)()) && !(0, _Device.isCombi)();
|
374
340
|
}
|
375
|
-
|
376
341
|
onBeforeRendering() {
|
377
342
|
const FormSupport = (0, _FeaturesRegistry.getFeature)("FormSupport");
|
378
|
-
|
379
343
|
if (this.submits && !FormSupport) {
|
380
344
|
console.warn(`In order for the "submits" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";`); // eslint-disable-line
|
381
345
|
}
|
@@ -383,29 +347,23 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
383
347
|
this.iconOnly = this.isIconOnly;
|
384
348
|
this.hasIcon = !!this.icon;
|
385
349
|
}
|
386
|
-
|
387
350
|
_onclick(event) {
|
388
351
|
if (this.nonInteractive) {
|
389
352
|
return;
|
390
353
|
}
|
391
|
-
|
392
354
|
event.isMarked = "button";
|
393
355
|
const FormSupport = (0, _FeaturesRegistry.getFeature)("FormSupport");
|
394
|
-
|
395
356
|
if (FormSupport && this.submits) {
|
396
357
|
FormSupport.triggerFormSubmit(this);
|
397
358
|
}
|
398
|
-
|
399
359
|
if ((0, _Device.isSafari)()) {
|
400
360
|
this.getDomRef().focus();
|
401
361
|
}
|
402
362
|
}
|
403
|
-
|
404
363
|
_onmousedown(event) {
|
405
364
|
if (this.nonInteractive || this._isTouch) {
|
406
365
|
return;
|
407
366
|
}
|
408
|
-
|
409
367
|
event.isMarked = "button";
|
410
368
|
this.active = true;
|
411
369
|
activeButton = this; // eslint-disable-line
|
@@ -413,70 +371,54 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
413
371
|
|
414
372
|
_ontouchend(event) {
|
415
373
|
this.active = false;
|
416
|
-
|
417
374
|
if (activeButton) {
|
418
375
|
activeButton.active = false;
|
419
376
|
}
|
420
377
|
}
|
421
|
-
|
422
378
|
_onmouseup(event) {
|
423
379
|
event.isMarked = "button";
|
424
380
|
}
|
425
|
-
|
426
381
|
_onkeydown(event) {
|
427
382
|
event.isMarked = "button";
|
428
|
-
|
429
383
|
if ((0, _Keys.isSpace)(event) || (0, _Keys.isEnter)(event)) {
|
430
384
|
this.active = true;
|
431
385
|
}
|
432
386
|
}
|
433
|
-
|
434
387
|
_onkeyup(event) {
|
435
388
|
if ((0, _Keys.isSpace)(event) || (0, _Keys.isEnter)(event)) {
|
436
389
|
this.active = false;
|
437
390
|
}
|
438
391
|
}
|
439
|
-
|
440
392
|
_onfocusout(_event) {
|
441
393
|
if (this.nonInteractive) {
|
442
394
|
return;
|
443
395
|
}
|
444
|
-
|
445
396
|
this.active = false;
|
446
|
-
|
447
397
|
if ((0, _Device.isDesktop)()) {
|
448
398
|
this.focused = false;
|
449
399
|
}
|
450
400
|
}
|
451
|
-
|
452
401
|
_onfocusin(event) {
|
453
402
|
if (this.nonInteractive) {
|
454
403
|
return;
|
455
404
|
}
|
456
|
-
|
457
405
|
event.isMarked = "button";
|
458
|
-
|
459
406
|
if ((0, _Device.isDesktop)()) {
|
460
407
|
this.focused = true;
|
461
408
|
}
|
462
409
|
}
|
463
|
-
|
464
410
|
get hasButtonType() {
|
465
411
|
return this.design !== _ButtonDesign.default.Default && this.design !== _ButtonDesign.default.Transparent;
|
466
412
|
}
|
467
|
-
|
468
413
|
get iconRole() {
|
469
414
|
if (!this.icon) {
|
470
415
|
return "";
|
471
416
|
}
|
472
|
-
|
473
417
|
return this.isIconOnly ? "img" : "presentation";
|
474
418
|
}
|
475
|
-
|
476
419
|
get isIconOnly() {
|
477
420
|
return !(0, _isDefaultSlotProvided.default)(this);
|
478
421
|
}
|
479
|
-
|
480
422
|
static typeTextMappings() {
|
481
423
|
return {
|
482
424
|
"Positive": _i18nDefaults.BUTTON_ARIA_TYPE_ACCEPT,
|
@@ -484,35 +426,26 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
484
426
|
"Emphasized": _i18nDefaults.BUTTON_ARIA_TYPE_EMPHASIZED
|
485
427
|
};
|
486
428
|
}
|
487
|
-
|
488
429
|
get buttonTypeText() {
|
489
430
|
return Button.i18nBundle.getText(Button.typeTextMappings()[this.design]);
|
490
431
|
}
|
491
|
-
|
492
432
|
get tabIndexValue() {
|
493
433
|
const tabindex = this.getAttribute("tabindex");
|
494
|
-
|
495
434
|
if (tabindex) {
|
496
435
|
return tabindex;
|
497
436
|
}
|
498
|
-
|
499
437
|
return this.nonInteractive ? "-1" : this._tabIndex;
|
500
438
|
}
|
501
|
-
|
502
439
|
get showIconTooltip() {
|
503
440
|
return this.iconOnly && !this.tooltip;
|
504
441
|
}
|
505
|
-
|
506
442
|
get ariaLabelText() {
|
507
443
|
return (0, _AriaLabelHelper.getEffectiveAriaLabelText)(this);
|
508
444
|
}
|
509
|
-
|
510
445
|
static async onDefine() {
|
511
446
|
Button.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
|
512
447
|
}
|
513
|
-
|
514
448
|
}
|
515
|
-
|
516
449
|
Button.define();
|
517
450
|
var _default = Button;
|
518
451
|
_exports.default = _default;
|