@openui5/sap.m 1.103.0 → 1.105.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 +2 -3
- package/.reuse/dep5 +18 -1
- package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +5 -0
- package/THIRDPARTY.txt +36 -3
- 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 +1 -1
- package/src/sap/m/App.js +2 -3
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +2 -2
- package/src/sap/m/BadgeEnabler.js +1 -2
- package/src/sap/m/Bar.js +11 -10
- package/src/sap/m/Breadcrumbs.js +2 -2
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +49 -10
- package/src/sap/m/ButtonRenderer.js +10 -2
- package/src/sap/m/Carousel.js +3 -4
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +46 -6
- package/src/sap/m/CheckBoxRenderer.js +1 -0
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +1 -1
- package/src/sap/m/ColumnHeaderPopover.js +5 -7
- package/src/sap/m/ColumnListItem.js +1 -4
- package/src/sap/m/ColumnListItemRenderer.js +1 -2
- package/src/sap/m/ColumnPopoverActionItem.js +3 -3
- package/src/sap/m/ColumnPopoverCustomItem.js +3 -3
- package/src/sap/m/ColumnPopoverItem.js +3 -3
- package/src/sap/m/ColumnPopoverSelectListItem.js +3 -5
- package/src/sap/m/ColumnPopoverSortItem.js +3 -3
- package/src/sap/m/ComboBox.js +6 -5
- package/src/sap/m/ComboBoxBase.js +1 -5
- package/src/sap/m/ComboBoxBaseRenderer.js +2 -2
- package/src/sap/m/ComboBoxTextField.js +1 -7
- package/src/sap/m/ComboBoxTextFieldRenderer.js +19 -4
- package/src/sap/m/CustomDynamicDateOption.js +1 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTreeItem.js +3 -3
- package/src/sap/m/CustomTreeItemRenderer.js +2 -2
- package/src/sap/m/DatePicker.js +14 -24
- package/src/sap/m/DateRangeSelection.js +45 -38
- package/src/sap/m/DateTimeField.js +87 -20
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +52 -28
- package/src/sap/m/Dialog.js +38 -1
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateFormat.js +2 -5
- package/src/sap/m/DynamicDateOption.js +43 -16
- package/src/sap/m/DynamicDateRange.js +49 -7
- package/src/sap/m/DynamicDateRangeRenderer.js +5 -2
- package/src/sap/m/DynamicDateUtil.js +23 -2
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +2 -2
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +4 -4
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +1 -1
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +1 -1
- package/src/sap/m/FlexItemData.js +1 -1
- package/src/sap/m/FormattedText.js +1 -1
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +67 -16
- package/src/sap/m/GenericTileLineModeRenderer.js +4 -4
- package/src/sap/m/GenericTileRenderer.js +16 -4
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +37 -11
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +3 -3
- package/src/sap/m/HeaderContainerItemNavigator.js +3 -6
- package/src/sap/m/IconTabBar.js +54 -22
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +1 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +5 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +64 -25
- package/src/sap/m/IllustratedMessageRenderer.js +10 -6
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/IllustrationPool.js +1 -0
- package/src/sap/m/IllustrationRenderer.js +1 -1
- package/src/sap/m/Image.js +2 -2
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +51 -7
- package/src/sap/m/InputBase.js +1 -1
- package/src/sap/m/InputBaseRenderer.js +2 -2
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InputRenderer.js +4 -0
- package/src/sap/m/Label.js +34 -4
- package/src/sap/m/LabelRenderer.js +7 -2
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +95 -10
- package/src/sap/m/LinkRenderer.js +26 -12
- package/src/sap/m/List.js +38 -1
- package/src/sap/m/ListBase.js +104 -40
- package/src/sap/m/ListBaseRenderer.js +7 -15
- package/src/sap/m/ListItemBase.js +40 -11
- package/src/sap/m/ListItemBaseRenderer.js +17 -6
- package/src/sap/m/ListRenderer.js +2 -2
- package/src/sap/m/MaskEnabler.js +52 -2
- package/src/sap/m/MaskInput.js +23 -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/MessageBox.js +1 -1
- package/src/sap/m/MessageItem.js +3 -4
- package/src/sap/m/MessageListItem.js +8 -4
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +4 -1
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +5 -16
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +1 -15
- package/src/sap/m/NavContainer.js +21 -19
- package/src/sap/m/NewsContent.js +2 -3
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +3 -7
- package/src/sap/m/NotificationListGroupRenderer.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 +3 -3
- package/src/sap/m/ObjectIdentifier.js +3 -3
- package/src/sap/m/ObjectListItem.js +7 -1
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +2 -3
- package/src/sap/m/ObjectNumberRenderer.js +10 -3
- package/src/sap/m/ObjectStatus.js +2 -3
- package/src/sap/m/ObjectStatusRenderer.js +2 -2
- package/src/sap/m/OverflowToolbar.js +3 -8
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +3 -3
- package/src/sap/m/OverflowToolbarAssociativePopoverRenderer.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 +3 -3
- package/src/sap/m/P13nColumnsItem.js +3 -3
- package/src/sap/m/P13nColumnsPanel.js +3 -3
- package/src/sap/m/P13nConditionPanel.js +10 -3
- package/src/sap/m/P13nDialog.js +3 -3
- package/src/sap/m/P13nDimMeasureItem.js +3 -3
- package/src/sap/m/P13nDimMeasurePanel.js +3 -3
- package/src/sap/m/P13nFilterItem.js +3 -3
- package/src/sap/m/P13nFilterPanel.js +3 -3
- package/src/sap/m/P13nGroupItem.js +3 -3
- package/src/sap/m/P13nGroupPanel.js +3 -3
- package/src/sap/m/P13nItem.js +3 -3
- package/src/sap/m/P13nOperationsHelper.js +2 -2
- package/src/sap/m/P13nPanel.js +3 -3
- package/src/sap/m/P13nSelectionItem.js +3 -3
- package/src/sap/m/P13nSelectionPanel.js +3 -3
- package/src/sap/m/P13nSortItem.js +3 -3
- package/src/sap/m/P13nSortPanel.js +3 -3
- package/src/sap/m/PDFViewer.js +2 -2
- package/src/sap/m/PDFViewerRenderer.js +1 -0
- package/src/sap/m/Page.js +1 -3
- 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 +4 -16
- package/src/sap/m/PlanningCalendarHeader.js +1 -5
- 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 +11 -4
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/ProgressIndicatorRenderer.js +6 -3
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +3 -3
- package/src/sap/m/QuickViewBase.js +3 -3
- package/src/sap/m/QuickViewCard.js +3 -3
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +3 -3
- package/src/sap/m/QuickViewPage.js +3 -3
- package/src/sap/m/RadioButton.js +47 -20
- package/src/sap/m/RadioButtonGroup.js +29 -19
- package/src/sap/m/RangeSlider.js +1 -3
- package/src/sap/m/RatingIndicator.js +8 -1
- package/src/sap/m/RatingIndicatorRenderer.js +13 -4
- package/src/sap/m/ResponsivePopover.js +3 -3
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +7 -13
- package/src/sap/m/SelectDialog.js +2 -1
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectListRenderer.js +2 -2
- package/src/sap/m/SelectionDetails.js +2 -2
- 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 +5 -7
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -7
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +0 -2
- 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 +30 -5
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderTooltip.js +1 -3
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipBaseRenderer.js +2 -2
- package/src/sap/m/SliderTooltipContainer.js +1 -1
- package/src/sap/m/SliderTooltipContainerRenderer.js +2 -2
- package/src/sap/m/SliderTooltipRenderer.js +2 -2
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -3
- package/src/sap/m/SplitContainer.js +1 -5
- package/src/sap/m/StandardDynamicDateOption.js +9 -15
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardListItemRenderer.js +2 -2
- 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 +4 -2
- 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 +11 -9
- package/src/sap/m/TablePersoController.js +1 -1
- package/src/sap/m/TablePersoDialog.js +6 -15
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +2 -9
- 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/TextAreaRenderer.js +1 -2
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +8 -9
- package/src/sap/m/TileContentRenderer.js +3 -3
- package/src/sap/m/TimePicker.js +43 -6
- package/src/sap/m/TimePickerClock.js +2 -3
- package/src/sap/m/TimePickerClocks.js +5 -3
- package/src/sap/m/TimePickerClocksRenderer.js +1 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInputsRenderer.js +1 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +3 -5
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +2 -2
- package/src/sap/m/Token.js +1 -3
- 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 +8 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/TreeRenderer.js +0 -10
- package/src/sap/m/UploadCollection.js +2 -2
- 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/VariantItem.js +160 -0
- package/src/sap/m/VariantManagement.js +665 -570
- 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 -3
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +12 -13
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +2 -3
- package/src/sap/m/changeHandler/CombineButtons.js +19 -22
- package/src/sap/m/changeHandler/MoveTableColumns.js +6 -6
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +5 -5
- package/src/sap/m/changeHandler/SplitMenuButton.js +7 -6
- package/src/sap/m/delegate/DateNavigation.js +0 -4
- package/src/sap/m/designtime/Link.designtime.js +19 -11
- package/src/sap/m/designtime/VariantManagement.designtime.js +36 -26
- package/src/sap/m/flexibility/EngineFlex.js +48 -0
- package/src/sap/m/inputUtils/selectionRange.js +1 -2
- package/src/sap/m/library.js +30 -6
- package/src/sap/m/messagebundle.properties +30 -3
- package/src/sap/m/messagebundle_ar.properties +26 -8
- package/src/sap/m/messagebundle_bg.properties +20 -2
- package/src/sap/m/messagebundle_ca.properties +19 -1
- package/src/sap/m/messagebundle_cs.properties +20 -2
- package/src/sap/m/messagebundle_cy.properties +21 -3
- package/src/sap/m/messagebundle_da.properties +19 -1
- package/src/sap/m/messagebundle_de.properties +19 -1
- package/src/sap/m/messagebundle_el.properties +22 -4
- package/src/sap/m/messagebundle_en.properties +21 -3
- package/src/sap/m/messagebundle_en_GB.properties +21 -3
- package/src/sap/m/messagebundle_en_US_sappsd.properties +20 -2
- package/src/sap/m/messagebundle_en_US_saprigi.properties +18 -2
- package/src/sap/m/messagebundle_en_US_saptrc.properties +20 -2
- package/src/sap/m/messagebundle_es.properties +20 -2
- package/src/sap/m/messagebundle_es_MX.properties +19 -1
- package/src/sap/m/messagebundle_et.properties +19 -1
- package/src/sap/m/messagebundle_fi.properties +23 -5
- package/src/sap/m/messagebundle_fr.properties +20 -2
- package/src/sap/m/messagebundle_fr_CA.properties +21 -3
- package/src/sap/m/messagebundle_hi.properties +21 -3
- package/src/sap/m/messagebundle_hr.properties +23 -5
- package/src/sap/m/messagebundle_hu.properties +21 -3
- package/src/sap/m/messagebundle_id.properties +21 -3
- package/src/sap/m/messagebundle_it.properties +20 -2
- package/src/sap/m/messagebundle_iw.properties +21 -3
- package/src/sap/m/messagebundle_ja.properties +20 -2
- package/src/sap/m/messagebundle_kk.properties +19 -1
- package/src/sap/m/messagebundle_ko.properties +27 -9
- package/src/sap/m/messagebundle_lt.properties +19 -1
- package/src/sap/m/messagebundle_lv.properties +19 -1
- package/src/sap/m/messagebundle_ms.properties +20 -2
- package/src/sap/m/messagebundle_nl.properties +33 -15
- package/src/sap/m/messagebundle_no.properties +21 -3
- package/src/sap/m/messagebundle_pl.properties +20 -2
- package/src/sap/m/messagebundle_pt.properties +24 -6
- package/src/sap/m/messagebundle_pt_PT.properties +19 -1
- package/src/sap/m/messagebundle_ro.properties +20 -2
- package/src/sap/m/messagebundle_ru.properties +20 -2
- package/src/sap/m/messagebundle_sh.properties +20 -2
- package/src/sap/m/messagebundle_sk.properties +19 -1
- package/src/sap/m/messagebundle_sl.properties +20 -2
- package/src/sap/m/messagebundle_sv.properties +19 -1
- package/src/sap/m/messagebundle_th.properties +52 -34
- package/src/sap/m/messagebundle_tr.properties +23 -5
- package/src/sap/m/messagebundle_uk.properties +20 -2
- package/src/sap/m/messagebundle_vi.properties +20 -2
- package/src/sap/m/messagebundle_zh_CN.properties +20 -2
- package/src/sap/m/messagebundle_zh_TW.properties +19 -1
- package/src/sap/m/p13n/AbstractContainer.js +7 -7
- package/src/sap/m/p13n/AbstractContainerItem.js +4 -4
- package/src/sap/m/p13n/BasePanel.js +8 -7
- package/src/sap/m/p13n/Container.js +3 -3
- package/src/sap/m/p13n/Engine.js +1254 -0
- package/src/sap/m/p13n/FlexUtil.js +161 -0
- package/src/sap/m/p13n/GroupController.js +145 -0
- package/src/sap/m/p13n/GroupPanel.js +12 -5
- package/src/sap/m/p13n/MetadataHelper.js +35 -0
- package/src/sap/m/p13n/PersistenceProvider.js +160 -0
- package/src/sap/m/p13n/Popup.js +49 -12
- package/src/sap/m/p13n/QueryPanel.js +3 -3
- package/src/sap/m/p13n/SelectionController.js +548 -0
- package/src/sap/m/p13n/SelectionPanel.js +15 -3
- package/src/sap/m/p13n/SortController.js +153 -0
- package/src/sap/m/p13n/SortPanel.js +13 -3
- package/src/sap/m/p13n/enum/PersistenceMode.js +43 -0
- package/src/sap/m/p13n/handler/xConfigHandler.js +166 -0
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +90 -0
- package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +75 -0
- package/src/sap/m/p13n/modification/ModificationHandler.js +143 -0
- package/src/sap/m/p13n/modules/AdaptationProvider.js +67 -0
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +147 -0
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +101 -0
- package/src/sap/m/p13n/modules/UIManager.js +230 -0
- package/src/sap/m/p13n/modules/xConfigAPI.js +288 -0
- package/src/sap/m/plugins/CellSelector.js +741 -0
- package/src/sap/m/plugins/ColumnResizer.js +15 -1
- package/src/sap/m/plugins/DataStateIndicator.js +2 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +4 -3
- package/src/sap/m/semantic/AddAction.js +1 -1
- package/src/sap/m/semantic/CancelAction.js +1 -1
- package/src/sap/m/semantic/DeleteAction.js +1 -1
- package/src/sap/m/semantic/DetailPage.js +1 -1
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/m/semantic/EditAction.js +1 -1
- package/src/sap/m/semantic/FavoriteAction.js +1 -1
- package/src/sap/m/semantic/FilterAction.js +1 -1
- package/src/sap/m/semantic/FilterSelect.js +1 -1
- package/src/sap/m/semantic/FlagAction.js +1 -1
- package/src/sap/m/semantic/ForwardAction.js +1 -1
- package/src/sap/m/semantic/FullscreenPage.js +1 -1
- package/src/sap/m/semantic/GroupAction.js +1 -1
- package/src/sap/m/semantic/GroupSelect.js +1 -1
- package/src/sap/m/semantic/MainAction.js +1 -1
- package/src/sap/m/semantic/MasterPage.js +1 -1
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +1 -1
- package/src/sap/m/semantic/NegativeAction.js +1 -1
- package/src/sap/m/semantic/OpenInAction.js +1 -1
- package/src/sap/m/semantic/PositiveAction.js +1 -1
- package/src/sap/m/semantic/PrintAction.js +1 -1
- package/src/sap/m/semantic/SaveAction.js +1 -1
- package/src/sap/m/semantic/Segment.js +1 -1
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -1
- package/src/sap/m/semantic/SemanticConfiguration.js +3 -4
- 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 -3
- 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 +14 -7
- 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 +8 -2
- 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 +21 -3
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +13 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -3
- package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -3
- package/src/sap/m/table/columnmenu/QuickTotal.js +21 -3
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +13 -1
- package/src/sap/m/themes/base/Breadcrumbs.less +6 -0
- package/src/sap/m/themes/base/Button.less +0 -1
- package/src/sap/m/themes/base/CellSelector.less +9 -0
- package/src/sap/m/themes/base/CheckBox.less +1 -0
- package/src/sap/m/themes/base/Dialog.less +1 -0
- package/src/sap/m/themes/base/DynamicDateRange.less +4 -0
- package/src/sap/m/themes/base/FeedContent.less +13 -5
- package/src/sap/m/themes/base/GenericTile.less +49 -9
- package/src/sap/m/themes/base/IllustratedMessage.less +7 -0
- package/src/sap/m/themes/base/NewsContent.less +6 -0
- package/src/sap/m/themes/base/NumericContent.less +1 -1
- package/src/sap/m/themes/base/ObjectStatus.less +2 -1
- package/src/sap/m/themes/base/OverflowToolbarAssociativePopover.less +5 -1
- package/src/sap/m/themes/base/SelectList.less +0 -5
- package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +7 -0
- package/src/sap/m/themes/base/SlideTile.less +35 -4
- package/src/sap/m/themes/base/Table.less +11 -2
- package/src/sap/m/themes/base/TileContent.less +17 -0
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/UploadSet.js +110 -21
- package/src/sap/m/upload/UploadSetItem.js +18 -7
- package/src/sap/m/upload/UploadSetRenderer.js +8 -16
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/Uploader.js +1 -2
package/src/sap/m/Table.js
CHANGED
|
@@ -7,17 +7,14 @@
|
|
|
7
7
|
// Provides control sap.m.Table.
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"sap/ui/core/Core",
|
|
10
|
-
"sap/ui/Device",
|
|
11
10
|
"./library",
|
|
12
11
|
"./ListBase",
|
|
13
12
|
"./ListItemBase",
|
|
14
13
|
"./CheckBox",
|
|
15
14
|
"./TableRenderer",
|
|
16
|
-
"sap/base/Log",
|
|
17
15
|
"sap/ui/base/Object",
|
|
18
16
|
"sap/ui/core/ResizeHandler",
|
|
19
17
|
"sap/ui/core/util/PasteHelper",
|
|
20
|
-
"sap/ui/events/KeyCodes",
|
|
21
18
|
"sap/ui/thirdparty/jquery",
|
|
22
19
|
"sap/m/ListBaseRenderer",
|
|
23
20
|
"sap/ui/core/Icon",
|
|
@@ -25,7 +22,7 @@ sap.ui.define([
|
|
|
25
22
|
// jQuery custom selectors ":sapTabbable"
|
|
26
23
|
"sap/ui/dom/jquery/Selectors"
|
|
27
24
|
],
|
|
28
|
-
function(Core,
|
|
25
|
+
function(Core, library, ListBase, ListItemBase, CheckBox, TableRenderer, BaseObject, ResizeHandler, PasteHelper, jQuery, ListBaseRenderer, Icon, Util) {
|
|
29
26
|
"use strict";
|
|
30
27
|
|
|
31
28
|
|
|
@@ -67,7 +64,7 @@ sap.ui.define([
|
|
|
67
64
|
* @extends sap.m.ListBase
|
|
68
65
|
*
|
|
69
66
|
* @author SAP SE
|
|
70
|
-
* @version 1.
|
|
67
|
+
* @version 1.105.0
|
|
71
68
|
*
|
|
72
69
|
* @constructor
|
|
73
70
|
* @public
|
|
@@ -922,11 +919,9 @@ sap.ui.define([
|
|
|
922
919
|
*/
|
|
923
920
|
Table.prototype.enhanceAccessibilityState = function(oElement, mAriaProps) {
|
|
924
921
|
if (oElement == this._clearAllButton) {
|
|
925
|
-
|
|
926
|
-
mAriaProps.label = oBundle.getText("TABLE_ICON_DESELECT_ALL");
|
|
922
|
+
mAriaProps.label = Core.getLibraryResourceBundle("sap.m").getText("TABLE_ICON_DESELECT_ALL");
|
|
927
923
|
} else if (oElement == this._selectAllCheckBox) {
|
|
928
|
-
|
|
929
|
-
mAriaProps.label = oBundle.getText("TABLE_CHECKBOX_SELECT_ALL");
|
|
924
|
+
mAriaProps.label = Core.getLibraryResourceBundle("sap.m").getText("TABLE_CHECKBOX_SELECT_ALL");
|
|
930
925
|
}
|
|
931
926
|
};
|
|
932
927
|
|
|
@@ -1403,6 +1398,13 @@ sap.ui.define([
|
|
|
1403
1398
|
jQuery(oLast).addClass("sapMTblLastVisibleCell");
|
|
1404
1399
|
};
|
|
1405
1400
|
|
|
1401
|
+
Table.prototype.getAriaRole = function() {
|
|
1402
|
+
return "";
|
|
1403
|
+
};
|
|
1404
|
+
|
|
1405
|
+
// items and groupHeader mapping is not required for the table control
|
|
1406
|
+
Table.prototype.setLastGroupHeader = function() {};
|
|
1407
|
+
|
|
1406
1408
|
return Table;
|
|
1407
1409
|
|
|
1408
1410
|
});
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @class Table Personalization Controller
|
|
39
39
|
* @extends sap.ui.base.ManagedObject
|
|
40
40
|
* @author SAP
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.105.0
|
|
42
42
|
* @alias sap.m.TablePersoController
|
|
43
43
|
*/
|
|
44
44
|
var TablePersoController = ManagedObject.extend("sap.m.TablePersoController", /** @lends sap.m.TablePersoController.prototype */
|
|
@@ -19,16 +19,14 @@ sap.ui.define([
|
|
|
19
19
|
'sap/ui/base/ManagedObject',
|
|
20
20
|
'sap/ui/base/ManagedObjectRegistry',
|
|
21
21
|
'sap/base/Log',
|
|
22
|
+
'sap/base/util/deepExtend',
|
|
22
23
|
'sap/m/library',
|
|
23
24
|
'sap/ui/Device',
|
|
24
25
|
'sap/ui/model/Sorter',
|
|
25
26
|
'sap/ui/model/Filter',
|
|
26
27
|
'sap/ui/model/FilterOperator',
|
|
27
28
|
'sap/ui/model/json/JSONModel',
|
|
28
|
-
'sap/m/
|
|
29
|
-
'sap/m/SearchField',
|
|
30
|
-
'sap/m/ScrollContainer',
|
|
31
|
-
"sap/ui/thirdparty/jquery"
|
|
29
|
+
'sap/m/SearchField'
|
|
32
30
|
],
|
|
33
31
|
function(
|
|
34
32
|
Text,
|
|
@@ -44,16 +42,14 @@ sap.ui.define([
|
|
|
44
42
|
ManagedObject,
|
|
45
43
|
ManagedObjectRegistry,
|
|
46
44
|
Log,
|
|
45
|
+
deepExtend,
|
|
47
46
|
library,
|
|
48
47
|
Device,
|
|
49
48
|
Sorter,
|
|
50
49
|
Filter,
|
|
51
50
|
FilterOperator,
|
|
52
51
|
JSONModel,
|
|
53
|
-
|
|
54
|
-
SearchField,
|
|
55
|
-
ScrollContainer,
|
|
56
|
-
jQuery
|
|
52
|
+
SearchField
|
|
57
53
|
) {
|
|
58
54
|
"use strict";
|
|
59
55
|
|
|
@@ -87,7 +83,7 @@ sap.ui.define([
|
|
|
87
83
|
* @class Table Personalization Dialog
|
|
88
84
|
* @extends sap.ui.base.ManagedObject
|
|
89
85
|
* @author SAP
|
|
90
|
-
* @version 1.
|
|
86
|
+
* @version 1.105.0
|
|
91
87
|
* @alias sap.m.TablePersoDialog
|
|
92
88
|
*/
|
|
93
89
|
var TablePersoDialog = ManagedObject.extend("sap.m.TablePersoDialog", /** @lends sap.m.TablePersoDialog.prototype */
|
|
@@ -240,11 +236,6 @@ sap.ui.define([
|
|
|
240
236
|
that._fnUpdateArrowButtons.call(that);
|
|
241
237
|
};
|
|
242
238
|
|
|
243
|
-
this._fnAfterScrollContainerRendering = function () {
|
|
244
|
-
// Scroll container gets focused in Firefox
|
|
245
|
-
that._oScrollContainer.$().attr('tabindex', '-1');
|
|
246
|
-
};
|
|
247
|
-
|
|
248
239
|
this._oInnerTable = new Table(this.getId() + "-colTable",{
|
|
249
240
|
noDataText: this._oRb.getText('PERSODIALOG_NO_DATA'),
|
|
250
241
|
mode: ListMode.MultiSelect,
|
|
@@ -484,7 +475,7 @@ sap.ui.define([
|
|
|
484
475
|
// Deep copy of Initial Data, otherwise initial data will be changed
|
|
485
476
|
// and can only be used once to restore the initial state
|
|
486
477
|
|
|
487
|
-
var aInitialStateCopy =
|
|
478
|
+
var aInitialStateCopy = deepExtend([], this.getInitialColumnState()),
|
|
488
479
|
that = this;
|
|
489
480
|
// CSN 0120031469 0000184938 2014
|
|
490
481
|
// Remember last selected row, so it can be selected again after
|
|
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/base/ManagedObject', "sap/base/Log"],
|
|
|
21
21
|
* @extends sap.ui.base.ManagedObject
|
|
22
22
|
* @abstract
|
|
23
23
|
* @author SAP
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.105.0
|
|
25
25
|
* @alias sap.m.TablePersoProvider
|
|
26
26
|
*/
|
|
27
27
|
var TablePersoProvider = ManagedObject.extend("sap.m.TablePersoProvider", /** @lends sap.m.TablePersoProvider.prototype */
|
|
@@ -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"],
|
|
8
|
+
function(Renderer, Core, InvisibleText, library, ListBaseRenderer, ColumnListItemRenderer) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
|
|
@@ -301,13 +301,6 @@ sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/Core", "sap/ui/core/Invisibl
|
|
|
301
301
|
}
|
|
302
302
|
};
|
|
303
303
|
|
|
304
|
-
/**
|
|
305
|
-
* returns aria accessibility role
|
|
306
|
-
*/
|
|
307
|
-
TableRenderer.getAriaRole = function(oControl) {
|
|
308
|
-
return "";
|
|
309
|
-
};
|
|
310
|
-
|
|
311
304
|
/**
|
|
312
305
|
* generate table columns
|
|
313
306
|
*/
|
|
@@ -105,7 +105,7 @@ sap.ui.define([
|
|
|
105
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>.
|
|
106
106
|
* @extends sap.m.SelectDialogBase
|
|
107
107
|
* @author SAP SE
|
|
108
|
-
* @version 1.
|
|
108
|
+
* @version 1.105.0
|
|
109
109
|
*
|
|
110
110
|
* @constructor
|
|
111
111
|
* @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.105.0
|
|
58
58
|
*
|
|
59
59
|
* @constructor
|
|
60
60
|
* @public
|
package/src/sap/m/TextArea.js
CHANGED
|
@@ -7,10 +7,9 @@
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
'sap/ui/core/Renderer',
|
|
9
9
|
'./InputBaseRenderer',
|
|
10
|
-
'sap/ui/Device',
|
|
11
10
|
'sap/ui/core/library'
|
|
12
11
|
],
|
|
13
|
-
function(Renderer, InputBaseRenderer,
|
|
12
|
+
function(Renderer, InputBaseRenderer, coreLibrary) {
|
|
14
13
|
"use strict";
|
|
15
14
|
|
|
16
15
|
|
package/src/sap/m/Tile.js
CHANGED
package/src/sap/m/TileContent.js
CHANGED
|
@@ -24,7 +24,7 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
24
24
|
* @extends sap.ui.core.Control
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.105.0
|
|
28
28
|
* @since 1.34.0
|
|
29
29
|
*
|
|
30
30
|
* @public
|
|
@@ -223,8 +223,13 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
223
223
|
var bIsFirst = true;
|
|
224
224
|
var oContent = this.getContent();
|
|
225
225
|
var oParent = this.getParent();
|
|
226
|
-
|
|
227
|
-
|
|
226
|
+
var sPriority = sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("TEXT_CONTENT_PRIORITY");
|
|
227
|
+
var sPriorityText = this.getPriorityText();
|
|
228
|
+
if (sPriorityText && this.getPriority() !== Priority.None){
|
|
229
|
+
sAltText += sPriorityText + " " + sPriority;
|
|
230
|
+
bIsFirst = false;
|
|
231
|
+
}
|
|
232
|
+
if (oContent && oContent.getVisible()) {
|
|
228
233
|
var oContentDom = oContent.getDomRef();
|
|
229
234
|
if (oContent.getAltText) {
|
|
230
235
|
sAltText += oContent.getAltText();
|
|
@@ -233,12 +238,6 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
233
238
|
sAltText += oContent.getTooltip_AsString();
|
|
234
239
|
bIsFirst = false;
|
|
235
240
|
} else if (oParent && oParent.isA("sap.m.GenericTile") && oParent.getMode() === GenericTileMode.ActionMode) {
|
|
236
|
-
var sPriority = sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("TEXT_CONTENT_PRIORITY"),
|
|
237
|
-
sPriorityText = this.getPriorityText();
|
|
238
|
-
if (sPriorityText && this.getPriority()){
|
|
239
|
-
sAltText += sPriorityText + " " + sPriority;
|
|
240
|
-
bIsFirst = false;
|
|
241
|
-
}
|
|
242
241
|
if (oContent.isA("sap.m.Text")){
|
|
243
242
|
sAltText += (bIsFirst ? "" : "\n") + oContent.getText();
|
|
244
243
|
bIsFirst = false;
|
|
@@ -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(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile"
|
|
8
|
-
function(library, encodeCSS, GenericTile
|
|
7
|
+
sap.ui.define(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile"],
|
|
8
|
+
function(library, encodeCSS, GenericTile) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
var GenericTileMode = library.GenericTileMode,
|
|
@@ -111,7 +111,7 @@ sap.ui.define(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile",
|
|
|
111
111
|
sPriorityText = oControl.getPriorityText(),
|
|
112
112
|
bRenderPriority = bIsActionMode && oPriority && oPriority !== Priority.None && sPriorityText,
|
|
113
113
|
sPriority = sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("TEXT_CONTENT_PRIORITY"),
|
|
114
|
-
iMaxLines = (oPriority && sPriorityText) ? 1 : 3; //if the Priority is present then the text should have 1 line else 3 lines in ActionMode
|
|
114
|
+
iMaxLines = (oPriority !== Priority.None && sPriorityText) ? 1 : 3; //if the Priority is present then the text should have 1 line else 3 lines in ActionMode
|
|
115
115
|
|
|
116
116
|
if (oContent) {
|
|
117
117
|
if (bRenderPriority) {
|
package/src/sap/m/TimePicker.js
CHANGED
|
@@ -142,7 +142,7 @@ function(
|
|
|
142
142
|
* @extends sap.m.DateTimeField
|
|
143
143
|
*
|
|
144
144
|
* @author SAP SE
|
|
145
|
-
* @version 1.
|
|
145
|
+
* @version 1.105.0
|
|
146
146
|
*
|
|
147
147
|
* @constructor
|
|
148
148
|
* @public
|
|
@@ -288,8 +288,27 @@ function(
|
|
|
288
288
|
* Fired when <code>value help</code> dialog closes.
|
|
289
289
|
* @since 1.102.0
|
|
290
290
|
*/
|
|
291
|
-
afterValueHelpClose: {}
|
|
291
|
+
afterValueHelpClose: {},
|
|
292
292
|
|
|
293
|
+
/**
|
|
294
|
+
* Fired when the value of the <code>TimePicker</code> is changed by user interaction - each keystroke, delete, paste, etc.
|
|
295
|
+
*
|
|
296
|
+
* <b>Note:</b> Browsing autocomplete suggestions doesn't fire the event.
|
|
297
|
+
* @since 1.104.0
|
|
298
|
+
*/
|
|
299
|
+
liveChange: {
|
|
300
|
+
parameters : {
|
|
301
|
+
/**
|
|
302
|
+
* The current value of the input, after a live change event.
|
|
303
|
+
*/
|
|
304
|
+
value: {type : "string"},
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* The previous value of the input, before the last user interaction.
|
|
308
|
+
*/
|
|
309
|
+
previousValue: {type : "string"}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
293
312
|
},
|
|
294
313
|
|
|
295
314
|
dnd: { draggable: false, droppable: true }
|
|
@@ -956,7 +975,8 @@ function(
|
|
|
956
975
|
oClocks = this._getClocks(),
|
|
957
976
|
oInputs = this._getInputs(),
|
|
958
977
|
iIndexOfHH,
|
|
959
|
-
iIndexOfH
|
|
978
|
+
iIndexOfH,
|
|
979
|
+
bEmpty = false;
|
|
960
980
|
|
|
961
981
|
sFormat = sFormat ? sFormat : "";
|
|
962
982
|
iIndexOfHH = sFormat.indexOf("HH");
|
|
@@ -971,8 +991,19 @@ function(
|
|
|
971
991
|
this._sLastChangeValue = sValue;
|
|
972
992
|
}
|
|
973
993
|
|
|
994
|
+
if (this.getDomRef() && !this._getInputValue()) {
|
|
995
|
+
bEmpty = true;
|
|
996
|
+
}
|
|
997
|
+
|
|
974
998
|
MaskEnabler.setValue.call(this, sValue);
|
|
975
999
|
|
|
1000
|
+
// Make sure that the input element is empty in case it was empty before calling the setter,
|
|
1001
|
+
// in order to enable the input field value selection, which is part of the prefered user interaction restricted API.
|
|
1002
|
+
// Later on the updateDomValue method will fill the input field element properly
|
|
1003
|
+
if (this.getDomRef() && this._bPreferUserInteraction && bEmpty) {
|
|
1004
|
+
this.getFocusDomRef().value = "";
|
|
1005
|
+
}
|
|
1006
|
+
|
|
976
1007
|
// We need to reset the mask temporary value when using a setter
|
|
977
1008
|
// as the given value might not formatted according to mask value format
|
|
978
1009
|
if (this.getMask()) {
|
|
@@ -1601,7 +1632,13 @@ function(
|
|
|
1601
1632
|
],
|
|
1602
1633
|
|
|
1603
1634
|
ariaLabelledBy: InvisibleText.getStaticId("sap.m", "TIMEPICKER_SET_TIME"),
|
|
1604
|
-
beforeOpen: this.onBeforeNumericOpen.bind(this)
|
|
1635
|
+
beforeOpen: this.onBeforeNumericOpen.bind(this),
|
|
1636
|
+
afterOpen: function() {
|
|
1637
|
+
this.fireAfterValueHelpOpen();
|
|
1638
|
+
}.bind(this),
|
|
1639
|
+
afterClose: function() {
|
|
1640
|
+
this.fireAfterValueHelpClose();
|
|
1641
|
+
}.bind(this)
|
|
1605
1642
|
});
|
|
1606
1643
|
|
|
1607
1644
|
oPicker.open = function() {
|
|
@@ -2256,8 +2293,7 @@ function(
|
|
|
2256
2293
|
type: sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("ACC_CTR_TYPE_TIMEINPUT"),
|
|
2257
2294
|
description: [sValue, oRenderer.getLabelledByAnnouncement(this), oRenderer.getDescribedByAnnouncement(this)].join(" ").trim(),
|
|
2258
2295
|
autocomplete: "none",
|
|
2259
|
-
haspopup: true
|
|
2260
|
-
owns: this.getId() + "-clocks"
|
|
2296
|
+
haspopup: true
|
|
2261
2297
|
});
|
|
2262
2298
|
|
|
2263
2299
|
return oInfo;
|
|
@@ -2301,6 +2337,7 @@ function(
|
|
|
2301
2337
|
}
|
|
2302
2338
|
|
|
2303
2339
|
this._resetTempValue(iBegin, iEnd);
|
|
2340
|
+
this._bCheckForLiveChange = true;
|
|
2304
2341
|
this.updateDomValue(this._oTempValue.toString());
|
|
2305
2342
|
this._setCursorPosition(Math.max(this._iUserInputStartPosition, iStart));
|
|
2306
2343
|
};
|
|
@@ -9,10 +9,9 @@ sap.ui.define([
|
|
|
9
9
|
"sap/ui/core/Configuration",
|
|
10
10
|
"./TimePickerClockRenderer",
|
|
11
11
|
"sap/ui/Device",
|
|
12
|
-
"sap/ui/events/KeyCodes",
|
|
13
12
|
"sap/ui/thirdparty/jquery"
|
|
14
13
|
],
|
|
15
|
-
function(Control, Configuration, TimePickerClockRenderer, Device,
|
|
14
|
+
function(Control, Configuration, TimePickerClockRenderer, Device, jQuery) {
|
|
16
15
|
"use strict";
|
|
17
16
|
|
|
18
17
|
/**
|
|
@@ -26,7 +25,7 @@ sap.ui.define([
|
|
|
26
25
|
* @extends sap.ui.core.Control
|
|
27
26
|
*
|
|
28
27
|
* @author SAP SE
|
|
29
|
-
* @version 1.
|
|
28
|
+
* @version 1.105.0
|
|
30
29
|
*
|
|
31
30
|
* @constructor
|
|
32
31
|
* @private
|
|
@@ -50,7 +50,7 @@ sap.ui.define([
|
|
|
50
50
|
* @extends sap.ui.core.Control
|
|
51
51
|
*
|
|
52
52
|
* @author SAP SE
|
|
53
|
-
* @version 1.
|
|
53
|
+
* @version 1.105.0
|
|
54
54
|
*
|
|
55
55
|
* @constructor
|
|
56
56
|
* @public
|
|
@@ -998,8 +998,10 @@ sap.ui.define([
|
|
|
998
998
|
|
|
999
999
|
aButtons = this.getAggregation("_buttons");
|
|
1000
1000
|
aClocks = this.getAggregation("_clocks");
|
|
1001
|
-
this._clockCount = aClocks.length;
|
|
1002
|
-
this.
|
|
1001
|
+
this._clockCount = aClocks ? aClocks.length : 0;
|
|
1002
|
+
if (this._clockCount) {
|
|
1003
|
+
this._switchClock(0);
|
|
1004
|
+
}
|
|
1003
1005
|
|
|
1004
1006
|
// attach events to the controls
|
|
1005
1007
|
for (iIndex = 0; iIndex < this._clockCount; iIndex++) {
|
|
@@ -10,13 +10,12 @@ sap.ui.define([
|
|
|
10
10
|
'sap/ui/model/type/Date',
|
|
11
11
|
'sap/ui/model/odata/type/ODataType',
|
|
12
12
|
'sap/ui/core/format/DateFormat',
|
|
13
|
-
'./TimePickerSlidersRenderer',
|
|
14
13
|
'./TimePickerSlider',
|
|
14
|
+
'./TimePickerSlidersRenderer',
|
|
15
15
|
'./VisibleItem',
|
|
16
16
|
'sap/ui/core/LocaleData',
|
|
17
17
|
'sap/ui/Device',
|
|
18
18
|
'sap/ui/core/Locale',
|
|
19
|
-
'./TimePickerSlidersRenderer',
|
|
20
19
|
"sap/ui/thirdparty/jquery"
|
|
21
20
|
],
|
|
22
21
|
function(
|
|
@@ -25,13 +24,12 @@ sap.ui.define([
|
|
|
25
24
|
SimpleDateType,
|
|
26
25
|
ODataType,
|
|
27
26
|
DateFormat,
|
|
28
|
-
SlidersRenderer,
|
|
29
27
|
TimePickerSlider,
|
|
28
|
+
TimePickerSlidersRenderer,
|
|
30
29
|
VisibleItem,
|
|
31
30
|
LocaleData,
|
|
32
31
|
Device,
|
|
33
32
|
Locale,
|
|
34
|
-
TimePickerSlidersRenderer,
|
|
35
33
|
jQuery
|
|
36
34
|
) {
|
|
37
35
|
"use strict";
|
|
@@ -50,7 +48,7 @@ sap.ui.define([
|
|
|
50
48
|
* @extends sap.ui.core.Control
|
|
51
49
|
*
|
|
52
50
|
* @author SAP SE
|
|
53
|
-
* @version 1.
|
|
51
|
+
* @version 1.105.0
|
|
54
52
|
*
|
|
55
53
|
* @constructor
|
|
56
54
|
* @public
|
package/src/sap/m/Title.js
CHANGED
|
@@ -51,7 +51,7 @@ sap.ui.define([],
|
|
|
51
51
|
* style class support on existing elements by calling this function.
|
|
52
52
|
*
|
|
53
53
|
* @author SAP SE
|
|
54
|
-
* @version 1.
|
|
54
|
+
* @version 1.105.0
|
|
55
55
|
*
|
|
56
56
|
* @param {string} sAggregationName the name of the aggregation which should be affected
|
|
57
57
|
* @param {object} fnGetTitleID function that would return the ID of the title
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @extends sap.m.Button
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.105.0
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @public
|
|
@@ -101,7 +101,7 @@ sap.ui.define([
|
|
|
101
101
|
*/
|
|
102
102
|
ToggleButton.prototype.onkeydown = function(oEvent) {
|
|
103
103
|
|
|
104
|
-
if (oEvent.which === KeyCodes.ENTER) {
|
|
104
|
+
if (oEvent.which === KeyCodes.ENTER && !oEvent.ctrlKey && !oEvent.metaKey) {
|
|
105
105
|
this.ontap(oEvent);
|
|
106
106
|
}
|
|
107
107
|
};
|
package/src/sap/m/Token.js
CHANGED
|
@@ -11,7 +11,6 @@ sap.ui.define([
|
|
|
11
11
|
'sap/ui/core/library',
|
|
12
12
|
'sap/ui/core/Icon',
|
|
13
13
|
'./TokenRenderer',
|
|
14
|
-
'sap/ui/core/InvisibleText',
|
|
15
14
|
'sap/ui/events/KeyCodes',
|
|
16
15
|
'sap/ui/core/Core'
|
|
17
16
|
],
|
|
@@ -21,7 +20,6 @@ sap.ui.define([
|
|
|
21
20
|
coreLibrary,
|
|
22
21
|
Icon,
|
|
23
22
|
TokenRenderer,
|
|
24
|
-
InvisibleText,
|
|
25
23
|
KeyCodes,
|
|
26
24
|
Core
|
|
27
25
|
) {
|
|
@@ -52,7 +50,7 @@ sap.ui.define([
|
|
|
52
50
|
*
|
|
53
51
|
* @extends sap.ui.core.Control
|
|
54
52
|
* @author SAP SE
|
|
55
|
-
* @version 1.
|
|
53
|
+
* @version 1.105.0
|
|
56
54
|
*
|
|
57
55
|
* @constructor
|
|
58
56
|
* @public
|
package/src/sap/m/Tokenizer.js
CHANGED
package/src/sap/m/Toolbar.js
CHANGED
|
@@ -25,7 +25,7 @@ sap.ui.define(['./library', 'sap/ui/core/LayoutData'],
|
|
|
25
25
|
* <code>layoutData</code> aggregation of {@link sap.m.ToolbarSpacer} and if set it's ignored.
|
|
26
26
|
*
|
|
27
27
|
* @extends sap.ui.core.LayoutData
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.105.0
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
package/src/sap/m/Tree.js
CHANGED
|
@@ -39,7 +39,7 @@ function(
|
|
|
39
39
|
* @extends sap.m.ListBase
|
|
40
40
|
*
|
|
41
41
|
* @author SAP SE
|
|
42
|
-
* @version 1.
|
|
42
|
+
* @version 1.105.0
|
|
43
43
|
*
|
|
44
44
|
* @constructor
|
|
45
45
|
* @public
|
|
@@ -477,6 +477,13 @@ function(
|
|
|
477
477
|
return false;
|
|
478
478
|
};
|
|
479
479
|
|
|
480
|
+
Tree.prototype.getAriaRole = function() {
|
|
481
|
+
return "tree";
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
// items and groupHeader mapping is not required for the table control
|
|
485
|
+
Tree.prototype.setLastGroupHeader = function() {};
|
|
486
|
+
|
|
480
487
|
return Tree;
|
|
481
488
|
|
|
482
489
|
});
|