@openui5/sap.ui.webc.main 1.111.1 → 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
@@ -13,9 +13,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
13
13
|
_Icon = _interopRequireDefault(_Icon);
|
14
14
|
_ProgressIndicatorTemplate = _interopRequireDefault(_ProgressIndicatorTemplate);
|
15
15
|
_ProgressIndicator = _interopRequireDefault(_ProgressIndicator);
|
16
|
-
|
17
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
18
|
-
|
19
17
|
// Styles
|
20
18
|
|
21
19
|
/**
|
@@ -23,9 +21,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
23
21
|
*/
|
24
22
|
const metadata = {
|
25
23
|
tag: "ui5-progress-indicator",
|
26
|
-
properties:
|
27
|
-
/** @lends sap.ui.webcomponents.main.ProgressIndicator.prototype */
|
28
|
-
{
|
24
|
+
properties: /** @lends sap.ui.webcomponents.main.ProgressIndicator.prototype */{
|
29
25
|
/**
|
30
26
|
* Defines whether component is in disabled state.
|
31
27
|
*
|
@@ -36,7 +32,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
36
32
|
disabled: {
|
37
33
|
type: Boolean
|
38
34
|
},
|
39
|
-
|
40
35
|
/**
|
41
36
|
* Defines whether the component value is shown.
|
42
37
|
*
|
@@ -47,7 +42,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
47
42
|
hideValue: {
|
48
43
|
type: Boolean
|
49
44
|
},
|
50
|
-
|
51
45
|
/**
|
52
46
|
* Specifies the numerical value in percent for the length of the component.
|
53
47
|
*
|
@@ -61,7 +55,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
61
55
|
type: _Integer.default,
|
62
56
|
defaultValue: 0
|
63
57
|
},
|
64
|
-
|
65
58
|
/**
|
66
59
|
* Specifies the text value to be displayed in the bar.
|
67
60
|
*
|
@@ -77,7 +70,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
77
70
|
displayValue: {
|
78
71
|
type: String
|
79
72
|
},
|
80
|
-
|
81
73
|
/**
|
82
74
|
* Defines the value state of the component.
|
83
75
|
* <br><br>
|
@@ -99,15 +91,14 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
99
91
|
defaultValue: _ValueState.default.None
|
100
92
|
}
|
101
93
|
},
|
102
|
-
slots:
|
103
|
-
|
104
|
-
{//
|
94
|
+
slots: /** @lends sap.ui.webcomponents.main.ProgressIndicator.prototype */{
|
95
|
+
//
|
105
96
|
},
|
106
|
-
events:
|
107
|
-
|
108
|
-
{//
|
97
|
+
events: /** @lends sap.ui.webcomponents.main.ProgressIndicator.prototype */{
|
98
|
+
//
|
109
99
|
}
|
110
100
|
};
|
101
|
+
|
111
102
|
/**
|
112
103
|
* @class
|
113
104
|
*
|
@@ -130,39 +121,31 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
130
121
|
* @public
|
131
122
|
* @since 1.0.0-rc.8
|
132
123
|
*/
|
133
|
-
|
134
124
|
class ProgressIndicator extends _UI5Element.default {
|
135
125
|
static get metadata() {
|
136
126
|
return metadata;
|
137
127
|
}
|
138
|
-
|
139
128
|
static get render() {
|
140
129
|
return _LitRenderer.default;
|
141
130
|
}
|
142
|
-
|
143
131
|
static get styles() {
|
144
132
|
return _ProgressIndicator.default;
|
145
133
|
}
|
146
|
-
|
147
134
|
static get template() {
|
148
135
|
return _ProgressIndicatorTemplate.default;
|
149
136
|
}
|
150
|
-
|
151
137
|
static get dependencies() {
|
152
138
|
return [_Icon.default];
|
153
139
|
}
|
154
|
-
|
155
140
|
constructor() {
|
156
141
|
super();
|
157
142
|
this._previousValue = 0;
|
158
143
|
this._transitionDuration = 0;
|
159
144
|
}
|
160
|
-
|
161
145
|
onBeforeRendering() {
|
162
146
|
this._transitionDuration = Math.abs(this._previousValue - this.validatedValue) * 20;
|
163
147
|
this._previousValue = this.validatedValue;
|
164
148
|
}
|
165
|
-
|
166
149
|
valueStateTextMappings() {
|
167
150
|
return {
|
168
151
|
"Error": ProgressIndicator.i18nBundle.getText(_i18nDefaults.VALUE_STATE_ERROR),
|
@@ -171,7 +154,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
171
154
|
"Information": ProgressIndicator.i18nBundle.getText(_i18nDefaults.VALUE_STATE_INFORMATION)
|
172
155
|
};
|
173
156
|
}
|
174
|
-
|
175
157
|
valueStateIconMappings() {
|
176
158
|
return {
|
177
159
|
"Error": "status-negative",
|
@@ -180,7 +162,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
180
162
|
"Information": "hint"
|
181
163
|
};
|
182
164
|
}
|
183
|
-
|
184
165
|
get styles() {
|
185
166
|
return {
|
186
167
|
bar: {
|
@@ -189,7 +170,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
189
170
|
}
|
190
171
|
};
|
191
172
|
}
|
192
|
-
|
193
173
|
get classes() {
|
194
174
|
return {
|
195
175
|
root: {
|
@@ -198,51 +178,39 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
198
178
|
}
|
199
179
|
};
|
200
180
|
}
|
201
|
-
|
202
181
|
get validatedValue() {
|
203
182
|
if (this.value < 0) {
|
204
183
|
return 0;
|
205
184
|
}
|
206
|
-
|
207
185
|
if (this.value > 100) {
|
208
186
|
return 100;
|
209
187
|
}
|
210
|
-
|
211
188
|
return this.value;
|
212
189
|
}
|
213
|
-
|
214
190
|
get showValueInRemainingBar() {
|
215
191
|
return this.value <= 50;
|
216
192
|
}
|
217
|
-
|
218
193
|
get shouldAnimate() {
|
219
194
|
return (0, _AnimationMode2.getAnimationMode)() !== _AnimationMode.default.None;
|
220
195
|
}
|
221
|
-
|
222
196
|
get valueStateText() {
|
223
197
|
const percentValue = `${this.validatedValue}%`;
|
224
198
|
const valueText = this.valueStateTextMappings()[this.valueState];
|
225
199
|
return valueText ? `${percentValue} ${valueText}` : percentValue;
|
226
200
|
}
|
227
|
-
|
228
201
|
get showIcon() {
|
229
202
|
return this.valueState !== _ValueState.default.None;
|
230
203
|
}
|
231
|
-
|
232
204
|
get valueStateIcon() {
|
233
205
|
return this.valueStateIconMappings()[this.valueState];
|
234
206
|
}
|
235
|
-
|
236
207
|
get _ariaDisabled() {
|
237
208
|
return this.disabled || undefined;
|
238
209
|
}
|
239
|
-
|
240
210
|
static async onDefine() {
|
241
211
|
ProgressIndicator.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
|
242
212
|
}
|
243
|
-
|
244
213
|
}
|
245
|
-
|
246
214
|
ProgressIndicator.define();
|
247
215
|
var _default = ProgressIndicator;
|
248
216
|
_exports.default = _default;
|
@@ -13,25 +13,24 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
|
|
13
13
|
_WrappingType = _interopRequireDefault(_WrappingType);
|
14
14
|
_RadioButtonTemplate = _interopRequireDefault(_RadioButtonTemplate);
|
15
15
|
_RadioButton = _interopRequireDefault(_RadioButton);
|
16
|
-
|
17
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
18
|
-
|
19
17
|
// Template
|
18
|
+
|
20
19
|
// i18n
|
20
|
+
|
21
21
|
// Styles
|
22
|
+
|
22
23
|
let isGlobalHandlerAttached = false;
|
23
24
|
let activeRadio = null;
|
25
|
+
|
24
26
|
/**
|
25
27
|
* @public
|
26
28
|
*/
|
27
|
-
|
28
29
|
const metadata = {
|
29
30
|
tag: "ui5-radio-button",
|
30
31
|
altTag: "ui5-radiobutton",
|
31
32
|
languageAware: true,
|
32
|
-
properties:
|
33
|
-
/** @lends sap.ui.webcomponents.main.RadioButton.prototype */
|
34
|
-
{
|
33
|
+
properties: /** @lends sap.ui.webcomponents.main.RadioButton.prototype */{
|
35
34
|
/**
|
36
35
|
* Defines whether the component is disabled.
|
37
36
|
* <br><br>
|
@@ -44,7 +43,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
|
|
44
43
|
disabled: {
|
45
44
|
type: Boolean
|
46
45
|
},
|
47
|
-
|
48
46
|
/**
|
49
47
|
* Defines whether the component is read-only.
|
50
48
|
* <br><br>
|
@@ -58,7 +56,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
|
|
58
56
|
readonly: {
|
59
57
|
type: Boolean
|
60
58
|
},
|
61
|
-
|
62
59
|
/**
|
63
60
|
* Defines whether the component is checked or not.
|
64
61
|
* <br><br>
|
@@ -74,7 +71,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
|
|
74
71
|
checked: {
|
75
72
|
type: Boolean
|
76
73
|
},
|
77
|
-
|
78
74
|
/**
|
79
75
|
* Defines the text of the component.
|
80
76
|
*
|
@@ -85,7 +81,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
|
|
85
81
|
text: {
|
86
82
|
type: String
|
87
83
|
},
|
88
|
-
|
89
84
|
/**
|
90
85
|
* Defines the value state of the component.
|
91
86
|
* <br><br>
|
@@ -106,7 +101,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
|
|
106
101
|
defaultValue: _ValueState.default.None,
|
107
102
|
type: _ValueState.default
|
108
103
|
},
|
109
|
-
|
110
104
|
/**
|
111
105
|
* Defines the name of the component.
|
112
106
|
* Radio buttons with the same <code>name</code> will form a radio button group.
|
@@ -135,7 +129,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
|
|
135
129
|
name: {
|
136
130
|
type: String
|
137
131
|
},
|
138
|
-
|
139
132
|
/**
|
140
133
|
* Defines the form value of the component.
|
141
134
|
* When a form with a radio button group is submitted, the group's value
|
@@ -151,7 +144,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
|
|
151
144
|
value: {
|
152
145
|
type: String
|
153
146
|
},
|
154
|
-
|
155
147
|
/**
|
156
148
|
* Defines whether the component text wraps when there is not enough space.
|
157
149
|
* <br><br>
|
@@ -169,7 +161,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
|
|
169
161
|
type: _WrappingType.default,
|
170
162
|
defaultValue: _WrappingType.default.None
|
171
163
|
},
|
172
|
-
|
173
164
|
/**
|
174
165
|
* Defines the accessible name of the component.
|
175
166
|
*
|
@@ -181,7 +172,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
|
|
181
172
|
accessibleName: {
|
182
173
|
type: String
|
183
174
|
},
|
184
|
-
|
185
175
|
/**
|
186
176
|
* Defines the IDs of the elements that label the component.
|
187
177
|
*
|
@@ -198,7 +188,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
|
|
198
188
|
defaultValue: "-1",
|
199
189
|
noAttribute: true
|
200
190
|
},
|
201
|
-
|
202
191
|
/**
|
203
192
|
* Defines the active state (pressed or not) of the component.
|
204
193
|
* @private
|
@@ -207,9 +196,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
|
|
207
196
|
type: Boolean
|
208
197
|
}
|
209
198
|
},
|
210
|
-
slots:
|
211
|
-
/** @lends sap.ui.webcomponents.main.RadioButton.prototype */
|
212
|
-
{
|
199
|
+
slots: /** @lends sap.ui.webcomponents.main.RadioButton.prototype */{
|
213
200
|
/**
|
214
201
|
* The slot is used to render native <code>input</code> HTML element within Light DOM to enable form submit,
|
215
202
|
* when <code>name</code> property is set.
|
@@ -221,9 +208,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
|
|
221
208
|
type: HTMLElement
|
222
209
|
}
|
223
210
|
},
|
224
|
-
events:
|
225
|
-
/** @lends sap.ui.webcomponents.main.RadioButton.prototype */
|
226
|
-
{
|
211
|
+
events: /** @lends sap.ui.webcomponents.main.RadioButton.prototype */{
|
227
212
|
/**
|
228
213
|
* Fired when the component checked state changes.
|
229
214
|
*
|
@@ -234,6 +219,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
|
|
234
219
|
change: {}
|
235
220
|
}
|
236
221
|
};
|
222
|
+
|
237
223
|
/**
|
238
224
|
* @class
|
239
225
|
*
|
@@ -267,65 +253,51 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
|
|
267
253
|
* @tagname ui5-radio-button
|
268
254
|
* @public
|
269
255
|
*/
|
270
|
-
|
271
256
|
class RadioButton extends _UI5Element.default {
|
272
257
|
constructor() {
|
273
258
|
super();
|
274
|
-
|
275
259
|
this._deactivate = () => {
|
276
260
|
if (activeRadio) {
|
277
261
|
activeRadio.active = false;
|
278
262
|
}
|
279
263
|
};
|
280
|
-
|
281
264
|
if (!isGlobalHandlerAttached) {
|
282
265
|
document.addEventListener("mouseup", this._deactivate);
|
283
266
|
isGlobalHandlerAttached = true;
|
284
267
|
}
|
285
268
|
}
|
286
|
-
|
287
269
|
static get metadata() {
|
288
270
|
return metadata;
|
289
271
|
}
|
290
|
-
|
291
272
|
static get render() {
|
292
273
|
return _LitRenderer.default;
|
293
274
|
}
|
294
|
-
|
295
275
|
static get template() {
|
296
276
|
return _RadioButtonTemplate.default;
|
297
277
|
}
|
298
|
-
|
299
278
|
static get styles() {
|
300
279
|
return _RadioButton.default;
|
301
280
|
}
|
302
|
-
|
303
281
|
static get dependencies() {
|
304
282
|
return [_Label.default];
|
305
283
|
}
|
306
|
-
|
307
284
|
static async onDefine() {
|
308
285
|
RadioButton.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
|
309
286
|
}
|
310
|
-
|
311
287
|
onBeforeRendering() {
|
312
288
|
this.syncGroup();
|
313
|
-
|
314
289
|
this._enableFormSupport();
|
315
290
|
}
|
316
|
-
|
317
291
|
syncGroup() {
|
318
292
|
const oldGroup = this._name;
|
319
293
|
const currentGroup = this.name;
|
320
294
|
const oldChecked = this._checked;
|
321
295
|
const currentChecked = this.checked;
|
322
|
-
|
323
296
|
if (currentGroup !== oldGroup) {
|
324
297
|
if (oldGroup) {
|
325
298
|
// remove the control from the previous group
|
326
299
|
_RadioButtonGroup.default.removeFromGroup(this, oldGroup);
|
327
300
|
}
|
328
|
-
|
329
301
|
if (currentGroup) {
|
330
302
|
// add the control to the existing group
|
331
303
|
_RadioButtonGroup.default.addToGroup(this, currentGroup);
|
@@ -333,18 +305,14 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
|
|
333
305
|
} else if (currentGroup) {
|
334
306
|
_RadioButtonGroup.default.enforceSingleSelection(this, currentGroup);
|
335
307
|
}
|
336
|
-
|
337
308
|
if (this.name && currentChecked !== oldChecked) {
|
338
309
|
_RadioButtonGroup.default.updateTabOrder(this.name);
|
339
310
|
}
|
340
|
-
|
341
311
|
this._name = this.name;
|
342
312
|
this._checked = this.checked;
|
343
313
|
}
|
344
|
-
|
345
314
|
_enableFormSupport() {
|
346
315
|
const FormSupport = (0, _FeaturesRegistry.getFeature)("FormSupport");
|
347
|
-
|
348
316
|
if (FormSupport) {
|
349
317
|
FormSupport.syncNativeHiddenInput(this, (element, nativeInput) => {
|
350
318
|
nativeInput.disabled = element.disabled || !element.checked;
|
@@ -358,59 +326,44 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
|
|
358
326
|
_onclick() {
|
359
327
|
return this.toggle();
|
360
328
|
}
|
361
|
-
|
362
329
|
_handleDown(event) {
|
363
330
|
const currentGroup = this.name;
|
364
|
-
|
365
331
|
if (!currentGroup) {
|
366
332
|
return;
|
367
333
|
}
|
368
|
-
|
369
334
|
event.preventDefault();
|
370
|
-
|
371
335
|
_RadioButtonGroup.default.selectNextItem(this, currentGroup);
|
372
336
|
}
|
373
|
-
|
374
337
|
_handleUp(event) {
|
375
338
|
const currentGroup = this.name;
|
376
|
-
|
377
339
|
if (!currentGroup) {
|
378
340
|
return;
|
379
341
|
}
|
380
|
-
|
381
342
|
event.preventDefault();
|
382
|
-
|
383
343
|
_RadioButtonGroup.default.selectPreviousItem(this, currentGroup);
|
384
344
|
}
|
385
|
-
|
386
345
|
_onkeydown(event) {
|
387
346
|
if ((0, _Keys.isSpace)(event)) {
|
388
347
|
this.active = true;
|
389
348
|
return event.preventDefault();
|
390
349
|
}
|
391
|
-
|
392
350
|
if ((0, _Keys.isEnter)(event)) {
|
393
351
|
this.active = true;
|
394
352
|
return this.toggle();
|
395
353
|
}
|
396
|
-
|
397
354
|
if ((0, _Keys.isDown)(event) || (0, _Keys.isRight)(event)) {
|
398
355
|
this._handleDown(event);
|
399
356
|
}
|
400
|
-
|
401
357
|
if ((0, _Keys.isUp)(event) || (0, _Keys.isLeft)(event)) {
|
402
358
|
this._handleUp(event);
|
403
359
|
}
|
404
360
|
}
|
405
|
-
|
406
361
|
_onkeyup(event) {
|
407
362
|
if ((0, _Keys.isSpace)(event)) {
|
408
363
|
this.toggle();
|
409
364
|
}
|
410
|
-
|
411
365
|
this.active = false;
|
412
366
|
}
|
413
|
-
|
414
367
|
_onmousedown() {
|
415
368
|
this.active = true;
|
416
369
|
activeRadio = this; // eslint-disable-line
|
@@ -419,31 +372,24 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
|
|
419
372
|
_onmouseup() {
|
420
373
|
this.active = false;
|
421
374
|
}
|
422
|
-
|
423
375
|
_onfocusout() {
|
424
376
|
this.active = false;
|
425
377
|
}
|
426
|
-
|
427
378
|
toggle() {
|
428
379
|
if (!this.canToggle()) {
|
429
380
|
return this;
|
430
381
|
}
|
431
|
-
|
432
382
|
if (!this.name) {
|
433
383
|
this.checked = !this.checked;
|
434
384
|
this.fireEvent("change");
|
435
385
|
return this;
|
436
386
|
}
|
437
|
-
|
438
387
|
_RadioButtonGroup.default.selectItem(this, this.name);
|
439
|
-
|
440
388
|
return this;
|
441
389
|
}
|
442
|
-
|
443
390
|
canToggle() {
|
444
391
|
return !(this.disabled || this.readonly || this.checked);
|
445
392
|
}
|
446
|
-
|
447
393
|
valueStateTextMappings() {
|
448
394
|
return {
|
449
395
|
"Error": RadioButton.i18nBundle.getText(_i18nDefaults.VALUE_STATE_ERROR),
|
@@ -452,7 +398,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
|
|
452
398
|
"Information": RadioButton.i18nBundle.getText(_i18nDefaults.VALUE_STATE_INFORMATION)
|
453
399
|
};
|
454
400
|
}
|
455
|
-
|
456
401
|
get classes() {
|
457
402
|
return {
|
458
403
|
main: {},
|
@@ -461,51 +406,38 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
|
|
461
406
|
}
|
462
407
|
};
|
463
408
|
}
|
464
|
-
|
465
409
|
get ariaReadonly() {
|
466
410
|
return this.readonly ? "true" : undefined;
|
467
411
|
}
|
468
|
-
|
469
412
|
get ariaDisabled() {
|
470
413
|
return this.disabled ? "true" : undefined;
|
471
414
|
}
|
472
|
-
|
473
415
|
get ariaLabelText() {
|
474
416
|
return [(0, _AriaLabelHelper.getEffectiveAriaLabelText)(this), this.text].filter(Boolean).join(" ");
|
475
417
|
}
|
476
|
-
|
477
418
|
get ariaDescribedBy() {
|
478
419
|
return this.hasValueState ? `${this._id}-descr` : undefined;
|
479
420
|
}
|
480
|
-
|
481
421
|
get hasValueState() {
|
482
422
|
return this.valueState !== _ValueState.default.None;
|
483
423
|
}
|
484
|
-
|
485
424
|
get valueStateText() {
|
486
425
|
return this.valueStateTextMappings()[this.valueState];
|
487
426
|
}
|
488
|
-
|
489
427
|
get tabIndex() {
|
490
428
|
const tabindex = this.getAttribute("tabindex");
|
491
|
-
|
492
429
|
if (this.disabled) {
|
493
430
|
return "-1";
|
494
431
|
}
|
495
|
-
|
496
432
|
if (this.name) {
|
497
433
|
return this._tabIndex;
|
498
434
|
}
|
499
|
-
|
500
435
|
return tabindex || "0";
|
501
436
|
}
|
502
|
-
|
503
437
|
get strokeWidth() {
|
504
438
|
return this.valueState === "None" ? "1" : "2";
|
505
439
|
}
|
506
|
-
|
507
440
|
}
|
508
|
-
|
509
441
|
RadioButton.define();
|
510
442
|
var _default = RadioButton;
|
511
443
|
_exports.default = _default;
|