@openui5/sap.m 1.94.0 → 1.97.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 +12 -12
- package/THIRDPARTY.txt +21 -17
- 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 +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +10 -2
- package/src/sap/m/AvatarRenderer.js +3 -0
- 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/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 +39 -6
- package/src/sap/m/ComboBoxBase.js +125 -16
- package/src/sap/m/ComboBoxRenderer.js +25 -9
- package/src/sap/m/ComboBoxTextField.js +21 -7
- package/src/sap/m/CustomDynamicDateOption.js +9 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/DatePicker.js +72 -18
- package/src/sap/m/DatePickerRenderer.js +14 -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 +53 -60
- package/src/sap/m/Dialog.js +35 -49
- 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 +1 -1
- package/src/sap/m/DynamicDateFormat.js +5 -5
- package/src/sap/m/DynamicDateOption.js +3 -2
- package/src/sap/m/DynamicDateRange.js +20 -8
- package/src/sap/m/DynamicDateUtil.js +14 -9
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +1 -1
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +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 +8 -1
- package/src/sap/m/GenericTagRenderer.js +1 -1
- package/src/sap/m/GenericTile.js +236 -56
- package/src/sap/m/GenericTileRenderer.js +229 -84
- 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 +1 -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 +2 -2
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +25 -6
- 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 +67 -16
- package/src/sap/m/InputBase.js +96 -14
- package/src/sap/m/InputBaseRenderer.js +8 -20
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +2 -2
- package/src/sap/m/ListItemBase.js +12 -4
- 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 +7 -1
- 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/MessageItem.js +1 -16
- package/src/sap/m/MessageListItem.js +1 -1
- package/src/sap/m/MessagePage.js +35 -6
- package/src/sap/m/MessagePopover.js +1 -4
- 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 +16 -27
- package/src/sap/m/MultiComboBox.js +412 -150
- package/src/sap/m/MultiComboBoxRenderer.js +4 -0
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +78 -6
- package/src/sap/m/NavContainer.js +13 -5
- 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/NotificationListGroupRenderer.js +1 -0
- 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 +3 -3
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +19 -2
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectNumberRenderer.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/ObjectStatusRenderer.js +4 -1
- package/src/sap/m/OverflowToolbar.js +10 -6
- 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 +22 -52
- 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 +4 -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 +70 -35
- package/src/sap/m/PlanningCalendarHeader.js +5 -8
- package/src/sap/m/PlanningCalendarLegend.js +25 -10
- package/src/sap/m/PlanningCalendarLegendRenderer.js +2 -7
- package/src/sap/m/PlanningCalendarRow.js +8 -3
- package/src/sap/m/PlanningCalendarView.js +1 -6
- package/src/sap/m/Popover.js +3 -3
- package/src/sap/m/PopoverRenderer.js +3 -2
- package/src/sap/m/ProgressIndicator.js +13 -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 +2 -33
- package/src/sap/m/SegmentedButton.js +31 -19
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/SegmentedButtonRenderer.js +6 -0
- package/src/sap/m/Select.js +34 -13
- 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 +10 -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 +29 -34
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +34 -22
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -6
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +7 -8
- 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 +1 -1
- package/src/sap/m/SplitButtonRenderer.js +5 -1
- package/src/sap/m/SplitContainer.js +10 -4
- package/src/sap/m/StandardDynamicDateOption.js +98 -69
- package/src/sap/m/StandardListItem.js +33 -21
- 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 +17 -12
- package/src/sap/m/Suggest.js +25 -25
- package/src/sap/m/SuggestionItem.js +1 -7
- package/src/sap/m/SuggestionsPopover.js +44 -1
- package/src/sap/m/Switch.js +9 -1
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +33 -3
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +11 -15
- package/src/sap/m/TabStripRenderer.js +1 -1
- package/src/sap/m/Table.js +4 -3
- 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 +1 -1
- 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 +45 -6
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerInputs.js +3 -3
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerRenderer.js +4 -0
- 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/ToggleButtonRenderer.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +2 -1
- package/src/sap/m/TokenizerRenderer.js +1 -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 +18 -6
- 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 +18 -8
- 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 +1 -1
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +98 -0
- package/src/sap/m/changeHandler/SplitMenuButton.js +5 -2
- package/src/sap/m/delegate/DateNavigation.js +4 -5
- package/src/sap/m/delegate/ValueStateMessage.js +4 -7
- package/src/sap/m/designtime/IconTabBar.designtime.js +86 -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/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_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 +122 -35
- package/src/sap/m/messagebundle.properties +83 -5
- package/src/sap/m/messagebundle_ar.properties +64 -2
- package/src/sap/m/messagebundle_bg.properties +64 -2
- package/src/sap/m/messagebundle_ca.properties +69 -7
- package/src/sap/m/messagebundle_cs.properties +75 -13
- package/src/sap/m/messagebundle_cy.properties +64 -2
- package/src/sap/m/messagebundle_da.properties +64 -2
- package/src/sap/m/messagebundle_de.properties +64 -2
- package/src/sap/m/messagebundle_el.properties +64 -2
- package/src/sap/m/messagebundle_en.properties +64 -2
- package/src/sap/m/messagebundle_en_GB.properties +64 -2
- package/src/sap/m/messagebundle_en_US_sappsd.properties +65 -3
- package/src/sap/m/messagebundle_en_US_saptrc.properties +65 -3
- package/src/sap/m/messagebundle_es.properties +67 -5
- package/src/sap/m/messagebundle_es_MX.properties +65 -3
- package/src/sap/m/messagebundle_et.properties +64 -2
- package/src/sap/m/messagebundle_fi.properties +64 -2
- package/src/sap/m/messagebundle_fr.properties +84 -22
- package/src/sap/m/messagebundle_fr_CA.properties +65 -3
- package/src/sap/m/messagebundle_hi.properties +64 -2
- package/src/sap/m/messagebundle_hr.properties +64 -2
- package/src/sap/m/messagebundle_hu.properties +64 -2
- package/src/sap/m/messagebundle_id.properties +65 -3
- package/src/sap/m/messagebundle_it.properties +70 -8
- package/src/sap/m/messagebundle_iw.properties +64 -2
- package/src/sap/m/messagebundle_ja.properties +64 -2
- package/src/sap/m/messagebundle_kk.properties +64 -2
- package/src/sap/m/messagebundle_ko.properties +65 -3
- package/src/sap/m/messagebundle_lt.properties +64 -2
- package/src/sap/m/messagebundle_lv.properties +64 -2
- package/src/sap/m/messagebundle_ms.properties +65 -3
- package/src/sap/m/messagebundle_nl.properties +65 -3
- package/src/sap/m/messagebundle_no.properties +76 -14
- package/src/sap/m/messagebundle_pl.properties +68 -6
- package/src/sap/m/messagebundle_pt.properties +67 -5
- package/src/sap/m/messagebundle_pt_PT.properties +65 -3
- package/src/sap/m/messagebundle_ro.properties +70 -8
- package/src/sap/m/messagebundle_ru.properties +66 -4
- package/src/sap/m/messagebundle_sh.properties +66 -4
- package/src/sap/m/messagebundle_sk.properties +64 -2
- package/src/sap/m/messagebundle_sl.properties +64 -2
- package/src/sap/m/messagebundle_sv.properties +64 -2
- package/src/sap/m/messagebundle_th.properties +64 -2
- package/src/sap/m/messagebundle_tr.properties +64 -2
- package/src/sap/m/messagebundle_uk.properties +71 -9
- package/src/sap/m/messagebundle_vi.properties +65 -3
- package/src/sap/m/messagebundle_zh_CN.properties +64 -2
- package/src/sap/m/messagebundle_zh_TW.properties +64 -2
- package/src/sap/m/p13n/AbstractContainer.js +286 -0
- package/src/sap/m/p13n/AbstractContainerItem.js +94 -0
- package/src/sap/m/p13n/BasePanel.js +644 -0
- package/src/sap/m/p13n/Container.js +301 -0
- package/src/sap/m/p13n/GroupPanel.js +121 -0
- package/src/sap/m/p13n/Popup.js +358 -0
- package/src/sap/m/p13n/QueryPanel.js +316 -0
- package/src/sap/m/p13n/SelectionPanel.js +403 -0
- package/src/sap/m/p13n/SortPanel.js +141 -0
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- 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 +9 -4
- 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 +1 -1
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +1 -1
- package/src/sap/m/semantic/ShareMenuPage.js +1 -1
- package/src/sap/m/semantic/SortAction.js +1 -1
- package/src/sap/m/semantic/SortSelect.js +1 -1
- package/src/sap/m/table/ActionItem.js +69 -0
- package/src/sap/m/table/ColumnMenu.js +377 -0
- package/src/sap/m/table/ColumnMenuEntry.js +101 -0
- package/src/sap/m/table/ColumnMenuRenderer.js +82 -0
- package/src/sap/m/table/Item.js +130 -0
- package/src/sap/m/table/ItemBase.js +153 -0
- package/src/sap/m/table/QuickAction.js +53 -0
- package/src/sap/m/table/QuickActionBase.js +53 -0
- package/src/sap/m/table/Util.js +192 -0
- package/src/sap/m/themes/base/AbstractContainer.less +32 -0
- package/src/sap/m/themes/base/Breadcrumbs.less +2 -2
- package/src/sap/m/themes/base/Carousel.less +37 -2
- package/src/sap/m/themes/base/ColumnListItem.less +2 -2
- package/src/sap/m/themes/base/ColumnMenu.less +41 -0
- package/src/sap/m/themes/base/ComboBox.less +2 -2
- package/src/sap/m/themes/base/ComboBoxBase.less +20 -0
- package/src/sap/m/themes/base/DatePicker.less +4 -0
- package/src/sap/m/themes/base/DateTimePicker.less +20 -1
- package/src/sap/m/themes/base/Dialog.less +12 -12
- package/src/sap/m/themes/base/GenericTile.less +464 -18
- package/src/sap/m/themes/base/IconTabBar.less +17 -16
- package/src/sap/m/themes/base/IconTabBarSelectList.less +4 -2
- package/src/sap/m/themes/base/Input.less +2 -2
- package/src/sap/m/themes/base/InputBase.less +0 -24
- package/src/sap/m/themes/base/Label.less +6 -0
- package/src/sap/m/themes/base/ListBase.less +7 -5
- package/src/sap/m/themes/base/ListItemBase.less +4 -2
- package/src/sap/m/themes/base/MessageView.less +4 -0
- package/src/sap/m/themes/base/MultiComboBox.less +19 -2
- package/src/sap/m/themes/base/NewsContent.less +48 -1
- package/src/sap/m/themes/base/NotificationListBase.less +1 -1
- package/src/sap/m/themes/base/NumericContent.less +87 -0
- package/src/sap/m/themes/base/ObjectAttribute.less +3 -4
- 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/P13nContainer.less +17 -0
- package/src/sap/m/themes/base/P13nDialog.less +1 -1
- package/src/sap/m/themes/base/ProgressIndicator.less +3 -2
- package/src/sap/m/themes/base/ScrollContainer.less +1 -3
- package/src/sap/m/themes/base/SearchField.less +21 -14
- package/src/sap/m/themes/base/SegmentedButton.less +1 -1
- package/src/sap/m/themes/base/Select.less +2 -1
- package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +17 -18
- package/src/sap/m/themes/base/SlideTile.less +15 -0
- package/src/sap/m/themes/base/StandardListItem.less +6 -1
- package/src/sap/m/themes/base/Table.less +16 -27
- package/src/sap/m/themes/base/Text.less +6 -0
- package/src/sap/m/themes/base/TextArea.less +2 -2
- package/src/sap/m/themes/base/TileContent.less +20 -0
- package/src/sap/m/themes/base/TimePicker.less +3 -0
- package/src/sap/m/themes/base/Token.less +0 -3
- package/src/sap/m/themes/base/ValueStateHeader.less +1 -3
- package/src/sap/m/themes/base/ViewSettingsDialog.less +5 -5
- package/src/sap/m/themes/base/WizardProgressNavigator.less +1 -1
- package/src/sap/m/themes/base/library.source.less +5 -0
- package/src/sap/m/themes/base/p13n.Container.less +21 -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/ComboBox.less +9 -0
- package/src/sap/m/themes/sap_hcb/Input.less +4 -0
- package/src/sap/m/themes/sap_hcb/InputBase.less +25 -0
- package/src/sap/m/themes/sap_hcb/MultiComboBox.less +8 -0
- package/src/sap/m/themes/sap_hcb/ValueStateHeader.less +3 -0
- package/src/sap/m/themes/sap_hcb/WizardProgressNavigator.less +0 -4
- package/src/sap/m/themes/sap_hcb/library.source.less +2 -0
- package/src/sap/m/upload/UploadSet.js +16 -19
- package/src/sap/m/upload/UploadSetItem.js +22 -2
- package/ui5.yaml +4 -1
- package/src/sap/m/ios7.js +0 -199
package/src/sap/m/SplitApp.js
CHANGED
package/src/sap/m/SplitButton.js
CHANGED
|
@@ -50,7 +50,11 @@ sap.ui.define(["sap/m/library", "sap/ui/core/InvisibleText", "sap/ui/core/Shortc
|
|
|
50
50
|
|| sType === ButtonType.Reject
|
|
51
51
|
|| sType === ButtonType.Emphasized
|
|
52
52
|
|| sType === ButtonType.Transparent
|
|
53
|
-
|| sType === ButtonType.Attention
|
|
53
|
+
|| sType === ButtonType.Attention
|
|
54
|
+
|| sType === ButtonType.Neutral
|
|
55
|
+
|| sType === ButtonType.Critical
|
|
56
|
+
|| sType === ButtonType.Success
|
|
57
|
+
|| sType === ButtonType.Negative) {
|
|
54
58
|
oRm.class(SplitButtonRenderer.CSS_CLASS + sType);
|
|
55
59
|
}
|
|
56
60
|
|
|
@@ -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.97.0
|
|
90
90
|
*
|
|
91
91
|
* @constructor
|
|
92
92
|
* @public
|
|
@@ -2138,11 +2138,16 @@ function(
|
|
|
2138
2138
|
* @param {object} mSettings Object containing the aggregation name
|
|
2139
2139
|
* @param {string} mSettings.aggregation The aggregation name to decide on which column/container the placeholder should be shown
|
|
2140
2140
|
*
|
|
2141
|
-
* @
|
|
2141
|
+
* @private
|
|
2142
|
+
* @ui5-restricted SAPUI5 Distribution libraries only
|
|
2142
2143
|
* @since 1.91
|
|
2143
2144
|
*/
|
|
2144
2145
|
SplitContainer.prototype.showPlaceholder = function(mSettings) {
|
|
2145
|
-
|
|
2146
|
+
if (!sap.ui.getCore().getConfiguration().getPlaceholder()) {
|
|
2147
|
+
return;
|
|
2148
|
+
}
|
|
2149
|
+
|
|
2150
|
+
switch (mSettings && mSettings.aggregation) {
|
|
2146
2151
|
case "masterPages":
|
|
2147
2152
|
return this.getAggregation("_navMaster").showPlaceholder(mSettings);
|
|
2148
2153
|
default:
|
|
@@ -2156,7 +2161,8 @@ function(
|
|
|
2156
2161
|
* @param {object} mSettings Object containing the aggregation name
|
|
2157
2162
|
* @param {string} mSettings.aggregation The aggregation name to decide on which column/container the placeholder should be hidden
|
|
2158
2163
|
*
|
|
2159
|
-
* @
|
|
2164
|
+
* @private
|
|
2165
|
+
* @ui5-restricted SAP internal apps
|
|
2160
2166
|
* @since 1.91
|
|
2161
2167
|
*/
|
|
2162
2168
|
SplitContainer.prototype.hidePlaceholder = function(mSettings) {
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
// Provides control sap.m.StandardDynamicDateOption.
|
|
8
|
-
sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepInput', './RadioButton', './RadioButtonGroup', 'sap/ui/unified/Calendar', 'sap/ui/unified/calendar/MonthPicker', 'sap/ui/core/format/DateFormat', '
|
|
9
|
-
function(Element, DynamicDateOption, Label, StepInput, RadioButton, RadioButtonGroup, Calendar, MonthPicker, DateFormat,
|
|
8
|
+
sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepInput', './RadioButton', './RadioButtonGroup', 'sap/ui/unified/Calendar', 'sap/ui/unified/calendar/MonthPicker', 'sap/ui/core/format/DateFormat', 'sap/ui/core/date/UniversalDateUtils', 'sap/ui/core/date/UniversalDate', 'sap/m/DynamicDateValueHelpUIType', './library'],
|
|
9
|
+
function(Element, DynamicDateOption, Label, StepInput, RadioButton, RadioButtonGroup, Calendar, MonthPicker, DateFormat, UniversalDateUtils, UniversalDate, DynamicDateValueHelpUIType, library) {
|
|
10
10
|
"use strict";
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -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.97.0
|
|
25
25
|
*
|
|
26
26
|
* @public
|
|
27
27
|
* @alias sap.m.StandardDynamicDateOption
|
|
@@ -69,6 +69,7 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
69
69
|
"FROM": "FROM",
|
|
70
70
|
"TO": "TO",
|
|
71
71
|
"YEARTODATE": "YEARTODATE",
|
|
72
|
+
"DATETOYEAR":"DATETOYEAR",
|
|
72
73
|
"TODAYFROMTO": "TODAYFROMTO",
|
|
73
74
|
"QUARTER1": "QUARTER1",
|
|
74
75
|
"QUARTER2": "QUARTER2",
|
|
@@ -117,6 +118,7 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
117
118
|
"FROM": _Groups.DateRanges,
|
|
118
119
|
"TO": _Groups.DateRanges,
|
|
119
120
|
"YEARTODATE": _Groups.DateRanges,
|
|
121
|
+
"DATETOYEAR": _Groups.DateRanges,
|
|
120
122
|
"TODAYFROMTO": _Groups.DateRanges,
|
|
121
123
|
"QUARTER1": _Groups.Quarters,
|
|
122
124
|
"QUARTER2": _Groups.Quarters,
|
|
@@ -134,6 +136,16 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
134
136
|
|
|
135
137
|
StandardDynamicDateOption.Keys = Keys;
|
|
136
138
|
|
|
139
|
+
StandardDynamicDateOption.prototype.exit = function() {
|
|
140
|
+
if (this.aValueHelpUITypes) {
|
|
141
|
+
while (this.aValueHelpUITypes.length) {
|
|
142
|
+
this.aValueHelpUITypes.pop().destroy();
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
delete this.aValueHelpUITypes;
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
|
|
137
149
|
StandardDynamicDateOption.prototype.getText = function(oControl) {
|
|
138
150
|
var sKey = this.getKey();
|
|
139
151
|
var oOptions = oControl._getOptions();
|
|
@@ -171,71 +183,82 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
171
183
|
StandardDynamicDateOption.prototype.getValueHelpUITypes = function(oControl) {
|
|
172
184
|
var sKey = this.getKey();
|
|
173
185
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
186
|
+
if (!this.aValueHelpUITypes) { //the empty array is still an initialized value and can be reused
|
|
187
|
+
switch (sKey) {
|
|
188
|
+
case Keys.TODAY:
|
|
189
|
+
case Keys.YESTERDAY:
|
|
190
|
+
case Keys.TOMORROW:
|
|
191
|
+
case Keys.THISWEEK:
|
|
192
|
+
case Keys.THISMONTH:
|
|
193
|
+
case Keys.THISQUARTER:
|
|
194
|
+
case Keys.THISYEAR:
|
|
195
|
+
case Keys.LASTWEEK:
|
|
196
|
+
case Keys.LASTMONTH:
|
|
197
|
+
case Keys.LASTQUARTER:
|
|
198
|
+
case Keys.LASTYEAR:
|
|
199
|
+
case Keys.NEXTWEEK:
|
|
200
|
+
case Keys.NEXTMONTH:
|
|
201
|
+
case Keys.NEXTQUARTER:
|
|
202
|
+
case Keys.NEXTYEAR:
|
|
203
|
+
case Keys.YEARTODATE:
|
|
204
|
+
case Keys.DATETOYEAR:
|
|
205
|
+
case Keys.QUARTER1:
|
|
206
|
+
case Keys.QUARTER2:
|
|
207
|
+
case Keys.QUARTER3:
|
|
208
|
+
case Keys.QUARTER4:
|
|
209
|
+
this.aValueHelpUITypes = [];
|
|
210
|
+
break;
|
|
211
|
+
case Keys.DATE:
|
|
212
|
+
case Keys.FROM:
|
|
213
|
+
case Keys.TO:
|
|
214
|
+
this.aValueHelpUITypes = [
|
|
215
|
+
new DynamicDateValueHelpUIType({
|
|
216
|
+
type: "date"
|
|
217
|
+
})];
|
|
218
|
+
break;
|
|
219
|
+
case Keys.DATERANGE:
|
|
220
|
+
this.aValueHelpUITypes = [
|
|
221
|
+
new DynamicDateValueHelpUIType({
|
|
222
|
+
type: "daterange"
|
|
223
|
+
})];
|
|
224
|
+
break;
|
|
225
|
+
case Keys.SPECIFICMONTH:
|
|
226
|
+
this.aValueHelpUITypes = [
|
|
227
|
+
new DynamicDateValueHelpUIType({
|
|
228
|
+
type: "month"
|
|
229
|
+
})];
|
|
230
|
+
break;
|
|
231
|
+
case Keys.LASTDAYS:
|
|
232
|
+
case Keys.LASTWEEKS:
|
|
233
|
+
case Keys.LASTMONTHS:
|
|
234
|
+
case Keys.LASTQUARTERS:
|
|
235
|
+
case Keys.LASTYEARS:
|
|
236
|
+
case Keys.NEXTDAYS:
|
|
237
|
+
case Keys.NEXTWEEKS:
|
|
238
|
+
case Keys.NEXTMONTHS:
|
|
239
|
+
case Keys.NEXTQUARTERS:
|
|
240
|
+
case Keys.NEXTYEARS:
|
|
241
|
+
this.aValueHelpUITypes = [
|
|
242
|
+
new DynamicDateValueHelpUIType({
|
|
243
|
+
text: _resourceBundle.getText("DDR_LASTNEXTX_LABEL"),
|
|
244
|
+
type: "int"
|
|
245
|
+
})];
|
|
246
|
+
break;
|
|
247
|
+
case Keys.TODAYFROMTO:
|
|
248
|
+
this.aValueHelpUITypes = [
|
|
249
|
+
new DynamicDateValueHelpUIType({
|
|
250
|
+
text: _resourceBundle.getText("DDR_TODAYFROMTO_FROM_LABEL"),
|
|
251
|
+
type: "int"
|
|
252
|
+
}),
|
|
253
|
+
new DynamicDateValueHelpUIType({
|
|
254
|
+
text: _resourceBundle.getText("DDR_TODAYFROMTO_TO_LABEL"),
|
|
255
|
+
type: "int"
|
|
256
|
+
})];
|
|
257
|
+
break;
|
|
258
|
+
}
|
|
238
259
|
}
|
|
260
|
+
|
|
261
|
+
return this.aValueHelpUITypes.slice(0);
|
|
239
262
|
};
|
|
240
263
|
|
|
241
264
|
/**
|
|
@@ -497,9 +520,12 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
497
520
|
oDate = UniversalDateUtils.getMonthStartDate(oDate);
|
|
498
521
|
return UniversalDateUtils.getRange(0, "MONTH", oDate);
|
|
499
522
|
case "DATE":
|
|
500
|
-
return
|
|
523
|
+
return UniversalDateUtils.getRange(0, "DAY", UniversalDate.getInstance(oValue.values[0]));
|
|
501
524
|
case "DATERANGE":
|
|
502
|
-
|
|
525
|
+
var oStart = UniversalDate.getInstance(oValue.values[0]);
|
|
526
|
+
var oEnd = UniversalDate.getInstance(oValue.values[1]);
|
|
527
|
+
|
|
528
|
+
return [UniversalDateUtils.resetStartTime(oStart), UniversalDateUtils.resetEndTime(oEnd)];
|
|
503
529
|
case "TODAY":
|
|
504
530
|
return UniversalDateUtils.ranges.today();
|
|
505
531
|
case "YESTERDAY":
|
|
@@ -556,6 +582,8 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
556
582
|
return [oValue.values[0], oValue.values[0]];
|
|
557
583
|
case "YEARTODATE":
|
|
558
584
|
return UniversalDateUtils.ranges.yearToDate();
|
|
585
|
+
case "DATETOYEAR":
|
|
586
|
+
return UniversalDateUtils.ranges.dateToYear();
|
|
559
587
|
case "TODAYFROMTO":
|
|
560
588
|
if (oValue.values.length !== 2) {
|
|
561
589
|
return [];
|
|
@@ -602,6 +630,7 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
602
630
|
case "NEXTQUARTER":
|
|
603
631
|
case "NEXTYEAR":
|
|
604
632
|
case "YEARTODATE":
|
|
633
|
+
case "DATETOYEAR":
|
|
605
634
|
case "QUARTER1":
|
|
606
635
|
case "QUARTER2":
|
|
607
636
|
case "QUARTER3":
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @extends sap.m.ListItemBase
|
|
39
39
|
*
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.97.0
|
|
42
42
|
*
|
|
43
43
|
* @constructor
|
|
44
44
|
* @public
|
|
@@ -85,6 +85,8 @@ sap.ui.define([
|
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
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}.
|
|
88
90
|
*/
|
|
89
91
|
info : {type : "string", group : "Misc", defaultValue : null},
|
|
90
92
|
|
|
@@ -116,7 +118,9 @@ sap.ui.define([
|
|
|
116
118
|
*
|
|
117
119
|
* <b>Note:</b>
|
|
118
120
|
*
|
|
119
|
-
* 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>.
|
|
120
124
|
* @since 1.67
|
|
121
125
|
*/
|
|
122
126
|
wrapping : {type : "boolean", group : "Behavior", defaultValue : false},
|
|
@@ -278,34 +282,33 @@ sap.ui.define([
|
|
|
278
282
|
StandardListItem._themeInfo = {};
|
|
279
283
|
}
|
|
280
284
|
|
|
285
|
+
var fBaseFontSize = parseFloat(library.BaseFontSize) || 16;
|
|
286
|
+
|
|
281
287
|
if (!StandardListItem._themeInfo.sFontFamily || bThemeChanged) {
|
|
282
|
-
StandardListItem._themeInfo.sFontFamily = ThemeParameters.get(
|
|
288
|
+
StandardListItem._themeInfo.sFontFamily = ThemeParameters.get({
|
|
289
|
+
name: "sapUiFontFamily"
|
|
290
|
+
}) || "Arial";
|
|
283
291
|
}
|
|
284
292
|
|
|
285
293
|
if (!StandardListItem._themeInfo.sFontStyleInfoStateInverted || bThemeChanged) {
|
|
286
|
-
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;
|
|
287
297
|
}
|
|
288
298
|
|
|
289
299
|
if (!StandardListItem._themeInfo.sFontStyle || bThemeChanged) {
|
|
290
|
-
StandardListItem._themeInfo.sFontStyle = parseFloat(ThemeParameters.get(
|
|
300
|
+
StandardListItem._themeInfo.sFontStyle = parseFloat(ThemeParameters.get({
|
|
301
|
+
name: "sapMFontMediumSize"
|
|
302
|
+
}) || "0.875rem") * fBaseFontSize + "px " + StandardListItem._themeInfo.sFontFamily;
|
|
291
303
|
}
|
|
292
304
|
|
|
293
|
-
if (!StandardListItem.
|
|
294
|
-
StandardListItem.
|
|
305
|
+
if (!StandardListItem._oCtx) {
|
|
306
|
+
StandardListItem._oCtx = document.createElement("canvas").getContext("2d");
|
|
295
307
|
}
|
|
296
308
|
|
|
297
|
-
|
|
298
|
-
StandardListItem._oCanvas = document.createElement("canvas");
|
|
299
|
-
StandardListItem._oCtx = StandardListItem._oCanvas.getContext("2d");
|
|
300
|
-
}
|
|
309
|
+
StandardListItem._oCtx.font = StandardListItem._themeInfo[this.getInfoStateInverted() ? "sFontStyleInfoStateInverted" : "sFontStyle"];
|
|
301
310
|
|
|
302
|
-
|
|
303
|
-
StandardListItem._oCtx.font = StandardListItem._themeInfo.sFontStyleInfoStateInverted || "";
|
|
304
|
-
} else {
|
|
305
|
-
StandardListItem._oCtx.font = StandardListItem._themeInfo.sFontStyle || "";
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
return Math.ceil(StandardListItem._oCtx.measureText(this.getInfo()).width) / StandardListItem._themeInfo.iBaseFontSize;
|
|
311
|
+
return Math.ceil(StandardListItem._oCtx.measureText(this.getInfo()).width) / fBaseFontSize;
|
|
309
312
|
};
|
|
310
313
|
|
|
311
314
|
/**
|
|
@@ -331,11 +334,20 @@ sap.ui.define([
|
|
|
331
334
|
StandardListItem.prototype.ontap = function(oEvent) {
|
|
332
335
|
this._checkExpandCollapse(oEvent);
|
|
333
336
|
|
|
334
|
-
|
|
335
|
-
return ListItemBase.prototype.ontap.apply(this, arguments);
|
|
336
|
-
}
|
|
337
|
+
return ListItemBase.prototype.ontap.apply(this, arguments);
|
|
337
338
|
};
|
|
338
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
|
+
|
|
339
351
|
StandardListItem.prototype.onsapspace = function(oEvent) {
|
|
340
352
|
// prevent default not to scroll down, hence 2nd parameter is true
|
|
341
353
|
this._checkExpandCollapse(oEvent, true);
|
|
@@ -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.97.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) {
|
|
@@ -919,6 +920,7 @@ function(
|
|
|
919
920
|
return this;
|
|
920
921
|
}
|
|
921
922
|
|
|
923
|
+
this._sOriginalValue = oValue;
|
|
922
924
|
this._applyValue(oValue);
|
|
923
925
|
this._disableButtons(Number(this._getInput().getValue()), this._getMax(), this._getMin());
|
|
924
926
|
|
|
@@ -1590,7 +1592,8 @@ function(
|
|
|
1590
1592
|
onmouseup: function (oEvent) {
|
|
1591
1593
|
// check if the left mouse button is up
|
|
1592
1594
|
// handled in touchend for mobile
|
|
1593
|
-
|
|
1595
|
+
// but the touchend comes before mousedown on android
|
|
1596
|
+
if (oEvent.button === 0) {
|
|
1594
1597
|
this._bDelayedEventFire = undefined;
|
|
1595
1598
|
this._btndown = false;
|
|
1596
1599
|
this._stopSpin();
|
|
@@ -1603,15 +1606,13 @@ function(
|
|
|
1603
1606
|
}
|
|
1604
1607
|
}.bind(this),
|
|
1605
1608
|
oncontextmenu: function (oEvent) {
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
oEvent.preventDefault();
|
|
1612
|
-
}
|
|
1613
|
-
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();
|
|
1614
1614
|
}
|
|
1615
|
+
oEvent.stopPropagation();
|
|
1615
1616
|
},
|
|
1616
1617
|
ontouchend: function(oEvent) {
|
|
1617
1618
|
if (Device.system.phone || Device.system.tablet) {
|
|
@@ -1685,6 +1686,10 @@ function(
|
|
|
1685
1686
|
}
|
|
1686
1687
|
};
|
|
1687
1688
|
|
|
1689
|
+
StepInput.prototype.getFocusDomRef = function() {
|
|
1690
|
+
return this.getAggregation("_input").getFocusDomRef();
|
|
1691
|
+
};
|
|
1692
|
+
|
|
1688
1693
|
/*
|
|
1689
1694
|
* Resets timeouts and speed to initial values.
|
|
1690
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.97.0
|
|
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
|
});
|