@openui5/sap.ui.webc.main 1.115.1 → 1.116.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/.reuse/dep5 +0 -5
- package/THIRDPARTY.txt +1 -7
- package/package.json +3 -3
- package/src/sap/ui/webc/main/.library +1 -1
- package/src/sap/ui/webc/main/Avatar.js +23 -3
- package/src/sap/ui/webc/main/AvatarGroup.js +1 -1
- package/src/sap/ui/webc/main/Badge.js +2 -2
- package/src/sap/ui/webc/main/Breadcrumbs.js +1 -1
- package/src/sap/ui/webc/main/BreadcrumbsItem.js +3 -3
- package/src/sap/ui/webc/main/BusyIndicator.js +1 -1
- package/src/sap/ui/webc/main/Button.js +4 -3
- package/src/sap/ui/webc/main/Calendar.js +6 -2
- package/src/sap/ui/webc/main/CalendarDate.js +2 -2
- package/src/sap/ui/webc/main/Card.js +3 -7
- package/src/sap/ui/webc/main/CardHeader.js +7 -2
- package/src/sap/ui/webc/main/Carousel.js +49 -4
- package/src/sap/ui/webc/main/CheckBox.js +14 -4
- 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 +11 -8
- 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 +19 -3
- package/src/sap/ui/webc/main/DatePicker.js +7 -2
- package/src/sap/ui/webc/main/DateRangePicker.js +9 -3
- package/src/sap/ui/webc/main/DateTimePicker.js +8 -3
- package/src/sap/ui/webc/main/Dialog.js +37 -6
- 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 +42 -2
- package/src/sap/ui/webc/main/Input.js +2 -2
- package/src/sap/ui/webc/main/Label.js +7 -3
- package/src/sap/ui/webc/main/Link.js +12 -2
- package/src/sap/ui/webc/main/List.js +2 -1
- package/src/sap/ui/webc/main/Menu.js +87 -3
- package/src/sap/ui/webc/main/MenuItem.js +34 -1
- package/src/sap/ui/webc/main/MessageStrip.js +1 -1
- package/src/sap/ui/webc/main/MultiComboBox.js +8 -7
- 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 +4 -4
- package/src/sap/ui/webc/main/Option.js +1 -1
- package/src/sap/ui/webc/main/Panel.js +3 -3
- package/src/sap/ui/webc/main/Popover.js +18 -4
- package/src/sap/ui/webc/main/ProgressIndicator.js +1 -1
- package/src/sap/ui/webc/main/RadioButton.js +17 -1
- package/src/sap/ui/webc/main/RangeSlider.js +12 -2
- package/src/sap/ui/webc/main/RatingIndicator.js +2 -2
- package/src/sap/ui/webc/main/ResponsivePopover.js +18 -4
- package/src/sap/ui/webc/main/SegmentedButton.js +40 -5
- package/src/sap/ui/webc/main/SegmentedButtonItem.js +4 -3
- package/src/sap/ui/webc/main/Select.js +20 -4
- package/src/sap/ui/webc/main/Slider.js +2 -2
- package/src/sap/ui/webc/main/SplitButton.js +7 -7
- package/src/sap/ui/webc/main/StandardListItem.js +31 -4
- package/src/sap/ui/webc/main/StepInput.js +2 -2
- package/src/sap/ui/webc/main/SuggestionGroupItem.js +1 -1
- package/src/sap/ui/webc/main/SuggestionItem.js +2 -2
- package/src/sap/ui/webc/main/Switch.js +2 -2
- package/src/sap/ui/webc/main/Tab.js +3 -3
- package/src/sap/ui/webc/main/TabContainer.js +40 -4
- package/src/sap/ui/webc/main/TabSeparator.js +10 -2
- package/src/sap/ui/webc/main/Table.js +2 -2
- package/src/sap/ui/webc/main/TableCell.js +1 -1
- package/src/sap/ui/webc/main/TableColumn.js +21 -1
- package/src/sap/ui/webc/main/TableGroupRow.js +1 -1
- package/src/sap/ui/webc/main/TableRow.js +9 -1
- package/src/sap/ui/webc/main/TextArea.js +2 -3
- package/src/sap/ui/webc/main/TimePicker.js +31 -3
- 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 +4 -3
- package/src/sap/ui/webc/main/Token.js +6 -4
- package/src/sap/ui/webc/main/Tree.js +31 -2
- package/src/sap/ui/webc/main/TreeItem.js +63 -10
- package/src/sap/ui/webc/main/TreeItemCustom.js +205 -0
- package/src/sap/ui/webc/main/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/ui/webc/main/library.js +348 -70
- package/src/sap/ui/webc/main/thirdparty/Avatar.js +130 -232
- package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +109 -184
- package/src/sap/ui/webc/main/thirdparty/Badge.js +40 -86
- package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +152 -202
- package/src/sap/ui/webc/main/thirdparty/BreadcrumbsItem.js +27 -78
- package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +46 -115
- package/src/sap/ui/webc/main/thirdparty/Button.js +123 -287
- package/src/sap/ui/webc/main/thirdparty/Calendar.js +146 -197
- package/src/sap/ui/webc/main/thirdparty/CalendarDate.js +16 -26
- package/src/sap/ui/webc/main/thirdparty/CalendarHeader.js +78 -113
- package/src/sap/ui/webc/main/thirdparty/CalendarPart.js +16 -27
- package/src/sap/ui/webc/main/thirdparty/Card.js +43 -92
- package/src/sap/ui/webc/main/thirdparty/CardHeader.js +69 -129
- package/src/sap/ui/webc/main/thirdparty/Carousel.js +167 -229
- package/src/sap/ui/webc/main/thirdparty/CheckBox.js +103 -244
- package/src/sap/ui/webc/main/thirdparty/ColorPalette.js +122 -173
- package/src/sap/ui/webc/main/thirdparty/ColorPaletteItem.js +41 -77
- package/src/sap/ui/webc/main/thirdparty/ColorPalettePopover.js +62 -105
- package/src/sap/ui/webc/main/thirdparty/ColorPicker.js +138 -244
- package/src/sap/ui/webc/main/thirdparty/ComboBox.js +297 -419
- package/src/sap/ui/webc/main/thirdparty/ComboBoxGroupItem.js +20 -41
- package/src/sap/ui/webc/main/thirdparty/ComboBoxItem.js +30 -37
- package/src/sap/ui/webc/main/thirdparty/CustomListItem.js +33 -54
- package/src/sap/ui/webc/main/thirdparty/DateComponentBase.js +59 -76
- package/src/sap/ui/webc/main/thirdparty/DatePicker.js +207 -334
- package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +56 -72
- package/src/sap/ui/webc/main/thirdparty/DateTimePicker.js +63 -111
- package/src/sap/ui/webc/main/thirdparty/DayPicker.js +147 -212
- package/src/sap/ui/webc/main/thirdparty/Dialog.js +162 -183
- package/src/sap/ui/webc/main/thirdparty/FileUploader.js +101 -242
- package/src/sap/ui/webc/main/thirdparty/GroupHeaderListItem.js +25 -58
- package/src/sap/ui/webc/main/thirdparty/Icon.js +103 -193
- package/src/sap/ui/webc/main/thirdparty/Input.js +453 -717
- package/src/sap/ui/webc/main/thirdparty/Interfaces.js +51 -61
- package/src/sap/ui/webc/main/thirdparty/Label.js +49 -108
- package/src/sap/ui/webc/main/thirdparty/Link.js +104 -247
- package/src/sap/ui/webc/main/thirdparty/List.js +303 -468
- package/src/sap/ui/webc/main/thirdparty/ListItem.js +126 -166
- package/src/sap/ui/webc/main/thirdparty/ListItemBase.js +64 -104
- package/src/sap/ui/webc/main/thirdparty/Menu.js +264 -200
- package/src/sap/ui/webc/main/thirdparty/MenuItem.js +66 -117
- package/src/sap/ui/webc/main/thirdparty/MessageStrip.js +70 -141
- package/src/sap/ui/webc/main/thirdparty/MonthPicker.js +100 -103
- package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +381 -496
- package/src/sap/ui/webc/main/thirdparty/MultiComboBoxGroupItem.js +20 -34
- package/src/sap/ui/webc/main/thirdparty/MultiComboBoxItem.js +19 -26
- package/src/sap/ui/webc/main/thirdparty/MultiInput.js +127 -137
- package/src/sap/ui/webc/main/thirdparty/Option.js +40 -107
- package/src/sap/ui/webc/main/thirdparty/Panel.js +102 -214
- package/src/sap/ui/webc/main/thirdparty/Popover.js +141 -274
- package/src/sap/ui/webc/main/thirdparty/Popup.js +155 -250
- package/src/sap/ui/webc/main/thirdparty/ProgressIndicator.js +41 -109
- package/src/sap/ui/webc/main/thirdparty/RadioButton.js +111 -263
- package/src/sap/ui/webc/main/thirdparty/RadioButtonGroup.js +32 -13
- package/src/sap/ui/webc/main/thirdparty/RangeSlider.js +208 -208
- package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +79 -146
- package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +70 -81
- package/src/sap/ui/webc/main/thirdparty/SegmentedButton.js +141 -126
- package/src/sap/ui/webc/main/thirdparty/SegmentedButtonItem.js +41 -73
- package/src/sap/ui/webc/main/thirdparty/Select.js +186 -285
- package/src/sap/ui/webc/main/thirdparty/Slider.js +84 -80
- package/src/sap/ui/webc/main/thirdparty/SliderBase.js +151 -326
- package/src/sap/ui/webc/main/thirdparty/SplitButton.js +111 -240
- package/src/sap/ui/webc/main/thirdparty/StandardListItem.js +50 -142
- package/src/sap/ui/webc/main/thirdparty/StepInput.js +137 -309
- package/src/sap/ui/webc/main/thirdparty/SuggestionGroupItem.js +22 -35
- package/src/sap/ui/webc/main/thirdparty/SuggestionItem.js +37 -114
- package/src/sap/ui/webc/main/thirdparty/SuggestionListItem.js +29 -37
- package/src/sap/ui/webc/main/thirdparty/Switch.js +63 -146
- package/src/sap/ui/webc/main/thirdparty/Tab.js +126 -168
- package/src/sap/ui/webc/main/thirdparty/TabContainer.js +344 -453
- package/src/sap/ui/webc/main/thirdparty/TabSeparator.js +35 -26
- package/src/sap/ui/webc/main/thirdparty/Table.js +319 -489
- package/src/sap/ui/webc/main/thirdparty/TableCell.js +41 -50
- package/src/sap/ui/webc/main/thirdparty/TableColumn.js +38 -88
- package/src/sap/ui/webc/main/thirdparty/TableGroupRow.js +50 -90
- package/src/sap/ui/webc/main/thirdparty/TableRow.js +137 -174
- package/src/sap/ui/webc/main/thirdparty/TextArea.js +162 -358
- package/src/sap/ui/webc/main/thirdparty/TimePicker.js +24 -52
- package/src/sap/ui/webc/main/thirdparty/TimePickerBase.js +116 -159
- package/src/sap/ui/webc/main/thirdparty/TimeSelection.js +121 -167
- package/src/sap/ui/webc/main/thirdparty/Title.js +38 -71
- package/src/sap/ui/webc/main/thirdparty/Toast.js +41 -110
- package/src/sap/ui/webc/main/thirdparty/ToggleButton.js +25 -39
- package/src/sap/ui/webc/main/thirdparty/Token.js +86 -143
- package/src/sap/ui/webc/main/thirdparty/Tokenizer.js +256 -202
- package/src/sap/ui/webc/main/thirdparty/Tree.js +227 -302
- package/src/sap/ui/webc/main/thirdparty/TreeItem.js +42 -156
- package/src/sap/ui/webc/main/thirdparty/TreeItemBase.js +256 -0
- package/src/sap/ui/webc/main/thirdparty/TreeItemCustom.js +80 -0
- package/src/sap/ui/webc/main/thirdparty/TreeList.js +51 -0
- package/src/sap/ui/webc/main/thirdparty/WheelSlider.js +75 -120
- package/src/sap/ui/webc/main/thirdparty/YearPicker.js +135 -124
- package/src/sap/ui/webc/main/thirdparty/css/themes/Avatar.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/AvatarGroup.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Badge.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Breadcrumbs.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/BreadcrumbsPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/BrowserScrollbar.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/BusyIndicator.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Button.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Calendar.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/CalendarHeader.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Card.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/CardHeader.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Carousel.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/CheckBox.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalette.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteItem.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalettePopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteStaticArea.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBox.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBoxPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/CustomListItem.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DatePicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DatePickerPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DateRangePicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePickerPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DayPicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Dialog.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/FileUploader.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/FormComponents.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/GroupHeaderListItem.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/GrowingButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Icon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Input.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/InputIcon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/InvisibleTextStyles.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Label.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Link.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/List.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ListItem.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ListItemBase.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Menu.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/MessageStrip.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/MonthPicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/MultiComboBox.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/MultiInput.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Panel.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Popover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Popup.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/PopupStaticAreaStyles.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/PopupsCommon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ProgressIndicator.css +3 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/RadioButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/RangeSlider.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/RatingIndicator.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopoverCommon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/SegmentedButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Select.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/SelectPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/SliderBase.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/SplitButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/StepInput.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Suggestions.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Switch.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Tab.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabContainer.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabInOverflow.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabInStrip.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabSemanticIcon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabSeparatorInOverflow.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabSeparatorInStrip.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Table.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableCell.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableColumn.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableGroupRow.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableRow.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TextArea.css +2 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimePicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimePickerPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimeSelection.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Title.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Toast.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ToggleButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Token.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Tokenizer.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Tree.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TreeItem.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ValueStateMessage.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/WheelSlider.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/YearPicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/custom-elements.json.js +1 -0
- package/src/sap/ui/webc/main/thirdparty/features/InputElementsFormSupport.js +25 -10
- package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +70 -72
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ar.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_bg.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ca.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_cs.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_cy.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_da.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_de.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_el.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_GB.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_sappsd.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_saprigi.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_saptrc.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_es.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_es_MX.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_et.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fi.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fr.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fr_CA.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hi.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hr.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hu.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_it.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_iw.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ja.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_kk.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ko.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_lt.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_lv.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ms.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_nl.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_no.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pl.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pt.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pt_PT.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ro.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ru.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sh.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sk.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sl.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sv.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_th.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_tr.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_uk.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_vi.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_zh_CN.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_zh_TW.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/i18n/i18n-defaults.js +108 -23
- package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarGroupTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarTemplate.lit.js +15 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BadgeTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsPopoverTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BusyIndicatorTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ButtonTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarHeaderTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CardHeaderTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CardTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CarouselTemplate.lit.js +30 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CheckBoxTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteDialogTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteItemTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPalettePopoverTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPickerTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxPopoverTemplate.lit.js +57 -17
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CustomListItemTemplate.lit.js +48 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerPopoverTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DateTimePickerPopoverTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DayPickerTemplate.lit.js +30 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DialogTemplate.lit.js +36 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderPopoverTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/GroupHeaderListItemTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/IconTemplate.lit.js +16 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputPopoverTemplate.lit.js +63 -21
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/LabelTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/LinkTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ListItemTemplate.lit.js +48 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ListTemplate.lit.js +27 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MenuTemplate.lit.js +33 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MessageStripTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MonthPickerTemplate.lit.js +12 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +72 -24
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +30 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PanelTemplate.lit.js +21 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopoverTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupBlockLayerTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ProgressIndicatorTemplate.lit.js +33 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RadioButtonTemplate.lit.js +13 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RangeSliderTemplate.lit.js +30 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RatingIndicatorTemplate.lit.js +30 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ResponsivePopoverTemplate.lit.js +39 -13
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonItemTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectPopoverTemplate.lit.js +51 -17
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderBaseTemplate.lit.js +24 -8
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderTemplate.lit.js +27 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SplitButtonTemplate.lit.js +6 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/StandardListItemTemplate.lit.js +78 -18
- package/src/sap/ui/webc/main/thirdparty/generated/templates/StepInputTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js +87 -21
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerPopoverTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerTemplate.lit.js +33 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInOverflowTemplate.lit.js +18 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +24 -8
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInOverflowTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInStripTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableCellTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableColumnTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableGroupRowTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableRowTemplate.lit.js +36 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableTemplate.lit.js +33 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaPopoverTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerPopoverTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimeSelectionTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TitleTemplate.lit.js +21 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToastTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToggleButtonTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerPopoverTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemBaseTemplate.lit.js +72 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemCustomTemplate.lit.js +72 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemTemplate.lit.js +78 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/WheelSliderTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/YearPickerTemplate.lit.js +12 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Avatar.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/AvatarGroup.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Badge.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Breadcrumbs.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BreadcrumbsPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BrowserScrollbar.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BusyIndicator.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Calendar.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CalendarHeader.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Card.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CardHeader.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Carousel.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CheckBox.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalette.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteItem.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalettePopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteStaticArea.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBox.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBoxPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CustomListItem.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePickerPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateRangePicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePickerPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DayPicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Dialog.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/FileUploader.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/FormComponents.css.js +20 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/GroupHeaderListItem.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/GrowingButton.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Icon.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Input.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/InputIcon.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/InvisibleTextStyles.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Label.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Link.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/List.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItem.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItemBase.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Menu.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MessageStrip.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MonthPicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBox.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBoxPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiInput.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Panel.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Popover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Popup.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupGlobal.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupStaticAreaStyles.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupsCommon.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ProgressIndicator.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RadioButton.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RangeSlider.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RatingIndicator.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopoverCommon.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SegmentedButton.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Select.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SelectPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SliderBase.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SplitButton.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/StepInput.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Suggestions.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Switch.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tab.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabContainer.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInOverflow.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInStrip.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSemanticIcon.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInOverflow.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInStrip.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Table.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableCell.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableColumn.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableGroupRow.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableRow.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TapHighlightColor.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TextArea.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePickerPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimeSelection.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Title.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Toast.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Token.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tokenizer.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TokenizerPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tree.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeItem.css.js +20 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ValueStateMessage.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/WheelSlider.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/YearPicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_dark/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_exp/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/popup-utils/OpenedPopupsRegistry.js +16 -1
- package/src/sap/ui/webc/main/thirdparty/popup-utils/PopoverRegistry.js +36 -21
- package/src/sap/ui/webc/main/thirdparty/timepicker-utils/TimeSlider.js +6 -3
- package/src/sap/ui/webc/main/thirdparty/types/AvatarColorScheme.js +21 -34
- package/src/sap/ui/webc/main/thirdparty/types/AvatarGroupType.js +13 -26
- package/src/sap/ui/webc/main/thirdparty/types/AvatarShape.js +11 -24
- package/src/sap/ui/webc/main/thirdparty/types/AvatarSize.js +19 -32
- package/src/sap/ui/webc/main/thirdparty/types/BackgroundDesign.js +40 -0
- package/src/sap/ui/webc/main/thirdparty/types/BorderDesign.js +34 -0
- package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsDesign.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsSeparatorStyle.js +17 -29
- package/src/sap/ui/webc/main/thirdparty/types/BusyIndicatorSize.js +13 -25
- package/src/sap/ui/webc/main/thirdparty/types/ButtonDesign.js +16 -28
- package/src/sap/ui/webc/main/thirdparty/types/CalendarPickersMode.js +40 -0
- package/src/sap/ui/webc/main/thirdparty/types/CalendarSelectionMode.js +13 -25
- package/src/sap/ui/webc/main/thirdparty/types/CarouselArrowsPlacement.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/CarouselPageIndicatorStyle.js +35 -0
- package/src/sap/ui/webc/main/thirdparty/types/ComboBoxFilter.js +46 -0
- package/src/sap/ui/webc/main/thirdparty/types/HasPopup.js +14 -27
- package/src/sap/ui/webc/main/thirdparty/types/IconDesign.js +70 -0
- package/src/sap/ui/webc/main/thirdparty/types/InputType.js +16 -28
- package/src/sap/ui/webc/main/thirdparty/types/LinkDesign.js +13 -25
- package/src/sap/ui/webc/main/thirdparty/types/ListGrowingMode.js +15 -27
- package/src/sap/ui/webc/main/thirdparty/types/ListItemType.js +19 -25
- package/src/sap/ui/webc/main/thirdparty/types/ListMode.js +17 -29
- package/src/sap/ui/webc/main/thirdparty/types/ListSeparators.js +14 -26
- package/src/sap/ui/webc/main/thirdparty/types/MessageStripDesign.js +14 -26
- package/src/sap/ui/webc/main/thirdparty/types/PanelAccessibleRole.js +19 -28
- package/src/sap/ui/webc/main/thirdparty/types/PopoverHorizontalAlign.js +18 -30
- package/src/sap/ui/webc/main/thirdparty/types/PopoverPlacementType.js +14 -26
- package/src/sap/ui/webc/main/thirdparty/types/PopoverVerticalAlign.js +14 -26
- package/src/sap/ui/webc/main/thirdparty/types/PopupAccessibleRole.js +40 -0
- package/src/sap/ui/webc/main/thirdparty/types/Priority.js +13 -26
- package/src/sap/ui/webc/main/thirdparty/types/SegmentedButtonMode.js +34 -0
- package/src/sap/ui/webc/main/thirdparty/types/SemanticColor.js +15 -27
- package/src/sap/ui/webc/main/thirdparty/types/SwitchDesign.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/TabContainerBackgroundDesign.js +40 -0
- package/src/sap/ui/webc/main/thirdparty/types/TabContainerTabsPlacement.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/TabLayout.js +14 -26
- package/src/sap/ui/webc/main/thirdparty/types/TableColumnPopinDisplay.js +34 -0
- package/src/sap/ui/webc/main/thirdparty/types/TableGrowingMode.js +17 -29
- package/src/sap/ui/webc/main/thirdparty/types/TableMode.js +13 -25
- package/src/sap/ui/webc/main/thirdparty/types/TableRowType.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/TabsOverflowMode.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/TitleLevel.js +16 -28
- package/src/sap/ui/webc/main/thirdparty/types/ToastPlacement.js +28 -40
- package/src/sap/ui/webc/main/thirdparty/types/WrappingType.js +11 -24
- package/ui5.yaml +15 -2
- package/src/sap/ui/webc/main/thirdparty/DurationPicker.js +0 -300
- package/src/sap/ui/webc/main/thirdparty/TreeListItem.js +0 -316
- package/src/sap/ui/webc/main/thirdparty/css/themes/TreeListItem.css +0 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeListItemTemplate.lit.js +0 -27
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeListItem.css.js +0 -19
- package/src/sap/ui/webc/main/thirdparty/types/GrowingMode.js +0 -53
@@ -1,4 +1,4 @@
|
|
1
|
-
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler", "sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/base/types/NavigationMode", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/util/getNormalizedTarget", "sap/ui/webc/common/thirdparty/base/util/getActiveElement", "sap/ui/webc/common/thirdparty/base/util/TabbableElements", "sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/base/util/debounce", "sap/ui/webc/common/thirdparty/base/util/isElementInView", "./types/TableGrowingMode", "./BusyIndicator", "./types/TableMode", "./CheckBox", "./generated/i18n/i18n-defaults", "./generated/templates/TableTemplate.lit", "./generated/themes/Table.css"], function (_exports, _UI5Element, _LitRenderer, _ResizeHandler, _ItemNavigation, _Integer, _NavigationMode, _Keys, _getNormalizedTarget, _getActiveElement, _TabbableElements, _AriaLabelHelper, _i18nBundle, _debounce, _isElementInView, _TableGrowingMode, _BusyIndicator, _TableMode, _CheckBox, _i18nDefaults, _TableTemplate, _Table) {
|
1
|
+
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/ui/webc/common/thirdparty/base/decorators/customElement", "sap/ui/webc/common/thirdparty/base/decorators/property", "sap/ui/webc/common/thirdparty/base/decorators/event", "sap/ui/webc/common/thirdparty/base/decorators/slot", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler", "sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/base/types/NavigationMode", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/util/getNormalizedTarget", "sap/ui/webc/common/thirdparty/base/util/getActiveElement", "sap/ui/webc/common/thirdparty/base/util/TabbableElements", "sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/base/util/debounce", "sap/ui/webc/common/thirdparty/base/util/isElementInView", "./types/TableGrowingMode", "./BusyIndicator", "./types/TableMode", "./CheckBox", "./generated/i18n/i18n-defaults", "./generated/templates/TableTemplate.lit", "./generated/themes/Table.css"], function (_exports, _UI5Element, _customElement, _property, _event, _slot, _LitRenderer, _ResizeHandler, _ItemNavigation, _Integer, _NavigationMode, _Keys, _getNormalizedTarget, _getActiveElement, _TabbableElements, _AriaLabelHelper, _i18nBundle, _debounce, _isElementInView, _TableGrowingMode, _BusyIndicator, _TableMode, _CheckBox, _i18nDefaults, _TableTemplate, _Table) {
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
Object.defineProperty(_exports, "__esModule", {
|
@@ -6,6 +6,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
6
6
|
});
|
7
7
|
_exports.default = void 0;
|
8
8
|
_UI5Element = _interopRequireDefault(_UI5Element);
|
9
|
+
_customElement = _interopRequireDefault(_customElement);
|
10
|
+
_property = _interopRequireDefault(_property);
|
11
|
+
_event = _interopRequireDefault(_event);
|
12
|
+
_slot = _interopRequireDefault(_slot);
|
9
13
|
_LitRenderer = _interopRequireDefault(_LitRenderer);
|
10
14
|
_ResizeHandler = _interopRequireDefault(_ResizeHandler);
|
11
15
|
_ItemNavigation = _interopRequireDefault(_ItemNavigation);
|
@@ -22,333 +26,23 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
22
26
|
_TableTemplate = _interopRequireDefault(_TableTemplate);
|
23
27
|
_Table = _interopRequireDefault(_Table);
|
24
28
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
29
|
+
var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
|
30
|
+
var c = arguments.length,
|
31
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
32
|
+
d;
|
33
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
34
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
35
|
+
};
|
36
|
+
var Table_1;
|
33
37
|
const GROWING_WITH_SCROLL_DEBOUNCE_RATE = 250; // ms
|
34
|
-
|
35
38
|
const PAGE_UP_DOWN_SIZE = 20;
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
fastNavigation: true,
|
44
|
-
slots: /** @lends sap.ui.webcomponents.main.Table.prototype */{
|
45
|
-
/**
|
46
|
-
* Defines the component rows.
|
47
|
-
* <br><br>
|
48
|
-
* <b>Note:</b> Use <code>ui5-table-row</code> for the intended design.
|
49
|
-
*
|
50
|
-
* @type {sap.ui.webcomponents.main.ITableRow[]}
|
51
|
-
* @slot rows
|
52
|
-
* @public
|
53
|
-
*/
|
54
|
-
"default": {
|
55
|
-
propertyName: "rows",
|
56
|
-
type: HTMLElement,
|
57
|
-
individualSlots: true,
|
58
|
-
invalidateOnChildChange: true
|
59
|
-
},
|
60
|
-
/**
|
61
|
-
* Defines the configuration for the columns of the component.
|
62
|
-
* <br><br>
|
63
|
-
* <b>Note:</b> Use <code>ui5-table-column</code> for the intended design.
|
64
|
-
*
|
65
|
-
* @type {sap.ui.webcomponents.main.ITableColumn[]}
|
66
|
-
* @slot
|
67
|
-
* @public
|
68
|
-
*/
|
69
|
-
columns: {
|
70
|
-
type: HTMLElement,
|
71
|
-
individualSlots: true,
|
72
|
-
invalidateOnChildChange: {
|
73
|
-
properties: true,
|
74
|
-
slots: false
|
75
|
-
}
|
76
|
-
}
|
77
|
-
},
|
78
|
-
properties: /** @lends sap.ui.webcomponents.main.Table.prototype */{
|
79
|
-
/**
|
80
|
-
* Defines the text that will be displayed when there is no data and <code>hideNoData</code> is not present.
|
81
|
-
*
|
82
|
-
* @type {string}
|
83
|
-
* @defaultvalue ""
|
84
|
-
* @public
|
85
|
-
*/
|
86
|
-
noDataText: {
|
87
|
-
type: String
|
88
|
-
},
|
89
|
-
/**
|
90
|
-
* Defines the text that will be displayed inside the growing button at the bottom of the table,
|
91
|
-
* meant for loading more rows upon press.
|
92
|
-
*
|
93
|
-
* <br><br>
|
94
|
-
* <b>Note:</b> If not specified a built-in text will be displayed.
|
95
|
-
* <br>
|
96
|
-
* <b>Note:</b> This property takes effect if <code>growing</code> is set to <code>Button</code>.
|
97
|
-
*
|
98
|
-
* @type {string}
|
99
|
-
* @defaultvalue ""
|
100
|
-
* @since 1.0.0-rc.15
|
101
|
-
* @public
|
102
|
-
*/
|
103
|
-
growingButtonText: {
|
104
|
-
type: String
|
105
|
-
},
|
106
|
-
/**
|
107
|
-
* Defines the subtext that will be displayed under the <code>growingButtonText</code>.
|
108
|
-
*
|
109
|
-
* <br><br>
|
110
|
-
* <b>Note:</b> This property takes effect if <code>growing</code> is set to <code>Button</code>.
|
111
|
-
*
|
112
|
-
* @type {string}
|
113
|
-
* @defaultvalue ""
|
114
|
-
* @since 1.0.0-rc.15
|
115
|
-
* @public
|
116
|
-
*/
|
117
|
-
growingButtonSubtext: {
|
118
|
-
type: String
|
119
|
-
},
|
120
|
-
/**
|
121
|
-
* Defines if the value of <code>noDataText</code> will be diplayed when there is no rows present in the table.
|
122
|
-
*
|
123
|
-
* @type {boolean}
|
124
|
-
* @defaultvalue false
|
125
|
-
* @public
|
126
|
-
* @since 1.0.0-rc.15
|
127
|
-
*/
|
128
|
-
hideNoData: {
|
129
|
-
type: Boolean
|
130
|
-
},
|
131
|
-
/**
|
132
|
-
* Defines whether the table will have growing capability either by pressing a <code>More</code> button,
|
133
|
-
* or via user scroll. In both cases <code>load-more</code> event is fired.
|
134
|
-
* <br><br>
|
135
|
-
*
|
136
|
-
* Available options:
|
137
|
-
* <br><br>
|
138
|
-
* <code>Button</code> - Shows a <code>More</code> button at the bottom of the table, pressing of which triggers the <code>load-more</code> event.
|
139
|
-
* <br>
|
140
|
-
* <code>Scroll</code> - The <code>load-more</code> event is triggered when the user scrolls to the bottom of the table;
|
141
|
-
* <br>
|
142
|
-
* <code>None</code> (default) - The growing is off.
|
143
|
-
* <br><br>
|
144
|
-
*
|
145
|
-
* <b>Restrictions:</b> <code>growing="Scroll"</code> is not supported for Internet Explorer,
|
146
|
-
* and the component will fallback to <code>growing="Button"</code>.
|
147
|
-
* @type {TableGrowingMode}
|
148
|
-
* @defaultvalue "None"
|
149
|
-
* @since 1.0.0-rc.12
|
150
|
-
* @public
|
151
|
-
*/
|
152
|
-
growing: {
|
153
|
-
type: _TableGrowingMode.default,
|
154
|
-
defaultValue: _TableGrowingMode.default.None
|
155
|
-
},
|
156
|
-
/**
|
157
|
-
* Defines if the table is in busy state.
|
158
|
-
* <b>
|
159
|
-
*
|
160
|
-
* In this state the component's opacity is reduced
|
161
|
-
* and busy indicator is displayed at the bottom of the table.
|
162
|
-
* @type {boolean}
|
163
|
-
* @defaultvalue false
|
164
|
-
* @since 1.0.0-rc.12
|
165
|
-
* @public
|
166
|
-
*/
|
167
|
-
busy: {
|
168
|
-
type: Boolean
|
169
|
-
},
|
170
|
-
/**
|
171
|
-
* Defines the delay in milliseconds, after which the busy indicator will show up for this component.
|
172
|
-
*
|
173
|
-
* @type {Integer}
|
174
|
-
* @defaultValue 1000
|
175
|
-
* @public
|
176
|
-
*/
|
177
|
-
busyDelay: {
|
178
|
-
type: _Integer.default,
|
179
|
-
defaultValue: 1000
|
180
|
-
},
|
181
|
-
/**
|
182
|
-
* Determines whether the column headers remain fixed at the top of the page during
|
183
|
-
* vertical scrolling as long as the Web Component is in the viewport.
|
184
|
-
* <br><br>
|
185
|
-
* <b>Restrictions:</b>
|
186
|
-
* <ul>
|
187
|
-
* <li>Browsers that do not support this feature:
|
188
|
-
* <ul>
|
189
|
-
* <li>Internet Explorer</li>
|
190
|
-
* <li>Microsoft Edge lower than version 41 (EdgeHTML 16)</li>
|
191
|
-
* <li>Mozilla Firefox lower than version 59</li>
|
192
|
-
* </ul>
|
193
|
-
* </li>
|
194
|
-
* <li>Scrolling behavior:
|
195
|
-
* <ul>
|
196
|
-
* <li>If the Web Component is placed in layout containers that have the <code>overflow: hidden</code>
|
197
|
-
* or <code>overflow: auto</code> style definition, this can
|
198
|
-
* prevent the sticky elements of the Web Component from becoming fixed at the top of the viewport.</li>
|
199
|
-
* </ul>
|
200
|
-
* </li>
|
201
|
-
* </ul>
|
202
|
-
*
|
203
|
-
* @type {boolean}
|
204
|
-
* @defaultvalue false
|
205
|
-
* @public
|
206
|
-
*/
|
207
|
-
stickyColumnHeader: {
|
208
|
-
type: Boolean
|
209
|
-
},
|
210
|
-
/**
|
211
|
-
* Defines the mode of the component.
|
212
|
-
* <br><br>
|
213
|
-
* Available options are:
|
214
|
-
* <ul>
|
215
|
-
* <li><code>MultiSelect</code></li>
|
216
|
-
* <li><code>SingleSelect</code></li>
|
217
|
-
* <li><code>None</code></li>
|
218
|
-
* <ul>
|
219
|
-
* @type {TableMode}
|
220
|
-
* @defaultvalue "None"
|
221
|
-
* @since 1.0.0-rc.15
|
222
|
-
* @public
|
223
|
-
*/
|
224
|
-
mode: {
|
225
|
-
type: _TableMode.default,
|
226
|
-
defaultValue: _TableMode.default.None
|
227
|
-
},
|
228
|
-
/**
|
229
|
-
* Defines the accessible aria name of the component.
|
230
|
-
*
|
231
|
-
* @type {string}
|
232
|
-
* @defaultvalue: ""
|
233
|
-
* @public
|
234
|
-
* @since 1.3.0
|
235
|
-
*/
|
236
|
-
accessibleName: {
|
237
|
-
type: String,
|
238
|
-
defaultValue: undefined
|
239
|
-
},
|
240
|
-
/**
|
241
|
-
* Receives id(or many ids) of the elements that label the component.
|
242
|
-
*
|
243
|
-
* @type {string}
|
244
|
-
* @defaultvalue ""
|
245
|
-
* @public
|
246
|
-
* @since 1.3.0
|
247
|
-
*/
|
248
|
-
accessibleNameRef: {
|
249
|
-
type: String,
|
250
|
-
defaultValue: ""
|
251
|
-
},
|
252
|
-
_hiddenColumns: {
|
253
|
-
type: Object,
|
254
|
-
multiple: true
|
255
|
-
},
|
256
|
-
_noDataDisplayed: {
|
257
|
-
type: Boolean
|
258
|
-
},
|
259
|
-
/**
|
260
|
-
* Defines the active state of the <code>More</code> button.
|
261
|
-
* @private
|
262
|
-
*/
|
263
|
-
_loadMoreActive: {
|
264
|
-
type: Boolean
|
265
|
-
},
|
266
|
-
/**
|
267
|
-
* Used to represent the table column header for the purpose of the item navigation as it does not work with DOM objects directly
|
268
|
-
* @private
|
269
|
-
*/
|
270
|
-
_columnHeader: {
|
271
|
-
type: Object
|
272
|
-
},
|
273
|
-
/**
|
274
|
-
* Defines if the entire table is in view port.
|
275
|
-
* @private
|
276
|
-
*/
|
277
|
-
_inViewport: {
|
278
|
-
type: Boolean
|
279
|
-
},
|
280
|
-
/**
|
281
|
-
* Defines whether all rows are selected or not when table is in MultiSelect mode.
|
282
|
-
* @type {boolean}
|
283
|
-
* @defaultvalue false
|
284
|
-
* @since 1.0.0-rc.15
|
285
|
-
* @private
|
286
|
-
*/
|
287
|
-
_allRowsSelected: {
|
288
|
-
type: Boolean
|
289
|
-
}
|
290
|
-
},
|
291
|
-
events: /** @lends sap.ui.webcomponents.main.Table.prototype */{
|
292
|
-
/**
|
293
|
-
* Fired when a row in <code>Active</code> mode is clicked or <code>Enter</code> key is pressed.
|
294
|
-
*
|
295
|
-
* @event sap.ui.webcomponents.main.Table#row-click
|
296
|
-
* @param {HTMLElement} row the activated row.
|
297
|
-
* @public
|
298
|
-
*/
|
299
|
-
"row-click": {
|
300
|
-
detail: {
|
301
|
-
row: {
|
302
|
-
type: HTMLElement
|
303
|
-
}
|
304
|
-
}
|
305
|
-
},
|
306
|
-
/**
|
307
|
-
* Fired when <code>ui5-table-column</code> is shown as a pop-in instead of hiding it.
|
308
|
-
*
|
309
|
-
* @event sap.ui.webcomponents.main.Table#popin-change
|
310
|
-
* @param {Array} poppedColumns popped-in columns.
|
311
|
-
* @since 1.0.0-rc.6
|
312
|
-
* @public
|
313
|
-
*/
|
314
|
-
"popin-change": {
|
315
|
-
detail: {
|
316
|
-
poppedColumns: {}
|
317
|
-
}
|
318
|
-
},
|
319
|
-
/**
|
320
|
-
* Fired when the user presses the <code>More</code> button or scrolls to the table's end.
|
321
|
-
* <br><br>
|
322
|
-
*
|
323
|
-
* <b>Note:</b> The event will be fired if <code>growing</code> is set to <code>Button</code> or <code>Scroll</code>.
|
324
|
-
* @event sap.ui.webcomponents.main.Table#load-more
|
325
|
-
* @public
|
326
|
-
* @since 1.0.0-rc.11
|
327
|
-
*/
|
328
|
-
"load-more": {},
|
329
|
-
/**
|
330
|
-
* Fired when selection is changed by user interaction
|
331
|
-
* in <code>SingleSelect</code> and <code>MultiSelect</code> modes.
|
332
|
-
*
|
333
|
-
* @event sap.ui.webcomponents.main.Table#selection-change
|
334
|
-
* @param {Array} selectedRows An array of the selected rows.
|
335
|
-
* @param {Array} previouslySelectedRows An array of the previously selected rows.
|
336
|
-
* @public
|
337
|
-
* @since 1.0.0-rc.15
|
338
|
-
*/
|
339
|
-
"selection-change": {
|
340
|
-
detail: {
|
341
|
-
selectedRows: {
|
342
|
-
type: Array
|
343
|
-
},
|
344
|
-
previouslySelectedRows: {
|
345
|
-
type: Array
|
346
|
-
}
|
347
|
-
}
|
348
|
-
}
|
349
|
-
}
|
350
|
-
};
|
351
|
-
|
39
|
+
var TableFocusTargetElement;
|
40
|
+
(function (TableFocusTargetElement) {
|
41
|
+
TableFocusTargetElement["Row"] = "tableRow";
|
42
|
+
TableFocusTargetElement["GroupRow"] = "tableGroupRow";
|
43
|
+
TableFocusTargetElement["ColumnHeader"] = "columnHeader";
|
44
|
+
TableFocusTargetElement["MoreButton"] = "moreButton";
|
45
|
+
})(TableFocusTargetElement || (TableFocusTargetElement = {}));
|
352
46
|
/**
|
353
47
|
* @class
|
354
48
|
*
|
@@ -413,34 +107,19 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
413
107
|
*
|
414
108
|
* @constructor
|
415
109
|
* @author SAP SE
|
416
|
-
* @alias sap.ui.
|
417
|
-
* @extends sap.ui.
|
110
|
+
* @alias sap.ui.webc.main.Table
|
111
|
+
* @extends sap.ui.webc.base.UI5Element
|
418
112
|
* @tagname ui5-table
|
419
|
-
* @appenddocs TableColumn TableRow TableGroupRow TableCell
|
113
|
+
* @appenddocs sap.ui.webc.main.TableColumn sap.ui.webc.main.TableRow sap.ui.webc.main.TableGroupRow sap.ui.webc.main.TableCell
|
420
114
|
* @public
|
421
115
|
*/
|
422
|
-
class Table extends _UI5Element.default {
|
423
|
-
static get metadata() {
|
424
|
-
return metadata;
|
425
|
-
}
|
426
|
-
static get styles() {
|
427
|
-
return _Table.default;
|
428
|
-
}
|
429
|
-
static get render() {
|
430
|
-
return _LitRenderer.default;
|
431
|
-
}
|
432
|
-
static get template() {
|
433
|
-
return _TableTemplate.default;
|
434
|
-
}
|
435
|
-
static get dependencies() {
|
436
|
-
return [_BusyIndicator.default, _CheckBox.default];
|
437
|
-
}
|
116
|
+
let Table = Table_1 = class Table extends _UI5Element.default {
|
438
117
|
static async onDefine() {
|
439
|
-
|
118
|
+
Table_1.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
|
440
119
|
}
|
441
120
|
constructor() {
|
442
121
|
super();
|
443
|
-
|
122
|
+
this.visibleColumns = []; // template loop should always have a defined array
|
444
123
|
// The ItemNavigation requires each item to 1) have a "_tabIndex" property and 2) be either a UI5Element, or have an id property (to find it in the component's shadow DOM by)
|
445
124
|
this._columnHeader = {
|
446
125
|
id: `${this._id}-columnHeader`,
|
@@ -452,34 +131,28 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
452
131
|
getItemsCallback: () => [this._columnHeader, ...this.rows],
|
453
132
|
skipItemsSize: PAGE_UP_DOWN_SIZE
|
454
133
|
});
|
455
|
-
this.fnOnRowFocused = this.onRowFocused.bind(this);
|
456
134
|
this._handleResize = this.popinContent.bind(this);
|
135
|
+
this.fnOnRowFocused = this.onRowFocused.bind(this);
|
457
136
|
this.fnHandleF7 = this._handleF7.bind(this);
|
458
137
|
this.tableEndObserved = false;
|
459
|
-
this.addEventListener("ui5-selection-requested", this._handleSelect.bind(this));
|
460
|
-
this.addEventListener("ui5-_forward-after", this._onForwardAfter.bind(this));
|
461
|
-
this.addEventListener("ui5-_forward-before", this._onForwardBefore.bind(this));
|
462
|
-
|
463
138
|
// Stores the last focused element within the table.
|
464
139
|
this.lastFocusedElement = null;
|
465
|
-
|
466
140
|
// Indicates whether the table is forwarding focus before or after the current table row.
|
467
141
|
this._forwardingFocus = false;
|
468
|
-
|
469
142
|
// Stores the last focused nested element index (within a table row) for F7 navigation.
|
470
143
|
this._prevNestedElementIndex = 0;
|
471
144
|
}
|
472
145
|
onBeforeRendering() {
|
473
146
|
const columnSettings = this.getColumnPropagationSettings();
|
474
147
|
const columnSettingsString = JSON.stringify(columnSettings);
|
475
|
-
const rowsCount = this.rows.length;
|
148
|
+
const rowsCount = this.rows.length + 1;
|
476
149
|
const selectedRows = this.selectedRows;
|
477
150
|
this.rows.forEach((row, index) => {
|
478
151
|
if (row._columnsInfoString !== columnSettingsString) {
|
479
152
|
row._columnsInfo = columnSettings;
|
480
153
|
row._columnsInfoString = JSON.stringify(row._columnsInfo);
|
481
154
|
}
|
482
|
-
row._ariaPosition =
|
155
|
+
row._ariaPosition = Table_1.i18nBundle.getText(_i18nDefaults.TABLE_ROW_POSITION, index + 2, rowsCount);
|
483
156
|
row._busy = this.busy;
|
484
157
|
row.removeEventListener("ui5-_focused", this.fnOnRowFocused);
|
485
158
|
row.addEventListener("ui5-_focused", this.fnOnRowFocused);
|
@@ -516,74 +189,74 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
516
189
|
this.growingIntersectionObserver = null;
|
517
190
|
this.tableEndObserved = false;
|
518
191
|
}
|
519
|
-
_onkeydown(
|
520
|
-
if ((0, _Keys.isTabNext)(
|
521
|
-
this._handleTab(
|
192
|
+
_onkeydown(e) {
|
193
|
+
if ((0, _Keys.isTabNext)(e) || (0, _Keys.isTabPrevious)(e)) {
|
194
|
+
this._handleTab(e);
|
522
195
|
}
|
523
|
-
if ((0, _Keys.isCtrlA)(
|
524
|
-
|
525
|
-
this.isMultiSelect && this._selectAll(
|
196
|
+
if ((0, _Keys.isCtrlA)(e)) {
|
197
|
+
e.preventDefault();
|
198
|
+
this.isMultiSelect && this._selectAll();
|
526
199
|
}
|
527
|
-
if ((0, _Keys.isUpAlt)(
|
528
|
-
this._handleArrowAlt(
|
200
|
+
if ((0, _Keys.isUpAlt)(e) || (0, _Keys.isDownAlt)(e)) {
|
201
|
+
this._handleArrowAlt(e);
|
529
202
|
}
|
530
|
-
if (((0, _Keys.isUpShift)(
|
531
|
-
this._handleArrowNav(
|
203
|
+
if (((0, _Keys.isUpShift)(e) || (0, _Keys.isDownShift)(e)) && this.isMultiSelect) {
|
204
|
+
this._handleArrowNav(e);
|
532
205
|
}
|
533
|
-
if ((0, _Keys.isHomeCtrl)(
|
534
|
-
|
535
|
-
this._itemNavigation._handleHome(
|
206
|
+
if ((0, _Keys.isHomeCtrl)(e)) {
|
207
|
+
e.preventDefault();
|
208
|
+
this._itemNavigation._handleHome();
|
536
209
|
this._itemNavigation._applyTabIndex();
|
537
210
|
this._itemNavigation._focusCurrentItem();
|
538
211
|
}
|
539
|
-
if ((0, _Keys.isEndCtrl)(
|
540
|
-
|
541
|
-
this._itemNavigation._handleEnd(
|
212
|
+
if ((0, _Keys.isEndCtrl)(e)) {
|
213
|
+
e.preventDefault();
|
214
|
+
this._itemNavigation._handleEnd();
|
542
215
|
this._itemNavigation._applyTabIndex();
|
543
216
|
this._itemNavigation._focusCurrentItem();
|
544
217
|
}
|
545
|
-
if (((0, _Keys.isHomeShift)(
|
546
|
-
this._handleHomeEndSelection(
|
218
|
+
if (((0, _Keys.isHomeShift)(e) || (0, _Keys.isEndShift)(e)) && this.isMultiSelect) {
|
219
|
+
this._handleHomeEndSelection(e);
|
547
220
|
}
|
548
221
|
}
|
549
|
-
_handleTab(
|
550
|
-
const isNext = (0, _Keys.isTabNext)(
|
551
|
-
const target = (0, _getNormalizedTarget.default)(
|
552
|
-
const targetType = this.getFocusedElementType(
|
222
|
+
_handleTab(e) {
|
223
|
+
const isNext = (0, _Keys.isTabNext)(e);
|
224
|
+
const target = (0, _getNormalizedTarget.default)(e.target);
|
225
|
+
const targetType = this.getFocusedElementType(e.target);
|
553
226
|
if (this.columnHeaderTabbables.includes(target)) {
|
554
227
|
if (isNext && this.columnHeaderLastElement === target) {
|
555
|
-
return this._focusNextElement(
|
228
|
+
return this._focusNextElement();
|
556
229
|
}
|
557
230
|
return;
|
558
231
|
}
|
559
|
-
if (isNext && targetType ===
|
560
|
-
return this._focusNextElement(
|
232
|
+
if (isNext && targetType === TableFocusTargetElement.ColumnHeader && !this.columnHeaderTabbables.length) {
|
233
|
+
return this._focusNextElement();
|
561
234
|
}
|
562
|
-
if (targetType ===
|
235
|
+
if (targetType === TableFocusTargetElement.Row || !targetType) {
|
563
236
|
return;
|
564
237
|
}
|
565
238
|
switch (targetType) {
|
566
|
-
case
|
567
|
-
return isNext ? this._focusNextElement(
|
568
|
-
case
|
569
|
-
return !isNext && this._focusForwardElement(
|
570
|
-
case
|
239
|
+
case TableFocusTargetElement.GroupRow:
|
240
|
+
return isNext ? this._focusNextElement() : this._focusForwardElement(false);
|
241
|
+
case TableFocusTargetElement.ColumnHeader:
|
242
|
+
return !isNext && this._focusForwardElement(false);
|
243
|
+
case TableFocusTargetElement.MoreButton:
|
571
244
|
if (isNext) {
|
572
|
-
this._focusForwardElement(
|
245
|
+
this._focusForwardElement(true);
|
573
246
|
} else {
|
574
|
-
|
575
|
-
this.currentElement
|
247
|
+
e.preventDefault();
|
248
|
+
this.currentElement?.focus();
|
576
249
|
}
|
577
250
|
}
|
578
251
|
}
|
579
|
-
_focusNextElement(
|
252
|
+
_focusNextElement() {
|
580
253
|
if (!this.growsWithButton) {
|
581
|
-
this._focusForwardElement(
|
254
|
+
this._focusForwardElement(true);
|
582
255
|
} else {
|
583
256
|
this.morеBtn.focus();
|
584
257
|
}
|
585
258
|
}
|
586
|
-
_handleArrowNav(
|
259
|
+
_handleArrowNav(e) {
|
587
260
|
const isRowFocused = this.currentElement.localName === "tr";
|
588
261
|
if (!isRowFocused) {
|
589
262
|
return;
|
@@ -595,16 +268,16 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
595
268
|
const nextItemIdx = currentItemIdx + 1;
|
596
269
|
const prevItem = this.rows[prevItemIdx];
|
597
270
|
const nextItem = this.rows[nextItemIdx];
|
598
|
-
const wasSelected = currentItem.selected;
|
599
|
-
if ((0, _Keys.isUpShift)(
|
271
|
+
const wasSelected = !!currentItem.selected;
|
272
|
+
if ((0, _Keys.isUpShift)(e) && !prevItem || (0, _Keys.isDownShift)(e) && !nextItem) {
|
600
273
|
return;
|
601
274
|
}
|
602
|
-
if ((0, _Keys.isUpShift)(
|
275
|
+
if ((0, _Keys.isUpShift)(e)) {
|
603
276
|
currentItem.selected = currentItem.selected && !prevItem.selected;
|
604
277
|
prevItem.selected = currentItem.selected || wasSelected && !currentItem.selected;
|
605
278
|
prevItem.focus();
|
606
279
|
}
|
607
|
-
if ((0, _Keys.isDownShift)(
|
280
|
+
if ((0, _Keys.isDownShift)(e)) {
|
608
281
|
currentItem.selected = currentItem.selected && !nextItem.selected;
|
609
282
|
nextItem.selected = currentItem.selected || wasSelected && !currentItem.selected;
|
610
283
|
nextItem.focus();
|
@@ -615,7 +288,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
615
288
|
previouslySelectedRows
|
616
289
|
});
|
617
290
|
}
|
618
|
-
_handleHomeEndSelection(
|
291
|
+
_handleHomeEndSelection(e) {
|
619
292
|
const isRowFocused = this.currentElement.localName === "tr";
|
620
293
|
if (!isRowFocused) {
|
621
294
|
return;
|
@@ -623,13 +296,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
623
296
|
const rows = this.rows;
|
624
297
|
const previouslySelectedRows = this.selectedRows;
|
625
298
|
const currentItemIdx = this.currentItemIdx;
|
626
|
-
if ((0, _Keys.isHomeShift)(
|
299
|
+
if ((0, _Keys.isHomeShift)(e)) {
|
627
300
|
rows.slice(0, currentItemIdx + 1).forEach(item => {
|
628
301
|
item.selected = true;
|
629
302
|
});
|
630
303
|
rows[0].focus();
|
631
304
|
}
|
632
|
-
if ((0, _Keys.isEndShift)(
|
305
|
+
if ((0, _Keys.isEndShift)(e)) {
|
633
306
|
rows.slice(currentItemIdx).forEach(item => {
|
634
307
|
item.selected = true;
|
635
308
|
});
|
@@ -641,46 +314,45 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
641
314
|
previouslySelectedRows
|
642
315
|
});
|
643
316
|
}
|
644
|
-
|
645
317
|
/**
|
646
318
|
* Handles Alt + Up/Down.
|
647
319
|
* Switches focus between column header, last focused item, and "More" button (if applicable).
|
648
320
|
* @private
|
649
|
-
* @param {
|
321
|
+
* @param { KeyboardEvent } e
|
650
322
|
*/
|
651
|
-
_handleArrowAlt(
|
652
|
-
const shouldMoveUp = (0, _Keys.isUpAlt)(
|
653
|
-
const
|
323
|
+
_handleArrowAlt(e) {
|
324
|
+
const shouldMoveUp = (0, _Keys.isUpAlt)(e);
|
325
|
+
const target = e.target;
|
326
|
+
const focusedElementType = this.getFocusedElementType(target);
|
654
327
|
if (shouldMoveUp) {
|
655
328
|
switch (focusedElementType) {
|
656
|
-
case
|
657
|
-
case
|
658
|
-
this._prevFocusedRow =
|
659
|
-
return this._onColumnHeaderClick(
|
660
|
-
case
|
661
|
-
return this.morеBtn ? this.morеBtn.focus() : this._prevFocusedRow
|
662
|
-
case
|
663
|
-
return this._prevFocusedRow ? this._prevFocusedRow.focus() : this._onColumnHeaderClick(
|
329
|
+
case TableFocusTargetElement.Row:
|
330
|
+
case TableFocusTargetElement.GroupRow:
|
331
|
+
this._prevFocusedRow = target;
|
332
|
+
return this._onColumnHeaderClick(e);
|
333
|
+
case TableFocusTargetElement.ColumnHeader:
|
334
|
+
return this.morеBtn ? this.morеBtn.focus() : this._prevFocusedRow?.focus();
|
335
|
+
case TableFocusTargetElement.MoreButton:
|
336
|
+
return this._prevFocusedRow ? this._prevFocusedRow.focus() : this._onColumnHeaderClick(e);
|
664
337
|
}
|
665
338
|
} else {
|
666
339
|
switch (focusedElementType) {
|
667
|
-
case
|
668
|
-
case
|
669
|
-
this._prevFocusedRow =
|
670
|
-
return this.morеBtn ? this.morеBtn.focus() : this._onColumnHeaderClick(
|
671
|
-
case
|
340
|
+
case TableFocusTargetElement.Row:
|
341
|
+
case TableFocusTargetElement.GroupRow:
|
342
|
+
this._prevFocusedRow = target;
|
343
|
+
return this.morеBtn ? this.morеBtn.focus() : this._onColumnHeaderClick(e);
|
344
|
+
case TableFocusTargetElement.ColumnHeader:
|
672
345
|
if (this._prevFocusedRow) {
|
673
346
|
this._prevFocusedRow.focus();
|
674
347
|
} else if (this.morеBtn) {
|
675
348
|
this.morеBtn.focus();
|
676
349
|
}
|
677
350
|
return;
|
678
|
-
case
|
679
|
-
return this._onColumnHeaderClick(
|
351
|
+
case TableFocusTargetElement.MoreButton:
|
352
|
+
return this._onColumnHeaderClick(e);
|
680
353
|
}
|
681
354
|
}
|
682
355
|
}
|
683
|
-
|
684
356
|
/**
|
685
357
|
* Determines the type of the currently focused element.
|
686
358
|
* @private
|
@@ -689,24 +361,23 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
689
361
|
*/
|
690
362
|
getFocusedElementType(element) {
|
691
363
|
if (element === this.columnHeader) {
|
692
|
-
return
|
364
|
+
return TableFocusTargetElement.ColumnHeader;
|
693
365
|
}
|
694
366
|
if (element === this.morеBtn) {
|
695
|
-
return
|
367
|
+
return TableFocusTargetElement.MoreButton;
|
696
368
|
}
|
697
369
|
if (this.rows.includes(element)) {
|
698
370
|
const isGroupRow = element.hasAttribute("ui5-table-group-row");
|
699
|
-
return isGroupRow ?
|
371
|
+
return isGroupRow ? TableFocusTargetElement.GroupRow : TableFocusTargetElement.Row;
|
700
372
|
}
|
701
373
|
}
|
702
|
-
|
703
374
|
/**
|
704
375
|
* Toggles focus between the table row's root and the last focused nested element.
|
705
376
|
* @private
|
706
|
-
* @param {CustomEvent}
|
377
|
+
* @param { CustomEvent } e "ui5-f7-pressed"
|
707
378
|
*/
|
708
|
-
_handleF7(
|
709
|
-
const row =
|
379
|
+
_handleF7(e) {
|
380
|
+
const row = e.detail.row;
|
710
381
|
row._tabbables = (0, _TabbableElements.getTabbableElements)(row);
|
711
382
|
const activeElement = (0, _getActiveElement.default)();
|
712
383
|
const lastFocusedElement = row._tabbables[this._prevNestedElementIndex] || row._tabbables[0];
|
@@ -721,8 +392,8 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
721
392
|
row.root.focus();
|
722
393
|
}
|
723
394
|
}
|
724
|
-
_onfocusin(
|
725
|
-
const target = (0, _getNormalizedTarget.default)(
|
395
|
+
_onfocusin(e) {
|
396
|
+
const target = (0, _getNormalizedTarget.default)(e.target);
|
726
397
|
if (!this._isForwardElement(target)) {
|
727
398
|
this.lastFocusedElement = target;
|
728
399
|
return;
|
@@ -733,77 +404,88 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
733
404
|
} else {
|
734
405
|
this.currentElement.focus();
|
735
406
|
}
|
736
|
-
|
407
|
+
e.stopImmediatePropagation();
|
737
408
|
}
|
738
409
|
this._forwardingFocus = false;
|
739
410
|
}
|
740
|
-
_onForwardBefore(
|
741
|
-
this.lastFocusedElement =
|
742
|
-
this._focusForwardElement(
|
743
|
-
|
411
|
+
_onForwardBefore(e) {
|
412
|
+
this.lastFocusedElement = e.detail.target;
|
413
|
+
this._focusForwardElement(false);
|
414
|
+
e.stopImmediatePropagation();
|
744
415
|
}
|
745
|
-
_onForwardAfter(
|
746
|
-
this.lastFocusedElement =
|
416
|
+
_onForwardAfter(e) {
|
417
|
+
this.lastFocusedElement = e.detail.target;
|
747
418
|
if (!this.growsWithButton) {
|
748
|
-
this._focusForwardElement(
|
419
|
+
this._focusForwardElement(true);
|
749
420
|
} else {
|
750
421
|
this.morеBtn.focus();
|
751
422
|
}
|
752
423
|
}
|
753
|
-
_focusForwardElement(
|
424
|
+
_focusForwardElement(isAfter) {
|
754
425
|
this._forwardingFocus = true;
|
755
426
|
this.shadowRoot.querySelector(`#${this._id}-${isAfter ? "after" : "before"}`).focus();
|
756
427
|
}
|
757
|
-
_isForwardElement(
|
758
|
-
const
|
428
|
+
_isForwardElement(element) {
|
429
|
+
const elementId = element.id;
|
759
430
|
const afterElement = this._getForwardElement(true);
|
760
431
|
const beforeElement = this._getForwardElement(false);
|
761
|
-
if (this._id ===
|
432
|
+
if (this._id === elementId || beforeElement && beforeElement.id === elementId) {
|
762
433
|
return true;
|
763
434
|
}
|
764
|
-
return afterElement && afterElement.id ===
|
435
|
+
return !!(afterElement && afterElement.id === elementId);
|
765
436
|
}
|
766
437
|
_getForwardElement(isAfter) {
|
767
|
-
|
768
|
-
|
769
|
-
this[`_${dir}Element`] = this.shadowRoot.querySelector(`#${this._id}-${dir}`);
|
438
|
+
if (isAfter) {
|
439
|
+
return this._getAfterForwardElement();
|
770
440
|
}
|
771
|
-
return this
|
441
|
+
return this._getBeforeForwardElement();
|
772
442
|
}
|
773
|
-
|
774
|
-
this.
|
443
|
+
_getAfterForwardElement() {
|
444
|
+
if (!this._afterElement) {
|
445
|
+
this._afterElement = this.shadowRoot.querySelector(`#${this._id}-after`);
|
446
|
+
}
|
447
|
+
return this._afterElement;
|
448
|
+
}
|
449
|
+
_getBeforeForwardElement() {
|
450
|
+
if (!this._beforeElement) {
|
451
|
+
this._beforeElement = this.shadowRoot.querySelector(`#${this._id}-before`);
|
452
|
+
}
|
453
|
+
return this._beforeElement;
|
775
454
|
}
|
776
|
-
|
455
|
+
onRowFocused(e) {
|
456
|
+
this._itemNavigation.setCurrentItem(e.target);
|
457
|
+
}
|
458
|
+
_onColumnHeaderFocused() {
|
777
459
|
this._itemNavigation.setCurrentItem(this._columnHeader);
|
778
460
|
}
|
779
|
-
_onColumnHeaderClick(
|
780
|
-
if (!
|
461
|
+
_onColumnHeaderClick(e) {
|
462
|
+
if (!e.target) {
|
781
463
|
this.columnHeader.focus();
|
782
464
|
}
|
783
|
-
const target = (0, _getNormalizedTarget.default)(
|
465
|
+
const target = (0, _getNormalizedTarget.default)(e.target);
|
784
466
|
const isNestedElement = this.columnHeaderTabbables.includes(target);
|
785
467
|
if (!isNestedElement) {
|
786
468
|
this.columnHeader.focus();
|
787
469
|
}
|
788
470
|
}
|
789
|
-
_onColumnHeaderKeydown(
|
790
|
-
if ((0, _Keys.isSpace)(
|
791
|
-
|
471
|
+
_onColumnHeaderKeydown(e) {
|
472
|
+
if ((0, _Keys.isSpace)(e)) {
|
473
|
+
e.preventDefault();
|
792
474
|
this.isMultiSelect && this._selectAll();
|
793
475
|
}
|
794
476
|
}
|
795
|
-
_onLoadMoreKeydown(
|
796
|
-
if ((0, _Keys.isSpace)(
|
797
|
-
|
477
|
+
_onLoadMoreKeydown(e) {
|
478
|
+
if ((0, _Keys.isSpace)(e)) {
|
479
|
+
e.preventDefault();
|
798
480
|
this._loadMoreActive = true;
|
799
481
|
}
|
800
|
-
if ((0, _Keys.isEnter)(
|
482
|
+
if ((0, _Keys.isEnter)(e)) {
|
801
483
|
this._onLoadMoreClick();
|
802
484
|
this._loadMoreActive = true;
|
803
485
|
}
|
804
486
|
}
|
805
|
-
_onLoadMoreKeyup(
|
806
|
-
if ((0, _Keys.isSpace)(
|
487
|
+
_onLoadMoreKeyup(e) {
|
488
|
+
if ((0, _Keys.isSpace)(e)) {
|
807
489
|
this._onLoadMoreClick();
|
808
490
|
}
|
809
491
|
this._loadMoreActive = false;
|
@@ -825,8 +507,11 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
825
507
|
loadMore() {
|
826
508
|
this.fireEvent("load-more");
|
827
509
|
}
|
828
|
-
_handleSingleSelect(
|
829
|
-
const row = this.getRowParent(
|
510
|
+
_handleSingleSelect(e) {
|
511
|
+
const row = this.getRowParent(e.target);
|
512
|
+
if (!row) {
|
513
|
+
return;
|
514
|
+
}
|
830
515
|
if (!row.selected) {
|
831
516
|
const previouslySelectedRows = this.selectedRows;
|
832
517
|
this.rows.forEach(item => {
|
@@ -841,9 +526,12 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
841
526
|
});
|
842
527
|
}
|
843
528
|
}
|
844
|
-
_handleMultiSelect(
|
845
|
-
const row = this.getRowParent(
|
529
|
+
_handleMultiSelect(e) {
|
530
|
+
const row = this.getRowParent(e.target);
|
846
531
|
const previouslySelectedRows = this.selectedRows;
|
532
|
+
if (!row) {
|
533
|
+
return;
|
534
|
+
}
|
847
535
|
row.selected = !row.selected;
|
848
536
|
const selectedRows = this.selectedRows;
|
849
537
|
if (selectedRows.length === this.rows.length) {
|
@@ -856,10 +544,16 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
856
544
|
previouslySelectedRows
|
857
545
|
});
|
858
546
|
}
|
859
|
-
_handleSelect(
|
860
|
-
this
|
547
|
+
_handleSelect(e) {
|
548
|
+
if (this.isSingleSelect) {
|
549
|
+
this._handleSingleSelect(e);
|
550
|
+
return;
|
551
|
+
}
|
552
|
+
if (this.isMultiSelect) {
|
553
|
+
this._handleMultiSelect(e);
|
554
|
+
}
|
861
555
|
}
|
862
|
-
_selectAll(
|
556
|
+
_selectAll() {
|
863
557
|
const bAllSelected = !this._allRowsSelected;
|
864
558
|
const previouslySelectedRows = this.rows.filter(row => row.selected);
|
865
559
|
this._allRowsSelected = bAllSelected;
|
@@ -873,34 +567,41 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
873
567
|
});
|
874
568
|
}
|
875
569
|
getRowParent(child) {
|
876
|
-
const parent = child.parentElement;
|
877
570
|
if (child.hasAttribute("ui5-table-row")) {
|
878
571
|
return child;
|
879
572
|
}
|
880
|
-
|
573
|
+
const parent = child.parentElement;
|
574
|
+
if (!parent) {
|
575
|
+
return;
|
576
|
+
}
|
577
|
+
if (parent.hasAttribute("ui5-table-row")) {
|
881
578
|
return parent;
|
882
579
|
}
|
883
|
-
this.getRowParent(parent);
|
580
|
+
return this.getRowParent(parent);
|
884
581
|
}
|
885
582
|
get columnHeader() {
|
886
|
-
|
583
|
+
const domRef = this.getDomRef();
|
584
|
+
return domRef ? domRef.querySelector(`#${this._id}-columnHeader`) : null;
|
887
585
|
}
|
888
586
|
get morеBtn() {
|
889
|
-
|
587
|
+
const domRef = this.getDomRef();
|
588
|
+
if (this.growsWithButton && domRef) {
|
589
|
+
return domRef.querySelector(`#${this._id}-growingButton`);
|
590
|
+
}
|
591
|
+
return null;
|
890
592
|
}
|
891
|
-
handleResize(
|
593
|
+
handleResize() {
|
892
594
|
this.checkTableInViewport();
|
893
|
-
this.popinContent(
|
595
|
+
this.popinContent();
|
894
596
|
}
|
895
597
|
checkTableInViewport() {
|
896
598
|
this._inViewport = (0, _isElementInView.default)(this.getDomRef());
|
897
599
|
}
|
898
|
-
popinContent(
|
600
|
+
popinContent() {
|
899
601
|
const clientRect = this.getDomRef().getBoundingClientRect();
|
900
602
|
const tableWidth = clientRect.width;
|
901
603
|
const hiddenColumns = [];
|
902
604
|
const visibleColumnsIndexes = [];
|
903
|
-
|
904
605
|
// store the hidden columns
|
905
606
|
this.columns.forEach((column, index) => {
|
906
607
|
if (tableWidth < column.minWidth && column.minWidth !== Infinity) {
|
@@ -919,9 +620,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
919
620
|
}
|
920
621
|
this.columns[visibleColumnsIndexes[visibleColumnsIndexes.length - 1]].last = true;
|
921
622
|
}
|
922
|
-
|
623
|
+
const hiddenColumnsChange = this._hiddenColumns.length !== hiddenColumns.length || this._hiddenColumns.some((column, index) => column !== hiddenColumns[index]);
|
923
624
|
// invalidate only if hidden columns count has changed
|
924
|
-
if (
|
625
|
+
if (hiddenColumnsChange) {
|
925
626
|
this._hiddenColumns = hiddenColumns;
|
926
627
|
if (hiddenColumns.length) {
|
927
628
|
this.fireEvent("popin-change", {
|
@@ -930,11 +631,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
930
631
|
}
|
931
632
|
}
|
932
633
|
}
|
933
|
-
|
934
634
|
/**
|
935
635
|
* Gets settings to be propagated from columns to rows.
|
936
636
|
*
|
937
|
-
* @returns {
|
637
|
+
* @returns { array }
|
938
638
|
* @memberof Table
|
939
639
|
*/
|
940
640
|
getColumnPropagationSettings() {
|
@@ -945,6 +645,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
945
645
|
demandPopin: column.demandPopin,
|
946
646
|
text: column.textContent,
|
947
647
|
popinText: column.popinText,
|
648
|
+
popinDisplay: column.popinDisplay,
|
948
649
|
visible: !this._hiddenColumns[index]
|
949
650
|
};
|
950
651
|
}, this);
|
@@ -973,10 +674,11 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
973
674
|
return this.growing === _TableGrowingMode.default.Scroll;
|
974
675
|
}
|
975
676
|
get _growingButtonText() {
|
976
|
-
return this.growingButtonText ||
|
677
|
+
return this.growingButtonText || Table_1.i18nBundle.getText(_i18nDefaults.LOAD_MORE_TEXT);
|
977
678
|
}
|
978
679
|
get ariaLabelText() {
|
979
|
-
const
|
680
|
+
const rowsCount = this.rows.length + 1;
|
681
|
+
const headerRowText = Table_1.i18nBundle.getText(_i18nDefaults.TABLE_HEADER_ROW_INFORMATION, rowsCount);
|
980
682
|
const columnsTitle = this.columns.map(column => {
|
981
683
|
return column.textContent.trim();
|
982
684
|
}).join(" ");
|
@@ -986,7 +688,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
986
688
|
return (0, _AriaLabelHelper.getEffectiveAriaLabelText)(this);
|
987
689
|
}
|
988
690
|
get ariaLabelSelectAllText() {
|
989
|
-
return
|
691
|
+
return Table_1.i18nBundle.getText(_i18nDefaults.ARIA_LABEL_SELECT_ALL_CHECKBOX);
|
990
692
|
}
|
991
693
|
get loadMoreAriaLabelledBy() {
|
992
694
|
if (this.moreDataText) {
|
@@ -1001,7 +703,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
1001
703
|
return this._inViewport ? "absolute" : "sticky";
|
1002
704
|
}
|
1003
705
|
get isMultiSelect() {
|
1004
|
-
return this.mode ===
|
706
|
+
return this.mode === _TableMode.default.MultiSelect;
|
707
|
+
}
|
708
|
+
get isSingleSelect() {
|
709
|
+
return this.mode === _TableMode.default.SingleSelect;
|
1005
710
|
}
|
1006
711
|
get selectedRows() {
|
1007
712
|
return this.rows.filter(row => row.selected);
|
@@ -1016,12 +721,137 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
1016
721
|
return this._itemNavigation._getCurrentItem();
|
1017
722
|
}
|
1018
723
|
get columnHeaderTabbables() {
|
1019
|
-
return (0, _TabbableElements.getTabbableElements)(this.columnHeader);
|
724
|
+
return this.columnHeader ? (0, _TabbableElements.getTabbableElements)(this.columnHeader) : [];
|
1020
725
|
}
|
1021
726
|
get columnHeaderLastElement() {
|
1022
|
-
return (0, _TabbableElements.getLastTabbableElement)(this.columnHeader);
|
727
|
+
return this.columnHeader && (0, _TabbableElements.getLastTabbableElement)(this.columnHeader);
|
728
|
+
}
|
729
|
+
};
|
730
|
+
__decorate([(0, _property.default)()], Table.prototype, "noDataText", void 0);
|
731
|
+
__decorate([(0, _property.default)()], Table.prototype, "growingButtonText", void 0);
|
732
|
+
__decorate([(0, _property.default)()], Table.prototype, "growingButtonSubtext", void 0);
|
733
|
+
__decorate([(0, _property.default)({
|
734
|
+
type: Boolean
|
735
|
+
})], Table.prototype, "hideNoData", void 0);
|
736
|
+
__decorate([(0, _property.default)({
|
737
|
+
type: _TableGrowingMode.default,
|
738
|
+
defaultValue: _TableGrowingMode.default.None
|
739
|
+
})], Table.prototype, "growing", void 0);
|
740
|
+
__decorate([(0, _property.default)({
|
741
|
+
type: Boolean
|
742
|
+
})], Table.prototype, "busy", void 0);
|
743
|
+
__decorate([(0, _property.default)({
|
744
|
+
validator: _Integer.default,
|
745
|
+
defaultValue: 1000
|
746
|
+
})], Table.prototype, "busyDelay", void 0);
|
747
|
+
__decorate([(0, _property.default)({
|
748
|
+
type: Boolean
|
749
|
+
})], Table.prototype, "stickyColumnHeader", void 0);
|
750
|
+
__decorate([(0, _property.default)({
|
751
|
+
type: _TableMode.default,
|
752
|
+
defaultValue: _TableMode.default.None
|
753
|
+
})], Table.prototype, "mode", void 0);
|
754
|
+
__decorate([(0, _property.default)({
|
755
|
+
defaultValue: undefined
|
756
|
+
})], Table.prototype, "accessibleName", void 0);
|
757
|
+
__decorate([(0, _property.default)({
|
758
|
+
defaultValue: ""
|
759
|
+
})], Table.prototype, "accessibleNameRef", void 0);
|
760
|
+
__decorate([(0, _property.default)({
|
761
|
+
type: Object,
|
762
|
+
multiple: true
|
763
|
+
})], Table.prototype, "_hiddenColumns", void 0);
|
764
|
+
__decorate([(0, _property.default)({
|
765
|
+
type: Boolean
|
766
|
+
})], Table.prototype, "_noDataDisplayed", void 0);
|
767
|
+
__decorate([(0, _property.default)({
|
768
|
+
type: Boolean
|
769
|
+
})], Table.prototype, "_loadMoreActive", void 0);
|
770
|
+
__decorate([(0, _property.default)({
|
771
|
+
type: Object
|
772
|
+
})], Table.prototype, "_columnHeader", void 0);
|
773
|
+
__decorate([(0, _property.default)({
|
774
|
+
type: Boolean
|
775
|
+
})], Table.prototype, "_inViewport", void 0);
|
776
|
+
__decorate([(0, _property.default)({
|
777
|
+
type: Boolean
|
778
|
+
})], Table.prototype, "_allRowsSelected", void 0);
|
779
|
+
__decorate([(0, _slot.default)({
|
780
|
+
type: HTMLElement,
|
781
|
+
"default": true,
|
782
|
+
individualSlots: true,
|
783
|
+
invalidateOnChildChange: true
|
784
|
+
})], Table.prototype, "rows", void 0);
|
785
|
+
__decorate([(0, _slot.default)({
|
786
|
+
type: HTMLElement,
|
787
|
+
individualSlots: true,
|
788
|
+
invalidateOnChildChange: {
|
789
|
+
properties: true,
|
790
|
+
slots: false
|
791
|
+
}
|
792
|
+
})], Table.prototype, "columns", void 0);
|
793
|
+
Table = Table_1 = __decorate([(0, _customElement.default)({
|
794
|
+
tag: "ui5-table",
|
795
|
+
fastNavigation: true,
|
796
|
+
styles: _Table.default,
|
797
|
+
renderer: _LitRenderer.default,
|
798
|
+
template: _TableTemplate.default,
|
799
|
+
dependencies: [_BusyIndicator.default, _CheckBox.default]
|
800
|
+
})
|
801
|
+
/** Fired when a row in <code>Active</code> mode is clicked or <code>Enter</code> key is pressed.
|
802
|
+
*
|
803
|
+
* @event sap.ui.webc.main.Table#row-click
|
804
|
+
* @param {HTMLElement} row the activated row.
|
805
|
+
* @public
|
806
|
+
*/, (0, _event.default)("row-click", {
|
807
|
+
detail: {
|
808
|
+
row: {
|
809
|
+
type: HTMLElement
|
810
|
+
}
|
811
|
+
}
|
812
|
+
})
|
813
|
+
/**
|
814
|
+
* Fired when <code>ui5-table-column</code> is shown as a pop-in instead of hiding it.
|
815
|
+
*
|
816
|
+
* @event sap.ui.webc.main.Table#popin-change
|
817
|
+
* @param {Array} poppedColumns popped-in columns.
|
818
|
+
* @since 1.0.0-rc.6
|
819
|
+
* @public
|
820
|
+
*/, (0, _event.default)("popin-change", {
|
821
|
+
detail: {
|
822
|
+
poppedColumns: {
|
823
|
+
type: Array
|
824
|
+
}
|
825
|
+
}
|
826
|
+
})
|
827
|
+
/**
|
828
|
+
* Fired when the user presses the <code>More</code> button or scrolls to the table's end.
|
829
|
+
* <br><br>
|
830
|
+
*
|
831
|
+
* <b>Note:</b> The event will be fired if <code>growing</code> is set to <code>Button</code> or <code>Scroll</code>.
|
832
|
+
* @event sap.ui.webc.main.Table#load-more
|
833
|
+
* @public
|
834
|
+
* @since 1.0.0-rc.11
|
835
|
+
*/, (0, _event.default)("load-more")
|
836
|
+
/**
|
837
|
+
* Fired when selection is changed by user interaction
|
838
|
+
* in <code>SingleSelect</code> and <code>MultiSelect</code> modes.
|
839
|
+
*
|
840
|
+
* @event sap.ui.webc.main.Table#selection-change
|
841
|
+
* @param {Array} selectedRows An array of the selected rows.
|
842
|
+
* @param {Array} previouslySelectedRows An array of the previously selected rows.
|
843
|
+
* @public
|
844
|
+
* @since 1.0.0-rc.15
|
845
|
+
*/, (0, _event.default)("selection-change", {
|
846
|
+
detail: {
|
847
|
+
selectedRows: {
|
848
|
+
type: Array
|
849
|
+
},
|
850
|
+
previouslySelectedRows: {
|
851
|
+
type: Array
|
852
|
+
}
|
1023
853
|
}
|
1024
|
-
}
|
854
|
+
})], Table);
|
1025
855
|
Table.define();
|
1026
856
|
var _default = Table;
|
1027
857
|
_exports.default = _default;
|