@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
@@ -15,9 +15,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
15
15
|
_Input = _interopRequireDefault(_Input);
|
16
16
|
_InputType = _interopRequireDefault(_InputType);
|
17
17
|
_StepInput = _interopRequireDefault(_StepInput);
|
18
|
-
|
19
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
20
|
-
|
21
19
|
// Styles
|
22
20
|
|
23
21
|
/**
|
@@ -26,9 +24,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
26
24
|
const metadata = {
|
27
25
|
tag: "ui5-step-input",
|
28
26
|
managedSlots: true,
|
29
|
-
properties:
|
30
|
-
/** @lends sap.ui.webcomponents.main.StepInput.prototype */
|
31
|
-
{
|
27
|
+
properties: /** @lends sap.ui.webcomponents.main.StepInput.prototype */{
|
32
28
|
/**
|
33
29
|
* Defines a value of the component.
|
34
30
|
*
|
@@ -40,7 +36,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
40
36
|
type: _Float.default,
|
41
37
|
defaultValue: 0
|
42
38
|
},
|
43
|
-
|
44
39
|
/**
|
45
40
|
* Defines a minimum value of the component.
|
46
41
|
*
|
@@ -50,7 +45,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
50
45
|
min: {
|
51
46
|
type: _Float.default
|
52
47
|
},
|
53
|
-
|
54
48
|
/**
|
55
49
|
* Defines a maximum value of the component.
|
56
50
|
*
|
@@ -60,7 +54,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
60
54
|
max: {
|
61
55
|
type: _Float.default
|
62
56
|
},
|
63
|
-
|
64
57
|
/**
|
65
58
|
* Defines a step of increasing/decreasing the value of the component.
|
66
59
|
*
|
@@ -72,7 +65,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
72
65
|
type: _Float.default,
|
73
66
|
defaultValue: 1
|
74
67
|
},
|
75
|
-
|
76
68
|
/**
|
77
69
|
* Defines the value state of the component.
|
78
70
|
* <br><br>
|
@@ -93,7 +85,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
93
85
|
type: _ValueState.default,
|
94
86
|
defaultValue: _ValueState.default.None
|
95
87
|
},
|
96
|
-
|
97
88
|
/**
|
98
89
|
* Defines whether the component is required.
|
99
90
|
*
|
@@ -104,7 +95,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
104
95
|
required: {
|
105
96
|
type: Boolean
|
106
97
|
},
|
107
|
-
|
108
98
|
/**
|
109
99
|
* Determines whether the component is displayed as disabled.
|
110
100
|
*
|
@@ -115,7 +105,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
115
105
|
disabled: {
|
116
106
|
type: Boolean
|
117
107
|
},
|
118
|
-
|
119
108
|
/**
|
120
109
|
* Determines whether the component is displayed as read-only.
|
121
110
|
*
|
@@ -126,7 +115,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
126
115
|
readonly: {
|
127
116
|
type: Boolean
|
128
117
|
},
|
129
|
-
|
130
118
|
/**
|
131
119
|
* Defines a short hint, intended to aid the user with data entry when the
|
132
120
|
* component has no value.
|
@@ -143,7 +131,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
143
131
|
type: String,
|
144
132
|
defaultValue: undefined
|
145
133
|
},
|
146
|
-
|
147
134
|
/**
|
148
135
|
* Determines the name with which the component will be submitted in an HTML form.
|
149
136
|
*
|
@@ -163,7 +150,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
163
150
|
name: {
|
164
151
|
type: String
|
165
152
|
},
|
166
|
-
|
167
153
|
/**
|
168
154
|
* Determines the number of digits after the decimal point of the component.
|
169
155
|
*
|
@@ -175,7 +161,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
175
161
|
type: _Integer.default,
|
176
162
|
defaultValue: 0
|
177
163
|
},
|
178
|
-
|
179
164
|
/**
|
180
165
|
* Defines the accessible aria name of the component.
|
181
166
|
*
|
@@ -186,7 +171,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
186
171
|
accessibleName: {
|
187
172
|
type: String
|
188
173
|
},
|
189
|
-
|
190
174
|
/**
|
191
175
|
* Receives id(or many ids) of the elements that label the component.
|
192
176
|
*
|
@@ -207,7 +191,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
207
191
|
type: Boolean,
|
208
192
|
noAttribute: true
|
209
193
|
},
|
210
|
-
|
211
194
|
/**
|
212
195
|
* @type {boolean}
|
213
196
|
* @private
|
@@ -249,9 +232,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
249
232
|
noAttribute: true
|
250
233
|
}
|
251
234
|
},
|
252
|
-
slots:
|
253
|
-
/** @lends sap.ui.webcomponents.main.StepInput.prototype */
|
254
|
-
{
|
235
|
+
slots: /** @lends sap.ui.webcomponents.main.StepInput.prototype */{
|
255
236
|
/**
|
256
237
|
* Defines the value state message that will be displayed as pop up under the component.
|
257
238
|
* <br><br>
|
@@ -267,7 +248,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
267
248
|
valueStateMessage: {
|
268
249
|
type: HTMLElement
|
269
250
|
},
|
270
|
-
|
271
251
|
/**
|
272
252
|
* The slot is used to render native <code>input</code> HTML element within Light DOM to enable form submit,
|
273
253
|
* when <code>name</code> property is set.
|
@@ -279,9 +259,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
279
259
|
type: HTMLElement
|
280
260
|
}
|
281
261
|
},
|
282
|
-
events:
|
283
|
-
/** @lends sap.ui.webcomponents.main.StepInput.prototype */
|
284
|
-
{
|
262
|
+
events: /** @lends sap.ui.webcomponents.main.StepInput.prototype */{
|
285
263
|
/**
|
286
264
|
* Fired when the input operation has finished by pressing Enter or on focusout.
|
287
265
|
*
|
@@ -290,13 +268,12 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
290
268
|
*/
|
291
269
|
change: {}
|
292
270
|
}
|
293
|
-
};
|
271
|
+
};
|
294
272
|
|
273
|
+
// Spin variables
|
295
274
|
const INITIAL_WAIT_TIMEOUT = 500; // milliseconds
|
296
|
-
|
297
275
|
const ACCELERATION = 0.8;
|
298
276
|
const MIN_WAIT_TIMEOUT = 50; // milliseconds
|
299
|
-
|
300
277
|
const INITIAL_SPEED = 120; // milliseconds
|
301
278
|
|
302
279
|
/**
|
@@ -346,80 +323,64 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
346
323
|
* @since 1.0.0-rc.13
|
347
324
|
* @public
|
348
325
|
*/
|
349
|
-
|
350
326
|
class StepInput extends _UI5Element.default {
|
351
327
|
constructor() {
|
352
328
|
super();
|
353
329
|
}
|
354
|
-
|
355
330
|
static get metadata() {
|
356
331
|
return metadata;
|
357
332
|
}
|
358
|
-
|
359
333
|
static get render() {
|
360
334
|
return _LitRenderer.default;
|
361
335
|
}
|
362
|
-
|
363
336
|
static get styles() {
|
364
337
|
return _StepInput.default;
|
365
338
|
}
|
366
|
-
|
367
339
|
static get template() {
|
368
340
|
return _StepInputTemplate.default;
|
369
341
|
}
|
370
|
-
|
371
342
|
static get dependencies() {
|
372
343
|
return [_Icon.default, _Input.default];
|
373
344
|
}
|
374
|
-
|
375
345
|
static async onDefine() {
|
376
346
|
StepInput.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
|
377
347
|
}
|
378
|
-
|
379
348
|
get type() {
|
380
349
|
return _InputType.default.Number;
|
381
|
-
}
|
350
|
+
}
|
382
351
|
|
352
|
+
// icons-related
|
383
353
|
|
384
354
|
get decIconTitle() {
|
385
355
|
return StepInput.i18nBundle.getText(_i18nDefaults.STEPINPUT_DEC_ICON_TITLE);
|
386
356
|
}
|
387
|
-
|
388
357
|
get decIconName() {
|
389
358
|
return "less";
|
390
359
|
}
|
391
|
-
|
392
360
|
get incIconTitle() {
|
393
361
|
return StepInput.i18nBundle.getText(_i18nDefaults.STEPINPUT_INC_ICON_TITLE);
|
394
362
|
}
|
395
|
-
|
396
363
|
get incIconName() {
|
397
364
|
return "add";
|
398
365
|
}
|
399
|
-
|
400
366
|
get _decIconClickable() {
|
401
367
|
return !this._decIconDisabled && !this.readonly && !this.disabled;
|
402
368
|
}
|
403
|
-
|
404
369
|
get _incIconClickable() {
|
405
370
|
return !this._incIconDisabled && !this.readonly && !this.disabled;
|
406
371
|
}
|
407
|
-
|
408
372
|
get _isFocused() {
|
409
373
|
return this.focused;
|
410
374
|
}
|
411
|
-
|
412
375
|
get _valuePrecisioned() {
|
413
376
|
return this.value.toFixed(this.valuePrecision);
|
414
377
|
}
|
415
|
-
|
416
378
|
get accInfo() {
|
417
379
|
return {
|
418
380
|
"ariaRequired": this.required,
|
419
381
|
"ariaLabel": (0, _AriaLabelHelper.getEffectiveAriaLabelText)(this)
|
420
382
|
};
|
421
383
|
}
|
422
|
-
|
423
384
|
get inputAttributes() {
|
424
385
|
return {
|
425
386
|
min: this.min === undefined ? undefined : this.min,
|
@@ -427,16 +388,12 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
427
388
|
step: this.step
|
428
389
|
};
|
429
390
|
}
|
430
|
-
|
431
391
|
onBeforeRendering() {
|
432
392
|
this._setButtonState();
|
433
|
-
|
434
393
|
if (this._previousValue === undefined) {
|
435
394
|
this._previousValue = this.value;
|
436
395
|
}
|
437
|
-
|
438
396
|
const FormSupport = (0, _FeaturesRegistry.getFeature)("FormSupport");
|
439
|
-
|
440
397
|
if (FormSupport) {
|
441
398
|
FormSupport.syncNativeHiddenInput(this);
|
442
399
|
} else if (this.name) {
|
@@ -447,11 +404,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
447
404
|
get input() {
|
448
405
|
return this.shadowRoot.querySelector("[ui5-input]");
|
449
406
|
}
|
450
|
-
|
451
407
|
get inputOuter() {
|
452
408
|
return this.shadowRoot.querySelector(".ui5-step-input-input");
|
453
409
|
}
|
454
|
-
|
455
410
|
_onButtonFocusOut() {
|
456
411
|
setTimeout(() => {
|
457
412
|
if (!this._inputFocused) {
|
@@ -459,35 +414,27 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
459
414
|
}
|
460
415
|
}, 0);
|
461
416
|
}
|
462
|
-
|
463
417
|
_onInputFocusIn() {
|
464
418
|
this._inputFocused = true;
|
465
419
|
}
|
466
|
-
|
467
420
|
_onInputFocusOut() {
|
468
421
|
this._inputFocused = false;
|
469
|
-
|
470
422
|
this._onInputChange();
|
471
423
|
}
|
472
|
-
|
473
424
|
_setButtonState() {
|
474
425
|
this._decIconDisabled = this.min !== undefined && this.value <= this.min;
|
475
426
|
this._incIconDisabled = this.max !== undefined && this.value >= this.max;
|
476
427
|
}
|
477
|
-
|
478
428
|
_validate() {
|
479
429
|
if (this._previousValueState === "") {
|
480
430
|
this._previousValueState = this.valueState !== "" ? this.valueState : _ValueState.default.None;
|
481
431
|
}
|
482
|
-
|
483
432
|
this.valueState = this.min !== undefined && this.value < this.min || this.max !== undefined && this.value > this.max ? _ValueState.default.Error : this._previousValueState;
|
484
433
|
}
|
485
|
-
|
486
434
|
_preciseValue(value) {
|
487
435
|
const pow = 10 ** this.valuePrecision;
|
488
436
|
return Math.round(value * pow) / pow;
|
489
437
|
}
|
490
|
-
|
491
438
|
_fireChangeEvent() {
|
492
439
|
if (this._previousValue !== this.value) {
|
493
440
|
this._previousValue = this.value;
|
@@ -496,6 +443,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
496
443
|
});
|
497
444
|
}
|
498
445
|
}
|
446
|
+
|
499
447
|
/**
|
500
448
|
* Value modifier - modifies the value of the component, validates the new value and enables/disables increment and
|
501
449
|
* decrement buttons according to the value and min/max values (if set). Fires <code>change</code> event when requested
|
@@ -503,33 +451,23 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
503
451
|
* @param {Float} modifier modifies the value of the component with the given modifier (positive or negative)
|
504
452
|
* @param {boolean} fireChangeEvent if <code>true</code>, fires <code>change</code> event when the value is changed
|
505
453
|
*/
|
506
|
-
|
507
|
-
|
508
454
|
_modifyValue(modifier, fireChangeEvent) {
|
509
455
|
let value;
|
510
456
|
this.value = this._preciseValue(parseFloat(this.input.value));
|
511
457
|
value = this.value + modifier;
|
512
|
-
|
513
458
|
if (this.min !== undefined && value < this.min) {
|
514
459
|
value = this.min;
|
515
460
|
}
|
516
|
-
|
517
461
|
if (this.max !== undefined && value > this.max) {
|
518
462
|
value = this.max;
|
519
463
|
}
|
520
|
-
|
521
464
|
value = this._preciseValue(value);
|
522
|
-
|
523
465
|
if (value !== this.value) {
|
524
466
|
this.value = value;
|
525
|
-
|
526
467
|
this._validate();
|
527
|
-
|
528
468
|
this._setButtonState();
|
529
|
-
|
530
469
|
this.focused = true;
|
531
470
|
this.inputOuter.setAttribute("focused", "");
|
532
|
-
|
533
471
|
if (fireChangeEvent) {
|
534
472
|
this._fireChangeEvent();
|
535
473
|
} else {
|
@@ -537,62 +475,45 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
537
475
|
}
|
538
476
|
}
|
539
477
|
}
|
540
|
-
|
541
478
|
_incValue(event) {
|
542
479
|
if (this._incIconClickable && event.isTrusted && !this.disabled && !this.readonly) {
|
543
480
|
this._modifyValue(this.step, true);
|
544
|
-
|
545
481
|
this._previousValue = this.value;
|
546
482
|
}
|
547
483
|
}
|
548
|
-
|
549
484
|
_decValue(event) {
|
550
485
|
if (this._decIconClickable && event.isTrusted && !this.disabled && !this.readonly) {
|
551
486
|
this._modifyValue(-this.step, true);
|
552
|
-
|
553
487
|
this._previousValue = this.value;
|
554
488
|
}
|
555
489
|
}
|
556
|
-
|
557
490
|
_onInputChange(event) {
|
558
491
|
if (this.input.value === "") {
|
559
492
|
this.input.value = this.min || 0;
|
560
493
|
}
|
561
|
-
|
562
494
|
const inputValue = this._preciseValue(parseFloat(this.input.value));
|
563
|
-
|
564
495
|
if (this.value !== this._previousValue || this.value !== inputValue) {
|
565
496
|
this.value = inputValue;
|
566
|
-
|
567
497
|
this._validate();
|
568
|
-
|
569
498
|
this._setButtonState();
|
570
|
-
|
571
499
|
this._fireChangeEvent();
|
572
500
|
}
|
573
501
|
}
|
574
|
-
|
575
502
|
_onfocusin() {
|
576
503
|
this.focused = true;
|
577
504
|
}
|
578
|
-
|
579
505
|
_onfocusout() {
|
580
506
|
this.focused = false;
|
581
507
|
}
|
582
|
-
|
583
508
|
_onkeydown(event) {
|
584
509
|
let preventDefault = true;
|
585
|
-
|
586
510
|
if (this.disabled || this.readonly) {
|
587
511
|
return;
|
588
512
|
}
|
589
|
-
|
590
513
|
if ((0, _Keys.isEnter)(event)) {
|
591
514
|
this._onInputChange();
|
592
|
-
|
593
515
|
return;
|
594
516
|
}
|
595
|
-
|
596
517
|
if ((0, _Keys.isUp)(event)) {
|
597
518
|
// step up
|
598
519
|
this._modifyValue(this.step);
|
@@ -612,90 +533,75 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
612
533
|
} else if (!(0, _Keys.isUpCtrl)(event) && !(0, _Keys.isDownCtrl)(event) && !(0, _Keys.isUpShift)(event) && !(0, _Keys.isDownShift)(event)) {
|
613
534
|
preventDefault = false;
|
614
535
|
}
|
615
|
-
|
616
536
|
if (preventDefault) {
|
617
537
|
event.preventDefault();
|
618
538
|
}
|
619
539
|
}
|
620
|
-
|
621
540
|
_decSpin() {
|
622
541
|
if (!this._decIconDisabled) {
|
623
542
|
this._spinValue(false, true);
|
624
543
|
}
|
625
544
|
}
|
626
|
-
|
627
545
|
_incSpin() {
|
628
546
|
if (!this._incIconDisabled) {
|
629
547
|
this._spinValue(true, true);
|
630
548
|
}
|
631
549
|
}
|
550
|
+
|
632
551
|
/**
|
633
552
|
* Calculates the time which should be waited until _spinValue function is called.
|
634
553
|
*/
|
635
|
-
|
636
|
-
|
637
554
|
_calcWaitTimeout() {
|
638
555
|
this._speed *= ACCELERATION;
|
639
556
|
this._waitTimeout = this._waitTimeout - this._speed < MIN_WAIT_TIMEOUT ? MIN_WAIT_TIMEOUT : this._waitTimeout - this._speed;
|
640
557
|
return this._waitTimeout;
|
641
558
|
}
|
559
|
+
|
642
560
|
/**
|
643
561
|
* Called when the increment or decrement button is pressed and held to set new value.
|
644
562
|
* @param {boolean} increment - is this the increment button or not so the values should be spin accordingly up or down
|
645
563
|
* @param {boolean} resetVariables - whether to reset the spin-related variables or not
|
646
564
|
*/
|
647
|
-
|
648
|
-
|
649
565
|
_spinValue(increment, resetVariables) {
|
650
566
|
if (resetVariables) {
|
651
567
|
this._waitTimeout = INITIAL_WAIT_TIMEOUT;
|
652
568
|
this._speed = INITIAL_SPEED;
|
653
569
|
this._btnDown = true;
|
654
570
|
}
|
655
|
-
|
656
571
|
this._spinTimeoutId = setTimeout(() => {
|
657
572
|
if (this._btnDown) {
|
658
573
|
this._spinStarted = true;
|
659
|
-
|
660
574
|
this._modifyValue(increment ? this.step : -this.step);
|
661
|
-
|
662
575
|
this._setButtonState();
|
663
|
-
|
664
576
|
if (!this._incIconDisabled && increment || !this._decIconDisabled && !increment) {
|
665
577
|
this._spinValue(increment);
|
666
578
|
} else {
|
667
579
|
this._resetSpin();
|
668
|
-
|
669
580
|
this._fireChangeEvent();
|
670
581
|
}
|
671
582
|
}
|
672
583
|
}, this._calcWaitTimeout());
|
673
584
|
}
|
585
|
+
|
674
586
|
/**
|
675
587
|
* Resets spin process
|
676
588
|
*/
|
677
|
-
|
678
|
-
|
679
589
|
_resetSpin() {
|
680
590
|
clearTimeout(this._spinTimeoutId);
|
681
591
|
this._btnDown = false;
|
682
592
|
this._spinStarted = false;
|
683
593
|
}
|
594
|
+
|
684
595
|
/**
|
685
596
|
* Resets spin process when mouse outs + or - buttons
|
686
597
|
*/
|
687
|
-
|
688
|
-
|
689
598
|
_resetSpinOut() {
|
690
599
|
if (this._btnDown) {
|
691
600
|
this._resetSpin();
|
692
|
-
|
693
601
|
this._fireChangeEvent();
|
694
602
|
}
|
695
603
|
}
|
696
|
-
|
697
604
|
}
|
698
|
-
|
699
605
|
StepInput.define();
|
700
606
|
var _default = StepInput;
|
701
607
|
_exports.default = _default;
|
@@ -7,17 +7,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "./Gr
|
|
7
7
|
_exports.default = void 0;
|
8
8
|
_UI5Element = _interopRequireDefault(_UI5Element);
|
9
9
|
_GroupHeaderListItem = _interopRequireDefault(_GroupHeaderListItem);
|
10
|
-
|
11
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
12
|
-
|
13
11
|
/**
|
14
12
|
* @public
|
15
13
|
*/
|
16
14
|
const metadata = {
|
17
15
|
tag: "ui5-suggestion-group-item",
|
18
|
-
properties:
|
19
|
-
/** @lends sap.ui.webcomponents.main.SuggestionGroupItem.prototype */
|
20
|
-
{
|
16
|
+
properties: /** @lends sap.ui.webcomponents.main.SuggestionGroupItem.prototype */{
|
21
17
|
/**
|
22
18
|
* Defines the text of the <code>ui5-suggestion-group-item</code>.
|
23
19
|
*
|
@@ -29,13 +25,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "./Gr
|
|
29
25
|
type: String
|
30
26
|
}
|
31
27
|
},
|
32
|
-
slots:
|
33
|
-
/** @lends sap.ui.webcomponents.main.SuggestionGroupItem.prototype */
|
34
|
-
{},
|
35
|
-
events:
|
36
|
-
/** @lends sap.ui.webcomponents.main.SuggestionGroupItem.prototype */
|
37
|
-
{}
|
28
|
+
slots: /** @lends sap.ui.webcomponents.main.SuggestionGroupItem.prototype */{},
|
29
|
+
events: /** @lends sap.ui.webcomponents.main.SuggestionGroupItem.prototype */{}
|
38
30
|
};
|
31
|
+
|
39
32
|
/**
|
40
33
|
* @class
|
41
34
|
* The <code>ui5-suggestion-group-item</code> is type of suggestion item,
|
@@ -50,28 +43,23 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "./Gr
|
|
50
43
|
* @public
|
51
44
|
* @since 1.0.0-rc.15
|
52
45
|
*/
|
53
|
-
|
54
46
|
class SuggestionItem extends _UI5Element.default {
|
55
47
|
static get metadata() {
|
56
48
|
return metadata;
|
57
49
|
}
|
58
|
-
|
59
50
|
static get dependencies() {
|
60
51
|
return [_GroupHeaderListItem.default];
|
61
52
|
}
|
53
|
+
|
62
54
|
/**
|
63
55
|
* Indicates the "grouping" nature of the component
|
64
56
|
* to avoid tag name checks tag name to diferenciate from the standard suggestion item.
|
65
57
|
* @protected
|
66
58
|
*/
|
67
|
-
|
68
|
-
|
69
59
|
get groupItem() {
|
70
60
|
return true;
|
71
61
|
}
|
72
|
-
|
73
62
|
}
|
74
|
-
|
75
63
|
SuggestionItem.define();
|
76
64
|
var _default = SuggestionItem;
|
77
65
|
_exports.default = _default;
|
@@ -9,17 +9,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
9
9
|
_ValueState = _interopRequireDefault(_ValueState);
|
10
10
|
_SuggestionListItem = _interopRequireDefault(_SuggestionListItem);
|
11
11
|
_ListItemType = _interopRequireDefault(_ListItemType);
|
12
|
-
|
13
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
14
|
-
|
15
13
|
/**
|
16
14
|
* @public
|
17
15
|
*/
|
18
16
|
const metadata = {
|
19
17
|
tag: "ui5-suggestion-item",
|
20
|
-
properties:
|
21
|
-
/** @lends sap.ui.webcomponents.main.SuggestionItem.prototype */
|
22
|
-
{
|
18
|
+
properties: /** @lends sap.ui.webcomponents.main.SuggestionItem.prototype */{
|
23
19
|
/**
|
24
20
|
* Defines the text of the component.
|
25
21
|
*
|
@@ -30,7 +26,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
30
26
|
text: {
|
31
27
|
type: String
|
32
28
|
},
|
33
|
-
|
34
29
|
/**
|
35
30
|
* Defines the visual indication and behavior of the item.
|
36
31
|
* Available options are <code>Active</code> (by default), <code>Inactive</code> and <code>Detail</code>.
|
@@ -47,7 +42,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
47
42
|
type: _ListItemType.default,
|
48
43
|
defaultValue: _ListItemType.default.Active
|
49
44
|
},
|
50
|
-
|
51
45
|
/**
|
52
46
|
* Defines the description displayed right under the item text, if such is present.
|
53
47
|
* @type {string}
|
@@ -57,7 +51,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
57
51
|
description: {
|
58
52
|
type: String
|
59
53
|
},
|
60
|
-
|
61
54
|
/**
|
62
55
|
* Defines the <code>icon</code> source URI.
|
63
56
|
* <br><br>
|
@@ -71,7 +64,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
71
64
|
icon: {
|
72
65
|
type: String
|
73
66
|
},
|
74
|
-
|
75
67
|
/**
|
76
68
|
* Defines whether the <code>icon</code> should be displayed in the beginning of the item or in the end.
|
77
69
|
* <br><br>
|
@@ -84,7 +76,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
84
76
|
iconEnd: {
|
85
77
|
type: Boolean
|
86
78
|
},
|
87
|
-
|
88
79
|
/**
|
89
80
|
* Defines the <code>image</code> source URI.
|
90
81
|
* <br><br>
|
@@ -96,7 +87,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
96
87
|
image: {
|
97
88
|
type: String
|
98
89
|
},
|
99
|
-
|
100
90
|
/**
|
101
91
|
* Defines the <code>additionalText</code>, displayed in the end of the item.
|
102
92
|
* @type {string}
|
@@ -106,7 +96,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
106
96
|
additionalText: {
|
107
97
|
type: String
|
108
98
|
},
|
109
|
-
|
110
99
|
/**
|
111
100
|
* Defines the state of the <code>additionalText</code>.
|
112
101
|
* <br><br>
|
@@ -121,13 +110,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
121
110
|
defaultValue: _ValueState.default.None
|
122
111
|
}
|
123
112
|
},
|
124
|
-
slots:
|
125
|
-
/** @lends sap.ui.webcomponents.main.SuggestionItem.prototype */
|
126
|
-
{},
|
127
|
-
events:
|
128
|
-
/** @lends sap.ui.webcomponents.main.SuggestionItem.prototype */
|
129
|
-
{}
|
113
|
+
slots: /** @lends sap.ui.webcomponents.main.SuggestionItem.prototype */{},
|
114
|
+
events: /** @lends sap.ui.webcomponents.main.SuggestionItem.prototype */{}
|
130
115
|
};
|
116
|
+
|
131
117
|
/**
|
132
118
|
* @class
|
133
119
|
* The <code>ui5-suggestion-item</code> represents the suggestion item of the <code>ui5-input</code>.
|
@@ -140,18 +126,14 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
140
126
|
* @implements sap.ui.webcomponents.main.IInputSuggestionItem
|
141
127
|
* @public
|
142
128
|
*/
|
143
|
-
|
144
129
|
class SuggestionItem extends _UI5Element.default {
|
145
130
|
static get metadata() {
|
146
131
|
return metadata;
|
147
132
|
}
|
148
|
-
|
149
133
|
static get dependencies() {
|
150
134
|
return [_SuggestionListItem.default];
|
151
135
|
}
|
152
|
-
|
153
136
|
}
|
154
|
-
|
155
137
|
SuggestionItem.define();
|
156
138
|
var _default = SuggestionItem;
|
157
139
|
_exports.default = _default;
|