@veloceapps/sdk 8.0.0-120 → 8.0.0-121
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2020/core/services/flow-state.service.mjs +7 -1
- package/esm2020/src/components/doc-gen/doc-gen.component.mjs +2 -2
- package/esm2020/src/components/flow-header/flow-header.component.mjs +2 -2
- package/esm2020/src/components/guided-selling/guided-selling.component.mjs +2 -2
- package/esm2020/src/flow.component.mjs +8 -9
- package/esm2020/src/pages/assets/assets.component.mjs +2 -2
- package/esm2020/src/pages/catalog/catalog.component.mjs +2 -2
- package/esm2020/src/pages/shopping-cart/shopping-cart.component.mjs +2 -2
- package/fesm2015/veloceapps-sdk-core.mjs +6 -0
- package/fesm2015/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2015/veloceapps-sdk.mjs +16 -17
- package/fesm2015/veloceapps-sdk.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-core.mjs +6 -0
- package/fesm2020/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk.mjs +10 -11
- package/fesm2020/veloceapps-sdk.mjs.map +1 -1
- package/package.json +1 -1
- package/src/flow.component.d.ts +2 -3
@@ -1152,6 +1152,9 @@ class FlowStateService {
|
|
1152
1152
|
}));
|
1153
1153
|
})
|
1154
1154
|
.filter(isDefined);
|
1155
|
+
if (!owners$.length) {
|
1156
|
+
return of(undefined);
|
1157
|
+
}
|
1155
1158
|
return forkJoin(owners$).pipe(map$1(noop));
|
1156
1159
|
}
|
1157
1160
|
executeActionScript(request, executable) {
|
@@ -1187,6 +1190,9 @@ class FlowStateService {
|
|
1187
1190
|
actions: [],
|
1188
1191
|
selectors: {},
|
1189
1192
|
};
|
1193
|
+
if (this.getFlowSafe().properties.standalone) {
|
1194
|
+
return request;
|
1195
|
+
}
|
1190
1196
|
const ownerId = this.getOwnerIdByScope(UITemplateType.FLOW_ENGINE);
|
1191
1197
|
request.actions?.push({
|
1192
1198
|
apiName: 'INITIALIZE_STATE',
|