@openui5/sap.m 1.99.1 → 1.102.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/.eslintrc.json +18 -0
- package/THIRDPARTY.txt +5 -5
- 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/ActionListItemRenderer.js +5 -7
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSheet.js +11 -4
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +1 -1
- package/src/sap/m/BadgeEnabler.js +3 -2
- package/src/sap/m/Bar.js +12 -21
- package/src/sap/m/Breadcrumbs.js +83 -10
- package/src/sap/m/BreadcrumbsRenderer.js +3 -7
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +2 -2
- package/src/sap/m/Carousel.js +4 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +4 -2
- package/src/sap/m/CheckBox.js +2 -4
- package/src/sap/m/ColorPalette.js +13 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +10 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- package/src/sap/m/ColumnListItemRenderer.js +10 -11
- 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 +23 -2
- package/src/sap/m/ComboBoxBase.js +4 -2
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/CustomDynamicDateOption.js +1 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomListItemRenderer.js +4 -6
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTileRenderer.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/CustomTreeItemRenderer.js +2 -2
- package/src/sap/m/DatePicker.js +52 -9
- package/src/sap/m/DatePickerRenderer.js +0 -1
- package/src/sap/m/DateRangeSelection.js +42 -4
- package/src/sap/m/DateTimeField.js +8 -5
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +97 -66
- package/src/sap/m/DateTimePickerRenderer.js +21 -4
- package/src/sap/m/Dialog.js +20 -7
- package/src/sap/m/DialogRenderer.js +1 -1
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DisplayListItemRenderer.js +4 -6
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateFormat.js +13 -6
- package/src/sap/m/DynamicDateOption.js +12 -2
- package/src/sap/m/DynamicDateRange.js +129 -21
- package/src/sap/m/DynamicDateUtil.js +1 -2
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +8 -1
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +6 -4
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +2 -2
- package/src/sap/m/FeedListItem.js +2 -2
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/FeedListItemRenderer.js +10 -5
- 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 +1 -1
- package/src/sap/m/GenericTag.js +5 -3
- package/src/sap/m/GenericTagRenderer.js +13 -5
- package/src/sap/m/GenericTile.js +101 -13
- package/src/sap/m/GenericTileLineModeRenderer.js +80 -3
- package/src/sap/m/GenericTileRenderer.js +108 -48
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +138 -83
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +29 -13
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/HyphenationSupport.js +0 -4
- package/src/sap/m/IconTabBar.js +3 -3
- package/src/sap/m/IconTabBarDragAndDropUtil.js +3 -2
- package/src/sap/m/IconTabBarSelectList.js +3 -5
- package/src/sap/m/IconTabFilter.js +1 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +7 -11
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +19 -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 +10 -19
- package/src/sap/m/InputBase.js +5 -5
- package/src/sap/m/InputBaseRenderer.js +1 -2
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InputListItemRenderer.js +4 -6
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LabelRenderer.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 +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +52 -20
- package/src/sap/m/ListBaseRenderer.js +23 -9
- package/src/sap/m/ListItemBase.js +7 -5
- 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 +5 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageBox.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 +18 -36
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +2 -2
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +4 -2
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +12 -7
- package/src/sap/m/NavContainer.js +53 -53
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +175 -79
- package/src/sap/m/NotificationListGroup.js +1 -2
- package/src/sap/m/NotificationListGroupRenderer.js +4 -16
- package/src/sap/m/NotificationListItem.js +5 -16
- package/src/sap/m/NotificationListItemRenderer.js +0 -1
- package/src/sap/m/NumericContent.js +29 -21
- package/src/sap/m/NumericInput.js +3 -2
- package/src/sap/m/NumericInputRenderer.js +13 -1
- package/src/sap/m/ObjectAttribute.js +4 -5
- package/src/sap/m/ObjectAttributeRenderer.js +3 -3
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectIdentifier.js +3 -3
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +34 -10
- package/src/sap/m/ObjectMarkerRenderer.js +14 -2
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/ObjectStatusRenderer.js +3 -4
- package/src/sap/m/OverflowToolbar.js +21 -1
- package/src/sap/m/OverflowToolbarAssociativePopover.js +2 -2
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.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 +9 -12
- 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 +3 -3
- package/src/sap/m/PDFViewerRenderer.js +15 -7
- package/src/sap/m/Page.js +4 -4
- 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 +15 -15
- package/src/sap/m/PlanningCalendarHeader.js +1 -4
- 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 +15 -10
- 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 +5 -2
- package/src/sap/m/RadioButton.js +2 -2
- package/src/sap/m/RadioButtonGroup.js +14 -2
- package/src/sap/m/RadioButtonRenderer.js +0 -1
- package/src/sap/m/RangeSlider.js +19 -4
- package/src/sap/m/RatingIndicator.js +2 -2
- package/src/sap/m/ResponsivePopover.js +3 -5
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +2 -2
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +17 -9
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/SegmentedButtonRenderer.js +1 -1
- package/src/sap/m/Select.js +53 -4
- package/src/sap/m/SelectDialog.js +16 -20
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectionDetails.js +3 -5
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +3 -3
- 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 +94 -52
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +10 -9
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +24 -10
- 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 +2 -2
- package/src/sap/m/SlideTileRenderer.js +8 -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 +5 -1
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitContainer.js +4 -4
- package/src/sap/m/StandardDynamicDateOption.js +41 -18
- package/src/sap/m/StandardListItem.js +3 -3
- package/src/sap/m/StandardListItemRenderer.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 +4 -4
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +6 -14
- 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 +6 -4
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/TabStripRenderer.js +2 -2
- package/src/sap/m/Table.js +34 -3
- package/src/sap/m/TablePersoController.js +1 -1
- package/src/sap/m/TablePersoDialog.js +1 -1
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +9 -4
- package/src/sap/m/TableSelectDialog.js +15 -11
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/Tile.js +3 -3
- package/src/sap/m/TileContainer.js +6 -4
- package/src/sap/m/TileContent.js +34 -2
- package/src/sap/m/TileContentRenderer.js +44 -8
- package/src/sap/m/TileRenderer.js +1 -1
- package/src/sap/m/TimePicker.js +53 -61
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +2 -2
- package/src/sap/m/TimePickerRenderer.js +2 -4
- 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/TitleRenderer.js +2 -2
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +19 -7
- package/src/sap/m/TokenizerRenderer.js +1 -1
- package/src/sap/m/Toolbar.js +7 -1
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +5 -3
- 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 +5 -3
- package/src/sap/m/UploadCollectionItem.js +2 -1
- package/src/sap/m/UploadCollectionParameter.js +2 -1
- package/src/sap/m/UploadCollectionRenderer.js +1 -0
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +2 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/VariantManagement.js +2492 -0
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +106 -49
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +1 -1
- package/src/sap/m/VisibleItem.js +2 -2
- package/src/sap/m/WheelSlider.js +1 -1
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/Wizard.js +22 -4
- package/src/sap/m/WizardProgressNavigator.js +10 -3
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +3 -5
- 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 +5 -5
- package/src/sap/m/delegate/DateNavigation.js +2 -2
- package/src/sap/m/designtime/ListBase.designtime.js +3 -0
- package/src/sap/m/designtime/VariantManagement.designtime.js +56 -0
- package/src/sap/m/inputUtils/SuggestionsPopoverDialogMixin.js +22 -16
- package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +10 -2
- package/src/sap/m/inputUtils/highlightDOMElements.js +4 -3
- package/src/sap/m/inputUtils/typeAhead.js +7 -7
- package/src/sap/m/library.js +38 -31
- package/src/sap/m/messagebundle.properties +177 -24
- package/src/sap/m/messagebundle_ar.properties +116 -18
- package/src/sap/m/messagebundle_bg.properties +116 -18
- package/src/sap/m/messagebundle_ca.properties +116 -18
- package/src/sap/m/messagebundle_cs.properties +118 -20
- package/src/sap/m/messagebundle_cy.properties +116 -18
- package/src/sap/m/messagebundle_da.properties +116 -18
- package/src/sap/m/messagebundle_de.properties +117 -19
- package/src/sap/m/messagebundle_el.properties +119 -21
- package/src/sap/m/messagebundle_en.properties +115 -17
- package/src/sap/m/messagebundle_en_GB.properties +115 -17
- package/src/sap/m/messagebundle_en_US_sappsd.properties +115 -17
- package/src/sap/m/messagebundle_en_US_saprigi.properties +115 -17
- package/src/sap/m/messagebundle_en_US_saptrc.properties +115 -17
- package/src/sap/m/messagebundle_es.properties +116 -18
- package/src/sap/m/messagebundle_es_MX.properties +116 -18
- package/src/sap/m/messagebundle_et.properties +116 -18
- package/src/sap/m/messagebundle_fi.properties +115 -17
- package/src/sap/m/messagebundle_fr.properties +119 -21
- package/src/sap/m/messagebundle_fr_CA.properties +115 -17
- package/src/sap/m/messagebundle_hi.properties +114 -16
- package/src/sap/m/messagebundle_hr.properties +116 -18
- package/src/sap/m/messagebundle_hu.properties +116 -18
- package/src/sap/m/messagebundle_id.properties +115 -17
- package/src/sap/m/messagebundle_it.properties +124 -26
- package/src/sap/m/messagebundle_iw.properties +116 -18
- package/src/sap/m/messagebundle_ja.properties +115 -17
- package/src/sap/m/messagebundle_kk.properties +116 -18
- package/src/sap/m/messagebundle_ko.properties +116 -18
- package/src/sap/m/messagebundle_lt.properties +116 -18
- package/src/sap/m/messagebundle_lv.properties +115 -17
- package/src/sap/m/messagebundle_ms.properties +115 -17
- package/src/sap/m/messagebundle_nl.properties +115 -17
- package/src/sap/m/messagebundle_no.properties +116 -18
- package/src/sap/m/messagebundle_pl.properties +116 -18
- package/src/sap/m/messagebundle_pt.properties +125 -27
- package/src/sap/m/messagebundle_pt_PT.properties +116 -18
- package/src/sap/m/messagebundle_ro.properties +116 -18
- package/src/sap/m/messagebundle_ru.properties +116 -18
- package/src/sap/m/messagebundle_sh.properties +116 -18
- package/src/sap/m/messagebundle_sk.properties +116 -18
- package/src/sap/m/messagebundle_sl.properties +116 -18
- package/src/sap/m/messagebundle_sv.properties +117 -19
- package/src/sap/m/messagebundle_th.properties +115 -17
- package/src/sap/m/messagebundle_tr.properties +116 -18
- package/src/sap/m/messagebundle_uk.properties +116 -18
- package/src/sap/m/messagebundle_vi.properties +115 -17
- package/src/sap/m/messagebundle_zh_CN.properties +116 -18
- package/src/sap/m/messagebundle_zh_TW.properties +115 -17
- 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 +34 -15
- package/src/sap/m/p13n/Container.js +11 -4
- package/src/sap/m/p13n/GroupPanel.js +17 -5
- package/src/sap/m/p13n/Popup.js +9 -2
- package/src/sap/m/p13n/QueryPanel.js +89 -35
- package/src/sap/m/p13n/SelectionPanel.js +42 -9
- package/src/sap/m/p13n/SortPanel.js +27 -13
- package/src/sap/m/plugins/ColumnResizer.js +48 -13
- package/src/sap/m/plugins/DataStateIndicator.js +3 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/rules/Breadcrumbs.support.js +1 -1
- package/src/sap/m/rules/CheckBox.support.js +1 -1
- package/src/sap/m/rules/Image.support.js +1 -1
- package/src/sap/m/rules/Link.support.js +1 -1
- package/src/sap/m/rules/MessagePage.support.js +1 -1
- package/src/sap/m/rules/ObjectHeader.support.js +6 -6
- package/src/sap/m/rules/ObjectListItem.support.js +1 -1
- package/src/sap/m/rules/ObjectMarker.support.js +1 -1
- package/src/sap/m/rules/ObjectStatus.support.js +1 -1
- package/src/sap/m/rules/Select.support.js +1 -1
- package/src/sap/m/rules/Table.support.js +3 -3
- package/src/sap/m/rules/Tokenizer.support.js +4 -2
- 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 +7 -14
- 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 +2 -2
- 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 +114 -29
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -11
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +11 -1
- package/src/sap/m/table/columnmenu/ItemContainer.js +29 -0
- package/src/sap/m/table/columnmenu/Menu.js +228 -35
- package/src/sap/m/table/columnmenu/MenuRenderer.js +5 -28
- package/src/sap/m/table/columnmenu/QuickAction.js +14 -3
- package/src/sap/m/table/columnmenu/QuickActionBase.js +11 -1
- package/src/sap/m/table/columnmenu/QuickActionContainer.js +29 -0
- package/src/sap/m/table/columnmenu/QuickActionItem.js +5 -5
- package/src/sap/m/table/columnmenu/QuickGroup.js +20 -16
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +2 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +29 -28
- package/src/sap/m/table/columnmenu/QuickTotal.js +20 -25
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/ActionListItem.less +1 -1
- package/src/sap/m/themes/base/Avatar.less +11 -5
- package/src/sap/m/themes/base/Button.less +2 -7
- package/src/sap/m/themes/base/Carousel.less +72 -87
- package/src/sap/m/themes/base/CheckBox.less +0 -1
- package/src/sap/m/themes/base/ColumnListItem.less +0 -3
- package/src/sap/m/themes/base/ColumnMenu.less +12 -4
- package/src/sap/m/themes/base/DatePicker.less +7 -2
- package/src/sap/m/themes/base/Dialog.less +10 -6
- package/src/sap/m/themes/base/GenericTile.less +672 -170
- package/src/sap/m/themes/base/IconTabBar.less +45 -14
- package/src/sap/m/themes/base/IconTabBarSelectList.less +5 -4
- package/src/sap/m/themes/base/Input.less +1 -1
- package/src/sap/m/themes/base/InputBase.less +114 -11
- package/src/sap/m/themes/base/Label.less +4 -1
- package/src/sap/m/themes/base/LightBox.less +9 -7
- package/src/sap/m/themes/base/Link.less +12 -4
- package/src/sap/m/themes/base/ListBase.less +4 -0
- package/src/sap/m/themes/base/ListItemBase.less +1 -12
- package/src/sap/m/themes/base/MenuButton.less +20 -4
- package/src/sap/m/themes/base/MessageBox.less +5 -5
- package/src/sap/m/themes/base/MessageToast.less +2 -2
- package/src/sap/m/themes/base/MultiInput.less +1 -1
- package/src/sap/m/themes/base/NewsContent.less +0 -9
- package/src/sap/m/themes/base/NotificationListBase.less +9 -14
- package/src/sap/m/themes/base/NotificationListGroup.less +30 -44
- package/src/sap/m/themes/base/NotificationListItem.less +14 -18
- package/src/sap/m/themes/base/NumericContent.less +1 -5
- package/src/sap/m/themes/base/ObjectAttribute.less +1 -1
- package/src/sap/m/themes/base/ObjectListItem.less +3 -0
- package/src/sap/m/themes/base/ObjectMarker.less +3 -1
- package/src/sap/m/themes/base/ObjectStatus.less +8 -0
- package/src/sap/m/themes/base/Page.less +1 -1
- package/src/sap/m/themes/base/Panel.less +1 -1
- package/src/sap/m/themes/base/Popover.less +10 -7
- package/src/sap/m/themes/base/QuickView.less +14 -2
- package/src/sap/m/themes/base/RadioButton.less +22 -3
- package/src/sap/m/themes/base/RatingIndicator.less +4 -0
- package/src/sap/m/themes/base/SearchField.less +23 -59
- package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +3 -29
- package/src/sap/m/themes/base/SlideTile.less +18 -0
- package/src/sap/m/themes/base/Slider.less +18 -18
- package/src/sap/m/themes/base/SplitButton.less +5 -0
- package/src/sap/m/themes/base/StandardListItem.less +5 -9
- package/src/sap/m/themes/base/SuggestionsPopover.less +1 -1
- package/src/sap/m/themes/base/Table.less +18 -21
- package/src/sap/m/themes/base/TextArea.less +32 -0
- package/src/sap/m/themes/base/TileContent.less +41 -1
- package/src/sap/m/themes/base/Token.less +17 -15
- package/src/sap/m/themes/base/Tokenizer.less +2 -2
- package/src/sap/m/themes/base/Toolbar.less +1 -1
- package/src/sap/m/themes/base/UploadCollection.less +2 -0
- package/src/sap/m/themes/base/ValueStateMessage.less +3 -3
- package/src/sap/m/themes/base/VariantManagement.less +97 -0
- package/src/sap/m/themes/base/Wizard.less +5 -4
- package/src/sap/m/themes/base/WizardProgressNavigator.less +8 -0
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/themes/sap_hcb/Carousel.less +3 -7
- package/src/sap/m/themes/sap_hcb/ComboBoxBase.less +0 -12
- package/src/sap/m/themes/sap_hcb/InputBase.less +7 -42
- package/src/sap/m/themes/sap_hcb/Panel.less +4 -0
- package/src/sap/m/themes/sap_hcb/Popover.less +3 -0
- package/src/sap/m/themes/sap_hcb/Slider.less +11 -0
- package/src/sap/m/themes/sap_hcb/Token.less +4 -0
- package/src/sap/m/themes/sap_hcb/Tokenizer.less +1 -0
- package/src/sap/m/themes/sap_hcb/ValueStateHeader.less +4 -0
- package/src/sap/m/themes/sap_hcb/ValueStateMessage.less +12 -1
- package/src/sap/m/upload/UploadSet.js +330 -34
- package/src/sap/m/upload/UploadSetItem.js +74 -5
|
@@ -107,7 +107,7 @@ sap.ui.define([
|
|
|
107
107
|
* @extends sap.ui.core.Control
|
|
108
108
|
*
|
|
109
109
|
* @author SAP SE
|
|
110
|
-
* @version 1.
|
|
110
|
+
* @version 1.102.0
|
|
111
111
|
* @since 1.34
|
|
112
112
|
*
|
|
113
113
|
* @public
|
|
@@ -123,43 +123,43 @@ sap.ui.define([
|
|
|
123
123
|
/**
|
|
124
124
|
* If set to true, the change of the value will be animated.
|
|
125
125
|
*/
|
|
126
|
-
"animateTextChange": {type: "boolean", group: "Behavior", defaultValue: true},
|
|
126
|
+
"animateTextChange": { type: "boolean", group: "Behavior", defaultValue: true },
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
129
|
* If set to true, the value parameter contains a numeric value and scale. If set to false (default), the value parameter contains a numeric value only.
|
|
130
130
|
*/
|
|
131
|
-
"formatterValue": {type: "boolean", group: "Data", defaultValue: false},
|
|
131
|
+
"formatterValue": { type: "boolean", group: "Data", defaultValue: false },
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
134
|
* The icon to be displayed as a graphical element within the control. This can be an image or an icon from the icon font.
|
|
135
135
|
*/
|
|
136
|
-
"icon": {type: "sap.ui.core.URI", group: "Appearance", defaultValue: null},
|
|
136
|
+
"icon": { type: "sap.ui.core.URI", group: "Appearance", defaultValue: null },
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
139
|
* Description of an icon that is used in the tooltip.
|
|
140
140
|
*/
|
|
141
|
-
"iconDescription": {type: "string", group: "Accessibility", defaultValue: null},
|
|
141
|
+
"iconDescription": { type: "string", group: "Accessibility", defaultValue: null },
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
144
|
* The indicator arrow that shows value deviation.
|
|
145
145
|
*/
|
|
146
|
-
"indicator": {type: "sap.m.DeviationIndicator", group: "Appearance", defaultValue: "None"},
|
|
146
|
+
"indicator": { type: "sap.m.DeviationIndicator", group: "Appearance", defaultValue: "None" },
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
149
|
* If set to true, the omitted value property is set to 0.
|
|
150
150
|
*/
|
|
151
|
-
"nullifyValue": {type: "boolean", group: "Behavior", defaultValue: true},
|
|
151
|
+
"nullifyValue": { type: "boolean", group: "Behavior", defaultValue: true },
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
154
|
* The scaling prefix. Financial characters can be used for currencies and counters. The SI prefixes can be used for units. If the scaling prefix contains more than three characters, only the first three characters are displayed.
|
|
155
155
|
*/
|
|
156
|
-
"scale": {type: "string", group: "Appearance", defaultValue: null},
|
|
156
|
+
"scale": { type: "string", group: "Appearance", defaultValue: null },
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
159
|
* Updates the size of the control. If not set, then the default size is applied based on the device tile.
|
|
160
160
|
* @deprecated Since version 1.38.0. The NumericContent control has now a fixed size, depending on the used media (desktop, tablet or phone).
|
|
161
161
|
*/
|
|
162
|
-
"size": {type: "sap.m.Size", group: "Appearance", defaultValue: "Auto", deprecated: true},
|
|
162
|
+
"size": { type: "sap.m.Size", group: "Appearance", defaultValue: "Auto", deprecated: true },
|
|
163
163
|
|
|
164
164
|
/**
|
|
165
165
|
* The number of characters of the <code>value</code> property to display.
|
|
@@ -167,32 +167,32 @@ sap.ui.define([
|
|
|
167
167
|
* <b>Note</b> If <code>adaptiveFontSize</code> is set to <code>true</code> the default value of this property will vary between languages.
|
|
168
168
|
* If <code>adaptiveFontSize</code> is set to <code>false</code> the default value of this property is <code>4</code>.
|
|
169
169
|
*/
|
|
170
|
-
"truncateValueTo": {type: "int", group: "Appearance"},
|
|
170
|
+
"truncateValueTo": { type: "int", group: "Appearance" },
|
|
171
171
|
|
|
172
172
|
/**
|
|
173
173
|
* The actual value.
|
|
174
174
|
*/
|
|
175
|
-
"value": {type: "string", group: "Data", defaultValue: null},
|
|
175
|
+
"value": { type: "string", group: "Data", defaultValue: null },
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
178
|
* The semantic color of the value.
|
|
179
179
|
*/
|
|
180
|
-
"valueColor": {type: "sap.m.ValueColor", group: "Appearance", defaultValue: "Neutral"},
|
|
180
|
+
"valueColor": { type: "sap.m.ValueColor", group: "Appearance", defaultValue: "Neutral" },
|
|
181
181
|
|
|
182
182
|
/**
|
|
183
183
|
* The width of the control. If it is not set, the size of the control is defined by the 'size' property.
|
|
184
184
|
*/
|
|
185
|
-
"width": {type: "sap.ui.core.CSSSize", group: "Appearance", defaultValue: null},
|
|
185
|
+
"width": { type: "sap.ui.core.CSSSize", group: "Appearance", defaultValue: null },
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
188
|
* If the value is set to false, the content is adjusted to the whole size of the control.
|
|
189
189
|
*/
|
|
190
|
-
"withMargin": {type: "boolean", group: "Appearance", defaultValue: true},
|
|
190
|
+
"withMargin": { type: "boolean", group: "Appearance", defaultValue: true },
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
193
|
* Indicates the load status.
|
|
194
194
|
*/
|
|
195
|
-
"state": {type: "sap.m.LoadState", group: "Behavior", defaultValue: "Loaded"},
|
|
195
|
+
"state": { type: "sap.m.LoadState", group: "Behavior", defaultValue: "Loaded" },
|
|
196
196
|
|
|
197
197
|
/**
|
|
198
198
|
* If set to its default value true this property applies the appropriate font style class based on the language. When set to false the font size will always be large
|
|
@@ -200,7 +200,7 @@ sap.ui.define([
|
|
|
200
200
|
* @experimental As of version 1.73 Disclaimer: this property is in a beta state - incompatible API changes may be done before its official public release. Use at your own discretion.
|
|
201
201
|
* @since 1.73
|
|
202
202
|
*/
|
|
203
|
-
"adaptiveFontSize": {type: "boolean", group: "Appearance", defaultValue: true}
|
|
203
|
+
"adaptiveFontSize": { type: "boolean", group: "Appearance", defaultValue: true }
|
|
204
204
|
|
|
205
205
|
|
|
206
206
|
},
|
|
@@ -236,8 +236,8 @@ sap.ui.define([
|
|
|
236
236
|
|
|
237
237
|
NumericContent.prototype._getMaxDigitsData = function () {
|
|
238
238
|
var sFontClass = null,
|
|
239
|
-
|
|
240
|
-
|
|
239
|
+
sLang = sap.ui.getCore().getConfiguration().getLanguage().toLowerCase(),
|
|
240
|
+
iMaxLength = LANG_MAP[sLang] || 4;
|
|
241
241
|
|
|
242
242
|
if (this.getAdaptiveFontSize()) {
|
|
243
243
|
switch (iMaxLength) {
|
|
@@ -300,7 +300,7 @@ sap.ui.define([
|
|
|
300
300
|
* Shows/hides icon depending if it fits or not.
|
|
301
301
|
* @private
|
|
302
302
|
*/
|
|
303
|
-
NumericContent.prototype._checkIfIconFits = function() {
|
|
303
|
+
NumericContent.prototype._checkIfIconFits = function () {
|
|
304
304
|
//first check if parent tile is going to resize in the future so resize it now for our calculation
|
|
305
305
|
var oParentTile = this._getParentTile();
|
|
306
306
|
if (oParentTile && (oParentTile.isA("sap.m.GenericTile") || oParentTile.isA("sap.m.SlideTile"))) {
|
|
@@ -505,9 +505,17 @@ sap.ui.define([
|
|
|
505
505
|
// remove the invisible unicode character LTR and RTL mark before processing the regular expression.
|
|
506
506
|
var sTrimmedValue = sValue.replace(String.fromCharCode(8206), "").replace(String.fromCharCode(8207), "");
|
|
507
507
|
|
|
508
|
+
// extract value and scale information from string using regex.
|
|
509
|
+
var aValueMatches = sTrimmedValue.match(/([+-., \d]*)/g) || [];
|
|
510
|
+
var aScaleMatches = sTrimmedValue.match(/[^+-., \d]/g) || [];
|
|
511
|
+
|
|
508
512
|
return {
|
|
509
|
-
|
|
510
|
-
|
|
513
|
+
value: aValueMatches.reduce(function (acc, curVal){
|
|
514
|
+
return acc + curVal;
|
|
515
|
+
}, '').trim(),
|
|
516
|
+
scale: aScaleMatches.reduce(function (acc, curVal){
|
|
517
|
+
return acc + curVal;
|
|
518
|
+
}, '').trim()
|
|
511
519
|
};
|
|
512
520
|
};
|
|
513
521
|
|
|
@@ -38,7 +38,7 @@ function(
|
|
|
38
38
|
* @extends sap.m.Input
|
|
39
39
|
*
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.102.0
|
|
42
42
|
*
|
|
43
43
|
* @constructor
|
|
44
44
|
* @private
|
|
@@ -48,7 +48,8 @@ function(
|
|
|
48
48
|
var NumericInput = Input.extend("sap.m.NumericInput", {
|
|
49
49
|
metadata: {
|
|
50
50
|
library: "sap.m"
|
|
51
|
-
}
|
|
51
|
+
},
|
|
52
|
+
renderer: NumericInputRenderer
|
|
52
53
|
});
|
|
53
54
|
|
|
54
55
|
NumericInput.prototype.onBeforeRendering = function() {
|
|
@@ -41,6 +41,18 @@ sap.ui.define(["sap/ui/core/Renderer", "./InputRenderer", "sap/ui/Device", "sap/
|
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
+
/**
|
|
45
|
+
* Returns aria accessibility role for the control.
|
|
46
|
+
*
|
|
47
|
+
* @protected
|
|
48
|
+
* @override
|
|
49
|
+
* @param {sap.m.Input} oControl An object representation of the control
|
|
50
|
+
* @returns {string}
|
|
51
|
+
*/
|
|
52
|
+
NumericInputRenderer.getAriaRole = function (oControl) {
|
|
53
|
+
return "spinbutton";
|
|
54
|
+
};
|
|
55
|
+
|
|
44
56
|
//Accessibility behavior of the Input needs to be extended
|
|
45
57
|
/**
|
|
46
58
|
* Overwrites the accessibility state using the <code>getAccessibilityState</code> method of the <code>InputBaseRenderer</code>.
|
|
@@ -49,7 +61,7 @@ sap.ui.define(["sap/ui/core/Renderer", "./InputRenderer", "sap/ui/Device", "sap/
|
|
|
49
61
|
* @returns {Array} mAccessibilityState
|
|
50
62
|
*/
|
|
51
63
|
NumericInputRenderer.getAccessibilityState = function(oNumericInput) {
|
|
52
|
-
var mAccessibilityState = InputRenderer.getAccessibilityState(
|
|
64
|
+
var mAccessibilityState = InputRenderer.getAccessibilityState.apply(this, arguments),
|
|
53
65
|
fMin,
|
|
54
66
|
fMax,
|
|
55
67
|
fNow,
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
'sap/ui/base/ManagedObjectObserver',
|
|
17
17
|
'sap/ui/core/Core'
|
|
18
18
|
],
|
|
19
|
-
function(library, Control, coreLibrary, Text, KeyCodes, ObjectAttributeRenderer, Log, ManagedObjectObserver,
|
|
19
|
+
function(library, Control, coreLibrary, Text, KeyCodes, ObjectAttributeRenderer, Log, ManagedObjectObserver, oCore) {
|
|
20
20
|
"use strict";
|
|
21
21
|
|
|
22
22
|
// shortcut for sap.ui.core.TextDirection
|
|
@@ -42,7 +42,7 @@ function(library, Control, coreLibrary, Text, KeyCodes, ObjectAttributeRenderer,
|
|
|
42
42
|
* <code>text</code> property is styled and acts as a link. In this case the <code>text</code>
|
|
43
43
|
* property must also be set, as otherwise there will be no link displayed for the user.
|
|
44
44
|
* @extends sap.ui.core.Control
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.102.0
|
|
46
46
|
*
|
|
47
47
|
* @constructor
|
|
48
48
|
* @public
|
|
@@ -156,11 +156,10 @@ function(library, Control, coreLibrary, Text, KeyCodes, ObjectAttributeRenderer,
|
|
|
156
156
|
sText = this.getAggregation('customContent') ? this.getAggregation('customContent').getText() : this.getText(),
|
|
157
157
|
sTextDir = this.getTextDirection(),
|
|
158
158
|
oParent = this.getParent(),
|
|
159
|
-
bPageRTL =
|
|
159
|
+
bPageRTL = oCore.getConfiguration().getRTL(),
|
|
160
160
|
iMaxLines,
|
|
161
161
|
bWrap = true,
|
|
162
162
|
oppositeDirectionMarker = '',
|
|
163
|
-
oCore = sap.ui.getCore(),
|
|
164
163
|
sResult;
|
|
165
164
|
this._bEmptyIndicatorMode = this._isEmptyIndicatorMode();
|
|
166
165
|
|
|
@@ -192,7 +191,7 @@ function(library, Control, coreLibrary, Text, KeyCodes, ObjectAttributeRenderer,
|
|
|
192
191
|
oAttrAggregation.setProperty('textDirection', sTextDir, true);
|
|
193
192
|
|
|
194
193
|
//if attribute is used inside responsive ObjectHeader or in ObjectListItem - only 1 line
|
|
195
|
-
if (oParent
|
|
194
|
+
if (oParent && oParent.isA("sap.m.ObjectListItem")) {
|
|
196
195
|
bWrap = false;
|
|
197
196
|
iMaxLines = ObjectAttributeRenderer.MAX_LINES.SINGLE_LINE;
|
|
198
197
|
}
|
|
@@ -70,7 +70,7 @@ sap.ui.define(["sap/ui/core/library"],
|
|
|
70
70
|
// If the attribute is link (active or customContent is Link) only the "text" should be clickable,
|
|
71
71
|
// so render title, colon and text in different spans.
|
|
72
72
|
// For the ObjectHeader the rendering of the parts of the ObjectAttribute is always in separate spans, even when it is not active.
|
|
73
|
-
if (oOA._isClickable() || oParent
|
|
73
|
+
if (oOA._isClickable() || (oParent && oParent.isA("sap.m.ObjectHeader"))) {
|
|
74
74
|
this.renderActiveTitle(oRm, oOA);
|
|
75
75
|
this.renderActiveText(oRm, oOA, oParent);
|
|
76
76
|
} else {
|
|
@@ -128,7 +128,7 @@ sap.ui.define(["sap/ui/core/library"],
|
|
|
128
128
|
oRm.class("sapMObjectAttributeText");
|
|
129
129
|
if (oAttrAggregation && oAttrAggregation.isA("sap.m.Link")) {
|
|
130
130
|
oAttrAggregation.setAriaHasPopup(oOA.getAriaHasPopup());
|
|
131
|
-
} else {
|
|
131
|
+
} else if (oOA.getText() && oOA.getActive()) {
|
|
132
132
|
oRm.attr("tabindex", "0");
|
|
133
133
|
oRm.attr("role", "link");
|
|
134
134
|
if (sAriaHasPopup) {
|
|
@@ -138,7 +138,7 @@ sap.ui.define(["sap/ui/core/library"],
|
|
|
138
138
|
oRm.openEnd();
|
|
139
139
|
|
|
140
140
|
if (oAttrAggregation && oParent) {
|
|
141
|
-
if ((
|
|
141
|
+
if (oParent.isA("sap.m.ObjectHeader") && !oOA.getParent().getResponsive()) {
|
|
142
142
|
oOA._setControlWrapping(oAttrAggregation, true);
|
|
143
143
|
} else {
|
|
144
144
|
oOA._setControlWrapping(oAttrAggregation, false, ObjectAttributeRenderer.MAX_LINES.SINGLE_LINE);
|
|
@@ -52,7 +52,7 @@ function(
|
|
|
52
52
|
*
|
|
53
53
|
* <b>Note:</b> This control should not be used with {@link sap.m.Label} or in Forms along with {@link sap.m.Label}.
|
|
54
54
|
* @extends sap.ui.core.Control
|
|
55
|
-
* @version 1.
|
|
55
|
+
* @version 1.102.0
|
|
56
56
|
*
|
|
57
57
|
* @constructor
|
|
58
58
|
* @public
|
|
@@ -422,7 +422,7 @@ function(
|
|
|
422
422
|
var oTitle = this.getAggregation("_titleControl");
|
|
423
423
|
|
|
424
424
|
if (sAssociationName === "ariaLabelledBy") {
|
|
425
|
-
if (this.getTitleActive() && oTitle instanceof
|
|
425
|
+
if (this.getTitleActive() && oTitle instanceof Link) {
|
|
426
426
|
oTitle.addAssociation("ariaLabelledBy", sId, true);
|
|
427
427
|
}
|
|
428
428
|
}
|
|
@@ -435,7 +435,7 @@ function(
|
|
|
435
435
|
var oTitle = this.getAggregation("_titleControl");
|
|
436
436
|
|
|
437
437
|
if (sAssociationName === "ariaLabelledBy") {
|
|
438
|
-
if (this.getTitleActive() && oTitle instanceof
|
|
438
|
+
if (this.getTitleActive() && oTitle instanceof Link) {
|
|
439
439
|
oTitle.removeAssociation("ariaLabelledBy", vObject, true);
|
|
440
440
|
}
|
|
441
441
|
}
|
|
@@ -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.102.0
|
|
66
66
|
*
|
|
67
67
|
* @constructor
|
|
68
68
|
* @public
|
|
@@ -549,18 +549,20 @@ sap.ui.define([
|
|
|
549
549
|
*/
|
|
550
550
|
ObjectMarker.prototype._createCustomLink = function () {
|
|
551
551
|
var oCustomLink = new CustomLink(this.getId() + "-link", {
|
|
552
|
-
|
|
553
|
-
});
|
|
554
|
-
|
|
555
|
-
oCustomLink.attachPress(function(oEvent) {
|
|
556
|
-
this.firePress({
|
|
557
|
-
type: this.getType()
|
|
552
|
+
wrapping: true
|
|
558
553
|
});
|
|
559
|
-
|
|
554
|
+
|
|
555
|
+
oCustomLink.attachPress(this._firePress, this);
|
|
560
556
|
|
|
561
557
|
return oCustomLink;
|
|
562
558
|
};
|
|
563
559
|
|
|
560
|
+
ObjectMarker.prototype._firePress = function() {
|
|
561
|
+
this.firePress({
|
|
562
|
+
type: this.getType()
|
|
563
|
+
});
|
|
564
|
+
};
|
|
565
|
+
|
|
564
566
|
/**
|
|
565
567
|
* Returns a new custom text control.
|
|
566
568
|
*
|
|
@@ -591,6 +593,16 @@ sap.ui.define([
|
|
|
591
593
|
|
|
592
594
|
CustomTextRenderer.apiVersion = 2;
|
|
593
595
|
|
|
596
|
+
CustomTextRenderer.render = function(oRm, oControl) {
|
|
597
|
+
if (oControl.getIconOnly()) {
|
|
598
|
+
var oIconControl = oControl._getIconAggregation();
|
|
599
|
+
oIconControl.setAlt(oControl.getTooltip_AsString());
|
|
600
|
+
oRm.renderControl(oIconControl);
|
|
601
|
+
} else {
|
|
602
|
+
TextRenderer.render.call(this, oRm, oControl);
|
|
603
|
+
}
|
|
604
|
+
};
|
|
605
|
+
|
|
594
606
|
CustomTextRenderer.renderText = function(oRm, oControl) {
|
|
595
607
|
oRm.renderControl(oControl._getIconAggregation());
|
|
596
608
|
TextRenderer.renderText(oRm, oControl);
|
|
@@ -600,7 +612,8 @@ sap.ui.define([
|
|
|
600
612
|
metadata: {
|
|
601
613
|
library: "sap.m",
|
|
602
614
|
properties: {
|
|
603
|
-
icon: {type
|
|
615
|
+
icon: {type: "sap.ui.core.URI", group: "Data", defaultValue: null},
|
|
616
|
+
iconOnly: {type: "boolean", group: "Appearance", defaultValue: false}
|
|
604
617
|
},
|
|
605
618
|
aggregations: {
|
|
606
619
|
_iconControl: {type: "sap.ui.core.Icon", multiple: false, visibility: "hidden"}
|
|
@@ -643,6 +656,16 @@ sap.ui.define([
|
|
|
643
656
|
|
|
644
657
|
CustomLinkRenderer.apiVersion = 2;
|
|
645
658
|
|
|
659
|
+
CustomLinkRenderer.render = function(oRm, oControl) {
|
|
660
|
+
if (oControl.getIconOnly()) {
|
|
661
|
+
var oIconControl = oControl._getIconAggregation();
|
|
662
|
+
oIconControl.setAlt(oControl.getTooltip_AsString());
|
|
663
|
+
oRm.renderControl(oIconControl);
|
|
664
|
+
} else {
|
|
665
|
+
LinkRenderer.render.call(this, oRm, oControl);
|
|
666
|
+
}
|
|
667
|
+
};
|
|
668
|
+
|
|
646
669
|
CustomLinkRenderer.renderText = function(oRm, oControl) {
|
|
647
670
|
oRm.renderControl(oControl._getIconAggregation());
|
|
648
671
|
LinkRenderer.renderText(oRm, oControl);
|
|
@@ -652,7 +675,8 @@ sap.ui.define([
|
|
|
652
675
|
metadata: {
|
|
653
676
|
library: "sap.m",
|
|
654
677
|
properties: {
|
|
655
|
-
icon: {type
|
|
678
|
+
icon: {type: "sap.ui.core.URI", group: "Data", defaultValue: null},
|
|
679
|
+
iconOnly: {type: "boolean", group: "Appearance", defaultValue: false}
|
|
656
680
|
},
|
|
657
681
|
aggregations: {
|
|
658
682
|
_iconControl: {type: "sap.ui.core.Icon", multiple: false, visibility: "hidden"}
|
|
@@ -24,13 +24,25 @@ sap.ui.define([],
|
|
|
24
24
|
* @param {sap.m.ObjectMarker} oControl an object representation of the control that should be rendered
|
|
25
25
|
*/
|
|
26
26
|
ObjectMarkerRenderer.render = function(oRm, oControl) {
|
|
27
|
+
var oInnerControl = oControl._getInnerControl(),
|
|
28
|
+
bIsIconOnly = oControl._isIconVisible() && !oControl._isTextVisible(),
|
|
29
|
+
oInnerIcon;
|
|
27
30
|
|
|
28
31
|
// start control wrapper
|
|
29
32
|
oRm.openStart("span", oControl);
|
|
30
33
|
oRm.class("sapMObjectMarker");
|
|
31
34
|
oRm.openEnd();
|
|
32
|
-
|
|
33
|
-
|
|
35
|
+
if (oInnerControl) {
|
|
36
|
+
oInnerControl.setIconOnly(bIsIconOnly);
|
|
37
|
+
if (oControl.hasListeners("press")) {
|
|
38
|
+
// if the control have "press" attached, and is icon-only, attach control's "press" handler to the inner icon
|
|
39
|
+
oInnerIcon = oInnerControl._getIconAggregation();
|
|
40
|
+
if (bIsIconOnly && oInnerIcon && !oInnerIcon.hasListeners("press")) {
|
|
41
|
+
oInnerIcon.attachPress(oControl._firePress, oControl);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
oRm.renderControl(oInnerControl);
|
|
34
46
|
// end control wrapper
|
|
35
47
|
oRm.close("span");
|
|
36
48
|
};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define(['sap/ui/core/ValueStateSupport', 'sap/ui/core/IndicationColorSupport', 'sap/ui/core/InvisibleText', 'sap/ui/core/library', './library', 'sap/ui/core/Core'],
|
|
8
|
-
function(ValueStateSupport, IndicationColorSupport, InvisibleText, coreLibrary, library,
|
|
8
|
+
function(ValueStateSupport, IndicationColorSupport, InvisibleText, coreLibrary, library, oCore) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
|
|
@@ -16,7 +16,7 @@ sap.ui.define(['sap/ui/core/ValueStateSupport', 'sap/ui/core/IndicationColorSupp
|
|
|
16
16
|
var EmptyIndicatorMode = library.EmptyIndicatorMode;
|
|
17
17
|
|
|
18
18
|
// shortcut for library resource bundle
|
|
19
|
-
var oRb =
|
|
19
|
+
var oRb = oCore.getLibraryResourceBundle("sap.m");
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
/**
|
|
@@ -46,7 +46,6 @@ sap.ui.define(['sap/ui/core/ValueStateSupport', 'sap/ui/core/IndicationColorSupp
|
|
|
46
46
|
sStateText = oObjStatus._getStateText(sState),
|
|
47
47
|
bInverted = oObjStatus.getInverted(),
|
|
48
48
|
sTextDir = oObjStatus.getTextDirection(),
|
|
49
|
-
oCore = sap.ui.getCore(),
|
|
50
49
|
bPageRTL = oCore.getConfiguration().getRTL(),
|
|
51
50
|
oAccAttributes = {
|
|
52
51
|
roledescription: oCore.getLibraryResourceBundle("sap.m").getText("OBJECT_STATUS")
|
|
@@ -103,7 +102,7 @@ sap.ui.define(['sap/ui/core/ValueStateSupport', 'sap/ui/core/IndicationColorSupp
|
|
|
103
102
|
oRm.attr("dir", sTextDir.toLowerCase());
|
|
104
103
|
}
|
|
105
104
|
|
|
106
|
-
oRm.attr("data-colon",
|
|
105
|
+
oRm.attr("data-colon", oCore.getLibraryResourceBundle("sap.m").getText("LABEL_COLON"));
|
|
107
106
|
|
|
108
107
|
oRm.openEnd();
|
|
109
108
|
oRm.text(oObjStatus.getTitle());
|
|
@@ -131,7 +131,7 @@ sap.ui.define([
|
|
|
131
131
|
* @implements sap.ui.core.Toolbar,sap.m.IBar
|
|
132
132
|
*
|
|
133
133
|
* @author SAP SE
|
|
134
|
-
* @version 1.
|
|
134
|
+
* @version 1.102.0
|
|
135
135
|
*
|
|
136
136
|
* @constructor
|
|
137
137
|
* @public
|
|
@@ -998,6 +998,10 @@ sap.ui.define([
|
|
|
998
998
|
.addStyleClass("sapMTBHiddenElement");
|
|
999
999
|
}
|
|
1000
1000
|
|
|
1001
|
+
//Removing accessibility attributes
|
|
1002
|
+
this._oOverflowToolbarButtonClone._getTooltip = function() { return ""; };
|
|
1003
|
+
this._oOverflowToolbarButtonClone.removeAllAssociation("ariaLabelledBy");
|
|
1004
|
+
|
|
1001
1005
|
return this._oOverflowToolbarButtonClone;
|
|
1002
1006
|
};
|
|
1003
1007
|
|
|
@@ -1581,6 +1585,22 @@ sap.ui.define([
|
|
|
1581
1585
|
return null;
|
|
1582
1586
|
};
|
|
1583
1587
|
|
|
1588
|
+
OverflowToolbar.prototype.getAccessibilityInfo = function () {
|
|
1589
|
+
var aContent = [],
|
|
1590
|
+
aVisibleContent = this._getVisibleAndNonOverflowContent();
|
|
1591
|
+
|
|
1592
|
+
if (aVisibleContent.length > 0) {
|
|
1593
|
+
aContent = aContent.concat(aVisibleContent);
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
if (this._getOverflowButtonNeeded()) {
|
|
1597
|
+
aContent.push(this._getOverflowButton());
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
return {
|
|
1601
|
+
children: aContent
|
|
1602
|
+
};
|
|
1603
|
+
};
|
|
1584
1604
|
|
|
1585
1605
|
/**
|
|
1586
1606
|
* Returns the control group based on the layout data
|
|
@@ -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.102.0
|
|
34
34
|
*
|
|
35
35
|
* @constructor
|
|
36
36
|
* @private
|
|
@@ -187,7 +187,7 @@ sap.ui.define(['./Popover', './OverflowToolbarAssociativePopoverControls', './Ov
|
|
|
187
187
|
return Popover.prototype._recalculateMargins.apply(this, arguments);
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
oPosParams.
|
|
190
|
+
oPosParams._fPopoverMarginBottom = oPosParams._fWindowHeight - oPosParams._$parent.offset().top + this._arrowOffset + oPosParams._fPopoverOffsetY;
|
|
191
191
|
return oPosParams;
|
|
192
192
|
};
|
|
193
193
|
|
|
@@ -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.102.0
|
|
26
26
|
*
|
|
27
27
|
* @constructor
|
|
28
28
|
* @public
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @param {object} [mSettings] initial settings for the new control
|
|
18
18
|
* @class Type for <code>filterItems</code> aggregation in P13nFilterPanel control.
|
|
19
19
|
* @extends sap.m.P13nFilterItem
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.102.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @private
|
|
23
23
|
* @since 1.56.0
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @param {object} [mSettings] initial settings for the new control
|
|
18
18
|
* @class Type for <code>columnsItems</code> aggregation in <code>P13nColumnsPanel</code> control.
|
|
19
19
|
* @extends sap.ui.core.Item
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.102.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @author SAP SE
|
|
23
23
|
* @public
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @class The <code>P13nColumnsPanel</code> control is used to define column-specific settings for table personalization.
|
|
39
39
|
* @extends sap.m.P13nPanel
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.102.0
|
|
42
42
|
* @constructor
|
|
43
43
|
* @deprecated as of version 1.98. Use the {@link sap.m.p13n.SelectionPanel} instead.
|
|
44
44
|
* @public
|