@openui5/sap.m 1.99.1 → 1.102.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/ActionListItemRenderer.js +5 -7
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSheet.js +11 -4
- 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/BadgeEnabler.js +3 -2
- package/src/sap/m/Bar.js +12 -21
- package/src/sap/m/Breadcrumbs.js +83 -10
- package/src/sap/m/BreadcrumbsRenderer.js +3 -7
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +2 -2
- package/src/sap/m/Carousel.js +4 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +4 -2
- package/src/sap/m/CheckBox.js +2 -4
- 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 +10 -11
- 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 +23 -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/CustomListItemRenderer.js +4 -6
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTileRenderer.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/CustomTreeItemRenderer.js +2 -2
- package/src/sap/m/DatePicker.js +52 -9
- package/src/sap/m/DatePickerRenderer.js +0 -1
- package/src/sap/m/DateRangeSelection.js +42 -4
- package/src/sap/m/DateTimeField.js +8 -5
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +97 -66
- package/src/sap/m/DateTimePickerRenderer.js +21 -4
- package/src/sap/m/Dialog.js +20 -7
- package/src/sap/m/DialogRenderer.js +1 -1
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DisplayListItemRenderer.js +4 -6
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateFormat.js +13 -6
- package/src/sap/m/DynamicDateOption.js +12 -2
- package/src/sap/m/DynamicDateRange.js +129 -21
- package/src/sap/m/DynamicDateUtil.js +1 -2
- 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 +6 -4
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +2 -2
- package/src/sap/m/FeedListItem.js +2 -2
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/FeedListItemRenderer.js +10 -5
- 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 +5 -3
- package/src/sap/m/GenericTagRenderer.js +13 -5
- package/src/sap/m/GenericTile.js +101 -13
- package/src/sap/m/GenericTileLineModeRenderer.js +80 -3
- package/src/sap/m/GenericTileRenderer.js +108 -48
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +138 -83
- 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/HyphenationSupport.js +0 -4
- package/src/sap/m/IconTabBar.js +3 -3
- package/src/sap/m/IconTabBarDragAndDropUtil.js +3 -2
- package/src/sap/m/IconTabBarSelectList.js +3 -5
- package/src/sap/m/IconTabFilter.js +1 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +7 -11
- 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 +10 -19
- package/src/sap/m/InputBase.js +5 -5
- package/src/sap/m/InputBaseRenderer.js +1 -2
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InputListItemRenderer.js +4 -6
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LabelRenderer.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 +23 -9
- 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 +2 -2
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +4 -2
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +12 -7
- package/src/sap/m/NavContainer.js +53 -53
- 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 +29 -21
- package/src/sap/m/NumericInput.js +3 -2
- package/src/sap/m/NumericInputRenderer.js +13 -1
- package/src/sap/m/ObjectAttribute.js +4 -5
- package/src/sap/m/ObjectAttributeRenderer.js +3 -3
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectIdentifier.js +3 -3
- 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/ObjectStatusRenderer.js +3 -4
- package/src/sap/m/OverflowToolbar.js +21 -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 +15 -15
- 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 +5 -2
- package/src/sap/m/RadioButton.js +2 -2
- package/src/sap/m/RadioButtonGroup.js +14 -2
- package/src/sap/m/RadioButtonRenderer.js +0 -1
- package/src/sap/m/RangeSlider.js +19 -4
- package/src/sap/m/RatingIndicator.js +2 -2
- package/src/sap/m/ResponsivePopover.js +3 -5
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +2 -2
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +17 -9
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/SegmentedButtonRenderer.js +1 -1
- package/src/sap/m/Select.js +53 -4
- package/src/sap/m/SelectDialog.js +16 -20
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectionDetails.js +3 -5
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +3 -3
- 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 +24 -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 +2 -2
- package/src/sap/m/SlideTileRenderer.js +8 -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 +4 -4
- package/src/sap/m/StandardDynamicDateOption.js +41 -18
- 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 +4 -4
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +6 -14
- 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 +6 -4
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/TabStripRenderer.js +2 -2
- 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 +15 -11
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/Tile.js +3 -3
- package/src/sap/m/TileContainer.js +6 -4
- package/src/sap/m/TileContent.js +34 -2
- package/src/sap/m/TileContentRenderer.js +44 -8
- package/src/sap/m/TileRenderer.js +1 -1
- package/src/sap/m/TimePicker.js +53 -61
- 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 +2 -2
- package/src/sap/m/TimePickerRenderer.js +2 -4
- 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/TitleRenderer.js +2 -2
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +19 -7
- package/src/sap/m/TokenizerRenderer.js +1 -1
- package/src/sap/m/Toolbar.js +7 -1
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +5 -3
- 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 +5 -3
- package/src/sap/m/UploadCollectionItem.js +2 -1
- package/src/sap/m/UploadCollectionParameter.js +2 -1
- package/src/sap/m/UploadCollectionRenderer.js +1 -0
- 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 +106 -49
- 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 +5 -5
- package/src/sap/m/delegate/DateNavigation.js +2 -2
- 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 +4 -3
- package/src/sap/m/inputUtils/typeAhead.js +7 -7
- package/src/sap/m/library.js +38 -31
- package/src/sap/m/messagebundle.properties +177 -24
- package/src/sap/m/messagebundle_ar.properties +116 -18
- package/src/sap/m/messagebundle_bg.properties +116 -18
- package/src/sap/m/messagebundle_ca.properties +116 -18
- package/src/sap/m/messagebundle_cs.properties +118 -20
- package/src/sap/m/messagebundle_cy.properties +116 -18
- package/src/sap/m/messagebundle_da.properties +116 -18
- package/src/sap/m/messagebundle_de.properties +117 -19
- package/src/sap/m/messagebundle_el.properties +119 -21
- package/src/sap/m/messagebundle_en.properties +115 -17
- package/src/sap/m/messagebundle_en_GB.properties +115 -17
- package/src/sap/m/messagebundle_en_US_sappsd.properties +115 -17
- package/src/sap/m/messagebundle_en_US_saprigi.properties +115 -17
- package/src/sap/m/messagebundle_en_US_saptrc.properties +115 -17
- package/src/sap/m/messagebundle_es.properties +116 -18
- package/src/sap/m/messagebundle_es_MX.properties +116 -18
- package/src/sap/m/messagebundle_et.properties +116 -18
- package/src/sap/m/messagebundle_fi.properties +115 -17
- package/src/sap/m/messagebundle_fr.properties +119 -21
- package/src/sap/m/messagebundle_fr_CA.properties +115 -17
- package/src/sap/m/messagebundle_hi.properties +114 -16
- package/src/sap/m/messagebundle_hr.properties +116 -18
- package/src/sap/m/messagebundle_hu.properties +116 -18
- package/src/sap/m/messagebundle_id.properties +115 -17
- package/src/sap/m/messagebundle_it.properties +124 -26
- package/src/sap/m/messagebundle_iw.properties +116 -18
- package/src/sap/m/messagebundle_ja.properties +115 -17
- package/src/sap/m/messagebundle_kk.properties +116 -18
- package/src/sap/m/messagebundle_ko.properties +116 -18
- package/src/sap/m/messagebundle_lt.properties +116 -18
- package/src/sap/m/messagebundle_lv.properties +115 -17
- package/src/sap/m/messagebundle_ms.properties +115 -17
- package/src/sap/m/messagebundle_nl.properties +115 -17
- package/src/sap/m/messagebundle_no.properties +116 -18
- package/src/sap/m/messagebundle_pl.properties +116 -18
- package/src/sap/m/messagebundle_pt.properties +125 -27
- package/src/sap/m/messagebundle_pt_PT.properties +116 -18
- package/src/sap/m/messagebundle_ro.properties +116 -18
- package/src/sap/m/messagebundle_ru.properties +116 -18
- package/src/sap/m/messagebundle_sh.properties +116 -18
- package/src/sap/m/messagebundle_sk.properties +116 -18
- package/src/sap/m/messagebundle_sl.properties +116 -18
- package/src/sap/m/messagebundle_sv.properties +117 -19
- package/src/sap/m/messagebundle_th.properties +115 -17
- package/src/sap/m/messagebundle_tr.properties +116 -18
- package/src/sap/m/messagebundle_uk.properties +116 -18
- package/src/sap/m/messagebundle_vi.properties +115 -17
- package/src/sap/m/messagebundle_zh_CN.properties +116 -18
- package/src/sap/m/messagebundle_zh_TW.properties +115 -17
- 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 +34 -15
- 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 -35
- package/src/sap/m/p13n/SelectionPanel.js +42 -9
- package/src/sap/m/p13n/SortPanel.js +27 -13
- package/src/sap/m/plugins/ColumnResizer.js +48 -13
- 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/Breadcrumbs.support.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/rules/Tokenizer.support.js +4 -2
- package/src/sap/m/semantic/AddAction.js +1 -1
- package/src/sap/m/semantic/CancelAction.js +1 -1
- package/src/sap/m/semantic/DeleteAction.js +1 -1
- package/src/sap/m/semantic/DetailPage.js +1 -1
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/m/semantic/EditAction.js +1 -1
- package/src/sap/m/semantic/FavoriteAction.js +1 -1
- package/src/sap/m/semantic/FilterAction.js +1 -1
- package/src/sap/m/semantic/FilterSelect.js +1 -1
- package/src/sap/m/semantic/FlagAction.js +1 -1
- package/src/sap/m/semantic/ForwardAction.js +1 -1
- package/src/sap/m/semantic/FullscreenPage.js +1 -1
- package/src/sap/m/semantic/GroupAction.js +1 -1
- package/src/sap/m/semantic/GroupSelect.js +1 -1
- package/src/sap/m/semantic/MainAction.js +1 -1
- package/src/sap/m/semantic/MasterPage.js +1 -1
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +1 -1
- package/src/sap/m/semantic/NegativeAction.js +1 -1
- package/src/sap/m/semantic/OpenInAction.js +1 -1
- package/src/sap/m/semantic/PositiveAction.js +1 -1
- package/src/sap/m/semantic/PrintAction.js +1 -1
- package/src/sap/m/semantic/SaveAction.js +1 -1
- package/src/sap/m/semantic/Segment.js +1 -1
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -1
- package/src/sap/m/semantic/SemanticConfiguration.js +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 +2 -2
- 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 +114 -29
- 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 +228 -35
- 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 +2 -7
- 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/DatePicker.less +7 -2
- package/src/sap/m/themes/base/Dialog.less +10 -6
- package/src/sap/m/themes/base/GenericTile.less +672 -170
- 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 +4 -1
- 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 +20 -4
- package/src/sap/m/themes/base/MessageBox.less +5 -5
- package/src/sap/m/themes/base/MessageToast.less +2 -2
- 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/NumericContent.less +1 -5
- 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/Page.less +1 -1
- 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 +22 -3
- package/src/sap/m/themes/base/RatingIndicator.less +4 -0
- package/src/sap/m/themes/base/SearchField.less +23 -59
- 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/SplitButton.less +5 -0
- 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/TileContent.less +41 -1
- 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/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 +330 -34
- package/src/sap/m/upload/UploadSetItem.js +74 -5
|
@@ -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.0
|
|
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
|
|
@@ -1034,7 +1034,7 @@ sap.ui.define([
|
|
|
1034
1034
|
TableSelectDialog.prototype._updateStarted = function (oEvent) {
|
|
1035
1035
|
this.fireUpdateStarted(oEvent.getParameters());
|
|
1036
1036
|
|
|
1037
|
-
if (this.getModel() && this.getModel()
|
|
1037
|
+
if (this.getModel() && this.getModel().isA("sap.ui.model.odata.ODataModel")) {
|
|
1038
1038
|
if (this._oDialog.isOpen() && this._iTableUpdateRequested) {
|
|
1039
1039
|
// only set busy mode when we have an OData model
|
|
1040
1040
|
this._setBusy(true);
|
|
@@ -1055,7 +1055,7 @@ sap.ui.define([
|
|
|
1055
1055
|
|
|
1056
1056
|
this._updateSelectionIndicator();
|
|
1057
1057
|
// only reset busy mode when we have an OData model
|
|
1058
|
-
if (this.getModel() && this.getModel()
|
|
1058
|
+
if (this.getModel() && this.getModel().isA("sap.ui.model.odata.ODataModel")) {
|
|
1059
1059
|
this._setBusy(false);
|
|
1060
1060
|
this._bInitBusy = false;
|
|
1061
1061
|
}
|
|
@@ -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.0
|
|
58
58
|
*
|
|
59
59
|
* @constructor
|
|
60
60
|
* @public
|
package/src/sap/m/TextArea.js
CHANGED
package/src/sap/m/Tile.js
CHANGED
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* @extends sap.ui.core.Control
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.102.0
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @public
|
|
@@ -89,7 +89,7 @@ sap.ui.define([
|
|
|
89
89
|
* @private
|
|
90
90
|
*/
|
|
91
91
|
Tile.prototype.onAfterRendering = function(){
|
|
92
|
-
if (this._rendered && !this._bIsDragged && this.getParent()
|
|
92
|
+
if (this._rendered && !this._bIsDragged && this.getParent() && this.getParent().isA("sap.m.TileContainer")) {
|
|
93
93
|
this.setPos(this._posX,this._posY);
|
|
94
94
|
}
|
|
95
95
|
this._rendered = true;
|
|
@@ -249,7 +249,7 @@ sap.ui.define([
|
|
|
249
249
|
if (!bVisible) {
|
|
250
250
|
this._rendered = false;
|
|
251
251
|
}
|
|
252
|
-
if (this.getParent() && this.getParent()
|
|
252
|
+
if (this.getParent() && this.getParent().isA("sap.m.TileContainer")) {
|
|
253
253
|
this.getParent().invalidate(); // Force rerendering of TileContainer, so the tiles can be rearanged
|
|
254
254
|
}
|
|
255
255
|
return this;
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
'./library',
|
|
10
10
|
'sap/ui/core/Control',
|
|
11
|
+
'sap/ui/core/Core',
|
|
11
12
|
'sap/ui/core/IconPool',
|
|
12
13
|
'sap/ui/Device',
|
|
13
14
|
'sap/ui/core/ResizeHandler',
|
|
@@ -22,6 +23,7 @@ sap.ui.define([
|
|
|
22
23
|
function(
|
|
23
24
|
library,
|
|
24
25
|
Control,
|
|
26
|
+
oCore,
|
|
25
27
|
IconPool,
|
|
26
28
|
Device,
|
|
27
29
|
ResizeHandler,
|
|
@@ -44,7 +46,7 @@ function(
|
|
|
44
46
|
* @extends sap.ui.core.Control
|
|
45
47
|
*
|
|
46
48
|
* @author SAP SE
|
|
47
|
-
* @version 1.
|
|
49
|
+
* @version 1.102.0
|
|
48
50
|
*
|
|
49
51
|
* @constructor
|
|
50
52
|
* @public
|
|
@@ -419,7 +421,7 @@ function(
|
|
|
419
421
|
}
|
|
420
422
|
this._oTileDimensionCalculator = new TileDimensionCalculator(this);
|
|
421
423
|
|
|
422
|
-
this._bRtl =
|
|
424
|
+
this._bRtl = oCore.getConfiguration().getRTL();
|
|
423
425
|
//Keeps info about the current page and total page count. In addition the old(previous) values of the same are kept.
|
|
424
426
|
this._oPagesInfo = (function (bRightToLeftMode) {
|
|
425
427
|
var iCurrentPage, iCount,
|
|
@@ -1988,7 +1990,7 @@ function(
|
|
|
1988
1990
|
* @private
|
|
1989
1991
|
*/
|
|
1990
1992
|
TileContainer.prototype._renderTile = function(oTile, iIndex) {
|
|
1991
|
-
var oRm =
|
|
1993
|
+
var oRm = oCore.createRenderManager(),
|
|
1992
1994
|
oContent = this.$("cnt")[0];
|
|
1993
1995
|
|
|
1994
1996
|
oRm.renderControl(oTile);
|
|
@@ -2005,7 +2007,7 @@ function(
|
|
|
2005
2007
|
|
|
2006
2008
|
/**
|
|
2007
2009
|
* Calculates the dimension of TileContainer root DOM element.
|
|
2008
|
-
* @return {{width, height:
|
|
2010
|
+
* @return {{width: any, height: any, outerheight: any, outerwidth: any}}
|
|
2009
2011
|
* @private
|
|
2010
2012
|
*/
|
|
2011
2013
|
TileContainer.prototype._calculateDimension = function(){
|
package/src/sap/m/TileContent.js
CHANGED
|
@@ -10,6 +10,8 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
10
10
|
|
|
11
11
|
var Priority = Core.Priority;
|
|
12
12
|
|
|
13
|
+
var LoadState = library.LoadState;
|
|
14
|
+
|
|
13
15
|
/**
|
|
14
16
|
* Constructor for a new sap.m.TileContent control.
|
|
15
17
|
*
|
|
@@ -20,7 +22,7 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
20
22
|
* @extends sap.ui.core.Control
|
|
21
23
|
*
|
|
22
24
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
25
|
+
* @version 1.102.0
|
|
24
26
|
* @since 1.34.0
|
|
25
27
|
*
|
|
26
28
|
* @public
|
|
@@ -61,7 +63,12 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
61
63
|
* Adds a priority badge before the content. Works only in Generic Tile ActionMode.
|
|
62
64
|
* @experimental Since 1.96
|
|
63
65
|
*/
|
|
64
|
-
"priority" : {type: "sap.ui.core.Priority", group: "Misc", defaultValue: Priority.None}
|
|
66
|
+
"priority" : {type: "sap.ui.core.Priority", group: "Misc", defaultValue: Priority.None},
|
|
67
|
+
/**
|
|
68
|
+
* The load status.
|
|
69
|
+
* @since 1.100.0
|
|
70
|
+
*/
|
|
71
|
+
"state": {type: "sap.m.LoadState", group: "Misc", defaultValue: LoadState.Loaded}
|
|
65
72
|
},
|
|
66
73
|
defaultAggregation : "content",
|
|
67
74
|
aggregations : {
|
|
@@ -78,9 +85,34 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
78
85
|
TileContent.prototype.init = function() {
|
|
79
86
|
this._bRenderFooter = true;
|
|
80
87
|
this._bRenderContent = true;
|
|
88
|
+
this._bStateSetManually = false;
|
|
81
89
|
};
|
|
82
90
|
|
|
83
91
|
TileContent.prototype.onBeforeRendering = function() {
|
|
92
|
+
var sState = this.mProperties.hasOwnProperty("state");
|
|
93
|
+
if (sState && !this._bStateSetManually) {
|
|
94
|
+
if (this.getParent() && this.getParent().isA("sap.m.GenericTile")) {
|
|
95
|
+
if (this.getParent().getState() === LoadState.Failed) {
|
|
96
|
+
this.setProperty("state", LoadState.Loaded, true);
|
|
97
|
+
} else if (this.getParent().getState() === LoadState.Disabled) {
|
|
98
|
+
this.setProperty("state", LoadState.Loaded, true);
|
|
99
|
+
this.setProperty("disabled", this.getState() === LoadState.Disabled, true);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
} else {
|
|
103
|
+
if (this.getParent() && this.getParent().isA("sap.m.GenericTile")) {
|
|
104
|
+
if (this.getParent().getState() === LoadState.Failed) {
|
|
105
|
+
this.setProperty("state", LoadState.Loaded, true);
|
|
106
|
+
} else if (this.getParent().getState() === LoadState.Disabled) {
|
|
107
|
+
this.setProperty("state", LoadState.Loaded, true);
|
|
108
|
+
this.setProperty("disabled", this.getState() === LoadState.Disabled, true);
|
|
109
|
+
} else {
|
|
110
|
+
this.setProperty("state", this.getParent().getState(), true);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
this._bStateSetManually = true;
|
|
114
|
+
}
|
|
115
|
+
|
|
84
116
|
if (this.getContent() && this._oDelegate) {
|
|
85
117
|
if (this.getDisabled()) {
|
|
86
118
|
this.getContent().addDelegate(this._oDelegate);
|
|
@@ -36,15 +36,52 @@ sap.ui.define(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile",
|
|
|
36
36
|
var sFrameTypeClass = encodeCSS("sapMFrameType" + oControl.getFrameType());
|
|
37
37
|
|
|
38
38
|
oRm.openStart("div", oControl);
|
|
39
|
-
oRm.class("sapMTileCnt");
|
|
39
|
+
oRm.class(oControl.getState() == "Disabled" ? "sapMTileCnt sapMTileCntDisabled" : "sapMTileCnt");
|
|
40
40
|
oRm.class(sContentTypeClass);
|
|
41
41
|
oRm.class(sFrameTypeClass);
|
|
42
42
|
if (sTooltip.trim()) { // trim check needed since IE11 renders white spaces
|
|
43
43
|
oRm.attr("title", sTooltip);
|
|
44
44
|
}
|
|
45
45
|
oRm.openEnd();
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
if (oControl.getState() == "Loading") {
|
|
47
|
+
oRm.openStart("div").class("sapMTileCntContentShimmerPlaceholderItem");
|
|
48
|
+
oRm.class("sapMTileCntContentShimmerPlaceholderWithDescription");
|
|
49
|
+
oRm.openEnd();
|
|
50
|
+
oRm.openStart("div").class("sapMTileCntContentShimmerPlaceholderRows")
|
|
51
|
+
.openEnd();
|
|
52
|
+
if (!(oControl.getParent().getFrameType() === "TwoByHalf" || oControl.getParent().getFrameType() === "OneByHalf")) {
|
|
53
|
+
oRm.openStart("div")
|
|
54
|
+
.class("sapMTileCntContentShimmerPlaceholderItemBox")
|
|
55
|
+
.class("sapMTileCntLoadingShimmer")
|
|
56
|
+
.openEnd()
|
|
57
|
+
.close("div");
|
|
58
|
+
}
|
|
59
|
+
oRm.openStart("div")
|
|
60
|
+
.class("sapMTileCntContentShimmerPlaceholderItemTextFooter")
|
|
61
|
+
.class("sapMTileCntLoadingShimmer")
|
|
62
|
+
.openEnd()
|
|
63
|
+
.close("div");
|
|
64
|
+
oRm.close("div");
|
|
65
|
+
oRm.close("div");
|
|
66
|
+
} else if (oControl.getState() == "Failed"){
|
|
67
|
+
oRm.openStart("div", oControl.getId() + "-failed-ftr");
|
|
68
|
+
oRm.class("sapMTileCntFtrFld");
|
|
69
|
+
oRm.openEnd();
|
|
70
|
+
oRm.openStart("div", oControl.getId() + "-failed-icon");
|
|
71
|
+
oRm.class("sapMTileCntFtrFldIcn");
|
|
72
|
+
oRm.openEnd();
|
|
73
|
+
oRm.renderControl(oControl.getParent()._oWarningIcon);
|
|
74
|
+
oRm.close("div");
|
|
75
|
+
oRm.openStart("div", oControl.getId() + "-failed-text");
|
|
76
|
+
oRm.class("sapMTileCntFtrFldTxt");
|
|
77
|
+
oRm.openEnd();
|
|
78
|
+
oRm.renderControl(oControl.getParent().getAggregation("_failedMessageText"));
|
|
79
|
+
oRm.close("div");
|
|
80
|
+
oRm.close("div");
|
|
81
|
+
} else {
|
|
82
|
+
this._renderContent(oRm, oControl);
|
|
83
|
+
this._renderFooter(oRm, oControl);
|
|
84
|
+
}
|
|
48
85
|
|
|
49
86
|
oRm.close("div");
|
|
50
87
|
};
|
|
@@ -65,7 +102,8 @@ sap.ui.define(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile",
|
|
|
65
102
|
oPriority = oControl.getPriority(),
|
|
66
103
|
oTile = oControl.getParent(),
|
|
67
104
|
bIsActionMode = oTile instanceof GenericTile && oTile.getMode() === GenericTileMode.ActionMode && oTile.getFrameType() === FrameType.TwoByOne,
|
|
68
|
-
bRenderPriority = bIsActionMode && oPriority && oPriority !== Priority.None
|
|
105
|
+
bRenderPriority = bIsActionMode && oPriority && oPriority !== Priority.None,
|
|
106
|
+
sPriority = sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("TEXT_CONTENT_PRIORITY");
|
|
69
107
|
|
|
70
108
|
if (oContent) {
|
|
71
109
|
if (bRenderPriority) {
|
|
@@ -90,10 +128,11 @@ sap.ui.define(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile",
|
|
|
90
128
|
oRm.openStart("span", oControl.getId() + "-priority-value");
|
|
91
129
|
oRm.class("sapMTilePriorityValue");
|
|
92
130
|
oRm.openEnd();
|
|
93
|
-
oRm.text(oControl._getPriorityText(oPriority));
|
|
131
|
+
oRm.text(sPriority + ":" + " " + oControl._getPriorityText(oPriority));
|
|
94
132
|
oRm.close("span");
|
|
95
133
|
oRm.close("div");
|
|
96
134
|
oRm.close("div");
|
|
135
|
+
oRm.close("div");
|
|
97
136
|
}
|
|
98
137
|
|
|
99
138
|
oRm.openStart("div", oControl.getId() + "-content");
|
|
@@ -105,9 +144,6 @@ sap.ui.define(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile",
|
|
|
105
144
|
oRm.renderControl(oContent);
|
|
106
145
|
oRm.close("div");
|
|
107
146
|
|
|
108
|
-
if (bRenderPriority) {
|
|
109
|
-
oRm.close("div");
|
|
110
|
-
}
|
|
111
147
|
}
|
|
112
148
|
};
|
|
113
149
|
|
|
@@ -41,7 +41,7 @@ sap.ui.define([],
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/* WAI ARIA if in TileContainer context */
|
|
44
|
-
if (oControl.getParent()
|
|
44
|
+
if (oControl.getParent() && oControl.getParent().isA("sap.m.TileContainer")) {
|
|
45
45
|
oTileContainer = oControl.getParent();
|
|
46
46
|
aVisibleTiles = oTileContainer._getVisibleTiles();
|
|
47
47
|
|
package/src/sap/m/TimePicker.js
CHANGED
|
@@ -21,6 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
'./MaskEnabler',
|
|
22
22
|
'sap/ui/Device',
|
|
23
23
|
'sap/ui/core/format/DateFormat',
|
|
24
|
+
'sap/ui/core/format/TimezoneUtil',
|
|
24
25
|
'sap/ui/core/Locale',
|
|
25
26
|
'sap/m/library',
|
|
26
27
|
'sap/ui/core/LocaleData',
|
|
@@ -47,6 +48,7 @@ function(
|
|
|
47
48
|
MaskEnabler,
|
|
48
49
|
Device,
|
|
49
50
|
DateFormat,
|
|
51
|
+
TimezoneUtil,
|
|
50
52
|
Locale,
|
|
51
53
|
library,
|
|
52
54
|
LocaleData,
|
|
@@ -140,7 +142,7 @@ function(
|
|
|
140
142
|
* @extends sap.m.DateTimeField
|
|
141
143
|
*
|
|
142
144
|
* @author SAP SE
|
|
143
|
-
* @version 1.
|
|
145
|
+
* @version 1.102.0
|
|
144
146
|
*
|
|
145
147
|
* @constructor
|
|
146
148
|
* @public
|
|
@@ -273,7 +275,23 @@ function(
|
|
|
273
275
|
* Internal aggregation that contains the inner numeric _picker pop-up.
|
|
274
276
|
*/
|
|
275
277
|
_numPicker: { type: "sap.m.Popover", multiple: false, visibility: "hidden" }
|
|
276
|
-
|
|
278
|
+
},
|
|
279
|
+
events: {
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* Fired when <code>value help</code> dialog opens.
|
|
283
|
+
* @since 1.102.0
|
|
284
|
+
*/
|
|
285
|
+
afterValueHelpOpen: {},
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Fired when <code>value help</code> dialog closes.
|
|
289
|
+
* @since 1.102.0
|
|
290
|
+
*/
|
|
291
|
+
afterValueHelpClose: {}
|
|
292
|
+
|
|
293
|
+
},
|
|
294
|
+
|
|
277
295
|
dnd: { draggable: false, droppable: true }
|
|
278
296
|
}});
|
|
279
297
|
|
|
@@ -505,6 +523,7 @@ function(
|
|
|
505
523
|
bOpen = oNumericPicker && oNumericPicker.isOpen();
|
|
506
524
|
|
|
507
525
|
if (!this._isMobileDevice()) {
|
|
526
|
+
DateTimeField.prototype.onfocusin.apply(this, arguments);
|
|
508
527
|
MaskEnabler.onfocusin.apply(this, arguments);
|
|
509
528
|
}
|
|
510
529
|
if (oPicker && oPicker.isOpen() && !bIconClicked) {
|
|
@@ -568,18 +587,25 @@ function(
|
|
|
568
587
|
/* Set the timevalues of the picker here to prevent user from seeing it */
|
|
569
588
|
var oClocks = this._getClocks(),
|
|
570
589
|
oDateValue = this.getDateValue(),
|
|
590
|
+
iDateValueMilliseconds = oDateValue ? oDateValue.getMilliseconds() : 0,
|
|
571
591
|
sInputValue = this._$input.val(),
|
|
572
592
|
sFormat = this._getFormatter(true).oFormatOptions.pattern,
|
|
573
593
|
iIndexOfHH = sFormat.indexOf("HH"),
|
|
574
|
-
iIndexOfH = sFormat.indexOf("H")
|
|
594
|
+
iIndexOfH = sFormat.indexOf("H"),
|
|
595
|
+
sFormattedDate;
|
|
575
596
|
|
|
576
597
|
var oCurrentDateValue = this._getFormatter(true).parse(sInputValue) || oDateValue;
|
|
577
598
|
var sDisplayFormattedValue = this._getFormatter(true).format(oCurrentDateValue);
|
|
578
599
|
|
|
579
600
|
oClocks.setValue(sDisplayFormattedValue);
|
|
580
601
|
|
|
602
|
+
sFormattedDate = this._getPickerParser().format(oDateValue || new Date(),
|
|
603
|
+
sap.ui.getCore().getConfiguration().getTimezone());
|
|
604
|
+
oDateValue = this._getPickerParser().parse(sFormattedDate, TimezoneUtil.getLocalTimezone())[ 0 ];
|
|
605
|
+
oDateValue.setMilliseconds(iDateValueMilliseconds);
|
|
606
|
+
|
|
581
607
|
if (this._shouldSetInitialFocusedDateValue()) {
|
|
582
|
-
oDateValue = this.getInitialFocusedDateValue();
|
|
608
|
+
oDateValue = this.getInitialFocusedDateValue() || oDateValue;
|
|
583
609
|
}
|
|
584
610
|
|
|
585
611
|
oClocks._setTimeValues(oDateValue, TimePickerInternals._isHoursValue24(sDisplayFormattedValue, iIndexOfHH, iIndexOfH));
|
|
@@ -598,23 +624,10 @@ function(
|
|
|
598
624
|
var oClocks = this._getClocks();
|
|
599
625
|
|
|
600
626
|
if (oClocks) {
|
|
601
|
-
//WAI-ARIA region
|
|
602
|
-
this._handleAriaOnExpandCollapse(true);
|
|
603
|
-
|
|
604
627
|
oClocks.showFirstClock();
|
|
605
628
|
oClocks._focusActiveButton();
|
|
606
629
|
}
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
/**
|
|
610
|
-
* Called before the clock picker closes.
|
|
611
|
-
*
|
|
612
|
-
* @override
|
|
613
|
-
* @public
|
|
614
|
-
*/
|
|
615
|
-
TimePicker.prototype.onBeforeClose = function() {
|
|
616
|
-
//WAI-ARIA region
|
|
617
|
-
this._handleAriaOnExpandCollapse(false);
|
|
630
|
+
this.fireAfterValueHelpOpen();
|
|
618
631
|
};
|
|
619
632
|
|
|
620
633
|
/**
|
|
@@ -626,6 +639,7 @@ function(
|
|
|
626
639
|
TimePicker.prototype.onAfterClose = function() {
|
|
627
640
|
this.$().removeClass(InputBase.ICON_PRESSED_CSS_CLASS);
|
|
628
641
|
this._getClocks().showFirstClock(); // prepare for the next opening
|
|
642
|
+
this.fireAfterValueHelpClose();
|
|
629
643
|
};
|
|
630
644
|
|
|
631
645
|
/**
|
|
@@ -664,31 +678,6 @@ function(
|
|
|
664
678
|
oInputs._setTimeValues(oDateValue, TimePickerInternals._isHoursValue24(sDisplayFormattedValue, iIndexOfHH, iIndexOfH));
|
|
665
679
|
};
|
|
666
680
|
|
|
667
|
-
/**
|
|
668
|
-
* Called after the numeric picker appears.
|
|
669
|
-
*
|
|
670
|
-
* @private
|
|
671
|
-
*/
|
|
672
|
-
TimePicker.prototype.onAfterNumericOpen = function() {
|
|
673
|
-
var oInputs = this._getInputs();
|
|
674
|
-
|
|
675
|
-
if (oInputs) {
|
|
676
|
-
//WAI-ARIA region
|
|
677
|
-
this._handleAriaOnExpandCollapse(true);
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
};
|
|
681
|
-
|
|
682
|
-
/**
|
|
683
|
-
* Called before the numeric picker closes.
|
|
684
|
-
*
|
|
685
|
-
* @private
|
|
686
|
-
*/
|
|
687
|
-
TimePicker.prototype.onBeforeNumericClose = function() {
|
|
688
|
-
//WAI-ARIA region
|
|
689
|
-
this._handleAriaOnExpandCollapse(false);
|
|
690
|
-
};
|
|
691
|
-
|
|
692
681
|
/**
|
|
693
682
|
* Returns Value help icon.
|
|
694
683
|
*
|
|
@@ -1492,7 +1481,6 @@ function(
|
|
|
1492
1481
|
],
|
|
1493
1482
|
ariaLabelledBy: InvisibleText.getStaticId("sap.m", "TIMEPICKER_SET_TIME"),
|
|
1494
1483
|
beforeOpen: this.onBeforeOpen.bind(this),
|
|
1495
|
-
beforeClose: this.onBeforeClose.bind(this),
|
|
1496
1484
|
afterOpen: this.onAfterOpen.bind(this),
|
|
1497
1485
|
afterClose: this.onAfterClose.bind(this)
|
|
1498
1486
|
});
|
|
@@ -1504,7 +1492,7 @@ function(
|
|
|
1504
1492
|
oPopover.setShowArrow(false);
|
|
1505
1493
|
}
|
|
1506
1494
|
|
|
1507
|
-
oPopover.oPopup.
|
|
1495
|
+
oPopover.oPopup.setExtraContent([oIcon]);
|
|
1508
1496
|
|
|
1509
1497
|
if (Device.system.phone) {
|
|
1510
1498
|
sArialabelledby = this.$("inner").attr("aria-labelledby");
|
|
@@ -1600,9 +1588,7 @@ function(
|
|
|
1600
1588
|
],
|
|
1601
1589
|
|
|
1602
1590
|
ariaLabelledBy: InvisibleText.getStaticId("sap.m", "TIMEPICKER_SET_TIME"),
|
|
1603
|
-
beforeOpen: this.onBeforeNumericOpen.bind(this)
|
|
1604
|
-
afterOpen: this.onAfterNumericOpen.bind(this),
|
|
1605
|
-
beforeClose: this.onBeforeNumericClose.bind(this)
|
|
1591
|
+
beforeOpen: this.onBeforeNumericOpen.bind(this)
|
|
1606
1592
|
});
|
|
1607
1593
|
|
|
1608
1594
|
oPicker.open = function() {
|
|
@@ -1651,7 +1637,11 @@ function(
|
|
|
1651
1637
|
*/
|
|
1652
1638
|
TimePicker.prototype._handleOkPress = function(oEvent) {
|
|
1653
1639
|
var oDate = this._getClocks().getTimeValues(),
|
|
1654
|
-
sValue
|
|
1640
|
+
sValue,
|
|
1641
|
+
sFormattedDate = this._getPickerParser().format(oDate, TimezoneUtil.getLocalTimezone());
|
|
1642
|
+
|
|
1643
|
+
oDate = this._getPickerParser()
|
|
1644
|
+
.parse(sFormattedDate, sap.ui.getCore().getConfiguration().getTimezone())[0];
|
|
1655
1645
|
|
|
1656
1646
|
this._isClockPicker = true;
|
|
1657
1647
|
this._isNumericPicker = false;
|
|
@@ -1681,7 +1671,11 @@ function(
|
|
|
1681
1671
|
*/
|
|
1682
1672
|
TimePicker.prototype._handleNumericOkPress = function(oEvent) {
|
|
1683
1673
|
var oDate = this._getInputs().getTimeValues(),
|
|
1684
|
-
sValue
|
|
1674
|
+
sValue,
|
|
1675
|
+
sFormattedDate = this._getPickerParser().format(oDate, TimezoneUtil.getLocalTimezone());
|
|
1676
|
+
|
|
1677
|
+
oDate = this._getPickerParser()
|
|
1678
|
+
.parse(sFormattedDate, sap.ui.getCore().getConfiguration().getTimezone())[0];
|
|
1685
1679
|
|
|
1686
1680
|
this._isClockPicker = false;
|
|
1687
1681
|
this._isNumericPicker = true;
|
|
@@ -1779,15 +1773,6 @@ function(
|
|
|
1779
1773
|
|
|
1780
1774
|
};
|
|
1781
1775
|
|
|
1782
|
-
/**
|
|
1783
|
-
* Handles the correct value for ARIA expanded attribute on the TimePicker's input field.
|
|
1784
|
-
*
|
|
1785
|
-
* @private
|
|
1786
|
-
*/
|
|
1787
|
-
TimePicker.prototype._handleAriaOnExpandCollapse = function (bExpanded) {
|
|
1788
|
-
this.getFocusDomRef().setAttribute("aria-expanded", bExpanded);
|
|
1789
|
-
};
|
|
1790
|
-
|
|
1791
1776
|
/**
|
|
1792
1777
|
* Changes the time value in the input field.
|
|
1793
1778
|
*
|
|
@@ -2229,7 +2214,7 @@ function(
|
|
|
2229
2214
|
* @param {string} sValue
|
|
2230
2215
|
*/
|
|
2231
2216
|
TimePicker.prototype._getAlteredUserInputValue = function (sValue) {
|
|
2232
|
-
return sValue ? this._formatValue(this._parseValue(sValue), true) : sValue;
|
|
2217
|
+
return sValue ? this._formatValue(this._parseValue(sValue, true), true) : sValue;
|
|
2233
2218
|
};
|
|
2234
2219
|
|
|
2235
2220
|
/**
|
|
@@ -2253,7 +2238,6 @@ function(
|
|
|
2253
2238
|
type: sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("ACC_CTR_TYPE_TIMEINPUT"),
|
|
2254
2239
|
description: [sValue, oRenderer.getLabelledByAnnouncement(this), oRenderer.getDescribedByAnnouncement(this)].join(" ").trim(),
|
|
2255
2240
|
autocomplete: "none",
|
|
2256
|
-
expanded: false,
|
|
2257
2241
|
haspopup: true,
|
|
2258
2242
|
owns: this.getId() + "-clocks"
|
|
2259
2243
|
});
|
|
@@ -2303,6 +2287,14 @@ function(
|
|
|
2303
2287
|
this._setCursorPosition(Math.max(this._iUserInputStartPosition, iStart));
|
|
2304
2288
|
};
|
|
2305
2289
|
|
|
2290
|
+
TimePicker.prototype._getPickerParser = function() {
|
|
2291
|
+
if (!this._clocksParser) {
|
|
2292
|
+
this._clocksParser = DateFormat.getDateTimeWithTimezoneInstance({ showTimezone: false });
|
|
2293
|
+
}
|
|
2294
|
+
|
|
2295
|
+
return this._clocksParser;
|
|
2296
|
+
};
|
|
2297
|
+
|
|
2306
2298
|
/**
|
|
2307
2299
|
* Fires when the input operation has finished and the value has changed.
|
|
2308
2300
|
*
|
|
@@ -45,7 +45,7 @@ sap.ui.define([
|
|
|
45
45
|
* @extends sap.ui.core.Control
|
|
46
46
|
*
|
|
47
47
|
* @author SAP SE
|
|
48
|
-
* @version 1.
|
|
48
|
+
* @version 1.102.0
|
|
49
49
|
*
|
|
50
50
|
* @constructor
|
|
51
51
|
* @private
|
|
@@ -431,7 +431,7 @@ sap.ui.define([
|
|
|
431
431
|
* @private
|
|
432
432
|
*/
|
|
433
433
|
TimePickerInternals.prototype._getTimeSeparators = function (sDisplayFormat) {
|
|
434
|
-
var aFormatParts =
|
|
434
|
+
var aFormatParts = DateFormat.getInstance({ pattern: sDisplayFormat }).aFormatArray,
|
|
435
435
|
aSeparators = [],
|
|
436
436
|
bPreviousWasEntity,
|
|
437
437
|
iIndex;
|