@openui5/sap.m 1.108.1 → 1.109.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/THIRDPARTY.txt +1 -1
- 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 +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 +5 -3
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +3 -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 +8 -4
- package/src/sap/m/ColumnListItem.js +19 -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/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 +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 +7 -11
- package/src/sap/m/Dialog.js +5 -5
- 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 +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 +24 -12
- package/src/sap/m/GenericTileRenderer.js +3 -0
- package/src/sap/m/GroupHeaderListItem.js +2 -2
- package/src/sap/m/GrowingEnablement.js +13 -3
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +4 -3
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +2 -2
- 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 +1 -1
- package/src/sap/m/IllustratedMessageType.js +20 -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 +83 -22
- package/src/sap/m/InputBase.js +1 -1
- package/src/sap/m/InputBaseRenderer.js +2 -2
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +51 -65
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/LightBoxRenderer.js +6 -4
- package/src/sap/m/Link.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +19 -9
- package/src/sap/m/ListItemBase.js +2 -2
- package/src/sap/m/ListItemBaseRenderer.js +2 -2
- 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 +47 -36
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +5 -5
- 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/NotificationListRenderer.js +2 -2
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +1 -1
- 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/ObjectNumberRenderer.js +21 -8
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +3 -3
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +37 -3
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarMenuButton.js +72 -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/P13nOperationsHelper.js +1 -0
- 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 +2 -2
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +11 -1
- package/src/sap/m/PlanningCalendar.js +137 -15
- package/src/sap/m/PlanningCalendarHeader.js +48 -4
- 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 +19 -28
- package/src/sap/m/ProgressIndicator.js +6 -5
- 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 +4 -2
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +1 -1
- package/src/sap/m/SelectDialog.js +8 -6
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +4 -3
- 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 +2 -2
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
- 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 +3 -3
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderRenderer.js +4 -3
- 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 +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 +37 -20
- 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/TableRenderer.js +1 -1
- package/src/sap/m/TableSelectDialog.js +7 -5
- 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/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 +4 -10
- package/src/sap/m/Tokenizer.js +2 -1
- package/src/sap/m/Toolbar.js +1 -1
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/TreeRenderer.js +4 -0
- 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 +33 -7
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +25 -21
- 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 +2 -2
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +1 -1
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/designtime/Slider.designtime.js +1 -1
- package/src/sap/m/designtime/VariantManagement.designtime.js +7 -1
- package/src/sap/m/library.js +13 -11
- package/src/sap/m/messagebundle.properties +52 -12
- package/src/sap/m/messagebundle_ar.properties +15 -6
- package/src/sap/m/messagebundle_bg.properties +15 -6
- package/src/sap/m/messagebundle_ca.properties +16 -7
- package/src/sap/m/messagebundle_cs.properties +16 -7
- package/src/sap/m/messagebundle_cy.properties +16 -7
- package/src/sap/m/messagebundle_da.properties +16 -7
- package/src/sap/m/messagebundle_de.properties +15 -6
- package/src/sap/m/messagebundle_el.properties +16 -7
- package/src/sap/m/messagebundle_en.properties +16 -7
- package/src/sap/m/messagebundle_en_GB.properties +16 -7
- package/src/sap/m/messagebundle_en_US_sappsd.properties +21 -7
- package/src/sap/m/messagebundle_en_US_saprigi.properties +28 -1
- package/src/sap/m/messagebundle_en_US_saptrc.properties +16 -7
- package/src/sap/m/messagebundle_es.properties +16 -7
- package/src/sap/m/messagebundle_es_MX.properties +16 -7
- package/src/sap/m/messagebundle_et.properties +15 -6
- package/src/sap/m/messagebundle_fi.properties +16 -7
- package/src/sap/m/messagebundle_fr.properties +17 -8
- package/src/sap/m/messagebundle_fr_CA.properties +15 -6
- package/src/sap/m/messagebundle_hi.properties +15 -6
- package/src/sap/m/messagebundle_hr.properties +15 -6
- package/src/sap/m/messagebundle_hu.properties +20 -11
- package/src/sap/m/messagebundle_id.properties +16 -7
- package/src/sap/m/messagebundle_it.properties +15 -6
- package/src/sap/m/messagebundle_iw.properties +16 -7
- package/src/sap/m/messagebundle_ja.properties +16 -7
- package/src/sap/m/messagebundle_kk.properties +15 -6
- package/src/sap/m/messagebundle_ko.properties +16 -7
- package/src/sap/m/messagebundle_lt.properties +16 -7
- package/src/sap/m/messagebundle_lv.properties +15 -6
- package/src/sap/m/messagebundle_ms.properties +15 -6
- package/src/sap/m/messagebundle_nl.properties +16 -7
- package/src/sap/m/messagebundle_no.properties +15 -6
- package/src/sap/m/messagebundle_pl.properties +16 -7
- package/src/sap/m/messagebundle_pt.properties +18 -9
- package/src/sap/m/messagebundle_pt_PT.properties +16 -7
- package/src/sap/m/messagebundle_ro.properties +16 -7
- package/src/sap/m/messagebundle_ru.properties +16 -7
- package/src/sap/m/messagebundle_sh.properties +16 -7
- package/src/sap/m/messagebundle_sk.properties +16 -7
- package/src/sap/m/messagebundle_sl.properties +15 -6
- package/src/sap/m/messagebundle_sv.properties +16 -7
- package/src/sap/m/messagebundle_th.properties +16 -7
- package/src/sap/m/messagebundle_tr.properties +15 -6
- package/src/sap/m/messagebundle_uk.properties +16 -7
- package/src/sap/m/messagebundle_vi.properties +16 -7
- package/src/sap/m/messagebundle_zh_CN.properties +16 -7
- package/src/sap/m/messagebundle_zh_TW.properties +16 -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 +1 -1
- package/src/sap/m/p13n/Container.js +3 -3
- package/src/sap/m/p13n/Engine.js +92 -57
- 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 +4 -4
- package/src/sap/m/p13n/Popup.js +12 -10
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +24 -10
- 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/enum/ProcessingStrategy.js +39 -0
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/ModificationHandler.js +1 -1
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +5 -5
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +25 -10
- package/src/sap/m/p13n/modules/xConfigAPI.js +17 -15
- package/src/sap/m/plugins/CellSelector.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.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 +6 -3
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +1 -1
- package/src/sap/m/semantic/ShareMenuPage.js +1 -1
- package/src/sap/m/semantic/SortAction.js +1 -1
- package/src/sap/m/semantic/SortSelect.js +1 -1
- package/src/sap/m/table/Util.js +103 -4
- 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 +40 -24
- package/src/sap/m/table/columnmenu/MenuRenderer.js +27 -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/ColumnMenu.less +13 -17
- package/src/sap/m/themes/base/LightBox.less +0 -53
- package/src/sap/m/themes/base/ListBase.less +1 -0
- package/src/sap/m/themes/base/MenuListItem.less +27 -22
- package/src/sap/m/themes/base/NewsContent.less +6 -0
- package/src/sap/m/themes/base/Panel.less +1 -1
- package/src/sap/m/themes/base/PlanningCalendar.less +13 -0
- package/src/sap/m/themes/base/Slider.less +9 -9
- package/src/sap/m/themes/base/Table.less +12 -2
- package/src/sap/m/themes/base/UploadCollection.less +1 -1
- package/src/sap/m/themes/base/VariantManagement.less +29 -27
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-AddDimensions.svg +38 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoDimensionsSet.svg +39 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UploadToCloud.svg +30 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-AddDimensions.svg +15 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoDimensionsSet.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-ResizeColumn.svg +26 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-UploadCollection.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-UploadToCloud.svg +5 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-AddDimensions.svg +34 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoDimensionsSet.svg +38 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-UploadToCloud.svg +24 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-AddDimensions.svg +38 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoDimensionsSet.svg +42 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UploadToCloud.svg +30 -0
- package/src/sap/m/themes/base/p13n.Container.less +2 -2
- package/src/sap/m/themes/sap_hcb/Slider.less +4 -4
- package/src/sap/m/upload/UploadSet.js +40 -34
- package/src/sap/m/upload/UploadSetItem.js +16 -2
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
|
@@ -185,7 +185,7 @@ sap.ui.define([
|
|
|
185
185
|
* {@link sap.m.PlanningCalendarView PlanningCalendarView}'s properties.
|
|
186
186
|
*
|
|
187
187
|
* @extends sap.ui.core.Control
|
|
188
|
-
* @version 1.
|
|
188
|
+
* @version 1.109.0
|
|
189
189
|
*
|
|
190
190
|
* @constructor
|
|
191
191
|
* @public
|
|
@@ -384,6 +384,13 @@ sap.ui.define([
|
|
|
384
384
|
*/
|
|
385
385
|
primaryCalendarType : {type : "sap.ui.core.CalendarType", group : "Appearance", defaultValue : null},
|
|
386
386
|
|
|
387
|
+
/**
|
|
388
|
+
* If set, the days are also displayed in this calendar type
|
|
389
|
+
* If not set, the dates are only displayed in the primary calendar type
|
|
390
|
+
* @since 1.109.0
|
|
391
|
+
*/
|
|
392
|
+
secondaryCalendarType : {type : "sap.ui.core.CalendarType", group : "Appearance", defaultValue : null},
|
|
393
|
+
|
|
387
394
|
/**
|
|
388
395
|
* Determines whether the selection of multiple appointments is enabled.
|
|
389
396
|
*
|
|
@@ -825,8 +832,7 @@ sap.ui.define([
|
|
|
825
832
|
PlanningCalendar.prototype.onBeforeRendering = function(){
|
|
826
833
|
|
|
827
834
|
this._bBeforeRendering = true;
|
|
828
|
-
|
|
829
|
-
this._getHeader().setProperty("_primaryCalendarType", this.getPrimaryCalendarType());
|
|
835
|
+
this._updateHeader();
|
|
830
836
|
|
|
831
837
|
// init interval if default one is used
|
|
832
838
|
this._adjustViewKey();
|
|
@@ -849,6 +855,16 @@ sap.ui.define([
|
|
|
849
855
|
|
|
850
856
|
};
|
|
851
857
|
|
|
858
|
+
PlanningCalendar.prototype._updateHeader = function () {
|
|
859
|
+
this._getHeader().setProperty("_primaryCalendarType", this.getPrimaryCalendarType());
|
|
860
|
+
if (this._getSecondaryCalendarType()) {
|
|
861
|
+
this.setShowDayNamesLine(true);
|
|
862
|
+
this._getHeader().setProperty("_secondaryCalendarType", this.getSecondaryCalendarType());
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
return this;
|
|
866
|
+
};
|
|
867
|
+
|
|
852
868
|
PlanningCalendar.prototype.attachEvent = function (eventId, data, functionToCall, listener) {
|
|
853
869
|
Control.prototype.attachEvent.call(this, eventId, data, functionToCall, listener);
|
|
854
870
|
if (this.hasListeners("intervalSelect")) {
|
|
@@ -858,6 +874,7 @@ sap.ui.define([
|
|
|
858
874
|
}
|
|
859
875
|
}, this);
|
|
860
876
|
}
|
|
877
|
+
|
|
861
878
|
return this;
|
|
862
879
|
};
|
|
863
880
|
|
|
@@ -950,13 +967,14 @@ sap.ui.define([
|
|
|
950
967
|
};
|
|
951
968
|
|
|
952
969
|
/**
|
|
953
|
-
* Creates and formats
|
|
970
|
+
* Creates and formats the strings to be displayed in the picker button from the _header aggregation.
|
|
954
971
|
* If the date part of the start and end range of the showed view are different, the string contains
|
|
955
972
|
* info about the current date. Otherwise, the result string shows info about a date range.
|
|
956
|
-
* @returns {
|
|
973
|
+
* @returns {Object} The concatenated strings to be displayed
|
|
957
974
|
* @private
|
|
958
975
|
*/
|
|
959
976
|
PlanningCalendar.prototype._formatPickerText = function () {
|
|
977
|
+
|
|
960
978
|
var oRangeDates = this._getFirstAndLastRangeDate(),
|
|
961
979
|
oStartDate = CalendarUtils._createLocalDate(oRangeDates.oStartDate, true),
|
|
962
980
|
oEndDate = CalendarUtils._createLocalDate(oRangeDates.oEndDate, true),
|
|
@@ -966,7 +984,15 @@ sap.ui.define([
|
|
|
966
984
|
oDateFormat,
|
|
967
985
|
sResult,
|
|
968
986
|
sBeginningResult,
|
|
969
|
-
sEndResult
|
|
987
|
+
sEndResult,
|
|
988
|
+
oDateFormatInSecType,
|
|
989
|
+
sBeginnigDateResultInSecType,
|
|
990
|
+
sEndResultInSecType,
|
|
991
|
+
sResultInSecType;
|
|
992
|
+
|
|
993
|
+
if (this._getSecondaryCalendarType()) {
|
|
994
|
+
oDateFormatInSecType = DateFormat.getDateInstance({ format: "yMMMMd", calendarType: this.getSecondaryCalendarType() });
|
|
995
|
+
}
|
|
970
996
|
|
|
971
997
|
switch (sViewType) {
|
|
972
998
|
case CalendarIntervalType.Hour:
|
|
@@ -975,6 +1001,14 @@ sap.ui.define([
|
|
|
975
1001
|
if (oStartDate.getDate() !== oEndDate.getDate()) {
|
|
976
1002
|
sEndResult = oDateFormat.format(oEndDate);
|
|
977
1003
|
}
|
|
1004
|
+
|
|
1005
|
+
if (this._getSecondaryCalendarType()){
|
|
1006
|
+
sBeginnigDateResultInSecType = oDateFormatInSecType.format(oStartDate);
|
|
1007
|
+
if (oStartDate.getDate() !== oEndDate.getDate()) {
|
|
1008
|
+
sEndResultInSecType = oDateFormatInSecType.format(oEndDate);
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
|
|
978
1012
|
break;
|
|
979
1013
|
|
|
980
1014
|
case CalendarIntervalType.Day:
|
|
@@ -990,6 +1024,11 @@ sap.ui.define([
|
|
|
990
1024
|
oDateFormat = DateFormat.getDateInstance({ format: "yMMMMd", calendarType: this.getPrimaryCalendarType() });
|
|
991
1025
|
sBeginningResult = oDateFormat.format(oStartDate);
|
|
992
1026
|
sEndResult = oDateFormat.format(oEndDate);
|
|
1027
|
+
if (this._getSecondaryCalendarType()) {
|
|
1028
|
+
sBeginnigDateResultInSecType = oDateFormatInSecType.format(oStartDate);
|
|
1029
|
+
sEndResultInSecType = oDateFormatInSecType.format(oEndDate);
|
|
1030
|
+
}
|
|
1031
|
+
|
|
993
1032
|
}
|
|
994
1033
|
|
|
995
1034
|
break;
|
|
@@ -998,13 +1037,26 @@ sap.ui.define([
|
|
|
998
1037
|
case "OneMonth":
|
|
999
1038
|
oDateFormat = DateFormat.getDateInstance({format: "yMMMM", calendarType: this.getPrimaryCalendarType()});
|
|
1000
1039
|
sBeginningResult = oDateFormat.format(oStartDate);
|
|
1040
|
+
if (this._getSecondaryCalendarType()) {
|
|
1041
|
+
oDateFormatInSecType = DateFormat.getDateInstance({format: "yMMMM", calendarType: this.getSecondaryCalendarType()});
|
|
1042
|
+
sBeginnigDateResultInSecType = oDateFormatInSecType.format(oStartDate);
|
|
1043
|
+
}
|
|
1001
1044
|
break;
|
|
1002
1045
|
|
|
1003
1046
|
case CalendarIntervalType.Month:
|
|
1004
1047
|
oDateFormat = DateFormat.getDateInstance({format: "y", calendarType: this.getPrimaryCalendarType()});
|
|
1005
1048
|
sBeginningResult = oDateFormat.format(oStartDate);
|
|
1049
|
+
|
|
1050
|
+
if (this._getSecondaryCalendarType()) {
|
|
1051
|
+
oDateFormatInSecType = DateFormat.getDateInstance({format: "y", calendarType: this.getSecondaryCalendarType()});
|
|
1052
|
+
sBeginnigDateResultInSecType = oDateFormatInSecType.format(oStartDate);
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1006
1055
|
if (oStartDate.getFullYear() !== oEndDate.getFullYear()) {
|
|
1007
1056
|
sEndResult = oDateFormat.format(oEndDate);
|
|
1057
|
+
if (this._getSecondaryCalendarType()) {
|
|
1058
|
+
sEndResultInSecType = oDateFormatInSecType.format(oEndDate);
|
|
1059
|
+
}
|
|
1008
1060
|
}
|
|
1009
1061
|
|
|
1010
1062
|
if (sBeginningResult === sEndResult) {
|
|
@@ -1018,18 +1070,28 @@ sap.ui.define([
|
|
|
1018
1070
|
|
|
1019
1071
|
if (!bRTL) {
|
|
1020
1072
|
sResult = sBeginningResult;
|
|
1073
|
+
sResultInSecType = sBeginnigDateResultInSecType;
|
|
1021
1074
|
if (sEndResult) {
|
|
1022
1075
|
sResult += " - " + sEndResult;
|
|
1023
1076
|
}
|
|
1077
|
+
|
|
1078
|
+
if (this._getSecondaryCalendarType() && sEndResultInSecType) {
|
|
1079
|
+
sResultInSecType += " - " + sEndResultInSecType;
|
|
1080
|
+
}
|
|
1024
1081
|
} else {
|
|
1025
1082
|
if (sEndResult) {
|
|
1026
1083
|
sResult = sEndResult + " - " + sBeginningResult;
|
|
1027
1084
|
} else {
|
|
1028
1085
|
sResult = sBeginningResult;
|
|
1029
1086
|
}
|
|
1087
|
+
if (this._getSecondaryCalendarType() && sEndResultInSecType) {
|
|
1088
|
+
sResultInSecType = sBeginnigDateResultInSecType + " - " + sEndResultInSecType;
|
|
1089
|
+
} else if (this._getSecondaryCalendarType()) {
|
|
1090
|
+
sResultInSecType = sBeginnigDateResultInSecType;
|
|
1091
|
+
}
|
|
1030
1092
|
}
|
|
1031
1093
|
|
|
1032
|
-
return sResult;
|
|
1094
|
+
return { primaryType: sResult, secondaryType: sResultInSecType };
|
|
1033
1095
|
};
|
|
1034
1096
|
|
|
1035
1097
|
/**
|
|
@@ -1438,6 +1500,56 @@ sap.ui.define([
|
|
|
1438
1500
|
return this;
|
|
1439
1501
|
};
|
|
1440
1502
|
|
|
1503
|
+
PlanningCalendar.prototype._getSecondaryCalendarType = function() {
|
|
1504
|
+
var sSecondaryCalendarType;
|
|
1505
|
+
|
|
1506
|
+
if (this._bSecondaryCalendarTypeSet) {
|
|
1507
|
+
sSecondaryCalendarType = this.getSecondaryCalendarType();
|
|
1508
|
+
|
|
1509
|
+
if (sSecondaryCalendarType === this.getPrimaryCalendarType()) {
|
|
1510
|
+
sSecondaryCalendarType = undefined;
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
return sSecondaryCalendarType;
|
|
1515
|
+
};
|
|
1516
|
+
|
|
1517
|
+
/**
|
|
1518
|
+
* Sets the secondaryCalendarType.
|
|
1519
|
+
* @param {sap.ui.core.CalendarType} sSecondaryCalendarType the <code>sap.ui.core.CalendarType</code> to set as <code>sap.m.PlanningCalendar</code> <code>secondaryCalendarType</code>.
|
|
1520
|
+
* @returns {this} <code>this</code> to allow method chaining
|
|
1521
|
+
* @public
|
|
1522
|
+
*/
|
|
1523
|
+
PlanningCalendar.prototype.setSecondaryCalendarType = function (sSecondaryCalendarType) {
|
|
1524
|
+
if (this.getProperty("primaryCalendarType") === sSecondaryCalendarType) {
|
|
1525
|
+
return this;
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1528
|
+
|
|
1529
|
+
this.setProperty("secondaryCalendarType", sSecondaryCalendarType);
|
|
1530
|
+
this._bSecondaryCalendarTypeSet = true;
|
|
1531
|
+
if (this._getHeader()) {
|
|
1532
|
+
this._getHeader().setProperty("_secondaryCalendarType", sSecondaryCalendarType);
|
|
1533
|
+
}
|
|
1534
|
+
if (this._oTimesRow) {
|
|
1535
|
+
this._oTimesRow.setProperty("secondaryCalendarType", sSecondaryCalendarType);
|
|
1536
|
+
}
|
|
1537
|
+
if (this._oDatesRow) {
|
|
1538
|
+
this._oDatesRow.setSecondaryCalendarType(sSecondaryCalendarType);
|
|
1539
|
+
}
|
|
1540
|
+
if (this._oMonthsRow) {
|
|
1541
|
+
this._oMonthsRow.setProperty("secondaryCalendarType", sSecondaryCalendarType);
|
|
1542
|
+
}
|
|
1543
|
+
if (this._oWeeksRow) {
|
|
1544
|
+
this._oWeeksRow.setSecondaryCalendarType(sSecondaryCalendarType);
|
|
1545
|
+
}
|
|
1546
|
+
if (this._oOneMonthsRow) {
|
|
1547
|
+
this._oOneMonthsRow.setSecondaryCalendarType(sSecondaryCalendarType);
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1550
|
+
return this;
|
|
1551
|
+
};
|
|
1552
|
+
|
|
1441
1553
|
PlanningCalendar.prototype.setMinDate = function(oDate){
|
|
1442
1554
|
|
|
1443
1555
|
if (deepEqual(oDate, this.getMinDate())) {
|
|
@@ -1477,7 +1589,7 @@ sap.ui.define([
|
|
|
1477
1589
|
Log.warning("StartDate < minDate -> StartDate set to minDate", this);
|
|
1478
1590
|
oStartDate = new Date(oDate.getTime());
|
|
1479
1591
|
this.setStartDate(oStartDate);
|
|
1480
|
-
oHeader.
|
|
1592
|
+
oHeader.updatePickerText(this._formatPickerText());
|
|
1481
1593
|
}
|
|
1482
1594
|
} else {
|
|
1483
1595
|
this.setProperty("minDate", undefined, true);
|
|
@@ -1541,7 +1653,7 @@ sap.ui.define([
|
|
|
1541
1653
|
oStartDate.setFullYear(1);
|
|
1542
1654
|
}
|
|
1543
1655
|
this.setStartDate(oStartDate);
|
|
1544
|
-
oHeader.
|
|
1656
|
+
oHeader.updatePickerText(this._formatPickerText());
|
|
1545
1657
|
}
|
|
1546
1658
|
} else {
|
|
1547
1659
|
this.setProperty("maxDate", undefined, true);
|
|
@@ -1597,6 +1709,7 @@ sap.ui.define([
|
|
|
1597
1709
|
var oMaxDate = this.getMaxDate();
|
|
1598
1710
|
var oView = this._getView(sKey, !this._bBeforeRendering);
|
|
1599
1711
|
var oAssociation;
|
|
1712
|
+
var sSecondaryCalendarType = this._getSecondaryCalendarType();
|
|
1600
1713
|
|
|
1601
1714
|
if (!oView) {
|
|
1602
1715
|
this._bCheckView = true;
|
|
@@ -1716,6 +1829,9 @@ sap.ui.define([
|
|
|
1716
1829
|
legend: this.getLegend()
|
|
1717
1830
|
});
|
|
1718
1831
|
this._oMonthsRow.setProperty("primaryCalendarType", this.getPrimaryCalendarType());
|
|
1832
|
+
if (sSecondaryCalendarType) {
|
|
1833
|
+
this._oMonthsRow.setProperty("secondaryCalendarType", sSecondaryCalendarType);
|
|
1834
|
+
}
|
|
1719
1835
|
this._setAriaRole(this._oMonthsRow);
|
|
1720
1836
|
this._oMonthsRow._setLegendControlOrigin(this);
|
|
1721
1837
|
this._oMonthsRow.attachEvent("focus", this._handleFocus, this);
|
|
@@ -1749,6 +1865,12 @@ sap.ui.define([
|
|
|
1749
1865
|
oContent.setPrimaryCalendarType(this.getPrimaryCalendarType());
|
|
1750
1866
|
}
|
|
1751
1867
|
|
|
1868
|
+
if (sSecondaryCalendarType && oContent.getMetadata().hasProperty("_secondaryCalendarType") ) {
|
|
1869
|
+
oContent.setProperty("_secondaryCalendarType", sSecondaryCalendarType);
|
|
1870
|
+
} else if (sSecondaryCalendarType && oContent.getMetadata().hasProperty("secondaryCalendarType") ) {
|
|
1871
|
+
oContent.setSecondaryCalendarType(sSecondaryCalendarType);
|
|
1872
|
+
}
|
|
1873
|
+
|
|
1752
1874
|
if (this._oOneMonthsRow) {
|
|
1753
1875
|
this._oOneMonthsRow.setPrimaryCalendarType(this.getPrimaryCalendarType());
|
|
1754
1876
|
}
|
|
@@ -1930,7 +2052,7 @@ sap.ui.define([
|
|
|
1930
2052
|
*/
|
|
1931
2053
|
PlanningCalendar.prototype._shiftStartDate = function(oStartDate){
|
|
1932
2054
|
if (this.getViewKey() === PlanningCalendarBuiltInView.Week) {
|
|
1933
|
-
/* Calculates the first week's
|
|
2055
|
+
/* Calculates the first week's date for the given oStartDate. Have in mind that the oStartDate is the date that
|
|
1934
2056
|
* the user sees in the UI, thus - local one. As CalendarUtils.getFirstDateOfWeek works with UTC dates (this
|
|
1935
2057
|
* is because the dates are timezone irrelevant), it should be called with the local datetime values presented
|
|
1936
2058
|
* as UTC ones(e.g. if oStartDate is 21 Dec 1981, 13:00 GMT+02:00, it will be converted to 21 Dec 1981, 13:00 GMT+00:00)
|
|
@@ -1985,7 +2107,7 @@ sap.ui.define([
|
|
|
1985
2107
|
oPicker.addSelectedDate(oSelectedRange);
|
|
1986
2108
|
}
|
|
1987
2109
|
|
|
1988
|
-
this._getHeader().
|
|
2110
|
+
this._getHeader().updatePickerText(this._formatPickerText());
|
|
1989
2111
|
this._updateTodayButtonState();
|
|
1990
2112
|
};
|
|
1991
2113
|
|
|
@@ -2958,7 +3080,7 @@ sap.ui.define([
|
|
|
2958
3080
|
var oFocusedDate = new Date(oEvtSelectedStartCalendarDate.toLocalJSDate().getTime());
|
|
2959
3081
|
if (CalendarUtils.monthsDiffer(this.getStartDate(), oEvtSelectedStartCalendarDate.toLocalJSDate())) {
|
|
2960
3082
|
this.setStartDate(oEvtSelectedStartCalendarDate.toLocalJSDate());
|
|
2961
|
-
this._getHeader().
|
|
3083
|
+
this._getHeader().updatePickerText(this._formatPickerText());
|
|
2962
3084
|
}
|
|
2963
3085
|
this._setRowsStartDate(oFocusedDate);
|
|
2964
3086
|
this._oOneMonthsRow._focusDate(CalendarDate.fromLocalJSDate(oFocusedDate, this.getPrimaryCalendarType()), true);
|
|
@@ -3628,8 +3750,8 @@ sap.ui.define([
|
|
|
3628
3750
|
};
|
|
3629
3751
|
|
|
3630
3752
|
/**
|
|
3631
|
-
* Detaches the attached functions from the PlanningCalendarRowTimeline instance that
|
|
3632
|
-
*
|
|
3753
|
+
* Detaches the attached functions from the PlanningCalendarRowTimeline instance that corresponds to the row and
|
|
3754
|
+
* destroys the corresponding PlanningCalendarRowListItem.
|
|
3633
3755
|
*
|
|
3634
3756
|
* @param oRow
|
|
3635
3757
|
* @private
|
|
@@ -3792,7 +3914,7 @@ sap.ui.define([
|
|
|
3792
3914
|
};
|
|
3793
3915
|
|
|
3794
3916
|
/**
|
|
3795
|
-
* Represents timeline that holds the appointments and intervals
|
|
3917
|
+
* Represents timeline that holds the appointments and intervals inside the PlanningCalendarRowListItem
|
|
3796
3918
|
*/
|
|
3797
3919
|
var PlanningCalendarRowTimeline = CalendarRow.extend("sap.m._PlanningCalendarRowTimeline", {
|
|
3798
3920
|
metadata: {
|
|
@@ -12,6 +12,7 @@ sap.ui.define([
|
|
|
12
12
|
'./Toolbar',
|
|
13
13
|
'./AssociativeOverflowToolbar',
|
|
14
14
|
'./Button',
|
|
15
|
+
'./AdditionalTextButton',
|
|
15
16
|
'./Popover',
|
|
16
17
|
'./Title',
|
|
17
18
|
'./ToolbarSpacer',
|
|
@@ -34,6 +35,7 @@ function(
|
|
|
34
35
|
Toolbar,
|
|
35
36
|
AssociativeOverflowToolbar,
|
|
36
37
|
Button,
|
|
38
|
+
AdditionalTextButton,
|
|
37
39
|
Popover,
|
|
38
40
|
Title,
|
|
39
41
|
ToolbarSpacer,
|
|
@@ -92,7 +94,7 @@ function(
|
|
|
92
94
|
* @extends sap.ui.core.Control
|
|
93
95
|
*
|
|
94
96
|
* @author SAP SE
|
|
95
|
-
* @version 1.
|
|
97
|
+
* @version 1.109.0
|
|
96
98
|
*
|
|
97
99
|
* @constructor
|
|
98
100
|
* @private
|
|
@@ -123,13 +125,26 @@ function(
|
|
|
123
125
|
*/
|
|
124
126
|
pickerText : { type : "string", group : "Data" },
|
|
125
127
|
|
|
128
|
+
/**
|
|
129
|
+
* Determines the additional text of the button which opens the calendar picker.
|
|
130
|
+
*/
|
|
131
|
+
pickerTextInSecondaryType : { type : "string", group : "Data" },
|
|
132
|
+
|
|
126
133
|
/**
|
|
127
134
|
* If set, the calendar type is used for display.
|
|
128
135
|
* If not set, the calendar type of the global configuration is used.
|
|
129
136
|
* @private
|
|
130
137
|
* @since 1.108.0
|
|
131
138
|
*/
|
|
132
|
-
_primaryCalendarType : {type : "sap.ui.core.CalendarType", group : "Appearance", defaultValue : null}
|
|
139
|
+
_primaryCalendarType : {type : "sap.ui.core.CalendarType", group : "Appearance", defaultValue : null},
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* If set, the days are also displayed in this calendar type
|
|
143
|
+
* If not set, the dates are only displayed in the primary calendar type
|
|
144
|
+
* @privates
|
|
145
|
+
* @since 1.109.0
|
|
146
|
+
*/
|
|
147
|
+
_secondaryCalendarType : {type : "sap.ui.core.CalendarType", group : "Appearance", defaultValue : null}
|
|
133
148
|
|
|
134
149
|
},
|
|
135
150
|
|
|
@@ -333,8 +348,9 @@ function(
|
|
|
333
348
|
this.setAggregation("_indexPicker", oIndexPicker);
|
|
334
349
|
this._oIndexPicker = oIndexPicker;
|
|
335
350
|
|
|
336
|
-
this._oPickerBtn = new
|
|
351
|
+
this._oPickerBtn = new AdditionalTextButton(sNavToolbarId + "-PickerBtn", {
|
|
337
352
|
text: this.getPickerText(),
|
|
353
|
+
additionalText: this.getPickerTextInSecondaryType(),
|
|
338
354
|
ariaHasPopup: coreLibrary.aria.HasPopup.Dialog,
|
|
339
355
|
ariaLabelledBy: InvisibleText.getStaticId("sap.m", "PCH_SELECT_RANGE"),
|
|
340
356
|
press: function () {
|
|
@@ -395,10 +411,13 @@ function(
|
|
|
395
411
|
|
|
396
412
|
PlanningCalendarHeader.prototype.onBeforeRendering = function () {
|
|
397
413
|
var bVisible = !!this.getActions().length || !!this.getTitle() || this._getOrCreateViewSwitch().getItems().length > 1;
|
|
398
|
-
|
|
414
|
+
var sSecondaryCalendarType = this.getProperty("_secondaryCalendarType");
|
|
399
415
|
this._getActionsToolbar().setProperty("visible", bVisible, true);
|
|
400
416
|
|
|
401
417
|
this.setPrimaryCalendarTypeToPickers(this.getProperty("_primaryCalendarType"));
|
|
418
|
+
if (sSecondaryCalendarType){
|
|
419
|
+
this.setSecondaryCalendarTypeToPickers(sSecondaryCalendarType);
|
|
420
|
+
}
|
|
402
421
|
};
|
|
403
422
|
|
|
404
423
|
PlanningCalendarHeader.prototype.setTitle = function (sTitle) {
|
|
@@ -458,7 +477,26 @@ function(
|
|
|
458
477
|
return this;
|
|
459
478
|
};
|
|
460
479
|
|
|
480
|
+
PlanningCalendarHeader.prototype.updatePickerText = function (oPickerTextInfo) {
|
|
481
|
+
if (!oPickerTextInfo) {
|
|
482
|
+
return this;
|
|
483
|
+
}
|
|
484
|
+
this.setPickerText(oPickerTextInfo.primaryType);
|
|
485
|
+
this.setPickerTextInSecondaryType(oPickerTextInfo.secondaryType);
|
|
486
|
+
|
|
487
|
+
return true;
|
|
488
|
+
};
|
|
489
|
+
|
|
490
|
+
PlanningCalendarHeader.prototype.setPickerTextInSecondaryType = function (sAdditionalText){
|
|
491
|
+
this.setProperty("pickerTextInSecondaryType", sAdditionalText);
|
|
492
|
+
this._oPickerBtn.setAdditionalText(sAdditionalText);
|
|
493
|
+
return this;
|
|
494
|
+
};
|
|
495
|
+
|
|
461
496
|
PlanningCalendarHeader.prototype.setPickerText = function (sText) {
|
|
497
|
+
if (!sText) {
|
|
498
|
+
return this;
|
|
499
|
+
}
|
|
462
500
|
this.setProperty("pickerText", sText);
|
|
463
501
|
this._oPickerBtn.setText(sText);
|
|
464
502
|
|
|
@@ -471,6 +509,12 @@ function(
|
|
|
471
509
|
this._oYearPicker.setPrimaryCalendarType(sCalendarType);
|
|
472
510
|
};
|
|
473
511
|
|
|
512
|
+
PlanningCalendarHeader.prototype.setSecondaryCalendarTypeToPickers = function (sCalendarType) {
|
|
513
|
+
this._oCalendar.setSecondaryCalendarType(sCalendarType);
|
|
514
|
+
this._oMonthPicker.setSecondaryCalendarType(sCalendarType);
|
|
515
|
+
this._oYearPicker.setSecondaryCalendarType(sCalendarType);
|
|
516
|
+
};
|
|
517
|
+
|
|
474
518
|
/**
|
|
475
519
|
* If not existing yet, creates the inner Title control.
|
|
476
520
|
* Otherwise just returns it.
|
|
@@ -25,7 +25,7 @@ sap.ui.define(['sap/ui/core/Element', './library', 'sap/ui/unified/library'],
|
|
|
25
25
|
* The <code>PlanningCalendarView</code> defines the type of the intervals (hours, days, months)
|
|
26
26
|
* and how many intervals are displayed.
|
|
27
27
|
* @extends sap.ui.core.Element
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.109.0
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
package/src/sap/m/Popover.js
CHANGED
|
@@ -28,8 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
"sap/base/Log",
|
|
29
29
|
"sap/ui/core/Configuration",
|
|
30
30
|
"sap/ui/dom/jquery/Focusable", // jQuery Plugin "firstFocusableDomRef", "lastFocusableDomRef"
|
|
31
|
-
"sap/ui/dom/jquery/rect"
|
|
32
|
-
"sap/ui/dom/jquery/control" // jQuery Plugin "control"
|
|
31
|
+
"sap/ui/dom/jquery/rect" // jQuery Plugin "rect"
|
|
33
32
|
],
|
|
34
33
|
function(
|
|
35
34
|
Bar,
|
|
@@ -121,7 +120,7 @@ sap.ui.define([
|
|
|
121
120
|
* @extends sap.ui.core.Control
|
|
122
121
|
* @implements sap.ui.core.PopupInterface
|
|
123
122
|
* @author SAP SE
|
|
124
|
-
* @version 1.
|
|
123
|
+
* @version 1.109.0
|
|
125
124
|
*
|
|
126
125
|
* @public
|
|
127
126
|
* @alias sap.m.Popover
|
|
@@ -147,6 +146,7 @@ sap.ui.define([
|
|
|
147
146
|
|
|
148
147
|
/**
|
|
149
148
|
* If a header should be shown at the top of the popover.
|
|
149
|
+
* *Note:* The heading level of the popover is H1. Headings in the popover content should start with H2 heading level.
|
|
150
150
|
*/
|
|
151
151
|
showHeader: {type: "boolean", group: "Appearance", defaultValue: true},
|
|
152
152
|
|
|
@@ -490,8 +490,7 @@ sap.ui.define([
|
|
|
490
490
|
|
|
491
491
|
this._oRestoreFocusDelegate = {
|
|
492
492
|
onBeforeRendering: function () {
|
|
493
|
-
var
|
|
494
|
-
oActiveControl = $ActiveElement.control(0);
|
|
493
|
+
var oActiveControl = Element.closestTo(document.activeElement);
|
|
495
494
|
this._sFocusControlId = oActiveControl && oActiveControl.getId();
|
|
496
495
|
},
|
|
497
496
|
onAfterRendering: function () {
|
|
@@ -1568,15 +1567,13 @@ sap.ui.define([
|
|
|
1568
1567
|
} else {
|
|
1569
1568
|
this._calcBestPos();
|
|
1570
1569
|
}
|
|
1571
|
-
} else {
|
|
1572
|
-
if (this._checkVertical()) {
|
|
1570
|
+
} else if (this._checkVertical()) {
|
|
1573
1571
|
this._calcVertical();
|
|
1574
1572
|
} else if (this._checkHorizontal()) {
|
|
1575
1573
|
this._calcHorizontal();
|
|
1576
1574
|
} else {
|
|
1577
1575
|
this._calcBestPos();
|
|
1578
1576
|
}
|
|
1579
|
-
}
|
|
1580
1577
|
|
|
1581
1578
|
};
|
|
1582
1579
|
|
|
@@ -1855,8 +1852,7 @@ sap.ui.define([
|
|
|
1855
1852
|
if (bExceedHorizontal) {
|
|
1856
1853
|
iLeft = oPosParams._fPopoverMarginLeft;
|
|
1857
1854
|
iRight = oPosParams._fPopoverMarginRight;
|
|
1858
|
-
} else {
|
|
1859
|
-
if (bOverLeft) {
|
|
1855
|
+
} else if (bOverLeft) {
|
|
1860
1856
|
iLeft = oPosParams._fPopoverMarginLeft;
|
|
1861
1857
|
if (bRtl) {
|
|
1862
1858
|
// when only one side of the popover goes beyond the defined border make sure that
|
|
@@ -1871,21 +1867,18 @@ sap.ui.define([
|
|
|
1871
1867
|
// can't react to content size change when both are set
|
|
1872
1868
|
iLeft = "";
|
|
1873
1869
|
}
|
|
1874
|
-
}
|
|
1875
1870
|
|
|
1876
1871
|
if (bExceedVertical) {
|
|
1877
1872
|
iTop = oPosParams._fPopoverMarginTop;
|
|
1878
1873
|
iBottom = oPosParams._fPopoverMarginBottom;
|
|
1879
|
-
} else {
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
iTop = "";
|
|
1888
|
-
}
|
|
1874
|
+
} else if (bOverTop) {
|
|
1875
|
+
iTop = oPosParams._fPopoverMarginTop;
|
|
1876
|
+
} else if (bOverBottom) {
|
|
1877
|
+
iBottom = oPosParams._fPopoverMarginBottom;
|
|
1878
|
+
// when only one side of the popover goes beyond the defined border make sure that
|
|
1879
|
+
// only one from the iLeft and iRight is set because Popover has a fixed size and
|
|
1880
|
+
// can't react to content size change when both are set
|
|
1881
|
+
iTop = "";
|
|
1889
1882
|
}
|
|
1890
1883
|
|
|
1891
1884
|
var mPosition = {
|
|
@@ -2228,11 +2221,9 @@ sap.ui.define([
|
|
|
2228
2221
|
Popover.prototype._getAnyHeader = function () {
|
|
2229
2222
|
if (this.getCustomHeader()) {
|
|
2230
2223
|
return this.getCustomHeader();
|
|
2231
|
-
} else {
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
return this._internalHeader;
|
|
2235
|
-
}
|
|
2224
|
+
} else if (this.getShowHeader()) {
|
|
2225
|
+
this._createInternalHeader();
|
|
2226
|
+
return this._internalHeader;
|
|
2236
2227
|
}
|
|
2237
2228
|
};
|
|
2238
2229
|
|
|
@@ -2463,7 +2454,7 @@ sap.ui.define([
|
|
|
2463
2454
|
if (!this._headerTitle) {
|
|
2464
2455
|
this._headerTitle = new Title(this.getId() + "-title", {
|
|
2465
2456
|
text: this.getTitle(),
|
|
2466
|
-
level: "
|
|
2457
|
+
level: "H1"
|
|
2467
2458
|
});
|
|
2468
2459
|
|
|
2469
2460
|
this._createInternalHeader();
|
|
@@ -2677,7 +2668,7 @@ sap.ui.define([
|
|
|
2677
2668
|
};
|
|
2678
2669
|
|
|
2679
2670
|
Popover.prototype.destroyAggregation = function (sAggregationName, bSuppressInvalidate) {
|
|
2680
|
-
var oActiveControl =
|
|
2671
|
+
var oActiveControl = Element.closestTo(document.activeElement);
|
|
2681
2672
|
if (sAggregationName === "beginButton" || sAggregationName === "endButton") {
|
|
2682
2673
|
var sButton = this["_" + sAggregationName];
|
|
2683
2674
|
if (sButton) {
|
|
@@ -59,7 +59,7 @@ sap.ui.define([
|
|
|
59
59
|
* @extends sap.ui.core.Control
|
|
60
60
|
*
|
|
61
61
|
* @author SAP SE
|
|
62
|
-
* @version 1.
|
|
62
|
+
* @version 1.109.0
|
|
63
63
|
*
|
|
64
64
|
* @constructor
|
|
65
65
|
* @public
|
|
@@ -342,15 +342,16 @@ sap.ui.define([
|
|
|
342
342
|
this._fPercentValueDiff = this.getPercentValue() - fPercentValue;
|
|
343
343
|
this.setProperty("percentValue", fPercentValue);
|
|
344
344
|
|
|
345
|
-
if (!oProgressIndicatorDomRef) {
|
|
346
|
-
return this;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
345
|
["sapMPIValueMax", "sapMPIValueMin", "sapMPIValueNormal", "sapMPIValueGreaterHalf"].forEach(function (sClass){
|
|
350
346
|
that.removeStyleClass(sClass);
|
|
351
347
|
});
|
|
352
348
|
|
|
353
349
|
this.addStyleClass(this._getCSSClassByPercentValue(fPercentValue).join(" "));
|
|
350
|
+
|
|
351
|
+
if (!oProgressIndicatorDomRef) {
|
|
352
|
+
return this;
|
|
353
|
+
}
|
|
354
|
+
|
|
354
355
|
oProgressIndicatorDomRef.setAttribute("aria-valuenow", fPercentValue);
|
|
355
356
|
oProgressIndicatorDomRef.setAttribute("aria-valuetext", this._getAriaValueText({fPercent: fPercentValue}));
|
|
356
357
|
|
package/src/sap/m/QuickView.js
CHANGED