@openui5/sap.m 1.91.0 → 1.93.2
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 +46 -0
- package/THIRDPARTY.txt +59 -1
- 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 +3 -1
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/App.js +2 -2
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +1 -1
- package/src/sap/m/BadgeEnabler.js +4 -0
- package/src/sap/m/Bar.js +14 -1
- package/src/sap/m/Breadcrumbs.js +34 -4
- package/src/sap/m/BreadcrumbsRenderer.js +13 -2
- package/src/sap/m/BusyDialog.js +2 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +26 -12
- package/src/sap/m/Carousel.js +7 -7
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +21 -6
- package/src/sap/m/CheckBoxRenderer.js +1 -1
- package/src/sap/m/ColorPalette.js +10 -24
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +12 -4
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +8 -2
- 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 +14 -24
- package/src/sap/m/ComboBoxBase.js +12 -1
- package/src/sap/m/ComboBoxRenderer.js +3 -1
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/CustomDynamicDateOption.js +99 -0
- 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 +13 -6
- package/src/sap/m/DateRangeSelection.js +5 -5
- package/src/sap/m/DateTimeField.js +69 -1
- package/src/sap/m/DateTimeInput.js +2 -2
- package/src/sap/m/DateTimePicker.js +17 -10
- package/src/sap/m/Dialog.js +17 -13
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +197 -0
- package/src/sap/m/DynamicDateFormat.js +264 -0
- package/src/sap/m/DynamicDateOption.js +345 -0
- package/src/sap/m/DynamicDateRange.js +1187 -0
- package/src/sap/m/DynamicDateRangeRenderer.js +36 -0
- package/src/sap/m/DynamicDateUtil.js +162 -0
- package/src/sap/m/DynamicDateValueHelpUIType.js +55 -0
- package/src/sap/m/ExpandableText.js +4 -2
- package/src/sap/m/FacetFilter.js +17 -7
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +3 -3
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +21 -10
- package/src/sap/m/FeedInputRenderer.js +1 -1
- package/src/sap/m/FeedListItem.js +29 -23
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +32 -67
- package/src/sap/m/FlexItemData.js +1 -1
- package/src/sap/m/FormattedText.js +1 -1
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +39 -1
- package/src/sap/m/GenericTileRenderer.js +77 -8
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +31 -34
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +8 -5
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/HeaderContainerRenderer.js +1 -1
- package/src/sap/m/IconTabBar.js +1 -2
- package/src/sap/m/IconTabBarSelectList.js +29 -11
- package/src/sap/m/IconTabBarSelectListRenderer.js +7 -9
- package/src/sap/m/IconTabFilter.js +68 -32
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +18 -7
- package/src/sap/m/IconTabHeaderRenderer.js +1 -0
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/Image.js +2 -2
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +55 -28
- package/src/sap/m/InputBase.js +8 -6
- package/src/sap/m/InputBaseRenderer.js +32 -0
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InputRenderer.js +30 -4
- 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 +8 -3
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +79 -21
- package/src/sap/m/ListItemBase.js +8 -7
- 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 +5 -4
- package/src/sap/m/MenuButton.js +2 -2
- package/src/sap/m/MenuItem.js +4 -4
- package/src/sap/m/MenuListItem.js +17 -1
- package/src/sap/m/MenuListItemRenderer.js +5 -0
- package/src/sap/m/MessageBox.js +37 -12
- 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 +29 -1
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +17 -23
- package/src/sap/m/MessageStripRenderer.js +2 -2
- package/src/sap/m/MessageStripUtilities.js +16 -3
- package/src/sap/m/MessageToast.js +2 -2
- package/src/sap/m/MessageView.js +7 -7
- package/src/sap/m/MultiComboBox.js +178 -166
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +2 -3
- package/src/sap/m/NavContainer.js +95 -15
- 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/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectHeaderRenderer.js +10 -7
- package/src/sap/m/ObjectIdentifier.js +10 -6
- package/src/sap/m/ObjectIdentifierRenderer.js +1 -1
- package/src/sap/m/ObjectListItem.js +3 -3
- package/src/sap/m/ObjectListItemRenderer.js +2 -2
- package/src/sap/m/ObjectMarker.js +16 -18
- package/src/sap/m/ObjectNumber.js +2 -2
- package/src/sap/m/ObjectStatus.js +17 -28
- package/src/sap/m/ObjectStatusRenderer.js +32 -11
- package/src/sap/m/OverflowToolbar.js +10 -6
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +2 -2
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +2 -2
- package/src/sap/m/P13nAnyFilterItem.js +1 -1
- package/src/sap/m/P13nColumnsItem.js +1 -1
- package/src/sap/m/P13nColumnsPanel.js +3 -3
- package/src/sap/m/P13nConditionPanel.js +3 -3
- package/src/sap/m/P13nDialog.js +11 -5
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +4 -4
- 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 +7 -13
- 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 +6 -12
- package/src/sap/m/PDFViewer.js +1 -1
- package/src/sap/m/PDFViewerRenderManager.js +2 -2
- 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 +173 -50
- package/src/sap/m/PlanningCalendarHeader.js +36 -5
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +26 -2
- package/src/sap/m/Popover.js +54 -25
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +2 -2
- package/src/sap/m/QuickViewBase.js +1 -3
- 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 +129 -137
- package/src/sap/m/RadioButton.js +3 -3
- package/src/sap/m/RadioButtonGroup.js +1 -1
- package/src/sap/m/RangeSlider.js +8 -3
- package/src/sap/m/RangeSliderRenderer.js +3 -0
- package/src/sap/m/RatingIndicator.js +69 -29
- package/src/sap/m/RatingIndicatorRenderer.js +0 -1
- 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 +34 -19
- package/src/sap/m/SearchFieldRenderer.js +15 -5
- package/src/sap/m/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/SegmentedButtonRenderer.js +6 -0
- package/src/sap/m/Select.js +39 -22
- package/src/sap/m/SelectDialog.js +22 -58
- package/src/sap/m/SelectDialogBase.js +148 -0
- package/src/sap/m/SelectList.js +13 -3
- package/src/sap/m/SelectRenderer.js +38 -25
- package/src/sap/m/SelectionDetails.js +5 -2
- 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 +2 -2
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +19 -9
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +49 -6
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +27 -19
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +39 -2
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +22 -2
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +2 -2
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +3 -3
- package/src/sap/m/Slider.js +2 -2
- package/src/sap/m/SliderRenderer.js +2 -2
- 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 +3 -3
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitButtonRenderer.js +5 -1
- package/src/sap/m/SplitContainer.js +67 -6
- package/src/sap/m/StandardDynamicDateOption.js +585 -0
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +2 -2
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +1 -1
- package/src/sap/m/StepInputRenderer.js +0 -3
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +44 -1
- package/src/sap/m/Support.js +54 -46
- package/src/sap/m/Switch.js +9 -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 +50 -8
- package/src/sap/m/TablePersoController.js +2 -2
- package/src/sap/m/TablePersoDialog.js +1 -1
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +6 -4
- package/src/sap/m/TableSelectDialog.js +23 -54
- package/src/sap/m/Text.js +3 -3
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +9 -9
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TimePicker.js +11 -6
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClocks.js +4 -2
- package/src/sap/m/TimePickerInputs.js +27 -5
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerSlider.js +15 -4
- package/src/sap/m/TimePickerSliders.js +5 -5
- package/src/sap/m/TimePickerSlidersRenderer.js +0 -1
- package/src/sap/m/Title.js +2 -2
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +2 -2
- package/src/sap/m/Token.js +1 -3
- package/src/sap/m/Tokenizer.js +3 -2
- package/src/sap/m/TokenizerRenderer.js +1 -0
- package/src/sap/m/Toolbar.js +2 -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 +4 -4
- package/src/sap/m/UploadCollection.js +2 -2
- package/src/sap/m/UploadCollectionItem.js +2 -2
- 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/ViewSettingsCustomItem.js +2 -2
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +9 -9
- 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 +3 -3
- package/src/sap/m/WheelSliderContainer.js +4 -4
- package/src/sap/m/Wizard.js +2 -2
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardProgressNavigatorRenderer.js +1 -1
- package/src/sap/m/WizardStep.js +2 -2
- package/src/sap/m/changeHandler/AddTableColumn.js +76 -44
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +18 -23
- package/src/sap/m/changeHandler/CombineButtons.js +280 -173
- package/src/sap/m/changeHandler/MoveTableColumns.js +143 -111
- package/src/sap/m/changeHandler/SplitMenuButton.js +141 -93
- package/src/sap/m/inputUtils/calculateSelectionStart.js +1 -1
- package/src/sap/m/inputUtils/wordStartsWithValue.js +5 -1
- package/src/sap/m/library.js +93 -9
- package/src/sap/m/messagebundle.properties +212 -27
- package/src/sap/m/messagebundle_ar.properties +104 -3
- package/src/sap/m/messagebundle_bg.properties +103 -2
- package/src/sap/m/messagebundle_ca.properties +103 -2
- package/src/sap/m/messagebundle_cs.properties +113 -12
- package/src/sap/m/messagebundle_cy.properties +103 -2
- package/src/sap/m/messagebundle_da.properties +103 -2
- package/src/sap/m/messagebundle_de.properties +112 -11
- package/src/sap/m/messagebundle_el.properties +103 -2
- package/src/sap/m/messagebundle_en.properties +103 -2
- package/src/sap/m/messagebundle_en_GB.properties +103 -2
- package/src/sap/m/messagebundle_en_US_sappsd.properties +102 -2
- package/src/sap/m/messagebundle_en_US_saprigi.properties +96 -2
- package/src/sap/m/messagebundle_en_US_saptrc.properties +103 -2
- package/src/sap/m/messagebundle_es.properties +106 -5
- package/src/sap/m/messagebundle_es_MX.properties +103 -2
- package/src/sap/m/messagebundle_et.properties +103 -2
- package/src/sap/m/messagebundle_fi.properties +103 -2
- package/src/sap/m/messagebundle_fr.properties +103 -2
- package/src/sap/m/messagebundle_fr_CA.properties +107 -6
- package/src/sap/m/messagebundle_hi.properties +103 -2
- package/src/sap/m/messagebundle_hr.properties +103 -2
- package/src/sap/m/messagebundle_hu.properties +103 -2
- package/src/sap/m/messagebundle_id.properties +103 -2
- package/src/sap/m/messagebundle_it.properties +103 -2
- package/src/sap/m/messagebundle_iw.properties +103 -2
- package/src/sap/m/messagebundle_ja.properties +122 -21
- package/src/sap/m/messagebundle_kk.properties +103 -2
- package/src/sap/m/messagebundle_ko.properties +103 -2
- package/src/sap/m/messagebundle_lt.properties +103 -2
- package/src/sap/m/messagebundle_lv.properties +103 -2
- package/src/sap/m/messagebundle_ms.properties +103 -2
- package/src/sap/m/messagebundle_nl.properties +110 -9
- package/src/sap/m/messagebundle_no.properties +106 -5
- package/src/sap/m/messagebundle_pl.properties +106 -5
- package/src/sap/m/messagebundle_pt.properties +112 -11
- package/src/sap/m/messagebundle_pt_PT.properties +103 -2
- package/src/sap/m/messagebundle_ro.properties +113 -12
- package/src/sap/m/messagebundle_ru.properties +103 -2
- package/src/sap/m/messagebundle_sh.properties +103 -2
- package/src/sap/m/messagebundle_sk.properties +103 -2
- package/src/sap/m/messagebundle_sl.properties +103 -2
- package/src/sap/m/messagebundle_sv.properties +109 -8
- package/src/sap/m/messagebundle_th.properties +113 -12
- package/src/sap/m/messagebundle_tr.properties +109 -8
- package/src/sap/m/messagebundle_uk.properties +103 -2
- package/src/sap/m/messagebundle_vi.properties +103 -2
- package/src/sap/m/messagebundle_zh_CN.properties +104 -3
- package/src/sap/m/messagebundle_zh_TW.properties +103 -2
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- package/src/sap/m/plugins/DataStateIndicator.js +5 -3
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/routing/RouteMatchedHandler.js +2 -0
- package/src/sap/m/routing/Router.js +1 -0
- package/src/sap/m/routing/TargetHandler.js +123 -51
- package/src/sap/m/routing/async/Target.js +13 -1
- package/src/sap/m/routing/sync/Target.js +1 -0
- 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 +1 -1
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +2 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +2 -2
- 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/themes/base/Button.less +8 -10
- package/src/sap/m/themes/base/Carousel.less +38 -4
- package/src/sap/m/themes/base/CheckBox.less +1 -1
- package/src/sap/m/themes/base/Dialog.less +11 -5
- package/src/sap/m/themes/base/DynamicDateRange.less +56 -0
- package/src/sap/m/themes/base/FeedInput.less +5 -6
- package/src/sap/m/themes/base/GenericTile.less +205 -2
- package/src/sap/m/themes/base/IconTabBar.less +185 -64
- package/src/sap/m/themes/base/IconTabBarSelectList.less +12 -2
- package/src/sap/m/themes/base/InputBase.less +0 -17
- package/src/sap/m/themes/base/Label.less +6 -4
- package/src/sap/m/themes/base/Link.less +0 -3
- package/src/sap/m/themes/base/ListItemBase.less +7 -3
- package/src/sap/m/themes/base/MenuListItem.less +10 -0
- package/src/sap/m/themes/base/MessageBox.less +0 -3
- package/src/sap/m/themes/base/NotificationListBase.less +1 -1
- package/src/sap/m/themes/base/ObjectHeader.less +2 -1
- package/src/sap/m/themes/base/ObjectNumber.less +6 -2
- package/src/sap/m/themes/base/ObjectStatus.less +25 -4
- package/src/sap/m/themes/base/P13nDialog.less +8 -0
- package/src/sap/m/themes/base/PlanningCalendar.less +25 -0
- package/src/sap/m/themes/base/Popover.less +1 -1
- package/src/sap/m/themes/base/ProgressIndicator.less +7 -6
- package/src/sap/m/themes/base/QuickView.less +17 -60
- package/src/sap/m/themes/base/RadioButton.less +3 -0
- package/src/sap/m/themes/base/SearchField.less +22 -15
- package/src/sap/m/themes/base/SegmentedButton.less +1 -1
- package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +29 -5
- package/src/sap/m/themes/base/SplitContainer.less +0 -16
- package/src/sap/m/themes/base/StandardListItem.less +5 -1
- package/src/sap/m/themes/base/Table.less +15 -19
- package/src/sap/m/themes/base/Text.less +4 -2
- package/src/sap/m/themes/base/TimePicker.less +5 -1
- package/src/sap/m/themes/base/TimePickerSliders.less +1 -5
- package/src/sap/m/themes/base/Toolbar.less +6 -0
- package/src/sap/m/themes/base/ViewSettingsDialog.less +1 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/themes/base/shared.less +2 -0
- package/src/sap/m/themes/sap_hcb/InputBase.less +25 -0
- package/src/sap/m/upload/UploadSet.js +11 -10
- package/src/sap/m/upload/UploadSetItem.js +16 -1
- package/src/sap/m/upload/Uploader.js +20 -5
|
@@ -43,7 +43,7 @@ sap.ui.define([
|
|
|
43
43
|
* @extends sap.ui.core.Control
|
|
44
44
|
*
|
|
45
45
|
* @author SAP SE
|
|
46
|
-
* @version 1.
|
|
46
|
+
* @version 1.93.2
|
|
47
47
|
*
|
|
48
48
|
* @constructor
|
|
49
49
|
* @public
|
|
@@ -52,7 +52,9 @@ sap.ui.define([
|
|
|
52
52
|
*/
|
|
53
53
|
var NavContainer = Control.extend("sap.m.NavContainer", /** @lends sap.m.NavContainer.prototype */ {
|
|
54
54
|
metadata: {
|
|
55
|
-
|
|
55
|
+
interfaces: [
|
|
56
|
+
"sap.ui.core.IPlaceholderSupport"
|
|
57
|
+
],
|
|
56
58
|
library: "sap.m",
|
|
57
59
|
properties: {
|
|
58
60
|
|
|
@@ -246,6 +248,15 @@ sap.ui.define([
|
|
|
246
248
|
}
|
|
247
249
|
});
|
|
248
250
|
|
|
251
|
+
// Delegate registered by the NavContainer#showPlaceholder function
|
|
252
|
+
var oPlaceholderDelegate = {
|
|
253
|
+
"onAfterRendering": function() {
|
|
254
|
+
if (this._placeholder) {
|
|
255
|
+
this._placeholder.show(this);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
};
|
|
259
|
+
|
|
249
260
|
var bUseAnimations = sap.ui.getCore().getConfiguration().getAnimation(),
|
|
250
261
|
fnGetDelay = function (iDelay) {
|
|
251
262
|
return bUseAnimations ? iDelay : 0;
|
|
@@ -281,6 +292,7 @@ sap.ui.define([
|
|
|
281
292
|
|
|
282
293
|
NavContainer.prototype.exit = function () {
|
|
283
294
|
this._mFocusObject = null; // allow partial garbage collection when app code leaks the NavContainer (based on a real scenario)
|
|
295
|
+
this._placeholder = undefined;
|
|
284
296
|
};
|
|
285
297
|
|
|
286
298
|
|
|
@@ -1260,7 +1272,8 @@ sap.ui.define([
|
|
|
1260
1272
|
jQuery(this).off("webkitAnimationEnd animationend");
|
|
1261
1273
|
|
|
1262
1274
|
if (!bFirstSlideDone) {
|
|
1263
|
-
|
|
1275
|
+
bFirstSlideDone = true;
|
|
1276
|
+
return bFirstSlideDone;
|
|
1264
1277
|
}
|
|
1265
1278
|
|
|
1266
1279
|
bTransitionEndPending = false;
|
|
@@ -1798,6 +1811,61 @@ sap.ui.define([
|
|
|
1798
1811
|
return this;
|
|
1799
1812
|
};
|
|
1800
1813
|
|
|
1814
|
+
/**
|
|
1815
|
+
* Shows the placeholder if NavContainer is rendered.
|
|
1816
|
+
* Otherwise, registers the 'onAfterRendering' delegate which shows the placeholder.
|
|
1817
|
+
*
|
|
1818
|
+
* @param {object} mSettings Object containing the placeholder instance
|
|
1819
|
+
* @param {sap.ui.core.Placeholder} mSettings.placeholder The placeholder instance
|
|
1820
|
+
* @public
|
|
1821
|
+
* @since 1.91
|
|
1822
|
+
*/
|
|
1823
|
+
NavContainer.prototype.showPlaceholder = function(mSettings) {
|
|
1824
|
+
if (this._placeholder) {
|
|
1825
|
+
this.hidePlaceholder();
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
if (mSettings.placeholder) {
|
|
1829
|
+
this._placeholder = mSettings.placeholder;
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
if (this.getDomRef()) {
|
|
1833
|
+
this._placeholder.show(this);
|
|
1834
|
+
}
|
|
1835
|
+
// Add an event delegate to reinsert the placeholder after it's removed after a rerendering
|
|
1836
|
+
this.addEventDelegate(oPlaceholderDelegate, this);
|
|
1837
|
+
};
|
|
1838
|
+
|
|
1839
|
+
/**
|
|
1840
|
+
* Hides the placeholder and removes the 'onAfterRendering' placeholder delegate.
|
|
1841
|
+
*
|
|
1842
|
+
* @public
|
|
1843
|
+
* @since 1.91
|
|
1844
|
+
*/
|
|
1845
|
+
NavContainer.prototype.hidePlaceholder = function() {
|
|
1846
|
+
if (this._placeholder) {
|
|
1847
|
+
this._placeholder.hide();
|
|
1848
|
+
|
|
1849
|
+
// remove the delegate because the placeholder is hidden
|
|
1850
|
+
this.removeEventDelegate(oPlaceholderDelegate);
|
|
1851
|
+
}
|
|
1852
|
+
};
|
|
1853
|
+
|
|
1854
|
+
/**
|
|
1855
|
+
* Checks whether a placeholder is needed by comparing the currently displayed page with
|
|
1856
|
+
* the page object that is going to be displayed. If they are the same, no placeholder needs
|
|
1857
|
+
* to be shown.
|
|
1858
|
+
*
|
|
1859
|
+
* @param {string} sAggregationName The aggregation name
|
|
1860
|
+
* @param {object} oObject The page object to be displayed
|
|
1861
|
+
* @returns {boolean} Whether a placeholder is needed or not
|
|
1862
|
+
*
|
|
1863
|
+
* @private
|
|
1864
|
+
* @ui5-restricted sap.ui.core.routing
|
|
1865
|
+
*/
|
|
1866
|
+
NavContainer.prototype.needPlaceholder = function(sAggregationName, oObject) {
|
|
1867
|
+
return this.getCurrentPage() !== oObject;
|
|
1868
|
+
};
|
|
1801
1869
|
|
|
1802
1870
|
/**
|
|
1803
1871
|
* Fiori 2.0 Adaptation
|
|
@@ -1841,51 +1909,63 @@ sap.ui.define([
|
|
|
1841
1909
|
|
|
1842
1910
|
/**
|
|
1843
1911
|
* This event is fired before the NavContainer shows this child control for the first time.
|
|
1912
|
+
*
|
|
1913
|
+
* @name sap.m.NavContainerChild#beforeFirstShow
|
|
1844
1914
|
* @event
|
|
1915
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
1916
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
1917
|
+
* @param {object} oControlEvent.getParameters
|
|
1918
|
+
* @param {jQuery.Event} oEvent The event object
|
|
1845
1919
|
* @param {sap.ui.core.Control} oEvent.srcControl the NavContainer firing the event
|
|
1846
1920
|
* @param {object} oEvent.data the data object which has been passed with the "to" navigation, or an empty object
|
|
1847
1921
|
* @param {object} oEvent.backData the data object which has been passed with the back navigation, or an empty object
|
|
1848
|
-
* @name sap.m.NavContainerChild.prototype.BeforeFirstShow
|
|
1849
1922
|
* @public
|
|
1850
1923
|
*/
|
|
1851
1924
|
|
|
1852
1925
|
/**
|
|
1853
1926
|
* This event is fired every time before the NavContainer shows this child control. In case of animated transitions this
|
|
1854
1927
|
* event is fired before the transition starts.
|
|
1928
|
+
*
|
|
1929
|
+
* @name sap.m.NavContainerChild#beforeShow
|
|
1855
1930
|
* @event
|
|
1931
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
1932
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
1933
|
+
* @param {object} oControlEvent.getParameters
|
|
1934
|
+
* @param {jQuery.Event} oEvent The event object
|
|
1856
1935
|
* @param {sap.ui.core.Control} oEvent.srcControl the NavContainer firing the event
|
|
1857
1936
|
* @param {object} oEvent.data the data object which has been passed with the "to" navigation, or an empty object
|
|
1858
1937
|
* @param {object} oEvent.backData the data object which has been passed with the back navigation, or an empty object
|
|
1859
|
-
* @name sap.m.NavContainerChild.prototype.BeforeShow
|
|
1860
1938
|
* @public
|
|
1861
1939
|
*/
|
|
1862
1940
|
|
|
1863
1941
|
/**
|
|
1864
1942
|
* This event is fired every time when the NavContainer has made this child control visible. In case of animated transitions this
|
|
1865
1943
|
* event is fired after the transition finishes. This control is now being displayed and not animated anymore.
|
|
1944
|
+
*
|
|
1945
|
+
* @name sap.m.NavContainerChild#afterShow
|
|
1866
1946
|
* @event
|
|
1947
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
1948
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
1949
|
+
* @param {object} oControlEvent.getParameters
|
|
1950
|
+
* @param {jQuery.Event} oEvent The event object
|
|
1867
1951
|
* @param {sap.ui.core.Control} oEvent.srcControl the NavContainer firing the event
|
|
1868
1952
|
* @param {object} oEvent.data the data object which has been passed with the "to" navigation, or an empty object
|
|
1869
1953
|
* @param {object} oEvent.backData the data object which has been passed with the back navigation, or an empty object
|
|
1870
|
-
* @name sap.m.NavContainerChild.prototype.AfterShow
|
|
1871
1954
|
* @public
|
|
1872
1955
|
*/
|
|
1873
1956
|
|
|
1874
|
-
/**
|
|
1875
|
-
* This event is fired every time before the NavContainer hides this child control. In case of animated transitions this
|
|
1876
|
-
* event is fired before the transition starts.
|
|
1877
|
-
* @event
|
|
1878
|
-
* @param {sap.ui.core.Control} oEvent.srcControl the NavContainer firing the event
|
|
1879
|
-
* @name sap.m.NavContainerChild.prototype.BeforeHide
|
|
1880
|
-
* @public
|
|
1881
|
-
*/
|
|
1882
1957
|
|
|
1883
1958
|
/**
|
|
1884
1959
|
* This event is fired every time when the NavContainer has made this child control invisible. In case of animated transitions this
|
|
1885
1960
|
* event is fired after the transition finishes. This control is now no longer being displayed and not animated anymore.
|
|
1961
|
+
*
|
|
1962
|
+
* @name sap.m.NavContainerChild#beforeHide
|
|
1886
1963
|
* @event
|
|
1964
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
1965
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
1966
|
+
* @param {object} oControlEvent.getParameters
|
|
1967
|
+
* @param {jQuery.Event} oEvent The event object
|
|
1887
1968
|
* @param {sap.ui.core.Control} oEvent.srcControl the NavContainer firing the event
|
|
1888
|
-
* @name sap.m.NavContainerChild.prototype.AfterHide
|
|
1889
1969
|
* @public
|
|
1890
1970
|
*/
|
|
1891
1971
|
|
package/src/sap/m/NewsContent.js
CHANGED
|
@@ -38,7 +38,7 @@ function(library, Control, coreLibrary, Text, KeyCodes, ObjectAttributeRenderer,
|
|
|
38
38
|
* <code>text</code> property is styled and acts as a link. In this case the <code>text</code>
|
|
39
39
|
* property must also be set, as otherwise there will be no link displayed for the user.
|
|
40
40
|
* @extends sap.ui.core.Control
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.93.2
|
|
42
42
|
*
|
|
43
43
|
* @constructor
|
|
44
44
|
* @public
|
|
@@ -699,13 +699,16 @@ sap.ui.define([
|
|
|
699
699
|
oRM.attr("title", sTooltip);
|
|
700
700
|
}
|
|
701
701
|
// ARIA attributes
|
|
702
|
-
oRM.accessibilityState({
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
702
|
+
oRM.accessibilityState({ role : "region" });
|
|
703
|
+
|
|
704
|
+
if (oOH.getTitle()) {
|
|
705
|
+
oRM.accessibilityState({
|
|
706
|
+
labelledby: {
|
|
707
|
+
value: oOH.getId() + "-titleText-inner",
|
|
708
|
+
append: true
|
|
709
|
+
}
|
|
710
|
+
});
|
|
711
|
+
}
|
|
709
712
|
|
|
710
713
|
oRM.openEnd();
|
|
711
714
|
|
|
@@ -15,7 +15,8 @@ sap.ui.define([
|
|
|
15
15
|
'sap/ui/core/library',
|
|
16
16
|
'sap/ui/Device',
|
|
17
17
|
'sap/ui/base/ManagedObject',
|
|
18
|
-
'./ObjectIdentifierRenderer'
|
|
18
|
+
'./ObjectIdentifierRenderer',
|
|
19
|
+
"sap/ui/events/KeyCodes"
|
|
19
20
|
],
|
|
20
21
|
function(
|
|
21
22
|
library,
|
|
@@ -27,7 +28,8 @@ function(
|
|
|
27
28
|
coreLibrary,
|
|
28
29
|
Device,
|
|
29
30
|
ManagedObject,
|
|
30
|
-
ObjectIdentifierRenderer
|
|
31
|
+
ObjectIdentifierRenderer,
|
|
32
|
+
KeyCodes
|
|
31
33
|
) {
|
|
32
34
|
"use strict";
|
|
33
35
|
|
|
@@ -50,7 +52,7 @@ function(
|
|
|
50
52
|
*
|
|
51
53
|
* <b>Note:</b> This control should not be used with {@link sap.m.Label} or in Forms along with {@link sap.m.Label}.
|
|
52
54
|
* @extends sap.ui.core.Control
|
|
53
|
-
* @version 1.
|
|
55
|
+
* @version 1.93.2
|
|
54
56
|
*
|
|
55
57
|
* @constructor
|
|
56
58
|
* @public
|
|
@@ -399,8 +401,10 @@ function(
|
|
|
399
401
|
* @param {jQuery.Event} oEvent The fired event
|
|
400
402
|
* @private
|
|
401
403
|
*/
|
|
402
|
-
ObjectIdentifier.prototype.
|
|
403
|
-
|
|
404
|
+
ObjectIdentifier.prototype.onkeyup = function(oEvent) {
|
|
405
|
+
if (oEvent && oEvent.which === KeyCodes.SPACE) {
|
|
406
|
+
ObjectIdentifier.prototype._handlePress.apply(this, arguments);
|
|
407
|
+
}
|
|
404
408
|
};
|
|
405
409
|
|
|
406
410
|
/**
|
|
@@ -441,7 +445,7 @@ function(
|
|
|
441
445
|
|
|
442
446
|
/**
|
|
443
447
|
* @see sap.ui.core.Control#getAccessibilityInfo
|
|
444
|
-
* @returns {
|
|
448
|
+
* @returns {object} Current accessibility state of the control
|
|
445
449
|
* @protected
|
|
446
450
|
*/
|
|
447
451
|
ObjectIdentifier.prototype.getAccessibilityInfo = function() {
|
|
@@ -108,7 +108,7 @@ sap.ui.define(['./library', 'sap/ui/core/Core'],
|
|
|
108
108
|
oRm.openStart("div", oOI.getId() + "-text"); // Text begins
|
|
109
109
|
oRm.class("sapMObjectIdentifierText");
|
|
110
110
|
|
|
111
|
-
if (
|
|
111
|
+
if (oOI.getProperty("text") && oOI.getProperty("title")) {
|
|
112
112
|
oRm.class("sapMObjectIdentifierTextBellow");
|
|
113
113
|
}
|
|
114
114
|
oRm.openEnd();
|
|
@@ -59,7 +59,7 @@ function(
|
|
|
59
59
|
*
|
|
60
60
|
* <b>Note:</b> The control must only be used in the context of a list.
|
|
61
61
|
* @extends sap.m.ListItemBase
|
|
62
|
-
* @version 1.
|
|
62
|
+
* @version 1.93.2
|
|
63
63
|
*
|
|
64
64
|
* @constructor
|
|
65
65
|
* @public
|
|
@@ -416,7 +416,7 @@ function(
|
|
|
416
416
|
ObjectListItem.prototype._activeHandlingInheritor = function() {
|
|
417
417
|
var sActiveSrc = this.getActiveIcon();
|
|
418
418
|
|
|
419
|
-
if (
|
|
419
|
+
if (this._oImageControl && sActiveSrc) {
|
|
420
420
|
this._oImageControl.setSrc(sActiveSrc);
|
|
421
421
|
}
|
|
422
422
|
};
|
|
@@ -428,7 +428,7 @@ function(
|
|
|
428
428
|
*/
|
|
429
429
|
ObjectListItem.prototype._inactiveHandlingInheritor = function() {
|
|
430
430
|
var sSrc = this.getIcon();
|
|
431
|
-
if (
|
|
431
|
+
if (this._oImageControl) {
|
|
432
432
|
this._oImageControl.setSrc(sSrc);
|
|
433
433
|
}
|
|
434
434
|
};
|
|
@@ -132,7 +132,7 @@ sap.ui.define(['./ListItemBaseRenderer', 'sap/ui/core/Renderer', 'sap/ui/core/li
|
|
|
132
132
|
|
|
133
133
|
rm.openEnd();
|
|
134
134
|
|
|
135
|
-
if (
|
|
135
|
+
if (oLI.getIcon()) {
|
|
136
136
|
rm.openStart("div");
|
|
137
137
|
rm.class("sapMObjLIconDiv");
|
|
138
138
|
|
|
@@ -174,7 +174,7 @@ sap.ui.define(['./ListItemBaseRenderer', 'sap/ui/core/Renderer', 'sap/ui/core/li
|
|
|
174
174
|
rm.close("div"); // End Top row container
|
|
175
175
|
|
|
176
176
|
rm.openStart("div");
|
|
177
|
-
rm.style("clear", "both
|
|
177
|
+
rm.style("clear", "both");
|
|
178
178
|
rm.openEnd();
|
|
179
179
|
rm.close("div");
|
|
180
180
|
|
|
@@ -62,7 +62,7 @@ sap.ui.define([
|
|
|
62
62
|
* @extends sap.ui.core.Control
|
|
63
63
|
*
|
|
64
64
|
* @author SAP SE
|
|
65
|
-
* @version 1.
|
|
65
|
+
* @version 1.93.2
|
|
66
66
|
*
|
|
67
67
|
* @constructor
|
|
68
68
|
* @public
|
|
@@ -145,13 +145,6 @@ sap.ui.define([
|
|
|
145
145
|
}
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
/**
|
|
149
|
-
* Library internationalization resource bundle.
|
|
150
|
-
*
|
|
151
|
-
* @type {module:sap/base/i18n/ResourceBundle}
|
|
152
|
-
*/
|
|
153
|
-
var oRB = sap.ui.getCore().getLibraryResourceBundle("sap.m");
|
|
154
|
-
|
|
155
148
|
/**
|
|
156
149
|
* Map of predefined <code>ObjectMarker</code> types.
|
|
157
150
|
*
|
|
@@ -167,7 +160,7 @@ sap.ui.define([
|
|
|
167
160
|
}
|
|
168
161
|
},
|
|
169
162
|
text: {
|
|
170
|
-
value:
|
|
163
|
+
value: "OM_FLAG",
|
|
171
164
|
visibility: {
|
|
172
165
|
small: false,
|
|
173
166
|
large: false
|
|
@@ -183,7 +176,7 @@ sap.ui.define([
|
|
|
183
176
|
}
|
|
184
177
|
},
|
|
185
178
|
text: {
|
|
186
|
-
value:
|
|
179
|
+
value: "OM_FAVORITE",
|
|
187
180
|
visibility: {
|
|
188
181
|
small: false,
|
|
189
182
|
large: false
|
|
@@ -199,7 +192,7 @@ sap.ui.define([
|
|
|
199
192
|
}
|
|
200
193
|
},
|
|
201
194
|
text: {
|
|
202
|
-
value:
|
|
195
|
+
value: "OM_DRAFT",
|
|
203
196
|
visibility: {
|
|
204
197
|
small: true,
|
|
205
198
|
large: true
|
|
@@ -215,7 +208,7 @@ sap.ui.define([
|
|
|
215
208
|
}
|
|
216
209
|
},
|
|
217
210
|
text: {
|
|
218
|
-
value:
|
|
211
|
+
value: "OM_LOCKED",
|
|
219
212
|
visibility: {
|
|
220
213
|
small: false,
|
|
221
214
|
large: true
|
|
@@ -231,7 +224,7 @@ sap.ui.define([
|
|
|
231
224
|
}
|
|
232
225
|
},
|
|
233
226
|
text: {
|
|
234
|
-
value:
|
|
227
|
+
value: "OM_UNSAVED",
|
|
235
228
|
visibility: {
|
|
236
229
|
small: false,
|
|
237
230
|
large: true
|
|
@@ -247,7 +240,7 @@ sap.ui.define([
|
|
|
247
240
|
}
|
|
248
241
|
},
|
|
249
242
|
text: {
|
|
250
|
-
value:
|
|
243
|
+
value: "OM_LOCKED_BY",
|
|
251
244
|
visibility: {
|
|
252
245
|
small: false,
|
|
253
246
|
large: true
|
|
@@ -263,7 +256,7 @@ sap.ui.define([
|
|
|
263
256
|
}
|
|
264
257
|
},
|
|
265
258
|
text: {
|
|
266
|
-
value:
|
|
259
|
+
value: "OM_UNSAVED_BY",
|
|
267
260
|
visibility: {
|
|
268
261
|
small: false,
|
|
269
262
|
large: true
|
|
@@ -390,6 +383,7 @@ sap.ui.define([
|
|
|
390
383
|
|
|
391
384
|
var oType = ObjectMarker.M_PREDEFINED_TYPES[this.getType()],
|
|
392
385
|
oInnerControl = this._getInnerControl(),
|
|
386
|
+
oInnerIcon = oInnerControl && oInnerControl._getIconAggregation(),
|
|
393
387
|
sAdditionalInfo = this.getAdditionalInfo(),
|
|
394
388
|
bIsIconVisible = this._isIconVisible(),
|
|
395
389
|
bIsTextVisible = this._isTextVisible(),
|
|
@@ -408,7 +402,9 @@ sap.ui.define([
|
|
|
408
402
|
|
|
409
403
|
if (bIsIconVisible) {
|
|
410
404
|
oInnerControl.setIcon(oType.icon.src, bSuppressInvalidate);
|
|
411
|
-
|
|
405
|
+
oInnerIcon.setDecorative(!bIsIconOnly); // icon should be decorative if we have text
|
|
406
|
+
oInnerIcon.setAlt(sText);
|
|
407
|
+
oInnerIcon.setUseIconTooltip(false);
|
|
412
408
|
this.addStyleClass("sapMObjectMarkerIcon");
|
|
413
409
|
} else {
|
|
414
410
|
oInnerControl.setIcon(null, bSuppressInvalidate);
|
|
@@ -420,7 +416,7 @@ sap.ui.define([
|
|
|
420
416
|
oInnerControl.setText(sText, bSuppressInvalidate);
|
|
421
417
|
this.addStyleClass("sapMObjectMarkerText");
|
|
422
418
|
} else {
|
|
423
|
-
if (
|
|
419
|
+
if (oInnerIcon) {
|
|
424
420
|
oInnerControl.setAggregation("tooltip", sText, bSuppressInvalidate);
|
|
425
421
|
}
|
|
426
422
|
oInnerControl.setText(null, bSuppressInvalidate);
|
|
@@ -451,6 +447,7 @@ sap.ui.define([
|
|
|
451
447
|
* @private
|
|
452
448
|
*/
|
|
453
449
|
ObjectMarker.prototype._getMarkerText = function (oType, sType, sAdditionalInfo) {
|
|
450
|
+
var oRB = sap.ui.getCore().getLibraryResourceBundle("sap.m");
|
|
454
451
|
|
|
455
452
|
switch (sType) {
|
|
456
453
|
case "LockedBy":
|
|
@@ -458,10 +455,11 @@ sap.ui.define([
|
|
|
458
455
|
case "UnsavedBy":
|
|
459
456
|
return (sAdditionalInfo === "") ? oRB.getText('OM_UNSAVED_BY_ANOTHER_USER') : oRB.getText('OM_UNSAVED_BY', [sAdditionalInfo]);
|
|
460
457
|
default:
|
|
461
|
-
return (sAdditionalInfo === "") ? oType.text.value : oType.text.value + " " + sAdditionalInfo;
|
|
458
|
+
return (sAdditionalInfo === "") ? oRB.getText(oType.text.value) : oRB.getText(oType.text.value) + " " + sAdditionalInfo;
|
|
462
459
|
}
|
|
463
460
|
};
|
|
464
461
|
|
|
462
|
+
|
|
465
463
|
/**
|
|
466
464
|
* Determines if the icon of the control should be visible or not.
|
|
467
465
|
*
|
|
@@ -47,7 +47,7 @@ sap.ui.define([
|
|
|
47
47
|
*
|
|
48
48
|
* @extends sap.ui.core.Control
|
|
49
49
|
* @implements sap.ui.core.IFormContent
|
|
50
|
-
* @version 1.
|
|
50
|
+
* @version 1.93.2
|
|
51
51
|
*
|
|
52
52
|
* @constructor
|
|
53
53
|
* @public
|
|
@@ -156,7 +156,7 @@ sap.ui.define([
|
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
158
|
* @see sap.ui.core.Control#getAccessibilityInfo
|
|
159
|
-
* @returns {
|
|
159
|
+
* @returns {object} Current accessibility state of the control
|
|
160
160
|
* @protected
|
|
161
161
|
*/
|
|
162
162
|
ObjectNumber.prototype.getAccessibilityInfo = function() {
|
|
@@ -46,7 +46,7 @@ sap.ui.define([
|
|
|
46
46
|
*
|
|
47
47
|
* @extends sap.ui.core.Control
|
|
48
48
|
* @implements sap.ui.core.IFormContent
|
|
49
|
-
* @version 1.
|
|
49
|
+
* @version 1.93.2
|
|
50
50
|
*
|
|
51
51
|
* @constructor
|
|
52
52
|
* @public
|
|
@@ -137,29 +137,22 @@ sap.ui.define([
|
|
|
137
137
|
}});
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
|
-
*
|
|
141
|
-
* to the sap.m.ObjectStatus control instance state and attaches its DOM representation
|
|
142
|
-
* to the static area.
|
|
140
|
+
* Returns a text compliant to the sap.m.ObjectStatus control instance state
|
|
143
141
|
*
|
|
144
142
|
* @private
|
|
145
143
|
* @param {string} sState the propety state value.
|
|
144
|
+
* @returns {string} The text compliant to the control state
|
|
146
145
|
*/
|
|
147
|
-
ObjectStatus.prototype.
|
|
146
|
+
ObjectStatus.prototype._getStateText = function(sState) {
|
|
148
147
|
var sStateText;
|
|
149
148
|
|
|
150
149
|
if (sState !== ValueState.None) {
|
|
151
150
|
sStateText = ValueStateSupport.getAdditionalText(sState) ?
|
|
152
151
|
ValueStateSupport.getAdditionalText(sState) :
|
|
153
152
|
IndicationColorSupport.getAdditionalText(sState);
|
|
154
|
-
|
|
155
|
-
if (this._oInvisibleText) {
|
|
156
|
-
this._oInvisibleText.setText(sStateText);
|
|
157
|
-
} else {
|
|
158
|
-
this._oInvisibleText = new InvisibleText({
|
|
159
|
-
text: sStateText
|
|
160
|
-
}).toStatic();
|
|
161
|
-
}
|
|
162
153
|
}
|
|
154
|
+
|
|
155
|
+
return sStateText;
|
|
163
156
|
};
|
|
164
157
|
|
|
165
158
|
/**
|
|
@@ -172,11 +165,6 @@ sap.ui.define([
|
|
|
172
165
|
this._oImageControl.destroy();
|
|
173
166
|
this._oImageControl = null;
|
|
174
167
|
}
|
|
175
|
-
|
|
176
|
-
if (this._oInvisibleText){
|
|
177
|
-
this._oInvisibleText.destroy();
|
|
178
|
-
this._oInvisibleText = null;
|
|
179
|
-
}
|
|
180
168
|
};
|
|
181
169
|
|
|
182
170
|
/**
|
|
@@ -218,7 +206,6 @@ sap.ui.define([
|
|
|
218
206
|
throw new Error('"' + sValue + '" is not a value of the enums sap.ui.core.ValueState or sap.ui.core.IndicationColor for property "state" of ' + this);
|
|
219
207
|
}
|
|
220
208
|
|
|
221
|
-
this._createInvisibleTextReferece(sValue);
|
|
222
209
|
return this.setProperty("state", sValue);
|
|
223
210
|
};
|
|
224
211
|
|
|
@@ -288,24 +275,26 @@ sap.ui.define([
|
|
|
288
275
|
/**
|
|
289
276
|
* @see sap.ui.core.Control#getAccessibilityInfo
|
|
290
277
|
*
|
|
291
|
-
* @returns {
|
|
278
|
+
* @returns {object} Current accessibility state of the control
|
|
292
279
|
* @protected
|
|
293
280
|
*/
|
|
294
281
|
ObjectStatus.prototype.getAccessibilityInfo = function() {
|
|
295
|
-
var sState = ValueStateSupport.getAdditionalText(this.getState())
|
|
282
|
+
var sState = ValueStateSupport.getAdditionalText(this.getState()),
|
|
283
|
+
sDescription;
|
|
296
284
|
|
|
297
285
|
if (this.getState() != ValueState.None) {
|
|
298
286
|
sState = (sState !== null) ? sState : IndicationColorSupport.getAdditionalText(this.getState());
|
|
299
287
|
}
|
|
300
288
|
|
|
289
|
+
sDescription = (
|
|
290
|
+
(this.getTitle() || "") + " " +
|
|
291
|
+
(this.getText() || "") + " " +
|
|
292
|
+
(sState !== null ? sState : "") + " " +
|
|
293
|
+
(this.getTooltip() || "")
|
|
294
|
+
).trim();
|
|
295
|
+
|
|
301
296
|
return {
|
|
302
|
-
description: (
|
|
303
|
-
(this.getTitle() || "") + " " +
|
|
304
|
-
(this.getText() || "") + " " +
|
|
305
|
-
(sState !== null ? sState : "") + " " +
|
|
306
|
-
(this.getTooltip() || "") + " " +
|
|
307
|
-
sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("OBJECT_STATUS")
|
|
308
|
-
).trim()
|
|
297
|
+
description: sDescription + (sDescription ? " " + sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("OBJECT_STATUS") : "")
|
|
309
298
|
};
|
|
310
299
|
};
|
|
311
300
|
|