@openui5/sap.m 1.136.3 → 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 -29
- package/THIRDPARTY.txt +72 -90
- 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 +3 -2
- 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 +3 -3
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/BarInPageEnabler.js +5 -6
- 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 +4 -3
- 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/ColorPaletteRenderer.js +2 -1
- package/src/sap/m/Column.js +1 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +24 -10
- package/src/sap/m/ColumnListItemRenderer.js +10 -0
- package/src/sap/m/ColumnPopoverActionItem.js +1 -1
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
- package/src/sap/m/ColumnPopoverItem.js +1 -1
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +1 -1
- package/src/sap/m/ComboBoxBase.js +1 -1
- package/src/sap/m/ComboBoxBaseRenderer.js +1 -9
- 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 -21
- package/src/sap/m/DateRangeSelection.js +4 -3
- 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 +5 -1
- package/src/sap/m/DialogRenderer.js +14 -6
- 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 +11 -9
- package/src/sap/m/FeedListItemAction.js +5 -19
- 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 +27 -10
- package/src/sap/m/GroupHeaderListItem.js +6 -2
- 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 +9 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +58 -54
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +48 -10
- package/src/sap/m/Illustration.js +9 -2
- package/src/sap/m/IllustrationRenderer.js +14 -7
- 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/InputRenderer.js +1 -14
- 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 -27
- package/src/sap/m/LinkRenderer.js +4 -3
- package/src/sap/m/LinkTileContent.js +1 -1
- package/src/sap/m/List.js +2 -2
- package/src/sap/m/ListBase.js +43 -2
- package/src/sap/m/ListBaseRenderer.js +3 -1
- package/src/sap/m/ListItemAction.js +189 -0
- package/src/sap/m/ListItemActionBase.js +52 -0
- package/src/sap/m/ListItemBase.js +88 -17
- package/src/sap/m/ListItemBaseRenderer.js +34 -3
- 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 +422 -877
- package/src/sap/m/MenuButton.js +17 -78
- package/src/sap/m/MenuItem.js +459 -300
- package/src/sap/m/MenuItemGroup.js +9 -353
- package/src/sap/m/MenuItemRenderer.js +220 -0
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MenuWrapper.js +720 -0
- package/src/sap/m/MenuWrapperRenderer.js +143 -0
- package/src/sap/m/MessageBox.js +2 -2
- 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 +3 -2
- package/src/sap/m/MessageToast.js +8 -6
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +9 -8
- package/src/sap/m/MultiComboBoxRenderer.js +1 -9
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +18 -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 +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListItem.js +12 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericInput.js +3 -3
- 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 +5 -2
- 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 +3 -2
- 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 +2 -2
- package/src/sap/m/Page.js +6 -33
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PageRenderer.js +3 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +1 -1
- package/src/sap/m/PlanningCalendar.js +109 -234
- 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 +8 -1
- package/src/sap/m/PopoverRenderer.js +1 -1
- package/src/sap/m/ProgressIndicator.js +2 -4
- 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 +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 +14 -3
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +29 -2
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +17 -16
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +11 -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 +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 +6 -2
- 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 +6 -1
- package/src/sap/m/Suggest.js +3 -1
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +1 -2
- package/src/sap/m/Switch.js +19 -3
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +9 -3
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +21 -27
- package/src/sap/m/TablePersoController.js +1 -1
- package/src/sap/m/TablePersoDialog.js +1 -1
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +11 -3
- 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/TileRenderer.js +2 -2
- 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 +88 -28
- package/src/sap/m/TokenizerRenderer.js +29 -15
- 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/VariantManagement.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 +17 -3
- 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 +18 -2
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +9 -6
- 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/ListItemBase.designtime.js +5 -0
- package/src/sap/m/designtime/Page.designtime.js +13 -1
- package/src/sap/m/i18n/interaction.xml +2 -2
- package/src/sap/m/library.js +111 -8
- package/src/sap/m/library.support.js +3 -0
- package/src/sap/m/messagebundle.properties +58 -16
- package/src/sap/m/messagebundle_ar.properties +37 -9
- package/src/sap/m/messagebundle_bg.properties +37 -9
- package/src/sap/m/messagebundle_ca.properties +37 -9
- package/src/sap/m/messagebundle_cnr.properties +38 -10
- package/src/sap/m/messagebundle_cs.properties +38 -10
- package/src/sap/m/messagebundle_cy.properties +37 -9
- package/src/sap/m/messagebundle_da.properties +37 -9
- package/src/sap/m/messagebundle_de.properties +37 -9
- package/src/sap/m/messagebundle_el.properties +38 -10
- package/src/sap/m/messagebundle_en.properties +38 -10
- package/src/sap/m/messagebundle_en_GB.properties +38 -10
- package/src/sap/m/messagebundle_en_US_saprigi.properties +38 -10
- package/src/sap/m/messagebundle_es.properties +37 -9
- package/src/sap/m/messagebundle_es_MX.properties +38 -10
- package/src/sap/m/messagebundle_et.properties +37 -9
- package/src/sap/m/messagebundle_fi.properties +39 -11
- package/src/sap/m/messagebundle_fr.properties +37 -9
- package/src/sap/m/messagebundle_fr_CA.properties +37 -9
- package/src/sap/m/messagebundle_hi.properties +38 -10
- package/src/sap/m/messagebundle_hr.properties +38 -10
- package/src/sap/m/messagebundle_hu.properties +36 -8
- package/src/sap/m/messagebundle_id.properties +38 -10
- package/src/sap/m/messagebundle_it.properties +36 -8
- package/src/sap/m/messagebundle_iw.properties +37 -9
- package/src/sap/m/messagebundle_ja.properties +38 -10
- package/src/sap/m/messagebundle_kk.properties +38 -10
- package/src/sap/m/messagebundle_ko.properties +38 -10
- package/src/sap/m/messagebundle_lt.properties +38 -10
- package/src/sap/m/messagebundle_lv.properties +38 -10
- package/src/sap/m/messagebundle_mk.properties +37 -9
- package/src/sap/m/messagebundle_ms.properties +38 -10
- package/src/sap/m/messagebundle_nl.properties +37 -9
- package/src/sap/m/messagebundle_no.properties +38 -10
- package/src/sap/m/messagebundle_pl.properties +38 -10
- package/src/sap/m/messagebundle_pt.properties +37 -9
- package/src/sap/m/messagebundle_pt_PT.properties +37 -9
- package/src/sap/m/messagebundle_ro.properties +37 -9
- package/src/sap/m/messagebundle_ru.properties +38 -10
- package/src/sap/m/messagebundle_sh.properties +38 -10
- package/src/sap/m/messagebundle_sk.properties +39 -11
- package/src/sap/m/messagebundle_sl.properties +38 -10
- package/src/sap/m/messagebundle_sr.properties +38 -10
- package/src/sap/m/messagebundle_sv.properties +37 -9
- package/src/sap/m/messagebundle_th.properties +37 -9
- package/src/sap/m/messagebundle_tr.properties +37 -9
- package/src/sap/m/messagebundle_uk.properties +37 -9
- package/src/sap/m/messagebundle_vi.properties +38 -10
- package/src/sap/m/messagebundle_zh_CN.properties +37 -9
- package/src/sap/m/messagebundle_zh_TW.properties +38 -10
- 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 +3 -1
- package/src/sap/m/p13n/QueryPanel.js +10 -6
- package/src/sap/m/p13n/SelectionController.js +1 -1
- package/src/sap/m/p13n/SelectionPanel.js +32 -41
- 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 +3 -4
- 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 +9 -7
- package/src/sap/m/plugins/ColumnAIAction.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.js +28 -4
- 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 +121 -2
- package/src/sap/m/routing/Target.js +52 -8
- package/src/sap/m/routing/Targets.js +58 -11
- 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 +142 -0
- 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/Button.less +36 -13
- package/src/sap/m/themes/base/CheckBox.less +4 -6
- package/src/sap/m/themes/base/ColumnListItem.less +11 -0
- package/src/sap/m/themes/base/DynamicDateRange.less +6 -2
- 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/Illustration.less +4 -0
- package/src/sap/m/themes/base/Link.less +3 -0
- package/src/sap/m/themes/base/ListBase.less +1 -0
- package/src/sap/m/themes/base/ListItemBase.less +22 -10
- package/src/sap/m/themes/base/Menu.less +329 -12
- 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/Page.less +5 -4
- package/src/sap/m/themes/base/Panel.less +7 -2
- package/src/sap/m/themes/base/PlanningCalendar.less +37 -0
- package/src/sap/m/themes/base/RatingIndicator.less +7 -2
- package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +1 -0
- package/src/sap/m/themes/base/Table.less +42 -11
- package/src/sap/m/themes/base/Wizard.less +14 -43
- 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-BeforeSearch.svg +2 -2
- 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-NoEntries.svg +2 -2
- 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-SignOut.svg +10 -17
- 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 +1 -1
- 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/Uploader.js +2 -2
- package/src/sap/m/upload/UploaderHttpRequestMethod.js +2 -2
- package/src/sap/m/upload/UploaderTableItem.js +3 -3
- package/src/sap/m/routing/async/Target.js +0 -60
- package/src/sap/m/routing/async/Targets.js +0 -60
package/src/sap/m/Tokenizer.js
CHANGED
|
@@ -17,6 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
'sap/ui/core/Element',
|
|
18
18
|
"sap/ui/core/Lib",
|
|
19
19
|
'sap/ui/core/delegate/ScrollEnablement',
|
|
20
|
+
"sap/ui/base/ManagedObjectObserver",
|
|
20
21
|
'sap/ui/Device',
|
|
21
22
|
'sap/ui/core/InvisibleText',
|
|
22
23
|
'sap/ui/core/ResizeHandler',
|
|
@@ -41,6 +42,7 @@ sap.ui.define([
|
|
|
41
42
|
Element,
|
|
42
43
|
Library,
|
|
43
44
|
ScrollEnablement,
|
|
45
|
+
ManagedObjectObserver,
|
|
44
46
|
Device,
|
|
45
47
|
InvisibleText,
|
|
46
48
|
ResizeHandler,
|
|
@@ -54,6 +56,8 @@ sap.ui.define([
|
|
|
54
56
|
"use strict";
|
|
55
57
|
|
|
56
58
|
var CSS_CLASS_NO_CONTENT_PADDING = "sapUiNoContentPadding";
|
|
59
|
+
var CSS_CLASS_TOKENIZER_POPUP = "sapMTokenizerTokensPopup";
|
|
60
|
+
|
|
57
61
|
var RenderMode = library.TokenizerRenderMode;
|
|
58
62
|
var PlacementType = library.PlacementType;
|
|
59
63
|
var ListMode = library.ListMode;
|
|
@@ -79,7 +83,7 @@ sap.ui.define([
|
|
|
79
83
|
*
|
|
80
84
|
* @extends sap.ui.core.Control
|
|
81
85
|
* @author SAP SE
|
|
82
|
-
* @version 1.
|
|
86
|
+
* @version 1.139.0
|
|
83
87
|
*
|
|
84
88
|
* @constructor
|
|
85
89
|
* @public
|
|
@@ -89,7 +93,6 @@ sap.ui.define([
|
|
|
89
93
|
*/
|
|
90
94
|
var Tokenizer = Control.extend("sap.m.Tokenizer", /** @lends sap.m.Tokenizer.prototype */ {
|
|
91
95
|
metadata : {
|
|
92
|
-
|
|
93
96
|
library : "sap.m",
|
|
94
97
|
properties : {
|
|
95
98
|
|
|
@@ -128,7 +131,12 @@ sap.ui.define([
|
|
|
128
131
|
/**
|
|
129
132
|
* Defines the count of hidden tokens if any. If this property is set to 0, the n-More indicator will not be shown.
|
|
130
133
|
*/
|
|
131
|
-
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" }
|
|
132
140
|
|
|
133
141
|
},
|
|
134
142
|
defaultAggregation : "tokens",
|
|
@@ -322,6 +330,8 @@ sap.ui.define([
|
|
|
322
330
|
};
|
|
323
331
|
|
|
324
332
|
Theming.attachApplied(this._handleThemeApplied);
|
|
333
|
+
|
|
334
|
+
this._observeTokens();
|
|
325
335
|
};
|
|
326
336
|
|
|
327
337
|
/**
|
|
@@ -355,7 +365,11 @@ sap.ui.define([
|
|
|
355
365
|
*/
|
|
356
366
|
Tokenizer.prototype._handleNMoreIndicatorPress = function () {
|
|
357
367
|
this._bIsOpenedByNMoreIndicator = true;
|
|
358
|
-
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();
|
|
359
373
|
};
|
|
360
374
|
|
|
361
375
|
/**
|
|
@@ -449,7 +463,7 @@ sap.ui.define([
|
|
|
449
463
|
/**
|
|
450
464
|
* Handles token press from the List.
|
|
451
465
|
*
|
|
452
|
-
* @param oEvent
|
|
466
|
+
* @param {sap.ui.base.Event} oEvent object
|
|
453
467
|
* @private
|
|
454
468
|
*/
|
|
455
469
|
Tokenizer.prototype._handleListItemPress = function (oEvent) {
|
|
@@ -464,12 +478,39 @@ sap.ui.define([
|
|
|
464
478
|
}
|
|
465
479
|
};
|
|
466
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
|
+
|
|
467
508
|
/**
|
|
468
509
|
* Returns N-More Popover/Dialog.
|
|
469
510
|
*
|
|
470
511
|
* @private
|
|
471
512
|
* @ui5-restricted sap.m.MultiInput, sap.m.MultiComboBox
|
|
472
|
-
* @returns {sap.m.ResponsivePopover}
|
|
513
|
+
* @returns {sap.m.ResponsivePopover} The popover containing the tokens
|
|
473
514
|
*/
|
|
474
515
|
Tokenizer.prototype.getTokensPopup = function () {
|
|
475
516
|
var oTokenList = this._getTokensList();
|
|
@@ -540,20 +581,10 @@ sap.ui.define([
|
|
|
540
581
|
});
|
|
541
582
|
}, this)
|
|
542
583
|
.attachAfterClose(this.afterPopupClose, this)
|
|
543
|
-
.attachAfterOpen(
|
|
544
|
-
var aTokenListItems = oTokenList.getItems();
|
|
545
|
-
this.setRenderMode(RenderMode.Loose);
|
|
546
|
-
this.fireRenderModeChange({
|
|
547
|
-
renderMode: "Loose"
|
|
548
|
-
});
|
|
549
|
-
if (aTokenListItems.length) {
|
|
550
|
-
aTokenListItems[0].focus();
|
|
551
|
-
}
|
|
552
|
-
}, this);
|
|
584
|
+
.attachAfterOpen(this._handleTokenizerAfterOpen, this);
|
|
553
585
|
|
|
554
586
|
this.addDependent(this._oPopup);
|
|
555
|
-
this._oPopup
|
|
556
|
-
this._oPopup.addStyleClass("sapMTokenizerTokensPopup");
|
|
587
|
+
this.addPopupClasses(this._oPopup);
|
|
557
588
|
|
|
558
589
|
if (Device.system.phone) {
|
|
559
590
|
this._oPopup.setEndButton(new Button({
|
|
@@ -597,8 +628,9 @@ sap.ui.define([
|
|
|
597
628
|
* @private
|
|
598
629
|
* @ui5-restricted sap.m.MultiInput, sap.m.MultiComboBox
|
|
599
630
|
*/
|
|
600
|
-
Tokenizer.prototype._togglePopup = function (
|
|
601
|
-
var oOpenBy =
|
|
631
|
+
Tokenizer.prototype._togglePopup = function () {
|
|
632
|
+
var oOpenBy = this._getEffectiveOpener(),
|
|
633
|
+
oPopover = this.getTokensPopup(),
|
|
602
634
|
oPopoverIsOpen = oPopover.isOpen(),
|
|
603
635
|
bEditable = this.getEditable();
|
|
604
636
|
|
|
@@ -671,7 +703,7 @@ sap.ui.define([
|
|
|
671
703
|
Tokenizer.prototype._getPixelWidth = function () {
|
|
672
704
|
var sMaxWidth = this.getMaxWidth(),
|
|
673
705
|
iTokenizerWidth,
|
|
674
|
-
oDomRef = this.
|
|
706
|
+
oDomRef = this.getFocusDomRef(),
|
|
675
707
|
iPaddingLeft;
|
|
676
708
|
|
|
677
709
|
if (!oDomRef) {
|
|
@@ -802,7 +834,7 @@ sap.ui.define([
|
|
|
802
834
|
}
|
|
803
835
|
|
|
804
836
|
if (iHiddenTokensCount) {
|
|
805
|
-
|
|
837
|
+
let sLabelKey = "MULTIINPUT_SHOW_MORE_TOKENS";
|
|
806
838
|
|
|
807
839
|
if (iHiddenTokensCount === this._getVisibleTokens().length) {
|
|
808
840
|
if (iHiddenTokensCount === 1) {
|
|
@@ -880,7 +912,7 @@ sap.ui.define([
|
|
|
880
912
|
|
|
881
913
|
Tokenizer.prototype._registerResizeHandler = function(){
|
|
882
914
|
if (!this._sResizeHandlerId) {
|
|
883
|
-
this._sResizeHandlerId = ResizeHandler.register(this
|
|
915
|
+
this._sResizeHandlerId = ResizeHandler.register(this, this._handleResize.bind(this));
|
|
884
916
|
}
|
|
885
917
|
};
|
|
886
918
|
|
|
@@ -1056,12 +1088,14 @@ sap.ui.define([
|
|
|
1056
1088
|
return;
|
|
1057
1089
|
}
|
|
1058
1090
|
|
|
1059
|
-
if (sRenderMode === RenderMode.
|
|
1060
|
-
this._adjustTokensVisibility();
|
|
1061
|
-
} else {
|
|
1091
|
+
if (sRenderMode === RenderMode.Loose) {
|
|
1062
1092
|
this._setHiddenTokensCount(0);
|
|
1063
1093
|
this._showAllTokens();
|
|
1094
|
+
|
|
1095
|
+
return;
|
|
1064
1096
|
}
|
|
1097
|
+
|
|
1098
|
+
this._adjustTokensVisibility();
|
|
1065
1099
|
};
|
|
1066
1100
|
|
|
1067
1101
|
/**
|
|
@@ -1190,6 +1224,29 @@ sap.ui.define([
|
|
|
1190
1224
|
}
|
|
1191
1225
|
};
|
|
1192
1226
|
|
|
1227
|
+
Tokenizer.prototype._observeTokens = function () {
|
|
1228
|
+
var oTokensObserver = new ManagedObjectObserver(function(oChange) {
|
|
1229
|
+
var sMutation = oChange.mutation;
|
|
1230
|
+
var oItem = oChange.child;
|
|
1231
|
+
|
|
1232
|
+
switch (sMutation) {
|
|
1233
|
+
case "insert":
|
|
1234
|
+
// invalidate tokens to recalculate the sizes
|
|
1235
|
+
oItem.attachEvent("_change", this.invalidate, this);
|
|
1236
|
+
break;
|
|
1237
|
+
case "remove":
|
|
1238
|
+
oItem.detachEvent("_change", this.invalidate, this);
|
|
1239
|
+
break;
|
|
1240
|
+
default:
|
|
1241
|
+
break;
|
|
1242
|
+
}
|
|
1243
|
+
}.bind(this));
|
|
1244
|
+
|
|
1245
|
+
oTokensObserver.observe(this, {
|
|
1246
|
+
aggregations: ["tokens"]
|
|
1247
|
+
});
|
|
1248
|
+
};
|
|
1249
|
+
|
|
1193
1250
|
/**
|
|
1194
1251
|
* Pseudo event for pseudo 'next' event with modifiers (Ctrl, Alt or Shift).
|
|
1195
1252
|
*
|
|
@@ -1387,7 +1444,8 @@ sap.ui.define([
|
|
|
1387
1444
|
renderMode: "Loose"
|
|
1388
1445
|
});
|
|
1389
1446
|
|
|
1390
|
-
|
|
1447
|
+
const oFirstToken = this.getTokens()[0];
|
|
1448
|
+
this._bFocusFirstToken = oEvent.srcControl === oFirstToken;
|
|
1391
1449
|
|
|
1392
1450
|
if (!this._bFocusFirstToken && !this._bTokenToBeDeleted) {
|
|
1393
1451
|
this._ensureTokenVisible(oEvent.srcControl);
|
|
@@ -1612,7 +1670,9 @@ sap.ui.define([
|
|
|
1612
1670
|
* @protected
|
|
1613
1671
|
*/
|
|
1614
1672
|
Tokenizer.prototype.checkFocus = function() {
|
|
1615
|
-
var
|
|
1673
|
+
var oTokensPopup = this._oPopup && this._oPopup.getDomRef();
|
|
1674
|
+
var bIsFocusInPopover = containsOrEquals(oTokensPopup, document.activeElement);
|
|
1675
|
+
|
|
1616
1676
|
return (this.getDomRef() && containsOrEquals(this.getDomRef(), document.activeElement)) || bIsFocusInPopover;
|
|
1617
1677
|
};
|
|
1618
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
|
*
|
|
@@ -123,7 +137,7 @@ sap.ui.define(['sap/ui/Device', 'sap/ui/core/InvisibleText'],
|
|
|
123
137
|
* @param {sap.m.Tokenizer} oControl an object representation of the control that should be rendered
|
|
124
138
|
*/
|
|
125
139
|
TokenizerRenderer._renderIndicator = function(oRm, oControl){
|
|
126
|
-
var bExpanded =
|
|
140
|
+
var bExpanded = oControl._oPopup?.isOpen();
|
|
127
141
|
var sPopoverId = oControl._oPopup?.getDomRef() && oControl._oPopup?._oControl.getId();
|
|
128
142
|
|
|
129
143
|
oRm.openStart("span");
|
package/src/sap/m/Toolbar.js
CHANGED
|
@@ -80,7 +80,7 @@ function(
|
|
|
80
80
|
* @implements sap.ui.core.Toolbar,sap.m.IBar
|
|
81
81
|
*
|
|
82
82
|
* @author SAP SE
|
|
83
|
-
* @version 1.
|
|
83
|
+
* @version 1.139.0
|
|
84
84
|
*
|
|
85
85
|
* @constructor
|
|
86
86
|
* @public
|
|
@@ -411,7 +411,7 @@ function(
|
|
|
411
411
|
bIsFirst = this._isFirst(sDirection, iCurrentIndex),
|
|
412
412
|
bIsLast = this._isLast(sDirection, iCurrentIndex, aFocusableElements);
|
|
413
413
|
|
|
414
|
-
if (this._shouldAllowDefaultBehavior(oActiveElement, oEvent)) {
|
|
414
|
+
if (this._shouldAllowDefaultBehavior(oActiveDomElement, oActiveElement, oEvent)) {
|
|
415
415
|
return;
|
|
416
416
|
}
|
|
417
417
|
|
|
@@ -443,17 +443,23 @@ function(
|
|
|
443
443
|
return (iCurrentIndex === aFocusableElements.length - 1) && (sDirection === "forward" || sDirection === "down");
|
|
444
444
|
};
|
|
445
445
|
|
|
446
|
-
Toolbar.prototype._shouldAllowDefaultBehavior = function(oActiveElement, oEvent) {
|
|
446
|
+
Toolbar.prototype._shouldAllowDefaultBehavior = function(oActiveDomElement, oActiveElement, oEvent) {
|
|
447
447
|
if (!oActiveElement) {
|
|
448
448
|
return false;
|
|
449
449
|
}
|
|
450
|
-
var
|
|
451
|
-
|
|
450
|
+
var oClosestElement = Element.closestTo(oActiveDomElement),
|
|
451
|
+
fnHasType = function(vType) {
|
|
452
|
+
return [oActiveElement, oClosestElement].some(function(oElement) {
|
|
453
|
+
return oElement && oElement.isA(vType);
|
|
454
|
+
});
|
|
455
|
+
},
|
|
456
|
+
bIsSelectOrComboBox = fnHasType(["sap.m.Select", "sap.m.ComboBox"]),
|
|
452
457
|
bIsUpOrDownArrowKey = [KeyCodes.ARROW_UP, KeyCodes.ARROW_DOWN].includes(oEvent.keyCode),
|
|
453
|
-
bIsBreadcrumbs =
|
|
454
|
-
bIsSlider = ["sap.m.Slider", "sap.m.RangeSlider"]
|
|
458
|
+
bIsBreadcrumbs = fnHasType("sap.m.Breadcrumbs"),
|
|
459
|
+
bIsSlider = fnHasType(["sap.m.Slider", "sap.m.RangeSlider"]),
|
|
460
|
+
bIsTokenizer = fnHasType("sap.m.OverflowToolbarTokenizer");
|
|
455
461
|
|
|
456
|
-
if (bIsUpOrDownArrowKey &&
|
|
462
|
+
if (bIsUpOrDownArrowKey && bIsSelectOrComboBox || bIsBreadcrumbs || bIsSlider || bIsTokenizer) {
|
|
457
463
|
return true;
|
|
458
464
|
}
|
|
459
465
|
|
|
@@ -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.139.0
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
package/src/sap/m/Tree.js
CHANGED
package/src/sap/m/VBox.js
CHANGED
|
@@ -2372,7 +2372,7 @@ sap.ui.define([
|
|
|
2372
2372
|
path: "sharing",
|
|
2373
2373
|
model: sModelName,
|
|
2374
2374
|
formatter: function(sValue) {
|
|
2375
|
-
return this._oRb.getText(sValue === "
|
|
2375
|
+
return this._oRb.getText(sValue === "Private" ? "VARIANT_MANAGEMENT_PRIVATE" : "VARIANT_MANAGEMENT_PUBLIC");
|
|
2376
2376
|
}.bind(this)
|
|
2377
2377
|
},
|
|
2378
2378
|
textAlign: "Center"
|
|
@@ -38,7 +38,8 @@ sap.ui.define([
|
|
|
38
38
|
"sap/ui/core/library",
|
|
39
39
|
"sap/ui/thirdparty/jquery",
|
|
40
40
|
// jQuery Plugin "firstFocusableDomRef"
|
|
41
|
-
"sap/ui/dom/jquery/Focusable"
|
|
41
|
+
"sap/ui/dom/jquery/Focusable",
|
|
42
|
+
"sap/ui/core/InvisibleMessage"
|
|
42
43
|
],
|
|
43
44
|
function(
|
|
44
45
|
library,
|
|
@@ -71,7 +72,9 @@ function(
|
|
|
71
72
|
StaticArea,
|
|
72
73
|
Log,
|
|
73
74
|
coreLibrary,
|
|
74
|
-
jQuery
|
|
75
|
+
jQuery,
|
|
76
|
+
jQueryFocusable,
|
|
77
|
+
InvisibleMessage
|
|
75
78
|
) {
|
|
76
79
|
"use strict";
|
|
77
80
|
|
|
@@ -95,6 +98,8 @@ function(
|
|
|
95
98
|
|
|
96
99
|
var LIST_ITEM_SUFFIX = "-list-item";
|
|
97
100
|
|
|
101
|
+
var InvisibleMessageMode = coreLibrary.InvisibleMessageMode;
|
|
102
|
+
|
|
98
103
|
/**
|
|
99
104
|
* Constructor for a new <code>ViewSettingsDialog</code>.
|
|
100
105
|
*
|
|
@@ -155,7 +160,7 @@ function(
|
|
|
155
160
|
* @extends sap.ui.core.Control
|
|
156
161
|
*
|
|
157
162
|
* @author SAP SE
|
|
158
|
-
* @version 1.
|
|
163
|
+
* @version 1.139.0
|
|
159
164
|
*
|
|
160
165
|
* @constructor
|
|
161
166
|
* @public
|
|
@@ -380,6 +385,7 @@ function(
|
|
|
380
385
|
this._sFilterDetailTitleLabelId = sId + "-detailtitle";
|
|
381
386
|
this._oFiltersSelectedOnly = {};
|
|
382
387
|
this._oKeylessFilters = {};
|
|
388
|
+
this._oInvisibleMessage = null;
|
|
383
389
|
|
|
384
390
|
/* setup a name map between the sortItems
|
|
385
391
|
aggregation and an sap.m.List with items
|
|
@@ -437,6 +443,7 @@ function(
|
|
|
437
443
|
this._sCustomTabsButtonsIdPrefix = null;
|
|
438
444
|
this._fnFilterSearchCallback = null;
|
|
439
445
|
this._oKeylessFilters = null;
|
|
446
|
+
this._oInvisibleMessage = null;
|
|
440
447
|
|
|
441
448
|
// sap.ui.core.Popup removes its content on close()/destroy() automatically from the static UIArea,
|
|
442
449
|
// but only if it added it there itself. As we did that, we have to remove it also on our own
|
|
@@ -1390,6 +1397,10 @@ function(
|
|
|
1390
1397
|
// open dialog
|
|
1391
1398
|
this._getDialog().open();
|
|
1392
1399
|
|
|
1400
|
+
if (!this._oInvisibleMessage) {
|
|
1401
|
+
this._oInvisibleMessage = InvisibleMessage.getInstance();
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1393
1404
|
return this;
|
|
1394
1405
|
};
|
|
1395
1406
|
|
|
@@ -1851,6 +1862,9 @@ function(
|
|
|
1851
1862
|
|
|
1852
1863
|
// fire the reset event. It can be used to set the state of custom tabs.
|
|
1853
1864
|
this.fireReset();
|
|
1865
|
+
|
|
1866
|
+
//Announce to the screen reader that filters are reset
|
|
1867
|
+
this._oInvisibleMessage.announce(this._rb.getText("VIEWSETTINGS_RESET_BUTTON_ACTION"), InvisibleMessageMode.Assertive);
|
|
1854
1868
|
};
|
|
1855
1869
|
|
|
1856
1870
|
/**
|
package/src/sap/m/VisibleItem.js
CHANGED
package/src/sap/m/WheelSlider.js
CHANGED