@veloceapps/sdk 11.0.0-12 → 11.0.0-14
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2020/core/services/sales-transaction.service.mjs +3 -3
- package/esm2020/src/flow-routing.module.mjs +3 -2
- package/esm2020/src/pages/product/product.component.mjs +14 -68
- package/esm2020/src/resolvers/ui-definition.resolver.mjs +41 -0
- package/fesm2015/veloceapps-sdk-core.mjs +1 -1
- package/fesm2015/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2015/veloceapps-sdk.mjs +47 -66
- package/fesm2015/veloceapps-sdk.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-core.mjs +1 -1
- package/fesm2020/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk.mjs +47 -63
- package/fesm2020/veloceapps-sdk.mjs.map +1 -1
- package/package.json +1 -1
- package/src/pages/product/product.component.d.ts +5 -12
- package/src/resolvers/ui-definition.resolver.d.ts +3 -0
@@ -928,7 +928,7 @@ class SalesTransactionService {
|
|
928
928
|
this.state$ = this.stateSubj$.asObservable().pipe(filter(isDefined));
|
929
929
|
}
|
930
930
|
init(headerId, params) {
|
931
|
-
return this.salesTransactionApiService.getState(headerId, params).pipe(tap$1(res => this.stateSubj$.next(res)));
|
931
|
+
return this.salesTransactionApiService.getState(headerId, params).pipe(tap$1(res => this.stateSubj$.next(res.salesTransaction)), map$1(res => res.salesTransaction));
|
932
932
|
}
|
933
933
|
finalizeInit() {
|
934
934
|
this.isInitializedSubj$.next(true);
|