@sap/ux-specification 1.84.132 → 1.84.134

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.
Files changed (103) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
  3. package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
  4. package/dist/documentation/v2/v2-ListReport.html +2 -2
  5. package/dist/documentation/v2/v2-ListReportNew.html +2 -2
  6. package/dist/documentation/v2/v2-ObjectPage.html +2 -2
  7. package/dist/documentation/v2/v2-OverviewPage.html +2 -2
  8. package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
  9. package/dist/documentation/v4/v4-ListReport.html +2 -2
  10. package/dist/documentation/v4/v4-ObjectPage.html +2 -2
  11. package/dist/index-min.js +196 -191
  12. package/dist/index-min.js.map +4 -4
  13. package/dist/schemas/v2/ListReportNewConfig.json +164 -56
  14. package/dist/specification/package.json +8 -8
  15. package/dist/specification/scripts/schema/to-json-schema.d.ts.map +1 -1
  16. package/dist/specification/scripts/schema/to-json-schema.js +2 -1
  17. package/dist/specification/scripts/schema/to-json-schema.js.map +1 -1
  18. package/dist/specification/src/api.d.ts +9 -1
  19. package/dist/specification/src/api.d.ts.map +1 -1
  20. package/dist/specification/src/api.js +51 -2
  21. package/dist/specification/src/api.js.map +1 -1
  22. package/dist/specification/src/ftfs/ftfs.d.ts +8 -0
  23. package/dist/specification/src/ftfs/ftfs.d.ts.map +1 -1
  24. package/dist/specification/src/ftfs/ftfs.js +1 -0
  25. package/dist/specification/src/ftfs/ftfs.js.map +1 -1
  26. package/dist/specification/src/ftfs/index.d.ts +1 -1
  27. package/dist/specification/src/ftfs/index.d.ts.map +1 -1
  28. package/dist/specification/src/ftfs/index.js +2 -1
  29. package/dist/specification/src/ftfs/index.js.map +1 -1
  30. package/dist/specification/src/sync/common/decoration/control.d.ts +4 -2
  31. package/dist/specification/src/sync/common/decoration/control.d.ts.map +1 -1
  32. package/dist/specification/src/sync/common/decoration/control.js +4 -2
  33. package/dist/specification/src/sync/common/decoration/control.js.map +1 -1
  34. package/dist/specification/src/sync/common/generate/objectPage.js +2 -2
  35. package/dist/specification/src/sync/common/i18n.json +18 -0
  36. package/dist/specification/src/sync/common/utils.d.ts +2 -2
  37. package/dist/specification/src/sync/common/utils.js +3 -3
  38. package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts +5 -5
  39. package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts.map +1 -1
  40. package/dist/specification/src/sync/v2/export/controls/Fragment.js +57 -33
  41. package/dist/specification/src/sync/v2/export/controls/Fragment.js.map +1 -1
  42. package/dist/specification/src/sync/v2/export/export.d.ts.map +1 -1
  43. package/dist/specification/src/sync/v2/export/export.js +6 -4
  44. package/dist/specification/src/sync/v2/export/export.js.map +1 -1
  45. package/dist/specification/src/sync/v2/export/exportPage.d.ts +2 -1
  46. package/dist/specification/src/sync/v2/export/exportPage.d.ts.map +1 -1
  47. package/dist/specification/src/sync/v2/export/exportPage.js +54 -21
  48. package/dist/specification/src/sync/v2/export/exportPage.js.map +1 -1
  49. package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts +2 -0
  50. package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts.map +1 -1
  51. package/dist/specification/src/sync/v2/export/exportPageGeneric.js +17 -6
  52. package/dist/specification/src/sync/v2/export/exportPageGeneric.js.map +1 -1
  53. package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts +70 -18
  54. package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts.map +1 -1
  55. package/dist/specification/src/sync/v2/export/view-controller-generator.js +123 -25
  56. package/dist/specification/src/sync/v2/export/view-controller-generator.js.map +1 -1
  57. package/dist/specification/src/sync/v2/generate/objectPage.js +4 -4
  58. package/dist/specification/src/sync/v2/generate/schemaAdaptation.js +2 -2
  59. package/dist/specification/src/sync/v2/generate/schemaAdaptation.js.map +1 -1
  60. package/dist/specification/src/sync/v2/generate/utils.d.ts +2 -2
  61. package/dist/specification/src/sync/v2/generate/utils.js +2 -2
  62. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/FilterBar.d.ts +0 -5
  63. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/FilterBar.d.ts.map +1 -1
  64. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/FilterBar.js +4 -35
  65. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/FilterBar.js.map +1 -1
  66. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiTable.js +3 -3
  67. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiTable.js.map +1 -1
  68. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.d.ts +56 -2
  69. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.d.ts.map +1 -1
  70. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.js +567 -3
  71. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.js.map +1 -1
  72. package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.d.ts.map +1 -1
  73. package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.js +29 -6
  74. package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.js.map +1 -1
  75. package/dist/specification/src/sync/v2/types.d.ts +2 -0
  76. package/dist/specification/src/sync/v2/types.d.ts.map +1 -1
  77. package/dist/specification/src/sync/v2/types.js.map +1 -1
  78. package/dist/specification/src/sync/v2/utils.d.ts +25 -0
  79. package/dist/specification/src/sync/v2/utils.d.ts.map +1 -1
  80. package/dist/specification/src/sync/v2/utils.js +28 -4
  81. package/dist/specification/src/sync/v2/utils.js.map +1 -1
  82. package/dist/specification/src/sync/v4/export/manifest.js +1 -1
  83. package/dist/specification/src/sync/v4/export/utils.d.ts +1 -1
  84. package/dist/specification/src/sync/v4/export/utils.js +1 -1
  85. package/dist/specification/src/sync/v4/import/app/appProvider.d.ts +1 -1
  86. package/dist/specification/src/sync/v4/import/app/appProvider.js +4 -4
  87. package/dist/specification/test/test-utils/utils.d.ts.map +1 -1
  88. package/dist/specification/test/test-utils/utils.js +4 -0
  89. package/dist/specification/test/test-utils/utils.js.map +1 -1
  90. package/dist/templates/AnalyticalTableColumnsExtension.xml +3 -3
  91. package/dist/templates/GridTableColumnsExtension.xml +3 -3
  92. package/dist/templates/ResponsiveTableColumnsExtension.xml +2 -2
  93. package/dist/templates/TreeTableColumnsExtension.xml +4 -4
  94. package/dist/templates/fragment.xml +3 -3
  95. package/dist/templates/view.xml +3 -3
  96. package/dist/types/src/apiTypes.d.ts +52 -5
  97. package/dist/types/src/apiTypes.d.ts.map +1 -1
  98. package/dist/types/src/apiTypes.js +5 -1
  99. package/dist/types/src/apiTypes.js.map +1 -1
  100. package/dist/types/src/common/types.d.ts +1 -0
  101. package/dist/types/src/common/types.d.ts.map +1 -1
  102. package/dist/types/src/common/types.js.map +1 -1
  103. package/package.json +8 -8
@@ -46,16 +46,24 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
46
46
  return (mod && mod.__esModule) ? mod : { "default": mod };
47
47
  };
48
48
  Object.defineProperty(exports, "__esModule", { value: true });
49
- exports.Table = void 0;
49
+ exports.CREATE_WITH_PARAMETER_DIALOG = exports.Table = exports.Fields4CreateWithParametersDialog = exports.CreateWithFilters = exports.DataLoadSettings = void 0;
50
50
  exports.getDefaultTableType = getDefaultTableType;
51
+ exports.getTableType = getTableType;
51
52
  exports.checkTableType = checkTableType;
53
+ exports.getManifestPathForTableSettings = getManifestPathForTableSettings;
54
+ exports.addEntityTypeFieldsAsEnum = addEntityTypeFieldsAsEnum;
52
55
  const i18next_1 = __importDefault(require("i18next"));
53
56
  const ux_specification_types_1 = require("@sap/ux-specification-types");
54
57
  const v2 = __importStar(require("@sap/ux-specification-types/src/v2/genericSchemaHandling/controls/Table"));
55
58
  const decoration_1 = require("../../../common/decoration");
56
59
  const extensionLogger_1 = require("../../../../extensionLogger");
60
+ const utils_1 = require("../../generate/utils");
57
61
  const MultiTable_1 = require("./MultiTable");
58
62
  const MultiViewSingleTable_1 = require("./MultiViewSingleTable");
63
+ const manifestPropertyUtils_1 = require("../../generate/manifestPropertyUtils");
64
+ const utils_2 = require("../../utils");
65
+ const common_1 = require("../../../common");
66
+ const Action_1 = require("./Action");
59
67
  /**
60
68
  * This function should return the information whether the given entity type is analytical.
61
69
  * Unfortunately this is currently impossible due to missing information provided by the annotation api.
@@ -67,6 +75,18 @@ const MultiViewSingleTable_1 = require("./MultiViewSingleTable");
67
75
  function isTypeAnalytical(entityTypeDefinition) {
68
76
  return false; // todo: enhance
69
77
  }
78
+ /**
79
+ * Returns the entity set applicable for the given table parameters.
80
+ *
81
+ * @param tableParams - the parameters describing the table
82
+ * @param generateParameters - the parameters used for schema generation
83
+ * @returns the entity set for the given table
84
+ */
85
+ function getEntitySet(tableParams, generateParameters) {
86
+ return tableParams.multiTableInfo?.variantInfo
87
+ ? tableParams.multiTableInfo?.variantInfo.entitySetDefinition
88
+ : generateParameters.entitySet;
89
+ }
70
90
  /**
71
91
  * Returns the default table type used for tables for the given entity type (i.e. the table type which will be used by Fiori Elements if no manifest setting for the table type is available).
72
92
  *
@@ -77,6 +97,71 @@ function getDefaultTableType(entityTypeDefinition) {
77
97
  const isAnalytical = isTypeAnalytical(entityTypeDefinition);
78
98
  return isAnalytical ? v2.TableTypeV2Enum.AnalyticalTable : v2.TableTypeV2Enum.ResponsiveTable;
79
99
  }
100
+ /**
101
+ * Returns the table type valid for the artifact described by given parameters.
102
+ *
103
+ * @param tableParams - the parameters describing the table
104
+ * @returns the table type for the given table
105
+ */
106
+ function getTableType(tableParams) {
107
+ if (tableParams.multiTableInfo?.variantInfo) {
108
+ return tableParams.multiTableInfo.variantInfo.tableType;
109
+ }
110
+ const tableSettings = tableParams.settings?.tableSettings;
111
+ const tableType = (tableSettings && tableSettings['type']) ||
112
+ tableParams.settings?.tableType ||
113
+ getDefaultTableType(tableParams.entityType);
114
+ return tableType;
115
+ }
116
+ /**
117
+ * Checks whether the table described by the given parameters is a responsive table.
118
+ *
119
+ * @param tableParams - the parameters describing the table
120
+ * @returns true if the table is a responsive table, false otherwise
121
+ */
122
+ function isResponsiveTable(tableParams) {
123
+ return getTableType(tableParams) === v2.TableTypeV2Enum.ResponsiveTable;
124
+ }
125
+ /**
126
+ * Checks whether the table described by the given parameters is a ui table.
127
+ *
128
+ * @param tableParams - the parameters describing the table
129
+ * @returns true if the table is a ui table, false otherwise
130
+ */
131
+ function isUiTable(tableParams) {
132
+ return !isResponsiveTable(tableParams) && !tableParams.multiTableInfo?.variantInfo?.isChart;
133
+ }
134
+ /**
135
+ * Get the tableSettings object from the manifest applicable to the specified table.
136
+ *
137
+ * @param tableParams - the parameters describing the table
138
+ * @returns the tableSettings or undefined if no tableSettings are applicable
139
+ */
140
+ function getTableSettings(tableParams) {
141
+ return ((tableParams.multiTableInfo?.variantInfo &&
142
+ tableParams.multiTableInfo.variantInfo.variantDefinition['tableSettings']) ||
143
+ (tableParams.settings && tableParams.settings['tableSettings']));
144
+ }
145
+ /**
146
+ * Returns whether the specified table is configured a multi-selection table.
147
+ *
148
+ * @param tableParams - the parameters describing the table
149
+ * @returns whether the table is multi-select
150
+ */
151
+ function isMultiSelect(tableParams) {
152
+ const tableSettings = getTableSettings(tableParams);
153
+ return tableSettings?.['multiSelect'] === true;
154
+ }
155
+ /**
156
+ * Checks whether the table described by the given parameters has selectAll switched on.
157
+ *
158
+ * @param tableParams - the parameters describing the table
159
+ * @returns true if the table has selectAll switched on, false otherwise
160
+ */
161
+ function isSelectAll(tableParams) {
162
+ const tableSettings = getTableSettings(tableParams);
163
+ return isMultiSelect(tableParams) && tableSettings['selectAll'] !== false; // note that tableSettings are available if isMultiSelect is true
164
+ }
80
165
  /**
81
166
  * Checks whether a given table type is valid. Thereby undefined and empty string are also considered as valid (they represent the default table type).
82
167
  *
@@ -118,16 +203,193 @@ const syncRuleForFlexSmartTable = {
118
203
  }
119
204
  }
120
205
  };
206
+ /**
207
+ * Provide the syncRule for a property with artifact type 'FlexChange' belonging to the ResponsiveTable inside the SmartTable.
208
+ *
209
+ * @param addPatternForBinding information whether the addPatternForBindingChangeOfEnumLR should be added as generate property to the sync rule
210
+ * @returns the syncRule
211
+ */
212
+ function getSyncRuleForFlexResponsiveTable(addPatternForBinding) {
213
+ const syncRule = {
214
+ flex: {
215
+ controlType: () => ux_specification_types_1.ControlType.Table,
216
+ createFlexChange: decoration_1.exportToFlexChange
217
+ },
218
+ processingRuleAdapter: function (processingRule, schemaHandlingParams) {
219
+ const tableParams = schemaHandlingParams.specificParams;
220
+ if ((!tableParams.multiTableInfo || tableParams.multiTableInfo.variantInfo) &&
221
+ isResponsiveTable(tableParams)) {
222
+ // Replicate logic from sap.suite.ui.generic.template.lib.StableIdDefinition, type: ListReport, subType: ResponsiveTable
223
+ const suffix = tableParams.multiTableInfo
224
+ ? `-${tableParams.multiTableInfo.variantInfo.variantDefinition['key']}`
225
+ : '';
226
+ processingRule.controlId = `responsiveTable${suffix}`;
227
+ }
228
+ else {
229
+ delete processingRule.element;
230
+ }
231
+ }
232
+ };
233
+ if (addPatternForBinding) {
234
+ syncRule.generate = decoration_1.addPatternForBindingChangeOfEnumLR; // add option for bindings (already executed in the generation of the generic schema)
235
+ }
236
+ return syncRule;
237
+ }
238
+ /**
239
+ * Helper functions for implementing a ProcessingRuleAdapter for a manifest-based property belonging to the tableSettings.
240
+ * Returns the manifest path for the table settings for the specified table params (which may either be global or for a specific view in a multi-table scenario).
241
+ *
242
+ * @param schemaHandlingParams - the schema handling parameters passed to the ProcessingRuleAdapter
243
+ * @param tableParams - the parameters describing the table
244
+ * @returns the manifest path to the tableSettings of the specified table
245
+ */
246
+ function getManifestPathForTableSettings(schemaHandlingParams, tableParams) {
247
+ const suffix = [];
248
+ if (tableParams.multiTableInfo?.variantInfo) {
249
+ suffix.push('quickVariantSelectionX', 'variants', tableParams.multiTableInfo.variantInfo.accessor);
250
+ }
251
+ suffix.push('tableSettings');
252
+ const manifestPath = (0, utils_2.getManifestPathToPageSettings)(schemaHandlingParams.pageInfo.pagePath, suffix);
253
+ return manifestPath;
254
+ }
255
+ /**
256
+ * This function adapts getSyncRuleForManifestProperty for properties belonging to the tableSettings of a table.
257
+ *
258
+ * @param property - the name of the property in tableSettings section of the manifest the SyncRule should be generated for
259
+ * @param getDisallowReason - optional function to determine whether the property is disallowed for the given table params
260
+ * @param adapt - an optional function that can be used to adapt the schema element representing the manifest property
261
+ * @param provideReferenceAdaptation - an optional function that can be used to provide the ReferenceAdaptationInfo for the manifest property
262
+ * @param expectedType - the expected type of the value of the property (if it is not undefined)
263
+ * @returns the SyncRule for the tableSettings property
264
+ */
265
+ function getSyncRuleForTableSettingsProperty(property, getDisallowReason, adapt, provideReferenceAdaptation, expectedType) {
266
+ // Construct the analyze function for getSyncRuleForManifestProperty
267
+ const analyze = function (element, schemaHandlingParams, generateParameters) {
268
+ const tableParams = schemaHandlingParams.specificParams;
269
+ let disallowedReason;
270
+ // If the view is a chart view we can exclude the property generically. Otherwise check with function getDisallowedReason
271
+ if (tableParams.multiTableInfo?.variantInfo?.isChart) {
272
+ disallowedReason = i18next_1.default.t('NOCHARTPROPERTY', { property: property });
273
+ }
274
+ else if (getDisallowReason) {
275
+ disallowedReason = getDisallowReason(tableParams, generateParameters, element);
276
+ }
277
+ const manifestPath = getManifestPathForTableSettings(schemaHandlingParams, tableParams);
278
+ return { manifestPath, disallowedReason };
279
+ };
280
+ // Create a getReferenceAdaptation function with the correct signature for getSyncRuleForManifestProperty
281
+ const provideReferenceAdaptationWrapper = provideReferenceAdaptation
282
+ ? function (schemaHandlingParams, generateParameters) {
283
+ const tableParams = schemaHandlingParams.specificParams;
284
+ return provideReferenceAdaptation(tableParams, generateParameters);
285
+ }
286
+ : undefined;
287
+ return (0, manifestPropertyUtils_1.getSyncRuleForManifestProperty)(property, analyze, adapt, provideReferenceAdaptationWrapper, expectedType);
288
+ }
289
+ /**
290
+ * This function provides a SyncRule for manifest properties which are only allowed on the top-level of the table definition and not on the level of views in a multi-table scenario.
291
+ * Moreover, these properties possess a parent property that is a child of the page settings (so they are no direct children of the page settings).
292
+ *
293
+ * @param property - the property name in the manifest
294
+ * @param noWorklistI18nKey - the i18n key specifying the warning message in case the property is used in a worklist scenario
295
+ * @param syncRuleProvider - the sync rule provider for the specified manifest property
296
+ * @returns the syncRule for the specified manifest property
297
+ */
298
+ function getOnlyTopLevelNotWorklistSyncRule(property, noWorklistI18nKey, syncRuleProvider) {
299
+ return {
300
+ processingRuleAdapter(processingRule, schemaHandlingParams, generateParameters) {
301
+ const tableParams = schemaHandlingParams.specificParams;
302
+ if (tableParams.multiTableInfo?.variantInfo) {
303
+ delete processingRule.element; // ignore this property on level of single views in multi-table scenario
304
+ return;
305
+ }
306
+ if (tableParams.settings?.isWorklist) {
307
+ const disallowedReason = i18next_1.default.t(noWorklistI18nKey);
308
+ const manifestPath = (0, utils_2.getManifestPathToPageSettings)(schemaHandlingParams.pageInfo.pagePath, []);
309
+ const { value } = (0, utils_2.getManifestPropertyByPath)(generateParameters.manifest, manifestPath, property);
310
+ (0, manifestPropertyUtils_1.handleDisallowedProperty)(disallowedReason, processingRule, value, manifestPath);
311
+ return;
312
+ }
313
+ processingRule.referenceAdaptation = {
314
+ syncRuleProvider: syncRuleProvider
315
+ };
316
+ }
317
+ };
318
+ }
319
+ /**
320
+ * Modifies a schema element such that the fields of the given entity type are added as enumeration values.
321
+ *
322
+ * @param element - the schema element to be modified
323
+ * @param entityTypeDefinition - the entity type hosting the fields
324
+ */
325
+ function addEntityTypeFieldsAsEnum(element, entityTypeDefinition) {
326
+ const itemsEnum = entityTypeDefinition.entityProperties.map((property) => property.name);
327
+ element.items = {
328
+ type: 'string',
329
+ enum: itemsEnum
330
+ };
331
+ }
332
+ class DataLoadSettings {
333
+ }
334
+ exports.DataLoadSettings = DataLoadSettings;
335
+ __decorate([
336
+ (0, decoration_1.descriptionSrcURL)('https://ui5.sap.com/sdk/#/topic/b736ab6ae3654789ba1f9630e5720af3?q=loadDataOnAppLaunch'),
337
+ (0, decoration_1.syncRule)({
338
+ manifest: {},
339
+ processingRuleAdapter(processingRule, schemaHandlingParams) {
340
+ const manifestPath = (0, utils_2.getManifestPathToPageSettings)(schemaHandlingParams.pageInfo.pagePath, [
341
+ 'dataLoadSettings'
342
+ ]);
343
+ processingRule.manifestPath = manifestPath;
344
+ const tableParams = schemaHandlingParams.specificParams;
345
+ if (tableParams.multiTableInfo && !tableParams.multiTableInfo.variantInfo) {
346
+ processingRule.element.description += '\n' + i18next_1.default.t('LOADDATAONAPPLAUNCHMULTITABLE'); // add information to the description providing specific information in multi-table scenarios
347
+ }
348
+ }
349
+ }),
350
+ (0, decoration_1.validity)({
351
+ since: '1.75.2'
352
+ })
353
+ ], DataLoadSettings.prototype, "loadDataOnAppLaunch", void 0);
354
+ class CreateWithFilters {
355
+ }
356
+ exports.CreateWithFilters = CreateWithFilters;
357
+ __decorate([
358
+ (0, decoration_1.descriptionSrcURL)('https://ui5.sap.com/sdk/#/topic/189e2d8a59f04a2693a4fde7f4a91a65?q=createWithFilters'),
359
+ (0, decoration_1.syncRule)({
360
+ manifest: {},
361
+ processingRuleAdapter(processingRule, schemaHandlingParams) {
362
+ const manifestPath = (0, utils_2.getManifestPathToPageSettings)(schemaHandlingParams.pageInfo.pagePath, [
363
+ 'createWithFilters'
364
+ ]);
365
+ processingRule.manifestPath = manifestPath;
366
+ }
367
+ })
368
+ ], CreateWithFilters.prototype, "strategy", void 0);
369
+ class Fields4CreateWithParametersDialog {
370
+ }
371
+ exports.Fields4CreateWithParametersDialog = Fields4CreateWithParametersDialog;
372
+ __decorate([
373
+ (0, decoration_1.validity)({
374
+ since: '1.77.0'
375
+ }),
376
+ (0, decoration_1.syncRule)({
377
+ processingRuleAdapter(processingRule, schemaHandlingParams) {
378
+ const entityTypeDefinition = schemaHandlingParams.specificParams;
379
+ addEntityTypeFieldsAsEnum(processingRule.element, entityTypeDefinition);
380
+ }
381
+ })
382
+ ], Fields4CreateWithParametersDialog.prototype, "fields", void 0);
121
383
  class Table {
122
384
  } // Table
123
385
  exports.Table = Table;
124
386
  __decorate([
125
387
  (0, decoration_1.syncRule)((0, MultiTable_1.getSyncRuleForMultiTableManifestProperty)('entitySet')),
126
- (0, decoration_1.descriptionSrcURL)('https://ui5.sap.com/sdk/#/topic/b6b59e4a4c3548cf83ff9c3b955d3ba3')
388
+ (0, decoration_1.descriptionSrcURL)('https://ui5.sap.com/sdk/#/topic/6698b80fc1a543ebb5c07e0781e9b93e')
127
389
  ], Table.prototype, "entitySet", void 0);
128
390
  __decorate([
129
391
  (0, decoration_1.syncRule)((0, MultiTable_1.getSyncRuleForMultiTableManifestProperty)('annotationPath')),
130
- (0, decoration_1.descriptionSrcURL)('https://ui5.sap.com/sdk/#/topic/37aeed74e17a42caa2cba3123f0c15fc')
392
+ (0, decoration_1.descriptionSrcURL)('https://ui5.sap.com/sdk/#/topic/97dfeea4a8c346368cea6bf7a3e85478')
131
393
  ], Table.prototype, "annotationPath", void 0);
132
394
  __decorate([
133
395
  (0, decoration_1.syncRule)((0, MultiTable_1.getSyncRuleForMultiTableManifestProperty)('showItemNavigationOnChart'))
@@ -150,4 +412,306 @@ __decorate([
150
412
  __decorate([
151
413
  (0, decoration_1.syncRule)(syncRuleForFlexSmartTable)
152
414
  ], Table.prototype, "useExportToExcel", void 0);
415
+ __decorate([
416
+ (0, decoration_1.syncRule)(getSyncRuleForFlexResponsiveTable(false))
417
+ ], Table.prototype, "growingThreshold", void 0);
418
+ __decorate([
419
+ (0, decoration_1.syncRule)(getSyncRuleForFlexResponsiveTable(true))
420
+ ], Table.prototype, "popinLayout", void 0);
421
+ __decorate([
422
+ (0, decoration_1.syncRule)(getSyncRuleForFlexResponsiveTable(false))
423
+ ], Table.prototype, "includeItemInSelection", void 0);
424
+ __decorate([
425
+ (0, decoration_1.syncRule)((0, manifestPropertyUtils_1.getSyncRuleForManifestProperty)('tableType',
426
+ // analyze:
427
+ function (element, schemaHandlingParams) {
428
+ const tableParams = schemaHandlingParams.specificParams;
429
+ const manifestPath = (0, utils_2.getManifestPathToPageSettings)(schemaHandlingParams.pageInfo.pagePath);
430
+ // Property tableType is obsolete. For views in a multi-table scenario it was even never supported.
431
+ const disallowedReason = tableParams.multiTableInfo?.variantInfo
432
+ ? manifestPropertyUtils_1.DISALLOWED_WITHOUT_EXPLANATION
433
+ : i18next_1.default.t('PROPERTYOBSOLETE', { property: 'tableType' });
434
+ return {
435
+ manifestPath,
436
+ disallowedReason
437
+ };
438
+ } // analyze
439
+ ))
440
+ ], Table.prototype, "tableType", void 0);
441
+ __decorate([
442
+ (0, decoration_1.syncRule)(getSyncRuleForTableSettingsProperty('type', undefined,
443
+ // adapt:
444
+ function (element, schemaHandlingParams) {
445
+ const tableParams = schemaHandlingParams.specificParams;
446
+ // defaultTypeForMultiView is only set when we are on variant level and the generic level explicitly sets a type
447
+ const defaultTypeForMultiView = tableParams.multiTableInfo?.variantInfo && tableParams.settings?.tableSettings
448
+ ? tableParams.settings.tableSettings['type']
449
+ : '';
450
+ if (tableParams.multiTableInfo?.variantInfo &&
451
+ tableParams.multiTableInfo.usedTableTypes.nonResponsive > 0 &&
452
+ tableParams.multiTableInfo.usedTableTypes.responsive > 0) {
453
+ // We have an illegal combination of responsive and non-responsive table types in a multi-view setting.
454
+ // We will add this as an error to all instances that defer from the default.
455
+ const defaultTableType = defaultTypeForMultiView || getDefaultTableType(tableParams.entityType);
456
+ const isDefaultResponsive = defaultTableType === v2.TableTypeV2Enum.ResponsiveTable;
457
+ if (isResponsiveTable(tableParams) !== isDefaultResponsive) {
458
+ // This is a variant which defers from the default -> consider it as being a reason for the incorrect setup
459
+ element[ux_specification_types_1.SchemaTag.messages] = [
460
+ {
461
+ text: i18next_1.default.t(isDefaultResponsive ? 'MULTITABLEONLYRESPONSIVE' : 'MULTITABLENORESPONSIVE'),
462
+ type: ux_specification_types_1.PropertyMessageType.Warning
463
+ }
464
+ ];
465
+ }
466
+ }
467
+ // The generic schema element points to TableTypeV2Enum which provides all possible table types as an enumeration.
468
+ // In the following cases we need to reduce this enumeration:
469
+ // 1. type for one view in a multi-table scenario in order to avoid combinations of responsive and non-responsive table types
470
+ // 2. Remove AnalyticalTable in case the entity type is not analytical
471
+ // As we cannot determine whether an entity type is analytical yet, we ignore the second case.
472
+ if (tableParams.multiTableInfo?.variantInfo /* || !isTypeAnalytical(tableParams.entityType) */) {
473
+ delete element.$ref; // Remove reference to TableTypeV2Enum
474
+ const enumEntries = [];
475
+ // When
476
+ // - dealing with a variant of a multi-view scenario and
477
+ // - the generic level sets a non-responsive type as default and
478
+ // - there is indeed no responsive table variant yet and
479
+ // - there is at least one other non-responsive table variant
480
+ // In this case changing the type to responsive would automatically break the app, since it creates a mixture of responsive and non-responsive tables.
481
+ // => Suppress responsive from the value-help. If the user really wants to change all variants to responsive he should first remove the explicit generic setting defaulting to non-responsive.
482
+ if (!defaultTypeForMultiView ||
483
+ defaultTypeForMultiView === v2.TableTypeV2Enum.ResponsiveTable ||
484
+ tableParams.multiTableInfo.usedTableTypes.responsive > 0 ||
485
+ tableParams.multiTableInfo.usedTableTypes.nonResponsive < 2) {
486
+ // In all other cases add 'responsive' to the value-help
487
+ enumEntries.push(v2.TableTypeV2Enum.ResponsiveTable);
488
+ }
489
+ if (defaultTypeForMultiView !== v2.TableTypeV2Enum.ResponsiveTable ||
490
+ tableParams.multiTableInfo.usedTableTypes.nonResponsive > 0 ||
491
+ tableParams.multiTableInfo.usedTableTypes.responsive < 2) {
492
+ // Same as above, interchanging the roles of responsive and non-responsive.
493
+ enumEntries.push(v2.TableTypeV2Enum.GridTable);
494
+ //if (isAnalytical(tableParams.entityType)){ // todo: activate this condition
495
+ enumEntries.push(v2.TableTypeV2Enum.AnalyticalTable);
496
+ //}
497
+ enumEntries.push(v2.TableTypeV2Enum.TreeTable);
498
+ }
499
+ (0, common_1.addEnumToSchema)(enumEntries, element);
500
+ }
501
+ }, // adapt
502
+ undefined, 'string')),
503
+ (0, decoration_1.descriptionSrcURL)('https://ui5.sap.com/sdk/#/topic/5d270547f113468e83e06dd7ee408a45')
504
+ ], Table.prototype, "type", void 0);
505
+ __decorate([
506
+ (0, decoration_1.syncRule)((0, manifestPropertyUtils_1.getSyncRuleForManifestProperty)('condensedTableLayout',
507
+ // analyze:
508
+ function (element, schemaHandlingParams) {
509
+ const tableParams = schemaHandlingParams.specificParams;
510
+ const manifestPath = (0, utils_2.getManifestPathToPageSettings)(schemaHandlingParams.pageInfo.pagePath);
511
+ let disallowedReason;
512
+ if (tableParams.multiTableInfo?.variantInfo) {
513
+ disallowedReason = manifestPropertyUtils_1.DISALLOWED_WITHOUT_EXPLANATION; // Setting is not allowed on level of views. Hence, ignore it here without any feedback.
514
+ }
515
+ else if (isResponsiveTable(tableParams)) {
516
+ disallowedReason = i18next_1.default.t('CONDENSEDTABLELAYOUTNOEFFECT');
517
+ }
518
+ return {
519
+ manifestPath,
520
+ disallowedReason
521
+ };
522
+ } // analyze
523
+ ))
524
+ ], Table.prototype, "condensedTableLayout", void 0);
525
+ __decorate([
526
+ (0, decoration_1.syncRule)((0, manifestPropertyUtils_1.getSyncRuleForManifestProperty)('enableTableFilterInPageVariant',
527
+ // analyze:
528
+ function (element, schemaHandlingParams) {
529
+ const tableParams = schemaHandlingParams.specificParams;
530
+ const manifestPath = (0, utils_2.getManifestPathToPageSettings)(schemaHandlingParams.pageInfo.pagePath);
531
+ let disallowedReason;
532
+ if (tableParams.multiTableInfo?.variantInfo) {
533
+ disallowedReason = manifestPropertyUtils_1.DISALLOWED_WITHOUT_EXPLANATION; // Setting is not allowed on level of views. Hence, ignore it here without any feedback.
534
+ }
535
+ else if (tableParams.settings?.isWorklist) {
536
+ disallowedReason = i18next_1.default.t('ENABLETABLEFILTERINPAGEVARIANTWORKLIST');
537
+ }
538
+ else if (tableParams.settings?.smartVariantManagement === false) {
539
+ disallowedReason = i18next_1.default.t('ENABLETABLEFILTERINPAGEVARIANTNOEFFECT');
540
+ }
541
+ return {
542
+ manifestPath,
543
+ disallowedReason
544
+ };
545
+ } // analyze
546
+ ))
547
+ ], Table.prototype, "enableTableFilterInPageVariant", void 0);
548
+ __decorate([
549
+ (0, decoration_1.syncRule)(getSyncRuleForTableSettingsProperty('inlineDelete',
550
+ // getDisallowReason
551
+ function (tableParams) {
552
+ return isResponsiveTable(tableParams) ? undefined : i18next_1.default.t('INLINEDELETEONLYRESPONSIVE');
553
+ }, // getDisallowedReason
554
+ //adapt:
555
+ function (element, schemaHandlingParams, generateParameters, value) {
556
+ if (value === true && isMultiSelect(schemaHandlingParams.specificParams)) {
557
+ element[ux_specification_types_1.SchemaTag.messages] = [
558
+ {
559
+ text: i18next_1.default.t('NOINLINEDELETEANDMULTISELECT'),
560
+ deletable: true,
561
+ type: ux_specification_types_1.PropertyMessageType.Warning
562
+ }
563
+ ];
564
+ }
565
+ } // adapt
566
+ ))
567
+ ], Table.prototype, "inlineDelete", void 0);
568
+ __decorate([
569
+ (0, decoration_1.syncRule)(getSyncRuleForTableSettingsProperty('multiSelect', undefined, // getDisallowedReason
570
+ //adapt:
571
+ function (element, schemaHandlingParams, generateParameters, value) {
572
+ // Problematic scenario: multiSelect and inlineDelete switched on at the same time. Can only happen for responsive tables as inlineDelete is only available for responsive tables.
573
+ const tableParams = schemaHandlingParams.specificParams;
574
+ if (value !== true || !isResponsiveTable(tableParams)) {
575
+ return;
576
+ }
577
+ const tableSettings = getTableSettings(tableParams);
578
+ if (tableSettings?.['inlineDelete'] === true) {
579
+ element[ux_specification_types_1.SchemaTag.messages] = [
580
+ {
581
+ text: i18next_1.default.t('NOINLINEDELETEANDMULTISELECT'),
582
+ deletable: true,
583
+ type: ux_specification_types_1.PropertyMessageType.Warning
584
+ }
585
+ ];
586
+ }
587
+ } // adapt
588
+ )),
589
+ (0, decoration_1.descriptionSrcURL)('https://ui5.sap.com/sdk/#/topic/402fac73b4794a31983609ebdde580d2')
590
+ ], Table.prototype, "multiSelect", void 0);
591
+ __decorate([
592
+ (0, decoration_1.syncRule)(getSyncRuleForTableSettingsProperty('selectAll',
593
+ // getDisallowReason:
594
+ function (tableParams, generateParameters, element) {
595
+ if (!isMultiSelect(tableParams)) {
596
+ // In this case the function returns a disallowedReason. Therefore, the adapt function will not be called.
597
+ // Still the property may be shown to the user (in case it contains a value).
598
+ // The description contains markups that allow the adapt function (below) to provide the correct text depending on the table type.
599
+ // For the warning scenario we simply remove this part.
600
+ element.description = element.description.split('\n')[0];
601
+ return i18next_1.default.t('SELECTALLNOMULTISELECT');
602
+ }
603
+ }, // getDisallowReason
604
+ // adapt:
605
+ function (element, schemaHandlingParams) {
606
+ // add table type dependent information to the description of the property.
607
+ const tableParams = schemaHandlingParams.specificParams;
608
+ const i18nForDefaultInfo = isUiTable(tableParams)
609
+ ? 'SELECTALLDEFAULTINFOUITABLE'
610
+ : 'SELECTALLDEFAULTINFORESPONSIVETABLE';
611
+ element.description += '\n' + i18next_1.default.t(i18nForDefaultInfo);
612
+ } // adapt
613
+ ))
614
+ ], Table.prototype, "selectAll", void 0);
615
+ __decorate([
616
+ (0, decoration_1.syncRule)(getSyncRuleForTableSettingsProperty('selectionLimit', function (tableParams) {
617
+ if (!isUiTable(tableParams) || !isMultiSelect(tableParams)) {
618
+ return i18next_1.default.t('SELECTIONLIMITPREREQUISIT');
619
+ }
620
+ if (isSelectAll(tableParams)) {
621
+ return i18next_1.default.t('SELECTIONLIMITNOSELECTALL');
622
+ }
623
+ })),
624
+ (0, decoration_1.descriptionSrcURL)('https://ui5.sap.com/sdk/#/topic/116b5d82e8c545e2a56e1b51b8b0a9bd?q=selectionLimit')
625
+ ], Table.prototype, "selectionLimit", void 0);
626
+ __decorate([
627
+ (0, decoration_1.syncRule)(getOnlyTopLevelNotWorklistSyncRule('dataLoadSettings', 'NODATALOADSETTINGSINWORKLIST', DataLoadSettings))
628
+ ], Table.prototype, "dataLoadSettings", void 0);
629
+ __decorate([
630
+ (0, decoration_1.syncRule)(getOnlyTopLevelNotWorklistSyncRule('createWithFilters', 'NOCREATEWITHFILTERSINWORKLIST', CreateWithFilters))
631
+ ], Table.prototype, "createWithFilters", void 0);
632
+ __decorate([
633
+ (0, decoration_1.validity)({
634
+ since: '1.77.0'
635
+ }),
636
+ (0, decoration_1.descriptionSrcURL)('https://ui5.sap.com/sdk/#/topic/2d04f60da84a49f6bb8617fbf1d3d2aa'),
637
+ (0, decoration_1.syncRule)(getSyncRuleForTableSettingsProperty('createWithParameterDialog',
638
+ // getDisallowReason:
639
+ function (tableParams, generateParameters) {
640
+ const entitySet = getEntitySet(tableParams, generateParameters);
641
+ if (!entitySet) {
642
+ return manifestPropertyUtils_1.DISALLOWED_WITHOUT_EXPLANATION;
643
+ }
644
+ const draftInfo = (0, utils_2.getDraftInfo)(entitySet);
645
+ if (draftInfo.isDraft) {
646
+ return i18next_1.default.t('CREATEWITHDIALOGDRAFT');
647
+ }
648
+ }, // getDisallowReason
649
+ // adapt:
650
+ function (element, schemaHandlingParams, generateParameters, value) {
651
+ (0, utils_2.addConversionExit)(element, 'createWithParameterDialog', value);
652
+ }, // adapt
653
+ // provideReferenceAdaptation:
654
+ function (tableParams) {
655
+ return {
656
+ syncRuleProvider: Fields4CreateWithParametersDialog,
657
+ specificParams: tableParams.multiTableInfo?.variantInfo
658
+ ? tableParams.multiTableInfo.variantInfo.entityTypeDefinition
659
+ : tableParams.entityType,
660
+ suffix: tableParams.multiTableInfo?.variantInfo
661
+ ? tableParams.multiTableInfo.variantInfo.iconTabFilterKey
662
+ : undefined
663
+ };
664
+ }, // provideReferenceAdaptation
665
+ 'object'))
666
+ ], Table.prototype, "createWithParameterDialog", void 0);
667
+ __decorate([
668
+ (0, decoration_1.syncRule)({
669
+ processingRuleAdapter(processingRule, schemaHandlingParams) {
670
+ const tableParams = schemaHandlingParams.specificParams;
671
+ if (tableParams.multiTableInfo && !tableParams.multiTableInfo.variantInfo) {
672
+ delete processingRule.element; // no toolbar defined in the global table settings in the multi-table case
673
+ return;
674
+ }
675
+ processingRule.element[ux_specification_types_1.SchemaTag.propertyIndex] = 0;
676
+ const lineItemInfo = tableParams.multiTableInfo
677
+ ? tableParams.multiTableInfo.variantInfo.lineItemInfo
678
+ : tableParams.lineItemInfo;
679
+ const isChart = tableParams.multiTableInfo?.variantInfo?.isChart;
680
+ const iconTabFilterKey = tableParams.multiTableInfo?.variantInfo?.iconTabFilterKey;
681
+ (0, Action_1.adaptProcessingRuleForToolbar)(processingRule, utils_1.DataFieldTarget.Toolbar, lineItemInfo?.dataFieldInfos ?? [], isChart, iconTabFilterKey);
682
+ }
683
+ })
684
+ ], Table.prototype, "toolbar", void 0);
685
+ /**
686
+ * ConversionExit for property createWithParameterDialog of Table control.
687
+ * Converts between the manifest representation (object with field names as keys) and the config representation (object with array of field names).
688
+ */
689
+ exports.CREATE_WITH_PARAMETER_DIALOG = {
690
+ appToConfig(appValue, parameters, fragments, definition, logger) {
691
+ const hasTypeError = (0, manifestPropertyUtils_1.hasPropertyTypeError)(appValue, 'fields', logger, 'object');
692
+ return appValue && !hasTypeError
693
+ ? {
694
+ fields: Object.keys(appValue['fields'])
695
+ }
696
+ : undefined;
697
+ },
698
+ configToApp(configValue, parameters, fragments, definition, oldAppValue) {
699
+ const configFields = configValue?.['fields'];
700
+ if (Array.isArray(configFields)) {
701
+ const newAppValue = oldAppValue && typeof oldAppValue === 'object' ? { ...oldAppValue } : {};
702
+ if (configFields.length === 0) {
703
+ delete newAppValue['fields'];
704
+ return (0, utils_2.isEmpty)(newAppValue) ? undefined : newAppValue;
705
+ }
706
+ const fields = {}; // the new entry for the fields-property
707
+ const fieldsAsArray = configFields;
708
+ fieldsAsArray.forEach(function (field) {
709
+ fields[field] = { path: field };
710
+ });
711
+ newAppValue['fields'] = fields;
712
+ return newAppValue;
713
+ }
714
+ return oldAppValue; // the fields-property in configValue was untouched (since every change would have converted it into an array). Hence, keep the old value.
715
+ }
716
+ };
153
717
  //# sourceMappingURL=Table.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Table.js","sourceRoot":"","sources":["../../../../../../../src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IAAA,qBAAQ,EAAC,yBAAyB,CAAC;+CACT"}
1
+ {"version":3,"file":"Table.js","sourceRoot":"","sources":["../../../../../../../src/sync/v2/genericSchemaHandling/controls/Table.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2GH,kDAGC;AAQD,oCAUC;AAiED,wCAeC;AAqED,0EAWC;AAqGD,8DAMC;AAvYD,sDAA8B;AAC9B,wEAAuG;AAavG,4GAA8F;AAE9F,2DAMoC;AACpC,iEAAkD;AAClD,gDAA0E;AAE1E,6CAAwE;AACxE,iEAA6E;AAC7E,gFAK8C;AAM9C,uCAMqB;AACrB,4CAAkD;AAClD,qCAAuE;AAsBvE;;;;;;;GAOG;AACH,SAAS,gBAAgB,CAAC,oBAAoC;IAC1D,OAAO,KAAK,CAAC,CAAC,gBAAgB;AAClC,CAAC;AAED;;;;;;GAMG;AACH,SAAS,YAAY,CACjB,WAAwB,EACxB,kBAA+C;IAE/C,OAAO,WAAW,CAAC,cAAc,EAAE,WAAW;QAC1C,CAAC,CAAC,WAAW,CAAC,cAAc,EAAE,WAAW,CAAC,mBAAmB;QAC7D,CAAC,CAAC,kBAAkB,CAAC,SAAS,CAAC;AACvC,CAAC;AAED;;;;;GAKG;AACH,SAAgB,mBAAmB,CAAC,oBAAoC;IACpE,MAAM,YAAY,GAAG,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;IAC5D,OAAO,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,eAAe,CAAC;AAClG,CAAC;AAED;;;;;GAKG;AACH,SAAgB,YAAY,CAAC,WAAwB;IACjD,IAAI,WAAW,CAAC,cAAc,EAAE,WAAW,EAAE,CAAC;QAC1C,OAAO,WAAW,CAAC,cAAc,CAAC,WAAW,CAAC,SAAS,CAAC;IAC5D,CAAC;IACD,MAAM,aAAa,GAAG,WAA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