@openui5/sap.m 1.95.0 → 1.96.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 +10 -5
- package/THIRDPARTY.txt +17 -8
- package/package.json +4 -4
- package/src/sap/m/.library +1 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +1 -1
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/Breadcrumbs.js +1 -1
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/Carousel.js +1 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +1 -1
- package/src/sap/m/ColorPalette.js +7 -11
- package/src/sap/m/ColorPalettePopover.js +1 -6
- package/src/sap/m/Column.js +6 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- package/src/sap/m/ColumnPopoverActionItem.js +1 -1
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
- package/src/sap/m/ColumnPopoverItem.js +1 -1
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +1 -1
- package/src/sap/m/ComboBoxBase.js +1 -1
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/CustomDynamicDateOption.js +9 -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 +6 -9
- package/src/sap/m/DateRangeSelection.js +6 -9
- package/src/sap/m/DateTimeField.js +1 -1
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +6 -9
- package/src/sap/m/Dialog.js +16 -37
- 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 +3 -2
- package/src/sap/m/DynamicDateRange.js +7 -4
- package/src/sap/m/DynamicDateUtil.js +6 -3
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +1 -1
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +1 -1
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +1 -1
- package/src/sap/m/FlexItemData.js +1 -1
- package/src/sap/m/FormattedText.js +1 -1
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +215 -56
- package/src/sap/m/GenericTileRenderer.js +218 -83
- 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 +7 -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 +13 -4
- package/src/sap/m/IconTabSeparator.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 +17 -7
- package/src/sap/m/InputBase.js +4 -2
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +1 -1
- package/src/sap/m/ListItemBase.js +2 -2
- package/src/sap/m/MaskEnabler.js +106 -4
- package/src/sap/m/MaskInput.js +19 -4
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +8 -6
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +1 -1
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +1 -1
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +7 -3
- package/src/sap/m/MessageStripRenderer.js +2 -2
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +333 -114
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +3 -3
- package/src/sap/m/NavContainer.js +13 -5
- package/src/sap/m/NewsContent.js +19 -10
- package/src/sap/m/NewsContentRenderer.js +1 -2
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericContentRenderer.js +34 -17
- package/src/sap/m/ObjectAttribute.js +46 -5
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/ObjectStatusRenderer.js +4 -1
- package/src/sap/m/OverflowToolbar.js +3 -5
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +4 -2
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/P13nAnyFilterItem.js +1 -1
- package/src/sap/m/P13nColumnsItem.js +1 -1
- package/src/sap/m/P13nColumnsPanel.js +3 -3
- package/src/sap/m/P13nConditionPanel.js +22 -52
- package/src/sap/m/P13nDialog.js +1 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +3 -3
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +1 -3
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +1 -3
- 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 -3
- package/src/sap/m/PDFViewer.js +1 -1
- package/src/sap/m/Page.js +1 -1
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +1 -1
- package/src/sap/m/PlanningCalendar.js +46 -31
- package/src/sap/m/PlanningCalendarHeader.js +1 -6
- package/src/sap/m/PlanningCalendarLegend.js +1 -6
- package/src/sap/m/PlanningCalendarLegendRenderer.js +0 -5
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +1 -6
- package/src/sap/m/Popover.js +1 -1
- package/src/sap/m/PopoverRenderer.js +3 -2
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +1 -1
- package/src/sap/m/QuickViewBase.js +1 -1
- package/src/sap/m/QuickViewCard.js +1 -1
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +1 -1
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +1 -1
- package/src/sap/m/RangeSlider.js +1 -1
- package/src/sap/m/RatingIndicator.js +1 -1
- package/src/sap/m/ResponsivePopover.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +2 -33
- package/src/sap/m/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/SegmentedButtonRenderer.js +6 -0
- package/src/sap/m/Select.js +3 -4
- package/src/sap/m/SelectDialog.js +1 -1
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectRenderer.js +10 -1
- package/src/sap/m/SelectionDetails.js +7 -9
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +8 -4
- 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 +7 -10
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -6
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +17 -7
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -6
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +4 -6
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -6
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -6
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -6
- package/src/sap/m/SlideTile.js +31 -3
- package/src/sap/m/SlideTileRenderer.js +9 -0
- 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 +5 -1
- package/src/sap/m/SplitContainer.js +10 -4
- package/src/sap/m/StandardDynamicDateOption.js +6 -3
- package/src/sap/m/StandardListItem.js +11 -18
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +7 -9
- package/src/sap/m/SuggestionItem.js +1 -7
- package/src/sap/m/SuggestionsPopover.js +44 -1
- package/src/sap/m/Switch.js +9 -1
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +1 -1
- package/src/sap/m/TablePersoController.js +1 -1
- package/src/sap/m/TablePersoDialog.js +1 -1
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableSelectDialog.js +1 -1
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +22 -4
- package/src/sap/m/TileContentRenderer.js +73 -5
- 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 +2 -1
- package/src/sap/m/Toolbar.js +1 -1
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/UploadCollection.js +1 -6
- 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 -1
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardProgressNavigatorRenderer.js +3 -2
- 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 +24 -15
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/delegate/DateNavigation.js +4 -5
- package/src/sap/m/designtime/IconTabBar.designtime.js +4 -1
- package/src/sap/m/designtime/MenuButton.designtime.js +3 -0
- package/src/sap/m/designtime/messagebundle_ar.properties +3 -3
- package/src/sap/m/designtime/messagebundle_bg.properties +3 -3
- package/src/sap/m/designtime/messagebundle_ca.properties +3 -3
- package/src/sap/m/designtime/messagebundle_cs.properties +3 -3
- package/src/sap/m/designtime/messagebundle_cy.properties +3 -3
- package/src/sap/m/designtime/messagebundle_da.properties +3 -3
- package/src/sap/m/designtime/messagebundle_de.properties +5 -5
- package/src/sap/m/designtime/messagebundle_el.properties +3 -3
- package/src/sap/m/designtime/messagebundle_en_US_saprigi.properties +6 -0
- package/src/sap/m/designtime/messagebundle_es.properties +3 -3
- package/src/sap/m/designtime/messagebundle_es_MX.properties +3 -3
- package/src/sap/m/designtime/messagebundle_et.properties +3 -3
- package/src/sap/m/designtime/messagebundle_fi.properties +3 -3
- package/src/sap/m/designtime/messagebundle_fr.properties +3 -3
- package/src/sap/m/designtime/messagebundle_fr_CA.properties +3 -3
- package/src/sap/m/designtime/messagebundle_hi.properties +3 -3
- package/src/sap/m/designtime/messagebundle_hr.properties +3 -3
- package/src/sap/m/designtime/messagebundle_hu.properties +3 -3
- package/src/sap/m/designtime/messagebundle_id.properties +3 -3
- package/src/sap/m/designtime/messagebundle_it.properties +3 -3
- package/src/sap/m/designtime/messagebundle_iw.properties +3 -3
- package/src/sap/m/designtime/messagebundle_ja.properties +3 -3
- package/src/sap/m/designtime/messagebundle_kk.properties +3 -3
- package/src/sap/m/designtime/messagebundle_ko.properties +3 -3
- package/src/sap/m/designtime/messagebundle_lt.properties +3 -3
- package/src/sap/m/designtime/messagebundle_lv.properties +3 -3
- package/src/sap/m/designtime/messagebundle_ms.properties +3 -3
- package/src/sap/m/designtime/messagebundle_nl.properties +3 -3
- package/src/sap/m/designtime/messagebundle_no.properties +3 -3
- package/src/sap/m/designtime/messagebundle_pl.properties +3 -3
- package/src/sap/m/designtime/messagebundle_pt.properties +3 -3
- package/src/sap/m/designtime/messagebundle_pt_PT.properties +3 -3
- package/src/sap/m/designtime/messagebundle_ro.properties +3 -3
- package/src/sap/m/designtime/messagebundle_ru.properties +3 -3
- package/src/sap/m/designtime/messagebundle_sh.properties +3 -3
- package/src/sap/m/designtime/messagebundle_sk.properties +3 -3
- package/src/sap/m/designtime/messagebundle_sl.properties +3 -3
- package/src/sap/m/designtime/messagebundle_sv.properties +3 -3
- package/src/sap/m/designtime/messagebundle_th.properties +3 -3
- package/src/sap/m/designtime/messagebundle_tr.properties +3 -3
- package/src/sap/m/designtime/messagebundle_uk.properties +3 -3
- package/src/sap/m/designtime/messagebundle_vi.properties +3 -3
- package/src/sap/m/designtime/messagebundle_zh_CN.properties +3 -3
- package/src/sap/m/designtime/messagebundle_zh_TW.properties +3 -3
- package/src/sap/m/flexibility/MenuButton.flexibility.js +1 -0
- package/src/sap/m/inputUtils/ListHelpers.js +16 -3
- package/src/sap/m/library.js +58 -31
- package/src/sap/m/messagebundle.properties +47 -3
- package/src/sap/m/messagebundle_ar.properties +5 -3
- package/src/sap/m/messagebundle_bg.properties +5 -3
- package/src/sap/m/messagebundle_ca.properties +5 -3
- package/src/sap/m/messagebundle_cs.properties +5 -3
- package/src/sap/m/messagebundle_cy.properties +5 -3
- package/src/sap/m/messagebundle_da.properties +5 -3
- package/src/sap/m/messagebundle_de.properties +5 -3
- package/src/sap/m/messagebundle_el.properties +5 -3
- package/src/sap/m/messagebundle_en.properties +2 -0
- package/src/sap/m/messagebundle_en_GB.properties +3 -1
- package/src/sap/m/messagebundle_en_US_sappsd.properties +17 -1
- package/src/sap/m/messagebundle_en_US_saprigi.properties +39 -3
- package/src/sap/m/messagebundle_en_US_saptrc.properties +3 -1
- package/src/sap/m/messagebundle_es.properties +5 -3
- package/src/sap/m/messagebundle_es_MX.properties +5 -3
- package/src/sap/m/messagebundle_et.properties +5 -3
- package/src/sap/m/messagebundle_fi.properties +5 -3
- package/src/sap/m/messagebundle_fr.properties +10 -8
- package/src/sap/m/messagebundle_fr_CA.properties +6 -4
- package/src/sap/m/messagebundle_hi.properties +5 -3
- package/src/sap/m/messagebundle_hr.properties +5 -3
- package/src/sap/m/messagebundle_hu.properties +5 -3
- package/src/sap/m/messagebundle_id.properties +5 -3
- package/src/sap/m/messagebundle_it.properties +5 -3
- package/src/sap/m/messagebundle_iw.properties +5 -3
- package/src/sap/m/messagebundle_ja.properties +5 -3
- package/src/sap/m/messagebundle_kk.properties +5 -3
- package/src/sap/m/messagebundle_ko.properties +5 -3
- package/src/sap/m/messagebundle_lt.properties +5 -3
- package/src/sap/m/messagebundle_lv.properties +5 -3
- package/src/sap/m/messagebundle_ms.properties +5 -3
- package/src/sap/m/messagebundle_nl.properties +5 -3
- package/src/sap/m/messagebundle_no.properties +5 -3
- package/src/sap/m/messagebundle_pl.properties +5 -3
- package/src/sap/m/messagebundle_pt.properties +5 -3
- package/src/sap/m/messagebundle_pt_PT.properties +5 -3
- package/src/sap/m/messagebundle_ro.properties +5 -3
- package/src/sap/m/messagebundle_ru.properties +5 -3
- package/src/sap/m/messagebundle_sh.properties +5 -3
- package/src/sap/m/messagebundle_sk.properties +5 -3
- package/src/sap/m/messagebundle_sl.properties +5 -3
- package/src/sap/m/messagebundle_sv.properties +5 -3
- package/src/sap/m/messagebundle_th.properties +5 -3
- package/src/sap/m/messagebundle_tr.properties +5 -3
- package/src/sap/m/messagebundle_uk.properties +5 -3
- package/src/sap/m/messagebundle_vi.properties +5 -3
- package/src/sap/m/messagebundle_zh_CN.properties +5 -3
- package/src/sap/m/messagebundle_zh_TW.properties +5 -3
- package/src/sap/m/p13n/AbstractContainer.js +243 -0
- package/src/sap/m/p13n/AbstractContainerItem.js +94 -0
- package/src/sap/m/p13n/BasePanel.js +643 -0
- package/src/sap/m/p13n/Container.js +239 -0
- package/src/sap/m/p13n/GroupPanel.js +119 -0
- package/src/sap/m/p13n/QueryPanel.js +312 -0
- package/src/sap/m/p13n/SelectionPanel.js +403 -0
- package/src/sap/m/p13n/SortPanel.js +139 -0
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- package/src/sap/m/plugins/DataStateIndicator.js +1 -1
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/routing/TargetHandler.js +9 -4
- 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 +3 -5
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +1 -1
- package/src/sap/m/semantic/ShareMenuPage.js +1 -1
- package/src/sap/m/semantic/SortAction.js +1 -1
- package/src/sap/m/semantic/SortSelect.js +1 -1
- package/src/sap/m/table/Util.js +192 -0
- package/src/sap/m/themes/base/AbstractContainer.less +17 -0
- package/src/sap/m/themes/base/Carousel.less +37 -2
- package/src/sap/m/themes/base/Dialog.less +11 -5
- package/src/sap/m/themes/base/GenericTile.less +386 -17
- package/src/sap/m/themes/base/IconTabBar.less +13 -7
- package/src/sap/m/themes/base/IconTabBarSelectList.less +4 -2
- package/src/sap/m/themes/base/InputBase.less +0 -24
- package/src/sap/m/themes/base/Label.less +6 -0
- package/src/sap/m/themes/base/ListItemBase.less +4 -2
- package/src/sap/m/themes/base/MultiComboBox.less +17 -0
- package/src/sap/m/themes/base/NewsContent.less +7 -1
- package/src/sap/m/themes/base/NotificationListBase.less +1 -1
- package/src/sap/m/themes/base/NumericContent.less +87 -0
- package/src/sap/m/themes/base/ObjectNumber.less +10 -2
- package/src/sap/m/themes/base/ObjectStatus.less +5 -1
- package/src/sap/m/themes/base/P13nContainer.less +17 -0
- package/src/sap/m/themes/base/P13nDialog.less +4 -0
- package/src/sap/m/themes/base/SearchField.less +21 -14
- package/src/sap/m/themes/base/SegmentedButton.less +1 -1
- package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +1 -2
- package/src/sap/m/themes/base/SlideTile.less +15 -0
- package/src/sap/m/themes/base/StandardListItem.less +1 -1
- package/src/sap/m/themes/base/Table.less +9 -8
- package/src/sap/m/themes/base/Text.less +6 -0
- package/src/sap/m/themes/base/TileContent.less +4 -0
- package/src/sap/m/themes/base/Token.less +0 -3
- package/src/sap/m/themes/base/library.source.less +4 -0
- package/src/sap/m/themes/base/p13n.Container.less +17 -0
- package/src/sap/m/themes/base/p13n.QueryPanel.less +7 -0
- package/src/sap/m/themes/base/p13n.SelectionPanel.less +32 -0
- package/src/sap/m/themes/sap_hcb/InputBase.less +25 -0
- package/src/sap/m/upload/UploadSet.js +14 -18
- package/src/sap/m/upload/UploadSetItem.js +7 -2
- package/ui5.yaml +4 -1
- package/src/sap/m/ios7.js +0 -199
|
@@ -4,11 +4,6 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
// Ensure that sap.ui.unified is loaded before the module dependencies will be required.
|
|
8
|
-
// Loading it synchronously is the only compatible option and doesn't harm when sap.ui.unified
|
|
9
|
-
// already has been loaded asynchronously (e.g. via a dependency declared in the manifest)
|
|
10
|
-
sap.ui.getCore().loadLibrary("sap.ui.unified");
|
|
11
|
-
|
|
12
7
|
//Provides control sap.m.PlanningCalendar.
|
|
13
8
|
sap.ui.define([
|
|
14
9
|
'sap/m/delegate/DateNavigation',
|
|
@@ -166,11 +161,13 @@ sap.ui.define([
|
|
|
166
161
|
* a whole week/month. The available navigation allows the user to select a specific interval using a picker, or
|
|
167
162
|
* move to the previous/next interval using arrows.
|
|
168
163
|
*
|
|
169
|
-
* <b>Note:</b> The
|
|
164
|
+
* <b>Note:</b> The application developer should add dependency to <code>sap.ui.unified</code> library
|
|
165
|
+
* on application level to ensure that the library is loaded before the module dependencies will be required.
|
|
166
|
+
* The <code>PlanningCalendar</code> uses parts of the <code>sap.ui.unified</code> library.
|
|
170
167
|
* This library will be loaded after the <code>PlanningCalendar</code>, if it wasn't loaded first.
|
|
171
|
-
* This could lead to
|
|
168
|
+
* This could lead to CSP compliance issues and adds an additional waiting time when a <code>PlanningCalendar</code> is used for the first time.
|
|
172
169
|
* To prevent this, apps that use the <code>PlanningCalendar</code> should also load the
|
|
173
|
-
* <code>sap.ui.unified</code> library.
|
|
170
|
+
* <code>sap.ui.unified</code> library in advance.
|
|
174
171
|
*
|
|
175
172
|
* <h3>Usage</h3>
|
|
176
173
|
*
|
|
@@ -201,7 +198,7 @@ sap.ui.define([
|
|
|
201
198
|
* {@link sap.m.PlanningCalendarView PlanningCalendarView}'s properties.
|
|
202
199
|
*
|
|
203
200
|
* @extends sap.ui.core.Control
|
|
204
|
-
* @version 1.
|
|
201
|
+
* @version 1.96.0
|
|
205
202
|
*
|
|
206
203
|
* @constructor
|
|
207
204
|
* @public
|
|
@@ -301,7 +298,7 @@ sap.ui.define([
|
|
|
301
298
|
appointmentHeight: { type: "sap.ui.unified.CalendarAppointmentHeight", group: "Appearance", defaultValue: CalendarAppointmentHeight.Regular },
|
|
302
299
|
|
|
303
300
|
/**
|
|
304
|
-
* Defines rounding of the width <code>CalendarAppoinment
|
|
301
|
+
* Defines rounding of the width <code>CalendarAppoinment</code>
|
|
305
302
|
* <b>Note:</b> This property is applied, when the calendar interval type is day and the view shows more than 20 days
|
|
306
303
|
* @experimental Since 1.81.0
|
|
307
304
|
* @since 1.81.0
|
|
@@ -991,6 +988,7 @@ sap.ui.define([
|
|
|
991
988
|
break;
|
|
992
989
|
|
|
993
990
|
case CalendarIntervalType.OneMonth:
|
|
991
|
+
case "OneMonth":
|
|
994
992
|
oDateFormat = DateFormat.getDateInstance({format: "yMMMM"});
|
|
995
993
|
sBeginningResult = oDateFormat.format(oStartDate);
|
|
996
994
|
break;
|
|
@@ -1105,7 +1103,7 @@ sap.ui.define([
|
|
|
1105
1103
|
*/
|
|
1106
1104
|
PlanningCalendar.prototype.getVisibleIntervalsCount = function () {
|
|
1107
1105
|
var sViewKey = this.getViewKey();
|
|
1108
|
-
if (sViewKey === CalendarIntervalType.OneMonth && this._iSize < 2) {
|
|
1106
|
+
if ((sViewKey === CalendarIntervalType.OneMonth || sViewKey === "OneMonth") && this._iSize < 2) {
|
|
1109
1107
|
var oFirstVisibleDate = CalendarUtils.getFirstDateOfWeek(this.getStartDate()),
|
|
1110
1108
|
oFirstDateInLastWeek = CalendarUtils.getFirstDateOfWeek(this._dateNav.getEnd()),
|
|
1111
1109
|
oLastVisibleDate = new Date(oFirstDateInLastWeek.getTime());
|
|
@@ -1375,13 +1373,13 @@ sap.ui.define([
|
|
|
1375
1373
|
|
|
1376
1374
|
// in OneMonth view there is selection,
|
|
1377
1375
|
// start date of the rows should match the selected date
|
|
1378
|
-
if (this.getViewKey() === PlanningCalendarBuiltInView.OneMonth && this._oOneMonthsRow.getMode() < 2 && this._oOneMonthsRow.getSelectedDates().length) {
|
|
1376
|
+
if ((this.getViewKey() === PlanningCalendarBuiltInView.OneMonth || this.getViewKey() === "OneMonth") && this._oOneMonthsRow.getMode() < 2 && this._oOneMonthsRow.getSelectedDates().length) {
|
|
1379
1377
|
this._setRowsStartDate(this._oOneMonthsRow.getSelectedDates()[0].getStartDate());
|
|
1380
1378
|
} else {
|
|
1381
1379
|
this._setRowsStartDate(new Date(oStartDate.getTime()));
|
|
1382
1380
|
}
|
|
1383
1381
|
|
|
1384
|
-
if (this.getViewKey() === PlanningCalendarBuiltInView.Week || this.getViewKey() === PlanningCalendarBuiltInView.OneMonth) {
|
|
1382
|
+
if (this.getViewKey() === PlanningCalendarBuiltInView.Week || this.getViewKey() === PlanningCalendarBuiltInView.OneMonth || this.getViewKey() === "OneMonth") {
|
|
1385
1383
|
this._updateTodayButtonState();
|
|
1386
1384
|
}
|
|
1387
1385
|
|
|
@@ -1603,6 +1601,7 @@ sap.ui.define([
|
|
|
1603
1601
|
case CalendarIntervalType.Day:
|
|
1604
1602
|
case CalendarIntervalType.Week:
|
|
1605
1603
|
case CalendarIntervalType.OneMonth:
|
|
1604
|
+
case "OneMonth":
|
|
1606
1605
|
//Date, Week and OneMonth intervals share the same object artifacts
|
|
1607
1606
|
oIntervalMetadata = INTERVAL_METADATA[sIntervalType];
|
|
1608
1607
|
oInterval = this[oIntervalMetadata.sInstanceName];
|
|
@@ -1621,7 +1620,7 @@ sap.ui.define([
|
|
|
1621
1620
|
oInterval.attachEvent("select", this._handleCalendarSelect, this);
|
|
1622
1621
|
oInterval.attachEvent("focus", this._handleFocus, this);
|
|
1623
1622
|
|
|
1624
|
-
if (sKey === PlanningCalendarBuiltInView.OneMonth) {
|
|
1623
|
+
if (sKey === PlanningCalendarBuiltInView.OneMonth || sKey === "OneMonth") {
|
|
1625
1624
|
oInterval._setRowsStartDate = this._setRowsStartDate.bind(this);
|
|
1626
1625
|
}
|
|
1627
1626
|
|
|
@@ -1638,7 +1637,7 @@ sap.ui.define([
|
|
|
1638
1637
|
}
|
|
1639
1638
|
this._insertInterval(oInterval);
|
|
1640
1639
|
this[oIntervalMetadata.sInstanceName] = oInterval;
|
|
1641
|
-
if (sIntervalType === CalendarIntervalType.OneMonth) {
|
|
1640
|
+
if ((sIntervalType === CalendarIntervalType.OneMonth || sIntervalType === "OneMonth")) {
|
|
1642
1641
|
oAssociation = oHeader.getAggregation("_monthPicker") ? oHeader.getAggregation("_monthPicker") : oHeader._oPopup.getContent()[0];
|
|
1643
1642
|
oHeader.setAssociation("currentPicker", oAssociation);
|
|
1644
1643
|
oAssociation.addDelegate(MONTH_PICKER_DELEGATE, oAssociation);
|
|
@@ -1723,7 +1722,7 @@ sap.ui.define([
|
|
|
1723
1722
|
this._updatePickerSelection();
|
|
1724
1723
|
}
|
|
1725
1724
|
|
|
1726
|
-
if (sKey === PlanningCalendarBuiltInView.Week || sKey === PlanningCalendarBuiltInView.OneMonth || sKey === PlanningCalendarBuiltInView.Month) {
|
|
1725
|
+
if (sKey === PlanningCalendarBuiltInView.Week || sKey === PlanningCalendarBuiltInView.OneMonth || sKey === PlanningCalendarBuiltInView.Month || sKey === "OneMonth") {
|
|
1727
1726
|
oOldStartDate = this.getStartDate();
|
|
1728
1727
|
this.setStartDate(new Date(oOldStartDate.getTime())); //make sure the start date is aligned according to the week/month rules
|
|
1729
1728
|
if (oOldStartDate.getTime() !== this.getStartDate().getTime()) {
|
|
@@ -1731,7 +1730,7 @@ sap.ui.define([
|
|
|
1731
1730
|
}
|
|
1732
1731
|
}
|
|
1733
1732
|
|
|
1734
|
-
if (this._oOneMonthsRow && sKey === PlanningCalendarBuiltInView.OneMonth) {
|
|
1733
|
+
if (this._oOneMonthsRow && (sKey === PlanningCalendarBuiltInView.OneMonth || sKey === "OneMonth")) {
|
|
1735
1734
|
this._oOneMonthsRow.setMode(this._iSize);
|
|
1736
1735
|
this._oOldStartDate = new Date(this.getStartDate().getTime());
|
|
1737
1736
|
this._adjustSelectedDate(CalendarDate.fromLocalJSDate(oOldStartDate));
|
|
@@ -1739,7 +1738,7 @@ sap.ui.define([
|
|
|
1739
1738
|
this._setRowsStartDate(oOldStartDate);
|
|
1740
1739
|
}
|
|
1741
1740
|
} else if (this._oOneMonthsRow
|
|
1742
|
-
&& sOldViewKey === PlanningCalendarBuiltInView.OneMonth
|
|
1741
|
+
&& (sOldViewKey === PlanningCalendarBuiltInView.OneMonth || sOldViewKey === "OneMonth")
|
|
1743
1742
|
&& this._oOneMonthsRow.getSelectedDates().length) {
|
|
1744
1743
|
oSelectedDate = this._oOneMonthsRow.getSelectedDates()[0].getStartDate();
|
|
1745
1744
|
if (oSelectedDate) {
|
|
@@ -1892,7 +1891,7 @@ sap.ui.define([
|
|
|
1892
1891
|
oStartDate.setTime(oLocalDate.getTime());
|
|
1893
1892
|
}
|
|
1894
1893
|
|
|
1895
|
-
if ((this.getViewKey() === PlanningCalendarBuiltInView.OneMonth || this.getViewKey() === PlanningCalendarBuiltInView.Month)) {
|
|
1894
|
+
if ((this.getViewKey() === PlanningCalendarBuiltInView.OneMonth || this.getViewKey() === PlanningCalendarBuiltInView.Month || this.getViewKey() === "OneMonth")) {
|
|
1896
1895
|
/*
|
|
1897
1896
|
* Have in mind that the oStartDate is the date that the user sees in the UI, thus - local one. As
|
|
1898
1897
|
* CalendarUtils.getFirstDateOfMonth works with UTC dates (this is because the dates are timezone irrelevant),
|
|
@@ -2200,7 +2199,7 @@ sap.ui.define([
|
|
|
2200
2199
|
PlanningCalendar.prototype._updateStickyHeader = function() {
|
|
2201
2200
|
var aStickyParts = [],
|
|
2202
2201
|
bStick = this.getStickyHeader(),
|
|
2203
|
-
bMobile1MonthView = this.getViewKey() === PlanningCalendarBuiltInView.OneMonth && this._iSize < 2,
|
|
2202
|
+
bMobile1MonthView = (this.getViewKey() === PlanningCalendarBuiltInView.OneMonth || this.getViewKey() === "OneMonth") && this._iSize < 2,
|
|
2204
2203
|
bStickyToolbar = bStick && !Device.system.phone && !bMobile1MonthView,
|
|
2205
2204
|
bStickyInfoToolbar = bStick && !(Device.system.phone && Device.orientation.landscape) && !bMobile1MonthView;
|
|
2206
2205
|
|
|
@@ -2439,6 +2438,7 @@ sap.ui.define([
|
|
|
2439
2438
|
}
|
|
2440
2439
|
break;
|
|
2441
2440
|
case CalendarIntervalType.OneMonth:
|
|
2441
|
+
case "OneMonth":
|
|
2442
2442
|
if (this._oOneMonthsRow) {
|
|
2443
2443
|
this._oOneMonthsRow.invalidate(arguments);
|
|
2444
2444
|
}
|
|
@@ -2724,6 +2724,7 @@ sap.ui.define([
|
|
|
2724
2724
|
case CalendarIntervalType.Day:
|
|
2725
2725
|
case CalendarIntervalType.Week:
|
|
2726
2726
|
case CalendarIntervalType.OneMonth:
|
|
2727
|
+
case "OneMonth":
|
|
2727
2728
|
iTime = 1800000;
|
|
2728
2729
|
iStartTime = oStartDate.getTime() - 3600000;
|
|
2729
2730
|
iEndTime = oStartDate.getTime() + iIntervals * 86400000;
|
|
@@ -2756,11 +2757,17 @@ sap.ui.define([
|
|
|
2756
2757
|
PlanningCalendar.prototype._handleTodayPress = function (oEvent) {
|
|
2757
2758
|
var oDate = new Date(),
|
|
2758
2759
|
oStartDate,
|
|
2759
|
-
sViewKey = this.getViewKey()
|
|
2760
|
+
sViewKey = this.getViewKey(),
|
|
2761
|
+
oFocusMonthDelegate = {
|
|
2762
|
+
onAfterRendering: function() {
|
|
2763
|
+
this._focusDate(CalendarDate.fromLocalJSDate(new Date()));
|
|
2764
|
+
this.removeDelegate(oFocusMonthDelegate);
|
|
2765
|
+
}
|
|
2766
|
+
};
|
|
2760
2767
|
|
|
2761
2768
|
// if the OneMonth view is selected and Today btn is pressed,
|
|
2762
2769
|
// the calendar should start from the 1st date of the current month
|
|
2763
|
-
if (sViewKey === PlanningCalendarBuiltInView.OneMonth) {
|
|
2770
|
+
if (sViewKey === PlanningCalendarBuiltInView.OneMonth || sViewKey === "OneMonth") {
|
|
2764
2771
|
oStartDate = CalendarUtils.getFirstDateOfMonth(CalendarUtils._createUniversalUTCDate(oDate, undefined, true));
|
|
2765
2772
|
this._adjustSelectedDate(CalendarDate.fromLocalJSDate(oDate));
|
|
2766
2773
|
|
|
@@ -2777,6 +2784,11 @@ sap.ui.define([
|
|
|
2777
2784
|
|
|
2778
2785
|
this.setStartDate(oDate);
|
|
2779
2786
|
this._dateNav.setCurrent(oDate);
|
|
2787
|
+
if (sViewKey === PlanningCalendarBuiltInView.Week) {
|
|
2788
|
+
this._oWeeksRow.addDelegate(oFocusMonthDelegate, this._oWeeksRow);
|
|
2789
|
+
} else if (sViewKey === PlanningCalendarBuiltInView.OneMonth || sViewKey === "OneMonth") {
|
|
2790
|
+
this._oOneMonthsRow.addDelegate(oFocusMonthDelegate, this._oOneMonthsRow);
|
|
2791
|
+
}
|
|
2780
2792
|
this._updatePickerSelection();
|
|
2781
2793
|
this.fireStartDateChange();
|
|
2782
2794
|
|
|
@@ -2869,7 +2881,7 @@ sap.ui.define([
|
|
|
2869
2881
|
// remove old selection
|
|
2870
2882
|
// unless the select acts as a picker, then the selection stays
|
|
2871
2883
|
// in OneMonth view smaller sizes
|
|
2872
|
-
if (sIntervalType !== CalendarIntervalType.OneMonth
|
|
2884
|
+
if ((sIntervalType !== CalendarIntervalType.OneMonth && sIntervalType !== "OneMonth")
|
|
2873
2885
|
|| this._iSize > 1) {
|
|
2874
2886
|
aSelectedDates[0].setStartDate();
|
|
2875
2887
|
}
|
|
@@ -2884,6 +2896,7 @@ sap.ui.define([
|
|
|
2884
2896
|
oEndDate.setUTCDate(oEndDate.getUTCDate() + 1);
|
|
2885
2897
|
break;
|
|
2886
2898
|
case CalendarIntervalType.OneMonth:
|
|
2899
|
+
case "OneMonth":
|
|
2887
2900
|
if (this._iSize < 2) { // change rows' startDate on S and M sizes
|
|
2888
2901
|
var oFocusedDate = new Date(oEvtSelectedStartDate.getTime());
|
|
2889
2902
|
if (CalendarUtils.monthsDiffer(this.getStartDate(), oEvtSelectedStartDate)) {
|
|
@@ -2923,7 +2936,7 @@ sap.ui.define([
|
|
|
2923
2936
|
var oView = this._getView(sKey);
|
|
2924
2937
|
var sIntervalType = oView.getIntervalType();
|
|
2925
2938
|
|
|
2926
|
-
if (sIntervalType === CalendarIntervalType.OneMonth
|
|
2939
|
+
if ((sIntervalType === CalendarIntervalType.OneMonth || sIntervalType === "OneMonth")
|
|
2927
2940
|
&& CalendarUtils._isNextMonth(oStartDate, this.getStartDate())) {
|
|
2928
2941
|
this.shiftToDate(oStartDate);
|
|
2929
2942
|
this._addMonthFocusDelegate(this._getRowInstanceByViewKey(this.getViewKey()));
|
|
@@ -3023,6 +3036,7 @@ sap.ui.define([
|
|
|
3023
3036
|
break;
|
|
3024
3037
|
|
|
3025
3038
|
case CalendarIntervalType.OneMonth:
|
|
3039
|
+
case "OneMonth":
|
|
3026
3040
|
if (this._oOneMonthsRow && this._oOneMonthsRow.getDays() != iIntervals) {
|
|
3027
3041
|
this._oOneMonthsRow.setDays(iIntervals);
|
|
3028
3042
|
this._dateNav.setStep(iIntervals * iIntervalSize);
|
|
@@ -3046,7 +3060,7 @@ sap.ui.define([
|
|
|
3046
3060
|
}
|
|
3047
3061
|
}
|
|
3048
3062
|
|
|
3049
|
-
if (this._oOneMonthsRow && this.getViewKey() === CalendarIntervalType.OneMonth) {
|
|
3063
|
+
if (this._oOneMonthsRow && (this.getViewKey() === CalendarIntervalType.OneMonth || this.getViewKey() === "OneMonth")) {
|
|
3050
3064
|
oSelectedDate = (this._getSelectedDates().length && this._getSelectedDates()[0].getStartDate()) ?
|
|
3051
3065
|
this._getSelectedDates()[0].getStartDate() : this.getStartDate();
|
|
3052
3066
|
this._oOneMonthsRow.setMode(this._iSize);
|
|
@@ -3194,6 +3208,7 @@ sap.ui.define([
|
|
|
3194
3208
|
}
|
|
3195
3209
|
return this._oViews[oViewType.Week];
|
|
3196
3210
|
case oViewType.OneMonth:
|
|
3211
|
+
case "OneMonth":
|
|
3197
3212
|
if (!this._oViews[oViewType.OneMonth]) {
|
|
3198
3213
|
this._oViews[oViewType.OneMonth] = new PlanningCalendarView(this.getId() + "-OneMonthView", {
|
|
3199
3214
|
key: oViewType.OneMonth,
|
|
@@ -3339,7 +3354,7 @@ sap.ui.define([
|
|
|
3339
3354
|
PlanningCalendar.prototype._updateRowTimeline = function (oRow) {
|
|
3340
3355
|
var oRowTimeline = getRowTimeline(oRow),
|
|
3341
3356
|
sKey, oView, sIntervalType, iIntervals, iIntervalSize,
|
|
3342
|
-
bMobile1MonthView = this.getViewKey() === PlanningCalendarBuiltInView.OneMonth && this._iSize < 2,
|
|
3357
|
+
bMobile1MonthView = (this.getViewKey() === PlanningCalendarBuiltInView.OneMonth || this.getViewKey() === "OneMonth") && this._iSize < 2,
|
|
3343
3358
|
oStartDate = this.getStartDate();
|
|
3344
3359
|
|
|
3345
3360
|
oRowTimeline.setNonWorkingDays(oRow.getNonWorkingDays());
|
|
@@ -3665,7 +3680,7 @@ sap.ui.define([
|
|
|
3665
3680
|
var aEmptyNonWorkDay = [];
|
|
3666
3681
|
return CalendarRowRenderer.renderInterval(oRm, oTimeline, iInterval, iWidth, aIntervalHeaders, aEmptyNonWorkDay, iStartOffset, iNonWorkingMax, aNonWorkingSubItems, iSubStartOffset, iNonWorkingSubMax, bFirstOfType, bLastOfType, sAdditionalNonWorkingClass);
|
|
3667
3682
|
}
|
|
3668
|
-
if (sIntervalType === CalendarIntervalType.Day || sIntervalType === CalendarIntervalType.Week || sIntervalType === CalendarIntervalType.OneMonth) {
|
|
3683
|
+
if (sIntervalType === CalendarIntervalType.Day || sIntervalType === CalendarIntervalType.Week || sIntervalType === CalendarIntervalType.OneMonth || sIntervalType === "OneMonth") {
|
|
3669
3684
|
var oRow = getRow(oTimeline.getParent()),
|
|
3670
3685
|
oPC = oRow.getParent(),
|
|
3671
3686
|
fnNonWorkingFilter = function (oSpecialDate) {
|
|
@@ -3949,7 +3964,7 @@ sap.ui.define([
|
|
|
3949
3964
|
newPos = this._calcNewHoursAppPos(oRowStartDate, oAppointment.getStartDate(), oAppointment.getEndDate(), iIndex);
|
|
3950
3965
|
} else if (sIntervalType === CalendarIntervalType.Day
|
|
3951
3966
|
|| sIntervalType === CalendarIntervalType.Week
|
|
3952
|
-
|| (sIntervalType === CalendarIntervalType.OneMonth && !oTargetTimeline._isOneMonthsRowOnSmallSizes())) {
|
|
3967
|
+
|| ((sIntervalType === CalendarIntervalType.OneMonth || sIntervalType === "OneMonth") && !oTargetTimeline._isOneMonthsRowOnSmallSizes())) {
|
|
3953
3968
|
|
|
3954
3969
|
newPos = this._calcNewDaysAppPos(oRowStartDate, oAppointment.getStartDate(), oAppointment.getEndDate(), iIndex);
|
|
3955
3970
|
} else if (sIntervalType === CalendarIntervalType.Month) {
|
|
@@ -4002,7 +4017,7 @@ sap.ui.define([
|
|
|
4002
4017
|
newPos = this._calcNewHoursAppPos(oRowStartDate, oAppointment.getStartDate(), oAppointment.getEndDate(), iIndex);
|
|
4003
4018
|
} else if (sIntervalType === CalendarIntervalType.Day
|
|
4004
4019
|
|| sIntervalType === CalendarIntervalType.Week
|
|
4005
|
-
|| (sIntervalType === CalendarIntervalType.OneMonth && !oTargetTimeline._isOneMonthsRowOnSmallSizes())) {
|
|
4020
|
+
|| ((sIntervalType === CalendarIntervalType.OneMonth || sIntervalType === "OneMonth") && !oTargetTimeline._isOneMonthsRowOnSmallSizes())) {
|
|
4006
4021
|
|
|
4007
4022
|
newPos = this._calcNewDaysAppPos(oRowStartDate, oAppointment.getStartDate(), oAppointment.getEndDate(), iIndex);
|
|
4008
4023
|
} else if (sIntervalType === CalendarIntervalType.Month) {
|
|
@@ -4165,7 +4180,7 @@ sap.ui.define([
|
|
|
4165
4180
|
newPos = this._calcResizeNewHoursAppPos(oRowStartDate, oAppointment.getStartDate(), oAppointment.getEndDate(), iIndex);
|
|
4166
4181
|
} else if (sIntervalType === CalendarIntervalType.Day
|
|
4167
4182
|
|| sIntervalType === CalendarIntervalType.Week
|
|
4168
|
-
|| (sIntervalType === CalendarIntervalType.OneMonth && !oTimeline._isOneMonthsRowOnSmallSizes())) {
|
|
4183
|
+
|| ((sIntervalType === CalendarIntervalType.OneMonth || sIntervalType === "OneMonth") && !oTimeline._isOneMonthsRowOnSmallSizes())) {
|
|
4169
4184
|
|
|
4170
4185
|
newPos = this._calcResizeNewDaysAppPos(oRowStartDate, oAppointment.getStartDate(), oAppointment.getEndDate(), iIndex);
|
|
4171
4186
|
} else if (sIntervalType === CalendarIntervalType.Month) {
|
|
@@ -4376,7 +4391,7 @@ sap.ui.define([
|
|
|
4376
4391
|
oNewPos = this._calcCreateNewAppHours(oRowStartDate, iStartIndex, iEndIndex);
|
|
4377
4392
|
} else if (sIntervalType === CalendarIntervalType.Day
|
|
4378
4393
|
|| sIntervalType === CalendarIntervalType.Week
|
|
4379
|
-
|| (sIntervalType === CalendarIntervalType.OneMonth && !oTimeline._isOneMonthsRowOnSmallSizes())) {
|
|
4394
|
+
|| ((sIntervalType === CalendarIntervalType.OneMonth || sIntervalType === "OneMonth") && !oTimeline._isOneMonthsRowOnSmallSizes())) {
|
|
4380
4395
|
oNewPos = this._calcCreateNewAppDays(oRowStartDate, iStartIndex, iEndIndex);
|
|
4381
4396
|
} else if (sIntervalType === CalendarIntervalType.Month) {
|
|
4382
4397
|
oNewPos = this._calcCreateNewAppMonths(oRowStartDate, iStartIndex, iEndIndex);
|
|
@@ -4,11 +4,6 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
// Ensure that sap.ui.unified is loaded before the module dependencies will be required.
|
|
8
|
-
// Loading it synchronously is the only compatible option and doesn't harm when sap.ui.unified
|
|
9
|
-
// already has been loaded asynchronously (e.g. via a dependency declared in the manifest)
|
|
10
|
-
sap.ui.getCore().loadLibrary("sap.ui.unified");
|
|
11
|
-
|
|
12
7
|
// Provides control sap.m.PlanningCalendarHeader.
|
|
13
8
|
sap.ui.define([
|
|
14
9
|
'sap/ui/core/Element',
|
|
@@ -97,7 +92,7 @@ function(
|
|
|
97
92
|
* @extends sap.ui.core.Control
|
|
98
93
|
*
|
|
99
94
|
* @author SAP SE
|
|
100
|
-
* @version 1.
|
|
95
|
+
* @version 1.96.0
|
|
101
96
|
*
|
|
102
97
|
* @constructor
|
|
103
98
|
* @private
|
|
@@ -4,11 +4,6 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
// Ensure that sap.ui.unified is loaded before the module dependencies will be required.
|
|
8
|
-
// Loading it synchronously is the only compatible option and doesn't harm when sap.ui.unified
|
|
9
|
-
// already has been loaded asynchronously (e.g. via a dependency declared in the manifest)
|
|
10
|
-
sap.ui.getCore().loadLibrary("sap.ui.unified");
|
|
11
|
-
|
|
12
7
|
// Provides control sap.m.PlanningCalendarLegend.
|
|
13
8
|
sap.ui.define(['sap/ui/unified/CalendarLegend', 'sap/ui/unified/CalendarAppointment', './PlanningCalendarLegendRenderer'],
|
|
14
9
|
function(CalendarLegend, CalendarAppointment, PlanningCalendarLegendRenderer) {
|
|
@@ -28,7 +23,7 @@ sap.ui.define(['sap/ui/unified/CalendarLegend', 'sap/ui/unified/CalendarAppointm
|
|
|
28
23
|
* @extends sap.ui.unified.CalendarLegend
|
|
29
24
|
*
|
|
30
25
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
26
|
+
* @version 1.96.0
|
|
32
27
|
*
|
|
33
28
|
* @constructor
|
|
34
29
|
* @public
|
|
@@ -4,11 +4,6 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
// Ensure that sap.ui.unified is loaded before the module dependencies will be required.
|
|
8
|
-
// Loading it synchronously is the only compatible option and doesn't harm when sap.ui.unified
|
|
9
|
-
// already has been loaded asynchronously (e.g. via a dependency declared in the manifest)
|
|
10
|
-
sap.ui.getCore().loadLibrary("sap.ui.unified");
|
|
11
|
-
|
|
12
7
|
sap.ui.define(['sap/ui/unified/CalendarLegendRenderer', 'sap/ui/core/Renderer'],
|
|
13
8
|
function(CalendarLegendRenderer, Renderer) {
|
|
14
9
|
"use strict";
|
|
@@ -4,11 +4,6 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
// Ensure that sap.ui.unified is loaded before the module dependencies will be required.
|
|
8
|
-
// Loading it synchronously is the only compatible option and doesn't harm when sap.ui.unified
|
|
9
|
-
// already has been loaded asynchronously (e.g. via a dependency declared in the manifest)
|
|
10
|
-
sap.ui.getCore().loadLibrary("sap.ui.unified");
|
|
11
|
-
|
|
12
7
|
//Provides control sap.m.PlanningCalendarView.
|
|
13
8
|
sap.ui.define(['sap/ui/core/Element', './library', 'sap/ui/unified/library'],
|
|
14
9
|
function(Element, library, unifiedLibrary) {
|
|
@@ -30,7 +25,7 @@ sap.ui.define(['sap/ui/core/Element', './library', 'sap/ui/unified/library'],
|
|
|
30
25
|
* The <code>PlanningCalendarView</code> defines the type of the intervals (hours, days, months)
|
|
31
26
|
* and how many intervals are displayed.
|
|
32
27
|
* @extends sap.ui.core.Element
|
|
33
|
-
* @version 1.
|
|
28
|
+
* @version 1.96.0
|
|
34
29
|
*
|
|
35
30
|
* @constructor
|
|
36
31
|
* @public
|
package/src/sap/m/Popover.js
CHANGED
|
@@ -6,9 +6,10 @@
|
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
'sap/ui/Device',
|
|
8
8
|
'sap/m/library',
|
|
9
|
-
"sap/ui/dom/getScrollbarSize"
|
|
9
|
+
"sap/ui/dom/getScrollbarSize",
|
|
10
|
+
"sap/ui/core/IconPool"
|
|
10
11
|
],
|
|
11
|
-
function(Device, library, getScrollbarSize) {
|
|
12
|
+
function(Device, library, getScrollbarSize, IconPool) {
|
|
12
13
|
"use strict";
|
|
13
14
|
|
|
14
15
|
// shortcut for sap.m.PlacementType
|
package/src/sap/m/QuickView.js
CHANGED
package/src/sap/m/RadioButton.js
CHANGED
package/src/sap/m/RangeSlider.js
CHANGED
package/src/sap/m/ScrollBar.js
CHANGED
|
@@ -25,7 +25,7 @@ function(Control, ScrollBarRenderer) {
|
|
|
25
25
|
* care of only rendering the currently visible rows and use this <code>ScrollBar</code> control to make
|
|
26
26
|
* the users think they are actually scrolling through a long list.
|
|
27
27
|
* @extends sap.ui.core.Control
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.96.0
|
|
29
29
|
*
|
|
30
30
|
* @private
|
|
31
31
|
* @alias sap.m.ScrollBar
|
package/src/sap/m/SearchField.js
CHANGED
|
@@ -67,7 +67,7 @@ sap.ui.define([
|
|
|
67
67
|
* @extends sap.ui.core.Control
|
|
68
68
|
* @implements sap.ui.core.IFormContent
|
|
69
69
|
* @author SAP SE
|
|
70
|
-
* @version 1.
|
|
70
|
+
* @version 1.96.0
|
|
71
71
|
*
|
|
72
72
|
* @constructor
|
|
73
73
|
* @public
|
|
@@ -310,6 +310,7 @@ sap.ui.define([
|
|
|
310
310
|
SearchField.prototype.onBeforeRendering = function() {
|
|
311
311
|
this._unregisterEventListeners();
|
|
312
312
|
this._updateTranslations();
|
|
313
|
+
updateSuggestions(this);
|
|
313
314
|
};
|
|
314
315
|
|
|
315
316
|
SearchField.prototype.onAfterRendering = function() {
|
|
@@ -1006,37 +1007,5 @@ sap.ui.define([
|
|
|
1006
1007
|
oSF._oSuggest && oSF._oSuggest.update();
|
|
1007
1008
|
}
|
|
1008
1009
|
|
|
1009
|
-
/* =========================================================== */
|
|
1010
|
-
/* begin: aggregation methods overrides */
|
|
1011
|
-
/* =========================================================== */
|
|
1012
|
-
|
|
1013
|
-
// Suppress invalidate by changes in the suggestionItems aggregation.
|
|
1014
|
-
var SUGGESTION_ITEMS = "suggestionItems";
|
|
1015
|
-
|
|
1016
|
-
SearchField.prototype.insertSuggestionItem = function(oObject, iIndex, bSuppressInvalidate) {
|
|
1017
|
-
updateSuggestions(this);
|
|
1018
|
-
return Control.prototype.insertAggregation.call(this, SUGGESTION_ITEMS, oObject, iIndex, true);
|
|
1019
|
-
};
|
|
1020
|
-
|
|
1021
|
-
SearchField.prototype.addSuggestionItem = function(oObject, bSuppressInvalidate) {
|
|
1022
|
-
updateSuggestions(this);
|
|
1023
|
-
return Control.prototype.addAggregation.call(this, SUGGESTION_ITEMS, oObject, true);
|
|
1024
|
-
};
|
|
1025
|
-
|
|
1026
|
-
SearchField.prototype.removeSuggestionItem = function(oObject, bSuppressInvalidate) {
|
|
1027
|
-
updateSuggestions(this);
|
|
1028
|
-
return Control.prototype.removeAggregation.call(this, SUGGESTION_ITEMS, oObject, true);
|
|
1029
|
-
};
|
|
1030
|
-
|
|
1031
|
-
SearchField.prototype.removeAllSuggestionItems = function(bSuppressInvalidate) {
|
|
1032
|
-
updateSuggestions(this);
|
|
1033
|
-
return Control.prototype.removeAllAggregation.call(this, SUGGESTION_ITEMS, true);
|
|
1034
|
-
};
|
|
1035
|
-
|
|
1036
|
-
/* =========================================================== */
|
|
1037
|
-
/* end: aggregation methods overrides */
|
|
1038
|
-
/* =========================================================== */
|
|
1039
|
-
|
|
1040
1010
|
return SearchField;
|
|
1041
|
-
|
|
1042
1011
|
});
|