@openui5/sap.m 1.120.6 → 1.121.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +23 -21
- package/THIRDPARTY.txt +6 -43
- package/package.json +4 -4
- package/src/sap/m/.library +18 -2
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +11 -11
- package/src/sap/m/ActionSheet.js +12 -8
- package/src/sap/m/ActionSheetRenderer.js +4 -4
- package/src/sap/m/ActionTile.js +7 -1
- package/src/sap/m/ActionTileContent.js +86 -7
- package/src/sap/m/ActionTileContentRenderer.js +4 -41
- package/src/sap/m/AdditionalTextButton.js +1 -1
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +6 -6
- package/src/sap/m/Avatar.js +32 -14
- package/src/sap/m/Bar.js +5 -5
- package/src/sap/m/BarRenderer.js +3 -3
- package/src/sap/m/Breadcrumbs.js +12 -4
- package/src/sap/m/BreadcrumbsRenderer.js +1 -1
- package/src/sap/m/BusyDialog.js +19 -33
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +8 -8
- package/src/sap/m/ButtonRenderer.js +0 -4
- package/src/sap/m/Carousel.js +53 -25
- package/src/sap/m/CarouselLayout.js +14 -3
- package/src/sap/m/CarouselRenderer.js +4 -4
- package/src/sap/m/CheckBox.js +46 -5
- package/src/sap/m/CheckBoxRenderer.js +10 -3
- package/src/sap/m/ColorPalette.js +4 -2
- package/src/sap/m/ColorPalettePopover.js +5 -3
- package/src/sap/m/ColorPaletteRenderer.js +3 -3
- package/src/sap/m/Column.js +3 -4
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +59 -20
- package/src/sap/m/ColumnListItemRenderer.js +8 -9
- 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 +6 -6
- package/src/sap/m/ComboBox.js +16 -9
- package/src/sap/m/ComboBoxBase.js +10 -9
- package/src/sap/m/ComboBoxTextField.js +6 -4
- package/src/sap/m/ContentConfig.js +142 -0
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/DatePicker.js +19 -18
- package/src/sap/m/DatePickerRenderer.js +3 -3
- package/src/sap/m/DateRangeSelection.js +16 -13
- package/src/sap/m/DateRangeSelectionRenderer.js +3 -3
- package/src/sap/m/DateTimeField.js +17 -9
- package/src/sap/m/DateTimeInput.js +6 -4
- package/src/sap/m/DateTimePicker.js +39 -30
- package/src/sap/m/DateTimePickerRenderer.js +4 -2
- package/src/sap/m/Dialog.js +21 -9
- package/src/sap/m/DialogRenderer.js +10 -3
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +5 -5
- package/src/sap/m/DynamicDate.js +5 -3
- package/src/sap/m/DynamicDateFormat.js +7 -6
- package/src/sap/m/DynamicDateOption.js +10 -5
- package/src/sap/m/DynamicDateRange.js +56 -43
- package/src/sap/m/DynamicDateUtil.js +3 -3
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +5 -9
- package/src/sap/m/ExpandableTextRenderer.js +3 -3
- package/src/sap/m/FacetFilter.js +17 -8
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +7 -7
- package/src/sap/m/FacetFilterRenderer.js +4 -4
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +4 -4
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/FeedListItemRenderer.js +3 -3
- package/src/sap/m/Fiori20Adapter.js +9 -9
- package/src/sap/m/FlexBox.js +2 -2
- package/src/sap/m/FlexItemData.js +17 -17
- package/src/sap/m/FormattedText.js +7 -6
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTagRenderer.js +5 -5
- package/src/sap/m/GenericTile.js +102 -14
- package/src/sap/m/GenericTileLineModeRenderer.js +3 -3
- package/src/sap/m/GenericTileRenderer.js +3 -3
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GroupHeaderListItemRenderer.js +3 -3
- package/src/sap/m/GrowingEnablement.js +7 -6
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +5 -5
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +4 -4
- package/src/sap/m/IconTabBarDragAndDropUtil.js +5 -5
- package/src/sap/m/IconTabBarSelectList.js +2 -2
- package/src/sap/m/IconTabFilter.js +27 -15
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +4 -4
- package/src/sap/m/IconTabHeader.js +61 -28
- package/src/sap/m/IconTabHeaderRenderer.js +5 -5
- package/src/sap/m/IconTabSeparator.js +7 -7
- package/src/sap/m/IllustratedMessage.js +8 -6
- package/src/sap/m/IllustratedMessageType.js +12 -0
- package/src/sap/m/Illustration.js +4 -4
- package/src/sap/m/IllustrationPool.js +3 -3
- package/src/sap/m/Image.js +6 -3
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +65 -36
- package/src/sap/m/InputBase.js +33 -8
- package/src/sap/m/InputBaseRenderer.js +3 -3
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InputRenderer.js +5 -6
- package/src/sap/m/Label.js +6 -6
- package/src/sap/m/LightBox.js +4 -4
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +30 -6
- package/src/sap/m/LinkRenderer.js +4 -4
- package/src/sap/m/LinkTileContent.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +43 -24
- package/src/sap/m/ListItemBase.js +7 -6
- package/src/sap/m/ListItemBaseRenderer.js +3 -0
- package/src/sap/m/MaskEnabler.js +8 -6
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRenderer.js +2 -2
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +19 -17
- package/src/sap/m/MenuButton.js +8 -6
- package/src/sap/m/MenuItem.js +9 -9
- package/src/sap/m/MenuListItem.js +5 -4
- package/src/sap/m/MessageBox.js +5 -3
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +4 -3
- package/src/sap/m/MessagePage.js +4 -2
- package/src/sap/m/MessagePopover.js +9 -6
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +9 -7
- package/src/sap/m/MessageStripRenderer.js +5 -2
- package/src/sap/m/MessageStripUtilities.js +6 -4
- package/src/sap/m/MessageToast.js +8 -7
- package/src/sap/m/MessageView.js +29 -6
- package/src/sap/m/MessageViewRenderer.js +2 -2
- package/src/sap/m/MultiComboBox.js +36 -17
- package/src/sap/m/MultiComboBoxRenderer.js +4 -4
- package/src/sap/m/MultiEditField.js +4 -4
- package/src/sap/m/MultiInput.js +66 -19
- package/src/sap/m/MultiInputRenderer.js +3 -3
- package/src/sap/m/NavContainer.js +14 -9
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +4 -4
- package/src/sap/m/NotificationListGroup.js +4 -4
- package/src/sap/m/NotificationListItem.js +4 -4
- package/src/sap/m/NumericContent.js +6 -6
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/NumericInputRenderer.js +6 -6
- package/src/sap/m/ObjectAttribute.js +7 -6
- package/src/sap/m/ObjectAttributeRenderer.js +3 -3
- package/src/sap/m/ObjectHeader.js +15 -11
- package/src/sap/m/ObjectHeaderRenderer.js +4 -4
- package/src/sap/m/ObjectIdentifier.js +37 -8
- package/src/sap/m/ObjectIdentifierRenderer.js +3 -3
- package/src/sap/m/ObjectListItem.js +4 -4
- package/src/sap/m/ObjectMarker.js +6 -4
- package/src/sap/m/ObjectNumber.js +4 -3
- package/src/sap/m/ObjectNumberRenderer.js +6 -6
- package/src/sap/m/ObjectStatus.js +28 -22
- package/src/sap/m/ObjectStatusRenderer.js +26 -20
- package/src/sap/m/OverflowToolbar.js +2 -2
- package/src/sap/m/OverflowToolbarAssociativePopover.js +3 -3
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +2 -2
- package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/P13nAnyFilterItem.js +1 -1
- package/src/sap/m/P13nColumnsItem.js +1 -1
- package/src/sap/m/P13nColumnsPanel.js +33 -11
- package/src/sap/m/P13nConditionPanel.js +6 -4
- package/src/sap/m/P13nDialog.js +27 -13
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +18 -12
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +71 -49
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +5 -4
- 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 +28 -7
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +6 -5
- package/src/sap/m/PDFViewer.js +3 -6
- package/src/sap/m/Page.js +4 -8
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +5 -4
- package/src/sap/m/Panel.js +10 -5
- package/src/sap/m/PlanningCalendar.js +160 -109
- package/src/sap/m/PlanningCalendarHeader.js +9 -7
- package/src/sap/m/PlanningCalendarLegend.js +5 -5
- package/src/sap/m/PlanningCalendarRow.js +26 -15
- package/src/sap/m/PlanningCalendarView.js +1 -4
- package/src/sap/m/Popover.js +19 -21
- package/src/sap/m/PopoverRenderer.js +4 -4
- package/src/sap/m/ProgressIndicator.js +15 -13
- package/src/sap/m/ProgressIndicatorRenderer.js +3 -4
- package/src/sap/m/PullToRefresh.js +4 -3
- 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/QuickViewCardRenderer.js +3 -3
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +29 -17
- package/src/sap/m/RadioButton.js +4 -4
- package/src/sap/m/RadioButtonGroup.js +38 -5
- package/src/sap/m/RadioButtonGroupRenderer.js +4 -4
- package/src/sap/m/RadioButtonRenderer.js +3 -3
- package/src/sap/m/RangeSlider.js +9 -7
- package/src/sap/m/RangeSliderRenderer.js +2 -2
- package/src/sap/m/RatingIndicator.js +7 -6
- package/src/sap/m/RatingIndicatorRenderer.js +4 -4
- package/src/sap/m/ResponsivePopover.js +1 -3
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +3 -3
- package/src/sap/m/ScrollContainer.js +6 -6
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +7 -5
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +30 -16
- package/src/sap/m/SelectDialog.js +5 -3
- package/src/sap/m/SelectDialogBase.js +6 -6
- package/src/sap/m/SelectList.js +6 -6
- package/src/sap/m/SelectionDetails.js +7 -3
- 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 +4 -4
- package/src/sap/m/ShellRenderer.js +3 -2
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +41 -9
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +122 -54
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +22 -20
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +315 -61
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +88 -35
- package/src/sap/m/SinglePlanningCalendarMonthView.js +3 -4
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +5 -5
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +6 -5
- package/src/sap/m/SlideTile.js +6 -6
- package/src/sap/m/SlideTileRenderer.js +1 -3
- package/src/sap/m/Slider.js +38 -11
- package/src/sap/m/SliderRenderer.js +4 -4
- package/src/sap/m/SliderTooltip.js +4 -4
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +10 -8
- package/src/sap/m/SliderTooltipRenderer.js +3 -3
- package/src/sap/m/SplitApp.js +2 -1
- package/src/sap/m/SplitButton.js +5 -3
- package/src/sap/m/SplitContainer.js +20 -11
- package/src/sap/m/StandardDynamicDateOption.js +16 -12
- package/src/sap/m/StandardListItem.js +4 -3
- package/src/sap/m/StandardListItemRenderer.js +3 -3
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +6 -4
- package/src/sap/m/Suggest.js +5 -5
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsList.js +9 -7
- package/src/sap/m/SuggestionsListRenderer.js +2 -2
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +13 -11
- package/src/sap/m/SwitchRenderer.js +3 -3
- package/src/sap/m/TabContainer.js +9 -6
- package/src/sap/m/TabContainerItem.js +5 -8
- package/src/sap/m/TabStrip.js +23 -12
- package/src/sap/m/TabStripItem.js +7 -10
- package/src/sap/m/TabStripRenderer.js +2 -2
- package/src/sap/m/Table.js +4 -5
- package/src/sap/m/TablePersoController.js +10 -8
- package/src/sap/m/TablePersoDialog.js +19 -16
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +4 -4
- package/src/sap/m/TableSelectDialog.js +5 -3
- package/src/sap/m/Text.js +36 -39
- package/src/sap/m/TextArea.js +5 -3
- package/src/sap/m/TextRenderer.js +2 -7
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileAttribute.js +64 -0
- package/src/sap/m/TileAttributeRenderer.js +70 -0
- package/src/sap/m/TileContainer.js +10 -8
- package/src/sap/m/TileContent.js +8 -4
- package/src/sap/m/TileRenderer.js +3 -3
- package/src/sap/m/TimePicker.js +24 -19
- package/src/sap/m/TimePickerClock.js +4 -3
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +12 -10
- package/src/sap/m/TimePickerSlider.js +9 -7
- package/src/sap/m/TimePickerSliders.js +17 -13
- package/src/sap/m/TimePickerSlidersRenderer.js +3 -3
- package/src/sap/m/Title.js +5 -4
- package/src/sap/m/TitlePropagationSupport.js +4 -4
- package/src/sap/m/ToggleButton.js +4 -3
- package/src/sap/m/Token.js +6 -6
- package/src/sap/m/Tokenizer.js +16 -10
- package/src/sap/m/Toolbar.js +4 -4
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +4 -2
- package/src/sap/m/TreeItemBase.js +4 -3
- package/src/sap/m/TreeItemBaseRenderer.js +3 -3
- package/src/sap/m/UploadCollection.js +28 -24
- 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 +5 -5
- package/src/sap/m/VariantItem.js +8 -3
- package/src/sap/m/VariantManagement.js +112 -33
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +34 -21
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +9 -2
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +4 -3
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/WheelSliderContainerRenderer.js +3 -3
- package/src/sap/m/Wizard.js +17 -15
- package/src/sap/m/WizardProgressNavigator.js +18 -2
- package/src/sap/m/WizardProgressNavigatorRenderer.js +9 -5
- package/src/sap/m/WizardRenderer.js +6 -4
- package/src/sap/m/WizardStep.js +9 -11
- package/src/sap/m/changeHandler/AddTableColumn.js +3 -7
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +4 -4
- package/src/sap/m/changeHandler/MoveTableColumns.js +3 -2
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/delegate/ValueStateMessage.js +3 -3
- package/src/sap/m/designtime/IconTabBar.designtime.js +3 -2
- package/src/sap/m/designtime/Link.designtime.js +4 -4
- package/src/sap/m/designtime/MenuButton.designtime.js +3 -0
- package/src/sap/m/designtime/ObjectIdentifier.designtime.js +0 -4
- package/src/sap/m/designtime/messagebundle_en_US_saprigi.properties +91 -91
- package/src/sap/m/flexibility/EngineFlex.js +14 -8
- package/src/sap/m/flexibility/MenuButton.flexibility.js +1 -0
- package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +4 -4
- package/src/sap/m/library.js +181 -59
- package/src/sap/m/messagebundle.properties +113 -90
- package/src/sap/m/messagebundle_ar.properties +16 -10
- package/src/sap/m/messagebundle_bg.properties +19 -13
- package/src/sap/m/messagebundle_ca.properties +16 -10
- package/src/sap/m/messagebundle_cnr.properties +21 -15
- package/src/sap/m/messagebundle_cs.properties +16 -10
- package/src/sap/m/messagebundle_cy.properties +19 -13
- package/src/sap/m/messagebundle_da.properties +14 -8
- package/src/sap/m/messagebundle_de.properties +12 -6
- package/src/sap/m/messagebundle_el.properties +27 -21
- package/src/sap/m/messagebundle_en.properties +1164 -22
- package/src/sap/m/messagebundle_en_GB.properties +23 -17
- package/src/sap/m/messagebundle_en_US_saprigi.properties +34 -22
- package/src/sap/m/messagebundle_es.properties +19 -13
- package/src/sap/m/messagebundle_es_MX.properties +18 -12
- package/src/sap/m/messagebundle_et.properties +14 -8
- package/src/sap/m/messagebundle_fi.properties +21 -15
- package/src/sap/m/messagebundle_fr.properties +15 -9
- package/src/sap/m/messagebundle_fr_CA.properties +11 -5
- package/src/sap/m/messagebundle_hi.properties +24 -18
- package/src/sap/m/messagebundle_hr.properties +15 -9
- package/src/sap/m/messagebundle_hu.properties +20 -14
- package/src/sap/m/messagebundle_id.properties +15 -9
- package/src/sap/m/messagebundle_it.properties +17 -11
- package/src/sap/m/messagebundle_iw.properties +13 -7
- package/src/sap/m/messagebundle_ja.properties +23 -17
- package/src/sap/m/messagebundle_kk.properties +14 -8
- package/src/sap/m/messagebundle_ko.properties +18 -12
- package/src/sap/m/messagebundle_lt.properties +17 -11
- package/src/sap/m/messagebundle_lv.properties +26 -20
- package/src/sap/m/messagebundle_mk.properties +20 -14
- package/src/sap/m/messagebundle_ms.properties +13 -7
- package/src/sap/m/messagebundle_nl.properties +16 -10
- package/src/sap/m/messagebundle_no.properties +15 -9
- package/src/sap/m/messagebundle_pl.properties +16 -10
- package/src/sap/m/messagebundle_pt.properties +16 -10
- package/src/sap/m/messagebundle_pt_PT.properties +13 -7
- package/src/sap/m/messagebundle_ro.properties +13 -7
- package/src/sap/m/messagebundle_ru.properties +15 -9
- package/src/sap/m/messagebundle_sh.properties +21 -15
- package/src/sap/m/messagebundle_sk.properties +13 -7
- package/src/sap/m/messagebundle_sl.properties +14 -8
- package/src/sap/m/messagebundle_sr.properties +21 -15
- package/src/sap/m/messagebundle_sv.properties +15 -9
- package/src/sap/m/messagebundle_th.properties +12 -6
- package/src/sap/m/messagebundle_tr.properties +15 -9
- package/src/sap/m/messagebundle_uk.properties +15 -9
- package/src/sap/m/messagebundle_vi.properties +16 -10
- package/src/sap/m/messagebundle_zh_CN.properties +12 -6
- package/src/sap/m/messagebundle_zh_TW.properties +12 -6
- package/src/sap/m/p13n/.eslintrc.json +19 -0
- package/src/sap/m/p13n/AbstractContainer.js +43 -29
- package/src/sap/m/p13n/AbstractContainerItem.js +8 -8
- package/src/sap/m/p13n/BasePanel.js +123 -76
- package/src/sap/m/p13n/Container.js +80 -50
- package/src/sap/m/p13n/Engine.js +331 -294
- package/src/sap/m/p13n/FilterController.js +335 -0
- package/src/sap/m/p13n/FilterPanel.js +291 -0
- package/src/sap/m/p13n/FlexUtil.js +23 -21
- package/src/sap/m/p13n/GroupController.js +97 -85
- package/src/sap/m/p13n/GroupPanel.js +30 -25
- package/src/sap/m/p13n/MetadataHelper.js +65 -21
- package/src/sap/m/p13n/PersistenceProvider.js +11 -9
- package/src/sap/m/p13n/Popup.js +63 -45
- package/src/sap/m/p13n/QueryPanel.js +117 -93
- package/src/sap/m/p13n/SelectionController.js +302 -237
- package/src/sap/m/p13n/SelectionPanel.js +117 -83
- package/src/sap/m/p13n/SortController.js +100 -89
- package/src/sap/m/p13n/SortPanel.js +46 -31
- package/src/sap/m/p13n/enums/PersistenceMode.js +57 -0
- package/src/sap/m/p13n/{enum → enums}/ProcessingStrategy.js +10 -8
- package/src/sap/m/p13n/handler/xConfigHandler.js +175 -161
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +151 -133
- package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +28 -28
- package/src/sap/m/p13n/modification/ModificationHandler.js +15 -15
- package/src/sap/m/p13n/modules/AdaptationProvider.js +7 -7
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +20 -18
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +7 -7
- package/src/sap/m/p13n/modules/UIManager.js +119 -117
- package/src/sap/m/p13n/modules/xConfigAPI.js +74 -68
- package/src/sap/m/plugins/CellSelector.js +142 -26
- package/src/sap/m/plugins/ColumnResizer.js +12 -17
- package/src/sap/m/plugins/ContextMenuSetting.js +155 -0
- package/src/sap/m/plugins/CopyProvider.js +170 -110
- package/src/sap/m/plugins/DataStateIndicator.js +9 -6
- package/src/sap/m/plugins/PasteProvider.js +18 -10
- package/src/sap/m/plugins/PluginBase.js +39 -15
- 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 +3 -3
- 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 +3 -3
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +3 -3
- 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 -5
- 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 +4 -2
- 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 +6 -12
- 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/ColumnWidthController.js +2 -3
- package/src/sap/m/table/Util.js +67 -40
- 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 +5 -5
- package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +14 -21
- 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 +7 -5
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +6 -4
- package/src/sap/m/table/columnmenu/QuickSortItem.js +6 -4
- package/src/sap/m/table/columnmenu/QuickTotal.js +7 -5
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/ActionSheet.less +10 -3
- package/src/sap/m/themes/base/ActionTile.less +7 -4
- package/src/sap/m/themes/base/Carousel.less +1 -1
- package/src/sap/m/themes/base/ContextMenuSetting.less +3 -0
- package/src/sap/m/themes/base/IconTabBar.less +2 -2
- package/src/sap/m/themes/base/Label.less +2 -1
- package/src/sap/m/themes/base/Link.less +1 -1
- package/src/sap/m/themes/base/ListItemBase.less +1 -1
- package/src/sap/m/themes/base/MenuButton.less +2 -2
- package/src/sap/m/themes/base/MessageView.less +6 -0
- package/src/sap/m/themes/base/MultiComboBox.less +7 -4
- package/src/sap/m/themes/base/NumericContent.less +2 -2
- package/src/sap/m/themes/base/ObjectListItem.less +1 -1
- package/src/sap/m/themes/base/ObjectNumber.less +4 -4
- package/src/sap/m/themes/base/ObjectStatus.less +263 -160
- package/src/sap/m/themes/base/Panel.less +18 -4
- package/src/sap/m/themes/base/Popover.less +5 -0
- package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +21 -0
- package/src/sap/m/themes/base/StandardListItem.less +1 -1
- package/src/sap/m/themes/base/SuggestionItem.less +6 -0
- package/src/sap/m/themes/base/Table.less +0 -5
- package/src/sap/m/themes/base/TablePersoDialog.less +4 -2
- package/src/sap/m/themes/base/Text.less +2 -1
- package/src/sap/m/themes/base/UploadCollection.less +2 -2
- package/src/sap/m/themes/base/UploadSet.less +55 -0
- package/src/sap/m/themes/base/VariantManagement.less +2 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NewMail.svg +27 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SignOut.svg +24 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NewMail.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SignOut.svg +12 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NewMail.svg +59 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SignOut.svg +113 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NewMail.svg +27 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SignOut.svg +23 -0
- package/src/sap/m/themes/base/library.source.less +2 -1
- package/src/sap/m/upload/ActionsPlaceholder.js +1 -1
- package/src/sap/m/upload/Column.js +1 -1
- package/src/sap/m/upload/FilePreviewDialog.js +5 -5
- package/src/sap/m/upload/FilterPanel.js +5 -3
- package/src/sap/m/upload/UploadSet.js +122 -61
- package/src/sap/m/upload/UploadSetItem.js +31 -7
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/UploadSetwithTable.js +7 -6
- package/src/sap/m/upload/UploadSetwithTableItem.js +5 -5
- package/src/sap/m/upload/UploaderTableItem.js +1 -1
- package/src/sap/m/upload/p13n/PersManager.js +4 -2
- package/src/sap/m/upload/p13n/mediator/BaseMediator.js +1 -1
- package/src/sap/m/upload/p13n/mediator/ColumnsMediator.js +5 -4
- package/src/sap/m/upload/p13n/mediator/FilterMediator.js +5 -2
- package/src/sap/m/upload/p13n/mediator/GroupMediator.js +5 -4
- package/src/sap/m/upload/p13n/mediator/SortMediator.js +5 -4
- package/src/sap/m/upload/p13n/modules/PersPopupManager.js +3 -3
- package/LICENSES/BSD-2-Clause.txt +0 -22
- package/src/sap/m/CustomAttribute.js +0 -53
- package/src/sap/m/p13n/enum/PersistenceMode.js +0 -55
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
'./library',
|
|
10
10
|
'sap/ui/core/Control',
|
|
11
|
+
"sap/ui/core/Element",
|
|
11
12
|
'sap/ui/core/delegate/ItemNavigation',
|
|
12
13
|
'sap/ui/core/library',
|
|
13
14
|
'sap/ui/base/ManagedObjectObserver',
|
|
@@ -18,13 +19,14 @@ sap.ui.define([
|
|
|
18
19
|
function(
|
|
19
20
|
library,
|
|
20
21
|
Control,
|
|
22
|
+
Element,
|
|
21
23
|
ItemNavigation,
|
|
22
24
|
coreLibrary,
|
|
23
25
|
ManagedObjectObserver,
|
|
24
26
|
RadioButton,
|
|
25
27
|
RadioButtonGroupRenderer,
|
|
26
28
|
Log
|
|
27
|
-
|
|
29
|
+
) {
|
|
28
30
|
"use strict";
|
|
29
31
|
|
|
30
32
|
// shortcut for sap.ui.core.TextDirection
|
|
@@ -58,10 +60,15 @@ sap.ui.define([
|
|
|
58
60
|
* <li>Do not put two radio button groups right next to each other as it is difficult to determine which buttons belong to which group.</li>
|
|
59
61
|
* </ul>
|
|
60
62
|
* @extends sap.ui.core.Control
|
|
61
|
-
* @implements sap.ui.core.IFormContent
|
|
63
|
+
* @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
|
|
64
|
+
*
|
|
65
|
+
* @borrows sap.ui.core.ISemanticFormContent.getFormFormattedValue as #getFormFormattedValue
|
|
66
|
+
* @borrows sap.ui.core.ISemanticFormContent.getFormValueProperty as #getFormValueProperty
|
|
67
|
+
* @borrows sap.ui.core.ISemanticFormContent.getFormObservingProperties as #getFormObservingProperties
|
|
68
|
+
* @borrows sap.ui.core.ISemanticFormContent.getFormRenderAsControl as #getFormRenderAsControl
|
|
62
69
|
*
|
|
63
70
|
* @author SAP SE
|
|
64
|
-
* @version 1.
|
|
71
|
+
* @version 1.121.0
|
|
65
72
|
*
|
|
66
73
|
* @constructor
|
|
67
74
|
* @public
|
|
@@ -71,7 +78,10 @@ sap.ui.define([
|
|
|
71
78
|
var RadioButtonGroup = Control.extend("sap.m.RadioButtonGroup", /** @lends sap.m.RadioButtonGroup.prototype */ {
|
|
72
79
|
metadata : {
|
|
73
80
|
|
|
74
|
-
interfaces
|
|
81
|
+
interfaces: [
|
|
82
|
+
"sap.ui.core.IFormContent",
|
|
83
|
+
"sap.ui.core.ISemanticFormContent"
|
|
84
|
+
],
|
|
75
85
|
library : "sap.m",
|
|
76
86
|
designtime: "sap/m/designtime/RadioButtonGroup.designtime",
|
|
77
87
|
properties : {
|
|
@@ -478,13 +488,14 @@ sap.ui.define([
|
|
|
478
488
|
* Removes a radio button from the group.
|
|
479
489
|
*
|
|
480
490
|
* @public
|
|
491
|
+
* @param {int|sap.ui.core.ID|sap.m.RadioButton} vElement The button to remove
|
|
481
492
|
* @returns {sap.m.RadioButton} vElement The removed radio button.
|
|
482
493
|
*/
|
|
483
494
|
RadioButtonGroup.prototype.removeButton = function(vElement) {
|
|
484
495
|
|
|
485
496
|
var iIndex = vElement;
|
|
486
497
|
if (typeof (vElement) == "string") { // ID of the element is given
|
|
487
|
-
vElement =
|
|
498
|
+
vElement = Element.getElementById(vElement);
|
|
488
499
|
}
|
|
489
500
|
if (typeof (vElement) == "object") { // the element itself is given or has just been retrieved
|
|
490
501
|
iIndex = this.indexOfButton(vElement);
|
|
@@ -704,6 +715,28 @@ sap.ui.define([
|
|
|
704
715
|
return iFocusedIndex;
|
|
705
716
|
};
|
|
706
717
|
|
|
718
|
+
// support for SemanticFormElement
|
|
719
|
+
RadioButtonGroup.prototype.getFormFormattedValue = function() {
|
|
720
|
+
var aButtons = this.getButtons();
|
|
721
|
+
var iSelectedIndex = this.getSelectedIndex();
|
|
722
|
+
|
|
723
|
+
if (iSelectedIndex >= 0 && iSelectedIndex < aButtons.length) {
|
|
724
|
+
return aButtons[iSelectedIndex].getText();
|
|
725
|
+
}
|
|
726
|
+
};
|
|
727
|
+
|
|
728
|
+
RadioButtonGroup.prototype.getFormValueProperty = function () {
|
|
729
|
+
return "selectedIndex";
|
|
730
|
+
};
|
|
731
|
+
|
|
732
|
+
RadioButtonGroup.prototype.getFormObservingProperties = function() {
|
|
733
|
+
return ["selectedIndex"];
|
|
734
|
+
};
|
|
735
|
+
|
|
736
|
+
RadioButtonGroup.prototype.getFormRenderAsControl = function () {
|
|
737
|
+
return false;
|
|
738
|
+
};
|
|
739
|
+
|
|
707
740
|
return RadioButtonGroup;
|
|
708
741
|
|
|
709
742
|
});
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
// Provides default renderer for control sap.m.RadioButtonGroup
|
|
8
8
|
sap.ui.define([
|
|
9
|
-
"sap/
|
|
10
|
-
"sap/ui/core/
|
|
11
|
-
], function (
|
|
9
|
+
"sap/base/i18n/Localization",
|
|
10
|
+
"sap/ui/core/library"
|
|
11
|
+
], function (Localization, coreLibrary) {
|
|
12
12
|
"use strict";
|
|
13
13
|
|
|
14
14
|
// shortcut for sap.ui.core.TextDirection
|
|
@@ -40,7 +40,7 @@ sap.ui.define([
|
|
|
40
40
|
|
|
41
41
|
var iColumns = oRBGroup.getColumns();
|
|
42
42
|
var sControlTextDir = oRBGroup.getTextDirection();
|
|
43
|
-
var bGlobalTextDir =
|
|
43
|
+
var bGlobalTextDir = Localization.getRTL();
|
|
44
44
|
|
|
45
45
|
oRM.openStart("div", oRBGroup)
|
|
46
46
|
.class("sapMRbG");
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
-
"sap/ui/core/
|
|
8
|
+
"sap/ui/core/ControlBehavior",
|
|
9
9
|
"sap/ui/core/ValueStateSupport",
|
|
10
10
|
"sap/ui/core/library",
|
|
11
11
|
"sap/ui/Device"
|
|
12
|
-
], function (
|
|
12
|
+
], function (ControlBehavior, ValueStateSupport, coreLibrary, Device) {
|
|
13
13
|
"use strict";
|
|
14
14
|
|
|
15
15
|
// shortcut for sap.ui.core.ValueState
|
|
@@ -155,7 +155,7 @@ sap.ui.define([
|
|
|
155
155
|
RadioButtonRenderer.renderTooltip = function (oRM, oRadioButton) {
|
|
156
156
|
var sTooltipWithStateMessage = this.getTooltipText(oRadioButton);
|
|
157
157
|
|
|
158
|
-
if (sTooltipWithStateMessage &&
|
|
158
|
+
if (sTooltipWithStateMessage && ControlBehavior.isAccessibilityEnabled()) {
|
|
159
159
|
// for ARIA, the tooltip must be in a separate SPAN and assigned via aria-describedby.
|
|
160
160
|
// otherwise, JAWS does not read it.
|
|
161
161
|
oRM.openStart("span", oRadioButton.getId() + "-Descr")
|
package/src/sap/m/RangeSlider.js
CHANGED
|
@@ -4,24 +4,26 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
|
+
"sap/base/i18n/Localization",
|
|
7
8
|
"sap/ui/core/InvisibleText",
|
|
8
9
|
"sap/base/Log",
|
|
9
10
|
"./Slider",
|
|
10
11
|
"./SliderUtilities",
|
|
11
12
|
"./RangeSliderRenderer",
|
|
13
|
+
"sap/ui/core/Lib",
|
|
12
14
|
"sap/ui/thirdparty/jquery",
|
|
13
|
-
"sap/ui/events/KeyCodes"
|
|
14
|
-
"sap/ui/core/Configuration"
|
|
15
|
+
"sap/ui/events/KeyCodes"
|
|
15
16
|
],
|
|
16
17
|
function(
|
|
18
|
+
Localization,
|
|
17
19
|
InvisibleText,
|
|
18
20
|
log,
|
|
19
21
|
Slider,
|
|
20
22
|
SliderUtilities,
|
|
21
23
|
RangeSliderRenderer,
|
|
24
|
+
Library,
|
|
22
25
|
jQuery,
|
|
23
|
-
KeyCodes
|
|
24
|
-
Configuration
|
|
26
|
+
KeyCodes
|
|
25
27
|
) {
|
|
26
28
|
"use strict";
|
|
27
29
|
|
|
@@ -51,7 +53,7 @@ sap.ui.define([
|
|
|
51
53
|
* @extends sap.m.Slider
|
|
52
54
|
*
|
|
53
55
|
* @author SAP SE
|
|
54
|
-
* @version 1.
|
|
56
|
+
* @version 1.121.0
|
|
55
57
|
*
|
|
56
58
|
* @constructor
|
|
57
59
|
* @public
|
|
@@ -117,7 +119,7 @@ sap.ui.define([
|
|
|
117
119
|
// the initial focus range which should be used
|
|
118
120
|
this._aInitialFocusRange = this.getRange();
|
|
119
121
|
|
|
120
|
-
this._oResourceBundle =
|
|
122
|
+
this._oResourceBundle = Library.getResourceBundleFor('sap.m');
|
|
121
123
|
|
|
122
124
|
this._ariaUpdateDelay = [];
|
|
123
125
|
|
|
@@ -168,7 +170,7 @@ sap.ui.define([
|
|
|
168
170
|
};
|
|
169
171
|
|
|
170
172
|
RangeSlider.prototype.onBeforeRendering = function () {
|
|
171
|
-
this._bRTL =
|
|
173
|
+
this._bRTL = Localization.getRTL();
|
|
172
174
|
|
|
173
175
|
var aRange = this.getRange();
|
|
174
176
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define(["sap/ui/core/Renderer", "./SliderRenderer", "sap/ui/core/InvisibleText"
|
|
7
|
+
sap.ui.define(["sap/base/i18n/Localization", "sap/ui/core/Renderer", "./SliderRenderer", "sap/ui/core/InvisibleText"], function (Localization, Renderer, SliderRenderer, InvisibleText) {
|
|
8
8
|
"use strict";
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -45,7 +45,7 @@ sap.ui.define(["sap/ui/core/Renderer", "./SliderRenderer", "sap/ui/core/Invisibl
|
|
|
45
45
|
var fValue,
|
|
46
46
|
aRange = oControl.getRange(),
|
|
47
47
|
bEnabled = oControl.getEnabled(),
|
|
48
|
-
bRTL =
|
|
48
|
+
bRTL = Localization.getRTL();
|
|
49
49
|
|
|
50
50
|
oRM.openStart("span", mOptions && mOptions.id);
|
|
51
51
|
if (mOptions && (mOptions.position !== undefined)) {
|
|
@@ -7,17 +7,18 @@
|
|
|
7
7
|
// Provides control sap.m.RatingIndicator.
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
'./library',
|
|
10
|
+
"sap/base/i18n/Localization",
|
|
10
11
|
'sap/ui/core/Control',
|
|
12
|
+
"sap/ui/core/Lib",
|
|
11
13
|
'sap/ui/core/StaticArea',
|
|
12
14
|
'sap/ui/core/theming/Parameters',
|
|
13
15
|
'./RatingIndicatorRenderer',
|
|
14
16
|
"sap/ui/events/KeyCodes",
|
|
15
17
|
"sap/base/Log",
|
|
16
18
|
"sap/ui/thirdparty/jquery",
|
|
17
|
-
"sap/ui/core/Configuration",
|
|
18
19
|
'sap/ui/core/LabelEnablement'
|
|
19
20
|
],
|
|
20
|
-
function(library, Control, StaticArea, Parameters, RatingIndicatorRenderer, KeyCodes, Log, jQuery,
|
|
21
|
+
function(library, Localization, Control, Library, StaticArea, Parameters, RatingIndicatorRenderer, KeyCodes, Log, jQuery, LabelEnablement) {
|
|
21
22
|
"use strict";
|
|
22
23
|
|
|
23
24
|
|
|
@@ -54,7 +55,7 @@ sap.ui.define([
|
|
|
54
55
|
* @extends sap.ui.core.Control
|
|
55
56
|
*
|
|
56
57
|
* @author SAP SE
|
|
57
|
-
* @version 1.
|
|
58
|
+
* @version 1.121.0
|
|
58
59
|
*
|
|
59
60
|
* @constructor
|
|
60
61
|
* @public
|
|
@@ -197,7 +198,7 @@ sap.ui.define([
|
|
|
197
198
|
this._iIconCounter = 0;
|
|
198
199
|
this._fHoverValue = 0;
|
|
199
200
|
|
|
200
|
-
this._oResourceBundle =
|
|
201
|
+
this._oResourceBundle = Library.getResourceBundleFor('sap.m');
|
|
201
202
|
};
|
|
202
203
|
|
|
203
204
|
/**
|
|
@@ -552,7 +553,7 @@ sap.ui.define([
|
|
|
552
553
|
oControlRoot = this.$(),
|
|
553
554
|
fControlPadding = (oControlRoot.innerWidth() - oControlRoot.width()) / 2,
|
|
554
555
|
oEventPosition,
|
|
555
|
-
bRtl =
|
|
556
|
+
bRtl = Localization.getRTL();
|
|
556
557
|
|
|
557
558
|
if (oEvent.targetTouches) {
|
|
558
559
|
oEventPosition = oEvent.targetTouches[0];
|
|
@@ -962,7 +963,7 @@ sap.ui.define([
|
|
|
962
963
|
* @protected
|
|
963
964
|
*/
|
|
964
965
|
RatingIndicator.prototype.getAccessibilityInfo = function () {
|
|
965
|
-
var oBundle =
|
|
966
|
+
var oBundle = Library.getResourceBundleFor("sap.m");
|
|
966
967
|
return {
|
|
967
968
|
role: "slider",
|
|
968
969
|
type: oBundle.getText("ACC_CTR_TYPE_RATING"),
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define(
|
|
7
|
-
["sap/ui/core/IconPool", "sap/ui/Device", "sap/ui/core/
|
|
8
|
-
function(IconPool, Device,
|
|
7
|
+
["sap/ui/core/IconPool", "sap/ui/Device", "sap/ui/core/Theming", "sap/ui/core/Lib"],
|
|
8
|
+
function(IconPool, Device, Theming, Library) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
/* =========================================================== */
|
|
@@ -23,7 +23,7 @@ sap.ui.define(
|
|
|
23
23
|
sIconSizeMeasure = "px";
|
|
24
24
|
|
|
25
25
|
// shortcut for library resource bundle
|
|
26
|
-
var oResourceBundle =
|
|
26
|
+
var oResourceBundle = Library.getResourceBundleFor("sap.m");
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
@@ -252,7 +252,7 @@ sap.ui.define(
|
|
|
252
252
|
|
|
253
253
|
RatingIndicatorRenderer.getIconURI = function(sState, oControl) {
|
|
254
254
|
if (
|
|
255
|
-
|
|
255
|
+
Theming
|
|
256
256
|
.getTheme() === "sap_hcb"
|
|
257
257
|
) {
|
|
258
258
|
if (sState === "UNSELECTED" && (oControl.getEnabled() && !oControl.getDisplayOnly())) {
|
|
@@ -63,7 +63,7 @@ sap.ui.define([
|
|
|
63
63
|
* @extends sap.ui.core.Control
|
|
64
64
|
*
|
|
65
65
|
* @author SAP SE
|
|
66
|
-
* @version 1.
|
|
66
|
+
* @version 1.121.0
|
|
67
67
|
*
|
|
68
68
|
* @constructor
|
|
69
69
|
* @public
|
|
@@ -145,9 +145,7 @@ sap.ui.define([
|
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
147
|
* Whether resize option is enabled.
|
|
148
|
-
* @experimental since 1.36.4 Do not use directly on ResponsivePopover while in experimental mode!
|
|
149
148
|
* @since 1.36.4
|
|
150
|
-
* @private
|
|
151
149
|
*/
|
|
152
150
|
resizable: {type: "boolean", group: "Dimension", defaultValue: false},
|
|
153
151
|
|
package/src/sap/m/ScrollBar.js
CHANGED
|
@@ -25,7 +25,7 @@ function(Control, ScrollBarRenderer) {
|
|
|
25
25
|
* care of only rendering the currently visible rows and use this <code>ScrollBar</code> control to make
|
|
26
26
|
* the users think they are actually scrolling through a long list.
|
|
27
27
|
* @extends sap.ui.core.Control
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.121.0
|
|
29
29
|
*
|
|
30
30
|
* @private
|
|
31
31
|
* @alias sap.m.ScrollBar
|
|
@@ -83,7 +83,7 @@ function(Control, ScrollBarRenderer) {
|
|
|
83
83
|
this.invalidate();
|
|
84
84
|
};
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
/*
|
|
87
87
|
* @override
|
|
88
88
|
*/
|
|
89
89
|
ScrollBar.prototype.setScrollPosition = function (iScrollPosition) {
|
|
@@ -93,7 +93,7 @@ function(Control, ScrollBarRenderer) {
|
|
|
93
93
|
return this.setProperty("scrollPosition", iPos, true);
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
|
|
96
|
+
/*
|
|
97
97
|
* Custom setter, helping DOM changes to appear to the element, before DOM event handlers hit on it.
|
|
98
98
|
* @override
|
|
99
99
|
*/
|
|
@@ -7,21 +7,21 @@
|
|
|
7
7
|
// Provides control sap.m.ScrollContainer
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"./library",
|
|
10
|
+
"sap/base/i18n/Localization",
|
|
10
11
|
"sap/ui/core/Control",
|
|
11
12
|
"sap/ui/core/delegate/ScrollEnablement",
|
|
12
13
|
"sap/ui/core/Element",
|
|
13
14
|
"./ScrollContainerRenderer",
|
|
14
|
-
"sap/ui/dom/denormalizeScrollBeginRTL"
|
|
15
|
-
"sap/ui/core/Configuration"
|
|
15
|
+
"sap/ui/dom/denormalizeScrollBeginRTL"
|
|
16
16
|
],
|
|
17
17
|
function(
|
|
18
18
|
library,
|
|
19
|
+
Localization,
|
|
19
20
|
Control,
|
|
20
21
|
ScrollEnablement,
|
|
21
22
|
Element,
|
|
22
23
|
ScrollContainerRenderer,
|
|
23
|
-
denormalizeScrollBeginRTL
|
|
24
|
-
Configuration
|
|
24
|
+
denormalizeScrollBeginRTL
|
|
25
25
|
) {
|
|
26
26
|
"use strict";
|
|
27
27
|
|
|
@@ -39,7 +39,7 @@ sap.ui.define([
|
|
|
39
39
|
* @extends sap.ui.core.Control
|
|
40
40
|
*
|
|
41
41
|
* @author SAP SE
|
|
42
|
-
* @version 1.
|
|
42
|
+
* @version 1.121.0
|
|
43
43
|
*
|
|
44
44
|
* @constructor
|
|
45
45
|
* @public
|
|
@@ -160,7 +160,7 @@ sap.ui.define([
|
|
|
160
160
|
var oDomRef = this.getDomRef();
|
|
161
161
|
if (oDomRef) {
|
|
162
162
|
// only if rendered
|
|
163
|
-
if (
|
|
163
|
+
if (Localization.getRTL()) {
|
|
164
164
|
x = denormalizeScrollBeginRTL(x, oDomRef);
|
|
165
165
|
}
|
|
166
166
|
this._oScroller.scrollTo(x, y, time);
|
package/src/sap/m/SearchField.js
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
// Provides control sap.m.SegmentedButton.
|
|
8
8
|
sap.ui.define([
|
|
9
|
+
"sap/ui/core/Element",
|
|
9
10
|
'sap/ui/core/Lib',
|
|
10
11
|
'./library',
|
|
11
12
|
'./Button',
|
|
@@ -20,6 +21,7 @@ sap.ui.define([
|
|
|
20
21
|
'./SegmentedButtonRenderer'
|
|
21
22
|
],
|
|
22
23
|
function(
|
|
24
|
+
Element,
|
|
23
25
|
Library,
|
|
24
26
|
library,
|
|
25
27
|
Button,
|
|
@@ -32,7 +34,7 @@ function(
|
|
|
32
34
|
ListItem,
|
|
33
35
|
IconPool,
|
|
34
36
|
SegmentedButtonRenderer
|
|
35
|
-
|
|
37
|
+
) {
|
|
36
38
|
"use strict";
|
|
37
39
|
|
|
38
40
|
// lazy dependency to sap/m/Image
|
|
@@ -57,7 +59,7 @@ function(
|
|
|
57
59
|
* @implements sap.ui.core.IFormContent
|
|
58
60
|
*
|
|
59
61
|
* @author SAP SE
|
|
60
|
-
* @version 1.
|
|
62
|
+
* @version 1.121.0
|
|
61
63
|
*
|
|
62
64
|
* @constructor
|
|
63
65
|
* @public
|
|
@@ -810,7 +812,7 @@ function(
|
|
|
810
812
|
/**
|
|
811
813
|
* Setter for association <code>selectedButton</code>.
|
|
812
814
|
*
|
|
813
|
-
* @param {
|
|
815
|
+
* @param {sap.ui.core.ID | sap.m.Button | null | undefined} vButton New value for association <code>setSelectedButton</code>
|
|
814
816
|
* An sap.m.Button instance which becomes the new target of this <code>selectedButton</code> association.
|
|
815
817
|
* Alternatively, the ID of an sap.m.Button instance may be given as a string.
|
|
816
818
|
* If the value of null, undefined, or an empty string is provided the first item will be selected.
|
|
@@ -838,7 +840,7 @@ function(
|
|
|
838
840
|
/**
|
|
839
841
|
* Setter for association <code>selectedItem</code>.
|
|
840
842
|
*
|
|
841
|
-
* @param {
|
|
843
|
+
* @param {sap.ui.core.ID | sap.m.SegmentedButtonItem | null | undefined} vItem New value for association <code>setSelectedItem</code>
|
|
842
844
|
* An sap.m.SegmentedButtonItem instance which becomes the new target of this <code>selectedItem</code> association.
|
|
843
845
|
* Alternatively, the ID of an <code>sap.m.SegmentedButtonItem</code> instance may be given as a string.
|
|
844
846
|
* If the value of null, undefined, or an empty string is provided, the first item will be selected.
|
|
@@ -847,7 +849,7 @@ function(
|
|
|
847
849
|
* @override
|
|
848
850
|
*/
|
|
849
851
|
SegmentedButton.prototype.setSelectedItem = function (vItem) {
|
|
850
|
-
var oItem = typeof vItem === "string" && vItem !== "" ?
|
|
852
|
+
var oItem = typeof vItem === "string" && vItem !== "" ? Element.getElementById(vItem) : vItem,
|
|
851
853
|
oItemInstanceOfSegBtnItem = oItem instanceof SegmentedButtonItem,
|
|
852
854
|
vButton = oItemInstanceOfSegBtnItem ? oItem.oButton : vItem;
|
|
853
855
|
|
package/src/sap/m/Select.js
CHANGED
|
@@ -107,8 +107,13 @@ function(
|
|
|
107
107
|
* @extends sap.ui.core.Control
|
|
108
108
|
* @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
|
|
109
109
|
*
|
|
110
|
+
* @borrows sap.ui.core.ISemanticFormContent.getFormFormattedValue as #getFormFormattedValue
|
|
111
|
+
* @borrows sap.ui.core.ISemanticFormContent.getFormValueProperty as #getFormValueProperty
|
|
112
|
+
* @borrows sap.ui.core.ISemanticFormContent.getFormObservingProperties as #getFormObservingProperties
|
|
113
|
+
* @borrows sap.ui.core.ISemanticFormContent.getFormRenderAsControl as #getFormRenderAsControl
|
|
114
|
+
*
|
|
110
115
|
* @author SAP SE
|
|
111
|
-
* @version 1.
|
|
116
|
+
* @version 1.121.0
|
|
112
117
|
*
|
|
113
118
|
* @constructor
|
|
114
119
|
* @public
|
|
@@ -121,7 +126,8 @@ function(
|
|
|
121
126
|
"sap.m.IOverflowToolbarContent",
|
|
122
127
|
"sap.m.IToolbarInteractiveControl",
|
|
123
128
|
"sap.f.IShellBar",
|
|
124
|
-
"sap.ui.core.ISemanticFormContent"
|
|
129
|
+
"sap.ui.core.ISemanticFormContent",
|
|
130
|
+
"sap.ui.core.ILabelable"
|
|
125
131
|
],
|
|
126
132
|
library: "sap.m",
|
|
127
133
|
properties: {
|
|
@@ -2015,7 +2021,7 @@ function(
|
|
|
2015
2021
|
return;
|
|
2016
2022
|
}
|
|
2017
2023
|
|
|
2018
|
-
var oControl = Element.
|
|
2024
|
+
var oControl = Element.getElementById(oEvent.relatedControlId),
|
|
2019
2025
|
oFocusDomRef = oControl && oControl.getFocusDomRef();
|
|
2020
2026
|
|
|
2021
2027
|
if (Device.system.desktop && containsOrEquals(oPicker.getFocusDomRef(), oFocusDomRef)) {
|
|
@@ -2074,7 +2080,7 @@ function(
|
|
|
2074
2080
|
this.setProperty("selectedItemId", (vItem instanceof Item) ? vItem.getId() : vItem, true);
|
|
2075
2081
|
|
|
2076
2082
|
if (typeof vItem === "string") {
|
|
2077
|
-
vItem = Element.
|
|
2083
|
+
vItem = Element.getElementById(vItem);
|
|
2078
2084
|
}
|
|
2079
2085
|
|
|
2080
2086
|
sKey = vItem ? vItem.getKey() : "";
|
|
@@ -2419,6 +2425,14 @@ function(
|
|
|
2419
2425
|
return "selectedKey";
|
|
2420
2426
|
};
|
|
2421
2427
|
|
|
2428
|
+
Select.prototype.getFormObservingProperties = function() {
|
|
2429
|
+
return ["selectedKey"];
|
|
2430
|
+
};
|
|
2431
|
+
|
|
2432
|
+
Select.prototype.getFormRenderAsControl = function () {
|
|
2433
|
+
return false;
|
|
2434
|
+
};
|
|
2435
|
+
|
|
2422
2436
|
/**
|
|
2423
2437
|
* Retrieves an item by searching for the given property/value from the aggregation named <code>items</code>.
|
|
2424
2438
|
*
|
|
@@ -2627,7 +2641,9 @@ function(
|
|
|
2627
2641
|
}
|
|
2628
2642
|
oDelegate = {
|
|
2629
2643
|
ontap: function () {
|
|
2630
|
-
|
|
2644
|
+
if (window.getSelection().type !== "Range") {
|
|
2645
|
+
that.focus();
|
|
2646
|
+
}
|
|
2631
2647
|
}
|
|
2632
2648
|
};
|
|
2633
2649
|
that._referencingLabelsHandlers.push({
|
|
@@ -2641,7 +2657,7 @@ function(
|
|
|
2641
2657
|
Select.prototype._clearReferencingLabelsHandlers = function () {
|
|
2642
2658
|
var oLabel;
|
|
2643
2659
|
this._referencingLabelsHandlers.forEach(function (oHandler) {
|
|
2644
|
-
oLabel = Element.
|
|
2660
|
+
oLabel = Element.getElementById(oHandler.sLabelId);
|
|
2645
2661
|
if (oLabel) {
|
|
2646
2662
|
oLabel.removeEventDelegate(oHandler.oDelegate);
|
|
2647
2663
|
}
|
|
@@ -2664,7 +2680,7 @@ function(
|
|
|
2664
2680
|
return aLabelIDs.indexOf(sId) === iIndex;
|
|
2665
2681
|
})
|
|
2666
2682
|
.map(function(sLabelID) {
|
|
2667
|
-
return Element.
|
|
2683
|
+
return Element.getElementById(sLabelID);
|
|
2668
2684
|
})
|
|
2669
2685
|
.filter(Boolean);
|
|
2670
2686
|
|
|
@@ -2829,7 +2845,7 @@ function(
|
|
|
2829
2845
|
*
|
|
2830
2846
|
* Default value is <code>null</code>.
|
|
2831
2847
|
*
|
|
2832
|
-
* @param {
|
|
2848
|
+
* @param {sap.ui.core.ID | sap.ui.core.Item | null} vItem New value for the <code>selectedItem</code> association.
|
|
2833
2849
|
* If an ID of a <code>sap.ui.core.Item</code> is given, the item with this ID becomes the <code>selectedItem</code> association.
|
|
2834
2850
|
* Alternatively, a <code>sap.ui.core.Item</code> instance may be given or <code>null</code>.
|
|
2835
2851
|
* If the value of <code>null</code> is provided, the first enabled item will be selected (if any items exist).
|
|
@@ -2841,7 +2857,7 @@ function(
|
|
|
2841
2857
|
|
|
2842
2858
|
if (typeof vItem === "string") {
|
|
2843
2859
|
this.setAssociation("selectedItem", vItem, true);
|
|
2844
|
-
vItem = Element.
|
|
2860
|
+
vItem = Element.getElementById(vItem);
|
|
2845
2861
|
}
|
|
2846
2862
|
|
|
2847
2863
|
if (!(vItem instanceof Item) && vItem !== null) {
|
|
@@ -3030,7 +3046,7 @@ function(
|
|
|
3030
3046
|
*/
|
|
3031
3047
|
Select.prototype.getSelectedItem = function() {
|
|
3032
3048
|
var vSelectedItem = this.getAssociation("selectedItem");
|
|
3033
|
-
return (vSelectedItem === null) ? null : Element.
|
|
3049
|
+
return (vSelectedItem === null) ? null : Element.getElementById(vSelectedItem) || null;
|
|
3034
3050
|
};
|
|
3035
3051
|
|
|
3036
3052
|
/**
|
|
@@ -3087,7 +3103,7 @@ function(
|
|
|
3087
3103
|
/**
|
|
3088
3104
|
* Removes an item from the aggregation named <code>items</code>.
|
|
3089
3105
|
*
|
|
3090
|
-
* @param {int |
|
|
3106
|
+
* @param {int | sap.ui.core.ID | sap.ui.core.Item} vItem The item to be removed or its index or ID.
|
|
3091
3107
|
* @returns {sap.ui.core.Item|null} The removed item or <code>null</code>.
|
|
3092
3108
|
* @public
|
|
3093
3109
|
*/
|
|
@@ -3258,14 +3274,12 @@ function(
|
|
|
3258
3274
|
};
|
|
3259
3275
|
|
|
3260
3276
|
/**
|
|
3261
|
-
* Returns the DOMNode Id
|
|
3262
|
-
*
|
|
3263
|
-
* By default, this is the Id of the control itself.
|
|
3277
|
+
* Returns the DOMNode Id of the labelable HTML element for the <code>sap.m.Select</code>.
|
|
3264
3278
|
*
|
|
3265
|
-
* @return {string} Id
|
|
3279
|
+
* @return {string} Id of the labelable HTML element
|
|
3266
3280
|
* @public
|
|
3267
3281
|
*/
|
|
3268
|
-
Select.prototype.
|
|
3282
|
+
Select.prototype.hasLabelableHTMLElement = function () {
|
|
3269
3283
|
return this.getId() + "-hiddenSelect";
|
|
3270
3284
|
};
|
|
3271
3285
|
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
// Provides control sap.m.SelectDialog.
|
|
8
8
|
sap.ui.define([
|
|
9
|
+
"sap/ui/core/Lib",
|
|
9
10
|
"sap/ui/thirdparty/jquery",
|
|
10
11
|
'./Button',
|
|
11
12
|
'./Dialog',
|
|
@@ -27,6 +28,7 @@ sap.ui.define([
|
|
|
27
28
|
'sap/base/Log'
|
|
28
29
|
],
|
|
29
30
|
function(
|
|
31
|
+
Library,
|
|
30
32
|
jQuery,
|
|
31
33
|
Button,
|
|
32
34
|
Dialog,
|
|
@@ -126,7 +128,7 @@ function(
|
|
|
126
128
|
* @extends sap.m.SelectDialogBase
|
|
127
129
|
*
|
|
128
130
|
* @author SAP SE
|
|
129
|
-
* @version 1.
|
|
131
|
+
* @version 1.121.0
|
|
130
132
|
*
|
|
131
133
|
* @constructor
|
|
132
134
|
* @public
|
|
@@ -345,7 +347,7 @@ function(
|
|
|
345
347
|
this._bInitBusy = false;
|
|
346
348
|
this._bFirstRender = true;
|
|
347
349
|
this._bAfterCloseAttached = false;
|
|
348
|
-
this._oRb =
|
|
350
|
+
this._oRb = Library.getResourceBundleFor("sap.m");
|
|
349
351
|
|
|
350
352
|
// store a reference to the list for binding management
|
|
351
353
|
this._oList = new List(this.getId() + "-list", {
|
|
@@ -1345,7 +1347,7 @@ function(
|
|
|
1345
1347
|
SelectDialog.prototype._getListItemsEventDelegates = function () {
|
|
1346
1348
|
var fnEventDelegate = function (oEvent) {
|
|
1347
1349
|
|
|
1348
|
-
var oListItem = Element.closestTo(
|
|
1350
|
+
var oListItem = Element.closestTo(oEvent.target.closest(".sapMLIB"));
|
|
1349
1351
|
|
|
1350
1352
|
if (oListItem._eventHandledByControl) {
|
|
1351
1353
|
return;
|