@openui5/sap.m 1.124.0 → 1.125.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 +5 -0
- package/THIRDPARTY.txt +7 -0
- package/package.json +4 -4
- package/src/sap/m/.library +15 -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/ActionTile.js +59 -7
- 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 +1 -1
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/Breadcrumbs.js +1 -1
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/Carousel.js +96 -88
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +13 -21
- package/src/sap/m/CheckBox.js +1 -1
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +1 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- package/src/sap/m/ColumnPopoverActionItem.js +1 -1
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
- package/src/sap/m/ColumnPopoverItem.js +1 -1
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +1 -1
- package/src/sap/m/ComboBoxBase.js +1 -1
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/ContentConfig.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 +1 -1
- package/src/sap/m/DateRangeSelection.js +2 -2
- package/src/sap/m/DateTimeField.js +1 -1
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +1 -1
- package/src/sap/m/Dialog.js +1 -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/DynamicDateOption.js +1 -1
- package/src/sap/m/DynamicDateRange.js +1 -1
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +1 -1
- 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 +2 -6
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +3 -3
- 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 +26 -17
- package/src/sap/m/GenericTileRenderer.js +2 -8
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- 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/IconTabBar.js +1 -1
- 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 +1 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +5 -2
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +2 -8
- package/src/sap/m/InputBase.js +1 -1
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +1 -1
- package/src/sap/m/LinkTileContent.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +7 -7
- package/src/sap/m/ListItemBase.js +1 -1
- 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 +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/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 -1
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +8 -2
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +1 -1
- package/src/sap/m/NavContainer.js +1 -1
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +8 -11
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListGroupRenderer.js +1 -0
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NotificationListItemRenderer.js +1 -0
- package/src/sap/m/NumericContent.js +18 -14
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +2 -2
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +1 -6
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- 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 +1 -1
- package/src/sap/m/P13nConditionPanel.js +1 -1
- package/src/sap/m/P13nDialog.js +1 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +1 -1
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +1 -1
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +1 -1
- package/src/sap/m/P13nItem.js +1 -1
- package/src/sap/m/P13nPanel.js +1 -1
- package/src/sap/m/P13nSelectionItem.js +1 -1
- package/src/sap/m/P13nSelectionPanel.js +1 -1
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +1 -1
- package/src/sap/m/PDFViewer.js +1 -1
- package/src/sap/m/Page.js +1 -1
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +1 -1
- package/src/sap/m/PlanningCalendar.js +43 -2
- 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 +1 -1
- 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 +1 -1
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/sap/m/SearchField.js +2 -2
- package/src/sap/m/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +1 -1
- package/src/sap/m/SelectDialog.js +1 -1
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- 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 +17 -3
- package/src/sap/m/SinglePlanningCalendarDayView.js +7 -7
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +93 -68
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +11 -2
- package/src/sap/m/SinglePlanningCalendarMonthView.js +6 -6
- package/src/sap/m/SinglePlanningCalendarView.js +8 -5
- package/src/sap/m/SinglePlanningCalendarWeekView.js +8 -8
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +8 -8
- 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 +10 -7
- package/src/sap/m/StandardDynamicDateOption.js +1 -1
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +1 -1
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +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 +1 -1
- package/src/sap/m/TablePersoController.js +1 -1
- package/src/sap/m/TablePersoDialog.js +1 -1
- package/src/sap/m/TablePersoProvider.js +1 -1
- 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/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TileInfo.js +1 -1
- package/src/sap/m/TimePicker.js +1 -1
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -1
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +1 -1
- package/src/sap/m/Toolbar.js +2 -3
- 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 +1 -1
- package/src/sap/m/UploadCollectionItem.js +2 -2
- package/src/sap/m/UploadCollectionParameter.js +2 -2
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +2 -2
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- 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 -1
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/WizardStepRenderer.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/library.js +47 -2
- package/src/sap/m/messagebundle.properties +13 -3
- package/src/sap/m/messagebundle_ar.properties +10 -3
- package/src/sap/m/messagebundle_bg.properties +9 -2
- package/src/sap/m/messagebundle_ca.properties +9 -2
- package/src/sap/m/messagebundle_cnr.properties +9 -2
- package/src/sap/m/messagebundle_cs.properties +9 -2
- package/src/sap/m/messagebundle_cy.properties +9 -2
- package/src/sap/m/messagebundle_da.properties +9 -2
- package/src/sap/m/messagebundle_de.properties +13 -6
- package/src/sap/m/messagebundle_el.properties +9 -2
- package/src/sap/m/messagebundle_en.properties +9 -2
- package/src/sap/m/messagebundle_en_GB.properties +9 -2
- package/src/sap/m/messagebundle_en_US_saprigi.properties +9 -2
- package/src/sap/m/messagebundle_es.properties +9 -2
- package/src/sap/m/messagebundle_es_MX.properties +9 -2
- package/src/sap/m/messagebundle_et.properties +9 -2
- package/src/sap/m/messagebundle_fi.properties +9 -2
- package/src/sap/m/messagebundle_fr.properties +10 -3
- package/src/sap/m/messagebundle_fr_CA.properties +9 -2
- package/src/sap/m/messagebundle_hi.properties +9 -2
- package/src/sap/m/messagebundle_hr.properties +9 -2
- package/src/sap/m/messagebundle_hu.properties +10 -3
- package/src/sap/m/messagebundle_id.properties +9 -2
- package/src/sap/m/messagebundle_it.properties +9 -2
- package/src/sap/m/messagebundle_iw.properties +9 -2
- package/src/sap/m/messagebundle_ja.properties +9 -2
- package/src/sap/m/messagebundle_kk.properties +9 -2
- package/src/sap/m/messagebundle_ko.properties +9 -2
- package/src/sap/m/messagebundle_lt.properties +9 -2
- package/src/sap/m/messagebundle_lv.properties +9 -2
- package/src/sap/m/messagebundle_mk.properties +9 -2
- package/src/sap/m/messagebundle_ms.properties +9 -2
- package/src/sap/m/messagebundle_nl.properties +9 -2
- package/src/sap/m/messagebundle_no.properties +9 -2
- package/src/sap/m/messagebundle_pl.properties +9 -2
- package/src/sap/m/messagebundle_pt.properties +9 -2
- package/src/sap/m/messagebundle_pt_PT.properties +9 -2
- package/src/sap/m/messagebundle_ro.properties +9 -2
- package/src/sap/m/messagebundle_ru.properties +9 -2
- package/src/sap/m/messagebundle_sh.properties +9 -2
- package/src/sap/m/messagebundle_sk.properties +9 -2
- package/src/sap/m/messagebundle_sl.properties +9 -2
- package/src/sap/m/messagebundle_sr.properties +9 -2
- package/src/sap/m/messagebundle_sv.properties +9 -2
- package/src/sap/m/messagebundle_th.properties +9 -2
- package/src/sap/m/messagebundle_tr.properties +9 -2
- package/src/sap/m/messagebundle_uk.properties +15 -8
- package/src/sap/m/messagebundle_vi.properties +9 -2
- package/src/sap/m/messagebundle_zh_CN.properties +9 -2
- package/src/sap/m/messagebundle_zh_TW.properties +9 -2
- 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 +1 -1
- package/src/sap/m/p13n/Container.js +7 -5
- package/src/sap/m/p13n/Engine.js +1 -1
- package/src/sap/m/p13n/FilterController.js +1 -1
- package/src/sap/m/p13n/FilterPanel.js +1 -1
- package/src/sap/m/p13n/GroupController.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/Popup.js +1 -1
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +7 -4
- package/src/sap/m/p13n/SelectionPanel.js +1 -1
- package/src/sap/m/p13n/SortController.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +1 -1
- package/src/sap/m/p13n/handler/xConfigHandler.js +6 -4
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +1 -1
- package/src/sap/m/p13n/modules/xConfigAPI.js +1 -1
- package/src/sap/m/plugins/CellSelector.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- package/src/sap/m/plugins/ContextMenuSetting.js +1 -1
- package/src/sap/m/plugins/CopyProvider.js +2 -2
- package/src/sap/m/plugins/DataStateIndicator.js +1 -1
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/plugins/UploadSetwithTable.js +163 -279
- 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 +7 -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/ColumnWidthController.js +1 -1
- package/src/sap/m/table/Util.js +99 -2
- 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/ActionTile.less +3 -12
- package/src/sap/m/themes/base/Button.less +0 -1
- package/src/sap/m/themes/base/Carousel.less +54 -7
- package/src/sap/m/themes/base/GroupHeaderListItem.less +1 -0
- package/src/sap/m/themes/base/MultiUnitPopover.less +21 -0
- package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +1 -1
- package/src/sap/m/themes/base/UploadSet.less +1 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/ActionsPlaceholder.js +1 -1
- package/src/sap/m/upload/Column.js +1 -1
- package/src/sap/m/upload/FilePreviewDialog.js +3 -2
- package/src/sap/m/upload/UploadItem.js +8 -2
- package/src/sap/m/upload/UploadItemConfiguration.js +33 -2
- package/src/sap/m/upload/UploadSet.js +1 -1
- package/src/sap/m/upload/UploadSetItem.js +1 -1
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/UploadSetwithTable.js +3 -3
- package/src/sap/m/upload/UploadSetwithTableItem.js +1 -1
- package/src/sap/m/upload/UploaderTableItem.js +1 -1
- package/src/sap/m/upload/p13n/PersManager.js +1 -1
- package/src/sap/m/upload/p13n/mediator/BaseMediator.js +1 -1
- package/src/sap/m/upload/p13n/mediator/ColumnsMediator.js +1 -1
- package/src/sap/m/upload/p13n/mediator/FilterMediator.js +1 -1
- package/src/sap/m/upload/p13n/mediator/GroupMediator.js +1 -1
- package/src/sap/m/upload/p13n/mediator/SortMediator.js +1 -1
- package/src/sap/m/upload/p13n/modules/PersPopupManager.js +1 -1
|
@@ -25,7 +25,7 @@ function (library, SinglePlanningCalendarView) {
|
|
|
25
25
|
* @extends sap.m.SinglePlanningCalendarView
|
|
26
26
|
*
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.125.0
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
|
@@ -44,7 +44,7 @@ function (library, SinglePlanningCalendarView) {
|
|
|
44
44
|
/**
|
|
45
45
|
* Returns the number of columns to be displayed in the grid of the <code>sap.m.SinglePlanningCalendar</code>.
|
|
46
46
|
*
|
|
47
|
-
* @
|
|
47
|
+
* @returns {int} the number of columns to be displayed
|
|
48
48
|
* @override
|
|
49
49
|
* @public
|
|
50
50
|
*/
|
|
@@ -56,7 +56,7 @@ function (library, SinglePlanningCalendarView) {
|
|
|
56
56
|
* Should return a number of entities until the next/previous startDate of the
|
|
57
57
|
* <code>sap.m.SinglePlanningCalendar</code> after navigating forward or backwards.
|
|
58
58
|
*
|
|
59
|
-
* @
|
|
59
|
+
* @returns {int} the number of entities to be skipped by scrolling
|
|
60
60
|
* @override
|
|
61
61
|
* @public
|
|
62
62
|
*/
|
|
@@ -68,13 +68,13 @@ function (library, SinglePlanningCalendarView) {
|
|
|
68
68
|
* Calculates the startDate which will be displayed in the <code>sap.m.SinglePlanningCalendar</code> based
|
|
69
69
|
* on a given date.
|
|
70
70
|
*
|
|
71
|
-
* @param {
|
|
72
|
-
* @
|
|
71
|
+
* @param {Date|module:sap/ui/core/date/UI5Date} oDate The given date
|
|
72
|
+
* @returns {Date|module:sap/ui/core/date/UI5Date} The startDate of the view
|
|
73
73
|
* @override
|
|
74
74
|
* @public
|
|
75
75
|
*/
|
|
76
|
-
SinglePlanningCalendarDayView.prototype.calculateStartDate = function (
|
|
77
|
-
return
|
|
76
|
+
SinglePlanningCalendarDayView.prototype.calculateStartDate = function (oDate) {
|
|
77
|
+
return oDate;
|
|
78
78
|
};
|
|
79
79
|
|
|
80
80
|
return SinglePlanningCalendarDayView;
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
// Provides control sap.m.SinglePlanningCalendarMonthGrid.
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
'sap/base/i18n/Formatting',
|
|
10
|
-
'sap/ui/core/Element',
|
|
11
10
|
'sap/ui/core/Control',
|
|
12
11
|
'sap/ui/core/format/DateFormat',
|
|
13
12
|
'sap/ui/unified/calendar/CalendarDate',
|
|
@@ -35,7 +34,6 @@ sap.ui.define([
|
|
|
35
34
|
],
|
|
36
35
|
function (
|
|
37
36
|
Formatting,
|
|
38
|
-
Element,
|
|
39
37
|
Control,
|
|
40
38
|
DateFormat,
|
|
41
39
|
CalendarDate,
|
|
@@ -97,7 +95,7 @@ sap.ui.define([
|
|
|
97
95
|
* @extends sap.ui.core.Control
|
|
98
96
|
*
|
|
99
97
|
* @author SAP SE
|
|
100
|
-
* @version 1.
|
|
98
|
+
* @version 1.125.0
|
|
101
99
|
*
|
|
102
100
|
* @constructor
|
|
103
101
|
* @private
|
|
@@ -265,7 +263,11 @@ sap.ui.define([
|
|
|
265
263
|
* The date as a UI5Date or JavaScript Date object of the cell with the
|
|
266
264
|
* pressed more link.
|
|
267
265
|
*/
|
|
268
|
-
date: {
|
|
266
|
+
date: {type: "object"},
|
|
267
|
+
/**
|
|
268
|
+
* The link that has been triggered
|
|
269
|
+
*/
|
|
270
|
+
sourceLink: {type: "sap.m.Link"}
|
|
269
271
|
}
|
|
270
272
|
},
|
|
271
273
|
/**
|
|
@@ -398,6 +400,7 @@ sap.ui.define([
|
|
|
398
400
|
|
|
399
401
|
for (var i = 0; i < this._aLinks.length; i++) {
|
|
400
402
|
if (this._aLinks[i]) {
|
|
403
|
+
this._aLinks[i].removeDelegate(this.oAfterLinkRenderDelegate);
|
|
401
404
|
this._aLinks[i].destroy();
|
|
402
405
|
}
|
|
403
406
|
}
|
|
@@ -501,9 +504,9 @@ sap.ui.define([
|
|
|
501
504
|
if (SinglePlanningCalendarSelectionMode.SingleSelect === this.getDateSelectionMode()) {
|
|
502
505
|
return;
|
|
503
506
|
}
|
|
507
|
+
this._bCurrentWeekSelection = true;
|
|
504
508
|
}
|
|
505
509
|
|
|
506
|
-
this._bMultiDateSelect = true;
|
|
507
510
|
this._fireSelectionEvent(oEvent);
|
|
508
511
|
};
|
|
509
512
|
|
|
@@ -555,25 +558,30 @@ sap.ui.define([
|
|
|
555
558
|
* @param {jQuery.Event} oEvent The event object.
|
|
556
559
|
*/
|
|
557
560
|
SinglePlanningCalendarMonthGrid.prototype.onkeydown = function(oEvent) {
|
|
558
|
-
|
|
561
|
+
const bArrowNavigation = oEvent.which === KeyCodes.ARROW_UP || oEvent.which === KeyCodes.ARROW_DOWN ||
|
|
562
|
+
oEvent.which === KeyCodes.ARROW_LEFT || oEvent.which === KeyCodes.ARROW_RIGHT;
|
|
563
|
+
const bMultiDateSelection = SinglePlanningCalendarSelectionMode.MultiSelect === this.getDateSelectionMode();
|
|
559
564
|
|
|
560
|
-
if (
|
|
561
|
-
|
|
565
|
+
if (bArrowNavigation && !oEvent.shiftKey && !bMultiDateSelection) {
|
|
566
|
+
return;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
if (oEvent.which === KeyCodes.SPACE || oEvent.which === KeyCodes.ENTER || bArrowNavigation) {
|
|
562
570
|
if (oEvent.which === KeyCodes.SPACE && !oEvent.shiftKey) {
|
|
563
|
-
this.
|
|
571
|
+
this._fireSelectionEvent(oEvent);
|
|
564
572
|
} else if (oEvent.which === KeyCodes.SPACE && oEvent.shiftKey && bMultiDateSelection) {
|
|
565
573
|
this._bCurrentWeekSelection = true;
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
oEvent
|
|
570
|
-
this._bMultiDateSelectWithArrow = true;
|
|
574
|
+
this._fireSelectionEvent(oEvent);
|
|
575
|
+
} else if (bArrowNavigation && oEvent.shiftKey && bMultiDateSelection) {
|
|
576
|
+
this._bMultiDateSelectWithArrow = true;
|
|
577
|
+
this._fireSelectionEvent(oEvent);
|
|
571
578
|
}
|
|
572
579
|
|
|
573
|
-
this._fireSelectionEvent(oEvent);
|
|
574
|
-
|
|
575
580
|
var oControl = this._findSrcControl(oEvent);
|
|
576
581
|
if (oControl && oControl.isA("sap.ui.unified.CalendarAppointment")) {
|
|
582
|
+
const oTarget = oEvent.target;
|
|
583
|
+
const bCtrlKeyOrMetaKey = oEvent.ctrlKey || oEvent.metaKey;
|
|
584
|
+
this._fireAppointmentSelection(oTarget, oControl, bCtrlKeyOrMetaKey);
|
|
577
585
|
var sBundleKey = oControl.getSelected() ? "APPOINTMENT_SELECTED" : "APPOINTMENT_UNSELECTED";
|
|
578
586
|
this._oInvisibleMessage.announce(this._oUnifiedRB.getText(sBundleKey), InvisibleMessageMode.Polite);
|
|
579
587
|
}
|
|
@@ -632,13 +640,13 @@ sap.ui.define([
|
|
|
632
640
|
SinglePlanningCalendarMonthGrid.prototype._handelMultiDateSelection = function (oTarget, oStartDate, oEndDate, oEvent) {
|
|
633
641
|
const aOldSelectedDateState = this.getAggregation("selectedDates");
|
|
634
642
|
const bMultiDateSelection = SinglePlanningCalendarSelectionMode.MultiSelect === this.getDateSelectionMode();
|
|
643
|
+
const bSingleDateSelect = !this._bMultiDateSelectWithArrow && !this._bCurrentWeekSelection;
|
|
635
644
|
|
|
636
645
|
if ((oEvent.which === KeyCodes.SPACE && !oEvent.shiftKey) || (!bMultiDateSelection && !(oEvent.metaKey || oEvent.ctrlKey))) {
|
|
637
646
|
this.removeAllAggregation("selectedDates");
|
|
638
647
|
}
|
|
639
648
|
|
|
640
|
-
if (
|
|
641
|
-
this._bMultiDateSelect = false;
|
|
649
|
+
if (bSingleDateSelect) {
|
|
642
650
|
this._toggleMarkCell(oTarget, oStartDate);
|
|
643
651
|
|
|
644
652
|
} else if (this._bMultiDateSelectWithArrow){
|
|
@@ -658,7 +666,7 @@ sap.ui.define([
|
|
|
658
666
|
oStartDate = UI5Date.getInstance(oDate.getUTCFullYear(), oStartDate.getUTCMonth(), oStartDate.getUTCDate());
|
|
659
667
|
this._toggleMarkCell(oTarget, oStartDate);
|
|
660
668
|
|
|
661
|
-
} else if (this._bCurrentWeekSelection &&
|
|
669
|
+
} else if (this._bCurrentWeekSelection && bMultiDateSelection){
|
|
662
670
|
var iStartDate = oStartDate.getDate(),
|
|
663
671
|
oWeekConfigurationValues = CalendarDateUtils.getWeekConfigurationValues(this.getCalendarWeekNumbering(), new Locale(new Locale(Formatting.getLanguageTag()).toString())),
|
|
664
672
|
iAPIFirstDayOfWeek = this.getFirstDayOfWeek(),
|
|
@@ -706,64 +714,60 @@ sap.ui.define([
|
|
|
706
714
|
* @param {jQuery.Event} oEvent The event object.
|
|
707
715
|
*/
|
|
708
716
|
SinglePlanningCalendarMonthGrid.prototype._fireSelectionEvent = function (oEvent) {
|
|
709
|
-
|
|
717
|
+
const oSrcControl = this._findSrcControl(oEvent),
|
|
710
718
|
oTarget = oEvent.target,
|
|
711
719
|
oSelectedCell = this._findSelectCell(oEvent.target),
|
|
712
720
|
bIsCell = oTarget && !!oSelectedCell,
|
|
713
721
|
bIsLink = oTarget && oTarget.classList.contains("sapMLnk"),
|
|
714
|
-
bWeekNumberSelect = oTarget && oTarget.classList.contains("sapMSPCMonthWeekNumber")
|
|
715
|
-
oFirstSiblingElement = bWeekNumberSelect && oEvent.originalEvent.target.nextSibling.children[0],
|
|
716
|
-
iTimestamp,
|
|
717
|
-
oStartDate,
|
|
718
|
-
oEndDate;
|
|
719
|
-
|
|
720
|
-
if (oSrcControl && oSrcControl.isA("sap.m.SinglePlanningCalendarMonthGrid") && bIsCell && !bIsLink) {
|
|
721
|
-
iTimestamp = parseInt(oSelectedCell.getAttribute("sap-ui-date"));
|
|
722
|
-
|
|
723
|
-
oStartDate = UI5Date.getInstance(iTimestamp);
|
|
724
|
-
oStartDate = UI5Date.getInstance(oStartDate.getUTCFullYear(), oStartDate.getUTCMonth(), oStartDate.getUTCDate());
|
|
725
|
-
|
|
726
|
-
oEndDate = UI5Date.getInstance(oStartDate);
|
|
727
|
-
oEndDate.setDate(oEndDate.getDate() + 1);
|
|
728
|
-
if (this._bMultiDateSelect || this._bCurrentWeekSelection || this._bMultiDateSelectWithArrow) {
|
|
729
|
-
this._handelMultiDateSelection(oSelectedCell, oStartDate, oEndDate, oEvent);
|
|
730
|
-
}
|
|
722
|
+
bWeekNumberSelect = oTarget && oTarget.classList.contains("sapMSPCMonthWeekNumber");
|
|
731
723
|
|
|
732
|
-
|
|
724
|
+
if ((oSrcControl && oSrcControl.isA("sap.m.SinglePlanningCalendarMonthGrid") && bIsCell && !bIsLink) || bWeekNumberSelect) {
|
|
725
|
+
this._fireGridCellSelectionEvent(oEvent, bWeekNumberSelect);
|
|
726
|
+
// deselect all appointments
|
|
733
727
|
this.fireAppointmentSelect({
|
|
734
728
|
appointment: undefined,
|
|
735
729
|
appointments: this._toggleAppointmentSelection(undefined, true)
|
|
736
730
|
});
|
|
737
|
-
} else if (bWeekNumberSelect) {
|
|
738
|
-
iTimestamp = parseInt(oFirstSiblingElement.getAttribute("sap-ui-date"));
|
|
739
|
-
oStartDate = UI5Date.getInstance(iTimestamp);
|
|
740
|
-
oStartDate = UI5Date.getInstance(oStartDate.getUTCFullYear(), oStartDate.getUTCMonth(), oStartDate.getUTCDate());
|
|
741
|
-
|
|
742
|
-
oEndDate = UI5Date.getInstance(oStartDate);
|
|
743
|
-
oEndDate.setDate(oEndDate.getDate() + 6);
|
|
744
|
-
|
|
745
|
-
this._bCurrentWeekSelection = true;
|
|
746
|
-
this._bMultiDateSelect = false;
|
|
747
|
-
this._handelMultiDateSelection(oSelectedCell, oStartDate, oEndDate, oEvent);
|
|
748
|
-
|
|
749
731
|
} else if (oSrcControl && oSrcControl.isA("sap.ui.unified.CalendarAppointment")) {
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
732
|
+
const bCtrlKeyOrMetaKey = oEvent.ctrlKey || oEvent.metaKey;
|
|
733
|
+
this._fireAppointmentSelection(oTarget, oSrcControl, bCtrlKeyOrMetaKey);
|
|
734
|
+
}
|
|
735
|
+
};
|
|
753
736
|
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
737
|
+
SinglePlanningCalendarMonthGrid.prototype._fireAppointmentSelection = function (oTarget, oSrcControl, bCtrlKeyOrMetaKey) {
|
|
738
|
+
// add suffix in appointment
|
|
739
|
+
if (oTarget.parentElement && oTarget.parentElement.getAttribute("id")) {
|
|
740
|
+
var sTargetId = oTarget.parentElement.getAttribute("id");
|
|
758
741
|
|
|
759
|
-
|
|
760
|
-
|
|
742
|
+
// data-sap-ui-related - This is a relation to appointment object.
|
|
743
|
+
// This is the connection between the DOM Element and the Object representing an appointment.
|
|
744
|
+
var sBaseIDPart = oTarget.parentElement.getAttribute("data-sap-ui-related");
|
|
745
|
+
var sSuffix = sTargetId.replace(sBaseIDPart + "-", "");
|
|
761
746
|
|
|
762
|
-
|
|
763
|
-
appointment: oSrcControl,
|
|
764
|
-
appointments: this._toggleAppointmentSelection(oSrcControl, !(oEvent.ctrlKey || oEvent.metaKey))
|
|
765
|
-
});
|
|
747
|
+
oSrcControl._setAppointmentPartSuffix(sSuffix);
|
|
766
748
|
}
|
|
749
|
+
|
|
750
|
+
this.fireAppointmentSelect({
|
|
751
|
+
appointment: oSrcControl,
|
|
752
|
+
appointments: this._toggleAppointmentSelection(oSrcControl, !bCtrlKeyOrMetaKey)
|
|
753
|
+
});
|
|
754
|
+
};
|
|
755
|
+
|
|
756
|
+
SinglePlanningCalendarMonthGrid.prototype._fireGridCellSelectionEvent = function (oEvent, bWeekNumberSelect){
|
|
757
|
+
const iExtraDayCount = 6;
|
|
758
|
+
const iSingleDay = 1;
|
|
759
|
+
const oSelectedCell = bWeekNumberSelect ? oEvent.originalEvent.target.nextSibling.children[0] : this._findSelectCell(oEvent.target);
|
|
760
|
+
const iNextDays = bWeekNumberSelect ? iExtraDayCount : iSingleDay;
|
|
761
|
+
const iTimestamp = parseInt(oSelectedCell.getAttribute("sap-ui-date"));
|
|
762
|
+
let oStartDate = UI5Date.getInstance(iTimestamp);
|
|
763
|
+
oStartDate = UI5Date.getInstance(oStartDate.getUTCFullYear(), oStartDate.getUTCMonth(), oStartDate.getUTCDate());
|
|
764
|
+
const oEndDate = UI5Date.getInstance(oStartDate);
|
|
765
|
+
oEndDate.setDate(oEndDate.getDate() + iNextDays);
|
|
766
|
+
|
|
767
|
+
this._handelMultiDateSelection(oSelectedCell, oStartDate, oEndDate, oEvent, bWeekNumberSelect);
|
|
768
|
+
|
|
769
|
+
// eslint-disable-next-line no-unused-expressions
|
|
770
|
+
!bWeekNumberSelect && this.fireEvent("cellPress", {startDate: oStartDate, endDate: oEndDate});
|
|
767
771
|
};
|
|
768
772
|
|
|
769
773
|
SinglePlanningCalendarMonthGrid.prototype._toggleMarkCell = function (oTarget, oDay) {
|
|
@@ -826,12 +830,13 @@ sap.ui.define([
|
|
|
826
830
|
return aChangedApps;
|
|
827
831
|
};
|
|
828
832
|
|
|
829
|
-
SinglePlanningCalendarMonthGrid.prototype._getMoreLink = function(iAppointmentsCount, oCalendarDate, iCellIndex) {
|
|
833
|
+
SinglePlanningCalendarMonthGrid.prototype._getMoreLink = function(iAppointmentsCount, oCalendarDate, iCellIndex, sMoreLinkDescId) {
|
|
830
834
|
var sMore = Core
|
|
831
835
|
.getLibraryResourceBundle("sap.m")
|
|
832
836
|
.getText("SPC_MORE_LINK", [iAppointmentsCount.toString()]),
|
|
833
837
|
oLink = new Link({
|
|
834
838
|
accessibleRole: LinkAccessibleRole.Button,
|
|
839
|
+
ariaLabelledBy: [sMoreLinkDescId],
|
|
835
840
|
text: sMore,
|
|
836
841
|
press: this._handleMorePress
|
|
837
842
|
}).addCustomData(new CustomData({
|
|
@@ -839,22 +844,44 @@ sap.ui.define([
|
|
|
839
844
|
value: oCalendarDate.valueOf().toString(),
|
|
840
845
|
writeToDom: true
|
|
841
846
|
}));
|
|
847
|
+
this.oAfterLinkRenderDelegate = this._getMoreLinkOnAfterRenderingDelegate(oLink);
|
|
842
848
|
|
|
843
849
|
if (this._aLinks[iCellIndex]) {
|
|
850
|
+
this._aLinks[iCellIndex].removeDelegate(this.oAfterLinkRenderDelegate);
|
|
844
851
|
this._aLinks[iCellIndex].destroy();
|
|
845
852
|
}
|
|
853
|
+
|
|
854
|
+
oLink.addDelegate(this.oAfterLinkRenderDelegate);
|
|
846
855
|
this._aLinks[iCellIndex] = oLink;
|
|
847
856
|
|
|
848
857
|
return oLink;
|
|
849
858
|
};
|
|
850
859
|
|
|
860
|
+
SinglePlanningCalendarMonthGrid.prototype._getMoreLinkOnAfterRenderingDelegate = function (oLink) {
|
|
861
|
+
return {
|
|
862
|
+
onAfterRendering: function() {
|
|
863
|
+
const oLinkDomRef = oLink.getDomRef();
|
|
864
|
+
const sDescriptionId = oLinkDomRef.getAttribute("aria-labelledby").split(" ")[0];
|
|
865
|
+
oLinkDomRef.setAttribute("aria-labelledby", sDescriptionId);
|
|
866
|
+
}
|
|
867
|
+
};
|
|
868
|
+
};
|
|
869
|
+
|
|
870
|
+
SinglePlanningCalendarMonthGrid.prototype._getMoreLinkDescription = function (iAppointmentsCount, oCalendarDate) {
|
|
871
|
+
const sFormattedString = this._oFormatAriaFullDayCell.format(oCalendarDate);
|
|
872
|
+
const oBundle = Core.getLibraryResourceBundle("sap.m");
|
|
873
|
+
return iAppointmentsCount === 1 ?
|
|
874
|
+
oBundle.getText("SPC_MORE_LINK_ONE_APPOINTMENT", [sFormattedString]) :
|
|
875
|
+
oBundle.getText("SPC_MORE_LINK_MULTIPLE_APPOINTMENTS", [iAppointmentsCount.toString(), sFormattedString]);
|
|
876
|
+
};
|
|
877
|
+
|
|
851
878
|
SinglePlanningCalendarMonthGrid.prototype._handleMorePress = function(oEvent) {
|
|
852
879
|
var iTimestamp = parseInt(oEvent.getSource().getCustomData()[0].getValue()),
|
|
853
880
|
oDate = UI5Date.getInstance(iTimestamp);
|
|
854
881
|
|
|
855
882
|
oDate = UI5Date.getInstance(oDate.getUTCFullYear(), oDate.getUTCMonth(), oDate.getUTCDate());
|
|
856
883
|
|
|
857
|
-
this.fireEvent("moreLinkPress", { date: oDate });
|
|
884
|
+
this.fireEvent("moreLinkPress", { date: oDate, sourceLink: oEvent.getSource() });
|
|
858
885
|
};
|
|
859
886
|
|
|
860
887
|
SinglePlanningCalendarMonthGrid.prototype._getCoreLocaleData = function() {
|
|
@@ -1439,9 +1466,7 @@ sap.ui.define([
|
|
|
1439
1466
|
};
|
|
1440
1467
|
|
|
1441
1468
|
SinglePlanningCalendarMonthGrid.prototype.getFocusDomRef = function() {
|
|
1442
|
-
return this._sSelectedAppointment
|
|
1443
|
-
? this._sSelectedAppointment.getDomRef()
|
|
1444
|
-
: Element.prototype.getFocusDomRef.apply(this, arguments);
|
|
1469
|
+
return this._sSelectedAppointment ? this._sSelectedAppointment.getDomRef() : this._oItemNavigation.getFocusedDomRef();
|
|
1445
1470
|
};
|
|
1446
1471
|
|
|
1447
1472
|
return SinglePlanningCalendarMonthGrid;
|
|
@@ -158,7 +158,8 @@ sap.ui.define([
|
|
|
158
158
|
oFormat = oControl._getDateFormatter(),
|
|
159
159
|
bToday = oDay.isSame(CalendarDate.fromLocalJSDate(UI5Date.getInstance())),
|
|
160
160
|
oType,
|
|
161
|
-
sLegendItemType
|
|
161
|
+
sLegendItemType,
|
|
162
|
+
sMoreLinkDescId;
|
|
162
163
|
|
|
163
164
|
oRm.openStart("div");
|
|
164
165
|
oRm.class("sapMSPCMonthDay");
|
|
@@ -213,11 +214,19 @@ sap.ui.define([
|
|
|
213
214
|
oRm.close("div");
|
|
214
215
|
|
|
215
216
|
if (more) {
|
|
217
|
+
sMoreLinkDescId = oFormat.format(oDay.toLocalJSDate()) + "-MoreLinkDesc";
|
|
216
218
|
oRm.openStart("div");
|
|
217
219
|
oRm.class("sapMSPCMonthLnkMore");
|
|
218
220
|
oRm.openEnd();
|
|
219
221
|
|
|
220
|
-
oRm.renderControl(oControl._getMoreLink(more, oDay, iCellIndex));
|
|
222
|
+
oRm.renderControl(oControl._getMoreLink(more, oDay, iCellIndex, sMoreLinkDescId));
|
|
223
|
+
|
|
224
|
+
oRm.openStart("span", sMoreLinkDescId);
|
|
225
|
+
oRm.class("sapUiInvisibleText");
|
|
226
|
+
oRm.openEnd();
|
|
227
|
+
oRm.text(oControl._getMoreLinkDescription(more, oDay.toLocalJSDate()));
|
|
228
|
+
oRm.close("span");
|
|
229
|
+
|
|
221
230
|
oRm.close("div");
|
|
222
231
|
}
|
|
223
232
|
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
* @extends sap.m.SinglePlanningCalendarView
|
|
29
29
|
*
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.125.0
|
|
32
32
|
*
|
|
33
33
|
* @constructor
|
|
34
34
|
* @public
|
|
@@ -54,7 +54,7 @@ sap.ui.define([
|
|
|
54
54
|
*
|
|
55
55
|
* @param {object} oStartDate The current start date
|
|
56
56
|
* @param {int} iOffset The number of pages to scroll, negative means backwards
|
|
57
|
-
* @
|
|
57
|
+
* @returns {int} The number of entities to be skipped by scrolling
|
|
58
58
|
* @override
|
|
59
59
|
* @public
|
|
60
60
|
*/
|
|
@@ -76,13 +76,13 @@ sap.ui.define([
|
|
|
76
76
|
* Calculates the <code>startDate</code> displayed in the <code>sap.m.SinglePlanningCalendar</code> based
|
|
77
77
|
* on a given date.
|
|
78
78
|
*
|
|
79
|
-
* @param {
|
|
80
|
-
* @
|
|
79
|
+
* @param {Date|module:sap/ui/core/date/UI5Date} oDate The given date
|
|
80
|
+
* @returns {Date|module:sap/ui/core/date/UI5Date} The startDate of the view
|
|
81
81
|
* @override
|
|
82
82
|
* @public
|
|
83
83
|
*/
|
|
84
|
-
SinglePlanningCalendarMonthView.prototype.calculateStartDate = function(
|
|
85
|
-
var oReturnDate = CalendarUtils.getFirstDateOfMonth(CalendarUtils._createUTCDate(
|
|
84
|
+
SinglePlanningCalendarMonthView.prototype.calculateStartDate = function(oDate) {
|
|
85
|
+
var oReturnDate = CalendarUtils.getFirstDateOfMonth(CalendarUtils._createUTCDate(oDate, true)).getJSDate();
|
|
86
86
|
return CalendarUtils._createLocalDate(oReturnDate, true);
|
|
87
87
|
};
|
|
88
88
|
|
|
@@ -26,7 +26,7 @@ function (library, Log, Element) {
|
|
|
26
26
|
* @extends sap.ui.core.Element
|
|
27
27
|
*
|
|
28
28
|
* @author SAP SE
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.125.0
|
|
30
30
|
*
|
|
31
31
|
* @constructor
|
|
32
32
|
* @public
|
|
@@ -76,11 +76,12 @@ function (library, Log, Element) {
|
|
|
76
76
|
/**
|
|
77
77
|
* Should return the number of columns to be displayed in the grid of the <code>sap.m.SinglePlanningCalendar</code>.
|
|
78
78
|
*
|
|
79
|
+
* @returns {int} the number of columns to be displayed
|
|
79
80
|
* @public
|
|
80
81
|
* @abstract
|
|
81
82
|
*/
|
|
82
83
|
SinglePlanningCalendarView.prototype.getEntityCount = function () {
|
|
83
|
-
|
|
84
|
+
throw new Error("This method should be implemented in one of the inherited classes.");
|
|
84
85
|
};
|
|
85
86
|
|
|
86
87
|
/**
|
|
@@ -89,23 +90,25 @@ function (library, Log, Element) {
|
|
|
89
90
|
* pressing the forward button inside the work week view, the next startDate of a work week will be 7 entities
|
|
90
91
|
* (days) away from the current one.
|
|
91
92
|
*
|
|
93
|
+
* @returns {int} the number of entities to be skipped by scrolling
|
|
92
94
|
* @public
|
|
93
95
|
* @abstract
|
|
94
96
|
*/
|
|
95
97
|
SinglePlanningCalendarView.prototype.getScrollEntityCount = function () {
|
|
96
|
-
|
|
98
|
+
throw new Error("This method should be implemented in one of the inherited classes.");
|
|
97
99
|
};
|
|
98
100
|
|
|
99
101
|
/**
|
|
100
102
|
* Should calculate the startDate which will be displayed in the <code>sap.m.SinglePlanningCalendar</code>
|
|
101
103
|
* based on a given date.
|
|
102
104
|
*
|
|
103
|
-
* @param {Date|module:sap/ui/core/date/UI5Date} oDate
|
|
105
|
+
* @param {Date|module:sap/ui/core/date/UI5Date} oDate The given date
|
|
106
|
+
* @returns {Date|module:sap/ui/core/date/UI5Date} The startDate of the view
|
|
104
107
|
* @public
|
|
105
108
|
* @abstract
|
|
106
109
|
*/
|
|
107
110
|
SinglePlanningCalendarView.prototype.calculateStartDate = function (oDate) {
|
|
108
|
-
|
|
111
|
+
throw new Error("This method should be implemented in one of the inherited classes.");
|
|
109
112
|
};
|
|
110
113
|
|
|
111
114
|
return SinglePlanningCalendarView;
|
|
@@ -31,7 +31,7 @@ function (library, SinglePlanningCalendarView, Formatting, LocaleData, CalendarD
|
|
|
31
31
|
* @extends sap.m.SinglePlanningCalendarView
|
|
32
32
|
*
|
|
33
33
|
* @author SAP SE
|
|
34
|
-
* @version 1.
|
|
34
|
+
* @version 1.125.0
|
|
35
35
|
*
|
|
36
36
|
* @constructor
|
|
37
37
|
* @public
|
|
@@ -50,7 +50,7 @@ function (library, SinglePlanningCalendarView, Formatting, LocaleData, CalendarD
|
|
|
50
50
|
* Returns after how much entities is the next/previous startDate of the <code>sap.m.SinglePlanningCalendar</code> after
|
|
51
51
|
* navigating forward or backwards.
|
|
52
52
|
*
|
|
53
|
-
* @
|
|
53
|
+
* @returns {int} the number of entities to be skipped by scrolling
|
|
54
54
|
* @override
|
|
55
55
|
* @public
|
|
56
56
|
*/
|
|
@@ -62,7 +62,7 @@ function (library, SinglePlanningCalendarView, Formatting, LocaleData, CalendarD
|
|
|
62
62
|
* Should return a number of entities until the next/previous startDate of the
|
|
63
63
|
* <code>sap.m.SinglePlanningCalendar</code> after navigating forward or backwards.
|
|
64
64
|
*
|
|
65
|
-
* @
|
|
65
|
+
* @returns {int} the number of entities to be skipped by scrolling
|
|
66
66
|
*/
|
|
67
67
|
SinglePlanningCalendarWeekView.prototype.getScrollEntityCount = function () {
|
|
68
68
|
return 7;
|
|
@@ -72,12 +72,12 @@ function (library, SinglePlanningCalendarView, Formatting, LocaleData, CalendarD
|
|
|
72
72
|
* Calculates the startDate which will be displayed in the <code>sap.m.SinglePlanningCalendar</code> based
|
|
73
73
|
* on a given date.
|
|
74
74
|
*
|
|
75
|
-
* @param {
|
|
76
|
-
* @
|
|
75
|
+
* @param {Date|module:sap/ui/core/date/UI5Date} oDate The given date
|
|
76
|
+
* @returns {Date|module:sap/ui/core/date/UI5Date} The startDate of the view
|
|
77
77
|
* @override
|
|
78
78
|
* @public
|
|
79
79
|
*/
|
|
80
|
-
SinglePlanningCalendarWeekView.prototype.calculateStartDate = function (
|
|
80
|
+
SinglePlanningCalendarWeekView.prototype.calculateStartDate = function (oDate) {
|
|
81
81
|
|
|
82
82
|
var sLocale = new Locale(Formatting.getLanguageTag()).toString();
|
|
83
83
|
|
|
@@ -94,9 +94,9 @@ function (library, SinglePlanningCalendarView, Formatting, LocaleData, CalendarD
|
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
oDate.setDate(oDate.getDate() - oDate.getDay() + iFirstDayOfWeek);
|
|
98
98
|
return CalendarUtils
|
|
99
|
-
._getFirstDateOfWeek(CalendarDate.fromLocalJSDate(
|
|
99
|
+
._getFirstDateOfWeek(CalendarDate.fromLocalJSDate(oDate), {
|
|
100
100
|
firstDayOfWeek: iFirstDayOfWeek,
|
|
101
101
|
minimalDaysInFirstWeek: oLocaleData.getMinimalDaysInFirstWeek()
|
|
102
102
|
})
|
|
@@ -30,7 +30,7 @@ function(library, SinglePlanningCalendarView, Formatting, Locale, CalendarDate,
|
|
|
30
30
|
* @extends sap.m.SinglePlanningCalendarView
|
|
31
31
|
*
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.125.0
|
|
34
34
|
*
|
|
35
35
|
* @constructor
|
|
36
36
|
* @public
|
|
@@ -49,7 +49,7 @@ function(library, SinglePlanningCalendarView, Formatting, Locale, CalendarDate,
|
|
|
49
49
|
/**
|
|
50
50
|
* Returns the number of columns to be displayed in the grid of the <code>sap.m.SinglePlanningCalendar</code>.
|
|
51
51
|
*
|
|
52
|
-
* @
|
|
52
|
+
* @returns {int} the number of columns to be displayed
|
|
53
53
|
* @override
|
|
54
54
|
* @public
|
|
55
55
|
*/
|
|
@@ -61,7 +61,7 @@ function(library, SinglePlanningCalendarView, Formatting, Locale, CalendarDate,
|
|
|
61
61
|
* Should return a number of entities until the next/previous startDate of the
|
|
62
62
|
* <code>sap.m.SinglePlanningCalendar</code> after navigating forward or backwards.
|
|
63
63
|
*
|
|
64
|
-
* @
|
|
64
|
+
* @returns {int} the number of entities to be skipped by scrolling
|
|
65
65
|
* @override
|
|
66
66
|
* @public
|
|
67
67
|
*/
|
|
@@ -73,13 +73,13 @@ function(library, SinglePlanningCalendarView, Formatting, Locale, CalendarDate,
|
|
|
73
73
|
* Calculates the startDate which will be displayed in the <code>sap.m.SinglePlanningCalendar</code> based
|
|
74
74
|
* on a given date.
|
|
75
75
|
*
|
|
76
|
-
* @param {
|
|
77
|
-
* @
|
|
76
|
+
* @param {Date|module:sap/ui/core/date/UI5Date} oDate The given date
|
|
77
|
+
* @returns {Date|module:sap/ui/core/date/UI5Date} The startDate of the view
|
|
78
78
|
* @override
|
|
79
79
|
* @public
|
|
80
80
|
*/
|
|
81
|
-
SinglePlanningCalendarWorkWeekView.prototype.calculateStartDate = function (
|
|
82
|
-
var oCalDate = CalendarDate.fromLocalJSDate(
|
|
81
|
+
SinglePlanningCalendarWorkWeekView.prototype.calculateStartDate = function (oDate) {
|
|
82
|
+
var oCalDate = CalendarDate.fromLocalJSDate(oDate),
|
|
83
83
|
oCalFirstDateOfWeek = CalendarUtils._getFirstDateOfWeek(oCalDate),
|
|
84
84
|
oLocaleData = this._getFormatSettingsLocaleData();
|
|
85
85
|
|
|
@@ -93,7 +93,7 @@ function(library, SinglePlanningCalendarView, Formatting, Locale, CalendarDate,
|
|
|
93
93
|
/**
|
|
94
94
|
* Returns local data about the current locale.
|
|
95
95
|
*
|
|
96
|
-
* @
|
|
96
|
+
* @returns {LocaleData} the local data
|
|
97
97
|
* @private
|
|
98
98
|
*/
|
|
99
99
|
SinglePlanningCalendarWorkWeekView.prototype._getFormatSettingsLocaleData = function () {
|
package/src/sap/m/SlideTile.js
CHANGED
package/src/sap/m/Slider.js
CHANGED
package/src/sap/m/SplitApp.js
CHANGED