@sap/ux-specification 1.139.4 → 1.142.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/CHANGELOG.md +10 -91
- package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
- package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
- package/dist/documentation/v2/v2-ListReport.html +2 -2
- package/dist/documentation/v2/v2-ListReportNew.html +2 -2
- package/dist/documentation/v2/v2-ObjectPage.html +2 -2
- package/dist/documentation/v2/v2-OverviewPage.html +2 -2
- package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
- package/dist/documentation/v4/v4-BuildingBlocks.html +2 -2
- package/dist/documentation/v4/v4-FreestylePage.html +2 -2
- package/dist/documentation/v4/v4-ListReport.html +2 -2
- package/dist/documentation/v4/v4-ObjectPage.html +2 -2
- package/dist/index-min.js +239 -242
- package/dist/index-min.js.map +4 -4
- package/dist/schemas/v2/ApplicationV2.json +18 -9
- package/dist/schemas/v2/ListReportNewConfig.json +91 -0
- package/dist/schemas/v4/ApplicationV4.json +43 -16
- package/dist/schemas/v4/BuildingBlocksConfig.json +138 -42
- package/dist/schemas/v4/ListReportConfig.json +248 -9
- package/dist/schemas/v4/ObjectPageConfig.json +317 -3
- package/dist/specification/package.json +7 -7
- package/dist/specification/scripts/macros/corrections.d.ts +40 -0
- package/dist/specification/scripts/macros/corrections.d.ts.map +1 -1
- package/dist/specification/scripts/macros/corrections.js +78 -6
- package/dist/specification/scripts/macros/corrections.js.map +1 -1
- package/dist/specification/scripts/macros/schema.d.ts +7 -0
- package/dist/specification/scripts/macros/schema.d.ts.map +1 -1
- package/dist/specification/scripts/macros/schema.js +62 -15
- package/dist/specification/scripts/macros/schema.js.map +1 -1
- package/dist/specification/scripts/macros/types.d.ts +2 -0
- package/dist/specification/scripts/macros/types.d.ts.map +1 -1
- package/dist/specification/scripts/schema/to-json-schema.d.ts.map +1 -1
- package/dist/specification/scripts/schema/to-json-schema.js +54 -9
- package/dist/specification/scripts/schema/to-json-schema.js.map +1 -1
- package/dist/specification/src/api.js +1 -1
- package/dist/specification/src/sync/common/ManifestDrivenSchemaProcessor.d.ts.map +1 -1
- package/dist/specification/src/sync/common/ManifestDrivenSchemaProcessor.js +1 -0
- package/dist/specification/src/sync/common/ManifestDrivenSchemaProcessor.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorators.d.ts +65 -4
- package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorators.js +138 -8
- package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -1
- package/dist/specification/src/sync/common/distTagEvaluator.d.ts +10 -3
- package/dist/specification/src/sync/common/distTagEvaluator.d.ts.map +1 -1
- package/dist/specification/src/sync/common/distTagEvaluator.js +14 -4
- package/dist/specification/src/sync/common/distTagEvaluator.js.map +1 -1
- package/dist/specification/src/sync/common/dist_tag.json +9 -5
- package/dist/specification/src/sync/common/generate/objectPage.d.ts +10 -1
- package/dist/specification/src/sync/common/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/common/generate/objectPage.js +63 -7
- package/dist/specification/src/sync/common/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/common/generate/utils.d.ts +5 -5
- package/dist/specification/src/sync/common/generate/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/common/generate/utils.js +8 -5
- package/dist/specification/src/sync/common/generate/utils.js.map +1 -1
- package/dist/specification/src/sync/common/i18n.json +7 -2
- package/dist/specification/src/sync/common/rules.d.ts +1 -0
- package/dist/specification/src/sync/common/rules.d.ts.map +1 -1
- package/dist/specification/src/sync/common/rules.js +39 -14
- package/dist/specification/src/sync/common/rules.js.map +1 -1
- package/dist/specification/src/sync/common/utils.d.ts +39 -1
- package/dist/specification/src/sync/common/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/common/utils.js +202 -59
- package/dist/specification/src/sync/common/utils.js.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPageGeneric.js +1 -10
- package/dist/specification/src/sync/v2/export/exportPageGeneric.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/manifestPropertyUtils.d.ts +1 -2
- package/dist/specification/src/sync/v2/generate/manifestPropertyUtils.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.d.ts +1 -1
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.js +4 -1
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/stableIdUtils.d.ts +8 -0
- package/dist/specification/src/sync/v2/generate/stableIdUtils.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/stableIdUtils.js +1 -0
- package/dist/specification/src/sync/v2/generate/stableIdUtils.js.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/FilterBar.js +3 -2
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/FilterBar.js.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiTable.d.ts +78 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiTable.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiTable.js +454 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiTable.js.map +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.d.ts +54 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.js +148 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.js.map +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.d.ts +2 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.js +2 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.js.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/ListReportNew.d.ts +4 -2
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/ListReportNew.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/ListReportNew.js +61 -23
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/ListReportNew.js.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/overviewPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/overviewPage.js +28 -13
- package/dist/specification/src/sync/v2/import/pages/overviewPage.js.map +1 -1
- package/dist/specification/src/sync/v2/utils.d.ts +7 -0
- package/dist/specification/src/sync/v2/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/utils.js +10 -0
- package/dist/specification/src/sync/v2/utils.js.map +1 -1
- package/dist/specification/src/sync/v4/application.d.ts +4 -0
- package/dist/specification/src/sync/v4/application.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/application.js +51 -1
- package/dist/specification/src/sync/v4/application.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.d.ts +2 -0
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.js +20 -0
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageFooterAction.d.ts +5 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageFooterAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageFooterAction.js +40 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageFooterAction.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.d.ts +8 -2
- package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.js +47 -4
- package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageFormAction.d.ts +2 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageFormAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageFormAction.js +20 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageFormAction.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.d.ts +10 -2
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.js +67 -4
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageSectionAction.d.ts +2 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageSectionAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageSectionAction.js +20 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageSectionAction.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts +2 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js +10 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts +10 -2
- package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.js +66 -3
- package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Table.d.ts +3 -0
- package/dist/specification/src/sync/v4/export/controls/Table.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Table.js +40 -23
- package/dist/specification/src/sync/v4/export/controls/Table.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/TableColumn.d.ts +2 -0
- package/dist/specification/src/sync/v4/export/controls/TableColumn.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/TableColumn.js +20 -0
- package/dist/specification/src/sync/v4/export/controls/TableColumn.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts +20 -4
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js +133 -7
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js.map +1 -1
- package/dist/specification/src/sync/v4/export/export.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/export.js +13 -11
- package/dist/specification/src/sync/v4/export/export.js.map +1 -1
- package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/fpmCustomPage.js +13 -3
- package/dist/specification/src/sync/v4/export/fpmCustomPage.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js +16 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.js +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/listReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/listReport.js +94 -1
- package/dist/specification/src/sync/v4/generate/listReport.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/objectPage.d.ts +1 -0
- package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/objectPage.js +64 -8
- package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/objectPage.js +33 -13
- package/dist/specification/src/sync/v4/import/pages/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/App.d.ts +141 -0
- package/dist/specification/src/sync/v4/sync-rules/App.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/sync-rules/App.js +208 -0
- package/dist/specification/src/sync/v4/sync-rules/App.js.map +1 -0
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.d.ts +193 -0
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.js +384 -0
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.js.map +1 -0
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.d.ts +172 -0
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.js +410 -0
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.js.map +1 -0
- package/dist/specification/src/sync/v4/sync-rules/Page.d.ts +70 -0
- package/dist/specification/src/sync/v4/sync-rules/Page.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/sync-rules/Page.js +73 -0
- package/dist/specification/src/sync/v4/sync-rules/Page.js.map +1 -0
- package/dist/specification/src/sync/v4/sync-rules/utils.d.ts +9 -0
- package/dist/specification/src/sync/v4/sync-rules/utils.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/sync-rules/utils.js +43 -0
- package/dist/specification/src/sync/v4/sync-rules/utils.js.map +1 -0
- package/dist/specification/src/sync/v4/utils/utils.d.ts +36 -2
- package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/utils/utils.js +144 -23
- package/dist/specification/src/sync/v4/utils/utils.js.map +1 -1
- package/dist/types/src/common/types.d.ts +120 -7
- package/dist/types/src/common/types.d.ts.map +1 -1
- package/dist/types/src/common/types.js +12 -3
- package/dist/types/src/common/types.js.map +1 -1
- package/dist/types/src/v4/application.d.ts +7 -0
- package/dist/types/src/v4/application.d.ts.map +1 -1
- package/dist/types/src/v4/controls/Action.d.ts +23 -0
- package/dist/types/src/v4/controls/Action.d.ts.map +1 -0
- package/dist/types/src/v4/controls/Action.js +11 -0
- package/dist/types/src/v4/controls/Action.js.map +1 -0
- package/dist/types/src/v4/controls/CustomAction.d.ts +2 -1
- package/dist/types/src/v4/controls/CustomAction.d.ts.map +1 -1
- package/dist/types/src/v4/controls/CustomAction.js.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageFooter.d.ts +2 -1
- package/dist/types/src/v4/controls/ObjectPageFooter.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageForm.d.ts +6 -3
- package/dist/types/src/v4/controls/ObjectPageForm.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageHeader.d.ts +6 -3
- package/dist/types/src/v4/controls/ObjectPageHeader.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageTable.d.ts +7 -0
- package/dist/types/src/v4/controls/ObjectPageTable.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageTable.js.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts +10 -7
- package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts.map +1 -1
- package/dist/types/src/v4/controls/Table.d.ts +14 -1
- package/dist/types/src/v4/controls/Table.d.ts.map +1 -1
- package/dist/types/src/v4/controls/Table.js.map +1 -1
- package/dist/types/src/v4/controls/ToolBar.d.ts +32 -10
- package/dist/types/src/v4/controls/ToolBar.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ToolBar.js.map +1 -1
- package/dist/types/src/v4/controls/index.d.ts +1 -0
- package/dist/types/src/v4/controls/index.d.ts.map +1 -1
- package/dist/types/src/v4/controls/index.js +1 -0
- package/dist/types/src/v4/controls/index.js.map +1 -1
- package/package.json +7 -7
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @file This file contains the classes implementing the interfaces defined in the corresponding types file.
|
|
4
|
+
* Note that the logic for dealing with the multi-table scenario is implemented in the sibling file MultiTable.ts.
|
|
5
|
+
*/
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
23
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
24
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
25
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
26
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27
|
+
};
|
|
28
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
29
|
+
var ownKeys = function(o) {
|
|
30
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
31
|
+
var ar = [];
|
|
32
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
33
|
+
return ar;
|
|
34
|
+
};
|
|
35
|
+
return ownKeys(o);
|
|
36
|
+
};
|
|
37
|
+
return function (mod) {
|
|
38
|
+
if (mod && mod.__esModule) return mod;
|
|
39
|
+
var result = {};
|
|
40
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
41
|
+
__setModuleDefault(result, mod);
|
|
42
|
+
return result;
|
|
43
|
+
};
|
|
44
|
+
})();
|
|
45
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
46
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
47
|
+
};
|
|
48
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
+
exports.Table = void 0;
|
|
50
|
+
exports.getDefaultTableType = getDefaultTableType;
|
|
51
|
+
exports.checkTableType = checkTableType;
|
|
52
|
+
const i18next_1 = __importDefault(require("i18next"));
|
|
53
|
+
const ux_specification_types_1 = require("@sap/ux-specification-types");
|
|
54
|
+
const v2 = __importStar(require("@sap/ux-specification-types/src/v2/genericSchemaHandling/controls/Table"));
|
|
55
|
+
const decoration_1 = require("../../../common/decoration");
|
|
56
|
+
const extensionLogger_1 = require("../../../../extensionLogger");
|
|
57
|
+
const MultiTable_1 = require("./MultiTable");
|
|
58
|
+
/**
|
|
59
|
+
* This function should return the information whether the given entity type is analytical.
|
|
60
|
+
* Unfortunately this is currently impossible due to missing information provided by the annotation api.
|
|
61
|
+
* As soon as the annotation api has been enhanced accordingly, this function should be enhanced.
|
|
62
|
+
*
|
|
63
|
+
* @param entityTypeDefinition - the entity type to be checked
|
|
64
|
+
* @returns true if the entity type is analytical, false otherwise
|
|
65
|
+
*/
|
|
66
|
+
function isTypeAnalytical(entityTypeDefinition) {
|
|
67
|
+
return false; // todo: enhance
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* 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).
|
|
71
|
+
*
|
|
72
|
+
* @param entityTypeDefinition - the entity type for which the table is created
|
|
73
|
+
* @returns the default table type for the given entity type
|
|
74
|
+
*/
|
|
75
|
+
function getDefaultTableType(entityTypeDefinition) {
|
|
76
|
+
const isAnalytical = isTypeAnalytical(entityTypeDefinition);
|
|
77
|
+
return isAnalytical ? v2.TableTypeV2Enum.AnalyticalTable : v2.TableTypeV2Enum.ResponsiveTable;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Checks whether a given table type is valid. Thereby undefined and empty string are also considered as valid (they represent the default table type).
|
|
81
|
+
*
|
|
82
|
+
* @param tableType - the table type to be checked
|
|
83
|
+
* @param logger - would log an error if tableType is invalid
|
|
84
|
+
* @returns - information whether the tableType is valid
|
|
85
|
+
*/
|
|
86
|
+
function checkTableType(tableType, logger) {
|
|
87
|
+
if (tableType === undefined ||
|
|
88
|
+
tableType === '' ||
|
|
89
|
+
Object.values(v2.TableTypeV2Enum).includes(tableType)) {
|
|
90
|
+
return true;
|
|
91
|
+
}
|
|
92
|
+
(0, extensionLogger_1.log)(logger, {
|
|
93
|
+
severity: "error" /* LogSeverity.Error */,
|
|
94
|
+
message: i18next_1.default.t('ILLEGALTABLETYPE', {
|
|
95
|
+
property: tableType
|
|
96
|
+
})
|
|
97
|
+
});
|
|
98
|
+
return false;
|
|
99
|
+
}
|
|
100
|
+
/** SyncRule which should be used for all properties with artifact type 'FlexChange' belonging to the SmartTable. */
|
|
101
|
+
const syncRuleForFlexSmartTable = {
|
|
102
|
+
flex: {
|
|
103
|
+
controlType: () => ux_specification_types_1.ControlType.SmartTable
|
|
104
|
+
},
|
|
105
|
+
processingRuleAdapter: function (processingRule, schemaHandlingParams) {
|
|
106
|
+
const tableParams = schemaHandlingParams.specificParams;
|
|
107
|
+
const isPropertyValid = !((tableParams.multiTableInfo && !tableParams.multiTableInfo.variantInfo) ||
|
|
108
|
+
tableParams.multiTableInfo?.variantInfo.isChart); // the property is invalid on top-level of a multi-table scenario and on a view displaying a chart
|
|
109
|
+
if (isPropertyValid) {
|
|
110
|
+
processingRule.controlId = tableParams.multiTableInfo
|
|
111
|
+
? tableParams.multiTableInfo.variantInfo.smartControlId
|
|
112
|
+
: tableParams.tableId;
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
delete processingRule.element;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
class Table {
|
|
120
|
+
} // Table
|
|
121
|
+
exports.Table = Table;
|
|
122
|
+
__decorate([
|
|
123
|
+
(0, decoration_1.syncRule)((0, MultiTable_1.getSyncRuleForMultiTableManifestProperty)('entitySet')),
|
|
124
|
+
(0, decoration_1.descriptionSrcURL)('https://ui5.sap.com/sdk/#/topic/b6b59e4a4c3548cf83ff9c3b955d3ba3')
|
|
125
|
+
], Table.prototype, "entitySet", void 0);
|
|
126
|
+
__decorate([
|
|
127
|
+
(0, decoration_1.syncRule)((0, MultiTable_1.getSyncRuleForMultiTableManifestProperty)('annotationPath')),
|
|
128
|
+
(0, decoration_1.descriptionSrcURL)('https://ui5.sap.com/sdk/#/topic/37aeed74e17a42caa2cba3123f0c15fc')
|
|
129
|
+
], Table.prototype, "annotationPath", void 0);
|
|
130
|
+
__decorate([
|
|
131
|
+
(0, decoration_1.syncRule)((0, MultiTable_1.getSyncRuleForMultiTableManifestProperty)('showItemNavigationOnChart'))
|
|
132
|
+
], Table.prototype, "showItemNavigationOnChart", void 0);
|
|
133
|
+
__decorate([
|
|
134
|
+
(0, decoration_1.syncRule)((0, MultiTable_1.getSyncRuleForMultiTableManifestProperty)('views'))
|
|
135
|
+
], Table.prototype, "views", void 0);
|
|
136
|
+
__decorate([
|
|
137
|
+
(0, decoration_1.syncRule)(syncRuleForFlexSmartTable)
|
|
138
|
+
], Table.prototype, "showTablePersonalisation", void 0);
|
|
139
|
+
__decorate([
|
|
140
|
+
(0, decoration_1.syncRule)(syncRuleForFlexSmartTable),
|
|
141
|
+
(0, decoration_1.validity)({
|
|
142
|
+
since: '1.50.0'
|
|
143
|
+
})
|
|
144
|
+
], Table.prototype, "exportType", void 0);
|
|
145
|
+
__decorate([
|
|
146
|
+
(0, decoration_1.syncRule)(syncRuleForFlexSmartTable)
|
|
147
|
+
], Table.prototype, "useExportToExcel", void 0);
|
|
148
|
+
//# sourceMappingURL=Table.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Table.js","sourceRoot":"","sources":["../../../../../../../src/sync/v2/genericSchemaHandling/controls/Table.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqDH,kDAGC;AASD,wCAeC;AA5ED,sDAA8B;AAC9B,wEAAuE;AAEvE,4GAA8F;AAE9F,2DAAmF;AACnF,iEAAkD;AAGlD,6CAAwE;AAsBxE;;;;;;;GAOG;AACH,SAAS,gBAAgB,CAAC,oBAAoC;IAC1D,OAAO,KAAK,CAAC,CAAC,gBAAgB;AAClC,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;;;;;;GAMG;AACH,SAAgB,cAAc,CAAC,SAA6B,EAAE,MAAwB;IAClF,IACI,SAAS,KAAK,SAAS;QACvB,SAAS,KAAK,EAAE;QACf,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,eAAe,CAAc,CAAC,QAAQ,CAAC,SAAS,CAAC,EACrE,CAAC;QACC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAA,qBAAG,EAAC,MAAM,EAAE;QACR,QAAQ,iCAAmB;QAC3B,OAAO,EAAE,iBAAO,CAAC,CAA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,CAAC,CAAC;oCAC5B;AAIhC;IADC,IAAA,qBAAQ,EAAC,yBAAyB,CAAC;uDACD;AAOnC;IAJC,IAAA,qBAAQ,EAAC,yBAAyB,CAAC;IACnC,IAAA,qBAAQ,EAAC;QACN,KAAK,EAAE,QAAQ;KAClB,CAAC;yCACiC;AAInC;IADC,IAAA,qBAAQ,EAAC,yBAAyB,CAAC;+CACT"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/sync/v2/genericSchemaHandling/controls/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/sync/v2/genericSchemaHandling/controls/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
|
|
@@ -21,4 +21,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
21
21
|
__exportStar(require("./Action"), exports);
|
|
22
22
|
__exportStar(require("./FilterBar"), exports);
|
|
23
23
|
__exportStar(require("./ListHeader"), exports);
|
|
24
|
+
__exportStar(require("./MultiTable"), exports);
|
|
25
|
+
__exportStar(require("./Table"), exports);
|
|
24
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/sync/v2/genericSchemaHandling/controls/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;GAGG;AACH,2CAAyB;AACzB,8CAA4B;AAC5B,+CAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/sync/v2/genericSchemaHandling/controls/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;GAGG;AACH,2CAAyB;AACzB,8CAA4B;AAC5B,+CAA6B;AAC7B,+CAA6B;AAC7B,0CAAwB"}
|
|
@@ -5,11 +5,12 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type * as Edm from '@sap-ux/vocabularies-types/Edm';
|
|
7
7
|
import type { EntityTypeAnnotations_UI } from '@sap-ux/vocabularies-types/vocabularies/UI_Edm';
|
|
8
|
-
import { TableTypeV2 } from '@sap/ux-specification-types/src/v2/controls/Table';
|
|
9
8
|
import type { SapUiGenericAppPageSettings } from '@sap/ux-specification-types';
|
|
10
9
|
import type { ListReportNewConfigV2 } from '@sap/ux-specification-types/src/v2/genericSchemaHandling/pages/ListReportNewConfigV2';
|
|
10
|
+
import { TableTypeV2Enum } from '@sap/ux-specification-types/src/v2/genericSchemaHandling/controls/Table';
|
|
11
11
|
import { ListHeader } from '../controls/ListHeader';
|
|
12
12
|
import { ListReportFilterBar } from '../controls/FilterBar';
|
|
13
|
+
import { Table } from '../controls/Table';
|
|
13
14
|
import type { Toolbar } from '../controls/Action';
|
|
14
15
|
import type { LineItemInfo } from '../../generate/utils';
|
|
15
16
|
/**
|
|
@@ -27,13 +28,14 @@ export type LRSchemaHandlingParams = {
|
|
|
27
28
|
settings?: SapUiGenericAppPageSettings;
|
|
28
29
|
entityType: Edm.EntityType;
|
|
29
30
|
uIAnnotations: EntityTypeAnnotations_UI;
|
|
30
|
-
tableType:
|
|
31
|
+
tableType: TableTypeV2Enum;
|
|
31
32
|
lineItemInfo?: LineItemInfo;
|
|
32
33
|
};
|
|
33
34
|
export declare class ListReportNew implements ListReportNewConfigV2 {
|
|
34
35
|
fitContent?: boolean;
|
|
35
36
|
header?: ListHeader;
|
|
36
37
|
filterBar?: ListReportFilterBar;
|
|
38
|
+
table?: Table;
|
|
37
39
|
footer?: Toolbar;
|
|
38
40
|
}
|
|
39
41
|
//# sourceMappingURL=ListReportNew.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListReportNew.d.ts","sourceRoot":"","sources":["../../../../../../../src/sync/v2/genericSchemaHandling/pages/ListReportNew.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,KAAK,GAAG,MAAM,gCAAgC,CAAC;AAC3D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;
|
|
1
|
+
{"version":3,"file":"ListReportNew.d.ts","sourceRoot":"","sources":["../../../../../../../src/sync/v2/genericSchemaHandling/pages/ListReportNew.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,KAAK,GAAG,MAAM,gCAAgC,CAAC;AAC3D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAE/F,OAAO,KAAK,EAGR,2BAA2B,EAE9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sFAAsF,CAAC;AAGlI,OAAO,EAAE,eAAe,EAAE,MAAM,yEAAyE,CAAC;AAI1G,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAuB,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AASlD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD;;;;;;;;;;GAUG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACjC,QAAQ,CAAC,EAAE,2BAA2B,CAAC;IACvC,UAAU,EAAE,GAAG,CAAC,UAAU,CAAC;IAC3B,aAAa,EAAE,wBAAwB,CAAC;IACxC,SAAS,EAAE,eAAe,CAAC;IAC3B,YAAY,CAAC,EAAE,YAAY,CAAC;CAC/B,CAAC;AAGF,qBAgDa,aAAc,YAAW,qBAAqB;IAUvD,UAAU,CAAC,EAAE,OAAO,CAAC;IAWrB,MAAM,CAAC,EAAE,UAAU,CAAC;IAiBpB,SAAS,CAAC,EAAE,mBAAmB,CAAC;IA6DhC,KAAK,CAAC,EAAE,KAAK,CAAC;IAcd,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -10,38 +10,24 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
10
10
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
11
11
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12
12
|
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
13
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
17
|
exports.ListReportNew = void 0;
|
|
15
|
-
const Table_1 = require("@sap/ux-specification-types/src/v2/controls/Table");
|
|
16
18
|
const ux_specification_types_1 = require("@sap/ux-specification-types");
|
|
17
19
|
const decorators_1 = require("../../../common/decoration/decorators");
|
|
18
20
|
const v2_1 = require("@sap/ux-specification-types/src/v2");
|
|
21
|
+
const Table_1 = require("@sap/ux-specification-types/src/v2/genericSchemaHandling/controls/Table");
|
|
22
|
+
const extensionLogger_1 = require("../../../../extensionLogger");
|
|
23
|
+
const i18next_1 = __importDefault(require("i18next"));
|
|
19
24
|
const utils_1 = require("../../utils");
|
|
20
25
|
const ListHeader_1 = require("../controls/ListHeader");
|
|
21
26
|
const FilterBar_1 = require("../controls/FilterBar");
|
|
27
|
+
const Table_2 = require("../controls/Table");
|
|
22
28
|
const Action_1 = require("../controls/Action");
|
|
29
|
+
const manifestPropertyUtils_1 = require("../../generate/manifestPropertyUtils");
|
|
23
30
|
const utils_2 = require("../../generate/utils");
|
|
24
|
-
/**
|
|
25
|
-
* This function should return the information whether the given entity type is analytical.
|
|
26
|
-
* Unfortunately this is currently impossible due to missing information provided by the annotation api.
|
|
27
|
-
* As soon as the annotation api has been enhanced accordingly, this function should be enhanced.
|
|
28
|
-
*
|
|
29
|
-
* @param entityTypeDefinition - the entity type to be checked
|
|
30
|
-
* @returns true if the entity type is analytical, false otherwise
|
|
31
|
-
*/
|
|
32
|
-
function isTypeAnalytical(entityTypeDefinition) {
|
|
33
|
-
return false; // todo: enhance
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* 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).
|
|
37
|
-
*
|
|
38
|
-
* @param entityTypeDefinition - the entity type for which the table is created
|
|
39
|
-
* @returns the default table type for the given entity type
|
|
40
|
-
*/
|
|
41
|
-
function getDefaultTableType(entityTypeDefinition) {
|
|
42
|
-
const isAnalytical = isTypeAnalytical(entityTypeDefinition);
|
|
43
|
-
return isAnalytical ? Table_1.TableTypeV2.AnalyticalTable : Table_1.TableTypeV2.ResponsiveTable;
|
|
44
|
-
}
|
|
45
31
|
// ListReportNew
|
|
46
32
|
let ListReportNew = class ListReportNew {
|
|
47
33
|
};
|
|
@@ -82,6 +68,58 @@ __decorate([
|
|
|
82
68
|
}
|
|
83
69
|
})
|
|
84
70
|
], ListReportNew.prototype, "filterBar", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, decorators_1.syncRule)({
|
|
73
|
+
processingRuleAdapter(processingRule, schemaHandlingParams, generateParameters) {
|
|
74
|
+
const lRSchemaHandlingParams = schemaHandlingParams.specificParams;
|
|
75
|
+
processingRule.element[ux_specification_types_1.SchemaTag.icon] = 'Table'; // do not use member of enum UiIcons in @sap-ux/ui-components to avoid unwanted dependency
|
|
76
|
+
processingRule.element[ux_specification_types_1.SchemaTag.propertyIndex] = 2;
|
|
77
|
+
const lrSettings = lRSchemaHandlingParams.settings;
|
|
78
|
+
const tableType = lRSchemaHandlingParams.tableType;
|
|
79
|
+
const tableParams = {
|
|
80
|
+
settings: lrSettings,
|
|
81
|
+
tableType,
|
|
82
|
+
tableId: 'listReport',
|
|
83
|
+
lineItemInfo: lRSchemaHandlingParams.lineItemInfo,
|
|
84
|
+
entityType: lRSchemaHandlingParams.entityType
|
|
85
|
+
};
|
|
86
|
+
// Check whether we are in a multi-view multi-table scenario.
|
|
87
|
+
const quickVariantSelectionX = !(0, manifestPropertyUtils_1.hasPropertyTypeError)(lrSettings, 'quickVariantSelectionX', generateParameters.logger, 'object') &&
|
|
88
|
+
lrSettings?.quickVariantSelectionX;
|
|
89
|
+
let suffix;
|
|
90
|
+
if (quickVariantSelectionX) {
|
|
91
|
+
if ((0, utils_1.isEmpty)(quickVariantSelectionX['variants'])) {
|
|
92
|
+
(0, extensionLogger_1.log)(generateParameters.logger, {
|
|
93
|
+
severity: "warning" /* LogSeverity.Warning */,
|
|
94
|
+
message: i18next_1.default.t('QUICKVARIANTSELECTIONXNOVARIANTS')
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
suffix = 'Top';
|
|
99
|
+
if (lrSettings.quickVariantSelection) {
|
|
100
|
+
// Do not use quickVariantSelection and quickVariantSelectionX together
|
|
101
|
+
(0, extensionLogger_1.log)(generateParameters.logger, {
|
|
102
|
+
severity: "error" /* LogSeverity.Error */,
|
|
103
|
+
message: i18next_1.default.t('QUICKVARIANTSELECTIONDUPLICATE')
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
// Preliminary setting of multiTableInfo. Will be enhanced later.
|
|
107
|
+
tableParams.multiTableInfo = {
|
|
108
|
+
usedTableTypes: {
|
|
109
|
+
nonResponsive: tableType === Table_1.TableTypeV2Enum.ResponsiveTable ? 0 : 1,
|
|
110
|
+
responsive: tableType === Table_1.TableTypeV2Enum.ResponsiveTable ? 1 : 0
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
processingRule.referenceAdaptation = {
|
|
116
|
+
suffix,
|
|
117
|
+
specificParams: tableParams,
|
|
118
|
+
syncRuleProvider: Table_2.Table
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
})
|
|
122
|
+
], ListReportNew.prototype, "table", void 0);
|
|
85
123
|
__decorate([
|
|
86
124
|
(0, decorators_1.syncRule)({
|
|
87
125
|
processingRuleAdapter(processingRule, schemaHandlingParams) {
|
|
@@ -103,7 +141,7 @@ exports.ListReportNew = ListReportNew = __decorate([
|
|
|
103
141
|
const { parent: pageSettings } = (0, utils_1.getManifestPropertyByPath)(generateParameters.manifest, manifestPathToPageSettings);
|
|
104
142
|
const settings = pageSettings;
|
|
105
143
|
const tableSettings = settings?.tableSettings;
|
|
106
|
-
const tableType = tableSettings?.['type'] || settings?.tableType || getDefaultTableType(entityType);
|
|
144
|
+
const tableType = tableSettings?.['type'] || settings?.tableType || (0, Table_2.getDefaultTableType)(entityType);
|
|
107
145
|
const lineItemAnnotation = (0, utils_2.getLineItemAnnotation)(uIAnnotations, settings, generateParameters.logger);
|
|
108
146
|
let lineItemInfo;
|
|
109
147
|
if (lineItemAnnotation) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListReportNew.js","sourceRoot":"","sources":["../../../../../../../src/sync/v2/genericSchemaHandling/pages/ListReportNew.ts"],"names":[],"mappings":";AAAA;;;;GAIG
|
|
1
|
+
{"version":3,"file":"ListReportNew.js","sourceRoot":"","sources":["../../../../../../../src/sync/v2/genericSchemaHandling/pages/ListReportNew.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;AAMH,wEAAmG;AAQnG,sEAAwF;AACxF,2DAAmH;AACnH,mGAA0G;AAC1G,iEAAkD;AAClD,sDAA8B;AAC9B,uCAAgG;AAChG,uDAAoD;AACpD,qDAA4D;AAC5D,6CAA+D;AAG/D,+CAAmE;AACnE,gFAA4E;AAC5E,gDAK8B;AAsB9B,gBAAgB;AAiDT,IAAM,aAAa,GAAnB,MAAM,aAAa;CAkHzB,C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IAAI,QAAQ,EAAE,SAAS,IAAI,IAAA,2BAAmB,EAAC,UAAU,CAAC,CAAC;YACpG,MAAM,kBAAkB,GAAG,IAAA,6BAAqB,EAAC,aAAa,EAAE,QAAQ,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;YACrG,IAAI,YAA0B,CAAC;YAC/B,IAAI,kBAAkB,EAAE,CAAC;gBACrB,MAAM,YAAY,GACd,kBAAkB,CAAC,IAAI,GAAG,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,kBAAkB,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;gBACvG,MAAM,QAAQ,GAAG,YAAY,CAAC,OAAO,CAAC,wCAAe,EAAE,EAAE,CAAC,CAAC;gBAC3D,MAAM,kBAAkB,GAAG,aAAa,CAAC,QAAQ,CAA6B,CAAC;gBAC/E,YAAY,GAAG,IAAA,uBAAe,EAC1B,YAAY,EACZ,kBAAkB,EAClB,UAAU,EACV,SAAS,EACT,kBAAkB,EAClB,KAAK,CACR,CAAC;YACN,CAAC;YACD,MAAM,cAAc,GAA2B;gBAC3C,QAAQ;gBACR,UAAU;gBACV,aAAa;gBACb,SAAS;gBACT,YAAY;aACf,CAAC;YACF,uEAAuE;YACvE,cAAc,CAAC,mBAAmB,GAAG;gBACjC,cAAc;aACjB,CAAC;QACN,CAAC;KACJ,CAAC;GACW,aAAa,CAkHzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overviewPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/sync/v2/import/pages/overviewPage.ts"],"names":[],"mappings":"AAOA,OAAO,EAAO,KAAK,8BAA8B,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"overviewPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/sync/v2/import/pages/overviewPage.ts"],"names":[],"mappings":"AAOA,OAAO,EAAO,KAAK,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAsNvE;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,gBAAgB,EAAE,8BAA8B,GAAG,MAAM,CASjG"}
|
|
@@ -39,16 +39,17 @@ function transferSettingsOfRef(importParameters, definitionArray, configPart, ke
|
|
|
39
39
|
* @param {ImportOverviewPageV2Parameters} importParameters - structure of import parameters
|
|
40
40
|
* @param {MetadataInstanceInterface} factory - Metadata factory
|
|
41
41
|
* @param {string[]} pathHierarchy - Parts of the path or breadcrumbs
|
|
42
|
+
* @param {v2.CardTemplateType} cardType - Target card type to process
|
|
42
43
|
*/
|
|
43
|
-
function processPropertiesOfObject(configPart, key, schemaProperties, importParameters, factory, pathHierarchy) {
|
|
44
|
+
function processPropertiesOfObject(configPart, key, schemaProperties, importParameters, factory, pathHierarchy, cardType) {
|
|
44
45
|
if (schemaProperties[key].$ref) {
|
|
45
46
|
configPart[key] = configPart[key] ?? {};
|
|
46
47
|
const definitionArray = schemaProperties[key].$ref.split(common_1.DEFINITION_LINK_PREFIX);
|
|
47
48
|
transferSettingsOfRef(importParameters, definitionArray, configPart, key, factory, pathHierarchy);
|
|
48
49
|
}
|
|
49
|
-
else if (key === 'settings' && schemaProperties[key].anyOf &&
|
|
50
|
+
else if (key === 'settings' && schemaProperties[key].anyOf && cardType in ux_specification_types_1.v2.cardTemplateSettingsMap) {
|
|
50
51
|
configPart[key] = configPart[key] ?? {};
|
|
51
|
-
const ref = `${common_1.DEFINITION_LINK_PREFIX}${ux_specification_types_1.v2.cardTemplateSettingsMap[
|
|
52
|
+
const ref = `${common_1.DEFINITION_LINK_PREFIX}${ux_specification_types_1.v2.cardTemplateSettingsMap[cardType]}`;
|
|
52
53
|
const definitionArray = ref.split(common_1.DEFINITION_LINK_PREFIX);
|
|
53
54
|
transferSettingsOfRef(importParameters, definitionArray, configPart, key, factory, pathHierarchy);
|
|
54
55
|
}
|
|
@@ -62,8 +63,9 @@ function processPropertiesOfObject(configPart, key, schemaProperties, importPara
|
|
|
62
63
|
* @param importParameters - structure of import parameters
|
|
63
64
|
* @param schemaProperties - current properties' list of a definition from app schema
|
|
64
65
|
* @param factory - Metadata factory
|
|
66
|
+
* @param cardType - Target card type to process
|
|
65
67
|
*/
|
|
66
|
-
function processOvpProperty(configPart, key, pathHierarchy, importParameters, schemaProperties, factory) {
|
|
68
|
+
function processOvpProperty(configPart, key, pathHierarchy, importParameters, schemaProperties, factory, cardType) {
|
|
67
69
|
const syncRule = (0, decorators_1.getReflectMetadata)(configPart, key);
|
|
68
70
|
if (syncRule?.manifest) {
|
|
69
71
|
const path = syncRule.manifest.path([...pathHierarchy, key]);
|
|
@@ -84,7 +86,7 @@ function processOvpProperty(configPart, key, pathHierarchy, importParameters, sc
|
|
|
84
86
|
}
|
|
85
87
|
}
|
|
86
88
|
else if (key !== 'cards' && key !== '$schema' && typeof schemaProperties[key] === 'object') {
|
|
87
|
-
processPropertiesOfObject(configPart, key, schemaProperties, importParameters, factory, pathHierarchy);
|
|
89
|
+
processPropertiesOfObject(configPart, key, schemaProperties, importParameters, factory, pathHierarchy, cardType);
|
|
88
90
|
}
|
|
89
91
|
}
|
|
90
92
|
/**
|
|
@@ -95,10 +97,11 @@ function processOvpProperty(configPart, key, pathHierarchy, importParameters, sc
|
|
|
95
97
|
* @param {ImportOverviewPageV2Parameters} importParameters - structure of import parameters
|
|
96
98
|
* @param {Definition} schemaProperties - current properties' list of a definition from app schema
|
|
97
99
|
* @param {string[]} pathHierarchy - Parts of the path or breadcrumbs
|
|
100
|
+
* @param {v2.CardTemplateType} cardType - Target card type to process
|
|
98
101
|
*/
|
|
99
|
-
function processOvpProperties(factory, configPart, importParameters, schemaProperties, pathHierarchy) {
|
|
102
|
+
function processOvpProperties(factory, configPart, importParameters, schemaProperties, pathHierarchy, cardType) {
|
|
100
103
|
for (const key in schemaProperties) {
|
|
101
|
-
processOvpProperty(configPart, key, pathHierarchy, importParameters, schemaProperties, factory);
|
|
104
|
+
processOvpProperty(configPart, key, pathHierarchy, importParameters, schemaProperties, factory, cardType);
|
|
102
105
|
}
|
|
103
106
|
}
|
|
104
107
|
/**
|
|
@@ -114,15 +117,27 @@ function addSettings(pageConfig, importParameters, factory) {
|
|
|
114
117
|
Object.keys(importParameters.manifest[ux_specification_types_1.ManifestSection.ovp].cards).forEach((cardId) => {
|
|
115
118
|
const cardTemplate = importParameters.manifest[ux_specification_types_1.ManifestSection.ovp]['cards'][cardId].template;
|
|
116
119
|
const cardType = ux_specification_types_1.v2.cardTemplateTypeMap[cardTemplate] ?? 'CustomCard';
|
|
117
|
-
const cardTypes = [
|
|
120
|
+
const cardTypes = [];
|
|
121
|
+
for (const template in ux_specification_types_1.v2.cardTemplateTypeMap) {
|
|
122
|
+
if (ux_specification_types_1.v2.cardTemplateTypeMap[template] !== cardType) {
|
|
123
|
+
cardTypes.push({
|
|
124
|
+
template,
|
|
125
|
+
cardType: ux_specification_types_1.v2.cardTemplateTypeMap[template]
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
}
|
|
118
129
|
// Ensure cardTemplate is moved to the end
|
|
119
|
-
cardTypes.push(
|
|
120
|
-
|
|
130
|
+
cardTypes.push({
|
|
131
|
+
template: cardTemplate,
|
|
132
|
+
cardType
|
|
133
|
+
});
|
|
134
|
+
for (const variantCard of cardTypes) {
|
|
121
135
|
//instantiate Card:
|
|
122
|
-
pageConfig.cards[cardId] = (0, export_1.assignReflectMetadataRules)(factory,
|
|
123
|
-
pageConfig.cards = (0, export_1.assignReflectMetadataRules)(factory,
|
|
136
|
+
pageConfig.cards[cardId] = (0, export_1.assignReflectMetadataRules)(factory, variantCard.cardType, pageConfig.cards[cardId] ?? {}, 'CustomCard');
|
|
137
|
+
pageConfig.cards = (0, export_1.assignReflectMetadataRules)(factory, variantCard.cardType, pageConfig.cards, 'CustomCard');
|
|
124
138
|
//transfer settings:
|
|
125
|
-
processOvpProperties(factory, pageConfig.cards[cardId], importParameters, importParameters.jsonSchema.definitions[
|
|
139
|
+
processOvpProperties(factory, pageConfig.cards[cardId], importParameters, importParameters.jsonSchema.definitions[variantCard.cardType]
|
|
140
|
+
.properties, ['cards', cardId], variantCard.template);
|
|
126
141
|
}
|
|
127
142
|
});
|
|
128
143
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overviewPage.js","sourceRoot":"","sources":["../../../../../../../src/sync/v2/import/pages/overviewPage.ts"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"overviewPage.js","sourceRoot":"","sources":["../../../../../../../src/sync/v2/import/pages/overviewPage.ts"],"names":[],"mappings":";;;;;AAmOA,4DASC;AA5OD,wEAA2F;AAC3F,sEAA2E;AAC3E,oDAAsE;AACtE,kDAA4E;AAE5E,gDAAiE;AACjE,4CAA0F;AAC1F,mCAAuE;AAEvE,sDAA8B;AAE9B;;;;;;;;;GASG;AACH,SAAS,qBAAqB,CAC1B,gBAAgD,EAChD,eAAoB,EACpB,UAAkC,EAClC,GAAW,EACX,OAAkC,EAClC,aAAuB;IAEvB,MAAM,oBAAoB,GAAG,eAAe,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IACzE,MAAM,oBAAoB,GAAI,gBAAgB,CAAC,UAAyB,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;IAC3G,UAAU,CAAC,GAAG,CAAC,GAAG,IAAA,mCAA0B,EAAC,OAAO,EAAE,GAAG,EAAE,UAAU,CAAC,GAAG,CAAC,EAAE,oBAAoB,CAAC,CAAC;IAClG,oBAAoB;IACpB,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACxB,oBAAoB,CAChB,OAAO,EACP,UAAU,CAAC,GAAG,CAAC,EACf,gBAAgB,EACf,oBAAmC,CAAC,UAAU,EAC/C,aAAa,CAChB,CAAC;AACN,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAS,yBAAyB,CAC9B,UAAkC,EAClC,GAAW,EACX,gBAA4B,EAC5B,gBAAgD,EAChD,OAAkC,EAClC,aAAuB,EACvB,QAA8B;IAE9B,IA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,EACzC,OAAO,EACP,WAAW,CAAC,QAAQ,EACpB,UAAU,CAAC,KAAK,EAChB,YAAY,CAGf,CAAC;YAEF,oBAAoB;YACpB,oBAAoB,CAChB,OAAO,EACP,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,EACxB,gBAAgB,EACd,gBAAgB,CAAC,UAAyB,CAAC,WAAW,CAAC,WAAW,CAAC,QAAQ,CAAgB;iBACxF,UAAU,EACf,CAAC,OAAO,EAAE,MAAM,CAAC,EACjB,WAAW,CAAC,QAA+B,CAC9C,CAAC;QACN,CAAC;IACL,CAAC,CAAC,CAAC;AACP,CAAC;AAED;;;;;GAKG;AACH,SAAgB,wBAAwB,CAAC,gBAAgD;IACrF,MAAM,OAAO,GAAG,IAAI,mCAAO,EAAE,CAAC;IAC9B,kBAAkB;IAClB,MAAM,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC,mCAAU,CAAC,YAAY,CAAC,CAAC;IAEnE,IAAI,gBAAgB,CAAC,UAAU,EAAE,CAAC;QAC9B,WAAW,CAAC,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IACD,OAAO,MAAM,CAAC;AAClB,CAAC"}
|
|
@@ -55,4 +55,11 @@ export declare function addConversionExit(element: Definition, conversionExit: s
|
|
|
55
55
|
* @returns the converted value
|
|
56
56
|
*/
|
|
57
57
|
export declare function executeConversionExit(isDirectionAppToConfig: boolean, conversionExitProvider: ConversionExitProvider | undefined, propertyDefinition: Definition, value: unknown, fragments?: FileData[], oldValue?: unknown, logger?: ExtensionLogger): unknown;
|
|
58
|
+
/**
|
|
59
|
+
* Returns whether an object should be considered as an empty object.
|
|
60
|
+
*
|
|
61
|
+
* @param obj - the object to be checked
|
|
62
|
+
* @returns whether the object should be considered empty
|
|
63
|
+
*/
|
|
64
|
+
export declare function isEmpty(obj: object | undefined): boolean;
|
|
58
65
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/sync/v2/utils.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACR,YAAY,EACZ,sBAAsB,EACtB,eAAe,EACf,QAAQ,EAER,QAAQ,EACR,oBAAoB,EACvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE9E;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CAAC,QAAQ,EAAE,YAAY,EAAE,MAAM,GAAE,YAAiB,GAAG,YAAY,CAG7G;AAED;;;;;;;;;GASG;AACH,wBAAgB,yBAAyB,CACrC,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,YAAY,EAC1B,QAAQ,CAAC,EAAE,MAAM,GAClB;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAyB3F;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,mBAAmB,GAAG,SAAS,GAAG,GAAG,IAAI,UAAU,CAEpF;AAED;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAQrG;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,qBAAqB,CACjC,sBAAsB,EAAE,OAAO,EAC/B,sBAAsB,EAAE,sBAAsB,GAAG,SAAS,EAC1D,kBAAkB,EAAE,UAAU,EAC9B,KAAK,EAAE,OAAO,EACd,SAAS,CAAC,EAAE,QAAQ,EAAE,EACtB,QAAQ,CAAC,EAAE,OAAO,EAClB,MAAM,CAAC,EAAE,eAAe,GACzB,OAAO,CAiBT"}
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/sync/v2/utils.ts"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ByPath = getManifestPropertyByPath;
|
|
|
5
5
|
exports.isDefinition = isDefinition;
|
|
6
6
|
exports.addConversionExit = addConversionExit;
|
|
7
7
|
exports.executeConversionExit = executeConversionExit;
|
|
8
|
+
exports.isEmpty = isEmpty;
|
|
8
9
|
/**
|
|
9
10
|
* @file This file contains helper functions for generic schema handling.
|
|
10
11
|
* The functionality is implicitly tested by the more complex unit-tests for generic schema generation and generic import in test-folder unit/genericSchemaHandling.
|
|
@@ -108,4 +109,13 @@ function executeConversionExit(isDirectionAppToConfig, conversionExitProvider, p
|
|
|
108
109
|
? conversionExit.appToConfig(value, conversionExitParams, fragments ?? [], propertyDefinition, logger)
|
|
109
110
|
: conversionExit.configToApp(value, conversionExitParams, (fragments ?? []), propertyDefinition, oldValue);
|
|
110
111
|
}
|
|
112
|
+
/**
|
|
113
|
+
* Returns whether an object should be considered as an empty object.
|
|
114
|
+
*
|
|
115
|
+
* @param obj - the object to be checked
|
|
116
|
+
* @returns whether the object should be considered empty
|
|
117
|
+
*/
|
|
118
|
+
function isEmpty(obj) {
|
|
119
|
+
return !obj || Object.keys(obj).every((key) => obj[key] === undefined);
|
|
120
|
+
}
|
|
111
121
|
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../src/sync/v2/utils.ts"],"names":[],"mappings":";;AAuBA,sEAGC;AAYD,8DA6BC;AAQD,oCAEC;AAYD,8CAQC;AAeD,sDAyBC;
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../src/sync/v2/utils.ts"],"names":[],"mappings":";;AAuBA,sEAGC;AAYD,8DA6BC;AAQD,oCAEC;AAYD,8CAQC;AAeD,sDAyBC;AAQD,0BAEC;AAnJD;;;GAGG;AACH,wEAAyE;AAYzE;;;;;;GAMG;AACH,SAAgB,6BAA6B,CAAC,QAAsB,EAAE,SAAuB,EAAE;IAC3F,MAAM,YAAY,GAAG,QAAQ,CA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CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { v4, ViewTypes, Target, Manifest, Application, Dependencies, CloudDevAdaptationStatus } from '@sap/ux-specification-types';
|
|
2
2
|
import type { EmptyOption } from '@sap/ux-specification-types/src/v4/controls/Table';
|
|
3
3
|
import type { TableCreationModeType } from '@sap/ux-specification-types/dist/v4/controls/ObjectPageTable';
|
|
4
|
+
import type { PopinLayout } from 'sap/m/library';
|
|
4
5
|
export declare const getSettingsPathForPage: (pageName: string[]) => string;
|
|
5
6
|
export declare const getSettingsPathForLRViewsPaths: (pageName: string[]) => string;
|
|
6
7
|
export declare const getSettingsPathForHeaderOP: (pageName: string[]) => string;
|
|
@@ -53,6 +54,8 @@ export declare const getColumnsPathForView: (pageName: string[], _manifest: Mani
|
|
|
53
54
|
export declare const getColumnsPathForLR: (pageName: string[], manifest: Manifest, targetAnnotationEncoded: string, columnKey: string, targetAnnotation: string) => string;
|
|
54
55
|
export declare const getActionsPathForView: (pageName: string[], _manifest: Manifest, _targetAnnotationEncoded: string, columnKey: string, targetAnnotation: string) => string;
|
|
55
56
|
export declare const getActionsPathForLR: (pageName: string[], manifest: Manifest, targetAnnotationEncoded: string, columnKey: string, targetAnnotation: string) => string;
|
|
57
|
+
export declare const getGroupedActionsPathForLR: (pageName: string[], manifest: Manifest, targetAnnotationEncoded: string, columnKey: string, targetAnnotation: string, configObject: object, originalIds: string[]) => string;
|
|
58
|
+
export declare const getGroupedActionsPathForOP: (pageName: string[], manifest: Manifest, sectionId: string, columnKey: string, sectionIdEncoded: string, configObject: object, originalIds: string[]) => string;
|
|
56
59
|
export declare const getColumnsPathForOP: (pageName: string[], _manifest: Manifest, sectionId: string, columnKey: string) => string;
|
|
57
60
|
export declare const getActionsPathForOP: (pageName: string[], _manifest: Manifest, sectionId: string, columnKey: string) => string;
|
|
58
61
|
export declare const getHeaderActionsPath: (pageName: string[], _manifest: Manifest, sectionId: string, columnKey: string) => string;
|
|
@@ -106,5 +109,6 @@ export declare class AppSettings implements v4.AppSettings {
|
|
|
106
109
|
viewType?: ViewTypes;
|
|
107
110
|
path?: string;
|
|
108
111
|
controllerExtensions?: v4.ControllerExtensions;
|
|
112
|
+
defaultPopinLayout?: PopinLayout;
|
|
109
113
|
}
|
|
110
114
|
//# sourceMappingURL=application.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application.d.ts","sourceRoot":"","sources":["../../../../../src/sync/v4/application.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACR,EAAE,EACF,SAAS,EACT,MAAM,EACN,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,wBAAwB,EAC3B,MAAM,6BAA6B,CAAC;AAIrC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AACrF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8DAA8D,CAAC;
|
|
1
|
+
{"version":3,"file":"application.d.ts","sourceRoot":"","sources":["../../../../../src/sync/v4/application.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACR,EAAE,EACF,SAAS,EACT,MAAM,EACN,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,wBAAwB,EAC3B,MAAM,6BAA6B,CAAC;AAIrC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AACrF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8DAA8D,CAAC;AAC1G,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,eAAO,MAAM,sBAAsB,GAAI,UAAU,MAAM,EAAE,KAAG,MAE3D,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAAI,UAAU,MAAM,EAAE,KAAG,MAEnE,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,UAAU,MAAM,EAAE,KAAG,MAE/D,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,UAAU,MAAM,EAAE,KAAG,MAE/D,CAAC;AAEF,eAAO,MAAM,2BAA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