@veloceapps/sdk 9.0.0-1 → 9.0.0-3

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.
@@ -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) {