@openui5/sap.m 1.115.1 → 1.116.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +0 -5
- package/THIRDPARTY.txt +1 -7
- 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 +6 -2
- package/src/sap/m/ActionTile.js +1 -1
- package/src/sap/m/ActionTileContent.js +1 -1
- package/src/sap/m/AdditionalTextButton.js +1 -1
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +25 -2
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/Breadcrumbs.js +1 -1
- package/src/sap/m/BusyDialog.js +5 -3
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/Carousel.js +1 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +1 -0
- 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 +29 -170
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +5 -11
- package/src/sap/m/ColumnListItemRenderer.js +16 -27
- 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 +1 -1
- package/src/sap/m/ComboBoxTextField.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 +23 -1
- package/src/sap/m/DateRangeSelection.js +34 -5
- package/src/sap/m/DateTimeField.js +13 -8
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +1 -1
- package/src/sap/m/Dialog.js +1 -1
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateOption.js +1 -1
- package/src/sap/m/DynamicDateRange.js +1 -1
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +1 -1
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +18 -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 +43 -49
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +1 -1
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GroupHeaderListItemRenderer.js +5 -5
- package/src/sap/m/GrowingEnablement.js +22 -25
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +1 -1
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +1 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +1 -2
- 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 +1 -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 +12 -7
- 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 +29 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +3 -8
- package/src/sap/m/ListItemBase.js +1 -1
- 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 +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.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 +1 -1
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageToast.js +1 -12
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +1 -1
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +1 -1
- package/src/sap/m/NavContainer.js +1 -1
- 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 +1 -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 +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +47 -4
- package/src/sap/m/ObjectStatusRenderer.js +7 -0
- package/src/sap/m/OverflowToolbar.js +7 -1
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarMenuButton.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 +1 -1
- 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 +1 -1
- package/src/sap/m/PlanningCalendarHeader.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/sap/m/RangeSlider.js +1 -1
- package/src/sap/m/RatingIndicator.js +16 -4
- package/src/sap/m/RatingIndicatorRenderer.js +9 -2
- 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/SearchFieldRenderer.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 +1 -1
- package/src/sap/m/SelectDialog.js +1 -1
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/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 +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
- 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 +1 -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 +1 -1
- 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 +1 -1
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +1 -1
- 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 +46 -169
- package/src/sap/m/TablePersoController.js +1 -1
- package/src/sap/m/TablePersoDialog.js +1 -1
- package/src/sap/m/TablePersoProvider.js +4 -1
- package/src/sap/m/TableRenderer.js +93 -121
- package/src/sap/m/TableSelectDialog.js +1 -1
- 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 +29 -2
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerClocksRenderer.js +6 -13
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInputsRenderer.js +6 -10
- package/src/sap/m/TimePickerInternals.js +1 -44
- 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 +15 -3
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +1 -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/VariantManagement.js +1 -38
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +1 -1
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +1 -1
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +1 -1
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/Wizard.js +1 -1
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- 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/HBox.designtime.js +16 -0
- package/src/sap/m/designtime/IconTabFilter.designtime.js +0 -9
- package/src/sap/m/designtime/ObjectHeader.designtime.js +26 -0
- package/src/sap/m/designtime/Select.designtime.js +2 -1
- package/src/sap/m/designtime/VBox.designtime.js +16 -0
- package/src/sap/m/library.js +9 -2
- package/src/sap/m/messagebundle.properties +22 -11
- package/src/sap/m/messagebundle_ar.properties +16 -10
- package/src/sap/m/messagebundle_bg.properties +83 -77
- package/src/sap/m/messagebundle_ca.properties +14 -8
- package/src/sap/m/messagebundle_cs.properties +20 -14
- package/src/sap/m/messagebundle_cy.properties +15 -9
- package/src/sap/m/messagebundle_da.properties +15 -9
- package/src/sap/m/messagebundle_de.properties +15 -9
- package/src/sap/m/messagebundle_el.properties +16 -10
- package/src/sap/m/messagebundle_en.properties +15 -9
- package/src/sap/m/messagebundle_en_GB.properties +15 -9
- package/src/sap/m/messagebundle_en_US_sappsd.properties +13 -7
- package/src/sap/m/messagebundle_en_US_saprigi.properties +15 -7
- package/src/sap/m/messagebundle_en_US_saptrc.properties +13 -7
- package/src/sap/m/messagebundle_es.properties +13 -7
- package/src/sap/m/messagebundle_es_MX.properties +13 -7
- package/src/sap/m/messagebundle_et.properties +13 -7
- package/src/sap/m/messagebundle_fi.properties +18 -12
- package/src/sap/m/messagebundle_fr.properties +18 -12
- package/src/sap/m/messagebundle_fr_CA.properties +15 -9
- package/src/sap/m/messagebundle_hi.properties +16 -10
- package/src/sap/m/messagebundle_hr.properties +16 -10
- package/src/sap/m/messagebundle_hu.properties +20 -14
- package/src/sap/m/messagebundle_id.properties +17 -11
- package/src/sap/m/messagebundle_it.properties +13 -7
- package/src/sap/m/messagebundle_iw.properties +19 -13
- package/src/sap/m/messagebundle_ja.properties +50 -44
- package/src/sap/m/messagebundle_kk.properties +15 -9
- package/src/sap/m/messagebundle_ko.properties +15 -9
- package/src/sap/m/messagebundle_lt.properties +15 -9
- package/src/sap/m/messagebundle_lv.properties +13 -7
- package/src/sap/m/messagebundle_ms.properties +15 -9
- package/src/sap/m/messagebundle_nl.properties +13 -7
- package/src/sap/m/messagebundle_no.properties +18 -12
- package/src/sap/m/messagebundle_pl.properties +17 -11
- package/src/sap/m/messagebundle_pt.properties +13 -7
- package/src/sap/m/messagebundle_pt_PT.properties +13 -7
- package/src/sap/m/messagebundle_ro.properties +25 -19
- package/src/sap/m/messagebundle_ru.properties +14 -8
- package/src/sap/m/messagebundle_sh.properties +23 -17
- package/src/sap/m/messagebundle_sk.properties +15 -9
- package/src/sap/m/messagebundle_sl.properties +77 -71
- package/src/sap/m/messagebundle_sv.properties +17 -11
- package/src/sap/m/messagebundle_th.properties +21 -15
- package/src/sap/m/messagebundle_tr.properties +16 -10
- package/src/sap/m/messagebundle_uk.properties +18 -12
- package/src/sap/m/messagebundle_vi.properties +15 -9
- package/src/sap/m/messagebundle_zh_CN.properties +20 -14
- package/src/sap/m/messagebundle_zh_TW.properties +17 -11
- 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 +11 -4
- package/src/sap/m/p13n/Container.js +9 -6
- package/src/sap/m/p13n/Engine.js +2 -1
- package/src/sap/m/p13n/GroupController.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +6 -1
- package/src/sap/m/p13n/PersistenceProvider.js +11 -6
- package/src/sap/m/p13n/Popup.js +1 -1
- package/src/sap/m/p13n/QueryPanel.js +18 -3
- package/src/sap/m/p13n/SelectionController.js +6 -7
- package/src/sap/m/p13n/SelectionPanel.js +11 -4
- package/src/sap/m/p13n/SortController.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +8 -4
- package/src/sap/m/p13n/handler/xConfigHandler.js +1 -1
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +1 -1
- package/src/sap/m/plugins/CellSelector.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.js +1 -9
- package/src/sap/m/plugins/CopyProvider.js +2 -10
- 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 +3 -3
- 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 +1 -1
- 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/Menu.js +1 -1
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/Avatar.less +32 -0
- package/src/sap/m/themes/base/MessageStrip.less +1 -1
- package/src/sap/m/themes/base/ObjectStatus.less +1 -2
- package/src/sap/m/themes/base/PlanningCalendarHeader.less +2 -1
- package/src/sap/m/themes/base/RadioButton.less +3 -1
- package/src/sap/m/themes/base/SearchField.less +8 -3
- package/src/sap/m/themes/base/Select.less +31 -2
- package/src/sap/m/themes/base/Table.less +0 -8
- package/src/sap/m/themes/base/TimePickerClocks.less +4 -0
- package/src/sap/m/themes/base/UploadSetTable.less +80 -0
- package/src/sap/m/themes/base/ValueStateMessage.less +1 -0
- package/src/sap/m/themes/base/Wizard.less +1 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/FilePreviewDialog.js +223 -0
- package/src/sap/m/upload/UploadSet.js +5 -4
- package/src/sap/m/upload/UploadSetItem.js +1 -27
- package/src/sap/m/upload/UploadSetTable.js +929 -0
- package/src/sap/m/upload/UploadSetTableItem.js +327 -0
- package/src/sap/m/upload/UploadSetTableItemRenderer.js +22 -0
- package/src/sap/m/upload/UploadSetTableRenderer.js +34 -0
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/UploaderTableItem.js +276 -0
|
@@ -9,9 +9,7 @@ sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/Core", "sap/ui/core/Invisibl
|
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
// shortcut for sap.m.ListKeyboardMode
|
|
13
12
|
var ListKeyboardMode = library.ListKeyboardMode;
|
|
14
|
-
// shortcut for sap.m.MultiSelectMode
|
|
15
13
|
var MultiSelectMode = library.MultiSelectMode;
|
|
16
14
|
|
|
17
15
|
/**
|
|
@@ -38,187 +36,159 @@ sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/Core", "sap/ui/core/Invisibl
|
|
|
38
36
|
*
|
|
39
37
|
* @param {sap.ui.core.RenderManager} rm RenderManager
|
|
40
38
|
* @param {sap.m.ListBase} oTable Table control
|
|
41
|
-
* @param {string}
|
|
39
|
+
* @param {string} sType Whether "Head" or "Foot"
|
|
42
40
|
*/
|
|
43
|
-
TableRenderer.renderColumns = function(rm, oTable,
|
|
44
|
-
var
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
41
|
+
TableRenderer.renderColumns = function(rm, oTable, sType) {
|
|
42
|
+
var iIndex = 0,
|
|
43
|
+
bHasPopin = false,
|
|
44
|
+
bHasFooter = false,
|
|
45
|
+
bHeaderHidden = false,
|
|
46
|
+
bHasFlexibleColumn,
|
|
47
|
+
sMode = oTable.getMode(),
|
|
48
|
+
iModeOrder = ListBaseRenderer.ModeOrder[sMode],
|
|
49
|
+
sClassPrefix = "sapMListTbl",
|
|
50
|
+
sIdPrefix = oTable.getId("tbl"),
|
|
51
|
+
sCellTag = (sType == "Head") ? "th" : "td",
|
|
52
|
+
sTypeTag = "t" + sType.toLowerCase(),
|
|
54
53
|
aColumns = oTable.getColumns(),
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
if (cellTag === "th") {
|
|
54
|
+
vFixedLayout = oTable.getFixedLayout(),
|
|
55
|
+
createBlankCell = function(sClass, sId, bAriaHidden) {
|
|
56
|
+
rm.openStart(sCellTag, sId && sIdPrefix + sId);
|
|
57
|
+
if (sCellTag === "th") {
|
|
60
58
|
rm.class("sapMTableTH");
|
|
61
59
|
rm.attr("role", bAriaHidden ? "presentation" : "columnheader");
|
|
62
60
|
rm.attr("scope", "col");
|
|
63
|
-
} else if (bAriaHidden) {
|
|
61
|
+
} else if (bAriaHidden) {
|
|
64
62
|
rm.attr("role", "presentation");
|
|
65
63
|
}
|
|
66
64
|
bAriaHidden && rm.attr("aria-hidden", "true");
|
|
67
|
-
rm.class(
|
|
68
|
-
|
|
69
|
-
if (type === "Foot") {
|
|
70
|
-
if (cls === "HighlightCol") {
|
|
71
|
-
rm.class("sapMTableHighlightFooterCell");
|
|
72
|
-
} else if (cls === "NavigatedCol") {
|
|
73
|
-
rm.class("sapMTableNavigatedFooterCell");
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
65
|
+
rm.class(sClassPrefix + sClass);
|
|
77
66
|
rm.openEnd();
|
|
78
|
-
rm.close(
|
|
79
|
-
|
|
67
|
+
rm.close(sCellTag);
|
|
68
|
+
iIndex++;
|
|
80
69
|
};
|
|
81
70
|
|
|
82
|
-
if (
|
|
83
|
-
var
|
|
84
|
-
return
|
|
71
|
+
if (sType == "Head") {
|
|
72
|
+
var oFirstVisibleColumn = aColumns.find(function(oColumn) {
|
|
73
|
+
return oColumn.getVisible();
|
|
85
74
|
});
|
|
86
75
|
var oForcedColumn = aColumns.reduce(function(oRefColumn, oColumn, iOrder) {
|
|
87
76
|
oColumn.setIndex(-1);
|
|
88
77
|
oColumn.setInitialOrder(iOrder);
|
|
89
78
|
oColumn.setForcedColumn(false);
|
|
90
79
|
return (oColumn.getVisible() && oColumn.getCalculatedMinScreenWidth() < oRefColumn.getCalculatedMinScreenWidth()) ? oColumn : oRefColumn;
|
|
91
|
-
},
|
|
80
|
+
}, oFirstVisibleColumn);
|
|
92
81
|
|
|
93
|
-
var
|
|
94
|
-
return
|
|
95
|
-
!oColumn.isPopin() &&
|
|
96
|
-
!oColumn.isHidden();
|
|
82
|
+
var iRenderedColumnsLength = aColumns.filter(function(oColumn) {
|
|
83
|
+
return oColumn.getVisible() && !oColumn.isHidden();
|
|
97
84
|
}).length;
|
|
98
|
-
|
|
99
|
-
if (!iHeaderLength && oForcedColumn) {
|
|
85
|
+
if (!iRenderedColumnsLength && oForcedColumn) {
|
|
100
86
|
oForcedColumn.setForcedColumn(true);
|
|
101
|
-
|
|
87
|
+
iRenderedColumnsLength = 1;
|
|
88
|
+
}
|
|
89
|
+
if (iRenderedColumnsLength == 1 && vFixedLayout == "Strict") {
|
|
90
|
+
oTable._bCheckLastColumnWidth = true;
|
|
102
91
|
}
|
|
103
92
|
|
|
104
|
-
bHeaderHidden = aColumns.every(function(oColumn) {
|
|
105
|
-
return
|
|
106
|
-
!oColumn.getHeader().getVisible() ||
|
|
107
|
-
!oColumn.getVisible() ||
|
|
108
|
-
oColumn.isPopin() ||
|
|
109
|
-
oColumn.isHidden();
|
|
93
|
+
bHeaderHidden = !iRenderedColumnsLength || aColumns.every(function(oColumn) {
|
|
94
|
+
return !oColumn.getHeader() || !oColumn.getHeader().getVisible() || !oColumn.getVisible() || oColumn.isHidden();
|
|
110
95
|
});
|
|
111
96
|
}
|
|
112
97
|
|
|
113
|
-
rm.openStart(
|
|
114
|
-
|
|
115
|
-
if (oTable._hasFooter && type === "Foot") {
|
|
98
|
+
rm.openStart(sTypeTag);
|
|
99
|
+
if (oTable._hasFooter && sType === "Foot") {
|
|
116
100
|
rm.class("sapMTableTFoot");
|
|
117
|
-
|
|
118
101
|
if (oTable.hasPopin()) {
|
|
119
102
|
rm.class("sapMListTblHasPopin");
|
|
120
103
|
}
|
|
121
104
|
}
|
|
122
|
-
|
|
123
105
|
rm.openEnd();
|
|
124
106
|
|
|
125
|
-
rm.openStart("tr", oTable.addNavSection(
|
|
126
|
-
|
|
107
|
+
rm.openStart("tr", oTable.addNavSection(sIdPrefix + sType + "er"));
|
|
127
108
|
if (bHeaderHidden) {
|
|
128
109
|
rm.class("sapMListTblHeaderNone");
|
|
110
|
+
rm.attr("aria-hidden", true);
|
|
129
111
|
} else {
|
|
130
112
|
rm.attr("tabindex", -1);
|
|
131
|
-
rm.class("sapMListTblRow").class("sapMListTbl" +
|
|
113
|
+
rm.class("sapMListTblRow").class("sapMListTbl" + sType + "er");
|
|
132
114
|
rm.class("sapMLIBFocusable").class("sapMTableRowCustomFocus");
|
|
133
115
|
}
|
|
134
|
-
|
|
135
116
|
rm.openEnd();
|
|
136
117
|
|
|
137
|
-
createBlankCell("HighlightCol",
|
|
118
|
+
createBlankCell("HighlightCol", sType + "Highlight", true);
|
|
138
119
|
|
|
139
120
|
if (iModeOrder == -1) {
|
|
140
|
-
if (
|
|
121
|
+
if (sMode == "MultiSelect" && sType == "Head" && !bHeaderHidden) {
|
|
141
122
|
rm.openStart("th");
|
|
142
123
|
rm.class("sapMTableTH");
|
|
143
124
|
rm.attr("scope", "col");
|
|
144
125
|
rm.attr("aria-hidden", "true");
|
|
145
|
-
rm.class(
|
|
126
|
+
rm.class(sClassPrefix + "SelCol");
|
|
146
127
|
rm.attr("role", "presentation");
|
|
147
128
|
rm.openEnd();
|
|
148
129
|
rm.renderControl(oTable.getMultiSelectMode() == MultiSelectMode.ClearAll ? oTable._getClearAllButton() : oTable._getSelectAllCheckbox());
|
|
149
130
|
rm.close("th");
|
|
150
|
-
|
|
131
|
+
iIndex++;
|
|
151
132
|
} else {
|
|
152
133
|
createBlankCell("SelCol", "", true);
|
|
153
134
|
}
|
|
154
135
|
}
|
|
155
136
|
|
|
156
|
-
oTable.getColumns(true).forEach(function(oColumn
|
|
137
|
+
oTable.getColumns(true).forEach(function(oColumn) {
|
|
157
138
|
if (!oColumn.getVisible()) {
|
|
158
139
|
return;
|
|
159
140
|
}
|
|
160
141
|
if (oColumn.isPopin()) {
|
|
161
|
-
|
|
142
|
+
bHasPopin = true;
|
|
162
143
|
return;
|
|
163
144
|
}
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
hiddens++;
|
|
145
|
+
if (oColumn.isHidden()) {
|
|
146
|
+
return;
|
|
167
147
|
}
|
|
168
148
|
|
|
169
|
-
var
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
align = oColumn.getCssAlign();
|
|
174
|
-
|
|
175
|
-
oTable._bCheckLastColumnWidth = vFixedLayout == "Strict" && iHeaderLength == 1;
|
|
149
|
+
var oControl = oColumn["get" + sType + "er"](),
|
|
150
|
+
sWidth = (iRenderedColumnsLength == 1 && vFixedLayout != "Strict") ? "" : oColumn.getWidth(),
|
|
151
|
+
aStyleClass = oColumn.getStyleClass().split(" ").filter(Boolean),
|
|
152
|
+
sAlign = oColumn.getCssAlign();
|
|
176
153
|
|
|
177
|
-
if (
|
|
178
|
-
rm.openStart(
|
|
154
|
+
if (sType == "Head") {
|
|
155
|
+
rm.openStart(sCellTag, oColumn);
|
|
179
156
|
rm.class("sapMTableTH");
|
|
180
157
|
rm.attr("role", "columnheader");
|
|
181
158
|
rm.attr("scope", "col");
|
|
182
159
|
var sSortIndicator = oColumn.getSortIndicator().toLowerCase();
|
|
183
160
|
sSortIndicator !== "none" && rm.attr("aria-sort", sSortIndicator);
|
|
161
|
+
if (!bHasFlexibleColumn) {
|
|
162
|
+
bHasFlexibleColumn = !sWidth || sWidth == "auto";
|
|
163
|
+
}
|
|
184
164
|
} else {
|
|
185
|
-
rm.openStart(
|
|
165
|
+
rm.openStart(sCellTag);
|
|
186
166
|
}
|
|
187
167
|
|
|
188
|
-
aStyleClass
|
|
189
|
-
rm.class(
|
|
168
|
+
aStyleClass.forEach(function (sClass) {
|
|
169
|
+
rm.class(sClass);
|
|
190
170
|
});
|
|
191
|
-
rm.class(
|
|
192
|
-
rm.class(
|
|
171
|
+
rm.class(sClassPrefix + "Cell");
|
|
172
|
+
rm.class(sClassPrefix + sType + "erCell");
|
|
193
173
|
rm.attr("data-sap-ui-column", oColumn.getId());
|
|
194
|
-
rm.
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
// required to set the correct aligment to the footer cell
|
|
198
|
-
if (align && type !== "Head") {
|
|
199
|
-
rm.style("text-align", align);
|
|
174
|
+
rm.style("width", sWidth);
|
|
175
|
+
if (sAlign && sType !== "Head") {
|
|
176
|
+
rm.style("text-align", sAlign);
|
|
200
177
|
}
|
|
201
|
-
|
|
202
|
-
if (bHidden) {
|
|
203
|
-
rm.style("display", "none");
|
|
204
|
-
rm.attr("aria-hidden", "true");
|
|
205
|
-
}
|
|
206
|
-
|
|
207
178
|
rm.openEnd();
|
|
208
179
|
|
|
209
|
-
if (
|
|
210
|
-
if (
|
|
180
|
+
if (oControl) {
|
|
181
|
+
if (sType === "Head") {
|
|
211
182
|
rm.openStart("div", oColumn.getId() + "-ah");
|
|
212
183
|
rm.class("sapMColumnHeader");
|
|
213
184
|
|
|
214
185
|
var oMenu = oColumn._getHeaderMenuInstance();
|
|
215
|
-
if ((oTable.bActiveHeaders || oMenu) && !
|
|
216
|
-
// add active header attributes and style class
|
|
186
|
+
if ((oTable.bActiveHeaders || oMenu) && !oControl.isA("sap.ui.core.InvisibleText")) {
|
|
217
187
|
rm.attr("tabindex", 0);
|
|
218
188
|
rm.attr("role", "button");
|
|
219
189
|
rm.class("sapMColumnHeaderActive");
|
|
220
190
|
rm.attr("aria-haspopup", oMenu ? oMenu.getAriaHasPopupType().toLowerCase() : "dialog");
|
|
221
|
-
if (
|
|
191
|
+
if (oControl.isA("sap.m.Label") && oControl.getRequired()) {
|
|
222
192
|
rm.attr("aria-describedby", InvisibleText.getStaticId("sap.m", "CONTROL_IN_COLUMN_REQUIRED"));
|
|
223
193
|
}
|
|
224
194
|
} else if (oTable.bFocusableHeaders) {
|
|
@@ -226,51 +196,54 @@ sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/Core", "sap/ui/core/Invisibl
|
|
|
226
196
|
rm.class("sapMColumnHeaderFocusable");
|
|
227
197
|
}
|
|
228
198
|
|
|
229
|
-
if (
|
|
230
|
-
rm.style("justify-content", TableRenderer.columnAlign[
|
|
231
|
-
rm.style("text-align",
|
|
199
|
+
if (sAlign) {
|
|
200
|
+
rm.style("justify-content", TableRenderer.columnAlign[sAlign]);
|
|
201
|
+
rm.style("text-align", sAlign);
|
|
232
202
|
}
|
|
233
203
|
|
|
234
204
|
rm.openEnd();
|
|
235
|
-
rm.renderControl(
|
|
205
|
+
rm.renderControl(oControl.addStyleClass("sapMColumnHeaderContent"));
|
|
236
206
|
rm.close("div");
|
|
237
207
|
} else {
|
|
238
|
-
|
|
239
|
-
rm.renderControl(control);
|
|
208
|
+
rm.renderControl(oControl);
|
|
240
209
|
}
|
|
241
210
|
}
|
|
242
211
|
|
|
243
|
-
if (
|
|
244
|
-
|
|
212
|
+
if (sType == "Head" && !bHasFooter) {
|
|
213
|
+
bHasFooter = !!oColumn.getFooter();
|
|
245
214
|
}
|
|
246
215
|
|
|
247
|
-
rm.close(
|
|
248
|
-
oColumn.setIndex(
|
|
216
|
+
rm.close(sCellTag);
|
|
217
|
+
oColumn.setIndex(iIndex++);
|
|
249
218
|
});
|
|
250
219
|
|
|
251
|
-
if (
|
|
252
|
-
|
|
220
|
+
if (sType == "Head") {
|
|
221
|
+
oTable._dummyColumn = (bHasFlexibleColumn != undefined && !bHasFlexibleColumn && vFixedLayout == "Strict");
|
|
253
222
|
}
|
|
254
223
|
|
|
255
|
-
|
|
224
|
+
if (bHasPopin && oTable._dummyColumn) {
|
|
225
|
+
createBlankCell("DummyCell", sType + "DummyCell", true);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
createBlankCell("NavCol", sType + "Nav", true);
|
|
256
229
|
|
|
257
230
|
if (iModeOrder == 1) {
|
|
258
231
|
createBlankCell("SelCol", "", true);
|
|
259
232
|
}
|
|
260
233
|
|
|
261
|
-
createBlankCell("NavigatedCol",
|
|
234
|
+
createBlankCell("NavigatedCol", sType + "Navigated", true);
|
|
262
235
|
|
|
263
|
-
if (!
|
|
264
|
-
createBlankCell("DummyCell",
|
|
236
|
+
if (!bHasPopin && oTable._dummyColumn) {
|
|
237
|
+
createBlankCell("DummyCell", sType + "DummyCell", true);
|
|
265
238
|
}
|
|
266
239
|
|
|
267
240
|
rm.close("tr");
|
|
268
|
-
rm.close(
|
|
241
|
+
rm.close(sTypeTag);
|
|
269
242
|
|
|
270
|
-
if (
|
|
271
|
-
oTable.
|
|
272
|
-
oTable.
|
|
273
|
-
oTable._hasFooter =
|
|
243
|
+
if (sType === "Head") {
|
|
244
|
+
oTable._colCount = iIndex;
|
|
245
|
+
oTable._hasPopin = bHasPopin;
|
|
246
|
+
oTable._hasFooter = bHasFooter;
|
|
274
247
|
oTable._headerHidden = bHeaderHidden;
|
|
275
248
|
}
|
|
276
249
|
};
|
|
@@ -371,8 +344,7 @@ sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/Core", "sap/ui/core/Invisibl
|
|
|
371
344
|
}
|
|
372
345
|
rm.openEnd();
|
|
373
346
|
|
|
374
|
-
var bRenderDummyColumn =
|
|
375
|
-
|
|
347
|
+
var bRenderDummyColumn = oControl.shouldRenderDummyColumn();
|
|
376
348
|
rm.openStart("td", oControl.getId("nodata-text"));
|
|
377
349
|
rm.attr("colspan", oControl.getColCount() - bRenderDummyColumn);
|
|
378
350
|
rm.class("sapMListTblCell").class("sapMListTblCellNoData");
|
|
@@ -110,7 +110,7 @@ sap.ui.define([
|
|
|
110
110
|
* 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>.
|
|
111
111
|
* @extends sap.m.SelectDialogBase
|
|
112
112
|
* @author SAP SE
|
|
113
|
-
* @version 1.
|
|
113
|
+
* @version 1.116.0
|
|
114
114
|
*
|
|
115
115
|
* @constructor
|
|
116
116
|
* @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.116.0
|
|
58
58
|
*
|
|
59
59
|
* @constructor
|
|
60
60
|
* @public
|
package/src/sap/m/TextArea.js
CHANGED
package/src/sap/m/Tile.js
CHANGED
package/src/sap/m/TileContent.js
CHANGED
package/src/sap/m/TimePicker.js
CHANGED
|
@@ -174,7 +174,7 @@ function(
|
|
|
174
174
|
* @extends sap.m.DateTimeField
|
|
175
175
|
*
|
|
176
176
|
* @author SAP SE
|
|
177
|
-
* @version 1.
|
|
177
|
+
* @version 1.116.0
|
|
178
178
|
*
|
|
179
179
|
* @constructor
|
|
180
180
|
* @public
|
|
@@ -1256,6 +1256,31 @@ function(
|
|
|
1256
1256
|
oEvent.preventDefault(); // do not move cursor
|
|
1257
1257
|
};
|
|
1258
1258
|
|
|
1259
|
+
/**
|
|
1260
|
+
* Handle when escape is pressed. Escaping unsaved input will restore
|
|
1261
|
+
* the last valid value. If the value cannot be parsed into a date,
|
|
1262
|
+
* the input will be cleared.
|
|
1263
|
+
*
|
|
1264
|
+
* @param {jQuery.Event} oEvent The event object.
|
|
1265
|
+
* @private
|
|
1266
|
+
*/
|
|
1267
|
+
TimePicker.prototype.onsapescape = function(oEvent) {
|
|
1268
|
+
var oLastDate = this._parseValue(this.getLastValue(), true),
|
|
1269
|
+
oInputDate = this._parseValue(this._getInputValue(), true),
|
|
1270
|
+
sDisplayFormatLastDate = this._formatValue(oLastDate, false),
|
|
1271
|
+
sDisplayFormatInputDate = this._formatValue(oInputDate, false),
|
|
1272
|
+
sInputValue = this.getMaskMode() === "Off" ? this._getInputValue() : sDisplayFormatInputDate;
|
|
1273
|
+
|
|
1274
|
+
if (sInputValue !== sDisplayFormatLastDate) {
|
|
1275
|
+
oEvent.setMarked();
|
|
1276
|
+
oEvent.preventDefault();
|
|
1277
|
+
|
|
1278
|
+
this.updateDomValue(sDisplayFormatLastDate);
|
|
1279
|
+
this.onValueRevertedByEscape(sDisplayFormatLastDate, sDisplayFormatInputDate);
|
|
1280
|
+
}
|
|
1281
|
+
this._bCheckForLiveChange = true;
|
|
1282
|
+
};
|
|
1283
|
+
|
|
1259
1284
|
/**
|
|
1260
1285
|
* Handles the shift + pagedown and ctrl + shift + pagedown events.
|
|
1261
1286
|
*
|
|
@@ -1304,7 +1329,9 @@ function(
|
|
|
1304
1329
|
|
|
1305
1330
|
oEvent.preventDefault(); //ie expands the address bar on F4
|
|
1306
1331
|
} else if (!this._isMobileDevice()) {
|
|
1307
|
-
|
|
1332
|
+
if (iKC !== oKC.ESCAPE) {
|
|
1333
|
+
MaskEnabler.onkeydown.call(this, oEvent);
|
|
1334
|
+
}
|
|
1308
1335
|
} else {
|
|
1309
1336
|
if (iKC === KeyCodes.ENTER || iKC === KeyCodes.SPACE) {
|
|
1310
1337
|
this._openNumericPicker();
|
|
@@ -24,8 +24,6 @@ sap.ui.define([], function() {
|
|
|
24
24
|
TimePickerClocksRenderer.render = function(oRm, oControl) {
|
|
25
25
|
oRm.openStart("div", oControl); // outer wrapper
|
|
26
26
|
oRm.class("sapMTPClocksContainer");
|
|
27
|
-
// oRm.attr("role", "application");
|
|
28
|
-
// oRm.attr("aria-roledescription", oControl._getAriaRoleDescription());
|
|
29
27
|
oRm.openEnd();
|
|
30
28
|
|
|
31
29
|
this.renderButtons(oRm, oControl);
|
|
@@ -43,34 +41,29 @@ sap.ui.define([], function() {
|
|
|
43
41
|
TimePickerClocksRenderer.renderButtons = function(oRm, oControl) {
|
|
44
42
|
var aButtons = oControl.getAggregation("_buttons"),
|
|
45
43
|
oSegButton = oControl.getAggregation("_buttonAmPm"),
|
|
46
|
-
aSeparators =
|
|
47
|
-
sSeparator,
|
|
44
|
+
aSeparators = aButtons && aButtons.length ? Array(aButtons.length - 1).fill(":") : [],
|
|
48
45
|
iIndex;
|
|
49
46
|
|
|
50
47
|
if (aButtons) {
|
|
51
48
|
|
|
52
49
|
if (oSegButton) {
|
|
53
50
|
aButtons.push(oSegButton);
|
|
51
|
+
aSeparators.push(" ");
|
|
54
52
|
}
|
|
55
53
|
oRm.openStart("div"); // buttons wrapper
|
|
56
54
|
oRm.class("sapMTPCButtons");
|
|
57
55
|
oRm.attr("dir", "ltr");
|
|
58
56
|
oRm.openEnd();
|
|
59
57
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
if (
|
|
63
|
-
sSeparator = aSeparators[iIndex];
|
|
64
|
-
if (sSeparator === undefined) {
|
|
65
|
-
sSeparator = "";
|
|
66
|
-
}
|
|
58
|
+
for (iIndex = 0; iIndex < aButtons.length; iIndex++) {
|
|
59
|
+
oRm.renderControl(aButtons[iIndex]);
|
|
60
|
+
if (aSeparators[iIndex]) {
|
|
67
61
|
oRm.openStart("span");
|
|
68
62
|
oRm.attr("aria-hidden", "true");
|
|
69
63
|
oRm.openEnd();
|
|
70
|
-
oRm.text(
|
|
64
|
+
oRm.text(aSeparators[iIndex]);
|
|
71
65
|
oRm.close("span");
|
|
72
66
|
}
|
|
73
|
-
aButtons[iIndex] && oRm.renderControl(aButtons[iIndex]);
|
|
74
67
|
}
|
|
75
68
|
|
|
76
69
|
oRm.renderControl(oControl._getCurrentTimeButton());
|
|
@@ -24,13 +24,13 @@ sap.ui.define([], function() {
|
|
|
24
24
|
TimePickerInputsRenderer.render = function(oRm, oControl) {
|
|
25
25
|
var aControls = oControl.getAggregation("_inputs"),
|
|
26
26
|
oSegButton = oControl.getAggregation("_buttonAmPm"),
|
|
27
|
-
aSeparators =
|
|
28
|
-
sSeparator,
|
|
27
|
+
aSeparators = aControls && aControls.length ? Array(aControls.length - 1).fill(":") : [],
|
|
29
28
|
iIndex;
|
|
30
29
|
|
|
31
30
|
if (aControls) {
|
|
32
31
|
if (oSegButton) {
|
|
33
32
|
aControls.push(oSegButton);
|
|
33
|
+
aSeparators.push(" ");
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
oRm.openStart("div", oControl); // outer wrapper
|
|
@@ -40,19 +40,15 @@ sap.ui.define([], function() {
|
|
|
40
40
|
oRm.openEnd();
|
|
41
41
|
|
|
42
42
|
// render buttons and separators
|
|
43
|
-
for (iIndex = 0; iIndex <
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
if (sSeparator === undefined) {
|
|
47
|
-
sSeparator = "";
|
|
48
|
-
}
|
|
43
|
+
for (iIndex = 0; iIndex < aControls.length; iIndex++) {
|
|
44
|
+
oRm.renderControl(aControls[iIndex]);
|
|
45
|
+
if (aSeparators[iIndex]) {
|
|
49
46
|
oRm.openStart("span");
|
|
50
47
|
oRm.attr("aria-hidden", "true");
|
|
51
48
|
oRm.openEnd();
|
|
52
|
-
oRm.text(
|
|
49
|
+
oRm.text(aSeparators[iIndex]);
|
|
53
50
|
oRm.close("span");
|
|
54
51
|
}
|
|
55
|
-
aControls[iIndex] && oRm.renderControl(aControls[iIndex]);
|
|
56
52
|
}
|
|
57
53
|
|
|
58
54
|
oRm.renderControl(oControl._getCurrentTimeButton());
|
|
@@ -49,7 +49,7 @@ sap.ui.define([
|
|
|
49
49
|
* @extends sap.ui.core.Control
|
|
50
50
|
*
|
|
51
51
|
* @author SAP SE
|
|
52
|
-
* @version 1.
|
|
52
|
+
* @version 1.116.0
|
|
53
53
|
*
|
|
54
54
|
* @constructor
|
|
55
55
|
* @private
|
|
@@ -431,49 +431,6 @@ sap.ui.define([
|
|
|
431
431
|
return "";
|
|
432
432
|
};
|
|
433
433
|
|
|
434
|
-
/**
|
|
435
|
-
* Returns an array of separators between separate parts of the display format.
|
|
436
|
-
* @returns {array} array of separators
|
|
437
|
-
* @private
|
|
438
|
-
*/
|
|
439
|
-
TimePickerInternals.prototype._getTimeSeparators = function (sDisplayFormat) {
|
|
440
|
-
var aFormatParts = DateFormat.getInstance({ pattern: sDisplayFormat }).aFormatArray,
|
|
441
|
-
aSeparators = [],
|
|
442
|
-
bAmPmMarker,
|
|
443
|
-
bPreviousWasEntity,
|
|
444
|
-
iIndex;
|
|
445
|
-
|
|
446
|
-
if (!aFormatParts.length) {
|
|
447
|
-
return aSeparators;
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
if (aFormatParts[0].type !== 'text') {
|
|
451
|
-
aSeparators.push("");
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
for (iIndex = 0; iIndex < aFormatParts.length; iIndex++) {
|
|
455
|
-
if (aFormatParts[iIndex].type === 'amPmMarker') {
|
|
456
|
-
bAmPmMarker = true;
|
|
457
|
-
} else if (aFormatParts[iIndex].type !== "text") {
|
|
458
|
-
if (bPreviousWasEntity) {
|
|
459
|
-
// there was previous non-separator entity, and this one is the same too, so add empty separator
|
|
460
|
-
aSeparators.push("");
|
|
461
|
-
} else {
|
|
462
|
-
// this is non-separator entity, set the entity flag
|
|
463
|
-
bPreviousWasEntity = true;
|
|
464
|
-
}
|
|
465
|
-
} else {
|
|
466
|
-
// add separator and clear non-separator entity flag
|
|
467
|
-
aSeparators.push(aFormatParts[iIndex].value);
|
|
468
|
-
bPreviousWasEntity = false;
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
bAmPmMarker && aSeparators.push("");
|
|
473
|
-
|
|
474
|
-
return aSeparators;
|
|
475
|
-
};
|
|
476
|
-
|
|
477
434
|
/**
|
|
478
435
|
* Returns if the displayFormatPattern is HH or H (24 hours format with or without leading zero).
|
|
479
436
|
* @returns {boolean} Is the displayFormatPattern is HH or H (24 hours format with or without leading zero).
|