@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/MultiInput.js
CHANGED
|
@@ -107,7 +107,7 @@ function(
|
|
|
107
107
|
* @implements sap.ui.core.ISemanticFormContent
|
|
108
108
|
*
|
|
109
109
|
* @author SAP SE
|
|
110
|
-
* @version 1.
|
|
110
|
+
* @version 1.117.0
|
|
111
111
|
*
|
|
112
112
|
* @constructor
|
|
113
113
|
* @public
|
|
@@ -1382,6 +1382,17 @@ function(
|
|
|
1382
1382
|
TokensChanged: "tokensChanged"
|
|
1383
1383
|
};
|
|
1384
1384
|
|
|
1385
|
+
/**
|
|
1386
|
+
*
|
|
1387
|
+
* @return {string} Indicates should token validator wait for asynchronous validation
|
|
1388
|
+
* @public
|
|
1389
|
+
* @function
|
|
1390
|
+
*/
|
|
1391
|
+
MultiInput.prototype.getWaitForAsyncValidation = function() {
|
|
1392
|
+
return MultiInput.WaitForAsyncValidation;
|
|
1393
|
+
};
|
|
1394
|
+
|
|
1395
|
+
|
|
1385
1396
|
MultiInput.WaitForAsyncValidation = "sap.m.MultiInput.WaitForAsyncValidation";
|
|
1386
1397
|
|
|
1387
1398
|
/**
|
|
@@ -1862,7 +1873,7 @@ function(
|
|
|
1862
1873
|
return null;
|
|
1863
1874
|
}
|
|
1864
1875
|
|
|
1865
|
-
if (oToken ===
|
|
1876
|
+
if (oToken === this.getWaitForAsyncValidation()) {
|
|
1866
1877
|
return null;
|
|
1867
1878
|
}
|
|
1868
1879
|
}
|
|
@@ -9,6 +9,7 @@ sap.ui.define([
|
|
|
9
9
|
'./library',
|
|
10
10
|
"sap/ui/core/Configuration",
|
|
11
11
|
'sap/ui/core/Control',
|
|
12
|
+
"sap/ui/core/Core",
|
|
12
13
|
'sap/ui/core/RenderManager',
|
|
13
14
|
'./NavContainerRenderer',
|
|
14
15
|
"sap/ui/thirdparty/jquery",
|
|
@@ -18,6 +19,7 @@ sap.ui.define([
|
|
|
18
19
|
library,
|
|
19
20
|
Configuration,
|
|
20
21
|
Control,
|
|
22
|
+
Core,
|
|
21
23
|
RenderManager,
|
|
22
24
|
NavContainerRenderer,
|
|
23
25
|
jQuery,
|
|
@@ -43,7 +45,7 @@ sap.ui.define([
|
|
|
43
45
|
* @extends sap.ui.core.Control
|
|
44
46
|
*
|
|
45
47
|
* @author SAP SE
|
|
46
|
-
* @version 1.
|
|
48
|
+
* @version 1.117.0
|
|
47
49
|
*
|
|
48
50
|
* @constructor
|
|
49
51
|
* @public
|
|
@@ -1823,7 +1825,8 @@ sap.ui.define([
|
|
|
1823
1825
|
};
|
|
1824
1826
|
|
|
1825
1827
|
NavContainer.prototype.addPage = function (oPage) {
|
|
1826
|
-
var aPages = this.getPages()
|
|
1828
|
+
var aPages = this.getPages(),
|
|
1829
|
+
rerender = this.invalidate.bind(this);
|
|
1827
1830
|
// Routing often adds an already existing page. ManagedObject would remove and re-add it because the order is affected,
|
|
1828
1831
|
// but here the order does not matter, so just ignore the call in this case.
|
|
1829
1832
|
if (aPages.indexOf(oPage) > -1) {
|
|
@@ -1841,7 +1844,13 @@ sap.ui.define([
|
|
|
1841
1844
|
this._fireAdaptableContentChange(oPage);
|
|
1842
1845
|
if (this.getDomRef()) {
|
|
1843
1846
|
this._ensurePageStackInitialized();
|
|
1844
|
-
|
|
1847
|
+
|
|
1848
|
+
/**
|
|
1849
|
+
* @deprecated since 1.70
|
|
1850
|
+
*/
|
|
1851
|
+
rerender = this.rerender.bind(this);
|
|
1852
|
+
|
|
1853
|
+
rerender();
|
|
1845
1854
|
}
|
|
1846
1855
|
}
|
|
1847
1856
|
|
|
@@ -1849,7 +1858,8 @@ sap.ui.define([
|
|
|
1849
1858
|
};
|
|
1850
1859
|
|
|
1851
1860
|
NavContainer.prototype.insertPage = function (oPage, iIndex) {
|
|
1852
|
-
var iPreviousPageCount = this.getPages().length
|
|
1861
|
+
var iPreviousPageCount = this.getPages().length,
|
|
1862
|
+
rerender = this.invalidate.bind(this);
|
|
1853
1863
|
|
|
1854
1864
|
this.insertAggregation("pages", oPage, iIndex, true);
|
|
1855
1865
|
|
|
@@ -1861,7 +1871,13 @@ sap.ui.define([
|
|
|
1861
1871
|
this._fireAdaptableContentChange(oPage);
|
|
1862
1872
|
if (this.getDomRef()) {
|
|
1863
1873
|
this._ensurePageStackInitialized();
|
|
1864
|
-
|
|
1874
|
+
|
|
1875
|
+
/**
|
|
1876
|
+
* @deprecated since 1.70
|
|
1877
|
+
*/
|
|
1878
|
+
rerender = this.rerender.bind(this);
|
|
1879
|
+
|
|
1880
|
+
rerender();
|
|
1865
1881
|
}
|
|
1866
1882
|
}
|
|
1867
1883
|
|
package/src/sap/m/NewsContent.js
CHANGED
|
@@ -43,7 +43,7 @@ function(library, Control, coreLibrary, Text, Element, KeyCodes, ObjectAttribute
|
|
|
43
43
|
* <code>text</code> property is styled and acts as a link. In this case the <code>text</code>
|
|
44
44
|
* property must also be set, as otherwise there will be no link displayed for the user.
|
|
45
45
|
* @extends sap.ui.core.Control
|
|
46
|
-
* @version 1.
|
|
46
|
+
* @version 1.117.0
|
|
47
47
|
*
|
|
48
48
|
* @constructor
|
|
49
49
|
* @public
|
|
@@ -82,7 +82,7 @@ sap.ui.define([
|
|
|
82
82
|
* <code>sapUiResponsivePadding--header</code>.
|
|
83
83
|
*
|
|
84
84
|
* @extends sap.ui.core.Control
|
|
85
|
-
* @version 1.
|
|
85
|
+
* @version 1.117.0
|
|
86
86
|
*
|
|
87
87
|
* @constructor
|
|
88
88
|
* @public
|
|
@@ -674,6 +674,8 @@ sap.ui.define([
|
|
|
674
674
|
* @public
|
|
675
675
|
* @param {boolean} bMarked visibility of the marker
|
|
676
676
|
* @returns {this} this pointer for chaining
|
|
677
|
+
* @deprecated as of version 1.42.0, replaced by <code>markers</code> aggregation.
|
|
678
|
+
* Add {@link sap.m.ObjectMarker} with type <code>sap.m.ObjectMarkerType.Favorite</code>.
|
|
677
679
|
*/
|
|
678
680
|
ObjectHeader.prototype.setMarkFavorite = function (bMarked) {
|
|
679
681
|
return this._setOldMarkers(ObjectMarkerType.Favorite, bMarked);
|
|
@@ -685,6 +687,8 @@ sap.ui.define([
|
|
|
685
687
|
* @public
|
|
686
688
|
* @param {boolean} bMarked visibility of the marker
|
|
687
689
|
* @returns {this} this pointer for chaining
|
|
690
|
+
* @deprecated as of version 1.42.0, replaced by <code>markers</code> aggregation.
|
|
691
|
+
* Add {@link sap.m.ObjectMarker} with type <code>sap.m.ObjectMarkerType.Flagged</code>.
|
|
688
692
|
*/
|
|
689
693
|
ObjectHeader.prototype.setMarkFlagged = function (bMarked) {
|
|
690
694
|
return this._setOldMarkers(ObjectMarkerType.Flagged, bMarked);
|
|
@@ -696,6 +700,7 @@ sap.ui.define([
|
|
|
696
700
|
* @public
|
|
697
701
|
* @param {boolean} bMarked visibility of all markers
|
|
698
702
|
* @returns {this} this pointer for chaining
|
|
703
|
+
* @deprecated as of version 1.42.0, replaced by <code>markers</code> aggregationv.
|
|
699
704
|
*/
|
|
700
705
|
ObjectHeader.prototype.setShowMarkers = function (bMarked) {
|
|
701
706
|
var sMarkerType,
|
|
@@ -60,7 +60,7 @@ function(
|
|
|
60
60
|
*
|
|
61
61
|
* <b>Note:</b> The control must only be used in the context of a list.
|
|
62
62
|
* @extends sap.m.ListItemBase
|
|
63
|
-
* @version 1.
|
|
63
|
+
* @version 1.117.0
|
|
64
64
|
*
|
|
65
65
|
* @constructor
|
|
66
66
|
* @public
|
|
@@ -503,6 +503,8 @@ function(
|
|
|
503
503
|
* @public
|
|
504
504
|
* @param {boolean} bMarked the new value
|
|
505
505
|
* @returns {this} this pointer for chaining
|
|
506
|
+
* @deprecated as of version 1.42.0, replaced by <code>markers</code> aggregation.
|
|
507
|
+
* Add {@link sap.m.ObjectMarker} with type <code>sap.m.ObjectMarkerType.Favorite</code>.
|
|
506
508
|
*/
|
|
507
509
|
ObjectListItem.prototype.setMarkFavorite = function (bMarked) {
|
|
508
510
|
return this._setOldMarkers(ObjectMarkerType.Favorite, bMarked);
|
|
@@ -514,17 +516,21 @@ function(
|
|
|
514
516
|
* @public
|
|
515
517
|
* @param {boolean} bMarked the new value
|
|
516
518
|
* @returns {this} this pointer for chaining
|
|
519
|
+
* @deprecated as of version 1.42.0, replaced by <code>markers</code> aggregation.
|
|
520
|
+
* Add {@link sap.m.ObjectMarker} with type <code>sap.m.ObjectMarkerType.Flagged</code>.
|
|
517
521
|
*/
|
|
518
522
|
ObjectListItem.prototype.setMarkFlagged = function (bMarked) {
|
|
519
523
|
return this._setOldMarkers(ObjectMarkerType.Flagged, bMarked);
|
|
520
524
|
};
|
|
521
525
|
|
|
522
526
|
/**
|
|
523
|
-
* Sets the visibility value of the
|
|
527
|
+
* Sets the visibility value of the Locked marker.
|
|
524
528
|
* @override
|
|
525
529
|
* @public
|
|
526
530
|
* @param {boolean} bMarked the new value
|
|
527
531
|
* @returns {this} this pointer for chaining
|
|
532
|
+
* @deprecated as of version 1.42.0, replaced by <code>markers</code> aggregation.
|
|
533
|
+
* Add {@link sap.m.ObjectMarker} with type <code>sap.m.ObjectMarkerType.Locked</code>.
|
|
528
534
|
*/
|
|
529
535
|
ObjectListItem.prototype.setMarkLocked = function (bMarked) {
|
|
530
536
|
return this._setOldMarkers(ObjectMarkerType.Locked, bMarked);
|
|
@@ -536,6 +542,7 @@ function(
|
|
|
536
542
|
* @public
|
|
537
543
|
* @param {boolean} bMarked the new value
|
|
538
544
|
* @returns {this} this pointer for chaining
|
|
545
|
+
* @deprecated as of version 1.42.0, replaced by <code>markers</code> aggregation.
|
|
539
546
|
*/
|
|
540
547
|
ObjectListItem.prototype.setShowMarkers = function (bMarked) {
|
|
541
548
|
var sMarkerType;
|
|
@@ -13,9 +13,11 @@ sap.ui.define([
|
|
|
13
13
|
'sap/ui/core/library',
|
|
14
14
|
'sap/ui/base/DataType',
|
|
15
15
|
'./ObjectStatusRenderer',
|
|
16
|
-
'sap/m/ImageHelper'
|
|
16
|
+
'sap/m/ImageHelper',
|
|
17
|
+
'sap/ui/core/LabelEnablement',
|
|
18
|
+
'sap/ui/core/InvisibleText'
|
|
17
19
|
],
|
|
18
|
-
function(library, Control, ValueStateSupport, IndicationColorSupport, coreLibrary, DataType, ObjectStatusRenderer, ImageHelper) {
|
|
20
|
+
function(library, Control, ValueStateSupport, IndicationColorSupport, coreLibrary, DataType, ObjectStatusRenderer, ImageHelper, LabelEnablement, InvisibleText) {
|
|
19
21
|
"use strict";
|
|
20
22
|
|
|
21
23
|
|
|
@@ -44,7 +46,7 @@ sap.ui.define([
|
|
|
44
46
|
*
|
|
45
47
|
* @extends sap.ui.core.Control
|
|
46
48
|
* @implements sap.ui.core.IFormContent
|
|
47
|
-
* @version 1.
|
|
49
|
+
* @version 1.117.0
|
|
48
50
|
*
|
|
49
51
|
* @constructor
|
|
50
52
|
* @public
|
|
@@ -130,7 +132,12 @@ sap.ui.define([
|
|
|
130
132
|
*
|
|
131
133
|
* <b>Note:</b> The additional description will take effect only if <code>active</code> property is set to <code>true</code>.
|
|
132
134
|
*/
|
|
133
|
-
ariaDescribedBy : {type : "sap.ui.core.Control", multiple : true, singularName : "ariaDescribedBy"}
|
|
135
|
+
ariaDescribedBy : {type : "sap.ui.core.Control", multiple : true, singularName : "ariaDescribedBy"},
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledby).
|
|
139
|
+
*/
|
|
140
|
+
ariaLabelledBy: {type: "sap.ui.core.Control", multiple: true, singularName: "ariaLabelledBy"}
|
|
134
141
|
},
|
|
135
142
|
events : {
|
|
136
143
|
|
|
@@ -173,6 +180,10 @@ sap.ui.define([
|
|
|
173
180
|
this._oImageControl.destroy();
|
|
174
181
|
this._oImageControl = null;
|
|
175
182
|
}
|
|
183
|
+
if (this._oInvisibleStateText) {
|
|
184
|
+
this._oInvisibleStateText.destroy();
|
|
185
|
+
this._oInvisibleStateText = null;
|
|
186
|
+
}
|
|
176
187
|
};
|
|
177
188
|
|
|
178
189
|
/**
|
|
@@ -310,6 +321,43 @@ sap.ui.define([
|
|
|
310
321
|
return { description: sDescription };
|
|
311
322
|
};
|
|
312
323
|
|
|
324
|
+
/**
|
|
325
|
+
* Checks whether or not the control is labelled either via labels or its <code>ariaLabelledBy</code> association.
|
|
326
|
+
* @returns {boolean}
|
|
327
|
+
* @private
|
|
328
|
+
*/
|
|
329
|
+
ObjectStatus.prototype._hasExternalLabelling = function() {
|
|
330
|
+
return this.getAriaLabelledBy().length > 0 || LabelEnablement.getReferencingLabels(this).length > 0;
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* Generates a string containing all internal elements' IDs, which provide information to the screen reader user.
|
|
335
|
+
* @returns {string}
|
|
336
|
+
* @private
|
|
337
|
+
*/
|
|
338
|
+
ObjectStatus.prototype._generateSelfLabellingIds = function() {
|
|
339
|
+
var sId = this.getId(),
|
|
340
|
+
sResult = "";
|
|
341
|
+
|
|
342
|
+
if (this.getTitle()) {
|
|
343
|
+
sResult += sId + "-title ";
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
if (this.getText()) {
|
|
347
|
+
sResult += sId + "-text ";
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
if (this.getIcon()) {
|
|
351
|
+
sResult += sId + "-statusIcon ";
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
if (this.getState() !== ValueState.None) {
|
|
355
|
+
sResult += sId + "-state ";
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
return sResult.trim();
|
|
359
|
+
};
|
|
360
|
+
|
|
313
361
|
ObjectStatus.prototype._isClickable = function(oEvent) {
|
|
314
362
|
var sSourceId = oEvent.target.id;
|
|
315
363
|
|
|
@@ -317,6 +365,17 @@ sap.ui.define([
|
|
|
317
365
|
return this._isActive() && (sSourceId === this.getId() + "-link" || sSourceId === this.getId() + "-text" || sSourceId === this.getId() + "-statusIcon" || sSourceId === this.getId() + "-icon");
|
|
318
366
|
};
|
|
319
367
|
|
|
368
|
+
ObjectStatus.prototype._fnInvisibleStateLabelFactory = function() {
|
|
369
|
+
if (!this._oInvisibleStateText) {
|
|
370
|
+
this._oInvisibleStateText = new InvisibleText({
|
|
371
|
+
id: this.getId() + "-state-text",
|
|
372
|
+
text: this._getStateText(this.getState())
|
|
373
|
+
}).toStatic();
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
return this._oInvisibleStateText;
|
|
377
|
+
};
|
|
378
|
+
|
|
320
379
|
return ObjectStatus;
|
|
321
380
|
|
|
322
381
|
});
|
|
@@ -35,6 +35,8 @@ sap.ui.define(['sap/ui/core/library', './library', 'sap/ui/core/Core'],
|
|
|
35
35
|
* @param {sap.m.ObjectStatus} oObjStatus An object representation of the control that should be rendered
|
|
36
36
|
*/
|
|
37
37
|
ObjectStatusRenderer.render = function(oRm, oObjStatus){
|
|
38
|
+
var sStatusTextId;
|
|
39
|
+
|
|
38
40
|
oRm.openStart("div", oObjStatus);
|
|
39
41
|
|
|
40
42
|
if (oObjStatus._isEmpty() && oObjStatus.getEmptyIndicatorMode() === EmptyIndicatorMode.Off) {
|
|
@@ -78,6 +80,25 @@ sap.ui.define(['sap/ui/core/library', './library', 'sap/ui/core/Core'],
|
|
|
78
80
|
oAccAttributes["describedby"] = { value: sTooltipId, append: true };
|
|
79
81
|
}
|
|
80
82
|
|
|
83
|
+
if (oObjStatus._hasExternalLabelling()) {
|
|
84
|
+
oAccAttributes["labelledby"] = {
|
|
85
|
+
value: oObjStatus._generateSelfLabellingIds(),
|
|
86
|
+
append: true
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
if (sStateText) {
|
|
91
|
+
sStatusTextId = oObjStatus._fnInvisibleStateLabelFactory().getId();
|
|
92
|
+
if (oAccAttributes["describedby"]) {
|
|
93
|
+
oAccAttributes["describedby"].value += " " + sStatusTextId;
|
|
94
|
+
} else {
|
|
95
|
+
oAccAttributes["describedby"] = {
|
|
96
|
+
value: sStatusTextId,
|
|
97
|
+
append: true
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
81
102
|
oRm.accessibilityState(oObjStatus, oAccAttributes);
|
|
82
103
|
|
|
83
104
|
oRm.openEnd();
|
|
@@ -141,15 +162,6 @@ sap.ui.define(['sap/ui/core/library', './library', 'sap/ui/core/Core'],
|
|
|
141
162
|
if (oObjStatus._isActive()) {
|
|
142
163
|
oRm.close("span");
|
|
143
164
|
}
|
|
144
|
-
|
|
145
|
-
if (sStateText) {
|
|
146
|
-
oRm.openStart("span", oObjStatus.getId() + "-state");
|
|
147
|
-
oRm.class("sapUiPseudoInvisibleText");
|
|
148
|
-
oRm.openEnd();
|
|
149
|
-
oRm.text(sStateText);
|
|
150
|
-
oRm.close("span");
|
|
151
|
-
}
|
|
152
|
-
|
|
153
165
|
}
|
|
154
166
|
|
|
155
167
|
oRm.close("div");
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
// Provides control sap.m.OverflowToolbar.
|
|
8
8
|
sap.ui.define([
|
|
9
|
+
"sap/ui/core/Theming",
|
|
9
10
|
"sap/ui/core/library",
|
|
10
|
-
"sap/ui/core/Core",
|
|
11
11
|
"./library",
|
|
12
12
|
"sap/ui/core/Control",
|
|
13
13
|
"sap/ui/core/Element",
|
|
@@ -22,10 +22,11 @@ sap.ui.define([
|
|
|
22
22
|
"sap/ui/Device",
|
|
23
23
|
"./OverflowToolbarRenderer",
|
|
24
24
|
"sap/base/Log",
|
|
25
|
+
"sap/ui/core/Lib",
|
|
25
26
|
"sap/ui/dom/jquery/Focusable" // jQuery Plugin "lastFocusableDomRef"
|
|
26
27
|
], function(
|
|
28
|
+
Theming,
|
|
27
29
|
coreLibrary,
|
|
28
|
-
oCore,
|
|
29
30
|
library,
|
|
30
31
|
Control,
|
|
31
32
|
Element,
|
|
@@ -39,7 +40,8 @@ sap.ui.define([
|
|
|
39
40
|
IconPool,
|
|
40
41
|
Device,
|
|
41
42
|
OverflowToolbarRenderer,
|
|
42
|
-
Log
|
|
43
|
+
Log,
|
|
44
|
+
Library
|
|
43
45
|
) {
|
|
44
46
|
"use strict";
|
|
45
47
|
|
|
@@ -129,7 +131,7 @@ sap.ui.define([
|
|
|
129
131
|
* @implements sap.ui.core.Toolbar,sap.m.IBar
|
|
130
132
|
*
|
|
131
133
|
* @author SAP SE
|
|
132
|
-
* @version 1.
|
|
134
|
+
* @version 1.117.0
|
|
133
135
|
*
|
|
134
136
|
* @constructor
|
|
135
137
|
* @public
|
|
@@ -228,8 +230,8 @@ sap.ui.define([
|
|
|
228
230
|
|
|
229
231
|
this.addStyleClass("sapMOTB");
|
|
230
232
|
|
|
231
|
-
this._sAriaRoleDescription =
|
|
232
|
-
.
|
|
233
|
+
this._sAriaRoleDescription = Library
|
|
234
|
+
.getResourceBundleFor("sap.m")
|
|
233
235
|
.getText(OverflowToolbar.ARIA_ROLE_DESCRIPTION);
|
|
234
236
|
|
|
235
237
|
this._fnMediaChangeRef = this._fnMediaChange.bind(this);
|
|
@@ -356,12 +358,6 @@ sap.ui.define([
|
|
|
356
358
|
OverflowToolbar.prototype._doLayout = function () {
|
|
357
359
|
var iWidth;
|
|
358
360
|
|
|
359
|
-
// If the theme is not applied, control widths should not be measured and cached
|
|
360
|
-
if (!oCore.isThemeApplied()) {
|
|
361
|
-
Log.debug("OverflowToolbar: theme not applied yet, skipping calculations", this);
|
|
362
|
-
return;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
361
|
this._recalculateOverflowButtonSize();
|
|
366
362
|
|
|
367
363
|
iWidth = this.$().is(":visible") ? this.$().width() : 0;
|
|
@@ -375,6 +371,10 @@ sap.ui.define([
|
|
|
375
371
|
// Deregister the resize handler to avoid multiple instances of the same code running at the same time
|
|
376
372
|
this._deregisterToolbarResize();
|
|
377
373
|
|
|
374
|
+
if (this._iPreviousToolbarWidth !== iWidth) {
|
|
375
|
+
this._bResized = true;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
378
|
if (iWidth > 0) {
|
|
379
379
|
|
|
380
380
|
// Cache controls widths and other info, if not done already
|
|
@@ -388,6 +388,8 @@ sap.ui.define([
|
|
|
388
388
|
this._setControlsOverflowAndShrinking(iWidth);
|
|
389
389
|
this.fireEvent("_controlWidthChanged");
|
|
390
390
|
}
|
|
391
|
+
} else {
|
|
392
|
+
this._iPreviousToolbarWidth = iWidth;
|
|
391
393
|
}
|
|
392
394
|
|
|
393
395
|
// Register the resize handler again after all calculations are done and it's safe to do so
|
|
@@ -421,7 +423,7 @@ sap.ui.define([
|
|
|
421
423
|
$LastFocusableChildControl = this.$().lastFocusableDomRef();
|
|
422
424
|
|
|
423
425
|
if (this.sFocusedChildControlId) {
|
|
424
|
-
oFocusedChildControl =
|
|
426
|
+
oFocusedChildControl = Element.registry.get(this.sFocusedChildControlId);
|
|
425
427
|
}
|
|
426
428
|
|
|
427
429
|
if (oFocusedChildControl && oFocusedChildControl.getDomRef()){
|
|
@@ -446,7 +448,8 @@ sap.ui.define([
|
|
|
446
448
|
*/
|
|
447
449
|
OverflowToolbar.prototype._preserveChildControlFocusInfo = function () {
|
|
448
450
|
// Preserve focus info
|
|
449
|
-
var
|
|
451
|
+
var oElement = Element.closestTo(document.activeElement);
|
|
452
|
+
var sActiveElementId = oElement ? oElement.getId() : null;
|
|
450
453
|
|
|
451
454
|
if (this._getControlsIds().indexOf(sActiveElementId) !== -1) {
|
|
452
455
|
this._bControlWasFocused = true;
|
|
@@ -1017,7 +1020,7 @@ sap.ui.define([
|
|
|
1017
1020
|
id: this.getId() + sIdPrefix,
|
|
1018
1021
|
icon: IconPool.getIconURI("overflow"),
|
|
1019
1022
|
press: this._overflowButtonPressed.bind(this),
|
|
1020
|
-
tooltip:
|
|
1023
|
+
tooltip: Library.getResourceBundleFor("sap.m").getText(OverflowToolbar.TOGGLE_BUTTON_TOOLTIP),
|
|
1021
1024
|
type: ButtonType.Transparent
|
|
1022
1025
|
});
|
|
1023
1026
|
};
|
|
@@ -1598,20 +1601,32 @@ sap.ui.define([
|
|
|
1598
1601
|
oLayoutData = vControl.getLayoutData && vControl.getLayoutData();
|
|
1599
1602
|
if (oLayoutData && oLayoutData instanceof OverflowToolbarLayoutData) {
|
|
1600
1603
|
|
|
1604
|
+
/**
|
|
1605
|
+
* @deprecated since 1.32
|
|
1606
|
+
*/
|
|
1601
1607
|
if (oLayoutData.getMoveToOverflow() === false) {
|
|
1602
1608
|
return OverflowToolbarPriority.NeverOverflow;
|
|
1603
1609
|
}
|
|
1604
1610
|
|
|
1611
|
+
/**
|
|
1612
|
+
* @deprecated since 1.32
|
|
1613
|
+
*/
|
|
1605
1614
|
if (oLayoutData.getStayInOverflow() === true) {
|
|
1606
1615
|
return OverflowToolbarPriority.AlwaysOverflow;
|
|
1607
1616
|
}
|
|
1608
1617
|
|
|
1609
1618
|
sPriority = oLayoutData.getPriority();
|
|
1610
1619
|
|
|
1620
|
+
/**
|
|
1621
|
+
* @deprecated since 1.48
|
|
1622
|
+
*/
|
|
1611
1623
|
if (sPriority === OverflowToolbarPriority.Never) {
|
|
1612
1624
|
return OverflowToolbarPriority.NeverOverflow;
|
|
1613
1625
|
}
|
|
1614
1626
|
|
|
1627
|
+
/**
|
|
1628
|
+
* @deprecated since 1.48
|
|
1629
|
+
*/
|
|
1615
1630
|
if (sPriority === OverflowToolbarPriority.Always) {
|
|
1616
1631
|
return OverflowToolbarPriority.AlwaysOverflow;
|
|
1617
1632
|
}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
// Provides control sap.m._overflowToolbarHelpers.OverflowToolbarAssociativePopover.
|
|
8
|
-
sap.ui.define(['./Popover', './OverflowToolbarAssociativePopoverControls', './OverflowToolbarAssociativePopoverRenderer', './OverflowToolbarLayoutData', 'sap/m/library'],
|
|
9
|
-
function(Popover, OverflowToolbarAssociativePopoverControls, OverflowToolbarAssociativePopoverRenderer, OverflowToolbarLayoutData, library) {
|
|
8
|
+
sap.ui.define(['sap/ui/core/Element', './Popover', './OverflowToolbarAssociativePopoverControls', './OverflowToolbarAssociativePopoverRenderer', './OverflowToolbarLayoutData', 'sap/m/library'],
|
|
9
|
+
function(Element, Popover, OverflowToolbarAssociativePopoverControls, OverflowToolbarAssociativePopoverRenderer, OverflowToolbarLayoutData, library) {
|
|
10
10
|
"use strict";
|
|
11
11
|
|
|
12
12
|
|
|
@@ -30,7 +30,7 @@ sap.ui.define(['./Popover', './OverflowToolbarAssociativePopoverControls', './Ov
|
|
|
30
30
|
* @extends sap.m.Popover
|
|
31
31
|
*
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.117.0
|
|
34
34
|
*
|
|
35
35
|
* @constructor
|
|
36
36
|
* @private
|
|
@@ -75,7 +75,7 @@ sap.ui.define(['./Popover', './OverflowToolbarAssociativePopoverControls', './Ov
|
|
|
75
75
|
oControlObject;
|
|
76
76
|
|
|
77
77
|
if (sResult) {
|
|
78
|
-
oControlObject =
|
|
78
|
+
oControlObject = Element.registry.get(sResult);
|
|
79
79
|
if (oControlObject) {
|
|
80
80
|
this._postProcessControl(oControlObject);
|
|
81
81
|
}
|
|
@@ -198,7 +198,7 @@ sap.ui.define(['./Popover', './OverflowToolbarAssociativePopoverControls', './Ov
|
|
|
198
198
|
*/
|
|
199
199
|
OverflowToolbarAssociativePopover.prototype._getAllContent = function () {
|
|
200
200
|
var aAssociatedContent = this.getAssociatedContent().map(function(sId) {
|
|
201
|
-
return
|
|
201
|
+
return Element.registry.get(sId);
|
|
202
202
|
});
|
|
203
203
|
|
|
204
204
|
if (this.getPlacement() === PlacementType.Top) {
|
|
@@ -22,7 +22,7 @@ sap.ui.define(['sap/m/ToolbarLayoutData', 'sap/m/library', "sap/base/Log"],
|
|
|
22
22
|
* Holds layout data for the {@link sap.m.OverflowToolbar} items.
|
|
23
23
|
* @extends sap.m.ToolbarLayoutData
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.117.0
|
|
26
26
|
*
|
|
27
27
|
* @constructor
|
|
28
28
|
* @public
|