@openui5/sap.m 1.103.1 → 1.106.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 +35 -15
- package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +5 -0
- package/THIRDPARTY.txt +64 -21
- package/package.json +4 -4
- package/src/sap/m/.library +17 -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/CarouselRenderer.js +3 -3
- 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 +5 -5
- 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 +3 -7
- 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 +16 -26
- 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 +58 -32
- package/src/sap/m/DateTimePickerRenderer.js +1 -1
- package/src/sap/m/Dialog.js +44 -2
- 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 +116 -23
- package/src/sap/m/GenericTileLineModeRenderer.js +4 -4
- package/src/sap/m/GenericTileRenderer.js +23 -10
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +60 -36
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +34 -32
- 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 +6 -19
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +98 -25
- package/src/sap/m/IllustratedMessageRenderer.js +10 -6
- package/src/sap/m/Illustration.js +8 -1
- package/src/sap/m/IllustrationPool.js +1 -0
- package/src/sap/m/IllustrationRenderer.js +2 -1
- package/src/sap/m/Image.js +73 -3
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/ImageRenderer.js +66 -2
- package/src/sap/m/Input.js +62 -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/InstanceManager.js +6 -6
- package/src/sap/m/Label.js +34 -4
- package/src/sap/m/LabelRenderer.js +7 -2
- package/src/sap/m/LightBox.js +2 -2
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +74 -10
- package/src/sap/m/LinkRenderer.js +26 -12
- package/src/sap/m/List.js +38 -1
- package/src/sap/m/ListBase.js +109 -44
- 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 +10 -6
- 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 +8 -5
- 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 -8
- package/src/sap/m/OverflowToolbarAssociativePopoverRenderer.js +2 -2
- package/src/sap/m/OverflowToolbarButton.js +2 -2
- 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 -26
- 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/SearchFieldRenderer.js +1 -0
- package/src/sap/m/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +8 -14
- 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 +7 -9
- 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 +12 -13
- 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 +3 -7
- 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 +45 -8
- package/src/sap/m/TimePickerClock.js +2 -3
- package/src/sap/m/TimePickerClocks.js +5 -3
- package/src/sap/m/TimePickerClocksRenderer.js +4 -2
- 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 +717 -571
- 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 +10 -3
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +3 -1
- package/src/sap/m/_thirdparty/purify.js +1622 -0
- 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 +60 -7
- package/src/sap/m/messagebundle.properties +57 -6
- package/src/sap/m/messagebundle_ar.properties +39 -9
- package/src/sap/m/messagebundle_bg.properties +33 -3
- package/src/sap/m/messagebundle_ca.properties +32 -2
- package/src/sap/m/messagebundle_cs.properties +32 -2
- package/src/sap/m/messagebundle_cy.properties +34 -4
- package/src/sap/m/messagebundle_da.properties +32 -2
- package/src/sap/m/messagebundle_de.properties +32 -2
- package/src/sap/m/messagebundle_el.properties +35 -5
- package/src/sap/m/messagebundle_en.properties +34 -4
- package/src/sap/m/messagebundle_en_GB.properties +34 -4
- package/src/sap/m/messagebundle_en_US_sappsd.properties +33 -3
- package/src/sap/m/messagebundle_en_US_saprigi.properties +31 -3
- package/src/sap/m/messagebundle_en_US_saptrc.properties +33 -3
- package/src/sap/m/messagebundle_es.properties +33 -3
- package/src/sap/m/messagebundle_es_MX.properties +32 -2
- package/src/sap/m/messagebundle_et.properties +32 -2
- package/src/sap/m/messagebundle_fi.properties +36 -6
- package/src/sap/m/messagebundle_fr.properties +33 -3
- package/src/sap/m/messagebundle_fr_CA.properties +34 -4
- package/src/sap/m/messagebundle_hi.properties +34 -4
- package/src/sap/m/messagebundle_hr.properties +36 -6
- package/src/sap/m/messagebundle_hu.properties +34 -4
- package/src/sap/m/messagebundle_id.properties +34 -4
- package/src/sap/m/messagebundle_it.properties +33 -3
- package/src/sap/m/messagebundle_iw.properties +34 -4
- package/src/sap/m/messagebundle_ja.properties +33 -3
- package/src/sap/m/messagebundle_kk.properties +32 -2
- package/src/sap/m/messagebundle_ko.properties +40 -10
- package/src/sap/m/messagebundle_lt.properties +32 -2
- package/src/sap/m/messagebundle_lv.properties +32 -2
- package/src/sap/m/messagebundle_ms.properties +33 -3
- package/src/sap/m/messagebundle_nl.properties +46 -16
- package/src/sap/m/messagebundle_no.properties +34 -4
- package/src/sap/m/messagebundle_pl.properties +33 -3
- package/src/sap/m/messagebundle_pt.properties +37 -7
- package/src/sap/m/messagebundle_pt_PT.properties +32 -2
- package/src/sap/m/messagebundle_ro.properties +33 -3
- package/src/sap/m/messagebundle_ru.properties +33 -3
- package/src/sap/m/messagebundle_sh.properties +33 -3
- package/src/sap/m/messagebundle_sk.properties +32 -2
- package/src/sap/m/messagebundle_sl.properties +33 -3
- package/src/sap/m/messagebundle_sv.properties +32 -2
- package/src/sap/m/messagebundle_th.properties +65 -35
- package/src/sap/m/messagebundle_tr.properties +36 -6
- package/src/sap/m/messagebundle_uk.properties +33 -3
- package/src/sap/m/messagebundle_vi.properties +33 -3
- package/src/sap/m/messagebundle_zh_CN.properties +33 -3
- package/src/sap/m/messagebundle_zh_TW.properties +32 -2
- 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 +24 -13
- 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 +23 -5
- package/src/sap/m/p13n/SortController.js +153 -0
- package/src/sap/m/p13n/SortPanel.js +15 -5
- 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/rules/CheckBox.support.js +1 -1
- package/src/sap/m/rules/Image.support.js +1 -1
- package/src/sap/m/rules/Link.support.js +1 -1
- package/src/sap/m/rules/MessagePage.support.js +1 -1
- package/src/sap/m/rules/ObjectHeader.support.js +6 -6
- package/src/sap/m/rules/ObjectListItem.support.js +1 -1
- package/src/sap/m/rules/ObjectMarker.support.js +1 -1
- package/src/sap/m/rules/ObjectStatus.support.js +1 -1
- package/src/sap/m/rules/Panel.support.js +1 -1
- package/src/sap/m/rules/Select.support.js +1 -1
- package/src/sap/m/rules/Table.support.js +3 -3
- package/src/sap/m/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 +30 -11
- 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 +50 -13
- package/src/sap/m/table/columnmenu/QuickAction.js +16 -8
- package/src/sap/m/table/columnmenu/QuickActionBase.js +18 -3
- package/src/sap/m/table/columnmenu/QuickActionItem.js +5 -6
- package/src/sap/m/table/columnmenu/QuickGroup.js +29 -5
- 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 +8 -7
- package/src/sap/m/table/columnmenu/QuickTotal.js +29 -5
- 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/Carousel.less +8 -8
- 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/DisplayListItem.less +3 -3
- 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 +56 -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 +300 -23
- 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
|
@@ -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.106.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.106.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.106.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;
|
|
@@ -3012,7 +3006,7 @@ function(
|
|
|
3012
3006
|
* <b>Note: </b> If duplicate keys exist, the first item matching the key is returned.
|
|
3013
3007
|
*
|
|
3014
3008
|
* @param {string} sKey An item key that specifies the item to be retrieved.
|
|
3015
|
-
* @returns {sap.ui.core.Item} The <code>sap.ui.core.Item</code> instance or <code>null</code> if
|
|
3009
|
+
* @returns {sap.ui.core.Item|null} The <code>sap.ui.core.Item</code> instance or <code>null</code> if there is no such item
|
|
3016
3010
|
* @public
|
|
3017
3011
|
* @since 1.16
|
|
3018
3012
|
*/
|
|
@@ -119,7 +119,7 @@ function(
|
|
|
119
119
|
* @extends sap.m.SelectDialogBase
|
|
120
120
|
*
|
|
121
121
|
* @author SAP SE
|
|
122
|
-
* @version 1.
|
|
122
|
+
* @version 1.106.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.106.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.106.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.106.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.106.0
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @public
|
|
@@ -19,7 +19,6 @@ sap.ui.define([
|
|
|
19
19
|
'sap/ui/core/ResizeHandler',
|
|
20
20
|
'sap/ui/core/format/DateFormat',
|
|
21
21
|
'sap/ui/unified/calendar/CalendarDate',
|
|
22
|
-
'sap/ui/unified/calendar/CalendarUtils',
|
|
23
22
|
'sap/ui/unified/DateRange',
|
|
24
23
|
'sap/ui/unified/DateTypeRange',
|
|
25
24
|
'sap/ui/unified/library',
|
|
@@ -40,7 +39,6 @@ function(
|
|
|
40
39
|
ResizeHandler,
|
|
41
40
|
DateFormat,
|
|
42
41
|
CalendarDate,
|
|
43
|
-
CalendarUtils,
|
|
44
42
|
DateRange,
|
|
45
43
|
DateTypeRange,
|
|
46
44
|
unifiedLibrary,
|
|
@@ -104,7 +102,7 @@ function(
|
|
|
104
102
|
* @extends sap.ui.core.Control
|
|
105
103
|
*
|
|
106
104
|
* @author SAP SE
|
|
107
|
-
* @version 1.
|
|
105
|
+
* @version 1.106.0
|
|
108
106
|
*
|
|
109
107
|
* @constructor
|
|
110
108
|
* @public
|
|
@@ -965,7 +963,7 @@ function(
|
|
|
965
963
|
* Switches the visibility of the SegmentedButton in the _header and aligns the columns in the grid after an
|
|
966
964
|
* operation (add, insert, remove, removeAll, destroy) with the views is performed.
|
|
967
965
|
*
|
|
968
|
-
* @returns {
|
|
966
|
+
* @returns {this} this for method chaining
|
|
969
967
|
* @private
|
|
970
968
|
*/
|
|
971
969
|
SinglePlanningCalendar.prototype._alignView = function () {
|
|
@@ -1006,11 +1004,11 @@ function(
|
|
|
1006
1004
|
};
|
|
1007
1005
|
|
|
1008
1006
|
/**
|
|
1009
|
-
* Finds the view object by given key
|
|
1007
|
+
* Finds the view object by given key.
|
|
1010
1008
|
* @param {string} sKey The key of the view
|
|
1011
1009
|
* @public
|
|
1012
1010
|
* @since 1.75
|
|
1013
|
-
* @returns {sap.m.SinglePlanningCalendarView} the view object which matched the given <code>sKey</code>, or null if there is no such view
|
|
1011
|
+
* @returns {sap.m.SinglePlanningCalendarView|null} the view object which matched the given <code>sKey</code>, or <code>null</code> if there is no such view
|
|
1014
1012
|
*/
|
|
1015
1013
|
SinglePlanningCalendar.prototype.getViewByKey = function (sKey) {
|
|
1016
1014
|
var aViews = this.getViews(),
|
|
@@ -1065,7 +1063,7 @@ function(
|
|
|
1065
1063
|
* If the SinglePlanningCalendar has only one view added to its view aggregation, the button is not visible.
|
|
1066
1064
|
* Otherwise, it is displayed in the _header.
|
|
1067
1065
|
*
|
|
1068
|
-
* @returns {
|
|
1066
|
+
* @returns {this} this for method chaining
|
|
1069
1067
|
* @private
|
|
1070
1068
|
*/
|
|
1071
1069
|
SinglePlanningCalendar.prototype._switchViewButtonVisibility = function () {
|
|
@@ -1080,7 +1078,7 @@ function(
|
|
|
1080
1078
|
/**
|
|
1081
1079
|
* Attaches handlers to the events in the _header aggregation.
|
|
1082
1080
|
*
|
|
1083
|
-
* @returns {
|
|
1081
|
+
* @returns {this} this for method chaining
|
|
1084
1082
|
* @private
|
|
1085
1083
|
*/
|
|
1086
1084
|
SinglePlanningCalendar.prototype._attachHeaderEvents = function () {
|
|
@@ -1117,7 +1115,7 @@ function(
|
|
|
1117
1115
|
/**
|
|
1118
1116
|
* Attaches handlers to the events in the _grid aggregation.
|
|
1119
1117
|
*
|
|
1120
|
-
* @returns {
|
|
1118
|
+
* @returns {this} this for method chaining
|
|
1121
1119
|
* @private
|
|
1122
1120
|
*/
|
|
1123
1121
|
SinglePlanningCalendar.prototype._attachGridEvents = function () {
|
|
@@ -15,11 +15,8 @@ sap.ui.define([
|
|
|
15
15
|
'sap/ui/core/format/TimezoneUtil',
|
|
16
16
|
'sap/ui/core/Core',
|
|
17
17
|
'sap/ui/core/date/UniversalDate',
|
|
18
|
-
'sap/ui/core/dnd/DragInfo',
|
|
19
|
-
'sap/ui/core/dnd/DropInfo',
|
|
20
18
|
'sap/ui/core/dnd/DragDropInfo',
|
|
21
19
|
'sap/ui/unified/library',
|
|
22
|
-
'sap/ui/unified/CalendarAppointment',
|
|
23
20
|
'sap/ui/unified/calendar/DatesRow',
|
|
24
21
|
'sap/ui/unified/calendar/CalendarDate',
|
|
25
22
|
'sap/ui/unified/calendar/CalendarUtils',
|
|
@@ -42,11 +39,8 @@ sap.ui.define([
|
|
|
42
39
|
TimezoneUtil,
|
|
43
40
|
Core,
|
|
44
41
|
UniversalDate,
|
|
45
|
-
DragInfo,
|
|
46
|
-
DropInfo,
|
|
47
42
|
DragDropInfo,
|
|
48
43
|
unifiedLibrary,
|
|
49
|
-
CalendarAppointment,
|
|
50
44
|
DatesRow,
|
|
51
45
|
CalendarDate,
|
|
52
46
|
CalendarUtils,
|
|
@@ -106,7 +100,7 @@ sap.ui.define([
|
|
|
106
100
|
* @extends sap.ui.core.Control
|
|
107
101
|
*
|
|
108
102
|
* @author SAP SE
|
|
109
|
-
* @version 1.
|
|
103
|
+
* @version 1.106.0
|
|
110
104
|
*
|
|
111
105
|
* @constructor
|
|
112
106
|
* @private
|
|
@@ -8,7 +8,6 @@ sap.ui.define([
|
|
|
8
8
|
'sap/ui/unified/calendar/CalendarDate',
|
|
9
9
|
'sap/ui/unified/calendar/CalendarUtils',
|
|
10
10
|
'sap/ui/unified/calendar/Month',
|
|
11
|
-
'sap/ui/core/date/UniversalDate',
|
|
12
11
|
'sap/ui/core/IconPool',
|
|
13
12
|
'./PlanningCalendarLegend',
|
|
14
13
|
'sap/ui/core/InvisibleText',
|
|
@@ -19,7 +18,6 @@ sap.ui.define([
|
|
|
19
18
|
CalendarDate,
|
|
20
19
|
CalendarUtils,
|
|
21
20
|
Month,
|
|
22
|
-
UniversalDate,
|
|
23
21
|
IconPool,
|
|
24
22
|
PlanningCalendarLegend,
|
|
25
23
|
InvisibleText,
|
|
@@ -28,7 +28,7 @@ function (library, SinglePlanningCalendarView, LocaleData, CalendarDate, Calenda
|
|
|
28
28
|
* @extends sap.m.SinglePlanningCalendarView
|
|
29
29
|
*
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.106.0
|
|
32
32
|
*
|
|
33
33
|
* @constructor
|
|
34
34
|
* @public
|
|
@@ -75,20 +75,19 @@ function (library, SinglePlanningCalendarView, LocaleData, CalendarDate, Calenda
|
|
|
75
75
|
* @public
|
|
76
76
|
*/
|
|
77
77
|
SinglePlanningCalendarWeekView.prototype.calculateStartDate = function (oStartDate) {
|
|
78
|
-
var
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
iResultFirstDayOfWeek = this.getFirstDayOfWeek(),
|
|
83
|
-
oLocaleData;
|
|
78
|
+
var oLocaleData = LocaleData.getInstance(sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale()),
|
|
79
|
+
iFirstDayOfWeek = this.getFirstDayOfWeek(),
|
|
80
|
+
// -1 is the default value of firstDayOfWeek property. It means that the information from the used locale is used.
|
|
81
|
+
iCurrentFirstDayOfWeek = iFirstDayOfWeek === -1 ? oLocaleData.getFirstDayOfWeek() : iFirstDayOfWeek;
|
|
84
82
|
|
|
85
|
-
|
|
86
|
-
oLocaleData = LocaleData.getInstance(sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale());
|
|
87
|
-
iResultFirstDayOfWeek = oLocaleData.getFirstDayOfWeek();
|
|
88
|
-
}
|
|
89
|
-
oSPCStart.setDate(oSPCStart.getDate() - iOldFirstDayOfWeek + iResultFirstDayOfWeek);
|
|
83
|
+
oStartDate.setDate(oStartDate.getDate() - oStartDate.getDay() + iCurrentFirstDayOfWeek);
|
|
90
84
|
|
|
91
|
-
return
|
|
85
|
+
return CalendarUtils
|
|
86
|
+
._getFirstDateOfWeek(CalendarDate.fromLocalJSDate(oStartDate), {
|
|
87
|
+
firstDayOfWeek: iFirstDayOfWeek,
|
|
88
|
+
minimalDaysInFirstWeek: oLocaleData.getMinimalDaysInFirstWeek()
|
|
89
|
+
})
|
|
90
|
+
.toLocalJSDate();
|
|
92
91
|
};
|
|
93
92
|
|
|
94
93
|
return SinglePlanningCalendarWeekView;
|
package/src/sap/m/SlideTile.js
CHANGED
|
@@ -8,7 +8,6 @@ sap.ui.define([
|
|
|
8
8
|
'./library',
|
|
9
9
|
'sap/ui/core/Control',
|
|
10
10
|
'sap/m/GenericTile',
|
|
11
|
-
'sap/ui/Device',
|
|
12
11
|
'sap/ui/core/Icon',
|
|
13
12
|
'./SlideTileRenderer',
|
|
14
13
|
"sap/ui/events/KeyCodes",
|
|
@@ -19,7 +18,6 @@ sap.ui.define([
|
|
|
19
18
|
library,
|
|
20
19
|
Control,
|
|
21
20
|
GenericTile,
|
|
22
|
-
Device,
|
|
23
21
|
Icon,
|
|
24
22
|
SlideTileRenderer,
|
|
25
23
|
KeyCodes,
|
|
@@ -41,7 +39,7 @@ sap.ui.define([
|
|
|
41
39
|
* @extends sap.ui.core.Control
|
|
42
40
|
*
|
|
43
41
|
* @author SAP SE
|
|
44
|
-
* @version 1.
|
|
42
|
+
* @version 1.106.0
|
|
45
43
|
* @since 1.34
|
|
46
44
|
*
|
|
47
45
|
* @public
|
|
@@ -161,6 +159,11 @@ sap.ui.define([
|
|
|
161
159
|
this._stopAnimation();
|
|
162
160
|
this._sWidth = this._sHeight = undefined;
|
|
163
161
|
this._iCurrentTile = this._iPreviousTile = undefined;
|
|
162
|
+
|
|
163
|
+
//sets the extra width of 0.5rem when the grid container has 1rem gap for the TwoByxxxx tiles
|
|
164
|
+
if (this.getParent() && this.getParent().isA("sap.f.GridContainer")){
|
|
165
|
+
this._applyExtraWidth();
|
|
166
|
+
}
|
|
164
167
|
};
|
|
165
168
|
|
|
166
169
|
/**
|
|
@@ -385,7 +388,7 @@ sap.ui.define([
|
|
|
385
388
|
*/
|
|
386
389
|
SlideTile.prototype._setupResizeClassHandler = function () {
|
|
387
390
|
var fnCheckMedia = function () {
|
|
388
|
-
if (this.getSizeBehavior() === TileSizeBehavior.Small || window.matchMedia("(max-width: 374px)").matches)
|
|
391
|
+
if (this.getSizeBehavior() === TileSizeBehavior.Small || window.matchMedia("(max-width: 374px)").matches || this._hasStretchTiles()){
|
|
389
392
|
this.$().addClass("sapMTileSmallPhone");
|
|
390
393
|
} else {
|
|
391
394
|
this.$().removeClass("sapMTileSmallPhone");
|
|
@@ -396,6 +399,18 @@ sap.ui.define([
|
|
|
396
399
|
fnCheckMedia();
|
|
397
400
|
};
|
|
398
401
|
|
|
402
|
+
/**
|
|
403
|
+
*Checks if the tiles inside the slidetile has stretch frametype and the window size is below 600px
|
|
404
|
+
*
|
|
405
|
+
* @returns {boolean} True if the above mentioned condition is met
|
|
406
|
+
* @private
|
|
407
|
+
*/
|
|
408
|
+
SlideTile.prototype._hasStretchTiles = function () {
|
|
409
|
+
return this.getTiles().some(function(tile) {
|
|
410
|
+
return tile._isSmallStretchTile();
|
|
411
|
+
});
|
|
412
|
+
};
|
|
413
|
+
|
|
399
414
|
/**
|
|
400
415
|
* Checks if the focus is inside of SlideTile
|
|
401
416
|
*
|
|
@@ -748,6 +763,16 @@ sap.ui.define([
|
|
|
748
763
|
return false;
|
|
749
764
|
};
|
|
750
765
|
|
|
766
|
+
SlideTile.prototype._applyExtraWidth = function() {
|
|
767
|
+
var sGap = this.getParent().getActiveLayoutSettings().getGap();
|
|
768
|
+
var bisGap16px = sGap === "16px" || sGap === "1rem";
|
|
769
|
+
if (bisGap16px){
|
|
770
|
+
this.addStyleClass("sapMSTWidthForGridContainer");
|
|
771
|
+
} else if (!bisGap16px && this.hasStyleClass("sapMSTWidthForGridContainer")){
|
|
772
|
+
this.removeStyleClass("sapMSTWidthForGridContainer");
|
|
773
|
+
}
|
|
774
|
+
};
|
|
775
|
+
|
|
751
776
|
/**
|
|
752
777
|
* Determines the current action depending on the tile's scope.
|
|
753
778
|
* @param {sap.ui.base.Event} oEvent which was fired
|
|
@@ -757,4 +782,4 @@ sap.ui.define([
|
|
|
757
782
|
SlideTile.prototype._getEventParams = GenericTile.prototype._getEventParams;
|
|
758
783
|
|
|
759
784
|
return SlideTile;
|
|
760
|
-
});
|
|
785
|
+
});
|