@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
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
sap.ui.define([
|
|
8
|
+
"sap/m/p13n/SelectionController",
|
|
9
|
+
"sap/ui/mdc/enums/TableType",
|
|
10
|
+
'sap/m/p13n/modules/xConfigAPI',
|
|
11
|
+
"sap/base/util/merge"
|
|
12
|
+
], (BaseController, TableType, xConfigAPI, merge) => {
|
|
13
|
+
"use strict";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Constructor for a new <code>ColumnFreezeController</code>.
|
|
17
|
+
* This controller can be registered using the <code>sap.m.p13n.Engine</code> to persist changes of the number of fixed columns.
|
|
18
|
+
*
|
|
19
|
+
* @class
|
|
20
|
+
* The <code>ColumnFreezeController</code> entity serves to create table-specific fixed columns personalization changes.
|
|
21
|
+
*
|
|
22
|
+
* @extends sap.ui.mdc.p13n.subcontroller.SelectionController
|
|
23
|
+
*
|
|
24
|
+
* @author SAP SE
|
|
25
|
+
* @version 1.136.0
|
|
26
|
+
*
|
|
27
|
+
* @private
|
|
28
|
+
* @alias sap.ui.mdc.p13n.subcontroller.ColumnFreezeController
|
|
29
|
+
*/
|
|
30
|
+
const ColumnFreezeController = BaseController.extend("sap.ui.mdc.p13n.subcontroller.ColumnFreezeController", {
|
|
31
|
+
constructor: function(mSettings) {
|
|
32
|
+
BaseController.apply(this, arguments);
|
|
33
|
+
if (!mSettings.control._isOfType(TableType.Table, true)) {
|
|
34
|
+
throw new Error("ColumnFreezeController is only applicable to GridTable");
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Returns the state key for external state representation.
|
|
41
|
+
* @returns {string} The external state key
|
|
42
|
+
*
|
|
43
|
+
* @private
|
|
44
|
+
* @ui5-restricted sap.m.p13n, sap.ui.mdc
|
|
45
|
+
*/
|
|
46
|
+
ColumnFreezeController.prototype.getStateKey = function() {
|
|
47
|
+
return "supplementaryConfig";
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Returns the available change types for change creation.
|
|
52
|
+
* @returns {object} An object of available change operations
|
|
53
|
+
*
|
|
54
|
+
* @private
|
|
55
|
+
* @ui5-restricted sap.m.p13n, sap.ui.mdc
|
|
56
|
+
*/
|
|
57
|
+
ColumnFreezeController.prototype.getChangeOperations = function() {
|
|
58
|
+
return {
|
|
59
|
+
set: "setFixedColumnCount"
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Returns the current state of the controller.
|
|
65
|
+
* @returns {object} The current state
|
|
66
|
+
*
|
|
67
|
+
* @private
|
|
68
|
+
* @ui5-restricted sap.m.p13n, sap.ui.mdc
|
|
69
|
+
*/
|
|
70
|
+
ColumnFreezeController.prototype.getCurrentState = function() {
|
|
71
|
+
const vState = this.getAdaptationControl().getCurrentState().xConfig;
|
|
72
|
+
if (vState.aggregations?.type?.GridTable) {
|
|
73
|
+
return {
|
|
74
|
+
aggregations: {
|
|
75
|
+
type: {
|
|
76
|
+
GridTable: {
|
|
77
|
+
fixedColumnCount: vState.aggregations.type.GridTable.fixedColumnCount
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
return {};
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
ColumnFreezeController.prototype.formatToInternalState = function(oExternalState) {
|
|
87
|
+
if (oExternalState?.aggregations?.type?.GridTable) {
|
|
88
|
+
return {
|
|
89
|
+
aggregations: {
|
|
90
|
+
type: oExternalState.aggregations.type
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
return {};
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Transforms an array of show details changes to the state object representation
|
|
99
|
+
*
|
|
100
|
+
* @private
|
|
101
|
+
* @ui5-restricted sap.m.p13n
|
|
102
|
+
* @param {object[]} aChanges An array of show details changes
|
|
103
|
+
* @returns {object} The show details state
|
|
104
|
+
*/
|
|
105
|
+
ColumnFreezeController.prototype.changesToState = function(aChanges) {
|
|
106
|
+
let oState = {};
|
|
107
|
+
const oControl = aChanges.length && aChanges[0].selectorElement;
|
|
108
|
+
|
|
109
|
+
aChanges.forEach((oChange) => {
|
|
110
|
+
const oChangeContent = merge({}, oChange.changeSpecificData.content);
|
|
111
|
+
const oXSettings = {
|
|
112
|
+
name: oChangeContent.name,
|
|
113
|
+
controlMeta: {
|
|
114
|
+
aggregation: "type"
|
|
115
|
+
},
|
|
116
|
+
property: "fixedColumnCount",
|
|
117
|
+
value: oChangeContent.value
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
oState = xConfigAPI.createAggregationConfig(oControl, oXSettings, oState);
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
return oState;
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
ColumnFreezeController.prototype.sanityCheck = function(oState) {
|
|
127
|
+
const aState = [];
|
|
128
|
+
if (oState?.aggregations?.type?.GridTable) {
|
|
129
|
+
aState.push({
|
|
130
|
+
name: "GridTable",
|
|
131
|
+
fixedColumnCount: oState.aggregations.type.GridTable.fixedColumnCount
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
return aState;
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Calculates the delta between the current state and the changed state.
|
|
139
|
+
*
|
|
140
|
+
* @param {object} mDeltaInfo An object containing information about two states to compare
|
|
141
|
+
* @param {array} mDeltaInfo.existingState An array describing the control state before a adaptation
|
|
142
|
+
* @param {array} mDeltaInfo.changedState An array describing the control state after a certain adaptation
|
|
143
|
+
* @param {object} mDeltaInfo.control Control instance which is being used to generate the changes
|
|
144
|
+
* @param {object} mDeltaInfo.changeOperations Map containing the changeOperations for the given Control instance
|
|
145
|
+
* @returns {object[]} An array of column width changes
|
|
146
|
+
*
|
|
147
|
+
* @private
|
|
148
|
+
* @ui5-restricted sap.m.p13n, sap.ui.mdc
|
|
149
|
+
*/
|
|
150
|
+
ColumnFreezeController.prototype.getDelta = function(mDeltaInfo) {
|
|
151
|
+
mDeltaInfo.changedState = mDeltaInfo.changedState instanceof Array ? mDeltaInfo.changedState : this.sanityCheck(mDeltaInfo.changedState);
|
|
152
|
+
mDeltaInfo.deltaAttribute = "fixedColumnCount";
|
|
153
|
+
mDeltaInfo.operation = "setFixedColumnCount";
|
|
154
|
+
mDeltaInfo.existingState = this.sanityCheck(mDeltaInfo.existingState);
|
|
155
|
+
|
|
156
|
+
return this.getPropertySetterChanges(mDeltaInfo);
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
return ColumnFreezeController;
|
|
160
|
+
|
|
161
|
+
});
|
|
@@ -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
|
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
* @extends sap.ui.mdc.p13n.subcontroller.SelectionController
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.136.0
|
|
26
26
|
*
|
|
27
27
|
* @private
|
|
28
28
|
* @alias sap.ui.mdc.p13n.subcontroller.ShowDetailsController
|
|
@@ -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
|
|
|
@@ -15,7 +15,8 @@ sap.ui.define([
|
|
|
15
15
|
"sap/ui/model/base/ManagedObjectModel",
|
|
16
16
|
"sap/ui/model/BindingMode",
|
|
17
17
|
"sap/ui/core/Control",
|
|
18
|
-
"sap/ui/mdc/enums/TableType"
|
|
18
|
+
"sap/ui/mdc/enums/TableType",
|
|
19
|
+
"sap/m/plugins/PluginBase"
|
|
19
20
|
], (
|
|
20
21
|
GridTableType,
|
|
21
22
|
ResponsiveTableType,
|
|
@@ -27,7 +28,8 @@ sap.ui.define([
|
|
|
27
28
|
ManagedObjectModel,
|
|
28
29
|
BindingMode,
|
|
29
30
|
Control,
|
|
30
|
-
TableType
|
|
31
|
+
TableType,
|
|
32
|
+
PluginBase
|
|
31
33
|
) => {
|
|
32
34
|
"use strict";
|
|
33
35
|
|
|
@@ -209,6 +211,11 @@ sap.ui.define([
|
|
|
209
211
|
p13nWidth: null
|
|
210
212
|
});
|
|
211
213
|
this._oManagedObjectModel.setDefaultBindingMode(BindingMode.OneWay);
|
|
214
|
+
this._oInnerColumnReady = Promise.withResolvers();
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
Column.prototype.getColumnAIActionPluginOwner = function() {
|
|
218
|
+
return this._oInnerColumn || this._oInnerColumnReady.promise;
|
|
212
219
|
};
|
|
213
220
|
|
|
214
221
|
Column.prototype.getInnerColumn = function() {
|
|
@@ -312,6 +319,7 @@ sap.ui.define([
|
|
|
312
319
|
oColumn.setModel(this._oSettingsModel, "$columnSettings");
|
|
313
320
|
oColumn.setHeaderMenu(oTable.getId() + "-columnHeaderMenu");
|
|
314
321
|
|
|
322
|
+
this._oInnerColumnReady.resolve();
|
|
315
323
|
return oColumn;
|
|
316
324
|
};
|
|
317
325
|
|
|
@@ -485,6 +493,10 @@ sap.ui.define([
|
|
|
485
493
|
this._connectToTable();
|
|
486
494
|
};
|
|
487
495
|
|
|
496
|
+
Column.prototype._getAIAction = function() {
|
|
497
|
+
return PluginBase.getPlugin(this, "sap.m.plugins.ColumnAIAction");
|
|
498
|
+
};
|
|
499
|
+
|
|
488
500
|
Column.prototype._connectToTable = function() {
|
|
489
501
|
const oTable = this.getTable();
|
|
490
502
|
|
|
@@ -492,11 +504,13 @@ sap.ui.define([
|
|
|
492
504
|
return;
|
|
493
505
|
}
|
|
494
506
|
|
|
507
|
+
this._getAIAction()?.setEnabled(true);
|
|
495
508
|
this._calculateColumnWidth();
|
|
496
509
|
this._readP13nValues();
|
|
497
510
|
};
|
|
498
511
|
|
|
499
|
-
Column.prototype._disconnectFromTable = function(
|
|
512
|
+
Column.prototype._disconnectFromTable = function() {
|
|
513
|
+
this._getAIAction()?.setEnabled(false);
|
|
500
514
|
this._oInnerColumn?.destroy();
|
|
501
515
|
delete this._oInnerColumn;
|
|
502
516
|
};
|
|
@@ -526,7 +540,7 @@ sap.ui.define([
|
|
|
526
540
|
Column.prototype._readP13nValues = function() {
|
|
527
541
|
const oTable = this.getTable();
|
|
528
542
|
const sPropertyKey = this.getPropertyKey();
|
|
529
|
-
const oXConfig = oTable.
|
|
543
|
+
const oXConfig = oTable._getXConfig();
|
|
530
544
|
const oColumnConfig = oXConfig?.aggregations?.columns?.[sPropertyKey];
|
|
531
545
|
|
|
532
546
|
this._oSettingsModel.setProperty("/p13nWidth", oColumnConfig?.width);
|
|
@@ -539,7 +553,7 @@ sap.ui.define([
|
|
|
539
553
|
|
|
540
554
|
Column.prototype.exit = function() {
|
|
541
555
|
this._disconnectFromTable();
|
|
542
|
-
|
|
556
|
+
this._oInnerColumnReady = null;
|
|
543
557
|
[
|
|
544
558
|
"_oManagedObjectModel",
|
|
545
559
|
"_oSettingsModel",
|
|
@@ -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
|
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
*
|
|
18
18
|
* @class The table type info class for the metadata-driven table.
|
|
19
19
|
* @extends sap.ui.core.Element
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.136.0
|
|
21
21
|
* @author SAP SE
|
|
22
22
|
* @constructor
|
|
23
23
|
* @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
|
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* {@link sap.ui.mdc.table.Column#getCreationTemplate creationTemplate} aggregation of the {@link sap.ui.mdc.table.Column}.
|
|
20
20
|
* @extends sap.ui.core.Element
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.136.0
|
|
23
23
|
* @constructor
|
|
24
24
|
* @private
|
|
25
25
|
* @ui5-restricted sap.fe
|
|
@@ -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(["sap/ui/core/dnd/DragDropBase",
|
|
|
23
23
|
*
|
|
24
24
|
* @extends sap.ui.core.dnd.DragDropBase
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.136.0
|
|
27
27
|
*
|
|
28
28
|
* @public
|
|
29
29
|
* @since 1.119
|
|
@@ -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
|
|
|
@@ -9,12 +9,16 @@ sap.ui.define([
|
|
|
9
9
|
"./menu/GroupHeaderRowContextMenu",
|
|
10
10
|
"../enums/TableRowCountMode",
|
|
11
11
|
"sap/m/table/Util",
|
|
12
|
+
"./utils/Personalization",
|
|
13
|
+
"sap/ui/model/json/JSONModel",
|
|
12
14
|
"sap/ui/core/Lib"
|
|
13
15
|
], (
|
|
14
16
|
TableTypeBase,
|
|
15
17
|
GroupHeaderRowContextMenu,
|
|
16
18
|
TableRowCountMode,
|
|
17
19
|
MTableUtil,
|
|
20
|
+
PersonalizationUtils,
|
|
21
|
+
JSONModel,
|
|
18
22
|
Library
|
|
19
23
|
) => {
|
|
20
24
|
"use strict";
|
|
@@ -83,6 +87,16 @@ sap.ui.define([
|
|
|
83
87
|
group: "Appearance",
|
|
84
88
|
defaultValue: true
|
|
85
89
|
},
|
|
90
|
+
/**
|
|
91
|
+
* Determines whether the number of fixed columns is configurable via the column menu.
|
|
92
|
+
*
|
|
93
|
+
* @since 1.136
|
|
94
|
+
*/
|
|
95
|
+
enableColumnFreeze: {
|
|
96
|
+
type: "boolean",
|
|
97
|
+
group: "Behavior",
|
|
98
|
+
defaultValue: false
|
|
99
|
+
},
|
|
86
100
|
/**
|
|
87
101
|
* Defines the number of fixed columns.
|
|
88
102
|
*/
|
|
@@ -252,7 +266,21 @@ sap.ui.define([
|
|
|
252
266
|
return mSelectionBehaviorMap[sSelectionMode]; // Default is "RowSelector"
|
|
253
267
|
}
|
|
254
268
|
},
|
|
255
|
-
|
|
269
|
+
enableColumnFreeze: "{$sap.ui.mdc.Table#type>/enableColumnFreeze}",
|
|
270
|
+
fixedColumnCount: {
|
|
271
|
+
parts: [
|
|
272
|
+
{ path: "$sap.ui.mdc.Table#type>/fixedColumnCount" }, { path: "$typeSettings>/p13nFixedColumnCount" }
|
|
273
|
+
],
|
|
274
|
+
formatter: function(iFixedColumnCount, iP13nFixedColumnCount) {
|
|
275
|
+
return iP13nFixedColumnCount ?? iFixedColumnCount;
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
models: {
|
|
279
|
+
$typeSettings: new JSONModel({
|
|
280
|
+
p13nFixedColumnCount: null
|
|
281
|
+
})
|
|
282
|
+
},
|
|
283
|
+
columnFreeze: [onColumnFreeze, this],
|
|
256
284
|
beforeOpenContextMenu: [onBeforeOpenContextMenu, this]
|
|
257
285
|
};
|
|
258
286
|
|
|
@@ -333,6 +361,15 @@ sap.ui.define([
|
|
|
333
361
|
});
|
|
334
362
|
}
|
|
335
363
|
|
|
364
|
+
async function onColumnFreeze(oEvent) {
|
|
365
|
+
const oTable = this.getTable();
|
|
366
|
+
|
|
367
|
+
await Promise.resolve(); // Make asynchronous to ensure that the inner table property value is set
|
|
368
|
+
PersonalizationUtils.createFixedColumnCountChange(oTable, {
|
|
369
|
+
fixedColumnCount: this.getInnerTable().getFixedColumnCount()
|
|
370
|
+
});
|
|
371
|
+
}
|
|
372
|
+
|
|
336
373
|
GridTableType.prototype.updateRowSettings = function() {
|
|
337
374
|
const oGridTable = this.getInnerTable();
|
|
338
375
|
|
|
@@ -531,5 +568,30 @@ sap.ui.define([
|
|
|
531
568
|
return this;
|
|
532
569
|
};
|
|
533
570
|
|
|
571
|
+
GridTableType.prototype.setEnableColumnFreeze = function(bEnableColumnFreeze) {
|
|
572
|
+
if (this.getEnableColumnFreeze() !== bEnableColumnFreeze) {
|
|
573
|
+
this.setProperty("enableColumnFreeze", bEnableColumnFreeze, true);
|
|
574
|
+
this.getTable()?._updateAdaptation();
|
|
575
|
+
}
|
|
576
|
+
return this;
|
|
577
|
+
};
|
|
578
|
+
|
|
579
|
+
GridTableType.prototype.onModifications = function() {
|
|
580
|
+
const oTable = this.getTable();
|
|
581
|
+
const oGridTable = this.getInnerTable();
|
|
582
|
+
const oState = oTable._getXConfig();
|
|
583
|
+
const oTypeState = oState?.aggregations?.type;
|
|
584
|
+
|
|
585
|
+
oGridTable.getModel("$typeSettings").setProperty("/p13nFixedColumnCount", oTypeState?.GridTable?.fixedColumnCount ?? 0);
|
|
586
|
+
};
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* Determines whether the xConfig state should be shown.
|
|
590
|
+
* @returns {boolean} whether the xConfig state should be shown
|
|
591
|
+
*/
|
|
592
|
+
GridTableType.prototype.showXConfigState = function() {
|
|
593
|
+
return this.getEnableColumnFreeze();
|
|
594
|
+
};
|
|
595
|
+
|
|
534
596
|
return GridTableType;
|
|
535
597
|
});
|
|
@@ -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
|
* @extends sap.ui.mdc.util.PropertyHelper
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.136.0
|
|
36
36
|
*
|
|
37
37
|
* @private
|
|
38
38
|
* @since 1.83
|
|
@@ -380,7 +380,8 @@ sap.ui.define([
|
|
|
380
380
|
includeLabel: true,
|
|
381
381
|
truncateLabel: true,
|
|
382
382
|
excludeProperties: [],
|
|
383
|
-
required: oMDCColumn.getRequired()
|
|
383
|
+
required: oMDCColumn.getRequired(),
|
|
384
|
+
hasAction: Boolean(oMDCColumn._getAIAction())
|
|
384
385
|
}, oProperty.visualSettings && oProperty.visualSettings.widthCalculation);
|
|
385
386
|
|
|
386
387
|
const oMDCTable = oMDCColumn.getParent();
|
|
@@ -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
|
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
*
|
|
18
18
|
* @class The table type info class for the metadata-driven table.
|
|
19
19
|
* @extends sap.ui.mdc.table.ColumnSettings
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.136.0
|
|
21
21
|
* @author SAP SE
|
|
22
22
|
* @constructor
|
|
23
23
|
* @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
|
|
|
@@ -424,6 +424,14 @@ sap.ui.define([
|
|
|
424
424
|
return false;
|
|
425
425
|
};
|
|
426
426
|
|
|
427
|
+
ResponsiveTableType.prototype.setShowDetailsButton = function(bShowDetailsButton) {
|
|
428
|
+
if (this.getShowDetailsButton() !== bShowDetailsButton) {
|
|
429
|
+
this.setProperty("showDetailsButton", bShowDetailsButton, true);
|
|
430
|
+
this.getTable()?._updateAdaptation();
|
|
431
|
+
}
|
|
432
|
+
return this;
|
|
433
|
+
};
|
|
434
|
+
|
|
427
435
|
/**
|
|
428
436
|
* Toggles the visibility of the Show Details button.<br>
|
|
429
437
|
* If <code>bValue</code> is set to <code>true</code>, it sets the <code>hiddenInPopin</code> property on the inner <code>ResponsiveTable</code> to
|
|
@@ -645,14 +653,12 @@ sap.ui.define([
|
|
|
645
653
|
}
|
|
646
654
|
};
|
|
647
655
|
|
|
648
|
-
ResponsiveTableType.prototype.onModifications = function(
|
|
656
|
+
ResponsiveTableType.prototype.onModifications = function() {
|
|
649
657
|
const oTable = this.getTable();
|
|
650
|
-
const oState = oTable.
|
|
658
|
+
const oState = oTable._getXConfig();
|
|
651
659
|
const oTypeState = oState?.aggregations?.type;
|
|
652
660
|
|
|
653
|
-
|
|
654
|
-
this._setShowDetailsState(oTypeState?.ResponsiveTable?.showDetails ?? false, true); // Skip persistance if modified by flex
|
|
655
|
-
}
|
|
661
|
+
this._setShowDetailsState(oTypeState?.ResponsiveTable?.showDetails ?? false, true); // Skip persistance if modified by flex
|
|
656
662
|
};
|
|
657
663
|
|
|
658
664
|
/**
|
|
@@ -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
|
* The <code>RowActionItem</code> control represents a action for a row.
|
|
21
21
|
* This control can only be used in the context of <code>sap.ui.mdc.Table</code> control to define row actions.
|
|
22
22
|
* @extends sap.ui.core.Element
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.136.0
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @public
|