@verdocs/web-sdk 2.3.29 → 2.3.31
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.
- package/dist/cjs/verdocs-template-fields_4.cjs.entry.js +2 -0
- package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.js +2 -0
- package/dist/components/verdocs-template-fields2.js +2 -0
- package/dist/custom-elements.json +2175 -0
- package/dist/docs.json +1 -1
- package/dist/esm/verdocs-template-fields_4.entry.js +2 -0
- package/dist/esm-es5/verdocs-template-fields_4.entry.js +1 -1
- package/dist/verdocs-web-sdk/p-17245241.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-bc017ceb.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-f04bf956.system.js +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +1 -1
- package/dist/verdocs-web-sdk/p-2aee8533.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-8ee4e0ec.entry.js +0 -1
@@ -255,6 +255,7 @@ const VerdocsTemplateFields = class {
|
|
255
255
|
TemplateFieldStore.updateStoreField(this.fieldStore, name, newFieldData);
|
256
256
|
event.target.removeAttribute('posX');
|
257
257
|
event.target.removeAttribute('posY');
|
258
|
+
this.reRenderField(newFieldData, pageNumber);
|
258
259
|
(_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: 'updated-field' });
|
259
260
|
}
|
260
261
|
generateFieldName(type, pageNumber) {
|
@@ -370,6 +371,7 @@ const VerdocsTemplateFields = class {
|
|
370
371
|
console.log('[FIELDS] Saved field', saved);
|
371
372
|
this.fieldStore.set('fields', [...this.fieldStore.get('fields'), saved]);
|
372
373
|
this.placing = null;
|
374
|
+
this.reRenderField(saved, pageNumber);
|
373
375
|
(_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
376
|
}
|
375
377
|
}
|
package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.js
CHANGED
@@ -219,6 +219,7 @@ export class VerdocsTemplateFields {
|
|
219
219
|
updateStoreField(this.fieldStore, name, newFieldData);
|
220
220
|
event.target.removeAttribute('posX');
|
221
221
|
event.target.removeAttribute('posY');
|
222
|
+
this.reRenderField(newFieldData, pageNumber);
|
222
223
|
(_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: 'updated-field' });
|
223
224
|
}
|
224
225
|
generateFieldName(type, pageNumber) {
|
@@ -334,6 +335,7 @@ export class VerdocsTemplateFields {
|
|
334
335
|
console.log('[FIELDS] Saved field', saved);
|
335
336
|
this.fieldStore.set('fields', [...this.fieldStore.get('fields'), saved]);
|
336
337
|
this.placing = null;
|
338
|
+
this.reRenderField(saved, pageNumber);
|
337
339
|
(_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
340
|
}
|
339
341
|
}
|
@@ -229,6 +229,7 @@ const VerdocsTemplateFields = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
229
229
|
updateStoreField(this.fieldStore, name, newFieldData);
|
230
230
|
event.target.removeAttribute('posX');
|
231
231
|
event.target.removeAttribute('posY');
|
232
|
+
this.reRenderField(newFieldData, pageNumber);
|
232
233
|
(_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: 'updated-field' });
|
233
234
|
}
|
234
235
|
generateFieldName(type, pageNumber) {
|
@@ -344,6 +345,7 @@ const VerdocsTemplateFields = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
344
345
|
console.log('[FIELDS] Saved field', saved);
|
345
346
|
this.fieldStore.set('fields', [...this.fieldStore.get('fields'), saved]);
|
346
347
|
this.placing = null;
|
348
|
+
this.reRenderField(saved, pageNumber);
|
347
349
|
(_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
350
|
}
|
349
351
|
}
|