@openui5/sap.m 1.120.6 → 1.121.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 +23 -21
- package/THIRDPARTY.txt +6 -43
- package/package.json +4 -4
- package/src/sap/m/.library +18 -2
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +11 -11
- package/src/sap/m/ActionSheet.js +12 -8
- package/src/sap/m/ActionSheetRenderer.js +4 -4
- package/src/sap/m/ActionTile.js +7 -1
- package/src/sap/m/ActionTileContent.js +86 -7
- package/src/sap/m/ActionTileContentRenderer.js +4 -41
- package/src/sap/m/AdditionalTextButton.js +1 -1
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +6 -6
- package/src/sap/m/Avatar.js +32 -14
- package/src/sap/m/Bar.js +5 -5
- package/src/sap/m/BarRenderer.js +3 -3
- package/src/sap/m/Breadcrumbs.js +12 -4
- package/src/sap/m/BreadcrumbsRenderer.js +1 -1
- package/src/sap/m/BusyDialog.js +19 -33
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +8 -8
- package/src/sap/m/ButtonRenderer.js +0 -4
- package/src/sap/m/Carousel.js +53 -25
- package/src/sap/m/CarouselLayout.js +14 -3
- package/src/sap/m/CarouselRenderer.js +4 -4
- package/src/sap/m/CheckBox.js +46 -5
- package/src/sap/m/CheckBoxRenderer.js +10 -3
- package/src/sap/m/ColorPalette.js +4 -2
- package/src/sap/m/ColorPalettePopover.js +5 -3
- package/src/sap/m/ColorPaletteRenderer.js +3 -3
- package/src/sap/m/Column.js +3 -4
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +59 -20
- package/src/sap/m/ColumnListItemRenderer.js +8 -9
- 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 +6 -6
- package/src/sap/m/ComboBox.js +16 -9
- package/src/sap/m/ComboBoxBase.js +10 -9
- package/src/sap/m/ComboBoxTextField.js +6 -4
- package/src/sap/m/ContentConfig.js +142 -0
- 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 +19 -18
- package/src/sap/m/DatePickerRenderer.js +3 -3
- package/src/sap/m/DateRangeSelection.js +16 -13
- package/src/sap/m/DateRangeSelectionRenderer.js +3 -3
- package/src/sap/m/DateTimeField.js +17 -9
- package/src/sap/m/DateTimeInput.js +6 -4
- package/src/sap/m/DateTimePicker.js +39 -30
- package/src/sap/m/DateTimePickerRenderer.js +4 -2
- package/src/sap/m/Dialog.js +21 -9
- package/src/sap/m/DialogRenderer.js +10 -3
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +5 -5
- package/src/sap/m/DynamicDate.js +5 -3
- package/src/sap/m/DynamicDateFormat.js +7 -6
- package/src/sap/m/DynamicDateOption.js +10 -5
- package/src/sap/m/DynamicDateRange.js +56 -43
- package/src/sap/m/DynamicDateUtil.js +3 -3
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +5 -9
- package/src/sap/m/ExpandableTextRenderer.js +3 -3
- package/src/sap/m/FacetFilter.js +17 -8
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +7 -7
- package/src/sap/m/FacetFilterRenderer.js +4 -4
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +4 -4
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/FeedListItemRenderer.js +3 -3
- package/src/sap/m/Fiori20Adapter.js +9 -9
- package/src/sap/m/FlexBox.js +2 -2
- package/src/sap/m/FlexItemData.js +17 -17
- package/src/sap/m/FormattedText.js +7 -6
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTagRenderer.js +5 -5
- package/src/sap/m/GenericTile.js +102 -14
- package/src/sap/m/GenericTileLineModeRenderer.js +3 -3
- package/src/sap/m/GenericTileRenderer.js +3 -3
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GroupHeaderListItemRenderer.js +3 -3
- package/src/sap/m/GrowingEnablement.js +7 -6
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +5 -5
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +4 -4
- package/src/sap/m/IconTabBarDragAndDropUtil.js +5 -5
- package/src/sap/m/IconTabBarSelectList.js +2 -2
- package/src/sap/m/IconTabFilter.js +27 -15
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +4 -4
- package/src/sap/m/IconTabHeader.js +61 -28
- package/src/sap/m/IconTabHeaderRenderer.js +5 -5
- package/src/sap/m/IconTabSeparator.js +7 -7
- package/src/sap/m/IllustratedMessage.js +8 -6
- package/src/sap/m/IllustratedMessageType.js +12 -0
- package/src/sap/m/Illustration.js +4 -4
- package/src/sap/m/IllustrationPool.js +3 -3
- package/src/sap/m/Image.js +6 -3
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +65 -36
- package/src/sap/m/InputBase.js +33 -8
- package/src/sap/m/InputBaseRenderer.js +3 -3
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InputRenderer.js +5 -6
- package/src/sap/m/Label.js +6 -6
- package/src/sap/m/LightBox.js +4 -4
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +30 -6
- package/src/sap/m/LinkRenderer.js +4 -4
- package/src/sap/m/LinkTileContent.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +43 -24
- package/src/sap/m/ListItemBase.js +7 -6
- package/src/sap/m/ListItemBaseRenderer.js +3 -0
- package/src/sap/m/MaskEnabler.js +8 -6
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRenderer.js +2 -2
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +19 -17
- package/src/sap/m/MenuButton.js +8 -6
- package/src/sap/m/MenuItem.js +9 -9
- package/src/sap/m/MenuListItem.js +5 -4
- package/src/sap/m/MessageBox.js +5 -3
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +4 -3
- package/src/sap/m/MessagePage.js +4 -2
- package/src/sap/m/MessagePopover.js +9 -6
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +9 -7
- package/src/sap/m/MessageStripRenderer.js +5 -2
- package/src/sap/m/MessageStripUtilities.js +6 -4
- package/src/sap/m/MessageToast.js +8 -7
- package/src/sap/m/MessageView.js +29 -6
- package/src/sap/m/MessageViewRenderer.js +2 -2
- package/src/sap/m/MultiComboBox.js +36 -17
- package/src/sap/m/MultiComboBoxRenderer.js +4 -4
- package/src/sap/m/MultiEditField.js +4 -4
- package/src/sap/m/MultiInput.js +66 -19
- package/src/sap/m/MultiInputRenderer.js +3 -3
- package/src/sap/m/NavContainer.js +14 -9
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +4 -4
- package/src/sap/m/NotificationListGroup.js +4 -4
- package/src/sap/m/NotificationListItem.js +4 -4
- package/src/sap/m/NumericContent.js +6 -6
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/NumericInputRenderer.js +6 -6
- package/src/sap/m/ObjectAttribute.js +7 -6
- package/src/sap/m/ObjectAttributeRenderer.js +3 -3
- package/src/sap/m/ObjectHeader.js +15 -11
- package/src/sap/m/ObjectHeaderRenderer.js +4 -4
- package/src/sap/m/ObjectIdentifier.js +37 -8
- package/src/sap/m/ObjectIdentifierRenderer.js +3 -3
- package/src/sap/m/ObjectListItem.js +4 -4
- package/src/sap/m/ObjectMarker.js +6 -4
- package/src/sap/m/ObjectNumber.js +4 -3
- package/src/sap/m/ObjectNumberRenderer.js +6 -6
- package/src/sap/m/ObjectStatus.js +28 -22
- package/src/sap/m/ObjectStatusRenderer.js +26 -20
- package/src/sap/m/OverflowToolbar.js +2 -2
- package/src/sap/m/OverflowToolbarAssociativePopover.js +3 -3
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +2 -2
- 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 +33 -11
- package/src/sap/m/P13nConditionPanel.js +6 -4
- package/src/sap/m/P13nDialog.js +27 -13
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +18 -12
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +71 -49
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +5 -4
- 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 +28 -7
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +6 -5
- package/src/sap/m/PDFViewer.js +3 -6
- package/src/sap/m/Page.js +4 -8
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +5 -4
- package/src/sap/m/Panel.js +10 -5
- package/src/sap/m/PlanningCalendar.js +160 -109
- package/src/sap/m/PlanningCalendarHeader.js +9 -7
- package/src/sap/m/PlanningCalendarLegend.js +5 -5
- package/src/sap/m/PlanningCalendarRow.js +26 -15
- package/src/sap/m/PlanningCalendarView.js +1 -4
- package/src/sap/m/Popover.js +19 -21
- package/src/sap/m/PopoverRenderer.js +4 -4
- package/src/sap/m/ProgressIndicator.js +15 -13
- package/src/sap/m/ProgressIndicatorRenderer.js +3 -4
- package/src/sap/m/PullToRefresh.js +4 -3
- 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/QuickViewCardRenderer.js +3 -3
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +29 -17
- package/src/sap/m/RadioButton.js +4 -4
- package/src/sap/m/RadioButtonGroup.js +38 -5
- package/src/sap/m/RadioButtonGroupRenderer.js +4 -4
- package/src/sap/m/RadioButtonRenderer.js +3 -3
- package/src/sap/m/RangeSlider.js +9 -7
- package/src/sap/m/RangeSliderRenderer.js +2 -2
- package/src/sap/m/RatingIndicator.js +7 -6
- package/src/sap/m/RatingIndicatorRenderer.js +4 -4
- package/src/sap/m/ResponsivePopover.js +1 -3
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +3 -3
- package/src/sap/m/ScrollContainer.js +6 -6
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +7 -5
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +30 -16
- package/src/sap/m/SelectDialog.js +5 -3
- package/src/sap/m/SelectDialogBase.js +6 -6
- package/src/sap/m/SelectList.js +6 -6
- package/src/sap/m/SelectionDetails.js +7 -3
- 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 +4 -4
- package/src/sap/m/ShellRenderer.js +3 -2
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +41 -9
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +122 -54
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +22 -20
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +315 -61
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +88 -35
- package/src/sap/m/SinglePlanningCalendarMonthView.js +3 -4
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +5 -5
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +6 -5
- package/src/sap/m/SlideTile.js +6 -6
- package/src/sap/m/SlideTileRenderer.js +1 -3
- package/src/sap/m/Slider.js +38 -11
- package/src/sap/m/SliderRenderer.js +4 -4
- package/src/sap/m/SliderTooltip.js +4 -4
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +10 -8
- package/src/sap/m/SliderTooltipRenderer.js +3 -3
- package/src/sap/m/SplitApp.js +2 -1
- package/src/sap/m/SplitButton.js +5 -3
- package/src/sap/m/SplitContainer.js +20 -11
- package/src/sap/m/StandardDynamicDateOption.js +16 -12
- package/src/sap/m/StandardListItem.js +4 -3
- package/src/sap/m/StandardListItemRenderer.js +3 -3
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +6 -4
- package/src/sap/m/Suggest.js +5 -5
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsList.js +9 -7
- package/src/sap/m/SuggestionsListRenderer.js +2 -2
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +13 -11
- package/src/sap/m/SwitchRenderer.js +3 -3
- package/src/sap/m/TabContainer.js +9 -6
- package/src/sap/m/TabContainerItem.js +5 -8
- package/src/sap/m/TabStrip.js +23 -12
- package/src/sap/m/TabStripItem.js +7 -10
- package/src/sap/m/TabStripRenderer.js +2 -2
- package/src/sap/m/Table.js +4 -5
- package/src/sap/m/TablePersoController.js +10 -8
- package/src/sap/m/TablePersoDialog.js +19 -16
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +4 -4
- package/src/sap/m/TableSelectDialog.js +5 -3
- package/src/sap/m/Text.js +36 -39
- package/src/sap/m/TextArea.js +5 -3
- package/src/sap/m/TextRenderer.js +2 -7
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileAttribute.js +64 -0
- package/src/sap/m/TileAttributeRenderer.js +70 -0
- package/src/sap/m/TileContainer.js +10 -8
- package/src/sap/m/TileContent.js +8 -4
- package/src/sap/m/TileRenderer.js +3 -3
- package/src/sap/m/TimePicker.js +24 -19
- package/src/sap/m/TimePickerClock.js +4 -3
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +12 -10
- package/src/sap/m/TimePickerSlider.js +9 -7
- package/src/sap/m/TimePickerSliders.js +17 -13
- package/src/sap/m/TimePickerSlidersRenderer.js +3 -3
- package/src/sap/m/Title.js +5 -4
- package/src/sap/m/TitlePropagationSupport.js +4 -4
- package/src/sap/m/ToggleButton.js +4 -3
- package/src/sap/m/Token.js +6 -6
- package/src/sap/m/Tokenizer.js +16 -10
- package/src/sap/m/Toolbar.js +4 -4
- 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 +4 -2
- package/src/sap/m/TreeItemBase.js +4 -3
- package/src/sap/m/TreeItemBaseRenderer.js +3 -3
- package/src/sap/m/UploadCollection.js +28 -24
- 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 +5 -5
- package/src/sap/m/VariantItem.js +8 -3
- package/src/sap/m/VariantManagement.js +112 -33
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +34 -21
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +9 -2
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +4 -3
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/WheelSliderContainerRenderer.js +3 -3
- package/src/sap/m/Wizard.js +17 -15
- package/src/sap/m/WizardProgressNavigator.js +18 -2
- package/src/sap/m/WizardProgressNavigatorRenderer.js +9 -5
- package/src/sap/m/WizardRenderer.js +6 -4
- package/src/sap/m/WizardStep.js +9 -11
- package/src/sap/m/changeHandler/AddTableColumn.js +3 -7
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +4 -4
- package/src/sap/m/changeHandler/MoveTableColumns.js +3 -2
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/delegate/ValueStateMessage.js +3 -3
- package/src/sap/m/designtime/IconTabBar.designtime.js +3 -2
- package/src/sap/m/designtime/Link.designtime.js +4 -4
- package/src/sap/m/designtime/MenuButton.designtime.js +3 -0
- package/src/sap/m/designtime/ObjectIdentifier.designtime.js +0 -4
- package/src/sap/m/designtime/messagebundle_en_US_saprigi.properties +91 -91
- package/src/sap/m/flexibility/EngineFlex.js +14 -8
- package/src/sap/m/flexibility/MenuButton.flexibility.js +1 -0
- package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +4 -4
- package/src/sap/m/library.js +181 -59
- package/src/sap/m/messagebundle.properties +113 -90
- package/src/sap/m/messagebundle_ar.properties +16 -10
- package/src/sap/m/messagebundle_bg.properties +19 -13
- package/src/sap/m/messagebundle_ca.properties +16 -10
- package/src/sap/m/messagebundle_cnr.properties +21 -15
- package/src/sap/m/messagebundle_cs.properties +16 -10
- package/src/sap/m/messagebundle_cy.properties +19 -13
- package/src/sap/m/messagebundle_da.properties +14 -8
- package/src/sap/m/messagebundle_de.properties +12 -6
- package/src/sap/m/messagebundle_el.properties +27 -21
- package/src/sap/m/messagebundle_en.properties +1164 -22
- package/src/sap/m/messagebundle_en_GB.properties +23 -17
- package/src/sap/m/messagebundle_en_US_saprigi.properties +34 -22
- package/src/sap/m/messagebundle_es.properties +19 -13
- package/src/sap/m/messagebundle_es_MX.properties +18 -12
- package/src/sap/m/messagebundle_et.properties +14 -8
- package/src/sap/m/messagebundle_fi.properties +21 -15
- package/src/sap/m/messagebundle_fr.properties +15 -9
- package/src/sap/m/messagebundle_fr_CA.properties +11 -5
- package/src/sap/m/messagebundle_hi.properties +24 -18
- package/src/sap/m/messagebundle_hr.properties +15 -9
- package/src/sap/m/messagebundle_hu.properties +20 -14
- package/src/sap/m/messagebundle_id.properties +15 -9
- package/src/sap/m/messagebundle_it.properties +17 -11
- package/src/sap/m/messagebundle_iw.properties +13 -7
- package/src/sap/m/messagebundle_ja.properties +23 -17
- package/src/sap/m/messagebundle_kk.properties +14 -8
- package/src/sap/m/messagebundle_ko.properties +18 -12
- package/src/sap/m/messagebundle_lt.properties +17 -11
- package/src/sap/m/messagebundle_lv.properties +26 -20
- package/src/sap/m/messagebundle_mk.properties +20 -14
- package/src/sap/m/messagebundle_ms.properties +13 -7
- package/src/sap/m/messagebundle_nl.properties +16 -10
- package/src/sap/m/messagebundle_no.properties +15 -9
- package/src/sap/m/messagebundle_pl.properties +16 -10
- package/src/sap/m/messagebundle_pt.properties +16 -10
- package/src/sap/m/messagebundle_pt_PT.properties +13 -7
- package/src/sap/m/messagebundle_ro.properties +13 -7
- package/src/sap/m/messagebundle_ru.properties +15 -9
- package/src/sap/m/messagebundle_sh.properties +21 -15
- package/src/sap/m/messagebundle_sk.properties +13 -7
- package/src/sap/m/messagebundle_sl.properties +14 -8
- package/src/sap/m/messagebundle_sr.properties +21 -15
- package/src/sap/m/messagebundle_sv.properties +15 -9
- package/src/sap/m/messagebundle_th.properties +12 -6
- package/src/sap/m/messagebundle_tr.properties +15 -9
- package/src/sap/m/messagebundle_uk.properties +15 -9
- package/src/sap/m/messagebundle_vi.properties +16 -10
- package/src/sap/m/messagebundle_zh_CN.properties +12 -6
- package/src/sap/m/messagebundle_zh_TW.properties +12 -6
- package/src/sap/m/p13n/.eslintrc.json +19 -0
- package/src/sap/m/p13n/AbstractContainer.js +43 -29
- package/src/sap/m/p13n/AbstractContainerItem.js +8 -8
- package/src/sap/m/p13n/BasePanel.js +123 -76
- package/src/sap/m/p13n/Container.js +80 -50
- package/src/sap/m/p13n/Engine.js +331 -294
- package/src/sap/m/p13n/FilterController.js +335 -0
- package/src/sap/m/p13n/FilterPanel.js +291 -0
- package/src/sap/m/p13n/FlexUtil.js +23 -21
- package/src/sap/m/p13n/GroupController.js +97 -85
- package/src/sap/m/p13n/GroupPanel.js +30 -25
- package/src/sap/m/p13n/MetadataHelper.js +65 -21
- package/src/sap/m/p13n/PersistenceProvider.js +11 -9
- package/src/sap/m/p13n/Popup.js +63 -45
- package/src/sap/m/p13n/QueryPanel.js +117 -93
- package/src/sap/m/p13n/SelectionController.js +302 -237
- package/src/sap/m/p13n/SelectionPanel.js +117 -83
- package/src/sap/m/p13n/SortController.js +100 -89
- package/src/sap/m/p13n/SortPanel.js +46 -31
- package/src/sap/m/p13n/enums/PersistenceMode.js +57 -0
- package/src/sap/m/p13n/{enum → enums}/ProcessingStrategy.js +10 -8
- package/src/sap/m/p13n/handler/xConfigHandler.js +175 -161
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +151 -133
- package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +28 -28
- package/src/sap/m/p13n/modification/ModificationHandler.js +15 -15
- package/src/sap/m/p13n/modules/AdaptationProvider.js +7 -7
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +20 -18
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +7 -7
- package/src/sap/m/p13n/modules/UIManager.js +119 -117
- package/src/sap/m/p13n/modules/xConfigAPI.js +74 -68
- package/src/sap/m/plugins/CellSelector.js +142 -26
- package/src/sap/m/plugins/ColumnResizer.js +12 -17
- package/src/sap/m/plugins/ContextMenuSetting.js +155 -0
- package/src/sap/m/plugins/CopyProvider.js +170 -110
- package/src/sap/m/plugins/DataStateIndicator.js +9 -6
- package/src/sap/m/plugins/PasteProvider.js +18 -10
- package/src/sap/m/plugins/PluginBase.js +39 -15
- 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 +3 -3
- 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 +3 -3
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +3 -3
- 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 +7 -5
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/semantic/SemanticPage.js +4 -2
- 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 +6 -12
- 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/ColumnWidthController.js +2 -3
- package/src/sap/m/table/Util.js +67 -40
- 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 +5 -5
- package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +14 -21
- 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 +7 -5
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +6 -4
- package/src/sap/m/table/columnmenu/QuickSortItem.js +6 -4
- package/src/sap/m/table/columnmenu/QuickTotal.js +7 -5
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/ActionSheet.less +10 -3
- package/src/sap/m/themes/base/ActionTile.less +7 -4
- package/src/sap/m/themes/base/Carousel.less +1 -1
- package/src/sap/m/themes/base/ContextMenuSetting.less +3 -0
- package/src/sap/m/themes/base/IconTabBar.less +2 -2
- package/src/sap/m/themes/base/Label.less +2 -1
- package/src/sap/m/themes/base/Link.less +1 -1
- package/src/sap/m/themes/base/ListItemBase.less +1 -1
- package/src/sap/m/themes/base/MenuButton.less +2 -2
- package/src/sap/m/themes/base/MessageView.less +6 -0
- package/src/sap/m/themes/base/MultiComboBox.less +7 -4
- package/src/sap/m/themes/base/NumericContent.less +2 -2
- package/src/sap/m/themes/base/ObjectListItem.less +1 -1
- package/src/sap/m/themes/base/ObjectNumber.less +4 -4
- package/src/sap/m/themes/base/ObjectStatus.less +263 -160
- package/src/sap/m/themes/base/Panel.less +18 -4
- package/src/sap/m/themes/base/Popover.less +5 -0
- package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +21 -0
- package/src/sap/m/themes/base/StandardListItem.less +1 -1
- package/src/sap/m/themes/base/SuggestionItem.less +6 -0
- package/src/sap/m/themes/base/Table.less +0 -5
- package/src/sap/m/themes/base/TablePersoDialog.less +4 -2
- package/src/sap/m/themes/base/Text.less +2 -1
- package/src/sap/m/themes/base/UploadCollection.less +2 -2
- package/src/sap/m/themes/base/UploadSet.less +55 -0
- package/src/sap/m/themes/base/VariantManagement.less +2 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NewMail.svg +27 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SignOut.svg +24 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NewMail.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SignOut.svg +12 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NewMail.svg +59 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SignOut.svg +113 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NewMail.svg +27 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SignOut.svg +23 -0
- package/src/sap/m/themes/base/library.source.less +2 -1
- package/src/sap/m/upload/ActionsPlaceholder.js +1 -1
- package/src/sap/m/upload/Column.js +1 -1
- package/src/sap/m/upload/FilePreviewDialog.js +5 -5
- package/src/sap/m/upload/FilterPanel.js +5 -3
- package/src/sap/m/upload/UploadSet.js +122 -61
- package/src/sap/m/upload/UploadSetItem.js +31 -7
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/UploadSetwithTable.js +7 -6
- package/src/sap/m/upload/UploadSetwithTableItem.js +5 -5
- package/src/sap/m/upload/UploaderTableItem.js +1 -1
- package/src/sap/m/upload/p13n/PersManager.js +4 -2
- package/src/sap/m/upload/p13n/mediator/BaseMediator.js +1 -1
- package/src/sap/m/upload/p13n/mediator/ColumnsMediator.js +5 -4
- package/src/sap/m/upload/p13n/mediator/FilterMediator.js +5 -2
- package/src/sap/m/upload/p13n/mediator/GroupMediator.js +5 -4
- package/src/sap/m/upload/p13n/mediator/SortMediator.js +5 -4
- package/src/sap/m/upload/p13n/modules/PersPopupManager.js +3 -3
- package/LICENSES/BSD-2-Clause.txt +0 -22
- package/src/sap/m/CustomAttribute.js +0 -53
- package/src/sap/m/p13n/enum/PersistenceMode.js +0 -55
|
@@ -6,10 +6,31 @@
|
|
|
6
6
|
|
|
7
7
|
// Provides control sap.m.P13nFilterPanel.
|
|
8
8
|
sap.ui.define([
|
|
9
|
-
'./P13nConditionPanel',
|
|
10
|
-
|
|
9
|
+
'./P13nConditionPanel',
|
|
10
|
+
'./P13nPanel',
|
|
11
|
+
'./library',
|
|
12
|
+
'sap/m/Panel',
|
|
13
|
+
'./P13nFilterItem',
|
|
14
|
+
'./P13nOperationsHelper',
|
|
15
|
+
'sap/m/P13nFilterPanelRenderer',
|
|
16
|
+
"sap/ui/core/Lib"
|
|
17
|
+
], function (P13nConditionPanel, P13nPanel, library, Panel, P13nFilterItem, P13nOperationsHelper, P13nFilterPanelRenderer, Library) {
|
|
11
18
|
"use strict";
|
|
12
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} sap.m.P13nFilterPanel.FilterConditionOperations
|
|
22
|
+
*
|
|
23
|
+
* @property {undefined|boolean} exclude
|
|
24
|
+
* @property {string} key
|
|
25
|
+
* @property {string} keyField
|
|
26
|
+
* @property {sap.m.P13nConditionOperation} operation
|
|
27
|
+
* @property {boolean} showIfGrouped
|
|
28
|
+
* @property {string} text
|
|
29
|
+
* @property {string} value1
|
|
30
|
+
* @property {string} value2
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
|
|
13
34
|
// shortcut for sap.m.P13nPanelType
|
|
14
35
|
var P13nPanelType = library.P13nPanelType;
|
|
15
36
|
|
|
@@ -23,7 +44,7 @@ sap.ui.define([
|
|
|
23
44
|
* @param {object} [mSettings] initial settings for the new control
|
|
24
45
|
* @class The P13nFilterPanel control is used to define filter-specific settings for table personalization.
|
|
25
46
|
* @extends sap.m.P13nPanel
|
|
26
|
-
* @version 1.
|
|
47
|
+
* @version 1.121.0
|
|
27
48
|
* @constructor
|
|
28
49
|
* @public
|
|
29
50
|
* @since 1.26.0
|
|
@@ -166,10 +187,10 @@ sap.ui.define([
|
|
|
166
187
|
* Sets the array of conditions.
|
|
167
188
|
*
|
|
168
189
|
* @public
|
|
169
|
-
* @param {
|
|
190
|
+
* @param {sap.m.P13nFilterPanel.FilterConditionOperations[]} aConditions the complete list of conditions
|
|
170
191
|
* @returns {this} this for chaining
|
|
171
192
|
*/
|
|
172
|
-
P13nFilterPanel.prototype.setConditions = function(aConditions) {
|
|
193
|
+
P13nFilterPanel.prototype.setConditions = function (aConditions) {
|
|
173
194
|
var aIConditions = [];
|
|
174
195
|
var aEConditions = [];
|
|
175
196
|
|
|
@@ -196,15 +217,16 @@ sap.ui.define([
|
|
|
196
217
|
* Returns the array of conditions.
|
|
197
218
|
*
|
|
198
219
|
* @public
|
|
220
|
+
* @returns {sap.m.P13nFilterPanel.FilterConditionOperations[]} array with filter conditions
|
|
199
221
|
*/
|
|
200
|
-
P13nFilterPanel.prototype.getConditions = function() {
|
|
222
|
+
P13nFilterPanel.prototype.getConditions = function () {
|
|
201
223
|
var aIConditions = this._oIncludeFilterPanel.getConditions();
|
|
202
224
|
var aEConditions = this._oExcludeFilterPanel.getConditions();
|
|
203
225
|
|
|
204
226
|
return aIConditions.concat(aEConditions);
|
|
205
227
|
};
|
|
206
228
|
|
|
207
|
-
P13nFilterPanel.prototype.setContainerQuery = function(bContainerQuery) {
|
|
229
|
+
P13nFilterPanel.prototype.setContainerQuery = function (bContainerQuery) {
|
|
208
230
|
this.setProperty("containerQuery", bContainerQuery);
|
|
209
231
|
|
|
210
232
|
this._oIncludeFilterPanel.setContainerQuery(bContainerQuery);
|
|
@@ -212,7 +234,7 @@ sap.ui.define([
|
|
|
212
234
|
return this;
|
|
213
235
|
};
|
|
214
236
|
|
|
215
|
-
P13nFilterPanel.prototype.setLayoutMode = function(sMode) {
|
|
237
|
+
P13nFilterPanel.prototype.setLayoutMode = function (sMode) {
|
|
216
238
|
this.setProperty("layoutMode", sMode);
|
|
217
239
|
|
|
218
240
|
this._oIncludeFilterPanel.setLayoutMode(sMode);
|
|
@@ -226,7 +248,7 @@ sap.ui.define([
|
|
|
226
248
|
* @public
|
|
227
249
|
* @returns {boolean} <code>True</code> if all conditions are valid, <code>false</code> otherwise.
|
|
228
250
|
*/
|
|
229
|
-
P13nFilterPanel.prototype.validateConditions = function() {
|
|
251
|
+
P13nFilterPanel.prototype.validateConditions = function () {
|
|
230
252
|
return this._oIncludeFilterPanel.validateConditions() && this._oExcludeFilterPanel.validateConditions();
|
|
231
253
|
};
|
|
232
254
|
|
|
@@ -236,7 +258,7 @@ sap.ui.define([
|
|
|
236
258
|
* @public
|
|
237
259
|
* @since 1.28
|
|
238
260
|
*/
|
|
239
|
-
P13nFilterPanel.prototype.removeInvalidConditions = function() {
|
|
261
|
+
P13nFilterPanel.prototype.removeInvalidConditions = function () {
|
|
240
262
|
this._oIncludeFilterPanel.removeInvalidConditions();
|
|
241
263
|
this._oExcludeFilterPanel.removeInvalidConditions();
|
|
242
264
|
};
|
|
@@ -247,16 +269,16 @@ sap.ui.define([
|
|
|
247
269
|
* @public
|
|
248
270
|
* @since 1.28
|
|
249
271
|
*/
|
|
250
|
-
P13nFilterPanel.prototype.removeValidationErrors = function() {
|
|
272
|
+
P13nFilterPanel.prototype.removeValidationErrors = function () {
|
|
251
273
|
this._oIncludeFilterPanel.removeValidationErrors();
|
|
252
274
|
this._oExcludeFilterPanel.removeValidationErrors();
|
|
253
275
|
};
|
|
254
276
|
|
|
255
|
-
P13nFilterPanel.prototype.onBeforeNavigationFrom = function() {
|
|
277
|
+
P13nFilterPanel.prototype.onBeforeNavigationFrom = function () {
|
|
256
278
|
return this.validateConditions();
|
|
257
279
|
};
|
|
258
280
|
|
|
259
|
-
P13nFilterPanel.prototype.onAfterNavigationFrom = function() {
|
|
281
|
+
P13nFilterPanel.prototype.onAfterNavigationFrom = function () {
|
|
260
282
|
return this.removeInvalidConditions();
|
|
261
283
|
};
|
|
262
284
|
|
|
@@ -268,7 +290,7 @@ sap.ui.define([
|
|
|
268
290
|
* <code>sap.m.P13nConditionOperation.EQ</code>]
|
|
269
291
|
* @param {string} sType - the type for which the operations are defined
|
|
270
292
|
*/
|
|
271
|
-
P13nFilterPanel.prototype.setIncludeOperations = function(aOperation, sType) {
|
|
293
|
+
P13nFilterPanel.prototype.setIncludeOperations = function (aOperation, sType) {
|
|
272
294
|
sType = sType || "default";
|
|
273
295
|
this._aIncludeOperations[sType] = aOperation;
|
|
274
296
|
|
|
@@ -285,7 +307,7 @@ sap.ui.define([
|
|
|
285
307
|
* @returns {sap.m.P13nConditionOperation} array of operations [<code>sap.m.P13nConditionOperation.BT</code>,
|
|
286
308
|
* <code>sap.m.P13nConditionOperation.EQ</code>]
|
|
287
309
|
*/
|
|
288
|
-
P13nFilterPanel.prototype.getIncludeOperations = function(sType) {
|
|
310
|
+
P13nFilterPanel.prototype.getIncludeOperations = function (sType) {
|
|
289
311
|
if (this._oIncludeFilterPanel) {
|
|
290
312
|
return this._oIncludeFilterPanel.getOperations(sType);
|
|
291
313
|
}
|
|
@@ -299,7 +321,7 @@ sap.ui.define([
|
|
|
299
321
|
* <code>sap.m.P13nConditionOperation.EQ</code>]
|
|
300
322
|
* @param {string} sType - the type for which the operations are defined
|
|
301
323
|
*/
|
|
302
|
-
P13nFilterPanel.prototype.setExcludeOperations = function(aOperation, sType) {
|
|
324
|
+
P13nFilterPanel.prototype.setExcludeOperations = function (aOperation, sType) {
|
|
303
325
|
sType = sType || "default";
|
|
304
326
|
this._aExcludeOperations[sType] = aOperation;
|
|
305
327
|
|
|
@@ -316,7 +338,7 @@ sap.ui.define([
|
|
|
316
338
|
* @returns {sap.m.P13nConditionOperation[]} array of operations [<code>sap.m.P13nConditionOperation.BT</code>,
|
|
317
339
|
* <code>sap.m.P13nConditionOperation.EQ</code>]
|
|
318
340
|
*/
|
|
319
|
-
P13nFilterPanel.prototype.getExcludeOperations = function(sType) {
|
|
341
|
+
P13nFilterPanel.prototype.getExcludeOperations = function (sType) {
|
|
320
342
|
if (this._oExcludeFilterPanel) {
|
|
321
343
|
return this._oExcludeFilterPanel.getOperations(sType);
|
|
322
344
|
}
|
|
@@ -329,12 +351,12 @@ sap.ui.define([
|
|
|
329
351
|
* @param {array} aKeyFields - array of KeyFields [{key: "CompanyCode", text: "ID"}, {key:"CompanyName", text : "Name"}]
|
|
330
352
|
* @param {array} aKeyFieldsExclude - array of exclude KeyFields
|
|
331
353
|
*/
|
|
332
|
-
P13nFilterPanel.prototype.setKeyFields = function(aKeyFields, aKeyFieldsExclude) {
|
|
354
|
+
P13nFilterPanel.prototype.setKeyFields = function (aKeyFields, aKeyFieldsExclude) {
|
|
333
355
|
this._aKeyFields = aKeyFields;
|
|
334
356
|
|
|
335
357
|
if (this._oIncludeFilterPanel) {
|
|
336
|
-
aKeyFields.some(function(oKeyField){
|
|
337
|
-
if (oKeyField.isDefault){
|
|
358
|
+
aKeyFields.some(function (oKeyField) {
|
|
359
|
+
if (oKeyField.isDefault) {
|
|
338
360
|
this._oIncludeFilterPanel.setAutoAddNewRow(true);
|
|
339
361
|
}
|
|
340
362
|
}.bind(this));
|
|
@@ -348,11 +370,11 @@ sap.ui.define([
|
|
|
348
370
|
|
|
349
371
|
};
|
|
350
372
|
|
|
351
|
-
P13nFilterPanel.prototype.getKeyFields = function() {
|
|
373
|
+
P13nFilterPanel.prototype.getKeyFields = function () {
|
|
352
374
|
return this._aKeyFields;
|
|
353
375
|
};
|
|
354
376
|
|
|
355
|
-
P13nFilterPanel.prototype.setMaxIncludes = function(sMax) {
|
|
377
|
+
P13nFilterPanel.prototype.setMaxIncludes = function (sMax) {
|
|
356
378
|
this.setProperty("maxIncludes", sMax);
|
|
357
379
|
|
|
358
380
|
if (this._oIncludeFilterPanel) {
|
|
@@ -362,7 +384,7 @@ sap.ui.define([
|
|
|
362
384
|
return this;
|
|
363
385
|
};
|
|
364
386
|
|
|
365
|
-
P13nFilterPanel.prototype.setMaxExcludes = function(sMax) {
|
|
387
|
+
P13nFilterPanel.prototype.setMaxExcludes = function (sMax) {
|
|
366
388
|
this.setProperty("maxExcludes", sMax);
|
|
367
389
|
|
|
368
390
|
if (this._oExcludeFilterPanel) {
|
|
@@ -372,7 +394,7 @@ sap.ui.define([
|
|
|
372
394
|
return this;
|
|
373
395
|
};
|
|
374
396
|
|
|
375
|
-
P13nFilterPanel.prototype._updatePanel = function() {
|
|
397
|
+
P13nFilterPanel.prototype._updatePanel = function () {
|
|
376
398
|
var iMaxIncludes = this.getMaxIncludes() === "-1" ? 1000 : parseInt(this.getMaxIncludes());
|
|
377
399
|
var iMaxExcludes = this.getMaxExcludes() === "-1" ? 1000 : parseInt(this.getMaxExcludes());
|
|
378
400
|
|
|
@@ -394,14 +416,14 @@ sap.ui.define([
|
|
|
394
416
|
|
|
395
417
|
};
|
|
396
418
|
|
|
397
|
-
P13nFilterPanel.prototype.init = function() {
|
|
419
|
+
P13nFilterPanel.prototype.init = function () {
|
|
398
420
|
this.setType(P13nPanelType.filter);
|
|
399
|
-
this.setTitle(
|
|
421
|
+
this.setTitle(Library.getResourceBundleFor("sap.m").getText("FILTERPANEL_TITLE"));
|
|
400
422
|
|
|
401
423
|
this._aKeyFields = [];
|
|
402
424
|
|
|
403
425
|
// init some resources
|
|
404
|
-
this._oRb =
|
|
426
|
+
this._oRb = Library.getResourceBundleFor("sap.m");
|
|
405
427
|
|
|
406
428
|
this._aIncludeOperations = {};
|
|
407
429
|
this._aExcludeOperations = {};
|
|
@@ -462,9 +484,9 @@ sap.ui.define([
|
|
|
462
484
|
this._updatePanel();
|
|
463
485
|
};
|
|
464
486
|
|
|
465
|
-
P13nFilterPanel.prototype.exit = function() {
|
|
487
|
+
P13nFilterPanel.prototype.exit = function () {
|
|
466
488
|
|
|
467
|
-
var destroyHelper = function(o) {
|
|
489
|
+
var destroyHelper = function (o) {
|
|
468
490
|
if (o && o.destroy) {
|
|
469
491
|
o.destroy();
|
|
470
492
|
}
|
|
@@ -479,7 +501,7 @@ sap.ui.define([
|
|
|
479
501
|
this._oRb = destroyHelper(this._oRb);
|
|
480
502
|
};
|
|
481
503
|
|
|
482
|
-
P13nFilterPanel.prototype.onBeforeRendering = function() {
|
|
504
|
+
P13nFilterPanel.prototype.onBeforeRendering = function () {
|
|
483
505
|
var aKeyFieldsExclude = [],
|
|
484
506
|
aKeyFields,
|
|
485
507
|
sModelName,
|
|
@@ -496,7 +518,7 @@ sap.ui.define([
|
|
|
496
518
|
aKeyFields = [];
|
|
497
519
|
sModelName = (this.getBindingInfo("items") || {}).model;
|
|
498
520
|
|
|
499
|
-
|
|
521
|
+
this.getItems().forEach(function (oItem) {
|
|
500
522
|
var oContext = oItem.getBindingContext(sModelName),
|
|
501
523
|
oField,
|
|
502
524
|
bNullable,
|
|
@@ -541,11 +563,11 @@ sap.ui.define([
|
|
|
541
563
|
this._modifyFieldOperationsBasedOnMaxLength(oField);
|
|
542
564
|
}, this);
|
|
543
565
|
|
|
544
|
-
|
|
566
|
+
this.setKeyFields && this.setKeyFields(aKeyFields, aKeyFieldsExclude);
|
|
545
567
|
|
|
546
568
|
var aConditions = [];
|
|
547
569
|
sModelName = (this.getBindingInfo("filterItems") || {}).model;
|
|
548
|
-
this.getFilterItems().forEach(function(oFilterItem) {
|
|
570
|
+
this.getFilterItems().forEach(function (oFilterItem) {
|
|
549
571
|
|
|
550
572
|
// the "filterItems" aggregation data - obtained via getFilterItems() - has the old state !
|
|
551
573
|
var oContext = oFilterItem.getBindingContext(sModelName);
|
|
@@ -611,7 +633,7 @@ sap.ui.define([
|
|
|
611
633
|
// BCP 1970047060
|
|
612
634
|
aOperations = oField.operations ? oField.operations : this._oIncludeFilterPanel.getOperations(oField.type);
|
|
613
635
|
oField.operations = [];
|
|
614
|
-
aOperations.forEach(function(sOperation) {
|
|
636
|
+
aOperations.forEach(function (sOperation) {
|
|
615
637
|
if ([
|
|
616
638
|
P13nConditionOperation.Contains,
|
|
617
639
|
P13nConditionOperation.StartsWith,
|
|
@@ -665,7 +687,7 @@ sap.ui.define([
|
|
|
665
687
|
}
|
|
666
688
|
};
|
|
667
689
|
|
|
668
|
-
P13nFilterPanel.prototype.addItem = function(oItem) {
|
|
690
|
+
P13nFilterPanel.prototype.addItem = function (oItem) {
|
|
669
691
|
P13nPanel.prototype.addItem.apply(this, arguments);
|
|
670
692
|
|
|
671
693
|
if (!this._bIgnoreBindCalls) {
|
|
@@ -675,7 +697,7 @@ sap.ui.define([
|
|
|
675
697
|
return this;
|
|
676
698
|
};
|
|
677
699
|
|
|
678
|
-
P13nFilterPanel.prototype.removeItem = function(oItem) {
|
|
700
|
+
P13nFilterPanel.prototype.removeItem = function (oItem) {
|
|
679
701
|
var oRemoved = P13nPanel.prototype.removeItem.apply(this, arguments);
|
|
680
702
|
|
|
681
703
|
this._bUpdateRequired = true;
|
|
@@ -683,7 +705,7 @@ sap.ui.define([
|
|
|
683
705
|
return oRemoved;
|
|
684
706
|
};
|
|
685
707
|
|
|
686
|
-
P13nFilterPanel.prototype.destroyItems = function() {
|
|
708
|
+
P13nFilterPanel.prototype.destroyItems = function () {
|
|
687
709
|
this.destroyAggregation("items");
|
|
688
710
|
|
|
689
711
|
if (!this._bIgnoreBindCalls) {
|
|
@@ -692,7 +714,7 @@ sap.ui.define([
|
|
|
692
714
|
return this;
|
|
693
715
|
};
|
|
694
716
|
|
|
695
|
-
P13nFilterPanel.prototype.addFilterItem = function(oFilterItem) {
|
|
717
|
+
P13nFilterPanel.prototype.addFilterItem = function (oFilterItem) {
|
|
696
718
|
this.addAggregation("filterItems", oFilterItem, true);
|
|
697
719
|
|
|
698
720
|
if (!this._bIgnoreBindCalls) {
|
|
@@ -702,7 +724,7 @@ sap.ui.define([
|
|
|
702
724
|
return this;
|
|
703
725
|
};
|
|
704
726
|
|
|
705
|
-
P13nFilterPanel.prototype.insertFilterItem = function(oFilterItem, iIndex) {
|
|
727
|
+
P13nFilterPanel.prototype.insertFilterItem = function (oFilterItem, iIndex) {
|
|
706
728
|
this.insertAggregation("filterItems", oFilterItem, iIndex, true);
|
|
707
729
|
|
|
708
730
|
if (!this._bIgnoreBindCalls) {
|
|
@@ -712,7 +734,7 @@ sap.ui.define([
|
|
|
712
734
|
return this;
|
|
713
735
|
};
|
|
714
736
|
|
|
715
|
-
P13nFilterPanel.prototype.updateFilterItems = function(sReason) {
|
|
737
|
+
P13nFilterPanel.prototype.updateFilterItems = function (sReason) {
|
|
716
738
|
this.updateAggregation("filterItems");
|
|
717
739
|
|
|
718
740
|
if (sReason === "change" && !this._bIgnoreBindCalls) {
|
|
@@ -721,7 +743,7 @@ sap.ui.define([
|
|
|
721
743
|
}
|
|
722
744
|
};
|
|
723
745
|
|
|
724
|
-
P13nFilterPanel.prototype.setMessageStrip = function(oMessageStrip) {
|
|
746
|
+
P13nFilterPanel.prototype.setMessageStrip = function (oMessageStrip) {
|
|
725
747
|
this.setAggregation("messageStrip", oMessageStrip, true);
|
|
726
748
|
|
|
727
749
|
if (!this._bIgnoreBindCalls) {
|
|
@@ -731,7 +753,7 @@ sap.ui.define([
|
|
|
731
753
|
return this;
|
|
732
754
|
};
|
|
733
755
|
|
|
734
|
-
P13nFilterPanel.prototype.updateMessageStrip = function(sReason) {
|
|
756
|
+
P13nFilterPanel.prototype.updateMessageStrip = function (sReason) {
|
|
735
757
|
this.updateAggregation("messageStrip");
|
|
736
758
|
|
|
737
759
|
if (sReason === "change" && !this._bIgnoreBindCalls) {
|
|
@@ -739,7 +761,7 @@ sap.ui.define([
|
|
|
739
761
|
}
|
|
740
762
|
};
|
|
741
763
|
|
|
742
|
-
P13nFilterPanel.prototype.removeFilterItem = function(oFilterItem) {
|
|
764
|
+
P13nFilterPanel.prototype.removeFilterItem = function (oFilterItem) {
|
|
743
765
|
oFilterItem = this.removeAggregation("filterItems", oFilterItem, true);
|
|
744
766
|
|
|
745
767
|
if (!this._bIgnoreBindCalls) {
|
|
@@ -749,7 +771,7 @@ sap.ui.define([
|
|
|
749
771
|
return oFilterItem;
|
|
750
772
|
};
|
|
751
773
|
|
|
752
|
-
P13nFilterPanel.prototype.removeAllFilterItems = function() {
|
|
774
|
+
P13nFilterPanel.prototype.removeAllFilterItems = function () {
|
|
753
775
|
var aFilterItems = this.removeAllAggregation("filterItems", true);
|
|
754
776
|
|
|
755
777
|
if (!this._bIgnoreBindCalls) {
|
|
@@ -759,7 +781,7 @@ sap.ui.define([
|
|
|
759
781
|
return aFilterItems;
|
|
760
782
|
};
|
|
761
783
|
|
|
762
|
-
P13nFilterPanel.prototype.destroyFilterItems = function() {
|
|
784
|
+
P13nFilterPanel.prototype.destroyFilterItems = function () {
|
|
763
785
|
this.destroyAggregation("filterItems");
|
|
764
786
|
|
|
765
787
|
if (!this._bIgnoreBindCalls) {
|
|
@@ -769,10 +791,10 @@ sap.ui.define([
|
|
|
769
791
|
return this;
|
|
770
792
|
};
|
|
771
793
|
|
|
772
|
-
P13nFilterPanel.prototype._handleDataChange = function() {
|
|
794
|
+
P13nFilterPanel.prototype._handleDataChange = function () {
|
|
773
795
|
var that = this;
|
|
774
796
|
|
|
775
|
-
return function(oEvent) {
|
|
797
|
+
return function (oEvent) {
|
|
776
798
|
var oNewData = oEvent.getParameter("newData");
|
|
777
799
|
var sOperation = oEvent.getParameter("operation");
|
|
778
800
|
var sKey = oEvent.getParameter("key");
|
|
@@ -782,7 +804,7 @@ sap.ui.define([
|
|
|
782
804
|
// map the iConditionIndex to the index in the FilterItems
|
|
783
805
|
var iIndex = -1;
|
|
784
806
|
var bExclude = oEvent.getSource() === that._oExcludeFilterPanel;
|
|
785
|
-
that.getFilterItems().some(function(oItem, i) {
|
|
807
|
+
that.getFilterItems().some(function (oItem, i) {
|
|
786
808
|
// window.console.log(i+ " " + oItem.getValue1());
|
|
787
809
|
if ((!oItem.getExclude() && !bExclude) || (oItem.getExclude() && bExclude)) {
|
|
788
810
|
iConditionIndex--;
|
|
@@ -874,7 +896,7 @@ sap.ui.define([
|
|
|
874
896
|
};
|
|
875
897
|
};
|
|
876
898
|
|
|
877
|
-
P13nFilterPanel.prototype._notifyChange = function() {
|
|
899
|
+
P13nFilterPanel.prototype._notifyChange = function () {
|
|
878
900
|
var fListener = this.getChangeNotifier();
|
|
879
901
|
if (fListener) {
|
|
880
902
|
fListener(this);
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @param {object} [mSettings] initial settings for the new control
|
|
18
18
|
* @class Type for <code>groupItems</code> aggregation in P13nGroupPanel control.
|
|
19
19
|
* @extends sap.ui.core.Item
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.121.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @public
|
|
23
23
|
* @since 1.28.0
|
|
@@ -10,8 +10,9 @@ sap.ui.define([
|
|
|
10
10
|
'./P13nConditionPanel',
|
|
11
11
|
'./P13nPanel',
|
|
12
12
|
'./P13nGroupItem',
|
|
13
|
+
"sap/ui/core/Lib",
|
|
13
14
|
"sap/ui/thirdparty/jquery"
|
|
14
|
-
], function(library, P13nConditionPanel, P13nPanel, P13nGroupItem, jQuery) {
|
|
15
|
+
], function(library, P13nConditionPanel, P13nPanel, P13nGroupItem, Library, jQuery) {
|
|
15
16
|
"use strict";
|
|
16
17
|
|
|
17
18
|
// shortcut for sap.m.P13nPanelType
|
|
@@ -27,7 +28,7 @@ sap.ui.define([
|
|
|
27
28
|
* @param {object} [mSettings] initial settings for the new control
|
|
28
29
|
* @class The P13nGroupPanel control is used to define group-specific settings for table personalization.
|
|
29
30
|
* @extends sap.m.P13nPanel
|
|
30
|
-
* @version 1.
|
|
31
|
+
* @version 1.121.0
|
|
31
32
|
* @constructor
|
|
32
33
|
* @deprecated as of version 1.98. Use the {@link sap.m.p13n.GroupPanel} instead.
|
|
33
34
|
* @public
|
|
@@ -221,7 +222,7 @@ sap.ui.define([
|
|
|
221
222
|
|
|
222
223
|
P13nGroupPanel.prototype.init = function() {
|
|
223
224
|
this.setType(P13nPanelType.group);
|
|
224
|
-
this.setTitle(
|
|
225
|
+
this.setTitle(Library.getResourceBundleFor("sap.m").getText("GROUPPANEL_TITLE"));
|
|
225
226
|
|
|
226
227
|
this._aKeyFields = [];
|
|
227
228
|
|
|
@@ -280,7 +281,7 @@ sap.ui.define([
|
|
|
280
281
|
});
|
|
281
282
|
aKeyFields.splice(0, 0, {
|
|
282
283
|
key: null,
|
|
283
|
-
text:
|
|
284
|
+
text: Library.getResourceBundleFor("sap.m").getText("P13NDIALOG_SELECTION_NONE")
|
|
284
285
|
});
|
|
285
286
|
this._oGroupPanel.setKeyFields(aKeyFields);
|
|
286
287
|
|
package/src/sap/m/P13nItem.js
CHANGED
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @param {object} [mSettings] initial settings for the new control
|
|
18
18
|
* @class Base type for <code>items</code> aggregation in <code>P13nPanel</code> control.
|
|
19
19
|
* @extends sap.ui.core.Element
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.121.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @public
|
|
23
23
|
* @since 1.26.0
|
package/src/sap/m/P13nPanel.js
CHANGED
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @param {object} [mSettings] initial settings for the new control
|
|
18
18
|
* @class An abstract base type for <code>panels</code> aggregation in <code>P13nDialog</code> control.
|
|
19
19
|
* @extends sap.ui.core.Control
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.121.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @public
|
|
23
23
|
* @abstract
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @param {object} [mSettings] initial settings for the new control
|
|
18
18
|
* @class Type for <code>selectionItems</code> aggregation in <code>P13nSelectionPanel</code> control.
|
|
19
19
|
* @extends sap.ui.core.Item
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.121.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @author SAP SE
|
|
23
23
|
* @private
|
|
@@ -6,8 +6,29 @@
|
|
|
6
6
|
|
|
7
7
|
// Provides control sap.m.P13nSelectionPanel.
|
|
8
8
|
sap.ui.define([
|
|
9
|
-
'./library',
|
|
10
|
-
|
|
9
|
+
'./library',
|
|
10
|
+
'./ColumnListItem',
|
|
11
|
+
'./P13nPanel',
|
|
12
|
+
'./SearchField',
|
|
13
|
+
'./Text',
|
|
14
|
+
'./Table',
|
|
15
|
+
'./Column',
|
|
16
|
+
'./ScrollContainer',
|
|
17
|
+
'./P13nSelectionItem',
|
|
18
|
+
'./VBox',
|
|
19
|
+
'./Link',
|
|
20
|
+
'./OverflowToolbar',
|
|
21
|
+
'./OverflowToolbarLayoutData',
|
|
22
|
+
'./ToolbarSpacer',
|
|
23
|
+
"sap/ui/core/Element",
|
|
24
|
+
"sap/ui/core/Lib",
|
|
25
|
+
'sap/ui/core/library',
|
|
26
|
+
'sap/ui/model/ChangeReason',
|
|
27
|
+
'sap/ui/model/json/JSONModel',
|
|
28
|
+
'sap/ui/model/BindingMode',
|
|
29
|
+
'sap/ui/core/ResizeHandler',
|
|
30
|
+
"sap/ui/thirdparty/jquery"
|
|
31
|
+
], function(library, ColumnListItem, P13nPanel, SearchField, Text, Table, Column, ScrollContainer, P13nSelectionItem /* kept for compatibility*/, VBox, Link, OverflowToolbar, OverflowToolbarLayoutData, ToolbarSpacer, Element, Library, CoreLibrary, ChangeReason, JSONModel, BindingMode, ResizeHandler, jQuery) {
|
|
11
32
|
"use strict";
|
|
12
33
|
|
|
13
34
|
// shortcut for sap.m.ToolbarDesign
|
|
@@ -33,7 +54,7 @@ sap.ui.define([
|
|
|
33
54
|
* @class The P13nSelectionPanel control is used to define selection settings like the visibility or the order of items.
|
|
34
55
|
* @extends sap.m.P13nPanel
|
|
35
56
|
* @author SAP SE
|
|
36
|
-
* @version 1.
|
|
57
|
+
* @version 1.121.0
|
|
37
58
|
* @constructor
|
|
38
59
|
* @private
|
|
39
60
|
* @since 1.46.0
|
|
@@ -346,7 +367,7 @@ sap.ui.define([
|
|
|
346
367
|
}
|
|
347
368
|
],
|
|
348
369
|
formatter: function(iCountOfSelectedItems, iCountOfItems) {
|
|
349
|
-
return
|
|
370
|
+
return Library.getResourceBundleFor("sap.m").getText('COLUMNSPANEL_SELECT_ALL_WITH_COUNTER', [
|
|
350
371
|
iCountOfSelectedItems, iCountOfItems
|
|
351
372
|
]);
|
|
352
373
|
}
|
|
@@ -488,10 +509,10 @@ sap.ui.define([
|
|
|
488
509
|
};
|
|
489
510
|
|
|
490
511
|
P13nSelectionPanel.prototype._getToolbar = function() {
|
|
491
|
-
return
|
|
512
|
+
return Element.getElementById(this.getId() + "-toolbar") || null;
|
|
492
513
|
};
|
|
493
514
|
P13nSelectionPanel.prototype._getSearchField = function() {
|
|
494
|
-
return
|
|
515
|
+
return Element.getElementById(this.getId() + "-searchField") || null;
|
|
495
516
|
};
|
|
496
517
|
P13nSelectionPanel.prototype._getSearchText = function() {
|
|
497
518
|
var oSearchField = this._getSearchField();
|
|
@@ -508,7 +529,7 @@ sap.ui.define([
|
|
|
508
529
|
var bShowOnlySelectedItems = this._isFilteredByShowSelected();
|
|
509
530
|
|
|
510
531
|
// Switch off the "Select all (n/m)" checkbox if search
|
|
511
|
-
var oTableCB =
|
|
532
|
+
var oTableCB = Element.getElementById(this._oTable.getId() + '-sa');
|
|
512
533
|
if (oTableCB) {
|
|
513
534
|
oTableCB.setEnabled(!bIsSearchActive && !bShowOnlySelectedItems);
|
|
514
535
|
}
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @param {object} [mSettings] initial settings for the new control
|
|
18
18
|
* @class Type for <code>sortItems</code> aggregation in P13nSortPanel control.
|
|
19
19
|
* @extends sap.ui.core.Item
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.121.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @public
|
|
23
23
|
* @since 1.26.0
|
|
@@ -9,8 +9,9 @@ sap.ui.define([
|
|
|
9
9
|
'./library',
|
|
10
10
|
'./P13nConditionPanel',
|
|
11
11
|
'./P13nPanel',
|
|
12
|
-
'./P13nSortItem'
|
|
13
|
-
|
|
12
|
+
'./P13nSortItem',
|
|
13
|
+
"sap/ui/core/Lib"
|
|
14
|
+
], function(library, P13nConditionPanel, P13nPanel, P13nSortItem, Library) {
|
|
14
15
|
"use strict";
|
|
15
16
|
|
|
16
17
|
// shortcut for sap.m.P13nPanelType
|
|
@@ -26,7 +27,7 @@ sap.ui.define([
|
|
|
26
27
|
* @param {object} [mSettings] initial settings for the new control
|
|
27
28
|
* @class The P13nSortPanel control is used to define settings for sorting in table personalization.
|
|
28
29
|
* @extends sap.m.P13nPanel
|
|
29
|
-
* @version 1.
|
|
30
|
+
* @version 1.121.0
|
|
30
31
|
* @constructor
|
|
31
32
|
* @deprecated as of version 1.98. Use the {@link sap.m.p13n.SortPanel} instead.
|
|
32
33
|
* @public
|
|
@@ -207,7 +208,7 @@ sap.ui.define([
|
|
|
207
208
|
*/
|
|
208
209
|
P13nSortPanel.prototype.init = function() {
|
|
209
210
|
this.setType(P13nPanelType.sort);
|
|
210
|
-
this.setTitle(
|
|
211
|
+
this.setTitle(Library.getResourceBundleFor("sap.m").getText("SORTPANEL_TITLE"));
|
|
211
212
|
|
|
212
213
|
this._aKeyFields = [];
|
|
213
214
|
|
|
@@ -264,7 +265,7 @@ sap.ui.define([
|
|
|
264
265
|
});
|
|
265
266
|
aKeyFields.splice(0, 0, {
|
|
266
267
|
key: null,
|
|
267
|
-
text:
|
|
268
|
+
text: Library.getResourceBundleFor("sap.m").getText("P13NDIALOG_SELECTION_NONE")
|
|
268
269
|
});
|
|
269
270
|
this._oSortPanel.setKeyFields(aKeyFields);
|
|
270
271
|
|
package/src/sap/m/PDFViewer.js
CHANGED
|
@@ -15,7 +15,6 @@ sap.ui.define([
|
|
|
15
15
|
"sap/base/Log",
|
|
16
16
|
"sap/base/assert",
|
|
17
17
|
"sap/ui/thirdparty/jquery",
|
|
18
|
-
"./PDFViewerRenderer",
|
|
19
18
|
"sap/ui/core/Lib"
|
|
20
19
|
],
|
|
21
20
|
function(
|
|
@@ -28,7 +27,6 @@ sap.ui.define([
|
|
|
28
27
|
Log,
|
|
29
28
|
assert,
|
|
30
29
|
jQuery,
|
|
31
|
-
PDFViewerRenderer1,
|
|
32
30
|
CoreLib
|
|
33
31
|
) {
|
|
34
32
|
"use strict";
|
|
@@ -49,7 +47,7 @@ sap.ui.define([
|
|
|
49
47
|
* @extends sap.ui.core.Control
|
|
50
48
|
*
|
|
51
49
|
* @author SAP SE
|
|
52
|
-
* @version 1.
|
|
50
|
+
* @version 1.121.0
|
|
53
51
|
* @since 1.48
|
|
54
52
|
*
|
|
55
53
|
* @constructor
|
|
@@ -134,7 +132,6 @@ sap.ui.define([
|
|
|
134
132
|
* Parameter to determine if the given PDF is from a trusted source. If the source is valid this property can be set to true.
|
|
135
133
|
* If isTrustedSource is set to true, the PDFViewer opens with the displayType set to "Embedded" on desktop devices, which means that the PDF content is directly shown within the PDFViewer. Set this property to true only when the PDF is generated by the application or the PDF is scanned for viruses.
|
|
136
134
|
* If isTrustedSource is set to false, the PDFViewer opens with the displayType set to "Link" on desktop devices, which overrides any configuration that has been provided by the application for the property displayType. This means that the PDFViewer appears as a toolbar with a download button.
|
|
137
|
-
* @since 1.121.0
|
|
138
135
|
*/
|
|
139
136
|
isTrustedSource: {type: "boolean", group: "Misc", defaultValue: false}
|
|
140
137
|
},
|
|
@@ -185,7 +182,7 @@ sap.ui.define([
|
|
|
185
182
|
}
|
|
186
183
|
},
|
|
187
184
|
|
|
188
|
-
renderer:
|
|
185
|
+
renderer: PDFViewerRenderer
|
|
189
186
|
});
|
|
190
187
|
|
|
191
188
|
|
|
@@ -282,7 +279,7 @@ sap.ui.define([
|
|
|
282
279
|
Log.error(error);
|
|
283
280
|
if (this._isError) {
|
|
284
281
|
this._isError = false;
|
|
285
|
-
this._objectsRegister.getPlaceholderIllustratedMessageControl().
|
|
282
|
+
this._objectsRegister.getPlaceholderIllustratedMessageControl().invalidate();
|
|
286
283
|
}
|
|
287
284
|
this.setBusy(false);
|
|
288
285
|
}
|