@veloceapps/sdk 9.0.0-20 → 9.0.0-21
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/core/services/flow-info.service.d.ts +1 -1
- package/esm2020/core/services/flow-info.service.mjs +6 -4
- package/esm2020/src/guards/flow.guard.mjs +2 -3
- package/esm2020/src/pages/product/product.component.mjs +2 -2
- package/fesm2015/veloceapps-sdk-core.mjs +5 -3
- package/fesm2015/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2015/veloceapps-sdk.mjs +3 -3
- package/fesm2015/veloceapps-sdk.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-core.mjs +5 -3
- package/fesm2020/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk.mjs +2 -3
- package/fesm2020/veloceapps-sdk.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -217,9 +217,11 @@ class FlowInfoService {
|
|
|
217
217
|
this.flowSubj$ = new BehaviorSubject(null);
|
|
218
218
|
this.flow$ = this.flowSubj$.asObservable();
|
|
219
219
|
}
|
|
220
|
-
init$(flowId,
|
|
221
|
-
this.
|
|
222
|
-
|
|
220
|
+
init$(flowId, routeQueryParams) {
|
|
221
|
+
return this.flowsApiService.getFlow(flowId).pipe(switchMap(flow => this.initFlowTemplates$(flow).pipe(map$1(() => flow))), tap$1(flow => {
|
|
222
|
+
this.params = { ...routeQueryParams, ...flow.properties.queryParams };
|
|
223
|
+
this.flowSubj$.next(flow);
|
|
224
|
+
}), map$1(noop), catchError(e => {
|
|
223
225
|
this.flowSubj$.next(null);
|
|
224
226
|
return throwError(() => e);
|
|
225
227
|
}));
|