@veloceapps/sdk 2.0.2 → 2.0.4
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/veloce-sdk-cms.umd.js +28 -8
- package/bundles/veloce-sdk-cms.umd.js.map +1 -1
- package/bundles/veloce-sdk-runtime.umd.js +0 -29
- package/bundles/veloce-sdk-runtime.umd.js.map +1 -1
- package/cms/modules/configuration/services/configuration.service.d.ts +5 -1
- package/esm2015/cms/launcher.module.js +4 -3
- package/esm2015/cms/modules/configuration/services/configuration.service.js +12 -5
- package/esm2015/cms/plugins/script.plugin.js +6 -1
- package/esm2015/cms/utils/element.utils.js +4 -3
- package/esm2015/runtime/execution/runtime-execution.module.js +1 -4
- package/esm2015/runtime/runtime.module.js +1 -4
- package/esm2015/runtime/services/index.js +1 -2
- package/esm2015/runtime/types/index.js +1 -2
- package/fesm2015/veloce-sdk-cms.js +21 -9
- package/fesm2015/veloce-sdk-cms.js.map +1 -1
- package/fesm2015/veloce-sdk-runtime.js +1 -25
- package/fesm2015/veloce-sdk-runtime.js.map +1 -1
- package/package.json +2 -2
- package/runtime/services/index.d.ts +0 -1
- package/runtime/types/index.d.ts +0 -1
- package/esm2015/runtime/services/flow.service.js +0 -24
- package/esm2015/runtime/types/flow.types.js +0 -2
- package/runtime/services/flow.service.d.ts +0 -14
- package/runtime/types/flow.types.d.ts +0 -5
|
@@ -1422,30 +1422,6 @@
|
|
|
1422
1422
|
args: [{ providedIn: 'root' }]
|
|
1423
1423
|
}] });
|
|
1424
1424
|
|
|
1425
|
-
var FlowService = /** @class */ (function () {
|
|
1426
|
-
function FlowService(configurationSettingsApiService) {
|
|
1427
|
-
this.configurationSettingsApiService = configurationSettingsApiService;
|
|
1428
|
-
this.flowsKey = 'flows';
|
|
1429
|
-
}
|
|
1430
|
-
FlowService.prototype.getFlow = function (id) {
|
|
1431
|
-
return this.fetchFlows().pipe(rxjsOperators.map(function (flows) { return flows.find(function (flow) { return flow.id == id; }); }));
|
|
1432
|
-
};
|
|
1433
|
-
FlowService.prototype.fetchFlows = function () {
|
|
1434
|
-
return this.configurationSettingsApiService
|
|
1435
|
-
.fetchSetting(this.flowsKey)
|
|
1436
|
-
.pipe(rxjsOperators.map(function (_a) {
|
|
1437
|
-
var value = _a.value;
|
|
1438
|
-
return (value ? JSON.parse(value) : []);
|
|
1439
|
-
}));
|
|
1440
|
-
};
|
|
1441
|
-
return FlowService;
|
|
1442
|
-
}());
|
|
1443
|
-
FlowService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FlowService, deps: [{ token: i1__namespace.ConfigurationSettingsApiService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1444
|
-
FlowService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FlowService });
|
|
1445
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FlowService, decorators: [{
|
|
1446
|
-
type: i0.Injectable
|
|
1447
|
-
}], ctorParameters: function () { return [{ type: i1__namespace.ConfigurationSettingsApiService }]; } });
|
|
1448
|
-
|
|
1449
1425
|
var ProductModelCacheService = /** @class */ (function () {
|
|
1450
1426
|
function ProductModelCacheService(productModelApiService) {
|
|
1451
1427
|
this.productModelApiService = productModelApiService;
|
|
@@ -3403,7 +3379,6 @@
|
|
|
3403
3379
|
RuntimeContextService,
|
|
3404
3380
|
RuntimeFormService,
|
|
3405
3381
|
CurrentStateService,
|
|
3406
|
-
FlowService,
|
|
3407
3382
|
ProductModelCacheService,
|
|
3408
3383
|
i5.DatePipe,
|
|
3409
3384
|
SectionStoreService,
|
|
@@ -3450,7 +3425,6 @@
|
|
|
3450
3425
|
RuntimeContextService,
|
|
3451
3426
|
RuntimeFormService,
|
|
3452
3427
|
CurrentStateService,
|
|
3453
|
-
FlowService,
|
|
3454
3428
|
ProductModelCacheService,
|
|
3455
3429
|
i5.DatePipe,
|
|
3456
3430
|
SectionStoreService,
|
|
@@ -4378,7 +4352,6 @@
|
|
|
4378
4352
|
RuntimeContextService,
|
|
4379
4353
|
RuntimeFormService,
|
|
4380
4354
|
CurrentStateService,
|
|
4381
|
-
FlowService,
|
|
4382
4355
|
ProductModelCacheService,
|
|
4383
4356
|
i5.DatePipe,
|
|
4384
4357
|
SectionsService,
|
|
@@ -4407,7 +4380,6 @@
|
|
|
4407
4380
|
RuntimeContextService,
|
|
4408
4381
|
RuntimeFormService,
|
|
4409
4382
|
CurrentStateService,
|
|
4410
|
-
FlowService,
|
|
4411
4383
|
ProductModelCacheService,
|
|
4412
4384
|
i5.DatePipe,
|
|
4413
4385
|
SectionsService,
|
|
@@ -4441,7 +4413,6 @@
|
|
|
4441
4413
|
exports.ComponentPreviewComponent = ComponentPreviewComponent;
|
|
4442
4414
|
exports.ContextService = ContextService;
|
|
4443
4415
|
exports.CurrentStateService = CurrentStateService;
|
|
4444
|
-
exports.FlowService = FlowService;
|
|
4445
4416
|
exports.QuoteService = QuoteService;
|
|
4446
4417
|
exports.RuntimeComponent = RuntimeComponent;
|
|
4447
4418
|
exports.RuntimeContextService = RuntimeContextService;
|