@veloceapps/sdk 9.0.0-0 → 9.0.0-2
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 -2
- package/esm2020/src/components/doc-gen/doc-gen.component.mjs +4 -1
- package/esm2020/src/components/flow-header/flow-header.component.mjs +4 -1
- package/esm2020/src/components/guided-selling/guided-selling.component.mjs +4 -1
- package/fesm2015/veloceapps-sdk-core.mjs +6 -1
- package/fesm2015/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2015/veloceapps-sdk.mjs +9 -0
- package/fesm2015/veloceapps-sdk.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-core.mjs +6 -1
- package/fesm2020/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk.mjs +9 -0
- package/fesm2020/veloceapps-sdk.mjs.map +1 -1
- package/package.json +1 -1
@@ -99,6 +99,9 @@ class DocGenComponent {
|
|
99
99
|
initialize() {
|
100
100
|
var _a, _b, _c;
|
101
101
|
this.templateApiName = (_c = (_b = (_a = this.flowInfo.flow) === null || _a === void 0 ? void 0 : _a.properties.templates) === null || _b === void 0 ? void 0 : _b.docGen) !== null && _c !== void 0 ? _c : '';
|
102
|
+
if (this.flowInfo.isLegacy && !this.templateApiName) {
|
103
|
+
return;
|
104
|
+
}
|
102
105
|
this.generateUIDefinition$()
|
103
106
|
.pipe(tap(uiDef => {
|
104
107
|
if (!uiDef) {
|
@@ -226,6 +229,9 @@ class GuidedSellingComponent {
|
|
226
229
|
initialize() {
|
227
230
|
var _a, _b, _c;
|
228
231
|
this.templateApiName = (_c = (_b = (_a = this.flowInfo.flow) === null || _a === void 0 ? void 0 : _a.properties.templates) === null || _b === void 0 ? void 0 : _b.guidedSelling) !== null && _c !== void 0 ? _c : '';
|
232
|
+
if (this.flowInfo.isLegacy && !this.templateApiName) {
|
233
|
+
return;
|
234
|
+
}
|
229
235
|
this.generateUIDefinition$()
|
230
236
|
.pipe(tap(uiDef => {
|
231
237
|
if (!uiDef) {
|
@@ -341,6 +347,9 @@ class FlowHeaderComponent {
|
|
341
347
|
initialize() {
|
342
348
|
var _a, _b, _c;
|
343
349
|
this.templateApiName = (_c = (_b = (_a = this.flowInfo.flow) === null || _a === void 0 ? void 0 : _a.properties.templates) === null || _b === void 0 ? void 0 : _b.flowHeader) !== null && _c !== void 0 ? _c : '';
|
350
|
+
if (this.flowInfo.isLegacy && !this.templateApiName) {
|
351
|
+
return;
|
352
|
+
}
|
344
353
|
this.generateUIDefinition$()
|
345
354
|
.pipe(tap(uiDef => {
|
346
355
|
if (!uiDef) {
|