@openui5/sap.m 1.106.0 → 1.107.1
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/designtime/messagebundle_sv.properties +2 -2
- package/src/sap/m/library.js +10 -115
- package/src/sap/m/messagebundle.properties +18 -12
- package/src/sap/m/messagebundle_ar.properties +14 -10
- package/src/sap/m/messagebundle_bg.properties +12 -8
- package/src/sap/m/messagebundle_ca.properties +15 -11
- package/src/sap/m/messagebundle_cs.properties +23 -19
- package/src/sap/m/messagebundle_cy.properties +13 -9
- package/src/sap/m/messagebundle_da.properties +12 -8
- package/src/sap/m/messagebundle_de.properties +21 -17
- package/src/sap/m/messagebundle_el.properties +12 -8
- package/src/sap/m/messagebundle_en.properties +13 -9
- package/src/sap/m/messagebundle_en_GB.properties +13 -9
- package/src/sap/m/messagebundle_en_US_sappsd.properties +11 -7
- package/src/sap/m/messagebundle_en_US_saprigi.properties +11 -7
- package/src/sap/m/messagebundle_en_US_saptrc.properties +11 -7
- package/src/sap/m/messagebundle_es.properties +13 -9
- package/src/sap/m/messagebundle_es_MX.properties +12 -8
- package/src/sap/m/messagebundle_et.properties +11 -7
- package/src/sap/m/messagebundle_fi.properties +12 -8
- package/src/sap/m/messagebundle_fr.properties +15 -11
- package/src/sap/m/messagebundle_fr_CA.properties +14 -10
- package/src/sap/m/messagebundle_hi.properties +11 -7
- package/src/sap/m/messagebundle_hr.properties +12 -8
- package/src/sap/m/messagebundle_hu.properties +12 -8
- package/src/sap/m/messagebundle_id.properties +12 -8
- package/src/sap/m/messagebundle_it.properties +12 -8
- package/src/sap/m/messagebundle_iw.properties +12 -8
- package/src/sap/m/messagebundle_ja.properties +13 -9
- package/src/sap/m/messagebundle_kk.properties +12 -8
- package/src/sap/m/messagebundle_ko.properties +12 -8
- package/src/sap/m/messagebundle_lt.properties +20 -16
- package/src/sap/m/messagebundle_lv.properties +12 -8
- package/src/sap/m/messagebundle_ms.properties +12 -8
- package/src/sap/m/messagebundle_nl.properties +12 -8
- package/src/sap/m/messagebundle_no.properties +12 -8
- package/src/sap/m/messagebundle_pl.properties +12 -8
- package/src/sap/m/messagebundle_pt.properties +12 -8
- package/src/sap/m/messagebundle_pt_PT.properties +15 -11
- package/src/sap/m/messagebundle_ro.properties +12 -8
- package/src/sap/m/messagebundle_ru.properties +12 -8
- package/src/sap/m/messagebundle_sh.properties +12 -8
- package/src/sap/m/messagebundle_sk.properties +11 -7
- package/src/sap/m/messagebundle_sl.properties +13 -9
- package/src/sap/m/messagebundle_sv.properties +13 -9
- package/src/sap/m/messagebundle_th.properties +13 -9
- package/src/sap/m/messagebundle_tr.properties +12 -8
- package/src/sap/m/messagebundle_uk.properties +12 -8
- package/src/sap/m/messagebundle_vi.properties +13 -9
- package/src/sap/m/messagebundle_zh_CN.properties +13 -9
- package/src/sap/m/messagebundle_zh_TW.properties +13 -9
- 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
package/src/sap/m/Table.js
CHANGED
|
@@ -64,191 +64,194 @@ sap.ui.define([
|
|
|
64
64
|
* @extends sap.m.ListBase
|
|
65
65
|
*
|
|
66
66
|
* @author SAP SE
|
|
67
|
-
* @version 1.
|
|
67
|
+
* @version 1.107.1
|
|
68
68
|
*
|
|
69
69
|
* @constructor
|
|
70
70
|
* @public
|
|
71
71
|
* @since 1.16
|
|
72
72
|
* @alias sap.m.Table
|
|
73
73
|
* @see {@link fiori:/responsive-table/ Responsive Table}
|
|
74
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
75
74
|
*/
|
|
76
|
-
var Table = ListBase.extend("sap.m.Table", /** @lends sap.m.Table.prototype */ {
|
|
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
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
75
|
+
var Table = ListBase.extend("sap.m.Table", /** @lends sap.m.Table.prototype */ {
|
|
76
|
+
metadata : {
|
|
77
|
+
|
|
78
|
+
library : "sap.m",
|
|
79
|
+
properties : {
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Sets the background style of the table. Depending on the theme, you can change the state of the background from <code>Solid</code> to <code>Translucent</code> or to <code>Transparent</code>.
|
|
83
|
+
*/
|
|
84
|
+
backgroundDesign : {type : "sap.m.BackgroundDesign", group : "Appearance", defaultValue : BackgroundDesign.Translucent},
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Defines the algorithm to be used to layout the table cells, rows, and columns.
|
|
88
|
+
* This property allows three possible values:
|
|
89
|
+
* <ul>
|
|
90
|
+
* <li><code>true</code></li>
|
|
91
|
+
* <li><code>false</code></li>
|
|
92
|
+
* <li><code>Strict</code></li>
|
|
93
|
+
* </ul>
|
|
94
|
+
*
|
|
95
|
+
* By default, the table is rendered with a fixed layout algorithm (<code>fixedLayout=true</code>). This means the horizontal layout only depends on the table's width and the width of the columns, not the content of the cells. Cells in subsequent rows do not affect column width. This allows a browser to provide a faster table layout since the browser can begin to display the table once the first row has been analyzed.
|
|
96
|
+
*
|
|
97
|
+
* If this property is set to <code>false</code>, <code>sap.m.Table</code> is rendered with an auto layout algorithm. This means, the width of the table and its cells depends on the content of the cells. The column width is set by the widest unbreakable content inside the cells. This can make the rendering slow, since the browser needs to go through all the content in the table before determining the final layout.<br>
|
|
98
|
+
*
|
|
99
|
+
* If this property is set to <code>Strict</code> and the <code>width</code> property is defined for all columns (and not the expected "auto" value), then the <code>sap.m.Table</code> control renders a placeholder column which occupies the remaining width of the control to ensure the column width setting is strictly applied.<br>
|
|
100
|
+
*
|
|
101
|
+
* If there is only one remaining column with a width larger than the table, then this column gets the maximum width available in the table. If the column width is smaller than the table, then the column width is retained, and the remaining width of the table is occupied by the placeholder column.<br>
|
|
102
|
+
*
|
|
103
|
+
* The placeholder column gets rendered only if there are no columns in the pop-in area.<br>
|
|
104
|
+
*
|
|
105
|
+
* <b>Note:</b> Since <code>sap.m.Table</code> does not have its own scrollbars, setting <code>fixedLayout</code> to false can force the table to overflow, which may cause visual problems. It is suggested to use this property when a table has a few columns in wide screens or within the horizontal scroll container (e.g <code>sap.m.Dialog</code>) to handle overflow.
|
|
106
|
+
* In auto layout mode the <code>width</code> property of <code>sap.m.Column</code> is taken into account as a minimum width.
|
|
107
|
+
* @since 1.22
|
|
108
|
+
*/
|
|
109
|
+
fixedLayout : {type : "any", group : "Behavior", defaultValue : true},
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Setting this property to <code>true</code> will show an overlay on top of the table content and prevents the user interaction with it.
|
|
113
|
+
* @since 1.22.1
|
|
114
|
+
*/
|
|
115
|
+
showOverlay : {type : "boolean", group : "Appearance", defaultValue : false},
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Enables alternating table row colors.
|
|
119
|
+
* <b>Note:</b> This property can only be used with the Belize and Belize Deep themes.
|
|
120
|
+
* Alternate row coloring is not available for the High Contrast Black/White themes.
|
|
121
|
+
* @since 1.52
|
|
122
|
+
*/
|
|
123
|
+
alternateRowColors : {type : "boolean", group : "Appearance", defaultValue : false},
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Defines the layout in which the table pop-in rows are rendered.
|
|
127
|
+
* <b>Note:</b> The <code>demandPopin</code> and <code>minScreenWidth</code> properties of the <code>Column</code> control must be configured appropriately.
|
|
128
|
+
* @since 1.52
|
|
129
|
+
*/
|
|
130
|
+
popinLayout : {type : "sap.m.PopinLayout", group : "Appearance", defaultValue : PopinLayout.Block},
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Defines the contextual width for the <code>sap.m.Table</code> control. By defining this property the table adapts the pop-in behavior based on the container in which the table is placed or the configured contextual width.
|
|
134
|
+
* By default, <code>sap.m.Table</code> renders in pop-in behavior only depending on the window size or device.
|
|
135
|
+
*
|
|
136
|
+
* For example, by setting the <code>contextualWidth</code> property to 600px or Tablet, the table can be placed in a container with 600px width, where the pop-in is used.
|
|
137
|
+
* You can use specific CSS sizes (for example, 600px or 600), you can also use the <code>sap.m.ScreenSize</code> enumeration (for example, Phone, Tablet, Desktop, Small, Medium, Large, ....).
|
|
138
|
+
* If this property is set to <code>Auto</code>, the <code>ResizeHandler</code> will manage the contextual width of the table.
|
|
139
|
+
* <b>Note:</b> Only "Inherit", "Auto", and pixel-based CSS sizes (for example, 200, 200px) can be applied to the <code>contextualWidth</code> property. Due to the rendering cost, we recommend to use the valid value mentioned before except for "Auto".
|
|
140
|
+
* @since 1.60
|
|
141
|
+
*/
|
|
142
|
+
contextualWidth : {type: "string", group: "Behavior", defaultValue: "Inherit"},
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Enables the auto pop-in behavior for the table control.
|
|
146
|
+
*
|
|
147
|
+
* If this property is set to <code>true</code>, the table control overwrites the <code>demandPopin</code>
|
|
148
|
+
* and the <code>minScreenWidth</code> properties of the <code>sap.m.Column</code> control.
|
|
149
|
+
* The pop-in behavior depends on the <code>importance</code> property of the <code>sap.m.Column</code> control.
|
|
150
|
+
* Columns configured with this property are moved to the pop-in area in the following order:
|
|
151
|
+
*
|
|
152
|
+
* <ul>
|
|
153
|
+
* <li>With importance <code>High</code>: moved last</li>
|
|
154
|
+
* <li>With importance <code>Medium</code> or <code>None</code>: moved second</li>
|
|
155
|
+
* <li>With importance <code>Low</code>: moved first</li>
|
|
156
|
+
* </ul>
|
|
157
|
+
*
|
|
158
|
+
* <b>Note:</b> If this property is changed from <code>true</code> to <code>false</code>,
|
|
159
|
+
* the application must reconfigure the <code>demandPopin</code> and <code>minScreenWidth</code>
|
|
160
|
+
* properties of the <code>sap.m.Column</code> control by itself.
|
|
161
|
+
* There is no automatic mechanism that restores the old values if <code>autoPopinMode</code> was set
|
|
162
|
+
* from <code>false</code> to <code>true</code> before.
|
|
163
|
+
*
|
|
164
|
+
* @since 1.76
|
|
165
|
+
*/
|
|
166
|
+
autoPopinMode: {type: "boolean", group: "Behavior", defaultValue: false},
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Defines which columns should be hidden instead of moved into the pop-in area
|
|
170
|
+
* depending on their importance. See {@link sap.m.Column#getImportance}
|
|
171
|
+
*
|
|
172
|
+
* <b>Note:</b> To hide columns based on their importance, it's mandatory to set <code>demandPopin="true"</code>
|
|
173
|
+
* for the <code>sap.m.Column</code> control or set <code>autoPopinMode="true"</code> for the <code>sap.m.Table</code> control.
|
|
174
|
+
* See {@link topic:38855e06486f4910bfa6f4485f7c2bac Configuring Responsive Behavior of a Table}
|
|
175
|
+
* and {@link sap.m.Table#getAutoPopinMode}.
|
|
176
|
+
*
|
|
177
|
+
* @since 1.77
|
|
178
|
+
*/
|
|
179
|
+
hiddenInPopin: {type: "sap.ui.core.Priority[]", group: "Behavior"}
|
|
180
|
+
},
|
|
181
|
+
aggregations : {
|
|
182
182
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
183
|
+
/**
|
|
184
|
+
* Defines the columns of the table.
|
|
185
|
+
*/
|
|
186
|
+
columns : {type : "sap.m.Column", multiple : true, singularName : "column", dnd : {draggable : true, droppable : true, layout : "Horizontal"} },
|
|
187
187
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
},
|
|
193
|
-
events : {
|
|
194
|
-
/**
|
|
195
|
-
* Fired when the context menu is opened.
|
|
196
|
-
* When the context menu is opened, the binding context of the item is set to the given <code>contextMenu</code>.
|
|
197
|
-
* @since 1.54
|
|
198
|
-
*/
|
|
199
|
-
beforeOpenContextMenu : {
|
|
200
|
-
allowPreventDefault : true,
|
|
201
|
-
parameters : {
|
|
202
|
-
/**
|
|
203
|
-
* Item in which the context menu was opened.
|
|
204
|
-
*/
|
|
205
|
-
listItem : {type : "sap.m.ColumnListItem"},
|
|
206
|
-
/**
|
|
207
|
-
* Column in which the context menu was opened.
|
|
208
|
-
* <b>Note:</b> This parameter might be undefined for the items that are not part of a column definition.
|
|
209
|
-
*/
|
|
210
|
-
column : {type : "sap.m.Column"}
|
|
211
|
-
}
|
|
188
|
+
/**
|
|
189
|
+
* Provides a message if no visible columns are available.
|
|
190
|
+
*/
|
|
191
|
+
_noColumnsMessage : {type: "sap.ui.core.Control", multiple: false, visibility: "hidden"}
|
|
212
192
|
},
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
193
|
+
events : {
|
|
194
|
+
/**
|
|
195
|
+
* Fired when the context menu is opened.
|
|
196
|
+
* When the context menu is opened, the binding context of the item is set to the given <code>contextMenu</code>.
|
|
197
|
+
* @since 1.54
|
|
198
|
+
*/
|
|
199
|
+
beforeOpenContextMenu : {
|
|
200
|
+
allowPreventDefault : true,
|
|
201
|
+
parameters : {
|
|
202
|
+
/**
|
|
203
|
+
* Item in which the context menu was opened.
|
|
204
|
+
*/
|
|
205
|
+
listItem : {type : "sap.m.ColumnListItem"},
|
|
206
|
+
/**
|
|
207
|
+
* Column in which the context menu was opened.
|
|
208
|
+
* <b>Note:</b> This parameter might be undefined for the items that are not part of a column definition.
|
|
209
|
+
*/
|
|
210
|
+
column : {type : "sap.m.Column"}
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
/**
|
|
214
|
+
* This event gets fired when the user pastes content from the clipboard to the table.
|
|
215
|
+
* Pasting can be done via the context menu or the standard paste keyboard shortcut, if the focus is inside the table.
|
|
216
|
+
* @since 1.60
|
|
217
|
+
*/
|
|
218
|
+
paste : {
|
|
219
|
+
allowPreventDefault: true,
|
|
220
|
+
parameters : {
|
|
221
|
+
/**
|
|
222
|
+
* 2D array of strings with data from the clipboard. The first dimension represents the rows, and the
|
|
223
|
+
* second dimension represents the cells of the tabular data.
|
|
224
|
+
*/
|
|
225
|
+
data : {type : "string[][]"}
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
/**
|
|
229
|
+
* Fired when the table pop-in has changed.
|
|
230
|
+
* @since 1.77
|
|
231
|
+
*/
|
|
232
|
+
popinChanged: {
|
|
233
|
+
parameters: {
|
|
234
|
+
/**
|
|
235
|
+
* Returns true if there are visible columns in the pop-in area
|
|
236
|
+
*/
|
|
237
|
+
hasPopin: {type: "boolean"},
|
|
238
|
+
/**
|
|
239
|
+
* Returns array of all visible columns in the pop-in area.
|
|
240
|
+
*/
|
|
241
|
+
visibleInPopin: {type: "sap.m.Column[]"},
|
|
242
|
+
/**
|
|
243
|
+
* Returns array of columns that are hidden in the pop-in based on their importance.
|
|
244
|
+
* See {@link sap.m.Column#getImportance}
|
|
245
|
+
*/
|
|
246
|
+
hiddenInPopin: {type: "sap.m.Column[]"}
|
|
247
|
+
}
|
|
226
248
|
}
|
|
227
249
|
},
|
|
228
|
-
|
|
229
|
-
* Fired when the table pop-in has changed.
|
|
230
|
-
* @since 1.77
|
|
231
|
-
*/
|
|
232
|
-
popinChanged: {
|
|
233
|
-
parameters: {
|
|
234
|
-
/**
|
|
235
|
-
* Returns true if there are visible columns in the pop-in area
|
|
236
|
-
*/
|
|
237
|
-
hasPopin: {type: "boolean"},
|
|
238
|
-
/**
|
|
239
|
-
* Returns array of all visible columns in the pop-in area.
|
|
240
|
-
*/
|
|
241
|
-
visibleInPopin: {type: "sap.m.Column[]"},
|
|
242
|
-
/**
|
|
243
|
-
* Returns array of columns that are hidden in the pop-in based on their importance.
|
|
244
|
-
* See {@link sap.m.Column#getImportance}
|
|
245
|
-
*/
|
|
246
|
-
hiddenInPopin: {type: "sap.m.Column[]"}
|
|
247
|
-
}
|
|
248
|
-
}
|
|
250
|
+
designtime: "sap/m/designtime/Table.designtime"
|
|
249
251
|
},
|
|
250
|
-
|
|
251
|
-
|
|
252
|
+
|
|
253
|
+
renderer: TableRenderer
|
|
254
|
+
});
|
|
252
255
|
|
|
253
256
|
// class name for the navigation items
|
|
254
257
|
Table.prototype.sNavItemClass = "sapMListTblRow";
|
|
@@ -672,9 +675,9 @@ sap.ui.define([
|
|
|
672
675
|
* @override
|
|
673
676
|
*/
|
|
674
677
|
Table.prototype.setNavigationItems = function(oItemNavigation) {
|
|
675
|
-
var $Header = this.$("tblHeader");
|
|
676
|
-
var $Footer = this.$("tblFooter");
|
|
678
|
+
var $Header = this.$("tblHeader").not(".sapMListTblHeaderNone");
|
|
677
679
|
var $Rows = this.$("tblBody").children(".sapMLIB");
|
|
680
|
+
var $Footer = this.$("tblFooter");
|
|
678
681
|
|
|
679
682
|
var aItemDomRefs = $Header.add($Rows).add($Footer).get();
|
|
680
683
|
oItemNavigation.setItemDomRefs(aItemDomRefs);
|
|
@@ -12,9 +12,10 @@ sap.ui.define([
|
|
|
12
12
|
'sap/ui/base/ManagedObjectRegistry',
|
|
13
13
|
"sap/ui/core/syncStyleClass",
|
|
14
14
|
"sap/base/Log",
|
|
15
|
-
"sap/ui/thirdparty/jquery"
|
|
15
|
+
"sap/ui/thirdparty/jquery",
|
|
16
|
+
"sap/ui/core/Configuration"
|
|
16
17
|
],
|
|
17
|
-
function(library, TablePersoDialog, ManagedObject, ManagedObjectRegistry, syncStyleClass, Log, jQuery) {
|
|
18
|
+
function(library, TablePersoDialog, ManagedObject, ManagedObjectRegistry, syncStyleClass, Log, jQuery, Configuration) {
|
|
18
19
|
"use strict";
|
|
19
20
|
|
|
20
21
|
// shortcut for sap.m.ResetAllMode
|
|
@@ -38,7 +39,7 @@ sap.ui.define([
|
|
|
38
39
|
* @class Table Personalization Controller
|
|
39
40
|
* @extends sap.ui.base.ManagedObject
|
|
40
41
|
* @author SAP
|
|
41
|
-
* @version 1.
|
|
42
|
+
* @version 1.107.1
|
|
42
43
|
* @alias sap.m.TablePersoController
|
|
43
44
|
*/
|
|
44
45
|
var TablePersoController = ManagedObject.extend("sap.m.TablePersoController", /** @lends sap.m.TablePersoController.prototype */
|
|
@@ -116,7 +117,7 @@ sap.ui.define([
|
|
|
116
117
|
} else {
|
|
117
118
|
var sMsg = "adding TablePersoController with duplicate id '" + sId + "'";
|
|
118
119
|
// duplicate ID detected => fail or at least log a warning
|
|
119
|
-
if (
|
|
120
|
+
if (Configuration.getNoDuplicateIds()) {
|
|
120
121
|
Log.error(sMsg);
|
|
121
122
|
throw new Error("Error: " + sMsg);
|
|
122
123
|
} else {
|
|
@@ -691,7 +692,7 @@ sap.ui.define([
|
|
|
691
692
|
TablePersoController.prototype._isStatic = function (sId) {
|
|
692
693
|
// SUGGESTED IMPROVEMENT: make this an inline function of '_getPersoColumnMap'
|
|
693
694
|
// it is only used there
|
|
694
|
-
var sUidPrefix =
|
|
695
|
+
var sUidPrefix = Configuration.getUIDPrefix();
|
|
695
696
|
var rGeneratedPrefix = new RegExp("^" + sUidPrefix);
|
|
696
697
|
return !rGeneratedPrefix.test(sId);
|
|
697
698
|
};
|
|
@@ -26,7 +26,8 @@ sap.ui.define([
|
|
|
26
26
|
'sap/ui/model/Filter',
|
|
27
27
|
'sap/ui/model/FilterOperator',
|
|
28
28
|
'sap/ui/model/json/JSONModel',
|
|
29
|
-
'sap/m/SearchField'
|
|
29
|
+
'sap/m/SearchField',
|
|
30
|
+
'sap/ui/core/Configuration'
|
|
30
31
|
],
|
|
31
32
|
function(
|
|
32
33
|
Text,
|
|
@@ -49,7 +50,8 @@ sap.ui.define([
|
|
|
49
50
|
Filter,
|
|
50
51
|
FilterOperator,
|
|
51
52
|
JSONModel,
|
|
52
|
-
SearchField
|
|
53
|
+
SearchField,
|
|
54
|
+
Configuration
|
|
53
55
|
) {
|
|
54
56
|
"use strict";
|
|
55
57
|
|
|
@@ -83,7 +85,7 @@ sap.ui.define([
|
|
|
83
85
|
* @class Table Personalization Dialog
|
|
84
86
|
* @extends sap.ui.base.ManagedObject
|
|
85
87
|
* @author SAP
|
|
86
|
-
* @version 1.
|
|
88
|
+
* @version 1.107.1
|
|
87
89
|
* @alias sap.m.TablePersoDialog
|
|
88
90
|
*/
|
|
89
91
|
var TablePersoDialog = ManagedObject.extend("sap.m.TablePersoDialog", /** @lends sap.m.TablePersoDialog.prototype */
|
|
@@ -144,7 +146,7 @@ sap.ui.define([
|
|
|
144
146
|
} else {
|
|
145
147
|
var sMsg = "adding TablePersoDialog with duplicate id '" + sId + "'";
|
|
146
148
|
// duplicate ID detected => fail or at least log a warning
|
|
147
|
-
if (
|
|
149
|
+
if (Configuration.getNoDuplicateIds()) {
|
|
148
150
|
Log.error(sMsg);
|
|
149
151
|
throw new Error("Error: " + sMsg);
|
|
150
152
|
} else {
|
|
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/base/ManagedObject', "sap/base/Log"],
|
|
|
21
21
|
* @extends sap.ui.base.ManagedObject
|
|
22
22
|
* @abstract
|
|
23
23
|
* @author SAP
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.107.1
|
|
25
25
|
* @alias sap.m.TablePersoProvider
|
|
26
26
|
*/
|
|
27
27
|
var TablePersoProvider = ManagedObject.extend("sap.m.TablePersoProvider", /** @lends sap.m.TablePersoProvider.prototype */
|
|
@@ -123,11 +123,11 @@ sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/Core", "sap/ui/core/Invisibl
|
|
|
123
123
|
rm.openEnd();
|
|
124
124
|
|
|
125
125
|
rm.openStart("tr", oTable.addNavSection(idPrefix + type + "er"));
|
|
126
|
-
rm.attr("tabindex", -1);
|
|
127
126
|
|
|
128
127
|
if (bHeaderHidden) {
|
|
129
128
|
rm.class("sapMListTblHeaderNone");
|
|
130
129
|
} else {
|
|
130
|
+
rm.attr("tabindex", -1);
|
|
131
131
|
rm.class("sapMListTblRow").class("sapMListTbl" + type + "er");
|
|
132
132
|
rm.class("sapMLIBFocusable").class("sapMTableRowCustomFocus");
|
|
133
133
|
}
|
|
@@ -105,14 +105,13 @@ sap.ui.define([
|
|
|
105
105
|
* When using the <code>sap.m.TableSelectDialog</code> in SAP Quartz and Horizon themes, the breakpoints and layout paddings could be determined by the dialog's width. To enable this concept and add responsive paddings to an element of the control, you have to add the following classes depending on your use case: <code>sapUiResponsivePadding--header</code>, <code>sapUiResponsivePadding--subHeader</code>, <code>sapUiResponsivePadding--content</code>, <code>sapUiResponsivePadding--footer</code>.
|
|
106
106
|
* @extends sap.m.SelectDialogBase
|
|
107
107
|
* @author SAP SE
|
|
108
|
-
* @version 1.
|
|
108
|
+
* @version 1.107.1
|
|
109
109
|
*
|
|
110
110
|
* @constructor
|
|
111
111
|
* @public
|
|
112
112
|
* @since 1.16
|
|
113
113
|
* @alias sap.m.TableSelectDialog
|
|
114
114
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/table-select-dialog/ Table Select Dialog}
|
|
115
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
116
115
|
*/
|
|
117
116
|
var TableSelectDialog = SelectDialogBase.extend("sap.m.TableSelectDialog", /** @lends sap.m.TableSelectDialog.prototype */ {
|
|
118
117
|
metadata : {
|
|
@@ -544,7 +543,6 @@ sap.ui.define([
|
|
|
544
543
|
* @param {string} sSearchValue
|
|
545
544
|
* Value for the search. The table will be automatically trigger the search event if this parameter is set.
|
|
546
545
|
* @returns {this} <code>this</code> to allow method chaining
|
|
547
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
548
546
|
*/
|
|
549
547
|
TableSelectDialog.prototype.open = function (sSearchValue) {
|
|
550
548
|
if (!this.getParent() && !this._bAppendedToUIArea) {
|
package/src/sap/m/Text.js
CHANGED
|
@@ -54,14 +54,13 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
54
54
|
* @implements sap.ui.core.IShrinkable, sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
|
|
55
55
|
*
|
|
56
56
|
* @author SAP SE
|
|
57
|
-
* @version 1.
|
|
57
|
+
* @version 1.107.1
|
|
58
58
|
*
|
|
59
59
|
* @constructor
|
|
60
60
|
* @public
|
|
61
61
|
* @alias sap.m.Text
|
|
62
62
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/text/ Text}
|
|
63
63
|
* @see {@link topic:f94deb45de184a3a87850b75d610d9c0 Text}
|
|
64
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
65
64
|
*/
|
|
66
65
|
var Text = Control.extend("sap.m.Text", /** @lends sap.m.Text.prototype */ {
|
|
67
66
|
metadata: {
|
|
@@ -135,7 +134,9 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
135
134
|
},
|
|
136
135
|
|
|
137
136
|
designtime: "sap/m/designtime/Text.designtime"
|
|
138
|
-
}
|
|
137
|
+
},
|
|
138
|
+
|
|
139
|
+
renderer: TextRenderer
|
|
139
140
|
});
|
|
140
141
|
|
|
141
142
|
/**
|