@veloceapps/sdk 6.0.0-37 → 6.0.0-39
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/bundles/veloceapps-sdk-cms.umd.js +103 -19
- package/bundles/veloceapps-sdk-cms.umd.js.map +1 -1
- package/bundles/veloceapps-sdk-core.umd.js +12 -0
- package/bundles/veloceapps-sdk-core.umd.js.map +1 -1
- package/bundles/veloceapps-sdk.umd.js +2 -3
- package/bundles/veloceapps-sdk.umd.js.map +1 -1
- package/cms/index.d.ts +1 -0
- package/cms/modules/migrations/index.d.ts +2 -0
- package/cms/modules/migrations/migrations.d.ts +2 -0
- package/cms/modules/migrations/migrations.module.d.ts +6 -0
- package/cms/modules/migrations/services/migrations.service.d.ts +10 -0
- package/cms/modules/migrations/types/migrations.types.d.ts +2 -0
- package/cms/utils/elements-resolver.d.ts +1 -1
- package/core/types/ui-definition.types.d.ts +19 -4
- package/core/utils/index.d.ts +1 -0
- package/core/utils/ui-definition.utils.d.ts +2 -0
- package/esm2015/cms/index.js +2 -1
- package/esm2015/cms/modules/migrations/index.js +3 -0
- package/esm2015/cms/modules/migrations/migrations.js +11 -0
- package/esm2015/cms/modules/migrations/migrations.module.js +15 -0
- package/esm2015/cms/modules/migrations/services/migrations.service.js +43 -0
- package/esm2015/cms/modules/migrations/types/migrations.types.js +2 -0
- package/esm2015/cms/modules/runtime/services/compilation.service.js +9 -6
- package/esm2015/cms/utils/elements-resolver.js +6 -3
- package/esm2015/core/types/ui-definition.types.js +2 -2
- package/esm2015/core/utils/index.js +2 -1
- package/esm2015/core/utils/ui-definition.utils.js +9 -0
- package/esm2015/src/components/header/header.component.js +4 -5
- package/fesm2015/veloceapps-sdk-cms.js +79 -13
- package/fesm2015/veloceapps-sdk-cms.js.map +1 -1
- package/fesm2015/veloceapps-sdk-core.js +12 -2
- package/fesm2015/veloceapps-sdk-core.js.map +1 -1
- package/fesm2015/veloceapps-sdk.js +2 -3
- package/fesm2015/veloceapps-sdk.js.map +1 -1
- package/package.json +1 -1
@@ -441,6 +441,8 @@
|
|
441
441
|
RuntimeStep["UPDATE"] = "UPDATE";
|
442
442
|
})(exports.RuntimeStep || (exports.RuntimeStep = {}));
|
443
443
|
|
444
|
+
var UI_DEFINITION_VERSION = 3;
|
445
|
+
|
444
446
|
var ContextService = /** @class */ (function () {
|
445
447
|
function ContextService(contextApiService) {
|
446
448
|
this.contextApiService = contextApiService;
|
@@ -1289,6 +1291,14 @@
|
|
1289
1291
|
type: i0.Injectable
|
1290
1292
|
}], ctorParameters: function () { return [{ type: QuoteDraftService }, { type: ConfigurationRuntimeService }, { type: ContextService }, { type: i1__namespace.ConfigurationApiService }, { type: i5__namespace.MessageService }, { type: i6__namespace.DialogService }]; } });
|
1291
1293
|
|
1294
|
+
function extractMetadata(uiDefinition) {
|
1295
|
+
return lodash.omit(uiDefinition, [
|
1296
|
+
'children',
|
1297
|
+
'pages',
|
1298
|
+
'components',
|
1299
|
+
]);
|
1300
|
+
}
|
1301
|
+
|
1292
1302
|
var FlowUpdateService = /** @class */ (function () {
|
1293
1303
|
function FlowUpdateService() {
|
1294
1304
|
}
|
@@ -1854,7 +1864,9 @@
|
|
1854
1864
|
exports.ProductImagesService = ProductImagesService;
|
1855
1865
|
exports.QuoteDraftService = QuoteDraftService;
|
1856
1866
|
exports.SdkCoreModule = SdkCoreModule;
|
1867
|
+
exports.UI_DEFINITION_VERSION = UI_DEFINITION_VERSION;
|
1857
1868
|
exports.calculateCardinalityVariables = calculateCardinalityVariables;
|
1869
|
+
exports.extractMetadata = extractMetadata;
|
1858
1870
|
exports.findLineItem = findLineItem;
|
1859
1871
|
exports.findLineItemWithComparator = findLineItemWithComparator;
|
1860
1872
|
exports.generateLineItem = generateLineItem;
|