@openui5/sap.m 1.138.0 → 1.139.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/README.md +1 -1
- package/REUSE.toml +8 -1
- package/THIRDPARTY.txt +72 -66
- package/package.json +5 -5
- 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/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 +1 -1
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/Breadcrumbs.js +1 -1
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +5 -4
- package/src/sap/m/Carousel.js +1 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +1 -1
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +1 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +19 -4
- 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/ContentConfig.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 +1 -1
- package/src/sap/m/DateRangeSelection.js +2 -2
- package/src/sap/m/DateTimeField.js +1 -1
- 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 +65 -16
- package/src/sap/m/FeedInputRenderer.js +7 -0
- 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 +1 -1
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +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 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +1 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +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 +2 -2
- 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 +4 -2
- package/src/sap/m/LinkTileContent.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +1 -1
- package/src/sap/m/ListItemAction.js +1 -1
- package/src/sap/m/ListItemActionBase.js +1 -1
- package/src/sap/m/ListItemBase.js +1 -1
- package/src/sap/m/ListRenderer.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 +63 -21
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuItemGroup.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MenuWrapper.js +40 -6
- package/src/sap/m/MenuWrapperRenderer.js +21 -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 -1
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +9 -8
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +16 -7
- 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 +19 -11
- 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 +13 -1
- package/src/sap/m/ObjectNumberRenderer.js +13 -4
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/ObjectStatusRenderer.js +1 -1
- package/src/sap/m/OverflowToolbar.js +16 -7
- 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/OverflowToolbarTokenizer.js +315 -0
- package/src/sap/m/OverflowToolbarTokenizerRenderer.js +84 -0
- 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 +75 -35
- 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 +100 -229
- package/src/sap/m/PlanningCalendarHeader.js +37 -17
- 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 +23 -26
- 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 +1 -1
- package/src/sap/m/ResponsivePopover.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +1 -1
- package/src/sap/m/SelectDialog.js +1 -1
- package/src/sap/m/SelectDialogBase.js +22 -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 +11 -2
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +8 -0
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +11 -2
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +8 -0
- 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/SplitButtonRenderer.js +8 -6
- 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 -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 +1 -1
- 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/TableSelectDialog.js +1 -1
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +2 -2
- 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/TileInfo.js +1 -1
- package/src/sap/m/TimePicker.js +1 -1
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -1
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +61 -28
- package/src/sap/m/TokenizerRenderer.js +28 -14
- package/src/sap/m/Toolbar.js +14 -8
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/UploadCollection.js +1 -1
- package/src/sap/m/UploadCollectionItem.js +1 -1
- package/src/sap/m/UploadCollectionParameter.js +1 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +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 +2 -2
- 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 +5 -5
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/designtime/Page.designtime.js +13 -1
- package/src/sap/m/i18n/interaction.xml +2 -2
- package/src/sap/m/i18n/interaction_ar.xml +10 -10
- package/src/sap/m/i18n/interaction_cs.xml +3 -3
- package/src/sap/m/i18n/interaction_iw.xml +8 -8
- package/src/sap/m/i18n/interaction_kk.xml +3 -3
- package/src/sap/m/i18n/interaction_th.xml +1 -1
- package/src/sap/m/library.js +29 -2
- package/src/sap/m/library.support.js +3 -0
- package/src/sap/m/messagebundle.properties +11 -2
- package/src/sap/m/messagebundle_ar.properties +7 -1
- package/src/sap/m/messagebundle_bg.properties +6 -0
- package/src/sap/m/messagebundle_ca.properties +8 -2
- package/src/sap/m/messagebundle_cnr.properties +6 -0
- package/src/sap/m/messagebundle_cs.properties +7 -1
- package/src/sap/m/messagebundle_cy.properties +6 -0
- package/src/sap/m/messagebundle_da.properties +6 -0
- package/src/sap/m/messagebundle_de.properties +7 -1
- package/src/sap/m/messagebundle_el.properties +6 -0
- package/src/sap/m/messagebundle_en.properties +6 -0
- package/src/sap/m/messagebundle_en_GB.properties +6 -0
- package/src/sap/m/messagebundle_en_US_saprigi.properties +6 -0
- package/src/sap/m/messagebundle_es.properties +8 -2
- package/src/sap/m/messagebundle_es_MX.properties +6 -0
- package/src/sap/m/messagebundle_et.properties +6 -0
- package/src/sap/m/messagebundle_fi.properties +6 -0
- package/src/sap/m/messagebundle_fr.properties +7 -1
- package/src/sap/m/messagebundle_fr_CA.properties +6 -0
- package/src/sap/m/messagebundle_hi.properties +6 -0
- package/src/sap/m/messagebundle_hr.properties +6 -0
- package/src/sap/m/messagebundle_hu.properties +6 -0
- package/src/sap/m/messagebundle_id.properties +19 -13
- package/src/sap/m/messagebundle_it.properties +6 -0
- package/src/sap/m/messagebundle_iw.properties +6 -0
- package/src/sap/m/messagebundle_ja.properties +6 -0
- package/src/sap/m/messagebundle_kk.properties +6 -0
- package/src/sap/m/messagebundle_ko.properties +6 -0
- package/src/sap/m/messagebundle_lt.properties +6 -0
- package/src/sap/m/messagebundle_lv.properties +6 -0
- package/src/sap/m/messagebundle_mk.properties +6 -0
- package/src/sap/m/messagebundle_ms.properties +6 -0
- package/src/sap/m/messagebundle_nl.properties +6 -0
- package/src/sap/m/messagebundle_no.properties +6 -0
- package/src/sap/m/messagebundle_pl.properties +6 -0
- package/src/sap/m/messagebundle_pt.properties +6 -0
- package/src/sap/m/messagebundle_pt_PT.properties +6 -0
- package/src/sap/m/messagebundle_ro.properties +6 -0
- package/src/sap/m/messagebundle_ru.properties +8 -2
- package/src/sap/m/messagebundle_sh.properties +6 -0
- package/src/sap/m/messagebundle_sk.properties +6 -0
- package/src/sap/m/messagebundle_sl.properties +6 -0
- package/src/sap/m/messagebundle_sr.properties +6 -0
- package/src/sap/m/messagebundle_sv.properties +6 -0
- package/src/sap/m/messagebundle_th.properties +6 -0
- package/src/sap/m/messagebundle_tr.properties +6 -0
- package/src/sap/m/messagebundle_uk.properties +6 -0
- package/src/sap/m/messagebundle_vi.properties +8 -2
- package/src/sap/m/messagebundle_zh_CN.properties +6 -0
- package/src/sap/m/messagebundle_zh_TW.properties +6 -0
- 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 +1 -1
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +1 -1
- package/src/sap/m/p13n/FilterController.js +1 -1
- package/src/sap/m/p13n/FilterPanel.js +1 -1
- package/src/sap/m/p13n/GroupController.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/MessageStrip.js +1 -1
- package/src/sap/m/p13n/Popup.js +1 -1
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +1 -1
- package/src/sap/m/p13n/SelectionPanel.js +1 -1
- package/src/sap/m/p13n/SortController.js +1 -1
- package/src/sap/m/p13n/SortPanel.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/p13n/modules/xConfigAPI.js +5 -2
- package/src/sap/m/plugins/CellSelector.js +6 -5
- package/src/sap/m/plugins/ColumnAIAction.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- package/src/sap/m/plugins/ContextMenuSetting.js +1 -1
- package/src/sap/m/plugins/CopyProvider.js +1 -1
- 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/plugins/UploadSetwithTable.js +119 -2
- package/src/sap/m/rules/IllustratedMessage.support.js +126 -0
- 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 +1 -1
- 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/ColumnWidthController.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 +8 -2
- package/src/sap/m/table/columnmenu/MenuBase.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 +10 -4
- package/src/sap/m/table/columnmenu/QuickResize.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +29 -19
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +10 -4
- package/src/sap/m/themes/base/CheckBox.less +4 -6
- package/src/sap/m/themes/base/FeedInput.less +17 -0
- package/src/sap/m/themes/base/GenericTile.less +22 -7
- package/src/sap/m/themes/base/IconTabBar.less +4 -5
- package/src/sap/m/themes/base/Illustration.less +4 -0
- package/src/sap/m/themes/base/Link.less +2 -0
- package/src/sap/m/themes/base/NumericContent.less +1 -2
- package/src/sap/m/themes/base/ObjectStatus.less +2 -0
- package/src/sap/m/themes/base/OverflowToolbarTokenizer.less +80 -0
- package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +1 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-BalloonSky.svg +36 -36
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-EmptyCalendar.svg +69 -69
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-FilterTable.svg +52 -52
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoDimensionsSet.svg +34 -34
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoSearchResults.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoTasks_v1.svg +48 -48
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-ReloadScreen.svg +40 -40
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SearchFolder.svg +26 -26
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessHighFive.svg +19 -19
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessScreen.svg +39 -39
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-Survey.svg +1 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UploadCollection.svg +25 -25
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UserHasSignedUp.svg +1 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-AddColumn.svg +24 -24
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-AddPeople.svg +6 -6
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-BalloonSky.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-Connection.svg +7 -7
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-EmptyCalendar.svg +34 -34
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-EmptyList.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-ErrorScreen.svg +6 -6
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-FilterTable.svg +5 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-GroupTable.svg +33 -33
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoDimensionsSet.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoMail_v1.svg +7 -7
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoSavedItems_v1.svg +10 -10
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoTasks_v1.svg +10 -10
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-ReloadScreen.svg +6 -6
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-ResizeColumn.svg +24 -24
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SearchEarth.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SearchFolder.svg +8 -8
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleBalloon.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleBell.svg +5 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleCalendar.svg +34 -34
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleCheckMark.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleConnection.svg +7 -7
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleEmptyDoc.svg +5 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleEmptyList.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleError.svg +6 -6
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleMagnifier.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleMail.svg +7 -7
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleNoSavedItems.svg +10 -10
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleNotFoundMagnifier.svg +8 -8
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleReload.svg +6 -6
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleTask.svg +10 -10
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SleepingBell.svg +5 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SortColumn.svg +26 -26
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SuccessHighFive.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SuccessScreen.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-Tent.svg +5 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-UploadCollection.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-BalloonSky.svg +44 -44
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-EmptyCalendar.svg +80 -80
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-FilterTable.svg +54 -54
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoDimensionsSet.svg +36 -36
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoSearchResults.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoTasks_v1.svg +70 -70
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-ReloadScreen.svg +52 -52
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SearchFolder.svg +33 -33
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessHighFive.svg +20 -20
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessScreen.svg +51 -51
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-UploadCollection.svg +27 -27
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-BalloonSky.svg +34 -34
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-EmptyCalendar.svg +41 -41
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-FilterTable.svg +49 -49
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-GroupTable.svg +71 -71
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoDimensionsSet.svg +37 -37
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoSearchResults.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoTasks_v1.svg +17 -17
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-ReloadScreen.svg +28 -28
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-ResizeColumn.svg +44 -44
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SearchFolder.svg +26 -26
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessHighFive.svg +19 -19
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessScreen.svg +27 -27
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-Survey.svg +1 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UploadCollection.svg +28 -28
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UserHasSignedUp.svg +1 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/ActionsPlaceholder.js +1 -1
- package/src/sap/m/upload/Column.js +1 -1
- package/src/sap/m/upload/FilePreviewDialog.js +2 -2
- package/src/sap/m/upload/UploadItem.js +8 -2
- package/src/sap/m/upload/UploadItemConfiguration.js +34 -2
- package/src/sap/m/upload/UploadSet.js +1 -1
- package/src/sap/m/upload/UploadSetItem.js +1 -1
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/UploaderTableItem.js +62 -6
package/src/sap/m/StepInput.js
CHANGED
|
@@ -52,7 +52,7 @@ sap.ui.define([
|
|
|
52
52
|
* @alias sap.m.SuggestionsPopover
|
|
53
53
|
*
|
|
54
54
|
* @author SAP SE
|
|
55
|
-
* @version 1.
|
|
55
|
+
* @version 1.139.0
|
|
56
56
|
*/
|
|
57
57
|
var SuggestionsPopover = EventProvider.extend("sap.m.SuggestionsPopover", /** @lends sap.m.SuggestionsPopover.prototype */ {
|
|
58
58
|
|
|
@@ -175,7 +175,6 @@ sap.ui.define([
|
|
|
175
175
|
|
|
176
176
|
if (!oList) {
|
|
177
177
|
oList = new List(sParentId + "-popup-list", {
|
|
178
|
-
showNoData : false,
|
|
179
178
|
mode : ListMode.SingleSelectMaster,
|
|
180
179
|
rememberSelections : false,
|
|
181
180
|
width: "100%",
|
package/src/sap/m/Switch.js
CHANGED
package/src/sap/m/TabStrip.js
CHANGED
package/src/sap/m/Table.js
CHANGED
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* @class Table Personalization Controller
|
|
43
43
|
* @extends sap.ui.base.ManagedObject
|
|
44
44
|
* @author SAP
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.139.0
|
|
46
46
|
* @alias sap.m.TablePersoController
|
|
47
47
|
*/
|
|
48
48
|
var TablePersoController = ManagedObject.extend("sap.m.TablePersoController", /** @lends sap.m.TablePersoController.prototype */
|
|
@@ -96,7 +96,7 @@ sap.ui.define([
|
|
|
96
96
|
* @class Table Personalization Dialog
|
|
97
97
|
* @extends sap.ui.base.ManagedObject
|
|
98
98
|
* @author SAP
|
|
99
|
-
* @version 1.
|
|
99
|
+
* @version 1.139.0
|
|
100
100
|
* @alias sap.m.TablePersoDialog
|
|
101
101
|
*/
|
|
102
102
|
var TablePersoDialog = ManagedObject.extend("sap.m.TablePersoDialog", /** @lends sap.m.TablePersoDialog.prototype */
|
|
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/base/ManagedObject', "sap/base/Log"],
|
|
|
23
23
|
* @extends sap.ui.base.ManagedObject
|
|
24
24
|
* @abstract
|
|
25
25
|
* @author SAP
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.139.0
|
|
27
27
|
* @alias sap.m.TablePersoProvider
|
|
28
28
|
*/
|
|
29
29
|
var TablePersoProvider = ManagedObject.extend("sap.m.TablePersoProvider", /** @lends sap.m.TablePersoProvider.prototype */
|
|
@@ -116,7 +116,7 @@ sap.ui.define([
|
|
|
116
116
|
* 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>.
|
|
117
117
|
* @extends sap.m.SelectDialogBase
|
|
118
118
|
* @author SAP SE
|
|
119
|
-
* @version 1.
|
|
119
|
+
* @version 1.139.0
|
|
120
120
|
*
|
|
121
121
|
* @constructor
|
|
122
122
|
* @public
|
package/src/sap/m/Text.js
CHANGED
|
@@ -60,7 +60,7 @@ function(library, Localization, Control, coreLibrary, Device, HyphenationSupport
|
|
|
60
60
|
* @borrows sap.ui.core.ILabelable.hasLabelableHTMLElement as #hasLabelableHTMLElement
|
|
61
61
|
*
|
|
62
62
|
* @author SAP SE
|
|
63
|
-
* @version 1.
|
|
63
|
+
* @version 1.139.0
|
|
64
64
|
*
|
|
65
65
|
* @constructor
|
|
66
66
|
* @public
|
package/src/sap/m/TextArea.js
CHANGED
|
@@ -86,7 +86,7 @@ function(
|
|
|
86
86
|
* @extends sap.m.InputBase
|
|
87
87
|
*
|
|
88
88
|
* @author SAP SE
|
|
89
|
-
* @version 1.
|
|
89
|
+
* @version 1.139.0
|
|
90
90
|
*
|
|
91
91
|
* @constructor
|
|
92
92
|
* @public
|
|
@@ -449,7 +449,7 @@ function(
|
|
|
449
449
|
bShowExceededText = this.getShowExceededText(),
|
|
450
450
|
iMaxLength = this.getMaxLength();
|
|
451
451
|
|
|
452
|
-
if (!bShowExceededText && iMaxLength && sValue.length > iMaxLength) {
|
|
452
|
+
if (!bShowExceededText && !this._bIsComposingCharacter && iMaxLength && sValue.length > iMaxLength) {
|
|
453
453
|
sValue = sValue.substring(0, iMaxLength);
|
|
454
454
|
oTextAreaRef.value = sValue;
|
|
455
455
|
}
|
package/src/sap/m/Tile.js
CHANGED
package/src/sap/m/TileContent.js
CHANGED
package/src/sap/m/TileInfo.js
CHANGED
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @class This element is used within the GenericTile control that generates a combination of an icon and a text to create a TileInfo
|
|
18
18
|
* @extends sap.ui.core.Element
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.139.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @public
|
|
23
23
|
* @since 1.124
|
package/src/sap/m/TimePicker.js
CHANGED
package/src/sap/m/Title.js
CHANGED
|
@@ -51,7 +51,7 @@ sap.ui.define(["sap/ui/core/ControlBehavior"],
|
|
|
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.139.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
|
package/src/sap/m/Token.js
CHANGED
package/src/sap/m/Tokenizer.js
CHANGED
|
@@ -56,6 +56,8 @@ sap.ui.define([
|
|
|
56
56
|
"use strict";
|
|
57
57
|
|
|
58
58
|
var CSS_CLASS_NO_CONTENT_PADDING = "sapUiNoContentPadding";
|
|
59
|
+
var CSS_CLASS_TOKENIZER_POPUP = "sapMTokenizerTokensPopup";
|
|
60
|
+
|
|
59
61
|
var RenderMode = library.TokenizerRenderMode;
|
|
60
62
|
var PlacementType = library.PlacementType;
|
|
61
63
|
var ListMode = library.ListMode;
|
|
@@ -81,7 +83,7 @@ sap.ui.define([
|
|
|
81
83
|
*
|
|
82
84
|
* @extends sap.ui.core.Control
|
|
83
85
|
* @author SAP SE
|
|
84
|
-
* @version 1.
|
|
86
|
+
* @version 1.139.0
|
|
85
87
|
*
|
|
86
88
|
* @constructor
|
|
87
89
|
* @public
|
|
@@ -91,7 +93,6 @@ sap.ui.define([
|
|
|
91
93
|
*/
|
|
92
94
|
var Tokenizer = Control.extend("sap.m.Tokenizer", /** @lends sap.m.Tokenizer.prototype */ {
|
|
93
95
|
metadata : {
|
|
94
|
-
|
|
95
96
|
library : "sap.m",
|
|
96
97
|
properties : {
|
|
97
98
|
|
|
@@ -130,7 +131,12 @@ sap.ui.define([
|
|
|
130
131
|
/**
|
|
131
132
|
* Defines the count of hidden tokens if any. If this property is set to 0, the n-More indicator will not be shown.
|
|
132
133
|
*/
|
|
133
|
-
hiddenTokensCount: {type : "int", group : "Misc", defaultValue : 0,
|
|
134
|
+
hiddenTokensCount: {type : "int", group : "Misc", defaultValue : 0, visibility: "hidden"},
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* The ID of the opener of the tokens popup.
|
|
138
|
+
*/
|
|
139
|
+
opener: { type: "string", multiple: false, visibility: "hidden" }
|
|
134
140
|
|
|
135
141
|
},
|
|
136
142
|
defaultAggregation : "tokens",
|
|
@@ -359,7 +365,11 @@ sap.ui.define([
|
|
|
359
365
|
*/
|
|
360
366
|
Tokenizer.prototype._handleNMoreIndicatorPress = function () {
|
|
361
367
|
this._bIsOpenedByNMoreIndicator = true;
|
|
362
|
-
this._togglePopup(this.getTokensPopup());
|
|
368
|
+
this._togglePopup(this.getTokensPopup(), this._getEffectiveOpener());
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
Tokenizer.prototype._getEffectiveOpener = function() {
|
|
372
|
+
return document.getElementById(this.getProperty("opener")) || this.getDomRef();
|
|
363
373
|
};
|
|
364
374
|
|
|
365
375
|
/**
|
|
@@ -453,7 +463,7 @@ sap.ui.define([
|
|
|
453
463
|
/**
|
|
454
464
|
* Handles token press from the List.
|
|
455
465
|
*
|
|
456
|
-
* @param oEvent
|
|
466
|
+
* @param {sap.ui.base.Event} oEvent object
|
|
457
467
|
* @private
|
|
458
468
|
*/
|
|
459
469
|
Tokenizer.prototype._handleListItemPress = function (oEvent) {
|
|
@@ -468,12 +478,39 @@ sap.ui.define([
|
|
|
468
478
|
}
|
|
469
479
|
};
|
|
470
480
|
|
|
481
|
+
Tokenizer.prototype.focusFirstTokenItem = function () {
|
|
482
|
+
const oTokenList = this._getTokensList();
|
|
483
|
+
const aTokenListItems = oTokenList.getItems();
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
if (aTokenListItems.length) {
|
|
487
|
+
aTokenListItems[0].focus();
|
|
488
|
+
}
|
|
489
|
+
};
|
|
490
|
+
|
|
491
|
+
Tokenizer.prototype._handleTokenizerAfterOpen = function (oEvent) {
|
|
492
|
+
this.focusFirstTokenItem();
|
|
493
|
+
this.setRenderMode(RenderMode.Loose);
|
|
494
|
+
this.fireRenderModeChange({
|
|
495
|
+
renderMode: RenderMode.Loose
|
|
496
|
+
});
|
|
497
|
+
};
|
|
498
|
+
|
|
499
|
+
Tokenizer.prototype.addPopupClasses = function(oPopup) {
|
|
500
|
+
if (oPopup.hasStyleClass(CSS_CLASS_TOKENIZER_POPUP)) {
|
|
501
|
+
return;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
oPopup.addStyleClass(CSS_CLASS_TOKENIZER_POPUP);
|
|
505
|
+
oPopup.addStyleClass(CSS_CLASS_NO_CONTENT_PADDING);
|
|
506
|
+
};
|
|
507
|
+
|
|
471
508
|
/**
|
|
472
509
|
* Returns N-More Popover/Dialog.
|
|
473
510
|
*
|
|
474
511
|
* @private
|
|
475
512
|
* @ui5-restricted sap.m.MultiInput, sap.m.MultiComboBox
|
|
476
|
-
* @returns {sap.m.ResponsivePopover}
|
|
513
|
+
* @returns {sap.m.ResponsivePopover} The popover containing the tokens
|
|
477
514
|
*/
|
|
478
515
|
Tokenizer.prototype.getTokensPopup = function () {
|
|
479
516
|
var oTokenList = this._getTokensList();
|
|
@@ -544,20 +581,10 @@ sap.ui.define([
|
|
|
544
581
|
});
|
|
545
582
|
}, this)
|
|
546
583
|
.attachAfterClose(this.afterPopupClose, this)
|
|
547
|
-
.attachAfterOpen(
|
|
548
|
-
var aTokenListItems = oTokenList.getItems();
|
|
549
|
-
this.setRenderMode(RenderMode.Loose);
|
|
550
|
-
this.fireRenderModeChange({
|
|
551
|
-
renderMode: "Loose"
|
|
552
|
-
});
|
|
553
|
-
if (aTokenListItems.length) {
|
|
554
|
-
aTokenListItems[0].focus();
|
|
555
|
-
}
|
|
556
|
-
}, this);
|
|
584
|
+
.attachAfterOpen(this._handleTokenizerAfterOpen, this);
|
|
557
585
|
|
|
558
586
|
this.addDependent(this._oPopup);
|
|
559
|
-
this._oPopup
|
|
560
|
-
this._oPopup.addStyleClass("sapMTokenizerTokensPopup");
|
|
587
|
+
this.addPopupClasses(this._oPopup);
|
|
561
588
|
|
|
562
589
|
if (Device.system.phone) {
|
|
563
590
|
this._oPopup.setEndButton(new Button({
|
|
@@ -601,8 +628,9 @@ sap.ui.define([
|
|
|
601
628
|
* @private
|
|
602
629
|
* @ui5-restricted sap.m.MultiInput, sap.m.MultiComboBox
|
|
603
630
|
*/
|
|
604
|
-
Tokenizer.prototype._togglePopup = function (
|
|
605
|
-
var oOpenBy =
|
|
631
|
+
Tokenizer.prototype._togglePopup = function () {
|
|
632
|
+
var oOpenBy = this._getEffectiveOpener(),
|
|
633
|
+
oPopover = this.getTokensPopup(),
|
|
606
634
|
oPopoverIsOpen = oPopover.isOpen(),
|
|
607
635
|
bEditable = this.getEditable();
|
|
608
636
|
|
|
@@ -675,7 +703,7 @@ sap.ui.define([
|
|
|
675
703
|
Tokenizer.prototype._getPixelWidth = function () {
|
|
676
704
|
var sMaxWidth = this.getMaxWidth(),
|
|
677
705
|
iTokenizerWidth,
|
|
678
|
-
oDomRef = this.
|
|
706
|
+
oDomRef = this.getFocusDomRef(),
|
|
679
707
|
iPaddingLeft;
|
|
680
708
|
|
|
681
709
|
if (!oDomRef) {
|
|
@@ -806,7 +834,7 @@ sap.ui.define([
|
|
|
806
834
|
}
|
|
807
835
|
|
|
808
836
|
if (iHiddenTokensCount) {
|
|
809
|
-
|
|
837
|
+
let sLabelKey = "MULTIINPUT_SHOW_MORE_TOKENS";
|
|
810
838
|
|
|
811
839
|
if (iHiddenTokensCount === this._getVisibleTokens().length) {
|
|
812
840
|
if (iHiddenTokensCount === 1) {
|
|
@@ -884,7 +912,7 @@ sap.ui.define([
|
|
|
884
912
|
|
|
885
913
|
Tokenizer.prototype._registerResizeHandler = function(){
|
|
886
914
|
if (!this._sResizeHandlerId) {
|
|
887
|
-
this._sResizeHandlerId = ResizeHandler.register(this
|
|
915
|
+
this._sResizeHandlerId = ResizeHandler.register(this, this._handleResize.bind(this));
|
|
888
916
|
}
|
|
889
917
|
};
|
|
890
918
|
|
|
@@ -1060,12 +1088,14 @@ sap.ui.define([
|
|
|
1060
1088
|
return;
|
|
1061
1089
|
}
|
|
1062
1090
|
|
|
1063
|
-
if (sRenderMode === RenderMode.
|
|
1064
|
-
this._adjustTokensVisibility();
|
|
1065
|
-
} else {
|
|
1091
|
+
if (sRenderMode === RenderMode.Loose) {
|
|
1066
1092
|
this._setHiddenTokensCount(0);
|
|
1067
1093
|
this._showAllTokens();
|
|
1094
|
+
|
|
1095
|
+
return;
|
|
1068
1096
|
}
|
|
1097
|
+
|
|
1098
|
+
this._adjustTokensVisibility();
|
|
1069
1099
|
};
|
|
1070
1100
|
|
|
1071
1101
|
/**
|
|
@@ -1414,7 +1444,8 @@ sap.ui.define([
|
|
|
1414
1444
|
renderMode: "Loose"
|
|
1415
1445
|
});
|
|
1416
1446
|
|
|
1417
|
-
|
|
1447
|
+
const oFirstToken = this.getTokens()[0];
|
|
1448
|
+
this._bFocusFirstToken = oEvent.srcControl === oFirstToken;
|
|
1418
1449
|
|
|
1419
1450
|
if (!this._bFocusFirstToken && !this._bTokenToBeDeleted) {
|
|
1420
1451
|
this._ensureTokenVisible(oEvent.srcControl);
|
|
@@ -1639,7 +1670,9 @@ sap.ui.define([
|
|
|
1639
1670
|
* @protected
|
|
1640
1671
|
*/
|
|
1641
1672
|
Tokenizer.prototype.checkFocus = function() {
|
|
1642
|
-
var
|
|
1673
|
+
var oTokensPopup = this._oPopup && this._oPopup.getDomRef();
|
|
1674
|
+
var bIsFocusInPopover = containsOrEquals(oTokensPopup, document.activeElement);
|
|
1675
|
+
|
|
1643
1676
|
return (this.getDomRef() && containsOrEquals(this.getDomRef(), document.activeElement)) || bIsFocusInPopover;
|
|
1644
1677
|
};
|
|
1645
1678
|
|
|
@@ -23,12 +23,20 @@ sap.ui.define(['sap/ui/Device', 'sap/ui/core/InvisibleText'],
|
|
|
23
23
|
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the render output buffer
|
|
24
24
|
* @param {sap.m.Tokenizer} oControl an object representation of the control that should be rendered
|
|
25
25
|
*/
|
|
26
|
-
TokenizerRenderer.render = function(oRm, oControl){
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
oRm.openStart("div", oControl);
|
|
26
|
+
TokenizerRenderer.render = function(oRm, oControl) {
|
|
27
|
+
this.renderOpenTag(oRm, oControl);
|
|
28
|
+
this.renderInnerContent(oRm, oControl);
|
|
29
|
+
};
|
|
31
30
|
|
|
31
|
+
/**
|
|
32
|
+
* Renders the inner content of the Tokenizer control.
|
|
33
|
+
*
|
|
34
|
+
* @protected
|
|
35
|
+
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer.
|
|
36
|
+
* @param {sap.m.Tokenizer} oControl An object representation of the control that should be rendered.
|
|
37
|
+
*/
|
|
38
|
+
TokenizerRenderer.renderInnerContent = function(oRm, oControl) {
|
|
39
|
+
var aTokens = oControl.getTokens();
|
|
32
40
|
|
|
33
41
|
oRm.class("sapMTokenizer");
|
|
34
42
|
|
|
@@ -46,12 +54,7 @@ sap.ui.define(['sap/ui/Device', 'sap/ui/core/InvisibleText'],
|
|
|
46
54
|
oRm.attr("aria-hidden", "true");
|
|
47
55
|
}
|
|
48
56
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
var sPixelWdth = oControl.getWidth();
|
|
52
|
-
if (sPixelWdth) {
|
|
53
|
-
oRm.style("width", sPixelWdth);
|
|
54
|
-
}
|
|
57
|
+
this.addWidthStyles(oRm, oControl);
|
|
55
58
|
|
|
56
59
|
var oAccAttributes = {
|
|
57
60
|
role: "listbox"
|
|
@@ -62,10 +65,9 @@ sap.ui.define(['sap/ui/Device', 'sap/ui/core/InvisibleText'],
|
|
|
62
65
|
value: InvisibleText.getStaticId("sap.m", "TOKENIZER_ARIA_LABEL"),
|
|
63
66
|
append: true
|
|
64
67
|
};
|
|
65
|
-
// aria-readonly is not valid for the current role of the tokenizer.
|
|
66
68
|
|
|
69
|
+
// aria-readonly is not valid for the current role of the tokenizer.
|
|
67
70
|
oRm.accessibilityState(oControl, oAccAttributes);
|
|
68
|
-
|
|
69
71
|
oRm.openEnd(); // div element
|
|
70
72
|
oRm.renderControl(oControl.getAggregation("_tokensInfo"));
|
|
71
73
|
|
|
@@ -92,7 +94,6 @@ sap.ui.define(['sap/ui/Device', 'sap/ui/core/InvisibleText'],
|
|
|
92
94
|
}
|
|
93
95
|
|
|
94
96
|
oRm.openEnd();
|
|
95
|
-
|
|
96
97
|
this._renderTokens(oRm, oControl);
|
|
97
98
|
|
|
98
99
|
oRm.close("div");
|
|
@@ -100,6 +101,19 @@ sap.ui.define(['sap/ui/Device', 'sap/ui/core/InvisibleText'],
|
|
|
100
101
|
oRm.close("div");
|
|
101
102
|
};
|
|
102
103
|
|
|
104
|
+
TokenizerRenderer.renderOpenTag = function(oRm, oControl) {
|
|
105
|
+
oRm.openStart("div", oControl);
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
TokenizerRenderer.addWidthStyles = function(oRm, oControl) {
|
|
109
|
+
oRm.style("max-width", oControl.getMaxWidth());
|
|
110
|
+
|
|
111
|
+
var sPixelWdth = oControl.getWidth();
|
|
112
|
+
if (sPixelWdth) {
|
|
113
|
+
oRm.style("width", sPixelWdth);
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
|
|
103
117
|
/**
|
|
104
118
|
* renders the tokens
|
|
105
119
|
*
|