@openui5/sap.m 1.138.0 → 1.139.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/README.md +1 -1
- package/REUSE.toml +8 -1
- package/THIRDPARTY.txt +72 -66
- package/package.json +5 -5
- 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 +5 -4
- package/src/sap/m/Carousel.js +1 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +1 -1
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +1 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +19 -4
- package/src/sap/m/ColumnPopoverActionItem.js +1 -1
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
- package/src/sap/m/ColumnPopoverItem.js +1 -1
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +1 -1
- package/src/sap/m/ComboBoxBase.js +1 -1
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/ContentConfig.js +1 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/DatePicker.js +1 -1
- package/src/sap/m/DateRangeSelection.js +2 -2
- package/src/sap/m/DateTimeField.js +1 -1
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +1 -1
- package/src/sap/m/Dialog.js +1 -1
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateOption.js +1 -1
- package/src/sap/m/DynamicDateRange.js +1 -1
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +1 -1
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +65 -16
- package/src/sap/m/FeedInputRenderer.js +7 -0
- 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 +1 -1
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +2 -2
- package/src/sap/m/InputBase.js +1 -1
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +4 -2
- package/src/sap/m/LinkTileContent.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +1 -1
- package/src/sap/m/ListItemAction.js +1 -1
- package/src/sap/m/ListItemActionBase.js +1 -1
- package/src/sap/m/ListItemBase.js +1 -1
- package/src/sap/m/ListRenderer.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 +63 -21
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuItemGroup.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MenuWrapper.js +40 -6
- package/src/sap/m/MenuWrapperRenderer.js +21 -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 +9 -8
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +16 -7
- 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 +19 -11
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +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 +13 -1
- package/src/sap/m/ObjectNumberRenderer.js +13 -4
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/ObjectStatusRenderer.js +1 -1
- package/src/sap/m/OverflowToolbar.js +16 -7
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/OverflowToolbarTokenizer.js +315 -0
- package/src/sap/m/OverflowToolbarTokenizerRenderer.js +84 -0
- 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 +75 -35
- package/src/sap/m/Page.js +1 -1
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +1 -1
- package/src/sap/m/PlanningCalendar.js +100 -229
- package/src/sap/m/PlanningCalendarHeader.js +37 -17
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +1 -1
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +1 -1
- package/src/sap/m/QuickViewBase.js +1 -1
- package/src/sap/m/QuickViewCard.js +1 -1
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +23 -26
- 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/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +1 -1
- package/src/sap/m/SelectDialog.js +1 -1
- package/src/sap/m/SelectDialogBase.js +22 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectionDetails.js +1 -1
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +11 -2
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +8 -0
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +11 -2
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +8 -0
- 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/SplitButtonRenderer.js +8 -6
- 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 -2
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +1 -1
- package/src/sap/m/TablePersoController.js +1 -1
- package/src/sap/m/TablePersoDialog.js +1 -1
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableSelectDialog.js +1 -1
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +2 -2
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TileInfo.js +1 -1
- package/src/sap/m/TimePicker.js +1 -1
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -1
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +61 -28
- package/src/sap/m/TokenizerRenderer.js +28 -14
- package/src/sap/m/Toolbar.js +14 -8
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/UploadCollection.js +1 -1
- package/src/sap/m/UploadCollectionItem.js +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/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 +2 -2
- 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 +5 -5
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/designtime/Page.designtime.js +13 -1
- package/src/sap/m/i18n/interaction.xml +2 -2
- package/src/sap/m/i18n/interaction_ar.xml +10 -10
- package/src/sap/m/i18n/interaction_cs.xml +3 -3
- package/src/sap/m/i18n/interaction_iw.xml +8 -8
- package/src/sap/m/i18n/interaction_kk.xml +3 -3
- package/src/sap/m/i18n/interaction_th.xml +1 -1
- package/src/sap/m/library.js +29 -2
- package/src/sap/m/library.support.js +3 -0
- package/src/sap/m/messagebundle.properties +11 -2
- package/src/sap/m/messagebundle_ar.properties +7 -1
- package/src/sap/m/messagebundle_bg.properties +6 -0
- package/src/sap/m/messagebundle_ca.properties +8 -2
- package/src/sap/m/messagebundle_cnr.properties +6 -0
- package/src/sap/m/messagebundle_cs.properties +7 -1
- package/src/sap/m/messagebundle_cy.properties +6 -0
- package/src/sap/m/messagebundle_da.properties +6 -0
- package/src/sap/m/messagebundle_de.properties +7 -1
- package/src/sap/m/messagebundle_el.properties +6 -0
- package/src/sap/m/messagebundle_en.properties +6 -0
- package/src/sap/m/messagebundle_en_GB.properties +6 -0
- package/src/sap/m/messagebundle_en_US_saprigi.properties +6 -0
- package/src/sap/m/messagebundle_es.properties +8 -2
- package/src/sap/m/messagebundle_es_MX.properties +6 -0
- package/src/sap/m/messagebundle_et.properties +6 -0
- package/src/sap/m/messagebundle_fi.properties +6 -0
- package/src/sap/m/messagebundle_fr.properties +7 -1
- package/src/sap/m/messagebundle_fr_CA.properties +6 -0
- package/src/sap/m/messagebundle_hi.properties +6 -0
- package/src/sap/m/messagebundle_hr.properties +6 -0
- package/src/sap/m/messagebundle_hu.properties +6 -0
- package/src/sap/m/messagebundle_id.properties +19 -13
- package/src/sap/m/messagebundle_it.properties +6 -0
- package/src/sap/m/messagebundle_iw.properties +6 -0
- package/src/sap/m/messagebundle_ja.properties +6 -0
- package/src/sap/m/messagebundle_kk.properties +6 -0
- package/src/sap/m/messagebundle_ko.properties +6 -0
- package/src/sap/m/messagebundle_lt.properties +6 -0
- package/src/sap/m/messagebundle_lv.properties +6 -0
- package/src/sap/m/messagebundle_mk.properties +6 -0
- package/src/sap/m/messagebundle_ms.properties +6 -0
- package/src/sap/m/messagebundle_nl.properties +6 -0
- package/src/sap/m/messagebundle_no.properties +6 -0
- package/src/sap/m/messagebundle_pl.properties +6 -0
- package/src/sap/m/messagebundle_pt.properties +6 -0
- package/src/sap/m/messagebundle_pt_PT.properties +6 -0
- package/src/sap/m/messagebundle_ro.properties +6 -0
- package/src/sap/m/messagebundle_ru.properties +8 -2
- package/src/sap/m/messagebundle_sh.properties +6 -0
- package/src/sap/m/messagebundle_sk.properties +6 -0
- package/src/sap/m/messagebundle_sl.properties +6 -0
- package/src/sap/m/messagebundle_sr.properties +6 -0
- package/src/sap/m/messagebundle_sv.properties +6 -0
- package/src/sap/m/messagebundle_th.properties +6 -0
- package/src/sap/m/messagebundle_tr.properties +6 -0
- package/src/sap/m/messagebundle_uk.properties +6 -0
- package/src/sap/m/messagebundle_vi.properties +8 -2
- package/src/sap/m/messagebundle_zh_CN.properties +6 -0
- package/src/sap/m/messagebundle_zh_TW.properties +6 -0
- 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 +1 -1
- package/src/sap/m/p13n/Engine.js +1 -1
- package/src/sap/m/p13n/FilterController.js +1 -1
- package/src/sap/m/p13n/FilterPanel.js +1 -1
- package/src/sap/m/p13n/GroupController.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/MessageStrip.js +1 -1
- package/src/sap/m/p13n/Popup.js +1 -1
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +1 -1
- 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/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +1 -1
- package/src/sap/m/p13n/modules/xConfigAPI.js +5 -2
- package/src/sap/m/plugins/CellSelector.js +6 -5
- package/src/sap/m/plugins/ColumnAIAction.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- package/src/sap/m/plugins/ContextMenuSetting.js +1 -1
- package/src/sap/m/plugins/CopyProvider.js +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/plugins/UploadSetwithTable.js +119 -2
- package/src/sap/m/rules/IllustratedMessage.support.js +126 -0
- 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 +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +1 -1
- package/src/sap/m/semantic/ShareMenuPage.js +1 -1
- package/src/sap/m/semantic/SortAction.js +1 -1
- package/src/sap/m/semantic/SortSelect.js +1 -1
- package/src/sap/m/table/ColumnWidthController.js +1 -1
- package/src/sap/m/table/Util.js +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 +8 -2
- package/src/sap/m/table/columnmenu/MenuBase.js +1 -1
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +10 -4
- package/src/sap/m/table/columnmenu/QuickResize.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +29 -19
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +10 -4
- package/src/sap/m/themes/base/CheckBox.less +4 -6
- package/src/sap/m/themes/base/FeedInput.less +17 -0
- package/src/sap/m/themes/base/GenericTile.less +22 -7
- package/src/sap/m/themes/base/IconTabBar.less +4 -5
- package/src/sap/m/themes/base/Illustration.less +4 -0
- package/src/sap/m/themes/base/Link.less +2 -0
- package/src/sap/m/themes/base/NumericContent.less +1 -2
- package/src/sap/m/themes/base/ObjectStatus.less +2 -0
- package/src/sap/m/themes/base/OverflowToolbarTokenizer.less +80 -0
- package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +1 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-BalloonSky.svg +36 -36
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-EmptyCalendar.svg +69 -69
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-FilterTable.svg +52 -52
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoDimensionsSet.svg +34 -34
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoSearchResults.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoTasks_v1.svg +48 -48
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-ReloadScreen.svg +40 -40
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SearchFolder.svg +26 -26
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessHighFive.svg +19 -19
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessScreen.svg +39 -39
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-Survey.svg +1 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UploadCollection.svg +25 -25
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UserHasSignedUp.svg +1 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-AddColumn.svg +24 -24
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-AddPeople.svg +6 -6
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-BalloonSky.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-Connection.svg +7 -7
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-EmptyCalendar.svg +34 -34
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-EmptyList.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-ErrorScreen.svg +6 -6
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-FilterTable.svg +5 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-GroupTable.svg +33 -33
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoDimensionsSet.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoMail_v1.svg +7 -7
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoSavedItems_v1.svg +10 -10
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoTasks_v1.svg +10 -10
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-ReloadScreen.svg +6 -6
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-ResizeColumn.svg +24 -24
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SearchEarth.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SearchFolder.svg +8 -8
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleBalloon.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleBell.svg +5 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleCalendar.svg +34 -34
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleCheckMark.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleConnection.svg +7 -7
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleEmptyDoc.svg +5 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleEmptyList.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleError.svg +6 -6
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleMagnifier.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleMail.svg +7 -7
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleNoSavedItems.svg +10 -10
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleNotFoundMagnifier.svg +8 -8
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleReload.svg +6 -6
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleTask.svg +10 -10
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SleepingBell.svg +5 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SortColumn.svg +26 -26
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SuccessHighFive.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SuccessScreen.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-Tent.svg +5 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-UploadCollection.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-BalloonSky.svg +44 -44
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-EmptyCalendar.svg +80 -80
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-FilterTable.svg +54 -54
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoDimensionsSet.svg +36 -36
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoSearchResults.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoTasks_v1.svg +70 -70
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-ReloadScreen.svg +52 -52
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SearchFolder.svg +33 -33
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessHighFive.svg +20 -20
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessScreen.svg +51 -51
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-UploadCollection.svg +27 -27
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-BalloonSky.svg +34 -34
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-EmptyCalendar.svg +41 -41
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-FilterTable.svg +49 -49
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-GroupTable.svg +71 -71
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoDimensionsSet.svg +37 -37
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoSearchResults.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoTasks_v1.svg +17 -17
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-ReloadScreen.svg +28 -28
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-ResizeColumn.svg +44 -44
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SearchFolder.svg +26 -26
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessHighFive.svg +19 -19
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessScreen.svg +27 -27
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-Survey.svg +1 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UploadCollection.svg +28 -28
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UserHasSignedUp.svg +1 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/ActionsPlaceholder.js +1 -1
- package/src/sap/m/upload/Column.js +1 -1
- package/src/sap/m/upload/FilePreviewDialog.js +2 -2
- package/src/sap/m/upload/UploadItem.js +8 -2
- package/src/sap/m/upload/UploadItemConfiguration.js +34 -2
- package/src/sap/m/upload/UploadSet.js +1 -1
- package/src/sap/m/upload/UploadSetItem.js +1 -1
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/UploaderTableItem.js +62 -6
|
@@ -208,7 +208,7 @@ sap.ui.define([
|
|
|
208
208
|
* {@link sap.m.PlanningCalendarView PlanningCalendarView}'s properties.
|
|
209
209
|
*
|
|
210
210
|
* @extends sap.ui.core.Control
|
|
211
|
-
* @version 1.
|
|
211
|
+
* @version 1.139.0
|
|
212
212
|
*
|
|
213
213
|
* @constructor
|
|
214
214
|
* @public
|
|
@@ -983,10 +983,50 @@ sap.ui.define([
|
|
|
983
983
|
|
|
984
984
|
updateSelectedRows.call(this);
|
|
985
985
|
|
|
986
|
-
|
|
986
|
+
this._setProperties();
|
|
987
|
+
};
|
|
988
|
+
|
|
989
|
+
PlanningCalendar.prototype._setProperties = function() {
|
|
990
|
+
//overriden setters
|
|
991
|
+
const bMultiSelect = this.getMultipleAppointmentsSelection(),
|
|
992
|
+
sIconShape = this.getIconShape(),
|
|
993
|
+
oStartDate = this.getStartDate(),
|
|
994
|
+
sAppointmentHeight = this.getAppointmentHeight(),
|
|
995
|
+
sAppointmentRoundWidth = this.getAppointmentRoundWidth(),
|
|
996
|
+
bShowIntervalHeaders = this.getShowIntervalHeaders(),
|
|
997
|
+
bShowEmptyIntervalHeaders = this.getShowEmptyIntervalHeaders(),
|
|
998
|
+
sAppointmentsVisualization = this.getAppointmentsVisualization(),
|
|
999
|
+
oGroupAppointmentsMode = this.getGroupAppointmentsMode(),
|
|
1000
|
+
bAppointmentsReducedHeight = this.getAppointmentsReducedHeight(),
|
|
1001
|
+
vLegend = this.getLegend();
|
|
987
1002
|
this.getRows().forEach(function (oRow) {
|
|
988
|
-
|
|
1003
|
+
const oCurrentRowHeader = getRowHeader(oRow),
|
|
1004
|
+
oRowTimeline = getRowTimeline(oRow);
|
|
1005
|
+
if (oCurrentRowHeader.getAvatar) {
|
|
1006
|
+
oCurrentRowHeader.getAvatar().setDisplayShape(sIconShape);
|
|
1007
|
+
}
|
|
1008
|
+
oRowTimeline.setMultipleAppointmentsSelection(bMultiSelect);
|
|
1009
|
+
oRowTimeline.setStartDate(oStartDate);
|
|
1010
|
+
oRowTimeline.setAppointmentHeight(sAppointmentHeight);
|
|
1011
|
+
oRowTimeline.setAppointmentRoundWidth(sAppointmentRoundWidth);
|
|
1012
|
+
oRowTimeline.setShowIntervalHeaders(bShowIntervalHeaders);
|
|
1013
|
+
oRowTimeline.setShowEmptyIntervalHeaders(bShowEmptyIntervalHeaders);
|
|
1014
|
+
oRowTimeline.setAppointmentsVisualization(sAppointmentsVisualization);
|
|
1015
|
+
oRowTimeline.setGroupAppointmentsMode(oGroupAppointmentsMode);
|
|
1016
|
+
oRowTimeline.setAppointmentsReducedHeight(bAppointmentsReducedHeight);
|
|
1017
|
+
oRowTimeline.setLegend(vLegend);
|
|
989
1018
|
});
|
|
1019
|
+
|
|
1020
|
+
this._setPrimaryCalendarType();
|
|
1021
|
+
this._setSecondaryCalendarType();
|
|
1022
|
+
this._setFirstDayOfWeek();
|
|
1023
|
+
this._setCalendarWeekNumbering();
|
|
1024
|
+
this._setShowWeekNumbers();
|
|
1025
|
+
this._setShowRowHeaders();
|
|
1026
|
+
this._setShowDayNamesLine();
|
|
1027
|
+
this._setStickyHeader();
|
|
1028
|
+
this._setNoDataText();
|
|
1029
|
+
this._setLegend(vLegend);
|
|
990
1030
|
};
|
|
991
1031
|
|
|
992
1032
|
PlanningCalendar.prototype._bindAggregation = function(sName, oBindingInfo) {
|
|
@@ -1030,19 +1070,6 @@ sap.ui.define([
|
|
|
1030
1070
|
return this;
|
|
1031
1071
|
};
|
|
1032
1072
|
|
|
1033
|
-
PlanningCalendar.prototype.setIconShape = function (sIconShape) {
|
|
1034
|
-
this.setProperty("iconShape", sIconShape);
|
|
1035
|
-
|
|
1036
|
-
this.getRows().forEach(function (oRow) {
|
|
1037
|
-
var oCurrentRowHeader = getRowHeader(oRow);
|
|
1038
|
-
if (oCurrentRowHeader.getAvatar) {
|
|
1039
|
-
oCurrentRowHeader.getAvatar().setDisplayShape(sIconShape);
|
|
1040
|
-
}
|
|
1041
|
-
});
|
|
1042
|
-
|
|
1043
|
-
return this;
|
|
1044
|
-
};
|
|
1045
|
-
|
|
1046
1073
|
PlanningCalendar.prototype.detachEvent = function (eventId, functionToCall, listener) {
|
|
1047
1074
|
Control.prototype.detachEvent.call(this, eventId, functionToCall, listener);
|
|
1048
1075
|
if (!this.hasListeners("intervalSelect")) {
|
|
@@ -1371,6 +1398,7 @@ sap.ui.define([
|
|
|
1371
1398
|
if (this.hasListeners("intervalSelect")) {
|
|
1372
1399
|
oInterval._setAriaRole("columnheader"); // set new aria role
|
|
1373
1400
|
} else {
|
|
1401
|
+
oInterval.setProperty("selectableAccessibilitySemantics", false);
|
|
1374
1402
|
oInterval._setAriaRole("gridcell"); // set new aria role
|
|
1375
1403
|
}
|
|
1376
1404
|
};
|
|
@@ -1471,24 +1499,14 @@ sap.ui.define([
|
|
|
1471
1499
|
};
|
|
1472
1500
|
|
|
1473
1501
|
PlanningCalendar.prototype.addToolbarContent = function(oContent) {
|
|
1474
|
-
|
|
1475
|
-
this._observeHeaderTitleText(oContent);
|
|
1476
|
-
this._getHeader().setTitle(oContent.getText());
|
|
1477
|
-
oContent.setVisible(false);
|
|
1478
|
-
this.addAriaLabelledBy(oContent.getId());
|
|
1479
|
-
}
|
|
1502
|
+
this._prepareHeaderTitle(oContent);
|
|
1480
1503
|
this.addAggregation("toolbarContent", oContent);
|
|
1481
1504
|
|
|
1482
1505
|
return this;
|
|
1483
1506
|
};
|
|
1484
1507
|
|
|
1485
1508
|
PlanningCalendar.prototype.insertToolbarContent = function(oContent, iIndex) {
|
|
1486
|
-
|
|
1487
|
-
this._observeHeaderTitleText(oContent);
|
|
1488
|
-
this._getHeader().setTitle(oContent.getText());
|
|
1489
|
-
oContent.setVisible(false);
|
|
1490
|
-
this.addAriaLabelledBy(oContent.getId());
|
|
1491
|
-
}
|
|
1509
|
+
this._prepareHeaderTitle(oContent);
|
|
1492
1510
|
this.insertAggregation("toolbarContent", oContent, iIndex);
|
|
1493
1511
|
|
|
1494
1512
|
return this;
|
|
@@ -1546,6 +1564,21 @@ sap.ui.define([
|
|
|
1546
1564
|
});
|
|
1547
1565
|
};
|
|
1548
1566
|
|
|
1567
|
+
PlanningCalendar.prototype._prepareHeaderTitle = function (oTitle) {
|
|
1568
|
+
if (oTitle && oTitle.isA("sap.m.Title")) {
|
|
1569
|
+
this._observeHeaderTitleText(oTitle);
|
|
1570
|
+
const oHeader = this._getHeader(),
|
|
1571
|
+
sLabel = `${this._getHeader().getId()}-Title`,
|
|
1572
|
+
oLevel = oTitle.getLevel(),
|
|
1573
|
+
oTitleStyle = oTitle.getTitleStyle();
|
|
1574
|
+
oHeader.setTitle(oTitle.getText());
|
|
1575
|
+
oHeader.setLevel(oLevel);
|
|
1576
|
+
oHeader.setTitleStyle(oTitleStyle);
|
|
1577
|
+
oTitle.setVisible(false);
|
|
1578
|
+
this.addAriaLabelledBy(sLabel);
|
|
1579
|
+
}
|
|
1580
|
+
};
|
|
1581
|
+
|
|
1549
1582
|
PlanningCalendar.prototype._handleTitleTextChange = function (oChanges) {
|
|
1550
1583
|
this._getHeader().setTitle(oChanges.current);
|
|
1551
1584
|
};
|
|
@@ -1684,12 +1717,11 @@ sap.ui.define([
|
|
|
1684
1717
|
|
|
1685
1718
|
/**
|
|
1686
1719
|
* Sets the primaryCalendarType. If not set, the calendar type of the global configuration is used.
|
|
1687
|
-
* @
|
|
1688
|
-
* @
|
|
1689
|
-
* @public
|
|
1720
|
+
* @returns {void}
|
|
1721
|
+
* @private
|
|
1690
1722
|
*/
|
|
1691
|
-
PlanningCalendar.prototype.
|
|
1692
|
-
this.
|
|
1723
|
+
PlanningCalendar.prototype._setPrimaryCalendarType = function() {
|
|
1724
|
+
var sPrimaryCalendarType = this._getPrimaryCalendarType();
|
|
1693
1725
|
|
|
1694
1726
|
if (this._getHeader()) {
|
|
1695
1727
|
this._getHeader().setProperty("_primaryCalendarType", sPrimaryCalendarType);
|
|
@@ -1709,8 +1741,6 @@ sap.ui.define([
|
|
|
1709
1741
|
if (this._oOneMonthsRow) {
|
|
1710
1742
|
this._oOneMonthsRow.setPrimaryCalendarType(sPrimaryCalendarType);
|
|
1711
1743
|
}
|
|
1712
|
-
|
|
1713
|
-
return this;
|
|
1714
1744
|
};
|
|
1715
1745
|
|
|
1716
1746
|
PlanningCalendar.prototype._getSecondaryCalendarType = function() {
|
|
@@ -1725,12 +1755,11 @@ sap.ui.define([
|
|
|
1725
1755
|
|
|
1726
1756
|
/**
|
|
1727
1757
|
* Sets the secondaryCalendarType.
|
|
1728
|
-
* @
|
|
1729
|
-
* @
|
|
1730
|
-
* @public
|
|
1758
|
+
* @returns {void}
|
|
1759
|
+
* @private
|
|
1731
1760
|
*/
|
|
1732
|
-
PlanningCalendar.prototype.
|
|
1733
|
-
this.
|
|
1761
|
+
PlanningCalendar.prototype._setSecondaryCalendarType = function () {
|
|
1762
|
+
var sSecondaryCalendarType = this._getSecondaryCalendarType();
|
|
1734
1763
|
|
|
1735
1764
|
if (this._getHeader()) {
|
|
1736
1765
|
this._getHeader().setProperty("_secondaryCalendarType", sSecondaryCalendarType);
|
|
@@ -1750,8 +1779,6 @@ sap.ui.define([
|
|
|
1750
1779
|
if (this._oOneMonthsRow) {
|
|
1751
1780
|
this._oOneMonthsRow.setSecondaryCalendarType(sSecondaryCalendarType);
|
|
1752
1781
|
}
|
|
1753
|
-
|
|
1754
|
-
return this;
|
|
1755
1782
|
};
|
|
1756
1783
|
|
|
1757
1784
|
/**
|
|
@@ -1936,22 +1963,18 @@ sap.ui.define([
|
|
|
1936
1963
|
|
|
1937
1964
|
};
|
|
1938
1965
|
|
|
1939
|
-
PlanningCalendar.prototype.
|
|
1940
|
-
var
|
|
1966
|
+
PlanningCalendar.prototype._setCalendarWeekNumbering = function() {
|
|
1967
|
+
var sCalendarWeekNumbering = this.getCalendarWeekNumbering(),
|
|
1968
|
+
oHeader = this._getHeader(),
|
|
1941
1969
|
oCalendarPicker = oHeader._oPopup && oHeader._oPopup.getContent()[0],
|
|
1942
1970
|
key;
|
|
1943
1971
|
|
|
1944
|
-
this.setProperty("calendarWeekNumbering", sCalendarWeekNumbering);
|
|
1945
|
-
|
|
1946
1972
|
this._updateWeekConfiguration();
|
|
1947
1973
|
oHeader.setCalendarWeekNumbering(sCalendarWeekNumbering);
|
|
1948
1974
|
oCalendarPicker && oCalendarPicker.setCalendarWeekNumbering(sCalendarWeekNumbering);
|
|
1949
1975
|
for (key in INTERVAL_METADATA) {
|
|
1950
1976
|
this[INTERVAL_METADATA[key].sInstanceName] && this[INTERVAL_METADATA[key].sInstanceName].setCalendarWeekNumbering(sCalendarWeekNumbering);
|
|
1951
1977
|
}
|
|
1952
|
-
this.setStartDate(this.getStartDate());
|
|
1953
|
-
|
|
1954
|
-
return this;
|
|
1955
1978
|
};
|
|
1956
1979
|
|
|
1957
1980
|
PlanningCalendar.prototype.removeIntervalInstanceFromInfoToolbar = function () {
|
|
@@ -2249,22 +2272,25 @@ sap.ui.define([
|
|
|
2249
2272
|
|
|
2250
2273
|
};
|
|
2251
2274
|
|
|
2252
|
-
PlanningCalendar.prototype.
|
|
2275
|
+
PlanningCalendar.prototype._setFirstDayOfWeek = function () {
|
|
2276
|
+
const iFirstDayOfWeek = this.getFirstDayOfWeek();
|
|
2253
2277
|
if (iFirstDayOfWeek < -1 || iFirstDayOfWeek > 6) {
|
|
2254
2278
|
Log.error("" + iFirstDayOfWeek + " is not a valid value to the property firstDayOfWeek. Valid values are from -1 to 6.");
|
|
2255
2279
|
return;
|
|
2256
2280
|
}
|
|
2257
|
-
|
|
2281
|
+
const sCurrentPickerId = this._getHeader().getAssociation("currentPicker"),
|
|
2258
2282
|
oPicker = Element.getElementById(sCurrentPickerId),
|
|
2259
2283
|
sViewKey = this.getViewKey(),
|
|
2260
2284
|
oDateNav = this._dateNav,
|
|
2261
2285
|
oPCStart = oDateNav.getStart(),
|
|
2262
2286
|
iOldFirstDayOfWeek = this.getStartDate().getDay(),
|
|
2263
|
-
bOneMonthViewOnSmallScreen = sViewKey === PlanningCalendarBuiltInView.OneMonth && this._iSize < 2
|
|
2264
|
-
|
|
2287
|
+
bOneMonthViewOnSmallScreen = sViewKey === PlanningCalendarBuiltInView.OneMonth && this._iSize < 2;
|
|
2288
|
+
let iResultFirstDayOfWeek = iFirstDayOfWeek,
|
|
2265
2289
|
oRow, oFirstUTCDateOfWeek, oFirstLocalDateOfWeek;
|
|
2266
2290
|
|
|
2267
|
-
oPicker.setFirstDayOfWeek
|
|
2291
|
+
if (oPicker.setFirstDayOfWeek) {
|
|
2292
|
+
oPicker.setFirstDayOfWeek(iFirstDayOfWeek);
|
|
2293
|
+
}
|
|
2268
2294
|
|
|
2269
2295
|
if (sViewKey === PlanningCalendarBuiltInView.Week || bOneMonthViewOnSmallScreen) {
|
|
2270
2296
|
oRow = this.getAggregation("table").getInfoToolbar().getContent()[1];
|
|
@@ -2285,10 +2311,7 @@ sap.ui.define([
|
|
|
2285
2311
|
}.bind(this));
|
|
2286
2312
|
}
|
|
2287
2313
|
|
|
2288
|
-
this.setProperty("firstDayOfWeek", iFirstDayOfWeek);
|
|
2289
2314
|
this._updateWeekConfiguration();
|
|
2290
|
-
|
|
2291
|
-
return this;
|
|
2292
2315
|
};
|
|
2293
2316
|
|
|
2294
2317
|
PlanningCalendar.prototype._updateWeekConfiguration = function() {
|
|
@@ -2526,8 +2549,8 @@ sap.ui.define([
|
|
|
2526
2549
|
return oInterval;
|
|
2527
2550
|
};
|
|
2528
2551
|
|
|
2529
|
-
PlanningCalendar.prototype.
|
|
2530
|
-
this.
|
|
2552
|
+
PlanningCalendar.prototype._setShowWeekNumbers = function () {
|
|
2553
|
+
const bShowWeekNumbers = this.getShowWeekNumbers();
|
|
2531
2554
|
|
|
2532
2555
|
this._getViews().forEach(function(oView) {
|
|
2533
2556
|
var sViewKey = oView.getKey(),
|
|
@@ -2535,131 +2558,22 @@ sap.ui.define([
|
|
|
2535
2558
|
oInterval = this._getRowInstanceByViewKey(sViewKey);
|
|
2536
2559
|
|
|
2537
2560
|
if (oInterval && bViewAllowsWeekNumbers) {
|
|
2538
|
-
oInterval.setShowWeekNumbers(
|
|
2561
|
+
oInterval.setShowWeekNumbers(bShowWeekNumbers);
|
|
2539
2562
|
}
|
|
2540
2563
|
|
|
2541
2564
|
//update the pc header classes if needed
|
|
2542
2565
|
if (this.getDomRef() && this.getViewKey() === sViewKey) {
|
|
2543
|
-
adaptCalHeaderForWeekNumbers.call(this,
|
|
2566
|
+
adaptCalHeaderForWeekNumbers.call(this, bShowWeekNumbers, bViewAllowsWeekNumbers);
|
|
2544
2567
|
}
|
|
2545
2568
|
}, this);
|
|
2546
|
-
|
|
2547
|
-
return this;
|
|
2548
2569
|
};
|
|
2549
2570
|
|
|
2550
|
-
PlanningCalendar.prototype.
|
|
2551
|
-
|
|
2552
|
-
this.setProperty("showIntervalHeaders", bShowIntervalHeaders, true);
|
|
2553
|
-
|
|
2554
|
-
var aRows = this.getRows();
|
|
2555
|
-
for (var i = 0; i < aRows.length; i++) {
|
|
2556
|
-
var oRow = aRows[i];
|
|
2557
|
-
getRowTimeline(oRow).setShowIntervalHeaders(bShowIntervalHeaders);
|
|
2558
|
-
}
|
|
2559
|
-
|
|
2560
|
-
return this;
|
|
2561
|
-
|
|
2562
|
-
};
|
|
2563
|
-
|
|
2564
|
-
PlanningCalendar.prototype.setShowEmptyIntervalHeaders = function(bShowEmptyIntervalHeaders){
|
|
2565
|
-
|
|
2566
|
-
this.setProperty("showEmptyIntervalHeaders", bShowEmptyIntervalHeaders, true);
|
|
2567
|
-
|
|
2568
|
-
var aRows = this.getRows();
|
|
2569
|
-
for (var i = 0; i < aRows.length; i++) {
|
|
2570
|
-
var oRow = aRows[i];
|
|
2571
|
-
getRowTimeline(oRow).setShowEmptyIntervalHeaders(bShowEmptyIntervalHeaders);
|
|
2572
|
-
}
|
|
2573
|
-
|
|
2574
|
-
return this;
|
|
2575
|
-
|
|
2576
|
-
};
|
|
2577
|
-
|
|
2578
|
-
PlanningCalendar.prototype.setGroupAppointmentsMode = function (bGroupAppointmentsMode) {
|
|
2579
|
-
|
|
2580
|
-
this.setProperty("groupAppointmentsMode", bGroupAppointmentsMode, true);
|
|
2581
|
-
|
|
2582
|
-
var aRows = this.getRows();
|
|
2583
|
-
for (var i = 0; i < aRows.length; i++) {
|
|
2584
|
-
var oRow = aRows[i];
|
|
2585
|
-
getRowTimeline(oRow).setGroupAppointmentsMode(bGroupAppointmentsMode);
|
|
2586
|
-
}
|
|
2587
|
-
|
|
2588
|
-
return this;
|
|
2589
|
-
};
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
/**
|
|
2593
|
-
* Set the appointment reduced height property to the appointments in the calendar
|
|
2594
|
-
* @param {boolean} bAppointmentsReducedHeight - if set to true, the appointments will have a reduced height
|
|
2595
|
-
* @returns {this} Reference to <code>this</code> for method chaining
|
|
2596
|
-
* @public
|
|
2597
|
-
* @deprecated Since version 1.119. Please use the <code>appointmentHeight</code> with value "Automatic" property instead.
|
|
2598
|
-
*/
|
|
2599
|
-
PlanningCalendar.prototype.setAppointmentsReducedHeight = function(bAppointmentsReducedHeight){
|
|
2600
|
-
|
|
2601
|
-
this.setProperty("appointmentsReducedHeight", bAppointmentsReducedHeight, true);
|
|
2602
|
-
|
|
2603
|
-
var aRows = this.getRows();
|
|
2604
|
-
for (var i = 0; i < aRows.length; i++) {
|
|
2605
|
-
var oRow = aRows[i];
|
|
2606
|
-
getRowTimeline(oRow).setAppointmentsReducedHeight(bAppointmentsReducedHeight);
|
|
2607
|
-
}
|
|
2608
|
-
|
|
2609
|
-
return this;
|
|
2610
|
-
|
|
2611
|
-
};
|
|
2612
|
-
|
|
2613
|
-
PlanningCalendar.prototype.setAppointmentHeight = function(sAppointmentHeight) {
|
|
2614
|
-
var aRows = this.getRows(),
|
|
2615
|
-
i;
|
|
2616
|
-
|
|
2617
|
-
this.setProperty("appointmentHeight", sAppointmentHeight);
|
|
2618
|
-
for (i = 0; i < aRows.length; i++) {
|
|
2619
|
-
var oRow = aRows[i];
|
|
2620
|
-
getRowTimeline(oRow).setAppointmentHeight(sAppointmentHeight);
|
|
2621
|
-
}
|
|
2622
|
-
|
|
2623
|
-
return this;
|
|
2624
|
-
};
|
|
2625
|
-
|
|
2626
|
-
PlanningCalendar.prototype.setAppointmentRoundWidth = function(sAppointmentRoundWidth) {
|
|
2627
|
-
var aRows = this.getRows(),
|
|
2628
|
-
i;
|
|
2629
|
-
this.setProperty("appointmentRoundWidth", sAppointmentRoundWidth);
|
|
2630
|
-
for (i = 0; i < aRows.length; i++) {
|
|
2631
|
-
var oRow = aRows[i];
|
|
2632
|
-
getRowTimeline(oRow).setAppointmentRoundWidth(sAppointmentRoundWidth);
|
|
2633
|
-
}
|
|
2634
|
-
|
|
2635
|
-
return this;
|
|
2636
|
-
};
|
|
2637
|
-
|
|
2638
|
-
PlanningCalendar.prototype.setAppointmentsVisualization = function(sAppointmentsVisualization){
|
|
2639
|
-
|
|
2640
|
-
this.setProperty("appointmentsVisualization", sAppointmentsVisualization, true);
|
|
2641
|
-
|
|
2642
|
-
var aRows = this.getRows();
|
|
2643
|
-
for (var i = 0; i < aRows.length; i++) {
|
|
2644
|
-
var oRow = aRows[i];
|
|
2645
|
-
getRowTimeline(oRow).setAppointmentsVisualization(sAppointmentsVisualization);
|
|
2646
|
-
}
|
|
2647
|
-
|
|
2648
|
-
return this;
|
|
2649
|
-
|
|
2650
|
-
};
|
|
2651
|
-
|
|
2652
|
-
PlanningCalendar.prototype.setShowRowHeaders = function(bShowRowHeaders){
|
|
2653
|
-
|
|
2654
|
-
if (this.getShowRowHeaders() === bShowRowHeaders) {
|
|
2655
|
-
return this;
|
|
2656
|
-
}
|
|
2571
|
+
PlanningCalendar.prototype._setShowRowHeaders = function(){
|
|
2572
|
+
const bShowRowHeaders = this.getShowRowHeaders();
|
|
2657
2573
|
|
|
2658
2574
|
// set header column to invisible as each row is a ColumnListItem with two columns
|
|
2659
2575
|
// removing the column would need to change every row
|
|
2660
2576
|
|
|
2661
|
-
this.setProperty("showRowHeaders", bShowRowHeaders, true);
|
|
2662
|
-
|
|
2663
2577
|
var oTable = this.getAggregation("table"),
|
|
2664
2578
|
oRowHeader, oRowTimeline;
|
|
2665
2579
|
|
|
@@ -2685,13 +2599,14 @@ sap.ui.define([
|
|
|
2685
2599
|
|
|
2686
2600
|
};
|
|
2687
2601
|
|
|
2688
|
-
PlanningCalendar.prototype.
|
|
2602
|
+
PlanningCalendar.prototype._setShowDayNamesLine = function(){
|
|
2689
2603
|
|
|
2690
2604
|
var intervalMetadata,
|
|
2691
2605
|
sInstanceName,
|
|
2692
2606
|
oCalDateInterval,
|
|
2693
2607
|
bRendered = !!this.getDomRef(),
|
|
2694
|
-
sCurrentViewKey = this.getViewKey()
|
|
2608
|
+
sCurrentViewKey = this.getViewKey(),
|
|
2609
|
+
bShowDayNamesLine = this.getShowDayNamesLine();
|
|
2695
2610
|
|
|
2696
2611
|
for (intervalMetadata in INTERVAL_METADATA) {
|
|
2697
2612
|
sInstanceName = INTERVAL_METADATA[intervalMetadata].sInstanceName;
|
|
@@ -2704,24 +2619,16 @@ sap.ui.define([
|
|
|
2704
2619
|
}
|
|
2705
2620
|
}
|
|
2706
2621
|
}
|
|
2707
|
-
|
|
2708
|
-
return this.setProperty("showDayNamesLine", bShowDayNamesLine, false);
|
|
2709
|
-
|
|
2710
2622
|
};
|
|
2711
2623
|
|
|
2712
2624
|
/**
|
|
2713
2625
|
* Sets the stickyHeader property.
|
|
2714
|
-
* @
|
|
2715
|
-
* @public
|
|
2716
|
-
* @param {boolean} bStick Whether the header area will remain visible (fixed on top)
|
|
2626
|
+
* @private
|
|
2717
2627
|
* @returns {this} this pointer for chaining
|
|
2718
2628
|
*/
|
|
2719
|
-
PlanningCalendar.prototype.
|
|
2720
|
-
|
|
2721
|
-
return this;
|
|
2722
|
-
}
|
|
2629
|
+
PlanningCalendar.prototype._setStickyHeader = function() {
|
|
2630
|
+
const bStick = this.getStickyHeader();
|
|
2723
2631
|
|
|
2724
|
-
this.setProperty("stickyHeader", bStick, true);
|
|
2725
2632
|
if (Device.system.phone) {
|
|
2726
2633
|
if (bStick) {
|
|
2727
2634
|
Device.orientation.attachHandler(this._updateStickyHeader, this);
|
|
@@ -2730,8 +2637,6 @@ sap.ui.define([
|
|
|
2730
2637
|
}
|
|
2731
2638
|
}
|
|
2732
2639
|
this._updateStickyHeader();
|
|
2733
|
-
|
|
2734
|
-
return this;
|
|
2735
2640
|
};
|
|
2736
2641
|
|
|
2737
2642
|
PlanningCalendar.prototype._updateStickyHeader = function() {
|
|
@@ -2850,7 +2755,6 @@ sap.ui.define([
|
|
|
2850
2755
|
|
|
2851
2756
|
};
|
|
2852
2757
|
|
|
2853
|
-
|
|
2854
2758
|
PlanningCalendar.prototype.setSingleSelection = function(bSingleSelection) {
|
|
2855
2759
|
|
|
2856
2760
|
this.setProperty("singleSelection", bSingleSelection, true);
|
|
@@ -2870,29 +2774,15 @@ sap.ui.define([
|
|
|
2870
2774
|
|
|
2871
2775
|
};
|
|
2872
2776
|
|
|
2873
|
-
PlanningCalendar.prototype.
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
var oTable = this.getAggregation("table");
|
|
2777
|
+
PlanningCalendar.prototype._setNoDataText = function() {
|
|
2778
|
+
const sNoDataText = this.getNoDataText(),
|
|
2779
|
+
oTable = this.getAggregation("table");
|
|
2878
2780
|
oTable.setNoDataText(sNoDataText);
|
|
2879
|
-
|
|
2880
|
-
return this;
|
|
2881
|
-
|
|
2882
2781
|
};
|
|
2883
2782
|
|
|
2884
|
-
PlanningCalendar.prototype.
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
var aRows = this.getRows(),
|
|
2889
|
-
oLegend = this.getLegend() && Element.getElementById(this.getLegend()),
|
|
2890
|
-
oLegendDestroyObserver;
|
|
2891
|
-
|
|
2892
|
-
for (var i = 0; i < aRows.length; i++) {
|
|
2893
|
-
var oRow = aRows[i];
|
|
2894
|
-
getRowTimeline(oRow).setLegend(vLegend);
|
|
2895
|
-
}
|
|
2783
|
+
PlanningCalendar.prototype._setLegend = function(vLegend){
|
|
2784
|
+
const oLegendAssociation = vLegend && Element.getElementById(vLegend);
|
|
2785
|
+
let oLegendDestroyObserver;
|
|
2896
2786
|
|
|
2897
2787
|
INTERVAL_CTR_REFERENCES.forEach(function (sControlRef) {
|
|
2898
2788
|
if (this[sControlRef]) {
|
|
@@ -2900,16 +2790,14 @@ sap.ui.define([
|
|
|
2900
2790
|
}
|
|
2901
2791
|
}, this);
|
|
2902
2792
|
|
|
2903
|
-
if (
|
|
2793
|
+
if (oLegendAssociation) { //destroy of the associated legend should rerender the PlanningCalendar
|
|
2904
2794
|
oLegendDestroyObserver = new ManagedObjectObserver(function(oChanges) {
|
|
2905
2795
|
this.invalidate();
|
|
2906
2796
|
}.bind(this));
|
|
2907
|
-
oLegendDestroyObserver.observe(
|
|
2797
|
+
oLegendDestroyObserver.observe(oLegendAssociation, {
|
|
2908
2798
|
destroy: true
|
|
2909
2799
|
});
|
|
2910
2800
|
}
|
|
2911
|
-
|
|
2912
|
-
return this;
|
|
2913
2801
|
};
|
|
2914
2802
|
|
|
2915
2803
|
PlanningCalendar.prototype.addAriaLabelledBy = function(sId) {
|
|
@@ -3848,23 +3736,6 @@ sap.ui.define([
|
|
|
3848
3736
|
return this;
|
|
3849
3737
|
};
|
|
3850
3738
|
|
|
3851
|
-
/**
|
|
3852
|
-
* Sets the width property and ensures that the start date is in sync with each row timeline.
|
|
3853
|
-
*
|
|
3854
|
-
* @param {sap.ui.core.CSSSize} sWidth the width to be set to the PlanningCalendar
|
|
3855
|
-
* @returns {this} this for method chaining
|
|
3856
|
-
* @public
|
|
3857
|
-
*/
|
|
3858
|
-
PlanningCalendar.prototype.setWidth = function (sWidth) {
|
|
3859
|
-
var oStartDate = this.getStartDate();
|
|
3860
|
-
|
|
3861
|
-
this.getRows().forEach(function (oRow) {
|
|
3862
|
-
getRowTimeline(oRow).setStartDate(oStartDate);
|
|
3863
|
-
});
|
|
3864
|
-
|
|
3865
|
-
return this.setProperty("width", sWidth);
|
|
3866
|
-
};
|
|
3867
|
-
|
|
3868
3739
|
/**
|
|
3869
3740
|
* Getter for custom appointments sorter (if any).
|
|
3870
3741
|
* @since 1.54
|
|
@@ -64,6 +64,10 @@ function(
|
|
|
64
64
|
// shortcut for sap.m.ToolbarDesign
|
|
65
65
|
var ToolbarDesign = library.ToolbarDesign;
|
|
66
66
|
|
|
67
|
+
// shortcut for sap.ui.core.TitleLevel
|
|
68
|
+
var TitleLevel = coreLibrary.TitleLevel;
|
|
69
|
+
|
|
70
|
+
|
|
67
71
|
/**
|
|
68
72
|
* Constructor for a new <code>PlanningCalendarHeader</code>.
|
|
69
73
|
*
|
|
@@ -102,7 +106,7 @@ function(
|
|
|
102
106
|
* @extends sap.ui.core.Control
|
|
103
107
|
*
|
|
104
108
|
* @author SAP SE
|
|
105
|
-
* @version 1.
|
|
109
|
+
* @version 1.139.0
|
|
106
110
|
*
|
|
107
111
|
* @constructor
|
|
108
112
|
* @private
|
|
@@ -146,6 +150,24 @@ function(
|
|
|
146
150
|
*/
|
|
147
151
|
calendarWeekNumbering : { type : "sap.base.i18n.date.CalendarWeekNumbering", group : "Appearance", defaultValue: null},
|
|
148
152
|
|
|
153
|
+
/**
|
|
154
|
+
* Defines the semantic level of the title.
|
|
155
|
+
* This information is e.g. used by assistive technologies like screenreaders to create a hierarchical site map for faster navigation.
|
|
156
|
+
* Depending on this setting either an HTML h1-h6 element is used or when using level <code>Auto</code> no explicit level information is written (HTML5 header element).
|
|
157
|
+
* This property does not influence the style of the control. Use the property <code>titleStyle</code> for this purpose instead.
|
|
158
|
+
*
|
|
159
|
+
* <b>Note:</b> this property will be overridden if there is title element associated and it has <code>level</code> property set.
|
|
160
|
+
*/
|
|
161
|
+
level : {type : "sap.ui.core.TitleLevel", group : "Appearance", defaultValue : TitleLevel.Auto},
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Defines the style of the title.
|
|
165
|
+
* When using the <code>Auto</code> styling, the appearance of the title depends on the current position of the title (e.g. inside a <code>Toolbar</code>).
|
|
166
|
+
* This default behavior can be overridden by setting a different style explicitly.
|
|
167
|
+
* The actual appearance of the title and the different styles always depends on the theme being used.
|
|
168
|
+
*/
|
|
169
|
+
titleStyle : {type : "sap.ui.core.TitleLevel", group : "Appearance", defaultValue : TitleLevel.Auto},
|
|
170
|
+
|
|
149
171
|
/**
|
|
150
172
|
* If set, the calendar type is used for display.
|
|
151
173
|
* If not set, the calendar type of the global configuration is used.
|
|
@@ -405,9 +427,6 @@ function(
|
|
|
405
427
|
PlanningCalendarHeader.prototype.exit = function () {
|
|
406
428
|
this._getActionsToolbar().removeAllContent();
|
|
407
429
|
if (this._oTitle) {
|
|
408
|
-
if (this._oToolbarAfterRenderingDelegate) {
|
|
409
|
-
this._oTitle.removeDelegate(this._oToolbarAfterRenderingDelegate);
|
|
410
|
-
}
|
|
411
430
|
this._oTitle.destroy();
|
|
412
431
|
this._oTitle = null;
|
|
413
432
|
}
|
|
@@ -450,23 +469,24 @@ function(
|
|
|
450
469
|
PlanningCalendarHeader.prototype.setTitle = function (sTitle) {
|
|
451
470
|
const oInnerTitle = this._getOrCreateTitleControl();
|
|
452
471
|
oInnerTitle.setText(sTitle).setVisible(!!sTitle);
|
|
453
|
-
if (this._oToolbarAfterRenderingDelegate) {
|
|
454
|
-
oInnerTitle.removeDelegate(this._oToolbarAfterRenderingDelegate);
|
|
455
|
-
}
|
|
456
|
-
this._oToolbarAfterRenderingDelegate = {
|
|
457
|
-
onAfterRendering: function () {
|
|
458
|
-
const oTitle = this.getActions().find((oAction) => oAction.isA("sap.m.Title"));
|
|
459
|
-
const oTitleDomRef = this.getDomRef().querySelector(`[data-sap-ui='${oInnerTitle.getId()}']`);
|
|
460
|
-
if (oTitle && oTitleDomRef) {
|
|
461
|
-
oTitleDomRef.setAttribute("id", oTitle.getId());
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
};
|
|
465
472
|
|
|
466
|
-
oInnerTitle.addDelegate(this._oToolbarAfterRenderingDelegate, this);
|
|
467
473
|
return this.setProperty("title", sTitle);
|
|
468
474
|
};
|
|
469
475
|
|
|
476
|
+
PlanningCalendarHeader.prototype.setLevel = function (eLevel) {
|
|
477
|
+
const oInnerTitle = this._getOrCreateTitleControl();
|
|
478
|
+
oInnerTitle.setLevel(eLevel);
|
|
479
|
+
|
|
480
|
+
return this.setProperty("level", eLevel);
|
|
481
|
+
};
|
|
482
|
+
|
|
483
|
+
PlanningCalendarHeader.prototype.setTitleStyle = function (eTitleStyle) {
|
|
484
|
+
const oInnerTitle = this._getOrCreateTitleControl();
|
|
485
|
+
oInnerTitle.setTitleStyle(eTitleStyle);
|
|
486
|
+
|
|
487
|
+
return this.setProperty("titleStyle", eTitleStyle);
|
|
488
|
+
};
|
|
489
|
+
|
|
470
490
|
PlanningCalendarHeader.prototype.addAction = function (oAction) {
|
|
471
491
|
if (!oAction) {
|
|
472
492
|
return this;
|
|
@@ -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.139.0
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
package/src/sap/m/Popover.js
CHANGED