@openui5/sap.m 1.100.0 → 1.101.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/.eslintrc.json +18 -0
- package/THIRDPARTY.txt +5 -5
- 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 +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 +6 -5
- package/src/sap/m/Breadcrumbs.js +1 -1
- 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 +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +1 -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 +1 -1
- 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 +33 -5
- package/src/sap/m/DatePickerRenderer.js +0 -1
- package/src/sap/m/DateRangeSelection.js +42 -4
- package/src/sap/m/DateTimeField.js +1 -1
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +35 -49
- package/src/sap/m/DateTimePickerRenderer.js +2 -2
- package/src/sap/m/Dialog.js +20 -7
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateOption.js +12 -2
- package/src/sap/m/DynamicDateRange.js +56 -15
- 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 +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 +1 -1
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTagRenderer.js +10 -2
- package/src/sap/m/GenericTile.js +44 -4
- package/src/sap/m/GenericTileLineModeRenderer.js +77 -3
- package/src/sap/m/GenericTileRenderer.js +79 -28
- 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 +29 -13
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +2 -2
- 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 +1 -1
- 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 +36 -5
- package/src/sap/m/ListBaseRenderer.js +19 -3
- package/src/sap/m/ListItemBase.js +3 -2
- 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 +1 -1
- 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 +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericInput.js +3 -2
- package/src/sap/m/NumericInputRenderer.js +13 -1
- package/src/sap/m/ObjectAttribute.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 +1 -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 +1 -1
- 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 +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 +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 +14 -9
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +1 -1
- package/src/sap/m/QuickViewBase.js +1 -1
- package/src/sap/m/QuickViewCard.js +1 -1
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +1 -1
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +3 -2
- package/src/sap/m/RangeSlider.js +14 -2
- 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 +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +5 -2
- package/src/sap/m/SelectDialog.js +2 -2
- 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 +90 -48
- 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 +25 -4
- package/src/sap/m/StandardListItem.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 +1 -1
- 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 +2 -2
- 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 +1 -1
- package/src/sap/m/TimePicker.js +2 -54
- 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 +2 -1
- package/src/sap/m/Toolbar.js +1 -1
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/UploadCollection.js +1 -1
- 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 +7 -8
- 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 +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 +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/inputUtils/SuggestionsPopoverDialogMixin.js +22 -16
- package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +10 -2
- package/src/sap/m/library.js +12 -19
- package/src/sap/m/messagebundle.properties +25 -16
- package/src/sap/m/messagebundle_ar.properties +11 -13
- package/src/sap/m/messagebundle_bg.properties +11 -13
- package/src/sap/m/messagebundle_ca.properties +11 -13
- package/src/sap/m/messagebundle_cs.properties +11 -13
- package/src/sap/m/messagebundle_cy.properties +11 -13
- package/src/sap/m/messagebundle_da.properties +11 -13
- package/src/sap/m/messagebundle_de.properties +11 -13
- package/src/sap/m/messagebundle_el.properties +11 -13
- package/src/sap/m/messagebundle_en.properties +10 -12
- package/src/sap/m/messagebundle_en_GB.properties +10 -12
- package/src/sap/m/messagebundle_en_US_sappsd.properties +9 -11
- package/src/sap/m/messagebundle_en_US_saprigi.properties +9 -11
- package/src/sap/m/messagebundle_en_US_saptrc.properties +9 -11
- package/src/sap/m/messagebundle_es.properties +11 -13
- package/src/sap/m/messagebundle_es_MX.properties +11 -13
- package/src/sap/m/messagebundle_et.properties +11 -13
- package/src/sap/m/messagebundle_fi.properties +10 -12
- package/src/sap/m/messagebundle_fr.properties +11 -13
- package/src/sap/m/messagebundle_fr_CA.properties +11 -13
- package/src/sap/m/messagebundle_hi.properties +11 -13
- package/src/sap/m/messagebundle_hr.properties +11 -13
- package/src/sap/m/messagebundle_hu.properties +11 -13
- package/src/sap/m/messagebundle_id.properties +11 -13
- package/src/sap/m/messagebundle_it.properties +18 -20
- package/src/sap/m/messagebundle_iw.properties +11 -13
- package/src/sap/m/messagebundle_ja.properties +11 -13
- package/src/sap/m/messagebundle_kk.properties +11 -13
- package/src/sap/m/messagebundle_ko.properties +12 -14
- package/src/sap/m/messagebundle_lt.properties +11 -13
- package/src/sap/m/messagebundle_lv.properties +10 -12
- package/src/sap/m/messagebundle_ms.properties +11 -13
- package/src/sap/m/messagebundle_nl.properties +10 -12
- package/src/sap/m/messagebundle_no.properties +11 -13
- package/src/sap/m/messagebundle_pl.properties +11 -13
- package/src/sap/m/messagebundle_pt.properties +11 -13
- package/src/sap/m/messagebundle_pt_PT.properties +11 -13
- package/src/sap/m/messagebundle_ro.properties +11 -13
- package/src/sap/m/messagebundle_ru.properties +11 -13
- package/src/sap/m/messagebundle_sh.properties +11 -13
- package/src/sap/m/messagebundle_sk.properties +11 -13
- package/src/sap/m/messagebundle_sl.properties +11 -13
- package/src/sap/m/messagebundle_sv.properties +12 -14
- package/src/sap/m/messagebundle_th.properties +11 -13
- package/src/sap/m/messagebundle_tr.properties +11 -13
- package/src/sap/m/messagebundle_uk.properties +11 -13
- package/src/sap/m/messagebundle_vi.properties +11 -13
- package/src/sap/m/messagebundle_zh_CN.properties +11 -13
- package/src/sap/m/messagebundle_zh_TW.properties +11 -13
- 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 +2 -1
- package/src/sap/m/p13n/Popup.js +9 -2
- package/src/sap/m/p13n/QueryPanel.js +38 -8
- package/src/sap/m/p13n/SelectionPanel.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +4 -1
- package/src/sap/m/plugins/ColumnResizer.js +31 -2
- package/src/sap/m/plugins/DataStateIndicator.js +1 -1
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/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 +84 -6
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -1
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
- package/src/sap/m/table/columnmenu/ItemContainer.js +29 -0
- package/src/sap/m/table/columnmenu/Menu.js +197 -23
- package/src/sap/m/table/columnmenu/MenuRenderer.js +1 -25
- package/src/sap/m/table/columnmenu/QuickAction.js +14 -3
- package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionContainer.js +29 -0
- package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroup.js +29 -16
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +13 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +29 -28
- package/src/sap/m/table/columnmenu/QuickTotal.js +32 -17
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +13 -1
- package/src/sap/m/themes/base/Avatar.less +11 -5
- package/src/sap/m/themes/base/CheckBox.less +0 -1
- package/src/sap/m/themes/base/ColumnMenu.less +12 -4
- package/src/sap/m/themes/base/Dialog.less +4 -6
- package/src/sap/m/themes/base/GenericTile.less +370 -55
- package/src/sap/m/themes/base/IconTabBar.less +45 -14
- package/src/sap/m/themes/base/Input.less +1 -1
- package/src/sap/m/themes/base/InputBase.less +112 -10
- package/src/sap/m/themes/base/Label.less +3 -0
- 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/MultiInput.less +1 -1
- package/src/sap/m/themes/base/ObjectAttribute.less +1 -1
- package/src/sap/m/themes/base/ObjectMarker.less +3 -1
- package/src/sap/m/themes/base/ObjectStatus.less +5 -0
- package/src/sap/m/themes/base/Popover.less +10 -7
- package/src/sap/m/themes/base/RadioButton.less +21 -3
- package/src/sap/m/themes/base/SuggestionsPopover.less +1 -1
- package/src/sap/m/themes/base/TextArea.less +27 -0
- package/src/sap/m/themes/base/Token.less +14 -13
- package/src/sap/m/themes/base/Tokenizer.less +2 -2
- package/src/sap/m/themes/base/ValueStateMessage.less +3 -3
- 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/sap_hcb/ComboBoxBase.less +0 -12
- package/src/sap/m/themes/sap_hcb/InputBase.less +7 -42
- package/src/sap/m/themes/sap_hcb/Popover.less +3 -0
- package/src/sap/m/themes/sap_hcb/Token.less +4 -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 +91 -21
- package/src/sap/m/upload/UploadSetItem.js +11 -1
|
@@ -36,7 +36,7 @@ sap.ui.define([
|
|
|
36
36
|
* Constructor for an sap.m.semantic.SemanticConfiguration.
|
|
37
37
|
*
|
|
38
38
|
* @class Defines the visual properties and positioning for each supported semantic type
|
|
39
|
-
* @version 1.
|
|
39
|
+
* @version 1.101.0
|
|
40
40
|
* @private
|
|
41
41
|
* @since 1.30.0
|
|
42
42
|
* @alias sap.m.semantic.SemanticConfiguration
|
|
@@ -252,8 +252,7 @@ sap.ui.define([
|
|
|
252
252
|
getSettings: function() {
|
|
253
253
|
return {
|
|
254
254
|
icon: IconPool.getIconURI("add"),
|
|
255
|
-
text: oBundle.getText("SEMANTIC_CONTROL_ADD")
|
|
256
|
-
tooltip: oBundle.getText("SEMANTIC_CONTROL_ADD")
|
|
255
|
+
text: oBundle.getText("SEMANTIC_CONTROL_ADD")
|
|
257
256
|
};
|
|
258
257
|
},
|
|
259
258
|
order: 0,
|
|
@@ -265,8 +264,7 @@ sap.ui.define([
|
|
|
265
264
|
getSettings: function() {
|
|
266
265
|
return {
|
|
267
266
|
icon: IconPool.getIconURI("favorite"),
|
|
268
|
-
text: oBundle.getText("SEMANTIC_CONTROL_FAVORITE")
|
|
269
|
-
tooltip: oBundle.getText("SEMANTIC_CONTROL_FAVORITE")
|
|
267
|
+
text: oBundle.getText("SEMANTIC_CONTROL_FAVORITE")
|
|
270
268
|
};
|
|
271
269
|
},
|
|
272
270
|
order: 1,
|
|
@@ -278,8 +276,7 @@ sap.ui.define([
|
|
|
278
276
|
getSettings: function() {
|
|
279
277
|
return {
|
|
280
278
|
icon: IconPool.getIconURI("flag"),
|
|
281
|
-
text: oBundle.getText("SEMANTIC_CONTROL_FLAG")
|
|
282
|
-
tooltip: oBundle.getText("SEMANTIC_CONTROL_FLAG")
|
|
279
|
+
text: oBundle.getText("SEMANTIC_CONTROL_FLAG")
|
|
283
280
|
};
|
|
284
281
|
},
|
|
285
282
|
order: 2,
|
|
@@ -306,8 +303,7 @@ sap.ui.define([
|
|
|
306
303
|
getSettings: function() {
|
|
307
304
|
return {
|
|
308
305
|
icon: IconPool.getIconURI("sort"),
|
|
309
|
-
text: oBundle.getText("SEMANTIC_CONTROL_SORT")
|
|
310
|
-
tooltip: oBundle.getText("SEMANTIC_CONTROL_SORT")
|
|
306
|
+
text: oBundle.getText("SEMANTIC_CONTROL_SORT")
|
|
311
307
|
};
|
|
312
308
|
},
|
|
313
309
|
constraints: "IconOnly"
|
|
@@ -338,8 +334,7 @@ sap.ui.define([
|
|
|
338
334
|
getSettings: function() {
|
|
339
335
|
return {
|
|
340
336
|
icon: IconPool.getIconURI("filter"),
|
|
341
|
-
text: oBundle.getText("SEMANTIC_CONTROL_FILTER")
|
|
342
|
-
tooltip: oBundle.getText("SEMANTIC_CONTROL_FILTER")
|
|
337
|
+
text: oBundle.getText("SEMANTIC_CONTROL_FILTER")
|
|
343
338
|
};
|
|
344
339
|
},
|
|
345
340
|
constraints: "IconOnly"
|
|
@@ -370,8 +365,7 @@ sap.ui.define([
|
|
|
370
365
|
getSettings: function() {
|
|
371
366
|
return {
|
|
372
367
|
icon: IconPool.getIconURI("group-2"),
|
|
373
|
-
text: oBundle.getText("SEMANTIC_CONTROL_GROUP")
|
|
374
|
-
tooltip: oBundle.getText("SEMANTIC_CONTROL_GROUP")
|
|
368
|
+
text: oBundle.getText("SEMANTIC_CONTROL_GROUP")
|
|
375
369
|
};
|
|
376
370
|
},
|
|
377
371
|
constraints: "IconOnly"
|
|
@@ -480,7 +474,6 @@ sap.ui.define([
|
|
|
480
474
|
return aMessages.length || 0;
|
|
481
475
|
}
|
|
482
476
|
},
|
|
483
|
-
tooltip: oBundle.getText("SEMANTIC_CONTROL_MESSAGES_INDICATOR"),
|
|
484
477
|
type: ButtonType.Emphasized,
|
|
485
478
|
visible: {
|
|
486
479
|
path: "message>/",
|
|
@@ -48,7 +48,7 @@ sap.ui.define([
|
|
|
48
48
|
* ShareMenu is a special menu that is represented by (1) an actionSheet with the menu items and (2) a button that opens the actionSheet.
|
|
49
49
|
* If the menu has only one item, then that item appears in place of the button that opens the actionSheet.
|
|
50
50
|
*
|
|
51
|
-
* @version 1.
|
|
51
|
+
* @version 1.101.0
|
|
52
52
|
* @private
|
|
53
53
|
* @since 1.30.0
|
|
54
54
|
* @alias sap.m.semantic.ShareMenu
|
package/src/sap/m/table/Util.js
CHANGED
|
@@ -7,8 +7,9 @@
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/m/library",
|
|
9
9
|
"sap/ui/core/Core",
|
|
10
|
-
"sap/ui/core/theming/Parameters"
|
|
11
|
-
|
|
10
|
+
"sap/ui/core/theming/Parameters",
|
|
11
|
+
"sap/m/IllustratedMessage"
|
|
12
|
+
], function(MLibrary, Core, ThemeParameters, IllustratedMessage) {
|
|
12
13
|
"use strict";
|
|
13
14
|
/*global Intl*/
|
|
14
15
|
|
|
@@ -17,7 +18,7 @@ sap.ui.define([
|
|
|
17
18
|
* @namespace
|
|
18
19
|
* @alias module:sap/m/table/Util
|
|
19
20
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
21
|
+
* @version 1.101.0
|
|
21
22
|
* @since 1.96.0
|
|
22
23
|
* @private
|
|
23
24
|
* @experimental Since 1.96.0. This class is experimental and the API might be changed in future.
|
|
@@ -71,7 +72,7 @@ sap.ui.define([
|
|
|
71
72
|
var aDateParameters = [2023, 9, 26, 22, 47, 58, 999];
|
|
72
73
|
var oUTCDate = new Date(Date.UTC.apply(0, aDateParameters));
|
|
73
74
|
var oLocalDate = new (Function.prototype.bind.apply(Date, [null].concat(aDateParameters)))();
|
|
74
|
-
var mNumericLimits = { Byte: 3, SByte: 3, Int16: 5, Int32: 9, Int64: 12, Single: 6, Float: 12, Double: 13, Decimal: 15 };
|
|
75
|
+
var mNumericLimits = { Byte: 3, SByte: 3, Int16: 5, Int32: 9, Int64: 12, Single: 6, Float: 12, Double: 13, Decimal: 15, Integer: 9 };
|
|
75
76
|
Core.attachThemeChanged(function() { fBooleanWidth = 0; });
|
|
76
77
|
|
|
77
78
|
return function(oType, mSettings) {
|
|
@@ -109,7 +110,8 @@ sap.ui.define([
|
|
|
109
110
|
}
|
|
110
111
|
|
|
111
112
|
if (sType.startsWith("Date") || sType.startsWith("Time")) {
|
|
112
|
-
var
|
|
113
|
+
var mFormatOptions = oType.getFormatOptions();
|
|
114
|
+
var oDate = mFormatOptions.UTC ? oUTCDate : oLocalDate;
|
|
113
115
|
var sSample = oDate.toLocaleDateString();
|
|
114
116
|
|
|
115
117
|
if (sType == "TimeOfDay") {
|
|
@@ -118,7 +120,7 @@ sap.ui.define([
|
|
|
118
120
|
} else if (oType.isA("sap.ui.model.odata.type.Time")) {
|
|
119
121
|
sSample = oType.formatValue({ __edmType: "Edm.Time", ms: oUTCDate.valueOf() }, "string");
|
|
120
122
|
} else {
|
|
121
|
-
sSample = oType.formatValue(oDate, "string");
|
|
123
|
+
sSample = oType.formatValue(mFormatOptions.interval ? [oDate, new Date(oDate * 1.009)] : oDate, "string");
|
|
122
124
|
((oType.oFormat && oType.oFormat.oFormatOptions && oType.oFormat.oFormatOptions.pattern) || "").replace(/[MELVec]{3,4}/, function(sWideFormat) {
|
|
123
125
|
sSample += (sWideFormat.length == 4 ? "---" : "-");
|
|
124
126
|
});
|
|
@@ -190,6 +192,82 @@ sap.ui.define([
|
|
|
190
192
|
};
|
|
191
193
|
})();
|
|
192
194
|
|
|
195
|
+
/**
|
|
196
|
+
* Calculates the width of a table column.
|
|
197
|
+
*
|
|
198
|
+
* @param {sap.ui.model.odata.type.ODataType[]} vTypes The ODataType instances
|
|
199
|
+
* @param {string} [sHeader] The header of the column
|
|
200
|
+
* @param {object} [mSettings] The settings object
|
|
201
|
+
* @param {int} [mSettings.minWidth=2] The minimum content width of the field in rem
|
|
202
|
+
* @param {int} [mSettings.maxWidth=19] The maximum content width of the field in rem
|
|
203
|
+
* @param {int} [mSettings.padding=1] The sum of column padding and border in rem
|
|
204
|
+
* @param {float} [mSettings.gap=0] The additional content width in rem
|
|
205
|
+
* @param {boolean} [mSettings.verticalArrangement=false] Whether the fields are arranged vertically
|
|
206
|
+
* @param {int} [mSettings.defaultWidth=8] The default column content width when type check fails
|
|
207
|
+
* @returns {string} The calculated width of the column
|
|
208
|
+
* @private
|
|
209
|
+
* @ui5-restricted sap.fe, sap.ui.mdc, sap.ui.comp
|
|
210
|
+
* @since 1.101
|
|
211
|
+
*/
|
|
212
|
+
Util.calcColumnWidth = function(vTypes, sHeader, mSettings) {
|
|
213
|
+
if (!Array.isArray(vTypes)) {
|
|
214
|
+
vTypes = [vTypes];
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
mSettings = Object.assign({
|
|
218
|
+
minWidth: 2,
|
|
219
|
+
maxWidth: 19,
|
|
220
|
+
defaultWidth: 8,
|
|
221
|
+
padding: 1,
|
|
222
|
+
gap: 0,
|
|
223
|
+
verticalArrangement: false
|
|
224
|
+
}, mSettings);
|
|
225
|
+
|
|
226
|
+
var fHeaderWidth = 0;
|
|
227
|
+
var iMinWidth = Math.max(1, mSettings.minWidth);
|
|
228
|
+
var iMaxWidth = Math.max(iMinWidth, mSettings.maxWidth);
|
|
229
|
+
|
|
230
|
+
var fContentWidth = mSettings.gap + vTypes.reduce(function(fInnerWidth, vType) {
|
|
231
|
+
var oType = vType, oTypeSettings = mSettings;
|
|
232
|
+
|
|
233
|
+
if (Array.isArray(vType)) {
|
|
234
|
+
// for internal usage (mdc/Table) every field can provide own width settings
|
|
235
|
+
// in this case we get [<TypeInstance>, <TypeSettings>][] instead of <TypeInstance>[]
|
|
236
|
+
oType = vType[0];
|
|
237
|
+
oTypeSettings = vType[1] || mSettings;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
var fTypeWidth = Util.calcTypeWidth(oType, oTypeSettings);
|
|
241
|
+
return mSettings.verticalArrangement ? Math.max(fInnerWidth, fTypeWidth) : fInnerWidth + fTypeWidth + (fInnerWidth && 0.5);
|
|
242
|
+
}, 0);
|
|
243
|
+
|
|
244
|
+
if (sHeader) {
|
|
245
|
+
fHeaderWidth = Util.calcHeaderWidth(sHeader, fContentWidth, iMaxWidth, iMinWidth);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
fContentWidth = Math.max(iMinWidth, fContentWidth, fHeaderWidth);
|
|
249
|
+
fContentWidth = Math.min(fContentWidth, iMaxWidth);
|
|
250
|
+
fContentWidth = Math.round(fContentWidth * 100) / 100;
|
|
251
|
+
|
|
252
|
+
return fContentWidth + mSettings.padding + "rem";
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Returns an instance of <code>sap.m.IllustratedMessage</code> in case there are no visible columns in the table.
|
|
257
|
+
*
|
|
258
|
+
* @returns {sap.m.IllustratedMessage} The message to be displayed when the table has no visible columns
|
|
259
|
+
* @private
|
|
260
|
+
*/
|
|
261
|
+
Util.getNoColumnsIllustratedMessage = function() {
|
|
262
|
+
var oResourceBundle = Core.getLibraryResourceBundle("sap.m");
|
|
263
|
+
|
|
264
|
+
return new IllustratedMessage({
|
|
265
|
+
illustrationType: MLibrary.IllustratedMessageType.AddColumn,
|
|
266
|
+
title: oResourceBundle.getText("TABLE_NO_COLUMNS_TITLE"),
|
|
267
|
+
description: oResourceBundle.getText("TABLE_NO_COLUMNS_DESCRIPTION")
|
|
268
|
+
});
|
|
269
|
+
};
|
|
270
|
+
|
|
193
271
|
return Util;
|
|
194
272
|
|
|
195
273
|
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
sap.ui.define([
|
|
7
|
+
"sap/m/table/columnmenu/ItemBase"
|
|
8
|
+
], function(
|
|
9
|
+
ItemBase
|
|
10
|
+
) {
|
|
11
|
+
"use strict";
|
|
12
|
+
|
|
13
|
+
var ItemContainer = ItemBase.extend("sap.m.table.columnmenu.ItemContainer", {
|
|
14
|
+
metadata: {
|
|
15
|
+
library: "sap.m",
|
|
16
|
+
aggregations: {
|
|
17
|
+
items: {type: "sap.m.table.columnmenu.ItemBase"}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
ItemContainer.prototype.getEffectiveItems = function() {
|
|
23
|
+
return this.getItems().reduce(function(aItems, oItem) {
|
|
24
|
+
return aItems.concat(oItem.getEffectiveItems());
|
|
25
|
+
}, []);
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
return ItemContainer;
|
|
29
|
+
});
|