@veloceapps/sdk 2.0.4 → 2.0.6
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 +519 -352
- package/bundles/veloce-sdk-cms.umd.js.map +1 -1
- package/bundles/veloce-sdk-runtime.umd.js +145 -144
- package/bundles/veloce-sdk-runtime.umd.js.map +1 -1
- package/bundles/veloce-sdk.umd.js +1104 -8
- package/bundles/veloce-sdk.umd.js.map +1 -1
- package/cms/components/preview/preview.component.d.ts +4 -1
- package/cms/modules/configuration/index.d.ts +2 -0
- package/cms/modules/configuration/services/configuration-runtime.service.d.ts +30 -0
- package/cms/modules/configuration/services/configuration.service.d.ts +6 -9
- package/cms/modules/configuration/services/runtime-context.service.d.ts +14 -0
- package/cms/modules/configuration/types/configuration-runtime.types.d.ts +6 -0
- package/cms/modules/configuration/types/configuration.types.d.ts +2 -0
- package/esm2015/cms/components/element-children/element-children.component.js +3 -3
- package/esm2015/cms/components/element-children/element-children.module.js +4 -4
- package/esm2015/cms/components/element-renderer/element-renderer.component.js +3 -3
- package/esm2015/cms/components/element-renderer/element-renderer.module.js +4 -4
- package/esm2015/cms/components/federated/federated.component.js +3 -3
- package/esm2015/cms/components/federated/federated.module.js +4 -4
- package/esm2015/cms/components/plugin.component.js +3 -3
- package/esm2015/cms/components/preview/preview.component.js +33 -24
- package/esm2015/cms/components/preview/preview.module.js +4 -4
- package/esm2015/cms/directives/custom-template.directive.js +3 -3
- package/esm2015/cms/launcher.module.js +4 -4
- package/esm2015/cms/modules/configuration/configuration.module.js +25 -6
- package/esm2015/cms/modules/configuration/index.js +3 -1
- package/esm2015/cms/modules/configuration/services/configuration-runtime.service.js +83 -0
- package/esm2015/cms/modules/configuration/services/configuration.service.js +35 -41
- package/esm2015/cms/modules/configuration/services/runtime-context.service.js +60 -0
- package/esm2015/cms/modules/configuration/types/configuration-runtime.types.js +2 -0
- package/esm2015/cms/modules/configuration/types/configuration.types.js +1 -1
- package/esm2015/cms/plugins/configuration.plugin.js +3 -3
- package/esm2015/cms/plugins/io.plugin.js +3 -3
- package/esm2015/cms/plugins/script.plugin.js +3 -3
- package/esm2015/cms/services/dynamic-module.service.js +3 -3
- package/esm2015/cms/services/element-context.service.js +3 -3
- package/esm2015/cms/services/io-provider.service.js +3 -3
- package/esm2015/cms/services/launcher.service.js +3 -3
- package/esm2015/cms/services/templates.service.js +3 -3
- package/esm2015/index.js +2 -2
- package/esm2015/runtime/components/component-preview/component-preview.component.js +3 -3
- package/esm2015/runtime/components/section-renderer/section-renderer.component.js +3 -3
- package/esm2015/runtime/components/ui-runtime/runtime.component.js +3 -3
- package/esm2015/runtime/components/ui-runtime-preview/runtime-preview.component.js +3 -3
- package/esm2015/runtime/execution/components/children-placeholder/children-placeholder.component.js +6 -6
- package/esm2015/runtime/execution/components/context-provider/context-provider.component.js +3 -3
- package/esm2015/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.js +3 -3
- package/esm2015/runtime/execution/components/federated/federated.component.js +3 -3
- package/esm2015/runtime/execution/components/velo-attribute/velo-attribute.component.js +3 -3
- package/esm2015/runtime/execution/components/velo-multiselect/velo-multiselect.component.js +3 -3
- package/esm2015/runtime/execution/components/velo-port-checkbox/velo-port-checkbox.component.js +3 -3
- package/esm2015/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.js +3 -3
- package/esm2015/runtime/execution/components/velo-port-radio/velo-port-radio.component.js +3 -3
- package/esm2015/runtime/execution/components/velo-type/velo-type.component.js +3 -3
- package/esm2015/runtime/execution/directives/section-script.directive.js +3 -3
- package/esm2015/runtime/execution/directives/sf-query.directive.js +3 -3
- package/esm2015/runtime/execution/directives/velo-attribute.directive.js +3 -3
- package/esm2015/runtime/execution/directives/velo-port.directive.js +18 -18
- package/esm2015/runtime/execution/directives/vl-approval.directive.js +3 -3
- package/esm2015/runtime/execution/directives/vl-document-attachments.directive.js +3 -3
- package/esm2015/runtime/execution/directives/vl-document-templates.directive.js +3 -3
- package/esm2015/runtime/execution/directives/vl-quote.directive.js +3 -3
- package/esm2015/runtime/execution/directives/vl-ramp.directive.js +3 -3
- package/esm2015/runtime/execution/runtime-execution.module.js +4 -4
- package/esm2015/runtime/runtime.module.js +4 -4
- package/esm2015/runtime/services/cart.service.js +3 -3
- package/esm2015/runtime/services/collapsible-state.service.js +3 -3
- package/esm2015/runtime/services/configuration.service.js +3 -3
- package/esm2015/runtime/services/context.service.js +6 -5
- package/esm2015/runtime/services/current-state.service.js +3 -3
- package/esm2015/runtime/services/form-scope.service.js +3 -3
- package/esm2015/runtime/services/product-model-cache.service.js +3 -3
- package/esm2015/runtime/services/quote.service.js +3 -3
- package/esm2015/runtime/services/runtime-context.service.js +3 -3
- package/esm2015/runtime/services/runtime-form.service.js +3 -3
- package/esm2015/runtime/services/runtime.service.js +3 -3
- package/esm2015/runtime/services/section-helper.service.js +3 -3
- package/esm2015/runtime/services/section-scope.service.js +3 -3
- package/esm2015/runtime/services/section-store.service.js +3 -3
- package/esm2015/runtime/services/section.service.js +6 -6
- package/esm2015/src/constants.js +2 -0
- package/esm2015/src/flow-routing.module.js +75 -0
- package/esm2015/src/flow.component.js +23 -0
- package/esm2015/src/flow.module.js +24 -0
- package/esm2015/src/guards/context.guard.js +63 -0
- package/esm2015/src/guards/index.js +2 -0
- package/esm2015/src/guards/root.guard.js +41 -0
- package/esm2015/src/index.js +6 -0
- package/esm2015/src/pages/debug/debug.component.js +54 -0
- package/esm2015/src/pages/debug/debug.module.js +44 -0
- package/esm2015/src/pages/legacy-product/legacy-product.component.js +117 -0
- package/esm2015/src/pages/legacy-product/legacy-product.module.js +20 -0
- package/esm2015/src/pages/product/product.component.js +95 -0
- package/esm2015/src/pages/product/product.module.js +20 -0
- package/esm2015/src/pages/record-not-found/record-not-found.component.js +26 -0
- package/esm2015/src/pages/record-not-found/record-not-found.module.js +20 -0
- package/esm2015/src/resolvers/context.resolver.js +42 -0
- package/esm2015/src/resolvers/flow.resolver.js +58 -0
- package/esm2015/src/resolvers/quote.resolver.js +36 -0
- package/esm2015/src/services/flow.service.js +24 -0
- package/esm2015/src/services/index.js +2 -0
- package/esm2015/src/services/router.service.js +47 -0
- package/esm2015/src/types/context-route.types.js +2 -0
- package/esm2015/src/types/flow-customization.types.js +3 -0
- package/esm2015/src/types/flow.types.js +2 -0
- package/esm2015/src/types/index.js +4 -0
- package/esm2015/src/types/route.types.js +2 -0
- package/fesm2015/veloce-sdk-cms.js +461 -316
- package/fesm2015/veloce-sdk-cms.js.map +1 -1
- package/fesm2015/veloce-sdk-runtime.js +145 -144
- package/fesm2015/veloce-sdk-runtime.js.map +1 -1
- package/fesm2015/veloce-sdk.js +725 -1
- package/fesm2015/veloce-sdk.js.map +1 -1
- package/index.d.ts +1 -2
- package/package.json +1 -1
- package/src/constants.d.ts +1 -0
- package/src/flow-routing.module.d.ts +9 -0
- package/src/flow.component.d.ts +8 -0
- package/src/flow.module.d.ts +12 -0
- package/src/guards/context.guard.d.ts +16 -0
- package/src/guards/index.d.ts +1 -0
- package/src/guards/root.guard.d.ts +15 -0
- package/src/index.d.ts +5 -0
- package/src/pages/debug/debug.component.d.ts +24 -0
- package/src/pages/debug/debug.module.d.ts +13 -0
- package/src/pages/legacy-product/legacy-product.component.d.ts +33 -0
- package/src/pages/legacy-product/legacy-product.module.d.ts +10 -0
- package/src/pages/product/product.component.d.ts +32 -0
- package/src/pages/product/product.module.d.ts +10 -0
- package/src/pages/record-not-found/record-not-found.component.d.ts +11 -0
- package/src/pages/record-not-found/record-not-found.module.d.ts +9 -0
- package/src/resolvers/context.resolver.d.ts +16 -0
- package/src/resolvers/flow.resolver.d.ts +14 -0
- package/src/resolvers/quote.resolver.d.ts +15 -0
- package/src/services/flow.service.d.ts +13 -0
- package/src/services/index.d.ts +1 -0
- package/src/services/router.service.d.ts +12 -0
- package/src/types/context-route.types.d.ts +5 -0
- package/src/types/flow-customization.types.d.ts +7 -0
- package/src/types/flow.types.d.ts +5 -0
- package/src/types/index.d.ts +3 -0
- package/src/types/route.types.d.ts +4 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"veloce-sdk.js","sources":["../../../../libs/sdk/index.ts","../../../../libs/sdk/veloce-sdk.ts"],"sourcesContent":["export default {};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA,YAAe,EAAE;;ACAjB;;"}
|
|
1
|
+
{"version":3,"file":"veloce-sdk.js","sources":["../../../../libs/sdk/src/constants.ts","../../../../libs/sdk/src/services/router.service.ts","../../../../libs/sdk/src/flow.component.ts","../../../../libs/sdk/src/flow.component.html","../../../../libs/sdk/src/guards/context.guard.ts","../../../../libs/sdk/src/guards/root.guard.ts","../../../../libs/sdk/src/services/flow.service.ts","../../../../libs/sdk/src/pages/debug/debug.component.ts","../../../../libs/sdk/src/pages/debug/debug.component.html","../../../../libs/sdk/src/pages/debug/debug.module.ts","../../../../libs/sdk/src/pages/legacy-product/legacy-product.component.ts","../../../../libs/sdk/src/pages/legacy-product/legacy-product.component.html","../../../../libs/sdk/src/pages/legacy-product/legacy-product.module.ts","../../../../libs/sdk/src/types/flow-customization.types.ts","../../../../libs/sdk/src/pages/product/product.component.ts","../../../../libs/sdk/src/pages/product/product.component.html","../../../../libs/sdk/src/pages/product/product.module.ts","../../../../libs/sdk/src/pages/record-not-found/record-not-found.component.ts","../../../../libs/sdk/src/pages/record-not-found/record-not-found.component.html","../../../../libs/sdk/src/pages/record-not-found/record-not-found.module.ts","../../../../libs/sdk/src/resolvers/context.resolver.ts","../../../../libs/sdk/src/resolvers/flow.resolver.ts","../../../../libs/sdk/src/resolvers/quote.resolver.ts","../../../../libs/sdk/src/flow-routing.module.ts","../../../../libs/sdk/src/flow.module.ts","../../../../libs/sdk/veloce-sdk.ts"],"sourcesContent":["export const VELOCE_FLOW_ROOT_ROUTE = 'VELOCE_FLOW_ROOT_ROUTE';\n","import { Injectable } from '@angular/core';\nimport {\n ActivatedRouteSnapshot,\n NavigationCancel,\n NavigationEnd,\n NavigationError,\n NavigationStart,\n Router,\n} from '@angular/router';\nimport { distinctUntilChanged, filter, map, Observable, startWith } from 'rxjs';\nimport { VELOCE_FLOW_ROOT_ROUTE } from '../constants';\nimport { RouteWithId } from '../types/route.types';\n\n@Injectable({ providedIn: 'root' })\nexport class RouterService {\n public loading$: Observable<boolean>;\n\n constructor(private router: Router) {\n this.loading$ = this.router.events.pipe(\n filter(\n e =>\n e instanceof NavigationStart ||\n e instanceof NavigationCancel ||\n e instanceof NavigationEnd ||\n e instanceof NavigationError,\n ),\n map(e => e instanceof NavigationStart),\n startWith(false),\n distinctUntilChanged(),\n );\n }\n\n getFlowRootRoute(route: ActivatedRouteSnapshot): ActivatedRouteSnapshot | undefined {\n const path = [...route.pathFromRoot];\n\n while (path.length) {\n const parent = path.pop();\n\n if (!parent) {\n break;\n }\n\n if ((parent.routeConfig as RouteWithId)?.id === VELOCE_FLOW_ROOT_ROUTE) {\n return parent;\n }\n }\n\n return;\n }\n\n getFlowRootPath(route: ActivatedRouteSnapshot): string {\n const rootRoute = this.getFlowRootRoute(route);\n if (!rootRoute) {\n return '';\n }\n\n const path = rootRoute.pathFromRoot\n .map(r => r.routeConfig?.path)\n .filter(Boolean)\n .join('/');\n\n return '/' + path;\n }\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { RouterService } from './services/router.service';\n\n@Component({\n selector: 'vl-flow',\n templateUrl: './flow.component.html',\n styleUrls: ['./flow.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FlowComponent {\n constructor(public routerService: RouterService) {}\n}\n","<div class=\"loading-overlay\" *ngIf=\"routerService.loading$ | async\">\n <vl-loader label=\"LOADING\"></vl-loader>\n</div>\n\n<router-outlet></router-outlet>\n","import { Injectable } from '@angular/core';\nimport { ActivatedRouteSnapshot, CanActivate, CanActivateChild, Router } from '@angular/router';\nimport { ConfigurationContextMode, VlWindow } from '@veloce/core';\nimport { Observable } from 'rxjs';\nimport { RouterService } from '../services/router.service';\nimport { ContextRouteData } from '../types/context-route.types';\n\ndeclare const window: VlWindow;\n\n@Injectable()\nexport class ContextGuard implements CanActivate, CanActivateChild {\n constructor(private router: Router, private routerService: RouterService) {}\n\n private getConfigurationContextMode(\n accountId: string,\n quoteId: string,\n orderId: string,\n rpcMessage: string,\n ): ConfigurationContextMode | undefined {\n if (accountId) {\n return ConfigurationContextMode.ACCOUNT;\n }\n\n if (quoteId) {\n return ConfigurationContextMode.QUOTE;\n }\n\n if (orderId) {\n return ConfigurationContextMode.ORDER;\n }\n\n if (rpcMessage) {\n return ConfigurationContextMode.REMOTE;\n }\n\n return;\n }\n\n checkActivation(route: ActivatedRouteSnapshot): Observable<boolean> | Promise<boolean> | boolean {\n const { queryParams } = route;\n const { accountId, quoteId, orderId } = queryParams;\n const rpcMessage = window['RPC_MESSAGE'];\n const rpcMessageId: string = rpcMessage && JSON.parse(rpcMessage)?.quote?.Id;\n\n const headerId = accountId || quoteId || orderId || rpcMessageId || 'empty-for-test-mode';\n const mode = this.getConfigurationContextMode(accountId, quoteId, orderId, rpcMessage);\n\n if (mode === void 0) {\n return this.reject(route, 'Mode is undefined');\n }\n\n const contextRouteData: ContextRouteData = {\n headerId,\n mode,\n };\n\n route.data = {\n ...route.data,\n ...contextRouteData,\n };\n\n return true;\n }\n\n canActivate(route: ActivatedRouteSnapshot): Observable<boolean> | Promise<boolean> | boolean {\n return this.checkActivation(route);\n }\n\n canActivateChild(childRoute: ActivatedRouteSnapshot): Observable<boolean> | Promise<boolean> | boolean {\n return this.checkActivation(childRoute);\n }\n\n private reject(route: ActivatedRouteSnapshot, message: string): boolean {\n const parentUrl = this.routerService.getFlowRootPath(route);\n this.router.navigate([parentUrl, '404'], {\n state: { message },\n });\n\n return false;\n }\n}\n","import { Injectable } from '@angular/core';\nimport { ActivatedRouteSnapshot, CanActivate, CanDeactivate, Navigation, Router } from '@angular/router';\nimport { Observable } from 'rxjs';\nimport { RouterService } from '../services/router.service';\n\n@Injectable({ providedIn: 'root' })\nexport class RootGuard implements CanActivate, CanDeactivate<any> {\n private initialized = false;\n private navToRestore: Navigation | null = null;\n\n constructor(private router: Router, private routerService: RouterService) {}\n\n canActivate(route: ActivatedRouteSnapshot): Observable<boolean> | Promise<boolean> | boolean {\n // We always need to initialize root component first, and only then start checking guards/resolvers\n\n if (!this.initialized) {\n this.initialized = true;\n this.navToRestore = this.router.getCurrentNavigation();\n\n const rootUrl = this.routerService.getFlowRootPath(route);\n this.router.navigate([rootUrl], { replaceUrl: !this.navToRestore?.previousNavigation });\n } else if (this.navToRestore) {\n const nav = this.navToRestore;\n setTimeout(() => {\n this.router.navigateByUrl(nav.extractedUrl, nav.extras);\n\n this.navToRestore = null;\n });\n }\n\n return true;\n }\n\n canDeactivate() {\n this.initialized = false;\n return true;\n }\n}\n","import { Injectable } from '@angular/core';\nimport { ConfigurationSettingsApiService } from '@veloce/api';\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { Flow } from '../types/flow.types';\n\n@Injectable()\nexport class FlowService {\n private readonly flowsKey = 'flows';\n\n constructor(private configurationSettingsApiService: ConfigurationSettingsApiService) {}\n\n public getFlow(id: string): Observable<Flow | undefined> {\n return this.fetchFlows().pipe(map(flows => flows.find(flow => flow.id == id)));\n }\n\n public fetchFlows(): Observable<Flow[]> {\n return this.configurationSettingsApiService\n .fetchSetting(this.flowsKey)\n .pipe(map(({ value }): Flow[] => (value ? JSON.parse(value) : [])));\n }\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormControl, FormGroup } from '@angular/forms';\nimport { ActivatedRoute, Params, Router } from '@angular/router';\nimport { map, Observable, shareReplay } from 'rxjs';\nimport { FlowService } from '../../services';\n\ninterface Flow {\n id: string;\n entryPath: string;\n queryParams: Params;\n queryParamsStr: string;\n}\n\n@Component({\n selector: 'vl-flow-debug',\n templateUrl: './debug.component.html',\n styleUrls: ['./debug.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DebugComponent {\n public form = new FormGroup({\n id: new FormControl(''),\n });\n\n public selectedFlow?: Flow;\n public flows$: Observable<Flow[]>;\n\n constructor(private flowService: FlowService, private router: Router, private activatedRoute: ActivatedRoute) {\n this.flows$ = this.flowService.fetchFlows().pipe(\n map(flows =>\n flows.map<Flow>(flow => {\n const queryParams: Params = flow?.properties?.queryParams ?? {};\n return {\n id: flow.id,\n entryPath: flow?.properties?.entryPath,\n queryParams,\n queryParamsStr: JSON.stringify(queryParams),\n };\n }),\n ),\n shareReplay(),\n );\n }\n\n runFlow() {\n const { id } = this.form.value;\n\n if (!id || !this.selectedFlow) {\n return;\n }\n\n const paths = this.selectedFlow.entryPath.split('/').filter(Boolean);\n this.router.navigate(['..', ...paths], {\n queryParams: {\n flowId: this.selectedFlow.id,\n quoteId: id,\n ...this.selectedFlow.queryParams,\n },\n relativeTo: this.activatedRoute,\n });\n }\n}\n","<form [formGroup]=\"form\">\n <div class=\"field\">\n <label>SF Object ID</label>\n <input formControlName=\"id\" pInputText type=\"text\" />\n </div>\n\n <p-button\n styleClass=\"p-button-primary\"\n label=\"Run Flow\"\n [disabled]=\"!form.value.id || !selectedFlow\"\n (onClick)=\"runFlow()\"\n ></p-button>\n</form>\n\n<table>\n <thead>\n <tr>\n <th [width]=\"30\"></th>\n <th [width]=\"160\">ID</th>\n <th [width]=\"160\">Entry Path</th>\n <th>QueryParams</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let flow of flows$ | async\" (click)=\"selectedFlow = flow\">\n <td><p-radioButton [inputId]=\"flow.id\" name=\"flow\" [value]=\"flow\" [(ngModel)]=\"selectedFlow\"></p-radioButton></td>\n <td>{{ flow.id }}</td>\n <td>{{ flow.entryPath }}</td>\n <td>{{ flow.queryParamsStr }}</td>\n </tr>\n </tbody>\n</table>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { RouterModule, Routes } from '@angular/router';\nimport { ButtonModule } from 'primeng/button';\nimport { InputTextModule } from 'primeng/inputtext';\nimport { RadioButtonModule } from 'primeng/radiobutton';\nimport { DebugComponent } from './debug.component';\n\nconst routes: Routes = [{ path: '', component: DebugComponent }];\n\n@NgModule({\n declarations: [DebugComponent],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n RouterModule.forChild(routes),\n RadioButtonModule,\n ButtonModule,\n InputTextModule,\n ],\n})\nexport class DebugModule {}\n","import { Component, OnDestroy, OnInit } from '@angular/core';\nimport { ActivatedRoute, Params } from '@angular/router';\nimport { QuoteApiService } from '@veloce/api';\nimport { ConfigurationContext, EntityUtil, LineItem, QuoteDraft, VlWindow } from '@veloce/core';\nimport {\n ContextService,\n CurrentStateService,\n QuoteService,\n QuoteStates,\n RuntimeContext,\n RuntimeContextService,\n RuntimeOperation,\n RuntimeService,\n SolutionReadyAware,\n SolutionUpdatedAware,\n} from '@veloce/sdk/runtime';\nimport { Observable, Subject } from 'rxjs';\nimport { first, map, take, takeUntil } from 'rxjs/operators';\n\ndeclare const window: VlWindow;\n\n@Component({\n templateUrl: './legacy-product.component.html',\n styleUrls: ['./legacy-product.component.scss'],\n})\nexport class LegacyProductComponent implements OnInit, OnDestroy, SolutionUpdatedAware, SolutionReadyAware {\n private destroyed$ = new Subject<void>();\n\n private assets?: LineItem[];\n\n constructor(\n private route: ActivatedRoute,\n private quoteService: QuoteService,\n private quoteApiService: QuoteApiService,\n private contextService: ContextService,\n private runtimeContextService: RuntimeContextService,\n private runtimeService: RuntimeService,\n private currentStateService: CurrentStateService,\n ) {}\n\n ngOnInit(): void {\n this.quoteService.quote$\n .pipe(first(), takeUntil(this.destroyed$))\n .subscribe(quote => this.init(quote, this.route.snapshot.queryParams));\n\n this.runtimeService.onSolutionStopEvent.pipe(take(1)).subscribe(lineItem => this.onSolutionStop(lineItem));\n\n this.runtimeService.onSolutionReadyEvent.pipe(take(1)).subscribe(event => this.onSolutionReady(event));\n\n this.runtimeService.onSolutionCancelEvent.pipe(take(1)).subscribe(() => this.onSolutionCancel());\n }\n\n ngOnDestroy(): void {\n this.destroyed$.next();\n this.destroyed$.complete();\n }\n\n onSolutionReady(lineItem: LineItem): void {\n lineItem.actionCode = lineItem.actionCode ?? 'ADD';\n }\n\n onSolutionCancel(): void {\n this.quoteService.quote$.pipe(first(), takeUntil(this.destroyed$)).subscribe(quote => {\n window['VELO_BACK_FN'].apply(null, [quote.quoteId]);\n });\n }\n\n onSolutionUpdated(lineItem: LineItem): void {\n const states: QuoteStates = {\n configurableRamp: lineItem,\n currentState: this.currentStateService.currentState,\n asset: this.getAsset(lineItem),\n };\n\n this.runtimeService.updateRuntime(states);\n }\n\n onSolutionStop(lineItem: LineItem): void {\n this.quoteService.quote$.pipe(first(), takeUntil(this.destroyed$)).subscribe(quote => {\n const quoteToUpsert: QuoteDraft = {\n ...quote,\n context: this.contextService.resolve() as ConfigurationContext,\n currentState: [...(this.currentStateService.currentState || []).filter(li => li.id !== lineItem.id), lineItem],\n };\n\n this.quoteApiService\n .upsertQuote(quoteToUpsert)\n .pipe(take(1))\n .subscribe(quote => {\n window['VELO_BACK_FN'].apply(null, [quote.quoteId]);\n });\n });\n }\n\n private init(quote: QuoteDraft, queryParams: Params): void {\n const productId = queryParams['productId'];\n const lineItemId = this.getLineItemId(quote, queryParams);\n this.assets = quote.initialState;\n\n lineItemId && quote.currentState ? this.reConfigure(lineItemId, quote.currentState) : this.configure(productId);\n }\n\n private getLineItemId(quote: QuoteDraft, queryParams: Params): string | undefined {\n if (EntityUtil.isPresent(queryParams['lineItemId'])) {\n return queryParams['lineItemId'];\n }\n\n return quote.currentState\n .filter(lineItem => lineItem.productId === queryParams['productId'])\n .map(lineItem => lineItem.id)\n .find(id => id);\n }\n\n private configure(productId: string): void {\n const runtimeContext = this.getRuntimeContext(productId, '', RuntimeOperation.INIT);\n\n this.startRuntime({}, runtimeContext);\n }\n\n private reConfigure(lineItemId: string, currentState: LineItem[]): void {\n const currentStateItem = EntityUtil.findById(lineItemId, currentState);\n const runtimeContext = this.getRuntimeContext(\n currentStateItem.productId,\n currentStateItem.offeringId,\n RuntimeOperation.UPDATE,\n );\n\n const states: QuoteStates = {\n configurableRamp: currentStateItem,\n currentState,\n asset: this.getAsset(currentStateItem),\n };\n\n this.currentStateService.update(currentState);\n this.startRuntime(states, runtimeContext);\n }\n\n private getAsset(lineItem: LineItem): LineItem | undefined {\n return this.assets && this.assets.find(a => a.id === lineItem.openOrderLineItemId || a.id === lineItem.assetId);\n }\n\n private startRuntime(states: QuoteStates, runtimeContext$: Observable<RuntimeContext>): void {\n runtimeContext$\n .pipe(\n take(1),\n map(runtimeContext => {\n this.runtimeService.startRuntime(runtimeContext, states);\n }),\n )\n .subscribe();\n }\n\n private getRuntimeContext(\n productId: string,\n offeringId: string,\n runtimeOperation: RuntimeOperation,\n ): Observable<RuntimeContext> {\n return this.runtimeContextService.getRuntimeContext(productId, offeringId).pipe(\n map(runtimeContext => {\n runtimeContext.invocationContext = { runtimeOperation: RuntimeOperation[runtimeOperation] };\n return runtimeContext;\n }),\n );\n }\n}\n","<vl-runtime #runtimeView (solutionUpdated)=\"onSolutionUpdated($event)\"></vl-runtime>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { RuntimeModule } from '@veloce/sdk/runtime';\nimport { TooltipModule } from 'ngx-bootstrap/tooltip';\nimport { LegacyProductComponent } from './legacy-product.component';\n\n@NgModule({\n declarations: [LegacyProductComponent],\n imports: [CommonModule, RuntimeModule, TooltipModule],\n exports: [LegacyProductComponent],\n})\nexport class LegacyProductModule {}\n","import { InjectionToken } from '@angular/core';\nimport { UIDefinition } from '@veloce/sdk/cms';\nimport { Observable } from 'rxjs';\n\nexport const FLOW_CUSTOMIZATION = new InjectionToken<FlowCustomization>('FLOW_CUSTOMIZATION');\n\nexport interface FlowCustomization {\n getUiDefinition?(productId: string): Observable<UIDefinition | null>;\n}\n","import { ChangeDetectionStrategy, Component, Inject, OnDestroy, OnInit, Optional } from '@angular/core';\nimport { ActivatedRoute, Params } from '@angular/router';\nimport { EntityUtil, LineItem, QuoteDraft } from '@veloce/core';\nimport { ConfigurationRuntimeService, ConfigurationService, UIDefinition } from '@veloce/sdk/cms';\nimport { QuoteService } from '@veloce/sdk/runtime';\nimport { MessageService } from 'primeng/api';\nimport { BehaviorSubject, catchError, first, Observable, of, Subject, switchMap, takeUntil, tap } from 'rxjs';\nimport { FlowCustomization, FLOW_CUSTOMIZATION } from '../../types/flow-customization.types';\n\ninterface State {\n loading: boolean;\n failure: boolean;\n}\n\n@Component({\n selector: 'vl-flow-product',\n templateUrl: './product.component.html',\n styleUrls: ['./product.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ProductComponent implements OnInit, OnDestroy {\n private destroy$ = new Subject<void>();\n\n public uiDefinition?: UIDefinition;\n public state$ = new BehaviorSubject<State>({ loading: true, failure: false });\n\n constructor(\n private runtimeService: ConfigurationRuntimeService,\n private conigurationService: ConfigurationService,\n private quoteService: QuoteService,\n private route: ActivatedRoute,\n private messageService: MessageService,\n @Optional() @Inject(FLOW_CUSTOMIZATION) private customizationService?: FlowCustomization,\n ) {}\n\n ngOnInit(): void {\n this.quoteService.quote$\n .pipe(first(), takeUntil(this.destroy$))\n .subscribe(quote => this.init(quote, this.route.snapshot.queryParams));\n }\n\n ngOnDestroy(): void {\n this.destroy$.next();\n this.destroy$.complete();\n }\n\n private customize(productId: string): Observable<any> {\n if (!this.customizationService?.getUiDefinition) {\n return of(null);\n }\n\n return this.customizationService.getUiDefinition(productId).pipe(\n tap(uiDef => {\n if (uiDef) {\n this.uiDefinition = uiDef;\n this.runtimeService.uiDefinitionProperties = uiDef.properties ?? {};\n }\n }),\n );\n }\n\n private init(quote: QuoteDraft, queryParams: Params): void {\n const lineItemId = this.getLineItemId(quote, queryParams);\n const currentStateItem: LineItem | undefined = EntityUtil.findById(lineItemId, quote.currentState);\n const productId = currentStateItem?.productId ?? queryParams['productId'];\n const { offeringId } = currentStateItem ?? {};\n\n if (currentStateItem) {\n this.conigurationService.updateCurrentStates({\n configurableRamp: currentStateItem,\n currentState: quote.currentState,\n });\n }\n\n this.runtimeService\n .init({ productId, offeringId })\n .pipe(\n tap(context => (this.uiDefinition = context?.uiDefinition)),\n switchMap(() => this.customize(productId)),\n switchMap(() => this.conigurationService.configure()),\n tap(() => this.state$.next({ loading: false, failure: false })),\n catchError(error => {\n this.messageService.add({\n severity: 'error',\n summary: error,\n });\n this.state$.next({ loading: false, failure: true });\n return of();\n }),\n takeUntil(this.destroy$),\n )\n .subscribe();\n }\n\n private getLineItemId(quote: QuoteDraft, queryParams: Params): string | undefined {\n if (EntityUtil.isPresent(queryParams['lineItemId'])) {\n return queryParams['lineItemId'];\n }\n\n return quote.currentState\n .filter(lineItem => lineItem.productId === queryParams['productId'])\n .map(lineItem => lineItem.id)\n .find(id => id);\n }\n}\n","<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-preview [uiDefinition]=\"uiDefinition\"></vl-cms-preview>\n </ng-container>\n </ng-template>\n</ng-container>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { LoaderModule } from '@veloce/components';\nimport { PreviewModule } from '@veloce/sdk/cms';\nimport { ProductComponent } from './product.component';\n\n@NgModule({\n declarations: [ProductComponent],\n imports: [CommonModule, PreviewModule, LoaderModule],\n exports: [ProductComponent],\n})\nexport class ProductModule {}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\n\n@Component({\n selector: 'vl-flow-record-not-found',\n templateUrl: './record-not-found.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class RecordNotFoundComponent {\n message: string;\n subMessage: string;\n\n constructor(private router: Router, private route: ActivatedRoute) {\n const navigation = this.router.getCurrentNavigation();\n const { state } = navigation?.extras || {};\n\n this.message = state?.message;\n this.subMessage = this.message?.includes('/describe') ? 'A potential problem with permissions' : '';\n }\n}\n","<div class=\"row\">\n <div class=\"col-md-12\">\n <div class=\"message-wrapper\">\n <div class=\"msg\">\n <div *ngIf=\"message; else defaultMessage\" class=\"message-title\">\n <p>{{ message }}</p>\n\n <p *ngIf=\"subMessage\" class=\"message-title\">{{ subMessage }}</p>\n </div>\n\n <ng-template #defaultMessage>Record not found</ng-template>\n </div>\n </div>\n </div>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\nimport { RecordNotFoundComponent } from './record-not-found.component';\n\nconst routes: Routes = [{ path: '', component: RecordNotFoundComponent }];\n\n@NgModule({\n declarations: [RecordNotFoundComponent],\n imports: [CommonModule, RouterModule.forChild(routes)],\n})\nexport class RecordNotFoundModule {}\n","import { HttpErrorResponse } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { ActivatedRouteSnapshot, Resolve, Router } from '@angular/router';\nimport { ConfigurationContext } from '@veloce/core';\nimport { ContextService } from '@veloce/sdk/runtime';\nimport { from, Observable, of } from 'rxjs';\nimport { catchError, tap } from 'rxjs/operators';\nimport { RouterService } from '../services/router.service';\n\n@Injectable()\nexport class ContextResolver implements Resolve<ConfigurationContext | null> {\n constructor(private contextService: ContextService, private router: Router, private routerService: RouterService) {}\n\n private handleError(route: ActivatedRouteSnapshot, message: string): Observable<boolean> {\n this.contextService.delete();\n const parentUrl = this.routerService.getFlowRootPath(route);\n return from(this.router.navigate([parentUrl, '404'], { state: { message } }));\n }\n\n resolve(route: ActivatedRouteSnapshot): Observable<ConfigurationContext | null> {\n const { queryParams, data } = route;\n const { uiDefinitionId } = queryParams;\n const { headerId, mode } = data ?? {};\n const currentContext = this.contextService.resolve();\n\n if (headerId && currentContext?.headerId === headerId) {\n return of(currentContext);\n }\n\n return this.contextService.create(headerId, mode).pipe(\n tap((context: ConfigurationContext) => {\n this.contextService.update({\n ...context,\n uiDefinitionId,\n properties: {\n ...currentContext?.properties,\n ...context.properties,\n ...(queryParams ?? {}),\n },\n });\n }),\n catchError(e => {\n const message = e instanceof HttpErrorResponse ? e.error.message : e;\n this.handleError(route, message);\n return of(null);\n }),\n );\n }\n}\n","import { HttpErrorResponse } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { ActivatedRouteSnapshot, Resolve, Router } from '@angular/router';\nimport { Dictionary } from 'lodash';\nimport { map } from 'rxjs/operators';\nimport { FlowService } from '../services/flow.service';\nimport { RouterService } from '../services/router.service';\n\n@Injectable()\nexport class FlowResolver implements Resolve<Promise<boolean>> {\n constructor(private router: Router, private flowService: FlowService, private routerService: RouterService) {}\n\n private handleError(\n route: ActivatedRouteSnapshot,\n message?: string,\n queryParams?: Dictionary<string>,\n ): Promise<boolean> {\n const parentUrl = this.routerService.getFlowRootPath(route);\n return this.router.navigate([parentUrl, '404'], {\n queryParams,\n state: {\n message: message,\n },\n });\n }\n\n resolve(route: ActivatedRouteSnapshot) {\n const { queryParams } = route;\n const { flowId } = queryParams;\n\n if (!flowId) {\n return this.handleError(route);\n }\n\n return this.flowService.getFlow(flowId).pipe(\n map(flow => {\n if (!flow) {\n return this.handleError(route, `Flow with flowId=${flowId} is not defined`);\n }\n\n const { properties } = flow;\n const { entryPath } = properties;\n const { queryParams: flowQueryParams } = properties;\n const mergedParams = { ...queryParams, ...flowQueryParams };\n\n const parentUrl = this.routerService.getFlowRootPath(route);\n const entryUrl = String(entryPath ?? '')\n .split('/')\n .filter(Boolean);\n\n return this.router\n .navigate([parentUrl, ...entryUrl], {\n queryParams: mergedParams,\n replaceUrl: true,\n })\n .catch(e => {\n const message = e instanceof HttpErrorResponse ? e.error.message : e;\n return this.handleError(route, message, mergedParams);\n });\n }),\n );\n }\n}\n","import { HttpErrorResponse } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { ActivatedRouteSnapshot, Resolve, Router } from '@angular/router';\nimport { QuoteService } from '@veloce/sdk/runtime';\nimport { catchError, from, Observable, of } from 'rxjs';\nimport { RouterService } from '../services/router.service';\n\n@Injectable()\nexport class QuoteResolver implements Resolve<void | boolean> {\n constructor(private router: Router, private quoteService: QuoteService, private routerService: RouterService) {}\n\n private handleError(route: ActivatedRouteSnapshot, message: string): Observable<boolean> {\n const parentUrl = this.routerService.getFlowRootPath(route);\n return from(this.router.navigate([parentUrl, '404'], { state: { message } }));\n }\n\n resolve(route: ActivatedRouteSnapshot): Observable<void | boolean> {\n const { headerId } = route.data;\n const quote = this.quoteService.getQuote();\n\n if (quote && quote.quoteId === headerId) {\n return of(true);\n }\n\n const { queryParams } = route;\n return this.quoteService.init(headerId, queryParams).pipe(\n catchError(e => {\n const message = e instanceof HttpErrorResponse ? e.error.message : e;\n return this.handleError(route, message);\n }),\n );\n }\n}\n","import { NgModule } from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { VELOCE_FLOW_ROOT_ROUTE } from './constants';\nimport { FlowComponent } from './flow.component';\nimport { ContextGuard } from './guards/context.guard';\nimport { RootGuard } from './guards/root.guard';\nimport { DebugModule } from './pages/debug/debug.module';\nimport { LegacyProductComponent } from './pages/legacy-product/legacy-product.component';\nimport { LegacyProductModule } from './pages/legacy-product/legacy-product.module';\nimport { ProductComponent } from './pages/product/product.component';\nimport { ProductModule } from './pages/product/product.module';\nimport { RecordNotFoundModule } from './pages/record-not-found/record-not-found.module';\nimport { ContextResolver } from './resolvers/context.resolver';\nimport { FlowResolver } from './resolvers/flow.resolver';\nimport { QuoteResolver } from './resolvers/quote.resolver';\nimport { RouterService } from './services/router.service';\nimport { RouteWithId } from './types/route.types';\n\nconst rootRoute: RouteWithId = {\n id: VELOCE_FLOW_ROOT_ROUTE,\n path: '',\n component: FlowComponent,\n canActivate: [RootGuard],\n canDeactivate: [RootGuard],\n children: [\n {\n path: 'flows',\n runGuardsAndResolvers: 'paramsOrQueryParamsChange',\n resolve: { quote: FlowResolver },\n canActivate: [ContextGuard],\n children: [],\n },\n {\n path: 'legacy',\n children: [\n {\n path: 'product',\n component: LegacyProductComponent,\n runGuardsAndResolvers: 'paramsOrQueryParamsChange',\n resolve: { context: ContextResolver, quote: QuoteResolver },\n canActivate: [ContextGuard],\n },\n ],\n },\n {\n path: 'product',\n component: ProductComponent,\n runGuardsAndResolvers: 'paramsOrQueryParamsChange',\n resolve: { context: ContextResolver, quote: QuoteResolver },\n canActivate: [ContextGuard],\n },\n {\n path: 'debug',\n loadChildren: () => DebugModule,\n },\n {\n path: '404',\n loadChildren: () => RecordNotFoundModule,\n },\n ],\n};\n\n@NgModule({\n imports: [RouterModule.forChild([rootRoute]), ProductModule, LegacyProductModule],\n exports: [RouterModule],\n providers: [RouterService, RootGuard, ContextGuard, ContextResolver, FlowResolver, QuoteResolver],\n})\nexport class FlowRoutingModule {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ApiModule } from '@veloce/api';\nimport { LoaderModule } from '@veloce/components';\nimport { LauncherModule } from '@veloce/sdk/cms';\nimport { ContextService } from '@veloce/sdk/runtime';\nimport { FlowRoutingModule } from './flow-routing.module';\nimport { FlowComponent } from './flow.component';\nimport { FlowService } from './services';\n\n@NgModule({\n declarations: [FlowComponent],\n imports: [CommonModule, FlowRoutingModule, ApiModule, LauncherModule, LoaderModule],\n providers: [FlowService, ContextService],\n})\nexport class FlowModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.RouterService","i4","i2.RouterService","map","i1","i1.FlowService","i2","i3","i7","routes","first","takeUntil","i5","i6","tap","catchError","i3.RouterService","i2.FlowService"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAO,MAAM,sBAAsB,GAAG;;MCczB,aAAa,CAAA;AAGxB,IAAA,WAAA,CAAoB,MAAc,EAAA;QAAd,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;AAChC,QAAA,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM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G,iBAAA,CAAA;;;MCnDY,UAAU,CAAA;;wGAAV,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;yGAAV,UAAU,EAAA,YAAA,EAAA,CAJN,aAAa,CAAA,EAAA,OAAA,EAAA,CAClB,YAAY,EAAE,iBAAiB,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,CAAA,EAAA,CAAA,CAAA;AAGvE,UAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,aAFV,CAAC,WAAW,EAAE,cAAc,CAAC,EAD/B,OAAA,EAAA,CAAA,CAAC,YAAY,EAAE,iBAAiB,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,CAAC,CAAA,EAAA,CAAA,CAAA;4FAGxE,UAAU,EAAA,UAAA,EAAA,CAAA;kBALtB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,aAAa,CAAC;oBAC7B,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,CAAC;AACnF,oBAAA,SAAS,EAAE,CAAC,WAAW,EAAE,cAAc,CAAC;AACzC,iBAAA,CAAA;;;ACdD;;AAEG;;;;"}
|
package/index.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default _default;
|
|
1
|
+
export * from './src';
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const VELOCE_FLOW_ROOT_ROUTE = "VELOCE_FLOW_ROOT_ROUTE";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
import * as i2 from "./pages/product/product.module";
|
|
4
|
+
import * as i3 from "./pages/legacy-product/legacy-product.module";
|
|
5
|
+
export declare class FlowRoutingModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowRoutingModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowRoutingModule, never, [typeof i1.RouterModule, typeof i2.ProductModule, typeof i3.LegacyProductModule], [typeof i1.RouterModule]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FlowRoutingModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RouterService } from './services/router.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FlowComponent {
|
|
4
|
+
routerService: RouterService;
|
|
5
|
+
constructor(routerService: RouterService);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlowComponent, "vl-flow", never, {}, {}, never, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./flow.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "./flow-routing.module";
|
|
5
|
+
import * as i4 from "@veloce/api";
|
|
6
|
+
import * as i5 from "@veloce/sdk/cms";
|
|
7
|
+
import * as i6 from "@veloce/components";
|
|
8
|
+
export declare class FlowModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowModule, [typeof i1.FlowComponent], [typeof i2.CommonModule, typeof i3.FlowRoutingModule, typeof i4.ApiModule, typeof i5.LauncherModule, typeof i6.LoaderModule], never>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FlowModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ActivatedRouteSnapshot, CanActivate, CanActivateChild, Router } from '@angular/router';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { RouterService } from '../services/router.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ContextGuard implements CanActivate, CanActivateChild {
|
|
6
|
+
private router;
|
|
7
|
+
private routerService;
|
|
8
|
+
constructor(router: Router, routerService: RouterService);
|
|
9
|
+
private getConfigurationContextMode;
|
|
10
|
+
checkActivation(route: ActivatedRouteSnapshot): Observable<boolean> | Promise<boolean> | boolean;
|
|
11
|
+
canActivate(route: ActivatedRouteSnapshot): Observable<boolean> | Promise<boolean> | boolean;
|
|
12
|
+
canActivateChild(childRoute: ActivatedRouteSnapshot): Observable<boolean> | Promise<boolean> | boolean;
|
|
13
|
+
private reject;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextGuard, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ContextGuard>;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './context.guard';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ActivatedRouteSnapshot, CanActivate, CanDeactivate, Router } from '@angular/router';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { RouterService } from '../services/router.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RootGuard implements CanActivate, CanDeactivate<any> {
|
|
6
|
+
private router;
|
|
7
|
+
private routerService;
|
|
8
|
+
private initialized;
|
|
9
|
+
private navToRestore;
|
|
10
|
+
constructor(router: Router, routerService: RouterService);
|
|
11
|
+
canActivate(route: ActivatedRouteSnapshot): Observable<boolean> | Promise<boolean> | boolean;
|
|
12
|
+
canDeactivate(): boolean;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RootGuard, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RootGuard>;
|
|
15
|
+
}
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
import { ActivatedRoute, Params, Router } from '@angular/router';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { FlowService } from '../../services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
interface Flow {
|
|
7
|
+
id: string;
|
|
8
|
+
entryPath: string;
|
|
9
|
+
queryParams: Params;
|
|
10
|
+
queryParamsStr: string;
|
|
11
|
+
}
|
|
12
|
+
export declare class DebugComponent {
|
|
13
|
+
private flowService;
|
|
14
|
+
private router;
|
|
15
|
+
private activatedRoute;
|
|
16
|
+
form: FormGroup;
|
|
17
|
+
selectedFlow?: Flow;
|
|
18
|
+
flows$: Observable<Flow[]>;
|
|
19
|
+
constructor(flowService: FlowService, router: Router, activatedRoute: ActivatedRoute);
|
|
20
|
+
runFlow(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DebugComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DebugComponent, "vl-flow-debug", never, {}, {}, never, never>;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./debug.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@angular/router";
|
|
6
|
+
import * as i5 from "primeng/radiobutton";
|
|
7
|
+
import * as i6 from "primeng/button";
|
|
8
|
+
import * as i7 from "primeng/inputtext";
|
|
9
|
+
export declare class DebugModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DebugModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DebugModule, [typeof i1.DebugComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.RouterModule, typeof i5.RadioButtonModule, typeof i6.ButtonModule, typeof i7.InputTextModule], never>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DebugModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { QuoteApiService } from '@veloce/api';
|
|
4
|
+
import { LineItem } from '@veloce/core';
|
|
5
|
+
import { ContextService, CurrentStateService, QuoteService, RuntimeContextService, RuntimeService, SolutionReadyAware, SolutionUpdatedAware } from '@veloce/sdk/runtime';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class LegacyProductComponent implements OnInit, OnDestroy, SolutionUpdatedAware, SolutionReadyAware {
|
|
8
|
+
private route;
|
|
9
|
+
private quoteService;
|
|
10
|
+
private quoteApiService;
|
|
11
|
+
private contextService;
|
|
12
|
+
private runtimeContextService;
|
|
13
|
+
private runtimeService;
|
|
14
|
+
private currentStateService;
|
|
15
|
+
private destroyed$;
|
|
16
|
+
private assets?;
|
|
17
|
+
constructor(route: ActivatedRoute, quoteService: QuoteService, quoteApiService: QuoteApiService, contextService: ContextService, runtimeContextService: RuntimeContextService, runtimeService: RuntimeService, currentStateService: CurrentStateService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
onSolutionReady(lineItem: LineItem): void;
|
|
21
|
+
onSolutionCancel(): void;
|
|
22
|
+
onSolutionUpdated(lineItem: LineItem): void;
|
|
23
|
+
onSolutionStop(lineItem: LineItem): void;
|
|
24
|
+
private init;
|
|
25
|
+
private getLineItemId;
|
|
26
|
+
private configure;
|
|
27
|
+
private reConfigure;
|
|
28
|
+
private getAsset;
|
|
29
|
+
private startRuntime;
|
|
30
|
+
private getRuntimeContext;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LegacyProductComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LegacyProductComponent, "ng-component", never, {}, {}, never, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./legacy-product.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@veloce/sdk/runtime";
|
|
5
|
+
import * as i4 from "ngx-bootstrap/tooltip";
|
|
6
|
+
export declare class LegacyProductModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LegacyProductModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LegacyProductModule, [typeof i1.LegacyProductComponent], [typeof i2.CommonModule, typeof i3.RuntimeModule, typeof i4.TooltipModule], [typeof i1.LegacyProductComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LegacyProductModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { ConfigurationRuntimeService, ConfigurationService, UIDefinition } from '@veloce/sdk/cms';
|
|
4
|
+
import { QuoteService } from '@veloce/sdk/runtime';
|
|
5
|
+
import { MessageService } from 'primeng/api';
|
|
6
|
+
import { BehaviorSubject } from 'rxjs';
|
|
7
|
+
import { FlowCustomization } from '../../types/flow-customization.types';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
interface State {
|
|
10
|
+
loading: boolean;
|
|
11
|
+
failure: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare class ProductComponent implements OnInit, OnDestroy {
|
|
14
|
+
private runtimeService;
|
|
15
|
+
private conigurationService;
|
|
16
|
+
private quoteService;
|
|
17
|
+
private route;
|
|
18
|
+
private messageService;
|
|
19
|
+
private customizationService?;
|
|
20
|
+
private destroy$;
|
|
21
|
+
uiDefinition?: UIDefinition;
|
|
22
|
+
state$: BehaviorSubject<State>;
|
|
23
|
+
constructor(runtimeService: ConfigurationRuntimeService, conigurationService: ConfigurationService, quoteService: QuoteService, route: ActivatedRoute, messageService: MessageService, customizationService?: FlowCustomization | undefined);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
ngOnDestroy(): void;
|
|
26
|
+
private customize;
|
|
27
|
+
private init;
|
|
28
|
+
private getLineItemId;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductComponent, [null, null, null, null, null, { optional: true; }]>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductComponent, "vl-flow-product", never, {}, {}, never, never>;
|
|
31
|
+
}
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./product.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@veloce/sdk/cms";
|
|
5
|
+
import * as i4 from "@veloce/components";
|
|
6
|
+
export declare class ProductModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductModule, [typeof i1.ProductComponent], [typeof i2.CommonModule, typeof i3.PreviewModule, typeof i4.LoaderModule], [typeof i1.ProductComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class RecordNotFoundComponent {
|
|
4
|
+
private router;
|
|
5
|
+
private route;
|
|
6
|
+
message: string;
|
|
7
|
+
subMessage: string;
|
|
8
|
+
constructor(router: Router, route: ActivatedRoute);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RecordNotFoundComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RecordNotFoundComponent, "vl-flow-record-not-found", never, {}, {}, never, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./record-not-found.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/router";
|
|
5
|
+
export declare class RecordNotFoundModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RecordNotFoundModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RecordNotFoundModule, [typeof i1.RecordNotFoundComponent], [typeof i2.CommonModule, typeof i3.RouterModule], never>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RecordNotFoundModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ActivatedRouteSnapshot, Resolve, Router } from '@angular/router';
|
|
2
|
+
import { ConfigurationContext } from '@veloce/core';
|
|
3
|
+
import { ContextService } from '@veloce/sdk/runtime';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { RouterService } from '../services/router.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ContextResolver implements Resolve<ConfigurationContext | null> {
|
|
8
|
+
private contextService;
|
|
9
|
+
private router;
|
|
10
|
+
private routerService;
|
|
11
|
+
constructor(contextService: ContextService, router: Router, routerService: RouterService);
|
|
12
|
+
private handleError;
|
|
13
|
+
resolve(route: ActivatedRouteSnapshot): Observable<ConfigurationContext | null>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextResolver, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ContextResolver>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ActivatedRouteSnapshot, Resolve, Router } from '@angular/router';
|
|
2
|
+
import { FlowService } from '../services/flow.service';
|
|
3
|
+
import { RouterService } from '../services/router.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FlowResolver implements Resolve<Promise<boolean>> {
|
|
6
|
+
private router;
|
|
7
|
+
private flowService;
|
|
8
|
+
private routerService;
|
|
9
|
+
constructor(router: Router, flowService: FlowService, routerService: RouterService);
|
|
10
|
+
private handleError;
|
|
11
|
+
resolve(route: ActivatedRouteSnapshot): Promise<boolean> | import("rxjs").Observable<Promise<boolean>>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowResolver, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FlowResolver>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ActivatedRouteSnapshot, Resolve, Router } from '@angular/router';
|
|
2
|
+
import { QuoteService } from '@veloce/sdk/runtime';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { RouterService } from '../services/router.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class QuoteResolver implements Resolve<void | boolean> {
|
|
7
|
+
private router;
|
|
8
|
+
private quoteService;
|
|
9
|
+
private routerService;
|
|
10
|
+
constructor(router: Router, quoteService: QuoteService, routerService: RouterService);
|
|
11
|
+
private handleError;
|
|
12
|
+
resolve(route: ActivatedRouteSnapshot): Observable<void | boolean>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QuoteResolver, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<QuoteResolver>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ConfigurationSettingsApiService } from '@veloce/api';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { Flow } from '../types/flow.types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FlowService {
|
|
6
|
+
private configurationSettingsApiService;
|
|
7
|
+
private readonly flowsKey;
|
|
8
|
+
constructor(configurationSettingsApiService: ConfigurationSettingsApiService);
|
|
9
|
+
getFlow(id: string): Observable<Flow | undefined>;
|
|
10
|
+
fetchFlows(): Observable<Flow[]>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FlowService>;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './flow.service';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ActivatedRouteSnapshot, Router } from '@angular/router';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RouterService {
|
|
5
|
+
private router;
|
|
6
|
+
loading$: Observable<boolean>;
|
|
7
|
+
constructor(router: Router);
|
|
8
|
+
getFlowRootRoute(route: ActivatedRouteSnapshot): ActivatedRouteSnapshot | undefined;
|
|
9
|
+
getFlowRootPath(route: ActivatedRouteSnapshot): string;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RouterService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RouterService>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { UIDefinition } from '@veloce/sdk/cms';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
export declare const FLOW_CUSTOMIZATION: InjectionToken<FlowCustomization>;
|
|
5
|
+
export interface FlowCustomization {
|
|
6
|
+
getUiDefinition?(productId: string): Observable<UIDefinition | null>;
|
|
7
|
+
}
|