@verdocs/web-sdk 2.3.86 → 2.3.88

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.
Files changed (73) hide show
  1. package/dist/cjs/{utils-13f8ed3f.js → utils-e2bd04bf.js} +2 -4
  2. package/dist/cjs/verdocs-contact-picker_2.cjs.entry.js +1 -1
  3. package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +1 -1
  4. package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +1 -1
  5. package/dist/cjs/verdocs-field-attachment_15.cjs.entry.js +1 -1
  6. package/dist/cjs/verdocs-field-payment.cjs.entry.js +1 -1
  7. package/dist/cjs/verdocs-pagination_2.cjs.entry.js +1 -1
  8. package/dist/cjs/verdocs-preview_8.cjs.entry.js +1 -1
  9. package/dist/cjs/verdocs-settings-api-keys_4.cjs.entry.js +1 -1
  10. package/dist/cjs/verdocs-sign.cjs.entry.js +56 -34
  11. package/dist/cjs/verdocs-template-fields_4.cjs.entry.js +1 -1
  12. package/dist/cjs/verdocs-view.cjs.entry.js +1 -1
  13. package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +55 -33
  14. package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.stories.js +3 -3
  15. package/dist/collection/utils/utils.js +2 -4
  16. package/dist/components/utils.js +2 -4
  17. package/dist/components/verdocs-sign.js +55 -33
  18. package/dist/custom-elements.json +2147 -0
  19. package/dist/docs.json +1 -1
  20. package/dist/esm/{utils-a56ee5e9.js → utils-f35325fe.js} +2 -4
  21. package/dist/esm/verdocs-contact-picker_2.entry.js +1 -1
  22. package/dist/esm/verdocs-envelope-document-page.entry.js +1 -1
  23. package/dist/esm/verdocs-envelopes-list.entry.js +1 -1
  24. package/dist/esm/verdocs-field-attachment_15.entry.js +1 -1
  25. package/dist/esm/verdocs-field-payment.entry.js +1 -1
  26. package/dist/esm/verdocs-pagination_2.entry.js +1 -1
  27. package/dist/esm/verdocs-preview_8.entry.js +1 -1
  28. package/dist/esm/verdocs-settings-api-keys_4.entry.js +1 -1
  29. package/dist/esm/verdocs-sign.entry.js +56 -34
  30. package/dist/esm/verdocs-template-fields_4.entry.js +1 -1
  31. package/dist/esm/verdocs-view.entry.js +1 -1
  32. package/dist/esm-es5/{utils-a56ee5e9.js → utils-f35325fe.js} +1 -1
  33. package/dist/esm-es5/verdocs-contact-picker_2.entry.js +1 -1
  34. package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
  35. package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
  36. package/dist/esm-es5/verdocs-field-attachment_15.entry.js +1 -1
  37. package/dist/esm-es5/verdocs-field-payment.entry.js +1 -1
  38. package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
  39. package/dist/esm-es5/verdocs-preview_8.entry.js +1 -1
  40. package/dist/esm-es5/verdocs-settings-api-keys_4.entry.js +1 -1
  41. package/dist/esm-es5/verdocs-sign.entry.js +1 -1
  42. package/dist/esm-es5/verdocs-template-fields_4.entry.js +1 -1
  43. package/dist/esm-es5/verdocs-view.entry.js +1 -1
  44. package/dist/types/components/embeds/verdocs-sign/verdocs-sign.d.ts +2 -0
  45. package/dist/types/utils/utils.d.ts +1 -1
  46. package/dist/verdocs-web-sdk/{p-e63fe8b9.system.entry.js → p-078e5b77.system.entry.js} +1 -1
  47. package/dist/verdocs-web-sdk/{p-0ef04e14.system.entry.js → p-1a2d3a78.system.entry.js} +1 -1
  48. package/dist/verdocs-web-sdk/{p-dd9dba09.entry.js → p-1acb7da0.entry.js} +1 -1
  49. package/dist/verdocs-web-sdk/p-2ad3ba4f.entry.js +1 -0
  50. package/dist/verdocs-web-sdk/{p-bb983c03.entry.js → p-2b874610.entry.js} +1 -1
  51. package/dist/verdocs-web-sdk/{p-be7390d8.system.entry.js → p-33c284a7.system.entry.js} +1 -1
  52. package/dist/verdocs-web-sdk/{p-964f83ef.entry.js → p-43bdeda7.entry.js} +1 -1
  53. package/dist/verdocs-web-sdk/{p-5c67e9f6.system.entry.js → p-473926f1.system.entry.js} +1 -1
  54. package/dist/verdocs-web-sdk/{p-7f487279.entry.js → p-55e47f7d.entry.js} +1 -1
  55. package/dist/verdocs-web-sdk/{p-69422d8f.system.entry.js → p-621549c9.system.entry.js} +1 -1
  56. package/dist/verdocs-web-sdk/{p-b72328af.js → p-632bdc29.js} +1 -1
  57. package/dist/verdocs-web-sdk/{p-3dc2013b.system.entry.js → p-64974b4f.system.entry.js} +1 -1
  58. package/dist/verdocs-web-sdk/{p-1fa5ef9a.entry.js → p-683e778c.entry.js} +1 -1
  59. package/dist/verdocs-web-sdk/{p-1823e8cd.entry.js → p-81acd17f.entry.js} +1 -1
  60. package/dist/verdocs-web-sdk/{p-e1b527eb.entry.js → p-851737fb.entry.js} +1 -1
  61. package/dist/verdocs-web-sdk/{p-bb2b0122.entry.js → p-8a5ef117.entry.js} +1 -1
  62. package/dist/verdocs-web-sdk/{p-21294863.system.entry.js → p-907de1bb.system.entry.js} +1 -1
  63. package/dist/verdocs-web-sdk/{p-98c9b7d7.entry.js → p-9d8e63ea.entry.js} +1 -1
  64. package/dist/verdocs-web-sdk/{p-b55a122e.system.entry.js → p-a5499e42.system.entry.js} +1 -1
  65. package/dist/verdocs-web-sdk/{p-cf6a9502.entry.js → p-c0e43c7f.entry.js} +1 -1
  66. package/dist/verdocs-web-sdk/{p-8de34628.system.entry.js → p-d0a110f1.system.entry.js} +1 -1
  67. package/dist/verdocs-web-sdk/{p-0cafdb16.system.js → p-e041e991.system.js} +1 -1
  68. package/dist/verdocs-web-sdk/{p-04bef805.system.entry.js → p-ee408daa.system.entry.js} +1 -1
  69. package/dist/verdocs-web-sdk/p-f04bf956.system.js +1 -1
  70. package/dist/verdocs-web-sdk/{p-012d2533.system.entry.js → p-f461f285.system.entry.js} +1 -1
  71. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  72. package/package.json +1 -1
  73. package/dist/verdocs-web-sdk/p-a5f94a3f.entry.js +0 -1
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2024-05-24T14:51:05",
2
+ "timestamp": "2024-05-29T13:51:49",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "2.20.0",
@@ -179,11 +179,9 @@ const updateDocumentFieldValue = (field) => {
179
179
  existingField.setAttribute('disabled', false); // We need this to trigger a re-render
180
180
  }
181
181
  };
182
- const renderDocumentField = (field, docPage, fieldOptions) => {
182
+ const renderDocumentField = (field, docPage, fieldOptions, tabIndex = 1) => {
183
183
  var _a, _b;
184
- // console.log('rdf', field);
185
184
  const { disabled = false, editable = false, draggable = false, done = false } = fieldOptions;
186
- // console.log('[renderDocumentField]', field, docPage, roleIndex, fieldOptions);
187
185
  const controlsDiv = document.getElementById(docPage.containerId + '-controls');
188
186
  if (!controlsDiv) {
189
187
  console.log('[renderDocumentField] No controls DIV found', docPage.containerId + '-controls', docPage);
@@ -221,7 +219,7 @@ const renderDocumentField = (field, docPage, fieldOptions) => {
221
219
  el.setAttribute('disabled', true);
222
220
  }
223
221
  else {
224
- el.setAttribute('tabIndex', 1);
222
+ el.setAttribute('tabIndex', tabIndex);
225
223
  }
226
224
  if (editable) {
227
225
  el.setAttribute('editable', true);
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-172625c5.js';
2
2
  import './Types-5f31149e.js';
3
3
  import { V as VerdocsEndpoint } from './VerdocsEndpoint-8196ff47.js';
4
- import { c as convertToE164 } from './utils-a56ee5e9.js';
4
+ import { c as convertToE164 } from './utils-f35325fe.js';
5
5
  import './_commonjsHelpers-5ec8f9b7.js';
6
6
  import './Envelopes-627c5239.js';
7
7
  import './Types-086facf7.js';
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement
2
2
  import { m as getEnvelopeDocumentPageDisplayUri } from './Envelopes-627c5239.js';
3
3
  import './Types-5f31149e.js';
4
4
  import { V as VerdocsEndpoint } from './VerdocsEndpoint-8196ff47.js';
5
- import { t as throttle } from './utils-a56ee5e9.js';
5
+ import { t as throttle } from './utils-f35325fe.js';
6
6
  import './_commonjsHelpers-5ec8f9b7.js';
7
7
  import './Types-086facf7.js';
8
8
  import './index-914ed6f7.js';
@@ -4,7 +4,7 @@ import { g as getRecipientsWithActions, a as userCanAct, b as userCanCancelEnvel
4
4
  import './Types-5f31149e.js';
5
5
  import { V as VerdocsEndpoint } from './VerdocsEndpoint-8196ff47.js';
6
6
  import { i as integerSequence } from './Primitives-8fe93caf.js';
7
- import { s as saveEnvelopesAsZip } from './utils-a56ee5e9.js';
7
+ import { s as saveEnvelopesAsZip } from './utils-f35325fe.js';
8
8
  import { V as VerdocsToast } from './Toast-f3b8fd46.js';
9
9
  import { S as SDKError } from './errors-9b5498c8.js';
10
10
  import './_commonjsHelpers-5ec8f9b7.js';
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, a
2
2
  import { g as getRGBA } from './Colors-1b298092.js';
3
3
  import { g as getTemplateRoleStore, a as getRoleIndex } from './TemplateRoleStore-33229997.js';
4
4
  import { g as getTemplateFieldStore, u as updateStoreField } from './TemplateFieldStore-6e67e86b.js';
5
- import { g as getFieldSettings, t as throttle, k as getControlStyles, b as getFieldId, h as getFieldOptionId, l as fileToDataUrl } from './utils-a56ee5e9.js';
5
+ import { g as getFieldSettings, t as throttle, k as getControlStyles, b as getFieldId, h as getFieldOptionId, l as fileToDataUrl } from './utils-f35325fe.js';
6
6
  import { S as SettingsIcon } from './Icons-ddea87bf.js';
7
7
  import { c as createCommonjsModule, a as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-5ec8f9b7.js';
8
8
  import { a as FORMAT_DATE, F as FORMAT_TIMESTAMP } from './Types-086facf7.js';
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host, F as Fragment }
2
2
  import { g as getRGBA } from './Colors-1b298092.js';
3
3
  import { g as getTemplateRoleStore, a as getRoleIndex } from './TemplateRoleStore-33229997.js';
4
4
  import { g as getTemplateFieldStore } from './TemplateFieldStore-6e67e86b.js';
5
- import { g as getFieldSettings } from './utils-a56ee5e9.js';
5
+ import { g as getFieldSettings } from './utils-f35325fe.js';
6
6
  import './index-4439b0d1.js';
7
7
  import './_commonjsHelpers-5ec8f9b7.js';
8
8
  import './Envelopes-627c5239.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-172625c5.js';
2
2
  import { i as integerSequence } from './Primitives-8fe93caf.js';
3
- import { d as renderedTextWidth } from './utils-a56ee5e9.js';
3
+ import { d as renderedTextWidth } from './utils-f35325fe.js';
4
4
  import { c as createPopper } from './popper-15e448b4.js';
5
5
  import './_commonjsHelpers-5ec8f9b7.js';
6
6
  import './Envelopes-627c5239.js';
@@ -4,7 +4,7 @@ import { V as VerdocsEndpoint, b as createTemplatev2, u as updateTemplate } from
4
4
  import { g as getTemplateFieldStore } from './TemplateFieldStore-6e67e86b.js';
5
5
  import { g as getTemplateRoleStore, b as getRoleNames, a as getRoleIndex } from './TemplateRoleStore-33229997.js';
6
6
  import { g as getTemplateStore } from './TemplateStore-940da116.js';
7
- import { r as renderDocumentField } from './utils-a56ee5e9.js';
7
+ import { r as renderDocumentField } from './utils-f35325fe.js';
8
8
  import { S as SDKError } from './errors-9b5498c8.js';
9
9
  import { j as createEnvelope } from './Envelopes-627c5239.js';
10
10
  import { a as isValidEmail, i as isValidPhone } from './Validators-16a2a43b.js';
@@ -6,7 +6,7 @@ import { V as VerdocsToast } from './Toast-f3b8fd46.js';
6
6
  import { S as SDKError } from './errors-9b5498c8.js';
7
7
  import { g as getRoles, a as getCurrentProfile, u as updateProfile } from './Profiles-d4df4d1c.js';
8
8
  import { f as format } from './index-914ed6f7.js';
9
- import { c as convertToE164 } from './utils-a56ee5e9.js';
9
+ import { c as convertToE164 } from './utils-f35325fe.js';
10
10
  import './_commonjsHelpers-5ec8f9b7.js';
11
11
  import './Envelopes-627c5239.js';
12
12
  import './Types-086facf7.js';
@@ -5,7 +5,7 @@ import { e as envelopeRecipientAgree, a as envelopeRecipientDecline, b as envelo
5
5
  import { V as VerdocsEndpoint } from './VerdocsEndpoint-8196ff47.js';
6
6
  import { i as isValidPhone, a as isValidEmail } from './Validators-16a2a43b.js';
7
7
  import { f as fullNameToInitials, i as integerSequence } from './Primitives-8fe93caf.js';
8
- import { a as saveAttachment, u as updateDocumentFieldValue, r as renderDocumentField, b as getFieldId } from './utils-a56ee5e9.js';
8
+ import { a as saveAttachment, u as updateDocumentFieldValue, r as renderDocumentField, b as getFieldId } from './utils-f35325fe.js';
9
9
  import { a as createTemplateFieldStoreFromEnvelope } from './TemplateFieldStore-6e67e86b.js';
10
10
  import { V as VerdocsToast } from './Toast-f3b8fd46.js';
11
11
  import { S as SDKError } from './errors-9b5498c8.js';
@@ -296,9 +296,8 @@ const VerdocsSign = class {
296
296
  break;
297
297
  }
298
298
  }
299
- isFieldValid(field) {
299
+ isFieldFilled(field) {
300
300
  var _a, _b, _c, _d, _e, _f, _g;
301
- const { required = false } = field;
302
301
  const { result = '', value = '', base64 = '' } = field.settings || {};
303
302
  switch (field.type) {
304
303
  case 'textbox':
@@ -308,25 +307,25 @@ const VerdocsSign = class {
308
307
  case 'phone':
309
308
  return isValidPhone(result);
310
309
  default:
311
- return !required || result !== '';
310
+ return result !== '';
312
311
  }
313
312
  case 'signature':
314
313
  case 'initial':
315
- return !required || base64 !== '';
314
+ return base64 !== '';
316
315
  // Timestamp fields get automatically filled when the envelope is submitted.
317
316
  case 'timestamp':
318
317
  return true;
319
318
  case 'textarea':
320
319
  case 'date':
321
320
  case 'attachment':
322
- return !required || result !== '';
321
+ return result !== '';
323
322
  case 'dropdown':
324
- return !required || value !== '';
323
+ return value !== '';
325
324
  case 'checkbox_group':
326
325
  const checkedCount = (((_c = (_b = field.settings) === null || _b === void 0 ? void 0 : _b.options) === null || _c === void 0 ? void 0 : _c.filter(option => option.checked)) || []).length;
327
- return !required || (checkedCount >= (((_d = field.settings) === null || _d === void 0 ? void 0 : _d.minimum_checked) || 0) && checkedCount <= (((_e = field.settings) === null || _e === void 0 ? void 0 : _e.maximum_checked) || 999));
326
+ return checkedCount >= (((_d = field.settings) === null || _d === void 0 ? void 0 : _d.minimum_checked) || 0) && checkedCount <= (((_e = field.settings) === null || _e === void 0 ? void 0 : _e.maximum_checked) || 999);
328
327
  case 'radio_button_group':
329
- return !required || (((_g = (_f = field.settings) === null || _f === void 0 ? void 0 : _f.options) === null || _g === void 0 ? void 0 : _g.filter(option => option.selected)) || []).length > 0;
328
+ return (((_g = (_f = field.settings) === null || _f === void 0 ? void 0 : _f.options) === null || _g === void 0 ? void 0 : _g.filter(option => option.selected)) || []).length > 0;
330
329
  // TODO
331
330
  // case 'checkbox':
332
331
  // return <verdocs-field-checkbox style={style} value={result || ''} id={id} />;
@@ -336,6 +335,28 @@ const VerdocsSign = class {
336
335
  return false;
337
336
  }
338
337
  }
338
+ isFieldValid(field) {
339
+ const { required = false } = field;
340
+ return !required || this.isFieldFilled(field);
341
+ }
342
+ getSortedFillableFields() {
343
+ const recipientFields = this.getRecipientFields().filter(field => field.type !== 'timestamp');
344
+ recipientFields.sort((a, b) => {
345
+ var _a, _b, _c, _d;
346
+ const aX = ((_a = a.settings) === null || _a === void 0 ? void 0 : _a.x) || 0;
347
+ const aY = ((_b = a.settings) === null || _b === void 0 ? void 0 : _b.y) || 0;
348
+ const bX = ((_c = b.settings) === null || _c === void 0 ? void 0 : _c.x) || 0;
349
+ const bY = ((_d = b.settings) === null || _d === void 0 ? void 0 : _d.y) || 0;
350
+ // NOTE: Logic looks a little strange X vs Y. It's because we go top down,
351
+ // left to right. But Y coordinates are inverted in PDFs. The reason for
352
+ // the division is because no human makes perfect templates and frequently
353
+ // two fields on the "same line" will be slightly offset vertically.
354
+ const divaY = Math.floor(aY / 5);
355
+ const divbY = Math.floor(bY / 5);
356
+ return divbY !== divaY ? divbY - divaY : aX - bX;
357
+ });
358
+ return recipientFields;
359
+ }
339
360
  async handleNext() {
340
361
  var _a, _b;
341
362
  if (this.nextSubmits) {
@@ -361,35 +382,39 @@ const VerdocsSign = class {
361
382
  this.submitting = false;
362
383
  return;
363
384
  }
364
- // Find and focus the next incomplete required field (that is fillable)
365
- const requiredFields = this.getRecipientFields()
366
- .filter(field => field.required)
367
- .filter(field => field.type !== 'timestamp');
368
- requiredFields.sort((a, b) => {
385
+ // Find and focus the next incomplete` field (that is fillable)
386
+ const emptyFields = this.getSortedFillableFields().filter(field => !this.isFieldFilled(field));
387
+ emptyFields.sort((a, b) => {
369
388
  var _a, _b, _c, _d;
370
389
  const aX = ((_a = a.settings) === null || _a === void 0 ? void 0 : _a.x) || 0;
371
390
  const aY = ((_b = a.settings) === null || _b === void 0 ? void 0 : _b.y) || 0;
372
391
  const bX = ((_c = b.settings) === null || _c === void 0 ? void 0 : _c.x) || 0;
373
392
  const bY = ((_d = b.settings) === null || _d === void 0 ? void 0 : _d.y) || 0;
374
- return bY !== aY ? bY - aY : bX - aX;
393
+ // NOTE: Logic looks a little strange X vs Y. It's because we go top down,
394
+ // left to right. But Y coordinates are inverted in PDFs. The reason for
395
+ // the division is because no human makes perfect templates and frequently
396
+ // two fields on the "same line" will be slightly offset vertically.
397
+ const divaY = Math.floor(aY / 5);
398
+ const divbY = Math.floor(bY / 5);
399
+ return divbY !== divaY ? divbY - divaY : aX - bX;
375
400
  });
376
- const focusedIndex = requiredFields.findIndex(field => field.name === this.focusedField);
401
+ const focusedIndex = emptyFields.findIndex(field => field.name === this.focusedField);
377
402
  let nextFocusedIndex = focusedIndex + 1;
378
- if (nextFocusedIndex >= requiredFields.length) {
403
+ if (nextFocusedIndex >= emptyFields.length) {
379
404
  nextFocusedIndex = 0;
380
405
  }
381
- let nextRequiredField = requiredFields[nextFocusedIndex];
406
+ let nextRequiredField = emptyFields[nextFocusedIndex];
382
407
  // Skip signature and initial fields that are already filled in. We have to count our "skips" just in case, to avoid infinite loops.
383
408
  let skips = 0;
384
- if (skips < requiredFields.length && ['signature', 'initial'].includes(nextRequiredField.type) && ((_b = nextRequiredField.settings) === null || _b === void 0 ? void 0 : _b.result) === 'signed') {
409
+ if (skips < emptyFields.length && ['signature', 'initial'].includes(nextRequiredField.type) && ((_b = nextRequiredField.settings) === null || _b === void 0 ? void 0 : _b.result) === 'signed') {
385
410
  skips++;
386
411
  nextFocusedIndex++;
387
- if (nextFocusedIndex >= requiredFields.length) {
412
+ if (nextFocusedIndex >= emptyFields.length) {
388
413
  nextFocusedIndex = 0;
389
414
  }
390
- nextRequiredField = requiredFields[nextFocusedIndex];
415
+ nextRequiredField = emptyFields[nextFocusedIndex];
391
416
  }
392
- if (skips >= requiredFields.length) {
417
+ if (skips >= emptyFields.length) {
393
418
  nextRequiredField = null;
394
419
  }
395
420
  if (nextRequiredField) {
@@ -453,22 +478,19 @@ const VerdocsSign = class {
453
478
  }
454
479
  handlePageRendered(e) {
455
480
  const pageInfo = e.detail;
456
- // const roleIndex = getRoleIndex(this.roleStore, this.recipient.role_name);
457
- // console.log(
458
- // 'hpr',
459
- // this.recipient,
460
- // this.envelope.fields.filter(field => field.recipient_role === this.recipient.role_name),
461
- // );
462
- const recipientFields = this.getRecipientFields().filter(field => field.page === pageInfo.pageNumber);
463
- // console.log('[SIGN] Page rendered, updating fields', {pageInfo, roleIndex, recipientFields});
481
+ // NOTE: We don't filter on pageNumber here because we need the position in the
482
+ // entire list to set the tabIndex.
483
+ const recipientFields = this.getSortedFillableFields();
484
+ // this.getRecipientFields().filter(field => field.page === pageInfo.pageNumber);
464
485
  // First render the fields for the signer
465
486
  // Also show field placeholders for other signers who have yet to act
466
487
  // In template list in Beta, show second date being sorted on
467
488
  // Sign top to bottom left to right
468
- recipientFields
469
- .filter(field => field.page === pageInfo.pageNumber)
470
- .forEach(field => {
471
- const el = renderDocumentField(field, pageInfo, { disabled: false, editable: false, draggable: false, done: this.isDone });
489
+ recipientFields.forEach((field, tabIndex) => {
490
+ if (field.page !== pageInfo.pageNumber) {
491
+ return;
492
+ }
493
+ const el = renderDocumentField(field, pageInfo, { disabled: false, editable: false, draggable: false, done: this.isDone }, tabIndex);
472
494
  if (!el) {
473
495
  return;
474
496
  }
@@ -5,7 +5,7 @@ import { V as VerdocsEndpoint, T as TemplateSenderTypes, u as updateTemplate } f
5
5
  import { u as updateField, c as createField } from './Fields-c82e6df3.js';
6
6
  import { i as integerSequence } from './Primitives-8fe93caf.js';
7
7
  import { g as getTemplateFieldStore, u as updateStoreField } from './TemplateFieldStore-6e67e86b.js';
8
- import { e as updateCssTransform, f as removeCssTransform, b as getFieldId, h as getFieldOptionId, i as defaultWidth, j as defaultHeight } from './utils-a56ee5e9.js';
8
+ import { e as updateCssTransform, f as removeCssTransform, b as getFieldId, h as getFieldOptionId, i as defaultWidth, j as defaultHeight } from './utils-f35325fe.js';
9
9
  import { g as getTemplateRoleStore, u as updateStoreRole, d as deleteStoreRole, a as getRoleIndex } from './TemplateRoleStore-33229997.js';
10
10
  import { g as getTemplateStore } from './TemplateStore-940da116.js';
11
11
  import { S as SDKError } from './errors-9b5498c8.js';
@@ -4,7 +4,7 @@ import { b as userCanCancelEnvelope } from './Permissions-f2eb0421.js';
4
4
  import './Types-5f31149e.js';
5
5
  import { V as VerdocsEndpoint } from './VerdocsEndpoint-8196ff47.js';
6
6
  import { i as integerSequence } from './Primitives-8fe93caf.js';
7
- import { s as saveEnvelopesAsZip } from './utils-a56ee5e9.js';
7
+ import { s as saveEnvelopesAsZip } from './utils-f35325fe.js';
8
8
  import { S as SDKError } from './errors-9b5498c8.js';
9
9
  import './_commonjsHelpers-5ec8f9b7.js';
10
10
  import './Types-086facf7.js';