@openui5/sap.m 1.116.0 → 1.117.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/src/sap/m/.library +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/ActionTile.js +1 -1
- package/src/sap/m/ActionTileContent.js +1 -1
- package/src/sap/m/AdditionalTextButton.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 +23 -5
- package/src/sap/m/AvatarRenderer.js +16 -10
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/Breadcrumbs.js +6 -5
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/Carousel.js +24 -8
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +18 -4
- package/src/sap/m/CheckBox.js +8 -4
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +1 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +3 -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 +1 -1
- package/src/sap/m/ComboBoxTextField.js +1 -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 +9 -5
- package/src/sap/m/DatePickerRenderer.js +3 -2
- package/src/sap/m/DateRangeSelection.js +45 -22
- package/src/sap/m/DateTimeField.js +3 -3
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +1 -1
- package/src/sap/m/DateTimePickerRenderer.js +3 -1
- package/src/sap/m/Dialog.js +16 -10
- package/src/sap/m/DialogRenderer.js +3 -3
- 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/DynamicDateOption.js +2 -2
- package/src/sap/m/DynamicDateRange.js +42 -5
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +1 -3
- 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 +2 -2
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +1 -1
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +12 -7
- 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/HyphenationSupport.js +13 -4
- package/src/sap/m/IconTabBar.js +3 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +3 -2
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +1 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +4 -2
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/IllustrationPool.js +4 -3
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +10 -6
- package/src/sap/m/InputBase.js +7 -5
- package/src/sap/m/InputBaseRenderer.js +3 -3
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LabelRenderer.js +3 -3
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +8 -3
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +59 -21
- package/src/sap/m/ListBaseRenderer.js +12 -4
- package/src/sap/m/ListItemBase.js +17 -8
- package/src/sap/m/ListItemBaseRenderer.js +6 -6
- 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 +14 -1
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -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 -1
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +2 -2
- package/src/sap/m/MultiComboBox.js +3 -3
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +13 -2
- package/src/sap/m/NavContainer.js +21 -5
- 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/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +6 -1
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +9 -2
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +19 -3
- package/src/sap/m/ObjectStatusRenderer.js +14 -9
- package/src/sap/m/OverflowToolbar.js +24 -15
- package/src/sap/m/OverflowToolbarAssociativePopover.js +5 -5
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarMenuButton.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 +2 -8
- package/src/sap/m/P13nConditionPanel.js +1 -1
- package/src/sap/m/P13nDialog.js +2 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +3 -10
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +28 -43
- 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 +5 -3
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +1 -1
- package/src/sap/m/PDFViewer.js +1 -1
- package/src/sap/m/PDFViewerRenderer.js +1 -1
- package/src/sap/m/Page.js +8 -6
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +11 -2
- package/src/sap/m/PanelRenderer.js +9 -0
- package/src/sap/m/PlanningCalendar.js +10 -4
- package/src/sap/m/PlanningCalendarHeader.js +1 -1
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +13 -17
- 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 +14 -1
- package/src/sap/m/QuickViewCardRenderer.js +0 -4
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +40 -28
- 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 +1 -1
- 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 +3 -3
- package/src/sap/m/SearchField.js +8 -12
- package/src/sap/m/SearchFieldRenderer.js +5 -5
- package/src/sap/m/SegmentedButton.js +4 -2
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/SegmentedButtonRenderer.js +3 -3
- package/src/sap/m/Select.js +18 -16
- package/src/sap/m/SelectDialog.js +1 -1
- package/src/sap/m/SelectDialogBase.js +28 -4
- package/src/sap/m/SelectList.js +5 -6
- package/src/sap/m/SelectionDetails.js +1 -1
- 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 +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +43 -43
- 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 +1 -1
- 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/SplitContainer.js +8 -13
- package/src/sap/m/StandardDynamicDateOption.js +2 -2
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTileRenderer.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +3 -3
- package/src/sap/m/SuggestionItem.js +4 -2
- 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 +14 -12
- 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 +5 -5
- package/src/sap/m/TableSelectDialog.js +1 -1
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/TextRenderer.js +3 -3
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TileRenderer.js +7 -4
- package/src/sap/m/TimePicker.js +13 -11
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerRenderer.js +3 -2
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -1
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +1 -1
- package/src/sap/m/Toolbar.js +4 -2
- 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 -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/VariantManagement.js +12 -12
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +2 -2
- 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 +1 -1
- 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 +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 +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/inputUtils/SuggestionsPopoverDialogMixin.js +5 -5
- package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +4 -0
- package/src/sap/m/library.js +55 -7
- package/src/sap/m/messagebundle.properties +5 -2
- package/src/sap/m/messagebundle_ar.properties +20 -10
- package/src/sap/m/messagebundle_bg.properties +19 -9
- package/src/sap/m/messagebundle_ca.properties +20 -10
- package/src/sap/m/messagebundle_cs.properties +20 -10
- package/src/sap/m/messagebundle_cy.properties +20 -10
- package/src/sap/m/messagebundle_da.properties +20 -10
- package/src/sap/m/messagebundle_de.properties +20 -10
- package/src/sap/m/messagebundle_el.properties +20 -10
- package/src/sap/m/messagebundle_en.properties +20 -10
- package/src/sap/m/messagebundle_en_GB.properties +20 -10
- package/src/sap/m/messagebundle_en_US_sappsd.properties +21 -11
- package/src/sap/m/messagebundle_en_US_saprigi.properties +19 -11
- package/src/sap/m/messagebundle_en_US_saptrc.properties +21 -11
- package/src/sap/m/messagebundle_es.properties +20 -10
- package/src/sap/m/messagebundle_es_MX.properties +20 -10
- package/src/sap/m/messagebundle_et.properties +20 -10
- package/src/sap/m/messagebundle_fi.properties +19 -9
- package/src/sap/m/messagebundle_fr.properties +20 -10
- package/src/sap/m/messagebundle_fr_CA.properties +20 -10
- package/src/sap/m/messagebundle_hi.properties +20 -10
- package/src/sap/m/messagebundle_hr.properties +20 -10
- package/src/sap/m/messagebundle_hu.properties +19 -9
- package/src/sap/m/messagebundle_id.properties +21 -11
- package/src/sap/m/messagebundle_it.properties +20 -10
- package/src/sap/m/messagebundle_iw.properties +21 -11
- package/src/sap/m/messagebundle_ja.properties +20 -10
- package/src/sap/m/messagebundle_kk.properties +20 -10
- package/src/sap/m/messagebundle_ko.properties +21 -11
- package/src/sap/m/messagebundle_lt.properties +20 -10
- package/src/sap/m/messagebundle_lv.properties +20 -10
- package/src/sap/m/messagebundle_ms.properties +20 -10
- package/src/sap/m/messagebundle_nl.properties +22 -12
- package/src/sap/m/messagebundle_no.properties +20 -10
- package/src/sap/m/messagebundle_pl.properties +22 -12
- package/src/sap/m/messagebundle_pt.properties +20 -10
- package/src/sap/m/messagebundle_pt_PT.properties +20 -10
- package/src/sap/m/messagebundle_ro.properties +20 -10
- package/src/sap/m/messagebundle_ru.properties +18 -8
- package/src/sap/m/messagebundle_sh.properties +20 -10
- package/src/sap/m/messagebundle_sk.properties +20 -10
- package/src/sap/m/messagebundle_sl.properties +19 -9
- package/src/sap/m/messagebundle_sv.properties +20 -10
- package/src/sap/m/messagebundle_th.properties +21 -11
- package/src/sap/m/messagebundle_tr.properties +20 -10
- package/src/sap/m/messagebundle_uk.properties +20 -10
- package/src/sap/m/messagebundle_vi.properties +20 -10
- package/src/sap/m/messagebundle_zh_CN.properties +20 -10
- package/src/sap/m/messagebundle_zh_TW.properties +20 -10
- package/src/sap/m/p13n/AbstractContainer.js +2 -2
- package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
- package/src/sap/m/p13n/BasePanel.js +1 -2
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +32 -5
- package/src/sap/m/p13n/FlexUtil.js +7 -3
- package/src/sap/m/p13n/GroupController.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/MetadataHelper.js +1 -1
- package/src/sap/m/p13n/PersistenceProvider.js +2 -97
- package/src/sap/m/p13n/Popup.js +25 -2
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +1 -1
- package/src/sap/m/p13n/SelectionPanel.js +6 -2
- package/src/sap/m/p13n/SortController.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +1 -1
- package/src/sap/m/p13n/enum/PersistenceMode.js +9 -0
- package/src/sap/m/p13n/handler/xConfigHandler.js +12 -12
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +24 -1
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -13
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +5 -4
- package/src/sap/m/p13n/modules/xConfigAPI.js +26 -0
- package/src/sap/m/plugins/CellSelector.js +534 -799
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- package/src/sap/m/plugins/CopyProvider.js +1 -1
- package/src/sap/m/plugins/DataStateIndicator.js +8 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- 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 +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/Util.js +6 -5
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -1
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +1 -1
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/Avatar.less +50 -11
- package/src/sap/m/themes/base/Carousel.less +7 -0
- package/src/sap/m/themes/base/CellSelector.less +50 -105
- package/src/sap/m/themes/base/IconTabBar.less +1 -1
- package/src/sap/m/themes/base/Link.less +20 -24
- package/src/sap/m/themes/base/NumericContent.less +4 -0
- package/src/sap/m/themes/base/Panel.less +14 -0
- package/src/sap/m/themes/base/SearchField.less +5 -0
- package/src/sap/m/themes/base/Select.less +1 -0
- package/src/sap/m/themes/base/Table.less +4 -0
- package/src/sap/m/themes/base/UploadSet.less +13 -1
- package/src/sap/m/themes/base/VariantManagement.less +1 -0
- package/src/sap/m/upload/FilePreviewDialog.js +68 -34
- package/src/sap/m/upload/UploadSet.js +136 -64
- package/src/sap/m/upload/UploadSetItem.js +51 -1
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/ui5.yaml +1 -1
package/src/sap/m/DatePicker.js
CHANGED
|
@@ -35,6 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
"sap/ui/unified/calendar/CalendarUtils",
|
|
36
36
|
"sap/ui/core/date/UI5Date",
|
|
37
37
|
"sap/ui/core/date/CalendarWeekNumbering",
|
|
38
|
+
"sap/ui/core/Core",
|
|
38
39
|
"sap/ui/dom/jquery/cursorPos"
|
|
39
40
|
],
|
|
40
41
|
function(
|
|
@@ -65,7 +66,8 @@ sap.ui.define([
|
|
|
65
66
|
Configuration,
|
|
66
67
|
CalendarUtils,
|
|
67
68
|
UI5Date,
|
|
68
|
-
CalendarWeekNumbering
|
|
69
|
+
CalendarWeekNumbering,
|
|
70
|
+
Core
|
|
69
71
|
) {
|
|
70
72
|
"use strict";
|
|
71
73
|
|
|
@@ -184,7 +186,7 @@ sap.ui.define([
|
|
|
184
186
|
* the close event), or select Cancel.
|
|
185
187
|
*
|
|
186
188
|
* @extends sap.m.DateTimeField
|
|
187
|
-
* @version 1.
|
|
189
|
+
* @version 1.117.1
|
|
188
190
|
*
|
|
189
191
|
* @constructor
|
|
190
192
|
* @public
|
|
@@ -406,7 +408,7 @@ sap.ui.define([
|
|
|
406
408
|
id: this.getId() + "-icon",
|
|
407
409
|
src: this.getIconSrc(),
|
|
408
410
|
noTabStop: true,
|
|
409
|
-
decorative: false,
|
|
411
|
+
decorative: !Device.support.touch || Device.system.desktop ? true : false,
|
|
410
412
|
useIconTooltip: false,
|
|
411
413
|
alt: oResourceBundle.getText("OPEN_PICKER_TEXT")
|
|
412
414
|
});
|
|
@@ -1222,7 +1224,7 @@ sap.ui.define([
|
|
|
1222
1224
|
showCloseButton: false,
|
|
1223
1225
|
showArrow: false,
|
|
1224
1226
|
showHeader: false,
|
|
1225
|
-
placement: library.PlacementType.
|
|
1227
|
+
placement: library.PlacementType.VerticalPreferredBottom,
|
|
1226
1228
|
contentWidth: this.$().closest(".sapUiSizeCompact").length > 0 ? "18rem" : "21rem",
|
|
1227
1229
|
beginButton: new Button({
|
|
1228
1230
|
type: library.ButtonType.Emphasized,
|
|
@@ -1447,6 +1449,8 @@ sap.ui.define([
|
|
|
1447
1449
|
var oRenderer = this.getRenderer();
|
|
1448
1450
|
var oInfo = InputBase.prototype.getAccessibilityInfo.apply(this, arguments);
|
|
1449
1451
|
var sValue = this.getValue() || "";
|
|
1452
|
+
var sRequired = this.getRequired() ? Core.getLibraryResourceBundle("sap.m").getText("ELEMENT_REQUIRED") : '';
|
|
1453
|
+
|
|
1450
1454
|
if (this._bValid) {
|
|
1451
1455
|
var oDate = this.getDateValue();
|
|
1452
1456
|
if (oDate) {
|
|
@@ -1454,7 +1458,7 @@ sap.ui.define([
|
|
|
1454
1458
|
}
|
|
1455
1459
|
}
|
|
1456
1460
|
oInfo.type = oResourceBundle.getText("ACC_CTR_TYPE_DATEINPUT");
|
|
1457
|
-
oInfo.description = [sValue, oRenderer.getLabelledByAnnouncement(this), oRenderer.getDescribedByAnnouncement(this)].join(" ").trim();
|
|
1461
|
+
oInfo.description = [sValue || this._getPlaceholder(), oRenderer.getLabelledByAnnouncement(this), oRenderer.getDescribedByAnnouncement(this), sRequired].join(" ").trim();
|
|
1458
1462
|
return oInfo;
|
|
1459
1463
|
};
|
|
1460
1464
|
|
|
@@ -49,8 +49,9 @@ sap.ui.define(['sap/ui/core/Renderer', './DateTimeFieldRenderer', 'sap/ui/core/l
|
|
|
49
49
|
var mAccessibilityState = DateTimeFieldRenderer.getAccessibilityState.apply(this, arguments);
|
|
50
50
|
|
|
51
51
|
mAccessibilityState["roledescription"] = sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("ACC_CTR_TYPE_DATEINPUT");
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
if (oDP.getEditable() && oDP.getEnabled()) {
|
|
53
|
+
mAccessibilityState["haspopup"] = coreLibrary.aria.HasPopup.Grid.toLowerCase();
|
|
54
|
+
}
|
|
54
55
|
// aria-disabled is not necessary if we already have a native 'disabled' attribute
|
|
55
56
|
mAccessibilityState["disabled"] = null;
|
|
56
57
|
|
|
@@ -20,6 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
"sap/base/assert",
|
|
21
21
|
"sap/ui/core/Configuration",
|
|
22
22
|
"sap/ui/core/date/UI5Date",
|
|
23
|
+
"sap/ui/core/Core",
|
|
23
24
|
// jQuery Plugin "cursorPos"
|
|
24
25
|
"sap/ui/dom/jquery/cursorPos"
|
|
25
26
|
],
|
|
@@ -37,7 +38,8 @@ sap.ui.define([
|
|
|
37
38
|
Log,
|
|
38
39
|
assert,
|
|
39
40
|
Configuration,
|
|
40
|
-
UI5Date
|
|
41
|
+
UI5Date,
|
|
42
|
+
Core
|
|
41
43
|
) {
|
|
42
44
|
"use strict";
|
|
43
45
|
|
|
@@ -163,8 +165,8 @@ sap.ui.define([
|
|
|
163
165
|
* compact mode and provides a touch-friendly size in cozy mode.
|
|
164
166
|
*
|
|
165
167
|
* @extends sap.m.DatePicker
|
|
166
|
-
* @version 1.
|
|
167
|
-
* @version 1.
|
|
168
|
+
* @version 1.117.1
|
|
169
|
+
* @version 1.117.1
|
|
168
170
|
*
|
|
169
171
|
* @constructor
|
|
170
172
|
* @public
|
|
@@ -342,6 +344,8 @@ sap.ui.define([
|
|
|
342
344
|
* @public
|
|
343
345
|
*/
|
|
344
346
|
DateRangeSelection.prototype.setValue = function(sValue) {
|
|
347
|
+
var aDates;
|
|
348
|
+
|
|
345
349
|
sValue = this.validateProperty("value", sValue);
|
|
346
350
|
|
|
347
351
|
if (sValue !== this.getValue()) {
|
|
@@ -350,9 +354,9 @@ sap.ui.define([
|
|
|
350
354
|
return this;
|
|
351
355
|
}
|
|
352
356
|
|
|
353
|
-
|
|
354
|
-
this.setProperty("dateValue", _normalizeDateValue(aDates[0]), this._bPreferUserInteraction);
|
|
355
|
-
this.setProperty("secondDateValue", _normalizeDateValue(aDates[1]), this._bPreferUserInteraction);
|
|
357
|
+
aDates = this._parseAndValidateValue(sValue);
|
|
358
|
+
this.setProperty("dateValue", this._normalizeDateValue(aDates[0]), this._bPreferUserInteraction);
|
|
359
|
+
this.setProperty("secondDateValue", this._normalizeDateValue(aDates[1]), this._bPreferUserInteraction);
|
|
356
360
|
|
|
357
361
|
this._formatValueAndUpdateOutput(aDates);
|
|
358
362
|
this.setProperty("value", sValue, this._bPreferUserInteraction);
|
|
@@ -404,9 +408,16 @@ sap.ui.define([
|
|
|
404
408
|
* @returns {Date|module:sap/ui/core/date/UI5Date} A date instance
|
|
405
409
|
* @private
|
|
406
410
|
*/
|
|
407
|
-
function
|
|
408
|
-
|
|
409
|
-
|
|
411
|
+
DateRangeSelection.prototype._normalizeDateValue = function(vBindingDate) {
|
|
412
|
+
switch (typeof vBindingDate) {
|
|
413
|
+
case "number":
|
|
414
|
+
return UI5Date.getInstance(vBindingDate);
|
|
415
|
+
case "string":
|
|
416
|
+
return _getFormatter.call(this).parse(vBindingDate);
|
|
417
|
+
default:
|
|
418
|
+
return vBindingDate;
|
|
419
|
+
}
|
|
420
|
+
};
|
|
410
421
|
|
|
411
422
|
/**
|
|
412
423
|
* Converts the parameter to a timestamp integer, if it is a UI5Date or JavaScript Date.
|
|
@@ -414,9 +425,9 @@ sap.ui.define([
|
|
|
414
425
|
* @returns {int} A timestamp integer
|
|
415
426
|
* @private
|
|
416
427
|
*/
|
|
417
|
-
function
|
|
428
|
+
DateRangeSelection.prototype._denormalizeDateValue = function(vBindingDate) {
|
|
418
429
|
return (vBindingDate && vBindingDate.getTime) ? vBindingDate.getTime() : vBindingDate;
|
|
419
|
-
}
|
|
430
|
+
};
|
|
420
431
|
|
|
421
432
|
/**
|
|
422
433
|
* Getter for property <code>valueFormat</code>.
|
|
@@ -784,8 +795,9 @@ sap.ui.define([
|
|
|
784
795
|
|
|
785
796
|
var sValue = "",
|
|
786
797
|
sDelimiter = _getDelimiter.call(this),
|
|
787
|
-
oFormat,
|
|
798
|
+
oFormat = _getFormatter.call(this),
|
|
788
799
|
oBinding,
|
|
800
|
+
oBindingType,
|
|
789
801
|
oDate1, oDate2;
|
|
790
802
|
|
|
791
803
|
oDate1 = oDateValue;
|
|
@@ -796,12 +808,13 @@ sap.ui.define([
|
|
|
796
808
|
|
|
797
809
|
if (oBinding && oBinding.getType() && oBinding.getType().isA("sap.ui.model.type.DateInterval")) {
|
|
798
810
|
if (oBinding.getType().oFormatOptions && oBinding.getType().oFormatOptions.source && oBinding.getType().oFormatOptions.source.pattern === "timestamp") {
|
|
799
|
-
sValue = oBinding.getType().formatValue([_denormalizeDateValue(oDateValue), _denormalizeDateValue(oSecondDateValue)], "string");
|
|
811
|
+
sValue = oBinding.getType().formatValue([this._denormalizeDateValue(oDateValue), this._denormalizeDateValue(oSecondDateValue)], "string");
|
|
800
812
|
} else {
|
|
801
813
|
/** DateRangeSelection control uses local dates for its properties, so make sure they are converted
|
|
802
814
|
* to UTC dates if the binding type formatter expects them in UTC
|
|
803
815
|
**/
|
|
804
|
-
|
|
816
|
+
oBindingType = oBinding.getType();
|
|
817
|
+
if (oBindingType.oFormatOptions && oBinding.getType().oFormatOptions.UTC) {
|
|
805
818
|
oDate1 = UI5Date.getInstance(Date.UTC(oDateValue.getFullYear(), oDateValue.getMonth(), oDateValue.getDate(),
|
|
806
819
|
oDateValue.getHours(), oDateValue.getMinutes(), oDateValue.getSeconds()));
|
|
807
820
|
if (oSecondDateValue) {
|
|
@@ -809,11 +822,16 @@ sap.ui.define([
|
|
|
809
822
|
oSecondDateValue.getHours(), oSecondDateValue.getMinutes(), oSecondDateValue.getSeconds()));
|
|
810
823
|
}
|
|
811
824
|
}
|
|
825
|
+
|
|
826
|
+
if (oBindingType.oInputFormat && typeof oDate1 === "object") {
|
|
827
|
+
oDate1 = oFormat.format(oDate1);
|
|
828
|
+
}
|
|
829
|
+
if (oBindingType.oInputFormat && typeof oDate2 === "object") {
|
|
830
|
+
oDate2 = oFormat.format(oDate2);
|
|
831
|
+
}
|
|
812
832
|
sValue = oBinding.getType().formatValue([oDate1, oDate2], "string");
|
|
813
833
|
}
|
|
814
834
|
} else {
|
|
815
|
-
oFormat = _getFormatter.call(this);
|
|
816
|
-
|
|
817
835
|
if (sDelimiter && sDelimiter !== "" && oDate2) {
|
|
818
836
|
sValue = oFormat.format(oDate1) + " " + sDelimiter + " " + oFormat.format(oDate2);
|
|
819
837
|
} else {
|
|
@@ -843,11 +861,14 @@ sap.ui.define([
|
|
|
843
861
|
this._bValid = true;
|
|
844
862
|
if (sValue != "") {
|
|
845
863
|
aDates = this._parseValue(sValue);
|
|
864
|
+
// normalize dates in order to always have UI5Date objects
|
|
865
|
+
aDates[0] = this._normalizeDateValue(aDates[0]);
|
|
866
|
+
aDates[1] = this._normalizeDateValue(aDates[1]);
|
|
846
867
|
// the selected range includes all of the hours from the second date
|
|
847
868
|
aDates[1] && aDates[1].setHours(23, 59, 59, 999);
|
|
848
|
-
aDates = _dateRangeValidityCheck.call(this, aDates[0], aDates[1])
|
|
869
|
+
aDates = _dateRangeValidityCheck.call(this, aDates[0], aDates[1]); // aDates can be undefined if don't fit to the min/max range
|
|
849
870
|
if (aDates[0]) {
|
|
850
|
-
sValue = this._formatValue(
|
|
871
|
+
sValue = this._formatValue(aDates[0], aDates[1]); // to have the right output format if entered different
|
|
851
872
|
} else {
|
|
852
873
|
this._bValid = false;
|
|
853
874
|
}
|
|
@@ -861,8 +882,8 @@ sap.ui.define([
|
|
|
861
882
|
this.setLastValue(sValue);
|
|
862
883
|
this.setProperty("value", sValue, true);
|
|
863
884
|
if (this._bValid) {
|
|
864
|
-
this.setProperty("dateValue", _normalizeDateValue(aDates[0]), true);
|
|
865
|
-
this.setProperty("secondDateValue", _normalizeDateValue(aDates[1]), true);
|
|
885
|
+
this.setProperty("dateValue", this._normalizeDateValue(aDates[0]), true);
|
|
886
|
+
this.setProperty("secondDateValue", this._normalizeDateValue(aDates[1]), true);
|
|
866
887
|
}
|
|
867
888
|
|
|
868
889
|
if (this._oPopup && this._oPopup.isOpen()) {
|
|
@@ -1065,14 +1086,16 @@ sap.ui.define([
|
|
|
1065
1086
|
var oRenderer = this.getRenderer();
|
|
1066
1087
|
var oInfo = DatePicker.prototype.getAccessibilityInfo.apply(this, arguments);
|
|
1067
1088
|
var sValue = this.getValue() || "";
|
|
1089
|
+
var sRequired = this.getRequired() ? Core.getLibraryResourceBundle("sap.m").getText("ELEMENT_REQUIRED") : '';
|
|
1090
|
+
|
|
1068
1091
|
if (this._bValid) {
|
|
1069
1092
|
var oDate = this.getDateValue();
|
|
1070
1093
|
if (oDate) {
|
|
1071
1094
|
sValue = this._formatValue(oDate, this.getSecondDateValue());
|
|
1072
1095
|
}
|
|
1073
1096
|
}
|
|
1074
|
-
oInfo.type =
|
|
1075
|
-
oInfo.description = [sValue, oRenderer.getLabelledByAnnouncement(this), oRenderer.getDescribedByAnnouncement(this)].join(" ").trim();
|
|
1097
|
+
oInfo.type = Core.getLibraryResourceBundle("sap.m").getText("ACC_CTR_TYPE_DATERANGEINPUT");
|
|
1098
|
+
oInfo.description = [sValue || this._getPlaceholder(), oRenderer.getLabelledByAnnouncement(this), oRenderer.getDescribedByAnnouncement(this), sRequired].join(" ").trim();
|
|
1076
1099
|
return oInfo;
|
|
1077
1100
|
};
|
|
1078
1101
|
|
|
@@ -65,7 +65,7 @@ sap.ui.define([
|
|
|
65
65
|
* @extends sap.m.InputBase
|
|
66
66
|
*
|
|
67
67
|
* @author SAP SE
|
|
68
|
-
* @version 1.
|
|
68
|
+
* @version 1.117.1
|
|
69
69
|
*
|
|
70
70
|
* @constructor
|
|
71
71
|
* @public
|
|
@@ -605,8 +605,8 @@ sap.ui.define([
|
|
|
605
605
|
return oBindingType.getOutputPattern();
|
|
606
606
|
}
|
|
607
607
|
|
|
608
|
-
if (oBindingType instanceof ODataType
|
|
609
|
-
return oBindingType.
|
|
608
|
+
if (oBindingType instanceof ODataType) {
|
|
609
|
+
return oBindingType.getFormat().oFormatOptions.pattern;
|
|
610
610
|
}
|
|
611
611
|
|
|
612
612
|
return undefined;
|
|
@@ -45,7 +45,9 @@ sap.ui.define([
|
|
|
45
45
|
DateTimePickerRenderer.getAccessibilityState = function(oDP) {
|
|
46
46
|
var mAccessibilityState = DatePickerRenderer.getAccessibilityState.apply(this, arguments);
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
if (oDP.getEditable() && oDP.getEnabled()) {
|
|
49
|
+
mAccessibilityState["haspopup"] = coreLibrary.aria.HasPopup.Dialog.toLowerCase();
|
|
50
|
+
}
|
|
49
51
|
|
|
50
52
|
return mAccessibilityState;
|
|
51
53
|
};
|
package/src/sap/m/Dialog.js
CHANGED
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
// Provides control sap.m.Dialog.
|
|
8
8
|
sap.ui.define([
|
|
9
|
+
"sap/ui/core/ControlBehavior",
|
|
10
|
+
"sap/base/i18n/Localization",
|
|
11
|
+
"sap/ui/core/Lib",
|
|
9
12
|
"./Bar",
|
|
10
13
|
"./InstanceManager",
|
|
11
14
|
"./AssociativeOverflowToolbar",
|
|
@@ -37,6 +40,9 @@ sap.ui.define([
|
|
|
37
40
|
"sap/ui/dom/jquery/Focusable"
|
|
38
41
|
],
|
|
39
42
|
function(
|
|
43
|
+
ControlBehavior,
|
|
44
|
+
Localization,
|
|
45
|
+
Library,
|
|
40
46
|
Bar,
|
|
41
47
|
InstanceManager,
|
|
42
48
|
AssociativeOverflowToolbar,
|
|
@@ -88,7 +94,7 @@ function(
|
|
|
88
94
|
// shortcut for sap.m.TitleAlignment
|
|
89
95
|
var TitleAlignment = library.TitleAlignment;
|
|
90
96
|
|
|
91
|
-
var sAnimationMode =
|
|
97
|
+
var sAnimationMode = ControlBehavior.getAnimationMode();
|
|
92
98
|
var bUseAnimations = sAnimationMode !== Configuration.AnimationMode.none && sAnimationMode !== Configuration.AnimationMode.minimal;
|
|
93
99
|
|
|
94
100
|
// the time should be longer the longest transition in the CSS (200ms),
|
|
@@ -167,7 +173,7 @@ function(
|
|
|
167
173
|
*
|
|
168
174
|
* @implements sap.ui.core.PopupInterface
|
|
169
175
|
* @author SAP SE
|
|
170
|
-
* @version 1.
|
|
176
|
+
* @version 1.117.1
|
|
171
177
|
*
|
|
172
178
|
* @constructor
|
|
173
179
|
* @public
|
|
@@ -491,7 +497,7 @@ function(
|
|
|
491
497
|
return this._headerTitle ? this._headerTitle.getId() : false;
|
|
492
498
|
});
|
|
493
499
|
|
|
494
|
-
Dialog._bPaddingByDefault = (
|
|
500
|
+
Dialog._bPaddingByDefault = (Configuration.getCompatibilityVersion("sapMDialogWithPadding").compareTo("1.16") < 0);
|
|
495
501
|
|
|
496
502
|
Dialog._initIcons = function () {
|
|
497
503
|
if (Dialog._mIcons) {
|
|
@@ -516,7 +522,7 @@ function(
|
|
|
516
522
|
Dialog._getHeaderToolbarAriaLabelledByText = function() {
|
|
517
523
|
if (!Dialog._oHeaderToolbarInvisibleText) {
|
|
518
524
|
Dialog._oHeaderToolbarInvisibleText = new InvisibleText("__headerActionsToolbar-invisibleText", {
|
|
519
|
-
text:
|
|
525
|
+
text: Library.getResourceBundleFor("sap.m").getText("ARIA_LABEL_TOOLBAR_HEADER_ACTIONS")
|
|
520
526
|
}).toStatic();
|
|
521
527
|
}
|
|
522
528
|
|
|
@@ -534,7 +540,7 @@ function(
|
|
|
534
540
|
Dialog._getFooterToolbarAriaLabelledByText = function() {
|
|
535
541
|
if (!Dialog._oFooterToolbarInvisibleText) {
|
|
536
542
|
Dialog._oFooterToolbarInvisibleText = new InvisibleText("__footerActionsToolbar-invisibleText", {
|
|
537
|
-
text:
|
|
543
|
+
text: Library.getResourceBundleFor("sap.m").getText("ARIA_LABEL_TOOLBAR_FOOTER_ACTIONS")
|
|
538
544
|
}).toStatic();
|
|
539
545
|
}
|
|
540
546
|
|
|
@@ -548,7 +554,7 @@ function(
|
|
|
548
554
|
var that = this;
|
|
549
555
|
this._oManuallySetSize = null;
|
|
550
556
|
this._oManuallySetPosition = null;
|
|
551
|
-
this._bRTL =
|
|
557
|
+
this._bRTL = Localization.getRTL();
|
|
552
558
|
|
|
553
559
|
// used to judge if enableScrolling needs to be disabled
|
|
554
560
|
this._scrollContentList = ["sap.m.NavContainer", "sap.m.Page", "sap.m.ScrollContainer", "sap.m.SplitContainer", "sap.m.MultiInput", "sap.m.SimpleFixFlex"];
|
|
@@ -628,7 +634,7 @@ function(
|
|
|
628
634
|
|
|
629
635
|
this._createToolbarButtons();
|
|
630
636
|
|
|
631
|
-
if (
|
|
637
|
+
if (ControlBehavior.isAccessibilityEnabled() && this.getState() != ValueState.None) {
|
|
632
638
|
if (!this._oValueState) {
|
|
633
639
|
this._oValueState = new InvisibleText();
|
|
634
640
|
|
|
@@ -1614,7 +1620,7 @@ function(
|
|
|
1614
1620
|
};
|
|
1615
1621
|
|
|
1616
1622
|
/**
|
|
1617
|
-
* Returns the <code>sap.ui.core.ScrollEnablement</code> delegate which is used with this control.
|
|
1623
|
+
* Returns the <code>sap.ui.core.delegate.ScrollEnablement</code> delegate which is used with this control.
|
|
1618
1624
|
*
|
|
1619
1625
|
* @private
|
|
1620
1626
|
*/
|
|
@@ -1816,7 +1822,7 @@ function(
|
|
|
1816
1822
|
* @private
|
|
1817
1823
|
*/
|
|
1818
1824
|
Dialog.prototype.getValueStateString = function (sValueState) {
|
|
1819
|
-
var rb =
|
|
1825
|
+
var rb = Library.getResourceBundleFor("sap.m");
|
|
1820
1826
|
|
|
1821
1827
|
switch (sValueState) {
|
|
1822
1828
|
case (ValueState.Success):
|
|
@@ -1845,7 +1851,7 @@ function(
|
|
|
1845
1851
|
* @private
|
|
1846
1852
|
*/
|
|
1847
1853
|
Dialog.prototype._getAriaDescribedByText = function () {
|
|
1848
|
-
var oRb =
|
|
1854
|
+
var oRb = Library.getResourceBundleFor("sap.m");
|
|
1849
1855
|
if (this.getResizable() && this.getDraggable()) {
|
|
1850
1856
|
return oRb.getText("DIALOG_HEADER_ARIA_DESCRIBEDBY_DRAGGABLE_RESIZABLE");
|
|
1851
1857
|
}
|
|
@@ -7,8 +7,8 @@ sap.ui.define([
|
|
|
7
7
|
"sap/m/library",
|
|
8
8
|
"sap/ui/Device",
|
|
9
9
|
"sap/ui/core/library",
|
|
10
|
-
"sap/ui/core/
|
|
11
|
-
], function (library, Device, coreLibrary,
|
|
10
|
+
"sap/ui/core/Lib"
|
|
11
|
+
], function (library, Device, coreLibrary, Library) {
|
|
12
12
|
"use strict";
|
|
13
13
|
|
|
14
14
|
// shortcut for sap.m.DialogType
|
|
@@ -180,7 +180,7 @@ sap.ui.define([
|
|
|
180
180
|
oRM.attr("tabindex", 0)
|
|
181
181
|
.accessibilityState(oHeader, {
|
|
182
182
|
role: "group",
|
|
183
|
-
roledescription:
|
|
183
|
+
roledescription: Library.getResourceBundleFor("sap.m").getText("DIALOG_HEADER_ARIA_ROLE_DESCRIPTION"),
|
|
184
184
|
describedby: { value: oDialog.getId() + "-ariaDescribedbyText", append: true }
|
|
185
185
|
});
|
|
186
186
|
}
|
package/src/sap/m/DynamicDate.js
CHANGED
|
@@ -40,7 +40,7 @@ sap.ui.define([
|
|
|
40
40
|
* @extends sap.ui.core.Element
|
|
41
41
|
*
|
|
42
42
|
* @author SAP SE
|
|
43
|
-
* @version 1.
|
|
43
|
+
* @version 1.117.1
|
|
44
44
|
*
|
|
45
45
|
* @public
|
|
46
46
|
* @since 1.92
|
|
@@ -521,7 +521,7 @@ sap.ui.define([
|
|
|
521
521
|
|
|
522
522
|
oDate.setDate(1);
|
|
523
523
|
oDate.setMonth(iMonth);
|
|
524
|
-
oDate.
|
|
524
|
+
oDate.setFullYear(iYear);
|
|
525
525
|
oControl.addSelectedDate(new DateRange({
|
|
526
526
|
startDate: oDate
|
|
527
527
|
}));
|
|
@@ -242,7 +242,7 @@ sap.ui.define([
|
|
|
242
242
|
* is opened. The dialog is closed via a date time period value selection or by pressing the "Cancel" button.
|
|
243
243
|
*
|
|
244
244
|
* @author SAP SE
|
|
245
|
-
* @version 1.
|
|
245
|
+
* @version 1.117.1
|
|
246
246
|
*
|
|
247
247
|
* @constructor
|
|
248
248
|
* @public
|
|
@@ -428,8 +428,14 @@ sap.ui.define([
|
|
|
428
428
|
* @since 1.111.0
|
|
429
429
|
*/
|
|
430
430
|
|
|
431
|
-
calendarWeekNumbering : { type : "sap.ui.core.date.CalendarWeekNumbering", group : "Appearance", defaultValue: null}
|
|
431
|
+
calendarWeekNumbering : { type : "sap.ui.core.date.CalendarWeekNumbering", group : "Appearance", defaultValue: null},
|
|
432
432
|
|
|
433
|
+
/**
|
|
434
|
+
* Specifies whether clear icon is shown.
|
|
435
|
+
* Pressing the icon will clear input's value and fire the liveChange event.
|
|
436
|
+
* @since 1.117
|
|
437
|
+
*/
|
|
438
|
+
showClearIcon: { type: "boolean", defaultValue: false }
|
|
433
439
|
},
|
|
434
440
|
aggregations: {
|
|
435
441
|
/**
|
|
@@ -490,6 +496,7 @@ sap.ui.define([
|
|
|
490
496
|
var aNextOptions = ["NEXTMINUTES", "NEXTHOURS", "NEXTDAYS", "NEXTWEEKS", "NEXTMONTHS", "NEXTQUARTERS", "NEXTYEARS"];
|
|
491
497
|
|
|
492
498
|
DynamicDateRange.prototype.init = function() {
|
|
499
|
+
var bValueHelpDecorative = !Device.support.touch || Device.system.desktop ? true : false;
|
|
493
500
|
this._oInput = new DynamicDateRangeInput(this.getId() + "-input", {
|
|
494
501
|
showValueHelp: true,
|
|
495
502
|
valueHelpIconSrc: IconPool.getIconURI("sap-icon://check-availability"),
|
|
@@ -506,7 +513,7 @@ sap.ui.define([
|
|
|
506
513
|
}
|
|
507
514
|
};
|
|
508
515
|
|
|
509
|
-
this._oInput._getValueHelpIcon().setDecorative(
|
|
516
|
+
this._oInput._getValueHelpIcon().setDecorative(bValueHelpDecorative);
|
|
510
517
|
|
|
511
518
|
this._oInput.addDelegate(this._onBeforeInputRenderingDelegate, this);
|
|
512
519
|
|
|
@@ -570,6 +577,31 @@ sap.ui.define([
|
|
|
570
577
|
return this;
|
|
571
578
|
};
|
|
572
579
|
|
|
580
|
+
/**
|
|
581
|
+
* Sets the tooltip for the <code>DynamicDateRange</code>.
|
|
582
|
+
* @param {sap.ui.core.TooltipBase|string} vTooltip The tooltip that should be shown.
|
|
583
|
+
* @returns {this} Reference to <code>this</code> for method chaining
|
|
584
|
+
* @public
|
|
585
|
+
* @override
|
|
586
|
+
*/
|
|
587
|
+
DynamicDateRange.prototype.setTooltip = function(vTooltip) {
|
|
588
|
+
this._oInput.setTooltip(vTooltip);
|
|
589
|
+
return Control.prototype.setTooltip.apply(this, arguments);
|
|
590
|
+
};
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* Sets the showClearIcon for the <code>DynamicDateRange</code>.
|
|
594
|
+
* @param {boolean} bShowClearIcon Whether to show clear icon.
|
|
595
|
+
* @returns {this} Reference to <code>this</code> for method chaining
|
|
596
|
+
* @public
|
|
597
|
+
* @override
|
|
598
|
+
*/
|
|
599
|
+
DynamicDateRange.prototype.setShowClearIcon = function(bShowClearIcon) {
|
|
600
|
+
this.setProperty("showClearIcon", bShowClearIcon);
|
|
601
|
+
this._oInput.setShowClearIcon(bShowClearIcon);
|
|
602
|
+
return this;
|
|
603
|
+
};
|
|
604
|
+
|
|
573
605
|
DynamicDateRange.prototype.onBeforeRendering = function() {
|
|
574
606
|
this._updateInputValue(this.getValue());
|
|
575
607
|
this._oInput.setEditable(this.getEditable());
|
|
@@ -1785,6 +1817,10 @@ sap.ui.define([
|
|
|
1785
1817
|
DynamicDateRangeInputRenderer.apiVersion = 2;
|
|
1786
1818
|
|
|
1787
1819
|
DynamicDateRangeInputRenderer.writeInnerAttributes = function(oRm, oControl) {
|
|
1820
|
+
if (oControl.getShowSuggestion() || oControl.getShowValueStateMessage()) {
|
|
1821
|
+
oRm.attr("autocomplete", "off");
|
|
1822
|
+
}
|
|
1823
|
+
|
|
1788
1824
|
var oDynamicDateRange = oControl._getControlOrigin ? oControl._getControlOrigin() : null,
|
|
1789
1825
|
mAccAttributes = this.getAccessibilityState(oControl);
|
|
1790
1826
|
|
|
@@ -1824,8 +1860,9 @@ sap.ui.define([
|
|
|
1824
1860
|
|
|
1825
1861
|
mAccessibilityState.roledescription = oResourceBundle.getText("ACC_CTR_TYPE_DYNAMIC_DATE_RANGE");
|
|
1826
1862
|
mAccessibilityState.role = this.getAriaRole();
|
|
1827
|
-
|
|
1828
|
-
|
|
1863
|
+
if (oControl.getEditable() && oControl.getEnabled()) {
|
|
1864
|
+
mAccessibilityState.haspopup = coreLibrary.aria.HasPopup.ListBox.toLowerCase();
|
|
1865
|
+
}
|
|
1829
1866
|
mAccessibilityState.controls = oDynamicDateRange._oPopup && oDynamicDateRange._oPopup.getDomRef() ?
|
|
1830
1867
|
oDynamicDateRange._oPopup.getDomRef().id : undefined;
|
|
1831
1868
|
|
package/src/sap/m/FacetFilter.js
CHANGED
|
@@ -174,7 +174,7 @@ sap.ui.define([
|
|
|
174
174
|
*
|
|
175
175
|
* @extends sap.ui.core.Control
|
|
176
176
|
* @implements sap.ui.core.IShrinkable
|
|
177
|
-
* @version 1.
|
|
177
|
+
* @version 1.117.1
|
|
178
178
|
*
|
|
179
179
|
* @constructor
|
|
180
180
|
* @public
|
|
@@ -1649,7 +1649,6 @@ sap.ui.define([
|
|
|
1649
1649
|
beginButton : new Button({
|
|
1650
1650
|
text : this._bundle.getText("FACETFILTER_ACCEPT"),
|
|
1651
1651
|
type: ButtonType.Emphasized,
|
|
1652
|
-
tooltip:this._bundle.getText("FACETFILTER_ACCEPT"),
|
|
1653
1652
|
press : function() {
|
|
1654
1653
|
|
|
1655
1654
|
that._closeDialog();
|
|
@@ -2080,7 +2079,6 @@ sap.ui.define([
|
|
|
2080
2079
|
if (!oFooter) {
|
|
2081
2080
|
oButton = new Button({
|
|
2082
2081
|
text: this._bundle.getText("FACETFILTER_ACCEPT"),
|
|
2083
|
-
tooltip: this._bundle.getText("FACETFILTER_ACCEPT"),
|
|
2084
2082
|
press: function() {
|
|
2085
2083
|
this._closePopover();
|
|
2086
2084
|
}.bind(this)
|
|
@@ -20,7 +20,7 @@ sap.ui.define(['./ListItemBase', './library', './FacetFilterItemRenderer'],
|
|
|
20
20
|
* @class
|
|
21
21
|
* Represents a value for the {@link sap.m.FacetFilterList} control.
|
|
22
22
|
* @extends sap.m.ListItemBase
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.117.1
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @public
|
package/src/sap/m/FeedContent.js
CHANGED