@openui5/sap.ui.mdc 1.134.0 → 1.136.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.toml +649 -0
- package/THIRDPARTY.txt +23 -23
- package/package.json +4 -4
- package/src/sap/ui/mdc/.library +2 -2
- package/src/sap/ui/mdc/ActionToolbar.js +2 -2
- package/src/sap/ui/mdc/AggregationBaseDelegate.js +1 -1
- package/src/sap/ui/mdc/BaseDelegate.js +1 -1
- package/src/sap/ui/mdc/Chart.js +2 -2
- package/src/sap/ui/mdc/ChartDelegate.js +1 -1
- package/src/sap/ui/mdc/ChartRenderer.js +1 -1
- package/src/sap/ui/mdc/Control.js +2 -2
- package/src/sap/ui/mdc/DefaultTypeMap.js +2 -2
- package/src/sap/ui/mdc/Element.js +2 -2
- package/src/sap/ui/mdc/Field.js +3 -3
- package/src/sap/ui/mdc/FilterBar.js +2 -2
- package/src/sap/ui/mdc/FilterBarDelegate.js +1 -1
- package/src/sap/ui/mdc/FilterField.js +3 -3
- package/src/sap/ui/mdc/Link.js +2 -2
- package/src/sap/ui/mdc/LinkDelegate.js +1 -1
- package/src/sap/ui/mdc/MultiValueField.js +2 -2
- package/src/sap/ui/mdc/Table.js +54 -8
- package/src/sap/ui/mdc/TableDelegate.js +1 -1
- package/src/sap/ui/mdc/ValueHelp.js +105 -28
- package/src/sap/ui/mdc/ValueHelpDelegate.js +88 -19
- package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +10 -2
- package/src/sap/ui/mdc/actiontoolbar/ActionToolbarActionRenderer.js +1 -1
- package/src/sap/ui/mdc/chart/ChartImplementationContainer.js +2 -2
- package/src/sap/ui/mdc/chart/ChartImplementationContainerRenderer.js +1 -1
- package/src/sap/ui/mdc/chart/ChartSelectionDetails.js +2 -2
- package/src/sap/ui/mdc/chart/DrillBreadcrumbs.js +1 -1
- package/src/sap/ui/mdc/chart/Item.js +1 -1
- package/src/sap/ui/mdc/chart/PropertyHelper.js +2 -2
- package/src/sap/ui/mdc/chart/SelectionButton.js +1 -1
- package/src/sap/ui/mdc/chart/SelectionButtonDisplay.js +1 -1
- package/src/sap/ui/mdc/chart/SelectionButtonItem.js +1 -1
- package/src/sap/ui/mdc/chart/SelectionDetailsActions.js +1 -1
- package/src/sap/ui/mdc/chart/ToolbarControlFactory.js +3 -3
- package/src/sap/ui/mdc/chart/Util.js +1 -1
- package/src/sap/ui/mdc/condition/Condition.js +2 -2
- package/src/sap/ui/mdc/condition/ConditionConverter.js +2 -2
- package/src/sap/ui/mdc/condition/ConditionModel.js +2 -2
- package/src/sap/ui/mdc/condition/ConditionModelPropertyBinding.js +1 -1
- package/src/sap/ui/mdc/condition/ConditionValidateException.js +1 -1
- package/src/sap/ui/mdc/condition/FilterConverter.js +91 -57
- package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +41 -4
- package/src/sap/ui/mdc/condition/Operator.js +18 -13
- package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +2 -2
- package/src/sap/ui/mdc/condition/RangeOperator.js +2 -2
- package/src/sap/ui/mdc/designtime/Util.js +1 -1
- package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbar.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbarAction.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/chart/Chart.designtime.js +22 -18
- package/src/sap/ui/mdc/designtime/field/Field.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/field/FieldBase.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/field/FilterField.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/field/MultiValueField.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/filterbar/FilterBar.designtime.js +12 -9
- package/src/sap/ui/mdc/designtime/filterbar/FilterBarBase.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/library.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/table/Table.designtime.js +11 -8
- package/src/sap/ui/mdc/enum/ActionToolbarActionAlignment.js +1 -1
- package/src/sap/ui/mdc/enum/BaseType.js +1 -1
- package/src/sap/ui/mdc/enum/ConditionValidated.js +1 -1
- package/src/sap/ui/mdc/enum/ContentMode.js +1 -1
- package/src/sap/ui/mdc/enum/EditMode.js +1 -1
- package/src/sap/ui/mdc/enum/FieldDisplay.js +1 -1
- package/src/sap/ui/mdc/enum/FilterBarValidationStatus.js +1 -1
- package/src/sap/ui/mdc/enum/LinkType.js +1 -1
- package/src/sap/ui/mdc/enum/OperatorOverwrite.js +1 -1
- package/src/sap/ui/mdc/enum/OperatorValueType.js +1 -1
- package/src/sap/ui/mdc/enum/ProcessingStrategy.js +1 -1
- package/src/sap/ui/mdc/enum/PropagationReason.js +1 -1
- package/src/sap/ui/mdc/enum/ReasonMode.js +1 -1
- package/src/sap/ui/mdc/enum/SelectType.js +1 -1
- package/src/sap/ui/mdc/enums/ActionToolbarActionAlignment.js +1 -1
- package/src/sap/ui/mdc/enums/BaseType.js +1 -1
- package/src/sap/ui/mdc/enums/ChartItemRoleType.js +1 -1
- package/src/sap/ui/mdc/enums/ChartItemType.js +1 -1
- package/src/sap/ui/mdc/enums/ChartP13nMode.js +1 -1
- package/src/sap/ui/mdc/enums/ChartToolbarActionType.js +1 -1
- package/src/sap/ui/mdc/enums/ConditionValidated.js +1 -1
- package/src/sap/ui/mdc/enums/ContentMode.js +1 -1
- package/src/sap/ui/mdc/enums/FieldDisplay.js +1 -1
- package/src/sap/ui/mdc/enums/FieldEditMode.js +1 -1
- package/src/sap/ui/mdc/enums/FilterBarP13nMode.js +1 -1
- package/src/sap/ui/mdc/enums/FilterBarValidationStatus.js +1 -1
- package/src/sap/ui/mdc/enums/LinkType.js +1 -1
- package/src/sap/ui/mdc/enums/OperatorName.js +1 -1
- package/src/sap/ui/mdc/enums/OperatorOverwrite.js +1 -1
- package/src/sap/ui/mdc/enums/OperatorValueType.js +1 -1
- package/src/sap/ui/mdc/enums/ProcessingStrategy.js +1 -1
- package/src/sap/ui/mdc/enums/ReasonMode.js +1 -1
- package/src/sap/ui/mdc/enums/RequestShowContainerReason.js +62 -0
- package/src/sap/ui/mdc/enums/TableGrowingMode.js +1 -1
- package/src/sap/ui/mdc/enums/TableMultiSelectMode.js +1 -1
- package/src/sap/ui/mdc/enums/TableP13nMode.js +1 -1
- package/src/sap/ui/mdc/enums/TableRowActionType.js +1 -1
- package/src/sap/ui/mdc/enums/TableRowCountMode.js +1 -1
- package/src/sap/ui/mdc/enums/TableSelectionMode.js +1 -1
- package/src/sap/ui/mdc/enums/TableType.js +1 -1
- package/src/sap/ui/mdc/enums/ValueHelpPropagationReason.js +1 -1
- package/src/sap/ui/mdc/enums/ValueHelpSelectionType.js +1 -1
- package/src/sap/ui/mdc/field/ConditionType.js +2 -2
- package/src/sap/ui/mdc/field/ConditionTypeMixin.js +2 -2
- package/src/sap/ui/mdc/field/ConditionsType.js +2 -2
- package/src/sap/ui/mdc/field/CustomFieldInfo.js +2 -2
- package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +2 -2
- package/src/sap/ui/mdc/field/FieldBase.js +104 -47
- package/src/sap/ui/mdc/field/FieldBaseDelegate.js +1 -1
- package/src/sap/ui/mdc/field/FieldBaseRenderer.js +1 -1
- package/src/sap/ui/mdc/field/FieldInfoBase.js +2 -2
- package/src/sap/ui/mdc/field/FieldInput.js +44 -4
- package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +2 -2
- package/src/sap/ui/mdc/field/FieldInputRenderer.js +1 -1
- package/src/sap/ui/mdc/field/FieldMultiInput.js +48 -4
- package/src/sap/ui/mdc/field/FieldMultiInputRenderer.js +1 -1
- package/src/sap/ui/mdc/field/ListFieldHelpItem.js +2 -2
- package/src/sap/ui/mdc/field/MultiValueFieldDelegate.js +1 -1
- package/src/sap/ui/mdc/field/MultiValueFieldItem.js +2 -2
- package/src/sap/ui/mdc/field/TokenDisplay.js +2 -2
- package/src/sap/ui/mdc/field/TokenDisplayRenderer.js +1 -1
- package/src/sap/ui/mdc/field/TokenizerDisplay.js +43 -3
- package/src/sap/ui/mdc/field/TokenizerDisplayRenderer.js +1 -1
- package/src/sap/ui/mdc/field/content/BooleanContent.js +1 -1
- package/src/sap/ui/mdc/field/content/ContentFactory.js +2 -2
- package/src/sap/ui/mdc/field/content/DateContent.js +1 -1
- package/src/sap/ui/mdc/field/content/DateTimeContent.js +1 -1
- package/src/sap/ui/mdc/field/content/DefaultContent.js +1 -1
- package/src/sap/ui/mdc/field/content/LinkContent.js +1 -1
- package/src/sap/ui/mdc/field/content/SearchContent.js +1 -1
- package/src/sap/ui/mdc/field/content/TimeContent.js +1 -1
- package/src/sap/ui/mdc/field/content/UnitContent.js +1 -1
- package/src/sap/ui/mdc/field/splitValue.js +1 -1
- package/src/sap/ui/mdc/filterbar/FilterBarBase.js +2 -2
- package/src/sap/ui/mdc/filterbar/FilterBarBaseRenderer.js +1 -1
- package/src/sap/ui/mdc/filterbar/IFilterContainer.js +1 -1
- package/src/sap/ui/mdc/filterbar/PropertyHelper.js +2 -2
- package/src/sap/ui/mdc/filterbar/PropertyInfoValidator.js +1 -1
- package/src/sap/ui/mdc/filterbar/aligned/FilterContainer.js +1 -1
- package/src/sap/ui/mdc/filterbar/aligned/FilterItemLayout.js +1 -1
- package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +2 -2
- package/src/sap/ui/mdc/filterbar/p13n/FilterColumnLayout.js +1 -1
- package/src/sap/ui/mdc/filterbar/p13n/FilterGroupLayout.js +1 -1
- package/src/sap/ui/mdc/filterbar/p13n/GroupContainer.js +1 -1
- package/src/sap/ui/mdc/filterbar/p13n/TableContainer.js +1 -1
- package/src/sap/ui/mdc/filterbar/vh/CollectiveSearchSelect.js +1 -1
- package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +2 -2
- package/src/sap/ui/mdc/filterbar/vh/FilterBarDelegate.js +1 -1
- package/src/sap/ui/mdc/filterbar/vh/FilterContainer.js +1 -1
- package/src/sap/ui/mdc/flexibility/ActionToolbar.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/ActionToolbarAction.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/AggregateFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +2 -2
- package/src/sap/ui/mdc/flexibility/ChartItemFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/ChartTypeFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/ColumnFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/ConditionFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +2 -2
- package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +2 -2
- package/src/sap/ui/mdc/flexibility/GroupFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/ItemBaseFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/Panel.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/PanelItem.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/PropertyInfoFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/SortFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/Table.flexibility.js +5 -1
- package/src/sap/ui/mdc/flexibility/Util.js +1 -1
- package/src/sap/ui/mdc/flexibility/actiontoolbar/CombineAction.js +2 -2
- package/src/sap/ui/mdc/flexibility/actiontoolbar/SplitAction.js +2 -2
- package/src/sap/ui/mdc/flexibility/helpers/addKeyOrName.js +1 -1
- package/src/sap/ui/mdc/flexibility/xConfigFlex.js +1 -1
- package/src/sap/ui/mdc/flp/FlpLinkDelegate.js +1 -1
- package/src/sap/ui/mdc/i18n/interaction.xml +43 -0
- package/src/sap/ui/mdc/library.js +8 -4
- package/src/sap/ui/mdc/library.support.js +1 -1
- package/src/sap/ui/mdc/link/Factory.js +2 -2
- package/src/sap/ui/mdc/link/LinkItem.js +2 -2
- package/src/sap/ui/mdc/link/Log.js +1 -1
- package/src/sap/ui/mdc/link/Panel.js +2 -2
- package/src/sap/ui/mdc/link/PanelItem.js +2 -2
- package/src/sap/ui/mdc/link/PanelRenderer.js +1 -1
- package/src/sap/ui/mdc/link/SemanticObjectMapping.js +2 -2
- package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +2 -2
- package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +2 -2
- package/src/sap/ui/mdc/messagebundle_bg.properties +14 -14
- package/src/sap/ui/mdc/messagebundle_de.properties +1 -1
- package/src/sap/ui/mdc/messagebundle_es.properties +1 -1
- package/src/sap/ui/mdc/messagebundle_sl.properties +3 -3
- package/src/sap/ui/mdc/messagebundle_th.properties +8 -8
- package/src/sap/ui/mdc/mixin/AdaptationMixin.js +2 -2
- package/src/sap/ui/mdc/mixin/DelegateMixin.js +2 -2
- package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +2 -2
- package/src/sap/ui/mdc/mixin/PromiseMixin.js +2 -2
- package/src/sap/ui/mdc/mixin/PropertyHelperMixin.js +2 -2
- package/src/sap/ui/mdc/mixin/delegate/FilterIntegrationDefault.js +1 -1
- package/src/sap/ui/mdc/odata/TypeMap.js +2 -2
- package/src/sap/ui/mdc/odata/TypeUtil.js +1 -1
- package/src/sap/ui/mdc/odata/v4/ChartDelegate.js +1 -1
- package/src/sap/ui/mdc/odata/v4/ODataMetaModelUtil.js +1 -1
- package/src/sap/ui/mdc/odata/v4/TableDelegate.js +52 -29
- package/src/sap/ui/mdc/odata/v4/TypeMap.js +2 -2
- package/src/sap/ui/mdc/odata/v4/TypeUtil.js +1 -1
- package/src/sap/ui/mdc/odata/v4/ValueHelpDelegate.js +1 -1
- package/src/sap/ui/mdc/odata/v4/util/DelegateUtil.js +1 -1
- package/src/sap/ui/mdc/odata/v4/vizChart/ChartDelegate.js +3 -3
- package/src/sap/ui/mdc/p13n/P13nBuilder.js +1 -1
- package/src/sap/ui/mdc/p13n/PersistenceProvider.js +1 -1
- package/src/sap/ui/mdc/p13n/PropertyHelper.js +2 -2
- package/src/sap/ui/mdc/p13n/StateUtil.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/ActionToolbarPanel.js +2 -2
- package/src/sap/ui/mdc/p13n/panels/AdaptFiltersPanel.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/ChartItemPanel.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/FilterPanel.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/GroupView.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/LinkSelectionPanel.js +4 -4
- package/src/sap/ui/mdc/p13n/subcontroller/ActionToolbarController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/AdaptFiltersController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/AggregateController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/ChartItemController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/ChartTypeController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/ColumnController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/ColumnFreezeController.js +161 -0
- package/src/sap/ui/mdc/p13n/subcontroller/FilterController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/GroupController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/LinkPanelController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/SelectionController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/ShowDetailsController.js +2 -2
- package/src/sap/ui/mdc/p13n/subcontroller/SortController.js +1 -1
- package/src/sap/ui/mdc/rules/Table.support.js +1 -1
- package/src/sap/ui/mdc/table/Column.js +20 -6
- package/src/sap/ui/mdc/table/ColumnSettings.js +2 -2
- package/src/sap/ui/mdc/table/CreationRow.js +2 -2
- package/src/sap/ui/mdc/table/DragDropConfig.js +2 -2
- package/src/sap/ui/mdc/table/GridTableType.js +64 -2
- package/src/sap/ui/mdc/table/PropertyHelper.js +18 -4
- package/src/sap/ui/mdc/table/ResponsiveColumnSettings.js +2 -2
- package/src/sap/ui/mdc/table/ResponsiveTableType.js +12 -6
- package/src/sap/ui/mdc/table/RowActionItem.js +2 -2
- package/src/sap/ui/mdc/table/RowSettings.js +2 -2
- package/src/sap/ui/mdc/table/TableSettings.js +1 -1
- package/src/sap/ui/mdc/table/TableTypeBase.js +1 -1
- package/src/sap/ui/mdc/table/TreeTableType.js +1 -1
- package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +114 -47
- package/src/sap/ui/mdc/table/menu/GroupHeaderRowContextMenu.js +1 -1
- package/src/sap/ui/mdc/table/menu/QuickActionContainer.js +1 -1
- package/src/sap/ui/mdc/table/utils/Personalization.js +20 -2
- package/src/sap/ui/mdc/themes/base/AdaptFiltersPanel.less +13 -8
- package/src/sap/ui/mdc/themes/base/AdaptationFilterBar.less +7 -2
- package/src/sap/ui/mdc/themes/base/FieldBase.less +11 -5
- package/src/sap/ui/mdc/themes/base/FilterBar.less +5 -3
- package/src/sap/ui/mdc/themes/base/GroupView.less +37 -32
- package/src/sap/ui/mdc/themes/base/InfoPanel.less +28 -22
- package/src/sap/ui/mdc/themes/base/ListView.less +20 -15
- package/src/sap/ui/mdc/themes/base/PersonalizationDialog.less +6 -13
- package/src/sap/ui/mdc/themes/base/QueryPanel.less +5 -4
- package/src/sap/ui/mdc/themes/base/Table.less +6 -0
- package/src/sap/ui/mdc/themes/base/TokenDisplay.less +27 -29
- package/src/sap/ui/mdc/themes/base/TokenizerDisplay.less +18 -22
- package/src/sap/ui/mdc/themes/base/ValueHelpDialog.less +31 -27
- package/src/sap/ui/mdc/themes/base/library.source.less +1 -3
- package/src/sap/ui/mdc/ushell/LinkDelegate.js +23 -23
- package/src/sap/ui/mdc/ushell/SemanticObjectMapping.js +2 -2
- package/src/sap/ui/mdc/ushell/SemanticObjectMappingItem.js +2 -2
- package/src/sap/ui/mdc/ushell/SemanticObjectUnavailableAction.js +2 -2
- package/src/sap/ui/mdc/util/Common.js +1 -1
- package/src/sap/ui/mdc/util/DateUtil.js +1 -1
- package/src/sap/ui/mdc/util/DensityHelper.js +1 -1
- package/src/sap/ui/mdc/util/FilterUtil.js +1 -1
- package/src/sap/ui/mdc/util/IdentifierUtil.js +1 -1
- package/src/sap/ui/mdc/util/InfoBar.js +2 -2
- package/src/sap/ui/mdc/util/InfoBarRenderer.js +1 -1
- package/src/sap/ui/mdc/util/PromiseCache.js +2 -2
- package/src/sap/ui/mdc/util/PropertyHelper.js +38 -10
- package/src/sap/ui/mdc/util/PropertyHelperUtil.js +2 -2
- package/src/sap/ui/mdc/util/TypeMap.js +1 -1
- package/src/sap/ui/mdc/util/TypeUtil.js +1 -1
- package/src/sap/ui/mdc/util/loadModules.js +1 -1
- package/src/sap/ui/mdc/valuehelp/CollectiveSearchSelect.js +1 -1
- package/src/sap/ui/mdc/valuehelp/Dialog.js +36 -17
- package/src/sap/ui/mdc/valuehelp/FilterBar.js +2 -2
- package/src/sap/ui/mdc/valuehelp/FilterBarDelegate.js +1 -1
- package/src/sap/ui/mdc/valuehelp/FilterContainer.js +1 -1
- package/src/sap/ui/mdc/valuehelp/Popover.js +73 -24
- package/src/sap/ui/mdc/valuehelp/base/Container.js +6 -20
- package/src/sap/ui/mdc/valuehelp/base/Content.js +13 -25
- package/src/sap/ui/mdc/valuehelp/base/DefineConditionPanel.js +4 -3
- package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +2 -2
- package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +6 -6
- package/src/sap/ui/mdc/valuehelp/base/ListContent.js +2 -2
- package/src/sap/ui/mdc/valuehelp/content/Bool.js +12 -2
- package/src/sap/ui/mdc/valuehelp/content/Conditions.js +12 -2
- package/src/sap/ui/mdc/valuehelp/content/FixedList.js +68 -34
- package/src/sap/ui/mdc/valuehelp/content/FixedListItem.js +2 -2
- package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +8 -4
- package/src/sap/ui/mdc/valuehelp/content/MTable.js +165 -92
- package/test/sap/ui/mdc/testutils/opa/p13n/Actions.js +206 -1
- package/test/sap/ui/mdc/testutils/opa/p13n/Util.js +2 -1
- package/test/sap/ui/mdc/testutils/opa/table/TestObjects.js +44 -0
- package/ui5.yaml +1 -1
- package/.reuse/dep5 +0 -471
- package/src/sap/ui/mdc/themes/base/SelectionDialog.less +0 -5
- package/src/sap/ui/mdc/themes/base/Wrapper.less +0 -17
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -13,6 +13,7 @@ sap.ui.define([
|
|
|
13
13
|
'sap/ui/model/base/ManagedObjectModel',
|
|
14
14
|
'sap/ui/base/ManagedObjectObserver',
|
|
15
15
|
'sap/ui/mdc/enums/ValueHelpPropagationReason',
|
|
16
|
+
'sap/ui/mdc/enums/RequestShowContainerReason',
|
|
16
17
|
'sap/ui/Device',
|
|
17
18
|
"sap/ui/mdc/enums/FieldDisplay"
|
|
18
19
|
], (
|
|
@@ -24,6 +25,7 @@ sap.ui.define([
|
|
|
24
25
|
ManagedObjectModel,
|
|
25
26
|
ManagedObjectObserver,
|
|
26
27
|
ValueHelpPropagationReason,
|
|
28
|
+
RequestShowContainerReason,
|
|
27
29
|
Device,
|
|
28
30
|
FieldDisplay
|
|
29
31
|
) => {
|
|
@@ -67,7 +69,7 @@ sap.ui.define([
|
|
|
67
69
|
* and {@link sap.ui.mdc.FilterField FilterField} controls using the <code>valueHelp</code> association. One <code>ValueHelp</code> element instance can be
|
|
68
70
|
* assigned to multiple fields (like in different table rows). It should be placed in the control tree on the container holding the fields.
|
|
69
71
|
* @extends sap.ui.mdc.Element
|
|
70
|
-
* @version 1.
|
|
72
|
+
* @version 1.136.0
|
|
71
73
|
* @constructor
|
|
72
74
|
* @abstract
|
|
73
75
|
* @public
|
|
@@ -390,6 +392,24 @@ sap.ui.define([
|
|
|
390
392
|
return;
|
|
391
393
|
};
|
|
392
394
|
|
|
395
|
+
/**
|
|
396
|
+
* Configuration object to be provided when connecting with a control.
|
|
397
|
+
*
|
|
398
|
+
* @static
|
|
399
|
+
* @constant
|
|
400
|
+
* @typedef {object} sap.ui.mdc.valuehelp.base.ConnectConfig
|
|
401
|
+
* @param {int} [maxConditions=-1] Maximum number of allowed conditions
|
|
402
|
+
* @param {sap.ui.model.Type} [dataType] Type of the key (required for condition panel)
|
|
403
|
+
* @param {sap.ui.model.Type} [additionalDataType] Type of the description (required for condition panel)
|
|
404
|
+
* @param {string[]} [operators] Possible operators to be used in the condition
|
|
405
|
+
* @param {sap.ui.mdc.enums.FieldDisplay} [display] Defines whether the value and/or description of the field is shown and in what order
|
|
406
|
+
* @param {object} [delegate] Field delegate to handle model-specific logic (required for condition panel)
|
|
407
|
+
* @param {object} [delegateName] Field delegate name to handle model-specific logic (required for condition panel)
|
|
408
|
+
* @param {object} [payload] Payload of the field delegate (required for condition panel)
|
|
409
|
+
* @private
|
|
410
|
+
* @ui5-restricted sap.ui.mdc
|
|
411
|
+
*/
|
|
412
|
+
|
|
393
413
|
/**
|
|
394
414
|
* Connects the <code>ValueHelp</code> element to a control.
|
|
395
415
|
*
|
|
@@ -403,15 +423,7 @@ sap.ui.define([
|
|
|
403
423
|
* belongs to, not by the application.
|
|
404
424
|
*
|
|
405
425
|
* @param {sap.ui.core.Control} oControl Control to which the <code>ValueHelp</code> element is connected to
|
|
406
|
-
* @param {
|
|
407
|
-
* @param {int} [oConfig.maxConditions=-1] Maximum number of allowed conditions
|
|
408
|
-
* @param {sap.ui.model.Type} [oConfig.dataType] Type of the key (required for condition panel)
|
|
409
|
-
* @param {sap.ui.model.Type} [oConfig.additionalDataType] Type of the description (required for condition panel)
|
|
410
|
-
* @param {string[]} [oConfig.operators] Possible operators to be used in the condition
|
|
411
|
-
* @param {sap.ui.mdc.enums.FieldDisplay} [oConfig.display] Defines whether the value and/or description of the field is shown and in what order
|
|
412
|
-
* @param {object} [oConfig.delegate] Field delegate to handle model-specific logic (required for condition panel)
|
|
413
|
-
* @param {object} [oConfig.delegateName] Field delegate name to handle model-specific logic (required for condition panel)
|
|
414
|
-
* @param {object} [oConfig.payload] Payload of the field delegate (required for condition panel)
|
|
426
|
+
* @param {sap.ui.mdc.valuehelp.base.ConnectConfig} [oConfig] Configuration object that holds required data of the connected control
|
|
415
427
|
* @returns {this} Reference to <code>this</code> in order to allow method chaining
|
|
416
428
|
* @private
|
|
417
429
|
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
@@ -421,7 +433,7 @@ sap.ui.define([
|
|
|
421
433
|
const oDialog = this.getDialog();
|
|
422
434
|
|
|
423
435
|
if (this._oControl && this._oControl !== oControl) {
|
|
424
|
-
this.close();
|
|
436
|
+
this.close(true);
|
|
425
437
|
this.setFilterValue("");
|
|
426
438
|
this.setConditions([]);
|
|
427
439
|
|
|
@@ -447,6 +459,10 @@ sap.ui.define([
|
|
|
447
459
|
attachContainerEvents.call(this, oDialog, !!this._oControl);
|
|
448
460
|
}
|
|
449
461
|
|
|
462
|
+
this._getControlDelegatePromise().then((oDelegateModule) => {
|
|
463
|
+
oDelegateModule.onControlConnect(this, oControl, oConfig);
|
|
464
|
+
});
|
|
465
|
+
|
|
450
466
|
return this;
|
|
451
467
|
};
|
|
452
468
|
|
|
@@ -541,8 +557,22 @@ sap.ui.define([
|
|
|
541
557
|
|
|
542
558
|
};
|
|
543
559
|
|
|
544
|
-
|
|
545
|
-
|
|
560
|
+
/**
|
|
561
|
+
* Retrieves delegate-based content modifications.
|
|
562
|
+
*
|
|
563
|
+
* This method may be called during the ValueHelp's opening phase, whenever a new content should be displayed for a <code>CollectiveSearch</code> dialog configuration or when one of {@link #getItemForValue}, {@link #requestShowTypeahead} or {@link #requestShowValueHelp} are called.
|
|
564
|
+
*
|
|
565
|
+
* So depending on the value help {@link sap.ui.mdc.valuehelp.base.Content Content} used, all content controls and the relevant data need to be assigned.
|
|
566
|
+
* Once they are assigned and the data is set, the returned <code>Promise</code> needs to be resolved.
|
|
567
|
+
* Only then does the value help continue opening or reading data.<br/>This method returns a <code>Promise</code> that resolves into <code>undefined</code>.
|
|
568
|
+
*
|
|
569
|
+
* @param {sap.ui.mdc.valuehelp.base.Container} oContainer Container instance
|
|
570
|
+
* @param {string} sContentId ID of the content shown after this call to retrieve content
|
|
571
|
+
* @returns {Promise} <code>Promise</code> that is resolved if all content is available
|
|
572
|
+
* @private
|
|
573
|
+
* @ui5-restricted sap.ui.mdc.ValueHelp, sap.ui.mdc.ValueHelpDelegate
|
|
574
|
+
*/
|
|
575
|
+
ValueHelp.prototype.retrieveDelegateContent = function(oContainer, sContentId) {
|
|
546
576
|
let oPromise;
|
|
547
577
|
if (!sContentId) {
|
|
548
578
|
const oSelectedContent = oContainer.getSelectedContent(); // use currently active content id if no other is given
|
|
@@ -593,14 +623,14 @@ sap.ui.define([
|
|
|
593
623
|
}
|
|
594
624
|
|
|
595
625
|
if (oContainer && !oContainer.isOpen() && !oContainer.isOpening()) {
|
|
596
|
-
oContainer.open(this.
|
|
626
|
+
oContainer.open(this.retrieveDelegateContent(oContainer), bTypeahead);
|
|
597
627
|
this.fireOpen({ container: oContainer });
|
|
598
628
|
}
|
|
599
629
|
};
|
|
600
630
|
|
|
601
631
|
function _handleRequestDelegateContent(oEvent) {
|
|
602
632
|
const oContainer = oEvent.getSource();
|
|
603
|
-
this.
|
|
633
|
+
this.retrieveDelegateContent(oContainer, oEvent.getParameter("contentId"));
|
|
604
634
|
}
|
|
605
635
|
|
|
606
636
|
function _handleRequestSwitchToDialog(oEvent) {
|
|
@@ -613,19 +643,20 @@ sap.ui.define([
|
|
|
613
643
|
* <b>Note:</b> This function must only be called by the control the <code>ValueHelp</code> element
|
|
614
644
|
* belongs to, not by the application.
|
|
615
645
|
*
|
|
646
|
+
* @param {boolean} bDoNotRestoreFocus If set, closing must not restore the focus on the field
|
|
616
647
|
* @private
|
|
617
648
|
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
618
649
|
*/
|
|
619
|
-
ValueHelp.prototype.close = function() {
|
|
650
|
+
ValueHelp.prototype.close = function(bDoNotRestoreFocus) {
|
|
620
651
|
const oTypeahead = this.getTypeahead();
|
|
621
652
|
const oDialog = this.getDialog();
|
|
622
653
|
|
|
623
654
|
if (oTypeahead && oTypeahead.isOpen()) {
|
|
624
|
-
oTypeahead.close();
|
|
655
|
+
oTypeahead.close(bDoNotRestoreFocus);
|
|
625
656
|
}
|
|
626
657
|
|
|
627
658
|
if (oDialog && oDialog.isOpen()) {
|
|
628
|
-
oDialog.close();
|
|
659
|
+
oDialog.close(bDoNotRestoreFocus);
|
|
629
660
|
}
|
|
630
661
|
};
|
|
631
662
|
|
|
@@ -716,7 +747,7 @@ sap.ui.define([
|
|
|
716
747
|
|
|
717
748
|
const oTypeahead = this.getTypeahead();
|
|
718
749
|
if (oTypeahead) {
|
|
719
|
-
return this.
|
|
750
|
+
return this.retrieveDelegateContent(oTypeahead).then(() => {
|
|
720
751
|
return !!oTypeahead && oTypeahead.isTypeaheadSupported(); // as might depend on binding in content
|
|
721
752
|
});
|
|
722
753
|
} else {
|
|
@@ -725,6 +756,56 @@ sap.ui.define([
|
|
|
725
756
|
|
|
726
757
|
};
|
|
727
758
|
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* Determines if the value help typeahead is to be opened on user interaction, navigation, or configuration changes.
|
|
762
|
+
*
|
|
763
|
+
* @param {sap.ui.mdc.enums.RequestShowContainerReason} sReason Interaction event possibly triggering the opening of the value help
|
|
764
|
+
* @returns {Promise<boolean>} <code>true</code> if the value help container is shown
|
|
765
|
+
* @private
|
|
766
|
+
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
767
|
+
* @since 1.136
|
|
768
|
+
*/
|
|
769
|
+
ValueHelp.prototype.requestShowTypeahead = async function(sReason) {
|
|
770
|
+
const oTypeahead = this.getTypeahead();
|
|
771
|
+
if (oTypeahead) {
|
|
772
|
+
return await this._requestShowContainer(oTypeahead, sReason);
|
|
773
|
+
}
|
|
774
|
+
return false;
|
|
775
|
+
};
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* Determines if the value help is to be opened with a dialog or typeahead in value help mode.
|
|
779
|
+
*
|
|
780
|
+
* @returns {Promise<boolean>} <code>true</code> if the value help container is to be shown
|
|
781
|
+
* @private
|
|
782
|
+
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
783
|
+
* @since 1.136
|
|
784
|
+
*/
|
|
785
|
+
ValueHelp.prototype.requestShowValueHelp = async function() {
|
|
786
|
+
const oDialog = _getValueHelpContainer.call(this);
|
|
787
|
+
if (oDialog) {
|
|
788
|
+
return await this._requestShowContainer(oDialog, RequestShowContainerReason.ValueHelpRequest);
|
|
789
|
+
}
|
|
790
|
+
return false;
|
|
791
|
+
};
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* Determines if the value help typeahead is to be opened on interaction, navigation or configuration changes.
|
|
796
|
+
*
|
|
797
|
+
* @param {sap.ui.mdc.valuehelp.base.Container} oContainer Container instance
|
|
798
|
+
* @param {sap.ui.mdc.enums.RequestShowContainerReason} sReason Additional configuration for {@link module:sap/ui/mdc/ValueHelpDelegate.requestShowContainer}
|
|
799
|
+
* @returns {Promise<boolean>} <code>true</code> if the value help container is to be shown
|
|
800
|
+
* @private
|
|
801
|
+
* @ui5-restricted sap.ui.mdc.ValueHelp, sap.ui.mdc.valuehelp.base.Container, sap.ui.mdc.valuehelp.base.Content
|
|
802
|
+
* @since 1.136
|
|
803
|
+
*/
|
|
804
|
+
ValueHelp.prototype._requestShowContainer = async function(oContainer, sReason) {
|
|
805
|
+
const oDelegateModule = await this._getControlDelegatePromise();
|
|
806
|
+
return oDelegateModule.requestShowContainer(this, oContainer, sReason);
|
|
807
|
+
};
|
|
808
|
+
|
|
728
809
|
/**
|
|
729
810
|
* Determines if the value help should be opened when the user focuses the connected control.
|
|
730
811
|
*
|
|
@@ -824,16 +905,12 @@ sap.ui.define([
|
|
|
824
905
|
const oTypeahead = this.getTypeahead();
|
|
825
906
|
if (oTypeahead) {
|
|
826
907
|
const _fnOnNavigatable = () => {
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
oTypeahead.navigate(iStep);
|
|
830
|
-
});
|
|
831
|
-
}
|
|
832
|
-
return oTypeahead.navigate(iStep);
|
|
908
|
+
const oTypeahead = this.getTypeahead(); // as might already be destroyed and removed
|
|
909
|
+
return oTypeahead?.navigate(iStep);
|
|
833
910
|
};
|
|
834
911
|
const oNavigatePromise = this._retrievePromise("navigate");
|
|
835
912
|
const oExistingPromise = oNavigatePromise && !oNavigatePromise.isSettled() && oNavigatePromise.getInternalPromise();
|
|
836
|
-
this._addPromise("navigate", oExistingPromise ? oExistingPromise.then(_fnOnNavigatable) :
|
|
913
|
+
this._addPromise("navigate", oExistingPromise ? oExistingPromise.then(_fnOnNavigatable) : _fnOnNavigatable);
|
|
837
914
|
}
|
|
838
915
|
};
|
|
839
916
|
|
|
@@ -918,7 +995,7 @@ sap.ui.define([
|
|
|
918
995
|
// TODO: Discuss how we handle binding / typeahead changes ??
|
|
919
996
|
const oTypeahead = this.getTypeahead();
|
|
920
997
|
if (oTypeahead) {
|
|
921
|
-
return this.
|
|
998
|
+
return this.retrieveDelegateContent(oTypeahead).then(() => {
|
|
922
999
|
oConfig.caseSensitive = oConfig.hasOwnProperty("caseSensitive") ? oConfig.caseSensitive : false; // If supported, search case insensitive
|
|
923
1000
|
const pGetItemPromise = oTypeahead.getItemForValue(oConfig);
|
|
924
1001
|
return pGetItemPromise;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -21,7 +21,9 @@ sap.ui.define([
|
|
|
21
21
|
"sap/ui/mdc/condition/FilterConverter",
|
|
22
22
|
"sap/ui/mdc/condition/FilterOperatorUtil",
|
|
23
23
|
"sap/ui/Device",
|
|
24
|
-
"sap/ui/mdc/enums/FieldDisplay"
|
|
24
|
+
"sap/ui/mdc/enums/FieldDisplay",
|
|
25
|
+
'sap/ui/mdc/enums/RequestShowContainerReason',
|
|
26
|
+
"sap/ui/mdc/util/loadModules"
|
|
25
27
|
], (
|
|
26
28
|
BaseDelegate,
|
|
27
29
|
FilterType,
|
|
@@ -35,14 +37,22 @@ sap.ui.define([
|
|
|
35
37
|
FilterConverter,
|
|
36
38
|
FilterOperatorUtil,
|
|
37
39
|
Device,
|
|
38
|
-
FieldDisplay
|
|
40
|
+
FieldDisplay,
|
|
41
|
+
RequestShowContainerReason,
|
|
42
|
+
loadModules
|
|
39
43
|
) => {
|
|
40
44
|
"use strict";
|
|
41
45
|
|
|
42
|
-
const _applyFilters = function(aItems, oFilter, oValueHelp, oContent) {
|
|
46
|
+
const _applyFilters = function (aItems, oFilter, oValueHelp, oContent) {
|
|
43
47
|
const aConditions = oContent.getConditions();
|
|
44
48
|
const aContexts = FilterProcessor.apply(aItems, oFilter, (oBindingContext, sPath) => oBindingContext && oBindingContext.getProperty(sPath));
|
|
45
|
-
|
|
49
|
+
|
|
50
|
+
if (oContent.isSingleSelect() && aConditions.length > 0) {
|
|
51
|
+
// in single selection mode use already selected condition as match (reopen after navigate or typeahead should just show the last item again)
|
|
52
|
+
return aContexts[0];
|
|
53
|
+
} else {
|
|
54
|
+
return aContexts.find((oContext) => !this.findConditionsForContext(oValueHelp, oContent, oContext, aConditions).length);
|
|
55
|
+
}
|
|
46
56
|
};
|
|
47
57
|
|
|
48
58
|
/**
|
|
@@ -60,7 +70,7 @@ sap.ui.define([
|
|
|
60
70
|
/**
|
|
61
71
|
* Requests additional content for the value help.
|
|
62
72
|
*
|
|
63
|
-
* This
|
|
73
|
+
* This method is called during the opening phase of a <code>ValueHelp</code>, if a new content is displayed for a <code>CollectiveSearch</code> dialog or if one of the following methods is called: {@link sap.ui.mdc.ValueHelp#getItemForValue getItemForValue}, {@link sap.ui.mdc.ValueHelp#requestShowTypeahead requestShowTypeahead}, {@link sap.ui.mdc.ValueHelp#requestShowValueHelp requestShowValueHelp}
|
|
64
74
|
*
|
|
65
75
|
* So depending on the value help {@link sap.ui.mdc.valuehelp.base.Content Content} used, all content controls and data need to be assigned.
|
|
66
76
|
* Once they are assigned and the data is set, the returned <code>Promise</code> needs to be resolved.
|
|
@@ -379,7 +389,7 @@ sap.ui.define([
|
|
|
379
389
|
oListBindingInfo.template.mAggregations.cells.forEach((oCell) => {
|
|
380
390
|
Object.values(oCell.mBindingInfos).forEach((oBindingInfo) => {
|
|
381
391
|
oBindingInfo.parts.forEach((oPartInfo) => {
|
|
382
|
-
oConditionTypes[oPartInfo.path] = { type: oPartInfo.type || null, baseType: oPartInfo.type ? oTypeMap.getBaseTypeForType(oPartInfo.type) : BaseType.String};
|
|
392
|
+
oConditionTypes[oPartInfo.path] = { type: oPartInfo.type || null, baseType: oPartInfo.type ? oTypeMap.getBaseTypeForType(oPartInfo.type) : BaseType.String };
|
|
383
393
|
});
|
|
384
394
|
});
|
|
385
395
|
}, {});
|
|
@@ -461,16 +471,16 @@ sap.ui.define([
|
|
|
461
471
|
aSearchFields = aSearchFields.filter((oEntry) => !!oEntry);
|
|
462
472
|
|
|
463
473
|
for (const sPath of aSearchFields) {
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
}
|
|
474
|
+
const aFilters = [
|
|
475
|
+
new Filter({ path: sPath, operator: FilterOperator.EQ, value1: sInputValue, caseSensitive: bCaseSensitive }),
|
|
476
|
+
new Filter({ path: sPath, operator: FilterOperator.StartsWith, value1: sInputValue, caseSensitive: bCaseSensitive })
|
|
477
|
+
];
|
|
478
|
+
for (const oFilter of aFilters) {
|
|
479
|
+
oResult = _applyFilters.call(this, aRelevantContexts, oFilter, oValueHelp, oContent);
|
|
480
|
+
if (oResult) {
|
|
481
|
+
return oResult;
|
|
473
482
|
}
|
|
483
|
+
}
|
|
474
484
|
}
|
|
475
485
|
}
|
|
476
486
|
|
|
@@ -492,6 +502,49 @@ sap.ui.define([
|
|
|
492
502
|
return oContent.getCaseSensitive();
|
|
493
503
|
};
|
|
494
504
|
|
|
505
|
+
/**
|
|
506
|
+
* Determines if a value help container is to be opened on user interaction, navigation, or configuration changes.
|
|
507
|
+
* <b>Note:</b> This method can be called repeatedly with various {@link {sap.ui.mdc.enums.RequestShowContainerReason reasons} depending on the given {@link sap.ui.mdc.valuehelp.base.Container container}.
|
|
508
|
+
*
|
|
509
|
+
* @param {sap.ui.mdc.ValueHelp} oValueHelp The <code>ValueHelp</code> control instance
|
|
510
|
+
* @param {sap.ui.mdc.valuehelp.base.Container} oContainer Container instance
|
|
511
|
+
* @param {sap.ui.mdc.enums.RequestShowContainerReason} sRequestShowContainerReason Reason for the request
|
|
512
|
+
* @returns {Promise<boolean>} <code>true</code>, if the value help is to be triggered
|
|
513
|
+
* @private
|
|
514
|
+
* @ui5-restricted sap.ui.mdc, sap.fe
|
|
515
|
+
* @since 1.136
|
|
516
|
+
*/
|
|
517
|
+
ValueHelpDelegate.requestShowContainer = async function (oValueHelp, oContainer, sRequestShowContainerReason) {
|
|
518
|
+
if (sRequestShowContainerReason === RequestShowContainerReason.Tap) {
|
|
519
|
+
return !!await this.shouldOpenOnClick?.(oValueHelp, oContainer);
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
if (sRequestShowContainerReason === RequestShowContainerReason.Typing) {
|
|
523
|
+
await oValueHelp.retrieveDelegateContent(oContainer);
|
|
524
|
+
return !!await oContainer.isTypeaheadSupported();
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
if (sRequestShowContainerReason === RequestShowContainerReason.Filter) {
|
|
528
|
+
const [oContent] = oContainer?.getContent() || [];
|
|
529
|
+
return !!await this.showTypeahead?.(oValueHelp, oContent);
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
if (sRequestShowContainerReason === RequestShowContainerReason.Focus) {
|
|
533
|
+
return !!await this.shouldOpenOnFocus?.(oValueHelp, oContainer);
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
if (sRequestShowContainerReason === RequestShowContainerReason.Navigate) {
|
|
537
|
+
await oValueHelp.retrieveDelegateContent(oContainer); // preload potentially necessary content
|
|
538
|
+
return !!await oContainer.shouldOpenOnNavigate();
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
if (sRequestShowContainerReason === RequestShowContainerReason.ValueHelpRequest) {
|
|
542
|
+
return oContainer.isDialog();
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
return false;
|
|
546
|
+
};
|
|
547
|
+
|
|
495
548
|
/**
|
|
496
549
|
* Determines if the value help is opened when the user focuses on the connected control.
|
|
497
550
|
* <br/>By default, the value of the {@link sap.ui.mdc.valuehelp.Popover#getOpensOnFocus opensOnFocus} property is returned.
|
|
@@ -539,17 +592,17 @@ sap.ui.define([
|
|
|
539
592
|
// - for singleSelect only if typeahead is not used as ValueHelp (ComboBox don't opens on click)
|
|
540
593
|
bShouldOpenOnClick = true;
|
|
541
594
|
} else {
|
|
542
|
-
let
|
|
595
|
+
let bUseContent = true;
|
|
543
596
|
|
|
544
597
|
/**
|
|
545
598
|
* @deprecated since 1.121.0
|
|
546
599
|
*/
|
|
547
600
|
if (!oContainer.isPropertyInitial("opensOnClick")) {
|
|
548
|
-
|
|
601
|
+
bUseContent = false;
|
|
549
602
|
bShouldOpenOnClick = oContainer.getOpensOnClick();
|
|
550
603
|
}
|
|
551
604
|
|
|
552
|
-
if (
|
|
605
|
+
if (bUseContent) {
|
|
553
606
|
const oContent = oContainer._getContent();
|
|
554
607
|
bShouldOpenOnClick = !!oContent && oContent.shouldOpenOnClick(); //If opensOnClick-property is not explicitly set, the content's preference is used instead.
|
|
555
608
|
}
|
|
@@ -559,5 +612,21 @@ sap.ui.define([
|
|
|
559
612
|
return Promise.resolve(bShouldOpenOnClick);
|
|
560
613
|
};
|
|
561
614
|
|
|
615
|
+
/**
|
|
616
|
+
* Provides a hook to run time-critical tasks once a control connects to a value help.
|
|
617
|
+
*
|
|
618
|
+
* This method allows for working around any delays that might occur during user interaction treatment of the connecting <code>control</code>.
|
|
619
|
+
* For example, <code>setTimeout</code> or <code>debouncing</code> are used in {@link sap.ui.mdc.field.FieldBase FieldBase} to prevent triggering value help requests too early/often.
|
|
620
|
+
*
|
|
621
|
+
* @param {sap.ui.mdc.ValueHelp} oValueHelp The <code>ValueHelp</code> control instance
|
|
622
|
+
* @param {sap.ui.core.Control} oControl Control to which the <code>ValueHelp</code> element is connected
|
|
623
|
+
* @param {sap.ui.mdc.valuehelp.base.ConnectConfig} [oConfig] Connect configuration object
|
|
624
|
+
* @protected
|
|
625
|
+
* @since 1.136
|
|
626
|
+
*/
|
|
627
|
+
ValueHelpDelegate.onControlConnect = function (oValueHelp, oControl, oConfig) {
|
|
628
|
+
// noop
|
|
629
|
+
};
|
|
630
|
+
|
|
562
631
|
return ValueHelpDelegate;
|
|
563
632
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -11,6 +11,13 @@ sap.ui.define([
|
|
|
11
11
|
], (Control, ActionToolbarActionRenderer, ActionToolbarActionAlignment, ManagedObjectObserver) => {
|
|
12
12
|
"use strict";
|
|
13
13
|
|
|
14
|
+
/**
|
|
15
|
+
* @typedef {object} sap.ui.mdc.actiontoolbar.ActionToolbarActionLayoutInformation
|
|
16
|
+
* @property {string} aggregationName The name of the aggregation where the action is displayed. Currently only <code>end</code> is supported.
|
|
17
|
+
* @property {sap.ui.mdc.enums.ActionToolbarActionAlignment} alignment The alignment of the action defining if it's displayed before or after the aggregation.
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
|
|
14
21
|
/**
|
|
15
22
|
* Constructor for a new ActionToolbarAction.
|
|
16
23
|
*
|
|
@@ -20,7 +27,7 @@ sap.ui.define([
|
|
|
20
27
|
* The action for an {@link sap.ui.mdc.ActionToolbar ActionToolbar} control with given layout information that determines where the wrapped control is displayed on the <code>ActionToolbar</code>.
|
|
21
28
|
* @extends sap.ui.core.Control
|
|
22
29
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
30
|
+
* @version 1.136.0
|
|
24
31
|
* @constructor
|
|
25
32
|
* @since 1.58
|
|
26
33
|
* @public
|
|
@@ -36,6 +43,7 @@ sap.ui.define([
|
|
|
36
43
|
properties: {
|
|
37
44
|
/**
|
|
38
45
|
* Contains the information where the action is displayed on the <code>ActionToolbar</code>.
|
|
46
|
+
* The <code>layoutInformation</code> has to be of type {@link sap.ui.mdc.actiontoolbar.ActionToolbarActionLayoutInformation}.
|
|
39
47
|
*/
|
|
40
48
|
layoutInformation: {
|
|
41
49
|
type: "object",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* @class The <code>ChartImplementationContainer</code> creates a container for the <code>content</code> (chart) and <code>noDataContent</code>. Based on the <code>showNoDataStruct</code> the <code>content</code> or <code>noDataContent</code> will be shown.
|
|
22
22
|
* @extends sap.ui.core.Control
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.136.0
|
|
25
25
|
* @constructor
|
|
26
26
|
*
|
|
27
27
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @class The <code>ChartSelectionDetails</code> control creates a <code>sap.m.SelectionDetails</code> popover based on metadata and the configuration specified.
|
|
39
39
|
* @extends sap.m.SelectionDetails
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.136.0
|
|
42
42
|
* @constructor
|
|
43
43
|
* @public
|
|
44
44
|
* @experimental As of version 1.88
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
* @extends sap.ui.mdc.util.PropertyHelper
|
|
27
27
|
*
|
|
28
28
|
* @author SAP SE
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.136.0
|
|
30
30
|
*
|
|
31
31
|
* @private
|
|
32
32
|
* @since 1.83
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -49,7 +49,7 @@ sap.ui.define([
|
|
|
49
49
|
* @namespace
|
|
50
50
|
* @alias sap.ui.mdc.chart.ToolbarControlFactory
|
|
51
51
|
* @author SAP SE
|
|
52
|
-
* @version 1.
|
|
52
|
+
* @version 1.136.0
|
|
53
53
|
* @since 1.123
|
|
54
54
|
* @experimental
|
|
55
55
|
* @private
|
|
@@ -137,7 +137,7 @@ sap.ui.define([
|
|
|
137
137
|
|
|
138
138
|
noDataTitle: MDCRb.getText("chart.NO_DRILLABLE_DIMENSION"),
|
|
139
139
|
noDataDescription: MDCRb.getText("chart.NO_DRILLABLE_DIMENSION_DESC"),
|
|
140
|
-
noDataType: IllustratedMessageType.
|
|
140
|
+
noDataType: IllustratedMessageType.NoChartData,
|
|
141
141
|
searchPlaceholder: MDCRb.getText("chart.CHART_DRILLDOWN_SEARCH"),
|
|
142
142
|
searchEnabled: true,
|
|
143
143
|
sortEnabled: false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
*
|
|
34
34
|
* @namespace
|
|
35
35
|
* @author SAP SE
|
|
36
|
-
* @version 1.
|
|
36
|
+
* @version 1.136.0
|
|
37
37
|
* @since 1.61.0
|
|
38
38
|
* @alias sap.ui.mdc.condition.Condition
|
|
39
39
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
*
|
|
25
25
|
* @namespace
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.136.0
|
|
28
28
|
* @private
|
|
29
29
|
* @ui5-restricted sap.ui.mdc
|
|
30
30
|
* @since 1.74.0
|