@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.
- package/bundles/veloce-sdk-cms.umd.js +112 -23
- package/bundles/veloce-sdk-cms.umd.js.map +1 -1
- package/bundles/veloce-sdk-runtime.umd.js +8 -0
- package/bundles/veloce-sdk-runtime.umd.js.map +1 -1
- package/bundles/veloce-sdk.umd.js +19 -9
- package/bundles/veloce-sdk.umd.js.map +1 -1
- package/cms/launcher.module.d.ts +2 -1
- package/cms/modules/configuration/services/configuration-runtime.service.d.ts +2 -2
- package/cms/modules/flow-configuration/flow-configuration.module.d.ts +6 -0
- package/cms/modules/flow-configuration/index.d.ts +2 -0
- package/cms/modules/flow-configuration/services/flow-configuration.service.d.ts +25 -0
- package/cms/modules/index.d.ts +1 -0
- package/cms/types/ui-definition.types.d.ts +2 -0
- package/esm2015/cms/components/preview/preview.component.js +2 -4
- package/esm2015/cms/launcher.module.js +5 -4
- package/esm2015/cms/modules/configuration/helpers.js +2 -2
- package/esm2015/cms/modules/configuration/services/configuration-runtime.service.js +7 -5
- package/esm2015/cms/modules/flow-configuration/flow-configuration.module.js +17 -0
- package/esm2015/cms/modules/flow-configuration/index.js +3 -0
- package/esm2015/cms/modules/flow-configuration/services/flow-configuration.service.js +58 -0
- package/esm2015/cms/modules/index.js +2 -1
- package/esm2015/cms/types/ui-definition.types.js +1 -1
- package/esm2015/runtime/services/context.service.js +5 -1
- package/esm2015/src/flow.component.js +2 -6
- package/esm2015/src/resolvers/quote.resolver.js +21 -6
- package/fesm2015/veloce-sdk-cms.js +91 -25
- package/fesm2015/veloce-sdk-cms.js.map +1 -1
- package/fesm2015/veloce-sdk-runtime.js +4 -0
- package/fesm2015/veloce-sdk-runtime.js.map +1 -1
- package/fesm2015/veloce-sdk.js +19 -9
- package/fesm2015/veloce-sdk.js.map +1 -1
- package/package.json +1 -1
- package/runtime/services/context.service.d.ts +1 -0
- package/src/resolvers/quote.resolver.d.ts +6 -2
|
@@ -2,7 +2,7 @@ import { __decorate, __param, __awaiter, __rest } from 'tslib';
|
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { InjectionToken, Component, ChangeDetectionStrategy, Inject, Injector, Injectable, Directive, ViewContainerRef, SkipSelf, ViewChild, Input, EventEmitter, TemplateRef, Output, NgModule, ViewEncapsulation } from '@angular/core';
|
|
4
4
|
import * as rxjs from 'rxjs';
|
|
5
|
-
import { BehaviorSubject, combineLatest, of, throwError, shareReplay, Subject, takeUntil, map as map$1,
|
|
5
|
+
import { BehaviorSubject, combineLatest, of, throwError, shareReplay, Subject, takeUntil, map as map$1, tap as tap$1, catchError as catchError$1, filter, from, switchMap, forkJoin } from 'rxjs';
|
|
6
6
|
import * as i8 from '@angular/common';
|
|
7
7
|
import { DOCUMENT, CommonModule } from '@angular/common';
|
|
8
8
|
import { UUID, EntityUtil, RuntimeModel, ConfigurationContextMode, SalesforceIdUtils, ConfigurationMode, CoreModule } from '@veloce/core';
|
|
@@ -13,13 +13,13 @@ import * as lodash from 'lodash';
|
|
|
13
13
|
import { compact, sortBy, isArray, pull, flatten, set } from 'lodash';
|
|
14
14
|
import * as i6 from '@veloce/components';
|
|
15
15
|
import { ConfirmationComponent, LoaderModule, ConfirmationDialogModule } from '@veloce/components';
|
|
16
|
-
import * as i2
|
|
16
|
+
import * as i2 from '@veloce/sdk/runtime';
|
|
17
17
|
import { RuntimeMode, RuntimeStep, ContextService } from '@veloce/sdk/runtime';
|
|
18
18
|
import * as rxjsOperators from 'rxjs/operators';
|
|
19
19
|
import { map, first, tap, catchError } from 'rxjs/operators';
|
|
20
20
|
import * as i1 from '@veloce/api';
|
|
21
|
-
import { SalesforceApiService, QuoteApiService, DocumentTemplatesApiService, DocumentAttachmentApiService, ContextApiService, ProductModelApiService, ConfigurationApiService, ApiModule } from '@veloce/api';
|
|
22
|
-
import * as
|
|
21
|
+
import { PriceApiService, SalesforceApiService, QuoteApiService, DocumentTemplatesApiService, DocumentAttachmentApiService, ContextApiService, ProductModelApiService, ConfigurationApiService, ApiModule } from '@veloce/api';
|
|
22
|
+
import * as i3 from 'primeng/api';
|
|
23
23
|
import * as i5 from 'primeng/dynamicdialog';
|
|
24
24
|
import { DialogService } from 'primeng/dynamicdialog';
|
|
25
25
|
import { transform } from '@babel/standalone';
|
|
@@ -616,7 +616,7 @@ var vlCmsLineItemTypes = /*#__PURE__*/Object.freeze({
|
|
|
616
616
|
const getDefaultLineItem = (context, uiDefinitionProperties) => {
|
|
617
617
|
var _a, _b, _c;
|
|
618
618
|
const id = UUID.UUID();
|
|
619
|
-
const lineItem = Object.assign({ 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
|
|
619
|
+
const lineItem = Object.assign({ 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
|
|
620
620
|
? { offeringId: context.offeringId, offeringInstanceId: context.offeringInstanceId || id }
|
|
621
621
|
: {}));
|
|
622
622
|
return lineItem;
|
|
@@ -671,11 +671,11 @@ class RuntimeContextService {
|
|
|
671
671
|
return uiDefinition;
|
|
672
672
|
}
|
|
673
673
|
}
|
|
674
|
-
RuntimeContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RuntimeContextService, deps: [{ token: i1.ConfigurationApiService }, { token:
|
|
674
|
+
RuntimeContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RuntimeContextService, deps: [{ token: i1.ConfigurationApiService }, { token: i3.MessageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
675
675
|
RuntimeContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RuntimeContextService });
|
|
676
676
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RuntimeContextService, decorators: [{
|
|
677
677
|
type: Injectable
|
|
678
|
-
}], ctorParameters: function () { return [{ type: i1.ConfigurationApiService }, { type:
|
|
678
|
+
}], ctorParameters: function () { return [{ type: i1.ConfigurationApiService }, { type: i3.MessageService }]; } });
|
|
679
679
|
|
|
680
680
|
class ConfigurationRuntimeService {
|
|
681
681
|
constructor(apiService, contextService, runtimeContextService) {
|
|
@@ -691,8 +691,10 @@ class ConfigurationRuntimeService {
|
|
|
691
691
|
this._assets = undefined;
|
|
692
692
|
this.uiDefinitionProperties = {};
|
|
693
693
|
}
|
|
694
|
-
initTestMode(modelId,
|
|
695
|
-
|
|
694
|
+
initTestMode(modelId, uiDefinition) {
|
|
695
|
+
var _a, _b;
|
|
696
|
+
this.uiDefinitionProperties = (_a = uiDefinition.properties) !== null && _a !== void 0 ? _a : {};
|
|
697
|
+
const uiDefinitionExternals = (_b = uiDefinition.externals) !== null && _b !== void 0 ? _b : {};
|
|
696
698
|
return combineLatest([
|
|
697
699
|
this.apiService.getRuntimeDataByModelId(modelId),
|
|
698
700
|
this.contextService.create('TestId', ConfigurationContextMode.TEST),
|
|
@@ -704,8 +706,8 @@ class ConfigurationRuntimeService {
|
|
|
704
706
|
runtimeMode: RuntimeMode.TEST,
|
|
705
707
|
};
|
|
706
708
|
this.contextService.update({
|
|
707
|
-
priceListId: uiDefinitionProperties.priceList,
|
|
708
|
-
properties: Object.assign(Object.assign(Object.assign({}, (_a = this.runtimeContext) === null || _a === void 0 ? void 0 : _a.properties), configurationContext.properties), { ModelId: modelId, RuntimeMode: ConfigurationContextMode.TEST, PricingEnabled: String(uiDefinitionProperties.pricingEnabled), StartDate: new Date().toISOString().substring(0, 10), PriceListId: uiDefinitionProperties.priceList }),
|
|
709
|
+
priceListId: this.uiDefinitionProperties.priceList,
|
|
710
|
+
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: ConfigurationContextMode.TEST, PricingEnabled: String(this.uiDefinitionProperties.pricingEnabled), StartDate: new Date().toISOString().substring(0, 10), PriceListId: this.uiDefinitionProperties.priceList }), uiDefinitionExternals),
|
|
709
711
|
});
|
|
710
712
|
this._isInitialized = true;
|
|
711
713
|
}));
|
|
@@ -754,11 +756,11 @@ class ConfigurationRuntimeService {
|
|
|
754
756
|
return this._runtimeContext;
|
|
755
757
|
}
|
|
756
758
|
}
|
|
757
|
-
ConfigurationRuntimeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ConfigurationRuntimeService, deps: [{ token: i1.ConfigurationApiService }, { token: i2
|
|
759
|
+
ConfigurationRuntimeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ConfigurationRuntimeService, deps: [{ token: i1.ConfigurationApiService }, { token: i2.ContextService }, { token: RuntimeContextService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
758
760
|
ConfigurationRuntimeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ConfigurationRuntimeService });
|
|
759
761
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ConfigurationRuntimeService, decorators: [{
|
|
760
762
|
type: Injectable
|
|
761
|
-
}], ctorParameters: function () { return [{ type: i1.ConfigurationApiService }, { type: i2
|
|
763
|
+
}], ctorParameters: function () { return [{ type: i1.ConfigurationApiService }, { type: i2.ContextService }, { type: RuntimeContextService }]; } });
|
|
762
764
|
|
|
763
765
|
class ConfigurationService {
|
|
764
766
|
constructor(runtimeService, contextService, configurationApiService, messageService, dialogService) {
|
|
@@ -882,11 +884,11 @@ class ConfigurationService {
|
|
|
882
884
|
});
|
|
883
885
|
}
|
|
884
886
|
}
|
|
885
|
-
ConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ConfigurationService, deps: [{ token: ConfigurationRuntimeService }, { token: i2
|
|
887
|
+
ConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ConfigurationService, deps: [{ token: ConfigurationRuntimeService }, { token: i2.ContextService }, { token: i1.ConfigurationApiService }, { token: i3.MessageService }, { token: i5.DialogService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
886
888
|
ConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ConfigurationService });
|
|
887
889
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ConfigurationService, decorators: [{
|
|
888
890
|
type: Injectable
|
|
889
|
-
}], ctorParameters: function () { return [{ type: ConfigurationRuntimeService }, { type: i2
|
|
891
|
+
}], ctorParameters: function () { return [{ type: ConfigurationRuntimeService }, { type: i2.ContextService }, { type: i1.ConfigurationApiService }, { type: i3.MessageService }, { type: i5.DialogService }]; } });
|
|
890
892
|
|
|
891
893
|
class ElementRendererComponent {
|
|
892
894
|
constructor(parentInjector, dynamicModuleService, elementContext, ioProviderService, configurationService, elementRef, cdr) {
|
|
@@ -1281,11 +1283,77 @@ const DEFAULT_PLUGINS = {
|
|
|
1281
1283
|
DEFAULT: [],
|
|
1282
1284
|
};
|
|
1283
1285
|
|
|
1286
|
+
class FlowConfigurationService {
|
|
1287
|
+
constructor(priceApiService, contextService, messageService) {
|
|
1288
|
+
this.priceApiService = priceApiService;
|
|
1289
|
+
this.contextService = contextService;
|
|
1290
|
+
this.messageService = messageService;
|
|
1291
|
+
this.lineItems = new BehaviorSubject([]);
|
|
1292
|
+
this.charges = new BehaviorSubject({});
|
|
1293
|
+
}
|
|
1294
|
+
calculate$(currentState) {
|
|
1295
|
+
const context = this.contextService.resolve();
|
|
1296
|
+
return this.priceApiService.calculate({ context, currentState }).pipe(tap$1((result) => {
|
|
1297
|
+
this.lineItems.next(result.lineItems);
|
|
1298
|
+
this.charges.next(result.charges);
|
|
1299
|
+
if (context) {
|
|
1300
|
+
this.contextService.update({ properties: context.properties });
|
|
1301
|
+
}
|
|
1302
|
+
}), catchError$1(error => {
|
|
1303
|
+
console.error(error);
|
|
1304
|
+
this.messageService.add({ severity: 'error', summary: error });
|
|
1305
|
+
// bounce back if configuration call has failed
|
|
1306
|
+
this.lineItems.next(this.lineItems.value.slice());
|
|
1307
|
+
return throwError(() => error);
|
|
1308
|
+
}));
|
|
1309
|
+
}
|
|
1310
|
+
calculate(currentState) {
|
|
1311
|
+
this.calculate$(currentState).subscribe();
|
|
1312
|
+
}
|
|
1313
|
+
get() {
|
|
1314
|
+
return this.lineItems.asObservable().pipe(shareReplay());
|
|
1315
|
+
}
|
|
1316
|
+
getSnapshot() {
|
|
1317
|
+
return this.lineItems.value.slice();
|
|
1318
|
+
}
|
|
1319
|
+
get charges$() {
|
|
1320
|
+
return this.charges.asObservable();
|
|
1321
|
+
}
|
|
1322
|
+
get chargesSnapshot() {
|
|
1323
|
+
return this.charges.value;
|
|
1324
|
+
}
|
|
1325
|
+
get contextSnapshot() {
|
|
1326
|
+
return this.contextService.resolve();
|
|
1327
|
+
}
|
|
1328
|
+
get context$() {
|
|
1329
|
+
return this.contextService.resolve$();
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
FlowConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FlowConfigurationService, deps: [{ token: i1.PriceApiService }, { token: i2.ContextService }, { token: i3.MessageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1333
|
+
FlowConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FlowConfigurationService });
|
|
1334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FlowConfigurationService, decorators: [{
|
|
1335
|
+
type: Injectable
|
|
1336
|
+
}], ctorParameters: function () { return [{ type: i1.PriceApiService }, { type: i2.ContextService }, { type: i3.MessageService }]; } });
|
|
1337
|
+
|
|
1338
|
+
class FlowConfigurationModule {
|
|
1339
|
+
}
|
|
1340
|
+
FlowConfigurationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FlowConfigurationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1341
|
+
FlowConfigurationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FlowConfigurationModule });
|
|
1342
|
+
FlowConfigurationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FlowConfigurationModule, providers: [FlowConfigurationService, ContextService, PriceApiService] });
|
|
1343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: FlowConfigurationModule, decorators: [{
|
|
1344
|
+
type: NgModule,
|
|
1345
|
+
args: [{
|
|
1346
|
+
providers: [FlowConfigurationService, ContextService, PriceApiService],
|
|
1347
|
+
}]
|
|
1348
|
+
}] });
|
|
1349
|
+
|
|
1284
1350
|
var vlCmsModules = /*#__PURE__*/Object.freeze({
|
|
1285
1351
|
__proto__: null,
|
|
1286
1352
|
getDefaultLineItem: getDefaultLineItem,
|
|
1287
1353
|
ConfigurationRuntimeService: ConfigurationRuntimeService,
|
|
1288
|
-
ConfigurationService: ConfigurationService
|
|
1354
|
+
ConfigurationService: ConfigurationService,
|
|
1355
|
+
FlowConfigurationModule: FlowConfigurationModule,
|
|
1356
|
+
FlowConfigurationService: FlowConfigurationService
|
|
1289
1357
|
});
|
|
1290
1358
|
|
|
1291
1359
|
const InitAction = { type: 'INIT' };
|
|
@@ -1536,7 +1604,6 @@ class PreviewComponent {
|
|
|
1536
1604
|
}
|
|
1537
1605
|
}
|
|
1538
1606
|
initializeConfiguration$() {
|
|
1539
|
-
var _a;
|
|
1540
1607
|
const isAlreadyInitialized = this.runtimeService.isInitialized;
|
|
1541
1608
|
if (!this.uiDefinition || this.uiDefinition.type !== 'CONFIGURATION' || isAlreadyInitialized) {
|
|
1542
1609
|
return of({});
|
|
@@ -1546,9 +1613,8 @@ class PreviewComponent {
|
|
|
1546
1613
|
return of({});
|
|
1547
1614
|
}
|
|
1548
1615
|
// If still not initialized - init configuration in Test mode
|
|
1549
|
-
const uiDefinitionProps = (_a = this.uiDefinition.properties) !== null && _a !== void 0 ? _a : {};
|
|
1550
1616
|
return this.runtimeService
|
|
1551
|
-
.initTestMode(this.modelId,
|
|
1617
|
+
.initTestMode(this.modelId, this.uiDefinition)
|
|
1552
1618
|
.pipe(switchMap(() => this.configurationService.configure()));
|
|
1553
1619
|
}
|
|
1554
1620
|
elementToMetadataSafe(elements) {
|
|
@@ -1584,7 +1650,7 @@ class PreviewComponent {
|
|
|
1584
1650
|
.subscribe();
|
|
1585
1651
|
}
|
|
1586
1652
|
}
|
|
1587
|
-
PreviewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PreviewComponent, deps: [{ token: LauncherService }, { token: ConfigurationService }, { token:
|
|
1653
|
+
PreviewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PreviewComponent, deps: [{ token: LauncherService }, { token: ConfigurationService }, { token: i3.MessageService }, { token: ConfigurationRuntimeService }, { token: IntegrationState }], target: i0.ɵɵFactoryTarget.Component });
|
|
1588
1654
|
PreviewComponent.ɵcmp = i0.ɵɵ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, 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.LoaderComponent, selector: "vl-loader", inputs: ["label", "overlayVisible"] }, { type: ElementRendererComponent, selector: "vl-cms-element-renderer", inputs: ["meta"] }], directives: [{ type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i8.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.ShadowDom });
|
|
1589
1655
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: PreviewComponent, decorators: [{
|
|
1590
1656
|
type: Component,
|
|
@@ -1597,7 +1663,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
|
|
|
1597
1663
|
// use shadow DOM to prevent UI from being affected by global styles
|
|
1598
1664
|
encapsulation: ViewEncapsulation.ShadowDom,
|
|
1599
1665
|
}]
|
|
1600
|
-
}], ctorParameters: function () { return [{ type: LauncherService }, { type: ConfigurationService }, { type:
|
|
1666
|
+
}], ctorParameters: function () { return [{ type: LauncherService }, { type: ConfigurationService }, { type: i3.MessageService }, { type: ConfigurationRuntimeService }, { type: IntegrationState }]; }, propDecorators: { modelId: [{
|
|
1601
1667
|
type: Input
|
|
1602
1668
|
}], uiDefinition: [{
|
|
1603
1669
|
type: Input
|
|
@@ -1685,12 +1751,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
|
|
|
1685
1751
|
class LauncherModule {
|
|
1686
1752
|
}
|
|
1687
1753
|
LauncherModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: LauncherModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1688
|
-
LauncherModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: LauncherModule, imports: [CommonModule, CoreModule, ApiModule, ConfigurationModule] });
|
|
1689
|
-
LauncherModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: LauncherModule, providers: [LauncherService, IntegrationState, DynamicModuleService, DialogService], imports: [[CommonModule, CoreModule, ApiModule, ConfigurationModule]] });
|
|
1754
|
+
LauncherModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: LauncherModule, imports: [CommonModule, CoreModule, ApiModule, ConfigurationModule, FlowConfigurationModule] });
|
|
1755
|
+
LauncherModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: LauncherModule, providers: [LauncherService, IntegrationState, DynamicModuleService, DialogService], imports: [[CommonModule, CoreModule, ApiModule, ConfigurationModule, FlowConfigurationModule]] });
|
|
1690
1756
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: LauncherModule, decorators: [{
|
|
1691
1757
|
type: NgModule,
|
|
1692
1758
|
args: [{
|
|
1693
|
-
imports: [CommonModule, CoreModule, ApiModule, ConfigurationModule],
|
|
1759
|
+
imports: [CommonModule, CoreModule, ApiModule, ConfigurationModule, FlowConfigurationModule],
|
|
1694
1760
|
providers: [LauncherService, IntegrationState, DynamicModuleService, DialogService],
|
|
1695
1761
|
}]
|
|
1696
1762
|
}] });
|
|
@@ -1699,5 +1765,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
|
|
|
1699
1765
|
* Generated bundle index. Do not edit.
|
|
1700
1766
|
*/
|
|
1701
1767
|
|
|
1702
|
-
export { ConfigurationRuntimeService, ConfigurationService, DEFAULT_PLUGINS_TOKEN, ELEMENT_CONFIG, ELEMENT_METADATA, ElementComponent, ElementDefinition, IntegrationState, LauncherModule, LauncherService, LineItemWorker, PreviewComponent, PreviewModule, SHARED_ELEMENT_METADATA, TemplatesService, UI_DEFINITION_METADATA, UiBuildError, VENDOR_MAP, doesElementSupportIO, elementToMetadata, extendElementMetadata, extractElementMetadata, findLineItem, generateLineItem, getAttributeValue, getAttributes, getDefaultLineItem, getElementConfig, getRecommendedPrices, insertLineItem, isValidScript, mapAttributes, metadataToElement, normalizeElementMetadata, parseBoundPath, patchAttributes, removeLineItem, replaceLineItem, stringifyElementMetadata, upsertAttributes };
|
|
1768
|
+
export { ConfigurationRuntimeService, ConfigurationService, DEFAULT_PLUGINS_TOKEN, ELEMENT_CONFIG, ELEMENT_METADATA, ElementComponent, ElementDefinition, FlowConfigurationModule, FlowConfigurationService, IntegrationState, LauncherModule, LauncherService, LineItemWorker, PreviewComponent, PreviewModule, SHARED_ELEMENT_METADATA, TemplatesService, UI_DEFINITION_METADATA, UiBuildError, VENDOR_MAP, doesElementSupportIO, elementToMetadata, extendElementMetadata, extractElementMetadata, findLineItem, generateLineItem, getAttributeValue, getAttributes, getDefaultLineItem, getElementConfig, getRecommendedPrices, insertLineItem, isValidScript, mapAttributes, metadataToElement, normalizeElementMetadata, parseBoundPath, patchAttributes, removeLineItem, replaceLineItem, stringifyElementMetadata, upsertAttributes };
|
|
1703
1769
|
//# sourceMappingURL=veloce-sdk-cms.js.map
|