@veloceapps/sdk 3.0.4 → 3.0.5

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 (34) hide show
  1. package/bundles/veloce-sdk-cms.umd.js +112 -23
  2. package/bundles/veloce-sdk-cms.umd.js.map +1 -1
  3. package/bundles/veloce-sdk-runtime.umd.js +8 -0
  4. package/bundles/veloce-sdk-runtime.umd.js.map +1 -1
  5. package/bundles/veloce-sdk.umd.js +19 -9
  6. package/bundles/veloce-sdk.umd.js.map +1 -1
  7. package/cms/launcher.module.d.ts +2 -1
  8. package/cms/modules/configuration/services/configuration-runtime.service.d.ts +2 -2
  9. package/cms/modules/flow-configuration/flow-configuration.module.d.ts +6 -0
  10. package/cms/modules/flow-configuration/index.d.ts +2 -0
  11. package/cms/modules/flow-configuration/services/flow-configuration.service.d.ts +25 -0
  12. package/cms/modules/index.d.ts +1 -0
  13. package/cms/types/ui-definition.types.d.ts +2 -0
  14. package/esm2015/cms/components/preview/preview.component.js +2 -4
  15. package/esm2015/cms/launcher.module.js +5 -4
  16. package/esm2015/cms/modules/configuration/helpers.js +2 -2
  17. package/esm2015/cms/modules/configuration/services/configuration-runtime.service.js +7 -5
  18. package/esm2015/cms/modules/flow-configuration/flow-configuration.module.js +17 -0
  19. package/esm2015/cms/modules/flow-configuration/index.js +3 -0
  20. package/esm2015/cms/modules/flow-configuration/services/flow-configuration.service.js +58 -0
  21. package/esm2015/cms/modules/index.js +2 -1
  22. package/esm2015/cms/types/ui-definition.types.js +1 -1
  23. package/esm2015/runtime/services/context.service.js +5 -1
  24. package/esm2015/src/flow.component.js +2 -6
  25. package/esm2015/src/resolvers/quote.resolver.js +21 -6
  26. package/fesm2015/veloce-sdk-cms.js +91 -25
  27. package/fesm2015/veloce-sdk-cms.js.map +1 -1
  28. package/fesm2015/veloce-sdk-runtime.js +4 -0
  29. package/fesm2015/veloce-sdk-runtime.js.map +1 -1
  30. package/fesm2015/veloce-sdk.js +19 -9
  31. package/fesm2015/veloce-sdk.js.map +1 -1
  32. package/package.json +1 -1
  33. package/runtime/services/context.service.d.ts +1 -0
  34. package/src/resolvers/quote.resolver.d.ts +6 -2
@@ -2,7 +2,7 @@
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('@angular/common'), require('@veloce/core'), require('@angular/cdk/drag-drop'), require('@angular/forms'), require('lodash'), require('@veloce/components'), require('@veloce/sdk/runtime'), require('rxjs/operators'), require('@veloce/api'), require('primeng/api'), require('primeng/dynamicdialog'), require('@babel/standalone')) :
3
3
  typeof define === 'function' && define.amd ? define('@veloce/sdk/cms', ['exports', '@angular/core', 'rxjs', '@angular/common', '@veloce/core', '@angular/cdk/drag-drop', '@angular/forms', 'lodash', '@veloce/components', '@veloce/sdk/runtime', 'rxjs/operators', '@veloce/api', 'primeng/api', 'primeng/dynamicdialog', '@babel/standalone'], factory) :
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.veloce = global.veloce || {}, global.veloce.sdk = global.veloce.sdk || {}, global.veloce.sdk.cms = {}), global.ng.core, global.rxjs, global.ng.common, global["@veloce/core"], global.ng.cdk.dragDrop, global.ng.forms, global.lodash, global["@veloce/components"], global.veloce.sdk.runtime, global.rxjs.operators, global["@veloce/api"], global["primeng/api"], global["primeng/dynamicdialog"], global["@babel/standalone"]));
5
- })(this, (function (exports, i0, rxjs, i8, core, dragDrop, angularForms, lodash, i6, i2, rxjsOperators, i1, i2$1, i5, standalone) { 'use strict';
5
+ })(this, (function (exports, i0, rxjs, i8, core, dragDrop, angularForms, lodash, i6, i2, rxjsOperators, i1, i3, i5, standalone) { 'use strict';
6
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -28,10 +28,10 @@
28
28
  var angularForms__namespace = /*#__PURE__*/_interopNamespace(angularForms);
29
29
  var lodash__namespace = /*#__PURE__*/_interopNamespace(lodash);
30
30
  var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
31
- var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2);
31
+ var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
32
32
  var rxjsOperators__namespace = /*#__PURE__*/_interopNamespace(rxjsOperators);
33
33
  var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
34
- var i2__namespace = /*#__PURE__*/_interopNamespace(i2$1);
34
+ var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
35
35
  var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
36
36
 
37
37
  /*! *****************************************************************************
@@ -1009,7 +1009,7 @@
1009
1009
  var getDefaultLineItem = function (context, uiDefinitionProperties) {
1010
1010
  var _a, _b, _c;
1011
1011
  var id = core.UUID.UUID();
1012
- var lineItem = Object.assign({ id: id, type: (_a = uiDefinitionProperties.rootType) !== null && _a !== void 0 ? _a : '', cfgStatus: 'Default', qty: 1, productName: ((_b = context.properties) === null || _b === void 0 ? void 0 : _b.displayName) || context.productName, productId: (_c = context.productId) !== null && _c !== void 0 ? _c : '' }, (context.offeringId
1012
+ var lineItem = Object.assign({ id: id, type: (_a = uiDefinitionProperties.rootType) !== null && _a !== void 0 ? _a : '', cfgStatus: 'Default', actionCode: 'ADD', qty: 1, productName: ((_b = context.properties) === null || _b === void 0 ? void 0 : _b.displayName) || context.productName, productId: (_c = context.productId) !== null && _c !== void 0 ? _c : '' }, (context.offeringId
1013
1013
  ? { offeringId: context.offeringId, offeringInstanceId: context.offeringInstanceId || id }
1014
1014
  : {}));
1015
1015
  return lineItem;
@@ -1066,11 +1066,11 @@
1066
1066
  };
1067
1067
  return RuntimeContextService;
1068
1068
  }());
1069
- RuntimeContextService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: RuntimeContextService, deps: [{ token: i1__namespace.ConfigurationApiService }, { token: i2__namespace.MessageService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1069
+ RuntimeContextService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: RuntimeContextService, deps: [{ token: i1__namespace.ConfigurationApiService }, { token: i3__namespace.MessageService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1070
1070
  RuntimeContextService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: RuntimeContextService });
1071
1071
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: RuntimeContextService, decorators: [{
1072
1072
  type: i0.Injectable
1073
- }], ctorParameters: function () { return [{ type: i1__namespace.ConfigurationApiService }, { type: i2__namespace.MessageService }]; } });
1073
+ }], ctorParameters: function () { return [{ type: i1__namespace.ConfigurationApiService }, { type: i3__namespace.MessageService }]; } });
1074
1074
 
1075
1075
  var ConfigurationRuntimeService = /** @class */ (function () {
1076
1076
  function ConfigurationRuntimeService(apiService, contextService, runtimeContextService) {
@@ -1086,9 +1086,11 @@
1086
1086
  this._assets = undefined;
1087
1087
  this.uiDefinitionProperties = {};
1088
1088
  };
1089
- ConfigurationRuntimeService.prototype.initTestMode = function (modelId, uiDefinitionProperties) {
1089
+ ConfigurationRuntimeService.prototype.initTestMode = function (modelId, uiDefinition) {
1090
1090
  var _this = this;
1091
- this.uiDefinitionProperties = uiDefinitionProperties;
1091
+ var _a, _b;
1092
+ this.uiDefinitionProperties = (_a = uiDefinition.properties) !== null && _a !== void 0 ? _a : {};
1093
+ var uiDefinitionExternals = (_b = uiDefinition.externals) !== null && _b !== void 0 ? _b : {};
1092
1094
  return rxjs.combineLatest([
1093
1095
  this.apiService.getRuntimeDataByModelId(modelId),
1094
1096
  this.contextService.create('TestId', core.ConfigurationContextMode.TEST),
@@ -1101,8 +1103,8 @@
1101
1103
  runtimeMode: i2.RuntimeMode.TEST,
1102
1104
  };
1103
1105
  _this.contextService.update({
1104
- priceListId: uiDefinitionProperties.priceList,
1105
- properties: Object.assign(Object.assign(Object.assign({}, (_a = _this.runtimeContext) === null || _a === void 0 ? void 0 : _a.properties), configurationContext.properties), { ModelId: modelId, RuntimeMode: core.ConfigurationContextMode.TEST, PricingEnabled: String(uiDefinitionProperties.pricingEnabled), StartDate: new Date().toISOString().substring(0, 10), PriceListId: uiDefinitionProperties.priceList }),
1106
+ priceListId: _this.uiDefinitionProperties.priceList,
1107
+ properties: Object.assign(Object.assign(Object.assign(Object.assign({}, (_a = _this.runtimeContext) === null || _a === void 0 ? void 0 : _a.properties), configurationContext.properties), { ModelId: modelId, RuntimeMode: core.ConfigurationContextMode.TEST, PricingEnabled: String(_this.uiDefinitionProperties.pricingEnabled), StartDate: new Date().toISOString().substring(0, 10), PriceListId: _this.uiDefinitionProperties.priceList }), uiDefinitionExternals),
1106
1108
  });
1107
1109
  _this._isInitialized = true;
1108
1110
  }));
@@ -1165,11 +1167,11 @@
1165
1167
  });
1166
1168
  return ConfigurationRuntimeService;
1167
1169
  }());
1168
- ConfigurationRuntimeService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ConfigurationRuntimeService, deps: [{ token: i1__namespace.ConfigurationApiService }, { token: i2__namespace$1.ContextService }, { token: RuntimeContextService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1170
+ ConfigurationRuntimeService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ConfigurationRuntimeService, deps: [{ token: i1__namespace.ConfigurationApiService }, { token: i2__namespace.ContextService }, { token: RuntimeContextService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1169
1171
  ConfigurationRuntimeService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ConfigurationRuntimeService });
1170
1172
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ConfigurationRuntimeService, decorators: [{
1171
1173
  type: i0.Injectable
1172
- }], ctorParameters: function () { return [{ type: i1__namespace.ConfigurationApiService }, { type: i2__namespace$1.ContextService }, { type: RuntimeContextService }]; } });
1174
+ }], ctorParameters: function () { return [{ type: i1__namespace.ConfigurationApiService }, { type: i2__namespace.ContextService }, { type: RuntimeContextService }]; } });
1173
1175
 
1174
1176
  var ConfigurationService = /** @class */ (function () {
1175
1177
  function ConfigurationService(runtimeService, contextService, configurationApiService, messageService, dialogService) {
@@ -1306,11 +1308,11 @@
1306
1308
  };
1307
1309
  return ConfigurationService;
1308
1310
  }());
1309
- ConfigurationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ConfigurationService, deps: [{ token: ConfigurationRuntimeService }, { token: i2__namespace$1.ContextService }, { token: i1__namespace.ConfigurationApiService }, { token: i2__namespace.MessageService }, { token: i5__namespace.DialogService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1311
+ ConfigurationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ConfigurationService, deps: [{ token: ConfigurationRuntimeService }, { token: i2__namespace.ContextService }, { token: i1__namespace.ConfigurationApiService }, { token: i3__namespace.MessageService }, { token: i5__namespace.DialogService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1310
1312
  ConfigurationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ConfigurationService });
1311
1313
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ConfigurationService, decorators: [{
1312
1314
  type: i0.Injectable
1313
- }], ctorParameters: function () { return [{ type: ConfigurationRuntimeService }, { type: i2__namespace$1.ContextService }, { type: i1__namespace.ConfigurationApiService }, { type: i2__namespace.MessageService }, { type: i5__namespace.DialogService }]; } });
1315
+ }], ctorParameters: function () { return [{ type: ConfigurationRuntimeService }, { type: i2__namespace.ContextService }, { type: i1__namespace.ConfigurationApiService }, { type: i3__namespace.MessageService }, { type: i5__namespace.DialogService }]; } });
1314
1316
 
1315
1317
  var ElementRendererComponent = /** @class */ (function () {
1316
1318
  function ElementRendererComponent(parentInjector, dynamicModuleService, elementContext, ioProviderService, configurationService, elementRef, cdr) {
@@ -1762,11 +1764,98 @@
1762
1764
  DEFAULT: [],
1763
1765
  };
1764
1766
 
1767
+ var FlowConfigurationService = /** @class */ (function () {
1768
+ function FlowConfigurationService(priceApiService, contextService, messageService) {
1769
+ this.priceApiService = priceApiService;
1770
+ this.contextService = contextService;
1771
+ this.messageService = messageService;
1772
+ this.lineItems = new rxjs.BehaviorSubject([]);
1773
+ this.charges = new rxjs.BehaviorSubject({});
1774
+ }
1775
+ FlowConfigurationService.prototype.calculate$ = function (currentState) {
1776
+ var _this = this;
1777
+ var context = this.contextService.resolve();
1778
+ return this.priceApiService.calculate({ context: context, currentState: currentState }).pipe(rxjs.tap(function (result) {
1779
+ _this.lineItems.next(result.lineItems);
1780
+ _this.charges.next(result.charges);
1781
+ if (context) {
1782
+ _this.contextService.update({ properties: context.properties });
1783
+ }
1784
+ }), rxjs.catchError(function (error) {
1785
+ console.error(error);
1786
+ _this.messageService.add({ severity: 'error', summary: error });
1787
+ // bounce back if configuration call has failed
1788
+ _this.lineItems.next(_this.lineItems.value.slice());
1789
+ return rxjs.throwError(function () { return error; });
1790
+ }));
1791
+ };
1792
+ FlowConfigurationService.prototype.calculate = function (currentState) {
1793
+ this.calculate$(currentState).subscribe();
1794
+ };
1795
+ FlowConfigurationService.prototype.get = function () {
1796
+ return this.lineItems.asObservable().pipe(rxjs.shareReplay());
1797
+ };
1798
+ FlowConfigurationService.prototype.getSnapshot = function () {
1799
+ return this.lineItems.value.slice();
1800
+ };
1801
+ Object.defineProperty(FlowConfigurationService.prototype, "charges$", {
1802
+ get: function () {
1803
+ return this.charges.asObservable();
1804
+ },
1805
+ enumerable: false,
1806
+ configurable: true
1807
+ });
1808
+ Object.defineProperty(FlowConfigurationService.prototype, "chargesSnapshot", {
1809
+ get: function () {
1810
+ return this.charges.value;
1811
+ },
1812
+ enumerable: false,
1813
+ configurable: true
1814
+ });
1815
+ Object.defineProperty(FlowConfigurationService.prototype, "contextSnapshot", {
1816
+ get: function () {
1817
+ return this.contextService.resolve();
1818
+ },
1819
+ enumerable: false,
1820
+ configurable: true
1821
+ });
1822
+ Object.defineProperty(FlowConfigurationService.prototype, "context$", {
1823
+ get: function () {
1824
+ return this.contextService.resolve$();
1825
+ },
1826
+ enumerable: false,
1827
+ configurable: true
1828
+ });
1829
+ return FlowConfigurationService;
1830
+ }());
1831
+ FlowConfigurationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FlowConfigurationService, deps: [{ token: i1__namespace.PriceApiService }, { token: i2__namespace.ContextService }, { token: i3__namespace.MessageService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1832
+ FlowConfigurationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FlowConfigurationService });
1833
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FlowConfigurationService, decorators: [{
1834
+ type: i0.Injectable
1835
+ }], ctorParameters: function () { return [{ type: i1__namespace.PriceApiService }, { type: i2__namespace.ContextService }, { type: i3__namespace.MessageService }]; } });
1836
+
1837
+ var FlowConfigurationModule = /** @class */ (function () {
1838
+ function FlowConfigurationModule() {
1839
+ }
1840
+ return FlowConfigurationModule;
1841
+ }());
1842
+ FlowConfigurationModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FlowConfigurationModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1843
+ FlowConfigurationModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FlowConfigurationModule });
1844
+ FlowConfigurationModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FlowConfigurationModule, providers: [FlowConfigurationService, i2.ContextService, i1.PriceApiService] });
1845
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: FlowConfigurationModule, decorators: [{
1846
+ type: i0.NgModule,
1847
+ args: [{
1848
+ providers: [FlowConfigurationService, i2.ContextService, i1.PriceApiService],
1849
+ }]
1850
+ }] });
1851
+
1765
1852
  var vlCmsModules = /*#__PURE__*/Object.freeze({
1766
1853
  __proto__: null,
1767
1854
  getDefaultLineItem: getDefaultLineItem,
1768
1855
  ConfigurationRuntimeService: ConfigurationRuntimeService,
1769
- ConfigurationService: ConfigurationService
1856
+ ConfigurationService: ConfigurationService,
1857
+ FlowConfigurationModule: FlowConfigurationModule,
1858
+ FlowConfigurationService: FlowConfigurationService
1770
1859
  });
1771
1860
 
1772
1861
  var InitAction = { type: 'INIT' };
@@ -2051,7 +2140,6 @@
2051
2140
  };
2052
2141
  PreviewComponent.prototype.initializeConfiguration$ = function () {
2053
2142
  var _this = this;
2054
- var _a;
2055
2143
  var isAlreadyInitialized = this.runtimeService.isInitialized;
2056
2144
  if (!this.uiDefinition || this.uiDefinition.type !== 'CONFIGURATION' || isAlreadyInitialized) {
2057
2145
  return rxjs.of({});
@@ -2061,9 +2149,8 @@
2061
2149
  return rxjs.of({});
2062
2150
  }
2063
2151
  // If still not initialized - init configuration in Test mode
2064
- var uiDefinitionProps = (_a = this.uiDefinition.properties) !== null && _a !== void 0 ? _a : {};
2065
2152
  return this.runtimeService
2066
- .initTestMode(this.modelId, uiDefinitionProps)
2153
+ .initTestMode(this.modelId, this.uiDefinition)
2067
2154
  .pipe(rxjs.switchMap(function () { return _this.configurationService.configure(); }));
2068
2155
  };
2069
2156
  PreviewComponent.prototype.elementToMetadataSafe = function (elements) {
@@ -2101,7 +2188,7 @@
2101
2188
  };
2102
2189
  return PreviewComponent;
2103
2190
  }());
2104
- PreviewComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PreviewComponent, deps: [{ token: LauncherService }, { token: ConfigurationService }, { token: i2__namespace.MessageService }, { token: ConfigurationRuntimeService }, { token: IntegrationState }], target: i0__namespace.ɵɵFactoryTarget.Component });
2191
+ PreviewComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PreviewComponent, deps: [{ token: LauncherService }, { token: ConfigurationService }, { token: i3__namespace.MessageService }, { token: ConfigurationRuntimeService }, { token: IntegrationState }], target: i0__namespace.ɵɵFactoryTarget.Component });
2105
2192
  PreviewComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: PreviewComponent, selector: "vl-cms-preview", inputs: { modelId: "modelId", uiDefinition: "uiDefinition", clearState: "clearState" }, providers: [IOProviderService, TemplatesService], ngImport: i0__namespace, template: "<ng-container *ngIf=\"state$ | async as state\">\n <vl-loader *ngIf=\"state.loading; else content\" [label]=\"'Loading UI'\"></vl-loader>\n\n <ng-template #content>\n <ng-container *ngIf=\"!state.failure\">\n <vl-cms-element-renderer *ngFor=\"let el of elements\" [meta]=\"el\"></vl-cms-element-renderer>\n </ng-container>\n </ng-template>\n</ng-container>\n", styles: [":host{flex-grow:1;display:flex;flex-direction:column;height:100%}\n"], components: [{ type: i6__namespace.LoaderComponent, selector: "vl-loader", inputs: ["label", "overlayVisible"] }, { type: ElementRendererComponent, selector: "vl-cms-element-renderer", inputs: ["meta"] }], directives: [{ type: i8__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i8__namespace.AsyncPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.ShadowDom });
2106
2193
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PreviewComponent, decorators: [{
2107
2194
  type: i0.Component,
@@ -2114,7 +2201,7 @@
2114
2201
  // use shadow DOM to prevent UI from being affected by global styles
2115
2202
  encapsulation: i0.ViewEncapsulation.ShadowDom,
2116
2203
  }]
2117
- }], ctorParameters: function () { return [{ type: LauncherService }, { type: ConfigurationService }, { type: i2__namespace.MessageService }, { type: ConfigurationRuntimeService }, { type: IntegrationState }]; }, propDecorators: { modelId: [{
2204
+ }], ctorParameters: function () { return [{ type: LauncherService }, { type: ConfigurationService }, { type: i3__namespace.MessageService }, { type: ConfigurationRuntimeService }, { type: IntegrationState }]; }, propDecorators: { modelId: [{
2118
2205
  type: i0.Input
2119
2206
  }], uiDefinition: [{
2120
2207
  type: i0.Input
@@ -2217,12 +2304,12 @@
2217
2304
  return LauncherModule;
2218
2305
  }());
2219
2306
  LauncherModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LauncherModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2220
- LauncherModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LauncherModule, imports: [i8.CommonModule, core.CoreModule, i1.ApiModule, ConfigurationModule] });
2221
- LauncherModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LauncherModule, providers: [LauncherService, IntegrationState, DynamicModuleService, i5.DialogService], imports: [[i8.CommonModule, core.CoreModule, i1.ApiModule, ConfigurationModule]] });
2307
+ LauncherModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LauncherModule, imports: [i8.CommonModule, core.CoreModule, i1.ApiModule, ConfigurationModule, FlowConfigurationModule] });
2308
+ LauncherModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LauncherModule, providers: [LauncherService, IntegrationState, DynamicModuleService, i5.DialogService], imports: [[i8.CommonModule, core.CoreModule, i1.ApiModule, ConfigurationModule, FlowConfigurationModule]] });
2222
2309
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: LauncherModule, decorators: [{
2223
2310
  type: i0.NgModule,
2224
2311
  args: [{
2225
- imports: [i8.CommonModule, core.CoreModule, i1.ApiModule, ConfigurationModule],
2312
+ imports: [i8.CommonModule, core.CoreModule, i1.ApiModule, ConfigurationModule, FlowConfigurationModule],
2226
2313
  providers: [LauncherService, IntegrationState, DynamicModuleService, i5.DialogService],
2227
2314
  }]
2228
2315
  }] });
@@ -2237,6 +2324,8 @@
2237
2324
  exports.ELEMENT_CONFIG = ELEMENT_CONFIG;
2238
2325
  exports.ELEMENT_METADATA = ELEMENT_METADATA;
2239
2326
  exports.ElementDefinition = ElementDefinition;
2327
+ exports.FlowConfigurationModule = FlowConfigurationModule;
2328
+ exports.FlowConfigurationService = FlowConfigurationService;
2240
2329
  exports.IntegrationState = IntegrationState;
2241
2330
  exports.LauncherModule = LauncherModule;
2242
2331
  exports.LauncherService = LauncherService;