@openui5/sap.ui.mdc 1.135.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 +22 -22
- 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 +42 -8
- package/src/sap/ui/mdc/TableDelegate.js +1 -1
- package/src/sap/ui/mdc/ValueHelp.js +100 -24
- package/src/sap/ui/mdc/ValueHelpDelegate.js +78 -15
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +44 -27
- 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 +2 -2
- 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 +12 -2
- 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 +6 -2
- 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 +1 -1
- 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 +6 -3
- 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 +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +4 -3
- 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 +2 -2
- 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 +28 -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 +19 -3
- 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 +46 -15
- package/src/sap/ui/mdc/valuehelp/base/Container.js +2 -17
- package/src/sap/ui/mdc/valuehelp/base/Content.js +11 -23
- package/src/sap/ui/mdc/valuehelp/base/DefineConditionPanel.js +3 -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 +13 -9
- package/src/sap/ui/mdc/valuehelp/content/FixedListItem.js +2 -2
- package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +6 -2
- package/src/sap/ui/mdc/valuehelp/content/MTable.js +20 -11
- 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
|
|
|
@@ -68,7 +68,7 @@ sap.ui.define([
|
|
|
68
68
|
* @param {object} [mSettings] Initial settings for the new control
|
|
69
69
|
* @class Container for the {@link sap.ui.mdc.ValueHelp ValueHelp} element showing a dialog.
|
|
70
70
|
* @extends sap.ui.mdc.valuehelp.base.Container
|
|
71
|
-
* @version 1.
|
|
71
|
+
* @version 1.136.0
|
|
72
72
|
* @constructor
|
|
73
73
|
* @public
|
|
74
74
|
* @since 1.95.0
|
|
@@ -218,7 +218,7 @@ sap.ui.define([
|
|
|
218
218
|
Dialog.prototype.getContainerControl = function() {
|
|
219
219
|
if (!this.getModel("$i18n")) {
|
|
220
220
|
// if ResourceModel not provided from outside create own one
|
|
221
|
-
this.setModel(new ResourceModel({ bundleName: "sap/ui/mdc/messagebundle", async:
|
|
221
|
+
this.setModel(new ResourceModel({ bundleName: "sap/ui/mdc/messagebundle", async: true }), "$i18n");
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
const oDialog = this.getAggregation("_container");
|
|
@@ -237,6 +237,10 @@ sap.ui.define([
|
|
|
237
237
|
ManagedObjectModel = aModules[2];
|
|
238
238
|
MLibrary = aModules[3];
|
|
239
239
|
|
|
240
|
+
if (this.isDestroyStarted()) {
|
|
241
|
+
return null;
|
|
242
|
+
}
|
|
243
|
+
|
|
240
244
|
const { ButtonType } = MLibrary;
|
|
241
245
|
|
|
242
246
|
if (!this._oResourceBundle) {
|
|
@@ -478,6 +482,10 @@ sap.ui.define([
|
|
|
478
482
|
const Item = aModules[1];
|
|
479
483
|
const JSONModel = aModules[2];
|
|
480
484
|
|
|
485
|
+
if (this.isDestroyStarted()) {
|
|
486
|
+
return null;
|
|
487
|
+
}
|
|
488
|
+
|
|
481
489
|
if (!this._oGroupSelectModel) {
|
|
482
490
|
this._oGroupSelectModel = new JSONModel();
|
|
483
491
|
}
|
|
@@ -518,6 +526,10 @@ sap.ui.define([
|
|
|
518
526
|
IconTabFilter = aModules[1];
|
|
519
527
|
const { IconTabHeaderMode } = MLibrary;
|
|
520
528
|
|
|
529
|
+
if (this.isDestroyStarted()) {
|
|
530
|
+
return null;
|
|
531
|
+
}
|
|
532
|
+
|
|
521
533
|
this._oIconTabBar = new IconTabBar(this.getId() + "-ITB", {
|
|
522
534
|
expandable: false,
|
|
523
535
|
upperCase: false,
|
|
@@ -588,6 +600,10 @@ sap.ui.define([
|
|
|
588
600
|
const { BackgroundDesign } = MLibrary;
|
|
589
601
|
const { ButtonType } = MLibrary;
|
|
590
602
|
|
|
603
|
+
if (this.isDestroyStarted()) {
|
|
604
|
+
return null;
|
|
605
|
+
}
|
|
606
|
+
|
|
591
607
|
this.oTokenizerPanel = new Panel(this.getId() + "-TokenPanel", {
|
|
592
608
|
backgroundDesign: BackgroundDesign.Transparent,
|
|
593
609
|
expanded: true,
|
|
@@ -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(
|
|
@@ -39,7 +39,7 @@ sap.ui.define(
|
|
|
39
39
|
* <b>Note:</b> The <code>FilterBar</code> can only be used for a {@link sap.ui.mdc.valuehelp.Dialog Dialog} and not on its own.
|
|
40
40
|
* @extends sap.ui.mdc.filterbar.FilterBarBase
|
|
41
41
|
* @author SAP SE
|
|
42
|
-
* @version 1.
|
|
42
|
+
* @version 1.136.0
|
|
43
43
|
* @constructor
|
|
44
44
|
* @public
|
|
45
45
|
* @since 1.124.0
|
|
@@ -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
|
|
|
@@ -11,7 +11,8 @@ sap.ui.define([
|
|
|
11
11
|
'sap/ui/mdc/util/loadModules',
|
|
12
12
|
'sap/ui/thirdparty/jquery',
|
|
13
13
|
'sap/ui/core/library',
|
|
14
|
-
'sap/ui/Device'
|
|
14
|
+
'sap/ui/Device',
|
|
15
|
+
'sap/ui/mdc/enums/RequestShowContainerReason'
|
|
15
16
|
], (
|
|
16
17
|
Container,
|
|
17
18
|
OperatorName,
|
|
@@ -19,7 +20,8 @@ sap.ui.define([
|
|
|
19
20
|
loadModules,
|
|
20
21
|
jQuery,
|
|
21
22
|
coreLibrary,
|
|
22
|
-
Device
|
|
23
|
+
Device,
|
|
24
|
+
RequestShowContainerReason
|
|
23
25
|
) => {
|
|
24
26
|
"use strict";
|
|
25
27
|
|
|
@@ -35,7 +37,7 @@ sap.ui.define([
|
|
|
35
37
|
* @param {object} [mSettings] Initial settings for the new control
|
|
36
38
|
* @class Container for the {@link sap.ui.mdc.ValueHelp ValueHelp} element showing a popover.
|
|
37
39
|
* @extends sap.ui.mdc.valuehelp.base.Container
|
|
38
|
-
* @version 1.
|
|
40
|
+
* @version 1.136.0
|
|
39
41
|
* @constructor
|
|
40
42
|
*
|
|
41
43
|
* @public
|
|
@@ -115,11 +117,14 @@ sap.ui.define([
|
|
|
115
117
|
const oPopover = this.getAggregation("_container");
|
|
116
118
|
|
|
117
119
|
if (!oPopover) {
|
|
118
|
-
if (
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
if (!this._oGetContainerControlPromise) {
|
|
121
|
+
if (Device.system.phone) {
|
|
122
|
+
this._oGetContainerControlPromise = _getContainerControlPhone.call(this);
|
|
123
|
+
} else {
|
|
124
|
+
this._oGetContainerControlPromise = _getContainerControlDesktop.call(this);
|
|
125
|
+
}
|
|
122
126
|
}
|
|
127
|
+
return this._oGetContainerControlPromise;
|
|
123
128
|
}
|
|
124
129
|
|
|
125
130
|
let oValueHelpHeader;
|
|
@@ -194,6 +199,11 @@ sap.ui.define([
|
|
|
194
199
|
"sap/ui/core/InvisibleText",
|
|
195
200
|
"sap/ui/core/Lib"
|
|
196
201
|
]).then((aLoaded) => {
|
|
202
|
+
|
|
203
|
+
if (this.isDestroyStarted()) {
|
|
204
|
+
return null;
|
|
205
|
+
}
|
|
206
|
+
|
|
197
207
|
let MPopover, MLibrary, ValueStateHeader, InvisibleText, Library;
|
|
198
208
|
[MPopover, MLibrary, Toolbar, ToolbarSpacer, ValueStateHeader, InvisibleText, Library] = aLoaded;
|
|
199
209
|
|
|
@@ -281,8 +291,14 @@ sap.ui.define([
|
|
|
281
291
|
"sap/ui/model/ParseException",
|
|
282
292
|
"sap/ui/mdc/field/ConditionType"
|
|
283
293
|
]).then((aLoaded) => {
|
|
294
|
+
|
|
295
|
+
if (this.isDestroyStarted()) {
|
|
296
|
+
return null;
|
|
297
|
+
}
|
|
298
|
+
|
|
284
299
|
let Dialog, Input, Button, ToggleButton, Bar, ScrollContainer, Title, ValueStateHeader, List, StandardListItem, MLibrary, IconPool, InvisibleText, Library, BindingMode, ParseException, ConditionType;
|
|
285
300
|
[Dialog, Input, Button, ToggleButton, Bar, ScrollContainer, Title, Toolbar, ToolbarSpacer, ValueStateHeader, List, StandardListItem, MLibrary, IconPool, InvisibleText, Library, BindingMode, FormatException, ParseException, ConditionType] = aLoaded;
|
|
301
|
+
|
|
286
302
|
const {TitleAlignment, ListMode, ListType} = MLibrary;
|
|
287
303
|
const oResourceBundleM = Library.getResourceBundleFor("sap.m");
|
|
288
304
|
const bSingleSelect = this.isSingleSelect();
|
|
@@ -570,14 +586,10 @@ sap.ui.define([
|
|
|
570
586
|
|
|
571
587
|
const oContent = this._getContent();
|
|
572
588
|
const oOpenPromise = this._retrievePromise("open");
|
|
573
|
-
Promise.resolve(oContent && oContent.onBeforeShow(true)).then(() => { // onBeforeShow should guarantee filtering is done, when we observe the table in showTypeahead
|
|
574
|
-
const oDelegate = this.getValueHelpDelegate();
|
|
589
|
+
Promise.resolve(oContent && oContent.onBeforeShow(true)).then(async () => { // onBeforeShow should guarantee filtering is done, when we observe the table in showTypeahead
|
|
575
590
|
const oValueHelp = this.getValueHelp();
|
|
576
|
-
|
|
577
|
-
return
|
|
578
|
-
// Only continue the opening process, if delegate confirms "showTypeahead" and open promise is not canceled (might happen due to focus loss in target control).
|
|
579
|
-
return bShowTypeahead && !oOpenPromise.isCanceled() ? true : Promise.reject();
|
|
580
|
-
});
|
|
591
|
+
const bShowTypeahead = bTypeahead ? await oValueHelp._requestShowContainer(this, RequestShowContainerReason.Filter) : true;
|
|
592
|
+
return bShowTypeahead && !oOpenPromise.isCanceled() ? true : Promise.reject(); // Only continue the opening process, if delegate confirms "showTypeahead" and open promise is not canceled (might happen due to focus loss in target control).
|
|
581
593
|
}).then(() => {
|
|
582
594
|
if (Device.system.phone) {
|
|
583
595
|
oPopover.open();
|
|
@@ -710,6 +722,7 @@ sap.ui.define([
|
|
|
710
722
|
|
|
711
723
|
Popover.prototype.navigateInContent = function(iStep) {
|
|
712
724
|
const oContent = this._getContent();
|
|
725
|
+
this.bindContentToContainer(oContent); // adds navigation listener
|
|
713
726
|
if (oContent) {
|
|
714
727
|
oContent.navigate(iStep);
|
|
715
728
|
}
|
|
@@ -765,6 +778,11 @@ sap.ui.define([
|
|
|
765
778
|
|
|
766
779
|
};
|
|
767
780
|
|
|
781
|
+
/**
|
|
782
|
+
* Determines if the value help should be opened when the user used the arrow keys.
|
|
783
|
+
*
|
|
784
|
+
* @returns {boolean} If <code>true</code>, the value help should open when user used the arrow keys in the connected field control
|
|
785
|
+
*/
|
|
768
786
|
Popover.prototype.shouldOpenOnNavigate = function() {
|
|
769
787
|
|
|
770
788
|
const oContent = this._getContent();
|
|
@@ -800,6 +818,16 @@ sap.ui.define([
|
|
|
800
818
|
|
|
801
819
|
};
|
|
802
820
|
|
|
821
|
+
/**
|
|
822
|
+
* Determines if the content of the container supports typeahead.
|
|
823
|
+
*
|
|
824
|
+
* <b>Note:</b> This function is used by the container and content and must not be used from outside
|
|
825
|
+
*
|
|
826
|
+
* @returns {boolean} Flag if searching is supported
|
|
827
|
+
*
|
|
828
|
+
* @private
|
|
829
|
+
* @ui5-restricted sap.ui.mdc.ValueHelp, sap.ui.mdc.valueHelp.base.Content
|
|
830
|
+
*/
|
|
803
831
|
Popover.prototype.isTypeaheadSupported = function() {
|
|
804
832
|
|
|
805
833
|
if (Device.system.phone && (this.isSingleSelect() || this.isDialog())) {
|
|
@@ -817,6 +845,9 @@ sap.ui.define([
|
|
|
817
845
|
};
|
|
818
846
|
|
|
819
847
|
Popover.prototype.exit = function() {
|
|
848
|
+
|
|
849
|
+
this._oGetContainerControlPromise = undefined;
|
|
850
|
+
|
|
820
851
|
if (this._oCurrentContent) {
|
|
821
852
|
if (!this._oCurrentContent.isDestroyed()) {
|
|
822
853
|
this._oCurrentContent.destroy();
|
|
@@ -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
|
* @param {object} [mSettings] Initial settings for the new element
|
|
27
27
|
* @class Container for the {@link sap.ui.mdc.ValueHelp ValueHelp} element.
|
|
28
28
|
* @extends sap.ui.core.Element
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.136.0
|
|
30
30
|
* @constructor
|
|
31
31
|
* @abstract
|
|
32
32
|
*
|
|
@@ -902,33 +902,18 @@ sap.ui.define([
|
|
|
902
902
|
return oContainer && oContainer.getScrollDelegate && oContainer.getScrollDelegate();
|
|
903
903
|
};
|
|
904
904
|
|
|
905
|
-
/*
|
|
906
|
-
* Determines if the value help should be opened when the user focuses the connected control.
|
|
907
|
-
*
|
|
908
|
-
* @returns {Promise<boolean>} If <code>true</code>, the value help should open when user focuses the connected field control
|
|
909
|
-
*/
|
|
910
905
|
Container.prototype.shouldOpenOnFocus = function() {
|
|
911
906
|
const oDelegate = this.getValueHelpDelegate();
|
|
912
907
|
const oValueHelp = this.getValueHelp();
|
|
913
908
|
return oDelegate ? oDelegate.shouldOpenOnFocus(oValueHelp, this) : Promise.resolve(false);
|
|
914
909
|
};
|
|
915
910
|
|
|
916
|
-
/*
|
|
917
|
-
* Determines if the value help should be opened when the user clicks into the connected control.
|
|
918
|
-
*
|
|
919
|
-
* @returns {Promise<boolean>} If <code>true</code>, the value help should open when user clicks into the connected field control
|
|
920
|
-
*/
|
|
921
911
|
Container.prototype.shouldOpenOnClick = function() {
|
|
922
912
|
const oDelegate = this.getValueHelpDelegate();
|
|
923
913
|
const oValueHelp = this.getValueHelp();
|
|
924
914
|
return oDelegate ? oDelegate.shouldOpenOnClick(oValueHelp, this) : Promise.resolve(false);
|
|
925
915
|
};
|
|
926
916
|
|
|
927
|
-
/*
|
|
928
|
-
* Determines if the value help should be opened when the user used the arrow keys.
|
|
929
|
-
*
|
|
930
|
-
* @returns {boolean} If <code>true</code>, the value help should open when user used the arrow keys in the connected field control
|
|
931
|
-
*/
|
|
932
917
|
Container.prototype.shouldOpenOnNavigate = function() {
|
|
933
918
|
return false;
|
|
934
919
|
};
|
|
@@ -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
|
|
|
@@ -12,7 +12,8 @@ sap.ui.define([
|
|
|
12
12
|
'sap/ui/mdc/condition/FilterOperatorUtil',
|
|
13
13
|
'sap/ui/mdc/enums/ConditionValidated',
|
|
14
14
|
'sap/ui/mdc/enums/OperatorValueType',
|
|
15
|
-
'sap/base/strings/formatMessage'
|
|
15
|
+
'sap/base/strings/formatMessage',
|
|
16
|
+
'sap/ui/mdc/enums/RequestShowContainerReason'
|
|
16
17
|
], (
|
|
17
18
|
Element,
|
|
18
19
|
PromiseMixin,
|
|
@@ -21,7 +22,8 @@ sap.ui.define([
|
|
|
21
22
|
FilterOperatorUtil,
|
|
22
23
|
ConditionValidated,
|
|
23
24
|
OperatorValueType,
|
|
24
|
-
formatMessage
|
|
25
|
+
formatMessage,
|
|
26
|
+
RequestShowContainerReason
|
|
25
27
|
) => {
|
|
26
28
|
"use strict";
|
|
27
29
|
|
|
@@ -34,7 +36,7 @@ sap.ui.define([
|
|
|
34
36
|
* @param {object} [mSettings] Initial settings for the new element
|
|
35
37
|
* @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element.
|
|
36
38
|
* @extends sap.ui.core.Element
|
|
37
|
-
* @version 1.
|
|
39
|
+
* @version 1.136.0
|
|
38
40
|
* @constructor
|
|
39
41
|
* @abstract
|
|
40
42
|
*
|
|
@@ -439,18 +441,16 @@ sap.ui.define([
|
|
|
439
441
|
* @param {object} oChanges Change
|
|
440
442
|
* @protected
|
|
441
443
|
*/
|
|
442
|
-
Content.prototype.handleFilterValueUpdate = function(oChanges) {
|
|
444
|
+
Content.prototype.handleFilterValueUpdate = async function(oChanges) {
|
|
443
445
|
if (this.isContainerOpen() && this.isTypeahead()) {
|
|
444
|
-
const oDelegate = this.getValueHelpDelegate();
|
|
445
446
|
const oValueHelp = this.getValueHelpInstance();
|
|
446
447
|
|
|
447
448
|
// Everytime the filterValue changes, we consult the delegate again to decide if the typeahead should still be shown or hidden via a cancel event
|
|
448
449
|
// Please also see the default implementation of sap.ui.mdc.ValueHelpDelegate.showTypeahead
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
});
|
|
450
|
+
const bCancelOpen = !await oValueHelp._requestShowContainer(this.getParent(), RequestShowContainerReason.Filter);
|
|
451
|
+
if (bCancelOpen) {
|
|
452
|
+
this.fireCancel();
|
|
453
|
+
}
|
|
454
454
|
}
|
|
455
455
|
};
|
|
456
456
|
|
|
@@ -695,23 +695,11 @@ sap.ui.define([
|
|
|
695
695
|
return this.getMaxConditions() === 1;
|
|
696
696
|
};
|
|
697
697
|
|
|
698
|
-
/*
|
|
699
|
-
* Determines if the value help should be opened when the user clicks into the connected control.
|
|
700
|
-
*
|
|
701
|
-
* @returns {boolean} If <code>true</code>, the value help should open when user clicks into the connected field control
|
|
702
|
-
*/
|
|
703
698
|
Content.prototype.shouldOpenOnClick = function() {
|
|
704
699
|
return false;
|
|
705
700
|
};
|
|
706
701
|
|
|
707
|
-
/*
|
|
708
|
-
* Determines if the value help should be opened when the user used the arrow keys.
|
|
709
|
-
* By default navigation on closed popover is enabled.
|
|
710
|
-
*
|
|
711
|
-
* @returns {boolean} If <code>true</code>, the value help should open when user used the arrow keys in the connected field control
|
|
712
|
-
*/
|
|
713
702
|
Content.prototype.shouldOpenOnNavigate = function() {
|
|
714
|
-
// return !this.isSingleSelect();
|
|
715
703
|
return false;
|
|
716
704
|
};
|
|
717
705
|
|
|
@@ -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([
|
|
@@ -121,7 +121,7 @@ sap.ui.define([
|
|
|
121
121
|
* @extends sap.ui.core.Control
|
|
122
122
|
*
|
|
123
123
|
* @author SAP SE
|
|
124
|
-
* @version 1.
|
|
124
|
+
* @version 1.136.0
|
|
125
125
|
*
|
|
126
126
|
* @constructor
|
|
127
127
|
* @alias sap.ui.mdc.valuehelp.base.DefineConditionPanel
|
|
@@ -336,7 +336,7 @@ sap.ui.define([
|
|
|
336
336
|
|
|
337
337
|
if (!this.getModel("$i18n")) {
|
|
338
338
|
// if ResourceModel not provided from outside create own one
|
|
339
|
-
this.setModel(new ResourceModel({ bundleName: "sap/ui/mdc/messagebundle", async:
|
|
339
|
+
this.setModel(new ResourceModel({ bundleName: "sap/ui/mdc/messagebundle", async: true}), "$i18n");
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
if (this.getConditions().length === 0 && !this._sConditionsTimer) {
|
|
@@ -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
|
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @param {object} [mSettings] Initial settings for the new control
|
|
21
21
|
* @class Content for the <code>sap.ui.mdc.valuehelp.content.Dialog</code> element.
|
|
22
22
|
* @extends sap.ui.core.Control
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.136.0
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
26
26
|
* @ui5-restricted sap.ui.mdc
|
|
@@ -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
|
|
|
@@ -44,7 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
* @param {object} [mSettings] Initial settings for the new element
|
|
45
45
|
* @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element.
|
|
46
46
|
* @extends sap.ui.mdc.valuehelp.base.ListContent
|
|
47
|
-
* @version 1.
|
|
47
|
+
* @version 1.136.0
|
|
48
48
|
* @constructor
|
|
49
49
|
* @abstract
|
|
50
50
|
* @public
|
|
@@ -160,9 +160,9 @@ sap.ui.define([
|
|
|
160
160
|
|
|
161
161
|
FilterableListContent.prototype.handleFilterValueUpdate = function(oChanges) {
|
|
162
162
|
if ((this.isContainerOpening() || this.isContainerOpen()) && this._bContentBound) {
|
|
163
|
-
Promise.resolve(this.applyFilters()).finally(
|
|
164
|
-
ListContent.prototype.handleFilterValueUpdate.
|
|
165
|
-
}
|
|
163
|
+
Promise.resolve(this.applyFilters()).finally(() => {
|
|
164
|
+
ListContent.prototype.handleFilterValueUpdate.call(this, oChanges);
|
|
165
|
+
});
|
|
166
166
|
}
|
|
167
167
|
};
|
|
168
168
|
|
|
@@ -302,7 +302,7 @@ sap.ui.define([
|
|
|
302
302
|
return loadModules([
|
|
303
303
|
"sap/ui/mdc/FilterField"
|
|
304
304
|
]).then((aModules) => {
|
|
305
|
-
if (!oFilterBar.isDestroyed()) {
|
|
305
|
+
if (!this.isDestroyStarted() && !oFilterBar.isDestroyed()) {
|
|
306
306
|
const FilterField = aModules[0];
|
|
307
307
|
this._oSearchField = new FilterField(this.getId() + "-search", {
|
|
308
308
|
conditions: "{$filters>/conditions/" + sSearchPath + "}",
|
|
@@ -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
|
* @param {object} [mSettings] Initial settings for the new element
|
|
22
22
|
* @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element.
|
|
23
23
|
* @extends sap.ui.mdc.valuehelp.base.Content
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.136.0
|
|
25
25
|
* @constructor
|
|
26
26
|
* @abstract
|
|
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
|
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @param {object} [mSettings] Initial settings for the new element
|
|
21
21
|
* @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element to provide a value help for boolean fields.
|
|
22
22
|
* @extends sap.ui.mdc.valuehelp.content.FixedList
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.136.0
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
26
26
|
* @ui5-restricted sap.ui.mdc
|
|
@@ -66,6 +66,11 @@ sap.ui.define([
|
|
|
66
66
|
return loadModules([
|
|
67
67
|
"sap/ui/mdc/valuehelp/content/FixedListItem", "sap/ui/model/json/JSONModel"
|
|
68
68
|
]).then(function(aModules) {
|
|
69
|
+
|
|
70
|
+
if (this.isDestroyStarted()) {
|
|
71
|
+
return null;
|
|
72
|
+
}
|
|
73
|
+
|
|
69
74
|
const FixedListItem = aModules[0];
|
|
70
75
|
const JSONModel = aModules[1];
|
|
71
76
|
this._oModel = new JSONModel({
|
|
@@ -130,6 +135,11 @@ sap.ui.define([
|
|
|
130
135
|
|
|
131
136
|
};
|
|
132
137
|
|
|
138
|
+
/**
|
|
139
|
+
* Determines if the value help should be opened when the user clicks into the connected control.
|
|
140
|
+
*
|
|
141
|
+
* @returns {boolean} If <code>true</code>, the value help should open when user clicks into the connected field control
|
|
142
|
+
*/
|
|
133
143
|
Bool.prototype.shouldOpenOnClick = function() {
|
|
134
144
|
|
|
135
145
|
return 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
|
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @param {object} [mSettings] Initial settings for the new element
|
|
28
28
|
* @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element showing a condition panel.
|
|
29
29
|
* @extends sap.ui.mdc.valuehelp.base.Content
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.136.0
|
|
31
31
|
* @constructor
|
|
32
32
|
* @public
|
|
33
33
|
* @since 1.95.0
|
|
@@ -122,6 +122,11 @@ sap.ui.define([
|
|
|
122
122
|
aModules.push("sap/m/ScrollContainer");
|
|
123
123
|
}
|
|
124
124
|
return loadModules(aModules).then((aModules) => {
|
|
125
|
+
|
|
126
|
+
if (this.isDestroyStarted()) {
|
|
127
|
+
return null;
|
|
128
|
+
}
|
|
129
|
+
|
|
125
130
|
const DefineConditionPanel = aModules[0];
|
|
126
131
|
const ManagedObjectModel = aModules[1];
|
|
127
132
|
// FilterOperatorUtil = aModules[2];
|
|
@@ -239,6 +244,11 @@ sap.ui.define([
|
|
|
239
244
|
getFooter: function() {
|
|
240
245
|
return this._retrievePromise("footer", () => {
|
|
241
246
|
return loadModules(["sap/m/library", "sap/m/Button"]).then((aModules) => {
|
|
247
|
+
|
|
248
|
+
if (this.isDestroyStarted()) {
|
|
249
|
+
return null;
|
|
250
|
+
}
|
|
251
|
+
|
|
242
252
|
const oMLibrary = aModules[0];
|
|
243
253
|
const { ButtonType } = oMLibrary;
|
|
244
254
|
const Button = aModules[1];
|
|
@@ -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
|
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @param {object} [mSettings] Initial settings for the new element
|
|
33
33
|
* @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element showing a list with fixed values.
|
|
34
34
|
* @extends sap.ui.mdc.valuehelp.base.ListContent
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.136.0
|
|
36
36
|
* @constructor
|
|
37
37
|
* @public
|
|
38
38
|
* @since 1.95.0
|
|
@@ -60,7 +60,7 @@ sap.ui.define([
|
|
|
60
60
|
* For small lists, all values are meant to be shown, independent of the typing in the connected field.
|
|
61
61
|
* In this case this property must be set to <code>false</code>.
|
|
62
62
|
*
|
|
63
|
-
*
|
|
63
|
+
* By default, if not set, the list opens if the user clicks into the connected field.
|
|
64
64
|
*/
|
|
65
65
|
filterList: {
|
|
66
66
|
type: "boolean",
|
|
@@ -123,6 +123,11 @@ sap.ui.define([
|
|
|
123
123
|
"sap/ui/model/base/ManagedObjectModel",
|
|
124
124
|
"sap/base/strings/whitespaceReplacer"
|
|
125
125
|
]).then((aModules) => {
|
|
126
|
+
|
|
127
|
+
if (this.isDestroyStarted()) {
|
|
128
|
+
return null;
|
|
129
|
+
}
|
|
130
|
+
|
|
126
131
|
const List = aModules[0];
|
|
127
132
|
const DisplayListItem = aModules[1];
|
|
128
133
|
const mLibrary = aModules[2];
|
|
@@ -634,6 +639,11 @@ sap.ui.define([
|
|
|
634
639
|
|
|
635
640
|
};
|
|
636
641
|
|
|
642
|
+
/**
|
|
643
|
+
* Determines if the value help should be opened when the user clicks into the connected control.
|
|
644
|
+
*
|
|
645
|
+
* @returns {boolean} If <code>true</code>, the value help should open when user clicks into the connected field control
|
|
646
|
+
*/
|
|
637
647
|
FixedList.prototype.shouldOpenOnClick = function() {
|
|
638
648
|
|
|
639
649
|
return !this.getFilterList(); // TODO: own property, maybe general at content?
|
|
@@ -652,12 +662,6 @@ sap.ui.define([
|
|
|
652
662
|
|
|
653
663
|
};
|
|
654
664
|
|
|
655
|
-
FixedList.prototype.shouldOpenOnNavigate = function() {
|
|
656
|
-
|
|
657
|
-
return !ListContent.prototype.isSingleSelect.apply(this);
|
|
658
|
-
|
|
659
|
-
};
|
|
660
|
-
|
|
661
665
|
FixedList.prototype.isNavigationEnabled = function(iStep) {
|
|
662
666
|
|
|
663
667
|
return this.getItems().length > 0; // always enabled if items
|
|
@@ -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
|
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
* @extends sap.ui.core.ListItem
|
|
24
24
|
*
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.136.0
|
|
27
27
|
*
|
|
28
28
|
* @public
|
|
29
29
|
* @since 1.114.0
|
|
@@ -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
|
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* @param {object} [mSettings] Initial settings for the new element
|
|
43
43
|
* @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element using a {@link sap.ui.mdc.Table}.
|
|
44
44
|
* @extends sap.ui.mdc.valuehelp.base.FilterableListContent
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.136.0
|
|
46
46
|
* @constructor
|
|
47
47
|
* @public
|
|
48
48
|
* @since 1.95.0
|
|
@@ -220,6 +220,10 @@ sap.ui.define([
|
|
|
220
220
|
"sap/ui/layout/FixFlex", "sap/m/VBox", "sap/m/ScrollContainer"
|
|
221
221
|
]).then((aModules) => {
|
|
222
222
|
|
|
223
|
+
if (this.isDestroyStarted()) {
|
|
224
|
+
return null;
|
|
225
|
+
}
|
|
226
|
+
|
|
223
227
|
const FixFlex = aModules[0];
|
|
224
228
|
const VBox = aModules[1];
|
|
225
229
|
const ScrollContainer = aModules[2];
|