@openui5/sap.m 1.111.1 → 1.112.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/package.json +4 -4
- package/src/sap/m/.library +1 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/ActionTile.js +1 -1
- package/src/sap/m/ActionTileContent.js +2 -3
- package/src/sap/m/ActionTileContentRenderer.js +2 -3
- 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 +2 -2
- 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 +3 -3
- package/src/sap/m/Carousel.js +2 -2
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +2 -2
- 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 -2
- package/src/sap/m/ComboBoxBase.js +1 -2
- package/src/sap/m/ComboBoxTextField.js +1 -1
- 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 +1 -1
- package/src/sap/m/DatePicker.js +4 -2
- package/src/sap/m/DatePickerRenderer.js +5 -5
- package/src/sap/m/DateRangeSelection.js +5 -5
- package/src/sap/m/DateTimeField.js +1 -1
- package/src/sap/m/DateTimeFieldRenderer.js +13 -0
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +1 -1
- package/src/sap/m/DateTimePickerRenderer.js +4 -4
- package/src/sap/m/Dialog.js +44 -3
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +4 -2
- package/src/sap/m/DynamicDateFormat.js +6 -30
- package/src/sap/m/DynamicDateOption.js +18 -38
- package/src/sap/m/DynamicDateRange.js +9 -43
- 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 +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 +1 -1
- 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 +21 -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 +4 -28
- package/src/sap/m/InputBase.js +1 -1
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +2 -2
- package/src/sap/m/LabelRenderer.js +0 -2
- 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/LinkRenderer.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +1 -1
- 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 +2 -1
- package/src/sap/m/MessagePopover.js +32 -2
- 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 +3 -1
- package/src/sap/m/MultiComboBox.js +2 -3
- 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 +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 +23 -2
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +2 -2
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectNumberRenderer.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/ObjectStatusRenderer.js +1 -1
- package/src/sap/m/OverflowToolbar.js +10 -1
- 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/OverflowToolbarRenderer.js +3 -0
- 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 +62 -5
- 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/PanelRenderer.js +17 -6
- package/src/sap/m/PlanningCalendar.js +90 -88
- package/src/sap/m/PlanningCalendarHeader.js +7 -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 +1 -1
- package/src/sap/m/PopoverRenderer.js +5 -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 +1 -1
- package/src/sap/m/SearchFieldRenderer.js +6 -1
- package/src/sap/m/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +10 -3
- 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/SelectRenderer.js +5 -2
- 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 -15
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +51 -68
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +15 -12
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +18 -16
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +6 -4
- 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 +1 -1
- package/src/sap/m/StandardDynamicDateOption.js +5 -13
- 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 +2 -2
- 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/TabContainerRenderer.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 +6 -8
- 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 +2 -3
- package/src/sap/m/TimePicker.js +2 -2
- package/src/sap/m/TimePickerClock.js +5 -6
- 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/TimePickerRenderer.js +9 -10
- 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/TitleRenderer.js +1 -5
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +4 -4
- package/src/sap/m/Toolbar.js +89 -5
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarRenderer.js +26 -26
- 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 +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 +149 -39
- 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/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/delegate/DateNavigation.js +3 -1
- package/src/sap/m/designtime/Panel.designtime.js +1 -1
- package/src/sap/m/library.js +3 -3
- package/src/sap/m/messagebundle.properties +12 -0
- package/src/sap/m/messagebundle_ar.properties +16 -4
- package/src/sap/m/messagebundle_bg.properties +21 -9
- package/src/sap/m/messagebundle_ca.properties +16 -4
- package/src/sap/m/messagebundle_cs.properties +16 -4
- package/src/sap/m/messagebundle_cy.properties +16 -4
- package/src/sap/m/messagebundle_da.properties +16 -4
- package/src/sap/m/messagebundle_de.properties +16 -4
- package/src/sap/m/messagebundle_el.properties +16 -4
- package/src/sap/m/messagebundle_en.properties +13 -1
- package/src/sap/m/messagebundle_en_GB.properties +13 -1
- package/src/sap/m/messagebundle_en_US_sappsd.properties +8 -0
- package/src/sap/m/messagebundle_en_US_saprigi.properties +12 -0
- package/src/sap/m/messagebundle_en_US_saptrc.properties +12 -0
- package/src/sap/m/messagebundle_es.properties +16 -4
- package/src/sap/m/messagebundle_es_MX.properties +16 -4
- package/src/sap/m/messagebundle_et.properties +16 -4
- package/src/sap/m/messagebundle_fi.properties +16 -4
- package/src/sap/m/messagebundle_fr.properties +16 -4
- package/src/sap/m/messagebundle_fr_CA.properties +16 -4
- package/src/sap/m/messagebundle_hi.properties +16 -4
- package/src/sap/m/messagebundle_hr.properties +16 -4
- package/src/sap/m/messagebundle_hu.properties +17 -5
- package/src/sap/m/messagebundle_id.properties +17 -5
- package/src/sap/m/messagebundle_it.properties +16 -4
- package/src/sap/m/messagebundle_iw.properties +16 -4
- package/src/sap/m/messagebundle_ja.properties +16 -4
- package/src/sap/m/messagebundle_kk.properties +16 -4
- package/src/sap/m/messagebundle_ko.properties +17 -5
- package/src/sap/m/messagebundle_lt.properties +16 -4
- package/src/sap/m/messagebundle_lv.properties +16 -4
- package/src/sap/m/messagebundle_ms.properties +16 -4
- package/src/sap/m/messagebundle_nl.properties +16 -4
- package/src/sap/m/messagebundle_no.properties +16 -4
- package/src/sap/m/messagebundle_pl.properties +16 -4
- package/src/sap/m/messagebundle_pt.properties +16 -4
- package/src/sap/m/messagebundle_pt_PT.properties +16 -4
- package/src/sap/m/messagebundle_ro.properties +16 -4
- package/src/sap/m/messagebundle_ru.properties +16 -4
- package/src/sap/m/messagebundle_sh.properties +16 -4
- package/src/sap/m/messagebundle_sk.properties +16 -4
- package/src/sap/m/messagebundle_sl.properties +16 -4
- package/src/sap/m/messagebundle_sv.properties +16 -4
- package/src/sap/m/messagebundle_th.properties +16 -4
- package/src/sap/m/messagebundle_tr.properties +16 -4
- package/src/sap/m/messagebundle_uk.properties +16 -4
- package/src/sap/m/messagebundle_vi.properties +16 -4
- package/src/sap/m/messagebundle_zh_CN.properties +22 -10
- package/src/sap/m/messagebundle_zh_TW.properties +19 -7
- 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 +28 -1
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +3 -21
- package/src/sap/m/p13n/FlexUtil.js +27 -34
- package/src/sap/m/p13n/GroupController.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/PersistenceProvider.js +2 -1
- package/src/sap/m/p13n/Popup.js +9 -4
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +150 -76
- 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 +5 -5
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +4 -3
- package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +7 -6
- package/src/sap/m/p13n/modification/ModificationHandler.js +10 -57
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +2 -2
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +2 -2
- package/src/sap/m/p13n/modules/UIManager.js +2 -2
- package/src/sap/m/plugins/CellSelector.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.js +2 -2
- package/src/sap/m/plugins/CopyProvider.js +1 -1
- 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/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 +1 -1
- 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 +67 -5
- 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 +1 -1
- 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 +22 -20
- package/src/sap/m/table/columnmenu/MenuRenderer.js +7 -0
- 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/Button.less +15 -0
- package/src/sap/m/themes/base/IconTabBar.less +1 -2
- package/src/sap/m/themes/base/ObjectAttribute.less +1 -0
- package/src/sap/m/themes/base/ObjectNumber.less +6 -0
- package/src/sap/m/themes/base/ObjectStatus.less +7 -26
- package/src/sap/m/themes/base/Title.less +1 -1
- package/src/sap/m/themes/base/Toolbar.less +6 -3
- package/src/sap/m/themes/sap_hcb/ObjectStatus.less +0 -26
- package/src/sap/m/upload/UploadSet.js +4 -1
- package/src/sap/m/upload/UploadSetItem.js +1 -1
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/themes/sap_horizon/Label.less +0 -10
- package/src/sap/m/themes/sap_horizon/Text.less +0 -10
|
@@ -28,7 +28,8 @@ sap.ui.define([
|
|
|
28
28
|
'./PlanningCalendarLegend',
|
|
29
29
|
'sap/ui/core/InvisibleMessage',
|
|
30
30
|
'sap/ui/core/library',
|
|
31
|
-
"sap/ui/core/Configuration"
|
|
31
|
+
"sap/ui/core/Configuration",
|
|
32
|
+
"sap/ui/core/date/UI5Date"
|
|
32
33
|
],
|
|
33
34
|
function (
|
|
34
35
|
SinglePlanningCalendarUtilities,
|
|
@@ -53,7 +54,8 @@ sap.ui.define([
|
|
|
53
54
|
PlanningCalendarLegend,
|
|
54
55
|
InvisibleMessage,
|
|
55
56
|
coreLibrary,
|
|
56
|
-
Configuration
|
|
57
|
+
Configuration,
|
|
58
|
+
UI5Date
|
|
57
59
|
) {
|
|
58
60
|
"use strict";
|
|
59
61
|
|
|
@@ -102,7 +104,7 @@ sap.ui.define([
|
|
|
102
104
|
* @extends sap.ui.core.Control
|
|
103
105
|
*
|
|
104
106
|
* @author SAP SE
|
|
105
|
-
* @version 1.
|
|
107
|
+
* @version 1.112.0
|
|
106
108
|
*
|
|
107
109
|
* @constructor
|
|
108
110
|
* @private
|
|
@@ -352,7 +354,7 @@ sap.ui.define([
|
|
|
352
354
|
});
|
|
353
355
|
|
|
354
356
|
SinglePlanningCalendarGrid.prototype.init = function () {
|
|
355
|
-
var oStartDate =
|
|
357
|
+
var oStartDate = UI5Date.getInstance(),
|
|
356
358
|
oDatesRow = new DatesRow(this.getId() + "-columnHeaders", {
|
|
357
359
|
showDayNamesLine: false,
|
|
358
360
|
showWeekNumbers: false,
|
|
@@ -457,7 +459,7 @@ sap.ui.define([
|
|
|
457
459
|
var oDragSession = oEvent.getParameter("dragSession"),
|
|
458
460
|
oAppointment = oDragSession.getDragControl(),
|
|
459
461
|
oDropTarget = oDragSession.getDropControl(),
|
|
460
|
-
bIsFullDay = this.isAllDayAppointment(oAppointment.
|
|
462
|
+
bIsFullDay = this.isAllDayAppointment(oAppointment.getStartDate(), oAppointment.getEndDate()),
|
|
461
463
|
fnAlignIndicator = function () {
|
|
462
464
|
var $Indicator = jQuery(oDragSession.getIndicator()),
|
|
463
465
|
iAppHeight = oAppointment.$().outerHeight(),
|
|
@@ -490,17 +492,17 @@ sap.ui.define([
|
|
|
490
492
|
oEndDate,
|
|
491
493
|
oBrowserEvent = oEvent.getParameter("browserEvent"),
|
|
492
494
|
bCopy = (oBrowserEvent.metaKey || oBrowserEvent.ctrlKey),
|
|
493
|
-
bIsFullDay = this.isAllDayAppointment(oAppointment.
|
|
495
|
+
bIsFullDay = this.isAllDayAppointment(oAppointment.getStartDate(), oAppointment.getEndDate());
|
|
494
496
|
|
|
495
|
-
oEndDate =
|
|
497
|
+
oEndDate = UI5Date.getInstance(oStartDate);
|
|
496
498
|
|
|
497
499
|
if (bIsFullDay) {
|
|
498
|
-
oEndDate.setMilliseconds(oAppointment.
|
|
500
|
+
oEndDate.setMilliseconds(oAppointment.getEndDate().getTime() - oAppointment.getStartDate().getTime());
|
|
499
501
|
}
|
|
500
502
|
|
|
501
503
|
this.$().find(".sapMSinglePCOverlay").removeClass("sapMSinglePCOverlayDragging");
|
|
502
504
|
|
|
503
|
-
if (bIsFullDay && oAppointment.
|
|
505
|
+
if (bIsFullDay && oAppointment.getStartDate().getTime() === oStartDate.getTime()) {
|
|
504
506
|
return;
|
|
505
507
|
}
|
|
506
508
|
|
|
@@ -543,7 +545,7 @@ sap.ui.define([
|
|
|
543
545
|
var oDragSession = oEvent.getParameter("dragSession"),
|
|
544
546
|
oAppointment = oDragSession.getDragControl(),
|
|
545
547
|
oDropTarget = oDragSession.getDropControl(),
|
|
546
|
-
bIsFullDay = this.isAllDayAppointment(oAppointment.
|
|
548
|
+
bIsFullDay = this.isAllDayAppointment(oAppointment.getStartDate(), oAppointment.getEndDate()),
|
|
547
549
|
fnAlignIndicator = function () {
|
|
548
550
|
var $Indicator = jQuery(oDragSession.getIndicator()),
|
|
549
551
|
iAppHeight = oAppointment.$().outerHeight(),
|
|
@@ -573,19 +575,19 @@ sap.ui.define([
|
|
|
573
575
|
oEndDate,
|
|
574
576
|
oBrowserEvent = oEvent.getParameter("browserEvent"),
|
|
575
577
|
bCopy = (oBrowserEvent.metaKey || oBrowserEvent.ctrlKey),
|
|
576
|
-
bIsFullDay = this.isAllDayAppointment(oAppointment.
|
|
578
|
+
bIsFullDay = this.isAllDayAppointment(oAppointment.getStartDate(), oAppointment.getEndDate());
|
|
577
579
|
|
|
578
|
-
oEndDate =
|
|
580
|
+
oEndDate = UI5Date.getInstance(oStartDate);
|
|
579
581
|
|
|
580
582
|
if (bIsFullDay) {
|
|
581
583
|
oEndDate.setHours(oEndDate.getHours() + 1);
|
|
582
584
|
} else {
|
|
583
|
-
oEndDate.setMilliseconds(oAppointment.
|
|
585
|
+
oEndDate.setMilliseconds(oAppointment.getEndDate().getTime() - oAppointment.getStartDate().getTime());
|
|
584
586
|
}
|
|
585
587
|
|
|
586
588
|
this.$().find(".sapMSinglePCOverlay").removeClass("sapMSinglePCOverlayDragging");
|
|
587
589
|
|
|
588
|
-
if (!bIsFullDay && oAppointment.
|
|
590
|
+
if (!bIsFullDay && oAppointment.getStartDate().getTime() === oStartDate.getTime()) {
|
|
589
591
|
return;
|
|
590
592
|
}
|
|
591
593
|
|
|
@@ -713,8 +715,8 @@ sap.ui.define([
|
|
|
713
715
|
newPos;
|
|
714
716
|
|
|
715
717
|
newPos = this._calcResizeNewHoursAppPos(
|
|
716
|
-
oAppointment.
|
|
717
|
-
oAppointment.
|
|
718
|
+
oAppointment.getStartDate(),
|
|
719
|
+
oAppointment.getEndDate(),
|
|
718
720
|
iIndex,
|
|
719
721
|
oDragSession.getComplexData("bottomHandle")
|
|
720
722
|
);
|
|
@@ -729,8 +731,8 @@ sap.ui.define([
|
|
|
729
731
|
opacity: 1
|
|
730
732
|
});
|
|
731
733
|
|
|
732
|
-
if (oAppointment.
|
|
733
|
-
oAppointment.
|
|
734
|
+
if (oAppointment.getEndDate().getTime() === newPos.endDate.getTime() &&
|
|
735
|
+
oAppointment.getStartDate().getTime() === newPos.startDate.getTime()) {
|
|
734
736
|
return;
|
|
735
737
|
}
|
|
736
738
|
|
|
@@ -862,8 +864,8 @@ sap.ui.define([
|
|
|
862
864
|
iEndTime = Math.max(oStartDate, oEndDate) + iMillisecondsStep;
|
|
863
865
|
|
|
864
866
|
this.fireAppointmentCreate({
|
|
865
|
-
startDate:
|
|
866
|
-
endDate:
|
|
867
|
+
startDate: UI5Date.getInstance(iStartTime),
|
|
868
|
+
endDate: UI5Date.getInstance(iEndTime)
|
|
867
869
|
});
|
|
868
870
|
|
|
869
871
|
jQuery(".sapUiAppCreate").remove();
|
|
@@ -881,8 +883,8 @@ sap.ui.define([
|
|
|
881
883
|
iEndTime = Math.max(iVariableBoundaryTime, iPlaceholderEndTime);
|
|
882
884
|
|
|
883
885
|
return {
|
|
884
|
-
startDate:
|
|
885
|
-
endDate:
|
|
886
|
+
startDate: UI5Date.getInstance(iStartTime),
|
|
887
|
+
endDate: UI5Date.getInstance(iEndTime)
|
|
886
888
|
};
|
|
887
889
|
};
|
|
888
890
|
|
|
@@ -907,8 +909,8 @@ sap.ui.define([
|
|
|
907
909
|
this._oAppointmentsToRender[sDate].oAppointmentsList.getIterator().forEach(function(oAppNode) {
|
|
908
910
|
oAppointment = oAppNode.getData();
|
|
909
911
|
oAppDomRef = this.getDomRef().querySelector("#" + oAppointment.getId() + "-" + iColumn + "_" + iRow);
|
|
910
|
-
oAppStartDate = oAppointment.
|
|
911
|
-
oAppEndDate = oAppointment.
|
|
912
|
+
oAppStartDate = oAppointment.getStartDate();
|
|
913
|
+
oAppEndDate = oAppointment.getEndDate();
|
|
912
914
|
bAppStartIsOutsideVisibleStartHour = oColumnStartDateAndHour.getTime() > oAppStartDate.getTime();
|
|
913
915
|
bAppEndIsOutsideVisibleEndHour = oColumnEndDateAndHour.getTime() < oAppEndDate.getTime();
|
|
914
916
|
|
|
@@ -1179,10 +1181,10 @@ sap.ui.define([
|
|
|
1179
1181
|
* @private
|
|
1180
1182
|
*/
|
|
1181
1183
|
SinglePlanningCalendarGrid.prototype._focusCellWithKeyboard = function (oAppointment, iDirection) {
|
|
1182
|
-
var bFullDayApp = this.isAllDayAppointment(oAppointment.
|
|
1184
|
+
var bFullDayApp = this.isAllDayAppointment(oAppointment.getStartDate(), oAppointment.getEndDate()),
|
|
1183
1185
|
oFormat = this._getDateFormatter(),
|
|
1184
|
-
oAppStartDate =
|
|
1185
|
-
oGridStartDate =
|
|
1186
|
+
oAppStartDate = UI5Date.getInstance(oAppointment.getStartDate().getFullYear(), oAppointment.getStartDate().getMonth(), oAppointment.getStartDate().getDate(), oAppointment.getStartDate().getHours()),
|
|
1187
|
+
oGridStartDate = UI5Date.getInstance(this.getStartDate().getFullYear(), this.getStartDate().getMonth(), this.getStartDate().getDate(), this.getStartDate().getHours());
|
|
1186
1188
|
|
|
1187
1189
|
// If an appointment start hour is before the visible grid start date
|
|
1188
1190
|
// we will use the grid start date as the appointment start date.
|
|
@@ -1369,7 +1371,7 @@ sap.ui.define([
|
|
|
1369
1371
|
* @private
|
|
1370
1372
|
*/
|
|
1371
1373
|
SinglePlanningCalendarGrid.prototype._shouldHideRowHeader = function (iRow) {
|
|
1372
|
-
var iCurrentHour =
|
|
1374
|
+
var iCurrentHour = UI5Date.getInstance().getHours(),
|
|
1373
1375
|
bIsNearAfterCurrentHour = CalendarUtils._areCurrentMinutesLessThan(15) && iCurrentHour === iRow,
|
|
1374
1376
|
bIsNearBeforeCurrentHour = CalendarUtils._areCurrentMinutesMoreThan(45) && iCurrentHour === iRow - 1;
|
|
1375
1377
|
|
|
@@ -1465,7 +1467,7 @@ sap.ui.define([
|
|
|
1465
1467
|
* @private
|
|
1466
1468
|
*/
|
|
1467
1469
|
SinglePlanningCalendarGrid.prototype._updateRowHeaderAndNowMarker = function () {
|
|
1468
|
-
var oCurrentDate =
|
|
1470
|
+
var oCurrentDate = UI5Date.getInstance();
|
|
1469
1471
|
|
|
1470
1472
|
this._updateNowMarker(oCurrentDate);
|
|
1471
1473
|
this._updateRowHeaders(oCurrentDate);
|
|
@@ -1484,9 +1486,7 @@ sap.ui.define([
|
|
|
1484
1486
|
$nowMarkerText = this.$("nowMarkerText"),
|
|
1485
1487
|
$nowMarkerAMPM = this.$("nowMarkerAMPM"),
|
|
1486
1488
|
bCurrentHourNotVisible = !this._isVisibleHour(oDate.getHours()),
|
|
1487
|
-
oMarkerDate =
|
|
1488
|
-
|
|
1489
|
-
oMarkerDate = this._convertToTimezone(oMarkerDate);
|
|
1489
|
+
oMarkerDate = UI5Date.getInstance(oDate.getTime());
|
|
1490
1490
|
|
|
1491
1491
|
$nowMarker.toggleClass("sapMSinglePCNowMarkerHidden", bCurrentHourNotVisible);
|
|
1492
1492
|
$nowMarker.css("top", this._calculateTopPosition(oMarkerDate) + "rem");
|
|
@@ -1495,23 +1495,6 @@ sap.ui.define([
|
|
|
1495
1495
|
$nowMarkerText.append($nowMarkerAMPM);
|
|
1496
1496
|
};
|
|
1497
1497
|
|
|
1498
|
-
/**
|
|
1499
|
-
* Aligns a date to the timezone from the configuration.
|
|
1500
|
-
*
|
|
1501
|
-
* @returns {Object} <code>oNewDate</code> aligned to the configured timezone.
|
|
1502
|
-
* @private
|
|
1503
|
-
*/
|
|
1504
|
-
SinglePlanningCalendarGrid.prototype._convertToTimezone = function(oDate) {
|
|
1505
|
-
var sTimezone = Core.getConfiguration().getTimezone();
|
|
1506
|
-
var oNewDate = CalendarUtils._createUniversalUTCDate(oDate, undefined, true);
|
|
1507
|
-
|
|
1508
|
-
oNewDate = new Date(oDate.getUTCFullYear(), oDate.getUTCMonth(), oDate.getUTCDate(), oDate.getUTCHours(), oDate.getUTCMinutes(), oDate.getUTCSeconds());
|
|
1509
|
-
oNewDate.setUTCFullYear(oDate.getUTCFullYear());
|
|
1510
|
-
oNewDate = TimezoneUtil.convertToTimezone(oNewDate, sTimezone);
|
|
1511
|
-
|
|
1512
|
-
return oNewDate;
|
|
1513
|
-
};
|
|
1514
|
-
|
|
1515
1498
|
/**
|
|
1516
1499
|
* Updates the row headers assuming that there is a DOM representation.
|
|
1517
1500
|
*
|
|
@@ -1543,8 +1526,8 @@ sap.ui.define([
|
|
|
1543
1526
|
var that = this;
|
|
1544
1527
|
|
|
1545
1528
|
return aAppointments.reduce(function (oMap, oAppointment) {
|
|
1546
|
-
var oAppStartDate = oAppointment.
|
|
1547
|
-
oAppEndDate = oAppointment.
|
|
1529
|
+
var oAppStartDate = oAppointment.getStartDate(),
|
|
1530
|
+
oAppEndDate = oAppointment.getEndDate(),
|
|
1548
1531
|
oCurrentAppCalStartDate,
|
|
1549
1532
|
oCurrentAppCalEndDate,
|
|
1550
1533
|
sDay;
|
|
@@ -1615,8 +1598,8 @@ sap.ui.define([
|
|
|
1615
1598
|
*/
|
|
1616
1599
|
SinglePlanningCalendarGrid.prototype._isAppointmentFitInVisibleHours = function (oColumnCalDate) {
|
|
1617
1600
|
return function (oAppointment) {
|
|
1618
|
-
var iAppStartTime = oAppointment.
|
|
1619
|
-
iAppEndTime = oAppointment.
|
|
1601
|
+
var iAppStartTime = oAppointment.getStartDate().getTime(),
|
|
1602
|
+
iAppEndTime = oAppointment.getEndDate().getTime(),
|
|
1620
1603
|
iColumnStartTime = (new UniversalDate(oColumnCalDate.getYear(), oColumnCalDate.getMonth(), oColumnCalDate.getDate(), this._getVisibleStartHour())).getTime(),
|
|
1621
1604
|
iColumnEndTime = (new UniversalDate(oColumnCalDate.getYear(), oColumnCalDate.getMonth(), oColumnCalDate.getDate(), this._getVisibleEndHour(), 59, 59)).getTime();
|
|
1622
1605
|
|
|
@@ -1646,7 +1629,7 @@ sap.ui.define([
|
|
|
1646
1629
|
|
|
1647
1630
|
aAppointments.forEach(function (oCurrentAppointment) {
|
|
1648
1631
|
var oCurrentAppointmentNode = new SinglePlanningCalendarUtilities.node(oCurrentAppointment),
|
|
1649
|
-
iCurrentAppointmentStart = oCurrentAppointment.
|
|
1632
|
+
iCurrentAppointmentStart = oCurrentAppointment.getStartDate().getTime();
|
|
1650
1633
|
|
|
1651
1634
|
if (oAppointmentsList.getSize() === 0) {
|
|
1652
1635
|
oAppointmentsList.add(oCurrentAppointmentNode);
|
|
@@ -1656,8 +1639,8 @@ sap.ui.define([
|
|
|
1656
1639
|
oAppointmentsList.getIterator().forEach(function (oAppointmentNode) {
|
|
1657
1640
|
var bShouldBreak = true,
|
|
1658
1641
|
oAppointment = oAppointmentNode.getData(),
|
|
1659
|
-
iAppointmentStart = oAppointment.
|
|
1660
|
-
iAppointmentEnd = oAppointment.
|
|
1642
|
+
iAppointmentStart = oAppointment.getStartDate().getTime(),
|
|
1643
|
+
iAppointmentEnd = oAppointment.getEndDate().getTime(),
|
|
1661
1644
|
iAppointmentDuration = iAppointmentEnd - iAppointmentStart;
|
|
1662
1645
|
|
|
1663
1646
|
if (iAppointmentDuration < iDuration) {
|
|
@@ -1702,8 +1685,8 @@ sap.ui.define([
|
|
|
1702
1685
|
var oCurrentAppointment = oCurrentAppointmentNode.getData(),
|
|
1703
1686
|
iLevelFoundSpace = oCurrentAppointmentNode.level,
|
|
1704
1687
|
iCurrentAppointmentLevel = oCurrentAppointmentNode.level,
|
|
1705
|
-
iCurrentAppointmentStart = oCurrentAppointment.
|
|
1706
|
-
iCurrentAppointmentEnd = oCurrentAppointment.
|
|
1688
|
+
iCurrentAppointmentStart = oCurrentAppointment.getStartDate().getTime(),
|
|
1689
|
+
iCurrentAppointmentEnd = oCurrentAppointment.getEndDate().getTime(),
|
|
1707
1690
|
iCurrentAppointmentDuration = iCurrentAppointmentEnd - iCurrentAppointmentStart;
|
|
1708
1691
|
|
|
1709
1692
|
if (iCurrentAppointmentDuration < HALF_HOUR_MS) {
|
|
@@ -1715,8 +1698,8 @@ sap.ui.define([
|
|
|
1715
1698
|
new SinglePlanningCalendarUtilities.iterator(oAppointmentsList).forEach(function (oAppointmentNode) {
|
|
1716
1699
|
var oAppointment = oAppointmentNode.getData(),
|
|
1717
1700
|
iAppointmentLevel = oAppointmentNode.level,
|
|
1718
|
-
iAppointmentStart = oAppointment.
|
|
1719
|
-
iAppointmentEnd = oAppointment.
|
|
1701
|
+
iAppointmentStart = oAppointment.getStartDate().getTime(),
|
|
1702
|
+
iAppointmentEnd = oAppointment.getEndDate().getTime(),
|
|
1720
1703
|
iAppointmentDuration = iAppointmentEnd - iAppointmentStart;
|
|
1721
1704
|
|
|
1722
1705
|
if (iAppointmentDuration < HALF_HOUR_MS) {
|
|
@@ -1776,8 +1759,8 @@ sap.ui.define([
|
|
|
1776
1759
|
*/
|
|
1777
1760
|
SinglePlanningCalendarGrid.prototype._isBlockerVisible = function (oViewStart, oViewEnd) {
|
|
1778
1761
|
return function (oAppointment) {
|
|
1779
|
-
var oAppStart = CalendarDate.fromLocalJSDate(oAppointment.
|
|
1780
|
-
oAppEnd = CalendarDate.fromLocalJSDate(oAppointment.
|
|
1762
|
+
var oAppStart = CalendarDate.fromLocalJSDate(oAppointment.getStartDate()),
|
|
1763
|
+
oAppEnd = CalendarDate.fromLocalJSDate(oAppointment.getEndDate());
|
|
1781
1764
|
|
|
1782
1765
|
var bIsBiggerThanView = oAppStart.isBefore(oViewStart) && oAppEnd.isAfter(oViewEnd),
|
|
1783
1766
|
bStartDateBetweenViewStartAndEnd = CalendarUtils._isBetween(oAppStart, oViewStart, oViewEnd, true),
|
|
@@ -1800,8 +1783,8 @@ sap.ui.define([
|
|
|
1800
1783
|
|
|
1801
1784
|
aVisibleBlockers.forEach(function (oCurrentBlocker) {
|
|
1802
1785
|
var oCurrentBlockerNode = new SinglePlanningCalendarUtilities.node(oCurrentBlocker),
|
|
1803
|
-
oCurrentBlockerStart = CalendarDate.fromLocalJSDate(oCurrentBlocker.
|
|
1804
|
-
oCurrentBlockerEnd = CalendarDate.fromLocalJSDate(oCurrentBlocker.
|
|
1786
|
+
oCurrentBlockerStart = CalendarDate.fromLocalJSDate(oCurrentBlocker.getStartDate()),
|
|
1787
|
+
oCurrentBlockerEnd = CalendarDate.fromLocalJSDate(oCurrentBlocker.getEndDate());
|
|
1805
1788
|
|
|
1806
1789
|
oCurrentBlockerNode.width = CalendarUtils._daysBetween(oCurrentBlockerEnd, oCurrentBlockerStart);
|
|
1807
1790
|
|
|
@@ -1813,8 +1796,8 @@ sap.ui.define([
|
|
|
1813
1796
|
oBlockersList.getIterator().forEach(function (oBlockerNode) {
|
|
1814
1797
|
var bShouldBreak = true,
|
|
1815
1798
|
oBlocker = oBlockerNode.getData(),
|
|
1816
|
-
oBlockerStart = CalendarDate.fromLocalJSDate(oBlocker.
|
|
1817
|
-
oBlockerEnd = CalendarDate.fromLocalJSDate(oBlocker.
|
|
1799
|
+
oBlockerStart = CalendarDate.fromLocalJSDate(oBlocker.getStartDate()),
|
|
1800
|
+
oBlockerEnd = CalendarDate.fromLocalJSDate(oBlocker.getEndDate());
|
|
1818
1801
|
|
|
1819
1802
|
if (oCurrentBlockerStart.isSameOrAfter(oBlockerStart) && oCurrentBlockerStart.isSameOrBefore(oBlockerEnd)) {
|
|
1820
1803
|
oCurrentBlockerNode.level++;
|
|
@@ -2051,8 +2034,8 @@ sap.ui.define([
|
|
|
2051
2034
|
SinglePlanningCalendarGrid.prototype._getAppointmentAnnouncementInfo = function (oAppointment) {
|
|
2052
2035
|
var sStartTime = this._oUnifiedRB.getText("CALENDAR_START_TIME"),
|
|
2053
2036
|
sEndTime = this._oUnifiedRB.getText("CALENDAR_END_TIME"),
|
|
2054
|
-
sFormattedStartDate = this._oFormatStartEndInfoAria.format(oAppointment.
|
|
2055
|
-
sFormattedEndDate = this._oFormatStartEndInfoAria.format(oAppointment.
|
|
2037
|
+
sFormattedStartDate = this._oFormatStartEndInfoAria.format(oAppointment.getStartDate()),
|
|
2038
|
+
sFormattedEndDate = this._oFormatStartEndInfoAria.format(oAppointment.getEndDate()),
|
|
2056
2039
|
sAppInfo = sStartTime + ": " + sFormattedStartDate + "; " + sEndTime + ": " + sFormattedEndDate;
|
|
2057
2040
|
|
|
2058
2041
|
return sAppInfo + "; " + PlanningCalendarLegend.findLegendItemForItem(sap.ui.getCore().byId(this._sLegendId), oAppointment);
|
|
@@ -12,7 +12,8 @@ sap.ui.define([
|
|
|
12
12
|
'sap/ui/core/InvisibleText',
|
|
13
13
|
'./PlanningCalendarLegend',
|
|
14
14
|
'sap/ui/unified/library',
|
|
15
|
-
'sap/ui/core/Configuration'
|
|
15
|
+
'sap/ui/core/Configuration',
|
|
16
|
+
"sap/ui/core/date/UI5Date"
|
|
16
17
|
],
|
|
17
18
|
function(
|
|
18
19
|
CalendarDate,
|
|
@@ -22,7 +23,9 @@ sap.ui.define([
|
|
|
22
23
|
InvisibleText,
|
|
23
24
|
PlanningCalendarLegend,
|
|
24
25
|
unifiedLibrary,
|
|
25
|
-
Configuration
|
|
26
|
+
Configuration,
|
|
27
|
+
UI5Date
|
|
28
|
+
) {
|
|
26
29
|
"use strict";
|
|
27
30
|
|
|
28
31
|
var iVerticalPaddingBetweenAppointments = 0.125;
|
|
@@ -161,8 +164,8 @@ sap.ui.define([
|
|
|
161
164
|
SinglePlanningCalendarGridRenderer.renderBlockerAppointment = function(oRm, oControl, oBlockerNode) {
|
|
162
165
|
var oGridCalStart = CalendarDate.fromLocalJSDate(oControl.getStartDate()),
|
|
163
166
|
oBlocker = oBlockerNode.getData(),
|
|
164
|
-
oBlockerCalStart = CalendarDate.fromLocalJSDate(oBlocker.
|
|
165
|
-
oBlockerCalEnd = CalendarDate.fromLocalJSDate(oBlocker.
|
|
167
|
+
oBlockerCalStart = CalendarDate.fromLocalJSDate(oBlocker.getStartDate()),
|
|
168
|
+
oBlockerCalEnd = CalendarDate.fromLocalJSDate(oBlocker.getEndDate()),
|
|
166
169
|
iStartDayDiff = CalendarUtils._daysBetween(oBlockerCalStart, oGridCalStart),
|
|
167
170
|
iEndDayDiff = CalendarUtils._daysBetween(oBlockerCalEnd, oGridCalStart),
|
|
168
171
|
iColumns = oControl._getColumns(),
|
|
@@ -312,7 +315,7 @@ sap.ui.define([
|
|
|
312
315
|
SinglePlanningCalendarGridRenderer.renderRowHeaders = function (oRm, oControl) {
|
|
313
316
|
var iStartHour = oControl._getVisibleStartHour(),
|
|
314
317
|
iEndHour = oControl._getVisibleEndHour(),
|
|
315
|
-
oStartDate =
|
|
318
|
+
oStartDate = UI5Date.getInstance(),
|
|
316
319
|
oHoursFormat = oControl._getHoursFormat(),
|
|
317
320
|
oAMPMFormat = oControl._getAMPMFormat();
|
|
318
321
|
|
|
@@ -321,7 +324,7 @@ sap.ui.define([
|
|
|
321
324
|
oRm.openEnd();
|
|
322
325
|
|
|
323
326
|
for (var i = iStartHour; i <= iEndHour; i++) {
|
|
324
|
-
oStartDate.
|
|
327
|
+
oStartDate.setHours(i);
|
|
325
328
|
oRm.openStart("span");
|
|
326
329
|
oRm.class("sapMSinglePCRowHeader");
|
|
327
330
|
oRm.class("sapMSinglePCRowHeader" + i);
|
|
@@ -332,13 +335,13 @@ sap.ui.define([
|
|
|
332
335
|
|
|
333
336
|
oRm.openEnd();
|
|
334
337
|
|
|
335
|
-
oRm.text(oHoursFormat.format(oStartDate
|
|
338
|
+
oRm.text(oHoursFormat.format(oStartDate));
|
|
336
339
|
|
|
337
340
|
if (oControl._hasAMPM()) {
|
|
338
341
|
oRm.openStart("span");
|
|
339
342
|
oRm.class("sapMSinglePCRowHeaderAMPM");
|
|
340
343
|
oRm.openEnd();
|
|
341
|
-
oRm.text(" " + oAMPMFormat.format(oStartDate
|
|
344
|
+
oRm.text(" " + oAMPMFormat.format(oStartDate));
|
|
342
345
|
oRm.close("span");
|
|
343
346
|
}
|
|
344
347
|
|
|
@@ -406,7 +409,7 @@ sap.ui.define([
|
|
|
406
409
|
|
|
407
410
|
for (var i = iStartHour; i <= iEndHour; i++) {
|
|
408
411
|
oCellStartDate = oControl._parseDateStringAndHours(sDate, i);
|
|
409
|
-
oCellEndDate =
|
|
412
|
+
oCellEndDate = UI5Date.getInstance(oCellStartDate.getFullYear(), oCellStartDate.getMonth(), oCellStartDate.getDate(), oCellStartDate.getHours() + 1);
|
|
410
413
|
|
|
411
414
|
oRm.openStart("div");
|
|
412
415
|
oRm.attr("role", "gridcell");
|
|
@@ -462,8 +465,8 @@ sap.ui.define([
|
|
|
462
465
|
iRowHeight = oControl._getRowHeight(),
|
|
463
466
|
oColumnStartDateAndHour = new UniversalDate(oColumnDate.getYear(), oColumnDate.getMonth(), oColumnDate.getDate(), oControl._getVisibleStartHour()),
|
|
464
467
|
oColumnEndDateAndHour = new UniversalDate(oColumnDate.getYear(), oColumnDate.getMonth(), oColumnDate.getDate(), oControl._getVisibleEndHour(), 59, 59),
|
|
465
|
-
oAppStartDate = oAppointment.
|
|
466
|
-
oAppEndDate = oAppointment.
|
|
468
|
+
oAppStartDate = oAppointment.getStartDate(),
|
|
469
|
+
oAppEndDate = oAppointment.getEndDate(),
|
|
467
470
|
oAppCalStart = CalendarDate.fromLocalJSDate(oAppStartDate),
|
|
468
471
|
oAppCalEnd = CalendarDate.fromLocalJSDate(oAppEndDate),
|
|
469
472
|
sTooltip = oAppointment.getTooltip_AsString(),
|
|
@@ -679,7 +682,7 @@ sap.ui.define([
|
|
|
679
682
|
};
|
|
680
683
|
|
|
681
684
|
SinglePlanningCalendarGridRenderer.renderNowMarker = function (oRm, oControl) {
|
|
682
|
-
var oDate =
|
|
685
|
+
var oDate = UI5Date.getInstance();
|
|
683
686
|
|
|
684
687
|
oRm.openStart("div", oControl.getId() + "-nowMarker");
|
|
685
688
|
oRm.style("top", oControl._calculateTopPosition(oDate) + "rem");
|
|
@@ -28,7 +28,8 @@ sap.ui.define([
|
|
|
28
28
|
'sap/ui/core/library',
|
|
29
29
|
"sap/ui/core/date/CalendarWeekNumbering",
|
|
30
30
|
"sap/ui/core/date/CalendarUtils",
|
|
31
|
-
"sap/ui/core/Configuration"
|
|
31
|
+
"sap/ui/core/Configuration",
|
|
32
|
+
"sap/ui/core/date/UI5Date"
|
|
32
33
|
],
|
|
33
34
|
function (
|
|
34
35
|
Control,
|
|
@@ -53,7 +54,8 @@ sap.ui.define([
|
|
|
53
54
|
coreLibrary,
|
|
54
55
|
CalendarWeekNumbering,
|
|
55
56
|
CalendarDateUtils,
|
|
56
|
-
Configuration
|
|
57
|
+
Configuration,
|
|
58
|
+
UI5Date
|
|
57
59
|
) {
|
|
58
60
|
"use strict";
|
|
59
61
|
|
|
@@ -89,7 +91,7 @@ sap.ui.define([
|
|
|
89
91
|
* @extends sap.ui.core.Control
|
|
90
92
|
*
|
|
91
93
|
* @author SAP SE
|
|
92
|
-
* @version 1.
|
|
94
|
+
* @version 1.112.0
|
|
93
95
|
*
|
|
94
96
|
* @constructor
|
|
95
97
|
* @private
|
|
@@ -248,7 +250,7 @@ sap.ui.define([
|
|
|
248
250
|
pattern: "EEEE dd/MM/YYYY"
|
|
249
251
|
});
|
|
250
252
|
|
|
251
|
-
this.setStartDate(
|
|
253
|
+
this.setStartDate(UI5Date.getInstance());
|
|
252
254
|
this._configureAppointmentsDragAndDrop();
|
|
253
255
|
|
|
254
256
|
this._oUnifiedRB = sap.ui.getCore().getLibraryResourceBundle("sap.ui.unified");
|
|
@@ -392,10 +394,10 @@ sap.ui.define([
|
|
|
392
394
|
if (oSrcControl && oSrcControl.isA("sap.m.SinglePlanningCalendarMonthGrid") && bIsCell && !bIsLink) {
|
|
393
395
|
iTimestamp = parseInt(oTarget.getAttribute("sap-ui-date"));
|
|
394
396
|
|
|
395
|
-
oStartDate =
|
|
396
|
-
oStartDate =
|
|
397
|
+
oStartDate = UI5Date.getInstance(iTimestamp);
|
|
398
|
+
oStartDate = UI5Date.getInstance(oStartDate.getUTCFullYear(), oStartDate.getUTCMonth(), oStartDate.getUTCDate());
|
|
397
399
|
|
|
398
|
-
oEndDate =
|
|
400
|
+
oEndDate = UI5Date.getInstance(oStartDate);
|
|
399
401
|
oEndDate.setDate(oEndDate.getDate() + 1);
|
|
400
402
|
|
|
401
403
|
this.fireEvent("cellPress", {startDate: oStartDate, endDate: oEndDate});
|
|
@@ -486,9 +488,9 @@ sap.ui.define([
|
|
|
486
488
|
|
|
487
489
|
SinglePlanningCalendarMonthGrid.prototype._handleMorePress = function(oEvent) {
|
|
488
490
|
var iTimestamp = parseInt(oEvent.getSource().getCustomData()[0].getValue()),
|
|
489
|
-
oDate =
|
|
491
|
+
oDate = UI5Date.getInstance(iTimestamp);
|
|
490
492
|
|
|
491
|
-
oDate =
|
|
493
|
+
oDate = UI5Date.getInstance(oDate.getUTCFullYear(), oDate.getUTCMonth(), oDate.getUTCDate());
|
|
492
494
|
|
|
493
495
|
this.fireEvent("moreLinkPress", { date: oDate });
|
|
494
496
|
};
|
|
@@ -583,15 +585,15 @@ sap.ui.define([
|
|
|
583
585
|
oLastVisibleDay = aVisibleDays[aVisibleDays.length - 1],
|
|
584
586
|
// We do not need appointments without start and end dates
|
|
585
587
|
aApps = this.getAppointments().filter(function(app) {
|
|
586
|
-
var bValid = app.
|
|
588
|
+
var bValid = app.getStartDate() && app.getEndDate();
|
|
587
589
|
if (!bValid) {
|
|
588
590
|
Log.warning("Appointment " + app.getId() + " has no start or no end date. It is ignored.");
|
|
589
591
|
}
|
|
590
592
|
return bValid;
|
|
591
593
|
// Map to a structure ready for calculations
|
|
592
594
|
}).map(function(app) {
|
|
593
|
-
var oStart = CalendarDate.fromLocalJSDate(app.
|
|
594
|
-
oEnd = CalendarDate.fromLocalJSDate(app.
|
|
595
|
+
var oStart = CalendarDate.fromLocalJSDate(app.getStartDate()),
|
|
596
|
+
oEnd = CalendarDate.fromLocalJSDate(app.getEndDate());
|
|
595
597
|
return {
|
|
596
598
|
data: app,
|
|
597
599
|
start: oStart,
|
|
@@ -723,8 +725,8 @@ sap.ui.define([
|
|
|
723
725
|
oAppointment = oDragSession.getDragControl(),
|
|
724
726
|
oPlaceholder = oDragSession.getDropControl(),
|
|
725
727
|
oCellCalStartDate = oPlaceholder.getDate(),
|
|
726
|
-
oAppCalStartDate = CalendarDate.fromLocalJSDate(oAppointment.
|
|
727
|
-
oAppCalEndDate = CalendarDate.fromLocalJSDate(oAppointment.
|
|
728
|
+
oAppCalStartDate = CalendarDate.fromLocalJSDate(oAppointment.getStartDate()),
|
|
729
|
+
oAppCalEndDate = CalendarDate.fromLocalJSDate(oAppointment.getEndDate()),
|
|
728
730
|
iOffset = CalendarUtils._daysBetween(oCellCalStartDate, oAppCalStartDate),
|
|
729
731
|
oStartDate = new CalendarDate(oAppCalStartDate),
|
|
730
732
|
oEndDate = new CalendarDate(oAppCalEndDate),
|
|
@@ -863,8 +865,8 @@ sap.ui.define([
|
|
|
863
865
|
var oUnifiedRB = Core.getLibraryResourceBundle("sap.ui.unified"),
|
|
864
866
|
sStartTime = oUnifiedRB.getText("CALENDAR_START_TIME"),
|
|
865
867
|
sEndTime = oUnifiedRB.getText("CALENDAR_END_TIME"),
|
|
866
|
-
sFormattedStartDate = this._oFormatAriaApp.format(oAppointment.
|
|
867
|
-
sFormattedEndDate = this._oFormatAriaApp.format(oAppointment.
|
|
868
|
+
sFormattedStartDate = this._oFormatAriaApp.format(oAppointment.getStartDate()),
|
|
869
|
+
sFormattedEndDate = this._oFormatAriaApp.format(oAppointment.getEndDate()),
|
|
868
870
|
sAppInfo = sStartTime + ": " + sFormattedStartDate + "; " + sEndTime + ": " + sFormattedEndDate;
|
|
869
871
|
|
|
870
872
|
return sAppInfo + "; " + PlanningCalendarLegend.findLegendItemForItem(Core.byId(this._sLegendId), oAppointment);
|
|
@@ -15,7 +15,8 @@ sap.ui.define([
|
|
|
15
15
|
'sap/ui/unified/library',
|
|
16
16
|
"sap/ui/core/date/CalendarUtils",
|
|
17
17
|
'sap/ui/core/Locale',
|
|
18
|
-
"sap/ui/core/Configuration"
|
|
18
|
+
"sap/ui/core/Configuration",
|
|
19
|
+
"sap/ui/core/date/UI5Date"
|
|
19
20
|
],
|
|
20
21
|
function(
|
|
21
22
|
CalendarDate,
|
|
@@ -28,7 +29,8 @@ sap.ui.define([
|
|
|
28
29
|
unifiedLibrary,
|
|
29
30
|
CalendarDateUtils,
|
|
30
31
|
Locale,
|
|
31
|
-
Configuration
|
|
32
|
+
Configuration,
|
|
33
|
+
UI5Date
|
|
32
34
|
) {
|
|
33
35
|
"use strict";
|
|
34
36
|
|
|
@@ -154,7 +156,7 @@ sap.ui.define([
|
|
|
154
156
|
var aSpecialDates = oControl._getSpecialDates(),
|
|
155
157
|
aDayTypes = Month.prototype._getDateTypes.call(oControl, oDay),
|
|
156
158
|
oFormat = oControl._getDateFormatter(),
|
|
157
|
-
bToday = oDay.isSame(CalendarDate.fromLocalJSDate(
|
|
159
|
+
bToday = oDay.isSame(CalendarDate.fromLocalJSDate(UI5Date.getInstance())),
|
|
158
160
|
oType,
|
|
159
161
|
sLegendItemType;
|
|
160
162
|
|
|
@@ -392,7 +394,7 @@ sap.ui.define([
|
|
|
392
394
|
sCalendarType = Core.getConfiguration().getCalendarType(),
|
|
393
395
|
aWeekDays = oLocaleData.getDaysStandAlone("abbreviated", sCalendarType),
|
|
394
396
|
aWeekDaysWide = oLocaleData.getDaysStandAlone("wide", sCalendarType),
|
|
395
|
-
oStartDate =
|
|
397
|
+
oStartDate = UI5Date.getInstance(oControl.getStartDate()),
|
|
396
398
|
oFirstRenderedDate,
|
|
397
399
|
iDayIndex;
|
|
398
400
|
|
package/src/sap/m/SlideTile.js
CHANGED
package/src/sap/m/Slider.js
CHANGED