@openui5/sap.m 1.93.3 → 1.96.1
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 +6 -11
- package/THIRDPARTY.txt +10 -16
- 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 +5 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +1 -4
- package/src/sap/m/Bar.js +13 -7
- package/src/sap/m/Breadcrumbs.js +2 -2
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +34 -1
- package/src/sap/m/Carousel.js +11 -3
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +1 -1
- package/src/sap/m/CheckBoxRenderer.js +12 -3
- 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 +5 -2
- package/src/sap/m/ComboBoxRenderer.js +25 -9
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/CustomDynamicDateOption.js +14 -2
- 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 +27 -10
- package/src/sap/m/DatePickerRenderer.js +1 -1
- 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 +44 -127
- package/src/sap/m/DialogRenderer.js +1 -1
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +15 -6
- package/src/sap/m/DynamicDateOption.js +58 -17
- package/src/sap/m/DynamicDateRange.js +47 -10
- 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 +47 -16
- 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 -52
- 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 +53 -1
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +8 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +8 -6
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +16 -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 +124 -28
- package/src/sap/m/InputBase.js +13 -6
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +2 -2
- 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 +12 -5
- package/src/sap/m/ListItemBase.js +16 -16
- 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 +20 -3
- package/src/sap/m/MenuButtonRenderer.js +1 -0
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageBox.js +1 -1
- package/src/sap/m/MessageItem.js +16 -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 +27 -16
- package/src/sap/m/MultiComboBox.js +328 -113
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +55 -6
- package/src/sap/m/NavContainer.js +24 -7
- 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/ObjectHeaderRenderer.js +6 -7
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +13 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/ObjectStatusRenderer.js +4 -1
- package/src/sap/m/OverflowToolbar.js +1 -1
- 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 +23 -53
- 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 +14 -5
- 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 +139 -41
- package/src/sap/m/PlanningCalendarHeader.js +1 -6
- package/src/sap/m/PlanningCalendarLegend.js +1 -6
- package/src/sap/m/PlanningCalendarLegendRenderer.js +2 -5
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +1 -6
- package/src/sap/m/Popover.js +5 -5
- 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 +10 -8
- 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 +6 -34
- package/src/sap/m/SearchFieldRenderer.js +16 -12
- package/src/sap/m/SegmentedButton.js +12 -17
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +18 -8
- 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 +6 -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 +9 -17
- 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 +15 -13
- 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 +3 -7
- package/src/sap/m/SplitContainer.js +13 -8
- package/src/sap/m/StandardDynamicDateOption.js +50 -12
- package/src/sap/m/StandardListItem.js +69 -26
- package/src/sap/m/StandardListItemRenderer.js +21 -9
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +30 -14
- package/src/sap/m/Suggest.js +25 -25
- package/src/sap/m/SuggestionItem.js +1 -7
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +2 -2
- 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 +2 -4
- package/src/sap/m/TablePersoController.js +1 -1
- package/src/sap/m/TablePersoDialog.js +1 -1
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +3 -3
- package/src/sap/m/TableSelectDialog.js +1 -1
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +2 -2
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +22 -4
- package/src/sap/m/TileContentRenderer.js +73 -5
- package/src/sap/m/TimePicker.js +4 -3
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClocks.js +2 -1
- package/src/sap/m/TimePickerInputs.js +3 -3
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerSlider.js +2 -2
- 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 +45 -3
- package/src/sap/m/TokenizerRenderer.js +5 -0
- 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 +2 -7
- 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 +2 -2
- 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 +16 -17
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +86 -0
- package/src/sap/m/changeHandler/SplitMenuButton.js +12 -6
- package/src/sap/m/delegate/DateNavigation.js +4 -5
- package/src/sap/m/designtime/IconTabBar.designtime.js +85 -2
- package/src/sap/m/designtime/IconTabBarSelectTab.fragment.xml +17 -0
- package/src/sap/m/designtime/MenuButton.designtime.js +3 -0
- package/src/sap/m/designtime/ObjectIdentifier.designtime.js +16 -12
- package/src/sap/m/designtime/messagebundle.properties +9 -0
- package/src/sap/m/designtime/messagebundle_ar.properties +6 -0
- package/src/sap/m/designtime/messagebundle_bg.properties +6 -0
- package/src/sap/m/designtime/messagebundle_ca.properties +6 -0
- package/src/sap/m/designtime/messagebundle_cs.properties +6 -0
- package/src/sap/m/designtime/messagebundle_cy.properties +6 -0
- package/src/sap/m/designtime/messagebundle_da.properties +6 -0
- package/src/sap/m/designtime/messagebundle_de.properties +8 -2
- package/src/sap/m/designtime/messagebundle_el.properties +6 -0
- package/src/sap/m/designtime/messagebundle_en.properties +6 -0
- package/src/sap/m/designtime/messagebundle_en_GB.properties +6 -0
- package/src/sap/m/designtime/messagebundle_en_US_sappsd.properties +6 -0
- package/src/sap/m/designtime/messagebundle_en_US_saprigi.properties +6 -0
- package/src/sap/m/designtime/messagebundle_en_US_saptrc.properties +6 -0
- package/src/sap/m/designtime/messagebundle_es.properties +6 -0
- package/src/sap/m/designtime/messagebundle_es_MX.properties +6 -0
- package/src/sap/m/designtime/messagebundle_et.properties +6 -0
- package/src/sap/m/designtime/messagebundle_fi.properties +6 -0
- package/src/sap/m/designtime/messagebundle_fr.properties +6 -0
- package/src/sap/m/designtime/messagebundle_fr_CA.properties +6 -0
- package/src/sap/m/designtime/messagebundle_hi.properties +6 -0
- package/src/sap/m/designtime/messagebundle_hr.properties +6 -0
- package/src/sap/m/designtime/messagebundle_hu.properties +6 -0
- package/src/sap/m/designtime/messagebundle_id.properties +6 -0
- package/src/sap/m/designtime/messagebundle_it.properties +6 -0
- package/src/sap/m/designtime/messagebundle_iw.properties +6 -0
- package/src/sap/m/designtime/messagebundle_ja.properties +6 -0
- package/src/sap/m/designtime/messagebundle_kk.properties +6 -0
- package/src/sap/m/designtime/messagebundle_ko.properties +6 -0
- package/src/sap/m/designtime/messagebundle_lt.properties +6 -0
- package/src/sap/m/designtime/messagebundle_lv.properties +6 -0
- package/src/sap/m/designtime/messagebundle_ms.properties +6 -0
- package/src/sap/m/designtime/messagebundle_nl.properties +6 -0
- package/src/sap/m/designtime/messagebundle_no.properties +6 -0
- package/src/sap/m/designtime/messagebundle_pl.properties +6 -0
- package/src/sap/m/designtime/messagebundle_pt.properties +6 -0
- package/src/sap/m/designtime/messagebundle_pt_PT.properties +6 -0
- package/src/sap/m/designtime/messagebundle_ro.properties +6 -0
- package/src/sap/m/designtime/messagebundle_ru.properties +6 -0
- package/src/sap/m/designtime/messagebundle_sh.properties +6 -0
- package/src/sap/m/designtime/messagebundle_sk.properties +6 -0
- package/src/sap/m/designtime/messagebundle_sl.properties +6 -0
- package/src/sap/m/designtime/messagebundle_sv.properties +6 -0
- package/src/sap/m/designtime/messagebundle_th.properties +6 -0
- package/src/sap/m/designtime/messagebundle_tr.properties +6 -0
- package/src/sap/m/designtime/messagebundle_uk.properties +6 -0
- package/src/sap/m/designtime/messagebundle_vi.properties +6 -0
- package/src/sap/m/designtime/messagebundle_zh_CN.properties +6 -0
- package/src/sap/m/designtime/messagebundle_zh_TW.properties +6 -0
- package/src/sap/m/flexibility/IconTabBar.flexibility.js +21 -0
- 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 +60 -34
- package/src/sap/m/messagebundle.properties +59 -7
- package/src/sap/m/messagebundle_ar.properties +13 -5
- package/src/sap/m/messagebundle_bg.properties +13 -5
- package/src/sap/m/messagebundle_ca.properties +13 -5
- package/src/sap/m/messagebundle_cs.properties +24 -16
- package/src/sap/m/messagebundle_cy.properties +13 -5
- package/src/sap/m/messagebundle_da.properties +14 -6
- package/src/sap/m/messagebundle_de.properties +14 -6
- package/src/sap/m/messagebundle_el.properties +14 -6
- package/src/sap/m/messagebundle_en.properties +10 -2
- package/src/sap/m/messagebundle_en_GB.properties +10 -2
- package/src/sap/m/messagebundle_en_US_sappsd.properties +26 -3
- package/src/sap/m/messagebundle_en_US_saprigi.properties +39 -3
- package/src/sap/m/messagebundle_en_US_saptrc.properties +14 -6
- package/src/sap/m/messagebundle_es.properties +13 -5
- package/src/sap/m/messagebundle_es_MX.properties +16 -8
- package/src/sap/m/messagebundle_et.properties +13 -5
- package/src/sap/m/messagebundle_fi.properties +13 -5
- package/src/sap/m/messagebundle_fr.properties +26 -18
- package/src/sap/m/messagebundle_fr_CA.properties +14 -6
- package/src/sap/m/messagebundle_hi.properties +13 -5
- package/src/sap/m/messagebundle_hr.properties +13 -5
- package/src/sap/m/messagebundle_hu.properties +13 -5
- package/src/sap/m/messagebundle_id.properties +15 -7
- package/src/sap/m/messagebundle_it.properties +19 -11
- package/src/sap/m/messagebundle_iw.properties +13 -5
- package/src/sap/m/messagebundle_ja.properties +13 -5
- package/src/sap/m/messagebundle_kk.properties +13 -5
- package/src/sap/m/messagebundle_ko.properties +14 -6
- package/src/sap/m/messagebundle_lt.properties +13 -5
- package/src/sap/m/messagebundle_lv.properties +13 -5
- package/src/sap/m/messagebundle_ms.properties +14 -6
- package/src/sap/m/messagebundle_nl.properties +15 -7
- package/src/sap/m/messagebundle_no.properties +25 -17
- package/src/sap/m/messagebundle_pl.properties +17 -9
- package/src/sap/m/messagebundle_pt.properties +16 -8
- package/src/sap/m/messagebundle_pt_PT.properties +13 -5
- package/src/sap/m/messagebundle_ro.properties +18 -10
- package/src/sap/m/messagebundle_ru.properties +14 -6
- package/src/sap/m/messagebundle_sh.properties +14 -6
- package/src/sap/m/messagebundle_sk.properties +13 -5
- package/src/sap/m/messagebundle_sl.properties +13 -5
- package/src/sap/m/messagebundle_sv.properties +13 -5
- package/src/sap/m/messagebundle_th.properties +13 -5
- package/src/sap/m/messagebundle_tr.properties +13 -5
- package/src/sap/m/messagebundle_uk.properties +16 -8
- package/src/sap/m/messagebundle_vi.properties +14 -6
- package/src/sap/m/messagebundle_zh_CN.properties +13 -5
- package/src/sap/m/messagebundle_zh_TW.properties +13 -5
- 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 +23 -2
- package/src/sap/m/plugins/DataStateIndicator.js +1 -1
- package/src/sap/m/plugins/PasteProvider.js +9 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/routing/TargetHandler.js +24 -22
- package/src/sap/m/routing/async/Target.js +3 -2
- 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 +2 -2
- 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/ColumnListItem.less +2 -2
- package/src/sap/m/themes/base/Dialog.less +11 -28
- package/src/sap/m/themes/base/GenericTile.less +397 -18
- package/src/sap/m/themes/base/IconTabBar.less +5 -6
- package/src/sap/m/themes/base/Input.less +12 -0
- package/src/sap/m/themes/base/ListBase.less +7 -5
- package/src/sap/m/themes/base/MessagePage.less +1 -7
- package/src/sap/m/themes/base/MessageView.less +4 -0
- package/src/sap/m/themes/base/MultiComboBox.less +17 -0
- package/src/sap/m/themes/base/NewsContent.less +19 -1
- package/src/sap/m/themes/base/NumericContent.less +87 -0
- package/src/sap/m/themes/base/ObjectMarker.less +3 -0
- package/src/sap/m/themes/base/ObjectNumber.less +10 -2
- package/src/sap/m/themes/base/ObjectStatus.less +14 -0
- package/src/sap/m/themes/base/OverflowToolbarAssociativePopover.less +0 -6
- 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/SinglePlanningCalendarGrid.less +1 -2
- package/src/sap/m/themes/base/SlideTile.less +15 -0
- package/src/sap/m/themes/base/StandardListItem.less +5 -0
- package/src/sap/m/themes/base/Table.less +9 -19
- package/src/sap/m/themes/base/TextArea.less +1 -1
- package/src/sap/m/themes/base/TileContent.less +11 -0
- package/src/sap/m/themes/base/Token.less +0 -3
- package/src/sap/m/themes/base/Tokenizer.less +6 -0
- package/src/sap/m/themes/base/UploadSet.less +5 -0
- package/src/sap/m/themes/base/ViewSettingsDialog.less +28 -1
- 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/IconTabBar.less +3 -3
- package/src/sap/m/upload/UploadSet.js +48 -23
- package/src/sap/m/upload/UploadSetItem.js +9 -4
- 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.SinglePlanningCalendar.
|
|
13
8
|
sap.ui.define([
|
|
14
9
|
'./library',
|
|
@@ -69,11 +64,13 @@ function(
|
|
|
69
64
|
*
|
|
70
65
|
* <h3>Overview</h3>
|
|
71
66
|
*
|
|
72
|
-
* <b>Note:</b> The
|
|
67
|
+
* <b>Note:</b> The application developer should add dependency to <code>sap.ui.unified</code> library on application level
|
|
68
|
+
* to ensure that the library is loaded before the module dependencies will be required.
|
|
69
|
+
* The <code>SinglePlanningCalendar</code> uses parts of the <code>sap.ui.unified</code> library.
|
|
73
70
|
* This library will be loaded after the <code>SinglePlanningCalendar</code>, if it wasn't previously loaded.
|
|
74
|
-
* This could lead to
|
|
71
|
+
* This could lead to CSP compliance issues and adds an additional waiting time when a <code>SinglePlanningCalendar</code> is used for the first time.
|
|
75
72
|
* To prevent this, apps using the <code>SinglePlanningCalendar</code> must also load the
|
|
76
|
-
* <code>sap.ui.unified</code> library.
|
|
73
|
+
* <code>sap.ui.unified</code> library in advance.
|
|
77
74
|
*
|
|
78
75
|
* The <code>SinglePlanningCalendar</code> has the following structure:
|
|
79
76
|
*
|
|
@@ -105,7 +102,7 @@ function(
|
|
|
105
102
|
* @extends sap.ui.core.Control
|
|
106
103
|
*
|
|
107
104
|
* @author SAP SE
|
|
108
|
-
* @version 1.
|
|
105
|
+
* @version 1.96.1
|
|
109
106
|
*
|
|
110
107
|
* @constructor
|
|
111
108
|
* @public
|
|
@@ -1073,7 +1070,7 @@ function(
|
|
|
1073
1070
|
|
|
1074
1071
|
var fnHandleHeadersSelect = function(oEvent) {
|
|
1075
1072
|
this.fireHeaderDateSelect({
|
|
1076
|
-
date: oEvent.getSource().
|
|
1073
|
+
date: oEvent.getSource()._oDate.toLocalJSDate()
|
|
1077
1074
|
});
|
|
1078
1075
|
};
|
|
1079
1076
|
var fnHandleAppointmentSelect = function(oEvent) {
|
|
@@ -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.SinglePlanningCalendarGrid.
|
|
13
8
|
sap.ui.define([
|
|
14
9
|
'./SinglePlanningCalendarUtilities',
|
|
@@ -101,7 +96,7 @@ sap.ui.define([
|
|
|
101
96
|
* @extends sap.ui.core.Control
|
|
102
97
|
*
|
|
103
98
|
* @author SAP SE
|
|
104
|
-
* @version 1.
|
|
99
|
+
* @version 1.96.1
|
|
105
100
|
*
|
|
106
101
|
* @constructor
|
|
107
102
|
* @private
|
|
@@ -951,7 +946,7 @@ sap.ui.define([
|
|
|
951
946
|
* @private
|
|
952
947
|
*/
|
|
953
948
|
SinglePlanningCalendarGrid.prototype._appFocusHandler = function(oEvent, iDirection) {
|
|
954
|
-
var oTarget = sap.ui.getCore().byId(oEvent.target.id);
|
|
949
|
+
var oTarget = sap.ui.getCore().byId(oEvent.target.id) || this._findSrcControl(oEvent);
|
|
955
950
|
|
|
956
951
|
if (oTarget && oTarget.isA("sap.ui.unified.CalendarAppointment")) {
|
|
957
952
|
this.fireAppointmentSelect({
|
|
@@ -1210,13 +1205,18 @@ sap.ui.define([
|
|
|
1210
1205
|
};
|
|
1211
1206
|
|
|
1212
1207
|
SinglePlanningCalendarGrid.prototype._findSrcControl = function (oEvent) {
|
|
1213
|
-
if (!oEvent.target.parentElement || !oEvent.target.parentElement.classList.contains("sapUiCalendarRowApps")) {
|
|
1214
|
-
return oEvent.srcControl;
|
|
1215
|
-
}
|
|
1216
|
-
|
|
1217
1208
|
// data-sap-ui-related - This is a relation to appointment object.
|
|
1218
1209
|
// This is the connection between the DOM Element and the Object representing an appointment.
|
|
1219
|
-
var
|
|
1210
|
+
var $targetElement = oEvent.target,
|
|
1211
|
+
$targetsParentElement = $targetElement.parentElement,
|
|
1212
|
+
sAppointmentId;
|
|
1213
|
+
if (!$targetsParentElement) {
|
|
1214
|
+
return oEvent.srcControl;
|
|
1215
|
+
} else if ($targetsParentElement.classList.contains("sapUiCalendarRowApps")) {
|
|
1216
|
+
sAppointmentId = $targetsParentElement.getAttribute("data-sap-ui-related");
|
|
1217
|
+
} else {
|
|
1218
|
+
sAppointmentId = $targetElement.getAttribute("data-sap-ui-related");
|
|
1219
|
+
}
|
|
1220
1220
|
|
|
1221
1221
|
// finding the appointment
|
|
1222
1222
|
return this.getAppointments().find(function (oAppointment) {
|
|
@@ -1304,7 +1304,9 @@ sap.ui.define([
|
|
|
1304
1304
|
if (!this.getEndHour()) {
|
|
1305
1305
|
iEndHour = LAST_HOUR_OF_DAY;
|
|
1306
1306
|
}
|
|
1307
|
-
|
|
1307
|
+
if (iStartHour > iEndHour) {
|
|
1308
|
+
return iStartHour <= iHour || iHour < iEndHour;
|
|
1309
|
+
}
|
|
1308
1310
|
return iStartHour <= iHour && iHour < iEndHour;
|
|
1309
1311
|
};
|
|
1310
1312
|
|
|
@@ -4,13 +4,23 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
sap
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
sap.ui.define([
|
|
8
|
+
'sap/ui/unified/calendar/CalendarDate',
|
|
9
|
+
'sap/ui/unified/calendar/CalendarUtils',
|
|
10
|
+
'sap/ui/core/date/UniversalDate',
|
|
11
|
+
'sap/ui/core/IconPool',
|
|
12
|
+
'sap/ui/core/InvisibleText',
|
|
13
|
+
'./PlanningCalendarLegend',
|
|
14
|
+
'sap/ui/unified/library'
|
|
15
|
+
],
|
|
16
|
+
function(
|
|
17
|
+
CalendarDate,
|
|
18
|
+
CalendarUtils,
|
|
19
|
+
UniversalDate,
|
|
20
|
+
IconPool,
|
|
21
|
+
InvisibleText,
|
|
22
|
+
PlanningCalendarLegend,
|
|
23
|
+
unifiedLibrary) {
|
|
14
24
|
"use strict";
|
|
15
25
|
|
|
16
26
|
var iVerticalPaddingBetweenAppointments = 2;
|
|
@@ -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.SinglePlanningCalendarMonthGrid.
|
|
13
8
|
sap.ui.define([
|
|
14
9
|
'sap/ui/core/Control',
|
|
@@ -81,7 +76,7 @@ sap.ui.define([
|
|
|
81
76
|
* @extends sap.ui.core.Control
|
|
82
77
|
*
|
|
83
78
|
* @author SAP SE
|
|
84
|
-
* @version 1.
|
|
79
|
+
* @version 1.96.1
|
|
85
80
|
*
|
|
86
81
|
* @constructor
|
|
87
82
|
* @private
|
|
@@ -4,25 +4,23 @@
|
|
|
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([
|
|
13
8
|
'sap/ui/unified/calendar/CalendarDate',
|
|
14
9
|
'sap/ui/unified/calendar/CalendarUtils',
|
|
15
10
|
'sap/ui/unified/calendar/Month',
|
|
16
11
|
'sap/ui/core/date/UniversalDate',
|
|
12
|
+
'sap/ui/core/IconPool',
|
|
17
13
|
'./PlanningCalendarLegend',
|
|
18
14
|
'sap/ui/core/InvisibleText',
|
|
19
15
|
'sap/ui/core/Core',
|
|
20
|
-
'sap/ui/unified/library'
|
|
16
|
+
'sap/ui/unified/library'
|
|
17
|
+
],
|
|
21
18
|
function(
|
|
22
19
|
CalendarDate,
|
|
23
20
|
CalendarUtils,
|
|
24
21
|
Month,
|
|
25
22
|
UniversalDate,
|
|
23
|
+
IconPool,
|
|
26
24
|
PlanningCalendarLegend,
|
|
27
25
|
InvisibleText,
|
|
28
26
|
Core,
|
|
@@ -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([
|
|
13
8
|
'./library',
|
|
14
9
|
'./SinglePlanningCalendarView',
|
|
@@ -33,7 +28,7 @@ sap.ui.define([
|
|
|
33
28
|
* @extends sap.m.SinglePlanningCalendarView
|
|
34
29
|
*
|
|
35
30
|
* @author SAP SE
|
|
36
|
-
* @version 1.
|
|
31
|
+
* @version 1.96.1
|
|
37
32
|
*
|
|
38
33
|
* @constructor
|
|
39
34
|
* @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([
|
|
13
8
|
'./library',
|
|
14
9
|
'./SinglePlanningCalendarView',
|
|
@@ -32,7 +27,7 @@ function (library, SinglePlanningCalendarView, CalendarDate, CalendarUtils) {
|
|
|
32
27
|
* @extends sap.m.SinglePlanningCalendarView
|
|
33
28
|
*
|
|
34
29
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
30
|
+
* @version 1.96.1
|
|
36
31
|
*
|
|
37
32
|
* @constructor
|
|
38
33
|
* @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([
|
|
13
8
|
'./library',
|
|
14
9
|
'./SinglePlanningCalendarView',
|
|
@@ -33,7 +28,7 @@ function (library, SinglePlanningCalendarView, CalendarDate, CalendarUtils, Loca
|
|
|
33
28
|
* @extends sap.m.SinglePlanningCalendarView
|
|
34
29
|
*
|
|
35
30
|
* @author SAP SE
|
|
36
|
-
* @version 1.
|
|
31
|
+
* @version 1.96.1
|
|
37
32
|
*
|
|
38
33
|
* @constructor
|
|
39
34
|
* @public
|
package/src/sap/m/SlideTile.js
CHANGED
|
@@ -41,7 +41,7 @@ sap.ui.define([
|
|
|
41
41
|
* @extends sap.ui.core.Control
|
|
42
42
|
*
|
|
43
43
|
* @author SAP SE
|
|
44
|
-
* @version 1.
|
|
44
|
+
* @version 1.96.1
|
|
45
45
|
* @since 1.34
|
|
46
46
|
*
|
|
47
47
|
* @public
|
|
@@ -77,7 +77,13 @@ sap.ui.define([
|
|
|
77
77
|
* Width of the control.
|
|
78
78
|
* @since 1.72
|
|
79
79
|
*/
|
|
80
|
-
width: {type: "sap.ui.core.CSSSize", group: "Appearance"}
|
|
80
|
+
width: {type: "sap.ui.core.CSSSize", group: "Appearance"},
|
|
81
|
+
/**
|
|
82
|
+
* Height of the control.
|
|
83
|
+
* @experimental
|
|
84
|
+
* @since 1.96
|
|
85
|
+
*/
|
|
86
|
+
height: {type: "sap.ui.core.CSSSize", group: "Appearance"}
|
|
81
87
|
},
|
|
82
88
|
defaultAggregation: "tiles",
|
|
83
89
|
aggregations: {
|
|
@@ -182,6 +188,23 @@ sap.ui.define([
|
|
|
182
188
|
this._hasNewsContent(this._iCurrentTile)) {
|
|
183
189
|
this.addStyleClass("sapMSTDarkBackground");
|
|
184
190
|
}
|
|
191
|
+
|
|
192
|
+
// Slide Navigation through bullet click
|
|
193
|
+
var oCurrentBullet;
|
|
194
|
+
for (var i = 0; i < this.getTiles().length; i++) {
|
|
195
|
+
oCurrentBullet = document.querySelector('span[id$="tileIndicator-' + i + '"]');
|
|
196
|
+
if (oCurrentBullet) {
|
|
197
|
+
oCurrentBullet.addEventListener("click", function(event) {
|
|
198
|
+
var sId = event.currentTarget.id,
|
|
199
|
+
iCurrentIndex = parseInt(sId.substring(sId.lastIndexOf("-") + 1)),
|
|
200
|
+
bIsbackward = this._iCurrentTile > iCurrentIndex;
|
|
201
|
+
|
|
202
|
+
if (this._iCurrentTile !== iCurrentIndex) {
|
|
203
|
+
this._scrollToNextTile(this._bAnimationPause, bIsbackward, iCurrentIndex);
|
|
204
|
+
}
|
|
205
|
+
}.bind(this));
|
|
206
|
+
}
|
|
207
|
+
}
|
|
185
208
|
};
|
|
186
209
|
|
|
187
210
|
/**
|
|
@@ -479,8 +502,9 @@ sap.ui.define([
|
|
|
479
502
|
* @private
|
|
480
503
|
* @param {boolean} pause Triggers if the animation gets paused or not
|
|
481
504
|
* @param {boolean} backward Sets the direction backward or forward
|
|
505
|
+
* @param {integer} iNextTile Scrolls to custom tile
|
|
482
506
|
*/
|
|
483
|
-
SlideTile.prototype._scrollToNextTile = function (pause, backward) {
|
|
507
|
+
SlideTile.prototype._scrollToNextTile = function (pause, backward, iNextTile) {
|
|
484
508
|
var iTransitionTime = this._iCurrAnimationTime - this.getDisplayTime(),
|
|
485
509
|
bFirstAnimation, iNxtTile, oWrapperFrom, oWrapperTo, sWidthFrom, fWidthTo, fWidthFrom, bChangeSizeBefore, sDir, oDir;
|
|
486
510
|
|
|
@@ -497,6 +521,10 @@ sap.ui.define([
|
|
|
497
521
|
this._iCurrentTile = iNxtTile;
|
|
498
522
|
}
|
|
499
523
|
|
|
524
|
+
if (iNextTile >= 0) {
|
|
525
|
+
this._iCurrentTile = iNextTile;
|
|
526
|
+
}
|
|
527
|
+
|
|
500
528
|
oWrapperTo = this.$("wrapper-" + this._iCurrentTile);
|
|
501
529
|
sDir = sap.ui.getCore().getConfiguration().getRTL() ? "right" : "left";
|
|
502
530
|
|
|
@@ -32,6 +32,12 @@ sap.ui.define(['./library', "sap/base/security/encodeCSS"],
|
|
|
32
32
|
iLength;
|
|
33
33
|
|
|
34
34
|
oRm.openStart("div", oControl);
|
|
35
|
+
if (oControl.getHeight()) {
|
|
36
|
+
oRm.style("height",oControl.getHeight());
|
|
37
|
+
}
|
|
38
|
+
if (oControl.getWidth()) {
|
|
39
|
+
oRm.style("width",oControl.getWidth());
|
|
40
|
+
}
|
|
35
41
|
oRm.class("sapMST");
|
|
36
42
|
oRm.class(sScopeClass);
|
|
37
43
|
if (!this._bAnimationPause) {
|
|
@@ -66,6 +72,9 @@ sap.ui.define(['./library', "sap/base/security/encodeCSS"],
|
|
|
66
72
|
for (var i = 0; i < iLength; i++) {
|
|
67
73
|
oRm.openStart("div", oControl.getId() + "-wrapper-" + i );
|
|
68
74
|
oRm.class("sapMSTWrapper");
|
|
75
|
+
if (oControl.getTiles()[i].getFrameType() == sap.m.FrameType.Stretch && oControl.getTiles()[i].getMode() == sap.m.GenericTileMode.ArticleMode) {
|
|
76
|
+
oRm.class("sapMGTTileStretch");
|
|
77
|
+
}
|
|
69
78
|
oRm.openEnd();
|
|
70
79
|
oRm.renderControl(oControl.getTiles()[i]);
|
|
71
80
|
oRm.close("div");
|
package/src/sap/m/Slider.js
CHANGED
package/src/sap/m/SplitApp.js
CHANGED
package/src/sap/m/SplitButton.js
CHANGED
|
@@ -48,7 +48,7 @@ function(
|
|
|
48
48
|
* @extends sap.ui.core.Control
|
|
49
49
|
*
|
|
50
50
|
* @author SAP SE
|
|
51
|
-
* @version 1.
|
|
51
|
+
* @version 1.96.1
|
|
52
52
|
*
|
|
53
53
|
* @constructor
|
|
54
54
|
* @private
|
|
@@ -256,15 +256,11 @@ function(
|
|
|
256
256
|
oEvent.preventDefault();
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
|
|
260
|
-
this._getTextButton().firePress({/* no parameters */ });
|
|
261
|
-
}
|
|
259
|
+
this._getTextButton().onkeydown(oEvent);
|
|
262
260
|
};
|
|
263
261
|
|
|
264
262
|
SplitButton.prototype.onkeyup = function(oEvent) {
|
|
265
|
-
|
|
266
|
-
this._getTextButton().firePress({/* no parameters */ });
|
|
267
|
-
}
|
|
263
|
+
this._getTextButton().onkeyup(oEvent);
|
|
268
264
|
};
|
|
269
265
|
|
|
270
266
|
SplitButton.prototype.onsapup = function(oEvent) {
|
|
@@ -86,7 +86,7 @@ function(
|
|
|
86
86
|
*
|
|
87
87
|
* @extends sap.ui.core.Control
|
|
88
88
|
* @author SAP SE
|
|
89
|
-
* @version 1.
|
|
89
|
+
* @version 1.96.1
|
|
90
90
|
*
|
|
91
91
|
* @constructor
|
|
92
92
|
* @public
|
|
@@ -2138,16 +2138,20 @@ function(
|
|
|
2138
2138
|
* @param {object} mSettings Object containing the aggregation name
|
|
2139
2139
|
* @param {string} mSettings.aggregation The aggregation name to decide on which column/container the placeholder should be shown
|
|
2140
2140
|
*
|
|
2141
|
-
* @
|
|
2141
|
+
* @private
|
|
2142
|
+
* @ui5-restricted SAPUI5 Distribution libraries only
|
|
2142
2143
|
* @since 1.91
|
|
2143
2144
|
*/
|
|
2144
2145
|
SplitContainer.prototype.showPlaceholder = function(mSettings) {
|
|
2145
|
-
|
|
2146
|
+
if (!sap.ui.getCore().getConfiguration().getPlaceholder()) {
|
|
2147
|
+
return;
|
|
2148
|
+
}
|
|
2149
|
+
|
|
2150
|
+
switch (mSettings && mSettings.aggregation) {
|
|
2146
2151
|
case "masterPages":
|
|
2147
|
-
this.getAggregation("_navMaster").showPlaceholder(mSettings);
|
|
2148
|
-
break;
|
|
2152
|
+
return this.getAggregation("_navMaster").showPlaceholder(mSettings);
|
|
2149
2153
|
default:
|
|
2150
|
-
this.getAggregation("_navDetail").showPlaceholder(mSettings);
|
|
2154
|
+
return this.getAggregation("_navDetail").showPlaceholder(mSettings);
|
|
2151
2155
|
}
|
|
2152
2156
|
};
|
|
2153
2157
|
|
|
@@ -2157,7 +2161,8 @@ function(
|
|
|
2157
2161
|
* @param {object} mSettings Object containing the aggregation name
|
|
2158
2162
|
* @param {string} mSettings.aggregation The aggregation name to decide on which column/container the placeholder should be hidden
|
|
2159
2163
|
*
|
|
2160
|
-
* @
|
|
2164
|
+
* @private
|
|
2165
|
+
* @ui5-restricted SAP internal apps
|
|
2161
2166
|
* @since 1.91
|
|
2162
2167
|
*/
|
|
2163
2168
|
SplitContainer.prototype.hidePlaceholder = function(mSettings) {
|
|
@@ -2193,7 +2198,7 @@ function(
|
|
|
2193
2198
|
oContainer = this.getAggregation("_navDetail");
|
|
2194
2199
|
}
|
|
2195
2200
|
|
|
2196
|
-
return oContainer.getCurrentPage() !== oObject;
|
|
2201
|
+
return !oObject || (oContainer.getCurrentPage() !== oObject);
|
|
2197
2202
|
};
|
|
2198
2203
|
/**************************************************************
|
|
2199
2204
|
* END - Private methods
|
|
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
21
21
|
* @extends sap.m.DynamicDateOption
|
|
22
22
|
*
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.96.1
|
|
25
25
|
*
|
|
26
26
|
* @public
|
|
27
27
|
* @alias sap.m.StandardDynamicDateOption
|
|
@@ -241,6 +241,7 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
241
241
|
/**
|
|
242
242
|
* Creates a UI for this DynamicDateOption.
|
|
243
243
|
* @param {*} oOptions some parameters that can adapt the UI from outside
|
|
244
|
+
* @param {function} fnControlsUpdated A callback invoked when any of the created controls updates its value
|
|
244
245
|
*
|
|
245
246
|
* Returns an array of controls which is mapped to the parameters of this DynamicDateOption.
|
|
246
247
|
*/
|
|
@@ -320,14 +321,6 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
320
321
|
oControl.setMin(iMin);
|
|
321
322
|
oControl.setMax(MAX_VALUE_HELP_INTEGER);
|
|
322
323
|
|
|
323
|
-
if (oControl.getValue() < iMin) {
|
|
324
|
-
oControl.setValue(iMin);
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
if (oControl.getValue() > MAX_VALUE_HELP_INTEGER) {
|
|
328
|
-
oControl.setValue(MAX_VALUE_HELP_INTEGER);
|
|
329
|
-
}
|
|
330
|
-
|
|
331
324
|
return oControl;
|
|
332
325
|
};
|
|
333
326
|
|
|
@@ -346,7 +339,9 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
346
339
|
}
|
|
347
340
|
|
|
348
341
|
if (fnControlsUpdated instanceof Function) {
|
|
349
|
-
oControl.attachSelect(
|
|
342
|
+
oControl.attachSelect(function() {
|
|
343
|
+
fnControlsUpdated(this);
|
|
344
|
+
}, this);
|
|
350
345
|
}
|
|
351
346
|
|
|
352
347
|
return oControl;
|
|
@@ -368,6 +363,46 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
368
363
|
return undefined;
|
|
369
364
|
};
|
|
370
365
|
|
|
366
|
+
/**
|
|
367
|
+
* Validates all input controls in the value help UI related to the current option.
|
|
368
|
+
* If one of the input controls contains invalid value, then validation will return <code>false</code>.
|
|
369
|
+
* If all input controls contain valid value, then the validation will return <code>true</code>.
|
|
370
|
+
*
|
|
371
|
+
* @public
|
|
372
|
+
* @param {sap.m.DynamicDateRange} oControl The control instance
|
|
373
|
+
* @returns {boolean} value help UI validity indicator
|
|
374
|
+
*/
|
|
375
|
+
StandardDynamicDateOption.prototype.validateValueHelpUI = function(oControl) {
|
|
376
|
+
var aParams = this.getValueHelpUITypes();
|
|
377
|
+
|
|
378
|
+
for (var i = 0; i < aParams.length; i++) {
|
|
379
|
+
var oInputControl = oControl.aControlsByParameters[this.getKey()][i];
|
|
380
|
+
|
|
381
|
+
switch (aParams[i].getType()) {
|
|
382
|
+
case "int":
|
|
383
|
+
if (oInputControl._isLessThanMin(oInputControl.getValue()) ||
|
|
384
|
+
oInputControl._isMoreThanMax(oInputControl.getValue())) {
|
|
385
|
+
return false;
|
|
386
|
+
}
|
|
387
|
+
break;
|
|
388
|
+
case "month":
|
|
389
|
+
case "date":
|
|
390
|
+
case "daterange":
|
|
391
|
+
if (!oInputControl.getSelectedDates() || oInputControl.getSelectedDates().length == 0) {
|
|
392
|
+
return false;
|
|
393
|
+
}
|
|
394
|
+
break;
|
|
395
|
+
case "options":
|
|
396
|
+
if (oInputControl.getSelectedIndex() < 0) {
|
|
397
|
+
return false;
|
|
398
|
+
}
|
|
399
|
+
break;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
return true;
|
|
404
|
+
};
|
|
405
|
+
|
|
371
406
|
// Gets the output for each input parameter.
|
|
372
407
|
// Returns an object { operator: "KEY", values: [] (mapped positionally to each input control) }.
|
|
373
408
|
StandardDynamicDateOption.prototype.getValueHelpOutput = function(oControl) {
|
|
@@ -462,9 +497,12 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
462
497
|
oDate = UniversalDateUtils.getMonthStartDate(oDate);
|
|
463
498
|
return UniversalDateUtils.getRange(0, "MONTH", oDate);
|
|
464
499
|
case "DATE":
|
|
465
|
-
return
|
|
500
|
+
return UniversalDateUtils.getRange(0, "DAY", UniversalDate.getInstance(oValue.values[0]));
|
|
466
501
|
case "DATERANGE":
|
|
467
|
-
|
|
502
|
+
var oStart = UniversalDate.getInstance(oValue.values[0]);
|
|
503
|
+
var oEnd = UniversalDate.getInstance(oValue.values[1]);
|
|
504
|
+
|
|
505
|
+
return [UniversalDateUtils.resetStartTime(oStart), UniversalDateUtils.resetEndTime(oEnd)];
|
|
468
506
|
case "TODAY":
|
|
469
507
|
return UniversalDateUtils.ranges.today();
|
|
470
508
|
case "YESTERDAY":
|