@openui5/sap.m 1.94.0 → 1.97.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 +12 -12
- package/THIRDPARTY.txt +21 -17
- 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 +10 -2
- package/src/sap/m/AvatarRenderer.js +3 -0
- 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/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 +39 -6
- package/src/sap/m/ComboBoxBase.js +125 -16
- package/src/sap/m/ComboBoxRenderer.js +25 -9
- package/src/sap/m/ComboBoxTextField.js +21 -7
- 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 +72 -18
- package/src/sap/m/DatePickerRenderer.js +14 -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 +53 -60
- package/src/sap/m/Dialog.js +35 -49
- 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 +1 -1
- package/src/sap/m/DynamicDateFormat.js +5 -5
- package/src/sap/m/DynamicDateOption.js +3 -2
- package/src/sap/m/DynamicDateRange.js +20 -8
- package/src/sap/m/DynamicDateUtil.js +14 -9
- 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 +8 -1
- package/src/sap/m/GenericTagRenderer.js +1 -1
- package/src/sap/m/GenericTile.js +236 -56
- package/src/sap/m/GenericTileRenderer.js +229 -84
- 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 +8 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +2 -2
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +25 -6
- 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 +67 -16
- package/src/sap/m/InputBase.js +96 -14
- package/src/sap/m/InputBaseRenderer.js +8 -20
- 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 +2 -2
- package/src/sap/m/ListItemBase.js +12 -4
- 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 +7 -1
- 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/MessageItem.js +1 -16
- package/src/sap/m/MessageListItem.js +1 -1
- package/src/sap/m/MessagePage.js +35 -6
- package/src/sap/m/MessagePopover.js +1 -4
- 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 +16 -27
- package/src/sap/m/MultiComboBox.js +412 -150
- package/src/sap/m/MultiComboBoxRenderer.js +4 -0
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +78 -6
- 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/NotificationListGroupRenderer.js +1 -0
- 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 +3 -3
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +19 -2
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectNumberRenderer.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 +10 -6
- 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 +4 -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 +70 -35
- package/src/sap/m/PlanningCalendarHeader.js +5 -8
- package/src/sap/m/PlanningCalendarLegend.js +25 -10
- package/src/sap/m/PlanningCalendarLegendRenderer.js +2 -7
- package/src/sap/m/PlanningCalendarRow.js +8 -3
- package/src/sap/m/PlanningCalendarView.js +1 -6
- package/src/sap/m/Popover.js +3 -3
- package/src/sap/m/PopoverRenderer.js +3 -2
- package/src/sap/m/ProgressIndicator.js +13 -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 +2 -33
- package/src/sap/m/SegmentedButton.js +31 -19
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/SegmentedButtonRenderer.js +6 -0
- package/src/sap/m/Select.js +34 -13
- 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 +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 +29 -34
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +34 -22
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -6
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +7 -8
- 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 +98 -69
- package/src/sap/m/StandardListItem.js +33 -21
- 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 +17 -12
- package/src/sap/m/Suggest.js +25 -25
- 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 +33 -3
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +11 -15
- package/src/sap/m/TabStripRenderer.js +1 -1
- package/src/sap/m/Table.js +4 -3
- package/src/sap/m/TablePersoController.js +1 -1
- package/src/sap/m/TablePersoDialog.js +1 -1
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +1 -1
- package/src/sap/m/TableSelectDialog.js +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 +45 -6
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerInputs.js +3 -3
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerRenderer.js +4 -0
- 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/ToggleButtonRenderer.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +2 -1
- package/src/sap/m/TokenizerRenderer.js +1 -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 +18 -6
- 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 +18 -8
- 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 +98 -0
- package/src/sap/m/changeHandler/SplitMenuButton.js +5 -2
- package/src/sap/m/delegate/DateNavigation.js +4 -5
- package/src/sap/m/delegate/ValueStateMessage.js +4 -7
- package/src/sap/m/designtime/IconTabBar.designtime.js +86 -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/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_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 +122 -35
- package/src/sap/m/messagebundle.properties +83 -5
- package/src/sap/m/messagebundle_ar.properties +64 -2
- package/src/sap/m/messagebundle_bg.properties +64 -2
- package/src/sap/m/messagebundle_ca.properties +69 -7
- package/src/sap/m/messagebundle_cs.properties +75 -13
- package/src/sap/m/messagebundle_cy.properties +64 -2
- package/src/sap/m/messagebundle_da.properties +64 -2
- package/src/sap/m/messagebundle_de.properties +64 -2
- package/src/sap/m/messagebundle_el.properties +64 -2
- package/src/sap/m/messagebundle_en.properties +64 -2
- package/src/sap/m/messagebundle_en_GB.properties +64 -2
- package/src/sap/m/messagebundle_en_US_sappsd.properties +65 -3
- package/src/sap/m/messagebundle_en_US_saptrc.properties +65 -3
- package/src/sap/m/messagebundle_es.properties +67 -5
- package/src/sap/m/messagebundle_es_MX.properties +65 -3
- package/src/sap/m/messagebundle_et.properties +64 -2
- package/src/sap/m/messagebundle_fi.properties +64 -2
- package/src/sap/m/messagebundle_fr.properties +84 -22
- package/src/sap/m/messagebundle_fr_CA.properties +65 -3
- package/src/sap/m/messagebundle_hi.properties +64 -2
- package/src/sap/m/messagebundle_hr.properties +64 -2
- package/src/sap/m/messagebundle_hu.properties +64 -2
- package/src/sap/m/messagebundle_id.properties +65 -3
- package/src/sap/m/messagebundle_it.properties +70 -8
- package/src/sap/m/messagebundle_iw.properties +64 -2
- package/src/sap/m/messagebundle_ja.properties +64 -2
- package/src/sap/m/messagebundle_kk.properties +64 -2
- package/src/sap/m/messagebundle_ko.properties +65 -3
- package/src/sap/m/messagebundle_lt.properties +64 -2
- package/src/sap/m/messagebundle_lv.properties +64 -2
- package/src/sap/m/messagebundle_ms.properties +65 -3
- package/src/sap/m/messagebundle_nl.properties +65 -3
- package/src/sap/m/messagebundle_no.properties +76 -14
- package/src/sap/m/messagebundle_pl.properties +68 -6
- package/src/sap/m/messagebundle_pt.properties +67 -5
- package/src/sap/m/messagebundle_pt_PT.properties +65 -3
- package/src/sap/m/messagebundle_ro.properties +70 -8
- package/src/sap/m/messagebundle_ru.properties +66 -4
- package/src/sap/m/messagebundle_sh.properties +66 -4
- package/src/sap/m/messagebundle_sk.properties +64 -2
- package/src/sap/m/messagebundle_sl.properties +64 -2
- package/src/sap/m/messagebundle_sv.properties +64 -2
- package/src/sap/m/messagebundle_th.properties +64 -2
- package/src/sap/m/messagebundle_tr.properties +64 -2
- package/src/sap/m/messagebundle_uk.properties +71 -9
- package/src/sap/m/messagebundle_vi.properties +65 -3
- package/src/sap/m/messagebundle_zh_CN.properties +64 -2
- package/src/sap/m/messagebundle_zh_TW.properties +64 -2
- package/src/sap/m/p13n/AbstractContainer.js +286 -0
- package/src/sap/m/p13n/AbstractContainerItem.js +94 -0
- package/src/sap/m/p13n/BasePanel.js +644 -0
- package/src/sap/m/p13n/Container.js +301 -0
- package/src/sap/m/p13n/GroupPanel.js +121 -0
- package/src/sap/m/p13n/Popup.js +358 -0
- package/src/sap/m/p13n/QueryPanel.js +316 -0
- package/src/sap/m/p13n/SelectionPanel.js +403 -0
- package/src/sap/m/p13n/SortPanel.js +141 -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 +9 -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/ActionItem.js +69 -0
- package/src/sap/m/table/ColumnMenu.js +377 -0
- package/src/sap/m/table/ColumnMenuEntry.js +101 -0
- package/src/sap/m/table/ColumnMenuRenderer.js +82 -0
- package/src/sap/m/table/Item.js +130 -0
- package/src/sap/m/table/ItemBase.js +153 -0
- package/src/sap/m/table/QuickAction.js +53 -0
- package/src/sap/m/table/QuickActionBase.js +53 -0
- package/src/sap/m/table/Util.js +192 -0
- package/src/sap/m/themes/base/AbstractContainer.less +32 -0
- package/src/sap/m/themes/base/Breadcrumbs.less +2 -2
- package/src/sap/m/themes/base/Carousel.less +37 -2
- package/src/sap/m/themes/base/ColumnListItem.less +2 -2
- package/src/sap/m/themes/base/ColumnMenu.less +41 -0
- package/src/sap/m/themes/base/ComboBox.less +2 -2
- package/src/sap/m/themes/base/ComboBoxBase.less +20 -0
- package/src/sap/m/themes/base/DatePicker.less +4 -0
- package/src/sap/m/themes/base/DateTimePicker.less +20 -1
- package/src/sap/m/themes/base/Dialog.less +12 -12
- package/src/sap/m/themes/base/GenericTile.less +464 -18
- package/src/sap/m/themes/base/IconTabBar.less +17 -16
- package/src/sap/m/themes/base/IconTabBarSelectList.less +4 -2
- package/src/sap/m/themes/base/Input.less +2 -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/ListBase.less +7 -5
- package/src/sap/m/themes/base/ListItemBase.less +4 -2
- package/src/sap/m/themes/base/MessageView.less +4 -0
- package/src/sap/m/themes/base/MultiComboBox.less +19 -2
- package/src/sap/m/themes/base/NewsContent.less +48 -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/ObjectAttribute.less +3 -4
- 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/P13nContainer.less +17 -0
- package/src/sap/m/themes/base/P13nDialog.less +1 -1
- package/src/sap/m/themes/base/ProgressIndicator.less +3 -2
- package/src/sap/m/themes/base/ScrollContainer.less +1 -3
- 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/Select.less +2 -1
- package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +17 -18
- package/src/sap/m/themes/base/SlideTile.less +15 -0
- package/src/sap/m/themes/base/StandardListItem.less +6 -1
- package/src/sap/m/themes/base/Table.less +16 -27
- package/src/sap/m/themes/base/Text.less +6 -0
- package/src/sap/m/themes/base/TextArea.less +2 -2
- package/src/sap/m/themes/base/TileContent.less +20 -0
- package/src/sap/m/themes/base/TimePicker.less +3 -0
- package/src/sap/m/themes/base/Token.less +0 -3
- package/src/sap/m/themes/base/ValueStateHeader.less +1 -3
- package/src/sap/m/themes/base/ViewSettingsDialog.less +5 -5
- package/src/sap/m/themes/base/WizardProgressNavigator.less +1 -1
- package/src/sap/m/themes/base/library.source.less +5 -0
- package/src/sap/m/themes/base/p13n.Container.less +21 -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/ComboBox.less +9 -0
- package/src/sap/m/themes/sap_hcb/Input.less +4 -0
- package/src/sap/m/themes/sap_hcb/InputBase.less +25 -0
- package/src/sap/m/themes/sap_hcb/MultiComboBox.less +8 -0
- package/src/sap/m/themes/sap_hcb/ValueStateHeader.less +3 -0
- package/src/sap/m/themes/sap_hcb/WizardProgressNavigator.less +0 -4
- package/src/sap/m/themes/sap_hcb/library.source.less +2 -0
- package/src/sap/m/upload/UploadSet.js +16 -19
- package/src/sap/m/upload/UploadSetItem.js +22 -2
- package/ui5.yaml +4 -1
- package/src/sap/m/ios7.js +0 -199
package/src/sap/m/Dialog.js
CHANGED
|
@@ -79,6 +79,9 @@ function(
|
|
|
79
79
|
// shortcut for sap.ui.core.ValueState
|
|
80
80
|
var ValueState = coreLibrary.ValueState;
|
|
81
81
|
|
|
82
|
+
// shortcut for sap.ui.core.TitleLevel
|
|
83
|
+
var TitleLevel = coreLibrary.TitleLevel;
|
|
84
|
+
|
|
82
85
|
// shortcut for sap.m.TitleAlignment
|
|
83
86
|
var TitleAlignment = library.TitleAlignment;
|
|
84
87
|
|
|
@@ -172,7 +175,7 @@ function(
|
|
|
172
175
|
*
|
|
173
176
|
* @implements sap.ui.core.PopupInterface
|
|
174
177
|
* @author SAP SE
|
|
175
|
-
* @version 1.
|
|
178
|
+
* @version 1.97.0
|
|
176
179
|
*
|
|
177
180
|
* @constructor
|
|
178
181
|
* @public
|
|
@@ -222,7 +225,7 @@ function(
|
|
|
222
225
|
* Determines whether the Dialog will be displayed on full screen on a phone.
|
|
223
226
|
* @since 1.11.2
|
|
224
227
|
* @deprecated Since version 1.13.1.
|
|
225
|
-
* Please use the new stretch property instead. This enables a stretched Dialog even on tablet and desktop. If you want to achieve the same effect as <code>stretchOnPhone</code>, please set the stretch with
|
|
228
|
+
* Please use the new stretch property instead. This enables a stretched Dialog even on tablet and desktop. If you want to achieve the same effect as <code>stretchOnPhone</code>, please set the stretch with <code>Device.system.phone</code>, then the Dialog is only stretched when it runs on a phone.
|
|
226
229
|
*/
|
|
227
230
|
stretchOnPhone: {type: "boolean", group: "Appearance", defaultValue: false, deprecated: true},
|
|
228
231
|
|
|
@@ -513,7 +516,7 @@ function(
|
|
|
513
516
|
};
|
|
514
517
|
|
|
515
518
|
Dialog.prototype.onBeforeRendering = function () {
|
|
516
|
-
var oHeader = this.
|
|
519
|
+
var oHeader = this._getAnyHeader();
|
|
517
520
|
|
|
518
521
|
if (!Dialog._bPaddingByDefault && this.hasStyleClass("sapUiPopupWithPadding")) {
|
|
519
522
|
Log.warning("Usage of CSS class 'sapUiPopupWithPadding' is deprecated. Use 'sapUiContentPadding' instead", null, "sap.m.Dialog");
|
|
@@ -551,6 +554,11 @@ function(
|
|
|
551
554
|
if (oHeader && oHeader.setTitleAlignment) {
|
|
552
555
|
oHeader.setProperty("titleAlignment", this.getTitleAlignment(), true);
|
|
553
556
|
}
|
|
557
|
+
|
|
558
|
+
if (oHeader && this._getTitles(oHeader).length === 0) {
|
|
559
|
+
oHeader._setRootAccessibilityRole("heading");
|
|
560
|
+
oHeader._setRootAriaLevel("2");
|
|
561
|
+
}
|
|
554
562
|
};
|
|
555
563
|
|
|
556
564
|
Dialog.prototype.onAfterRendering = function () {
|
|
@@ -1289,8 +1297,6 @@ function(
|
|
|
1289
1297
|
this._header = new Bar(this.getId() + "-header", {
|
|
1290
1298
|
titleAlignment: this.getTitleAlignment()
|
|
1291
1299
|
});
|
|
1292
|
-
this._header._setRootAccessibilityRole("heading");
|
|
1293
|
-
this._header._setRootAriaLevel("2");
|
|
1294
1300
|
|
|
1295
1301
|
this.setAggregation("_header", this._header);
|
|
1296
1302
|
}
|
|
@@ -1307,7 +1313,7 @@ function(
|
|
|
1307
1313
|
} else {
|
|
1308
1314
|
this._headerTitle = new Title(this.getId() + "-title", {
|
|
1309
1315
|
text: sTitle,
|
|
1310
|
-
level:
|
|
1316
|
+
level: TitleLevel.H2
|
|
1311
1317
|
}).addStyleClass("sapMDialogTitle");
|
|
1312
1318
|
|
|
1313
1319
|
this._header.addContentMiddle(this._headerTitle);
|
|
@@ -1502,8 +1508,7 @@ function(
|
|
|
1502
1508
|
var oCustomHeader = this.getCustomHeader();
|
|
1503
1509
|
|
|
1504
1510
|
if (oCustomHeader) {
|
|
1505
|
-
oCustomHeader
|
|
1506
|
-
return oCustomHeader._setRootAccessibilityRole("heading");
|
|
1511
|
+
return oCustomHeader;
|
|
1507
1512
|
} else {
|
|
1508
1513
|
var bShowHeader = this.getShowHeader();
|
|
1509
1514
|
// if showHeader is set to false and not for standard dialog in iOS in theme sap_mvi, no header.
|
|
@@ -1783,9 +1788,7 @@ function(
|
|
|
1783
1788
|
|
|
1784
1789
|
var oSubHeader = this.getSubHeader();
|
|
1785
1790
|
if (oSubHeader) {
|
|
1786
|
-
var aSubtitles =
|
|
1787
|
-
return oObject.isA("sap.m.Title");
|
|
1788
|
-
});
|
|
1791
|
+
var aSubtitles = this._getTitles(oSubHeader);
|
|
1789
1792
|
|
|
1790
1793
|
// if there are titles in the subheader, add all of them to labels, else use the full subheader
|
|
1791
1794
|
if (aSubtitles.length) {
|
|
@@ -1796,9 +1799,7 @@ function(
|
|
|
1796
1799
|
}
|
|
1797
1800
|
|
|
1798
1801
|
if (oHeader) {
|
|
1799
|
-
var aTitles =
|
|
1800
|
-
return oObject.isA("sap.m.Title");
|
|
1801
|
-
});
|
|
1802
|
+
var aTitles = this._getTitles(oHeader);
|
|
1802
1803
|
|
|
1803
1804
|
// if there are titles in the header, add all of them to labels, else use the full header
|
|
1804
1805
|
if (aTitles.length) {
|
|
@@ -1933,16 +1934,11 @@ function(
|
|
|
1933
1934
|
var oBoundingClientRect = this.getDomRef().getBoundingClientRect();
|
|
1934
1935
|
|
|
1935
1936
|
var initial = {
|
|
1936
|
-
x: e.
|
|
1937
|
-
y: e.
|
|
1937
|
+
x: e.clientX,
|
|
1938
|
+
y: e.clientY,
|
|
1938
1939
|
width: that._$dialog.width(),
|
|
1939
1940
|
height: that._$dialog.height(),
|
|
1940
1941
|
outerHeight : that._$dialog.outerHeight(),
|
|
1941
|
-
offset: {
|
|
1942
|
-
//use e.originalEvent.layerX/Y for Firefox
|
|
1943
|
-
x: e.offsetX ? e.offsetX : e.originalEvent.layerX,
|
|
1944
|
-
y: e.offsetY ? e.offsetY : e.originalEvent.layerY
|
|
1945
|
-
},
|
|
1946
1942
|
position: {
|
|
1947
1943
|
x: oBoundingClientRect.x,
|
|
1948
1944
|
y: oBoundingClientRect.y
|
|
@@ -1971,22 +1967,9 @@ function(
|
|
|
1971
1967
|
}
|
|
1972
1968
|
}
|
|
1973
1969
|
|
|
1974
|
-
if (
|
|
1970
|
+
if (isHeaderClicked(e.target) && this.getDraggable() || bResize) {
|
|
1975
1971
|
that._bDisableRepositioning = true;
|
|
1976
|
-
|
|
1977
1972
|
that._$dialog.addClass('sapDialogDisableTransition');
|
|
1978
|
-
|
|
1979
|
-
that._oManuallySetPosition = {
|
|
1980
|
-
x: initial.position.x,
|
|
1981
|
-
y: initial.position.y
|
|
1982
|
-
};
|
|
1983
|
-
|
|
1984
|
-
//set the new position of the dialog on mouse down when the transform is disabled by the class
|
|
1985
|
-
that._$dialog.css({
|
|
1986
|
-
left: Math.min(Math.max(oAreaDimensions.left, that._oManuallySetPosition.x), oAreaDimensions.right - initial.width),
|
|
1987
|
-
top: Math.min(Math.max(oAreaDimensions.top, that._oManuallySetPosition.y), oAreaDimensions.bottom - initial.height),
|
|
1988
|
-
width: initial.width
|
|
1989
|
-
});
|
|
1990
1973
|
}
|
|
1991
1974
|
|
|
1992
1975
|
if (isHeaderClicked(e.target) && this.getDraggable()) {
|
|
@@ -2003,8 +1986,8 @@ function(
|
|
|
2003
1986
|
that._bDisableRepositioning = true;
|
|
2004
1987
|
|
|
2005
1988
|
that._oManuallySetPosition = {
|
|
2006
|
-
x: Math.max(oAreaDimensions.left, Math.min(event.
|
|
2007
|
-
y: Math.max(oAreaDimensions.top, Math.min(event.
|
|
1989
|
+
x: Math.max(oAreaDimensions.left, Math.min(event.clientX - e.clientX + initial.position.x, oAreaDimensions.right - initial.width)), // deltaX + initial dialog position
|
|
1990
|
+
y: Math.max(oAreaDimensions.top, Math.min(event.clientY - e.clientY + initial.position.y, oAreaDimensions.bottom - initial.outerHeight)) // deltaY + initial dialog position
|
|
2008
1991
|
};
|
|
2009
1992
|
|
|
2010
1993
|
//move the dialog
|
|
@@ -2015,8 +1998,6 @@ function(
|
|
|
2015
1998
|
});
|
|
2016
1999
|
});
|
|
2017
2000
|
};
|
|
2018
|
-
|
|
2019
|
-
$w.on("mousemove", mouseMoveHandler);
|
|
2020
2001
|
} else if (bResize) {
|
|
2021
2002
|
that._$dialog.addClass('sapMDialogResizing');
|
|
2022
2003
|
|
|
@@ -2033,22 +2014,22 @@ function(
|
|
|
2033
2014
|
// BCP: 1680048166 remove inline set height and width so that the content resizes together with the mouse pointer
|
|
2034
2015
|
that.$('cont').height('').width('');
|
|
2035
2016
|
|
|
2036
|
-
if (event.
|
|
2037
|
-
event.
|
|
2017
|
+
if (event.clientY + handleOffsetY > oAreaDimensions.bottom) {
|
|
2018
|
+
event.clientY = oAreaDimensions.bottom - handleOffsetY;
|
|
2038
2019
|
}
|
|
2039
2020
|
|
|
2040
|
-
if (event.
|
|
2041
|
-
event.
|
|
2021
|
+
if (event.clientX + handleOffsetX > oAreaDimensions.right) {
|
|
2022
|
+
event.clientX = oAreaDimensions.right - handleOffsetX;
|
|
2042
2023
|
}
|
|
2043
2024
|
|
|
2044
2025
|
that._oManuallySetSize = {
|
|
2045
|
-
width: initial.width + event.
|
|
2046
|
-
height: initial.height + event.
|
|
2026
|
+
width: initial.width + event.clientX - initial.x,
|
|
2027
|
+
height: initial.height + event.clientY - initial.y
|
|
2047
2028
|
};
|
|
2048
2029
|
|
|
2049
2030
|
if (that._bRTL) {
|
|
2050
|
-
styles.left = Math.min(Math.max(event.
|
|
2051
|
-
that._oManuallySetSize.width = initial.width + initial.x - Math.max(event.
|
|
2031
|
+
styles.left = Math.min(Math.max(event.clientX, 0), maxLeftOffset);
|
|
2032
|
+
that._oManuallySetSize.width = initial.width + initial.x - Math.max(event.clientX, 0);
|
|
2052
2033
|
}
|
|
2053
2034
|
|
|
2054
2035
|
styles.width = that._oManuallySetSize.width;
|
|
@@ -2057,12 +2038,11 @@ function(
|
|
|
2057
2038
|
that._$dialog.css(styles);
|
|
2058
2039
|
});
|
|
2059
2040
|
};
|
|
2060
|
-
|
|
2061
|
-
$w.on("mousemove", mouseMoveHandler);
|
|
2062
2041
|
} else {
|
|
2063
2042
|
return;
|
|
2064
2043
|
}
|
|
2065
2044
|
|
|
2045
|
+
$w.on("mousemove", mouseMoveHandler);
|
|
2066
2046
|
$w.on("mouseup", mouseUpHandler);
|
|
2067
2047
|
|
|
2068
2048
|
e.stopPropagation();
|
|
@@ -2077,5 +2057,11 @@ function(
|
|
|
2077
2057
|
Control.prototype._applyContextualSettings.call(this);
|
|
2078
2058
|
};
|
|
2079
2059
|
|
|
2060
|
+
Dialog.prototype._getTitles = function (oContainer) {
|
|
2061
|
+
return oContainer.findAggregatedObjects(true, function(oObject) {
|
|
2062
|
+
return oObject.isA("sap.m.Title");
|
|
2063
|
+
});
|
|
2064
|
+
};
|
|
2065
|
+
|
|
2080
2066
|
return Dialog;
|
|
2081
2067
|
});
|
package/src/sap/m/DynamicDate.js
CHANGED
|
@@ -10,13 +10,13 @@ sap.ui.define([
|
|
|
10
10
|
'sap/ui/core/format/NumberFormat',
|
|
11
11
|
'sap/ui/core/Locale',
|
|
12
12
|
'sap/ui/core/LocaleData',
|
|
13
|
-
'./StandardDynamicDateRangeKeys',
|
|
14
13
|
"sap/base/Log",
|
|
15
14
|
"sap/base/util/deepExtend",
|
|
16
15
|
"sap/base/util/isEmptyObject",
|
|
17
|
-
"sap/ui/core/date/UniversalDateUtils"
|
|
16
|
+
"sap/ui/core/date/UniversalDateUtils",
|
|
17
|
+
"./library"
|
|
18
18
|
],
|
|
19
|
-
function(DateFormat, NumberFormat, Locale, LocaleData,
|
|
19
|
+
function(DateFormat, NumberFormat, Locale, LocaleData, Log, deepExtend, isEmptyObject, UniversalDateUtils, library) {
|
|
20
20
|
"use strict";
|
|
21
21
|
|
|
22
22
|
/**
|
|
@@ -58,8 +58,8 @@ sap.ui.define([
|
|
|
58
58
|
"TODAYFROMTO": ["int", "int"]
|
|
59
59
|
};
|
|
60
60
|
|
|
61
|
-
for (var i = 0; i < StandardDynamicDateRangeKeys.length; i++) {
|
|
62
|
-
var sKey = StandardDynamicDateRangeKeys[i];
|
|
61
|
+
for (var i = 0; i < library.StandardDynamicDateRangeKeys.length; i++) {
|
|
62
|
+
var sKey = library.StandardDynamicDateRangeKeys[i];
|
|
63
63
|
var sPattern = _resourceBundle.getText("DYNAMIC_DATE_" + sKey.toUpperCase() + "_FORMAT");
|
|
64
64
|
var aStaticParts = sPattern.split('{').map(function(sPart) {
|
|
65
65
|
var iClosingBracket = sPart.indexOf('}');
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @extends sap.ui.core.Element
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.97.0
|
|
36
36
|
*
|
|
37
37
|
* @public
|
|
38
38
|
* @since 1.92
|
|
@@ -231,7 +231,8 @@ sap.ui.define([
|
|
|
231
231
|
* @public
|
|
232
232
|
*/
|
|
233
233
|
DynamicDateOption.prototype.getGroupHeader = function() {
|
|
234
|
-
|
|
234
|
+
var iGroup = (this.getGroup() > -1 && this.getGroup() < 7) ? this.getGroup() : 0;
|
|
235
|
+
return sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("DDR_OPTIONS_GROUP_" + iGroup);
|
|
235
236
|
};
|
|
236
237
|
|
|
237
238
|
/**
|
|
@@ -34,7 +34,6 @@ sap.ui.define([
|
|
|
34
34
|
'./NavContainer',
|
|
35
35
|
'./DynamicDateRangeRenderer',
|
|
36
36
|
'./StandardDynamicDateOption',
|
|
37
|
-
'./StandardDynamicDateRangeKeys',
|
|
38
37
|
'sap/ui/dom/jquery/Focusable',
|
|
39
38
|
'./library'],
|
|
40
39
|
function(
|
|
@@ -66,7 +65,6 @@ sap.ui.define([
|
|
|
66
65
|
NavContainer,
|
|
67
66
|
DynamicDateRangeRenderer,
|
|
68
67
|
StandardDynamicDateOption,
|
|
69
|
-
StandardDynamicDateRangeKeys,
|
|
70
68
|
Focusable,
|
|
71
69
|
library
|
|
72
70
|
) {
|
|
@@ -118,7 +116,7 @@ sap.ui.define([
|
|
|
118
116
|
* is opened. The dialog is closed via a date time period value selection or by pressing the "Cancel" button.
|
|
119
117
|
*
|
|
120
118
|
* @author SAP SE
|
|
121
|
-
* @version 1.
|
|
119
|
+
* @version 1.97.0
|
|
122
120
|
*
|
|
123
121
|
* @constructor
|
|
124
122
|
* @public
|
|
@@ -258,7 +256,8 @@ sap.ui.define([
|
|
|
258
256
|
}
|
|
259
257
|
}
|
|
260
258
|
}
|
|
261
|
-
}
|
|
259
|
+
},
|
|
260
|
+
renderer: DynamicDateRangeRenderer
|
|
262
261
|
});
|
|
263
262
|
|
|
264
263
|
MessageMixin.call(DynamicDateRange.prototype);
|
|
@@ -402,6 +401,10 @@ sap.ui.define([
|
|
|
402
401
|
this.setOptions(aOptions);
|
|
403
402
|
};
|
|
404
403
|
|
|
404
|
+
DynamicDateRange.prototype.getFocusDomRef = function(){
|
|
405
|
+
return this.getAggregation("_input") && this.getAggregation("_input").getFocusDomRef();
|
|
406
|
+
};
|
|
407
|
+
|
|
405
408
|
DynamicDateRange.prototype._updateInputValue = function(oValue) {
|
|
406
409
|
var sInputValue;
|
|
407
410
|
|
|
@@ -612,7 +615,6 @@ sap.ui.define([
|
|
|
612
615
|
this._oPopup.attachAfterClose(function() {
|
|
613
616
|
this._setFooterVisibility(false);
|
|
614
617
|
this.invalidate();
|
|
615
|
-
this.getAggregation("_input").focus();
|
|
616
618
|
}, this);
|
|
617
619
|
|
|
618
620
|
this._oPopup.setBeginButton(new Button({
|
|
@@ -650,7 +652,7 @@ sap.ui.define([
|
|
|
650
652
|
return iGroupDiff;
|
|
651
653
|
}
|
|
652
654
|
|
|
653
|
-
return StandardDynamicDateRangeKeys.indexOf(a.getKey()) - StandardDynamicDateRangeKeys.indexOf(b.getKey());
|
|
655
|
+
return library.StandardDynamicDateRangeKeys.indexOf(a.getKey()) - library.StandardDynamicDateRangeKeys.indexOf(b.getKey());
|
|
654
656
|
});
|
|
655
657
|
|
|
656
658
|
// for last x/next x options leave only the first of each, remove the rest
|
|
@@ -910,8 +912,18 @@ sap.ui.define([
|
|
|
910
912
|
}
|
|
911
913
|
|
|
912
914
|
oElementToFocus.focus();
|
|
915
|
+
|
|
916
|
+
this._reApplyFocusToElement(oToPage, oValue);
|
|
913
917
|
};
|
|
914
918
|
|
|
919
|
+
/**
|
|
920
|
+
* A hook that provides an option to reapply the focus to another element if needed.
|
|
921
|
+
*
|
|
922
|
+
* @ui5-restricted sap.ui.comp.config.condition.DateRangeType
|
|
923
|
+
* @private
|
|
924
|
+
*/
|
|
925
|
+
DynamicDateRange.prototype._reApplyFocusToElement = function (oToPage, oValue) {};
|
|
926
|
+
|
|
915
927
|
/**
|
|
916
928
|
* Creates the title text for the options page.
|
|
917
929
|
*
|
|
@@ -953,7 +965,7 @@ sap.ui.define([
|
|
|
953
965
|
// There is a custom initial focus handling logic for both options list page and option details page
|
|
954
966
|
this._applyNavContainerPageFocus(oToPage);
|
|
955
967
|
} else {
|
|
956
|
-
this.
|
|
968
|
+
this.focus();
|
|
957
969
|
}
|
|
958
970
|
};
|
|
959
971
|
|
|
@@ -1033,7 +1045,7 @@ sap.ui.define([
|
|
|
1033
1045
|
};
|
|
1034
1046
|
|
|
1035
1047
|
DynamicDateRange.prototype._parseValue = function(sInputValue) {
|
|
1036
|
-
var aResults = DynamicDateUtil.parse(sInputValue, this._getFormatter()).filter(function(oResult) {
|
|
1048
|
+
var aResults = DynamicDateUtil.parse(sInputValue, this._getFormatter(), this.getOptions()).filter(function(oResult) {
|
|
1037
1049
|
return this.getOptions().indexOf(oResult.operator) !== -1;
|
|
1038
1050
|
}, this);
|
|
1039
1051
|
|
|
@@ -7,14 +7,15 @@
|
|
|
7
7
|
// Provides utility class sap.m.DynamicDateUtil
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"./StandardDynamicDateOption",
|
|
10
|
-
"
|
|
11
|
-
"
|
|
10
|
+
"sap/base/Log",
|
|
11
|
+
"./library"
|
|
12
12
|
], function(
|
|
13
|
-
StandardDynamicDateOption,
|
|
13
|
+
StandardDynamicDateOption, Log, library) {
|
|
14
14
|
"use strict";
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* @class
|
|
18
|
+
* The DynamicDateUtil is a utility class for working with the DynamicDateOption instances.
|
|
18
19
|
*
|
|
19
20
|
* @alias sap.m.DynamicDateUtil
|
|
20
21
|
* @static
|
|
@@ -51,6 +52,7 @@ sap.ui.define([
|
|
|
51
52
|
"FROM": new StandardDynamicDateOption({ key: "FROM", valueTypes: ["date"] }),
|
|
52
53
|
"TO": new StandardDynamicDateOption({ key: "TO", valueTypes: ["date"] }),
|
|
53
54
|
"YEARTODATE": new StandardDynamicDateOption({ key: "YEARTODATE", valueTypes: [] }),
|
|
55
|
+
"DATETOYEAR": new StandardDynamicDateOption({ key: "DATETOYEAR", valueTypes: [] }),
|
|
54
56
|
"TODAYFROMTO": new StandardDynamicDateOption({ key: "TODAYFROMTO", valueTypes: ["int", "int"] }),
|
|
55
57
|
"QUARTER1": new StandardDynamicDateOption({ key: "QUARTER1", valueTypes: [] }),
|
|
56
58
|
"QUARTER2": new StandardDynamicDateOption({ key: "QUARTER2", valueTypes: [] }),
|
|
@@ -60,7 +62,7 @@ sap.ui.define([
|
|
|
60
62
|
"DATERANGE": new StandardDynamicDateOption({ key: "DATERANGE", valueTypes: ["date", "date"] }),
|
|
61
63
|
"DATE": new StandardDynamicDateOption({ key: "DATE", valueTypes: ["date"] })
|
|
62
64
|
},
|
|
63
|
-
_allKeys: StandardDynamicDateRangeKeys.slice(0)
|
|
65
|
+
_allKeys: library.StandardDynamicDateRangeKeys.slice(0)
|
|
64
66
|
};
|
|
65
67
|
|
|
66
68
|
/**
|
|
@@ -113,11 +115,12 @@ sap.ui.define([
|
|
|
113
115
|
*
|
|
114
116
|
* @param {string} sValue The string to be parsed
|
|
115
117
|
* @param {sap.m.DynamicDateFormat} oFormatter A dynamic date formatter
|
|
118
|
+
* @param {array} aOptionKeys array of option names
|
|
116
119
|
* @returns {object[]} An array of value objects in the DynamicDateRange's value format
|
|
117
120
|
* @static
|
|
118
121
|
* @public
|
|
119
122
|
*/
|
|
120
|
-
DynamicDateUtil.parse = function(sValue, oFormatter) {
|
|
123
|
+
DynamicDateUtil.parse = function(sValue, oFormatter, aOptionKeys) {
|
|
121
124
|
if (typeof sValue !== 'string') {
|
|
122
125
|
Log.error("DynamicDateFormat can only parse a String.");
|
|
123
126
|
return [];
|
|
@@ -126,14 +129,16 @@ sap.ui.define([
|
|
|
126
129
|
var aResults = [],
|
|
127
130
|
oResult;
|
|
128
131
|
|
|
129
|
-
|
|
130
|
-
|
|
132
|
+
aOptionKeys = aOptionKeys || Object.keys(DynamicDateUtil._options);
|
|
133
|
+
|
|
134
|
+
var aOptions = aOptionKeys.sort(function(sKey1, sKey2) {
|
|
135
|
+
return library.StandardDynamicDateRangeKeys.indexOf(sKey1) - library.StandardDynamicDateRangeKeys.indexOf(sKey2);
|
|
131
136
|
}).map(function(sKey) {
|
|
132
137
|
return DynamicDateUtil._options[sKey];
|
|
133
138
|
});
|
|
134
139
|
|
|
135
140
|
for (var i = 0; i < aOptions.length; i++) {
|
|
136
|
-
oResult = aOptions[i].parse(sValue.trim(), oFormatter);
|
|
141
|
+
oResult = aOptions[i] && aOptions[i].parse(sValue.trim(), oFormatter);
|
|
137
142
|
|
|
138
143
|
if (oResult) {
|
|
139
144
|
oResult.operator = aOptions[i].getKey();
|
package/src/sap/m/FacetFilter.js
CHANGED
|
@@ -20,7 +20,7 @@ sap.ui.define(['./ListItemBase', './library', './FacetFilterItemRenderer'],
|
|
|
20
20
|
* @class
|
|
21
21
|
* Represents a value for the {@link sap.m.FacetFilterList} control.
|
|
22
22
|
* @extends sap.m.ListItemBase
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.97.0
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @public
|
package/src/sap/m/FeedContent.js
CHANGED
package/src/sap/m/FeedInput.js
CHANGED
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
*
|
|
28
28
|
*
|
|
29
29
|
* @class text
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.97.0
|
|
31
31
|
* @private
|
|
32
32
|
* @since 1.38
|
|
33
33
|
* @alias HeaderAdapter
|
|
@@ -227,7 +227,7 @@ sap.ui.define([
|
|
|
227
227
|
* Constructor for an sap.m.Fiori20Adapter.
|
|
228
228
|
*
|
|
229
229
|
* @class text
|
|
230
|
-
* @version 1.
|
|
230
|
+
* @version 1.97.0
|
|
231
231
|
* @private
|
|
232
232
|
* @since 1.38
|
|
233
233
|
* @alias sap.m.Fiori20Adapter
|
package/src/sap/m/FlexBox.js
CHANGED
package/src/sap/m/GenericTag.js
CHANGED
|
@@ -53,7 +53,7 @@ sap.ui.define([
|
|
|
53
53
|
* @extends sap.ui.core.Control
|
|
54
54
|
*
|
|
55
55
|
* @author SAP SE
|
|
56
|
-
* @version 1.
|
|
56
|
+
* @version 1.97.0
|
|
57
57
|
*
|
|
58
58
|
* @constructor
|
|
59
59
|
* @public
|
|
@@ -91,6 +91,13 @@ sap.ui.define([
|
|
|
91
91
|
valueState: {type : "sap.m.GenericTagValueState", defaultValue : GenericTagValueState.None }
|
|
92
92
|
},
|
|
93
93
|
defaultAggregation: "value",
|
|
94
|
+
associations : {
|
|
95
|
+
/**
|
|
96
|
+
* Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledBy).
|
|
97
|
+
* @since 1.97.0
|
|
98
|
+
*/
|
|
99
|
+
ariaLabelledBy: {type : "sap.ui.core.Control", multiple : true, singularName : "ariaLabelledBy"}
|
|
100
|
+
},
|
|
94
101
|
aggregations: {
|
|
95
102
|
/**
|
|
96
103
|
* Numeric value rendered by the control.
|
|
@@ -107,7 +107,7 @@ sap.ui.define([
|
|
|
107
107
|
};
|
|
108
108
|
|
|
109
109
|
GenericTagRenderer._getAriaLabelledBy = function(oControl) {
|
|
110
|
-
var aLabelledBy =
|
|
110
|
+
var aLabelledBy = oControl.getAriaLabelledBy().slice(),
|
|
111
111
|
sId = oControl.getId(),
|
|
112
112
|
sTagValueId = this._getTagValueId(oControl);
|
|
113
113
|
|