@openui5/sap.m 1.93.3 → 1.96.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/.reuse/dep5 +6 -11
- package/THIRDPARTY.txt +10 -16
- package/package.json +4 -4
- package/src/sap/m/.library +1 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/App.js +5 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +1 -4
- package/src/sap/m/Bar.js +13 -7
- package/src/sap/m/Breadcrumbs.js +2 -2
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +34 -1
- package/src/sap/m/Carousel.js +11 -3
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +1 -1
- package/src/sap/m/CheckBoxRenderer.js +12 -3
- package/src/sap/m/ColorPalette.js +7 -11
- package/src/sap/m/ColorPalettePopover.js +1 -6
- package/src/sap/m/Column.js +6 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- 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 +5 -2
- package/src/sap/m/ComboBoxRenderer.js +25 -9
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/CustomDynamicDateOption.js +14 -2
- 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 +27 -10
- package/src/sap/m/DatePickerRenderer.js +1 -1
- package/src/sap/m/DateRangeSelection.js +6 -9
- package/src/sap/m/DateTimeField.js +1 -1
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +6 -9
- package/src/sap/m/Dialog.js +44 -127
- package/src/sap/m/DialogRenderer.js +1 -1
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +15 -6
- package/src/sap/m/DynamicDateOption.js +58 -17
- package/src/sap/m/DynamicDateRange.js +47 -10
- package/src/sap/m/DynamicDateUtil.js +6 -3
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +47 -16
- 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 +1 -1
- package/src/sap/m/FeedListItem.js +1 -1
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +1 -1
- package/src/sap/m/FlexItemData.js +1 -1
- package/src/sap/m/FormattedText.js +1 -1
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +215 -52
- package/src/sap/m/GenericTileRenderer.js +218 -83
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +53 -1
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +8 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +8 -6
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +16 -4
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +124 -28
- package/src/sap/m/InputBase.js +13 -6
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +2 -2
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +12 -5
- package/src/sap/m/ListItemBase.js +16 -16
- package/src/sap/m/MaskEnabler.js +106 -4
- package/src/sap/m/MaskInput.js +19 -4
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +8 -6
- package/src/sap/m/MenuButton.js +20 -3
- package/src/sap/m/MenuButtonRenderer.js +1 -0
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageBox.js +1 -1
- package/src/sap/m/MessageItem.js +16 -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 +7 -3
- package/src/sap/m/MessageStripRenderer.js +2 -2
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +27 -16
- package/src/sap/m/MultiComboBox.js +328 -113
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +55 -6
- package/src/sap/m/NavContainer.js +24 -7
- package/src/sap/m/NewsContent.js +19 -10
- package/src/sap/m/NewsContentRenderer.js +1 -2
- 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 +1 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericContentRenderer.js +34 -17
- package/src/sap/m/ObjectAttribute.js +46 -5
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectHeaderRenderer.js +6 -7
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +13 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/ObjectStatusRenderer.js +4 -1
- package/src/sap/m/OverflowToolbar.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +4 -2
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/P13nAnyFilterItem.js +1 -1
- package/src/sap/m/P13nColumnsItem.js +1 -1
- package/src/sap/m/P13nColumnsPanel.js +3 -3
- package/src/sap/m/P13nConditionPanel.js +23 -53
- package/src/sap/m/P13nDialog.js +1 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +3 -3
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +1 -3
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +1 -3
- 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 -3
- package/src/sap/m/PDFViewer.js +14 -5
- package/src/sap/m/Page.js +1 -1
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +1 -1
- package/src/sap/m/PlanningCalendar.js +139 -41
- package/src/sap/m/PlanningCalendarHeader.js +1 -6
- package/src/sap/m/PlanningCalendarLegend.js +1 -6
- package/src/sap/m/PlanningCalendarLegendRenderer.js +2 -5
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +1 -6
- package/src/sap/m/Popover.js +5 -5
- package/src/sap/m/PopoverRenderer.js +3 -2
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +1 -1
- package/src/sap/m/QuickViewBase.js +1 -1
- package/src/sap/m/QuickViewCard.js +1 -1
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +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 +10 -8
- 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 +6 -34
- package/src/sap/m/SearchFieldRenderer.js +16 -12
- package/src/sap/m/SegmentedButton.js +12 -17
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +18 -8
- package/src/sap/m/SelectDialog.js +1 -1
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectRenderer.js +6 -1
- package/src/sap/m/SelectionDetails.js +7 -9
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +8 -4
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +9 -17
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +7 -10
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +15 -13
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +17 -7
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -6
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +4 -6
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -6
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -6
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -6
- package/src/sap/m/SlideTile.js +31 -3
- package/src/sap/m/SlideTileRenderer.js +9 -0
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderTooltip.js +1 -1
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +1 -1
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +3 -7
- package/src/sap/m/SplitContainer.js +13 -8
- package/src/sap/m/StandardDynamicDateOption.js +50 -12
- package/src/sap/m/StandardListItem.js +69 -26
- package/src/sap/m/StandardListItemRenderer.js +21 -9
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +30 -14
- package/src/sap/m/Suggest.js +25 -25
- package/src/sap/m/SuggestionItem.js +1 -7
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +2 -2
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +2 -4
- 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 +3 -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 +22 -4
- package/src/sap/m/TileContentRenderer.js +73 -5
- package/src/sap/m/TimePicker.js +4 -3
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClocks.js +2 -1
- package/src/sap/m/TimePickerInputs.js +3 -3
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerSlider.js +2 -2
- 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 +45 -3
- package/src/sap/m/TokenizerRenderer.js +5 -0
- package/src/sap/m/Toolbar.js +1 -1
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/UploadCollection.js +2 -7
- package/src/sap/m/UploadCollectionItem.js +1 -1
- package/src/sap/m/UploadCollectionParameter.js +1 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +1 -1
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +1 -1
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +2 -2
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/Wizard.js +2 -1
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardProgressNavigatorRenderer.js +3 -2
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +16 -17
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +86 -0
- package/src/sap/m/changeHandler/SplitMenuButton.js +12 -6
- package/src/sap/m/delegate/DateNavigation.js +4 -5
- package/src/sap/m/designtime/IconTabBar.designtime.js +85 -2
- package/src/sap/m/designtime/IconTabBarSelectTab.fragment.xml +17 -0
- package/src/sap/m/designtime/MenuButton.designtime.js +3 -0
- package/src/sap/m/designtime/ObjectIdentifier.designtime.js +16 -12
- package/src/sap/m/designtime/messagebundle.properties +9 -0
- package/src/sap/m/designtime/messagebundle_ar.properties +6 -0
- package/src/sap/m/designtime/messagebundle_bg.properties +6 -0
- package/src/sap/m/designtime/messagebundle_ca.properties +6 -0
- package/src/sap/m/designtime/messagebundle_cs.properties +6 -0
- package/src/sap/m/designtime/messagebundle_cy.properties +6 -0
- package/src/sap/m/designtime/messagebundle_da.properties +6 -0
- package/src/sap/m/designtime/messagebundle_de.properties +8 -2
- package/src/sap/m/designtime/messagebundle_el.properties +6 -0
- package/src/sap/m/designtime/messagebundle_en.properties +6 -0
- package/src/sap/m/designtime/messagebundle_en_GB.properties +6 -0
- package/src/sap/m/designtime/messagebundle_en_US_sappsd.properties +6 -0
- package/src/sap/m/designtime/messagebundle_en_US_saprigi.properties +6 -0
- package/src/sap/m/designtime/messagebundle_en_US_saptrc.properties +6 -0
- package/src/sap/m/designtime/messagebundle_es.properties +6 -0
- package/src/sap/m/designtime/messagebundle_es_MX.properties +6 -0
- package/src/sap/m/designtime/messagebundle_et.properties +6 -0
- package/src/sap/m/designtime/messagebundle_fi.properties +6 -0
- package/src/sap/m/designtime/messagebundle_fr.properties +6 -0
- package/src/sap/m/designtime/messagebundle_fr_CA.properties +6 -0
- package/src/sap/m/designtime/messagebundle_hi.properties +6 -0
- package/src/sap/m/designtime/messagebundle_hr.properties +6 -0
- package/src/sap/m/designtime/messagebundle_hu.properties +6 -0
- package/src/sap/m/designtime/messagebundle_id.properties +6 -0
- package/src/sap/m/designtime/messagebundle_it.properties +6 -0
- package/src/sap/m/designtime/messagebundle_iw.properties +6 -0
- package/src/sap/m/designtime/messagebundle_ja.properties +6 -0
- package/src/sap/m/designtime/messagebundle_kk.properties +6 -0
- package/src/sap/m/designtime/messagebundle_ko.properties +6 -0
- package/src/sap/m/designtime/messagebundle_lt.properties +6 -0
- package/src/sap/m/designtime/messagebundle_lv.properties +6 -0
- package/src/sap/m/designtime/messagebundle_ms.properties +6 -0
- package/src/sap/m/designtime/messagebundle_nl.properties +6 -0
- package/src/sap/m/designtime/messagebundle_no.properties +6 -0
- package/src/sap/m/designtime/messagebundle_pl.properties +6 -0
- package/src/sap/m/designtime/messagebundle_pt.properties +6 -0
- package/src/sap/m/designtime/messagebundle_pt_PT.properties +6 -0
- package/src/sap/m/designtime/messagebundle_ro.properties +6 -0
- package/src/sap/m/designtime/messagebundle_ru.properties +6 -0
- package/src/sap/m/designtime/messagebundle_sh.properties +6 -0
- package/src/sap/m/designtime/messagebundle_sk.properties +6 -0
- package/src/sap/m/designtime/messagebundle_sl.properties +6 -0
- package/src/sap/m/designtime/messagebundle_sv.properties +6 -0
- package/src/sap/m/designtime/messagebundle_th.properties +6 -0
- package/src/sap/m/designtime/messagebundle_tr.properties +6 -0
- package/src/sap/m/designtime/messagebundle_uk.properties +6 -0
- package/src/sap/m/designtime/messagebundle_vi.properties +6 -0
- package/src/sap/m/designtime/messagebundle_zh_CN.properties +6 -0
- package/src/sap/m/designtime/messagebundle_zh_TW.properties +6 -0
- package/src/sap/m/flexibility/IconTabBar.flexibility.js +21 -0
- package/src/sap/m/flexibility/MenuButton.flexibility.js +1 -0
- package/src/sap/m/inputUtils/ListHelpers.js +16 -3
- package/src/sap/m/library.js +60 -34
- package/src/sap/m/messagebundle.properties +59 -7
- package/src/sap/m/messagebundle_ar.properties +13 -5
- package/src/sap/m/messagebundle_bg.properties +13 -5
- package/src/sap/m/messagebundle_ca.properties +13 -5
- package/src/sap/m/messagebundle_cs.properties +24 -16
- package/src/sap/m/messagebundle_cy.properties +13 -5
- package/src/sap/m/messagebundle_da.properties +14 -6
- package/src/sap/m/messagebundle_de.properties +14 -6
- package/src/sap/m/messagebundle_el.properties +14 -6
- package/src/sap/m/messagebundle_en.properties +10 -2
- package/src/sap/m/messagebundle_en_GB.properties +10 -2
- package/src/sap/m/messagebundle_en_US_sappsd.properties +26 -3
- package/src/sap/m/messagebundle_en_US_saprigi.properties +39 -3
- package/src/sap/m/messagebundle_en_US_saptrc.properties +14 -6
- package/src/sap/m/messagebundle_es.properties +13 -5
- package/src/sap/m/messagebundle_es_MX.properties +16 -8
- package/src/sap/m/messagebundle_et.properties +13 -5
- package/src/sap/m/messagebundle_fi.properties +13 -5
- package/src/sap/m/messagebundle_fr.properties +26 -18
- package/src/sap/m/messagebundle_fr_CA.properties +14 -6
- package/src/sap/m/messagebundle_hi.properties +13 -5
- package/src/sap/m/messagebundle_hr.properties +13 -5
- package/src/sap/m/messagebundle_hu.properties +13 -5
- package/src/sap/m/messagebundle_id.properties +15 -7
- package/src/sap/m/messagebundle_it.properties +19 -11
- package/src/sap/m/messagebundle_iw.properties +13 -5
- package/src/sap/m/messagebundle_ja.properties +13 -5
- package/src/sap/m/messagebundle_kk.properties +13 -5
- package/src/sap/m/messagebundle_ko.properties +14 -6
- package/src/sap/m/messagebundle_lt.properties +13 -5
- package/src/sap/m/messagebundle_lv.properties +13 -5
- package/src/sap/m/messagebundle_ms.properties +14 -6
- package/src/sap/m/messagebundle_nl.properties +15 -7
- package/src/sap/m/messagebundle_no.properties +25 -17
- package/src/sap/m/messagebundle_pl.properties +17 -9
- package/src/sap/m/messagebundle_pt.properties +16 -8
- package/src/sap/m/messagebundle_pt_PT.properties +13 -5
- package/src/sap/m/messagebundle_ro.properties +18 -10
- package/src/sap/m/messagebundle_ru.properties +14 -6
- package/src/sap/m/messagebundle_sh.properties +14 -6
- package/src/sap/m/messagebundle_sk.properties +13 -5
- package/src/sap/m/messagebundle_sl.properties +13 -5
- package/src/sap/m/messagebundle_sv.properties +13 -5
- package/src/sap/m/messagebundle_th.properties +13 -5
- package/src/sap/m/messagebundle_tr.properties +13 -5
- package/src/sap/m/messagebundle_uk.properties +16 -8
- package/src/sap/m/messagebundle_vi.properties +14 -6
- package/src/sap/m/messagebundle_zh_CN.properties +13 -5
- package/src/sap/m/messagebundle_zh_TW.properties +13 -5
- package/src/sap/m/p13n/AbstractContainer.js +243 -0
- package/src/sap/m/p13n/AbstractContainerItem.js +94 -0
- package/src/sap/m/p13n/BasePanel.js +643 -0
- package/src/sap/m/p13n/Container.js +239 -0
- package/src/sap/m/p13n/GroupPanel.js +119 -0
- package/src/sap/m/p13n/QueryPanel.js +312 -0
- package/src/sap/m/p13n/SelectionPanel.js +403 -0
- package/src/sap/m/p13n/SortPanel.js +139 -0
- package/src/sap/m/plugins/ColumnResizer.js +23 -2
- package/src/sap/m/plugins/DataStateIndicator.js +1 -1
- package/src/sap/m/plugins/PasteProvider.js +9 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/routing/TargetHandler.js +24 -22
- package/src/sap/m/routing/async/Target.js +3 -2
- package/src/sap/m/semantic/AddAction.js +1 -1
- package/src/sap/m/semantic/CancelAction.js +1 -1
- package/src/sap/m/semantic/DeleteAction.js +1 -1
- package/src/sap/m/semantic/DetailPage.js +1 -1
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/m/semantic/EditAction.js +1 -1
- package/src/sap/m/semantic/FavoriteAction.js +1 -1
- package/src/sap/m/semantic/FilterAction.js +1 -1
- package/src/sap/m/semantic/FilterSelect.js +1 -1
- package/src/sap/m/semantic/FlagAction.js +1 -1
- package/src/sap/m/semantic/ForwardAction.js +1 -1
- package/src/sap/m/semantic/FullscreenPage.js +1 -1
- package/src/sap/m/semantic/GroupAction.js +1 -1
- package/src/sap/m/semantic/GroupSelect.js +1 -1
- package/src/sap/m/semantic/MainAction.js +1 -1
- package/src/sap/m/semantic/MasterPage.js +1 -1
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +1 -1
- package/src/sap/m/semantic/NegativeAction.js +1 -1
- package/src/sap/m/semantic/OpenInAction.js +1 -1
- package/src/sap/m/semantic/PositiveAction.js +1 -1
- package/src/sap/m/semantic/PrintAction.js +1 -1
- package/src/sap/m/semantic/SaveAction.js +1 -1
- package/src/sap/m/semantic/Segment.js +1 -1
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -1
- package/src/sap/m/semantic/SemanticConfiguration.js +3 -5
- 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 +2 -2
- 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/Util.js +192 -0
- package/src/sap/m/themes/base/AbstractContainer.less +17 -0
- package/src/sap/m/themes/base/ColumnListItem.less +2 -2
- package/src/sap/m/themes/base/Dialog.less +11 -28
- package/src/sap/m/themes/base/GenericTile.less +397 -18
- package/src/sap/m/themes/base/IconTabBar.less +5 -6
- package/src/sap/m/themes/base/Input.less +12 -0
- package/src/sap/m/themes/base/ListBase.less +7 -5
- package/src/sap/m/themes/base/MessagePage.less +1 -7
- package/src/sap/m/themes/base/MessageView.less +4 -0
- package/src/sap/m/themes/base/MultiComboBox.less +17 -0
- package/src/sap/m/themes/base/NewsContent.less +19 -1
- package/src/sap/m/themes/base/NumericContent.less +87 -0
- package/src/sap/m/themes/base/ObjectMarker.less +3 -0
- package/src/sap/m/themes/base/ObjectNumber.less +10 -2
- package/src/sap/m/themes/base/ObjectStatus.less +14 -0
- package/src/sap/m/themes/base/OverflowToolbarAssociativePopover.less +0 -6
- package/src/sap/m/themes/base/P13nContainer.less +17 -0
- package/src/sap/m/themes/base/P13nDialog.less +4 -0
- package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +1 -2
- package/src/sap/m/themes/base/SlideTile.less +15 -0
- package/src/sap/m/themes/base/StandardListItem.less +5 -0
- package/src/sap/m/themes/base/Table.less +9 -19
- package/src/sap/m/themes/base/TextArea.less +1 -1
- package/src/sap/m/themes/base/TileContent.less +11 -0
- package/src/sap/m/themes/base/Token.less +0 -3
- package/src/sap/m/themes/base/Tokenizer.less +6 -0
- package/src/sap/m/themes/base/UploadSet.less +5 -0
- package/src/sap/m/themes/base/ViewSettingsDialog.less +28 -1
- package/src/sap/m/themes/base/library.source.less +4 -0
- package/src/sap/m/themes/base/p13n.Container.less +17 -0
- package/src/sap/m/themes/base/p13n.QueryPanel.less +7 -0
- package/src/sap/m/themes/base/p13n.SelectionPanel.less +32 -0
- package/src/sap/m/themes/sap_hcb/IconTabBar.less +3 -3
- package/src/sap/m/upload/UploadSet.js +48 -23
- package/src/sap/m/upload/UploadSetItem.js +9 -4
- package/ui5.yaml +4 -1
- package/src/sap/m/ios7.js +0 -199
|
@@ -13,9 +13,10 @@ sap.ui.define([
|
|
|
13
13
|
"./library",
|
|
14
14
|
"./ListItemBase",
|
|
15
15
|
"./Image",
|
|
16
|
-
"./StandardListItemRenderer"
|
|
16
|
+
"./StandardListItemRenderer",
|
|
17
|
+
"sap/base/Log"
|
|
17
18
|
],
|
|
18
|
-
function(coreLibrary, IconPool, ThemeParameters, Device, library, ListItemBase, Image, StandardListItemRenderer) {
|
|
19
|
+
function(coreLibrary, IconPool, ThemeParameters, Device, library, ListItemBase, Image, StandardListItemRenderer, Log) {
|
|
19
20
|
"use strict";
|
|
20
21
|
|
|
21
22
|
|
|
@@ -37,7 +38,7 @@ sap.ui.define([
|
|
|
37
38
|
* @extends sap.m.ListItemBase
|
|
38
39
|
*
|
|
39
40
|
* @author SAP SE
|
|
40
|
-
* @version 1.
|
|
41
|
+
* @version 1.96.1
|
|
41
42
|
*
|
|
42
43
|
* @constructor
|
|
43
44
|
* @public
|
|
@@ -84,6 +85,8 @@ sap.ui.define([
|
|
|
84
85
|
|
|
85
86
|
/**
|
|
86
87
|
* Defines an additional information text.
|
|
88
|
+
* <b>Note:</b>
|
|
89
|
+
* A wrapping of the information text is also supported as of version 1.95, if <code>wrapping=true</code>. Although long strings are supported for the information text, it is recommended to use short strings. For more details, see {@link #getWrapping wrapping}.
|
|
87
90
|
*/
|
|
88
91
|
info : {type : "string", group : "Misc", defaultValue : null},
|
|
89
92
|
|
|
@@ -115,7 +118,9 @@ sap.ui.define([
|
|
|
115
118
|
*
|
|
116
119
|
* <b>Note:</b>
|
|
117
120
|
*
|
|
118
|
-
* In the desktop mode, initial rendering of the control contains 300 characters along with a button to expand and collapse the text whereas in the phone mode, the character limit is set to 100 characters
|
|
121
|
+
* In the desktop mode, initial rendering of the control contains 300 characters along with a button to expand and collapse the text whereas in the phone mode, the character limit is set to 100 characters.<br>
|
|
122
|
+
* A wrapping of the information text is supported as of 1.95. But expanding and collapsing the information text is not possible.
|
|
123
|
+
* A wrapping of the information text is disabled if <code>infoStateInverted</code> is set to <code>true</code>.
|
|
119
124
|
* @since 1.67
|
|
120
125
|
*/
|
|
121
126
|
wrapping : {type : "boolean", group : "Behavior", defaultValue : false},
|
|
@@ -126,7 +131,19 @@ sap.ui.define([
|
|
|
126
131
|
*
|
|
127
132
|
* @since 1.74
|
|
128
133
|
*/
|
|
129
|
-
infoStateInverted : {type : "boolean", group : "Appearance", defaultValue : false}
|
|
134
|
+
infoStateInverted : {type : "boolean", group : "Appearance", defaultValue : false},
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* This property can be used to change the default character limits for the wrapping behavior.
|
|
138
|
+
*
|
|
139
|
+
* If this property is set to 0, then the default character limit used by the wrapping behavior is used. For details see {@link #getWrapping wrapping}.
|
|
140
|
+
*
|
|
141
|
+
* <b>Note:</b>
|
|
142
|
+
*
|
|
143
|
+
* 0 or a positive integer must be used for this property.
|
|
144
|
+
* @since 1.94
|
|
145
|
+
*/
|
|
146
|
+
wrapCharLimit : {type : "int", group : "Behavior", defaultValue : 0}
|
|
130
147
|
},
|
|
131
148
|
designtime: "sap/m/designtime/StandardListItem.designtime"
|
|
132
149
|
}});
|
|
@@ -152,6 +169,21 @@ sap.ui.define([
|
|
|
152
169
|
return this;
|
|
153
170
|
};
|
|
154
171
|
|
|
172
|
+
StandardListItem.prototype.setWrapCharLimit = function(iLimit) {
|
|
173
|
+
var iOldCharLimit = this.getWrapCharLimit();
|
|
174
|
+
|
|
175
|
+
if (iOldCharLimit === iLimit) {
|
|
176
|
+
return this;
|
|
177
|
+
}
|
|
178
|
+
if (iLimit < 0) {
|
|
179
|
+
Log.error("The property wrapCharLimit must be 0 or greater than 0 - " + this.getId());
|
|
180
|
+
return this;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
this.setProperty("wrapCharLimit", iLimit);
|
|
184
|
+
return this;
|
|
185
|
+
};
|
|
186
|
+
|
|
155
187
|
/**
|
|
156
188
|
* @private
|
|
157
189
|
*/
|
|
@@ -250,34 +282,33 @@ sap.ui.define([
|
|
|
250
282
|
StandardListItem._themeInfo = {};
|
|
251
283
|
}
|
|
252
284
|
|
|
285
|
+
var fBaseFontSize = parseFloat(library.BaseFontSize) || 16;
|
|
286
|
+
|
|
253
287
|
if (!StandardListItem._themeInfo.sFontFamily || bThemeChanged) {
|
|
254
|
-
StandardListItem._themeInfo.sFontFamily = ThemeParameters.get(
|
|
288
|
+
StandardListItem._themeInfo.sFontFamily = ThemeParameters.get({
|
|
289
|
+
name: "sapUiFontFamily"
|
|
290
|
+
}) || "Arial";
|
|
255
291
|
}
|
|
256
292
|
|
|
257
293
|
if (!StandardListItem._themeInfo.sFontStyleInfoStateInverted || bThemeChanged) {
|
|
258
|
-
StandardListItem._themeInfo.sFontStyleInfoStateInverted = "bold " + parseFloat(ThemeParameters.get(
|
|
294
|
+
StandardListItem._themeInfo.sFontStyleInfoStateInverted = "bold " + parseFloat(ThemeParameters.get({
|
|
295
|
+
name: "sapMFontSmallSize"
|
|
296
|
+
}) || "0.75rem") * fBaseFontSize + "px " + StandardListItem._themeInfo.sFontFamily;
|
|
259
297
|
}
|
|
260
298
|
|
|
261
299
|
if (!StandardListItem._themeInfo.sFontStyle || bThemeChanged) {
|
|
262
|
-
StandardListItem._themeInfo.sFontStyle = parseFloat(ThemeParameters.get(
|
|
300
|
+
StandardListItem._themeInfo.sFontStyle = parseFloat(ThemeParameters.get({
|
|
301
|
+
name: "sapMFontMediumSize"
|
|
302
|
+
}) || "0.875rem") * fBaseFontSize + "px " + StandardListItem._themeInfo.sFontFamily;
|
|
263
303
|
}
|
|
264
304
|
|
|
265
|
-
if (!StandardListItem.
|
|
266
|
-
StandardListItem.
|
|
305
|
+
if (!StandardListItem._oCtx) {
|
|
306
|
+
StandardListItem._oCtx = document.createElement("canvas").getContext("2d");
|
|
267
307
|
}
|
|
268
308
|
|
|
269
|
-
|
|
270
|
-
StandardListItem._oCanvas = document.createElement("canvas");
|
|
271
|
-
StandardListItem._oCtx = StandardListItem._oCanvas.getContext("2d");
|
|
272
|
-
}
|
|
309
|
+
StandardListItem._oCtx.font = StandardListItem._themeInfo[this.getInfoStateInverted() ? "sFontStyleInfoStateInverted" : "sFontStyle"];
|
|
273
310
|
|
|
274
|
-
|
|
275
|
-
StandardListItem._oCtx.font = StandardListItem._themeInfo.sFontStyleInfoStateInverted || "";
|
|
276
|
-
} else {
|
|
277
|
-
StandardListItem._oCtx.font = StandardListItem._themeInfo.sFontStyle || "";
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
return Math.ceil(StandardListItem._oCtx.measureText(this.getInfo()).width) / StandardListItem._themeInfo.iBaseFontSize;
|
|
311
|
+
return Math.ceil(StandardListItem._oCtx.measureText(this.getInfo()).width) / fBaseFontSize;
|
|
281
312
|
};
|
|
282
313
|
|
|
283
314
|
/**
|
|
@@ -303,11 +334,20 @@ sap.ui.define([
|
|
|
303
334
|
StandardListItem.prototype.ontap = function(oEvent) {
|
|
304
335
|
this._checkExpandCollapse(oEvent);
|
|
305
336
|
|
|
306
|
-
|
|
307
|
-
return ListItemBase.prototype.ontap.apply(this, arguments);
|
|
308
|
-
}
|
|
337
|
+
return ListItemBase.prototype.ontap.apply(this, arguments);
|
|
309
338
|
};
|
|
310
339
|
|
|
340
|
+
StandardListItem.prototype.ontouchstart = function(oEvent) {
|
|
341
|
+
var sId = oEvent.target && oEvent.target.id,
|
|
342
|
+
sStdListId = this.getId();
|
|
343
|
+
|
|
344
|
+
if (sId === sStdListId + "-titleButton" || sId === sStdListId + "-descriptionButton") {
|
|
345
|
+
oEvent.setMarked();
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
return ListItemBase.prototype.ontouchstart.apply(this, arguments);
|
|
349
|
+
};
|
|
350
|
+
|
|
311
351
|
StandardListItem.prototype.onsapspace = function(oEvent) {
|
|
312
352
|
// prevent default not to scroll down, hence 2nd parameter is true
|
|
313
353
|
this._checkExpandCollapse(oEvent, true);
|
|
@@ -380,8 +420,11 @@ sap.ui.define([
|
|
|
380
420
|
* @private
|
|
381
421
|
*/
|
|
382
422
|
StandardListItem.prototype._getCollapsedText = function(sText) {
|
|
383
|
-
|
|
384
|
-
|
|
423
|
+
return sText.substr(0, this._getWrapCharLimit());
|
|
424
|
+
};
|
|
425
|
+
|
|
426
|
+
StandardListItem.prototype._getWrapCharLimit = function() {
|
|
427
|
+
return this.getWrapCharLimit() || (Device.system.phone ? 100 : 300);
|
|
385
428
|
};
|
|
386
429
|
|
|
387
430
|
StandardListItem.prototype.onThemeChanged = function(oEvent) {
|
|
@@ -218,7 +218,11 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/Core", "sap/ui/core/Renderer"
|
|
|
218
218
|
rm.style("min-width", oLI._getInfoTextMinWidth(fWidth));
|
|
219
219
|
|
|
220
220
|
rm.openEnd();
|
|
221
|
-
|
|
221
|
+
if (oLI.getWrapping() && !bInfoStateInverted) {
|
|
222
|
+
this.renderWrapping(rm, oLI, "info");
|
|
223
|
+
} else {
|
|
224
|
+
rm.text(oLI.getInfo());
|
|
225
|
+
}
|
|
222
226
|
rm.close("div");
|
|
223
227
|
};
|
|
224
228
|
|
|
@@ -255,25 +259,33 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/Core", "sap/ui/core/Renderer"
|
|
|
255
259
|
*/
|
|
256
260
|
StandardListItemRenderer.renderWrapping = function(rm, oLI, sWrapArea) {
|
|
257
261
|
var sId = oLI.getId(),
|
|
258
|
-
|
|
259
|
-
sText
|
|
260
|
-
|
|
261
|
-
|
|
262
|
+
iMaxCharacters = oLI._getWrapCharLimit(),
|
|
263
|
+
sText, bTextExpanded;
|
|
264
|
+
|
|
265
|
+
if (sWrapArea === "title") {
|
|
266
|
+
sText = oLI.getTitle();
|
|
267
|
+
bTextExpanded = oLI._bTitleTextExpanded;
|
|
268
|
+
} else if (sWrapArea === "description") {
|
|
269
|
+
sText = oLI.getDescription();
|
|
270
|
+
bTextExpanded = oLI._bDescriptionTextExpanded;
|
|
271
|
+
} else {
|
|
272
|
+
sText = oLI.getInfo();
|
|
273
|
+
}
|
|
262
274
|
|
|
263
275
|
rm.openStart("span", sId + "-" + sWrapArea + "Text").attr("aria-live", "polite").openEnd();
|
|
264
276
|
|
|
265
|
-
if (!bTextExpanded) {
|
|
277
|
+
if (!bTextExpanded && sWrapArea !== "info") {
|
|
266
278
|
var sCollapsedText = oLI._getCollapsedText(sText);
|
|
267
279
|
rm.text(sCollapsedText);
|
|
268
|
-
} else if (
|
|
280
|
+
} else if (sWrapArea == "title") {
|
|
269
281
|
this.renderTitle(rm, oLI);
|
|
270
282
|
} else {
|
|
271
|
-
rm.text(
|
|
283
|
+
rm.text(sText);
|
|
272
284
|
}
|
|
273
285
|
|
|
274
286
|
rm.close("span");
|
|
275
287
|
|
|
276
|
-
if (sText.length > iMaxCharacters) {
|
|
288
|
+
if (sText.length > iMaxCharacters && sWrapArea !== "info") {
|
|
277
289
|
this.renderExpandCollapse(rm, oLI, sWrapArea);
|
|
278
290
|
}
|
|
279
291
|
};
|
package/src/sap/m/StepInput.js
CHANGED
|
@@ -130,7 +130,7 @@ function(
|
|
|
130
130
|
* @implements sap.ui.core.IFormContent
|
|
131
131
|
*
|
|
132
132
|
* @author SAP SE
|
|
133
|
-
* @version 1.
|
|
133
|
+
* @version 1.96.1
|
|
134
134
|
*
|
|
135
135
|
* @constructor
|
|
136
136
|
* @public
|
|
@@ -430,7 +430,7 @@ function(
|
|
|
430
430
|
Input.prototype.setValue.apply(this, arguments);
|
|
431
431
|
|
|
432
432
|
if (this.getDomRef()) {
|
|
433
|
-
|
|
433
|
+
this.getDomRef("inner").setAttribute("aria-valuenow", sValue);
|
|
434
434
|
}
|
|
435
435
|
|
|
436
436
|
return this;
|
|
@@ -461,7 +461,7 @@ function(
|
|
|
461
461
|
StepInput.prototype.onBeforeRendering = function () {
|
|
462
462
|
var fMin = this._getMin(),
|
|
463
463
|
fMax = this._getMax(),
|
|
464
|
-
vValue = this.
|
|
464
|
+
vValue = this._sOriginalValue || this.getValue(),
|
|
465
465
|
bEditable = this.getEditable();
|
|
466
466
|
|
|
467
467
|
this._iRealPrecision = this._getRealValuePrecision();
|
|
@@ -486,6 +486,7 @@ function(
|
|
|
486
486
|
|
|
487
487
|
StepInput.prototype.exit = function () {
|
|
488
488
|
this.$().off(Device.browser.firefox ? "DOMMouseScroll" : "mousewheel", this._onmousewheel);
|
|
489
|
+
this._sOriginalValue = null;
|
|
489
490
|
};
|
|
490
491
|
|
|
491
492
|
StepInput.prototype.setProperty = function (sPropertyName, oValue, bSuppressInvalidate) {
|
|
@@ -589,8 +590,19 @@ function(
|
|
|
589
590
|
* @private
|
|
590
591
|
*/
|
|
591
592
|
StepInput.prototype._getIncrementButton = function () {
|
|
592
|
-
var endIcons = this._getInput().getAggregation("_endIcon");
|
|
593
|
-
|
|
593
|
+
var endIcons = this._getInput().getAggregation("_endIcon") || [];
|
|
594
|
+
var oIncrementIcon = null;
|
|
595
|
+
|
|
596
|
+
// sap.m.Input constructor provides some icons on its own.
|
|
597
|
+
// Clear icon is always at index 0;
|
|
598
|
+
// Value help icon is at index 1;
|
|
599
|
+
// Though in this case the Input is controlled by the StepInput's code, the safe approach
|
|
600
|
+
// will be to look for the increment button at the last index in the aggregation.
|
|
601
|
+
if (endIcons.length) {
|
|
602
|
+
oIncrementIcon = endIcons[endIcons.length - 1];
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
return oIncrementIcon;
|
|
594
606
|
};
|
|
595
607
|
|
|
596
608
|
/**
|
|
@@ -908,6 +920,7 @@ function(
|
|
|
908
920
|
return this;
|
|
909
921
|
}
|
|
910
922
|
|
|
923
|
+
this._sOriginalValue = oValue;
|
|
911
924
|
this._applyValue(oValue);
|
|
912
925
|
this._disableButtons(Number(this._getInput().getValue()), this._getMax(), this._getMin());
|
|
913
926
|
|
|
@@ -1579,7 +1592,8 @@ function(
|
|
|
1579
1592
|
onmouseup: function (oEvent) {
|
|
1580
1593
|
// check if the left mouse button is up
|
|
1581
1594
|
// handled in touchend for mobile
|
|
1582
|
-
|
|
1595
|
+
// but the touchend comes before mousedown on android
|
|
1596
|
+
if (oEvent.button === 0) {
|
|
1583
1597
|
this._bDelayedEventFire = undefined;
|
|
1584
1598
|
this._btndown = false;
|
|
1585
1599
|
this._stopSpin();
|
|
@@ -1592,15 +1606,13 @@ function(
|
|
|
1592
1606
|
}
|
|
1593
1607
|
}.bind(this),
|
|
1594
1608
|
oncontextmenu: function (oEvent) {
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
oEvent.preventDefault();
|
|
1601
|
-
}
|
|
1602
|
-
oEvent.stopPropagation();
|
|
1609
|
+
// Context menu is shown on "long-touch"
|
|
1610
|
+
// so prevent of showing it while "long-touching" on the button
|
|
1611
|
+
oEvent.stopImmediatePropagation(true);
|
|
1612
|
+
if (oEvent.originalEvent && oEvent.originalEvent.cancelable) {
|
|
1613
|
+
oEvent.preventDefault();
|
|
1603
1614
|
}
|
|
1615
|
+
oEvent.stopPropagation();
|
|
1604
1616
|
},
|
|
1605
1617
|
ontouchend: function(oEvent) {
|
|
1606
1618
|
if (Device.system.phone || Device.system.tablet) {
|
|
@@ -1674,6 +1686,10 @@ function(
|
|
|
1674
1686
|
}
|
|
1675
1687
|
};
|
|
1676
1688
|
|
|
1689
|
+
StepInput.prototype.getFocusDomRef = function() {
|
|
1690
|
+
return this.getAggregation("_input").getFocusDomRef();
|
|
1691
|
+
};
|
|
1692
|
+
|
|
1677
1693
|
/*
|
|
1678
1694
|
* Resets timeouts and speed to initial values.
|
|
1679
1695
|
*/
|
package/src/sap/m/Suggest.js
CHANGED
|
@@ -4,24 +4,29 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define([
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
7
|
+
sap.ui.define([
|
|
8
|
+
"./Toolbar",
|
|
9
|
+
"./Button",
|
|
10
|
+
"./Dialog",
|
|
11
|
+
"./Popover",
|
|
12
|
+
"./SuggestionsList",
|
|
13
|
+
"./SuggestionItem",
|
|
14
|
+
"sap/ui/Device",
|
|
15
|
+
"sap/m/library",
|
|
16
|
+
"sap/ui/core/Core",
|
|
17
|
+
"sap/ui/core/InvisibleText"
|
|
18
|
+
], function (
|
|
19
|
+
Toolbar,
|
|
20
|
+
Button,
|
|
21
|
+
Dialog,
|
|
22
|
+
Popover,
|
|
23
|
+
SuggestionsList,
|
|
24
|
+
SuggestionItem,
|
|
25
|
+
Device,
|
|
26
|
+
library,
|
|
27
|
+
Core,
|
|
28
|
+
InvisibleText
|
|
29
|
+
) {
|
|
25
30
|
"use strict";
|
|
26
31
|
|
|
27
32
|
// shortcut for sap.m.PlacementType
|
|
@@ -53,11 +58,6 @@ sap.ui.define(['jquery.sap.global',
|
|
|
53
58
|
bUseDialog = Device.system.phone,
|
|
54
59
|
self = this;
|
|
55
60
|
|
|
56
|
-
// 1. Conditional loading depending on the device type.
|
|
57
|
-
// 2. Resolve circular dependency Dialog -> OverflowToolbar -> SearchField:
|
|
58
|
-
//TODO: global jquery call found
|
|
59
|
-
jQuery.sap.require(bUseDialog ? "sap.m.Dialog" : "sap.m.Popover");
|
|
60
|
-
|
|
61
61
|
/* =========================================================== */
|
|
62
62
|
/* events processing */
|
|
63
63
|
/* =========================================================== */
|
|
@@ -133,7 +133,7 @@ sap.ui.define(['jquery.sap.global',
|
|
|
133
133
|
}
|
|
134
134
|
});
|
|
135
135
|
|
|
136
|
-
dialog = new
|
|
136
|
+
dialog = new Dialog({
|
|
137
137
|
stretch: true,
|
|
138
138
|
customHeader: customHeader,
|
|
139
139
|
content: getList(),
|
|
@@ -164,7 +164,7 @@ sap.ui.define(['jquery.sap.global',
|
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
function createPopover() {
|
|
167
|
-
var popover = self._oPopover =
|
|
167
|
+
var popover = self._oPopover = new Popover({
|
|
168
168
|
showArrow: false,
|
|
169
169
|
showHeader: false,
|
|
170
170
|
horizontalScrolling: false,
|
|
@@ -22,7 +22,7 @@ sap.ui.define(['./library', 'sap/ui/core/Item', 'sap/ui/core/IconPool'],
|
|
|
22
22
|
* @extends sap.ui.core.Item
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.96.1
|
|
26
26
|
* @since 1.34
|
|
27
27
|
*
|
|
28
28
|
* @constructor
|
|
@@ -147,11 +147,5 @@ sap.ui.define(['./library', 'sap/ui/core/Item', 'sap/ui/core/IconPool'],
|
|
|
147
147
|
return this.getText();
|
|
148
148
|
};
|
|
149
149
|
|
|
150
|
-
// Suppress invalidate of the parent input field by property changes.
|
|
151
|
-
SuggestionItem.prototype.invalidate = function() {
|
|
152
|
-
return undefined;
|
|
153
|
-
};
|
|
154
|
-
|
|
155
150
|
return SuggestionItem;
|
|
156
|
-
|
|
157
151
|
});
|
package/src/sap/m/Switch.js
CHANGED
|
@@ -48,7 +48,7 @@ function(
|
|
|
48
48
|
* @extends sap.ui.core.Control
|
|
49
49
|
*
|
|
50
50
|
* @author SAP SE
|
|
51
|
-
* @version 1.
|
|
51
|
+
* @version 1.96.1
|
|
52
52
|
*
|
|
53
53
|
* @constructor
|
|
54
54
|
* @public
|
|
@@ -274,7 +274,7 @@ function(
|
|
|
274
274
|
this.$("switch").addClass(CSS_CLASS + "Pressed");
|
|
275
275
|
|
|
276
276
|
// necessary for fixing handle movement when the switch is shorter (no label) in some themes | BCP: 2170252080
|
|
277
|
-
this._iNoLabelFix = parseInt(
|
|
277
|
+
this._iNoLabelFix = parseInt(getComputedStyle(this.getDomRef("switch")).outlineOffset);
|
|
278
278
|
};
|
|
279
279
|
|
|
280
280
|
/**
|
package/src/sap/m/TabStrip.js
CHANGED
package/src/sap/m/Table.js
CHANGED
|
@@ -65,7 +65,7 @@ sap.ui.define([
|
|
|
65
65
|
* @extends sap.m.ListBase
|
|
66
66
|
*
|
|
67
67
|
* @author SAP SE
|
|
68
|
-
* @version 1.
|
|
68
|
+
* @version 1.96.1
|
|
69
69
|
*
|
|
70
70
|
* @constructor
|
|
71
71
|
* @public
|
|
@@ -849,9 +849,7 @@ sap.ui.define([
|
|
|
849
849
|
}
|
|
850
850
|
|
|
851
851
|
// prevent disabling of internal controls by the sap.ui.core.EnabledPropagator
|
|
852
|
-
this._selectAllCheckBox.
|
|
853
|
-
return this._selectAllCheckBox.getProperty("enabled");
|
|
854
|
-
}.bind(this);
|
|
852
|
+
this._selectAllCheckBox.useEnabledPropagator(false);
|
|
855
853
|
|
|
856
854
|
return this._selectAllCheckBox;
|
|
857
855
|
};
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @class Table Personalization Controller
|
|
39
39
|
* @extends sap.ui.base.ManagedObject
|
|
40
40
|
* @author SAP
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.96.1
|
|
42
42
|
* @alias sap.m.TablePersoController
|
|
43
43
|
*/
|
|
44
44
|
var TablePersoController = ManagedObject.extend("sap.m.TablePersoController", /** @lends sap.m.TablePersoController */
|
|
@@ -87,7 +87,7 @@ sap.ui.define([
|
|
|
87
87
|
* @class Table Personalization Dialog
|
|
88
88
|
* @extends sap.ui.base.ManagedObject
|
|
89
89
|
* @author SAP
|
|
90
|
-
* @version 1.
|
|
90
|
+
* @version 1.96.1
|
|
91
91
|
* @alias sap.m.TablePersoDialog
|
|
92
92
|
*/
|
|
93
93
|
var TablePersoDialog = ManagedObject.extend("sap.m.TablePersoDialog", /** @lends sap.m.TablePersoDialog */
|
|
@@ -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.96.1
|
|
25
25
|
* @alias sap.m.TablePersoProvider
|
|
26
26
|
*/
|
|
27
27
|
var TablePersoProvider = ManagedObject.extend("sap.m.TablePersoProvider", /** @lends sap.m.TablePersoProvider */
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/Core", "./library", "./ListBaseRenderer", "./ColumnListItemRenderer"],
|
|
8
|
-
function(Renderer, Core, library, ListBaseRenderer, ColumnListItemRenderer) {
|
|
7
|
+
sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/Core", "sap/ui/core/InvisibleText", "./library", "./ListBaseRenderer", "./ColumnListItemRenderer"],
|
|
8
|
+
function(Renderer, Core, InvisibleText, library, ListBaseRenderer, ColumnListItemRenderer) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
|
|
@@ -289,7 +289,7 @@ sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/Core", "./library", "./ListB
|
|
|
289
289
|
TableRenderer.renderListStartAttributes = function(rm, oControl) {
|
|
290
290
|
rm.openStart("table", oControl.getId("listUl"));
|
|
291
291
|
rm.class("sapMListTbl");
|
|
292
|
-
rm.attr("aria-labelledby",
|
|
292
|
+
rm.attr("aria-labelledby", oControl.getAriaLabelledBy().concat(this.getAriaLabelledBy(oControl), InvisibleText.getStaticId("sap.m", "TABLE_ARIA_LABEL")).join(" "));
|
|
293
293
|
if (oControl.getFixedLayout() === false) {
|
|
294
294
|
rm.style("table-layout", "auto");
|
|
295
295
|
}
|
|
@@ -98,7 +98,7 @@ sap.ui.define([
|
|
|
98
98
|
* When using the <code>sap.m.TableSelectDialog</code> in SAP Quartz 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>.
|
|
99
99
|
* @extends sap.m.SelectDialogBase
|
|
100
100
|
* @author SAP SE
|
|
101
|
-
* @version 1.
|
|
101
|
+
* @version 1.96.1
|
|
102
102
|
*
|
|
103
103
|
* @constructor
|
|
104
104
|
* @public
|
package/src/sap/m/Text.js
CHANGED
|
@@ -54,7 +54,7 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
54
54
|
* @implements sap.ui.core.IShrinkable, sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
|
|
55
55
|
*
|
|
56
56
|
* @author SAP SE
|
|
57
|
-
* @version 1.
|
|
57
|
+
* @version 1.96.1
|
|
58
58
|
*
|
|
59
59
|
* @constructor
|
|
60
60
|
* @public
|
package/src/sap/m/TextArea.js
CHANGED
|
@@ -82,7 +82,7 @@ function(
|
|
|
82
82
|
* @extends sap.m.InputBase
|
|
83
83
|
*
|
|
84
84
|
* @author SAP SE
|
|
85
|
-
* @version 1.
|
|
85
|
+
* @version 1.96.1
|
|
86
86
|
*
|
|
87
87
|
* @constructor
|
|
88
88
|
* @public
|
|
@@ -142,7 +142,7 @@ function(
|
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
144
|
* Indicates the ability of the control to automatically grow and shrink dynamically with its content.
|
|
145
|
-
* <b>Note:</b>
|
|
145
|
+
* <b>Note:</b> This property should not be used when the <code>height</code> property is set.
|
|
146
146
|
* @since 1.38.0
|
|
147
147
|
*/
|
|
148
148
|
growing : {type : "boolean", group : "Behavior", defaultValue : false},
|
package/src/sap/m/Tile.js
CHANGED