@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
package/.reuse/dep5
CHANGED
|
@@ -309,7 +309,7 @@ License: MIT
|
|
|
309
309
|
Comment: these files belong to: lodash
|
|
310
310
|
|
|
311
311
|
Files: src/sap.ui.core/src/sap/ui/thirdparty/hyphenopoly/*
|
|
312
|
-
Copyright:
|
|
312
|
+
Copyright: 2021 Mathias Nater
|
|
313
313
|
License: MIT
|
|
314
314
|
Comment: these files belong to: Hyphenopoly
|
|
315
315
|
|
|
@@ -347,11 +347,6 @@ Copyright: 2013 Ariya Hidayat and other contributors
|
|
|
347
347
|
License: BSD-2-Clause
|
|
348
348
|
Comment: these files belong to: Esprima
|
|
349
349
|
|
|
350
|
-
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/google-code-prettify/*
|
|
351
|
-
Copyright: 2006 Google Inc.
|
|
352
|
-
License: Apache-2.0
|
|
353
|
-
Comment: these files belong to: google-code-prettify
|
|
354
|
-
|
|
355
350
|
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/highlight.js/*
|
|
356
351
|
Copyright: 2006-2020, Ivan Sagalaev
|
|
357
352
|
License: BSD-3-Clause
|
package/THIRDPARTY.txt
CHANGED
|
@@ -6,7 +6,7 @@ The full text of all referenced licenses is appended at the end of this file.
|
|
|
6
6
|
|
|
7
7
|
Library: sap.ui.codeeditor:
|
|
8
8
|
|
|
9
|
-
Component: Ace (Ajax.org Cloud9 Editor), version: 1.4.
|
|
9
|
+
Component: Ace (Ajax.org Cloud9 Editor), version: 1.4.12
|
|
10
10
|
Copyright: 2010, Ajax.org B.V.
|
|
11
11
|
License: BSD-3-Clause
|
|
12
12
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
@@ -279,8 +279,8 @@ License: MIT
|
|
|
279
279
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
280
280
|
Contained in: src/sap.ui.core/src/sap/ui/base/util/restricted/_/lodash.custom.js
|
|
281
281
|
|
|
282
|
-
Component: Hyphenopoly, version:
|
|
283
|
-
Copyright:
|
|
282
|
+
Component: Hyphenopoly, version: 3.4.0
|
|
283
|
+
Copyright: 2021 Mathias Nater
|
|
284
284
|
License: MIT
|
|
285
285
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
286
286
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/hyphenopoly/*
|
|
@@ -324,12 +324,6 @@ License: BSD-2-Clause
|
|
|
324
324
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-2-Clause.txt
|
|
325
325
|
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/esprima.js
|
|
326
326
|
|
|
327
|
-
Component: google-code-prettify, version: 20130304
|
|
328
|
-
Copyright: 2006 Google Inc.
|
|
329
|
-
License: Apache-2.0
|
|
330
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
331
|
-
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/google-code-prettify/*
|
|
332
|
-
|
|
333
327
|
Component: highlight.js, version: 10.4.1
|
|
334
328
|
Copyright: 2006-2020, Ivan Sagalaev
|
|
335
329
|
License: BSD-3-Clause
|
|
@@ -376,7 +370,7 @@ License: Unicode-DFS-2015
|
|
|
376
370
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Unicode-DFS-2015.txt
|
|
377
371
|
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/Unicode-Data-Files-LICENSE.txt
|
|
378
372
|
|
|
379
|
-
Component: Adaptive Cards, version:
|
|
373
|
+
Component: Adaptive Cards, version: 2.9.0
|
|
380
374
|
Copyright: 2017 Microsoft
|
|
381
375
|
License: MIT
|
|
382
376
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.m",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.95.0",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.m",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.ui.core": "1.
|
|
18
|
-
"@openui5/sap.ui.layout": "1.
|
|
19
|
-
"@openui5/sap.ui.unified": "1.
|
|
17
|
+
"@openui5/sap.ui.core": "1.95.0",
|
|
18
|
+
"@openui5/sap.ui.layout": "1.95.0",
|
|
19
|
+
"@openui5/sap.ui.unified": "1.95.0"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/src/sap/m/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.95.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>The main UI5 control library, with responsive controls that can be used in touch devices as well as desktop browsers.</documentation>
|
|
12
12
|
|
package/src/sap/m/AccButton.js
CHANGED
package/src/sap/m/ActionSheet.js
CHANGED
package/src/sap/m/App.js
CHANGED
|
@@ -50,7 +50,7 @@ sap.ui.define([
|
|
|
50
50
|
* @extends sap.m.NavContainer
|
|
51
51
|
*
|
|
52
52
|
* @author SAP SE
|
|
53
|
-
* @version 1.
|
|
53
|
+
* @version 1.95.0
|
|
54
54
|
*
|
|
55
55
|
* @constructor
|
|
56
56
|
* @public
|
|
@@ -198,6 +198,10 @@ sap.ui.define([
|
|
|
198
198
|
};
|
|
199
199
|
|
|
200
200
|
App.prototype._adjustParentsHeight = function () {
|
|
201
|
+
if (!this.getDomRef()) {
|
|
202
|
+
return;
|
|
203
|
+
}
|
|
204
|
+
|
|
201
205
|
var ref = this.getDomRef().parentNode;
|
|
202
206
|
// set all parent elements to 100% height this *should* be done by the application in CSS, but people tend to forget it...
|
|
203
207
|
while (ref && ref !== document.documentElement) {
|
package/src/sap/m/Avatar.js
CHANGED
|
@@ -76,7 +76,7 @@ sap.ui.define([
|
|
|
76
76
|
* @extends sap.ui.core.Control
|
|
77
77
|
*
|
|
78
78
|
* @author SAP SE
|
|
79
|
-
* @version 1.
|
|
79
|
+
* @version 1.95.0
|
|
80
80
|
*
|
|
81
81
|
* @constructor
|
|
82
82
|
* @public
|
|
@@ -133,9 +133,6 @@ sap.ui.define([
|
|
|
133
133
|
fallbackIcon: {type: "string", group: "Data", defaultValue: null},
|
|
134
134
|
/**
|
|
135
135
|
* Determines the background color of the control.
|
|
136
|
-
*
|
|
137
|
-
* <b>Note:</b> By using background colors from the predefined sets,
|
|
138
|
-
* your colors can later be customized from the Theme Designer.
|
|
139
136
|
*/
|
|
140
137
|
backgroundColor: {type: "sap.m.AvatarColor", group: "Appearance", defaultValue: AvatarColor.Accent6},
|
|
141
138
|
|
package/src/sap/m/Bar.js
CHANGED
|
@@ -56,7 +56,7 @@ sap.ui.define([
|
|
|
56
56
|
* @implements sap.m.IBar
|
|
57
57
|
*
|
|
58
58
|
* @author SAP SE
|
|
59
|
-
* @version 1.
|
|
59
|
+
* @version 1.95.0
|
|
60
60
|
*
|
|
61
61
|
* @constructor
|
|
62
62
|
* @public
|
|
@@ -221,7 +221,7 @@ sap.ui.define([
|
|
|
221
221
|
this._removeAllListeners();
|
|
222
222
|
|
|
223
223
|
var bContentLeft = !!this.getContentLeft().length,
|
|
224
|
-
bContentMiddle = !!this.getContentMiddle().length,
|
|
224
|
+
bContentMiddle = !!this.getContentMiddle().length || (this._oflexBox && !!this._oflexBox.getItems().length),
|
|
225
225
|
bContentRight = !!this.getContentRight().length;
|
|
226
226
|
|
|
227
227
|
//Invisible bars also do not need resize listeners
|
|
@@ -335,15 +335,20 @@ sap.ui.define([
|
|
|
335
335
|
var iMidBarPlaceholderWidth = this._$MidBarPlaceHolder.outerWidth(true),
|
|
336
336
|
bRtl = sap.ui.getCore().getConfiguration().getRTL(),
|
|
337
337
|
sLeftOrRight = bRtl ? "right" : "left",
|
|
338
|
-
|
|
338
|
+
sRightOrLeft = bRtl ? "left" : "right",
|
|
339
|
+
oMidBarCss = { visibility : "" },
|
|
340
|
+
aContentLeftControls = this.getContentLeft().filter(function(oControl) { return oControl.getVisible(); }),
|
|
341
|
+
aContentRightControls = this.getContentRight().filter(function(oControl) { return oControl.getVisible(); }),
|
|
342
|
+
iContentLeftPadding = aContentLeftControls.length ? 0 : parseInt(this._$LeftBar.css('padding-' + sLeftOrRight)),
|
|
343
|
+
iContentRightPadding = aContentRightControls.length ? 0 : parseInt(this._$RightBar.css('padding-' + sRightOrLeft));
|
|
339
344
|
|
|
340
345
|
if (this.getEnableFlexBox()) {
|
|
341
346
|
|
|
342
347
|
iMidBarPlaceholderWidth = iBarWidth - iLeftBarWidth - iRightBarWidth - parseInt(this._$MidBarPlaceHolder.css('margin-left')) - parseInt(this._$MidBarPlaceHolder.css('margin-right'));
|
|
343
348
|
|
|
344
349
|
oMidBarCss.position = "absolute";
|
|
345
|
-
oMidBarCss.width = iMidBarPlaceholderWidth + "px";
|
|
346
|
-
oMidBarCss[sLeftOrRight] = iLeftBarWidth;
|
|
350
|
+
oMidBarCss.width = iMidBarPlaceholderWidth + iContentLeftPadding + iContentRightPadding + "px";
|
|
351
|
+
oMidBarCss[sLeftOrRight] = iLeftBarWidth - iContentLeftPadding;
|
|
347
352
|
|
|
348
353
|
//calculation for flex is done
|
|
349
354
|
return oMidBarCss;
|
|
@@ -364,9 +369,10 @@ sap.ui.define([
|
|
|
364
369
|
oMidBarCss.position = "absolute";
|
|
365
370
|
|
|
366
371
|
//Use the remaining space
|
|
367
|
-
oMidBarCss.width = iSpaceBetweenLeftAndRight + "px";
|
|
372
|
+
oMidBarCss.width = iSpaceBetweenLeftAndRight + iContentLeftPadding + iContentRightPadding + "px";
|
|
368
373
|
|
|
369
|
-
|
|
374
|
+
//Set left or right depending on LTR/RTL
|
|
375
|
+
oMidBarCss[sLeftOrRight] = iLeftBarWidth - iContentLeftPadding;
|
|
370
376
|
}
|
|
371
377
|
|
|
372
378
|
return oMidBarCss;
|
|
@@ -483,6 +489,7 @@ sap.ui.define([
|
|
|
483
489
|
*
|
|
484
490
|
* @returns {Object} with all available contexts
|
|
485
491
|
* @protected
|
|
492
|
+
* @function
|
|
486
493
|
*/
|
|
487
494
|
Bar.prototype.getContext = BarInAnyContentEnabler.prototype.getContext;
|
|
488
495
|
|
|
@@ -492,6 +499,7 @@ sap.ui.define([
|
|
|
492
499
|
* Implementation of the IBar interface.
|
|
493
500
|
* @returns {boolean} isContextSensitive
|
|
494
501
|
* @protected
|
|
502
|
+
* @function
|
|
495
503
|
*/
|
|
496
504
|
Bar.prototype.isContextSensitive = BarInAnyContentEnabler.prototype.isContextSensitive;
|
|
497
505
|
|
|
@@ -500,12 +508,15 @@ sap.ui.define([
|
|
|
500
508
|
* @param {sap.m.IBarHTMLTag} sTag The HTML tag of the root element
|
|
501
509
|
* @returns {sap.m.IBar} this for chaining
|
|
502
510
|
* @protected
|
|
511
|
+
* @function
|
|
503
512
|
*/
|
|
504
513
|
Bar.prototype.setHTMLTag = BarInAnyContentEnabler.prototype.setHTMLTag;
|
|
514
|
+
|
|
505
515
|
/**
|
|
506
516
|
* Gets the HTML tag of the root element.
|
|
507
517
|
* @returns {sap.m.IBarHTMLTag} The HTML-tag
|
|
508
518
|
* @protected
|
|
519
|
+
* @function
|
|
509
520
|
*/
|
|
510
521
|
Bar.prototype.getHTMLTag = BarInAnyContentEnabler.prototype.getHTMLTag;
|
|
511
522
|
|
|
@@ -513,6 +524,7 @@ sap.ui.define([
|
|
|
513
524
|
* Sets classes and HTML tag according to the context of the page. Possible contexts are header, footer and subheader.
|
|
514
525
|
* @returns {sap.m.IBar} <code>this</code> for chaining
|
|
515
526
|
* @protected
|
|
527
|
+
* @function
|
|
516
528
|
*/
|
|
517
529
|
Bar.prototype.applyTagAndContextClassFor = BarInAnyContentEnabler.prototype.applyTagAndContextClassFor;
|
|
518
530
|
|
|
@@ -520,6 +532,7 @@ sap.ui.define([
|
|
|
520
532
|
* Sets classes according to the context of the page. Possible contexts are header, footer and subheader.
|
|
521
533
|
* @returns {sap.m.IBar} <code>this</code> for chaining
|
|
522
534
|
* @protected
|
|
535
|
+
* @function
|
|
523
536
|
*/
|
|
524
537
|
Bar.prototype._applyContextClassFor = BarInAnyContentEnabler.prototype._applyContextClassFor;
|
|
525
538
|
|
|
@@ -527,6 +540,7 @@ sap.ui.define([
|
|
|
527
540
|
* Sets HTML tag according to the context of the page. Possible contexts are header, footer and subheader.
|
|
528
541
|
* @returns {sap.m.IBar} <code>this</code> for chaining
|
|
529
542
|
* @protected
|
|
543
|
+
* @function
|
|
530
544
|
*/
|
|
531
545
|
Bar.prototype._applyTag = BarInAnyContentEnabler.prototype._applyTag;
|
|
532
546
|
|
|
@@ -537,6 +551,7 @@ sap.ui.define([
|
|
|
537
551
|
* @param {string} sContext allowed values are header, footer, subheader.
|
|
538
552
|
* @returns {object|null}
|
|
539
553
|
* @private
|
|
554
|
+
* @function
|
|
540
555
|
*/
|
|
541
556
|
Bar.prototype._getContextOptions = BarInAnyContentEnabler.prototype._getContextOptions;
|
|
542
557
|
|
|
@@ -546,6 +561,7 @@ sap.ui.define([
|
|
|
546
561
|
* @param {string} sRole AccessibilityRole of the root Element
|
|
547
562
|
* @returns {sap.m.IBar} <code>this</code> to allow method chaining
|
|
548
563
|
* @private
|
|
564
|
+
* @function
|
|
549
565
|
*/
|
|
550
566
|
Bar.prototype._setRootAccessibilityRole = BarInAnyContentEnabler.prototype._setRootAccessibilityRole;
|
|
551
567
|
|
|
@@ -554,6 +570,7 @@ sap.ui.define([
|
|
|
554
570
|
*
|
|
555
571
|
* @returns {string} Accessibility role
|
|
556
572
|
* @private
|
|
573
|
+
* @function
|
|
557
574
|
*/
|
|
558
575
|
Bar.prototype._getRootAccessibilityRole = BarInAnyContentEnabler.prototype._getRootAccessibilityRole;
|
|
559
576
|
|
|
@@ -564,6 +581,7 @@ sap.ui.define([
|
|
|
564
581
|
* @param {string} sLevel aria-level attribute of the root Element
|
|
565
582
|
* @returns {sap.m.IBar} <code>this</code> to allow method chaining
|
|
566
583
|
* @private
|
|
584
|
+
* @function
|
|
567
585
|
*/
|
|
568
586
|
Bar.prototype._setRootAriaLevel = BarInAnyContentEnabler.prototype._setRootAriaLevel;
|
|
569
587
|
|
|
@@ -573,6 +591,7 @@ sap.ui.define([
|
|
|
573
591
|
* This is only needed if <code>sap.m.Bar</code> has role="heading"
|
|
574
592
|
* @returns {string} aria-level
|
|
575
593
|
* @private
|
|
594
|
+
* @function
|
|
576
595
|
*/
|
|
577
596
|
Bar.prototype._getRootAriaLevel = BarInAnyContentEnabler.prototype._getRootAriaLevel;
|
|
578
597
|
|
package/src/sap/m/Breadcrumbs.js
CHANGED
|
@@ -60,7 +60,7 @@ sap.ui.define([
|
|
|
60
60
|
* @extends sap.ui.core.Control
|
|
61
61
|
*
|
|
62
62
|
* @author SAP SE
|
|
63
|
-
* @version 1.
|
|
63
|
+
* @version 1.95.0
|
|
64
64
|
*
|
|
65
65
|
* @constructor
|
|
66
66
|
* @public
|
|
@@ -388,7 +388,7 @@ sap.ui.define([
|
|
|
388
388
|
};
|
|
389
389
|
|
|
390
390
|
Breadcrumbs.prototype._getItemsForMobile = function () {
|
|
391
|
-
var oItems = this.getLinks();
|
|
391
|
+
var oItems = this.getLinks().filter(function (oLink) { return oLink.getVisible(); });
|
|
392
392
|
|
|
393
393
|
if (this.getCurrentLocationText()) {
|
|
394
394
|
oItems.push(this._getCurrentLocation());
|
package/src/sap/m/BusyDialog.js
CHANGED
package/src/sap/m/Button.js
CHANGED
|
@@ -89,7 +89,7 @@ sap.ui.define([
|
|
|
89
89
|
* @mixes sap.ui.core.ContextMenuSupport
|
|
90
90
|
*
|
|
91
91
|
* @author SAP SE
|
|
92
|
-
* @version 1.
|
|
92
|
+
* @version 1.95.0
|
|
93
93
|
*
|
|
94
94
|
* @constructor
|
|
95
95
|
* @public
|
|
@@ -352,7 +352,10 @@ sap.ui.define([
|
|
|
352
352
|
* @private
|
|
353
353
|
*/
|
|
354
354
|
Button.prototype._getBadgeInvisibleText = function() {
|
|
355
|
-
|
|
355
|
+
if (!this._oBadgeInvisibleText) {
|
|
356
|
+
this._oBadgeInvisibleText = new InvisibleText(this.getId() + "-badge").toStatic();
|
|
357
|
+
}
|
|
358
|
+
return this._oBadgeInvisibleText;
|
|
356
359
|
};
|
|
357
360
|
|
|
358
361
|
/**
|
|
@@ -376,6 +379,8 @@ sap.ui.define([
|
|
|
376
379
|
this._oBadgeData = null;
|
|
377
380
|
}
|
|
378
381
|
|
|
382
|
+
this._bFocused = null;
|
|
383
|
+
|
|
379
384
|
this.$().off("mouseenter", this._onmouseenter);
|
|
380
385
|
};
|
|
381
386
|
|
|
@@ -384,16 +389,16 @@ sap.ui.define([
|
|
|
384
389
|
|
|
385
390
|
switch (sButtonType) {
|
|
386
391
|
case ButtonType.Critical:
|
|
387
|
-
this._sTypeIconURI = "sap-icon://
|
|
392
|
+
this._sTypeIconURI = "sap-icon://alert";
|
|
388
393
|
break;
|
|
389
394
|
case ButtonType.Negative:
|
|
390
|
-
this._sTypeIconURI = "sap-icon://
|
|
395
|
+
this._sTypeIconURI = "sap-icon://error";
|
|
391
396
|
break;
|
|
392
397
|
case ButtonType.Success:
|
|
393
|
-
this._sTypeIconURI = "sap-icon://
|
|
398
|
+
this._sTypeIconURI = "sap-icon://sys-enter-2";
|
|
394
399
|
break;
|
|
395
400
|
case ButtonType.Neutral:
|
|
396
|
-
this._sTypeIconURI = "sap-icon://
|
|
401
|
+
this._sTypeIconURI = "sap-icon://information";
|
|
397
402
|
break;
|
|
398
403
|
case ButtonType.Back:
|
|
399
404
|
case ButtonType.Up:
|
|
@@ -425,6 +430,10 @@ sap.ui.define([
|
|
|
425
430
|
this._bRenderActive = this._bActive;
|
|
426
431
|
}
|
|
427
432
|
|
|
433
|
+
if (this._bFocused) {
|
|
434
|
+
this._toggleLiveChangeAnnouncement("polite");
|
|
435
|
+
}
|
|
436
|
+
|
|
428
437
|
this.$().on("mouseenter", this._onmouseenter);
|
|
429
438
|
};
|
|
430
439
|
|
|
@@ -627,16 +636,43 @@ sap.ui.define([
|
|
|
627
636
|
}
|
|
628
637
|
};
|
|
629
638
|
|
|
639
|
+
/**
|
|
640
|
+
* Add aria-live attributes.
|
|
641
|
+
*
|
|
642
|
+
* @private
|
|
643
|
+
*/
|
|
644
|
+
Button.prototype.onfocusin = function() {
|
|
645
|
+
this._bFocused = true;
|
|
646
|
+
this._toggleLiveChangeAnnouncement("polite");
|
|
647
|
+
};
|
|
648
|
+
|
|
630
649
|
/**
|
|
631
650
|
* Ensure that the active button state is removed by focus loss.
|
|
651
|
+
* Disable aria-live attributes.
|
|
632
652
|
*
|
|
633
653
|
* @private
|
|
634
654
|
*/
|
|
635
655
|
Button.prototype.onfocusout = function() {
|
|
636
656
|
this._buttonPressed = false;
|
|
657
|
+
this._bFocused = false;
|
|
637
658
|
this._sTouchStartTargetId = '';
|
|
638
659
|
// set inactive button state
|
|
639
660
|
this._inactiveButton();
|
|
661
|
+
this._toggleLiveChangeAnnouncement("off");
|
|
662
|
+
};
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* Enables or disables dynamic text or icon change announcmenets
|
|
666
|
+
*
|
|
667
|
+
* @param {*} sValue aria-live attribute value
|
|
668
|
+
* @private
|
|
669
|
+
*/
|
|
670
|
+
Button.prototype._toggleLiveChangeAnnouncement = function(sValue) {
|
|
671
|
+
if (this._getText()) {
|
|
672
|
+
this.$("BDI-content").attr("aria-live", sValue);
|
|
673
|
+
} else if (this._getAppliedIcon()) {
|
|
674
|
+
this.$("tooltip").attr("aria-live", sValue);
|
|
675
|
+
}
|
|
640
676
|
};
|
|
641
677
|
|
|
642
678
|
/**
|
package/src/sap/m/Carousel.js
CHANGED
|
@@ -99,7 +99,7 @@ sap.ui.define([
|
|
|
99
99
|
* @extends sap.ui.core.Control
|
|
100
100
|
*
|
|
101
101
|
* @author SAP SE
|
|
102
|
-
* @version 1.
|
|
102
|
+
* @version 1.95.0
|
|
103
103
|
*
|
|
104
104
|
* @constructor
|
|
105
105
|
* @public
|
|
@@ -569,9 +569,17 @@ sap.ui.define([
|
|
|
569
569
|
* @private
|
|
570
570
|
*/
|
|
571
571
|
Carousel.prototype._setWidthOfPages = function (iNumberOfItemsToShow) {
|
|
572
|
-
var
|
|
572
|
+
var $items = this.$().find(".sapMCrslItem"),
|
|
573
|
+
iItemWidth;
|
|
573
574
|
|
|
574
|
-
|
|
575
|
+
if (!$items.length) {
|
|
576
|
+
// pages are not yet rendered, calculation will be done in the next onAfterRendering
|
|
577
|
+
return;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
iItemWidth = this._calculatePagesWidth(iNumberOfItemsToShow);
|
|
581
|
+
|
|
582
|
+
$items.each(function (iIndex, oPage) {
|
|
575
583
|
oPage.style.width = iItemWidth + "%";
|
|
576
584
|
});
|
|
577
585
|
};
|
|
@@ -15,7 +15,7 @@ sap.ui.define(["sap/ui/base/ManagedObject"], function (ManagedObject) {
|
|
|
15
15
|
* Applies a <code>sap.m.CarouselLayout</code> to a provided DOM element or Control.
|
|
16
16
|
*
|
|
17
17
|
* @author SAP SE
|
|
18
|
-
* @version 1.
|
|
18
|
+
* @version 1.95.0
|
|
19
19
|
*
|
|
20
20
|
* @extends sap.ui.base.ManagedObject
|
|
21
21
|
*
|
package/src/sap/m/CheckBox.js
CHANGED
|
@@ -88,7 +88,7 @@ sap.ui.define([
|
|
|
88
88
|
* @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
|
|
89
89
|
*
|
|
90
90
|
* @author SAP SE
|
|
91
|
-
* @version 1.
|
|
91
|
+
* @version 1.95.0
|
|
92
92
|
*
|
|
93
93
|
* @constructor
|
|
94
94
|
* @public
|
|
@@ -343,12 +343,16 @@ sap.ui.define([
|
|
|
343
343
|
}
|
|
344
344
|
};
|
|
345
345
|
|
|
346
|
-
CheckBox.prototype.
|
|
346
|
+
CheckBox.prototype.getFormattedState = function() {
|
|
347
347
|
var oBundle = sap.ui.getCore().getLibraryResourceBundle("sap.m");
|
|
348
348
|
|
|
349
349
|
return this.getSelected() ? oBundle.getText("ACC_CTR_STATE_CHECKED") : oBundle.getText("ACC_CTR_STATE_NOT_CHECKED");
|
|
350
350
|
};
|
|
351
351
|
|
|
352
|
+
CheckBox.prototype.getFormFormattedValue = function() {
|
|
353
|
+
return this.getFormattedState();
|
|
354
|
+
};
|
|
355
|
+
|
|
352
356
|
CheckBox.prototype.getFormValueProperty = function () {
|
|
353
357
|
return "selected";
|
|
354
358
|
};
|
|
@@ -541,11 +545,12 @@ sap.ui.define([
|
|
|
541
545
|
* @returns {object} The <code>sap.m.CheckBox</code> accessibility information
|
|
542
546
|
*/
|
|
543
547
|
CheckBox.prototype.getAccessibilityInfo = function() {
|
|
544
|
-
var oBundle = sap.ui.getCore().getLibraryResourceBundle("sap.m")
|
|
548
|
+
var oBundle = sap.ui.getCore().getLibraryResourceBundle("sap.m"),
|
|
549
|
+
sText = this.getText();
|
|
545
550
|
return {
|
|
546
551
|
role: "checkbox",
|
|
547
552
|
type: oBundle.getText("ACC_CTR_TYPE_CHECKBOX"),
|
|
548
|
-
description: (
|
|
553
|
+
description: (sText ? sText + " " : "") + this.getFormattedState(),
|
|
549
554
|
focusable: this.getEnabled() && !this.getDisplayOnly(),
|
|
550
555
|
enabled: this.getEnabled(),
|
|
551
556
|
editable: this.getEditable()
|
|
@@ -87,7 +87,7 @@ sap.ui.define(['sap/ui/core/library', 'sap/ui/core/ValueStateSupport', 'sap/ui/D
|
|
|
87
87
|
|
|
88
88
|
var sTooltip = this.getTooltipText(oCheckBox);
|
|
89
89
|
|
|
90
|
-
if (sTooltip
|
|
90
|
+
if (sTooltip) {
|
|
91
91
|
oRm.attr("title", sTooltip);
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -179,13 +179,22 @@ sap.ui.define(['sap/ui/core/library', 'sap/ui/core/ValueStateSupport', 'sap/ui/D
|
|
|
179
179
|
*/
|
|
180
180
|
CheckBoxRenderer.getTooltipText = function (oCheckBox) {
|
|
181
181
|
var sValueStateText = oCheckBox.getProperty("valueStateText"),
|
|
182
|
-
sTooltipText = oCheckBox.getTooltip_AsString()
|
|
182
|
+
sTooltipText = oCheckBox.getTooltip_AsString(),
|
|
183
|
+
bEnabled = oCheckBox.getEnabled(),
|
|
184
|
+
bEditable = oCheckBox.getEditable();
|
|
183
185
|
|
|
184
186
|
if (sValueStateText) {
|
|
187
|
+
// custom value state text is set, concat to tooltip and return
|
|
185
188
|
return (sTooltipText ? sTooltipText + " - " : "") + sValueStateText;
|
|
186
|
-
} else {
|
|
189
|
+
} else if (bEditable && bEnabled) {
|
|
190
|
+
// the visual value state is only set for editable and enabled checkboxes
|
|
191
|
+
// the default value state text should only be set in those cases
|
|
187
192
|
return ValueStateSupport.enrichTooltip(oCheckBox, sTooltipText);
|
|
188
193
|
}
|
|
194
|
+
|
|
195
|
+
// if no value state text is provided or the checkbox
|
|
196
|
+
// is disabled only the custom tooltip is returned
|
|
197
|
+
return sTooltipText;
|
|
189
198
|
};
|
|
190
199
|
|
|
191
200
|
return CheckBoxRenderer;
|
package/src/sap/m/Column.js
CHANGED
|
@@ -46,7 +46,7 @@ sap.ui.define([
|
|
|
46
46
|
* @extends sap.ui.core.Element
|
|
47
47
|
*
|
|
48
48
|
* @author SAP SE
|
|
49
|
-
* @version 1.
|
|
49
|
+
* @version 1.95.0
|
|
50
50
|
*
|
|
51
51
|
* @constructor
|
|
52
52
|
* @public
|
|
@@ -393,6 +393,14 @@ sap.ui.define([
|
|
|
393
393
|
this._index = +nIndex;
|
|
394
394
|
};
|
|
395
395
|
|
|
396
|
+
/**
|
|
397
|
+
* Gets the rendering index of the column
|
|
398
|
+
*
|
|
399
|
+
* @protected
|
|
400
|
+
*/
|
|
401
|
+
Column.prototype.getIndex = function() {
|
|
402
|
+
return this._index;
|
|
403
|
+
};
|
|
396
404
|
|
|
397
405
|
/**
|
|
398
406
|
* Sets the order of the column
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* @extends sap.m.ListItemBase
|
|
43
43
|
*
|
|
44
44
|
* @author SAP SE
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.95.0
|
|
46
46
|
*
|
|
47
47
|
* @constructor
|
|
48
48
|
* @public
|
|
@@ -243,7 +243,13 @@ sap.ui.define([
|
|
|
243
243
|
aCells = this.getCells(),
|
|
244
244
|
aColumns = oTable.getColumns(true);
|
|
245
245
|
|
|
246
|
-
aColumns.
|
|
246
|
+
aColumns.sort(function(oCol1, oCol2) {
|
|
247
|
+
var iCol1Index = oCol1.getIndex(), iCol2Index = oCol2.getIndex(), iIndexDiff = iCol1Index - iCol2Index;
|
|
248
|
+
if (iIndexDiff == 0) { return 0; }
|
|
249
|
+
if (iCol1Index < 0) { return 1; }
|
|
250
|
+
if (iCol2Index < 0) { return -1; }
|
|
251
|
+
return iIndexDiff;
|
|
252
|
+
}).forEach(function(oColumn) {
|
|
247
253
|
var oCell = aCells[oColumn.getInitialOrder()];
|
|
248
254
|
if (!oCell || !oColumn.getVisible() || (oColumn.isHidden() && !oColumn.isPopin())) {
|
|
249
255
|
return;
|