@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
@@ -24,14 +24,11 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
24
24
|
_DatePicker = _interopRequireDefault(_DatePicker);
|
25
25
|
_DatePickerPopover = _interopRequireDefault(_DatePickerPopover);
|
26
26
|
_ResponsivePopoverCommon = _interopRequireDefault(_ResponsivePopoverCommon);
|
27
|
-
|
28
27
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
29
|
-
|
30
28
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
31
|
-
|
32
29
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
33
|
-
|
34
30
|
// default calendar for bundling
|
31
|
+
|
35
32
|
// Styles
|
36
33
|
|
37
34
|
/**
|
@@ -41,9 +38,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
41
38
|
tag: "ui5-date-picker",
|
42
39
|
altTag: "ui5-datepicker",
|
43
40
|
managedSlots: true,
|
44
|
-
properties:
|
45
|
-
/** @lends sap.ui.webcomponents.main.DatePicker.prototype */
|
46
|
-
{
|
41
|
+
properties: /** @lends sap.ui.webcomponents.main.DatePicker.prototype */{
|
47
42
|
/**
|
48
43
|
* Defines a formatted date value.
|
49
44
|
*
|
@@ -54,7 +49,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
54
49
|
value: {
|
55
50
|
type: String
|
56
51
|
},
|
57
|
-
|
58
52
|
/**
|
59
53
|
* Defines the value state of the component.
|
60
54
|
* <br><br>
|
@@ -75,7 +69,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
75
69
|
type: _ValueState.default,
|
76
70
|
defaultValue: _ValueState.default.None
|
77
71
|
},
|
78
|
-
|
79
72
|
/**
|
80
73
|
* Defines whether the component is required.
|
81
74
|
*
|
@@ -87,7 +80,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
87
80
|
required: {
|
88
81
|
type: Boolean
|
89
82
|
},
|
90
|
-
|
91
83
|
/**
|
92
84
|
* Determines whether the component is displayed as disabled.
|
93
85
|
*
|
@@ -98,7 +90,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
98
90
|
disabled: {
|
99
91
|
type: Boolean
|
100
92
|
},
|
101
|
-
|
102
93
|
/**
|
103
94
|
* Determines whether the component is displayed as read-only.
|
104
95
|
*
|
@@ -109,7 +100,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
109
100
|
readonly: {
|
110
101
|
type: Boolean
|
111
102
|
},
|
112
|
-
|
113
103
|
/**
|
114
104
|
* Defines a short hint, intended to aid the user with data entry when the
|
115
105
|
* component has no value.
|
@@ -126,7 +116,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
126
116
|
type: String,
|
127
117
|
defaultValue: undefined
|
128
118
|
},
|
129
|
-
|
130
119
|
/**
|
131
120
|
* Determines the name with which the component will be submitted in an HTML form.
|
132
121
|
*
|
@@ -146,7 +135,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
146
135
|
name: {
|
147
136
|
type: String
|
148
137
|
},
|
149
|
-
|
150
138
|
/**
|
151
139
|
* Defines the visibility of the week numbers column.
|
152
140
|
* <br><br>
|
@@ -162,7 +150,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
162
150
|
hideWeekNumbers: {
|
163
151
|
type: Boolean
|
164
152
|
},
|
165
|
-
|
166
153
|
/**
|
167
154
|
* Defines the aria-label attribute for the component.
|
168
155
|
*
|
@@ -173,7 +160,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
173
160
|
accessibleName: {
|
174
161
|
type: String
|
175
162
|
},
|
176
|
-
|
177
163
|
/**
|
178
164
|
* Receives id(or many ids) of the elements that label the component.
|
179
165
|
*
|
@@ -198,9 +184,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
198
184
|
defaultValue: "day"
|
199
185
|
}
|
200
186
|
},
|
201
|
-
slots:
|
202
|
-
/** @lends sap.ui.webcomponents.main.DatePicker.prototype */
|
203
|
-
{
|
187
|
+
slots: /** @lends sap.ui.webcomponents.main.DatePicker.prototype */{
|
204
188
|
/**
|
205
189
|
* Defines the value state message that will be displayed as pop up under the component.
|
206
190
|
* <br><br>
|
@@ -217,7 +201,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
217
201
|
valueStateMessage: {
|
218
202
|
type: HTMLElement
|
219
203
|
},
|
220
|
-
|
221
204
|
/**
|
222
205
|
* The slot is used to render native <code>input</code> HTML element within Light DOM to enable form submit,
|
223
206
|
* when <code>name</code> property is set.
|
@@ -229,9 +212,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
229
212
|
type: HTMLElement
|
230
213
|
}
|
231
214
|
},
|
232
|
-
events:
|
233
|
-
/** @lends sap.ui.webcomponents.main.DatePicker.prototype */
|
234
|
-
{
|
215
|
+
events: /** @lends sap.ui.webcomponents.main.DatePicker.prototype */{
|
235
216
|
/**
|
236
217
|
* Fired when the input operation has finished by pressing Enter or on focusout.
|
237
218
|
*
|
@@ -251,7 +232,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
251
232
|
}
|
252
233
|
}
|
253
234
|
},
|
254
|
-
|
255
235
|
/**
|
256
236
|
* Fired when the value of the component is changed at each key stroke.
|
257
237
|
*
|
@@ -273,6 +253,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
273
253
|
}
|
274
254
|
}
|
275
255
|
};
|
256
|
+
|
276
257
|
/**
|
277
258
|
* @class
|
278
259
|
*
|
@@ -361,47 +342,38 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
361
342
|
* @tagname ui5-date-picker
|
362
343
|
* @public
|
363
344
|
*/
|
364
|
-
|
365
345
|
class DatePicker extends _DateComponentBase.default {
|
366
346
|
static get metadata() {
|
367
347
|
return metadata;
|
368
348
|
}
|
369
|
-
|
370
349
|
static get template() {
|
371
350
|
return _DatePickerTemplate.default;
|
372
351
|
}
|
373
|
-
|
374
352
|
static get staticAreaTemplate() {
|
375
353
|
return _DatePickerPopoverTemplate.default;
|
376
354
|
}
|
377
|
-
|
378
355
|
static get styles() {
|
379
356
|
return _DatePicker.default;
|
380
357
|
}
|
381
|
-
|
382
358
|
static get staticAreaStyles() {
|
383
359
|
return [_ResponsivePopoverCommon.default, _DatePickerPopover.default];
|
384
360
|
}
|
385
|
-
|
386
361
|
constructor() {
|
387
362
|
super();
|
388
363
|
this.FormSupport = undefined;
|
389
364
|
}
|
365
|
+
|
390
366
|
/**
|
391
367
|
* @protected
|
392
368
|
*/
|
393
|
-
|
394
|
-
|
395
369
|
onResponsivePopoverAfterClose() {
|
396
370
|
this._isPickerOpen = false;
|
397
|
-
|
398
371
|
if ((0, _Device.isPhone)()) {
|
399
372
|
this.blur(); // close device's keyboard and prevent further typing
|
400
373
|
} else {
|
401
374
|
this._getInput().focus();
|
402
375
|
}
|
403
376
|
}
|
404
|
-
|
405
377
|
onBeforeRendering() {
|
406
378
|
this.FormSupport = (0, _FeaturesRegistry.getFeature)("FormSupport");
|
407
379
|
["minDate", "maxDate"].forEach(prop => {
|
@@ -409,8 +381,8 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
409
381
|
console.warn(`Invalid value for property "${prop}": ${this[prop]} is not compatible with the configured format pattern: "${this._displayFormat}"`); // eslint-disable-line
|
410
382
|
}
|
411
383
|
});
|
412
|
-
const FormSupport = (0, _FeaturesRegistry.getFeature)("FormSupport");
|
413
384
|
|
385
|
+
const FormSupport = (0, _FeaturesRegistry.getFeature)("FormSupport");
|
414
386
|
if (FormSupport) {
|
415
387
|
FormSupport.syncNativeHiddenInput(this);
|
416
388
|
} else if (this.name) {
|
@@ -420,51 +392,44 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
420
392
|
this.value = this.normalizeValue(this.value) || this.value;
|
421
393
|
this.liveValue = this.value;
|
422
394
|
}
|
395
|
+
|
423
396
|
/**
|
424
397
|
* Override in derivatives to change calendar selection mode
|
425
398
|
* @returns {string}
|
426
399
|
* @protected
|
427
400
|
*/
|
428
|
-
|
429
|
-
|
430
401
|
get _calendarSelectionMode() {
|
431
402
|
return "Single";
|
432
403
|
}
|
404
|
+
|
433
405
|
/**
|
434
406
|
* Used to provide a timestamp to the Calendar (to focus it to a relevant date when open) based on the component's state
|
435
407
|
* Override in derivatives to provide the calendar a timestamp based on their properties
|
436
408
|
* By default focus the calendar on the selected date if set, or the current day otherwise
|
437
409
|
* @protected
|
438
410
|
*/
|
439
|
-
|
440
|
-
|
441
411
|
get _calendarTimestamp() {
|
442
412
|
if (this.value && this._checkValueValidity(this.value)) {
|
443
413
|
const millisecondsUTC = this.dateValueUTC.getTime();
|
444
414
|
return (0, _getRoundedTimestamp.default)(millisecondsUTC);
|
445
415
|
}
|
446
|
-
|
447
416
|
return (0, _getTodayUTCTimestamp.default)(this._primaryCalendarType);
|
448
417
|
}
|
418
|
+
|
449
419
|
/**
|
450
420
|
* Used to provide selectedDates to the calendar based on the component's state
|
451
421
|
* Override in derivatives to provide different rules for setting the calendar's selected dates
|
452
422
|
* @protected
|
453
423
|
*/
|
454
|
-
|
455
|
-
|
456
424
|
get _calendarSelectedDates() {
|
457
425
|
if (this.value && this._checkValueValidity(this.value)) {
|
458
426
|
return [this.value];
|
459
427
|
}
|
460
|
-
|
461
428
|
return [];
|
462
429
|
}
|
463
|
-
|
464
430
|
_onkeydown(event) {
|
465
431
|
if ((0, _Keys.isShow)(event)) {
|
466
432
|
event.preventDefault(); // Prevent scroll on Alt/Option + Arrow Up/Down
|
467
|
-
|
468
433
|
if (this.isOpen()) {
|
469
434
|
if (!(0, _Keys.isF4)(event)) {
|
470
435
|
this._toggleAndFocusInput();
|
@@ -473,63 +438,50 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
473
438
|
this._toggleAndFocusInput();
|
474
439
|
}
|
475
440
|
}
|
476
|
-
|
477
441
|
if (this.isOpen()) {
|
478
442
|
return;
|
479
443
|
}
|
480
|
-
|
481
444
|
if ((0, _Keys.isEnter)(event)) {
|
482
445
|
if (this.FormSupport) {
|
483
446
|
this.FormSupport.triggerFormSubmit(this);
|
484
447
|
}
|
485
448
|
} else if ((0, _Keys.isPageUpShiftCtrl)(event)) {
|
486
449
|
event.preventDefault();
|
487
|
-
|
488
450
|
this._modifyDateValue(1, "year");
|
489
451
|
} else if ((0, _Keys.isPageUpShift)(event)) {
|
490
452
|
event.preventDefault();
|
491
|
-
|
492
453
|
this._modifyDateValue(1, "month");
|
493
454
|
} else if ((0, _Keys.isPageUp)(event)) {
|
494
455
|
event.preventDefault();
|
495
|
-
|
496
456
|
this._modifyDateValue(1, "day");
|
497
457
|
} else if ((0, _Keys.isPageDownShiftCtrl)(event)) {
|
498
458
|
event.preventDefault();
|
499
|
-
|
500
459
|
this._modifyDateValue(-1, "year");
|
501
460
|
} else if ((0, _Keys.isPageDownShift)(event)) {
|
502
461
|
event.preventDefault();
|
503
|
-
|
504
462
|
this._modifyDateValue(-1, "month");
|
505
463
|
} else if ((0, _Keys.isPageDown)(event)) {
|
506
464
|
event.preventDefault();
|
507
|
-
|
508
465
|
this._modifyDateValue(-1, "day");
|
509
466
|
}
|
510
467
|
}
|
468
|
+
|
511
469
|
/**
|
512
470
|
*
|
513
471
|
* @param amount
|
514
472
|
* @param unit
|
515
473
|
* @protected
|
516
474
|
*/
|
517
|
-
|
518
|
-
|
519
475
|
_modifyDateValue(amount, unit) {
|
520
476
|
if (!this.dateValue) {
|
521
477
|
return;
|
522
478
|
}
|
523
|
-
|
524
479
|
const modifiedDate = (0, _modifyDateBy.default)(_CalendarDate.default.fromLocalJSDate(this.dateValue), amount, unit, this._minDate, this._maxDate);
|
525
480
|
const newValue = this.formatValue(modifiedDate.toUTCJSDate());
|
526
|
-
|
527
481
|
this._updateValueAndFireEvents(newValue, true, ["change", "value-changed"]);
|
528
482
|
}
|
529
|
-
|
530
483
|
_updateValueAndFireEvents(value, normalizeValue, events, updateValue = true) {
|
531
484
|
const valid = this._checkValueValidity(value);
|
532
|
-
|
533
485
|
if (valid && normalizeValue) {
|
534
486
|
value = this.normalizeValue(value); // transform valid values (in any format) to the correct format
|
535
487
|
}
|
@@ -544,26 +496,20 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
544
496
|
executeEvent = false;
|
545
497
|
}
|
546
498
|
});
|
547
|
-
|
548
499
|
if (!executeEvent) {
|
549
500
|
return;
|
550
501
|
}
|
551
|
-
|
552
502
|
if (updateValue) {
|
553
503
|
this._getInput().getInputDOMRef().then(innnerInput => {
|
554
504
|
innnerInput.value = value;
|
555
505
|
});
|
556
|
-
|
557
506
|
this.value = value;
|
558
|
-
|
559
507
|
this._updateValueState(); // Change the value state to Error/None, but only if needed
|
560
|
-
|
561
508
|
}
|
562
509
|
}
|
563
510
|
|
564
511
|
_updateValueState() {
|
565
512
|
const isValid = this._checkValueValidity(this.value);
|
566
|
-
|
567
513
|
if (!isValid) {
|
568
514
|
// If not valid - always set Error regardless of the current value state
|
569
515
|
this.valueState = _ValueState.default.Error;
|
@@ -572,134 +518,112 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
572
518
|
this.valueState = _ValueState.default.None;
|
573
519
|
}
|
574
520
|
}
|
575
|
-
|
576
521
|
_toggleAndFocusInput() {
|
577
522
|
this.togglePicker();
|
578
|
-
|
579
523
|
this._getInput().focus();
|
580
524
|
}
|
581
|
-
|
582
525
|
_getInput() {
|
583
526
|
return this.shadowRoot.querySelector("[ui5-input]");
|
584
527
|
}
|
528
|
+
|
585
529
|
/**
|
586
530
|
* The ui5-input "submit" event handler - fire change event when the user presses enter
|
587
531
|
* @protected
|
588
532
|
*/
|
589
|
-
|
590
|
-
|
591
533
|
_onInputSubmit(event) {}
|
534
|
+
|
592
535
|
/**
|
593
536
|
* The ui5-input "change" event handler - fire change event when the user focuses out of the input
|
594
537
|
* @protected
|
595
538
|
*/
|
596
|
-
|
597
|
-
|
598
539
|
_onInputChange(event) {
|
599
540
|
this._updateValueAndFireEvents(event.target.value, true, ["change", "value-changed"]);
|
600
541
|
}
|
542
|
+
|
601
543
|
/**
|
602
544
|
* The ui5-input "input" event handler - fire input even when the user types
|
603
545
|
* @protected
|
604
546
|
*/
|
605
|
-
|
606
|
-
|
607
547
|
async _onInputInput(event) {
|
608
548
|
this._updateValueAndFireEvents(event.target.value, false, ["input"], false);
|
609
549
|
}
|
550
|
+
|
610
551
|
/**
|
611
552
|
* @protected
|
612
553
|
*/
|
613
|
-
|
614
|
-
|
615
554
|
_checkValueValidity(value) {
|
616
555
|
if (value === "") {
|
617
556
|
return true;
|
618
557
|
}
|
619
|
-
|
620
558
|
return this.isValid(value) && this.isInValidRange(value);
|
621
559
|
}
|
622
|
-
|
623
560
|
_click(event) {
|
624
561
|
if ((0, _Device.isPhone)()) {
|
625
562
|
this.responsivePopover.showAt(this);
|
626
563
|
event.preventDefault(); // prevent immediate selection of any item
|
627
564
|
}
|
628
565
|
}
|
566
|
+
|
629
567
|
/**
|
630
568
|
* Checks if a value is valid against the current date format of the DatePicker.
|
631
569
|
* @param {string} value A value to be tested against the current date format
|
632
570
|
* @returns {boolean}
|
633
571
|
* @public
|
634
572
|
*/
|
635
|
-
|
636
|
-
|
637
573
|
isValid(value = "") {
|
638
574
|
if (value === "") {
|
639
575
|
return true;
|
640
576
|
}
|
641
|
-
|
642
577
|
return !!this.getFormat().parse(value);
|
643
578
|
}
|
579
|
+
|
644
580
|
/**
|
645
581
|
* Checks if a date is between the minimum and maximum date.
|
646
582
|
* @param {string} value A value to be checked
|
647
583
|
* @returns {boolean}
|
648
584
|
* @public
|
649
585
|
*/
|
650
|
-
|
651
|
-
|
652
586
|
isInValidRange(value = "") {
|
653
587
|
if (value === "") {
|
654
588
|
return true;
|
655
589
|
}
|
656
|
-
|
657
590
|
const calendarDate = this._getCalendarDateFromString(value);
|
658
|
-
|
659
591
|
return calendarDate.valueOf() >= this._minDate.valueOf() && calendarDate.valueOf() <= this._maxDate.valueOf();
|
660
592
|
}
|
593
|
+
|
661
594
|
/**
|
662
595
|
* The parser understands many formats, but we need one format
|
663
596
|
* @protected
|
664
597
|
*/
|
665
|
-
|
666
|
-
|
667
598
|
normalizeValue(value) {
|
668
599
|
if (value === "") {
|
669
600
|
return value;
|
670
601
|
}
|
671
|
-
|
672
602
|
return this.getFormat().format(this.getFormat().parse(value, true), true); // it is important to both parse and format the date as UTC
|
673
603
|
}
|
674
604
|
|
675
605
|
get _displayFormat() {
|
676
606
|
return this.getFormat().oFormatOptions.pattern;
|
677
607
|
}
|
608
|
+
|
678
609
|
/**
|
679
610
|
* @protected
|
680
611
|
*/
|
681
|
-
|
682
|
-
|
683
612
|
get _placeholder() {
|
684
613
|
return this.placeholder !== undefined ? this.placeholder : this._displayFormat;
|
685
614
|
}
|
686
|
-
|
687
615
|
get _headerTitleText() {
|
688
616
|
return DatePicker.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS_TITLE);
|
689
617
|
}
|
690
|
-
|
691
618
|
get phone() {
|
692
619
|
return (0, _Device.isPhone)();
|
693
620
|
}
|
694
|
-
|
695
621
|
get showHeader() {
|
696
622
|
return this.phone;
|
697
623
|
}
|
698
|
-
|
699
624
|
get showFooter() {
|
700
625
|
return this.phone;
|
701
626
|
}
|
702
|
-
|
703
627
|
get accInfo() {
|
704
628
|
return {
|
705
629
|
"ariaRoledescription": this.dateAriaDescription,
|
@@ -709,67 +633,57 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
709
633
|
"ariaLabel": (0, _AriaLabelHelper.getEffectiveAriaLabelText)(this)
|
710
634
|
};
|
711
635
|
}
|
712
|
-
|
713
636
|
get openIconTitle() {
|
714
637
|
return DatePicker.i18nBundle.getText(_i18nDefaults.DATEPICKER_OPEN_ICON_TITLE);
|
715
638
|
}
|
716
|
-
|
717
639
|
get openIconName() {
|
718
640
|
return "appointment-2";
|
719
641
|
}
|
720
|
-
|
721
642
|
get dateAriaDescription() {
|
722
643
|
return DatePicker.i18nBundle.getText(_i18nDefaults.DATEPICKER_DATE_DESCRIPTION);
|
723
644
|
}
|
645
|
+
|
724
646
|
/**
|
725
647
|
* Defines whether the dialog on mobile should have header
|
726
648
|
* @private
|
727
649
|
*/
|
728
|
-
|
729
|
-
|
730
650
|
get _shouldHideHeader() {
|
731
651
|
return false;
|
732
652
|
}
|
733
|
-
|
734
653
|
async _respPopover() {
|
735
654
|
const staticAreaItem = await this.getStaticAreaItemDomRef();
|
736
655
|
return staticAreaItem.querySelector("[ui5-responsive-popover]");
|
737
656
|
}
|
738
|
-
|
739
657
|
_canOpenPicker() {
|
740
658
|
return !this.disabled && !this.readonly;
|
741
659
|
}
|
660
|
+
|
742
661
|
/**
|
743
662
|
* The user selected a new date in the calendar
|
744
663
|
* @param event
|
745
664
|
* @protected
|
746
665
|
*/
|
747
|
-
|
748
|
-
|
749
666
|
onSelectedDatesChange(event) {
|
750
667
|
event.preventDefault();
|
751
668
|
const newValue = event.detail.values && event.detail.values[0];
|
752
|
-
|
753
669
|
this._updateValueAndFireEvents(newValue, true, ["change", "value-changed"]);
|
754
|
-
|
755
670
|
this.closePicker();
|
756
671
|
}
|
672
|
+
|
757
673
|
/**
|
758
674
|
* The user clicked the "month" button in the header
|
759
675
|
*/
|
760
|
-
|
761
|
-
|
762
676
|
onHeaderShowMonthPress() {
|
763
677
|
this._calendarCurrentPicker = "month";
|
764
678
|
}
|
679
|
+
|
765
680
|
/**
|
766
681
|
* The user clicked the "year" button in the header
|
767
682
|
*/
|
768
|
-
|
769
|
-
|
770
683
|
onHeaderShowYearPress() {
|
771
684
|
this._calendarCurrentPicker = "year";
|
772
685
|
}
|
686
|
+
|
773
687
|
/**
|
774
688
|
* Formats a Java Script date object into a string representing a locale date
|
775
689
|
* according to the <code>formatPattern</code> property of the DatePicker instance
|
@@ -777,35 +691,30 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
777
691
|
* @returns {string} The date as string
|
778
692
|
* @public
|
779
693
|
*/
|
780
|
-
|
781
|
-
|
782
694
|
formatValue(date) {
|
783
695
|
return this.getFormat().format(date);
|
784
696
|
}
|
697
|
+
|
785
698
|
/**
|
786
699
|
* Closes the picker.
|
787
700
|
* @public
|
788
701
|
*/
|
789
|
-
|
790
|
-
|
791
702
|
closePicker() {
|
792
703
|
this.responsivePopover.close();
|
793
704
|
}
|
705
|
+
|
794
706
|
/**
|
795
707
|
* Opens the picker.
|
796
708
|
* @public
|
797
709
|
* @async
|
798
710
|
* @returns {Promise} Resolves when the picker is open
|
799
711
|
*/
|
800
|
-
|
801
|
-
|
802
712
|
async openPicker() {
|
803
713
|
this._isPickerOpen = true;
|
804
714
|
this._calendarCurrentPicker = "day";
|
805
715
|
this.responsivePopover = await this._respPopover();
|
806
716
|
this.responsivePopover.showAt(this);
|
807
717
|
}
|
808
|
-
|
809
718
|
togglePicker() {
|
810
719
|
if (this.isOpen()) {
|
811
720
|
this.closePicker();
|
@@ -813,16 +722,16 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
813
722
|
this.openPicker();
|
814
723
|
}
|
815
724
|
}
|
725
|
+
|
816
726
|
/**
|
817
727
|
* Checks if the picker is open.
|
818
728
|
* @returns {boolean} true if the picker is open, false otherwise
|
819
729
|
* @public
|
820
730
|
*/
|
821
|
-
|
822
|
-
|
823
731
|
isOpen() {
|
824
732
|
return !!this._isPickerOpen;
|
825
733
|
}
|
734
|
+
|
826
735
|
/**
|
827
736
|
* Currently selected date represented as a Local JavaScript Date instance.
|
828
737
|
*
|
@@ -830,16 +739,12 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
830
739
|
* @type { Date }
|
831
740
|
* @public
|
832
741
|
*/
|
833
|
-
|
834
|
-
|
835
742
|
get dateValue() {
|
836
743
|
return this.liveValue ? this.getFormat().parse(this.liveValue) : this.getFormat().parse(this.value);
|
837
744
|
}
|
838
|
-
|
839
745
|
get dateValueUTC() {
|
840
746
|
return this.liveValue ? this.getFormat().parse(this.liveValue, true) : this.getFormat().parse(this.value);
|
841
747
|
}
|
842
|
-
|
843
748
|
get styles() {
|
844
749
|
return {
|
845
750
|
main: {
|
@@ -847,17 +752,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry",
|
|
847
752
|
}
|
848
753
|
};
|
849
754
|
}
|
850
|
-
|
851
755
|
get type() {
|
852
756
|
return _InputType.default.Text;
|
853
757
|
}
|
854
|
-
|
855
758
|
static get dependencies() {
|
856
759
|
return [_Icon.default, _ResponsivePopover.default, _Calendar.default, CalendarDateComponent.default, _Input.default, _Button.default];
|
857
760
|
}
|
858
|
-
|
859
761
|
}
|
860
|
-
|
861
762
|
DatePicker.define();
|
862
763
|
var _default = DatePicker;
|
863
764
|
_exports.default = _default;
|