@openui5/sap.m 1.102.2 → 1.104.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 +2 -3
- package/.reuse/dep5 +17 -0
- package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +5 -0
- package/THIRDPARTY.txt +35 -2
- 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 +4 -4
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +1 -1
- package/src/sap/m/Bar.js +11 -10
- package/src/sap/m/BarInPageEnabler.js +1 -1
- package/src/sap/m/Breadcrumbs.js +27 -2
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +6 -5
- package/src/sap/m/Carousel.js +1 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +1 -1
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +1 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- package/src/sap/m/ColumnPopoverActionItem.js +1 -1
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
- package/src/sap/m/ColumnPopoverItem.js +1 -1
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +1 -1
- package/src/sap/m/ComboBoxBase.js +7 -7
- 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/CustomTile.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/DatePicker.js +15 -23
- package/src/sap/m/DateRangeSelection.js +48 -41
- package/src/sap/m/DateTimeField.js +87 -20
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +54 -24
- package/src/sap/m/DateTimePickerRenderer.js +1 -1
- package/src/sap/m/Dialog.js +3 -10
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateFormat.js +31 -13
- package/src/sap/m/DynamicDateOption.js +6 -4
- package/src/sap/m/DynamicDateRange.js +20 -3
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +29 -28
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +1 -1
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +1 -1
- package/src/sap/m/FlexItemData.js +2 -2
- package/src/sap/m/FormattedText.js +1 -1
- package/src/sap/m/GenericTag.js +5 -5
- package/src/sap/m/GenericTile.js +11 -7
- package/src/sap/m/GenericTileLineModeRenderer.js +4 -5
- package/src/sap/m/GenericTileRenderer.js +18 -6
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +59 -10
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +5 -24
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +2 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +4 -4
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +14 -3
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +63 -24
- package/src/sap/m/IllustratedMessageRenderer.js +10 -6
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/IllustrationPool.js +1 -0
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +2 -17
- package/src/sap/m/InputBase.js +12 -5
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InstanceManager.js +14 -19
- 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 +41 -5
- package/src/sap/m/LinkRenderer.js +18 -10
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +4 -1
- package/src/sap/m/ListItemBase.js +10 -2
- package/src/sap/m/MaskEnabler.js +52 -2
- package/src/sap/m/MaskInput.js +23 -1
- package/src/sap/m/MaskInputRenderer.js +10 -0
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +2 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +3 -3
- package/src/sap/m/MessageBox.js +1020 -908
- 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 +4 -1
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +4 -4
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +8 -8
- package/src/sap/m/NavContainer.js +23 -19
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +14 -1
- package/src/sap/m/ObjectAttributeRenderer.js +5 -4
- package/src/sap/m/ObjectHeader.js +4 -4
- package/src/sap/m/ObjectHeaderRenderer.js +11 -11
- package/src/sap/m/ObjectIdentifier.js +3 -3
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +7 -4
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectNumberRenderer.js +10 -3
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +35 -12
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +5 -0
- 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 +24 -24
- package/src/sap/m/P13nDialog.js +3 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +1 -1
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +1 -1
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +1 -1
- package/src/sap/m/P13nItem.js +1 -1
- package/src/sap/m/P13nPanel.js +1 -1
- package/src/sap/m/P13nSelectionItem.js +1 -1
- package/src/sap/m/P13nSelectionPanel.js +1 -1
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +1 -1
- package/src/sap/m/PDFViewer.js +1 -1
- package/src/sap/m/PDFViewerRenderer.js +1 -0
- package/src/sap/m/Page.js +1 -1
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +1 -1
- package/src/sap/m/PlanningCalendar.js +1 -1
- package/src/sap/m/PlanningCalendarHeader.js +2 -2
- 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 +5 -5
- package/src/sap/m/PopoverRenderer.js +2 -2
- package/src/sap/m/ProgressIndicator.js +15 -29
- package/src/sap/m/ProgressIndicatorRenderer.js +12 -3
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +2 -2
- 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 +2 -1
- package/src/sap/m/QuickViewPage.js +1 -1
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +2 -2
- package/src/sap/m/RangeSlider.js +75 -55
- package/src/sap/m/RangeSliderRenderer.js +34 -2
- package/src/sap/m/RatingIndicator.js +8 -1
- package/src/sap/m/RatingIndicatorRenderer.js +13 -4
- package/src/sap/m/ResponsivePopover.js +7 -6
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +16 -18
- package/src/sap/m/SelectDialog.js +2 -2
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +8 -8
- package/src/sap/m/SelectListRenderer.js +2 -2
- package/src/sap/m/SelectRenderer.js +37 -13
- package/src/sap/m/SelectionDetails.js +1 -1
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +5 -6
- package/src/sap/m/SimpleFixFlexRenderer.js +1 -0
- package/src/sap/m/SinglePlanningCalendar.js +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +1 -1
- package/src/sap/m/Slider.js +14 -5
- package/src/sap/m/SliderRenderer.js +27 -2
- package/src/sap/m/SliderTooltip.js +1 -1
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +3 -3
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitContainer.js +3 -11
- package/src/sap/m/StandardDynamicDateOption.js +1 -1
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +1 -1
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +3 -2
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +2 -2
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +1 -1
- package/src/sap/m/TablePersoController.js +2 -2
- package/src/sap/m/TablePersoDialog.js +2 -2
- package/src/sap/m/TablePersoProvider.js +2 -2
- package/src/sap/m/TableSelectDialog.js +2 -2
- package/src/sap/m/Text.js +2 -2
- package/src/sap/m/TextArea.js +4 -3
- package/src/sap/m/TextRenderer.js +2 -0
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +6 -6
- package/src/sap/m/TileContent.js +9 -9
- package/src/sap/m/TileContentRenderer.js +1 -1
- package/src/sap/m/TimePicker.js +73 -18
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +5 -3
- package/src/sap/m/TimePickerClocksRenderer.js +1 -0
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -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 -1
- package/src/sap/m/Tokenizer.js +1 -1
- package/src/sap/m/Toolbar.js +1 -1
- package/src/sap/m/ToolbarLayoutData.js +6 -2
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/UploadCollection.js +6 -6
- package/src/sap/m/UploadCollectionItem.js +1 -1
- package/src/sap/m/UploadCollectionParameter.js +1 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/VariantItem.js +160 -0
- package/src/sap/m/VariantManagement.js +610 -547
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +3 -3
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +1 -1
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +1 -1
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/Wizard.js +1 -1
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +1 -1
- package/src/sap/m/changeHandler/MoveTableColumns.js +2 -2
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/designtime/VariantManagement.designtime.js +34 -24
- package/src/sap/m/designtime/messagebundle_de.properties +2 -2
- package/src/sap/m/flexibility/EngineFlex.js +48 -0
- package/src/sap/m/inputUtils/forwardItemProperties.js +4 -0
- package/src/sap/m/library.js +32 -9
- package/src/sap/m/messagebundle.properties +33 -2
- package/src/sap/m/messagebundle_ar.properties +27 -12
- package/src/sap/m/messagebundle_bg.properties +22 -7
- package/src/sap/m/messagebundle_ca.properties +22 -7
- package/src/sap/m/messagebundle_cs.properties +24 -9
- package/src/sap/m/messagebundle_cy.properties +22 -7
- package/src/sap/m/messagebundle_da.properties +22 -7
- package/src/sap/m/messagebundle_de.properties +23 -8
- package/src/sap/m/messagebundle_el.properties +23 -8
- package/src/sap/m/messagebundle_en.properties +22 -7
- package/src/sap/m/messagebundle_en_GB.properties +22 -7
- package/src/sap/m/messagebundle_en_US_sappsd.properties +22 -7
- package/src/sap/m/messagebundle_en_US_saprigi.properties +22 -7
- package/src/sap/m/messagebundle_en_US_saptrc.properties +22 -7
- package/src/sap/m/messagebundle_es.properties +22 -7
- package/src/sap/m/messagebundle_es_MX.properties +22 -7
- package/src/sap/m/messagebundle_et.properties +22 -7
- package/src/sap/m/messagebundle_fi.properties +22 -7
- package/src/sap/m/messagebundle_fr.properties +35 -20
- package/src/sap/m/messagebundle_fr_CA.properties +22 -7
- package/src/sap/m/messagebundle_hi.properties +22 -7
- package/src/sap/m/messagebundle_hr.properties +26 -11
- package/src/sap/m/messagebundle_hu.properties +24 -9
- package/src/sap/m/messagebundle_id.properties +22 -7
- package/src/sap/m/messagebundle_it.properties +29 -14
- package/src/sap/m/messagebundle_iw.properties +23 -8
- package/src/sap/m/messagebundle_ja.properties +22 -7
- package/src/sap/m/messagebundle_kk.properties +22 -7
- package/src/sap/m/messagebundle_ko.properties +39 -24
- package/src/sap/m/messagebundle_lt.properties +22 -7
- package/src/sap/m/messagebundle_lv.properties +22 -7
- package/src/sap/m/messagebundle_ms.properties +22 -7
- package/src/sap/m/messagebundle_nl.properties +36 -21
- package/src/sap/m/messagebundle_no.properties +27 -12
- package/src/sap/m/messagebundle_pl.properties +23 -8
- package/src/sap/m/messagebundle_pt.properties +27 -12
- package/src/sap/m/messagebundle_pt_PT.properties +22 -7
- package/src/sap/m/messagebundle_ro.properties +23 -8
- package/src/sap/m/messagebundle_ru.properties +22 -7
- package/src/sap/m/messagebundle_sh.properties +23 -8
- package/src/sap/m/messagebundle_sk.properties +22 -7
- package/src/sap/m/messagebundle_sl.properties +24 -9
- package/src/sap/m/messagebundle_sv.properties +22 -7
- package/src/sap/m/messagebundle_th.properties +45 -30
- package/src/sap/m/messagebundle_tr.properties +23 -8
- package/src/sap/m/messagebundle_uk.properties +23 -8
- package/src/sap/m/messagebundle_vi.properties +22 -7
- package/src/sap/m/messagebundle_zh_CN.properties +24 -9
- package/src/sap/m/messagebundle_zh_TW.properties +26 -11
- package/src/sap/m/p13n/AbstractContainer.js +5 -5
- package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
- package/src/sap/m/p13n/BasePanel.js +4 -3
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +1253 -0
- package/src/sap/m/p13n/FlexUtil.js +162 -0
- package/src/sap/m/p13n/GroupController.js +145 -0
- package/src/sap/m/p13n/GroupPanel.js +10 -3
- package/src/sap/m/p13n/MetadataHelper.js +35 -0
- package/src/sap/m/p13n/PersistenceProvider.js +135 -0
- package/src/sap/m/p13n/Popup.js +46 -9
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +563 -0
- package/src/sap/m/p13n/SelectionPanel.js +13 -1
- package/src/sap/m/p13n/SortController.js +153 -0
- package/src/sap/m/p13n/SortPanel.js +11 -1
- package/src/sap/m/p13n/enum/PersistenceMode.js +43 -0
- package/src/sap/m/p13n/handler/xConfigHandler.js +166 -0
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +90 -0
- package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +75 -0
- package/src/sap/m/p13n/modification/ModificationHandler.js +133 -0
- package/src/sap/m/p13n/modules/AdaptationProvider.js +67 -0
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +124 -0
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +101 -0
- package/src/sap/m/p13n/modules/UIManager.js +230 -0
- package/src/sap/m/p13n/modules/xConfigAPI.js +286 -0
- package/src/sap/m/plugins/ColumnResizer.js +15 -1
- package/src/sap/m/plugins/DataStateIndicator.js +12 -4
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +2 -2
- package/src/sap/m/rules/DatePicker.support.js +4 -3
- 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 +3 -3
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +3 -3
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +1 -1
- package/src/sap/m/semantic/ShareMenuPage.js +1 -1
- package/src/sap/m/semantic/SortAction.js +1 -1
- package/src/sap/m/semantic/SortSelect.js +1 -1
- package/src/sap/m/table/Util.js +8 -3
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -1
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +9 -3
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroup.js +21 -1
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +13 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotal.js +21 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +13 -1
- package/src/sap/m/themes/base/ActionListItem.less +1 -1
- package/src/sap/m/themes/base/Breadcrumbs.less +17 -0
- package/src/sap/m/themes/base/CheckBox.less +2 -0
- package/src/sap/m/themes/base/Dialog.less +1 -2
- package/src/sap/m/themes/base/FeedContent.less +13 -5
- package/src/sap/m/themes/base/GenericTag.less +5 -3
- package/src/sap/m/themes/base/GenericTile.less +13 -9
- package/src/sap/m/themes/base/IllustratedMessage.less +7 -0
- package/src/sap/m/themes/base/LightBox.less +0 -12
- package/src/sap/m/themes/base/MessageBox.less +4 -3
- package/src/sap/m/themes/base/NumericContent.less +1 -1
- package/src/sap/m/themes/base/ObjectNumber.less +5 -0
- package/src/sap/m/themes/base/ObjectStatus.less +2 -1
- package/src/sap/m/themes/base/OverflowToolbarAssociativePopover.less +5 -1
- package/src/sap/m/themes/base/ProgressIndicator.less +0 -4
- package/src/sap/m/themes/base/Select.less +1 -3
- package/src/sap/m/themes/base/SelectList.less +0 -5
- package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +7 -0
- package/src/sap/m/themes/base/SlideTile.less +5 -4
- package/src/sap/m/themes/base/StandardListItem.less +1 -0
- package/src/sap/m/themes/base/Table.less +11 -1
- package/src/sap/m/themes/base/TimePickerClock.less +7 -0
- package/src/sap/m/themes/base/Title.less +1 -1
- package/src/sap/m/upload/UploadSet.js +98 -15
- package/src/sap/m/upload/UploadSetItem.js +16 -4
- package/src/sap/m/upload/UploadSetRenderer.js +8 -16
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +2 -1
package/src/sap/m/SlideTile.js
CHANGED
package/src/sap/m/Slider.js
CHANGED
|
@@ -95,7 +95,7 @@ function(
|
|
|
95
95
|
* @implements sap.ui.core.IFormContent
|
|
96
96
|
*
|
|
97
97
|
* @author SAP SE
|
|
98
|
-
* @version 1.
|
|
98
|
+
* @version 1.104.0
|
|
99
99
|
*
|
|
100
100
|
* @constructor
|
|
101
101
|
* @public
|
|
@@ -183,7 +183,14 @@ function(
|
|
|
183
183
|
*
|
|
184
184
|
* @since 1.44
|
|
185
185
|
*/
|
|
186
|
-
enableTickmarks: {type: "boolean", group: "Appearance", defaultValue: false}
|
|
186
|
+
enableTickmarks: {type: "boolean", group: "Appearance", defaultValue: false},
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Indicates whether a handle is pressed
|
|
190
|
+
*
|
|
191
|
+
* @private
|
|
192
|
+
*/
|
|
193
|
+
handlePressed: {type: "boolean", defaultValue: false, group: "Appearance", visibility: "hidden" }
|
|
187
194
|
},
|
|
188
195
|
defaultAggregation: "scale",
|
|
189
196
|
aggregations: {
|
|
@@ -1053,6 +1060,8 @@ function(
|
|
|
1053
1060
|
// add active state
|
|
1054
1061
|
this.$("inner").addClass(CSS_CLASS + "Pressed");
|
|
1055
1062
|
|
|
1063
|
+
this.setProperty("handlePressed", true);
|
|
1064
|
+
|
|
1056
1065
|
if (oTouch.target === this.getDomRef("handle")) {
|
|
1057
1066
|
|
|
1058
1067
|
this._fDiffX = (oTouch.pageX - jQuery(oNearestHandleDomRef).offset().left) + this._fSliderPaddingLeft - (this._fHandleWidth / 2);
|
|
@@ -1154,7 +1163,7 @@ function(
|
|
|
1154
1163
|
var fValue = this.getValue();
|
|
1155
1164
|
|
|
1156
1165
|
// remove the active state
|
|
1157
|
-
this
|
|
1166
|
+
this.setProperty("handlePressed", false);
|
|
1158
1167
|
|
|
1159
1168
|
if (this._fInitialValue !== fValue) {
|
|
1160
1169
|
this.fireChange({ value: fValue });
|
|
@@ -1590,8 +1599,8 @@ function(
|
|
|
1590
1599
|
sNewValueFixedPoint = this.toFixed(fNewValue, this.getDecimalPrecisionOfNumber(fStep));
|
|
1591
1600
|
fNewValue = Number(sNewValueFixedPoint);
|
|
1592
1601
|
|
|
1593
|
-
// update the value
|
|
1594
|
-
this.setProperty("value", fNewValue
|
|
1602
|
+
// update the value
|
|
1603
|
+
this.setProperty("value", fNewValue);
|
|
1595
1604
|
|
|
1596
1605
|
// update the value in DOM only when it has changed
|
|
1597
1606
|
if (fValue !== this.getValue()) {
|
|
@@ -213,6 +213,7 @@ sap.ui.define(['./SliderUtilities', "sap/ui/core/InvisibleText"],
|
|
|
213
213
|
this.renderTickmarksLabel(oRm, oSlider, oSlider.getMin());
|
|
214
214
|
oRm.openStart("li")
|
|
215
215
|
.class(SliderRenderer.CSS_CLASS + "Tick")
|
|
216
|
+
.attr("data-ui5-active-tickmark", this.shouldRenderFirstActiveTickmark(oSlider))
|
|
216
217
|
.style("width", fTickmarksDistance + "%")
|
|
217
218
|
.openEnd()
|
|
218
219
|
.close("li");
|
|
@@ -224,14 +225,16 @@ sap.ui.define(['./SliderUtilities', "sap/ui/core/InvisibleText"],
|
|
|
224
225
|
}
|
|
225
226
|
|
|
226
227
|
oRm.openStart("li").class(SliderRenderer.CSS_CLASS + "Tick")
|
|
227
|
-
.style("width", fTickmarksDistance + "%")
|
|
228
|
-
|
|
228
|
+
.style("width", fTickmarksDistance + "%");
|
|
229
|
+
this.applyTickmarkStyles(oRm, oSlider, i, iTickmarksToRender);
|
|
230
|
+
oRm.openEnd()
|
|
229
231
|
.close("li");
|
|
230
232
|
}
|
|
231
233
|
|
|
232
234
|
this.renderTickmarksLabel(oRm, oSlider, oSlider.getMax());
|
|
233
235
|
oRm.openStart("li")
|
|
234
236
|
.class(SliderRenderer.CSS_CLASS + "Tick")
|
|
237
|
+
.attr("data-ui5-active-tickmark", this.shouldRenderLastActiveTickmark(oSlider))
|
|
235
238
|
.style("width", "0")
|
|
236
239
|
.openEnd()
|
|
237
240
|
.close("li");
|
|
@@ -303,6 +306,10 @@ sap.ui.define(['./SliderUtilities', "sap/ui/core/InvisibleText"],
|
|
|
303
306
|
*/
|
|
304
307
|
SliderRenderer.addInnerClass = function(oRm, oSlider) {
|
|
305
308
|
oRm.class(SliderRenderer.CSS_CLASS + "Inner");
|
|
309
|
+
|
|
310
|
+
if (oSlider.getProperty("handlePressed")) {
|
|
311
|
+
oRm.class(SliderRenderer.CSS_CLASS + "Pressed");
|
|
312
|
+
}
|
|
306
313
|
};
|
|
307
314
|
|
|
308
315
|
/**
|
|
@@ -314,6 +321,10 @@ sap.ui.define(['./SliderUtilities', "sap/ui/core/InvisibleText"],
|
|
|
314
321
|
*/
|
|
315
322
|
SliderRenderer.addProgressIndicatorClass = function(oRm, oSlider) {
|
|
316
323
|
oRm.class(SliderRenderer.CSS_CLASS + "Progress");
|
|
324
|
+
|
|
325
|
+
if (oSlider.getEnableTickmarks()) {
|
|
326
|
+
oRm.class(SliderRenderer.CSS_CLASS + "ProgressWithTickmarks");
|
|
327
|
+
}
|
|
317
328
|
};
|
|
318
329
|
|
|
319
330
|
/**
|
|
@@ -337,6 +348,20 @@ sap.ui.define(['./SliderUtilities', "sap/ui/core/InvisibleText"],
|
|
|
337
348
|
oSlider.getAggregation("_handlesLabels").forEach(oRm.renderControl, oRm);
|
|
338
349
|
};
|
|
339
350
|
|
|
351
|
+
SliderRenderer.applyTickmarkStyles = function(oRm, oSlider,iTickmarkIndex, iTickmarksToRender) {
|
|
352
|
+
var iProgressTickmarks = (parseInt(oSlider._sProgressValue) / 100) * iTickmarksToRender;
|
|
353
|
+
var bRender = iTickmarkIndex <= iProgressTickmarks;
|
|
354
|
+
oRm.attr("data-ui5-active-tickmark", bRender);
|
|
355
|
+
};
|
|
356
|
+
|
|
357
|
+
SliderRenderer.shouldRenderFirstActiveTickmark = function () {
|
|
358
|
+
return true;
|
|
359
|
+
};
|
|
360
|
+
|
|
361
|
+
SliderRenderer.shouldRenderLastActiveTickmark = function (oSlider) {
|
|
362
|
+
return oSlider.getValue() === oSlider.getMax();
|
|
363
|
+
};
|
|
364
|
+
|
|
340
365
|
return SliderRenderer;
|
|
341
366
|
|
|
342
367
|
}, /* bExport= */ true);
|
|
@@ -35,7 +35,7 @@ function(
|
|
|
35
35
|
* @extends sap.ui.core.Control
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.104.0
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @private
|
|
@@ -83,7 +83,7 @@ function(
|
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
SliderTooltipContainer.prototype._handleTabNavigation = function (oEvent) {
|
|
86
|
-
var bParentRangeSlider = this._oParentSlider
|
|
86
|
+
var bParentRangeSlider = this._oParentSlider && this._oParentSlider.isA("sap.m.RangeSlider");
|
|
87
87
|
|
|
88
88
|
oEvent.preventDefault();
|
|
89
89
|
this[bParentRangeSlider ? "_handleRangeSliderF2" : "_handleSliderF2"].apply(this, arguments);
|
|
@@ -153,7 +153,7 @@ function(
|
|
|
153
153
|
return;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
var bParentRangeSlider = this._oParentSlider
|
|
156
|
+
var bParentRangeSlider = this._oParentSlider.isA("sap.m.RangeSlider"),
|
|
157
157
|
aTooltips = this._oParentSlider.getUsedTooltips(),
|
|
158
158
|
// we are considering that both tooltips have the same rendering
|
|
159
159
|
fTooltipHeight = this.getAssociatedTooltipsAsControls()[0].$().outerHeight(true);
|
package/src/sap/m/SplitApp.js
CHANGED
package/src/sap/m/SplitButton.js
CHANGED
|
@@ -10,7 +10,6 @@ sap.ui.define([
|
|
|
10
10
|
'sap/ui/base/DataType',
|
|
11
11
|
'sap/ui/core/Control',
|
|
12
12
|
'sap/ui/core/IconPool',
|
|
13
|
-
'sap/m/semantic/SemanticPage',
|
|
14
13
|
'sap/ui/core/InvisibleText',
|
|
15
14
|
'sap/ui/Device',
|
|
16
15
|
'sap/ui/base/ManagedObject',
|
|
@@ -27,7 +26,6 @@ function(
|
|
|
27
26
|
DataType,
|
|
28
27
|
Control,
|
|
29
28
|
IconPool,
|
|
30
|
-
SemanticPage,
|
|
31
29
|
InvisibleText,
|
|
32
30
|
Device,
|
|
33
31
|
ManagedObject,
|
|
@@ -86,7 +84,7 @@ function(
|
|
|
86
84
|
*
|
|
87
85
|
* @extends sap.ui.core.Control
|
|
88
86
|
* @author SAP SE
|
|
89
|
-
* @version 1.
|
|
87
|
+
* @version 1.104.0
|
|
90
88
|
*
|
|
91
89
|
* @constructor
|
|
92
90
|
* @public
|
|
@@ -1804,16 +1802,10 @@ function(
|
|
|
1804
1802
|
var oReturn = oPage, aContent;
|
|
1805
1803
|
|
|
1806
1804
|
while (oReturn) {
|
|
1807
|
-
if (oReturn
|
|
1805
|
+
if (oReturn.isA(["sap.m.Page", "sap.m.MessagePage", "sap.m.semantic.SemanticPage"])) {
|
|
1808
1806
|
return oReturn;
|
|
1809
1807
|
}
|
|
1810
|
-
if (oReturn
|
|
1811
|
-
return oReturn;
|
|
1812
|
-
}
|
|
1813
|
-
if (oReturn instanceof SemanticPage) {
|
|
1814
|
-
return oReturn;
|
|
1815
|
-
}
|
|
1816
|
-
if (oReturn instanceof sap.ui.core.mvc.View) {
|
|
1808
|
+
if (oReturn.isA("sap.ui.core.mvc.View")) {
|
|
1817
1809
|
aContent = oReturn.getContent();
|
|
1818
1810
|
if (aContent.length === 1) {
|
|
1819
1811
|
oReturn = aContent[0];
|
package/src/sap/m/StepInput.js
CHANGED
package/src/sap/m/Switch.js
CHANGED
|
@@ -66,7 +66,7 @@ sap.ui.define([
|
|
|
66
66
|
* @extends sap.ui.core.Control
|
|
67
67
|
*
|
|
68
68
|
* @author SAP SE
|
|
69
|
-
* @version 1.
|
|
69
|
+
* @version 1.104.0
|
|
70
70
|
*
|
|
71
71
|
* @constructor
|
|
72
72
|
* @public
|
|
@@ -266,6 +266,7 @@ sap.ui.define([
|
|
|
266
266
|
|
|
267
267
|
/**
|
|
268
268
|
* Gets a reference to the instance of the TabStrip aggregation.
|
|
269
|
+
* @returns {sap.m.TabStrip}
|
|
269
270
|
*/
|
|
270
271
|
TabContainer.prototype._getTabStrip = function () {
|
|
271
272
|
return this.getAggregation("_tabStrip");
|
|
@@ -399,7 +400,7 @@ sap.ui.define([
|
|
|
399
400
|
* Removes an item from the aggregation named <code>items</code>.
|
|
400
401
|
*
|
|
401
402
|
* @param {int | string | sap.m.TabContainerItem} vItem The item to remove or its index or ID
|
|
402
|
-
* @returns {sap.m.TabContainerItem} The removed item or null
|
|
403
|
+
* @returns {sap.m.TabContainerItem|null} The removed item or <code>null</code>
|
|
403
404
|
* @public
|
|
404
405
|
*/
|
|
405
406
|
TabContainer.prototype.removeItem = function(vItem) {
|
package/src/sap/m/TabStrip.js
CHANGED
|
@@ -73,7 +73,7 @@ function(
|
|
|
73
73
|
* space is exceeded, a horizontal scrollbar appears.
|
|
74
74
|
*
|
|
75
75
|
* @extends sap.ui.core.Control
|
|
76
|
-
* @version 1.
|
|
76
|
+
* @version 1.104.0
|
|
77
77
|
*
|
|
78
78
|
* @constructor
|
|
79
79
|
* @private
|
|
@@ -347,7 +347,7 @@ function(
|
|
|
347
347
|
/**
|
|
348
348
|
* Finds the DOM element that should get the focus.
|
|
349
349
|
*
|
|
350
|
-
* @returns {null | Element} The element that
|
|
350
|
+
* @returns {null | Element} The element that should receive the focus or <code>null</code>
|
|
351
351
|
* @public
|
|
352
352
|
* @override
|
|
353
353
|
*/
|
package/src/sap/m/Table.js
CHANGED
|
@@ -38,10 +38,10 @@ sap.ui.define([
|
|
|
38
38
|
* @class Table Personalization Controller
|
|
39
39
|
* @extends sap.ui.base.ManagedObject
|
|
40
40
|
* @author SAP
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.104.0
|
|
42
42
|
* @alias sap.m.TablePersoController
|
|
43
43
|
*/
|
|
44
|
-
var TablePersoController = ManagedObject.extend("sap.m.TablePersoController", /** @lends sap.m.TablePersoController */
|
|
44
|
+
var TablePersoController = ManagedObject.extend("sap.m.TablePersoController", /** @lends sap.m.TablePersoController.prototype */
|
|
45
45
|
|
|
46
46
|
{
|
|
47
47
|
constructor: function(sId, mSettings) {
|
|
@@ -87,10 +87,10 @@ sap.ui.define([
|
|
|
87
87
|
* @class Table Personalization Dialog
|
|
88
88
|
* @extends sap.ui.base.ManagedObject
|
|
89
89
|
* @author SAP
|
|
90
|
-
* @version 1.
|
|
90
|
+
* @version 1.104.0
|
|
91
91
|
* @alias sap.m.TablePersoDialog
|
|
92
92
|
*/
|
|
93
|
-
var TablePersoDialog = ManagedObject.extend("sap.m.TablePersoDialog", /** @lends sap.m.TablePersoDialog */
|
|
93
|
+
var TablePersoDialog = ManagedObject.extend("sap.m.TablePersoDialog", /** @lends sap.m.TablePersoDialog.prototype */
|
|
94
94
|
|
|
95
95
|
{
|
|
96
96
|
constructor : function(sId, mSettings) {
|
|
@@ -21,10 +21,10 @@ sap.ui.define(['sap/ui/base/ManagedObject', "sap/base/Log"],
|
|
|
21
21
|
* @extends sap.ui.base.ManagedObject
|
|
22
22
|
* @abstract
|
|
23
23
|
* @author SAP
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.104.0
|
|
25
25
|
* @alias sap.m.TablePersoProvider
|
|
26
26
|
*/
|
|
27
|
-
var TablePersoProvider = ManagedObject.extend("sap.m.TablePersoProvider", /** @lends sap.m.TablePersoProvider */
|
|
27
|
+
var TablePersoProvider = ManagedObject.extend("sap.m.TablePersoProvider", /** @lends sap.m.TablePersoProvider.prototype */
|
|
28
28
|
|
|
29
29
|
{
|
|
30
30
|
constructor: function(sId, mSettings) {
|
|
@@ -105,7 +105,7 @@ sap.ui.define([
|
|
|
105
105
|
* When using the <code>sap.m.TableSelectDialog</code> in SAP Quartz and Horizon themes, the breakpoints and layout paddings could be determined by the dialog's width. To enable this concept and add responsive paddings to an element of the control, you have to add the following classes depending on your use case: <code>sapUiResponsivePadding--header</code>, <code>sapUiResponsivePadding--subHeader</code>, <code>sapUiResponsivePadding--content</code>, <code>sapUiResponsivePadding--footer</code>.
|
|
106
106
|
* @extends sap.m.SelectDialogBase
|
|
107
107
|
* @author SAP SE
|
|
108
|
-
* @version 1.
|
|
108
|
+
* @version 1.104.0
|
|
109
109
|
*
|
|
110
110
|
* @constructor
|
|
111
111
|
* @public
|
|
@@ -867,7 +867,7 @@ sap.ui.define([
|
|
|
867
867
|
* Transfers method to the inner dialog: getDomRef
|
|
868
868
|
* @public
|
|
869
869
|
* @override
|
|
870
|
-
* @
|
|
870
|
+
* @returns {Element|null} The Element's DOM Element, sub DOM Element or <code>null</code>
|
|
871
871
|
*/
|
|
872
872
|
TableSelectDialog.prototype.getDomRef = function () {
|
|
873
873
|
if (this._oDialog) {
|
package/src/sap/m/Text.js
CHANGED
|
@@ -54,7 +54,7 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
54
54
|
* @implements sap.ui.core.IShrinkable, sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
|
|
55
55
|
*
|
|
56
56
|
* @author SAP SE
|
|
57
|
-
* @version 1.
|
|
57
|
+
* @version 1.104.0
|
|
58
58
|
*
|
|
59
59
|
* @constructor
|
|
60
60
|
* @public
|
|
@@ -412,7 +412,7 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
412
412
|
* @param {HTMLElement} [oDomRef] DOM reference of the text container.
|
|
413
413
|
* @param {int} [iStartPos] Start point of the ellipsis search.
|
|
414
414
|
* @param {int} [iEndPos] End point of the ellipsis search.
|
|
415
|
-
* @returns {int|undefined} Returns found ellipsis position or undefined
|
|
415
|
+
* @returns {int|undefined} Returns found ellipsis position or <code>undefined</code>.
|
|
416
416
|
* @since 1.20
|
|
417
417
|
*/
|
|
418
418
|
Text.prototype.clampText = function (oDomRef, iStartPos, iEndPos) {
|
package/src/sap/m/TextArea.js
CHANGED
|
@@ -11,6 +11,7 @@ sap.ui.define([
|
|
|
11
11
|
'sap/ui/core/ResizeHandler',
|
|
12
12
|
'./library',
|
|
13
13
|
'sap/ui/core/library',
|
|
14
|
+
'sap/ui/core/Core',
|
|
14
15
|
'sap/ui/events/KeyCodes',
|
|
15
16
|
'sap/ui/Device',
|
|
16
17
|
"sap/base/security/encodeXML",
|
|
@@ -23,6 +24,7 @@ function(
|
|
|
23
24
|
ResizeHandler,
|
|
24
25
|
library,
|
|
25
26
|
coreLibrary,
|
|
27
|
+
oCore,
|
|
26
28
|
KeyCodes,
|
|
27
29
|
Device,
|
|
28
30
|
encodeXML,
|
|
@@ -82,7 +84,7 @@ function(
|
|
|
82
84
|
* @extends sap.m.InputBase
|
|
83
85
|
*
|
|
84
86
|
* @author SAP SE
|
|
85
|
-
* @version 1.
|
|
87
|
+
* @version 1.104.0
|
|
86
88
|
*
|
|
87
89
|
* @constructor
|
|
88
90
|
* @public
|
|
@@ -302,7 +304,6 @@ function(
|
|
|
302
304
|
*/
|
|
303
305
|
TextArea.prototype._setGrowingMaxHeight = function () {
|
|
304
306
|
var oHiddenDiv = this.getDomRef('hidden'),
|
|
305
|
-
oCore = sap.ui.getCore(),
|
|
306
307
|
oLoadedLibraries = oCore.getLoadedLibraries(),
|
|
307
308
|
fLineHeight,
|
|
308
309
|
fMaxHeight,
|
|
@@ -595,7 +596,7 @@ function(
|
|
|
595
596
|
};
|
|
596
597
|
|
|
597
598
|
TextArea.prototype._getCounterValue = function () {
|
|
598
|
-
var oBundle =
|
|
599
|
+
var oBundle = oCore.getLibraryResourceBundle("sap.m"),
|
|
599
600
|
iCharactersExceeded = this.getMaxLength() - this.getValue().length,
|
|
600
601
|
bExceeded = (iCharactersExceeded < 0 ? true : false),
|
|
601
602
|
sMessageBundleKey = "TEXTAREA_CHARACTER" + ( Math.abs(iCharactersExceeded) === 1 ? "" : "S") + "_" + (bExceeded ? "EXCEEDED" : "LEFT");
|
package/src/sap/m/Tile.js
CHANGED
|
@@ -46,7 +46,7 @@ function(
|
|
|
46
46
|
* @extends sap.ui.core.Control
|
|
47
47
|
*
|
|
48
48
|
* @author SAP SE
|
|
49
|
-
* @version 1.
|
|
49
|
+
* @version 1.104.0
|
|
50
50
|
*
|
|
51
51
|
* @constructor
|
|
52
52
|
* @public
|
|
@@ -132,7 +132,7 @@ function(
|
|
|
132
132
|
|
|
133
133
|
IconPool.insertFontFaceStyle();
|
|
134
134
|
|
|
135
|
-
TileContainer.prototype._bRtl
|
|
135
|
+
TileContainer.prototype._bRtl = oCore.getConfiguration().getRTL();
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
138
|
* Initializes the control.
|
|
@@ -615,7 +615,7 @@ function(
|
|
|
615
615
|
for (var i = 0;i < aTiles.length; i++) {
|
|
616
616
|
var oTile = aTiles[i];
|
|
617
617
|
|
|
618
|
-
if (oTile
|
|
618
|
+
if (oTile.isA("sap.m.Tile")) {
|
|
619
619
|
oTile.isEditable(bEditable);
|
|
620
620
|
}
|
|
621
621
|
}
|
|
@@ -1609,7 +1609,7 @@ function(
|
|
|
1609
1609
|
oEvent.srcControl = oEvent.srcControl.getParent();
|
|
1610
1610
|
}
|
|
1611
1611
|
|
|
1612
|
-
if (oEvent.srcControl
|
|
1612
|
+
if (oEvent.srcControl && oEvent.srcControl.isA("sap.m.Tile") && this.getEditable()) {
|
|
1613
1613
|
|
|
1614
1614
|
if (oEvent.target.className != "sapMTCRemove") {
|
|
1615
1615
|
this._initDragSession(oEvent);
|
|
@@ -1978,7 +1978,7 @@ function(
|
|
|
1978
1978
|
*/
|
|
1979
1979
|
TileContainer.prototype._handleAriaActiveDescendant = function () {
|
|
1980
1980
|
var oActiveElement = jQuery(document.activeElement).control(0);
|
|
1981
|
-
if (oActiveElement
|
|
1981
|
+
if (oActiveElement && oActiveElement.isA("sap.m.Tile") && oActiveElement.getParent() === this) {
|
|
1982
1982
|
this.getDomRef().setAttribute("aria-activedescendant", oActiveElement.getId());
|
|
1983
1983
|
}
|
|
1984
1984
|
};
|
|
@@ -2101,7 +2101,7 @@ function(
|
|
|
2101
2101
|
};
|
|
2102
2102
|
/**
|
|
2103
2103
|
* Calculates the dimension (width and height) of a Tile.
|
|
2104
|
-
* @returns {object} Width and height of a tile or undefined if no DOM yet.
|
|
2104
|
+
* @returns {object|undefined} Width and height of a tile or <code>undefined</code> if no DOM yet.
|
|
2105
2105
|
* @protected
|
|
2106
2106
|
*/
|
|
2107
2107
|
TileDimensionCalculator.prototype.calc = function(visibleTiles) {
|
package/src/sap/m/TileContent.js
CHANGED
|
@@ -24,7 +24,7 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
24
24
|
* @extends sap.ui.core.Control
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.104.0
|
|
28
28
|
* @since 1.34.0
|
|
29
29
|
*
|
|
30
30
|
* @public
|
|
@@ -68,6 +68,7 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
68
68
|
"priority" : {type: "sap.m.Priority", group: "Misc", defaultValue: Priority.None},
|
|
69
69
|
/**
|
|
70
70
|
* Sets the Text inside the Priority badge in Generic Tile ActionMode.
|
|
71
|
+
* @experimental Since 1.103
|
|
71
72
|
*/
|
|
72
73
|
"priorityText" : {type: "string", group: "Misc", defaultValue: null},
|
|
73
74
|
/**
|
|
@@ -222,8 +223,13 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
222
223
|
var bIsFirst = true;
|
|
223
224
|
var oContent = this.getContent();
|
|
224
225
|
var oParent = this.getParent();
|
|
225
|
-
|
|
226
|
-
|
|
226
|
+
var sPriority = sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("TEXT_CONTENT_PRIORITY");
|
|
227
|
+
var sPriorityText = this.getPriorityText();
|
|
228
|
+
if (sPriorityText && this.getPriority() !== Priority.None){
|
|
229
|
+
sAltText += sPriorityText + " " + sPriority;
|
|
230
|
+
bIsFirst = false;
|
|
231
|
+
}
|
|
232
|
+
if (oContent && oContent.getVisible()) {
|
|
227
233
|
var oContentDom = oContent.getDomRef();
|
|
228
234
|
if (oContent.getAltText) {
|
|
229
235
|
sAltText += oContent.getAltText();
|
|
@@ -232,12 +238,6 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
232
238
|
sAltText += oContent.getTooltip_AsString();
|
|
233
239
|
bIsFirst = false;
|
|
234
240
|
} else if (oParent && oParent.isA("sap.m.GenericTile") && oParent.getMode() === GenericTileMode.ActionMode) {
|
|
235
|
-
var sPriority = sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("TEXT_CONTENT_PRIORITY"),
|
|
236
|
-
sPriorityText = this.getPriorityText();
|
|
237
|
-
if (sPriorityText && this.getPriority()){
|
|
238
|
-
sAltText += sPriorityText + " " + sPriority;
|
|
239
|
-
bIsFirst = false;
|
|
240
|
-
}
|
|
241
241
|
if (oContent.isA("sap.m.Text")){
|
|
242
242
|
sAltText += (bIsFirst ? "" : "\n") + oContent.getText();
|
|
243
243
|
bIsFirst = false;
|
|
@@ -111,7 +111,7 @@ sap.ui.define(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile",
|
|
|
111
111
|
sPriorityText = oControl.getPriorityText(),
|
|
112
112
|
bRenderPriority = bIsActionMode && oPriority && oPriority !== Priority.None && sPriorityText,
|
|
113
113
|
sPriority = sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("TEXT_CONTENT_PRIORITY"),
|
|
114
|
-
iMaxLines = (oPriority && sPriorityText) ? 1 : 3; //if the Priority is present then the text should have 1 line else 3 lines in ActionMode
|
|
114
|
+
iMaxLines = (oPriority !== Priority.None && sPriorityText) ? 1 : 3; //if the Priority is present then the text should have 1 line else 3 lines in ActionMode
|
|
115
115
|
|
|
116
116
|
if (oContent) {
|
|
117
117
|
if (bRenderPriority) {
|