@openui5/sap.m 1.115.0 → 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 +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 +25 -2
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/Breadcrumbs.js +1 -1
- 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 +1 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +1 -0
- package/src/sap/m/CheckBox.js +1 -1
- 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 +5 -11
- 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 +23 -1
- package/src/sap/m/DateRangeSelection.js +34 -5
- package/src/sap/m/DateTimeField.js +13 -8
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +1 -1
- package/src/sap/m/Dialog.js +1 -1
- 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 +1 -1
- package/src/sap/m/DynamicDateRange.js +1 -1
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +1 -1
- 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 +43 -49
- 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 +22 -25
- 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/IconTabBar.js +1 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +1 -2
- 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 +1 -1
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +12 -7
- package/src/sap/m/InputBase.js +1 -1
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +29 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +3 -8
- package/src/sap/m/ListItemBase.js +1 -1
- 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 +1 -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 +1 -1
- package/src/sap/m/MultiComboBox.js +1 -1
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +1 -1
- package/src/sap/m/NavContainer.js +1 -1
- 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 +1 -1
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +47 -4
- package/src/sap/m/ObjectStatusRenderer.js +7 -0
- package/src/sap/m/OverflowToolbar.js +7 -1
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- 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 +1 -1
- package/src/sap/m/P13nConditionPanel.js +1 -1
- package/src/sap/m/P13nDialog.js +1 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +1 -1
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +1 -1
- 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 +1 -1
- 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/Page.js +1 -1
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +1 -1
- package/src/sap/m/PlanningCalendar.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +1 -1
- 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 +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SearchFieldRenderer.js +1 -1
- package/src/sap/m/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +1 -1
- package/src/sap/m/SelectDialog.js +1 -1
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/sap/m/StandardDynamicDateOption.js +1 -1
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +1 -1
- package/src/sap/m/SuggestionItem.js +1 -1
- 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 +46 -169
- 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 +93 -121
- 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/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TimePicker.js +29 -2
- 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/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 +1 -1
- 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 +1 -1
- 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 +1 -38
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +1 -1
- 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/library.js +9 -2
- package/src/sap/m/messagebundle.properties +22 -11
- package/src/sap/m/messagebundle_ar.properties +16 -10
- package/src/sap/m/messagebundle_bg.properties +83 -77
- package/src/sap/m/messagebundle_ca.properties +14 -8
- package/src/sap/m/messagebundle_cs.properties +20 -14
- package/src/sap/m/messagebundle_cy.properties +15 -9
- package/src/sap/m/messagebundle_da.properties +15 -9
- package/src/sap/m/messagebundle_de.properties +15 -9
- package/src/sap/m/messagebundle_el.properties +16 -10
- package/src/sap/m/messagebundle_en.properties +15 -9
- package/src/sap/m/messagebundle_en_GB.properties +15 -9
- package/src/sap/m/messagebundle_en_US_sappsd.properties +13 -7
- package/src/sap/m/messagebundle_en_US_saprigi.properties +15 -7
- package/src/sap/m/messagebundle_en_US_saptrc.properties +13 -7
- package/src/sap/m/messagebundle_es.properties +13 -7
- package/src/sap/m/messagebundle_es_MX.properties +13 -7
- package/src/sap/m/messagebundle_et.properties +13 -7
- package/src/sap/m/messagebundle_fi.properties +18 -12
- package/src/sap/m/messagebundle_fr.properties +18 -12
- package/src/sap/m/messagebundle_fr_CA.properties +15 -9
- package/src/sap/m/messagebundle_hi.properties +16 -10
- package/src/sap/m/messagebundle_hr.properties +16 -10
- package/src/sap/m/messagebundle_hu.properties +20 -14
- package/src/sap/m/messagebundle_id.properties +17 -11
- package/src/sap/m/messagebundle_it.properties +13 -7
- package/src/sap/m/messagebundle_iw.properties +19 -13
- package/src/sap/m/messagebundle_ja.properties +50 -44
- package/src/sap/m/messagebundle_kk.properties +15 -9
- package/src/sap/m/messagebundle_ko.properties +15 -9
- package/src/sap/m/messagebundle_lt.properties +15 -9
- package/src/sap/m/messagebundle_lv.properties +13 -7
- package/src/sap/m/messagebundle_ms.properties +15 -9
- package/src/sap/m/messagebundle_nl.properties +13 -7
- package/src/sap/m/messagebundle_no.properties +18 -12
- package/src/sap/m/messagebundle_pl.properties +17 -11
- package/src/sap/m/messagebundle_pt.properties +13 -7
- package/src/sap/m/messagebundle_pt_PT.properties +13 -7
- package/src/sap/m/messagebundle_ro.properties +25 -19
- package/src/sap/m/messagebundle_ru.properties +14 -8
- package/src/sap/m/messagebundle_sh.properties +23 -17
- package/src/sap/m/messagebundle_sk.properties +15 -9
- package/src/sap/m/messagebundle_sl.properties +77 -71
- package/src/sap/m/messagebundle_sv.properties +17 -11
- package/src/sap/m/messagebundle_th.properties +21 -15
- package/src/sap/m/messagebundle_tr.properties +16 -10
- package/src/sap/m/messagebundle_uk.properties +18 -12
- package/src/sap/m/messagebundle_vi.properties +15 -9
- package/src/sap/m/messagebundle_zh_CN.properties +20 -14
- package/src/sap/m/messagebundle_zh_TW.properties +17 -11
- 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 -4
- package/src/sap/m/p13n/Container.js +9 -6
- package/src/sap/m/p13n/Engine.js +2 -1
- package/src/sap/m/p13n/GroupController.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +6 -1
- package/src/sap/m/p13n/PersistenceProvider.js +11 -6
- package/src/sap/m/p13n/Popup.js +1 -1
- 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 +11 -4
- package/src/sap/m/p13n/SortController.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +8 -4
- package/src/sap/m/p13n/handler/xConfigHandler.js +1 -1
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +1 -1
- package/src/sap/m/plugins/CellSelector.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +32 -0
- package/src/sap/m/themes/base/MessageStrip.less +1 -1
- package/src/sap/m/themes/base/ObjectStatus.less +1 -2
- 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 +8 -3
- package/src/sap/m/themes/base/Select.less +31 -2
- package/src/sap/m/themes/base/Table.less +0 -8
- package/src/sap/m/themes/base/TimePickerClocks.less +4 -0
- 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/Wizard.less +1 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/FilePreviewDialog.js +223 -0
- package/src/sap/m/upload/UploadSet.js +5 -4
- package/src/sap/m/upload/UploadSetItem.js +1 -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/.reuse/dep5
CHANGED
|
@@ -457,11 +457,6 @@ Comment: these files belong to: UI5 Web Components
|
|
|
457
457
|
|
|
458
458
|
# Outside of Libraries:
|
|
459
459
|
|
|
460
|
-
Files: src/testsuite-utils/src/main/resources/META-INF/less/less.js
|
|
461
|
-
Copyright: 2009-2014, Alexis Sellier <self@cloudhead.net>
|
|
462
|
-
License: Apache-2.0
|
|
463
|
-
Comment: these files belong to: LESS
|
|
464
|
-
|
|
465
460
|
Files: lib/jsdoc/ui5/plugin.js
|
|
466
461
|
Copyright:
|
|
467
462
|
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
package/THIRDPARTY.txt
CHANGED
|
@@ -460,19 +460,13 @@ Contained in: src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty/*.*
|
|
|
460
460
|
|
|
461
461
|
Outside of Libraries:
|
|
462
462
|
|
|
463
|
-
Component: LESS, version: 1.6.3
|
|
464
|
-
Copyright: 2009-2014, Alexis Sellier <self@cloudhead.net>
|
|
465
|
-
License: Apache-2.0
|
|
466
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
467
|
-
Contained in: src/testsuite-utils/src/main/resources/META-INF/less/less.js
|
|
468
|
-
|
|
469
463
|
Component: JSDoc 3, version: 3.6.7
|
|
470
464
|
Copyright: 2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
|
|
471
465
|
License: Apache-2.0
|
|
472
466
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
473
467
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
474
468
|
|
|
475
|
-
Component: SAP Theming Base Content, version: 11.
|
|
469
|
+
Component: SAP Theming Base Content, version: 11.4.2
|
|
476
470
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
477
471
|
License: Apache-2.0
|
|
478
472
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.m",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.116.0",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.m",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.ui.core": "1.
|
|
18
|
-
"@openui5/sap.ui.layout": "1.
|
|
19
|
-
"@openui5/sap.ui.unified": "1.
|
|
17
|
+
"@openui5/sap.ui.core": "1.116.0",
|
|
18
|
+
"@openui5/sap.ui.layout": "1.116.0",
|
|
19
|
+
"@openui5/sap.ui.unified": "1.116.0"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/src/sap/m/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.116.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>The main UI5 control library, with responsive controls that can be used in touch devices as well as desktop browsers.</documentation>
|
|
12
12
|
|
package/src/sap/m/AccButton.js
CHANGED
package/src/sap/m/ActionSheet.js
CHANGED
|
@@ -72,7 +72,7 @@ sap.ui.define([
|
|
|
72
72
|
* @extends sap.ui.core.Control
|
|
73
73
|
*
|
|
74
74
|
* @author SAP SE
|
|
75
|
-
* @version 1.
|
|
75
|
+
* @version 1.116.0
|
|
76
76
|
*
|
|
77
77
|
* @constructor
|
|
78
78
|
* @public
|
|
@@ -87,7 +87,11 @@ sap.ui.define([
|
|
|
87
87
|
properties : {
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
|
-
* The ActionSheet behaves as an sap.m.Popover in iPad and this property is the information about on which side will the popover be placed at.
|
|
90
|
+
* The ActionSheet behaves as an sap.m.Popover in iPad and this property is the information about on which side will the popover be placed at.
|
|
91
|
+
*
|
|
92
|
+
* Possible values are sap.m.PlacementType.Left, sap.m.PlacementType.Right, sap.m.PlacementType.Top, sap.m.PlacementType.Bottom, sap.m.PlacementType.Horizontal,
|
|
93
|
+
* sap.m.PlacementType.HorizontalPreferredLeft, sap.m.PlacementType.HorizontalPreferredRight, sap.m.PlacementType.Vertical, sap.m.PlacementType.VerticalPreferredTop,
|
|
94
|
+
* sap.m.PlacementType.VerticalPreferredBottom. The default value is sap.m.PlacementType.Bottom.
|
|
91
95
|
*/
|
|
92
96
|
placement : {type : "sap.m.PlacementType", group : "Appearance", defaultValue : PlacementType.Bottom},
|
|
93
97
|
|
package/src/sap/m/ActionTile.js
CHANGED
package/src/sap/m/App.js
CHANGED
package/src/sap/m/Avatar.js
CHANGED
|
@@ -37,6 +37,9 @@ sap.ui.define([
|
|
|
37
37
|
// shortcut for sap.ui.core.aria.HasPopup
|
|
38
38
|
var AriaHasPopup = coreLibrary.aria.HasPopup;
|
|
39
39
|
|
|
40
|
+
// shortcut for sap.ui.core.ValueState
|
|
41
|
+
var ValueState = coreLibrary.ValueState;
|
|
42
|
+
|
|
40
43
|
// shortcut for Accent colors keys only (from AvatarColor enum)
|
|
41
44
|
var AccentColors = Object.keys(AvatarColor).filter(function (sCurrColor) {
|
|
42
45
|
return sCurrColor.indexOf("Accent") !== -1;
|
|
@@ -81,7 +84,7 @@ sap.ui.define([
|
|
|
81
84
|
* @extends sap.ui.core.Control
|
|
82
85
|
*
|
|
83
86
|
* @author SAP SE
|
|
84
|
-
* @version 1.
|
|
87
|
+
* @version 1.116.0
|
|
85
88
|
*
|
|
86
89
|
* @constructor
|
|
87
90
|
* @public
|
|
@@ -189,8 +192,18 @@ sap.ui.define([
|
|
|
189
192
|
*
|
|
190
193
|
* @since 1.99.0
|
|
191
194
|
*/
|
|
192
|
-
ariaHasPopup : {type : "sap.ui.core.aria.HasPopup", group : "Accessibility", defaultValue : AriaHasPopup.None}
|
|
195
|
+
ariaHasPopup : {type : "sap.ui.core.aria.HasPopup", group : "Accessibility", defaultValue : AriaHasPopup.None},
|
|
193
196
|
|
|
197
|
+
/**
|
|
198
|
+
* Visualizes the validation state of the badge, e.g. <code>Error</code>, <code>Warning</code>,
|
|
199
|
+
* <code>Success</code>, <code>Information</code>.
|
|
200
|
+
* @since 1.116.0
|
|
201
|
+
*/
|
|
202
|
+
badgeValueState: {
|
|
203
|
+
type: "sap.ui.core.ValueState",
|
|
204
|
+
group: "Appearance",
|
|
205
|
+
defaultValue: ValueState.None
|
|
206
|
+
}
|
|
194
207
|
},
|
|
195
208
|
aggregations : {
|
|
196
209
|
/**
|
|
@@ -338,6 +351,16 @@ sap.ui.define([
|
|
|
338
351
|
return this.setAggregation("detailBox", oLightBox);
|
|
339
352
|
};
|
|
340
353
|
|
|
354
|
+
Avatar.prototype.setBadgeValueState = function(sValue) {
|
|
355
|
+
|
|
356
|
+
Object.keys(ValueState).forEach(function(val){
|
|
357
|
+
this.toggleStyleClass('sapFAvatar' + val, val === sValue);
|
|
358
|
+
}.bind(this));
|
|
359
|
+
|
|
360
|
+
this.setProperty("badgeValueState", sValue, true);
|
|
361
|
+
return this;
|
|
362
|
+
};
|
|
363
|
+
|
|
341
364
|
/*
|
|
342
365
|
* @override
|
|
343
366
|
*/
|
package/src/sap/m/Bar.js
CHANGED
package/src/sap/m/Breadcrumbs.js
CHANGED
package/src/sap/m/BusyDialog.js
CHANGED
|
@@ -62,7 +62,7 @@ sap.ui.define(['./library',
|
|
|
62
62
|
* @extends sap.ui.core.Control
|
|
63
63
|
*
|
|
64
64
|
* @author SAP SE
|
|
65
|
-
* @version 1.
|
|
65
|
+
* @version 1.116.0
|
|
66
66
|
*
|
|
67
67
|
* @public
|
|
68
68
|
* @alias sap.m.BusyDialog
|
|
@@ -277,8 +277,6 @@ sap.ui.define(['./library',
|
|
|
277
277
|
}
|
|
278
278
|
} else if (!this._oDialog.getShowHeader()) {
|
|
279
279
|
this._oDialog.addAriaLabelledBy(InvisibleText.getStaticId("sap.m", "BUSYDIALOG_TITLE"));
|
|
280
|
-
} else {
|
|
281
|
-
this._oDialog.removeAriaLabelledBy(InvisibleText.getStaticId("sap.m", "BUSYDIALOG_TITLE"));
|
|
282
280
|
}
|
|
283
281
|
|
|
284
282
|
//if the code is not ready yet (new sap.m.BusyDialog().open()) wait 50ms and then try ot open it.
|
|
@@ -323,6 +321,10 @@ sap.ui.define(['./library',
|
|
|
323
321
|
BusyDialog.prototype._fnCloseHandler = function () {
|
|
324
322
|
//fire the close event with 'cancelPressed' = true/false depending on how the busyDialog is closed
|
|
325
323
|
this.fireClose({cancelPressed: this._isClosedFromUserInteraction || false});
|
|
324
|
+
|
|
325
|
+
if (this._oDialog) {
|
|
326
|
+
this._oDialog.removeAllAriaLabelledBy();
|
|
327
|
+
}
|
|
326
328
|
};
|
|
327
329
|
|
|
328
330
|
/**
|
package/src/sap/m/Button.js
CHANGED
package/src/sap/m/Carousel.js
CHANGED
|
@@ -15,7 +15,7 @@ sap.ui.define(["sap/ui/base/ManagedObject"], function (ManagedObject) {
|
|
|
15
15
|
* Applies a <code>sap.m.CarouselLayout</code> to a provided DOM element or Control.
|
|
16
16
|
*
|
|
17
17
|
* @author SAP SE
|
|
18
|
-
* @version 1.
|
|
18
|
+
* @version 1.116.0
|
|
19
19
|
*
|
|
20
20
|
* @extends sap.ui.base.ManagedObject
|
|
21
21
|
*
|
|
@@ -378,6 +378,7 @@ sap.ui.define([
|
|
|
378
378
|
CarouselRenderer._renderDummyArea = function(oRM, oControl, sAreaId) {
|
|
379
379
|
oRM.openStart("div", oControl.getId() + "-" + sAreaId)
|
|
380
380
|
.class("sapMCrslDummyArea")
|
|
381
|
+
.attr("role", "none")
|
|
381
382
|
.attr("tabindex", 0)
|
|
382
383
|
.openEnd()
|
|
383
384
|
.close("div");
|
package/src/sap/m/CheckBox.js
CHANGED
|
@@ -104,7 +104,7 @@ sap.ui.define([
|
|
|
104
104
|
* To prevent this, apps using the <code>ColorPalette</code> should also load the <code>sap.ui.unified</code> library in advance.
|
|
105
105
|
*
|
|
106
106
|
* @extends sap.ui.core.Control
|
|
107
|
-
* @version 1.
|
|
107
|
+
* @version 1.116.0
|
|
108
108
|
*
|
|
109
109
|
* @constructor
|
|
110
110
|
* @public
|
package/src/sap/m/Column.js
CHANGED
|
@@ -11,10 +11,9 @@ sap.ui.define([
|
|
|
11
11
|
'sap/ui/core/Renderer',
|
|
12
12
|
'sap/ui/core/library',
|
|
13
13
|
'sap/ui/Device',
|
|
14
|
-
"sap/ui/thirdparty/jquery",
|
|
15
14
|
"sap/ui/core/InvisibleText"
|
|
16
15
|
],
|
|
17
|
-
function(library, Element, Renderer, coreLibrary, Device,
|
|
16
|
+
function(library, Element, Renderer, coreLibrary, Device, InvisibleText) {
|
|
18
17
|
"use strict";
|
|
19
18
|
|
|
20
19
|
|
|
@@ -47,7 +46,7 @@ sap.ui.define([
|
|
|
47
46
|
* @extends sap.ui.core.Element
|
|
48
47
|
*
|
|
49
48
|
* @author SAP SE
|
|
50
|
-
* @version 1.
|
|
49
|
+
* @version 1.116.0
|
|
51
50
|
*
|
|
52
51
|
* @constructor
|
|
53
52
|
* @public
|
|
@@ -212,9 +211,6 @@ sap.ui.define([
|
|
|
212
211
|
// default index
|
|
213
212
|
Column.prototype._index = -1;
|
|
214
213
|
|
|
215
|
-
// predefined screen size
|
|
216
|
-
Column.prototype._screen = "";
|
|
217
|
-
|
|
218
214
|
// default media value
|
|
219
215
|
Column.prototype._media = null;
|
|
220
216
|
|
|
@@ -272,7 +268,6 @@ sap.ui.define([
|
|
|
272
268
|
|
|
273
269
|
Column.prototype.oncontextmenu = function (oEvent) {
|
|
274
270
|
var oMenu = this._getHeaderMenuInstance();
|
|
275
|
-
|
|
276
271
|
if (oMenu) {
|
|
277
272
|
oMenu.openBy(this);
|
|
278
273
|
oEvent.preventDefault();
|
|
@@ -281,11 +276,9 @@ sap.ui.define([
|
|
|
281
276
|
|
|
282
277
|
Column.prototype.invalidate = function() {
|
|
283
278
|
var oParent = this.getParent();
|
|
284
|
-
if (
|
|
285
|
-
|
|
279
|
+
if (oParent && oParent.bOutput) {
|
|
280
|
+
Element.prototype.invalidate.apply(this, arguments);
|
|
286
281
|
}
|
|
287
|
-
|
|
288
|
-
Element.prototype.invalidate.apply(this, arguments);
|
|
289
282
|
};
|
|
290
283
|
|
|
291
284
|
Column.prototype._clearMedia = function() {
|
|
@@ -309,8 +302,7 @@ sap.ui.define([
|
|
|
309
302
|
};
|
|
310
303
|
|
|
311
304
|
/**
|
|
312
|
-
* Notify
|
|
313
|
-
* Also fire media event for listeners
|
|
305
|
+
* Notify table to re-render
|
|
314
306
|
*
|
|
315
307
|
* @private
|
|
316
308
|
*/
|
|
@@ -324,15 +316,9 @@ sap.ui.define([
|
|
|
324
316
|
this._media = oMedia;
|
|
325
317
|
this._media.matches = !!oMedia.from;
|
|
326
318
|
|
|
327
|
-
|
|
328
|
-
setTimeout(function() {
|
|
329
|
-
// make sure that the column is visible
|
|
330
|
-
if (!this.getVisible()) {
|
|
331
|
-
return;
|
|
332
|
-
}
|
|
333
|
-
this.fireEvent("media", this);
|
|
319
|
+
if (this.getVisible()) {
|
|
334
320
|
this.informTable("Resize");
|
|
335
|
-
}
|
|
321
|
+
}
|
|
336
322
|
};
|
|
337
323
|
|
|
338
324
|
Column.prototype._validateMinWidth = function(sWidth) {
|
|
@@ -350,35 +336,6 @@ sap.ui.define([
|
|
|
350
336
|
}
|
|
351
337
|
};
|
|
352
338
|
|
|
353
|
-
|
|
354
|
-
// Checks the given width(px or em), if it is a predefined screen value
|
|
355
|
-
Column.prototype._isWidthPredefined = function(sWidth) {
|
|
356
|
-
var that = this,
|
|
357
|
-
unit = sWidth.replace(/[^a-z]/ig, ""),
|
|
358
|
-
baseFontSize = parseFloat(library.BaseFontSize) || 16;
|
|
359
|
-
|
|
360
|
-
jQuery.each(library.ScreenSizes, function(screen, size) {
|
|
361
|
-
if (unit != "px") {
|
|
362
|
-
size /= baseFontSize;
|
|
363
|
-
}
|
|
364
|
-
if (size + unit == sWidth) {
|
|
365
|
-
that._minWidth = this + "px";
|
|
366
|
-
that._screen = screen;
|
|
367
|
-
return false;
|
|
368
|
-
}
|
|
369
|
-
});
|
|
370
|
-
|
|
371
|
-
if (this._minWidth) {
|
|
372
|
-
return true;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
if (unit == "px") {
|
|
376
|
-
this._minWidth = sWidth;
|
|
377
|
-
} else {
|
|
378
|
-
this._minWidth = parseFloat(sWidth) * baseFontSize + "px";
|
|
379
|
-
}
|
|
380
|
-
};
|
|
381
|
-
|
|
382
339
|
/**
|
|
383
340
|
* Returns CSS alignment according to column hAlign setting or given parameter
|
|
384
341
|
* for Begin/End values checks the locale settings
|
|
@@ -397,21 +354,6 @@ sap.ui.define([
|
|
|
397
354
|
return sAlign.toLowerCase();
|
|
398
355
|
};
|
|
399
356
|
|
|
400
|
-
|
|
401
|
-
// Returns styleClass property with extra responsive class if second parameter is set true
|
|
402
|
-
Column.prototype.getStyleClass = function(bResponsive) {
|
|
403
|
-
var cls = this.getProperty("styleClass");
|
|
404
|
-
if (!bResponsive) {
|
|
405
|
-
return cls;
|
|
406
|
-
}
|
|
407
|
-
if (this._screen && (!this.getDemandPopin() || !window.matchMedia)) {
|
|
408
|
-
cls += " sapMSize-" + this._screen;
|
|
409
|
-
} else if (this._media && !this._media.matches) {
|
|
410
|
-
cls += " sapMListTblNone";
|
|
411
|
-
}
|
|
412
|
-
return cls.trim();
|
|
413
|
-
};
|
|
414
|
-
|
|
415
357
|
/**
|
|
416
358
|
* Sets the visible column index
|
|
417
359
|
* Negative index values can be used to clear
|
|
@@ -483,83 +425,27 @@ sap.ui.define([
|
|
|
483
425
|
return oTable.indexOfColumn(this);
|
|
484
426
|
};
|
|
485
427
|
|
|
486
|
-
/**
|
|
487
|
-
* Display or hide the column from given table
|
|
488
|
-
* This does not set the visibility property of the column
|
|
489
|
-
*
|
|
490
|
-
* @param {Element} oTableDomRef Table DOM reference
|
|
491
|
-
* @param {boolean} [bDisplay] whether visible or not
|
|
492
|
-
* @protected
|
|
493
|
-
*/
|
|
494
|
-
Column.prototype.setDisplay = function(oTableDomRef, bDisplay) {
|
|
495
|
-
if (!oTableDomRef || this._index < 0) {
|
|
496
|
-
return;
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
// go with native we need speed
|
|
500
|
-
var i = this._index + 1,
|
|
501
|
-
parent = this.getParent(),
|
|
502
|
-
display = bDisplay && !this.isHidden() ? "table-cell" : "none",
|
|
503
|
-
header = oTableDomRef.querySelector("tr > th:nth-child(" + i + ")"),
|
|
504
|
-
cells = oTableDomRef.querySelectorAll("tr > td:nth-child(" + i + ")"),
|
|
505
|
-
length = cells.length;
|
|
506
|
-
|
|
507
|
-
// set display and aria
|
|
508
|
-
header.style.display = display;
|
|
509
|
-
header.setAttribute("aria-hidden", !bDisplay);
|
|
510
|
-
for (i = 0; i < length; i++) {
|
|
511
|
-
cells[i].style.display = display;
|
|
512
|
-
cells[i].setAttribute("aria-hidden", !bDisplay);
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
// let the parent know the visibility change
|
|
516
|
-
if (parent && parent.setTableHeaderVisibility) {
|
|
517
|
-
// make it sure rendering phase is done with timeout
|
|
518
|
-
setTimeout(function() {
|
|
519
|
-
parent.setTableHeaderVisibility(bDisplay);
|
|
520
|
-
}, 0);
|
|
521
|
-
}
|
|
522
|
-
};
|
|
523
|
-
|
|
524
|
-
Column.prototype.setVisible = function(bVisible) {
|
|
525
|
-
if (bVisible == this.getVisible()) {
|
|
526
|
-
return this;
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
var oParent = this.getParent(),
|
|
530
|
-
oTableDomRef = oParent && oParent.getTableDomRef && oParent.getTableDomRef(),
|
|
531
|
-
bSupressInvalidate = oTableDomRef && this._index >= 0 && !oParent.getAutoPopinMode() && !this._bForcedColumn;
|
|
532
|
-
|
|
533
|
-
if (bSupressInvalidate) {
|
|
534
|
-
this.setProperty("visible", bVisible, bSupressInvalidate);
|
|
535
|
-
this.setDisplay(oTableDomRef, bVisible);
|
|
536
|
-
} else {
|
|
537
|
-
this.setProperty("visible", bVisible);
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
return this;
|
|
541
|
-
};
|
|
542
|
-
|
|
543
428
|
// sets the internals for the minScreenWidth property
|
|
544
429
|
Column.prototype._setMinScreenWidth = function(sWidth) {
|
|
545
430
|
// initialize
|
|
546
431
|
this._clearMedia();
|
|
547
432
|
this._minWidth = 0;
|
|
548
|
-
this._screen = "";
|
|
549
433
|
|
|
550
434
|
if (sWidth) {
|
|
551
435
|
// check given width is known screen-size
|
|
552
436
|
sWidth = sWidth.toLowerCase();
|
|
553
|
-
var
|
|
554
|
-
if (
|
|
555
|
-
this.
|
|
556
|
-
|
|
437
|
+
var sPredefinedWidth = library.ScreenSizes[sWidth];
|
|
438
|
+
if (sPredefinedWidth) {
|
|
439
|
+
this._minWidth = sPredefinedWidth + "px";
|
|
440
|
+
} else if (sWidth.endsWith("px")) {
|
|
441
|
+
this._minWidth = sWidth;
|
|
557
442
|
} else {
|
|
558
|
-
|
|
443
|
+
var fBaseFontSize = parseFloat(library.BaseFontSize);
|
|
444
|
+
this._minWidth = parseFloat(sWidth) * fBaseFontSize + "px";
|
|
559
445
|
}
|
|
560
446
|
|
|
561
|
-
var
|
|
562
|
-
if (
|
|
447
|
+
var oTable = this.getTable();
|
|
448
|
+
if (oTable && oTable.isActive()) {
|
|
563
449
|
this._addMedia();
|
|
564
450
|
} else {
|
|
565
451
|
this._bShouldAddMedia = true;
|
|
@@ -588,25 +474,6 @@ sap.ui.define([
|
|
|
588
474
|
return this.setProperty("minScreenWidth", sWidth);
|
|
589
475
|
};
|
|
590
476
|
|
|
591
|
-
/*
|
|
592
|
-
* Decides if we need media query or not according to given settings
|
|
593
|
-
* if pop-in is demanded then we always need JS media queries
|
|
594
|
-
* if not demanded but if screen size is known CSS media query can handle
|
|
595
|
-
*/
|
|
596
|
-
Column.prototype.setDemandPopin = function(bValue) {
|
|
597
|
-
// check if setting the old value
|
|
598
|
-
if (bValue == this.getDemandPopin()) {
|
|
599
|
-
return this;
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
// minimum width should have been set
|
|
603
|
-
if (!this.getMinScreenWidth()) {
|
|
604
|
-
return this.setProperty("demandPopin", bValue, true);
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
return this.setProperty("demandPopin", bValue);
|
|
608
|
-
};
|
|
609
|
-
|
|
610
477
|
Column.prototype.setSortIndicator = function(sSortIndicator) {
|
|
611
478
|
this.setProperty("sortIndicator", sSortIndicator, true);
|
|
612
479
|
this.$().attr("aria-sort", this.getSortIndicator().toLowerCase());
|
|
@@ -614,7 +481,7 @@ sap.ui.define([
|
|
|
614
481
|
};
|
|
615
482
|
|
|
616
483
|
/**
|
|
617
|
-
* Determines whether the column
|
|
484
|
+
* Determines whether the column is shown as pop-in or not
|
|
618
485
|
*
|
|
619
486
|
* @protected
|
|
620
487
|
*/
|
|
@@ -626,35 +493,22 @@ sap.ui.define([
|
|
|
626
493
|
var oTable = this.getTable();
|
|
627
494
|
if (oTable) {
|
|
628
495
|
var aHiddenInPopin = oTable.getHiddenInPopin() || [];
|
|
629
|
-
var bHideColumn = aHiddenInPopin.
|
|
630
|
-
return this.getImportance() === sImportance;
|
|
631
|
-
}, this);
|
|
632
|
-
|
|
496
|
+
var bHideColumn = aHiddenInPopin.includes(this.getImportance());
|
|
633
497
|
if (bHideColumn) {
|
|
634
498
|
return false;
|
|
635
499
|
}
|
|
636
500
|
}
|
|
637
501
|
|
|
638
|
-
|
|
639
|
-
return !this._media.matches;
|
|
640
|
-
}
|
|
641
|
-
return false;
|
|
502
|
+
return this.isHidden();
|
|
642
503
|
};
|
|
643
504
|
|
|
644
505
|
/**
|
|
645
|
-
* Determines whether the column
|
|
506
|
+
* Determines whether the column is hidden without being in the popin area
|
|
646
507
|
*
|
|
647
508
|
* @protected
|
|
648
509
|
*/
|
|
649
510
|
Column.prototype.isHidden = function() {
|
|
650
|
-
|
|
651
|
-
return !this._media.matches;
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
if (this._screen && this._minWidth) {
|
|
655
|
-
return parseFloat(this._minWidth) > window.innerWidth;
|
|
656
|
-
}
|
|
657
|
-
return false;
|
|
511
|
+
return (this._media) ? !this._media.matches : false;
|
|
658
512
|
};
|
|
659
513
|
|
|
660
514
|
/**
|
|
@@ -666,9 +520,7 @@ sap.ui.define([
|
|
|
666
520
|
* @protected
|
|
667
521
|
*/
|
|
668
522
|
Column.prototype.setLastValue = function(value) {
|
|
669
|
-
|
|
670
|
-
this._lastValue = value;
|
|
671
|
-
}
|
|
523
|
+
this._lastValue = value;
|
|
672
524
|
return this;
|
|
673
525
|
};
|
|
674
526
|
|
|
@@ -703,6 +555,13 @@ sap.ui.define([
|
|
|
703
555
|
this.clearLastValue();
|
|
704
556
|
};
|
|
705
557
|
|
|
558
|
+
Column.prototype.onTableRendering = function() {
|
|
559
|
+
this.clearLastValue();
|
|
560
|
+
if (this._bShouldAddMedia) {
|
|
561
|
+
this._addMedia();
|
|
562
|
+
}
|
|
563
|
+
};
|
|
564
|
+
|
|
706
565
|
// when the popover opens and later closed, the focus is lost
|
|
707
566
|
// hence overwriting the getFocusDomRef to restore the focus on the active column header
|
|
708
567
|
Column.prototype.getFocusDomRef = function() {
|