@openui5/sap.m 1.115.1 → 1.117.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 +4 -4
- package/src/sap/m/.library +1 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSheet.js +6 -2
- package/src/sap/m/ActionTile.js +1 -1
- package/src/sap/m/ActionTileContent.js +1 -1
- package/src/sap/m/AdditionalTextButton.js +1 -1
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +46 -5
- package/src/sap/m/AvatarRenderer.js +16 -10
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/Breadcrumbs.js +6 -5
- package/src/sap/m/BusyDialog.js +5 -3
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/Carousel.js +24 -8
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +19 -4
- package/src/sap/m/CheckBox.js +8 -4
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +29 -170
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +7 -12
- package/src/sap/m/ColumnListItemRenderer.js +16 -27
- package/src/sap/m/ColumnPopoverActionItem.js +1 -1
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
- package/src/sap/m/ColumnPopoverItem.js +1 -1
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +1 -1
- package/src/sap/m/ComboBoxBase.js +1 -1
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/DatePicker.js +31 -5
- package/src/sap/m/DatePickerRenderer.js +3 -2
- package/src/sap/m/DateRangeSelection.js +77 -25
- package/src/sap/m/DateTimeField.js +15 -10
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +1 -1
- package/src/sap/m/DateTimePickerRenderer.js +3 -1
- package/src/sap/m/Dialog.js +16 -10
- package/src/sap/m/DialogRenderer.js +3 -3
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateOption.js +2 -2
- package/src/sap/m/DynamicDateRange.js +42 -5
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +1 -3
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +18 -1
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +1 -1
- package/src/sap/m/FlexItemData.js +1 -1
- package/src/sap/m/FormattedText.js +44 -50
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +1 -1
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GroupHeaderListItemRenderer.js +5 -5
- package/src/sap/m/GrowingEnablement.js +34 -32
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +1 -1
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/HyphenationSupport.js +13 -4
- package/src/sap/m/IconTabBar.js +3 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +3 -3
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +1 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +4 -2
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/IllustrationPool.js +4 -3
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +21 -12
- package/src/sap/m/InputBase.js +7 -5
- package/src/sap/m/InputBaseRenderer.js +3 -3
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LabelRenderer.js +3 -3
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +36 -3
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +61 -28
- package/src/sap/m/ListBaseRenderer.js +12 -4
- package/src/sap/m/ListItemBase.js +17 -8
- package/src/sap/m/ListItemBaseRenderer.js +6 -6
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +14 -1
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +1 -1
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +1 -1
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageToast.js +1 -12
- package/src/sap/m/MessageView.js +2 -2
- package/src/sap/m/MultiComboBox.js +3 -3
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +13 -2
- package/src/sap/m/NavContainer.js +21 -5
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +6 -1
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +9 -2
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +63 -4
- package/src/sap/m/ObjectStatusRenderer.js +21 -9
- package/src/sap/m/OverflowToolbar.js +30 -15
- package/src/sap/m/OverflowToolbarAssociativePopover.js +5 -5
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/P13nAnyFilterItem.js +1 -1
- package/src/sap/m/P13nColumnsItem.js +1 -1
- package/src/sap/m/P13nColumnsPanel.js +2 -8
- package/src/sap/m/P13nConditionPanel.js +1 -1
- package/src/sap/m/P13nDialog.js +2 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +3 -10
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +28 -43
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +1 -1
- package/src/sap/m/P13nItem.js +1 -1
- package/src/sap/m/P13nPanel.js +1 -1
- package/src/sap/m/P13nSelectionItem.js +1 -1
- package/src/sap/m/P13nSelectionPanel.js +5 -3
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +1 -1
- package/src/sap/m/PDFViewer.js +1 -1
- package/src/sap/m/PDFViewerRenderer.js +1 -1
- package/src/sap/m/Page.js +8 -6
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +11 -2
- package/src/sap/m/PanelRenderer.js +9 -0
- package/src/sap/m/PlanningCalendar.js +10 -4
- package/src/sap/m/PlanningCalendarHeader.js +1 -1
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +13 -17
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +1 -1
- package/src/sap/m/QuickViewBase.js +1 -1
- package/src/sap/m/QuickViewCard.js +14 -1
- package/src/sap/m/QuickViewCardRenderer.js +0 -4
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +40 -28
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +1 -1
- package/src/sap/m/RangeSlider.js +1 -1
- package/src/sap/m/RatingIndicator.js +16 -4
- package/src/sap/m/RatingIndicatorRenderer.js +9 -2
- package/src/sap/m/ResponsivePopover.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +3 -3
- package/src/sap/m/SearchField.js +8 -12
- package/src/sap/m/SearchFieldRenderer.js +5 -5
- package/src/sap/m/SegmentedButton.js +4 -2
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/SegmentedButtonRenderer.js +3 -3
- package/src/sap/m/Select.js +18 -16
- package/src/sap/m/SelectDialog.js +1 -1
- package/src/sap/m/SelectDialogBase.js +28 -4
- package/src/sap/m/SelectList.js +5 -6
- package/src/sap/m/SelectionDetails.js +1 -1
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +43 -43
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +1 -1
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderTooltip.js +1 -1
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +1 -1
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitContainer.js +8 -13
- package/src/sap/m/StandardDynamicDateOption.js +2 -2
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTileRenderer.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +3 -3
- package/src/sap/m/SuggestionItem.js +4 -2
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +59 -180
- package/src/sap/m/TablePersoController.js +1 -1
- package/src/sap/m/TablePersoDialog.js +1 -1
- package/src/sap/m/TablePersoProvider.js +4 -1
- package/src/sap/m/TableRenderer.js +98 -126
- package/src/sap/m/TableSelectDialog.js +1 -1
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/TextRenderer.js +3 -3
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TileRenderer.js +7 -4
- package/src/sap/m/TimePicker.js +41 -12
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerClocksRenderer.js +6 -13
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInputsRenderer.js +6 -10
- package/src/sap/m/TimePickerInternals.js +1 -44
- package/src/sap/m/TimePickerRenderer.js +3 -2
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -1
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +15 -3
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +1 -1
- package/src/sap/m/Toolbar.js +4 -2
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/UploadCollection.js +2 -2
- package/src/sap/m/UploadCollectionItem.js +1 -1
- package/src/sap/m/UploadCollectionParameter.js +1 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/VariantManagement.js +13 -50
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +2 -2
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +1 -1
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +1 -1
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/Wizard.js +1 -1
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +1 -1
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/designtime/HBox.designtime.js +16 -0
- package/src/sap/m/designtime/IconTabFilter.designtime.js +0 -9
- package/src/sap/m/designtime/ObjectHeader.designtime.js +26 -0
- package/src/sap/m/designtime/Select.designtime.js +2 -1
- package/src/sap/m/designtime/VBox.designtime.js +16 -0
- package/src/sap/m/inputUtils/SuggestionsPopoverDialogMixin.js +5 -5
- package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +4 -0
- package/src/sap/m/library.js +62 -7
- package/src/sap/m/messagebundle.properties +27 -13
- package/src/sap/m/messagebundle_ar.properties +36 -20
- package/src/sap/m/messagebundle_bg.properties +102 -86
- package/src/sap/m/messagebundle_ca.properties +34 -18
- package/src/sap/m/messagebundle_cs.properties +40 -24
- package/src/sap/m/messagebundle_cy.properties +35 -19
- package/src/sap/m/messagebundle_da.properties +35 -19
- package/src/sap/m/messagebundle_de.properties +35 -19
- package/src/sap/m/messagebundle_el.properties +36 -20
- package/src/sap/m/messagebundle_en.properties +35 -19
- package/src/sap/m/messagebundle_en_GB.properties +35 -19
- package/src/sap/m/messagebundle_en_US_sappsd.properties +34 -18
- package/src/sap/m/messagebundle_en_US_saprigi.properties +34 -18
- package/src/sap/m/messagebundle_en_US_saptrc.properties +34 -18
- package/src/sap/m/messagebundle_es.properties +33 -17
- package/src/sap/m/messagebundle_es_MX.properties +33 -17
- package/src/sap/m/messagebundle_et.properties +33 -17
- package/src/sap/m/messagebundle_fi.properties +37 -21
- package/src/sap/m/messagebundle_fr.properties +38 -22
- package/src/sap/m/messagebundle_fr_CA.properties +35 -19
- package/src/sap/m/messagebundle_hi.properties +36 -20
- package/src/sap/m/messagebundle_hr.properties +36 -20
- package/src/sap/m/messagebundle_hu.properties +39 -23
- package/src/sap/m/messagebundle_id.properties +38 -22
- package/src/sap/m/messagebundle_it.properties +33 -17
- package/src/sap/m/messagebundle_iw.properties +40 -24
- package/src/sap/m/messagebundle_ja.properties +70 -54
- package/src/sap/m/messagebundle_kk.properties +35 -19
- package/src/sap/m/messagebundle_ko.properties +36 -20
- package/src/sap/m/messagebundle_lt.properties +35 -19
- package/src/sap/m/messagebundle_lv.properties +33 -17
- package/src/sap/m/messagebundle_ms.properties +35 -19
- package/src/sap/m/messagebundle_nl.properties +35 -19
- package/src/sap/m/messagebundle_no.properties +38 -22
- package/src/sap/m/messagebundle_pl.properties +35 -19
- package/src/sap/m/messagebundle_pt.properties +33 -17
- package/src/sap/m/messagebundle_pt_PT.properties +33 -17
- package/src/sap/m/messagebundle_ro.properties +45 -29
- package/src/sap/m/messagebundle_ru.properties +32 -16
- package/src/sap/m/messagebundle_sh.properties +43 -27
- package/src/sap/m/messagebundle_sk.properties +35 -19
- package/src/sap/m/messagebundle_sl.properties +96 -80
- package/src/sap/m/messagebundle_sv.properties +37 -21
- package/src/sap/m/messagebundle_th.properties +42 -26
- package/src/sap/m/messagebundle_tr.properties +36 -20
- package/src/sap/m/messagebundle_uk.properties +38 -22
- package/src/sap/m/messagebundle_vi.properties +35 -19
- package/src/sap/m/messagebundle_zh_CN.properties +40 -24
- package/src/sap/m/messagebundle_zh_TW.properties +37 -21
- package/src/sap/m/p13n/AbstractContainer.js +2 -2
- package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
- package/src/sap/m/p13n/BasePanel.js +11 -5
- package/src/sap/m/p13n/Container.js +9 -6
- package/src/sap/m/p13n/Engine.js +33 -5
- package/src/sap/m/p13n/FlexUtil.js +7 -3
- package/src/sap/m/p13n/GroupController.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +6 -1
- package/src/sap/m/p13n/MetadataHelper.js +1 -1
- package/src/sap/m/p13n/PersistenceProvider.js +2 -92
- package/src/sap/m/p13n/Popup.js +25 -2
- package/src/sap/m/p13n/QueryPanel.js +18 -3
- package/src/sap/m/p13n/SelectionController.js +6 -7
- package/src/sap/m/p13n/SelectionPanel.js +16 -5
- package/src/sap/m/p13n/SortController.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +8 -4
- package/src/sap/m/p13n/enum/PersistenceMode.js +9 -0
- package/src/sap/m/p13n/handler/xConfigHandler.js +13 -13
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +24 -1
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -13
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +5 -4
- package/src/sap/m/p13n/modules/xConfigAPI.js +26 -0
- package/src/sap/m/plugins/CellSelector.js +534 -799
- package/src/sap/m/plugins/ColumnResizer.js +1 -9
- package/src/sap/m/plugins/CopyProvider.js +2 -10
- package/src/sap/m/plugins/DataStateIndicator.js +8 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/semantic/AddAction.js +1 -1
- package/src/sap/m/semantic/CancelAction.js +1 -1
- package/src/sap/m/semantic/DeleteAction.js +1 -1
- package/src/sap/m/semantic/DetailPage.js +1 -1
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/m/semantic/EditAction.js +1 -1
- package/src/sap/m/semantic/FavoriteAction.js +1 -1
- package/src/sap/m/semantic/FilterAction.js +1 -1
- package/src/sap/m/semantic/FilterSelect.js +1 -1
- package/src/sap/m/semantic/FlagAction.js +1 -1
- package/src/sap/m/semantic/ForwardAction.js +1 -1
- package/src/sap/m/semantic/FullscreenPage.js +1 -1
- package/src/sap/m/semantic/GroupAction.js +1 -1
- package/src/sap/m/semantic/GroupSelect.js +1 -1
- package/src/sap/m/semantic/MainAction.js +1 -1
- package/src/sap/m/semantic/MasterPage.js +1 -1
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +1 -1
- package/src/sap/m/semantic/NegativeAction.js +1 -1
- package/src/sap/m/semantic/OpenInAction.js +1 -1
- package/src/sap/m/semantic/PositiveAction.js +1 -1
- package/src/sap/m/semantic/PrintAction.js +1 -1
- package/src/sap/m/semantic/SaveAction.js +1 -1
- package/src/sap/m/semantic/Segment.js +1 -1
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -1
- package/src/sap/m/semantic/SemanticConfiguration.js +3 -3
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +1 -1
- package/src/sap/m/semantic/ShareMenuPage.js +1 -1
- package/src/sap/m/semantic/SortAction.js +1 -1
- package/src/sap/m/semantic/SortSelect.js +1 -1
- package/src/sap/m/table/Util.js +6 -5
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -1
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +1 -1
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/Avatar.less +78 -7
- package/src/sap/m/themes/base/Carousel.less +7 -0
- package/src/sap/m/themes/base/CellSelector.less +50 -105
- package/src/sap/m/themes/base/IconTabBar.less +1 -1
- package/src/sap/m/themes/base/Link.less +20 -24
- package/src/sap/m/themes/base/MessageStrip.less +1 -1
- package/src/sap/m/themes/base/NumericContent.less +4 -0
- package/src/sap/m/themes/base/ObjectStatus.less +1 -2
- package/src/sap/m/themes/base/Panel.less +14 -0
- package/src/sap/m/themes/base/PlanningCalendarHeader.less +2 -1
- package/src/sap/m/themes/base/RadioButton.less +3 -1
- package/src/sap/m/themes/base/SearchField.less +13 -3
- package/src/sap/m/themes/base/Select.less +32 -2
- package/src/sap/m/themes/base/Table.less +4 -8
- package/src/sap/m/themes/base/TimePickerClocks.less +4 -0
- package/src/sap/m/themes/base/UploadSet.less +13 -1
- package/src/sap/m/themes/base/UploadSetTable.less +80 -0
- package/src/sap/m/themes/base/ValueStateMessage.less +1 -0
- package/src/sap/m/themes/base/VariantManagement.less +1 -0
- package/src/sap/m/themes/base/Wizard.less +1 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/FilePreviewDialog.js +257 -0
- package/src/sap/m/upload/UploadSet.js +140 -67
- package/src/sap/m/upload/UploadSetItem.js +51 -27
- package/src/sap/m/upload/UploadSetTable.js +929 -0
- package/src/sap/m/upload/UploadSetTableItem.js +327 -0
- package/src/sap/m/upload/UploadSetTableItemRenderer.js +22 -0
- package/src/sap/m/upload/UploadSetTableRenderer.js +34 -0
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/UploaderTableItem.js +276 -0
- package/ui5.yaml +1 -1
package/src/sap/m/Table.js
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"sap/ui/events/KeyCodes",
|
|
10
10
|
"sap/ui/core/Core",
|
|
11
|
+
"sap/ui/core/ControlBehavior",
|
|
11
12
|
"./library",
|
|
12
13
|
"./ListBase",
|
|
13
14
|
"./ListItemBase",
|
|
@@ -20,10 +21,11 @@ sap.ui.define([
|
|
|
20
21
|
"sap/m/ListBaseRenderer",
|
|
21
22
|
"sap/ui/core/Icon",
|
|
22
23
|
"sap/m/table/Util",
|
|
23
|
-
|
|
24
|
+
"sap/ui/core/Lib",
|
|
25
|
+
// jQuery custom selectors ":sapTabbable"
|
|
24
26
|
"sap/ui/dom/jquery/Selectors"
|
|
25
27
|
],
|
|
26
|
-
function(KeyCodes, Core, library, ListBase, ListItemBase, CheckBox, TableRenderer, BaseObject, ResizeHandler, PasteHelper, jQuery, ListBaseRenderer, Icon, Util) {
|
|
28
|
+
function(KeyCodes, Core, ControlBehavior, library, ListBase, ListItemBase, CheckBox, TableRenderer, BaseObject, ResizeHandler, PasteHelper, jQuery, ListBaseRenderer, Icon, Util, Library) {
|
|
27
29
|
"use strict";
|
|
28
30
|
|
|
29
31
|
|
|
@@ -65,7 +67,7 @@ sap.ui.define([
|
|
|
65
67
|
* @extends sap.m.ListBase
|
|
66
68
|
*
|
|
67
69
|
* @author SAP SE
|
|
68
|
-
* @version 1.
|
|
70
|
+
* @version 1.117.0
|
|
69
71
|
*
|
|
70
72
|
* @constructor
|
|
71
73
|
* @public
|
|
@@ -369,7 +371,7 @@ sap.ui.define([
|
|
|
369
371
|
this.invalidate();
|
|
370
372
|
} else {
|
|
371
373
|
// Only set the no columns string, if there is no illustrated message present
|
|
372
|
-
this.$("nodata-text").text(
|
|
374
|
+
this.$("nodata-text").text(Library.getResourceBundleFor("sap.m").getText("TABLE_NO_COLUMNS"));
|
|
373
375
|
}
|
|
374
376
|
}
|
|
375
377
|
|
|
@@ -404,47 +406,13 @@ sap.ui.define([
|
|
|
404
406
|
Table.prototype.onBeforeRendering = function() {
|
|
405
407
|
ListBase.prototype.onBeforeRendering.call(this);
|
|
406
408
|
|
|
407
|
-
this.
|
|
408
|
-
|
|
409
|
-
if (this.getAutoPopinMode()) {
|
|
410
|
-
this._configureAutoPopin();
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
// for initial contextualWidth setting
|
|
409
|
+
this._configureAutoPopin();
|
|
414
410
|
this._applyContextualWidth(this._sContextualWidth);
|
|
415
|
-
|
|
416
|
-
this._ensureColumnsMedia();
|
|
417
|
-
this._notifyColumns("ItemsRemoved");
|
|
418
|
-
};
|
|
419
|
-
|
|
420
|
-
/*
|
|
421
|
-
* Returns whether a visible column has dynamic width or not
|
|
422
|
-
* @protected
|
|
423
|
-
*/
|
|
424
|
-
Table.prototype._hasDynamicWidthColumn = function(oColumn, sColumnWidth) {
|
|
425
|
-
if (this.getFixedLayout() != "Strict") {
|
|
426
|
-
return true;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
return this.getColumns().some(function(oCurrentColumn) {
|
|
430
|
-
if (oCurrentColumn.getVisible() && !oCurrentColumn.isPopin()) {
|
|
431
|
-
var sWidth = oColumn && oColumn == oCurrentColumn ? sColumnWidth : oCurrentColumn.getWidth();
|
|
432
|
-
return !sWidth || sWidth == "auto";
|
|
433
|
-
}
|
|
434
|
-
});
|
|
435
|
-
};
|
|
436
|
-
|
|
437
|
-
Table.prototype._ensureColumnsMedia = function() {
|
|
438
|
-
this.getColumns().forEach(function (oColumn) {
|
|
439
|
-
if (oColumn._bShouldAddMedia) {
|
|
440
|
-
oColumn._addMedia();
|
|
441
|
-
}
|
|
442
|
-
});
|
|
411
|
+
this._notifyColumns("TableRendering");
|
|
443
412
|
};
|
|
444
413
|
|
|
445
414
|
Table.prototype.onAfterRendering = function() {
|
|
446
415
|
ListBase.prototype.onAfterRendering.call(this);
|
|
447
|
-
this.updateSelectAllCheckbox();
|
|
448
416
|
|
|
449
417
|
if (!this.isPropertyInitial("showOverlay")) {
|
|
450
418
|
this._handleOverlay();
|
|
@@ -532,7 +500,7 @@ sap.ui.define([
|
|
|
532
500
|
}
|
|
533
501
|
|
|
534
502
|
if ($this[0].clientWidth < oTableDomRef.clientWidth) {
|
|
535
|
-
$this.find(".sapMListTblCell:visible").eq(0).addClass("
|
|
503
|
+
$this.find(".sapMListTblCell:visible").eq(0).addClass("sapMTableForcedColumn").width("");
|
|
536
504
|
}
|
|
537
505
|
|
|
538
506
|
this._bCheckLastColumnWidth = false;
|
|
@@ -570,11 +538,6 @@ sap.ui.define([
|
|
|
570
538
|
return ListBase.prototype.destroyItems.apply(this, arguments);
|
|
571
539
|
};
|
|
572
540
|
|
|
573
|
-
Table.prototype.removeAllItems = function() {
|
|
574
|
-
this._notifyColumns("ItemsRemoved");
|
|
575
|
-
return ListBase.prototype.removeAllItems.apply(this, arguments);
|
|
576
|
-
};
|
|
577
|
-
|
|
578
541
|
Table.prototype.removeSelections = function() {
|
|
579
542
|
ListBase.prototype.removeSelections.apply(this, arguments);
|
|
580
543
|
this.updateSelectAllCheckbox();
|
|
@@ -591,8 +554,8 @@ sap.ui.define([
|
|
|
591
554
|
/**
|
|
592
555
|
* Getter for aggregation columns.
|
|
593
556
|
*
|
|
594
|
-
* @param {boolean} [bSort]
|
|
595
|
-
* @returns {sap.m.Column[]}
|
|
557
|
+
* @param {boolean} [bSort] Set true to get the columns in an order that respects personalization settings.
|
|
558
|
+
* @returns {sap.m.Column[]} Columns of the Table
|
|
596
559
|
* @public
|
|
597
560
|
*/
|
|
598
561
|
Table.prototype.getColumns = function(bSort) {
|
|
@@ -605,6 +568,24 @@ sap.ui.define([
|
|
|
605
568
|
return aColumns;
|
|
606
569
|
};
|
|
607
570
|
|
|
571
|
+
/**
|
|
572
|
+
* Returns the columns of the table, including the column in the popin, in the rendering order.
|
|
573
|
+
*
|
|
574
|
+
* @returns {sap.m.Column[]} Columns of the Table in the rendering order.
|
|
575
|
+
* @private
|
|
576
|
+
*/
|
|
577
|
+
Table.prototype.getRenderedColumns = function() {
|
|
578
|
+
return this.getColumns(true).filter(function(oColumn) {
|
|
579
|
+
return oColumn.getVisible() && (oColumn.isPopin() || !oColumn.isHidden());
|
|
580
|
+
}).sort(function(oCol1, oCol2) {
|
|
581
|
+
var iCol1Index = oCol1.getIndex(), iCol2Index = oCol2.getIndex(), iIndexDiff = iCol1Index - iCol2Index;
|
|
582
|
+
if (iIndexDiff == 0) { return 0; }
|
|
583
|
+
if (iCol1Index < 0) { return 1; }
|
|
584
|
+
if (iCol2Index < 0) { return -1; }
|
|
585
|
+
return iIndexDiff;
|
|
586
|
+
});
|
|
587
|
+
};
|
|
588
|
+
|
|
608
589
|
// @see JSDoc generated by SAPUI5 control
|
|
609
590
|
Table.prototype.setFixedLayout = function(vFixedLayout) {
|
|
610
591
|
|
|
@@ -685,10 +666,9 @@ sap.ui.define([
|
|
|
685
666
|
|
|
686
667
|
// this gets called when selected property of the item is changed
|
|
687
668
|
Table.prototype.onItemSelectedChange = function(oItem, bSelect) {
|
|
669
|
+
clearTimeout(this._iSelectAllCheckboxTimer);
|
|
670
|
+
this._iSelectAllCheckboxTimer = setTimeout(this.updateSelectAllCheckbox.bind(this));
|
|
688
671
|
ListBase.prototype.onItemSelectedChange.apply(this, arguments);
|
|
689
|
-
setTimeout(function() {
|
|
690
|
-
this.updateSelectAllCheckbox();
|
|
691
|
-
}.bind(this), 0);
|
|
692
672
|
};
|
|
693
673
|
|
|
694
674
|
/*
|
|
@@ -765,96 +745,8 @@ sap.ui.define([
|
|
|
765
745
|
* @protected
|
|
766
746
|
*/
|
|
767
747
|
Table.prototype.onColumnResize = function(oColumn) {
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
if (!this.hasPopin() && !this._mutex) {
|
|
771
|
-
var hasPopin = this.getColumns().some(function(col) {
|
|
772
|
-
return col.isPopin();
|
|
773
|
-
});
|
|
774
|
-
|
|
775
|
-
if (!hasPopin) {
|
|
776
|
-
oColumn.setDisplay(this.getTableDomRef(), !oColumn.isHidden());
|
|
777
|
-
this._firePopinChangedEvent();
|
|
778
|
-
this._oGrowingDelegate && this._oGrowingDelegate.adaptTriggerButtonWidth(this);
|
|
779
|
-
return;
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
this._dirty = this._getMediaContainerWidth() || window.innerWidth;
|
|
784
|
-
if (!this._mutex) {
|
|
785
|
-
var clean = this._getMediaContainerWidth() || window.innerWidth;
|
|
786
|
-
this._mutex = true;
|
|
787
|
-
this._bFirePopinChanged = true;
|
|
788
|
-
this.invalidate();
|
|
789
|
-
|
|
790
|
-
// do not re-render if resize event comes so frequently
|
|
791
|
-
setTimeout(function() {
|
|
792
|
-
// but check if any event come during the wait-time
|
|
793
|
-
if (this._dirty != clean) {
|
|
794
|
-
this._dirty = 0;
|
|
795
|
-
this._bFirePopinChanged = true;
|
|
796
|
-
this.invalidate();
|
|
797
|
-
}
|
|
798
|
-
this._mutex = false;
|
|
799
|
-
}.bind(this), 200);
|
|
800
|
-
}
|
|
801
|
-
};
|
|
802
|
-
|
|
803
|
-
/*
|
|
804
|
-
* This method is called from Column control when column visibility is changed via CSS media query
|
|
805
|
-
*
|
|
806
|
-
* @param {boolean} bColVisible whether column is now visible or not
|
|
807
|
-
* @protected
|
|
808
|
-
*/
|
|
809
|
-
Table.prototype.setTableHeaderVisibility = function(bColVisible) {
|
|
810
|
-
if (!this.getDomRef()) {
|
|
811
|
-
return;
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
if (!this.shouldRenderItems()) {
|
|
815
|
-
return this.invalidate();
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
// find first visible column
|
|
819
|
-
var $headRow = this.$("tblHeader"),
|
|
820
|
-
bHeaderVisible = !$headRow.hasClass("sapMListTblHeaderNone"),
|
|
821
|
-
aVisibleColumns = $headRow.find(".sapMListTblCell:not([aria-hidden=true]"),
|
|
822
|
-
$firstVisibleCol = aVisibleColumns.eq(0);
|
|
823
|
-
|
|
824
|
-
// check if only one column is visible
|
|
825
|
-
if (aVisibleColumns.length == 1) {
|
|
826
|
-
if (this.getFixedLayout() == "Strict") {
|
|
827
|
-
this._checkLastColumnWidth();
|
|
828
|
-
} else {
|
|
829
|
-
$firstVisibleCol.width(""); // cover the space
|
|
830
|
-
}
|
|
831
|
-
} else {
|
|
832
|
-
$firstVisibleCol.removeClass("sapMTableLastColumn");
|
|
833
|
-
// set original width of columns
|
|
834
|
-
aVisibleColumns.each(function() {
|
|
835
|
-
this.style.width = this.getAttribute("data-sap-width") || "";
|
|
836
|
-
});
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
// update the visible column count and colspan
|
|
840
|
-
// highlight, navigation and navigated indicator columns are getting rendered always
|
|
841
|
-
var iDummyColumnLength = $headRow.find(".sapMListTblDummyCell").length;
|
|
842
|
-
this._colCount = aVisibleColumns.length + 3 + !!ListBaseRenderer.ModeOrder[this.getMode()] + iDummyColumnLength;
|
|
843
|
-
this.$("tblBody").find(".sapMGHLICell").attr("colspan", this.getColSpan() - iDummyColumnLength);
|
|
844
|
-
this.$("nodata-text").attr("colspan", this.getColCount());
|
|
845
|
-
|
|
846
|
-
if (this.hasPopin()) {
|
|
847
|
-
this.$("tblBody").find(".sapMListTblSubRowCell").attr("colspan", this.getColSpan());
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
// remove or show column header row(thead) according to column visibility value
|
|
851
|
-
if (!bColVisible && bHeaderVisible) {
|
|
852
|
-
$headRow[0].className = "sapMListTblRow sapMLIBFocusable sapMListTblHeader";
|
|
853
|
-
this._headerHidden = false;
|
|
854
|
-
} else if (bColVisible && !bHeaderVisible && !aVisibleColumns.length) {
|
|
855
|
-
$headRow[0].className = "sapMListTblHeaderNone";
|
|
856
|
-
this._headerHidden = true;
|
|
857
|
-
}
|
|
748
|
+
this._bFirePopinChanged = true;
|
|
749
|
+
this.invalidate();
|
|
858
750
|
};
|
|
859
751
|
|
|
860
752
|
// updates the type column visibility and sets the aria flag
|
|
@@ -914,7 +806,7 @@ sap.ui.define([
|
|
|
914
806
|
this._clearAllButton = new Icon({
|
|
915
807
|
id: this.getId() + "-clearSelection",
|
|
916
808
|
src: "sap-icon://clear-all",
|
|
917
|
-
tooltip:
|
|
809
|
+
tooltip: Library.getResourceBundleFor("sap.m").getText("TABLE_CLEARBUTTON_TOOLTIP"),
|
|
918
810
|
decorative: false,
|
|
919
811
|
press: this.removeSelections.bind(this, false, true, false)
|
|
920
812
|
}).setParent(this, null, true).addEventDelegate({
|
|
@@ -922,6 +814,7 @@ sap.ui.define([
|
|
|
922
814
|
this._clearAllButton.getDomRef().setAttribute("tabindex", -1);
|
|
923
815
|
}
|
|
924
816
|
}, this);
|
|
817
|
+
this.updateSelectAllCheckbox();
|
|
925
818
|
}
|
|
926
819
|
|
|
927
820
|
return this._clearAllButton;
|
|
@@ -943,7 +836,7 @@ sap.ui.define([
|
|
|
943
836
|
this._selectAllCheckBox = new CheckBox({
|
|
944
837
|
id: this.getId("sa"),
|
|
945
838
|
activeHandling: false,
|
|
946
|
-
tooltip:
|
|
839
|
+
tooltip: Library.getResourceBundleFor("sap.m").getText("TABLE_SELECT_ALL_TOOLTIP")
|
|
947
840
|
}).addStyleClass("sapMLIBSelectM").setParent(this, null, true).attachSelect(function () {
|
|
948
841
|
if (this._selectAllCheckBox.getSelected()) {
|
|
949
842
|
this.selectAll(true);
|
|
@@ -951,11 +844,10 @@ sap.ui.define([
|
|
|
951
844
|
this.removeSelections(false, true);
|
|
952
845
|
}
|
|
953
846
|
}, this).setTabIndex(-1);
|
|
847
|
+
this._selectAllCheckBox.useEnabledPropagator(false);
|
|
848
|
+
this.updateSelectAllCheckbox();
|
|
954
849
|
}
|
|
955
850
|
|
|
956
|
-
// prevent disabling of internal controls by the sap.ui.core.EnabledPropagator
|
|
957
|
-
this._selectAllCheckBox.useEnabledPropagator(false);
|
|
958
|
-
|
|
959
851
|
return this._selectAllCheckBox;
|
|
960
852
|
};
|
|
961
853
|
|
|
@@ -999,28 +891,18 @@ sap.ui.define([
|
|
|
999
891
|
*/
|
|
1000
892
|
Table.prototype.enhanceAccessibilityState = function(oElement, mAriaProps) {
|
|
1001
893
|
if (oElement == this._clearAllButton) {
|
|
1002
|
-
mAriaProps.label =
|
|
894
|
+
mAriaProps.label = Library.getResourceBundleFor("sap.m").getText("TABLE_ICON_DESELECT_ALL");
|
|
1003
895
|
} else if (oElement == this._selectAllCheckBox) {
|
|
1004
|
-
mAriaProps.label =
|
|
896
|
+
mAriaProps.label = Library.getResourceBundleFor("sap.m").getText("TABLE_CHECKBOX_SELECT_ALL");
|
|
1005
897
|
}
|
|
1006
898
|
};
|
|
1007
899
|
|
|
1008
900
|
/*
|
|
1009
|
-
* Returns
|
|
1010
|
-
* Because we render these columns always even it is empty
|
|
1011
|
-
* @protected
|
|
1012
|
-
*/
|
|
1013
|
-
Table.prototype.getColSpan = function() {
|
|
1014
|
-
var iInternalTDs = this.shouldRenderDummyColumn() ? 3 : 2;
|
|
1015
|
-
return (this._colCount || 1 ) - iInternalTDs;
|
|
1016
|
-
};
|
|
1017
|
-
|
|
1018
|
-
/*
|
|
1019
|
-
* Returns the number of total columns
|
|
901
|
+
* Returns the number of <th> elements
|
|
1020
902
|
* @protected
|
|
1021
903
|
*/
|
|
1022
904
|
Table.prototype.getColCount = function() {
|
|
1023
|
-
return
|
|
905
|
+
return this._colCount || 0;
|
|
1024
906
|
};
|
|
1025
907
|
|
|
1026
908
|
/*
|
|
@@ -1028,7 +910,7 @@ sap.ui.define([
|
|
|
1028
910
|
* @protected
|
|
1029
911
|
*/
|
|
1030
912
|
Table.prototype.shouldRenderDummyColumn = function() {
|
|
1031
|
-
return
|
|
913
|
+
return Boolean(this._dummyColumn);
|
|
1032
914
|
};
|
|
1033
915
|
|
|
1034
916
|
/*
|
|
@@ -1036,7 +918,7 @@ sap.ui.define([
|
|
|
1036
918
|
* @protected
|
|
1037
919
|
*/
|
|
1038
920
|
Table.prototype.hasPopin = function() {
|
|
1039
|
-
return
|
|
921
|
+
return Boolean(this._hasPopin);
|
|
1040
922
|
};
|
|
1041
923
|
|
|
1042
924
|
/*
|
|
@@ -1059,21 +941,19 @@ sap.ui.define([
|
|
|
1059
941
|
|
|
1060
942
|
// returns accessibility role
|
|
1061
943
|
Table.prototype.getAccessibilityType = function() {
|
|
1062
|
-
return
|
|
944
|
+
return Library.getResourceBundleFor("sap.m").getText("ACC_CTR_TYPE_TABLE");
|
|
1063
945
|
};
|
|
1064
946
|
|
|
1065
947
|
Table.prototype._setHeaderAnnouncement = function() {
|
|
1066
|
-
var oBundle =
|
|
948
|
+
var oBundle = Library.getResourceBundleFor("sap.m"),
|
|
1067
949
|
sAnnouncement = oBundle.getText("ACC_CTR_TYPE_HEADER_ROW") + " ";
|
|
1068
950
|
|
|
1069
951
|
if (this.isAllSelectableSelected()) {
|
|
1070
952
|
sAnnouncement += oBundle.getText("LIST_ALL_SELECTED");
|
|
1071
953
|
}
|
|
1072
954
|
|
|
1073
|
-
var aHiddenInPopin = this._getHiddenInPopin();
|
|
1074
955
|
this.getColumns(true).forEach(function(oColumn, i) {
|
|
1075
|
-
|
|
1076
|
-
if (!oColumn.getVisible() || aHiddenInPopin.indexOf(oColumn) > -1) {
|
|
956
|
+
if (!oColumn.getVisible() || oColumn.isHidden()) {
|
|
1077
957
|
return;
|
|
1078
958
|
}
|
|
1079
959
|
|
|
@@ -1087,10 +967,9 @@ sap.ui.define([
|
|
|
1087
967
|
};
|
|
1088
968
|
|
|
1089
969
|
Table.prototype._setFooterAnnouncement = function() {
|
|
1090
|
-
var sAnnouncement =
|
|
970
|
+
var sAnnouncement = Library.getResourceBundleFor("sap.m").getText("ACC_CTR_TYPE_FOOTER_ROW") + " ";
|
|
1091
971
|
this.getColumns(true).forEach(function(oColumn, i) {
|
|
1092
|
-
|
|
1093
|
-
if (!oColumn.getVisible()) {
|
|
972
|
+
if (!oColumn.getVisible() || oColumn.isHidden()) {
|
|
1094
973
|
return;
|
|
1095
974
|
}
|
|
1096
975
|
|
|
@@ -1112,10 +991,11 @@ sap.ui.define([
|
|
|
1112
991
|
Table.prototype._setNoColumnsMessageAnnouncement = function (oTarget) {
|
|
1113
992
|
if (!this.shouldRenderItems()) {
|
|
1114
993
|
var oNoData = this.getNoData();
|
|
994
|
+
var sDescription = Core.getLibraryResourceBundle("sap.m").getText("TABLE_NO_COLUMNS");
|
|
1115
995
|
if (oNoData && typeof oNoData !== "string" && oNoData.isA("sap.m.IllustratedMessage")) {
|
|
1116
|
-
|
|
1117
|
-
this.updateInvisibleText(sDescription, oTarget);
|
|
996
|
+
sDescription = ListItemBase.getAccessibilityText(this.getAggregation("_noColumnsMessage"));
|
|
1118
997
|
}
|
|
998
|
+
this.updateInvisibleText(sDescription, oTarget);
|
|
1119
999
|
}
|
|
1120
1000
|
};
|
|
1121
1001
|
|
|
@@ -1306,10 +1186,13 @@ sap.ui.define([
|
|
|
1306
1186
|
* @private
|
|
1307
1187
|
*/
|
|
1308
1188
|
Table.prototype._configureAutoPopin = function() {
|
|
1189
|
+
if (!this.getAutoPopinMode()) {
|
|
1190
|
+
return;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1309
1193
|
var aVisibleColumns = this.getColumns(true).filter(function(oColumn) {
|
|
1310
1194
|
return oColumn.getVisible();
|
|
1311
1195
|
});
|
|
1312
|
-
|
|
1313
1196
|
if (!aVisibleColumns.length) {
|
|
1314
1197
|
return;
|
|
1315
1198
|
}
|
|
@@ -1425,12 +1308,8 @@ sap.ui.define([
|
|
|
1425
1308
|
};
|
|
1426
1309
|
|
|
1427
1310
|
Table.prototype._getPopins = function() {
|
|
1428
|
-
|
|
1429
|
-
return oColumn.getVisible() && oColumn.getDemandPopin();
|
|
1430
|
-
});
|
|
1431
|
-
|
|
1432
|
-
return aVisiblePopinColumns.filter(function(oVisibleColumn) {
|
|
1433
|
-
return oVisibleColumn._media && !oVisibleColumn._media.matches;
|
|
1311
|
+
return this.getColumns().filter(function(oColumn) {
|
|
1312
|
+
return oColumn.getVisible() && oColumn.getDemandPopin() && oColumn.isHidden();
|
|
1434
1313
|
});
|
|
1435
1314
|
};
|
|
1436
1315
|
|
|
@@ -1460,7 +1339,7 @@ sap.ui.define([
|
|
|
1460
1339
|
Table.prototype.onItemFocusIn = function(oItem, oFocusedControl) {
|
|
1461
1340
|
ListBase.prototype.onItemFocusIn.apply(this, arguments);
|
|
1462
1341
|
|
|
1463
|
-
if (oItem != oFocusedControl || !
|
|
1342
|
+
if (oItem != oFocusedControl || !ControlBehavior.isAccessibilityEnabled()) {
|
|
1464
1343
|
return;
|
|
1465
1344
|
}
|
|
1466
1345
|
|
|
@@ -40,7 +40,7 @@ sap.ui.define([
|
|
|
40
40
|
* @class Table Personalization Controller
|
|
41
41
|
* @extends sap.ui.base.ManagedObject
|
|
42
42
|
* @author SAP
|
|
43
|
-
* @version 1.
|
|
43
|
+
* @version 1.117.0
|
|
44
44
|
* @alias sap.m.TablePersoController
|
|
45
45
|
*/
|
|
46
46
|
var TablePersoController = ManagedObject.extend("sap.m.TablePersoController", /** @lends sap.m.TablePersoController.prototype */
|
|
@@ -92,7 +92,7 @@ sap.ui.define([
|
|
|
92
92
|
* @class Table Personalization Dialog
|
|
93
93
|
* @extends sap.ui.base.ManagedObject
|
|
94
94
|
* @author SAP
|
|
95
|
-
* @version 1.
|
|
95
|
+
* @version 1.117.0
|
|
96
96
|
* @alias sap.m.TablePersoDialog
|
|
97
97
|
*/
|
|
98
98
|
var TablePersoDialog = ManagedObject.extend("sap.m.TablePersoDialog", /** @lends sap.m.TablePersoDialog.prototype */
|
|
@@ -17,11 +17,13 @@ sap.ui.define(['sap/ui/base/ManagedObject', "sap/base/Log"],
|
|
|
17
17
|
*
|
|
18
18
|
* @public
|
|
19
19
|
*
|
|
20
|
+
* @deprecated since 1.115.
|
|
21
|
+
*
|
|
20
22
|
* @class Table Personalization Provider
|
|
21
23
|
* @extends sap.ui.base.ManagedObject
|
|
22
24
|
* @abstract
|
|
23
25
|
* @author SAP
|
|
24
|
-
* @version 1.
|
|
26
|
+
* @version 1.117.0
|
|
25
27
|
* @alias sap.m.TablePersoProvider
|
|
26
28
|
*/
|
|
27
29
|
var TablePersoProvider = ManagedObject.extend("sap.m.TablePersoProvider", /** @lends sap.m.TablePersoProvider.prototype */
|
|
@@ -34,6 +36,7 @@ sap.ui.define(['sap/ui/base/ManagedObject', "sap/base/Log"],
|
|
|
34
36
|
},
|
|
35
37
|
|
|
36
38
|
metadata: {
|
|
39
|
+
deprecated: true,
|
|
37
40
|
"abstract": true,
|
|
38
41
|
library: "sap.m"
|
|
39
42
|
}
|