@verdocs/web-sdk 2.3.29 → 2.3.30

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.
@@ -370,6 +370,7 @@ const VerdocsTemplateFields = class {
370
370
  console.log('[FIELDS] Saved field', saved);
371
371
  this.fieldStore.set('fields', [...this.fieldStore.get('fields'), saved]);
372
372
  this.placing = null;
373
+ this.reRenderField(saved, pageNumber);
373
374
  (_a = this.templateUpdated) === null || _a === void 0 ? void 0 : _a.emit({ endpoint: this.endpoint, template: (_b = this.templateStore) === null || _b === void 0 ? void 0 : _b.state, event: 'added-field' });
374
375
  }
375
376
  }
@@ -334,6 +334,7 @@ export class VerdocsTemplateFields {
334
334
  console.log('[FIELDS] Saved field', saved);
335
335
  this.fieldStore.set('fields', [...this.fieldStore.get('fields'), saved]);
336
336
  this.placing = null;
337
+ this.reRenderField(saved, pageNumber);
337
338
  (_a = this.templateUpdated) === null || _a === void 0 ? void 0 : _a.emit({ endpoint: this.endpoint, template: (_b = this.templateStore) === null || _b === void 0 ? void 0 : _b.state, event: 'added-field' });
338
339
  }
339
340
  }
@@ -344,6 +344,7 @@ const VerdocsTemplateFields = /*@__PURE__*/ proxyCustomElement(class extends HTM
344
344
  console.log('[FIELDS] Saved field', saved);
345
345
  this.fieldStore.set('fields', [...this.fieldStore.get('fields'), saved]);
346
346
  this.placing = null;
347
+ this.reRenderField(saved, pageNumber);
347
348
  (_a = this.templateUpdated) === null || _a === void 0 ? void 0 : _a.emit({ endpoint: this.endpoint, template: (_b = this.templateStore) === null || _b === void 0 ? void 0 : _b.state, event: 'added-field' });
348
349
  }
349
350
  }