@openui5/sap.m 1.92.0 → 1.95.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +1 -6
- package/THIRDPARTY.txt +4 -10
- 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 +26 -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 +42 -6
- package/src/sap/m/Carousel.js +11 -3
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +9 -4
- package/src/sap/m/CheckBoxRenderer.js +12 -3
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +9 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +8 -2
- 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 +6 -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 +30 -3
- package/src/sap/m/DatePickerRenderer.js +1 -1
- package/src/sap/m/DateRangeSelection.js +2 -2
- package/src/sap/m/DateTimeField.js +69 -1
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +15 -8
- package/src/sap/m/Dialog.js +31 -93
- 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 +67 -13
- package/src/sap/m/DynamicDateFormat.js +12 -1
- package/src/sap/m/DynamicDateOption.js +56 -16
- package/src/sap/m/DynamicDateRange.js +136 -23
- package/src/sap/m/DynamicDateUtil.js +20 -2
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +4 -2
- package/src/sap/m/FacetFilter.js +47 -16
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +2 -2
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +5 -2
- 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 +32 -67
- 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 +9 -3
- package/src/sap/m/GenericTileRenderer.js +46 -8
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +31 -34
- 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 +2 -2
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +75 -37
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +21 -7
- package/src/sap/m/IconTabHeaderRenderer.js +1 -0
- 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 +131 -37
- 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 +2 -2
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +61 -24
- package/src/sap/m/ListItemBase.js +22 -21
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +21 -4
- 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 +31 -1
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +1 -1
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +1 -4
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageStripUtilities.js +15 -2
- package/src/sap/m/MessageToast.js +2 -2
- package/src/sap/m/MessageView.js +10 -10
- package/src/sap/m/MultiComboBox.js +164 -163
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +54 -6
- package/src/sap/m/NavContainer.js +20 -9
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectHeaderRenderer.js +9 -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/OverflowToolbar.js +8 -2
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/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 +1 -1
- package/src/sap/m/P13nConditionPanel.js +2 -2
- package/src/sap/m/P13nDialog.js +1 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +1 -1
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +1 -1
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +1 -1
- package/src/sap/m/P13nItem.js +1 -1
- package/src/sap/m/P13nPanel.js +1 -1
- package/src/sap/m/P13nSelectionItem.js +1 -1
- package/src/sap/m/P13nSelectionPanel.js +1 -1
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +1 -1
- package/src/sap/m/PDFViewer.js +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 +260 -54
- package/src/sap/m/PlanningCalendarHeader.js +36 -5
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarLegendRenderer.js +2 -0
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +26 -2
- package/src/sap/m/Popover.js +15 -6
- 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 +5 -5
- 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 +78 -36
- 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 +38 -20
- package/src/sap/m/SearchFieldRenderer.js +29 -15
- package/src/sap/m/SegmentedButton.js +12 -17
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +36 -17
- package/src/sap/m/SelectDialog.js +21 -49
- package/src/sap/m/SelectDialogBase.js +148 -0
- package/src/sap/m/SelectList.js +13 -3
- package/src/sap/m/SelectRenderer.js +15 -3
- package/src/sap/m/SelectionDetails.js +5 -2
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +9 -17
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +4 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +57 -7
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +27 -19
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +11 -1
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +3 -3
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderRenderer.js +2 -2
- 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 +4 -5
- package/src/sap/m/StandardDynamicDateOption.js +45 -10
- package/src/sap/m/StandardListItem.js +63 -13
- 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 +22 -5
- package/src/sap/m/Suggest.js +25 -25
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +49 -9
- 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 +6 -5
- package/src/sap/m/TableSelectDialog.js +21 -46
- package/src/sap/m/Text.js +2 -2
- package/src/sap/m/TextArea.js +2 -2
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +2 -2
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TimePicker.js +11 -5
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClocks.js +4 -1
- package/src/sap/m/TimePickerInputs.js +5 -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/TimePickerSlidersRenderer.js +0 -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 +6 -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 +4 -4
- package/src/sap/m/UploadCollection.js +2 -2
- 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 +7 -7
- 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 +1 -1
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +76 -44
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +18 -23
- package/src/sap/m/changeHandler/CombineButtons.js +281 -175
- package/src/sap/m/changeHandler/MoveTableColumns.js +143 -111
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +77 -0
- package/src/sap/m/changeHandler/SplitMenuButton.js +147 -93
- package/src/sap/m/designtime/IconTabBar.designtime.js +82 -2
- package/src/sap/m/designtime/IconTabBarSelectTab.fragment.xml +17 -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 +6 -0
- 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_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/inputUtils/calculateSelectionStart.js +1 -1
- package/src/sap/m/inputUtils/wordStartsWithValue.js +5 -1
- package/src/sap/m/library.js +28 -5
- package/src/sap/m/messagebundle.properties +22 -5
- package/src/sap/m/messagebundle_ar.properties +13 -0
- package/src/sap/m/messagebundle_bg.properties +13 -0
- package/src/sap/m/messagebundle_ca.properties +13 -0
- package/src/sap/m/messagebundle_cs.properties +24 -11
- package/src/sap/m/messagebundle_cy.properties +13 -0
- package/src/sap/m/messagebundle_da.properties +14 -1
- package/src/sap/m/messagebundle_de.properties +18 -5
- package/src/sap/m/messagebundle_el.properties +14 -1
- package/src/sap/m/messagebundle_en.properties +15 -2
- package/src/sap/m/messagebundle_en_GB.properties +13 -0
- package/src/sap/m/messagebundle_en_US_sappsd.properties +15 -2
- package/src/sap/m/messagebundle_en_US_saptrc.properties +18 -5
- package/src/sap/m/messagebundle_es.properties +13 -0
- package/src/sap/m/messagebundle_es_MX.properties +16 -3
- package/src/sap/m/messagebundle_et.properties +13 -0
- package/src/sap/m/messagebundle_fi.properties +13 -0
- package/src/sap/m/messagebundle_fr.properties +19 -6
- package/src/sap/m/messagebundle_fr_CA.properties +13 -0
- package/src/sap/m/messagebundle_hi.properties +13 -0
- package/src/sap/m/messagebundle_hr.properties +13 -0
- package/src/sap/m/messagebundle_hu.properties +13 -0
- package/src/sap/m/messagebundle_id.properties +15 -2
- package/src/sap/m/messagebundle_it.properties +19 -6
- package/src/sap/m/messagebundle_iw.properties +13 -0
- package/src/sap/m/messagebundle_ja.properties +13 -0
- package/src/sap/m/messagebundle_kk.properties +13 -0
- package/src/sap/m/messagebundle_ko.properties +14 -1
- package/src/sap/m/messagebundle_lt.properties +13 -0
- package/src/sap/m/messagebundle_lv.properties +13 -0
- package/src/sap/m/messagebundle_ms.properties +14 -1
- package/src/sap/m/messagebundle_nl.properties +15 -2
- package/src/sap/m/messagebundle_no.properties +25 -12
- package/src/sap/m/messagebundle_pl.properties +17 -4
- package/src/sap/m/messagebundle_pt.properties +16 -3
- package/src/sap/m/messagebundle_pt_PT.properties +13 -0
- package/src/sap/m/messagebundle_ro.properties +18 -5
- package/src/sap/m/messagebundle_ru.properties +14 -1
- package/src/sap/m/messagebundle_sh.properties +14 -1
- package/src/sap/m/messagebundle_sk.properties +13 -0
- package/src/sap/m/messagebundle_sl.properties +13 -0
- package/src/sap/m/messagebundle_sv.properties +13 -0
- package/src/sap/m/messagebundle_th.properties +13 -0
- package/src/sap/m/messagebundle_tr.properties +13 -0
- package/src/sap/m/messagebundle_uk.properties +16 -3
- package/src/sap/m/messagebundle_vi.properties +14 -1
- package/src/sap/m/messagebundle_zh_CN.properties +13 -0
- package/src/sap/m/messagebundle_zh_TW.properties +13 -0
- package/src/sap/m/plugins/ColumnResizer.js +23 -2
- package/src/sap/m/plugins/DataStateIndicator.js +5 -3
- 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 +15 -18
- 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 +1 -1
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +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/themes/base/CheckBox.less +1 -1
- 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/FeedInput.less +5 -6
- package/src/sap/m/themes/base/GenericTile.less +129 -6
- package/src/sap/m/themes/base/IconTabBar.less +169 -61
- package/src/sap/m/themes/base/IconTabBarSelectList.less +8 -0
- 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/ObjectHeader.less +2 -1
- package/src/sap/m/themes/base/ObjectMarker.less +3 -0
- package/src/sap/m/themes/base/ObjectNumber.less +1 -1
- package/src/sap/m/themes/base/ObjectStatus.less +19 -2
- package/src/sap/m/themes/base/OverflowToolbarAssociativePopover.less +0 -6
- package/src/sap/m/themes/base/PlanningCalendar.less +23 -7
- package/src/sap/m/themes/base/Popover.less +1 -1
- package/src/sap/m/themes/base/ProgressIndicator.less +7 -6
- package/src/sap/m/themes/base/RadioButton.less +3 -0
- package/src/sap/m/themes/base/SearchField.less +1 -1
- package/src/sap/m/themes/base/StandardListItem.less +9 -0
- package/src/sap/m/themes/base/Table.less +14 -23
- package/src/sap/m/themes/base/TextArea.less +1 -1
- package/src/sap/m/themes/base/TimePicker.less +5 -1
- package/src/sap/m/themes/base/TimePickerSliders.less +1 -5
- package/src/sap/m/themes/base/Tokenizer.less +6 -0
- package/src/sap/m/themes/base/Toolbar.less +6 -0
- package/src/sap/m/themes/base/UploadSet.less +5 -0
- package/src/sap/m/themes/base/ViewSettingsDialog.less +29 -2
- package/src/sap/m/themes/sap_hcb/IconTabBar.less +3 -3
- package/src/sap/m/upload/UploadSet.js +35 -6
- package/src/sap/m/upload/UploadSetItem.js +18 -3
|
@@ -81,7 +81,7 @@ sap.ui.define([
|
|
|
81
81
|
* @extends sap.ui.core.Control
|
|
82
82
|
*
|
|
83
83
|
* @author SAP SE
|
|
84
|
-
* @version 1.
|
|
84
|
+
* @version 1.95.0
|
|
85
85
|
*
|
|
86
86
|
* @constructor
|
|
87
87
|
* @private
|
|
@@ -392,6 +392,7 @@ sap.ui.define([
|
|
|
392
392
|
*/
|
|
393
393
|
SinglePlanningCalendarMonthGrid.prototype._toggleAppointmentSelection = function (oAppointment, bRemoveOldSelection) {
|
|
394
394
|
var aChangedApps = [],
|
|
395
|
+
oAppointmentDomRef = oAppointment && oAppointment.getDomRef(),
|
|
395
396
|
aAppointments,
|
|
396
397
|
iAppointmentsLength,
|
|
397
398
|
i;
|
|
@@ -411,6 +412,9 @@ sap.ui.define([
|
|
|
411
412
|
if (oAppointment) {
|
|
412
413
|
oAppointment.setProperty("selected", !oAppointment.getSelected());
|
|
413
414
|
aChangedApps.push(oAppointment);
|
|
415
|
+
this._sSelectedAppointment = oAppointment.getSelected() && oAppointmentDomRef ? oAppointment : undefined;
|
|
416
|
+
} else {
|
|
417
|
+
this._sSelectedAppointment = undefined;
|
|
414
418
|
}
|
|
415
419
|
|
|
416
420
|
return aChangedApps;
|
|
@@ -860,5 +864,11 @@ sap.ui.define([
|
|
|
860
864
|
return specialDates;
|
|
861
865
|
};
|
|
862
866
|
|
|
867
|
+
SinglePlanningCalendarMonthGrid.prototype.applyFocusInfo = function() {
|
|
868
|
+
// directly focus appointment part, if there is any selected
|
|
869
|
+
this._sSelectedAppointment && this._sSelectedAppointment.focus();
|
|
870
|
+
return this;
|
|
871
|
+
};
|
|
872
|
+
|
|
863
873
|
return SinglePlanningCalendarMonthGrid;
|
|
864
874
|
});
|
package/src/sap/m/SlideTile.js
CHANGED
|
@@ -41,7 +41,7 @@ sap.ui.define([
|
|
|
41
41
|
* @extends sap.ui.core.Control
|
|
42
42
|
*
|
|
43
43
|
* @author SAP SE
|
|
44
|
-
* @version 1.
|
|
44
|
+
* @version 1.95.0
|
|
45
45
|
* @since 1.34
|
|
46
46
|
*
|
|
47
47
|
* @public
|
|
@@ -477,8 +477,8 @@ sap.ui.define([
|
|
|
477
477
|
* Scrolls to the next tile, forward or backward
|
|
478
478
|
*
|
|
479
479
|
* @private
|
|
480
|
-
* @param {
|
|
481
|
-
* @param {
|
|
480
|
+
* @param {boolean} pause Triggers if the animation gets paused or not
|
|
481
|
+
* @param {boolean} backward Sets the direction backward or forward
|
|
482
482
|
*/
|
|
483
483
|
SlideTile.prototype._scrollToNextTile = function (pause, backward) {
|
|
484
484
|
var iTransitionTime = this._iCurrAnimationTime - this.getDisplayTime(),
|
package/src/sap/m/Slider.js
CHANGED
|
@@ -213,7 +213,7 @@ sap.ui.define(['./SliderUtilities', "sap/ui/core/InvisibleText"],
|
|
|
213
213
|
this.renderTickmarksLabel(oRm, oSlider, oSlider.getMin());
|
|
214
214
|
oRm.openStart("li")
|
|
215
215
|
.class(SliderRenderer.CSS_CLASS + "Tick")
|
|
216
|
-
.style("width", fTickmarksDistance + "
|
|
216
|
+
.style("width", fTickmarksDistance + "%")
|
|
217
217
|
.openEnd()
|
|
218
218
|
.close("li");
|
|
219
219
|
|
|
@@ -224,7 +224,7 @@ sap.ui.define(['./SliderUtilities', "sap/ui/core/InvisibleText"],
|
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
oRm.openStart("li").class(SliderRenderer.CSS_CLASS + "Tick")
|
|
227
|
-
.style("width", fTickmarksDistance + "
|
|
227
|
+
.style("width", fTickmarksDistance + "%")
|
|
228
228
|
.openEnd()
|
|
229
229
|
.close("li");
|
|
230
230
|
}
|
package/src/sap/m/SplitApp.js
CHANGED
package/src/sap/m/SplitButton.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.95.0
|
|
52
52
|
*
|
|
53
53
|
* @constructor
|
|
54
54
|
* @private
|
|
@@ -256,15 +256,11 @@ function(
|
|
|
256
256
|
oEvent.preventDefault();
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
|
|
260
|
-
this._getTextButton().firePress({/* no parameters */ });
|
|
261
|
-
}
|
|
259
|
+
this._getTextButton().onkeydown(oEvent);
|
|
262
260
|
};
|
|
263
261
|
|
|
264
262
|
SplitButton.prototype.onkeyup = function(oEvent) {
|
|
265
|
-
|
|
266
|
-
this._getTextButton().firePress({/* no parameters */ });
|
|
267
|
-
}
|
|
263
|
+
this._getTextButton().onkeyup(oEvent);
|
|
268
264
|
};
|
|
269
265
|
|
|
270
266
|
SplitButton.prototype.onsapup = function(oEvent) {
|
|
@@ -86,7 +86,7 @@ function(
|
|
|
86
86
|
*
|
|
87
87
|
* @extends sap.ui.core.Control
|
|
88
88
|
* @author SAP SE
|
|
89
|
-
* @version 1.
|
|
89
|
+
* @version 1.95.0
|
|
90
90
|
*
|
|
91
91
|
* @constructor
|
|
92
92
|
* @public
|
|
@@ -2144,10 +2144,9 @@ function(
|
|
|
2144
2144
|
SplitContainer.prototype.showPlaceholder = function(mSettings) {
|
|
2145
2145
|
switch (mSettings.aggregation) {
|
|
2146
2146
|
case "masterPages":
|
|
2147
|
-
this.getAggregation("_navMaster").showPlaceholder(mSettings);
|
|
2148
|
-
break;
|
|
2147
|
+
return this.getAggregation("_navMaster").showPlaceholder(mSettings);
|
|
2149
2148
|
default:
|
|
2150
|
-
this.getAggregation("_navDetail").showPlaceholder(mSettings);
|
|
2149
|
+
return this.getAggregation("_navDetail").showPlaceholder(mSettings);
|
|
2151
2150
|
}
|
|
2152
2151
|
};
|
|
2153
2152
|
|
|
@@ -2193,7 +2192,7 @@ function(
|
|
|
2193
2192
|
oContainer = this.getAggregation("_navDetail");
|
|
2194
2193
|
}
|
|
2195
2194
|
|
|
2196
|
-
return oContainer.getCurrentPage() !== oObject;
|
|
2195
|
+
return !oObject || (oContainer.getCurrentPage() !== oObject);
|
|
2197
2196
|
};
|
|
2198
2197
|
/**************************************************************
|
|
2199
2198
|
* END - Private methods
|
|
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
21
21
|
* @extends sap.m.DynamicDateOption
|
|
22
22
|
*
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.95.0
|
|
25
25
|
*
|
|
26
26
|
* @public
|
|
27
27
|
* @alias sap.m.StandardDynamicDateOption
|
|
@@ -241,6 +241,7 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
241
241
|
/**
|
|
242
242
|
* Creates a UI for this DynamicDateOption.
|
|
243
243
|
* @param {*} oOptions some parameters that can adapt the UI from outside
|
|
244
|
+
* @param {function} fnControlsUpdated A callback invoked when any of the created controls updates its value
|
|
244
245
|
*
|
|
245
246
|
* Returns an array of controls which is mapped to the parameters of this DynamicDateOption.
|
|
246
247
|
*/
|
|
@@ -320,14 +321,6 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
320
321
|
oControl.setMin(iMin);
|
|
321
322
|
oControl.setMax(MAX_VALUE_HELP_INTEGER);
|
|
322
323
|
|
|
323
|
-
if (oControl.getValue() < iMin) {
|
|
324
|
-
oControl.setValue(iMin);
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
if (oControl.getValue() > MAX_VALUE_HELP_INTEGER) {
|
|
328
|
-
oControl.setValue(MAX_VALUE_HELP_INTEGER);
|
|
329
|
-
}
|
|
330
|
-
|
|
331
324
|
return oControl;
|
|
332
325
|
};
|
|
333
326
|
|
|
@@ -346,7 +339,9 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
346
339
|
}
|
|
347
340
|
|
|
348
341
|
if (fnControlsUpdated instanceof Function) {
|
|
349
|
-
oControl.attachSelect(
|
|
342
|
+
oControl.attachSelect(function() {
|
|
343
|
+
fnControlsUpdated(this);
|
|
344
|
+
}, this);
|
|
350
345
|
}
|
|
351
346
|
|
|
352
347
|
return oControl;
|
|
@@ -368,6 +363,46 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
368
363
|
return undefined;
|
|
369
364
|
};
|
|
370
365
|
|
|
366
|
+
/**
|
|
367
|
+
* Validates all input controls in the value help UI related to the current option.
|
|
368
|
+
* If one of the input controls contains invalid value, then validation will return <code>false</code>.
|
|
369
|
+
* If all input controls contain valid value, then the validation will return <code>true</code>.
|
|
370
|
+
*
|
|
371
|
+
* @public
|
|
372
|
+
* @param {sap.m.DynamicDateRange} oControl The control instance
|
|
373
|
+
* @returns {boolean} value help UI validity indicator
|
|
374
|
+
*/
|
|
375
|
+
StandardDynamicDateOption.prototype.validateValueHelpUI = function(oControl) {
|
|
376
|
+
var aParams = this.getValueHelpUITypes();
|
|
377
|
+
|
|
378
|
+
for (var i = 0; i < aParams.length; i++) {
|
|
379
|
+
var oInputControl = oControl.aControlsByParameters[this.getKey()][i];
|
|
380
|
+
|
|
381
|
+
switch (aParams[i].getType()) {
|
|
382
|
+
case "int":
|
|
383
|
+
if (oInputControl._isLessThanMin(oInputControl.getValue()) ||
|
|
384
|
+
oInputControl._isMoreThanMax(oInputControl.getValue())) {
|
|
385
|
+
return false;
|
|
386
|
+
}
|
|
387
|
+
break;
|
|
388
|
+
case "month":
|
|
389
|
+
case "date":
|
|
390
|
+
case "daterange":
|
|
391
|
+
if (!oInputControl.getSelectedDates() || oInputControl.getSelectedDates().length == 0) {
|
|
392
|
+
return false;
|
|
393
|
+
}
|
|
394
|
+
break;
|
|
395
|
+
case "options":
|
|
396
|
+
if (oInputControl.getSelectedIndex() < 0) {
|
|
397
|
+
return false;
|
|
398
|
+
}
|
|
399
|
+
break;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
return true;
|
|
404
|
+
};
|
|
405
|
+
|
|
371
406
|
// Gets the output for each input parameter.
|
|
372
407
|
// Returns an object { operator: "KEY", values: [] (mapped positionally to each input control) }.
|
|
373
408
|
StandardDynamicDateOption.prototype.getValueHelpOutput = function(oControl) {
|
|
@@ -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.95.0
|
|
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
|
*/
|
|
@@ -251,15 +283,21 @@ sap.ui.define([
|
|
|
251
283
|
}
|
|
252
284
|
|
|
253
285
|
if (!StandardListItem._themeInfo.sFontFamily || bThemeChanged) {
|
|
254
|
-
StandardListItem._themeInfo.sFontFamily = ThemeParameters.get(
|
|
286
|
+
StandardListItem._themeInfo.sFontFamily = ThemeParameters.get({
|
|
287
|
+
name: "sapUiFontFamily"
|
|
288
|
+
}) || "Arial";
|
|
255
289
|
}
|
|
256
290
|
|
|
257
291
|
if (!StandardListItem._themeInfo.sFontStyleInfoStateInverted || bThemeChanged) {
|
|
258
|
-
StandardListItem._themeInfo.sFontStyleInfoStateInverted = "bold " +
|
|
292
|
+
StandardListItem._themeInfo.sFontStyleInfoStateInverted = "bold " + (ThemeParameters.get({
|
|
293
|
+
name: "sapMFontSmallSize"
|
|
294
|
+
}) || "0.75rem") + " " + StandardListItem._themeInfo.sFontFamily;
|
|
259
295
|
}
|
|
260
296
|
|
|
261
297
|
if (!StandardListItem._themeInfo.sFontStyle || bThemeChanged) {
|
|
262
|
-
StandardListItem._themeInfo.sFontStyle =
|
|
298
|
+
StandardListItem._themeInfo.sFontStyle = (ThemeParameters.get({
|
|
299
|
+
name: "sapMFontMediumSize"
|
|
300
|
+
}) || "0.875rem") + " " + StandardListItem._themeInfo.sFontFamily;
|
|
263
301
|
}
|
|
264
302
|
|
|
265
303
|
if (!StandardListItem._themeInfo.iBaseFontSize || bThemeChanged) {
|
|
@@ -303,11 +341,20 @@ sap.ui.define([
|
|
|
303
341
|
StandardListItem.prototype.ontap = function(oEvent) {
|
|
304
342
|
this._checkExpandCollapse(oEvent);
|
|
305
343
|
|
|
306
|
-
|
|
307
|
-
return ListItemBase.prototype.ontap.apply(this, arguments);
|
|
308
|
-
}
|
|
344
|
+
return ListItemBase.prototype.ontap.apply(this, arguments);
|
|
309
345
|
};
|
|
310
346
|
|
|
347
|
+
StandardListItem.prototype.ontouchstart = function(oEvent) {
|
|
348
|
+
var sId = oEvent.target && oEvent.target.id,
|
|
349
|
+
sStdListId = this.getId();
|
|
350
|
+
|
|
351
|
+
if (sId === sStdListId + "-titleButton" || sId === sStdListId + "-descriptionButton") {
|
|
352
|
+
oEvent.setMarked();
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
return ListItemBase.prototype.ontouchstart.apply(this, arguments);
|
|
356
|
+
};
|
|
357
|
+
|
|
311
358
|
StandardListItem.prototype.onsapspace = function(oEvent) {
|
|
312
359
|
// prevent default not to scroll down, hence 2nd parameter is true
|
|
313
360
|
this._checkExpandCollapse(oEvent, true);
|
|
@@ -380,8 +427,11 @@ sap.ui.define([
|
|
|
380
427
|
* @private
|
|
381
428
|
*/
|
|
382
429
|
StandardListItem.prototype._getCollapsedText = function(sText) {
|
|
383
|
-
|
|
384
|
-
|
|
430
|
+
return sText.substr(0, this._getWrapCharLimit());
|
|
431
|
+
};
|
|
432
|
+
|
|
433
|
+
StandardListItem.prototype._getWrapCharLimit = function() {
|
|
434
|
+
return this.getWrapCharLimit() || (Device.system.phone ? 100 : 300);
|
|
385
435
|
};
|
|
386
436
|
|
|
387
437
|
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.95.0
|
|
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
|
|
|
@@ -1674,6 +1687,10 @@ function(
|
|
|
1674
1687
|
}
|
|
1675
1688
|
};
|
|
1676
1689
|
|
|
1690
|
+
StepInput.prototype.getFocusDomRef = function() {
|
|
1691
|
+
return this.getAggregation("_input").getFocusDomRef();
|
|
1692
|
+
};
|
|
1693
|
+
|
|
1677
1694
|
/*
|
|
1678
1695
|
* Resets timeouts and speed to initial values.
|
|
1679
1696
|
*/
|