@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
|
@@ -23,7 +23,9 @@ sap.ui.define([
|
|
|
23
23
|
'./Link',
|
|
24
24
|
'./PlanningCalendarLegend',
|
|
25
25
|
'./SinglePlanningCalendarMonthGridRenderer',
|
|
26
|
-
'sap/ui/thirdparty/jquery'
|
|
26
|
+
'sap/ui/thirdparty/jquery',
|
|
27
|
+
'sap/ui/core/InvisibleMessage',
|
|
28
|
+
'sap/ui/core/library'
|
|
27
29
|
],
|
|
28
30
|
function (
|
|
29
31
|
Control,
|
|
@@ -43,7 +45,9 @@ sap.ui.define([
|
|
|
43
45
|
Link,
|
|
44
46
|
PlanningCalendarLegend,
|
|
45
47
|
SinglePlanningCalendarMonthGridRenderer,
|
|
46
|
-
jQuery
|
|
48
|
+
jQuery,
|
|
49
|
+
InvisibleMessage,
|
|
50
|
+
coreLibrary
|
|
47
51
|
) {
|
|
48
52
|
"use strict";
|
|
49
53
|
|
|
@@ -51,6 +55,7 @@ sap.ui.define([
|
|
|
51
55
|
var CELL_HEADER_HEIGHT_COMPACT = 1.5; //rem
|
|
52
56
|
var APP_HEIGHT_COZY = 2.125; //rem
|
|
53
57
|
var CELL_HEADER_HEIGHT_COZY = 1.75; //rem
|
|
58
|
+
var InvisibleMessageMode = coreLibrary.InvisibleMessageMode;
|
|
54
59
|
|
|
55
60
|
/**
|
|
56
61
|
* Constructor for a new <code>SinglePlanningCalendarMonthGrid</code>.
|
|
@@ -78,7 +83,7 @@ sap.ui.define([
|
|
|
78
83
|
* @extends sap.ui.core.Control
|
|
79
84
|
*
|
|
80
85
|
* @author SAP SE
|
|
81
|
-
* @version 1.
|
|
86
|
+
* @version 1.101.0
|
|
82
87
|
*
|
|
83
88
|
* @constructor
|
|
84
89
|
* @private
|
|
@@ -252,6 +257,7 @@ sap.ui.define([
|
|
|
252
257
|
|
|
253
258
|
this._oAppointmentsToRender = this._calculateAppointmentsNodes(oStartDate);
|
|
254
259
|
this._createAppointmentsDndPlaceholders(oStartDate);
|
|
260
|
+
this._oInvisibleMessage = InvisibleMessage.getInstance();
|
|
255
261
|
};
|
|
256
262
|
|
|
257
263
|
SinglePlanningCalendarMonthGrid.prototype.onAfterRendering = function() {
|
|
@@ -317,6 +323,12 @@ sap.ui.define([
|
|
|
317
323
|
if (oEvent.which === KeyCodes.SPACE || oEvent.which === KeyCodes.ENTER) {
|
|
318
324
|
this._fireSelectionEvent(oEvent);
|
|
319
325
|
|
|
326
|
+
var oControl = this._findSrcControl(oEvent);
|
|
327
|
+
if (oControl && oControl.isA("sap.ui.unified.CalendarAppointment")) {
|
|
328
|
+
var sBundleKey = oControl.getSelected() ? "APPOINTMENT_SELECTED" : "APPOINTMENT_UNSELECTED";
|
|
329
|
+
this._oInvisibleMessage.announce(this._oUnifiedRB.getText(sBundleKey), InvisibleMessageMode.Polite);
|
|
330
|
+
}
|
|
331
|
+
|
|
320
332
|
// Prevent scrolling
|
|
321
333
|
oEvent.preventDefault();
|
|
322
334
|
}
|
|
@@ -536,15 +548,15 @@ sap.ui.define([
|
|
|
536
548
|
oLastVisibleDay = aVisibleDays[aVisibleDays.length - 1],
|
|
537
549
|
// we do not need appointments without start and end dates
|
|
538
550
|
aApps = this.getAppointments().filter(function(app) {
|
|
539
|
-
var bValid = app.
|
|
551
|
+
var bValid = app._getStartDateWithTimezoneAdaptation() && app._getEndDateWithTimezoneAdaptation();
|
|
540
552
|
if (!bValid) {
|
|
541
553
|
Log.warning("Appointment " + app.getId() + " has no start or no end date. It is ignored.");
|
|
542
554
|
}
|
|
543
555
|
return bValid;
|
|
544
556
|
// map to a structure ready for calculations
|
|
545
557
|
}).map(function(app) {
|
|
546
|
-
var oStart = CalendarDate.fromLocalJSDate(app.
|
|
547
|
-
oEnd = CalendarDate.fromLocalJSDate(app.
|
|
558
|
+
var oStart = CalendarDate.fromLocalJSDate(app._getStartDateWithTimezoneAdaptation()),
|
|
559
|
+
oEnd = CalendarDate.fromLocalJSDate(app._getEndDateWithTimezoneAdaptation());
|
|
548
560
|
return {
|
|
549
561
|
data: app,
|
|
550
562
|
start: oStart,
|
|
@@ -677,8 +689,8 @@ sap.ui.define([
|
|
|
677
689
|
oAppointment = oDragSession.getDragControl(),
|
|
678
690
|
oPlaceholder = oDragSession.getDropControl(),
|
|
679
691
|
oCellCalStartDate = oPlaceholder.getDate(),
|
|
680
|
-
oAppCalStartDate = CalendarDate.fromLocalJSDate(oAppointment.
|
|
681
|
-
oAppCalEndDate = CalendarDate.fromLocalJSDate(oAppointment.
|
|
692
|
+
oAppCalStartDate = CalendarDate.fromLocalJSDate(oAppointment._getStartDateWithTimezoneAdaptation()),
|
|
693
|
+
oAppCalEndDate = CalendarDate.fromLocalJSDate(oAppointment._getEndDateWithTimezoneAdaptation()),
|
|
682
694
|
iOffset = CalendarUtils._daysBetween(oCellCalStartDate, oAppCalStartDate),
|
|
683
695
|
oStartDate = new CalendarDate(oAppCalStartDate),
|
|
684
696
|
oEndDate = new CalendarDate(oAppCalEndDate),
|
|
@@ -817,8 +829,8 @@ sap.ui.define([
|
|
|
817
829
|
var oUnifiedRB = Core.getLibraryResourceBundle("sap.ui.unified"),
|
|
818
830
|
sStartTime = oUnifiedRB.getText("CALENDAR_START_TIME"),
|
|
819
831
|
sEndTime = oUnifiedRB.getText("CALENDAR_END_TIME"),
|
|
820
|
-
sFormattedStartDate = this._oFormatAriaApp.format(oAppointment.
|
|
821
|
-
sFormattedEndDate = this._oFormatAriaApp.format(oAppointment.
|
|
832
|
+
sFormattedStartDate = this._oFormatAriaApp.format(oAppointment._getStartDateWithTimezoneAdaptation()),
|
|
833
|
+
sFormattedEndDate = this._oFormatAriaApp.format(oAppointment._getEndDateWithTimezoneAdaptation()),
|
|
822
834
|
sAppInfo = sStartTime + ": " + sFormattedStartDate + "; " + sEndTime + ": " + sFormattedEndDate;
|
|
823
835
|
|
|
824
836
|
return sAppInfo + "; " + PlanningCalendarLegend.findLegendItemForItem(Core.byId(this._sLegendId), oAppointment);
|
package/src/sap/m/SlideTile.js
CHANGED
package/src/sap/m/Slider.js
CHANGED
|
@@ -35,7 +35,7 @@ function(
|
|
|
35
35
|
* @extends sap.ui.core.Control
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.101.0
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @private
|
|
@@ -149,6 +149,10 @@ function(
|
|
|
149
149
|
* @public
|
|
150
150
|
*/
|
|
151
151
|
SliderTooltipContainer.prototype.repositionTooltips = function () {
|
|
152
|
+
if (!this._oParentSlider) {
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
155
|
+
|
|
152
156
|
var bParentRangeSlider = this._oParentSlider instanceof sap.m.RangeSlider,
|
|
153
157
|
aTooltips = this._oParentSlider.getUsedTooltips(),
|
|
154
158
|
// we are considering that both tooltips have the same rendering
|
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.101.0
|
|
56
56
|
*
|
|
57
57
|
* @public
|
|
58
58
|
* @alias sap.m.StandardDynamicDateOption
|
|
@@ -367,7 +367,7 @@ 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
372
|
aControls = [];
|
|
373
373
|
|
|
@@ -387,6 +387,16 @@ sap.ui.define([
|
|
|
387
387
|
aParams.push(oNextOptionParam);
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
+
if (oValue && oValue.values) {
|
|
391
|
+
oValue.values = oValue.values.map(function(val) {
|
|
392
|
+
if (val instanceof Date) {
|
|
393
|
+
return oControl._reverseConvertDate(val);
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
return val;
|
|
397
|
+
});
|
|
398
|
+
}
|
|
399
|
+
|
|
390
400
|
for (var iIndex = 0; iIndex < aParams.length; iIndex++) {
|
|
391
401
|
if (aParams[iIndex].getOptions() && aParams[iIndex].getOptions().length <= 1) {
|
|
392
402
|
break;
|
|
@@ -707,6 +717,9 @@ sap.ui.define([
|
|
|
707
717
|
var oStart = UniversalDate.getInstance(oValue.values[0]);
|
|
708
718
|
var oEnd = UniversalDate.getInstance(oValue.values[1]);
|
|
709
719
|
|
|
720
|
+
oStart.setMilliseconds(0);
|
|
721
|
+
oEnd.setMilliseconds(999);
|
|
722
|
+
|
|
710
723
|
return [oStart, oEnd];
|
|
711
724
|
case "TODAY":
|
|
712
725
|
return UniversalDateUtils.ranges.today();
|
|
@@ -779,9 +792,17 @@ sap.ui.define([
|
|
|
779
792
|
case "TO":
|
|
780
793
|
return [UniversalDate.getInstance(oValue.values[0])];
|
|
781
794
|
case "FROMDATETIME":
|
|
782
|
-
|
|
795
|
+
var oDate = UniversalDate.getInstance(oValue.values[0]);
|
|
796
|
+
|
|
797
|
+
oDate.setMilliseconds(0);
|
|
798
|
+
|
|
799
|
+
return [oDate];
|
|
783
800
|
case "TODATETIME":
|
|
784
|
-
|
|
801
|
+
var oDate = UniversalDate.getInstance(oValue.values[0]);
|
|
802
|
+
|
|
803
|
+
oDate.setMilliseconds(999);
|
|
804
|
+
|
|
805
|
+
return [oDate];
|
|
785
806
|
case "YEARTODATE":
|
|
786
807
|
return UniversalDateUtils.ranges.yearToDate();
|
|
787
808
|
case "DATETOYEAR":
|
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.101.0
|
|
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.101.0
|
|
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
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.101.0
|
|
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.101.0
|
|
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.101.0
|
|
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.101.0
|
|
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");
|
|
@@ -95,10 +95,10 @@ sap.ui.define([
|
|
|
95
95
|
* <ul>
|
|
96
96
|
* <li>On smaller screens, the columns of the table wrap and build a list that shows all the information.</li>
|
|
97
97
|
* </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>.
|
|
98
|
+
* 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
99
|
* @extends sap.m.SelectDialogBase
|
|
100
100
|
* @author SAP SE
|
|
101
|
-
* @version 1.
|
|
101
|
+
* @version 1.101.0
|
|
102
102
|
*
|
|
103
103
|
* @constructor
|
|
104
104
|
* @public
|
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.101.0
|
|
58
58
|
*
|
|
59
59
|
* @constructor
|
|
60
60
|
* @public
|
package/src/sap/m/TextArea.js
CHANGED