@openui5/sap.m 1.115.1 → 1.117.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 +0 -5
- package/THIRDPARTY.txt +1 -7
- 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 +6 -2
- package/src/sap/m/ActionTile.js +1 -1
- package/src/sap/m/ActionTileContent.js +1 -1
- package/src/sap/m/AdditionalTextButton.js +1 -1
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +46 -5
- package/src/sap/m/AvatarRenderer.js +16 -10
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/Breadcrumbs.js +6 -5
- package/src/sap/m/BusyDialog.js +5 -3
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/Carousel.js +24 -8
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +19 -4
- package/src/sap/m/CheckBox.js +8 -4
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +29 -170
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +7 -12
- package/src/sap/m/ColumnListItemRenderer.js +16 -27
- package/src/sap/m/ColumnPopoverActionItem.js +1 -1
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
- package/src/sap/m/ColumnPopoverItem.js +1 -1
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +1 -1
- package/src/sap/m/ComboBoxBase.js +1 -1
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/DatePicker.js +31 -5
- package/src/sap/m/DatePickerRenderer.js +3 -2
- package/src/sap/m/DateRangeSelection.js +77 -25
- package/src/sap/m/DateTimeField.js +15 -10
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +1 -1
- package/src/sap/m/DateTimePickerRenderer.js +3 -1
- package/src/sap/m/Dialog.js +16 -10
- package/src/sap/m/DialogRenderer.js +3 -3
- 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/DynamicDateOption.js +2 -2
- package/src/sap/m/DynamicDateRange.js +42 -5
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +1 -3
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +18 -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 +44 -50
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +1 -1
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GroupHeaderListItemRenderer.js +5 -5
- package/src/sap/m/GrowingEnablement.js +34 -32
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +1 -1
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/HyphenationSupport.js +13 -4
- package/src/sap/m/IconTabBar.js +3 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +3 -3
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +1 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +4 -2
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/IllustrationPool.js +4 -3
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +21 -12
- package/src/sap/m/InputBase.js +7 -5
- package/src/sap/m/InputBaseRenderer.js +3 -3
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LabelRenderer.js +3 -3
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +36 -3
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +61 -28
- package/src/sap/m/ListBaseRenderer.js +12 -4
- package/src/sap/m/ListItemBase.js +17 -8
- package/src/sap/m/ListItemBaseRenderer.js +6 -6
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +14 -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/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +1 -1
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +1 -1
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageToast.js +1 -12
- package/src/sap/m/MessageView.js +2 -2
- package/src/sap/m/MultiComboBox.js +3 -3
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +13 -2
- package/src/sap/m/NavContainer.js +21 -5
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +6 -1
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +9 -2
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +63 -4
- package/src/sap/m/ObjectStatusRenderer.js +21 -9
- package/src/sap/m/OverflowToolbar.js +30 -15
- package/src/sap/m/OverflowToolbarAssociativePopover.js +5 -5
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- 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 +2 -8
- package/src/sap/m/P13nConditionPanel.js +1 -1
- package/src/sap/m/P13nDialog.js +2 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +3 -10
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +28 -43
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +1 -1
- package/src/sap/m/P13nItem.js +1 -1
- package/src/sap/m/P13nPanel.js +1 -1
- package/src/sap/m/P13nSelectionItem.js +1 -1
- package/src/sap/m/P13nSelectionPanel.js +5 -3
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +1 -1
- package/src/sap/m/PDFViewer.js +1 -1
- package/src/sap/m/PDFViewerRenderer.js +1 -1
- package/src/sap/m/Page.js +8 -6
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +11 -2
- package/src/sap/m/PanelRenderer.js +9 -0
- package/src/sap/m/PlanningCalendar.js +10 -4
- package/src/sap/m/PlanningCalendarHeader.js +1 -1
- 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 +13 -17
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +1 -1
- package/src/sap/m/QuickViewBase.js +1 -1
- package/src/sap/m/QuickViewCard.js +14 -1
- package/src/sap/m/QuickViewCardRenderer.js +0 -4
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +40 -28
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +1 -1
- package/src/sap/m/RangeSlider.js +1 -1
- package/src/sap/m/RatingIndicator.js +16 -4
- package/src/sap/m/RatingIndicatorRenderer.js +9 -2
- package/src/sap/m/ResponsivePopover.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +3 -3
- package/src/sap/m/SearchField.js +8 -12
- package/src/sap/m/SearchFieldRenderer.js +5 -5
- package/src/sap/m/SegmentedButton.js +4 -2
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/SegmentedButtonRenderer.js +3 -3
- package/src/sap/m/Select.js +18 -16
- package/src/sap/m/SelectDialog.js +1 -1
- package/src/sap/m/SelectDialogBase.js +28 -4
- package/src/sap/m/SelectList.js +5 -6
- package/src/sap/m/SelectionDetails.js +1 -1
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +43 -43
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +1 -1
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderTooltip.js +1 -1
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +1 -1
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitContainer.js +8 -13
- package/src/sap/m/StandardDynamicDateOption.js +2 -2
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTileRenderer.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +3 -3
- package/src/sap/m/SuggestionItem.js +4 -2
- package/src/sap/m/SuggestionsPopover.js +1 -1
- 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 +59 -180
- package/src/sap/m/TablePersoController.js +1 -1
- package/src/sap/m/TablePersoDialog.js +1 -1
- package/src/sap/m/TablePersoProvider.js +4 -1
- package/src/sap/m/TableRenderer.js +98 -126
- 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/TextRenderer.js +3 -3
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TileRenderer.js +7 -4
- package/src/sap/m/TimePicker.js +41 -12
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerClocksRenderer.js +6 -13
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInputsRenderer.js +6 -10
- package/src/sap/m/TimePickerInternals.js +1 -44
- package/src/sap/m/TimePickerRenderer.js +3 -2
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -1
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +15 -3
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +1 -1
- package/src/sap/m/Toolbar.js +4 -2
- 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 +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- 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/VariantManagement.js +13 -50
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +2 -2
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +1 -1
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +1 -1
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/Wizard.js +1 -1
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +1 -1
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/designtime/HBox.designtime.js +16 -0
- package/src/sap/m/designtime/IconTabFilter.designtime.js +0 -9
- package/src/sap/m/designtime/ObjectHeader.designtime.js +26 -0
- package/src/sap/m/designtime/Select.designtime.js +2 -1
- package/src/sap/m/designtime/VBox.designtime.js +16 -0
- package/src/sap/m/inputUtils/SuggestionsPopoverDialogMixin.js +5 -5
- package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +4 -0
- package/src/sap/m/library.js +62 -7
- package/src/sap/m/messagebundle.properties +27 -13
- package/src/sap/m/messagebundle_ar.properties +36 -20
- package/src/sap/m/messagebundle_bg.properties +102 -86
- package/src/sap/m/messagebundle_ca.properties +34 -18
- package/src/sap/m/messagebundle_cs.properties +40 -24
- package/src/sap/m/messagebundle_cy.properties +35 -19
- package/src/sap/m/messagebundle_da.properties +35 -19
- package/src/sap/m/messagebundle_de.properties +35 -19
- package/src/sap/m/messagebundle_el.properties +36 -20
- package/src/sap/m/messagebundle_en.properties +35 -19
- package/src/sap/m/messagebundle_en_GB.properties +35 -19
- package/src/sap/m/messagebundle_en_US_sappsd.properties +34 -18
- package/src/sap/m/messagebundle_en_US_saprigi.properties +34 -18
- package/src/sap/m/messagebundle_en_US_saptrc.properties +34 -18
- package/src/sap/m/messagebundle_es.properties +33 -17
- package/src/sap/m/messagebundle_es_MX.properties +33 -17
- package/src/sap/m/messagebundle_et.properties +33 -17
- package/src/sap/m/messagebundle_fi.properties +37 -21
- package/src/sap/m/messagebundle_fr.properties +38 -22
- package/src/sap/m/messagebundle_fr_CA.properties +35 -19
- package/src/sap/m/messagebundle_hi.properties +36 -20
- package/src/sap/m/messagebundle_hr.properties +36 -20
- package/src/sap/m/messagebundle_hu.properties +39 -23
- package/src/sap/m/messagebundle_id.properties +38 -22
- package/src/sap/m/messagebundle_it.properties +33 -17
- package/src/sap/m/messagebundle_iw.properties +40 -24
- package/src/sap/m/messagebundle_ja.properties +70 -54
- package/src/sap/m/messagebundle_kk.properties +35 -19
- package/src/sap/m/messagebundle_ko.properties +36 -20
- package/src/sap/m/messagebundle_lt.properties +35 -19
- package/src/sap/m/messagebundle_lv.properties +33 -17
- package/src/sap/m/messagebundle_ms.properties +35 -19
- package/src/sap/m/messagebundle_nl.properties +35 -19
- package/src/sap/m/messagebundle_no.properties +38 -22
- package/src/sap/m/messagebundle_pl.properties +35 -19
- package/src/sap/m/messagebundle_pt.properties +33 -17
- package/src/sap/m/messagebundle_pt_PT.properties +33 -17
- package/src/sap/m/messagebundle_ro.properties +45 -29
- package/src/sap/m/messagebundle_ru.properties +32 -16
- package/src/sap/m/messagebundle_sh.properties +43 -27
- package/src/sap/m/messagebundle_sk.properties +35 -19
- package/src/sap/m/messagebundle_sl.properties +96 -80
- package/src/sap/m/messagebundle_sv.properties +37 -21
- package/src/sap/m/messagebundle_th.properties +42 -26
- package/src/sap/m/messagebundle_tr.properties +36 -20
- package/src/sap/m/messagebundle_uk.properties +38 -22
- package/src/sap/m/messagebundle_vi.properties +35 -19
- package/src/sap/m/messagebundle_zh_CN.properties +40 -24
- package/src/sap/m/messagebundle_zh_TW.properties +37 -21
- package/src/sap/m/p13n/AbstractContainer.js +2 -2
- package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
- package/src/sap/m/p13n/BasePanel.js +11 -5
- package/src/sap/m/p13n/Container.js +9 -6
- package/src/sap/m/p13n/Engine.js +33 -5
- package/src/sap/m/p13n/FlexUtil.js +7 -3
- package/src/sap/m/p13n/GroupController.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +6 -1
- package/src/sap/m/p13n/MetadataHelper.js +1 -1
- package/src/sap/m/p13n/PersistenceProvider.js +2 -92
- package/src/sap/m/p13n/Popup.js +25 -2
- package/src/sap/m/p13n/QueryPanel.js +18 -3
- package/src/sap/m/p13n/SelectionController.js +6 -7
- package/src/sap/m/p13n/SelectionPanel.js +16 -5
- package/src/sap/m/p13n/SortController.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +8 -4
- package/src/sap/m/p13n/enum/PersistenceMode.js +9 -0
- package/src/sap/m/p13n/handler/xConfigHandler.js +13 -13
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +24 -1
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -13
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +5 -4
- package/src/sap/m/p13n/modules/xConfigAPI.js +26 -0
- package/src/sap/m/plugins/CellSelector.js +534 -799
- package/src/sap/m/plugins/ColumnResizer.js +1 -9
- package/src/sap/m/plugins/CopyProvider.js +2 -10
- package/src/sap/m/plugins/DataStateIndicator.js +8 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- 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 -3
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +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 +6 -5
- 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 +1 -1
- 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 +1 -1
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/Avatar.less +78 -7
- package/src/sap/m/themes/base/Carousel.less +7 -0
- package/src/sap/m/themes/base/CellSelector.less +50 -105
- package/src/sap/m/themes/base/IconTabBar.less +1 -1
- package/src/sap/m/themes/base/Link.less +20 -24
- package/src/sap/m/themes/base/MessageStrip.less +1 -1
- package/src/sap/m/themes/base/NumericContent.less +4 -0
- package/src/sap/m/themes/base/ObjectStatus.less +1 -2
- package/src/sap/m/themes/base/Panel.less +14 -0
- package/src/sap/m/themes/base/PlanningCalendarHeader.less +2 -1
- package/src/sap/m/themes/base/RadioButton.less +3 -1
- package/src/sap/m/themes/base/SearchField.less +13 -3
- package/src/sap/m/themes/base/Select.less +32 -2
- package/src/sap/m/themes/base/Table.less +4 -8
- package/src/sap/m/themes/base/TimePickerClocks.less +4 -0
- package/src/sap/m/themes/base/UploadSet.less +13 -1
- package/src/sap/m/themes/base/UploadSetTable.less +80 -0
- package/src/sap/m/themes/base/ValueStateMessage.less +1 -0
- package/src/sap/m/themes/base/VariantManagement.less +1 -0
- package/src/sap/m/themes/base/Wizard.less +1 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/FilePreviewDialog.js +257 -0
- package/src/sap/m/upload/UploadSet.js +140 -67
- package/src/sap/m/upload/UploadSetItem.js +51 -27
- package/src/sap/m/upload/UploadSetTable.js +929 -0
- package/src/sap/m/upload/UploadSetTableItem.js +327 -0
- package/src/sap/m/upload/UploadSetTableItemRenderer.js +22 -0
- package/src/sap/m/upload/UploadSetTableRenderer.js +34 -0
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/UploaderTableItem.js +276 -0
- package/ui5.yaml +1 -1
package/src/sap/m/Select.js
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
+
'sap/ui/core/Element',
|
|
8
9
|
'./Dialog',
|
|
9
10
|
'./Popover',
|
|
10
11
|
'./SelectList',
|
|
11
12
|
'./library',
|
|
12
|
-
'sap/ui/core/Core',
|
|
13
13
|
'sap/ui/core/Control',
|
|
14
14
|
'sap/ui/core/EnabledPropagator',
|
|
15
15
|
'sap/ui/core/LabelEnablement',
|
|
@@ -31,14 +31,15 @@ sap.ui.define([
|
|
|
31
31
|
'sap/m/SimpleFixFlex',
|
|
32
32
|
'sap/base/Log',
|
|
33
33
|
'sap/ui/core/ValueStateSupport',
|
|
34
|
-
"sap/ui/core/InvisibleMessage"
|
|
34
|
+
"sap/ui/core/InvisibleMessage",
|
|
35
|
+
"sap/ui/core/Lib"
|
|
35
36
|
],
|
|
36
37
|
function(
|
|
38
|
+
Element,
|
|
37
39
|
Dialog,
|
|
38
40
|
Popover,
|
|
39
41
|
SelectList,
|
|
40
42
|
library,
|
|
41
|
-
Core,
|
|
42
43
|
Control,
|
|
43
44
|
EnabledPropagator,
|
|
44
45
|
LabelEnablement,
|
|
@@ -60,7 +61,8 @@ function(
|
|
|
60
61
|
SimpleFixFlex,
|
|
61
62
|
Log,
|
|
62
63
|
ValueStateSupport,
|
|
63
|
-
InvisibleMessage
|
|
64
|
+
InvisibleMessage,
|
|
65
|
+
Library
|
|
64
66
|
) {
|
|
65
67
|
"use strict";
|
|
66
68
|
|
|
@@ -106,7 +108,7 @@ function(
|
|
|
106
108
|
* @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
|
|
107
109
|
*
|
|
108
110
|
* @author SAP SE
|
|
109
|
-
* @version 1.
|
|
111
|
+
* @version 1.117.0
|
|
110
112
|
*
|
|
111
113
|
* @constructor
|
|
112
114
|
* @public
|
|
@@ -595,7 +597,7 @@ function(
|
|
|
595
597
|
return "";
|
|
596
598
|
}
|
|
597
599
|
|
|
598
|
-
sValueStateTypeText =
|
|
600
|
+
sValueStateTypeText = Library.getResourceBundleFor("sap.m").getText("INPUTBASE_VALUE_STATE_" + sValueState.toUpperCase());
|
|
599
601
|
sValueStateText = sValueStateTypeText + " " + (this.getValueStateText() || ValueStateSupport.getAdditionalText(this));
|
|
600
602
|
|
|
601
603
|
return sValueStateText;
|
|
@@ -1174,7 +1176,7 @@ function(
|
|
|
1174
1176
|
if (sValueState === ValueState.None) {
|
|
1175
1177
|
sText = "";
|
|
1176
1178
|
} else {
|
|
1177
|
-
oResourceBundle =
|
|
1179
|
+
oResourceBundle = Library.getResourceBundleFor("sap.ui.core");
|
|
1178
1180
|
sText = oResourceBundle.getText("VALUE_STATE_" + sValueState.toUpperCase());
|
|
1179
1181
|
}
|
|
1180
1182
|
|
|
@@ -1345,7 +1347,7 @@ function(
|
|
|
1345
1347
|
oResourceBundle;
|
|
1346
1348
|
|
|
1347
1349
|
if (!this.getAggregation("_pickerHeader")) {
|
|
1348
|
-
oResourceBundle =
|
|
1350
|
+
oResourceBundle = Library.getResourceBundleFor("sap.m");
|
|
1349
1351
|
this.setAggregation("_pickerHeader", new Bar({
|
|
1350
1352
|
titleAlignment: library.TitleAlignment.Auto,
|
|
1351
1353
|
contentMiddle: new Title({
|
|
@@ -1429,7 +1431,7 @@ function(
|
|
|
1429
1431
|
|
|
1430
1432
|
this._bValueStateMessageOpened = false;
|
|
1431
1433
|
|
|
1432
|
-
this._sAriaRoleDescription =
|
|
1434
|
+
this._sAriaRoleDescription = Library.getResourceBundleFor("sap.m").getText("SELECT_ROLE_DESCRIPTION");
|
|
1433
1435
|
|
|
1434
1436
|
this._oInvisibleMessage = null;
|
|
1435
1437
|
|
|
@@ -2013,7 +2015,7 @@ function(
|
|
|
2013
2015
|
return;
|
|
2014
2016
|
}
|
|
2015
2017
|
|
|
2016
|
-
var oControl =
|
|
2018
|
+
var oControl = Element.registry.get(oEvent.relatedControlId),
|
|
2017
2019
|
oFocusDomRef = oControl && oControl.getFocusDomRef();
|
|
2018
2020
|
|
|
2019
2021
|
if (Device.system.desktop && containsOrEquals(oPicker.getFocusDomRef(), oFocusDomRef)) {
|
|
@@ -2072,7 +2074,7 @@ function(
|
|
|
2072
2074
|
this.setProperty("selectedItemId", (vItem instanceof Item) ? vItem.getId() : vItem, true);
|
|
2073
2075
|
|
|
2074
2076
|
if (typeof vItem === "string") {
|
|
2075
|
-
vItem =
|
|
2077
|
+
vItem = Element.registry.get(vItem);
|
|
2076
2078
|
}
|
|
2077
2079
|
|
|
2078
2080
|
sKey = vItem ? vItem.getKey() : "";
|
|
@@ -2639,7 +2641,7 @@ function(
|
|
|
2639
2641
|
Select.prototype._clearReferencingLabelsHandlers = function () {
|
|
2640
2642
|
var oLabel;
|
|
2641
2643
|
this._referencingLabelsHandlers.forEach(function (oHandler) {
|
|
2642
|
-
oLabel =
|
|
2644
|
+
oLabel = Element.registry.get(oHandler.sLabelId);
|
|
2643
2645
|
if (oLabel) {
|
|
2644
2646
|
oLabel.removeEventDelegate(oHandler.oDelegate);
|
|
2645
2647
|
}
|
|
@@ -2662,7 +2664,7 @@ function(
|
|
|
2662
2664
|
return aLabelIDs.indexOf(sId) === iIndex;
|
|
2663
2665
|
})
|
|
2664
2666
|
.map(function(sLabelID) {
|
|
2665
|
-
return
|
|
2667
|
+
return Element.registry.get(sLabelID);
|
|
2666
2668
|
})
|
|
2667
2669
|
.filter(Boolean);
|
|
2668
2670
|
|
|
@@ -2839,7 +2841,7 @@ function(
|
|
|
2839
2841
|
|
|
2840
2842
|
if (typeof vItem === "string") {
|
|
2841
2843
|
this.setAssociation("selectedItem", vItem, true);
|
|
2842
|
-
vItem =
|
|
2844
|
+
vItem = Element.registry.get(vItem);
|
|
2843
2845
|
}
|
|
2844
2846
|
|
|
2845
2847
|
if (!(vItem instanceof Item) && vItem !== null) {
|
|
@@ -3028,7 +3030,7 @@ function(
|
|
|
3028
3030
|
*/
|
|
3029
3031
|
Select.prototype.getSelectedItem = function() {
|
|
3030
3032
|
var vSelectedItem = this.getAssociation("selectedItem");
|
|
3031
|
-
return (vSelectedItem === null) ? null :
|
|
3033
|
+
return (vSelectedItem === null) ? null : Element.registry.get(vSelectedItem) || null;
|
|
3032
3034
|
};
|
|
3033
3035
|
|
|
3034
3036
|
/**
|
|
@@ -3208,7 +3210,7 @@ function(
|
|
|
3208
3210
|
Select.prototype.getAccessibilityInfo = function() {
|
|
3209
3211
|
var aDescriptions = [],
|
|
3210
3212
|
sDescription = "",
|
|
3211
|
-
oResourceBundle =
|
|
3213
|
+
oResourceBundle = Library.getResourceBundleFor("sap.m"),
|
|
3212
3214
|
bIconOnly = this._isIconOnly(),
|
|
3213
3215
|
oInfo = {
|
|
3214
3216
|
role: this.getRenderer().getAriaRole(this),
|
|
@@ -6,12 +6,14 @@
|
|
|
6
6
|
|
|
7
7
|
// Provides control sap.m.SelectDialogBase.
|
|
8
8
|
sap.ui.define([
|
|
9
|
+
'./library',
|
|
9
10
|
'sap/ui/Device',
|
|
10
11
|
'sap/ui/core/Core',
|
|
11
12
|
'sap/ui/core/Control',
|
|
12
13
|
'sap/ui/core/InvisibleText'
|
|
13
14
|
],
|
|
14
15
|
function(
|
|
16
|
+
library,
|
|
15
17
|
Device,
|
|
16
18
|
Core,
|
|
17
19
|
Control,
|
|
@@ -19,6 +21,9 @@ function(
|
|
|
19
21
|
) {
|
|
20
22
|
"use strict";
|
|
21
23
|
|
|
24
|
+
// shortcut for sap.m.SelectDialogInitialFocus
|
|
25
|
+
var SelectDialogInitialFocus = library.SelectDialogInitialFocus;
|
|
26
|
+
|
|
22
27
|
/**
|
|
23
28
|
* Constructor for a new SelectDialogBase.
|
|
24
29
|
*
|
|
@@ -31,7 +36,7 @@ function(
|
|
|
31
36
|
* @extends sap.ui.core.Control
|
|
32
37
|
*
|
|
33
38
|
* @author SAP SE
|
|
34
|
-
* @version 1.
|
|
39
|
+
* @version 1.117.0
|
|
35
40
|
*
|
|
36
41
|
* @constructor
|
|
37
42
|
* @public
|
|
@@ -43,13 +48,23 @@ function(
|
|
|
43
48
|
metadata: {
|
|
44
49
|
library: "sap.m",
|
|
45
50
|
"abstract": true,
|
|
46
|
-
properties: {
|
|
51
|
+
properties: {
|
|
52
|
+
/**
|
|
53
|
+
* Specifies the control that will receive the initial focus.
|
|
54
|
+
*
|
|
55
|
+
* <b>Note:</b> When the <code>growing</code> property is set to <code>true</code>,
|
|
56
|
+
* you can set the initial focus to <code>sap.m.SelectDialogInitialFocus.SearchField</code>.
|
|
57
|
+
* In this way the user can easily search for items that are not currently visible.
|
|
58
|
+
* @since 1.117.0
|
|
59
|
+
*/
|
|
60
|
+
initialFocus: {type: "sap.m.SelectDialogInitialFocus", group: "Behavior", defaultValue: SelectDialogInitialFocus.List}
|
|
61
|
+
},
|
|
47
62
|
aggregations: {},
|
|
48
63
|
events: {
|
|
49
64
|
/**
|
|
50
65
|
* Fires before <code>items</code> binding is updated (e.g. sorting, filtering)
|
|
51
66
|
*
|
|
52
|
-
* <b>Note:</b> Event handler should not invalidate the control.
|
|
67
|
+
* <b>Note:</b> Event handler should not invalidate the control.
|
|
53
68
|
* @since 1.93
|
|
54
69
|
*/
|
|
55
70
|
updateStarted : {
|
|
@@ -144,11 +159,20 @@ function(
|
|
|
144
159
|
};
|
|
145
160
|
|
|
146
161
|
SelectDialogBase.prototype._setInitialFocus = function () {
|
|
162
|
+
var oInitiallyFocusedControl;
|
|
163
|
+
|
|
147
164
|
if (!Device.system.desktop) {
|
|
148
165
|
return;
|
|
149
166
|
}
|
|
150
167
|
|
|
151
|
-
|
|
168
|
+
switch (this.getInitialFocus()) {
|
|
169
|
+
case SelectDialogInitialFocus.SearchField:
|
|
170
|
+
oInitiallyFocusedControl = this._oSearchField;
|
|
171
|
+
break;
|
|
172
|
+
default:
|
|
173
|
+
oInitiallyFocusedControl = this._oDialog.getContent()[1];
|
|
174
|
+
break;
|
|
175
|
+
}
|
|
152
176
|
|
|
153
177
|
this._oDialog.setInitialFocus(oInitiallyFocusedControl);
|
|
154
178
|
};
|
package/src/sap/m/SelectList.js
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
// Provides control sap.m.SelectList.
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
'./library',
|
|
10
|
-
'sap/ui/core/Core',
|
|
11
10
|
'sap/ui/core/Control',
|
|
12
11
|
'sap/ui/core/Element',
|
|
13
12
|
'sap/ui/core/delegate/ItemNavigation',
|
|
@@ -15,7 +14,7 @@ sap.ui.define([
|
|
|
15
14
|
'./SelectListRenderer',
|
|
16
15
|
'sap/base/Log'
|
|
17
16
|
],
|
|
18
|
-
function(library,
|
|
17
|
+
function(library, Control, Element, ItemNavigation, Item, SelectListRenderer, Log) {
|
|
19
18
|
"use strict";
|
|
20
19
|
|
|
21
20
|
// shortcut for sap.m.touch
|
|
@@ -35,7 +34,7 @@ sap.ui.define([
|
|
|
35
34
|
* @extends sap.ui.core.Control
|
|
36
35
|
*
|
|
37
36
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
37
|
+
* @version 1.117.0
|
|
39
38
|
*
|
|
40
39
|
* @constructor
|
|
41
40
|
* @public
|
|
@@ -579,7 +578,7 @@ sap.ui.define([
|
|
|
579
578
|
this.setProperty("selectedItemId", (vItem instanceof Item) ? vItem.getId() : vItem);
|
|
580
579
|
|
|
581
580
|
if (typeof vItem === "string") {
|
|
582
|
-
vItem =
|
|
581
|
+
vItem = Element.registry.get(vItem);
|
|
583
582
|
}
|
|
584
583
|
|
|
585
584
|
this.setProperty("selectedKey", vItem ? vItem.getKey() : "", true);
|
|
@@ -928,7 +927,7 @@ sap.ui.define([
|
|
|
928
927
|
|
|
929
928
|
if (typeof vItem === "string") {
|
|
930
929
|
this.setAssociation("selectedItem", vItem, true);
|
|
931
|
-
vItem =
|
|
930
|
+
vItem = Element.registry.get(vItem);
|
|
932
931
|
}
|
|
933
932
|
|
|
934
933
|
if (!(vItem instanceof Item) && vItem !== null) {
|
|
@@ -993,7 +992,7 @@ sap.ui.define([
|
|
|
993
992
|
*/
|
|
994
993
|
SelectList.prototype.getSelectedItem = function() {
|
|
995
994
|
var vSelectedItem = this.getAssociation("selectedItem");
|
|
996
|
-
return (vSelectedItem === null) ? null :
|
|
995
|
+
return (vSelectedItem === null) ? null : Element.registry.get(vSelectedItem) || null;
|
|
997
996
|
};
|
|
998
997
|
|
|
999
998
|
/**
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @since 1.48.0
|
|
11
11
|
* @public
|
|
12
12
|
* @author SAP SE
|
|
13
|
-
* @version 1.
|
|
13
|
+
* @version 1.117.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.117.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
|
@@ -36,7 +36,7 @@ sap.ui.define([
|
|
|
36
36
|
* The Shell control can be used as root element of applications. It can contain an App or a <code>SplitApp</code> control.
|
|
37
37
|
* 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.
|
|
38
38
|
* @extends sap.ui.core.Control
|
|
39
|
-
* @version 1.
|
|
39
|
+
* @version 1.117.0
|
|
40
40
|
*
|
|
41
41
|
* @constructor
|
|
42
42
|
* @public
|
|
@@ -31,7 +31,8 @@ sap.ui.define([
|
|
|
31
31
|
"sap/ui/core/date/CalendarUtils",
|
|
32
32
|
"sap/ui/core/Configuration",
|
|
33
33
|
"sap/ui/core/date/UI5Date",
|
|
34
|
-
"sap/ui/unified/DateRange"
|
|
34
|
+
"sap/ui/unified/DateRange",
|
|
35
|
+
"sap/m/LinkAccessibleRole"
|
|
35
36
|
],
|
|
36
37
|
function (
|
|
37
38
|
Control,
|
|
@@ -59,7 +60,8 @@ sap.ui.define([
|
|
|
59
60
|
CalendarDateUtils,
|
|
60
61
|
Configuration,
|
|
61
62
|
UI5Date,
|
|
62
|
-
DateRange
|
|
63
|
+
DateRange,
|
|
64
|
+
LinkAccessibleRole
|
|
63
65
|
) {
|
|
64
66
|
"use strict";
|
|
65
67
|
|
|
@@ -96,7 +98,7 @@ sap.ui.define([
|
|
|
96
98
|
* @extends sap.ui.core.Control
|
|
97
99
|
*
|
|
98
100
|
* @author SAP SE
|
|
99
|
-
* @version 1.
|
|
101
|
+
* @version 1.117.0
|
|
100
102
|
*
|
|
101
103
|
* @constructor
|
|
102
104
|
* @private
|
|
@@ -304,32 +306,25 @@ sap.ui.define([
|
|
|
304
306
|
};
|
|
305
307
|
|
|
306
308
|
SinglePlanningCalendarMonthGrid.prototype._checkDateSelected = function(oDay) {
|
|
307
|
-
var
|
|
308
|
-
|
|
309
|
-
|
|
309
|
+
var aSelectedDate = this.getAggregation("selectedDates");
|
|
310
|
+
var oRange;
|
|
311
|
+
var oStartDate;
|
|
312
|
+
var oEndDate;
|
|
313
|
+
if (!aSelectedDate) {
|
|
314
|
+
return false;
|
|
310
315
|
}
|
|
311
316
|
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
var oStartTimeStamp = CalendarUtils.MAX_MILLISECONDS; //max date
|
|
318
|
-
if (oStartDate) {
|
|
319
|
-
oUTCDate.setUTCFullYear(oStartDate.getFullYear(), oStartDate.getMonth(), oStartDate.getDate());
|
|
320
|
-
oStartTimeStamp = oUTCDate.getTime();
|
|
321
|
-
}
|
|
322
|
-
var oEndDate = oRange.getEndDate();
|
|
323
|
-
var oEndTimeStamp = -CalendarUtils.MAX_MILLISECONDS; //min date
|
|
324
|
-
if (oEndDate) {
|
|
325
|
-
oUTCDate.setUTCFullYear(oEndDate.getFullYear(), oEndDate.getMonth(), oEndDate.getDate());
|
|
326
|
-
oEndTimeStamp = oUTCDate.getTime();
|
|
327
|
-
}
|
|
317
|
+
for (var i = 0; i < aSelectedDate.length; i++) {
|
|
318
|
+
oRange = aSelectedDate[i];
|
|
319
|
+
|
|
320
|
+
oStartDate = oRange.getStartDate() && CalendarDate.fromLocalJSDate(oRange.getStartDate());
|
|
321
|
+
oEndDate = oRange.getEndDate() && CalendarDate.fromLocalJSDate(oRange.getEndDate());
|
|
328
322
|
|
|
329
|
-
if (
|
|
323
|
+
if (oStartDate && oDay.isSame(oStartDate) || (oStartDate && oEndDate && oDay.isSameOrAfter(oStartDate) && oDay.isSameOrBefore(oEndDate))) {
|
|
330
324
|
return true;
|
|
331
325
|
}
|
|
332
326
|
}
|
|
327
|
+
|
|
333
328
|
return false;
|
|
334
329
|
};
|
|
335
330
|
|
|
@@ -394,30 +389,26 @@ sap.ui.define([
|
|
|
394
389
|
|
|
395
390
|
SinglePlanningCalendarMonthGrid.prototype._rangeSelection = function(oStartDate) {
|
|
396
391
|
var oCurrentDate = UI5Date.getInstance(CalendarDate.fromLocalJSDate(oStartDate));
|
|
397
|
-
var iDay;
|
|
398
392
|
var oTarget;
|
|
399
393
|
var i;
|
|
400
394
|
var _bSelectWeek = false;
|
|
401
395
|
|
|
402
396
|
for (i = 0; i < 7; i++) {
|
|
403
|
-
iDay = oStartDate.getDate() + i;
|
|
404
|
-
oCurrentDate.setDate(iDay);
|
|
405
397
|
if (!this._checkDateSelected(CalendarDate.fromLocalJSDate(oCurrentDate))) {
|
|
406
398
|
_bSelectWeek = true;
|
|
407
399
|
break;
|
|
408
400
|
}
|
|
401
|
+
oCurrentDate.setDate(oCurrentDate.getDate() + 1);
|
|
409
402
|
}
|
|
410
403
|
|
|
411
404
|
oCurrentDate = UI5Date.getInstance(CalendarDate.fromLocalJSDate(oStartDate));
|
|
412
405
|
|
|
413
406
|
for (i = 0; i < 7; i++) {
|
|
414
|
-
iDay = oStartDate.getDate() + i;
|
|
415
|
-
oCurrentDate.setDate(iDay);
|
|
416
407
|
oTarget = document.querySelector('[sap-ui-date="' + oCurrentDate.getTime() + '"]');
|
|
417
|
-
if (_bSelectWeek && oTarget && oTarget.classList.contains("sapMSPCMonthDaySelected")){
|
|
418
|
-
|
|
408
|
+
if (!(_bSelectWeek && oTarget && oTarget.classList.contains("sapMSPCMonthDaySelected"))){
|
|
409
|
+
this._toggleMarkCell(oTarget, oCurrentDate);
|
|
419
410
|
}
|
|
420
|
-
|
|
411
|
+
oCurrentDate.setDate(oCurrentDate.getDate() + 1);
|
|
421
412
|
}
|
|
422
413
|
};
|
|
423
414
|
|
|
@@ -502,7 +493,7 @@ sap.ui.define([
|
|
|
502
493
|
oStartDate = UI5Date.getInstance(oDate.getUTCFullYear(), oStartDate.getUTCMonth(), oStartDate.getUTCDate());
|
|
503
494
|
this._toggleMarkCell(oTarget, oStartDate);
|
|
504
495
|
|
|
505
|
-
} else if (this._bCurrentWeekSelection && this.
|
|
496
|
+
} else if (this._bCurrentWeekSelection && SinglePlanningCalendarSelectionMode.MultiSelect === this.getDateSelectionMode()){
|
|
506
497
|
this._bCurrentWeekSelection = false;
|
|
507
498
|
var iFirstDayOfWeek;
|
|
508
499
|
var oWeekConfigurationValues = CalendarDateUtils.getWeekConfigurationValues(this.getCalendarWeekNumbering(), new Locale(Configuration.getFormatSettings().getFormatLocale().toString()));
|
|
@@ -535,6 +526,8 @@ sap.ui.define([
|
|
|
535
526
|
oTarget = oEvent.target,
|
|
536
527
|
bIsCell = oTarget && oTarget.classList.contains("sapMSPCMonthDay"),
|
|
537
528
|
bIsLink = oTarget && oTarget.classList.contains("sapMLnk"),
|
|
529
|
+
bWeekNumberSelect = oTarget && oTarget.classList.contains("sapMSPCMonthWeekNumber"),
|
|
530
|
+
oFirstSiblingElement = bWeekNumberSelect && oEvent.originalEvent.target.nextSibling.children[0],
|
|
538
531
|
iTimestamp,
|
|
539
532
|
oStartDate,
|
|
540
533
|
oEndDate;
|
|
@@ -557,6 +550,19 @@ sap.ui.define([
|
|
|
557
550
|
appointment: undefined,
|
|
558
551
|
appointments: this._toggleAppointmentSelection(undefined, true)
|
|
559
552
|
});
|
|
553
|
+
} else if (bWeekNumberSelect) {
|
|
554
|
+
iTimestamp = parseInt(oFirstSiblingElement.getAttribute("sap-ui-date"));
|
|
555
|
+
oStartDate = UI5Date.getInstance(iTimestamp);
|
|
556
|
+
oStartDate = UI5Date.getInstance(oStartDate.getUTCFullYear(), oStartDate.getUTCMonth(), oStartDate.getUTCDate());
|
|
557
|
+
|
|
558
|
+
oEndDate = UI5Date.getInstance(oStartDate);
|
|
559
|
+
oEndDate.setDate(oEndDate.getDate() + 6);
|
|
560
|
+
|
|
561
|
+
this._bCurrentWeekSelection = true;
|
|
562
|
+
this._bMultiDateSelect = false;
|
|
563
|
+
this._handelMultiDateSelection(oTarget, oStartDate, oEndDate, oEvent);
|
|
564
|
+
this.fireEvent("selectDate", {startDate: oStartDate, endDate: oEndDate});
|
|
565
|
+
|
|
560
566
|
} else if (oSrcControl && oSrcControl.isA("sap.ui.unified.CalendarAppointment")) {
|
|
561
567
|
// add suffix in appointment
|
|
562
568
|
if (oTarget.parentElement && oTarget.parentElement.getAttribute("id")) {
|
|
@@ -578,25 +584,18 @@ sap.ui.define([
|
|
|
578
584
|
};
|
|
579
585
|
|
|
580
586
|
SinglePlanningCalendarMonthGrid.prototype._toggleMarkCell = function (oTarget, oDay) {
|
|
581
|
-
// must be converted to UTC date because in this view full day is selected/unselected;
|
|
582
|
-
var oUTCDate = UI5Date.getInstance(Date.UTC(0, 0, 1));
|
|
583
|
-
oUTCDate.setUTCFullYear(oDay.getFullYear(), oDay.getMonth(), oDay.getDate());
|
|
584
|
-
oUTCDate.setMinutes(0, 0, 0);
|
|
585
|
-
|
|
586
587
|
if (oTarget && !oTarget.classList.contains("sapMSPCMonthDaySelected")) {
|
|
587
|
-
this.addAggregation("selectedDates", new DateRange({startDate:
|
|
588
|
+
this.addAggregation("selectedDates", new DateRange({startDate: UI5Date.getInstance(oDay)}));
|
|
588
589
|
} else {
|
|
589
590
|
var aSelectedDates = this.getAggregation("selectedDates");
|
|
590
591
|
|
|
591
592
|
if (!aSelectedDates) {
|
|
592
|
-
return
|
|
593
|
+
return;
|
|
593
594
|
}
|
|
594
595
|
|
|
595
596
|
for (var i = 0; i < aSelectedDates.length; i++){
|
|
596
|
-
var
|
|
597
|
-
|
|
598
|
-
oUTCStartDate.setUTCFullYear(oSlectStartDate.getFullYear(), oSlectStartDate.getMonth(), oSlectStartDate.getDate());
|
|
599
|
-
if (oUTCStartDate.getTime() === oUTCDate.getTime()) {
|
|
597
|
+
var oSelectStartDate = aSelectedDates[i].getStartDate();
|
|
598
|
+
if (CalendarDate.fromLocalJSDate(oSelectStartDate).isSame(CalendarDate.fromLocalJSDate(oDay))) {
|
|
600
599
|
this.removeAggregation("selectedDates", i);
|
|
601
600
|
break;
|
|
602
601
|
}
|
|
@@ -649,6 +648,7 @@ sap.ui.define([
|
|
|
649
648
|
.getLibraryResourceBundle("sap.m")
|
|
650
649
|
.getText("SPC_MORE_LINK", [iAppointmentsCount.toString()]),
|
|
651
650
|
oLink = new Link({
|
|
651
|
+
accessibleRole: LinkAccessibleRole.Button,
|
|
652
652
|
text: sMore,
|
|
653
653
|
press: this._handleMorePress
|
|
654
654
|
}).addCustomData(new CustomData({
|
package/src/sap/m/SlideTile.js
CHANGED
package/src/sap/m/Slider.js
CHANGED