@openui5/sap.ui.webc.main 1.111.1 → 1.112.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/src/sap/ui/webc/main/.library +1 -1
- package/src/sap/ui/webc/main/Avatar.js +1 -1
- package/src/sap/ui/webc/main/AvatarGroup.js +1 -1
- package/src/sap/ui/webc/main/Badge.js +1 -1
- package/src/sap/ui/webc/main/Breadcrumbs.js +1 -1
- package/src/sap/ui/webc/main/BreadcrumbsItem.js +1 -1
- package/src/sap/ui/webc/main/BusyIndicator.js +1 -1
- package/src/sap/ui/webc/main/Button.js +1 -1
- package/src/sap/ui/webc/main/Calendar.js +1 -1
- package/src/sap/ui/webc/main/CalendarDate.js +1 -1
- package/src/sap/ui/webc/main/Card.js +1 -1
- package/src/sap/ui/webc/main/CardHeader.js +1 -1
- package/src/sap/ui/webc/main/Carousel.js +1 -1
- package/src/sap/ui/webc/main/CheckBox.js +1 -1
- package/src/sap/ui/webc/main/ColorPalette.js +1 -1
- package/src/sap/ui/webc/main/ColorPaletteItem.js +1 -1
- package/src/sap/ui/webc/main/ColorPalettePopover.js +1 -1
- package/src/sap/ui/webc/main/ColorPicker.js +1 -1
- package/src/sap/ui/webc/main/ComboBox.js +1 -1
- package/src/sap/ui/webc/main/ComboBoxGroupItem.js +1 -1
- package/src/sap/ui/webc/main/ComboBoxItem.js +1 -1
- package/src/sap/ui/webc/main/CustomListItem.js +1 -1
- package/src/sap/ui/webc/main/DatePicker.js +2 -2
- package/src/sap/ui/webc/main/DateRangePicker.js +2 -2
- package/src/sap/ui/webc/main/DateTimePicker.js +2 -2
- package/src/sap/ui/webc/main/Dialog.js +1 -1
- package/src/sap/ui/webc/main/FileUploader.js +1 -1
- package/src/sap/ui/webc/main/GroupHeaderListItem.js +1 -1
- package/src/sap/ui/webc/main/Icon.js +5 -11
- package/src/sap/ui/webc/main/Input.js +1 -1
- package/src/sap/ui/webc/main/Label.js +1 -1
- package/src/sap/ui/webc/main/Link.js +1 -1
- package/src/sap/ui/webc/main/List.js +1 -1
- package/src/sap/ui/webc/main/Menu.js +1 -1
- package/src/sap/ui/webc/main/MenuItem.js +1 -1
- package/src/sap/ui/webc/main/MessageStrip.js +1 -1
- package/src/sap/ui/webc/main/MultiComboBox.js +1 -1
- package/src/sap/ui/webc/main/MultiComboBoxGroupItem.js +1 -1
- package/src/sap/ui/webc/main/MultiComboBoxItem.js +1 -1
- package/src/sap/ui/webc/main/MultiInput.js +1 -1
- package/src/sap/ui/webc/main/Option.js +1 -1
- package/src/sap/ui/webc/main/Panel.js +1 -1
- package/src/sap/ui/webc/main/Popover.js +1 -1
- package/src/sap/ui/webc/main/ProgressIndicator.js +1 -1
- package/src/sap/ui/webc/main/RadioButton.js +1 -1
- package/src/sap/ui/webc/main/RangeSlider.js +1 -1
- package/src/sap/ui/webc/main/RatingIndicator.js +1 -1
- package/src/sap/ui/webc/main/ResponsivePopover.js +1 -1
- package/src/sap/ui/webc/main/SegmentedButton.js +1 -1
- package/src/sap/ui/webc/main/SegmentedButtonItem.js +1 -1
- package/src/sap/ui/webc/main/Select.js +1 -1
- package/src/sap/ui/webc/main/Slider.js +1 -1
- package/src/sap/ui/webc/main/SplitButton.js +1 -1
- package/src/sap/ui/webc/main/StandardListItem.js +1 -1
- package/src/sap/ui/webc/main/StepInput.js +1 -1
- package/src/sap/ui/webc/main/SuggestionGroupItem.js +1 -1
- package/src/sap/ui/webc/main/SuggestionItem.js +1 -1
- package/src/sap/ui/webc/main/Switch.js +1 -1
- package/src/sap/ui/webc/main/Tab.js +1 -1
- package/src/sap/ui/webc/main/TabContainer.js +1 -1
- package/src/sap/ui/webc/main/TabSeparator.js +1 -1
- package/src/sap/ui/webc/main/Table.js +1 -1
- package/src/sap/ui/webc/main/TableCell.js +1 -1
- package/src/sap/ui/webc/main/TableColumn.js +1 -1
- package/src/sap/ui/webc/main/TableGroupRow.js +1 -1
- package/src/sap/ui/webc/main/TableRow.js +1 -1
- package/src/sap/ui/webc/main/TextArea.js +1 -1
- package/src/sap/ui/webc/main/TimePicker.js +2 -2
- package/src/sap/ui/webc/main/Title.js +1 -1
- package/src/sap/ui/webc/main/Toast.js +1 -1
- package/src/sap/ui/webc/main/ToggleButton.js +1 -1
- package/src/sap/ui/webc/main/Token.js +1 -1
- package/src/sap/ui/webc/main/Tree.js +1 -1
- package/src/sap/ui/webc/main/TreeItem.js +1 -1
- package/src/sap/ui/webc/main/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/ui/webc/main/library.config.js +6 -0
- package/src/sap/ui/webc/main/library.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/Avatar.js +7 -51
- package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +34 -100
- package/src/sap/ui/webc/main/thirdparty/Badge.js +4 -23
- package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +43 -145
- package/src/sap/ui/webc/main/thirdparty/BreadcrumbsItem.js +4 -17
- package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +7 -36
- package/src/sap/ui/webc/main/thirdparty/Button.js +6 -73
- package/src/sap/ui/webc/main/thirdparty/Calendar.js +19 -74
- package/src/sap/ui/webc/main/thirdparty/CalendarDate.js +2 -8
- package/src/sap/ui/webc/main/thirdparty/CalendarHeader.js +1 -29
- package/src/sap/ui/webc/main/thirdparty/CalendarPart.js +6 -26
- package/src/sap/ui/webc/main/thirdparty/Card.js +5 -26
- package/src/sap/ui/webc/main/thirdparty/CardHeader.js +4 -47
- package/src/sap/ui/webc/main/thirdparty/Carousel.js +17 -107
- package/src/sap/ui/webc/main/thirdparty/CheckBox.js +9 -63
- package/src/sap/ui/webc/main/thirdparty/ColorPalette.js +5 -83
- package/src/sap/ui/webc/main/thirdparty/ColorPaletteItem.js +4 -26
- package/src/sap/ui/webc/main/thirdparty/ColorPalettePopover.js +7 -41
- package/src/sap/ui/webc/main/thirdparty/ColorPicker.js +51 -123
- package/src/sap/ui/webc/main/thirdparty/ComboBox.js +24 -212
- package/src/sap/ui/webc/main/thirdparty/ComboBoxGroupItem.js +5 -18
- package/src/sap/ui/webc/main/thirdparty/ComboBoxItem.js +2 -9
- package/src/sap/ui/webc/main/thirdparty/CustomListItem.js +3 -20
- package/src/sap/ui/webc/main/thirdparty/DateComponentBase.js +2 -25
- package/src/sap/ui/webc/main/thirdparty/DatePicker.js +28 -127
- package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +20 -85
- package/src/sap/ui/webc/main/thirdparty/DateTimePicker.js +20 -66
- package/src/sap/ui/webc/main/thirdparty/DayPicker.js +32 -158
- package/src/sap/ui/webc/main/thirdparty/Dialog.js +18 -104
- package/src/sap/ui/webc/main/thirdparty/DurationPicker.js +11 -56
- package/src/sap/ui/webc/main/thirdparty/FileUploader.js +9 -83
- package/src/sap/ui/webc/main/thirdparty/Filters.js +0 -9
- package/src/sap/ui/webc/main/thirdparty/GroupHeaderListItem.js +5 -20
- package/src/sap/ui/webc/main/thirdparty/Icon.js +8 -53
- package/src/sap/ui/webc/main/thirdparty/Input.js +75 -273
- package/src/sap/ui/webc/main/thirdparty/Interfaces.js +19 -20
- package/src/sap/ui/webc/main/thirdparty/Label.js +5 -21
- package/src/sap/ui/webc/main/thirdparty/Link.js +5 -48
- package/src/sap/ui/webc/main/thirdparty/List.js +33 -183
- package/src/sap/ui/webc/main/thirdparty/ListItem.js +10 -76
- package/src/sap/ui/webc/main/thirdparty/ListItemBase.js +5 -37
- package/src/sap/ui/webc/main/thirdparty/Menu.js +8 -91
- package/src/sap/ui/webc/main/thirdparty/MenuItem.js +3 -21
- package/src/sap/ui/webc/main/thirdparty/MessageStrip.js +4 -34
- package/src/sap/ui/webc/main/thirdparty/MonthPicker.js +12 -61
- package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +25 -299
- package/src/sap/ui/webc/main/thirdparty/MultiComboBoxGroupItem.js +5 -18
- package/src/sap/ui/webc/main/thirdparty/MultiComboBoxItem.js +2 -9
- package/src/sap/ui/webc/main/thirdparty/MultiInput.js +10 -71
- package/src/sap/ui/webc/main/thirdparty/Option.js +5 -22
- package/src/sap/ui/webc/main/thirdparty/Panel.js +4 -62
- package/src/sap/ui/webc/main/thirdparty/Popover.js +28 -143
- package/src/sap/ui/webc/main/thirdparty/Popup.js +20 -118
- package/src/sap/ui/webc/main/thirdparty/ProgressIndicator.js +6 -38
- package/src/sap/ui/webc/main/thirdparty/RadioButton.js +8 -76
- package/src/sap/ui/webc/main/thirdparty/RadioButtonGroup.js +8 -54
- package/src/sap/ui/webc/main/thirdparty/RangeSlider.js +79 -170
- package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +6 -49
- package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +5 -35
- package/src/sap/ui/webc/main/thirdparty/SegmentedButton.js +9 -57
- package/src/sap/ui/webc/main/thirdparty/SegmentedButtonItem.js +2 -15
- package/src/sap/ui/webc/main/thirdparty/Select.js +15 -131
- package/src/sap/ui/webc/main/thirdparty/Slider.js +24 -65
- package/src/sap/ui/webc/main/thirdparty/SliderBase.js +74 -164
- package/src/sap/ui/webc/main/thirdparty/SplitButton.js +6 -67
- package/src/sap/ui/webc/main/thirdparty/StandardListItem.js +3 -25
- package/src/sap/ui/webc/main/thirdparty/StepInput.js +12 -106
- package/src/sap/ui/webc/main/thirdparty/SuggestionGroupItem.js +5 -17
- package/src/sap/ui/webc/main/thirdparty/SuggestionItem.js +4 -22
- package/src/sap/ui/webc/main/thirdparty/SuggestionListItem.js +2 -12
- package/src/sap/ui/webc/main/thirdparty/Switch.js +6 -41
- package/src/sap/ui/webc/main/thirdparty/Tab.js +6 -83
- package/src/sap/ui/webc/main/thirdparty/TabContainer.js +39 -259
- package/src/sap/ui/webc/main/thirdparty/TabSeparator.js +2 -17
- package/src/sap/ui/webc/main/thirdparty/Table.js +25 -185
- package/src/sap/ui/webc/main/thirdparty/TableCell.js +4 -18
- package/src/sap/ui/webc/main/thirdparty/TableColumn.js +4 -18
- package/src/sap/ui/webc/main/thirdparty/TableGroupRow.js +5 -28
- package/src/sap/ui/webc/main/thirdparty/TableRow.js +7 -81
- package/src/sap/ui/webc/main/thirdparty/TextArea.js +7 -97
- package/src/sap/ui/webc/main/thirdparty/TimePicker.js +3 -16
- package/src/sap/ui/webc/main/thirdparty/TimePickerBase.js +14 -93
- package/src/sap/ui/webc/main/thirdparty/TimeSelection.js +7 -95
- package/src/sap/ui/webc/main/thirdparty/Title.js +4 -22
- package/src/sap/ui/webc/main/thirdparty/Toast.js +8 -31
- package/src/sap/ui/webc/main/thirdparty/ToggleButton.js +2 -14
- package/src/sap/ui/webc/main/thirdparty/Token.js +4 -36
- package/src/sap/ui/webc/main/thirdparty/Tokenizer.js +12 -117
- package/src/sap/ui/webc/main/thirdparty/Tree.js +7 -53
- package/src/sap/ui/webc/main/thirdparty/TreeItem.js +4 -22
- package/src/sap/ui/webc/main/thirdparty/TreeListItem.js +5 -45
- package/src/sap/ui/webc/main/thirdparty/WheelSlider.js +6 -93
- package/src/sap/ui/webc/main/thirdparty/YearPicker.js +22 -72
- package/src/sap/ui/webc/main/thirdparty/features/ColorPaletteMoreColors.js +0 -8
- package/src/sap/ui/webc/main/thirdparty/features/InputElementsFormSupport.js +2 -19
- package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +24 -165
- package/src/sap/ui/webc/main/thirdparty/generated/json-imports/Themes.js +0 -16
- package/src/sap/ui/webc/main/thirdparty/generated/json-imports/i18n.js +0 -52
- package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarGroupTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarTemplate.lit.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BadgeTemplate.lit.js +1 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsPopoverTemplate.lit.js +1 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BusyIndicatorTemplate.lit.js +1 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ButtonTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarHeaderTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CardHeaderTemplate.lit.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CardTemplate.lit.js +1 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CarouselTemplate.lit.js +1 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CheckBoxTemplate.lit.js +1 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteDialogTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteItemTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPalettePopoverTemplate.lit.js +1 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteTemplate.lit.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPickerTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxPopoverTemplate.lit.js +1 -18
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxTemplate.lit.js +1 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CustomListItemTemplate.lit.js +1 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerPopoverTemplate.lit.js +1 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DateTimePickerPopoverTemplate.lit.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DayPickerTemplate.lit.js +1 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DialogTemplate.lit.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderPopoverTemplate.lit.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderTemplate.lit.js +1 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/GroupHeaderListItemTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/IconTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputPopoverTemplate.lit.js +1 -22
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/LabelTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/LinkTemplate.lit.js +1 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ListItemTemplate.lit.js +1 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ListTemplate.lit.js +1 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MenuTemplate.lit.js +1 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MessageStripTemplate.lit.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MonthPickerTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +1 -25
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +1 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PanelTemplate.lit.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopoverTemplate.lit.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupBlockLayerTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ProgressIndicatorTemplate.lit.js +1 -12
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RadioButtonTemplate.lit.js +1 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RangeSliderTemplate.lit.js +1 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RatingIndicatorTemplate.lit.js +1 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ResponsivePopoverTemplate.lit.js +1 -14
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonItemTemplate.lit.js +1 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectPopoverTemplate.lit.js +1 -18
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderBaseTemplate.lit.js +1 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderTemplate.lit.js +1 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SplitButtonTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/StandardListItemTemplate.lit.js +1 -19
- package/src/sap/ui/webc/main/thirdparty/generated/templates/StepInputTemplate.lit.js +1 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js +1 -22
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.lit.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerPopoverTemplate.lit.js +1 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerTemplate.lit.js +1 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInOverflowTemplate.lit.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +1 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInOverflowTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInStripTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabTemplate.lit.js +1 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableCellTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableColumnTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableGroupRowTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableRowTemplate.lit.js +1 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableTemplate.lit.js +1 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaPopoverTemplate.lit.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaTemplate.lit.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerPopoverTemplate.lit.js +1 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimeSelectionTemplate.lit.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TitleTemplate.lit.js +1 -8
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToastTemplate.lit.js +1 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToggleButtonTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenTemplate.lit.js +1 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerPopoverTemplate.lit.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeListItemTemplate.lit.js +1 -16
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeTemplate.lit.js +1 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/WheelSliderTemplate.lit.js +1 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/YearPickerTemplate.lit.js +1 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Avatar.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/AvatarGroup.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Badge.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Breadcrumbs.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BreadcrumbsPopover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BrowserScrollbar.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BusyIndicator.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Calendar.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CalendarHeader.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Card.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CardHeader.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Carousel.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CheckBox.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalette.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteItem.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalettePopover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteStaticArea.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPicker.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBox.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBoxPopover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CustomListItem.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePicker.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePickerPopover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateRangePicker.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePicker.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePickerPopover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DayPicker.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Dialog.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/FileUploader.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/GroupHeaderListItem.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/GrowingButton.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Icon.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Input.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/InputIcon.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/InvisibleTextStyles.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Label.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Link.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/List.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItem.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItemBase.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Menu.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MessageStrip.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MonthPicker.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBox.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBoxPopover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiInput.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Panel.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Popover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Popup.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupGlobal.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupStaticAreaStyles.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupsCommon.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ProgressIndicator.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RadioButton.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RangeSlider.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RatingIndicator.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopoverCommon.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SegmentedButton.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Select.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SelectPopover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SliderBase.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SplitButton.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/StepInput.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Suggestions.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Switch.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tab.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabContainer.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInOverflow.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInStrip.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSemanticIcon.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInOverflow.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInStrip.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Table.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableCell.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableColumn.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableGroupRow.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableRow.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TapHighlightColor.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TextArea.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePicker.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePickerPopover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimeSelection.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Title.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Toast.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Token.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tokenizer.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TokenizerPopover.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tree.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeListItem.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ValueStateMessage.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/WheelSlider.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/YearPicker.css.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/popup-utils/OpenedPopupsRegistry.js +0 -12
- package/src/sap/ui/webc/main/thirdparty/popup-utils/PopoverRegistry.js +4 -33
- package/src/sap/ui/webc/main/thirdparty/timepicker-utils/TimeSlider.js +0 -26
- package/src/sap/ui/webc/main/thirdparty/types/AvatarColorScheme.js +1 -15
- package/src/sap/ui/webc/main/thirdparty/types/AvatarGroupType.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/types/AvatarShape.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/types/AvatarSize.js +1 -9
- package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsDesign.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsSeparatorStyle.js +1 -10
- package/src/sap/ui/webc/main/thirdparty/types/BusyIndicatorSize.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/types/ButtonDesign.js +1 -10
- package/src/sap/ui/webc/main/thirdparty/types/CalendarSelectionMode.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/types/CarouselArrowsPlacement.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/types/GrowingMode.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/types/HasPopup.js +1 -9
- package/src/sap/ui/webc/main/thirdparty/types/InputType.js +1 -10
- package/src/sap/ui/webc/main/thirdparty/types/LinkDesign.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/types/ListGrowingMode.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/types/ListItemType.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/types/ListMode.js +1 -11
- package/src/sap/ui/webc/main/thirdparty/types/ListSeparators.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/types/MessageStripDesign.js +1 -8
- package/src/sap/ui/webc/main/thirdparty/types/PanelAccessibleRole.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/types/PopoverHorizontalAlign.js +1 -8
- package/src/sap/ui/webc/main/thirdparty/types/PopoverPlacementType.js +1 -8
- package/src/sap/ui/webc/main/thirdparty/types/PopoverVerticalAlign.js +1 -8
- package/src/sap/ui/webc/main/thirdparty/types/Priority.js +1 -8
- package/src/sap/ui/webc/main/thirdparty/types/SemanticColor.js +1 -9
- package/src/sap/ui/webc/main/thirdparty/types/SwitchDesign.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/types/TabContainerTabsPlacement.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/types/TabLayout.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/types/TableGrowingMode.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/types/TableMode.js +1 -7
- package/src/sap/ui/webc/main/thirdparty/types/TableRowType.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/types/TabsOverflowMode.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/types/TitleLevel.js +1 -10
- package/src/sap/ui/webc/main/thirdparty/types/ToastPlacement.js +1 -13
- package/src/sap/ui/webc/main/thirdparty/types/WrappingType.js +1 -6
- package/ui5.yaml +1 -1
@@ -13,10 +13,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
13
13
|
_ListMode = _interopRequireDefault(_ListMode);
|
14
14
|
_TreeTemplate = _interopRequireDefault(_TreeTemplate);
|
15
15
|
_Tree = _interopRequireDefault(_Tree);
|
16
|
-
|
17
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
18
|
-
|
19
17
|
// Template
|
18
|
+
|
20
19
|
// Styles
|
21
20
|
|
22
21
|
/**
|
@@ -24,9 +23,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
24
23
|
*/
|
25
24
|
const metadata = {
|
26
25
|
tag: "ui5-tree",
|
27
|
-
properties:
|
28
|
-
/** @lends sap.ui.webcomponents.main.Tree.prototype */
|
29
|
-
{
|
26
|
+
properties: /** @lends sap.ui.webcomponents.main.Tree.prototype */{
|
30
27
|
/**
|
31
28
|
* Defines the mode of the component. Since the tree uses a <code>ui5-list</code> to display its structure,
|
32
29
|
* the tree modes are exactly the same as the list modes, and are all applicable.
|
@@ -51,7 +48,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
51
48
|
type: _ListMode.default,
|
52
49
|
defaultValue: _ListMode.default.None
|
53
50
|
},
|
54
|
-
|
55
51
|
/**
|
56
52
|
* Defines the text that is displayed when the component contains no items.
|
57
53
|
*
|
@@ -62,7 +58,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
62
58
|
noDataText: {
|
63
59
|
type: String
|
64
60
|
},
|
65
|
-
|
66
61
|
/**
|
67
62
|
* Defines the component header text.
|
68
63
|
* <br><br>
|
@@ -75,7 +70,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
75
70
|
headerText: {
|
76
71
|
type: String
|
77
72
|
},
|
78
|
-
|
79
73
|
/**
|
80
74
|
* Defines the component footer text.
|
81
75
|
*
|
@@ -86,7 +80,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
86
80
|
footerText: {
|
87
81
|
type: String
|
88
82
|
},
|
89
|
-
|
90
83
|
/**
|
91
84
|
* An array, containing a flat structure of list items to render
|
92
85
|
*
|
@@ -96,7 +89,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
96
89
|
type: Object,
|
97
90
|
multiple: true
|
98
91
|
},
|
99
|
-
|
100
92
|
/**
|
101
93
|
* Shows the toggle button at the end, rather than at the beginning of the items
|
102
94
|
*
|
@@ -106,7 +98,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
106
98
|
_toggleButtonEnd: {
|
107
99
|
type: Boolean
|
108
100
|
},
|
109
|
-
|
110
101
|
/**
|
111
102
|
* Represents the tree in a very minimal state - icons only with no text and no toggle buttons
|
112
103
|
*
|
@@ -118,9 +109,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
118
109
|
}
|
119
110
|
},
|
120
111
|
managedSlots: true,
|
121
|
-
slots:
|
122
|
-
/** @lends sap.ui.webcomponents.main.Tree.prototype */
|
123
|
-
{
|
112
|
+
slots: /** @lends sap.ui.webcomponents.main.Tree.prototype */{
|
124
113
|
/**
|
125
114
|
* Defines the items of the component. Tree items may have other tree items as children.
|
126
115
|
* <br><br>
|
@@ -135,7 +124,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
135
124
|
propertyName: "items",
|
136
125
|
invalidateOnChildChange: true
|
137
126
|
},
|
138
|
-
|
139
127
|
/**
|
140
128
|
* Defines the component header.
|
141
129
|
* <br><br>
|
@@ -150,9 +138,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
150
138
|
type: HTMLElement
|
151
139
|
}
|
152
140
|
},
|
153
|
-
events:
|
154
|
-
/** @lends sap.ui.webcomponents.main.Tree.prototype */
|
155
|
-
{
|
141
|
+
events: /** @lends sap.ui.webcomponents.main.Tree.prototype */{
|
156
142
|
/**
|
157
143
|
* Fired when a tree item is expanded or collapsed.
|
158
144
|
* <i>Note:</i> You can call <code>preventDefault()</code> on the event object to suppress the event, if needed.
|
@@ -171,7 +157,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
171
157
|
}
|
172
158
|
}
|
173
159
|
},
|
174
|
-
|
175
160
|
/**
|
176
161
|
* Fired when the mouse cursor enters the tree item borders.
|
177
162
|
* @event sap.ui.webcomponents.main.Tree#item-mouseover
|
@@ -186,7 +171,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
186
171
|
}
|
187
172
|
}
|
188
173
|
},
|
189
|
-
|
190
174
|
/**
|
191
175
|
* Fired when the mouse cursor leaves the tree item borders.
|
192
176
|
* @event sap.ui.webcomponents.main.Tree#item-mouseout
|
@@ -201,7 +185,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
201
185
|
}
|
202
186
|
}
|
203
187
|
},
|
204
|
-
|
205
188
|
/**
|
206
189
|
* Fired when a tree item is activated.
|
207
190
|
*
|
@@ -217,7 +200,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
217
200
|
}
|
218
201
|
}
|
219
202
|
},
|
220
|
-
|
221
203
|
/**
|
222
204
|
* Fired when the Delete button of any tree item is pressed.
|
223
205
|
* <br><br>
|
@@ -235,7 +217,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
235
217
|
}
|
236
218
|
}
|
237
219
|
},
|
238
|
-
|
239
220
|
/**
|
240
221
|
* Fired when selection is changed by user interaction
|
241
222
|
* in <code>SingleSelect</code>, <code>SingleSelectBegin</code>, <code>SingleSelectEnd</code> and <code>MultiSelect</code> modes.
|
@@ -257,6 +238,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
257
238
|
}
|
258
239
|
}
|
259
240
|
};
|
241
|
+
|
260
242
|
/**
|
261
243
|
* @class
|
262
244
|
*
|
@@ -310,86 +292,69 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
310
292
|
* @public
|
311
293
|
* @since 1.0.0-rc.8
|
312
294
|
*/
|
313
|
-
|
314
295
|
class Tree extends _UI5Element.default {
|
315
296
|
static get metadata() {
|
316
297
|
return metadata;
|
317
298
|
}
|
318
|
-
|
319
299
|
static get render() {
|
320
300
|
return _LitRenderer.default;
|
321
301
|
}
|
322
|
-
|
323
302
|
static get styles() {
|
324
303
|
return _Tree.default;
|
325
304
|
}
|
326
|
-
|
327
305
|
static get template() {
|
328
306
|
return _TreeTemplate.default;
|
329
307
|
}
|
330
|
-
|
331
308
|
static get dependencies() {
|
332
309
|
return [_List.default, _TreeListItem.default, _TreeItem.default];
|
333
310
|
}
|
334
|
-
|
335
311
|
onBeforeRendering() {
|
336
312
|
this._listItems = [];
|
337
313
|
buildTree(this, 1, this._listItems);
|
338
314
|
}
|
339
|
-
|
340
315
|
get list() {
|
341
316
|
return this.getDomRef();
|
342
317
|
}
|
343
|
-
|
344
318
|
get _role() {
|
345
319
|
return "tree";
|
346
320
|
}
|
347
|
-
|
348
321
|
_onListItemStepIn(event) {
|
349
322
|
const listItem = event.detail.item;
|
350
323
|
const treeItem = listItem.treeItem;
|
351
|
-
|
352
324
|
if (treeItem.items.length > 0) {
|
353
325
|
const firstChild = treeItem.items[0];
|
354
326
|
const firstChildListItem = this.list.getSlottedNodes("items").find(li => li.treeItem === firstChild);
|
355
327
|
firstChildListItem && this.list.focusItem(firstChildListItem);
|
356
328
|
}
|
357
329
|
}
|
358
|
-
|
359
330
|
_onListItemStepOut(event) {
|
360
331
|
const listItem = event.detail.item;
|
361
332
|
const treeItem = listItem.treeItem;
|
362
|
-
|
363
333
|
if (treeItem.parentElement !== this) {
|
364
334
|
const parent = treeItem.parentElement;
|
365
335
|
const parentListItem = this.list.getSlottedNodes("items").find(li => li.treeItem === parent);
|
366
336
|
parentListItem && this.list.focusItem(parentListItem);
|
367
337
|
}
|
368
338
|
}
|
369
|
-
|
370
339
|
_onListItemToggle(event) {
|
371
340
|
const listItem = event.detail.item;
|
372
341
|
const treeItem = listItem.treeItem;
|
373
342
|
const defaultPrevented = !this.fireEvent("item-toggle", {
|
374
343
|
item: treeItem
|
375
344
|
}, true);
|
376
|
-
|
377
345
|
if (!defaultPrevented) {
|
378
346
|
treeItem.toggle();
|
379
347
|
}
|
380
348
|
}
|
381
|
-
|
382
349
|
_onListItemClick(event) {
|
383
350
|
const listItem = event.detail.item;
|
384
351
|
const treeItem = listItem.treeItem;
|
385
|
-
|
386
352
|
if (!this.fireEvent("item-click", {
|
387
353
|
item: treeItem
|
388
354
|
}, true)) {
|
389
355
|
event.preventDefault();
|
390
356
|
}
|
391
357
|
}
|
392
|
-
|
393
358
|
_onListItemDelete(event) {
|
394
359
|
const listItem = event.detail.item;
|
395
360
|
const treeItem = listItem.treeItem;
|
@@ -397,21 +362,18 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
397
362
|
item: treeItem
|
398
363
|
});
|
399
364
|
}
|
400
|
-
|
401
365
|
_onListItemMouseOver(event) {
|
402
366
|
const treeItem = event.target.treeItem;
|
403
367
|
this.fireEvent("item-mouseover", {
|
404
368
|
item: treeItem
|
405
369
|
});
|
406
370
|
}
|
407
|
-
|
408
371
|
_onListItemMouseOut(event) {
|
409
372
|
const treeItem = event.target.treeItem;
|
410
373
|
this.fireEvent("item-mouseout", {
|
411
374
|
item: treeItem
|
412
375
|
});
|
413
376
|
}
|
414
|
-
|
415
377
|
_onListSelectionChange(event) {
|
416
378
|
const previouslySelectedItems = event.detail.previouslySelectedItems.map(item => item.treeItem);
|
417
379
|
const selectedItems = event.detail.selectedItems.map(item => item.treeItem);
|
@@ -426,41 +388,35 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
426
388
|
selectedItems
|
427
389
|
});
|
428
390
|
}
|
391
|
+
|
429
392
|
/**
|
430
393
|
* Returns the corresponding list item for a given tree item
|
431
394
|
*
|
432
395
|
* @param item The tree item
|
433
396
|
* @protected
|
434
397
|
*/
|
435
|
-
|
436
|
-
|
437
398
|
_getListItemForTreeItem(item) {
|
438
399
|
return this.list.items.find(listItem => listItem.treeItem === item);
|
439
400
|
}
|
401
|
+
|
440
402
|
/**
|
441
403
|
* Perform Depth-First-Search walk on the tree and run a callback on each node
|
442
404
|
*
|
443
405
|
* @public
|
444
406
|
* @param {function} callback function to execute on each node of the tree with 2 arguments: the node and the level
|
445
407
|
*/
|
446
|
-
|
447
|
-
|
448
408
|
walk(callback) {
|
449
409
|
walkTree(this, 1, callback);
|
450
410
|
}
|
451
|
-
|
452
411
|
}
|
453
|
-
|
454
412
|
const walkTree = (el, level, callback) => {
|
455
413
|
el.items.forEach(item => {
|
456
414
|
callback(item, level);
|
457
|
-
|
458
415
|
if (item.items.length > 0) {
|
459
416
|
walkTree(item, level + 1, callback);
|
460
417
|
}
|
461
418
|
});
|
462
419
|
};
|
463
|
-
|
464
420
|
const buildTree = (el, level, result) => {
|
465
421
|
el.items.forEach((item, index) => {
|
466
422
|
const listItem = {
|
@@ -470,13 +426,11 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
470
426
|
level
|
471
427
|
};
|
472
428
|
result.push(listItem);
|
473
|
-
|
474
429
|
if (item.expanded && item.items.length > 0) {
|
475
430
|
buildTree(item, level + 1, result);
|
476
431
|
}
|
477
432
|
});
|
478
433
|
};
|
479
|
-
|
480
434
|
Tree.define();
|
481
435
|
var _default = Tree;
|
482
436
|
_exports.default = _default;
|
@@ -7,17 +7,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
7
7
|
_exports.default = void 0;
|
8
8
|
_UI5Element = _interopRequireDefault(_UI5Element);
|
9
9
|
_ValueState = _interopRequireDefault(_ValueState);
|
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-tree-item",
|
18
|
-
properties:
|
19
|
-
/** @lends sap.ui.webcomponents.main.TreeItem.prototype */
|
20
|
-
{
|
16
|
+
properties: /** @lends sap.ui.webcomponents.main.TreeItem.prototype */{
|
21
17
|
/**
|
22
18
|
* Defines the text of the tree item.
|
23
19
|
*
|
@@ -28,7 +24,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
28
24
|
text: {
|
29
25
|
type: String
|
30
26
|
},
|
31
|
-
|
32
27
|
/**
|
33
28
|
* Defines whether the tree node is expanded or collapsed. Only has visual effect for tree nodes with children.
|
34
29
|
*
|
@@ -39,7 +34,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
39
34
|
expanded: {
|
40
35
|
type: Boolean
|
41
36
|
},
|
42
|
-
|
43
37
|
/**
|
44
38
|
* Defines whether the selection of a tree node is displayed as partially selected.
|
45
39
|
* <br><br>
|
@@ -61,7 +55,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
61
55
|
indeterminate: {
|
62
56
|
type: Boolean
|
63
57
|
},
|
64
|
-
|
65
58
|
/**
|
66
59
|
* Defines whether the tree node has children, even if currently no other tree nodes are slotted inside.
|
67
60
|
* <br>
|
@@ -76,7 +69,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
76
69
|
hasChildren: {
|
77
70
|
type: Boolean
|
78
71
|
},
|
79
|
-
|
80
72
|
/**
|
81
73
|
* Defines whether the tree node is selected by the user. Only has effect if the <code>ui5-tree</code> is in one of the
|
82
74
|
* following modes: in <code>SingleSelect</code>, <code>SingleSelectBegin</code>, <code>SingleSelectEnd</code> and <code>MultiSelect</code>.
|
@@ -88,7 +80,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
88
80
|
selected: {
|
89
81
|
type: Boolean
|
90
82
|
},
|
91
|
-
|
92
83
|
/**
|
93
84
|
* If set, an icon will be displayed before the text, representing the tree item.
|
94
85
|
*
|
@@ -99,7 +90,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
99
90
|
icon: {
|
100
91
|
type: String
|
101
92
|
},
|
102
|
-
|
103
93
|
/**
|
104
94
|
* Defines the <code>additionalText</code>, displayed in the end of the tree item.
|
105
95
|
* @type {string}
|
@@ -109,7 +99,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
109
99
|
additionalText: {
|
110
100
|
type: String
|
111
101
|
},
|
112
|
-
|
113
102
|
/**
|
114
103
|
* Defines the state of the <code>additionalText</code>.
|
115
104
|
* <br>
|
@@ -123,7 +112,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
123
112
|
type: _ValueState.default,
|
124
113
|
defaultValue: _ValueState.default.None
|
125
114
|
},
|
126
|
-
|
127
115
|
/**
|
128
116
|
* Defines the tooltip of the component.
|
129
117
|
* @type {string}
|
@@ -136,9 +124,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
136
124
|
}
|
137
125
|
},
|
138
126
|
managedSlots: true,
|
139
|
-
slots:
|
140
|
-
/** @lends sap.ui.webcomponents.main.TreeItem.prototype */
|
141
|
-
{
|
127
|
+
slots: /** @lends sap.ui.webcomponents.main.TreeItem.prototype */{
|
142
128
|
/**
|
143
129
|
* Defines the items of this component.
|
144
130
|
*
|
@@ -153,6 +139,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
153
139
|
}
|
154
140
|
}
|
155
141
|
};
|
142
|
+
|
156
143
|
/**
|
157
144
|
* @class
|
158
145
|
*
|
@@ -177,27 +164,22 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
177
164
|
* @implements sap.ui.webcomponents.main.ITreeItem
|
178
165
|
* @since 1.0.0-rc.8
|
179
166
|
*/
|
180
|
-
|
181
167
|
class TreeItem extends _UI5Element.default {
|
182
168
|
static get metadata() {
|
183
169
|
return metadata;
|
184
170
|
}
|
185
|
-
|
186
171
|
get requiresToggleButton() {
|
187
172
|
return this.hasChildren || this.items.length > 0;
|
188
173
|
}
|
174
|
+
|
189
175
|
/**
|
190
176
|
* Call this method to manually switch the <code>expanded</code> state of a tree item.
|
191
177
|
* @public
|
192
178
|
*/
|
193
|
-
|
194
|
-
|
195
179
|
toggle() {
|
196
180
|
this.expanded = !this.expanded;
|
197
181
|
}
|
198
|
-
|
199
182
|
}
|
200
|
-
|
201
183
|
TreeItem.define();
|
202
184
|
var _default = TreeItem;
|
203
185
|
_exports.default = _default;
|
@@ -11,10 +11,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
11
11
|
_Icon = _interopRequireDefault(_Icon);
|
12
12
|
_TreeListItemTemplate = _interopRequireDefault(_TreeListItemTemplate);
|
13
13
|
_TreeListItem = _interopRequireDefault(_TreeListItem);
|
14
|
-
|
15
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
16
|
-
|
17
15
|
// Template
|
16
|
+
|
18
17
|
// Styles
|
19
18
|
|
20
19
|
/**
|
@@ -23,9 +22,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
23
22
|
const metadata = {
|
24
23
|
tag: "ui5-li-tree",
|
25
24
|
languageAware: true,
|
26
|
-
properties:
|
27
|
-
/** @lends sap.ui.webcomponents.main.TreeListItem.prototype */
|
28
|
-
{
|
25
|
+
properties: /** @lends sap.ui.webcomponents.main.TreeListItem.prototype */{
|
29
26
|
/**
|
30
27
|
* Defines the indentation of the tree list item. Use level 1 for tree list items, representing top-level tree nodes.
|
31
28
|
*
|
@@ -37,7 +34,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
37
34
|
type: _Integer.default,
|
38
35
|
defaultValue: 1
|
39
36
|
},
|
40
|
-
|
41
37
|
/**
|
42
38
|
* If set, an icon will be displayed before the text of the tree list item.
|
43
39
|
*
|
@@ -48,7 +44,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
48
44
|
icon: {
|
49
45
|
type: String
|
50
46
|
},
|
51
|
-
|
52
47
|
/**
|
53
48
|
* Defines whether the tree list item should display an expand/collapse button.
|
54
49
|
*
|
@@ -59,7 +54,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
59
54
|
showToggleButton: {
|
60
55
|
type: Boolean
|
61
56
|
},
|
62
|
-
|
63
57
|
/**
|
64
58
|
* Defines whether the tree list item will show a collapse or expand icon inside its toggle button.
|
65
59
|
*
|
@@ -70,7 +64,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
70
64
|
expanded: {
|
71
65
|
type: Boolean
|
72
66
|
},
|
73
|
-
|
74
67
|
/**
|
75
68
|
* @private
|
76
69
|
* @since 1.1.0
|
@@ -78,7 +71,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
78
71
|
indeterminate: {
|
79
72
|
type: Boolean
|
80
73
|
},
|
81
|
-
|
82
74
|
/**
|
83
75
|
* Defines the <code>additionalText</code>, displayed in the end of the tree item.
|
84
76
|
* @type {string}
|
@@ -88,7 +80,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
88
80
|
additionalText: {
|
89
81
|
type: String
|
90
82
|
},
|
91
|
-
|
92
83
|
/**
|
93
84
|
* Defines the state of the <code>additionalText</code>.
|
94
85
|
* <br>
|
@@ -102,7 +93,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
102
93
|
type: _ValueState.default,
|
103
94
|
defaultValue: _ValueState.default.None
|
104
95
|
},
|
105
|
-
|
106
96
|
/**
|
107
97
|
* Defines whether the toggle button is shown at the end, rather than at the beginning of the item
|
108
98
|
*
|
@@ -112,7 +102,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
112
102
|
_toggleButtonEnd: {
|
113
103
|
type: Boolean
|
114
104
|
},
|
115
|
-
|
116
105
|
/**
|
117
106
|
* Defines whether the item shows minimal details - only icon (no text or toggle button)
|
118
107
|
*
|
@@ -122,7 +111,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
122
111
|
_minimal: {
|
123
112
|
type: Boolean
|
124
113
|
},
|
125
|
-
|
126
114
|
/**
|
127
115
|
* @private
|
128
116
|
* @since 1.0.0-rc.11
|
@@ -132,7 +120,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
132
120
|
defaultValue: 1,
|
133
121
|
noAttribute: true
|
134
122
|
},
|
135
|
-
|
136
123
|
/**
|
137
124
|
* @private
|
138
125
|
* @since 1.0.0-rc.11
|
@@ -143,9 +130,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
143
130
|
noAttribute: true
|
144
131
|
}
|
145
132
|
},
|
146
|
-
slots:
|
147
|
-
/** @lends sap.ui.webcomponents.main.TreeListItem.prototype */
|
148
|
-
{
|
133
|
+
slots: /** @lends sap.ui.webcomponents.main.TreeListItem.prototype */{
|
149
134
|
/**
|
150
135
|
* Defines the text of the component.
|
151
136
|
* <br><br>
|
@@ -159,9 +144,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
159
144
|
type: Node
|
160
145
|
}
|
161
146
|
},
|
162
|
-
events:
|
163
|
-
/** @lends sap.ui.webcomponents.main.TreeListItem.prototype */
|
164
|
-
{
|
147
|
+
events: /** @lends sap.ui.webcomponents.main.TreeListItem.prototype */{
|
165
148
|
/**
|
166
149
|
* Fired when the user interacts with the expand/collapse button of the tree list item.
|
167
150
|
* @event
|
@@ -175,7 +158,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
175
158
|
}
|
176
159
|
}
|
177
160
|
},
|
178
|
-
|
179
161
|
/**
|
180
162
|
* Fired when the user drills down into the tree hierarchy by pressing the right arrow on the tree node.
|
181
163
|
*
|
@@ -190,7 +172,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
190
172
|
}
|
191
173
|
}
|
192
174
|
},
|
193
|
-
|
194
175
|
/**
|
195
176
|
* Fired when the user goes up the tree hierarchy by pressing the left arrow on the tree node.
|
196
177
|
*
|
@@ -207,6 +188,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
207
188
|
}
|
208
189
|
}
|
209
190
|
};
|
191
|
+
|
210
192
|
/**
|
211
193
|
* @class
|
212
194
|
* The <code>ui5-li-tree</code> represents a node in a tree structure, shown as a <code>ui5-list</code>.
|
@@ -233,34 +215,27 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
233
215
|
* @public
|
234
216
|
* @since 1.0.0-rc.8
|
235
217
|
*/
|
236
|
-
|
237
218
|
class TreeListItem extends _ListItem.default {
|
238
219
|
static get template() {
|
239
220
|
return _TreeListItemTemplate.default;
|
240
221
|
}
|
241
|
-
|
242
222
|
static get styles() {
|
243
223
|
return [_ListItem.default.styles, _TreeListItem.default];
|
244
224
|
}
|
245
|
-
|
246
225
|
static get metadata() {
|
247
226
|
return metadata;
|
248
227
|
}
|
249
|
-
|
250
228
|
static get dependencies() {
|
251
229
|
return [..._ListItem.default.dependencies, _Icon.default];
|
252
230
|
}
|
253
|
-
|
254
231
|
onBeforeRendering() {
|
255
232
|
this.actionable = false;
|
256
233
|
}
|
257
|
-
|
258
234
|
get classes() {
|
259
235
|
const allClasses = super.classes;
|
260
236
|
allClasses.main["ui5-li-root-tree"] = true;
|
261
237
|
return allClasses;
|
262
238
|
}
|
263
|
-
|
264
239
|
get styles() {
|
265
240
|
return {
|
266
241
|
preContent: {
|
@@ -268,31 +243,24 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
268
243
|
}
|
269
244
|
};
|
270
245
|
}
|
271
|
-
|
272
246
|
get effectiveLevel() {
|
273
247
|
return this.level - 1;
|
274
248
|
}
|
275
|
-
|
276
249
|
get hasParent() {
|
277
250
|
return this.level > 1;
|
278
251
|
}
|
279
|
-
|
280
252
|
get _toggleIconName() {
|
281
253
|
return this.expanded ? "navigation-down-arrow" : "navigation-right-arrow";
|
282
254
|
}
|
283
|
-
|
284
255
|
get _showToggleButtonBeginning() {
|
285
256
|
return this.showToggleButton && !this._minimal && !this._toggleButtonEnd;
|
286
257
|
}
|
287
|
-
|
288
258
|
get _showToggleButtonEnd() {
|
289
259
|
return this.showToggleButton && !this._minimal && this._toggleButtonEnd;
|
290
260
|
}
|
291
|
-
|
292
261
|
get _showTitle() {
|
293
262
|
return this.textContent.length && !this._minimal;
|
294
263
|
}
|
295
|
-
|
296
264
|
get _accInfo() {
|
297
265
|
return {
|
298
266
|
role: "treeitem",
|
@@ -304,17 +272,14 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
304
272
|
listItemAriaLabel: TreeListItem.i18nBundle.getText(_i18nDefaults.TREE_ITEM_ARIA_LABEL)
|
305
273
|
};
|
306
274
|
}
|
307
|
-
|
308
275
|
_toggleClick(event) {
|
309
276
|
event.stopPropagation();
|
310
277
|
this.fireEvent("toggle", {
|
311
278
|
item: this
|
312
279
|
});
|
313
280
|
}
|
314
|
-
|
315
281
|
_onkeydown(event) {
|
316
282
|
super._onkeydown(event);
|
317
|
-
|
318
283
|
if (this.showToggleButton && (0, _Keys.isRight)(event)) {
|
319
284
|
if (!this.expanded) {
|
320
285
|
this.fireEvent("toggle", {
|
@@ -326,7 +291,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
326
291
|
});
|
327
292
|
}
|
328
293
|
}
|
329
|
-
|
330
294
|
if ((0, _Keys.isLeft)(event)) {
|
331
295
|
if (this.expanded) {
|
332
296
|
this.fireEvent("toggle", {
|
@@ -339,17 +303,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
339
303
|
}
|
340
304
|
}
|
341
305
|
}
|
342
|
-
|
343
306
|
get iconAccessibleName() {
|
344
307
|
return this.expanded ? TreeListItem.i18nBundle.getText(_i18nDefaults.TREE_ITEM_COLLAPSE_NODE) : TreeListItem.i18nBundle.getText(_i18nDefaults.TREE_ITEM_EXPAND_NODE);
|
345
308
|
}
|
346
|
-
|
347
309
|
static async onDefine() {
|
348
310
|
[TreeListItem.i18nBundle] = await Promise.all([(0, _i18nBundle.getI18nBundle)("@ui5/webcomponents"), super.onDefine()]);
|
349
311
|
}
|
350
|
-
|
351
312
|
}
|
352
|
-
|
353
313
|
TreeListItem.define();
|
354
314
|
var _default = TreeListItem;
|
355
315
|
_exports.default = _default;
|