@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
 
@@ -2041,143 +2039,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
2041
2039
  }]
2042
2040
  }] });
2043
2041
 
2044
- class LegacyProductComponent {
2045
- constructor(route, quoteDraftService, quoteApiService, contextService, runtimeContextService, runtimeService, currentStateService, customizationService) {
2046
- this.route = route;
2047
- this.quoteDraftService = quoteDraftService;
2048
- this.quoteApiService = quoteApiService;
2049
- this.contextService = contextService;
2050
- this.runtimeContextService = runtimeContextService;
2051
- this.runtimeService = runtimeService;
2052
- this.currentStateService = currentStateService;
2053
- this.customizationService = customizationService;
2054
- this.destroyed$ = new Subject();
2055
- }
2056
- ngOnInit() {
2057
- this.quoteDraftService.quoteDraft$
2058
- .pipe(first$1(), takeUntil$1(this.destroyed$))
2059
- .subscribe(quote => this.init(quote, this.route.snapshot.queryParams));
2060
- this.runtimeService.onSolutionStopEvent.pipe(take(1)).subscribe(lineItem => this.onSolutionStop(lineItem));
2061
- this.runtimeService.onSolutionReadyEvent.pipe(take(1)).subscribe(event => this.onSolutionReady(event));
2062
- this.runtimeService.onSolutionCancelEvent.pipe(take(1)).subscribe(() => this.onSolutionCancel());
2063
- }
2064
- ngOnDestroy() {
2065
- this.destroyed$.next();
2066
- this.destroyed$.complete();
2067
- }
2068
- onSolutionReady(lineItem) {
2069
- lineItem.actionCode = lineItem.actionCode ?? 'ADD';
2070
- }
2071
- onSolutionCancel() {
2072
- this.quoteDraftService.quoteDraft$.pipe(first$1(), takeUntil$1(this.destroyed$)).subscribe(quote => {
2073
- window['VELO_BACK_FN'].apply(null, [quote.quoteId]);
2074
- });
2075
- }
2076
- onSolutionUpdated(lineItem) {
2077
- const states = {
2078
- configurableRamp: lineItem,
2079
- currentState: this.currentStateService.currentState,
2080
- asset: this.getAsset(lineItem),
2081
- };
2082
- this.runtimeService.updateRuntime(states);
2083
- }
2084
- onSolutionStop(lineItem) {
2085
- this.quoteDraftService.quoteDraft$.pipe(first$1(), takeUntil$1(this.destroyed$)).subscribe(quote => {
2086
- const quoteToUpsert = {
2087
- ...quote,
2088
- context: this.contextService.resolve(),
2089
- currentState: [...(this.currentStateService.currentState || []).filter(li => li.id !== lineItem.id), lineItem],
2090
- };
2091
- this.quoteApiService
2092
- .upsertQuote(quoteToUpsert)
2093
- .pipe(take(1))
2094
- .subscribe(quote => {
2095
- window['VELO_BACK_FN'].apply(null, [quote.quoteId]);
2096
- });
2097
- });
2098
- }
2099
- init(quote, queryParams) {
2100
- const productId = queryParams['productId'];
2101
- const lineItemId = this.getLineItemId(quote, queryParams);
2102
- this.assets = quote.initialState;
2103
- lineItemId && quote.currentState ? this.reConfigure(lineItemId, quote.currentState) : this.configure(productId);
2104
- }
2105
- getLineItemId(quote, queryParams) {
2106
- if (EntityUtil.isPresent(queryParams['lineItemId'])) {
2107
- return queryParams['lineItemId'];
2108
- }
2109
- return quote.currentState
2110
- .filter(lineItem => lineItem.productId === queryParams['productId'])
2111
- .map(lineItem => lineItem.id)
2112
- .find(id => id);
2113
- }
2114
- configure(productId) {
2115
- const runtimeContext = this.getRuntimeContext(productId, '', RuntimeOperation.INIT);
2116
- this.startRuntime({}, runtimeContext);
2117
- }
2118
- reConfigure(lineItemId, currentState) {
2119
- const currentStateItem = EntityUtil.findById(lineItemId, currentState);
2120
- const runtimeContext = this.getRuntimeContext(currentStateItem.productId, currentStateItem.offeringId, RuntimeOperation.UPDATE);
2121
- const states = {
2122
- configurableRamp: currentStateItem,
2123
- currentState,
2124
- asset: this.getAsset(currentStateItem),
2125
- };
2126
- this.currentStateService.update(currentState);
2127
- this.startRuntime(states, runtimeContext);
2128
- }
2129
- getAsset(lineItem) {
2130
- return this.assets && this.assets.find(a => a.id === lineItem.openOrderLineItemId || a.id === lineItem.assetId);
2131
- }
2132
- startRuntime(states, runtimeContext$) {
2133
- runtimeContext$
2134
- .pipe(take(1), map$1(runtimeContext => {
2135
- this.runtimeService.startRuntime(runtimeContext, states);
2136
- }))
2137
- .subscribe();
2138
- }
2139
- customizeContext(productId, context) {
2140
- if (!this.customizationService?.getLegacyUiDefinition) {
2141
- return of(context);
2142
- }
2143
- return this.customizationService.getLegacyUiDefinition(productId).pipe(map$1(uiDefinitionContainer => ({
2144
- ...context,
2145
- uiDefinitionContainer: uiDefinitionContainer ?? undefined,
2146
- })));
2147
- }
2148
- getRuntimeContext(productId, offeringId, runtimeOperation) {
2149
- return this.runtimeContextService.getRuntimeContext(productId, offeringId).pipe(map$1(runtimeContext => {
2150
- runtimeContext.invocationContext = { runtimeOperation: RuntimeOperation[runtimeOperation] };
2151
- return runtimeContext;
2152
- }), switchMap$1(runtimeContext => this.customizeContext(productId, runtimeContext)));
2153
- }
2154
- }
2155
- 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 });
2156
- 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"] }] });
2157
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LegacyProductComponent, decorators: [{
2158
- type: Component,
2159
- args: [{ template: "<vl-runtime #runtimeView (solutionUpdated)=\"onSolutionUpdated($event)\"></vl-runtime>\n", styles: [":host{display:block;height:100%}\n"] }]
2160
- }], ctorParameters: function () { 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: [{
2161
- type: Optional
2162
- }, {
2163
- type: Inject,
2164
- args: [FLOW_CUSTOMIZATION]
2165
- }] }]; } });
2166
-
2167
- class LegacyProductModule {
2168
- }
2169
- LegacyProductModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LegacyProductModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2170
- LegacyProductModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: LegacyProductModule, declarations: [LegacyProductComponent], imports: [CommonModule, RuntimeModule], exports: [LegacyProductComponent] });
2171
- LegacyProductModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LegacyProductModule, imports: [CommonModule, RuntimeModule] });
2172
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LegacyProductModule, decorators: [{
2173
- type: NgModule,
2174
- args: [{
2175
- declarations: [LegacyProductComponent],
2176
- imports: [CommonModule, RuntimeModule],
2177
- exports: [LegacyProductComponent],
2178
- }]
2179
- }] });
2180
-
2181
2042
  class ProductComponent {
2182
2043
  constructor(contextService, configurationRuntimeService, configurationService, configurationState, quoteDraftService, integrationState, customizationService) {
2183
2044
  this.contextService = contextService;
@@ -2219,7 +2080,7 @@ class ProductComponent {
2219
2080
  return this.configurationRuntimeService.init({ productId, offeringId });
2220
2081
  }), switchMap(() => this.customizeUI$()), tap(() => {
2221
2082
  const uiDefinition = this.configurationRuntimeService.runtimeContext?.uiDefinitionContainer?.source;
2222
- if (uiDefinition && !isLegacyUIDefinition(uiDefinition)) {
2083
+ if (uiDefinition) {
2223
2084
  this.uiDefinition$.next(uiDefinition);
2224
2085
  }
2225
2086
  else {
@@ -2346,9 +2207,8 @@ class RemoteComponent {
2346
2207
  this.runtimeService
2347
2208
  .init({ productId })
2348
2209
  .pipe(first(), tap(context => {
2349
- const uiDefinitionProperties = getUIDefinitionProperties(context.uiDefinitionContainer);
2350
- const uiDefinition = context.uiDefinitionContainer?.source;
2351
- this.uiDefinition = uiDefinition && !isLegacyUIDefinition(uiDefinition) ? uiDefinition : undefined;
2210
+ const uiDefinitionProperties = context.uiDefinitionContainer?.source.properties ?? {};
2211
+ this.uiDefinition = context.uiDefinitionContainer?.source;
2352
2212
  const pricingEnabled = uiDefinitionProperties.pricingEnabled ? 'true' : 'false';
2353
2213
  const priceListId = uiDefinitionProperties.priceList;
2354
2214
  const runtimeContextProperties = this.runtimeService.runtimeContext?.properties;
@@ -2904,18 +2764,6 @@ const rootRoute = {
2904
2764
  canActivate: [ContextGuard],
2905
2765
  children: [],
2906
2766
  },
2907
- {
2908
- path: 'legacy',
2909
- children: [
2910
- {
2911
- path: 'product',
2912
- component: LegacyProductComponent,
2913
- runGuardsAndResolvers: 'paramsOrQueryParamsChange',
2914
- resolve: { quote: QuoteResolver },
2915
- canActivate: [ContextGuard],
2916
- },
2917
- ],
2918
- },
2919
2767
  {
2920
2768
  path: 'product',
2921
2769
  component: ProductComponent,
@@ -2978,7 +2826,6 @@ class FlowRoutingModule {
2978
2826
  }
2979
2827
  FlowRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2980
2828
  FlowRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: FlowRoutingModule, imports: [i1$2.RouterModule, ProductModule,
2981
- LegacyProductModule,
2982
2829
  ShoppingCartModule,
2983
2830
  CatalogModule,
2984
2831
  AssetsModule,
@@ -2986,7 +2833,6 @@ FlowRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versi
2986
2833
  EmptyAccountModule], exports: [RouterModule] });
2987
2834
  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]),
2988
2835
  ProductModule,
2989
- LegacyProductModule,
2990
2836
  ShoppingCartModule,
2991
2837
  CatalogModule,
2992
2838
  AssetsModule,
@@ -2998,7 +2844,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
2998
2844
  imports: [
2999
2845
  RouterModule.forChild([rootRoute]),
3000
2846
  ProductModule,
3001
- LegacyProductModule,
3002
2847
  ShoppingCartModule,
3003
2848
  CatalogModule,
3004
2849
  AssetsModule,