@openui5/sap.m 1.100.0 → 1.102.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/.eslintrc.json +18 -0
- package/THIRDPARTY.txt +5 -5
- package/package.json +4 -4
- package/src/sap/m/.library +2 -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 +10 -3
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +1 -1
- package/src/sap/m/Bar.js +12 -21
- package/src/sap/m/Breadcrumbs.js +3 -3
- package/src/sap/m/BreadcrumbsRenderer.js +0 -5
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/Carousel.js +4 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +2 -1
- package/src/sap/m/CheckBox.js +1 -1
- package/src/sap/m/ColorPalette.js +13 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +10 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- package/src/sap/m/ColumnListItemRenderer.js +1 -0
- 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 +22 -2
- package/src/sap/m/ComboBoxBase.js +4 -2
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/CustomDynamicDateOption.js +1 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/DatePicker.js +53 -7
- package/src/sap/m/DatePickerRenderer.js +0 -1
- package/src/sap/m/DateRangeSelection.js +42 -4
- package/src/sap/m/DateTimeField.js +5 -2
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +40 -53
- package/src/sap/m/DateTimePickerRenderer.js +2 -2
- package/src/sap/m/Dialog.js +21 -8
- 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 -4
- package/src/sap/m/DynamicDateOption.js +12 -2
- package/src/sap/m/DynamicDateRange.js +107 -16
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +8 -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 +2 -2
- 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 +10 -10
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTagRenderer.js +10 -2
- package/src/sap/m/GenericTile.js +132 -16
- package/src/sap/m/GenericTileLineModeRenderer.js +80 -3
- package/src/sap/m/GenericTileRenderer.js +174 -87
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +127 -93
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +41 -21
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +3 -3
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +1 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +1 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +19 -1
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +4 -10
- package/src/sap/m/InputBase.js +5 -5
- 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 +52 -20
- package/src/sap/m/ListBaseRenderer.js +19 -3
- package/src/sap/m/ListItemBase.js +7 -5
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +5 -1
- 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 +1 -1
- package/src/sap/m/MessageListItem.js +1 -1
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +18 -36
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +3 -2
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +8 -3
- package/src/sap/m/NavContainer.js +40 -40
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +175 -79
- package/src/sap/m/NotificationListGroup.js +1 -2
- package/src/sap/m/NotificationListGroupRenderer.js +4 -16
- package/src/sap/m/NotificationListItem.js +5 -16
- package/src/sap/m/NotificationListItemRenderer.js +0 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericInput.js +3 -2
- package/src/sap/m/NumericInputRenderer.js +13 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectAttributeRenderer.js +1 -1
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +34 -10
- package/src/sap/m/ObjectMarkerRenderer.js +14 -2
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +17 -1
- package/src/sap/m/OverflowToolbarAssociativePopover.js +2 -2
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- 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 +1 -1
- package/src/sap/m/P13nConditionPanel.js +9 -12
- package/src/sap/m/P13nDialog.js +1 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +1 -1
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +1 -1
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +1 -1
- package/src/sap/m/P13nItem.js +1 -1
- package/src/sap/m/P13nPanel.js +1 -1
- package/src/sap/m/P13nSelectionItem.js +1 -1
- package/src/sap/m/P13nSelectionPanel.js +1 -1
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +1 -1
- package/src/sap/m/PDFViewer.js +3 -3
- package/src/sap/m/PDFViewerRenderer.js +15 -7
- package/src/sap/m/Page.js +4 -4
- 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 +14 -14
- package/src/sap/m/PlanningCalendarHeader.js +1 -4
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +15 -10
- 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 +2 -2
- package/src/sap/m/RadioButtonGroup.js +3 -2
- package/src/sap/m/RangeSlider.js +19 -4
- package/src/sap/m/RatingIndicator.js +1 -1
- package/src/sap/m/ResponsivePopover.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +5 -3
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +24 -3
- package/src/sap/m/SelectDialog.js +14 -18
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectionDetails.js +1 -1
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +94 -52
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +10 -9
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +22 -10
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +1 -1
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderTooltip.js +1 -1
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +5 -1
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitContainer.js +1 -1
- package/src/sap/m/StandardDynamicDateOption.js +36 -13
- package/src/sap/m/StandardListItem.js +3 -3
- package/src/sap/m/StandardListItemRenderer.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +3 -3
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +5 -13
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +5 -3
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +34 -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 +9 -4
- package/src/sap/m/TableSelectDialog.js +13 -9
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +8 -14
- package/src/sap/m/TileContentRenderer.js +16 -7
- package/src/sap/m/TimePicker.js +52 -60
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerRenderer.js +0 -1
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -1
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +15 -3
- package/src/sap/m/Toolbar.js +7 -1
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/UploadCollection.js +1 -1
- package/src/sap/m/UploadCollectionItem.js +2 -1
- package/src/sap/m/UploadCollectionParameter.js +2 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +2 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/VariantManagement.js +2492 -0
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +8 -9
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +1 -1
- package/src/sap/m/VisibleItem.js +2 -2
- package/src/sap/m/WheelSlider.js +1 -1
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/Wizard.js +22 -4
- package/src/sap/m/WizardProgressNavigator.js +10 -3
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +3 -5
- 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 +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/designtime/ListBase.designtime.js +3 -0
- package/src/sap/m/designtime/VariantManagement.designtime.js +56 -0
- package/src/sap/m/inputUtils/SuggestionsPopoverDialogMixin.js +22 -16
- package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +10 -2
- package/src/sap/m/inputUtils/highlightDOMElements.js +3 -2
- package/src/sap/m/library.js +55 -19
- package/src/sap/m/messagebundle.properties +168 -27
- package/src/sap/m/messagebundle_ar.properties +104 -14
- package/src/sap/m/messagebundle_bg.properties +104 -14
- package/src/sap/m/messagebundle_ca.properties +104 -14
- package/src/sap/m/messagebundle_cs.properties +104 -14
- package/src/sap/m/messagebundle_cy.properties +104 -14
- package/src/sap/m/messagebundle_da.properties +104 -14
- package/src/sap/m/messagebundle_de.properties +104 -14
- package/src/sap/m/messagebundle_el.properties +104 -14
- package/src/sap/m/messagebundle_en.properties +103 -13
- package/src/sap/m/messagebundle_en_GB.properties +103 -13
- package/src/sap/m/messagebundle_en_US_sappsd.properties +102 -12
- package/src/sap/m/messagebundle_en_US_saprigi.properties +102 -12
- package/src/sap/m/messagebundle_en_US_saptrc.properties +102 -12
- package/src/sap/m/messagebundle_es.properties +104 -14
- package/src/sap/m/messagebundle_es_MX.properties +104 -14
- package/src/sap/m/messagebundle_et.properties +104 -14
- package/src/sap/m/messagebundle_fi.properties +103 -13
- package/src/sap/m/messagebundle_fr.properties +105 -15
- package/src/sap/m/messagebundle_fr_CA.properties +104 -14
- package/src/sap/m/messagebundle_hi.properties +104 -14
- package/src/sap/m/messagebundle_hr.properties +104 -14
- package/src/sap/m/messagebundle_hu.properties +104 -14
- package/src/sap/m/messagebundle_id.properties +104 -14
- package/src/sap/m/messagebundle_it.properties +112 -22
- package/src/sap/m/messagebundle_iw.properties +104 -14
- package/src/sap/m/messagebundle_ja.properties +104 -14
- package/src/sap/m/messagebundle_kk.properties +104 -14
- package/src/sap/m/messagebundle_ko.properties +105 -15
- package/src/sap/m/messagebundle_lt.properties +104 -14
- package/src/sap/m/messagebundle_lv.properties +103 -13
- package/src/sap/m/messagebundle_ms.properties +104 -14
- package/src/sap/m/messagebundle_nl.properties +103 -13
- package/src/sap/m/messagebundle_no.properties +104 -14
- package/src/sap/m/messagebundle_pl.properties +104 -14
- package/src/sap/m/messagebundle_pt.properties +112 -22
- package/src/sap/m/messagebundle_pt_PT.properties +104 -14
- package/src/sap/m/messagebundle_ro.properties +104 -14
- package/src/sap/m/messagebundle_ru.properties +104 -14
- package/src/sap/m/messagebundle_sh.properties +104 -14
- package/src/sap/m/messagebundle_sk.properties +104 -14
- package/src/sap/m/messagebundle_sl.properties +104 -14
- package/src/sap/m/messagebundle_sv.properties +105 -15
- package/src/sap/m/messagebundle_th.properties +104 -14
- package/src/sap/m/messagebundle_tr.properties +104 -14
- package/src/sap/m/messagebundle_uk.properties +104 -14
- package/src/sap/m/messagebundle_vi.properties +104 -14
- package/src/sap/m/messagebundle_zh_CN.properties +104 -14
- package/src/sap/m/messagebundle_zh_TW.properties +104 -14
- package/src/sap/m/p13n/AbstractContainer.js +2 -2
- package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
- package/src/sap/m/p13n/BasePanel.js +9 -3
- package/src/sap/m/p13n/Container.js +11 -4
- package/src/sap/m/p13n/GroupPanel.js +17 -5
- package/src/sap/m/p13n/Popup.js +9 -2
- package/src/sap/m/p13n/QueryPanel.js +89 -37
- package/src/sap/m/p13n/SelectionPanel.js +30 -5
- package/src/sap/m/p13n/SortPanel.js +27 -13
- package/src/sap/m/plugins/ColumnResizer.js +41 -6
- package/src/sap/m/plugins/DataStateIndicator.js +3 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/rules/CheckBox.support.js +1 -1
- package/src/sap/m/rules/Image.support.js +1 -1
- package/src/sap/m/rules/Link.support.js +1 -1
- package/src/sap/m/rules/MessagePage.support.js +1 -1
- package/src/sap/m/rules/ObjectHeader.support.js +6 -6
- package/src/sap/m/rules/ObjectListItem.support.js +1 -1
- package/src/sap/m/rules/ObjectMarker.support.js +1 -1
- package/src/sap/m/rules/ObjectStatus.support.js +1 -1
- package/src/sap/m/rules/Select.support.js +1 -1
- package/src/sap/m/rules/Table.support.js +3 -3
- 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 +7 -14
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +1 -1
- package/src/sap/m/semantic/ShareMenuPage.js +1 -1
- package/src/sap/m/semantic/SortAction.js +1 -1
- package/src/sap/m/semantic/SortSelect.js +1 -1
- package/src/sap/m/table/Util.js +98 -16
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -11
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +11 -1
- package/src/sap/m/table/columnmenu/ItemContainer.js +29 -0
- package/src/sap/m/table/columnmenu/Menu.js +222 -34
- package/src/sap/m/table/columnmenu/MenuRenderer.js +5 -28
- package/src/sap/m/table/columnmenu/QuickAction.js +14 -3
- package/src/sap/m/table/columnmenu/QuickActionBase.js +11 -1
- package/src/sap/m/table/columnmenu/QuickActionContainer.js +29 -0
- package/src/sap/m/table/columnmenu/QuickActionItem.js +5 -5
- package/src/sap/m/table/columnmenu/QuickGroup.js +20 -16
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +2 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +29 -28
- package/src/sap/m/table/columnmenu/QuickTotal.js +20 -25
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/ActionListItem.less +1 -1
- package/src/sap/m/themes/base/Avatar.less +11 -5
- package/src/sap/m/themes/base/Button.less +1 -6
- package/src/sap/m/themes/base/Carousel.less +72 -87
- package/src/sap/m/themes/base/CheckBox.less +0 -1
- package/src/sap/m/themes/base/ColumnListItem.less +0 -3
- package/src/sap/m/themes/base/ColumnMenu.less +12 -4
- package/src/sap/m/themes/base/Dialog.less +10 -6
- package/src/sap/m/themes/base/GenericTile.less +758 -179
- package/src/sap/m/themes/base/IconTabBar.less +45 -14
- package/src/sap/m/themes/base/IconTabBarSelectList.less +5 -4
- package/src/sap/m/themes/base/Input.less +1 -1
- package/src/sap/m/themes/base/InputBase.less +114 -11
- package/src/sap/m/themes/base/Label.less +3 -0
- package/src/sap/m/themes/base/LightBox.less +9 -7
- package/src/sap/m/themes/base/Link.less +12 -4
- package/src/sap/m/themes/base/ListBase.less +4 -0
- package/src/sap/m/themes/base/ListItemBase.less +1 -12
- package/src/sap/m/themes/base/MenuButton.less +16 -0
- package/src/sap/m/themes/base/MessageBox.less +5 -5
- package/src/sap/m/themes/base/MultiInput.less +1 -1
- package/src/sap/m/themes/base/NewsContent.less +0 -9
- package/src/sap/m/themes/base/NotificationListBase.less +9 -14
- package/src/sap/m/themes/base/NotificationListGroup.less +30 -44
- package/src/sap/m/themes/base/NotificationListItem.less +14 -18
- package/src/sap/m/themes/base/ObjectAttribute.less +1 -1
- package/src/sap/m/themes/base/ObjectListItem.less +3 -0
- package/src/sap/m/themes/base/ObjectMarker.less +3 -1
- package/src/sap/m/themes/base/ObjectStatus.less +8 -0
- package/src/sap/m/themes/base/Panel.less +1 -1
- package/src/sap/m/themes/base/Popover.less +10 -7
- package/src/sap/m/themes/base/QuickView.less +14 -2
- package/src/sap/m/themes/base/RadioButton.less +21 -3
- package/src/sap/m/themes/base/RatingIndicator.less +4 -0
- package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +3 -29
- package/src/sap/m/themes/base/SlideTile.less +18 -0
- package/src/sap/m/themes/base/Slider.less +18 -18
- package/src/sap/m/themes/base/StandardListItem.less +5 -9
- package/src/sap/m/themes/base/SuggestionsPopover.less +1 -1
- package/src/sap/m/themes/base/Table.less +18 -21
- package/src/sap/m/themes/base/TextArea.less +32 -0
- package/src/sap/m/themes/base/Token.less +17 -15
- package/src/sap/m/themes/base/Tokenizer.less +2 -2
- package/src/sap/m/themes/base/Toolbar.less +1 -1
- package/src/sap/m/themes/base/UploadCollection.less +2 -0
- package/src/sap/m/themes/base/ValueStateMessage.less +3 -3
- package/src/sap/m/themes/base/VariantManagement.less +97 -0
- package/src/sap/m/themes/base/Wizard.less +5 -4
- package/src/sap/m/themes/base/WizardProgressNavigator.less +8 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-EmptyCalendar.svg +73 -72
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-EmptyList.svg +33 -18
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoEntries.svg +1 -3
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoNotifications.svg +3 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleBell.svg +12 -9
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleCalendar.svg +41 -40
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SleepingBell.svg +29 -22
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-Tent.svg +28 -23
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-Connection.svg +27 -27
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-EmptyCalendar.svg +86 -85
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-EmptyList.svg +42 -26
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoData.svg +0 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoEntries.svg +0 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleBell.svg +15 -12
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleCalendar.svg +43 -42
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SleepingBell.svg +49 -42
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-Tent.svg +58 -53
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-EmptyCalendar.svg +42 -41
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-EmptyList.svg +24 -16
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoEntries.svg +10 -20
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoNotifications.svg +8 -13
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleBell.svg +11 -8
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleCalendar.svg +37 -39
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SleepingBell.svg +38 -22
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-Tent.svg +28 -23
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/themes/sap_hcb/Carousel.less +3 -7
- package/src/sap/m/themes/sap_hcb/ComboBoxBase.less +0 -12
- package/src/sap/m/themes/sap_hcb/InputBase.less +7 -42
- package/src/sap/m/themes/sap_hcb/Panel.less +4 -0
- package/src/sap/m/themes/sap_hcb/Popover.less +3 -0
- package/src/sap/m/themes/sap_hcb/Slider.less +11 -0
- package/src/sap/m/themes/sap_hcb/Token.less +4 -0
- package/src/sap/m/themes/sap_hcb/Tokenizer.less +1 -0
- package/src/sap/m/themes/sap_hcb/ValueStateHeader.less +4 -0
- package/src/sap/m/themes/sap_hcb/ValueStateMessage.less +12 -1
- package/src/sap/m/upload/UploadSet.js +162 -17
- package/src/sap/m/upload/UploadSetItem.js +24 -1
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +45 -0
package/src/sap/m/SplitApp.js
CHANGED
package/src/sap/m/SplitButton.js
CHANGED
|
@@ -52,7 +52,7 @@ sap.ui.define([
|
|
|
52
52
|
* @extends sap.m.DynamicDateOption
|
|
53
53
|
*
|
|
54
54
|
* @author SAP SE
|
|
55
|
-
* @version 1.
|
|
55
|
+
* @version 1.102.1
|
|
56
56
|
*
|
|
57
57
|
* @public
|
|
58
58
|
* @alias sap.m.StandardDynamicDateOption
|
|
@@ -367,9 +367,10 @@ sap.ui.define([
|
|
|
367
367
|
*/
|
|
368
368
|
StandardDynamicDateOption.prototype.createValueHelpUI = function(oControl, fnControlsUpdated) {
|
|
369
369
|
var oOptions = oControl._getOptions(),
|
|
370
|
-
oValue = oControl.getValue(),
|
|
370
|
+
oValue = oControl.getValue() && Object.assign({}, oControl.getValue()),
|
|
371
371
|
aParams = this.getValueHelpUITypes(oControl),
|
|
372
|
-
aControls = []
|
|
372
|
+
aControls = [],
|
|
373
|
+
oCurrentLabel;
|
|
373
374
|
|
|
374
375
|
if (!oControl.aControlsByParameters) {
|
|
375
376
|
oControl.aControlsByParameters = {};
|
|
@@ -387,16 +388,26 @@ sap.ui.define([
|
|
|
387
388
|
aParams.push(oNextOptionParam);
|
|
388
389
|
}
|
|
389
390
|
|
|
391
|
+
if (oValue && oValue.values) {
|
|
392
|
+
oValue.values = oValue.values.map(function(val) {
|
|
393
|
+
if (val instanceof Date) {
|
|
394
|
+
return oControl._reverseConvertDate(val);
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
return val;
|
|
398
|
+
});
|
|
399
|
+
}
|
|
400
|
+
|
|
390
401
|
for (var iIndex = 0; iIndex < aParams.length; iIndex++) {
|
|
402
|
+
oCurrentLabel = null;
|
|
391
403
|
if (aParams[iIndex].getOptions() && aParams[iIndex].getOptions().length <= 1) {
|
|
392
404
|
break;
|
|
393
|
-
} else if (aParams[iIndex].getText()) {
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
);
|
|
405
|
+
} else if (aParams[ iIndex ].getText()) {
|
|
406
|
+
oCurrentLabel = new Label({
|
|
407
|
+
text: aParams[ iIndex ].getText(),
|
|
408
|
+
width: "100%"
|
|
409
|
+
});
|
|
410
|
+
aControls.push(oCurrentLabel);
|
|
400
411
|
}
|
|
401
412
|
|
|
402
413
|
var oInputControl;
|
|
@@ -438,6 +449,7 @@ sap.ui.define([
|
|
|
438
449
|
}
|
|
439
450
|
|
|
440
451
|
aControls.push(oInputControl);
|
|
452
|
+
oCurrentLabel && oCurrentLabel.setLabelFor(oInputControl);
|
|
441
453
|
|
|
442
454
|
if (aParams[iIndex].getAdditionalText()) {
|
|
443
455
|
aControls.push(
|
|
@@ -666,7 +678,7 @@ sap.ui.define([
|
|
|
666
678
|
};
|
|
667
679
|
|
|
668
680
|
StandardDynamicDateOption.prototype.format = function(oObj, oFormatter) {
|
|
669
|
-
return oFormatter.format(oObj);
|
|
681
|
+
return oFormatter.format(oObj, true);
|
|
670
682
|
};
|
|
671
683
|
|
|
672
684
|
StandardDynamicDateOption.prototype.parse = function(sValue, oFormatter) {
|
|
@@ -707,6 +719,9 @@ sap.ui.define([
|
|
|
707
719
|
var oStart = UniversalDate.getInstance(oValue.values[0]);
|
|
708
720
|
var oEnd = UniversalDate.getInstance(oValue.values[1]);
|
|
709
721
|
|
|
722
|
+
oStart.setMilliseconds(0);
|
|
723
|
+
oEnd.setMilliseconds(999);
|
|
724
|
+
|
|
710
725
|
return [oStart, oEnd];
|
|
711
726
|
case "TODAY":
|
|
712
727
|
return UniversalDateUtils.ranges.today();
|
|
@@ -779,9 +794,17 @@ sap.ui.define([
|
|
|
779
794
|
case "TO":
|
|
780
795
|
return [UniversalDate.getInstance(oValue.values[0])];
|
|
781
796
|
case "FROMDATETIME":
|
|
782
|
-
|
|
797
|
+
var oDate = UniversalDate.getInstance(oValue.values[0]);
|
|
798
|
+
|
|
799
|
+
oDate.setMilliseconds(0);
|
|
800
|
+
|
|
801
|
+
return [oDate];
|
|
783
802
|
case "TODATETIME":
|
|
784
|
-
|
|
803
|
+
var oDate = UniversalDate.getInstance(oValue.values[0]);
|
|
804
|
+
|
|
805
|
+
oDate.setMilliseconds(999);
|
|
806
|
+
|
|
807
|
+
return [oDate];
|
|
785
808
|
case "YEARTODATE":
|
|
786
809
|
return UniversalDateUtils.ranges.yearToDate();
|
|
787
810
|
case "DATETOYEAR":
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @extends sap.m.ListItemBase
|
|
39
39
|
*
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.102.1
|
|
42
42
|
*
|
|
43
43
|
* @constructor
|
|
44
44
|
* @public
|
|
@@ -429,12 +429,12 @@ sap.ui.define([
|
|
|
429
429
|
if (!bTextExpanded) {
|
|
430
430
|
oText.textContent = sText;
|
|
431
431
|
oThreeDots.textContent = " ";
|
|
432
|
-
oButton.textContent = oRb.getText("
|
|
432
|
+
oButton.textContent = oRb.getText("EXPANDABLE_TEXT_SHOW_LESS");
|
|
433
433
|
bTextExpanded = true;
|
|
434
434
|
} else {
|
|
435
435
|
oText.textContent = this._getCollapsedText(sText);
|
|
436
436
|
oThreeDots.textContent = " ... ";
|
|
437
|
-
oButton.textContent = oRb.getText("
|
|
437
|
+
oButton.textContent = oRb.getText("EXPANDABLE_TEXT_SHOW_MORE");
|
|
438
438
|
bTextExpanded = false;
|
|
439
439
|
}
|
|
440
440
|
|
|
@@ -248,7 +248,7 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/Core", "sap/ui/core/Renderer"
|
|
|
248
248
|
rm.openStart("span", bTitle ? sId + "-titleButton" : sId + "-descriptionButton").class("sapMSLIExpandCollapse");
|
|
249
249
|
rm.attr("tabindex", "0").attr("role", "button").attr("aria-live", "polite");
|
|
250
250
|
rm.openEnd();
|
|
251
|
-
rm.text(oRb.getText(bTextExpanded ? "
|
|
251
|
+
rm.text(oRb.getText(bTextExpanded ? "EXPANDABLE_TEXT_SHOW_LESS" : "EXPANDABLE_TEXT_SHOW_MORE"));
|
|
252
252
|
rm.close("span");
|
|
253
253
|
};
|
|
254
254
|
|
package/src/sap/m/StepInput.js
CHANGED
|
@@ -119,7 +119,7 @@ function(
|
|
|
119
119
|
* @implements sap.ui.core.IFormContent
|
|
120
120
|
*
|
|
121
121
|
* @author SAP SE
|
|
122
|
-
* @version 1.
|
|
122
|
+
* @version 1.102.1
|
|
123
123
|
*
|
|
124
124
|
* @constructor
|
|
125
125
|
* @public
|
|
@@ -1546,7 +1546,7 @@ function(
|
|
|
1546
1546
|
oBindingType = oBinding && oBinding.getType && oBinding.getType(),
|
|
1547
1547
|
sBindingConstraintMin = oBindingType && oBindingType.oConstraints && oBindingType.oConstraints.minimum;
|
|
1548
1548
|
|
|
1549
|
-
return sBindingConstraintMin ? parseFloat(sBindingConstraintMin) : this.getMin();
|
|
1549
|
+
return sBindingConstraintMin !== undefined ? parseFloat(sBindingConstraintMin) : this.getMin();
|
|
1550
1550
|
};
|
|
1551
1551
|
|
|
1552
1552
|
StepInput.prototype._getMax = function() {
|
|
@@ -1554,7 +1554,7 @@ function(
|
|
|
1554
1554
|
oBindingType = oBinding && oBinding.getType && oBinding.getType(),
|
|
1555
1555
|
sBindingConstraintMax = oBindingType && oBindingType.oConstraints && oBindingType.oConstraints.maximum;
|
|
1556
1556
|
|
|
1557
|
-
return sBindingConstraintMax ? parseFloat(sBindingConstraintMax) : this.getMax();
|
|
1557
|
+
return sBindingConstraintMax !== undefined ? parseFloat(sBindingConstraintMax) : this.getMax();
|
|
1558
1558
|
};
|
|
1559
1559
|
|
|
1560
1560
|
/**
|
|
@@ -11,14 +11,10 @@ sap.ui.define([
|
|
|
11
11
|
'sap/ui/core/ValueStateSupport',
|
|
12
12
|
'sap/m/library',
|
|
13
13
|
'sap/ui/core/library',
|
|
14
|
-
'sap/m/Button',
|
|
15
|
-
'sap/m/GroupHeaderListItem',
|
|
16
14
|
'sap/m/List',
|
|
17
|
-
"sap/m/ValueStateHeader",
|
|
18
15
|
"sap/m/inputUtils/scrollToItem",
|
|
19
16
|
"sap/m/inputUtils/SuggestionsPopoverDialogMixin",
|
|
20
|
-
"sap/m/inputUtils/SuggestionsPopoverPopoverMixin"
|
|
21
|
-
"sap/m/inputUtils/ListHelpers"
|
|
17
|
+
"sap/m/inputUtils/SuggestionsPopoverPopoverMixin"
|
|
22
18
|
], function (
|
|
23
19
|
Device,
|
|
24
20
|
EventProvider,
|
|
@@ -26,14 +22,10 @@ sap.ui.define([
|
|
|
26
22
|
ValueStateSupport,
|
|
27
23
|
library,
|
|
28
24
|
coreLibrary,
|
|
29
|
-
Button,
|
|
30
|
-
GroupHeaderListItem,
|
|
31
25
|
List,
|
|
32
|
-
ValueStateHeader,
|
|
33
26
|
scrollToItem,
|
|
34
27
|
SuggestionsPopoverDialogMixin,
|
|
35
|
-
SuggestionsPopoverPopoverMixin
|
|
36
|
-
ListHelpers
|
|
28
|
+
SuggestionsPopoverPopoverMixin
|
|
37
29
|
) {
|
|
38
30
|
"use strict";
|
|
39
31
|
|
|
@@ -60,7 +52,7 @@ sap.ui.define([
|
|
|
60
52
|
* @alias sap.m.SuggestionsPopover
|
|
61
53
|
*
|
|
62
54
|
* @author SAP SE
|
|
63
|
-
* @version 1.
|
|
55
|
+
* @version 1.102.1
|
|
64
56
|
*/
|
|
65
57
|
var SuggestionsPopover = EventProvider.extend("sap.m.SuggestionsPopover", /** @lends sap.m.SuggestionsPopover.prototype */ {
|
|
66
58
|
|
|
@@ -138,12 +130,12 @@ sap.ui.define([
|
|
|
138
130
|
* @param mOptions {object} Settings for the Popover
|
|
139
131
|
* @public
|
|
140
132
|
*/
|
|
141
|
-
SuggestionsPopover.prototype.createSuggestionPopup = function (oParent, mOptions) {
|
|
133
|
+
SuggestionsPopover.prototype.createSuggestionPopup = function (oParent, mOptions, InputClass) {
|
|
142
134
|
var oPopover,
|
|
143
135
|
oList = this.getItemsContainer();
|
|
144
136
|
|
|
145
137
|
mOptions = mOptions || [];
|
|
146
|
-
oPopover = this.createPopover(oParent, mOptions);
|
|
138
|
+
oPopover = this.createPopover(oParent, mOptions, InputClass);
|
|
147
139
|
|
|
148
140
|
this.setPopover(oPopover);
|
|
149
141
|
oPopover.addStyleClass(CSS_CLASS_SUGGESTIONS_POPOVER);
|
package/src/sap/m/Switch.js
CHANGED
package/src/sap/m/TabStrip.js
CHANGED
|
@@ -73,7 +73,7 @@ function(
|
|
|
73
73
|
* space is exceeded, a horizontal scrollbar appears.
|
|
74
74
|
*
|
|
75
75
|
* @extends sap.ui.core.Control
|
|
76
|
-
* @version 1.
|
|
76
|
+
* @version 1.102.1
|
|
77
77
|
*
|
|
78
78
|
* @constructor
|
|
79
79
|
* @private
|
|
@@ -401,8 +401,10 @@ function(
|
|
|
401
401
|
this._oItemNavigation.setPageSize(5);
|
|
402
402
|
//alt+right/left is used for browser navigation
|
|
403
403
|
this._oItemNavigation.setDisabledModifiers({
|
|
404
|
-
sapnext: ["alt"],
|
|
405
|
-
sapprevious: ["alt"]
|
|
404
|
+
sapnext: ["alt", "meta"],
|
|
405
|
+
sapprevious: ["alt", "meta"],
|
|
406
|
+
saphome : ["alt", "meta"],
|
|
407
|
+
sapend : ["meta"]
|
|
406
408
|
});
|
|
407
409
|
|
|
408
410
|
//Attach ItemNavigation to the control delegate queue
|
package/src/sap/m/Table.js
CHANGED
|
@@ -21,10 +21,11 @@ sap.ui.define([
|
|
|
21
21
|
"sap/ui/thirdparty/jquery",
|
|
22
22
|
"sap/m/ListBaseRenderer",
|
|
23
23
|
"sap/ui/core/Icon",
|
|
24
|
+
"sap/m/table/Util",
|
|
24
25
|
// jQuery custom selectors ":sapTabbable"
|
|
25
26
|
"sap/ui/dom/jquery/Selectors"
|
|
26
27
|
],
|
|
27
|
-
function(Core, Device, library, ListBase, ListItemBase, CheckBox, TableRenderer, Log, BaseObject, ResizeHandler, PasteHelper, KeyCodes, jQuery, ListBaseRenderer, Icon) {
|
|
28
|
+
function(Core, Device, library, ListBase, ListItemBase, CheckBox, TableRenderer, Log, BaseObject, ResizeHandler, PasteHelper, KeyCodes, jQuery, ListBaseRenderer, Icon, Util) {
|
|
28
29
|
"use strict";
|
|
29
30
|
|
|
30
31
|
|
|
@@ -66,7 +67,7 @@ sap.ui.define([
|
|
|
66
67
|
* @extends sap.m.ListBase
|
|
67
68
|
*
|
|
68
69
|
* @author SAP SE
|
|
69
|
-
* @version 1.
|
|
70
|
+
* @version 1.102.1
|
|
70
71
|
*
|
|
71
72
|
* @constructor
|
|
72
73
|
* @public
|
|
@@ -185,7 +186,12 @@ sap.ui.define([
|
|
|
185
186
|
/**
|
|
186
187
|
* Defines the columns of the table.
|
|
187
188
|
*/
|
|
188
|
-
columns : {type : "sap.m.Column", multiple : true, singularName : "column", dnd : {draggable : true, droppable : true, layout : "Horizontal"} }
|
|
189
|
+
columns : {type : "sap.m.Column", multiple : true, singularName : "column", dnd : {draggable : true, droppable : true, layout : "Horizontal"} },
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Provides a message if no visible columns are available.
|
|
193
|
+
*/
|
|
194
|
+
_noColumnsMessage : {type: "sap.ui.core.Control", multiple: false, visibility: "hidden"}
|
|
189
195
|
},
|
|
190
196
|
events : {
|
|
191
197
|
/**
|
|
@@ -342,6 +348,19 @@ sap.ui.define([
|
|
|
342
348
|
}
|
|
343
349
|
};
|
|
344
350
|
|
|
351
|
+
Table.prototype.setNoData = function (vNoData) {
|
|
352
|
+
ListBase.prototype.setNoData.apply(this, arguments);
|
|
353
|
+
|
|
354
|
+
if (vNoData && typeof vNoData !== "string" && vNoData.isA("sap.m.IllustratedMessage")) {
|
|
355
|
+
var oNoColumns = this.getAggregation("_noColumnsMessage");
|
|
356
|
+
if (!oNoColumns) {
|
|
357
|
+
oNoColumns = Util.getNoColumnsIllustratedMessage();
|
|
358
|
+
this.setAggregation("_noColumnsMessage", oNoColumns);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
return this;
|
|
362
|
+
};
|
|
363
|
+
|
|
345
364
|
Table.prototype._onResize = function(mParams) {
|
|
346
365
|
this._applyContextualWidth(mParams.size.width);
|
|
347
366
|
};
|
|
@@ -765,6 +784,7 @@ sap.ui.define([
|
|
|
765
784
|
$firstVisibleCol.width(""); // cover the space
|
|
766
785
|
}
|
|
767
786
|
} else {
|
|
787
|
+
$firstVisibleCol.removeClass("sapMTableLastColumn");
|
|
768
788
|
// set original width of columns
|
|
769
789
|
aVisibleColumns.each(function() {
|
|
770
790
|
this.style.width = this.getAttribute("data-sap-width") || "";
|
|
@@ -1008,6 +1028,16 @@ sap.ui.define([
|
|
|
1008
1028
|
this.updateInvisibleText(sAnnouncement);
|
|
1009
1029
|
};
|
|
1010
1030
|
|
|
1031
|
+
Table.prototype._setNoColumnsMessageAnnouncement = function (oTarget) {
|
|
1032
|
+
if (!this.shouldRenderItems()) {
|
|
1033
|
+
var oNoData = this.getNoData();
|
|
1034
|
+
if (oNoData && typeof oNoData !== "string" && oNoData.isA("sap.m.IllustratedMessage")) {
|
|
1035
|
+
var sDescription = ListItemBase.getAccessibilityText(this.getAggregation("_noColumnsMessage"));
|
|
1036
|
+
this.updateInvisibleText(sDescription, oTarget);
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
};
|
|
1040
|
+
|
|
1011
1041
|
// keyboard handling
|
|
1012
1042
|
Table.prototype.onsapspace = function(oEvent) {
|
|
1013
1043
|
if (oEvent.isMarked()) {
|
|
@@ -1123,6 +1153,7 @@ sap.ui.define([
|
|
|
1123
1153
|
}
|
|
1124
1154
|
|
|
1125
1155
|
ListBase.prototype.onfocusin.call(this, oEvent);
|
|
1156
|
+
this._setNoColumnsMessageAnnouncement(oTarget);
|
|
1126
1157
|
};
|
|
1127
1158
|
|
|
1128
1159
|
// event listener for theme changed
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @class Table Personalization Controller
|
|
39
39
|
* @extends sap.ui.base.ManagedObject
|
|
40
40
|
* @author SAP
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.102.1
|
|
42
42
|
* @alias sap.m.TablePersoController
|
|
43
43
|
*/
|
|
44
44
|
var TablePersoController = ManagedObject.extend("sap.m.TablePersoController", /** @lends sap.m.TablePersoController */
|
|
@@ -87,7 +87,7 @@ sap.ui.define([
|
|
|
87
87
|
* @class Table Personalization Dialog
|
|
88
88
|
* @extends sap.ui.base.ManagedObject
|
|
89
89
|
* @author SAP
|
|
90
|
-
* @version 1.
|
|
90
|
+
* @version 1.102.1
|
|
91
91
|
* @alias sap.m.TablePersoDialog
|
|
92
92
|
*/
|
|
93
93
|
var TablePersoDialog = ManagedObject.extend("sap.m.TablePersoDialog", /** @lends sap.m.TablePersoDialog */
|
|
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/base/ManagedObject', "sap/base/Log"],
|
|
|
21
21
|
* @extends sap.ui.base.ManagedObject
|
|
22
22
|
* @abstract
|
|
23
23
|
* @author SAP
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.102.1
|
|
25
25
|
* @alias sap.m.TablePersoProvider
|
|
26
26
|
*/
|
|
27
27
|
var TablePersoProvider = ManagedObject.extend("sap.m.TablePersoProvider", /** @lends sap.m.TablePersoProvider */
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/Core", "sap/ui/core/InvisibleText", "./library", "./ListBaseRenderer", "./ColumnListItemRenderer"],
|
|
8
|
-
function(Renderer, Core, InvisibleText, library, ListBaseRenderer, ColumnListItemRenderer) {
|
|
7
|
+
sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/Core", "sap/ui/core/InvisibleText", "./library", "./ListBaseRenderer", "./ColumnListItemRenderer", "sap/m/table/Util"],
|
|
8
|
+
function(Renderer, Core, InvisibleText, library, ListBaseRenderer, ColumnListItemRenderer, Util) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
|
|
@@ -355,9 +355,14 @@ sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/Core", "sap/ui/core/Invisibl
|
|
|
355
355
|
rm.openEnd();
|
|
356
356
|
|
|
357
357
|
if (!oControl.shouldRenderItems()) {
|
|
358
|
-
|
|
358
|
+
var vNoData = oControl.getNoData();
|
|
359
|
+
if (vNoData && typeof vNoData !== "string" && vNoData.isA("sap.m.IllustratedMessage")) {
|
|
360
|
+
rm.renderControl(oControl.getAggregation("_noColumnsMessage"));
|
|
361
|
+
} else {
|
|
362
|
+
rm.text(Core.getLibraryResourceBundle("sap.m").getText("TABLE_NO_COLUMNS"));
|
|
363
|
+
}
|
|
359
364
|
} else {
|
|
360
|
-
|
|
365
|
+
this.renderNoDataArea(rm, oControl);
|
|
361
366
|
}
|
|
362
367
|
|
|
363
368
|
rm.close("td");
|
|
@@ -11,8 +11,10 @@ sap.ui.define([
|
|
|
11
11
|
'./SearchField',
|
|
12
12
|
'./Table',
|
|
13
13
|
'./library',
|
|
14
|
+
"sap/ui/core/library",
|
|
14
15
|
'./SelectDialogBase',
|
|
15
16
|
'sap/ui/core/InvisibleText',
|
|
17
|
+
"sap/ui/core/InvisibleMessage",
|
|
16
18
|
'sap/ui/Device',
|
|
17
19
|
'sap/m/Toolbar',
|
|
18
20
|
'sap/m/Text',
|
|
@@ -26,8 +28,10 @@ sap.ui.define([
|
|
|
26
28
|
SearchField,
|
|
27
29
|
Table,
|
|
28
30
|
library,
|
|
31
|
+
CoreLibrary,
|
|
29
32
|
SelectDialogBase,
|
|
30
33
|
InvisibleText,
|
|
34
|
+
InvisibleMessage,
|
|
31
35
|
Device,
|
|
32
36
|
Toolbar,
|
|
33
37
|
Text,
|
|
@@ -47,6 +51,9 @@ sap.ui.define([
|
|
|
47
51
|
// shortcut for sap.m.TitleAlignment
|
|
48
52
|
var TitleAlignment = library.TitleAlignment;
|
|
49
53
|
|
|
54
|
+
// shortcut for sap.ui.core.InvisibleMessageMode
|
|
55
|
+
var InvisibleMessageMode = CoreLibrary.InvisibleMessageMode;
|
|
56
|
+
|
|
50
57
|
/**
|
|
51
58
|
* Constructor for a new TableSelectDialog.
|
|
52
59
|
*
|
|
@@ -95,10 +102,10 @@ sap.ui.define([
|
|
|
95
102
|
* <ul>
|
|
96
103
|
* <li>On smaller screens, the columns of the table wrap and build a list that shows all the information.</li>
|
|
97
104
|
* </ul>
|
|
98
|
-
* When using the <code>sap.m.TableSelectDialog</code> in SAP Quartz themes, the breakpoints and layout paddings could be determined by the dialog's width. To enable this concept and add responsive paddings to an element of the control, you have to add the following classes depending on your use case: <code>sapUiResponsivePadding--header</code>, <code>sapUiResponsivePadding--subHeader</code>, <code>sapUiResponsivePadding--content</code>, <code>sapUiResponsivePadding--footer</code>.
|
|
105
|
+
* When using the <code>sap.m.TableSelectDialog</code> in SAP Quartz and Horizon themes, the breakpoints and layout paddings could be determined by the dialog's width. To enable this concept and add responsive paddings to an element of the control, you have to add the following classes depending on your use case: <code>sapUiResponsivePadding--header</code>, <code>sapUiResponsivePadding--subHeader</code>, <code>sapUiResponsivePadding--content</code>, <code>sapUiResponsivePadding--footer</code>.
|
|
99
106
|
* @extends sap.m.SelectDialogBase
|
|
100
107
|
* @author SAP SE
|
|
101
|
-
* @version 1.
|
|
108
|
+
* @version 1.102.1
|
|
102
109
|
*
|
|
103
110
|
* @constructor
|
|
104
111
|
* @public
|
|
@@ -370,13 +377,6 @@ sap.ui.define([
|
|
|
370
377
|
updateFinished: this._updateFinished.bind(this)
|
|
371
378
|
});
|
|
372
379
|
|
|
373
|
-
|
|
374
|
-
this._oTable.getInfoToolbar().addEventDelegate({
|
|
375
|
-
onAfterRendering: function () {
|
|
376
|
-
that._oTable.getInfoToolbar().$().attr('aria-live', 'polite');
|
|
377
|
-
}
|
|
378
|
-
});
|
|
379
|
-
|
|
380
380
|
this._table = this._oTable; // for downward compatibility
|
|
381
381
|
|
|
382
382
|
// store a reference to the busyIndicator to display when data is currently loaded by a service
|
|
@@ -1183,6 +1183,10 @@ sap.ui.define([
|
|
|
1183
1183
|
// update the selection label
|
|
1184
1184
|
oInfoBar.setVisible(!!iSelectedContexts);
|
|
1185
1185
|
oInfoBar.getContent()[0].setText(this._oRb.getText("TABLESELECTDIALOG_SELECTEDITEMS", [iSelectedContexts]));
|
|
1186
|
+
|
|
1187
|
+
if (this._oDialog.isOpen()) {
|
|
1188
|
+
InvisibleMessage.getInstance().announce(iSelectedContexts > 0 ? this._oRb.getText("TABLESELECTDIALOG_SELECTEDITEMS_SR", [iSelectedContexts]) : "", InvisibleMessageMode.Polite);
|
|
1189
|
+
}
|
|
1186
1190
|
};
|
|
1187
1191
|
|
|
1188
1192
|
/**
|
package/src/sap/m/Text.js
CHANGED
|
@@ -54,7 +54,7 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
54
54
|
* @implements sap.ui.core.IShrinkable, sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
|
|
55
55
|
*
|
|
56
56
|
* @author SAP SE
|
|
57
|
-
* @version 1.
|
|
57
|
+
* @version 1.102.1
|
|
58
58
|
*
|
|
59
59
|
* @constructor
|
|
60
60
|
* @public
|
package/src/sap/m/TextArea.js
CHANGED
package/src/sap/m/Tile.js
CHANGED
package/src/sap/m/TileContent.js
CHANGED
|
@@ -8,7 +8,7 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
8
8
|
function(library, Core, Control, TileContentRenderer) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
|
-
var Priority =
|
|
11
|
+
var Priority = library.Priority;
|
|
12
12
|
|
|
13
13
|
var LoadState = library.LoadState;
|
|
14
14
|
|
|
@@ -22,7 +22,7 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
22
22
|
* @extends sap.ui.core.Control
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.102.1
|
|
26
26
|
* @since 1.34.0
|
|
27
27
|
*
|
|
28
28
|
* @public
|
|
@@ -63,7 +63,12 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
63
63
|
* Adds a priority badge before the content. Works only in Generic Tile ActionMode.
|
|
64
64
|
* @experimental Since 1.96
|
|
65
65
|
*/
|
|
66
|
-
"priority" : {type: "sap.
|
|
66
|
+
"priority" : {type: "sap.m.Priority", group: "Misc", defaultValue: Priority.None},
|
|
67
|
+
/**
|
|
68
|
+
* Sets the Text inside the Priority badge in Generic Tile ActionMode.
|
|
69
|
+
* @experimental Since 1.103
|
|
70
|
+
*/
|
|
71
|
+
"priorityText" : {type: "string", group: "Misc", defaultValue: null},
|
|
67
72
|
/**
|
|
68
73
|
* The load status.
|
|
69
74
|
* @since 1.100.0
|
|
@@ -268,16 +273,5 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
268
273
|
return this;
|
|
269
274
|
};
|
|
270
275
|
|
|
271
|
-
/**
|
|
272
|
-
* Returns priority text from resource bundle
|
|
273
|
-
* @param {string} sPriority The priority value
|
|
274
|
-
* @returns {string} The priority text
|
|
275
|
-
* @private
|
|
276
|
-
*/
|
|
277
|
-
TileContent.prototype._getPriorityText = function(sPriority) {
|
|
278
|
-
var oResourceBundle = sap.ui.getCore().getLibraryResourceBundle('sap.m');
|
|
279
|
-
return oResourceBundle.getText('ACTION_PRIORITY_' + sPriority.toUpperCase());
|
|
280
|
-
};
|
|
281
|
-
|
|
282
276
|
return TileContent;
|
|
283
277
|
});
|