@veloceapps/sdk 8.0.0-78 → 8.0.0-79

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. package/README.md +0 -1
  2. package/esm2020/core/modules/configuration/services/configuration-runtime.service.mjs +5 -5
  3. package/esm2020/core/modules/configuration/services/configuration.service.mjs +3 -3
  4. package/esm2020/core/modules/configuration/services/runtime-context.service.mjs +6 -6
  5. package/esm2020/src/flow-routing.module.mjs +1 -18
  6. package/esm2020/src/pages/product/product.component.mjs +2 -3
  7. package/esm2020/src/pages/remote/remote.component.mjs +5 -6
  8. package/fesm2015/veloceapps-sdk-core.mjs +16 -15
  9. package/fesm2015/veloceapps-sdk-core.mjs.map +1 -1
  10. package/fesm2015/veloceapps-sdk.mjs +8 -160
  11. package/fesm2015/veloceapps-sdk.mjs.map +1 -1
  12. package/fesm2020/veloceapps-sdk-core.mjs +9 -9
  13. package/fesm2020/veloceapps-sdk-core.mjs.map +1 -1
  14. package/fesm2020/veloceapps-sdk.mjs +6 -161
  15. package/fesm2020/veloceapps-sdk.mjs.map +1 -1
  16. package/package.json +1 -9
  17. package/src/flow-routing.module.d.ts +6 -7
  18. package/esm2020/runtime/components/component-preview/component-preview.component.mjs +0 -125
  19. package/esm2020/runtime/components/index.mjs +0 -5
  20. package/esm2020/runtime/components/section-renderer/section-renderer.component.mjs +0 -67
  21. package/esm2020/runtime/components/ui-runtime/runtime.component.mjs +0 -440
  22. package/esm2020/runtime/components/ui-runtime-preview/runtime-preview.component.mjs +0 -108
  23. package/esm2020/runtime/execution/components/children-placeholder/children-placeholder.component.mjs +0 -60
  24. package/esm2020/runtime/execution/components/context-provider/context-provider.component.mjs +0 -39
  25. package/esm2020/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.mjs +0 -67
  26. package/esm2020/runtime/execution/components/federated/federated.component.mjs +0 -74
  27. package/esm2020/runtime/execution/components/velo-attribute/velo-attribute.component.mjs +0 -60
  28. package/esm2020/runtime/execution/components/velo-multiselect/velo-multiselect.component.mjs +0 -130
  29. package/esm2020/runtime/execution/components/velo-port-checkbox/velo-port-checkbox.component.mjs +0 -72
  30. package/esm2020/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.mjs +0 -97
  31. package/esm2020/runtime/execution/components/velo-port-radio/velo-port-radio.component.mjs +0 -142
  32. package/esm2020/runtime/execution/components/velo-type/velo-type.component.mjs +0 -119
  33. package/esm2020/runtime/execution/directives/section-script.directive.mjs +0 -247
  34. package/esm2020/runtime/execution/directives/sf-query.directive.mjs +0 -35
  35. package/esm2020/runtime/execution/directives/velo-attribute.directive.mjs +0 -88
  36. package/esm2020/runtime/execution/directives/velo-port.directive.mjs +0 -376
  37. package/esm2020/runtime/execution/directives/vl-approval.directive.mjs +0 -23
  38. package/esm2020/runtime/execution/directives/vl-document-attachments.directive.mjs +0 -36
  39. package/esm2020/runtime/execution/directives/vl-document-templates.directive.mjs +0 -60
  40. package/esm2020/runtime/execution/directives/vl-quote.directive.mjs +0 -42
  41. package/esm2020/runtime/execution/directives/vl-ramp.directive.mjs +0 -55
  42. package/esm2020/runtime/execution/runtime-execution.module.mjs +0 -133
  43. package/esm2020/runtime/execution/utils/federated.util.mjs +0 -32
  44. package/esm2020/runtime/index.mjs +0 -5
  45. package/esm2020/runtime/runtime.module.mjs +0 -74
  46. package/esm2020/runtime/services/cart.service.mjs +0 -29
  47. package/esm2020/runtime/services/collapsible-state.service.mjs +0 -34
  48. package/esm2020/runtime/services/configuration.service.mjs +0 -119
  49. package/esm2020/runtime/services/current-state.service.mjs +0 -17
  50. package/esm2020/runtime/services/form-scope.service.mjs +0 -30
  51. package/esm2020/runtime/services/index.mjs +0 -4
  52. package/esm2020/runtime/services/product-model-cache.service.mjs +0 -31
  53. package/esm2020/runtime/services/runtime-context.service.mjs +0 -60
  54. package/esm2020/runtime/services/runtime-form.service.mjs +0 -219
  55. package/esm2020/runtime/services/runtime.service.mjs +0 -115
  56. package/esm2020/runtime/services/section-helper.service.mjs +0 -27
  57. package/esm2020/runtime/services/section-scope.service.mjs +0 -36
  58. package/esm2020/runtime/services/section-store.service.mjs +0 -22
  59. package/esm2020/runtime/services/section.service.mjs +0 -117
  60. package/esm2020/runtime/types/bound-data.types.mjs +0 -7
  61. package/esm2020/runtime/types/index.mjs +0 -3
  62. package/esm2020/runtime/types/quote-states.types.mjs +0 -2
  63. package/esm2020/runtime/types/runtime.types.mjs +0 -2
  64. package/esm2020/runtime/types/script-registry.types.mjs +0 -51
  65. package/esm2020/runtime/utils/line-item.util.mjs +0 -270
  66. package/esm2020/runtime/utils/section.utils.mjs +0 -26
  67. package/esm2020/runtime/utils/sections-binder.helper.mjs +0 -105
  68. package/esm2020/runtime/veloceapps-sdk-runtime.mjs +0 -5
  69. package/esm2020/src/pages/legacy-product/legacy-product.component.mjs +0 -137
  70. package/esm2020/src/pages/legacy-product/legacy-product.module.mjs +0 -19
  71. package/fesm2015/veloceapps-sdk-runtime.mjs +0 -3770
  72. package/fesm2015/veloceapps-sdk-runtime.mjs.map +0 -1
  73. package/fesm2020/veloceapps-sdk-runtime.mjs +0 -3767
  74. package/fesm2020/veloceapps-sdk-runtime.mjs.map +0 -1
  75. package/runtime/README.md +0 -5
  76. package/runtime/components/component-preview/component-preview.component.d.ts +0 -27
  77. package/runtime/components/index.d.ts +0 -4
  78. package/runtime/components/section-renderer/section-renderer.component.d.ts +0 -25
  79. package/runtime/components/ui-runtime/runtime.component.d.ts +0 -53
  80. package/runtime/components/ui-runtime-preview/runtime-preview.component.d.ts +0 -27
  81. package/runtime/execution/components/children-placeholder/children-placeholder.component.d.ts +0 -30
  82. package/runtime/execution/components/context-provider/context-provider.component.d.ts +0 -14
  83. package/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.d.ts +0 -25
  84. package/runtime/execution/components/federated/federated.component.d.ts +0 -36
  85. package/runtime/execution/components/velo-attribute/velo-attribute.component.d.ts +0 -19
  86. package/runtime/execution/components/velo-multiselect/velo-multiselect.component.d.ts +0 -35
  87. package/runtime/execution/components/velo-port-checkbox/velo-port-checkbox.component.d.ts +0 -22
  88. package/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.d.ts +0 -22
  89. package/runtime/execution/components/velo-port-radio/velo-port-radio.component.d.ts +0 -28
  90. package/runtime/execution/components/velo-type/velo-type.component.d.ts +0 -31
  91. package/runtime/execution/directives/section-script.directive.d.ts +0 -59
  92. package/runtime/execution/directives/sf-query.directive.d.ts +0 -15
  93. package/runtime/execution/directives/velo-attribute.directive.d.ts +0 -26
  94. package/runtime/execution/directives/velo-port.directive.d.ts +0 -74
  95. package/runtime/execution/directives/vl-approval.directive.d.ts +0 -10
  96. package/runtime/execution/directives/vl-document-attachments.directive.d.ts +0 -15
  97. package/runtime/execution/directives/vl-document-templates.directive.d.ts +0 -33
  98. package/runtime/execution/directives/vl-quote.directive.d.ts +0 -14
  99. package/runtime/execution/directives/vl-ramp.directive.d.ts +0 -15
  100. package/runtime/execution/runtime-execution.module.d.ts +0 -25
  101. package/runtime/execution/utils/federated.util.d.ts +0 -6
  102. package/runtime/index.d.ts +0 -4
  103. package/runtime/runtime.module.d.ts +0 -16
  104. package/runtime/services/cart.service.d.ts +0 -15
  105. package/runtime/services/collapsible-state.service.d.ts +0 -15
  106. package/runtime/services/configuration.service.d.ts +0 -20
  107. package/runtime/services/current-state.service.d.ts +0 -8
  108. package/runtime/services/form-scope.service.d.ts +0 -20
  109. package/runtime/services/index.d.ts +0 -3
  110. package/runtime/services/product-model-cache.service.d.ts +0 -14
  111. package/runtime/services/runtime-context.service.d.ts +0 -16
  112. package/runtime/services/runtime-form.service.d.ts +0 -24
  113. package/runtime/services/runtime.service.d.ts +0 -44
  114. package/runtime/services/section-helper.service.d.ts +0 -8
  115. package/runtime/services/section-scope.service.d.ts +0 -14
  116. package/runtime/services/section-store.service.d.ts +0 -11
  117. package/runtime/services/section.service.d.ts +0 -30
  118. package/runtime/types/bound-data.types.d.ts +0 -13
  119. package/runtime/types/index.d.ts +0 -2
  120. package/runtime/types/quote-states.types.d.ts +0 -6
  121. package/runtime/types/runtime.types.d.ts +0 -19
  122. package/runtime/types/script-registry.types.d.ts +0 -13
  123. package/runtime/utils/line-item.util.d.ts +0 -34
  124. package/runtime/utils/section.utils.d.ts +0 -2
  125. package/runtime/utils/sections-binder.helper.d.ts +0 -16
  126. package/src/pages/legacy-product/legacy-product.component.d.ts +0 -37
  127. package/src/pages/legacy-product/legacy-product.module.d.ts +0 -9
@@ -9,11 +9,11 @@ import { ToastType, LetDirectiveModule, QuantityControlModule, ErrorTooltipModul
9
9
  import * as i5 from '@veloceapps/sdk/cms';
10
10
  import { extractElementMetadata, extendElementMetadata, PreviewModule, FlowAction, LauncherModule } from '@veloceapps/sdk/cms';
11
11
  import * as i1$1 from '@veloceapps/sdk/core';
12
- import { isLineItemModified, getOriginParent, SdkPipesModule, RuntimeOperation, generateModifiedAssetsMap, SdkCoreModule } from '@veloceapps/sdk/core';
12
+ import { isLineItemModified, getOriginParent, SdkPipesModule, generateModifiedAssetsMap, SdkCoreModule } from '@veloceapps/sdk/core';
13
13
  import * as i3 from 'primeng/button';
14
14
  import { ButtonModule } from 'primeng/button';
15
15
  import * as i1 from 'primeng/dynamicdialog';
16
- import { UITemplateComponentType, UITemplateType, SalesforceIdUtils, ConfigurationContextMode, EntityUtil, isLegacyUIDefinition, getUIDefinitionProperties, UUID } from '@veloceapps/core';
16
+ import { UITemplateComponentType, UITemplateType, SalesforceIdUtils, ConfigurationContextMode, UUID } from '@veloceapps/core';
17
17
  import { BehaviorSubject, Subject, first, tap, takeUntil, catchError, of, map, switchMap, filter, shareReplay, startWith, distinctUntilChanged, combineLatest, finalize, noop, forkJoin, from, throwError } from 'rxjs';
18
18
  import * as i7 from 'primeng/overlaypanel';
19
19
  import { OverlayPanel, OverlayPanelModule } from 'primeng/overlaypanel';
@@ -33,7 +33,7 @@ import * as i5$2 from '@angular/cdk/drag-drop';
33
33
  import { moveItemInArray, DragDropModule } from '@angular/cdk/drag-drop';
34
34
  import { requiredValidator, invalidCharactersValidator, standardCharSetWithSpaceRegExp, reservedIdentifierValidator } from '@veloceapps/core/forms';
35
35
  import { cloneDeep, uniq } from 'lodash';
36
- import { withLatestFrom, tap as tap$1, takeUntil as takeUntil$1, first as first$1, take, map as map$1, switchMap as switchMap$1 } from 'rxjs/operators';
36
+ import { withLatestFrom, tap as tap$1, takeUntil as takeUntil$1, map as map$1 } from 'rxjs/operators';
37
37
  import * as i9$1 from 'primeng/sidebar';
38
38
  import { SidebarModule } from 'primeng/sidebar';
39
39
  import * as i10 from 'primeng/inputtext';
@@ -44,8 +44,6 @@ import { HttpErrorResponse } from '@angular/common/http';
44
44
  import { DropdownModule } from 'primeng/dropdown';
45
45
  import * as i6 from 'primeng/radiobutton';
46
46
  import { RadioButtonModule } from 'primeng/radiobutton';
47
- import * as i4$1 from '@veloceapps/sdk/runtime';
48
- import { RuntimeModule } from '@veloceapps/sdk/runtime';
49
47
 
50
48
  const VELOCE_FLOW_ROOT_ROUTE = 'VELOCE_FLOW_ROOT_ROUTE';
51
49
 
@@ -2059,140 +2057,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
2059
2057
  }]
2060
2058
  }] });
2061
2059
 
2062
- class LegacyProductComponent {
2063
- constructor(route, quoteDraftService, quoteApiService, contextService, runtimeContextService, runtimeService, currentStateService, customizationService) {
2064
- this.route = route;
2065
- this.quoteDraftService = quoteDraftService;
2066
- this.quoteApiService = quoteApiService;
2067
- this.contextService = contextService;
2068
- this.runtimeContextService = runtimeContextService;
2069
- this.runtimeService = runtimeService;
2070
- this.currentStateService = currentStateService;
2071
- this.customizationService = customizationService;
2072
- this.destroyed$ = new Subject();
2073
- }
2074
- ngOnInit() {
2075
- this.quoteDraftService.quoteDraft$
2076
- .pipe(first$1(), takeUntil$1(this.destroyed$))
2077
- .subscribe(quote => this.init(quote, this.route.snapshot.queryParams));
2078
- this.runtimeService.onSolutionStopEvent.pipe(take(1)).subscribe(lineItem => this.onSolutionStop(lineItem));
2079
- this.runtimeService.onSolutionReadyEvent.pipe(take(1)).subscribe(event => this.onSolutionReady(event));
2080
- this.runtimeService.onSolutionCancelEvent.pipe(take(1)).subscribe(() => this.onSolutionCancel());
2081
- }
2082
- ngOnDestroy() {
2083
- this.destroyed$.next();
2084
- this.destroyed$.complete();
2085
- }
2086
- onSolutionReady(lineItem) {
2087
- var _a;
2088
- lineItem.actionCode = (_a = lineItem.actionCode) !== null && _a !== void 0 ? _a : 'ADD';
2089
- }
2090
- onSolutionCancel() {
2091
- this.quoteDraftService.quoteDraft$.pipe(first$1(), takeUntil$1(this.destroyed$)).subscribe(quote => {
2092
- window['VELO_BACK_FN'].apply(null, [quote.quoteId]);
2093
- });
2094
- }
2095
- onSolutionUpdated(lineItem) {
2096
- const states = {
2097
- configurableRamp: lineItem,
2098
- currentState: this.currentStateService.currentState,
2099
- asset: this.getAsset(lineItem),
2100
- };
2101
- this.runtimeService.updateRuntime(states);
2102
- }
2103
- onSolutionStop(lineItem) {
2104
- this.quoteDraftService.quoteDraft$.pipe(first$1(), takeUntil$1(this.destroyed$)).subscribe(quote => {
2105
- const quoteToUpsert = Object.assign(Object.assign({}, quote), { context: this.contextService.resolve(), currentState: [...(this.currentStateService.currentState || []).filter(li => li.id !== lineItem.id), lineItem] });
2106
- this.quoteApiService
2107
- .upsertQuote(quoteToUpsert)
2108
- .pipe(take(1))
2109
- .subscribe(quote => {
2110
- window['VELO_BACK_FN'].apply(null, [quote.quoteId]);
2111
- });
2112
- });
2113
- }
2114
- init(quote, queryParams) {
2115
- const productId = queryParams['productId'];
2116
- const lineItemId = this.getLineItemId(quote, queryParams);
2117
- this.assets = quote.initialState;
2118
- lineItemId && quote.currentState ? this.reConfigure(lineItemId, quote.currentState) : this.configure(productId);
2119
- }
2120
- getLineItemId(quote, queryParams) {
2121
- if (EntityUtil.isPresent(queryParams['lineItemId'])) {
2122
- return queryParams['lineItemId'];
2123
- }
2124
- return quote.currentState
2125
- .filter(lineItem => lineItem.productId === queryParams['productId'])
2126
- .map(lineItem => lineItem.id)
2127
- .find(id => id);
2128
- }
2129
- configure(productId) {
2130
- const runtimeContext = this.getRuntimeContext(productId, '', RuntimeOperation.INIT);
2131
- this.startRuntime({}, runtimeContext);
2132
- }
2133
- reConfigure(lineItemId, currentState) {
2134
- const currentStateItem = EntityUtil.findById(lineItemId, currentState);
2135
- const runtimeContext = this.getRuntimeContext(currentStateItem.productId, currentStateItem.offeringId, RuntimeOperation.UPDATE);
2136
- const states = {
2137
- configurableRamp: currentStateItem,
2138
- currentState,
2139
- asset: this.getAsset(currentStateItem),
2140
- };
2141
- this.currentStateService.update(currentState);
2142
- this.startRuntime(states, runtimeContext);
2143
- }
2144
- getAsset(lineItem) {
2145
- return this.assets && this.assets.find(a => a.id === lineItem.openOrderLineItemId || a.id === lineItem.assetId);
2146
- }
2147
- startRuntime(states, runtimeContext$) {
2148
- runtimeContext$
2149
- .pipe(take(1), map$1(runtimeContext => {
2150
- this.runtimeService.startRuntime(runtimeContext, states);
2151
- }))
2152
- .subscribe();
2153
- }
2154
- customizeContext(productId, context) {
2155
- var _a;
2156
- if (!((_a = this.customizationService) === null || _a === void 0 ? void 0 : _a.getLegacyUiDefinition)) {
2157
- return of(context);
2158
- }
2159
- return this.customizationService.getLegacyUiDefinition(productId).pipe(map$1(uiDefinitionContainer => (Object.assign(Object.assign({}, context), { uiDefinitionContainer: uiDefinitionContainer !== null && uiDefinitionContainer !== void 0 ? uiDefinitionContainer : undefined }))));
2160
- }
2161
- getRuntimeContext(productId, offeringId, runtimeOperation) {
2162
- return this.runtimeContextService.getRuntimeContext(productId, offeringId).pipe(map$1(runtimeContext => {
2163
- runtimeContext.invocationContext = { runtimeOperation: RuntimeOperation[runtimeOperation] };
2164
- return runtimeContext;
2165
- }), switchMap$1(runtimeContext => this.customizeContext(productId, runtimeContext)));
2166
- }
2167
- }
2168
- LegacyProductComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LegacyProductComponent, deps: [{ token: i1$2.ActivatedRoute }, { token: i1$1.QuoteDraftService }, { token: i2.QuoteApiService }, { token: i1$1.ContextService }, { token: i4$1.RuntimeContextService }, { token: i4$1.RuntimeService }, { token: i4$1.CurrentStateService }, { token: FLOW_CUSTOMIZATION, optional: true }], target: i0.ɵɵFactoryTarget.Component });
2169
- LegacyProductComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: LegacyProductComponent, selector: "ng-component", ngImport: i0, template: "<vl-runtime #runtimeView (solutionUpdated)=\"onSolutionUpdated($event)\"></vl-runtime>\n", styles: [":host{display:block;height:100%}\n"], dependencies: [{ kind: "component", type: i4$1.RuntimeComponent, selector: "vl-runtime", outputs: ["solutionUpdated"] }] });
2170
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LegacyProductComponent, decorators: [{
2171
- type: Component,
2172
- args: [{ template: "<vl-runtime #runtimeView (solutionUpdated)=\"onSolutionUpdated($event)\"></vl-runtime>\n", styles: [":host{display:block;height:100%}\n"] }]
2173
- }], ctorParameters: function () {
2174
- return [{ type: i1$2.ActivatedRoute }, { type: i1$1.QuoteDraftService }, { type: i2.QuoteApiService }, { type: i1$1.ContextService }, { type: i4$1.RuntimeContextService }, { type: i4$1.RuntimeService }, { type: i4$1.CurrentStateService }, { type: undefined, decorators: [{
2175
- type: Optional
2176
- }, {
2177
- type: Inject,
2178
- args: [FLOW_CUSTOMIZATION]
2179
- }] }];
2180
- } });
2181
-
2182
- class LegacyProductModule {
2183
- }
2184
- LegacyProductModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LegacyProductModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2185
- LegacyProductModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: LegacyProductModule, declarations: [LegacyProductComponent], imports: [CommonModule, RuntimeModule], exports: [LegacyProductComponent] });
2186
- LegacyProductModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LegacyProductModule, imports: [CommonModule, RuntimeModule] });
2187
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LegacyProductModule, decorators: [{
2188
- type: NgModule,
2189
- args: [{
2190
- declarations: [LegacyProductComponent],
2191
- imports: [CommonModule, RuntimeModule],
2192
- exports: [LegacyProductComponent],
2193
- }]
2194
- }] });
2195
-
2196
2060
  class ProductComponent {
2197
2061
  constructor(contextService, configurationRuntimeService, configurationService, configurationState, quoteDraftService, integrationState, customizationService) {
2198
2062
  this.contextService = contextService;
@@ -2236,7 +2100,7 @@ class ProductComponent {
2236
2100
  }), switchMap(() => this.customizeUI$()), tap(() => {
2237
2101
  var _a, _b;
2238
2102
  const uiDefinition = (_b = (_a = this.configurationRuntimeService.runtimeContext) === null || _a === void 0 ? void 0 : _a.uiDefinitionContainer) === null || _b === void 0 ? void 0 : _b.source;
2239
- if (uiDefinition && !isLegacyUIDefinition(uiDefinition)) {
2103
+ if (uiDefinition) {
2240
2104
  this.uiDefinition$.next(uiDefinition);
2241
2105
  }
2242
2106
  else {
@@ -2366,13 +2230,12 @@ class RemoteComponent {
2366
2230
  this.runtimeService
2367
2231
  .init({ productId })
2368
2232
  .pipe(first(), tap(context => {
2369
- var _a, _b;
2370
- const uiDefinitionProperties = getUIDefinitionProperties(context.uiDefinitionContainer);
2371
- const uiDefinition = (_a = context.uiDefinitionContainer) === null || _a === void 0 ? void 0 : _a.source;
2372
- this.uiDefinition = uiDefinition && !isLegacyUIDefinition(uiDefinition) ? uiDefinition : undefined;
2233
+ var _a, _b, _c, _d;
2234
+ const uiDefinitionProperties = (_b = (_a = context.uiDefinitionContainer) === null || _a === void 0 ? void 0 : _a.source.properties) !== null && _b !== void 0 ? _b : {};
2235
+ this.uiDefinition = (_c = context.uiDefinitionContainer) === null || _c === void 0 ? void 0 : _c.source;
2373
2236
  const pricingEnabled = uiDefinitionProperties.pricingEnabled ? 'true' : 'false';
2374
2237
  const priceListId = uiDefinitionProperties.priceList;
2375
- const runtimeContextProperties = (_b = this.runtimeService.runtimeContext) === null || _b === void 0 ? void 0 : _b.properties;
2238
+ const runtimeContextProperties = (_d = this.runtimeService.runtimeContext) === null || _d === void 0 ? void 0 : _d.properties;
2376
2239
  if (runtimeContextProperties) {
2377
2240
  runtimeContextProperties.PriceListId = priceListId;
2378
2241
  runtimeContextProperties.PricingEnabled = pricingEnabled;
@@ -2933,18 +2796,6 @@ const rootRoute = {
2933
2796
  canActivate: [ContextGuard],
2934
2797
  children: [],
2935
2798
  },
2936
- {
2937
- path: 'legacy',
2938
- children: [
2939
- {
2940
- path: 'product',
2941
- component: LegacyProductComponent,
2942
- runGuardsAndResolvers: 'paramsOrQueryParamsChange',
2943
- resolve: { quote: QuoteResolver },
2944
- canActivate: [ContextGuard],
2945
- },
2946
- ],
2947
- },
2948
2799
  {
2949
2800
  path: 'product',
2950
2801
  component: ProductComponent,
@@ -3007,7 +2858,6 @@ class FlowRoutingModule {
3007
2858
  }
3008
2859
  FlowRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3009
2860
  FlowRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: FlowRoutingModule, imports: [i1$2.RouterModule, ProductModule,
3010
- LegacyProductModule,
3011
2861
  ShoppingCartModule,
3012
2862
  CatalogModule,
3013
2863
  AssetsModule,
@@ -3015,7 +2865,6 @@ FlowRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versi
3015
2865
  EmptyAccountModule], exports: [RouterModule] });
3016
2866
  FlowRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowRoutingModule, providers: [FlowRouterService, RootGuard, ContextGuard, ProductUnloadGuard, FlowResolver, QuoteResolver], imports: [RouterModule.forChild([rootRoute]),
3017
2867
  ProductModule,
3018
- LegacyProductModule,
3019
2868
  ShoppingCartModule,
3020
2869
  CatalogModule,
3021
2870
  AssetsModule,
@@ -3027,7 +2876,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
3027
2876
  imports: [
3028
2877
  RouterModule.forChild([rootRoute]),
3029
2878
  ProductModule,
3030
- LegacyProductModule,
3031
2879
  ShoppingCartModule,
3032
2880
  CatalogModule,
3033
2881
  AssetsModule,