@openui5/sap.m 1.106.0 → 1.107.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/package.json +4 -4
- package/src/sap/m/.library +4 -1
- package/src/sap/m/AccButton.js +4 -3
- package/src/sap/m/ActionListItem.js +14 -11
- package/src/sap/m/ActionSelect.js +14 -11
- package/src/sap/m/ActionSheet.js +103 -101
- package/src/sap/m/ActionSheetRenderer.js +3 -3
- package/src/sap/m/ActionTile.js +90 -0
- package/src/sap/m/ActionTileContent.js +71 -0
- package/src/sap/m/ActionTileContentRenderer.js +108 -0
- package/src/sap/m/App.js +107 -104
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +4 -3
- package/src/sap/m/AvatarColor.js +0 -1
- package/src/sap/m/AvatarImageFitType.js +0 -1
- package/src/sap/m/AvatarShape.js +0 -1
- package/src/sap/m/AvatarSize.js +0 -1
- package/src/sap/m/AvatarType.js +0 -1
- package/src/sap/m/Bar.js +103 -89
- package/src/sap/m/BarRenderer.js +3 -3
- package/src/sap/m/Breadcrumbs.js +4 -3
- package/src/sap/m/BusyDialog.js +1 -2
- package/src/sap/m/BusyIndicator.js +76 -73
- package/src/sap/m/Button.js +123 -120
- package/src/sap/m/Carousel.js +148 -147
- package/src/sap/m/CarouselLayout.js +1 -2
- package/src/sap/m/CheckBox.js +178 -175
- package/src/sap/m/CheckBoxRenderer.js +3 -3
- package/src/sap/m/ColorPalette.js +4 -3
- package/src/sap/m/ColorPalettePopover.js +24 -21
- package/src/sap/m/Column.js +1 -2
- package/src/sap/m/ColumnHeaderPopover.js +1 -2
- package/src/sap/m/ColumnListItem.js +39 -50
- package/src/sap/m/ColumnListItemRenderer.js +0 -3
- package/src/sap/m/ColumnPopoverActionItem.js +1 -2
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -2
- package/src/sap/m/ColumnPopoverItem.js +1 -2
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -2
- package/src/sap/m/ComboBox.js +4 -3
- package/src/sap/m/ComboBoxBase.js +1 -2
- package/src/sap/m/ComboBoxTextField.js +4 -3
- package/src/sap/m/CustomAttribute.js +53 -0
- package/src/sap/m/CustomDynamicDateOption.js +1 -2
- package/src/sap/m/CustomListItem.js +24 -21
- package/src/sap/m/CustomTile.js +19 -16
- package/src/sap/m/CustomTreeItem.js +4 -3
- package/src/sap/m/DatePicker.js +146 -141
- package/src/sap/m/DateRangeSelection.js +45 -40
- package/src/sap/m/DateTimeField.js +11 -8
- package/src/sap/m/DateTimeInput.js +147 -142
- package/src/sap/m/DateTimePicker.js +78 -72
- package/src/sap/m/Dialog.js +4 -6
- package/src/sap/m/DisplayListItem.js +23 -20
- package/src/sap/m/DraftIndicator.js +4 -3
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateFormat.js +4 -3
- package/src/sap/m/DynamicDateOption.js +1 -2
- package/src/sap/m/DynamicDateRange.js +11 -10
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -2
- package/src/sap/m/ExpandableText.js +4 -3
- package/src/sap/m/FacetFilter.js +112 -110
- package/src/sap/m/FacetFilterItem.js +27 -24
- package/src/sap/m/FacetFilterList.js +129 -130
- package/src/sap/m/FeedContent.js +4 -3
- package/src/sap/m/FeedInput.js +136 -133
- package/src/sap/m/FeedListItem.js +9 -6
- package/src/sap/m/FeedListItemAction.js +1 -2
- package/src/sap/m/FeedListItemRenderer.js +3 -3
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +96 -93
- package/src/sap/m/FlexItemData.js +1 -2
- package/src/sap/m/FormattedText.js +12 -5
- package/src/sap/m/GenericTag.js +5 -4
- package/src/sap/m/GenericTile.js +7 -6
- package/src/sap/m/GenericTileLineModeRenderer.js +3 -3
- package/src/sap/m/GenericTileRenderer.js +29 -4
- package/src/sap/m/GroupHeaderListItem.js +35 -32
- package/src/sap/m/GrowingList.js +35 -32
- package/src/sap/m/HBox.js +9 -6
- package/src/sap/m/HeaderContainer.js +13 -14
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +232 -229
- package/src/sap/m/IconTabBarDragAndDropUtil.js +5 -4
- package/src/sap/m/IconTabBarSelectList.js +28 -25
- package/src/sap/m/IconTabFilter.js +1 -2
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -2
- package/src/sap/m/IconTabHeader.js +151 -148
- package/src/sap/m/IconTabSeparator.js +1 -2
- package/src/sap/m/IllustratedMessage.js +4 -3
- package/src/sap/m/IllustratedMessageSize.js +0 -1
- package/src/sap/m/IllustratedMessageType.js +0 -1
- package/src/sap/m/Illustration.js +4 -3
- package/src/sap/m/Image.js +199 -196
- package/src/sap/m/ImageContent.js +4 -3
- package/src/sap/m/Input.js +375 -369
- package/src/sap/m/InputBase.js +143 -140
- package/src/sap/m/InputBaseRenderer.js +3 -3
- package/src/sap/m/InputListItem.js +26 -23
- package/src/sap/m/InputRenderer.js +4 -4
- package/src/sap/m/Label.js +110 -106
- package/src/sap/m/LightBox.js +4 -5
- package/src/sap/m/LightBoxItem.js +1 -2
- package/src/sap/m/Link.js +182 -179
- package/src/sap/m/LinkRenderer.js +5 -1
- package/src/sap/m/List.js +15 -12
- package/src/sap/m/ListBase.js +447 -454
- package/src/sap/m/ListItemBase.js +115 -106
- package/src/sap/m/ListItemBaseRenderer.js +1 -1
- package/src/sap/m/MaskEnabler.js +5 -5
- package/src/sap/m/MaskInput.js +4 -3
- package/src/sap/m/MaskInputRule.js +1 -2
- package/src/sap/m/Menu.js +1 -2
- package/src/sap/m/MenuButton.js +142 -135
- package/src/sap/m/MenuItem.js +1 -2
- package/src/sap/m/MenuListItem.js +49 -46
- package/src/sap/m/MessageItem.js +1 -2
- package/src/sap/m/MessageListItem.js +4 -3
- package/src/sap/m/MessagePage.js +124 -121
- package/src/sap/m/MessagePopover.js +6 -6
- package/src/sap/m/MessagePopoverItem.js +1 -2
- package/src/sap/m/MessageStrip.js +4 -3
- package/src/sap/m/MessageToast.js +6 -5
- package/src/sap/m/MessageView.js +6 -5
- package/src/sap/m/MultiComboBox.js +84 -87
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +4 -3
- package/src/sap/m/NavContainer.js +6 -15
- package/src/sap/m/NewsContent.js +4 -3
- package/src/sap/m/NotificationList.js +4 -3
- package/src/sap/m/NotificationListBase.js +5 -7
- package/src/sap/m/NotificationListGroup.js +4 -3
- package/src/sap/m/NotificationListItem.js +4 -12
- package/src/sap/m/NumericContent.js +8 -6
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/NumericInputRenderer.js +3 -3
- package/src/sap/m/ObjectAttribute.js +77 -74
- package/src/sap/m/ObjectAttributeRenderer.js +3 -3
- package/src/sap/m/ObjectHeader.js +385 -380
- package/src/sap/m/ObjectHeaderRenderer.js +4 -3
- package/src/sap/m/ObjectIdentifier.js +106 -101
- package/src/sap/m/ObjectListItem.js +150 -145
- package/src/sap/m/ObjectMarker.js +4 -3
- package/src/sap/m/ObjectNumber.js +90 -87
- package/src/sap/m/ObjectStatus.js +84 -81
- package/src/sap/m/OverflowToolbar.js +4 -3
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -2
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -2
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -2
- package/src/sap/m/P13nAnyFilterItem.js +1 -2
- package/src/sap/m/P13nColumnsItem.js +1 -2
- package/src/sap/m/P13nColumnsPanel.js +4 -5
- package/src/sap/m/P13nConditionPanel.js +1 -2
- package/src/sap/m/P13nDialog.js +1 -2
- package/src/sap/m/P13nDimMeasureItem.js +1 -2
- package/src/sap/m/P13nDimMeasurePanel.js +6 -5
- package/src/sap/m/P13nFilterItem.js +1 -2
- package/src/sap/m/P13nFilterPanel.js +1 -2
- package/src/sap/m/P13nGroupItem.js +1 -2
- package/src/sap/m/P13nGroupPanel.js +1 -2
- package/src/sap/m/P13nItem.js +1 -2
- package/src/sap/m/P13nPanel.js +1 -2
- package/src/sap/m/P13nSelectionItem.js +1 -2
- package/src/sap/m/P13nSelectionPanel.js +1 -2
- package/src/sap/m/P13nSortItem.js +1 -2
- package/src/sap/m/P13nSortPanel.js +1 -2
- package/src/sap/m/PDFViewer.js +8 -5
- package/src/sap/m/Page.js +9 -7
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -2
- package/src/sap/m/PagingButton.js +4 -4
- package/src/sap/m/Panel.js +117 -113
- package/src/sap/m/PlanningCalendar.js +6 -7
- package/src/sap/m/PlanningCalendarHeader.js +135 -129
- package/src/sap/m/PlanningCalendarLegend.js +26 -23
- package/src/sap/m/PlanningCalendarRow.js +1 -2
- package/src/sap/m/PlanningCalendarView.js +1 -2
- package/src/sap/m/Popover.js +15 -16
- package/src/sap/m/PopoverRenderer.js +5 -4
- package/src/sap/m/ProgressIndicator.js +85 -82
- package/src/sap/m/ProgressIndicatorRenderer.js +1 -1
- package/src/sap/m/PullToRefresh.js +37 -35
- package/src/sap/m/QuickView.js +1 -2
- package/src/sap/m/QuickViewBase.js +1 -2
- package/src/sap/m/QuickViewCard.js +4 -3
- package/src/sap/m/QuickViewGroup.js +1 -2
- package/src/sap/m/QuickViewGroupElement.js +1 -2
- package/src/sap/m/QuickViewPage.js +1 -2
- package/src/sap/m/RadioButton.js +117 -114
- package/src/sap/m/RadioButtonGroup.js +90 -88
- package/src/sap/m/RangeSlider.js +9 -6
- package/src/sap/m/RangeSliderRenderer.js +2 -2
- package/src/sap/m/RatingIndicator.js +104 -100
- package/src/sap/m/RatingIndicatorRenderer.js +3 -5
- package/src/sap/m/ResponsivePopover.js +209 -209
- package/src/sap/m/ResponsiveScale.js +1 -2
- package/src/sap/m/ScrollBar.js +31 -28
- package/src/sap/m/ScrollContainer.js +9 -7
- package/src/sap/m/SearchField.js +185 -182
- package/src/sap/m/SegmentedButton.js +120 -118
- package/src/sap/m/SegmentedButtonItem.js +1 -2
- package/src/sap/m/Select.js +22 -9
- package/src/sap/m/SelectDialog.js +22 -17
- package/src/sap/m/SelectDialogBase.js +1 -2
- package/src/sap/m/SelectList.js +4 -3
- package/src/sap/m/SelectionDetails.js +97 -92
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -2
- package/src/sap/m/SelectionDetailsItemLine.js +1 -2
- package/src/sap/m/Shell.js +111 -107
- package/src/sap/m/SimpleFixFlex.js +5 -5
- package/src/sap/m/SinglePlanningCalendar.js +342 -338
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +25 -10
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +8 -7
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +16 -7
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +5 -4
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +5 -4
- package/src/sap/m/SlideTile.js +10 -7
- package/src/sap/m/Slider.js +180 -175
- package/src/sap/m/SliderRenderer.js +4 -4
- package/src/sap/m/SliderTooltip.js +5 -5
- package/src/sap/m/SliderTooltipBase.js +4 -3
- package/src/sap/m/SliderTooltipContainer.js +10 -6
- package/src/sap/m/SplitApp.js +52 -49
- package/src/sap/m/SplitButton.js +103 -96
- package/src/sap/m/SplitContainer.js +405 -420
- package/src/sap/m/StandardDynamicDateOption.js +1 -2
- package/src/sap/m/StandardListItem.js +116 -113
- package/src/sap/m/StandardTile.js +64 -61
- package/src/sap/m/StandardTreeItem.js +20 -17
- package/src/sap/m/StepInput.js +4 -3
- package/src/sap/m/SuggestionItem.js +1 -2
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +79 -74
- package/src/sap/m/SwitchRenderer.js +3 -3
- package/src/sap/m/TabContainer.js +4 -3
- package/src/sap/m/TabContainerItem.js +1 -2
- package/src/sap/m/TabStrip.js +13 -11
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +177 -174
- package/src/sap/m/TablePersoController.js +6 -5
- package/src/sap/m/TablePersoDialog.js +6 -4
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +1 -1
- package/src/sap/m/TableSelectDialog.js +1 -3
- package/src/sap/m/Text.js +4 -3
- package/src/sap/m/TextArea.js +87 -84
- package/src/sap/m/Tile.js +20 -17
- package/src/sap/m/TileContainer.js +73 -73
- package/src/sap/m/TileContent.js +57 -6
- package/src/sap/m/TimePicker.js +15 -10
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClocks.js +4 -2
- package/src/sap/m/TimePickerInputs.js +4 -2
- package/src/sap/m/TimePickerInternals.js +11 -7
- package/src/sap/m/TimePickerSlider.js +5 -4
- package/src/sap/m/TimePickerSliders.js +11 -7
- package/src/sap/m/TimePickerSlidersRenderer.js +2 -2
- package/src/sap/m/Title.js +109 -106
- package/src/sap/m/TitlePropagationSupport.js +4 -4
- package/src/sap/m/ToDoCardRenderer.js +161 -0
- package/src/sap/m/ToggleButton.js +29 -26
- package/src/sap/m/Token.js +97 -94
- package/src/sap/m/Tokenizer.js +153 -150
- package/src/sap/m/Toolbar.js +104 -101
- package/src/sap/m/ToolbarLayoutData.js +1 -2
- package/src/sap/m/ToolbarSeparator.js +11 -8
- package/src/sap/m/ToolbarSpacer.js +16 -13
- package/src/sap/m/Tree.js +32 -29
- package/src/sap/m/TreeItemBase.js +8 -5
- package/src/sap/m/TreeItemBaseRenderer.js +3 -3
- package/src/sap/m/UploadCollection.js +8 -5
- package/src/sap/m/UploadCollectionItem.js +1 -2
- package/src/sap/m/UploadCollectionParameter.js +1 -2
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -2
- package/src/sap/m/VBox.js +9 -6
- package/src/sap/m/ValueStateHeader.js +1 -2
- package/src/sap/m/VariantItem.js +6 -1
- package/src/sap/m/VariantManagement.js +28 -8
- package/src/sap/m/ViewSettingsCustomItem.js +1 -2
- package/src/sap/m/ViewSettingsCustomTab.js +1 -2
- package/src/sap/m/ViewSettingsDialog.js +189 -188
- package/src/sap/m/ViewSettingsFilterItem.js +1 -2
- package/src/sap/m/ViewSettingsItem.js +1 -2
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +5 -4
- package/src/sap/m/WheelSliderContainer.js +4 -2
- package/src/sap/m/WheelSliderContainerRenderer.js +2 -2
- package/src/sap/m/Wizard.js +4 -3
- package/src/sap/m/WizardProgressNavigator.js +52 -49
- package/src/sap/m/WizardStep.js +4 -3
- 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 +4 -3
- 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/library.js +10 -115
- package/src/sap/m/messagebundle.properties +18 -12
- package/src/sap/m/messagebundle_ar.properties +6 -4
- package/src/sap/m/messagebundle_bg.properties +5 -3
- package/src/sap/m/messagebundle_ca.properties +8 -6
- package/src/sap/m/messagebundle_cs.properties +16 -14
- package/src/sap/m/messagebundle_cy.properties +5 -3
- package/src/sap/m/messagebundle_da.properties +5 -3
- package/src/sap/m/messagebundle_de.properties +14 -12
- package/src/sap/m/messagebundle_el.properties +5 -3
- package/src/sap/m/messagebundle_en.properties +5 -3
- package/src/sap/m/messagebundle_en_GB.properties +5 -3
- package/src/sap/m/messagebundle_en_US_sappsd.properties +5 -1
- package/src/sap/m/messagebundle_en_US_saprigi.properties +9 -7
- package/src/sap/m/messagebundle_en_US_saptrc.properties +2 -0
- package/src/sap/m/messagebundle_es.properties +5 -3
- package/src/sap/m/messagebundle_es_MX.properties +5 -3
- package/src/sap/m/messagebundle_et.properties +5 -3
- package/src/sap/m/messagebundle_fi.properties +5 -3
- package/src/sap/m/messagebundle_fr.properties +6 -4
- package/src/sap/m/messagebundle_fr_CA.properties +6 -4
- package/src/sap/m/messagebundle_hi.properties +5 -3
- package/src/sap/m/messagebundle_hr.properties +5 -3
- package/src/sap/m/messagebundle_hu.properties +5 -3
- package/src/sap/m/messagebundle_id.properties +5 -3
- package/src/sap/m/messagebundle_it.properties +5 -3
- package/src/sap/m/messagebundle_iw.properties +5 -3
- package/src/sap/m/messagebundle_ja.properties +5 -3
- package/src/sap/m/messagebundle_kk.properties +5 -3
- package/src/sap/m/messagebundle_ko.properties +5 -3
- package/src/sap/m/messagebundle_lt.properties +6 -4
- package/src/sap/m/messagebundle_lv.properties +5 -3
- package/src/sap/m/messagebundle_ms.properties +5 -3
- package/src/sap/m/messagebundle_nl.properties +5 -3
- package/src/sap/m/messagebundle_no.properties +5 -3
- package/src/sap/m/messagebundle_pl.properties +5 -3
- package/src/sap/m/messagebundle_pt.properties +5 -3
- package/src/sap/m/messagebundle_pt_PT.properties +5 -3
- package/src/sap/m/messagebundle_ro.properties +5 -3
- package/src/sap/m/messagebundle_ru.properties +5 -3
- package/src/sap/m/messagebundle_sh.properties +5 -3
- package/src/sap/m/messagebundle_sk.properties +5 -3
- package/src/sap/m/messagebundle_sl.properties +5 -3
- package/src/sap/m/messagebundle_sv.properties +5 -3
- package/src/sap/m/messagebundle_th.properties +5 -3
- package/src/sap/m/messagebundle_tr.properties +5 -3
- package/src/sap/m/messagebundle_uk.properties +5 -3
- package/src/sap/m/messagebundle_vi.properties +5 -3
- package/src/sap/m/messagebundle_zh_CN.properties +5 -3
- package/src/sap/m/messagebundle_zh_TW.properties +5 -3
- 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 +5 -1
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +84 -79
- package/src/sap/m/p13n/GroupController.js +3 -4
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/MetadataHelper.js +8 -0
- 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 +8 -7
- package/src/sap/m/p13n/SelectionPanel.js +29 -13
- package/src/sap/m/p13n/SortController.js +3 -4
- package/src/sap/m/p13n/SortPanel.js +1 -1
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/ModificationHandler.js +11 -0
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +1 -1
- package/src/sap/m/plugins/CellSelector.js +459 -76
- package/src/sap/m/plugins/ColumnResizer.js +1 -2
- package/src/sap/m/plugins/DataStateIndicator.js +1 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -2
- package/src/sap/m/plugins/PluginBase.js +1 -2
- package/src/sap/m/semantic/AddAction.js +1 -2
- package/src/sap/m/semantic/CancelAction.js +1 -2
- package/src/sap/m/semantic/DeleteAction.js +1 -2
- package/src/sap/m/semantic/DetailPage.js +1 -2
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -2
- package/src/sap/m/semantic/EditAction.js +1 -2
- package/src/sap/m/semantic/FavoriteAction.js +1 -2
- package/src/sap/m/semantic/FilterAction.js +1 -2
- package/src/sap/m/semantic/FilterSelect.js +1 -2
- package/src/sap/m/semantic/FlagAction.js +1 -2
- package/src/sap/m/semantic/ForwardAction.js +1 -2
- package/src/sap/m/semantic/FullscreenPage.js +1 -2
- package/src/sap/m/semantic/GroupAction.js +1 -2
- package/src/sap/m/semantic/GroupSelect.js +1 -2
- package/src/sap/m/semantic/MainAction.js +1 -2
- package/src/sap/m/semantic/MasterPage.js +1 -2
- package/src/sap/m/semantic/MessagesIndicator.js +1 -2
- package/src/sap/m/semantic/MultiSelectAction.js +1 -2
- package/src/sap/m/semantic/NegativeAction.js +1 -2
- package/src/sap/m/semantic/OpenInAction.js +1 -2
- package/src/sap/m/semantic/PositiveAction.js +1 -2
- package/src/sap/m/semantic/PrintAction.js +1 -2
- package/src/sap/m/semantic/SaveAction.js +1 -2
- package/src/sap/m/semantic/Segment.js +1 -2
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -2
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -2
- package/src/sap/m/semantic/SemanticControl.js +1 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -2
- package/src/sap/m/semantic/SemanticPage.js +4 -3
- package/src/sap/m/semantic/SemanticSelect.js +1 -2
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -2
- package/src/sap/m/semantic/SendEmailAction.js +1 -2
- package/src/sap/m/semantic/SendMessageAction.js +1 -2
- package/src/sap/m/semantic/ShareInJamAction.js +1 -2
- package/src/sap/m/semantic/ShareMenu.js +1 -2
- package/src/sap/m/semantic/ShareMenuPage.js +1 -2
- package/src/sap/m/semantic/SortAction.js +1 -2
- package/src/sap/m/semantic/SortSelect.js +1 -2
- 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 +2 -2
- package/src/sap/m/table/columnmenu/ItemContainer.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +20 -9
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +2 -2
- package/src/sap/m/table/columnmenu/QuickActionContainer.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +6 -4
- package/src/sap/m/table/columnmenu/QuickSortItem.js +4 -8
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/ActionTile.less +239 -0
- package/src/sap/m/themes/base/Bar.less +6 -0
- package/src/sap/m/themes/base/CellSelector.less +109 -2
- package/src/sap/m/themes/base/IconTabBar.less +2 -0
- package/src/sap/m/themes/base/Link.less +4 -0
- package/src/sap/m/themes/base/Page.less +2 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/UploadSet.js +104 -10
- package/src/sap/m/upload/UploadSetItem.js +1 -2
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/Uploader.js +0 -1
- package/src/sap/m/upload/UploaderHttpRequestMethod.js +0 -1
|
@@ -32,40 +32,43 @@ sap.ui.define([
|
|
|
32
32
|
* @extends sap.m.Button
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.107.0
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @public
|
|
39
39
|
* @alias sap.m.ToggleButton
|
|
40
40
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/button/ Toggle Button}
|
|
41
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
42
41
|
*/
|
|
43
|
-
var ToggleButton = Button.extend("sap.m.ToggleButton", /** @lends sap.m.ToggleButton.prototype */ {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
42
|
+
var ToggleButton = Button.extend("sap.m.ToggleButton", /** @lends sap.m.ToggleButton.prototype */ {
|
|
43
|
+
metadata : {
|
|
44
|
+
|
|
45
|
+
library : "sap.m",
|
|
46
|
+
designtime: "sap/m/designtime/ToggleButton.designtime",
|
|
47
|
+
properties : {
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* The property is “true” when the control is toggled. The default state of this property is "false".
|
|
51
|
+
*/
|
|
52
|
+
pressed : {type : "boolean", group : "Data", defaultValue : false}
|
|
53
|
+
},
|
|
54
|
+
events: {
|
|
55
|
+
/**
|
|
56
|
+
* Fired when the user clicks or taps on the control.
|
|
57
|
+
*/
|
|
58
|
+
press: {
|
|
59
|
+
parameters: {
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* The current pressed state of the control.
|
|
63
|
+
*/
|
|
64
|
+
pressed: { type: "boolean" }
|
|
65
|
+
}
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
|
-
}
|
|
68
|
-
|
|
68
|
+
},
|
|
69
|
+
|
|
70
|
+
renderer: ToggleButtonRenderer
|
|
71
|
+
});
|
|
69
72
|
|
|
70
73
|
EnabledPropagator.call(ToggleButton.prototype);
|
|
71
74
|
|
package/src/sap/m/Token.js
CHANGED
|
@@ -50,111 +50,114 @@ sap.ui.define([
|
|
|
50
50
|
*
|
|
51
51
|
* @extends sap.ui.core.Control
|
|
52
52
|
* @author SAP SE
|
|
53
|
-
* @version 1.
|
|
53
|
+
* @version 1.107.0
|
|
54
54
|
*
|
|
55
55
|
* @constructor
|
|
56
56
|
* @public
|
|
57
57
|
* @alias sap.m.Token
|
|
58
58
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/token/ Token}
|
|
59
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
60
59
|
*/
|
|
61
|
-
var Token = Control.extend("sap.m.Token", /** @lends sap.m.Token.prototype */ {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* The delete icon.
|
|
118
|
-
*/
|
|
119
|
-
deleteIcon : {type : "sap.ui.core.Icon", multiple : false, visibility : "hidden"}
|
|
120
|
-
},
|
|
121
|
-
associations : {
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* Association to controls / IDs which describe this control (see WAI-ARIA attribute aria-describedby).
|
|
125
|
-
*/
|
|
126
|
-
ariaDescribedBy: {type: "sap.ui.core.Control", multiple: true, singularName: "ariaDescribedBy"},
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Association to controls / IDs which label this control (see WAI-ARIA attribute aria-labelledby).
|
|
130
|
-
*/
|
|
131
|
-
ariaLabelledBy: {type: "sap.ui.core.Control", multiple: true, singularName: "ariaLabelledBy"}
|
|
132
|
-
},
|
|
133
|
-
events : {
|
|
60
|
+
var Token = Control.extend("sap.m.Token", /** @lends sap.m.Token.prototype */ {
|
|
61
|
+
metadata : {
|
|
62
|
+
|
|
63
|
+
library : "sap.m",
|
|
64
|
+
properties : {
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Indicates the current selection status of the token.
|
|
68
|
+
*/
|
|
69
|
+
selected : {type : "boolean", group : "Misc", defaultValue : false},
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Key of the token.
|
|
73
|
+
*/
|
|
74
|
+
key : {type : "string", group : "Misc", defaultValue : ""},
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Displayed text of the token.
|
|
78
|
+
*/
|
|
79
|
+
text : {type : "string", group : "Misc", defaultValue : ""},
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Indicates the editable status of the token. If it is set to <code>true</code>, token displays a delete icon.
|
|
83
|
+
*/
|
|
84
|
+
editable : {type : "boolean", group : "Misc", defaultValue : true},
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* This property specifies the text directionality with enumerated options. By default, the control inherits text direction from the DOM.
|
|
88
|
+
* @since 1.28.0
|
|
89
|
+
*/
|
|
90
|
+
textDirection : {type : "sap.ui.core.TextDirection", group : "Appearance", defaultValue : TextDirection.Inherit},
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Indicates the editable status of the token's parent (Tokenizer). If it is set to <code>true</code>, the ARIA attributes of the token are updated accordingly.
|
|
94
|
+
*/
|
|
95
|
+
editableParent : {type : "boolean", group : "Behavior", defaultValue : true, visibility: "hidden"},
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Indicates if the token's text should be truncated.
|
|
99
|
+
*/
|
|
100
|
+
truncated : {type : "boolean", group : "Appearance", defaultValue : false, visibility: "hidden"},
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Indicates the position of a token. Used for aria attributes.
|
|
104
|
+
* @private
|
|
105
|
+
*/
|
|
106
|
+
posinset : { type: "int", visibility: "hidden" },
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Indicates the count of the token. Used for aria attributes.
|
|
110
|
+
* @private
|
|
111
|
+
*/
|
|
112
|
+
setsize : { type: "int", visibility: "hidden" }
|
|
113
|
+
},
|
|
114
|
+
aggregations : {
|
|
134
115
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
enableEventBubbling: true
|
|
116
|
+
/**
|
|
117
|
+
* The delete icon.
|
|
118
|
+
*/
|
|
119
|
+
deleteIcon : {type : "sap.ui.core.Icon", multiple : false, visibility : "hidden"}
|
|
140
120
|
},
|
|
121
|
+
associations : {
|
|
141
122
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
123
|
+
/**
|
|
124
|
+
* Association to controls / IDs which describe this control (see WAI-ARIA attribute aria-describedby).
|
|
125
|
+
*/
|
|
126
|
+
ariaDescribedBy: {type: "sap.ui.core.Control", multiple: true, singularName: "ariaDescribedBy"},
|
|
146
127
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
128
|
+
/**
|
|
129
|
+
* Association to controls / IDs which label this control (see WAI-ARIA attribute aria-labelledby).
|
|
130
|
+
*/
|
|
131
|
+
ariaLabelledBy: {type: "sap.ui.core.Control", multiple: true, singularName: "ariaLabelledBy"}
|
|
132
|
+
},
|
|
133
|
+
events : {
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* This event is fired if the user clicks the token's delete icon.
|
|
137
|
+
*/
|
|
138
|
+
"delete" : {
|
|
139
|
+
enableEventBubbling: true
|
|
140
|
+
},
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* This event is fired when the user clicks on the token.
|
|
144
|
+
*/
|
|
145
|
+
press : {},
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* This event is fired when the token gets selected.
|
|
149
|
+
*/
|
|
150
|
+
select : {},
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* This event is fired when the token gets deselected.
|
|
154
|
+
*/
|
|
155
|
+
deselect : {}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
151
158
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
*/
|
|
155
|
-
deselect : {}
|
|
156
|
-
}
|
|
157
|
-
}});
|
|
159
|
+
renderer: TokenRenderer
|
|
160
|
+
});
|
|
158
161
|
|
|
159
162
|
Token.prototype.init = function() {
|
|
160
163
|
var oDeleteIcon = new Icon({
|
package/src/sap/m/Tokenizer.js
CHANGED
|
@@ -78,169 +78,172 @@ sap.ui.define([
|
|
|
78
78
|
*
|
|
79
79
|
* @extends sap.ui.core.Control
|
|
80
80
|
* @author SAP SE
|
|
81
|
-
* @version 1.
|
|
81
|
+
* @version 1.107.0
|
|
82
82
|
*
|
|
83
83
|
* @constructor
|
|
84
84
|
* @public
|
|
85
85
|
* @since 1.22
|
|
86
86
|
* @alias sap.m.Tokenizer
|
|
87
87
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/token/ Tokenizer}
|
|
88
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
89
88
|
*/
|
|
90
|
-
var Tokenizer = Control.extend("sap.m.Tokenizer", /** @lends sap.m.Tokenizer.prototype */ {
|
|
89
|
+
var Tokenizer = Control.extend("sap.m.Tokenizer", /** @lends sap.m.Tokenizer.prototype */ {
|
|
90
|
+
metadata : {
|
|
91
|
+
|
|
92
|
+
library : "sap.m",
|
|
93
|
+
properties : {
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* true if tokens shall be editable otherwise false
|
|
97
|
+
*/
|
|
98
|
+
editable : {type : "boolean", group : "Misc", defaultValue : true},
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Defines the width of the Tokenizer.
|
|
102
|
+
*/
|
|
103
|
+
|
|
104
|
+
width : {type : "sap.ui.core.CSSSize", group : "Dimension", defaultValue : null},
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Defines the maximum width of the Tokenizer.
|
|
108
|
+
*/
|
|
109
|
+
maxWidth : {type: "sap.ui.core.CSSSize", group: "Dimension", defaultValue : "100%"},
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Defines the mode that the Tokenizer will use:
|
|
113
|
+
* <ul>
|
|
114
|
+
* <li><code>sap.m.TokenizerRenderMode.Loose</code> mode shows all tokens, no matter the width of the Tokenizer</li>
|
|
115
|
+
* <li><code>sap.m.TokenizerRenderMode.Narrow</code> mode forces the Tokenizer to show only as much tokens as possible in its width and add an n-More indicator</li>
|
|
116
|
+
* </ul>
|
|
117
|
+
*/
|
|
118
|
+
renderMode: {type : "string", group : "Misc", defaultValue : RenderMode.Loose},
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Defines the count of hidden tokens if any. If this property is set to 0, the n-More indicator will not be shown.
|
|
122
|
+
*/
|
|
123
|
+
hiddenTokensCount: {type : "int", group : "Misc", defaultValue : 0, visibility: "hidden"}
|
|
91
124
|
|
|
92
|
-
library : "sap.m",
|
|
93
|
-
properties : {
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* true if tokens shall be editable otherwise false
|
|
97
|
-
*/
|
|
98
|
-
editable : {type : "boolean", group : "Misc", defaultValue : true},
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* Defines the width of the Tokenizer.
|
|
102
|
-
*/
|
|
103
|
-
|
|
104
|
-
width : {type : "sap.ui.core.CSSSize", group : "Dimension", defaultValue : null},
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* Defines the maximum width of the Tokenizer.
|
|
108
|
-
*/
|
|
109
|
-
maxWidth : {type: "sap.ui.core.CSSSize", group: "Dimension", defaultValue : "100%"},
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* Defines the mode that the Tokenizer will use:
|
|
113
|
-
* <ul>
|
|
114
|
-
* <li><code>sap.m.TokenizerRenderMode.Loose</code> mode shows all tokens, no matter the width of the Tokenizer</li>
|
|
115
|
-
* <li><code>sap.m.TokenizerRenderMode.Narrow</code> mode forces the Tokenizer to show only as much tokens as possible in its width and add an n-More indicator</li>
|
|
116
|
-
* </ul>
|
|
117
|
-
*/
|
|
118
|
-
renderMode: {type : "string", group : "Misc", defaultValue : RenderMode.Loose},
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* Defines the count of hidden tokens if any. If this property is set to 0, the n-More indicator will not be shown.
|
|
122
|
-
*/
|
|
123
|
-
hiddenTokensCount: {type : "int", group : "Misc", defaultValue : 0, visibility: "hidden"}
|
|
124
|
-
|
|
125
|
-
},
|
|
126
|
-
defaultAggregation : "tokens",
|
|
127
|
-
aggregations : {
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* the currently displayed tokens
|
|
131
|
-
*/
|
|
132
|
-
tokens : {type : "sap.m.Token", multiple : true, singularName : "token"},
|
|
133
|
-
/**
|
|
134
|
-
* Hidden text used for accesibility
|
|
135
|
-
*/
|
|
136
|
-
_tokensInfo: {type: "sap.ui.core.InvisibleText", multiple: false, visibility: "hidden"}
|
|
137
|
-
},
|
|
138
|
-
associations : {
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* Association to controls / ids which describe this control (see WAI-ARIA attribute aria-describedby).
|
|
142
|
-
*/
|
|
143
|
-
ariaDescribedBy: {type: "sap.ui.core.Control", multiple: true, singularName: "ariaDescribedBy"},
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledby).
|
|
147
|
-
*/
|
|
148
|
-
ariaLabelledBy: {type: "sap.ui.core.Control", multiple: true, singularName: "ariaLabelledBy"}
|
|
149
|
-
},
|
|
150
|
-
events : {
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* Fired when the tokens aggregation changed (add / remove token)
|
|
154
|
-
* @deprecated Since version 1.82, replaced by <code>tokenDelete</code> event.
|
|
155
|
-
*/
|
|
156
|
-
tokenChange : {
|
|
157
|
-
deprecated: true,
|
|
158
|
-
parameters : {
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* type of tokenChange event.
|
|
162
|
-
* There are four TokenChange types: "added", "removed", "removedAll", "tokensChanged".
|
|
163
|
-
* Use sap.m.Tokenizer.TokenChangeType.Added for "added", sap.m.Tokenizer.TokenChangeType.Removed for "removed", sap.m.Tokenizer.TokenChangeType.RemovedAll for "removedAll" and sap.m.Tokenizer.TokenChangeType.TokensChanged for "tokensChanged".
|
|
164
|
-
*/
|
|
165
|
-
type: { type : "string"},
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* the added token or removed token.
|
|
169
|
-
* This parameter is used when tokenChange type is "added" or "removed".
|
|
170
|
-
*/
|
|
171
|
-
token: { type: "sap.m.Token"},
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* the array of removed tokens.
|
|
175
|
-
* This parameter is used when tokenChange type is "removedAll".
|
|
176
|
-
*/
|
|
177
|
-
tokens: { type: "sap.m.Token[]"},
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* the array of tokens that are added.
|
|
181
|
-
* This parameter is used when tokenChange type is "tokenChanged".
|
|
182
|
-
*/
|
|
183
|
-
addedTokens : { type: "sap.m.Token[]"},
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* the array of tokens that are removed.
|
|
187
|
-
* This parameter is used when tokenChange type is "tokenChanged".
|
|
188
|
-
*/
|
|
189
|
-
removedTokens : { type: "sap.m.Token[]"}
|
|
190
|
-
}
|
|
191
125
|
},
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
* Type of tokenChange event.
|
|
204
|
-
* There are two TokenUpdate types: "added", "removed"
|
|
205
|
-
* Use sap.m.Tokenizer.TokenUpdateType.Added for "added" and sap.m.Tokenizer.TokenUpdateType.Removed for "removed".
|
|
206
|
-
*/
|
|
207
|
-
type: {type: "string"},
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* The array of tokens that are added.
|
|
211
|
-
* This parameter is used when tokenUpdate type is "added".
|
|
212
|
-
*/
|
|
213
|
-
addedTokens: {type: "sap.m.Token[]"},
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* The array of tokens that are removed.
|
|
217
|
-
* This parameter is used when tokenUpdate type is "removed".
|
|
218
|
-
*/
|
|
219
|
-
removedTokens: {type: "sap.m.Token[]"}
|
|
220
|
-
}
|
|
126
|
+
defaultAggregation : "tokens",
|
|
127
|
+
aggregations : {
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* the currently displayed tokens
|
|
131
|
+
*/
|
|
132
|
+
tokens : {type : "sap.m.Token", multiple : true, singularName : "token"},
|
|
133
|
+
/**
|
|
134
|
+
* Hidden text used for accesibility
|
|
135
|
+
*/
|
|
136
|
+
_tokensInfo: {type: "sap.ui.core.InvisibleText", multiple: false, visibility: "hidden"}
|
|
221
137
|
},
|
|
138
|
+
associations : {
|
|
222
139
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
140
|
+
/**
|
|
141
|
+
* Association to controls / ids which describe this control (see WAI-ARIA attribute aria-describedby).
|
|
142
|
+
*/
|
|
143
|
+
ariaDescribedBy: {type: "sap.ui.core.Control", multiple: true, singularName: "ariaDescribedBy"},
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledby).
|
|
147
|
+
*/
|
|
148
|
+
ariaLabelledBy: {type: "sap.ui.core.Control", multiple: true, singularName: "ariaLabelledBy"}
|
|
149
|
+
},
|
|
150
|
+
events : {
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Fired when the tokens aggregation changed (add / remove token)
|
|
154
|
+
* @deprecated Since version 1.82, replaced by <code>tokenDelete</code> event.
|
|
155
|
+
*/
|
|
156
|
+
tokenChange : {
|
|
157
|
+
deprecated: true,
|
|
158
|
+
parameters : {
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* type of tokenChange event.
|
|
162
|
+
* There are four TokenChange types: "added", "removed", "removedAll", "tokensChanged".
|
|
163
|
+
* Use sap.m.Tokenizer.TokenChangeType.Added for "added", sap.m.Tokenizer.TokenChangeType.Removed for "removed", sap.m.Tokenizer.TokenChangeType.RemovedAll for "removedAll" and sap.m.Tokenizer.TokenChangeType.TokensChanged for "tokensChanged".
|
|
164
|
+
*/
|
|
165
|
+
type: { type : "string"},
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* the added token or removed token.
|
|
169
|
+
* This parameter is used when tokenChange type is "added" or "removed".
|
|
170
|
+
*/
|
|
171
|
+
token: { type: "sap.m.Token"},
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* the array of removed tokens.
|
|
175
|
+
* This parameter is used when tokenChange type is "removedAll".
|
|
176
|
+
*/
|
|
177
|
+
tokens: { type: "sap.m.Token[]"},
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* the array of tokens that are added.
|
|
181
|
+
* This parameter is used when tokenChange type is "tokenChanged".
|
|
182
|
+
*/
|
|
183
|
+
addedTokens : { type: "sap.m.Token[]"},
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* the array of tokens that are removed.
|
|
187
|
+
* This parameter is used when tokenChange type is "tokenChanged".
|
|
188
|
+
*/
|
|
189
|
+
removedTokens : { type: "sap.m.Token[]"}
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Fired when the tokens aggregation changed due to a user interaction (add / remove token)
|
|
195
|
+
* @deprecated Since version 1.82, replaced by <code>tokenDelete</code> event.
|
|
196
|
+
* @since 1.46
|
|
197
|
+
*/
|
|
198
|
+
tokenUpdate: {
|
|
199
|
+
deprecated: true,
|
|
200
|
+
allowPreventDefault : true,
|
|
201
|
+
parameters: {
|
|
202
|
+
/**
|
|
203
|
+
* Type of tokenChange event.
|
|
204
|
+
* There are two TokenUpdate types: "added", "removed"
|
|
205
|
+
* Use sap.m.Tokenizer.TokenUpdateType.Added for "added" and sap.m.Tokenizer.TokenUpdateType.Removed for "removed".
|
|
206
|
+
*/
|
|
207
|
+
type: {type: "string"},
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* The array of tokens that are added.
|
|
211
|
+
* This parameter is used when tokenUpdate type is "added".
|
|
212
|
+
*/
|
|
213
|
+
addedTokens: {type: "sap.m.Token[]"},
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* The array of tokens that are removed.
|
|
217
|
+
* This parameter is used when tokenUpdate type is "removed".
|
|
218
|
+
*/
|
|
219
|
+
removedTokens: {type: "sap.m.Token[]"}
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Fired when a token is deleted by clicking icon, pressing backspace or delete button.
|
|
225
|
+
* <Note:> Once the event is fired, application is responsible for removing / destroying the token from the aggregation.
|
|
226
|
+
* @public
|
|
227
|
+
* @since 1.82
|
|
228
|
+
*/
|
|
229
|
+
tokenDelete: {
|
|
230
|
+
parameters: {
|
|
231
|
+
/**
|
|
232
|
+
* The array of tokens that are removed.
|
|
233
|
+
*/
|
|
234
|
+
tokens: { type: "sap.m.Token[]" },
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Keycode of the key pressed for deletion (backspace or delete).
|
|
238
|
+
*/
|
|
239
|
+
keyCode: { type: "number" }
|
|
240
|
+
}
|
|
240
241
|
}
|
|
241
242
|
}
|
|
242
|
-
}
|
|
243
|
-
|
|
243
|
+
},
|
|
244
|
+
|
|
245
|
+
renderer: TokenizerRenderer
|
|
246
|
+
});
|
|
244
247
|
|
|
245
248
|
var oRb = Core.getLibraryResourceBundle("sap.m");
|
|
246
249
|
|