@openui5/sap.m 1.103.0 → 1.105.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 +18 -1
- package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +5 -0
- package/THIRDPARTY.txt +36 -3
- package/package.json +4 -4
- package/src/sap/m/.library +1 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/App.js +2 -3
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +2 -2
- package/src/sap/m/BadgeEnabler.js +1 -2
- package/src/sap/m/Bar.js +11 -10
- package/src/sap/m/Breadcrumbs.js +2 -2
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +49 -10
- package/src/sap/m/ButtonRenderer.js +10 -2
- package/src/sap/m/Carousel.js +3 -4
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +46 -6
- package/src/sap/m/CheckBoxRenderer.js +1 -0
- 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 +5 -7
- package/src/sap/m/ColumnListItem.js +1 -4
- package/src/sap/m/ColumnListItemRenderer.js +1 -2
- package/src/sap/m/ColumnPopoverActionItem.js +3 -3
- package/src/sap/m/ColumnPopoverCustomItem.js +3 -3
- package/src/sap/m/ColumnPopoverItem.js +3 -3
- package/src/sap/m/ColumnPopoverSelectListItem.js +3 -5
- package/src/sap/m/ColumnPopoverSortItem.js +3 -3
- package/src/sap/m/ComboBox.js +6 -5
- package/src/sap/m/ComboBoxBase.js +1 -5
- package/src/sap/m/ComboBoxBaseRenderer.js +2 -2
- package/src/sap/m/ComboBoxTextField.js +1 -7
- package/src/sap/m/ComboBoxTextFieldRenderer.js +19 -4
- 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 +3 -3
- package/src/sap/m/CustomTreeItemRenderer.js +2 -2
- package/src/sap/m/DatePicker.js +14 -24
- package/src/sap/m/DateRangeSelection.js +45 -38
- package/src/sap/m/DateTimeField.js +87 -20
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +52 -28
- package/src/sap/m/Dialog.js +38 -1
- 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 +2 -5
- package/src/sap/m/DynamicDateOption.js +43 -16
- package/src/sap/m/DynamicDateRange.js +49 -7
- package/src/sap/m/DynamicDateRangeRenderer.js +5 -2
- package/src/sap/m/DynamicDateUtil.js +23 -2
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +2 -2
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.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 +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 +1 -1
- package/src/sap/m/FormattedText.js +1 -1
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +67 -16
- package/src/sap/m/GenericTileLineModeRenderer.js +4 -4
- package/src/sap/m/GenericTileRenderer.js +16 -4
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +37 -11
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +3 -3
- package/src/sap/m/HeaderContainerItemNavigator.js +3 -6
- package/src/sap/m/IconTabBar.js +54 -22
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +1 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +5 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +64 -25
- 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/IllustrationRenderer.js +1 -1
- package/src/sap/m/Image.js +2 -2
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +51 -7
- package/src/sap/m/InputBase.js +1 -1
- package/src/sap/m/InputBaseRenderer.js +2 -2
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InputRenderer.js +4 -0
- package/src/sap/m/Label.js +34 -4
- package/src/sap/m/LabelRenderer.js +7 -2
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +95 -10
- package/src/sap/m/LinkRenderer.js +26 -12
- package/src/sap/m/List.js +38 -1
- package/src/sap/m/ListBase.js +104 -40
- package/src/sap/m/ListBaseRenderer.js +7 -15
- package/src/sap/m/ListItemBase.js +40 -11
- package/src/sap/m/ListItemBaseRenderer.js +17 -6
- package/src/sap/m/ListRenderer.js +2 -2
- package/src/sap/m/MaskEnabler.js +52 -2
- package/src/sap/m/MaskInput.js +23 -1
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageBox.js +1 -1
- package/src/sap/m/MessageItem.js +3 -4
- package/src/sap/m/MessageListItem.js +8 -4
- 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 +5 -16
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +1 -15
- package/src/sap/m/NavContainer.js +21 -19
- package/src/sap/m/NewsContent.js +2 -3
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +3 -7
- package/src/sap/m/NotificationListGroupRenderer.js +1 -1
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +3 -3
- package/src/sap/m/ObjectIdentifier.js +3 -3
- package/src/sap/m/ObjectListItem.js +7 -1
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +2 -3
- package/src/sap/m/ObjectNumberRenderer.js +10 -3
- package/src/sap/m/ObjectStatus.js +2 -3
- package/src/sap/m/ObjectStatusRenderer.js +2 -2
- package/src/sap/m/OverflowToolbar.js +3 -8
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +3 -3
- package/src/sap/m/OverflowToolbarAssociativePopoverRenderer.js +2 -2
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/P13nAnyFilterItem.js +3 -3
- package/src/sap/m/P13nColumnsItem.js +3 -3
- package/src/sap/m/P13nColumnsPanel.js +3 -3
- package/src/sap/m/P13nConditionPanel.js +10 -3
- package/src/sap/m/P13nDialog.js +3 -3
- package/src/sap/m/P13nDimMeasureItem.js +3 -3
- package/src/sap/m/P13nDimMeasurePanel.js +3 -3
- package/src/sap/m/P13nFilterItem.js +3 -3
- package/src/sap/m/P13nFilterPanel.js +3 -3
- package/src/sap/m/P13nGroupItem.js +3 -3
- package/src/sap/m/P13nGroupPanel.js +3 -3
- package/src/sap/m/P13nItem.js +3 -3
- package/src/sap/m/P13nOperationsHelper.js +2 -2
- package/src/sap/m/P13nPanel.js +3 -3
- package/src/sap/m/P13nSelectionItem.js +3 -3
- package/src/sap/m/P13nSelectionPanel.js +3 -3
- package/src/sap/m/P13nSortItem.js +3 -3
- package/src/sap/m/P13nSortPanel.js +3 -3
- package/src/sap/m/PDFViewer.js +2 -2
- package/src/sap/m/PDFViewerRenderer.js +1 -0
- package/src/sap/m/Page.js +1 -3
- 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 +4 -16
- package/src/sap/m/PlanningCalendarHeader.js +1 -5
- 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 +11 -4
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/ProgressIndicatorRenderer.js +6 -3
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +3 -3
- package/src/sap/m/QuickViewBase.js +3 -3
- package/src/sap/m/QuickViewCard.js +3 -3
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +3 -3
- package/src/sap/m/QuickViewPage.js +3 -3
- package/src/sap/m/RadioButton.js +47 -20
- package/src/sap/m/RadioButtonGroup.js +29 -19
- package/src/sap/m/RangeSlider.js +1 -3
- package/src/sap/m/RatingIndicator.js +8 -1
- package/src/sap/m/RatingIndicatorRenderer.js +13 -4
- package/src/sap/m/ResponsivePopover.js +3 -3
- 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 +7 -13
- package/src/sap/m/SelectDialog.js +2 -1
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectListRenderer.js +2 -2
- package/src/sap/m/SelectionDetails.js +2 -2
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +5 -7
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -7
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +0 -2
- 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 +30 -5
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderTooltip.js +1 -3
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipBaseRenderer.js +2 -2
- package/src/sap/m/SliderTooltipContainer.js +1 -1
- package/src/sap/m/SliderTooltipContainerRenderer.js +2 -2
- package/src/sap/m/SliderTooltipRenderer.js +2 -2
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -3
- package/src/sap/m/SplitContainer.js +1 -5
- package/src/sap/m/StandardDynamicDateOption.js +9 -15
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardListItemRenderer.js +2 -2
- 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 +4 -2
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +11 -9
- package/src/sap/m/TablePersoController.js +1 -1
- package/src/sap/m/TablePersoDialog.js +6 -15
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +2 -9
- package/src/sap/m/TableSelectDialog.js +1 -1
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/TextAreaRenderer.js +1 -2
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +8 -9
- package/src/sap/m/TileContentRenderer.js +3 -3
- package/src/sap/m/TimePicker.js +43 -6
- package/src/sap/m/TimePickerClock.js +2 -3
- package/src/sap/m/TimePickerClocks.js +5 -3
- package/src/sap/m/TimePickerClocksRenderer.js +1 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInputsRenderer.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 +3 -5
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +2 -2
- package/src/sap/m/Token.js +1 -3
- package/src/sap/m/Tokenizer.js +1 -1
- package/src/sap/m/Toolbar.js +1 -1
- 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 +8 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/TreeRenderer.js +0 -10
- package/src/sap/m/UploadCollection.js +2 -2
- package/src/sap/m/UploadCollectionItem.js +1 -1
- package/src/sap/m/UploadCollectionParameter.js +1 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/VariantItem.js +160 -0
- package/src/sap/m/VariantManagement.js +665 -570
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +1 -1
- 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 -3
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +12 -13
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +2 -3
- package/src/sap/m/changeHandler/CombineButtons.js +19 -22
- package/src/sap/m/changeHandler/MoveTableColumns.js +6 -6
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +5 -5
- package/src/sap/m/changeHandler/SplitMenuButton.js +7 -6
- package/src/sap/m/delegate/DateNavigation.js +0 -4
- package/src/sap/m/designtime/Link.designtime.js +19 -11
- package/src/sap/m/designtime/VariantManagement.designtime.js +36 -26
- package/src/sap/m/flexibility/EngineFlex.js +48 -0
- package/src/sap/m/inputUtils/selectionRange.js +1 -2
- package/src/sap/m/library.js +30 -6
- package/src/sap/m/messagebundle.properties +30 -3
- package/src/sap/m/messagebundle_ar.properties +26 -8
- package/src/sap/m/messagebundle_bg.properties +20 -2
- package/src/sap/m/messagebundle_ca.properties +19 -1
- package/src/sap/m/messagebundle_cs.properties +20 -2
- package/src/sap/m/messagebundle_cy.properties +21 -3
- package/src/sap/m/messagebundle_da.properties +19 -1
- package/src/sap/m/messagebundle_de.properties +19 -1
- package/src/sap/m/messagebundle_el.properties +22 -4
- package/src/sap/m/messagebundle_en.properties +21 -3
- package/src/sap/m/messagebundle_en_GB.properties +21 -3
- package/src/sap/m/messagebundle_en_US_sappsd.properties +20 -2
- package/src/sap/m/messagebundle_en_US_saprigi.properties +18 -2
- package/src/sap/m/messagebundle_en_US_saptrc.properties +20 -2
- package/src/sap/m/messagebundle_es.properties +20 -2
- package/src/sap/m/messagebundle_es_MX.properties +19 -1
- package/src/sap/m/messagebundle_et.properties +19 -1
- package/src/sap/m/messagebundle_fi.properties +23 -5
- package/src/sap/m/messagebundle_fr.properties +20 -2
- package/src/sap/m/messagebundle_fr_CA.properties +21 -3
- package/src/sap/m/messagebundle_hi.properties +21 -3
- package/src/sap/m/messagebundle_hr.properties +23 -5
- package/src/sap/m/messagebundle_hu.properties +21 -3
- package/src/sap/m/messagebundle_id.properties +21 -3
- package/src/sap/m/messagebundle_it.properties +20 -2
- package/src/sap/m/messagebundle_iw.properties +21 -3
- package/src/sap/m/messagebundle_ja.properties +20 -2
- package/src/sap/m/messagebundle_kk.properties +19 -1
- package/src/sap/m/messagebundle_ko.properties +27 -9
- package/src/sap/m/messagebundle_lt.properties +19 -1
- package/src/sap/m/messagebundle_lv.properties +19 -1
- package/src/sap/m/messagebundle_ms.properties +20 -2
- package/src/sap/m/messagebundle_nl.properties +33 -15
- package/src/sap/m/messagebundle_no.properties +21 -3
- package/src/sap/m/messagebundle_pl.properties +20 -2
- package/src/sap/m/messagebundle_pt.properties +24 -6
- package/src/sap/m/messagebundle_pt_PT.properties +19 -1
- package/src/sap/m/messagebundle_ro.properties +20 -2
- package/src/sap/m/messagebundle_ru.properties +20 -2
- package/src/sap/m/messagebundle_sh.properties +20 -2
- package/src/sap/m/messagebundle_sk.properties +19 -1
- package/src/sap/m/messagebundle_sl.properties +20 -2
- package/src/sap/m/messagebundle_sv.properties +19 -1
- package/src/sap/m/messagebundle_th.properties +52 -34
- package/src/sap/m/messagebundle_tr.properties +23 -5
- package/src/sap/m/messagebundle_uk.properties +20 -2
- package/src/sap/m/messagebundle_vi.properties +20 -2
- package/src/sap/m/messagebundle_zh_CN.properties +20 -2
- package/src/sap/m/messagebundle_zh_TW.properties +19 -1
- package/src/sap/m/p13n/AbstractContainer.js +7 -7
- package/src/sap/m/p13n/AbstractContainerItem.js +4 -4
- package/src/sap/m/p13n/BasePanel.js +8 -7
- package/src/sap/m/p13n/Container.js +3 -3
- package/src/sap/m/p13n/Engine.js +1254 -0
- package/src/sap/m/p13n/FlexUtil.js +161 -0
- package/src/sap/m/p13n/GroupController.js +145 -0
- package/src/sap/m/p13n/GroupPanel.js +12 -5
- package/src/sap/m/p13n/MetadataHelper.js +35 -0
- package/src/sap/m/p13n/PersistenceProvider.js +160 -0
- package/src/sap/m/p13n/Popup.js +49 -12
- package/src/sap/m/p13n/QueryPanel.js +3 -3
- package/src/sap/m/p13n/SelectionController.js +548 -0
- package/src/sap/m/p13n/SelectionPanel.js +15 -3
- package/src/sap/m/p13n/SortController.js +153 -0
- package/src/sap/m/p13n/SortPanel.js +13 -3
- 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 +143 -0
- package/src/sap/m/p13n/modules/AdaptationProvider.js +67 -0
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +147 -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 +288 -0
- package/src/sap/m/plugins/CellSelector.js +741 -0
- package/src/sap/m/plugins/ColumnResizer.js +15 -1
- package/src/sap/m/plugins/DataStateIndicator.js +2 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.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 +3 -4
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -3
- 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 +14 -7
- 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 +8 -2
- 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 -3
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +13 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -3
- package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -3
- package/src/sap/m/table/columnmenu/QuickTotal.js +21 -3
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +13 -1
- package/src/sap/m/themes/base/Breadcrumbs.less +6 -0
- package/src/sap/m/themes/base/Button.less +0 -1
- package/src/sap/m/themes/base/CellSelector.less +9 -0
- package/src/sap/m/themes/base/CheckBox.less +1 -0
- package/src/sap/m/themes/base/Dialog.less +1 -0
- package/src/sap/m/themes/base/DynamicDateRange.less +4 -0
- package/src/sap/m/themes/base/FeedContent.less +13 -5
- package/src/sap/m/themes/base/GenericTile.less +49 -9
- package/src/sap/m/themes/base/IllustratedMessage.less +7 -0
- package/src/sap/m/themes/base/NewsContent.less +6 -0
- package/src/sap/m/themes/base/NumericContent.less +1 -1
- 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/SelectList.less +0 -5
- package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +7 -0
- package/src/sap/m/themes/base/SlideTile.less +35 -4
- package/src/sap/m/themes/base/Table.less +11 -2
- package/src/sap/m/themes/base/TileContent.less +17 -0
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/UploadSet.js +110 -21
- package/src/sap/m/upload/UploadSetItem.js +18 -7
- package/src/sap/m/upload/UploadSetRenderer.js +8 -16
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/Uploader.js +1 -2
package/src/sap/m/RadioButton.js
CHANGED
|
@@ -11,7 +11,6 @@ sap.ui.define([
|
|
|
11
11
|
'sap/ui/core/Core',
|
|
12
12
|
'sap/ui/core/EnabledPropagator',
|
|
13
13
|
'sap/ui/core/message/MessageMixin',
|
|
14
|
-
'sap/m/RadioButtonGroup',
|
|
15
14
|
'sap/m/Label',
|
|
16
15
|
'sap/ui/core/library',
|
|
17
16
|
'sap/base/strings/capitalize',
|
|
@@ -23,7 +22,6 @@ function(
|
|
|
23
22
|
Core,
|
|
24
23
|
EnabledPropagator,
|
|
25
24
|
MessageMixin,
|
|
26
|
-
RadioButtonGroup,
|
|
27
25
|
Label,
|
|
28
26
|
coreLibrary,
|
|
29
27
|
capitalize,
|
|
@@ -40,6 +38,13 @@ function(
|
|
|
40
38
|
// shortcut for sap.ui.core.TextDirection
|
|
41
39
|
var TextDirection = coreLibrary.TextDirection;
|
|
42
40
|
|
|
41
|
+
var getNextSelectionNumber = (function () {
|
|
42
|
+
var i = 0;
|
|
43
|
+
return function () {
|
|
44
|
+
return i++;
|
|
45
|
+
};
|
|
46
|
+
}());
|
|
47
|
+
|
|
43
48
|
/**
|
|
44
49
|
* Constructor for a new RadioButton.
|
|
45
50
|
*
|
|
@@ -86,7 +91,7 @@ function(
|
|
|
86
91
|
* @implements sap.ui.core.IFormContent
|
|
87
92
|
*
|
|
88
93
|
* @author SAP SE
|
|
89
|
-
* @version 1.
|
|
94
|
+
* @version 1.105.0
|
|
90
95
|
*
|
|
91
96
|
* @constructor
|
|
92
97
|
* @public
|
|
@@ -215,6 +220,8 @@ function(
|
|
|
215
220
|
// and have valueState property of the RadioButton set to the message type.
|
|
216
221
|
MessageMixin.call(RadioButton.prototype);
|
|
217
222
|
|
|
223
|
+
RadioButton.getNextSelectionNumber = getNextSelectionNumber;
|
|
224
|
+
|
|
218
225
|
RadioButton.prototype._groupNames = {};
|
|
219
226
|
|
|
220
227
|
// Keyboard navigation variants
|
|
@@ -225,10 +232,20 @@ function(
|
|
|
225
232
|
PREV: "prev"
|
|
226
233
|
};
|
|
227
234
|
|
|
235
|
+
RadioButton.prototype.init = function () {
|
|
236
|
+
this._iSelectionNumber = -1;
|
|
237
|
+
};
|
|
238
|
+
|
|
228
239
|
RadioButton.prototype.onBeforeRendering = function() {
|
|
229
|
-
this.
|
|
240
|
+
var sGroupName = this.getGroupName();
|
|
241
|
+
|
|
242
|
+
this._updateGroupName(sGroupName);
|
|
230
243
|
this._updateLabelProperties();
|
|
231
244
|
|
|
245
|
+
// If this radio button is selected, explicitly deselect the other radio buttons in the same group
|
|
246
|
+
if (this.getSelected() && sGroupName !== "" && this._isLastSelectedInGroup(sGroupName)) {
|
|
247
|
+
this._deselectOthersInGroup(sGroupName);
|
|
248
|
+
}
|
|
232
249
|
};
|
|
233
250
|
|
|
234
251
|
/**
|
|
@@ -265,7 +282,7 @@ function(
|
|
|
265
282
|
var oParent = this.getParent();
|
|
266
283
|
|
|
267
284
|
// check if the RadioButton is part of a RadioButtonGroup which is disabled/readonly
|
|
268
|
-
if (oParent
|
|
285
|
+
if (oParent && oParent.isA("sap.m.RadioButtonGroup") && (!oParent.getEnabled() || !oParent.getEditable())) {
|
|
269
286
|
return;
|
|
270
287
|
}
|
|
271
288
|
|
|
@@ -304,22 +321,10 @@ function(
|
|
|
304
321
|
* @public
|
|
305
322
|
*/
|
|
306
323
|
RadioButton.prototype.setSelected = function(bSelected) {
|
|
307
|
-
var sGroupName = this.getGroupName(),
|
|
308
|
-
aControlsInGroup = this._groupNames[sGroupName],
|
|
309
|
-
iLength = aControlsInGroup && aControlsInGroup.length;
|
|
310
|
-
|
|
311
324
|
this.setProperty("selected", bSelected);
|
|
312
|
-
this._updateGroupName(sGroupName);
|
|
313
325
|
|
|
314
|
-
if (
|
|
315
|
-
|
|
316
|
-
var oControl = aControlsInGroup[i];
|
|
317
|
-
|
|
318
|
-
if (oControl instanceof RadioButton && oControl !== this && oControl.getSelected()) {
|
|
319
|
-
oControl.fireSelect({ selected: false });
|
|
320
|
-
oControl.setSelected(false);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
326
|
+
if (this.getSelected()) {
|
|
327
|
+
this._iSelectionNumber = getNextSelectionNumber();
|
|
323
328
|
}
|
|
324
329
|
|
|
325
330
|
return this;
|
|
@@ -421,7 +426,7 @@ function(
|
|
|
421
426
|
* @private
|
|
422
427
|
*/
|
|
423
428
|
RadioButton.prototype._keyboardHandler = function(sPosition, bSelect) {
|
|
424
|
-
if (this.getParent()
|
|
429
|
+
if (this.getParent() && this.getParent().isA("sap.m.RadioButtonGroup")) {
|
|
425
430
|
return;
|
|
426
431
|
}
|
|
427
432
|
|
|
@@ -596,6 +601,28 @@ function(
|
|
|
596
601
|
}
|
|
597
602
|
};
|
|
598
603
|
|
|
604
|
+
RadioButton.prototype._isLastSelectedInGroup = function (sGroupName) {
|
|
605
|
+
var aControlsInGroup = this._groupNames[sGroupName];
|
|
606
|
+
|
|
607
|
+
return aControlsInGroup.every(function (aButton) {
|
|
608
|
+
return aButton._iSelectionNumber <= this._iSelectionNumber;
|
|
609
|
+
}.bind(this));
|
|
610
|
+
};
|
|
611
|
+
|
|
612
|
+
RadioButton.prototype._deselectOthersInGroup = function (sGroupName) {
|
|
613
|
+
var aControlsInGroup = this._groupNames[sGroupName],
|
|
614
|
+
iLength = aControlsInGroup && aControlsInGroup.length;
|
|
615
|
+
|
|
616
|
+
for (var i = 0; i < iLength; i++) {
|
|
617
|
+
var oControl = aControlsInGroup[i];
|
|
618
|
+
|
|
619
|
+
if (oControl instanceof RadioButton && oControl !== this && oControl.getSelected()) {
|
|
620
|
+
oControl.fireSelect({ selected: false });
|
|
621
|
+
oControl.setSelected(false);
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
};
|
|
625
|
+
|
|
599
626
|
// Private properties setter generation
|
|
600
627
|
["editableParent"].forEach(function(privatePropName) {
|
|
601
628
|
RadioButton.prototype["_set" + capitalize(privatePropName)] = function (vValue) {
|
|
@@ -10,6 +10,7 @@ sap.ui.define([
|
|
|
10
10
|
'sap/ui/core/Control',
|
|
11
11
|
'sap/ui/core/delegate/ItemNavigation',
|
|
12
12
|
'sap/ui/core/library',
|
|
13
|
+
'./RadioButton',
|
|
13
14
|
'./RadioButtonGroupRenderer',
|
|
14
15
|
"sap/base/Log"
|
|
15
16
|
],
|
|
@@ -18,6 +19,7 @@ sap.ui.define([
|
|
|
18
19
|
Control,
|
|
19
20
|
ItemNavigation,
|
|
20
21
|
coreLibrary,
|
|
22
|
+
RadioButton,
|
|
21
23
|
RadioButtonGroupRenderer,
|
|
22
24
|
Log
|
|
23
25
|
) {
|
|
@@ -57,7 +59,7 @@ sap.ui.define([
|
|
|
57
59
|
* @implements sap.ui.core.IFormContent
|
|
58
60
|
*
|
|
59
61
|
* @author SAP SE
|
|
60
|
-
* @version 1.
|
|
62
|
+
* @version 1.105.0
|
|
61
63
|
*
|
|
62
64
|
* @constructor
|
|
63
65
|
* @public
|
|
@@ -152,6 +154,10 @@ sap.ui.define([
|
|
|
152
154
|
}
|
|
153
155
|
}});
|
|
154
156
|
|
|
157
|
+
RadioButtonGroup.prototype.init = function() {
|
|
158
|
+
this._iSelectionNumber = -1;
|
|
159
|
+
};
|
|
160
|
+
|
|
155
161
|
/**
|
|
156
162
|
* Exits the radio button group.
|
|
157
163
|
*
|
|
@@ -176,11 +182,26 @@ sap.ui.define([
|
|
|
176
182
|
RadioButtonGroup.prototype.onBeforeRendering = function() {
|
|
177
183
|
var aButtons = this.getButtons();
|
|
178
184
|
var bEditable = this.getEditable();
|
|
185
|
+
var iCurrentSelectedButtonSelectionNumber = -1;
|
|
179
186
|
|
|
180
187
|
aButtons.forEach(function (oRadioButton) {
|
|
181
|
-
oRadioButton.
|
|
188
|
+
if (oRadioButton.getSelected()) {
|
|
189
|
+
iCurrentSelectedButtonSelectionNumber = Math.max(iCurrentSelectedButtonSelectionNumber, oRadioButton._iSelectionNumber);
|
|
190
|
+
}
|
|
182
191
|
});
|
|
183
192
|
|
|
193
|
+
if (iCurrentSelectedButtonSelectionNumber === -1 && this._iSelectionNumber === -1) {
|
|
194
|
+
this._iSelectionNumber = RadioButton.getNextSelectionNumber();
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
aButtons.forEach(function (oRadioButton, i) {
|
|
198
|
+
oRadioButton._setEditableParent(bEditable);
|
|
199
|
+
|
|
200
|
+
if (i === this.getSelectedIndex() && this._iSelectionNumber > iCurrentSelectedButtonSelectionNumber) {
|
|
201
|
+
oRadioButton.setSelected(true);
|
|
202
|
+
}
|
|
203
|
+
}, this);
|
|
204
|
+
|
|
184
205
|
if (this.aRBs){
|
|
185
206
|
var oValueState = this.getValueState();
|
|
186
207
|
this.aRBs.forEach(function (oRB) { oRB.setValueState(oValueState); });
|
|
@@ -266,6 +287,7 @@ sap.ui.define([
|
|
|
266
287
|
}
|
|
267
288
|
|
|
268
289
|
this.setProperty("selectedIndex", iSelectedIndex, true); // no re-rendering
|
|
290
|
+
this._iSelectionNumber = RadioButton.getNextSelectionNumber();
|
|
269
291
|
|
|
270
292
|
// deselect old RadioButton
|
|
271
293
|
if (!isNaN(iIndexOld) && this.aRBs && this.aRBs[iIndexOld]) {
|
|
@@ -331,18 +353,13 @@ sap.ui.define([
|
|
|
331
353
|
* @returns {this} Pointer to the control instance for chaining.
|
|
332
354
|
*/
|
|
333
355
|
RadioButtonGroup.prototype.addButton = function(oButton) {
|
|
334
|
-
if (!this._bUpdateButtons && this.getSelectedIndex() === undefined) {
|
|
335
|
-
// if not defined -> select first one
|
|
336
|
-
this.setSelectedIndex(0);
|
|
337
|
-
}
|
|
338
|
-
|
|
339
356
|
if (!this.aRBs) {
|
|
340
357
|
this.aRBs = [];
|
|
341
358
|
}
|
|
342
359
|
|
|
343
360
|
var iIndex = this.aRBs.length;
|
|
344
361
|
|
|
345
|
-
this.aRBs[iIndex] = this._createRadioButton(oButton
|
|
362
|
+
this.aRBs[iIndex] = this._createRadioButton(oButton);
|
|
346
363
|
|
|
347
364
|
this.addAggregation("buttons", this.aRBs[iIndex]);
|
|
348
365
|
return this;
|
|
@@ -377,13 +394,13 @@ sap.ui.define([
|
|
|
377
394
|
}
|
|
378
395
|
|
|
379
396
|
if (iIndex >= iLength) {
|
|
380
|
-
this.aRBs[iIndex] = this._createRadioButton(oButton
|
|
397
|
+
this.aRBs[iIndex] = this._createRadioButton(oButton);
|
|
381
398
|
} else {
|
|
382
399
|
// Insert RadioButton: loop backwards over Array and shift everything
|
|
383
400
|
for (var i = (iLength); i > iIndex; i--) {
|
|
384
401
|
this.aRBs[i] = this.aRBs[i - 1];
|
|
385
402
|
if ((i - 1) == iIndex) {
|
|
386
|
-
this.aRBs[i - 1] = this._createRadioButton(oButton
|
|
403
|
+
this.aRBs[i - 1] = this._createRadioButton(oButton);
|
|
387
404
|
}
|
|
388
405
|
}
|
|
389
406
|
}
|
|
@@ -394,15 +411,13 @@ sap.ui.define([
|
|
|
394
411
|
};
|
|
395
412
|
|
|
396
413
|
/**
|
|
397
|
-
* Creates a copy of the sap.m.RadioButton passed as a first argument
|
|
398
|
-
* adds it to the RadioButtonGroup at the index specified in the second argument.
|
|
414
|
+
* Creates a copy of the sap.m.RadioButton passed as a first argument
|
|
399
415
|
*
|
|
400
416
|
* @private
|
|
401
417
|
* @param {sap.m.RadioButton} oButton The button from which a radio button will be created.
|
|
402
|
-
* @param {number} iIndex The index in the group at which the radio button will be placed.
|
|
403
418
|
* @returns {sap.m.RadioButton} The created radio button.
|
|
404
419
|
*/
|
|
405
|
-
RadioButtonGroup.prototype._createRadioButton = function(oButton
|
|
420
|
+
RadioButtonGroup.prototype._createRadioButton = function(oButton) {
|
|
406
421
|
|
|
407
422
|
if (this.iIDCount == undefined) {
|
|
408
423
|
this.iIDCount = 0;
|
|
@@ -412,11 +427,6 @@ sap.ui.define([
|
|
|
412
427
|
|
|
413
428
|
oButton.setValueState(this.getValueState());
|
|
414
429
|
oButton.setGroupName(this.getId());
|
|
415
|
-
|
|
416
|
-
if (iIndex == this.getSelectedIndex()) {
|
|
417
|
-
oButton.setSelected(true);
|
|
418
|
-
}
|
|
419
|
-
|
|
420
430
|
oButton.attachEvent("select", this._handleRBSelect, this);
|
|
421
431
|
|
|
422
432
|
return oButton;
|
package/src/sap/m/RangeSlider.js
CHANGED
|
@@ -7,7 +7,6 @@ sap.ui.define([
|
|
|
7
7
|
"sap/ui/core/InvisibleText",
|
|
8
8
|
"sap/base/Log",
|
|
9
9
|
"./Slider",
|
|
10
|
-
"./SliderTooltip",
|
|
11
10
|
"./SliderUtilities",
|
|
12
11
|
"./RangeSliderRenderer",
|
|
13
12
|
"sap/ui/thirdparty/jquery",
|
|
@@ -17,7 +16,6 @@ sap.ui.define([
|
|
|
17
16
|
InvisibleText,
|
|
18
17
|
log,
|
|
19
18
|
Slider,
|
|
20
|
-
SliderTooltip,
|
|
21
19
|
SliderUtilities,
|
|
22
20
|
RangeSliderRenderer,
|
|
23
21
|
jQuery,
|
|
@@ -51,7 +49,7 @@ sap.ui.define([
|
|
|
51
49
|
* @extends sap.m.Slider
|
|
52
50
|
*
|
|
53
51
|
* @author SAP SE
|
|
54
|
-
* @version 1.
|
|
52
|
+
* @version 1.105.0
|
|
55
53
|
*
|
|
56
54
|
* @constructor
|
|
57
55
|
* @public
|
|
@@ -51,7 +51,7 @@ sap.ui.define([
|
|
|
51
51
|
* @extends sap.ui.core.Control
|
|
52
52
|
*
|
|
53
53
|
* @author SAP SE
|
|
54
|
-
* @version 1.
|
|
54
|
+
* @version 1.105.0
|
|
55
55
|
*
|
|
56
56
|
* @constructor
|
|
57
57
|
* @public
|
|
@@ -273,6 +273,13 @@ sap.ui.define([
|
|
|
273
273
|
return;
|
|
274
274
|
}
|
|
275
275
|
|
|
276
|
+
var sDensityMode = this._getDensityMode();
|
|
277
|
+
|
|
278
|
+
if (sDensityMode === "Compact") {
|
|
279
|
+
sIconSize = "sapUiRIIconSizeCompact";
|
|
280
|
+
sIconPaddingSize = "sapUiRIIconPaddingCompact";
|
|
281
|
+
}
|
|
282
|
+
|
|
276
283
|
var mParamеters = Object.assign({
|
|
277
284
|
// add global styles as default
|
|
278
285
|
"sapUiRIIconSizeDisplayOnly": "1rem",
|
|
@@ -61,6 +61,11 @@ sap.ui.define(
|
|
|
61
61
|
oRm.attr("tabindex", "-1");
|
|
62
62
|
bEnabled ? oRm.class("sapMRIDisplayOnly") : oRm.class("sapMRIDisabled");
|
|
63
63
|
}
|
|
64
|
+
|
|
65
|
+
if (!oControl.getIconSize()) {
|
|
66
|
+
oRm.class("sapMRINoCustomIconSize");
|
|
67
|
+
}
|
|
68
|
+
|
|
64
69
|
oRm.class("sapMRI");
|
|
65
70
|
oRm.class("sapUiRatingIndicator" + oControl._getIconSizeLabel(this._fIconSize));
|
|
66
71
|
|
|
@@ -126,7 +131,7 @@ sap.ui.define(
|
|
|
126
131
|
oRm.openEnd();
|
|
127
132
|
|
|
128
133
|
for (var i = 0; i < this._iSymbolCount; i++) {
|
|
129
|
-
this.renderIcon("SELECTED", oRm, oControl);
|
|
134
|
+
this.renderIcon("SELECTED", oRm, oControl, i);
|
|
130
135
|
}
|
|
131
136
|
|
|
132
137
|
oRm.close("div");
|
|
@@ -149,7 +154,7 @@ sap.ui.define(
|
|
|
149
154
|
oRm.openEnd();
|
|
150
155
|
|
|
151
156
|
for (var i = 0; i < this._iSymbolCount; i++) {
|
|
152
|
-
this.renderIcon("UNSELECTED", oRm, oControl);
|
|
157
|
+
this.renderIcon("UNSELECTED", oRm, oControl, i);
|
|
153
158
|
}
|
|
154
159
|
|
|
155
160
|
oRm.close("div");
|
|
@@ -163,7 +168,7 @@ sap.ui.define(
|
|
|
163
168
|
oRm.openEnd();
|
|
164
169
|
|
|
165
170
|
for (var i = 0; i < this._iSymbolCount; i++) {
|
|
166
|
-
this.renderIcon("HOVERED", oRm, oControl);
|
|
171
|
+
this.renderIcon("HOVERED", oRm, oControl, i);
|
|
167
172
|
}
|
|
168
173
|
oRm.close("div");
|
|
169
174
|
}
|
|
@@ -177,7 +182,7 @@ sap.ui.define(
|
|
|
177
182
|
oRm.close("div");
|
|
178
183
|
};
|
|
179
184
|
|
|
180
|
-
RatingIndicatorRenderer.renderIcon = function(iconType, oRm, oControl) {
|
|
185
|
+
RatingIndicatorRenderer.renderIcon = function(iconType, oRm, oControl, iValue) {
|
|
181
186
|
var sIconURI = this.getIconURI(iconType, oControl),
|
|
182
187
|
sTagName = this.getIconTag(sIconURI),
|
|
183
188
|
bIsIconURI = IconPool.isIconURI(sIconURI),
|
|
@@ -196,6 +201,10 @@ sap.ui.define(
|
|
|
196
201
|
oRm.class("sapUiIcon");
|
|
197
202
|
oRm.class(this.getIconClass(iconType));
|
|
198
203
|
|
|
204
|
+
if (iValue >= Math.ceil(oControl.getValue())) {
|
|
205
|
+
oRm.class("sapMRIunratedIcon");
|
|
206
|
+
}
|
|
207
|
+
|
|
199
208
|
oRm.style("width", sSize);
|
|
200
209
|
oRm.style("height", sSize);
|
|
201
210
|
oRm.style("line-height", sSize);
|
|
@@ -61,7 +61,7 @@ sap.ui.define([
|
|
|
61
61
|
* @extends sap.ui.core.Control
|
|
62
62
|
*
|
|
63
63
|
* @author SAP SE
|
|
64
|
-
* @version 1.
|
|
64
|
+
* @version 1.105.0
|
|
65
65
|
*
|
|
66
66
|
* @constructor
|
|
67
67
|
* @public
|
|
@@ -418,8 +418,8 @@ sap.ui.define([
|
|
|
418
418
|
/**
|
|
419
419
|
* Opens the ResponsivePopover. The ResponsivePopover is positioned relatively to the control parameter on tablet or desktop and is full screen on phone. Therefore the control parameter is only used on tablet or desktop and is ignored on phone.
|
|
420
420
|
*
|
|
421
|
-
* @param {
|
|
422
|
-
* @returns {
|
|
421
|
+
* @param {sap.ui.core.Control|HTMLElement} oParent When this control is displayed on tablet or desktop, the ResponsivePopover is positioned relative to this UI5 control or DOM element.
|
|
422
|
+
* @returns {sap.m.Popover|sap.m.Dialog} Reference to the opening control
|
|
423
423
|
* @public
|
|
424
424
|
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
425
425
|
*/
|
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.105.0
|
|
29
29
|
*
|
|
30
30
|
* @private
|
|
31
31
|
* @alias sap.m.ScrollBar
|
package/src/sap/m/SearchField.js
CHANGED
package/src/sap/m/Select.js
CHANGED
|
@@ -103,7 +103,7 @@ function(
|
|
|
103
103
|
* @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
|
|
104
104
|
*
|
|
105
105
|
* @author SAP SE
|
|
106
|
-
* @version 1.
|
|
106
|
+
* @version 1.105.0
|
|
107
107
|
*
|
|
108
108
|
* @constructor
|
|
109
109
|
* @public
|
|
@@ -346,7 +346,6 @@ function(
|
|
|
346
346
|
*
|
|
347
347
|
* <b>Note:</b> This property takes effect only when the <code>showSecondaryValues</code> property is set to <code>true</code>.
|
|
348
348
|
* @since 1.86
|
|
349
|
-
* @experimental As of version 1.86
|
|
350
349
|
*/
|
|
351
350
|
columnRatio: {
|
|
352
351
|
type: "sap.m.SelectColumnRatio",
|
|
@@ -2323,6 +2322,7 @@ function(
|
|
|
2323
2322
|
* Retrieves the index of the selected item from the aggregation named <code>items</code>.
|
|
2324
2323
|
*
|
|
2325
2324
|
* @returns {int} An integer specifying the selected index, or -1 if no item is selected.
|
|
2325
|
+
* @private
|
|
2326
2326
|
* @since 1.26.0
|
|
2327
2327
|
*/
|
|
2328
2328
|
Select.prototype.getSelectedIndex = function() {
|
|
@@ -2369,7 +2369,7 @@ function(
|
|
|
2369
2369
|
/**
|
|
2370
2370
|
* Checks whether the provided element is the open area.
|
|
2371
2371
|
*
|
|
2372
|
-
* @param {
|
|
2372
|
+
* @param {HTMLElement} oDomRef
|
|
2373
2373
|
* @returns {boolean}
|
|
2374
2374
|
* @since 1.22.0
|
|
2375
2375
|
*/
|
|
@@ -2881,35 +2881,29 @@ function(
|
|
|
2881
2881
|
|
|
2882
2882
|
Select.prototype.setValueState = function(sValueState) {
|
|
2883
2883
|
var sOldValueState = this.getValueState(),
|
|
2884
|
+
oDomRef,
|
|
2884
2885
|
oPicker;
|
|
2885
2886
|
|
|
2886
2887
|
if (sValueState === sOldValueState) {
|
|
2887
2888
|
return this;
|
|
2888
2889
|
}
|
|
2889
|
-
|
|
2890
2890
|
oPicker = this.getPicker();
|
|
2891
2891
|
|
|
2892
2892
|
if (oPicker && oPicker.isA("sap.m.Popover") && oPicker.isOpen() && oPicker.oPopup.getOpenState() === OpenState.CLOSING) {
|
|
2893
2893
|
oPicker.attachEventOnce("afterClose", function(oEvent) {
|
|
2894
|
-
|
|
2894
|
+
this._updatePickerAriaLabelledBy(sValueState);
|
|
2895
2895
|
}, this);
|
|
2896
2896
|
} else {
|
|
2897
|
-
|
|
2897
|
+
this._updatePickerAriaLabelledBy(sValueState);
|
|
2898
2898
|
}
|
|
2899
2899
|
|
|
2900
|
-
};
|
|
2901
|
-
|
|
2902
|
-
Select.prototype._finishSettingValueState = function(sValueState) {
|
|
2903
|
-
|
|
2904
2900
|
this.setProperty("valueState", sValueState);
|
|
2905
2901
|
|
|
2906
|
-
this._updatePickerAriaLabelledBy(sValueState);
|
|
2907
|
-
|
|
2908
2902
|
if (this._isFocused()) {
|
|
2909
2903
|
this._announceValueStateText();
|
|
2910
2904
|
}
|
|
2911
2905
|
|
|
2912
|
-
|
|
2906
|
+
oDomRef = this.getDomRefForValueState();
|
|
2913
2907
|
|
|
2914
2908
|
if (!oDomRef) {
|
|
2915
2909
|
return this;
|
|
@@ -119,7 +119,7 @@ function(
|
|
|
119
119
|
* @extends sap.m.SelectDialogBase
|
|
120
120
|
*
|
|
121
121
|
* @author SAP SE
|
|
122
|
-
* @version 1.
|
|
122
|
+
* @version 1.105.0
|
|
123
123
|
*
|
|
124
124
|
* @constructor
|
|
125
125
|
* @public
|
|
@@ -1062,6 +1062,7 @@ function(
|
|
|
1062
1062
|
// When reset the filter, the selected items might go outside
|
|
1063
1063
|
// the currently visible items (outside the current growing number).
|
|
1064
1064
|
// Set the growing to false to prevent this.
|
|
1065
|
+
that._oList.destroyItems();
|
|
1065
1066
|
that._oList.setGrowing(false);
|
|
1066
1067
|
oBindings.filter([]);
|
|
1067
1068
|
that._oList.setGrowing(that.getGrowing());
|
package/src/sap/m/SelectList.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
|
-
sap.ui.define(["sap/ui/core/Element", "sap/ui/core/library", "sap/ui/core/
|
|
7
|
-
function(Element, coreLibrary,
|
|
6
|
+
sap.ui.define(["sap/ui/core/Element", "sap/ui/core/library", "sap/ui/core/IconPool", "sap/ui/Device"],
|
|
7
|
+
function(Element, coreLibrary, IconPool, Device) {
|
|
8
8
|
"use strict";
|
|
9
9
|
|
|
10
10
|
// shortcut for sap.ui.core.TextDirection
|
|
@@ -37,7 +37,7 @@ function(
|
|
|
37
37
|
* <b><i>Note:</i></b>It is protected and should only be used within the framework itself.
|
|
38
38
|
*
|
|
39
39
|
* @author SAP SE
|
|
40
|
-
* @version 1.
|
|
40
|
+
* @version 1.105.0
|
|
41
41
|
*
|
|
42
42
|
* @extends sap.ui.core.Control
|
|
43
43
|
* @constructor
|
|
@@ -294,7 +294,7 @@ function(
|
|
|
294
294
|
* @param {function} Button The constructor for sap.m.Button.
|
|
295
295
|
* @private
|
|
296
296
|
*/
|
|
297
|
-
SelectionDetails.prototype._handleNavLazy = function(pageTitle, content, Page, Toolbar, ToolbarSpacer, Title
|
|
297
|
+
SelectionDetails.prototype._handleNavLazy = function(pageTitle, content, Page, Toolbar, ToolbarSpacer, Title) {
|
|
298
298
|
var sPageId = this.getId() + "-page-for-" + content.getId() + "-uid-" + uid();
|
|
299
299
|
|
|
300
300
|
this._setPopoverHeight(SelectionDetails._POPOVER_MAX_HEIGHT);
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @since 1.48.0
|
|
11
11
|
* @public
|
|
12
12
|
* @author SAP SE
|
|
13
|
-
* @version 1.
|
|
13
|
+
* @version 1.105.0
|
|
14
14
|
* @borrows sap.ui.core.Element#addCustomData as #addCustomData
|
|
15
15
|
* @borrows sap.ui.core.Element#getCustomData as #getCustomData
|
|
16
16
|
* @borrows sap.ui.core.Element#indexOfCustomData as #indexOfCustomData
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
* @since 1.48.0
|
|
46
46
|
* @public
|
|
47
47
|
* @author SAP SE
|
|
48
|
-
* @version 1.
|
|
48
|
+
* @version 1.105.0
|
|
49
49
|
* @borrows sap.ui.core.Element#addCustomData as #addCustomData
|
|
50
50
|
* @borrows sap.ui.core.Element#getCustomData as #getCustomData
|
|
51
51
|
* @borrows sap.ui.core.Element#indexOfCustomData as #indexOfCustomData
|
package/src/sap/m/Shell.js
CHANGED
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* The Shell control can be used as root element of applications. It can contain an App or a <code>SplitApp</code> control.
|
|
36
36
|
* The Shell provides some overarching functionality for the overall application and takes care of visual adaptation, such as a frame around the App, on desktop browser platforms.
|
|
37
37
|
* @extends sap.ui.core.Control
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.105.0
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @public
|