@openui5/sap.m 1.105.1 → 1.107.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +20 -17
- package/THIRDPARTY.txt +31 -21
- package/package.json +4 -4
- package/src/sap/m/.library +20 -1
- package/src/sap/m/AccButton.js +4 -3
- package/src/sap/m/ActionListItem.js +14 -11
- package/src/sap/m/ActionSelect.js +14 -11
- package/src/sap/m/ActionSheet.js +103 -101
- package/src/sap/m/ActionSheetRenderer.js +3 -3
- package/src/sap/m/ActionTile.js +90 -0
- package/src/sap/m/ActionTileContent.js +71 -0
- package/src/sap/m/ActionTileContentRenderer.js +108 -0
- package/src/sap/m/App.js +107 -104
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +4 -3
- package/src/sap/m/AvatarColor.js +0 -1
- package/src/sap/m/AvatarImageFitType.js +0 -1
- package/src/sap/m/AvatarShape.js +0 -1
- package/src/sap/m/AvatarSize.js +0 -1
- package/src/sap/m/AvatarType.js +0 -1
- package/src/sap/m/Bar.js +103 -89
- package/src/sap/m/BarRenderer.js +3 -3
- package/src/sap/m/Breadcrumbs.js +4 -3
- package/src/sap/m/BusyDialog.js +1 -2
- package/src/sap/m/BusyIndicator.js +76 -73
- package/src/sap/m/Button.js +123 -120
- package/src/sap/m/Carousel.js +148 -147
- package/src/sap/m/CarouselLayout.js +1 -2
- package/src/sap/m/CarouselRenderer.js +3 -3
- package/src/sap/m/CheckBox.js +178 -175
- package/src/sap/m/CheckBoxRenderer.js +3 -3
- package/src/sap/m/ColorPalette.js +4 -3
- package/src/sap/m/ColorPalettePopover.js +24 -21
- package/src/sap/m/Column.js +5 -6
- package/src/sap/m/ColumnHeaderPopover.js +1 -2
- package/src/sap/m/ColumnListItem.js +39 -50
- package/src/sap/m/ColumnListItemRenderer.js +0 -3
- package/src/sap/m/ColumnPopoverActionItem.js +1 -2
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -2
- package/src/sap/m/ColumnPopoverItem.js +1 -2
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -2
- package/src/sap/m/ComboBox.js +4 -3
- package/src/sap/m/ComboBoxBase.js +3 -4
- package/src/sap/m/ComboBoxTextField.js +4 -3
- package/src/sap/m/CustomAttribute.js +53 -0
- package/src/sap/m/CustomDynamicDateOption.js +1 -2
- package/src/sap/m/CustomListItem.js +24 -21
- package/src/sap/m/CustomTile.js +19 -16
- package/src/sap/m/CustomTreeItem.js +4 -3
- package/src/sap/m/DatePicker.js +148 -143
- package/src/sap/m/DateRangeSelection.js +45 -40
- package/src/sap/m/DateTimeField.js +11 -8
- package/src/sap/m/DateTimeInput.js +147 -142
- package/src/sap/m/DateTimePicker.js +83 -75
- package/src/sap/m/DateTimePickerRenderer.js +1 -1
- package/src/sap/m/Dialog.js +10 -7
- package/src/sap/m/DisplayListItem.js +23 -20
- package/src/sap/m/DraftIndicator.js +4 -3
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateFormat.js +4 -3
- package/src/sap/m/DynamicDateOption.js +1 -2
- package/src/sap/m/DynamicDateRange.js +11 -10
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -2
- package/src/sap/m/ExpandableText.js +4 -3
- package/src/sap/m/FacetFilter.js +112 -110
- package/src/sap/m/FacetFilterItem.js +27 -24
- package/src/sap/m/FacetFilterList.js +131 -132
- package/src/sap/m/FeedContent.js +4 -3
- package/src/sap/m/FeedInput.js +136 -133
- package/src/sap/m/FeedListItem.js +9 -6
- package/src/sap/m/FeedListItemAction.js +1 -2
- package/src/sap/m/FeedListItemRenderer.js +3 -3
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +96 -93
- package/src/sap/m/FlexItemData.js +1 -2
- package/src/sap/m/FormattedText.js +4 -3
- package/src/sap/m/GenericTag.js +5 -4
- package/src/sap/m/GenericTile.js +65 -22
- package/src/sap/m/GenericTileLineModeRenderer.js +3 -3
- package/src/sap/m/GenericTileRenderer.js +36 -10
- package/src/sap/m/GroupHeaderListItem.js +35 -32
- package/src/sap/m/GrowingEnablement.js +23 -25
- package/src/sap/m/GrowingList.js +35 -32
- package/src/sap/m/HBox.js +9 -6
- package/src/sap/m/HeaderContainer.js +44 -43
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +232 -229
- package/src/sap/m/IconTabBarDragAndDropUtil.js +5 -4
- package/src/sap/m/IconTabBarSelectList.js +28 -25
- package/src/sap/m/IconTabFilter.js +1 -2
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -2
- package/src/sap/m/IconTabHeader.js +152 -166
- package/src/sap/m/IconTabSeparator.js +1 -2
- package/src/sap/m/IllustratedMessage.js +38 -3
- package/src/sap/m/IllustratedMessageSize.js +0 -1
- package/src/sap/m/IllustratedMessageType.js +0 -1
- package/src/sap/m/Illustration.js +11 -3
- package/src/sap/m/IllustrationPool.js +1 -1
- package/src/sap/m/IllustrationRenderer.js +1 -0
- package/src/sap/m/Image.js +270 -197
- package/src/sap/m/ImageContent.js +4 -3
- package/src/sap/m/ImageRenderer.js +66 -2
- package/src/sap/m/Input.js +375 -367
- package/src/sap/m/InputBase.js +143 -140
- package/src/sap/m/InputBaseRenderer.js +3 -3
- package/src/sap/m/InputListItem.js +26 -23
- package/src/sap/m/InputRenderer.js +4 -4
- package/src/sap/m/InstanceManager.js +6 -6
- package/src/sap/m/Label.js +110 -106
- package/src/sap/m/LightBox.js +5 -6
- package/src/sap/m/LightBoxItem.js +1 -2
- package/src/sap/m/Link.js +182 -179
- package/src/sap/m/LinkRenderer.js +5 -1
- package/src/sap/m/List.js +15 -12
- package/src/sap/m/ListBase.js +452 -458
- package/src/sap/m/ListItemBase.js +116 -107
- package/src/sap/m/ListItemBaseRenderer.js +1 -1
- package/src/sap/m/MaskEnabler.js +5 -5
- package/src/sap/m/MaskInput.js +4 -3
- package/src/sap/m/MaskInputRule.js +1 -2
- package/src/sap/m/Menu.js +1 -2
- package/src/sap/m/MenuButton.js +142 -135
- package/src/sap/m/MenuItem.js +1 -2
- package/src/sap/m/MenuListItem.js +49 -46
- package/src/sap/m/MessageItem.js +1 -2
- package/src/sap/m/MessageListItem.js +4 -3
- package/src/sap/m/MessagePage.js +124 -121
- package/src/sap/m/MessagePopover.js +6 -6
- package/src/sap/m/MessagePopoverItem.js +1 -2
- package/src/sap/m/MessageStrip.js +4 -3
- package/src/sap/m/MessageToast.js +6 -5
- package/src/sap/m/MessageView.js +6 -5
- package/src/sap/m/MultiComboBox.js +84 -87
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +4 -3
- package/src/sap/m/NavContainer.js +6 -15
- package/src/sap/m/NewsContent.js +4 -3
- package/src/sap/m/NotificationList.js +4 -3
- package/src/sap/m/NotificationListBase.js +5 -7
- package/src/sap/m/NotificationListGroup.js +4 -3
- package/src/sap/m/NotificationListItem.js +4 -12
- package/src/sap/m/NumericContent.js +8 -6
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/NumericInputRenderer.js +3 -3
- package/src/sap/m/ObjectAttribute.js +77 -74
- package/src/sap/m/ObjectAttributeRenderer.js +3 -3
- package/src/sap/m/ObjectHeader.js +385 -380
- package/src/sap/m/ObjectHeaderRenderer.js +4 -3
- package/src/sap/m/ObjectIdentifier.js +111 -103
- package/src/sap/m/ObjectListItem.js +150 -145
- package/src/sap/m/ObjectMarker.js +4 -3
- package/src/sap/m/ObjectNumber.js +90 -87
- package/src/sap/m/ObjectStatus.js +84 -81
- package/src/sap/m/OverflowToolbar.js +4 -3
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +0 -5
- package/src/sap/m/OverflowToolbarButton.js +2 -3
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -2
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -2
- package/src/sap/m/P13nAnyFilterItem.js +1 -2
- package/src/sap/m/P13nColumnsItem.js +1 -2
- package/src/sap/m/P13nColumnsPanel.js +4 -5
- package/src/sap/m/P13nConditionPanel.js +1 -2
- package/src/sap/m/P13nDialog.js +1 -2
- package/src/sap/m/P13nDimMeasureItem.js +1 -2
- package/src/sap/m/P13nDimMeasurePanel.js +6 -5
- package/src/sap/m/P13nFilterItem.js +1 -2
- package/src/sap/m/P13nFilterPanel.js +1 -2
- package/src/sap/m/P13nGroupItem.js +1 -2
- package/src/sap/m/P13nGroupPanel.js +1 -2
- package/src/sap/m/P13nItem.js +1 -2
- package/src/sap/m/P13nPanel.js +1 -2
- package/src/sap/m/P13nSelectionItem.js +1 -2
- package/src/sap/m/P13nSelectionPanel.js +1 -2
- package/src/sap/m/P13nSortItem.js +1 -2
- package/src/sap/m/P13nSortPanel.js +1 -2
- package/src/sap/m/PDFViewer.js +8 -5
- package/src/sap/m/Page.js +9 -7
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -2
- package/src/sap/m/PagingButton.js +4 -4
- package/src/sap/m/Panel.js +117 -113
- package/src/sap/m/PlanningCalendar.js +6 -7
- package/src/sap/m/PlanningCalendarHeader.js +135 -129
- package/src/sap/m/PlanningCalendarLegend.js +26 -23
- package/src/sap/m/PlanningCalendarRow.js +1 -2
- package/src/sap/m/PlanningCalendarView.js +1 -2
- package/src/sap/m/Popover.js +15 -16
- package/src/sap/m/PopoverRenderer.js +5 -4
- package/src/sap/m/ProgressIndicator.js +85 -82
- package/src/sap/m/ProgressIndicatorRenderer.js +1 -1
- package/src/sap/m/PullToRefresh.js +37 -35
- package/src/sap/m/QuickView.js +1 -2
- package/src/sap/m/QuickViewBase.js +1 -2
- package/src/sap/m/QuickViewCard.js +4 -3
- package/src/sap/m/QuickViewGroup.js +1 -2
- package/src/sap/m/QuickViewGroupElement.js +1 -2
- package/src/sap/m/QuickViewPage.js +1 -2
- package/src/sap/m/RadioButton.js +117 -114
- package/src/sap/m/RadioButtonGroup.js +90 -95
- package/src/sap/m/RangeSlider.js +9 -6
- package/src/sap/m/RangeSliderRenderer.js +2 -2
- package/src/sap/m/RatingIndicator.js +104 -100
- package/src/sap/m/RatingIndicatorRenderer.js +3 -5
- package/src/sap/m/ResponsivePopover.js +209 -209
- package/src/sap/m/ResponsiveScale.js +1 -2
- package/src/sap/m/ScrollBar.js +31 -28
- package/src/sap/m/ScrollContainer.js +9 -7
- package/src/sap/m/SearchField.js +185 -182
- package/src/sap/m/SearchFieldRenderer.js +1 -0
- package/src/sap/m/SegmentedButton.js +120 -118
- package/src/sap/m/SegmentedButtonItem.js +1 -2
- package/src/sap/m/Select.js +23 -10
- package/src/sap/m/SelectDialog.js +22 -17
- package/src/sap/m/SelectDialogBase.js +1 -2
- package/src/sap/m/SelectList.js +4 -3
- package/src/sap/m/SelectionDetails.js +97 -92
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -2
- package/src/sap/m/SelectionDetailsItemLine.js +1 -2
- package/src/sap/m/Shell.js +111 -107
- package/src/sap/m/SimpleFixFlex.js +5 -5
- package/src/sap/m/SinglePlanningCalendar.js +344 -340
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +25 -10
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +8 -7
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +16 -7
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +15 -15
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +5 -4
- package/src/sap/m/SlideTile.js +10 -7
- package/src/sap/m/Slider.js +180 -175
- package/src/sap/m/SliderRenderer.js +4 -4
- package/src/sap/m/SliderTooltip.js +5 -5
- package/src/sap/m/SliderTooltipBase.js +4 -3
- package/src/sap/m/SliderTooltipContainer.js +10 -6
- package/src/sap/m/SplitApp.js +52 -49
- package/src/sap/m/SplitButton.js +103 -96
- package/src/sap/m/SplitContainer.js +407 -422
- package/src/sap/m/StandardDynamicDateOption.js +1 -2
- package/src/sap/m/StandardListItem.js +116 -113
- package/src/sap/m/StandardTile.js +64 -61
- package/src/sap/m/StandardTreeItem.js +20 -17
- package/src/sap/m/StepInput.js +4 -3
- package/src/sap/m/SuggestionItem.js +1 -2
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +79 -74
- package/src/sap/m/SwitchRenderer.js +3 -3
- package/src/sap/m/TabContainer.js +4 -3
- package/src/sap/m/TabContainerItem.js +1 -2
- package/src/sap/m/TabStrip.js +13 -11
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +177 -174
- package/src/sap/m/TablePersoController.js +6 -5
- package/src/sap/m/TablePersoDialog.js +6 -4
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +1 -1
- package/src/sap/m/TableSelectDialog.js +1 -3
- package/src/sap/m/Text.js +4 -3
- package/src/sap/m/TextArea.js +87 -84
- package/src/sap/m/Tile.js +20 -17
- package/src/sap/m/TileContainer.js +73 -73
- package/src/sap/m/TileContent.js +57 -6
- package/src/sap/m/TimePicker.js +17 -12
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClocks.js +4 -2
- package/src/sap/m/TimePickerClocksRenderer.js +3 -1
- package/src/sap/m/TimePickerInputs.js +4 -2
- package/src/sap/m/TimePickerInternals.js +11 -7
- package/src/sap/m/TimePickerSlider.js +5 -4
- package/src/sap/m/TimePickerSliders.js +11 -7
- package/src/sap/m/TimePickerSlidersRenderer.js +2 -2
- package/src/sap/m/Title.js +109 -106
- package/src/sap/m/TitlePropagationSupport.js +4 -4
- package/src/sap/m/ToDoCardRenderer.js +161 -0
- package/src/sap/m/ToggleButton.js +29 -26
- package/src/sap/m/Token.js +97 -94
- package/src/sap/m/Tokenizer.js +153 -150
- package/src/sap/m/Toolbar.js +104 -101
- package/src/sap/m/ToolbarLayoutData.js +1 -2
- package/src/sap/m/ToolbarSeparator.js +11 -8
- package/src/sap/m/ToolbarSpacer.js +16 -13
- package/src/sap/m/Tree.js +32 -29
- package/src/sap/m/TreeItemBase.js +8 -5
- package/src/sap/m/TreeItemBaseRenderer.js +3 -3
- package/src/sap/m/UploadCollection.js +8 -5
- package/src/sap/m/UploadCollectionItem.js +1 -2
- package/src/sap/m/UploadCollectionParameter.js +1 -2
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -2
- package/src/sap/m/VBox.js +9 -6
- package/src/sap/m/ValueStateHeader.js +1 -2
- package/src/sap/m/VariantItem.js +6 -1
- package/src/sap/m/VariantManagement.js +79 -8
- package/src/sap/m/ViewSettingsCustomItem.js +1 -2
- package/src/sap/m/ViewSettingsCustomTab.js +1 -2
- package/src/sap/m/ViewSettingsDialog.js +189 -188
- package/src/sap/m/ViewSettingsFilterItem.js +1 -2
- package/src/sap/m/ViewSettingsItem.js +1 -2
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +5 -4
- package/src/sap/m/WheelSliderContainer.js +4 -2
- package/src/sap/m/WheelSliderContainerRenderer.js +2 -2
- package/src/sap/m/Wizard.js +13 -3
- package/src/sap/m/WizardProgressNavigator.js +52 -49
- package/src/sap/m/WizardStep.js +6 -3
- package/src/sap/m/_thirdparty/purify.js +1622 -0
- 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 +4 -3
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/library.js +40 -116
- package/src/sap/m/messagebundle.properties +22 -10
- package/src/sap/m/messagebundle_ar.properties +20 -6
- package/src/sap/m/messagebundle_bg.properties +19 -5
- package/src/sap/m/messagebundle_ca.properties +19 -5
- package/src/sap/m/messagebundle_cs.properties +30 -16
- package/src/sap/m/messagebundle_cy.properties +19 -5
- package/src/sap/m/messagebundle_da.properties +19 -5
- package/src/sap/m/messagebundle_de.properties +20 -6
- package/src/sap/m/messagebundle_el.properties +19 -5
- package/src/sap/m/messagebundle_en.properties +18 -4
- package/src/sap/m/messagebundle_en_GB.properties +18 -4
- package/src/sap/m/messagebundle_en_US_sappsd.properties +19 -3
- package/src/sap/m/messagebundle_en_US_saprigi.properties +23 -9
- package/src/sap/m/messagebundle_en_US_saptrc.properties +16 -2
- package/src/sap/m/messagebundle_es.properties +19 -5
- package/src/sap/m/messagebundle_es_MX.properties +19 -5
- package/src/sap/m/messagebundle_et.properties +19 -5
- package/src/sap/m/messagebundle_fi.properties +19 -5
- package/src/sap/m/messagebundle_fr.properties +20 -6
- package/src/sap/m/messagebundle_fr_CA.properties +20 -6
- package/src/sap/m/messagebundle_hi.properties +19 -5
- package/src/sap/m/messagebundle_hr.properties +20 -6
- package/src/sap/m/messagebundle_hu.properties +19 -5
- package/src/sap/m/messagebundle_id.properties +19 -5
- package/src/sap/m/messagebundle_it.properties +20 -6
- package/src/sap/m/messagebundle_iw.properties +19 -5
- package/src/sap/m/messagebundle_ja.properties +19 -5
- package/src/sap/m/messagebundle_kk.properties +19 -5
- package/src/sap/m/messagebundle_ko.properties +20 -6
- package/src/sap/m/messagebundle_lt.properties +20 -6
- package/src/sap/m/messagebundle_lv.properties +19 -5
- package/src/sap/m/messagebundle_ms.properties +19 -5
- package/src/sap/m/messagebundle_nl.properties +19 -5
- package/src/sap/m/messagebundle_no.properties +19 -5
- package/src/sap/m/messagebundle_pl.properties +19 -5
- package/src/sap/m/messagebundle_pt.properties +19 -5
- package/src/sap/m/messagebundle_pt_PT.properties +19 -5
- package/src/sap/m/messagebundle_ro.properties +19 -5
- package/src/sap/m/messagebundle_ru.properties +19 -5
- package/src/sap/m/messagebundle_sh.properties +20 -6
- package/src/sap/m/messagebundle_sk.properties +19 -5
- package/src/sap/m/messagebundle_sl.properties +20 -6
- package/src/sap/m/messagebundle_sv.properties +19 -5
- package/src/sap/m/messagebundle_th.properties +19 -5
- package/src/sap/m/messagebundle_tr.properties +19 -5
- package/src/sap/m/messagebundle_uk.properties +19 -5
- package/src/sap/m/messagebundle_vi.properties +19 -5
- package/src/sap/m/messagebundle_zh_CN.properties +19 -5
- package/src/sap/m/messagebundle_zh_TW.properties +19 -5
- 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 +21 -7
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +84 -79
- package/src/sap/m/p13n/GroupController.js +3 -4
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/MetadataHelper.js +8 -0
- 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 +8 -7
- package/src/sap/m/p13n/SelectionPanel.js +37 -15
- package/src/sap/m/p13n/SortController.js +3 -4
- package/src/sap/m/p13n/SortPanel.js +3 -3
- 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 +11 -0
- 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/plugins/CellSelector.js +459 -76
- package/src/sap/m/plugins/ColumnResizer.js +1 -2
- package/src/sap/m/plugins/DataStateIndicator.js +1 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -2
- package/src/sap/m/plugins/PluginBase.js +1 -2
- package/src/sap/m/rules/CheckBox.support.js +1 -1
- package/src/sap/m/rules/Image.support.js +1 -1
- package/src/sap/m/rules/Link.support.js +1 -1
- package/src/sap/m/rules/MessagePage.support.js +1 -1
- package/src/sap/m/rules/ObjectHeader.support.js +6 -6
- package/src/sap/m/rules/ObjectListItem.support.js +1 -1
- package/src/sap/m/rules/ObjectMarker.support.js +1 -1
- package/src/sap/m/rules/ObjectStatus.support.js +1 -1
- package/src/sap/m/rules/Panel.support.js +1 -1
- package/src/sap/m/rules/Select.support.js +1 -1
- package/src/sap/m/rules/Table.support.js +3 -3
- package/src/sap/m/semantic/AddAction.js +1 -2
- package/src/sap/m/semantic/CancelAction.js +1 -2
- package/src/sap/m/semantic/DeleteAction.js +1 -2
- package/src/sap/m/semantic/DetailPage.js +1 -2
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -2
- package/src/sap/m/semantic/EditAction.js +1 -2
- package/src/sap/m/semantic/FavoriteAction.js +1 -2
- package/src/sap/m/semantic/FilterAction.js +1 -2
- package/src/sap/m/semantic/FilterSelect.js +1 -2
- package/src/sap/m/semantic/FlagAction.js +1 -2
- package/src/sap/m/semantic/ForwardAction.js +1 -2
- package/src/sap/m/semantic/FullscreenPage.js +1 -2
- package/src/sap/m/semantic/GroupAction.js +1 -2
- package/src/sap/m/semantic/GroupSelect.js +1 -2
- package/src/sap/m/semantic/MainAction.js +1 -2
- package/src/sap/m/semantic/MasterPage.js +1 -2
- package/src/sap/m/semantic/MessagesIndicator.js +1 -2
- package/src/sap/m/semantic/MultiSelectAction.js +1 -2
- package/src/sap/m/semantic/NegativeAction.js +1 -2
- package/src/sap/m/semantic/OpenInAction.js +1 -2
- package/src/sap/m/semantic/PositiveAction.js +1 -2
- package/src/sap/m/semantic/PrintAction.js +1 -2
- package/src/sap/m/semantic/SaveAction.js +1 -2
- package/src/sap/m/semantic/Segment.js +1 -2
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -2
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -2
- package/src/sap/m/semantic/SemanticControl.js +1 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -2
- package/src/sap/m/semantic/SemanticPage.js +4 -3
- package/src/sap/m/semantic/SemanticSelect.js +1 -2
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -2
- package/src/sap/m/semantic/SendEmailAction.js +1 -2
- package/src/sap/m/semantic/SendMessageAction.js +1 -2
- package/src/sap/m/semantic/ShareInJamAction.js +1 -2
- package/src/sap/m/semantic/ShareMenu.js +1 -2
- package/src/sap/m/semantic/ShareMenuPage.js +1 -2
- package/src/sap/m/semantic/SortAction.js +1 -2
- package/src/sap/m/semantic/SortSelect.js +1 -2
- package/src/sap/m/table/Util.js +17 -5
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -1
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +2 -2
- package/src/sap/m/table/columnmenu/ItemContainer.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +64 -22
- package/src/sap/m/table/columnmenu/QuickAction.js +16 -8
- package/src/sap/m/table/columnmenu/QuickActionBase.js +19 -4
- package/src/sap/m/table/columnmenu/QuickActionContainer.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +5 -6
- package/src/sap/m/table/columnmenu/QuickGroup.js +9 -3
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +6 -4
- package/src/sap/m/table/columnmenu/QuickSortItem.js +11 -12
- package/src/sap/m/table/columnmenu/QuickTotal.js +9 -3
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/ActionTile.less +239 -0
- package/src/sap/m/themes/base/Bar.less +6 -0
- package/src/sap/m/themes/base/Carousel.less +8 -8
- package/src/sap/m/themes/base/CellSelector.less +109 -2
- package/src/sap/m/themes/base/DisplayListItem.less +3 -3
- package/src/sap/m/themes/base/GenericTile.less +7 -0
- package/src/sap/m/themes/base/IconTabBar.less +2 -0
- package/src/sap/m/themes/base/Link.less +4 -0
- package/src/sap/m/themes/base/Page.less +2 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/UploadSet.js +295 -13
- package/src/sap/m/upload/UploadSetItem.js +1 -2
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/Uploader.js +0 -1
- package/src/sap/m/upload/UploaderHttpRequestMethod.js +0 -1
|
@@ -102,7 +102,7 @@ function(
|
|
|
102
102
|
* @extends sap.ui.core.Control
|
|
103
103
|
*
|
|
104
104
|
* @author SAP SE
|
|
105
|
-
* @version 1.
|
|
105
|
+
* @version 1.107.0
|
|
106
106
|
*
|
|
107
107
|
* @constructor
|
|
108
108
|
* @public
|
|
@@ -110,365 +110,369 @@ function(
|
|
|
110
110
|
* @alias sap.m.SinglePlanningCalendar
|
|
111
111
|
*/
|
|
112
112
|
|
|
113
|
-
var SinglePlanningCalendar = Control.extend("sap.m.SinglePlanningCalendar", /** @lends sap.m.SinglePlanningCalendar.prototype */ {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
aggregations : {
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* The controls to be passed to the toolbar.
|
|
222
|
-
*/
|
|
223
|
-
actions : {
|
|
224
|
-
type : "sap.ui.core.Control",
|
|
225
|
-
multiple: true,
|
|
226
|
-
singularName: "action",
|
|
227
|
-
forwarding: {
|
|
228
|
-
getter: "_getHeader",
|
|
229
|
-
aggregation: "actions"
|
|
230
|
-
}
|
|
113
|
+
var SinglePlanningCalendar = Control.extend("sap.m.SinglePlanningCalendar", /** @lends sap.m.SinglePlanningCalendar.prototype */ {
|
|
114
|
+
metadata : {
|
|
115
|
+
|
|
116
|
+
library : "sap.m",
|
|
117
|
+
|
|
118
|
+
properties : {
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Determines the title of the <code>SinglePlanningCalendar</code>.
|
|
122
|
+
*/
|
|
123
|
+
title: { type : "string", group : "Appearance", defaultValue : "" },
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Determines the start date of the grid, as a JavaScript date object. It is considered as a local date.
|
|
127
|
+
* The time part will be ignored. The current date is used as default.
|
|
128
|
+
*/
|
|
129
|
+
startDate: { type : "object", group : "Data" },
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Determines the start hour of the grid to be shown if the <code>fullDay</code> property is set to
|
|
133
|
+
* <code>false</code>. Otherwise the previous hours are displayed as non-working. The passed hour is
|
|
134
|
+
* considered as 24-hour based.
|
|
135
|
+
*/
|
|
136
|
+
startHour: {type: "int", group: "Data", defaultValue: 0},
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Determines the end hour of the grid to be shown if the <code>fullDay</code> property is set to
|
|
140
|
+
* <code>false</code>. Otherwise the next hours are displayed as non-working. The passed hour is
|
|
141
|
+
* considered as 24-hour based.
|
|
142
|
+
*/
|
|
143
|
+
endHour: {type: "int", group: "Data", defaultValue: 24},
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Determines if all of the hours in a day are displayed. If set to <code>false</code>, the hours shown are
|
|
147
|
+
* between the <code>startHour</code> and <code>endHour</code>.
|
|
148
|
+
*/
|
|
149
|
+
fullDay: {type: "boolean", group: "Data", defaultValue: true},
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Determines which part of the control will remain fixed at the top of the page during vertical scrolling
|
|
153
|
+
* as long as the control is in the viewport.
|
|
154
|
+
*
|
|
155
|
+
* <b>Note:</b> Limited browser support. Browsers which do not support this feature:
|
|
156
|
+
* <ul>
|
|
157
|
+
* <li>Microsoft Internet Explorer</li>
|
|
158
|
+
* <li>Microsoft Edge lower than version 41 (EdgeHTML 16)</li>
|
|
159
|
+
* <li>Mozilla Firefox lower than version 59</li>
|
|
160
|
+
* </ul>
|
|
161
|
+
*
|
|
162
|
+
* @since 1.62
|
|
163
|
+
*/
|
|
164
|
+
stickyMode: {type: "sap.m.PlanningCalendarStickyMode", group: "Behavior", defaultValue: PlanningCalendarStickyMode.None},
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Determines scale factor for the appointments.
|
|
168
|
+
*
|
|
169
|
+
* Acceptable range is from 1 to 6.
|
|
170
|
+
* @since 1.99
|
|
171
|
+
*/
|
|
172
|
+
scaleFactor: {type: "float", group: "Data", defaultValue: 1},
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Determines whether the appointments in the grid are draggable.
|
|
177
|
+
*
|
|
178
|
+
* The drag and drop interaction is visualized by a placeholder highlighting the area where the
|
|
179
|
+
* appointment can be dropped by the user.
|
|
180
|
+
*
|
|
181
|
+
* @since 1.64
|
|
182
|
+
*/
|
|
183
|
+
enableAppointmentsDragAndDrop: { type: "boolean", group: "Misc", defaultValue: false },
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Determines whether the appointments are resizable.
|
|
187
|
+
*
|
|
188
|
+
* The resize interaction is visualized by making the appointment transparent.
|
|
189
|
+
*
|
|
190
|
+
* The appointment snaps on every interval
|
|
191
|
+
* of 30 minutes. After the resize is finished, the {@link #event:appointmentResize appointmentResize} event is fired, containing
|
|
192
|
+
* the new start and end JavaScript date objects.
|
|
193
|
+
*
|
|
194
|
+
* @since 1.65
|
|
195
|
+
*/
|
|
196
|
+
enableAppointmentsResize: { type: "boolean", group: "Misc", defaultValue: false },
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Determines whether the appointments can be created by dragging on empty cells.
|
|
200
|
+
*
|
|
201
|
+
* See {@link #property:enableAppointmentsResize enableAppointmentsResize} for the specific points for events snapping
|
|
202
|
+
*
|
|
203
|
+
* @since 1.65
|
|
204
|
+
*/
|
|
205
|
+
enableAppointmentsCreate: { type: "boolean", group: "Misc", defaultValue: false },
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* If set, the first day of the displayed week is this day. Valid values are 0 to 6 starting on Sunday.
|
|
209
|
+
* If there is no valid value set, the default of the used locale is used.
|
|
210
|
+
*
|
|
211
|
+
* Note: This property will only have effect in Week view and Month view of the SinglePlanningCalendar,
|
|
212
|
+
* but it wouldn't have effect in WorkWeek view.
|
|
213
|
+
*
|
|
214
|
+
* @since 1.98
|
|
215
|
+
*/
|
|
216
|
+
firstDayOfWeek : {type : "int", group : "Appearance", defaultValue : -1}
|
|
231
217
|
},
|
|
232
218
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
219
|
+
aggregations : {
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* The controls to be passed to the toolbar.
|
|
223
|
+
*/
|
|
224
|
+
actions : {
|
|
225
|
+
type : "sap.ui.core.Control",
|
|
226
|
+
multiple: true,
|
|
227
|
+
singularName: "action",
|
|
228
|
+
forwarding: {
|
|
229
|
+
getter: "_getHeader",
|
|
230
|
+
aggregation: "actions"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* The appointments to be displayed in the grid. Appointments outside the visible time frame are not rendered.
|
|
236
|
+
* Appointments, longer than a day, will be displayed in all of the affected days.
|
|
237
|
+
* To display an all-day appointment, the appointment must start at 00:00 and end on any day in the future in 00:00h.
|
|
238
|
+
*
|
|
239
|
+
* Note: The <code>customContent</code> functionality of the <code>CalendarAppointment</code> is not available
|
|
240
|
+
* in the <code>SinglePlanningCalendar</code>. If set, it will not make any effect.
|
|
241
|
+
*/
|
|
242
|
+
appointments : {
|
|
243
|
+
type: "sap.ui.unified.CalendarAppointment",
|
|
244
|
+
multiple: true,
|
|
245
|
+
singularName: "appointment",
|
|
246
|
+
forwarding: {
|
|
247
|
+
getter: "_getCurrentGrid",
|
|
248
|
+
aggregation: "appointments"
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Views of the <code>SinglePlanningCalendar</code>.
|
|
254
|
+
*
|
|
255
|
+
* <b>Note:</b> If not set, the Week view is available.
|
|
256
|
+
*/
|
|
257
|
+
views : {type : "sap.m.SinglePlanningCalendarView", multiple : true, singularName : "view"},
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Special days in the header visualized as a date range with type.
|
|
261
|
+
*
|
|
262
|
+
* <b>Note:</b> If one day is assigned to more than one type, only the first type is used.
|
|
263
|
+
* @since 1.66
|
|
264
|
+
*/
|
|
265
|
+
specialDates : {type : "sap.ui.unified.DateTypeRange",
|
|
266
|
+
multiple : true,
|
|
267
|
+
singularName : "specialDate",
|
|
268
|
+
forwarding: {
|
|
269
|
+
getter: "_getCurrentGrid",
|
|
270
|
+
aggregation: "specialDates"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* The header part of the <code>SinglePlanningCalendar</code>.
|
|
276
|
+
*
|
|
277
|
+
* @private
|
|
278
|
+
*/
|
|
279
|
+
_header : { type : "sap.m.PlanningCalendarHeader", multiple : false, visibility : "hidden" },
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* The grid part of the <code>SinglePlanningCalendar</code>.
|
|
283
|
+
*
|
|
284
|
+
* @private
|
|
285
|
+
*/
|
|
286
|
+
_grid: { type: "sap.ui.core.Control", multiple: false, visibility: "hidden" },
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* The grid part of the <code>SinglePlanningCalendar</code>.
|
|
290
|
+
*
|
|
291
|
+
* @private
|
|
292
|
+
*/
|
|
293
|
+
_mvgrid: { type: "sap.ui.core.Control", multiple: false, visibility: "hidden" }
|
|
250
294
|
|
|
251
|
-
/**
|
|
252
|
-
* Views of the <code>SinglePlanningCalendar</code>.
|
|
253
|
-
*
|
|
254
|
-
* <b>Note:</b> If not set, the Week view is available.
|
|
255
|
-
*/
|
|
256
|
-
views : {type : "sap.m.SinglePlanningCalendarView", multiple : true, singularName : "view"},
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* Special days in the header visualized as a date range with type.
|
|
260
|
-
*
|
|
261
|
-
* <b>Note:</b> If one day is assigned to more than one type, only the first type is used.
|
|
262
|
-
* @since 1.66
|
|
263
|
-
*/
|
|
264
|
-
specialDates : {type : "sap.ui.unified.DateTypeRange",
|
|
265
|
-
multiple : true,
|
|
266
|
-
singularName : "specialDate",
|
|
267
|
-
forwarding: {
|
|
268
|
-
getter: "_getCurrentGrid",
|
|
269
|
-
aggregation: "specialDates"
|
|
270
|
-
}
|
|
271
295
|
},
|
|
272
296
|
|
|
273
|
-
|
|
274
|
-
* The header part of the <code>SinglePlanningCalendar</code>.
|
|
275
|
-
*
|
|
276
|
-
* @private
|
|
277
|
-
*/
|
|
278
|
-
_header : { type : "sap.m.PlanningCalendarHeader", multiple : false, visibility : "hidden" },
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* The grid part of the <code>SinglePlanningCalendar</code>.
|
|
282
|
-
*
|
|
283
|
-
* @private
|
|
284
|
-
*/
|
|
285
|
-
_grid: { type: "sap.ui.core.Control", multiple: false, visibility: "hidden" },
|
|
286
|
-
|
|
287
|
-
/**
|
|
288
|
-
* The grid part of the <code>SinglePlanningCalendar</code>.
|
|
289
|
-
*
|
|
290
|
-
* @private
|
|
291
|
-
*/
|
|
292
|
-
_mvgrid: { type: "sap.ui.core.Control", multiple: false, visibility: "hidden" }
|
|
293
|
-
|
|
294
|
-
},
|
|
297
|
+
associations: {
|
|
295
298
|
|
|
296
|
-
|
|
299
|
+
/**
|
|
300
|
+
* Corresponds to the currently selected view.
|
|
301
|
+
*/
|
|
302
|
+
selectedView: { type: "sap.m.SinglePlanningCalendarView", multiple: false },
|
|
297
303
|
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
304
|
+
/**
|
|
305
|
+
* Association to the <code>PlanningCalendarLegend</code> explaining the colors of the <code>Appointments</code>.
|
|
306
|
+
*
|
|
307
|
+
* <b>Note:</b> The legend does not have to be rendered but must exist and all required types must be assigned.
|
|
308
|
+
* @since 1.65.0
|
|
309
|
+
*/
|
|
310
|
+
legend: { type: "sap.m.PlanningCalendarLegend", multiple: false}
|
|
302
311
|
|
|
303
|
-
/**
|
|
304
|
-
* Association to the <code>PlanningCalendarLegend</code> explaining the colors of the <code>Appointments</code>.
|
|
305
|
-
*
|
|
306
|
-
* <b>Note:</b> The legend does not have to be rendered but must exist and all required types must be assigned.
|
|
307
|
-
* @since 1.65.0
|
|
308
|
-
*/
|
|
309
|
-
legend: { type: "sap.m.PlanningCalendarLegend", multiple: false}
|
|
310
|
-
|
|
311
|
-
},
|
|
312
|
-
|
|
313
|
-
events: {
|
|
314
|
-
|
|
315
|
-
/**
|
|
316
|
-
* Fired when the selected state of an appointment is changed.
|
|
317
|
-
*/
|
|
318
|
-
appointmentSelect: {
|
|
319
|
-
parameters: {
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* The appointment on which the event was triggered.
|
|
323
|
-
*/
|
|
324
|
-
appointment: {type: "sap.ui.unified.CalendarAppointment"},
|
|
325
|
-
/**
|
|
326
|
-
* All appointments with changed selected state.
|
|
327
|
-
* @since 1.67.0
|
|
328
|
-
*/
|
|
329
|
-
appointments : {type : "sap.ui.unified.CalendarAppointment[]"}
|
|
330
|
-
|
|
331
|
-
}
|
|
332
312
|
},
|
|
333
313
|
|
|
334
|
-
|
|
335
|
-
* Fired if an appointment is dropped.
|
|
336
|
-
* @since 1.64
|
|
337
|
-
*/
|
|
338
|
-
appointmentDrop : {
|
|
339
|
-
parameters : {
|
|
340
|
-
/**
|
|
341
|
-
* The dropped appointment.
|
|
342
|
-
*/
|
|
343
|
-
appointment : {type : "sap.ui.unified.CalendarAppointment"},
|
|
344
|
-
|
|
345
|
-
/**
|
|
346
|
-
* Start date of the dropped appointment, as a JavaScript date object.
|
|
347
|
-
*/
|
|
348
|
-
startDate : {type : "object"},
|
|
349
|
-
|
|
350
|
-
/**
|
|
351
|
-
* Dropped appointment end date as a JavaScript date object.
|
|
352
|
-
*/
|
|
353
|
-
endDate : {type : "object"},
|
|
354
|
-
|
|
355
|
-
/**
|
|
356
|
-
* The drop type. If true - it's "Copy", if false - it's "Move".
|
|
357
|
-
*/
|
|
358
|
-
copy : {type : "boolean"}
|
|
359
|
-
}
|
|
360
|
-
},
|
|
314
|
+
events: {
|
|
361
315
|
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
parameters: {
|
|
368
|
-
/**
|
|
369
|
-
* The resized appointment.
|
|
370
|
-
*/
|
|
371
|
-
appointment: { type: "sap.ui.unified.CalendarAppointment" },
|
|
372
|
-
|
|
373
|
-
/**
|
|
374
|
-
* Start date of the resized appointment, as a JavaScript date object.
|
|
375
|
-
*/
|
|
376
|
-
startDate: { type: "object" },
|
|
377
|
-
|
|
378
|
-
/**
|
|
379
|
-
* End date of the resized appointment, as a JavaScript date object.
|
|
380
|
-
*/
|
|
381
|
-
endDate: { type: "object" }
|
|
382
|
-
}
|
|
383
|
-
},
|
|
316
|
+
/**
|
|
317
|
+
* Fired when the selected state of an appointment is changed.
|
|
318
|
+
*/
|
|
319
|
+
appointmentSelect: {
|
|
320
|
+
parameters: {
|
|
384
321
|
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
startDate: {type: "object"},
|
|
395
|
-
|
|
396
|
-
/**
|
|
397
|
-
* End date of the created appointment, as a JavaScript date object.
|
|
398
|
-
*/
|
|
399
|
-
endDate: {type: "object"}
|
|
400
|
-
}
|
|
401
|
-
},
|
|
322
|
+
/**
|
|
323
|
+
* The appointment on which the event was triggered.
|
|
324
|
+
*/
|
|
325
|
+
appointment: {type: "sap.ui.unified.CalendarAppointment"},
|
|
326
|
+
/**
|
|
327
|
+
* All appointments with changed selected state.
|
|
328
|
+
* @since 1.67.0
|
|
329
|
+
*/
|
|
330
|
+
appointments : {type : "sap.ui.unified.CalendarAppointment[]"}
|
|
402
331
|
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Fired if an appointment is dropped.
|
|
337
|
+
* @since 1.64
|
|
338
|
+
*/
|
|
339
|
+
appointmentDrop : {
|
|
340
|
+
parameters : {
|
|
341
|
+
/**
|
|
342
|
+
* The dropped appointment.
|
|
343
|
+
*/
|
|
344
|
+
appointment : {type : "sap.ui.unified.CalendarAppointment"},
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Start date of the dropped appointment, as a JavaScript date object.
|
|
348
|
+
*/
|
|
349
|
+
startDate : {type : "object"},
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Dropped appointment end date as a JavaScript date object.
|
|
353
|
+
*/
|
|
354
|
+
endDate : {type : "object"},
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* The drop type. If true - it's "Copy", if false - it's "Move".
|
|
358
|
+
*/
|
|
359
|
+
copy : {type : "boolean"}
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* Fired when an appointment is resized.
|
|
365
|
+
* @since 1.65
|
|
366
|
+
*/
|
|
367
|
+
appointmentResize: {
|
|
368
|
+
parameters: {
|
|
369
|
+
/**
|
|
370
|
+
* The resized appointment.
|
|
371
|
+
*/
|
|
372
|
+
appointment: { type: "sap.ui.unified.CalendarAppointment" },
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* Start date of the resized appointment, as a JavaScript date object.
|
|
376
|
+
*/
|
|
377
|
+
startDate: { type: "object" },
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* End date of the resized appointment, as a JavaScript date object.
|
|
381
|
+
*/
|
|
382
|
+
endDate: { type: "object" }
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Fired if an appointment is created.
|
|
388
|
+
* @since 1.65
|
|
389
|
+
*/
|
|
390
|
+
appointmentCreate: {
|
|
391
|
+
parameters: {
|
|
392
|
+
/**
|
|
393
|
+
* Start date of the created appointment, as a JavaScript date object.
|
|
394
|
+
*/
|
|
395
|
+
startDate: {type: "object"},
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* End date of the created appointment, as a JavaScript date object.
|
|
399
|
+
*/
|
|
400
|
+
endDate: {type: "object"}
|
|
401
|
+
}
|
|
402
|
+
},
|
|
408
403
|
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
404
|
+
/**
|
|
405
|
+
* Fired if a date is selected in the calendar header.
|
|
406
|
+
*/
|
|
407
|
+
headerDateSelect: {
|
|
408
|
+
parameters: {
|
|
413
409
|
|
|
414
|
-
|
|
415
|
-
|
|
410
|
+
/**
|
|
411
|
+
* Date of the selected header, as a JavaScript date object. It is considered as a local date.
|
|
412
|
+
*/
|
|
413
|
+
date: {type: "object"}
|
|
416
414
|
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
*/
|
|
420
|
-
startDateChange: {
|
|
421
|
-
parameters: {
|
|
415
|
+
}
|
|
416
|
+
},
|
|
422
417
|
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
418
|
+
/**
|
|
419
|
+
* <code>startDate</code> is changed while navigating in the <code>SinglePlanningCalendar</code>.
|
|
420
|
+
*/
|
|
421
|
+
startDateChange: {
|
|
422
|
+
parameters: {
|
|
427
423
|
|
|
428
|
-
|
|
429
|
-
|
|
424
|
+
/**
|
|
425
|
+
* The new start date, as a JavaScript date object. It is considered as a local date.
|
|
426
|
+
*/
|
|
427
|
+
date: {type: "object"}
|
|
430
428
|
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* Fired when a grid cell is pressed.
|
|
434
|
+
* @since 1.65
|
|
435
|
+
*/
|
|
436
|
+
cellPress: {
|
|
437
|
+
parameters: {
|
|
438
|
+
/**
|
|
439
|
+
* The start date as a JavaScript date object of the focused grid cell.
|
|
440
|
+
*/
|
|
441
|
+
startDate: {type: "object"},
|
|
442
|
+
/**
|
|
443
|
+
* The end date as a JavaScript date object of the focused grid cell.
|
|
444
|
+
*/
|
|
445
|
+
endDate: {type: "object"}
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Fired when a 'more' button is pressed.
|
|
451
|
+
* <b>Note:</b> The 'more' button appears in a month view cell
|
|
452
|
+
* when multiple appointments exist and the available space
|
|
453
|
+
* is not sufficient to display all of them.
|
|
454
|
+
*/
|
|
455
|
+
moreLinkPress: {
|
|
456
|
+
parameters: {
|
|
457
|
+
/**
|
|
458
|
+
* The date as a JavaScript date object of the cell with the
|
|
459
|
+
* pressed more link.
|
|
460
|
+
*/
|
|
461
|
+
date: { type: "object" }
|
|
462
|
+
}
|
|
463
|
+
},
|
|
447
464
|
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
moreLinkPress: {
|
|
455
|
-
parameters: {
|
|
456
|
-
/**
|
|
457
|
-
* The date as a JavaScript date object of the cell with the
|
|
458
|
-
* pressed more link.
|
|
459
|
-
*/
|
|
460
|
-
date: { type: "object" }
|
|
461
|
-
}
|
|
462
|
-
},
|
|
465
|
+
/**
|
|
466
|
+
* The view was changed by user interaction.
|
|
467
|
+
* @since 1.71.0
|
|
468
|
+
*/
|
|
469
|
+
viewChange : {}
|
|
470
|
+
}
|
|
463
471
|
|
|
464
|
-
|
|
465
|
-
* The view was changed by user interaction.
|
|
466
|
-
* @since 1.71.0
|
|
467
|
-
*/
|
|
468
|
-
viewChange : {}
|
|
469
|
-
}
|
|
472
|
+
},
|
|
470
473
|
|
|
471
|
-
|
|
474
|
+
renderer: SinglePlanningCalendarRenderer
|
|
475
|
+
});
|
|
472
476
|
|
|
473
477
|
SinglePlanningCalendar.prototype.init = function() {
|
|
474
478
|
var sOPCId = this.getId();
|
|
@@ -1004,11 +1008,11 @@ function(
|
|
|
1004
1008
|
};
|
|
1005
1009
|
|
|
1006
1010
|
/**
|
|
1007
|
-
* Finds the view object by given key
|
|
1011
|
+
* Finds the view object by given key.
|
|
1008
1012
|
* @param {string} sKey The key of the view
|
|
1009
1013
|
* @public
|
|
1010
1014
|
* @since 1.75
|
|
1011
|
-
* @returns {sap.m.SinglePlanningCalendarView} the view object which matched the given <code>sKey</code>, or null if there is no such view
|
|
1015
|
+
* @returns {sap.m.SinglePlanningCalendarView|null} the view object which matched the given <code>sKey</code>, or <code>null</code> if there is no such view
|
|
1012
1016
|
*/
|
|
1013
1017
|
SinglePlanningCalendar.prototype.getViewByKey = function (sKey) {
|
|
1014
1018
|
var aViews = this.getViews(),
|