@hubsync/esign-web-sdk 6.9.23 → 6.9.25

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 (57) hide show
  1. package/dist/cjs/verdocs-field-attachment_11.cjs.entry.js +2 -2
  2. package/dist/cjs/verdocs-sign.cjs.entry.js +4 -4
  3. package/dist/cjs/verdocs-sign.entry.cjs.js.map +1 -1
  4. package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +4 -4
  5. package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js.map +1 -1
  6. package/dist/collection/components/fields/verdocs-field-checkbox/verdocs-field-checkbox.js +1 -1
  7. package/dist/collection/components/fields/verdocs-field-checkbox/verdocs-field-checkbox.js.map +1 -1
  8. package/dist/collection/components/fields/verdocs-field-radio/verdocs-field-radio.js +1 -1
  9. package/dist/collection/components/fields/verdocs-field-radio/verdocs-field-radio.js.map +1 -1
  10. package/dist/components/{p-DZrvJ_QT.js → p-1v1nkPcE.js} +5 -5
  11. package/dist/components/{p-DZrvJ_QT.js.map → p-1v1nkPcE.js.map} +1 -1
  12. package/dist/components/{p-Dolz_jo3.js → p-Bf1POXi1.js} +3 -3
  13. package/dist/components/p-Bf1POXi1.js.map +1 -0
  14. package/dist/components/{p-yM0XEtHG.js → p-DbpqTdhn.js} +5 -5
  15. package/dist/components/{p-yM0XEtHG.js.map → p-DbpqTdhn.js.map} +1 -1
  16. package/dist/components/{p-DemYa78C.js → p-DrmZLNU5.js} +4 -4
  17. package/dist/components/{p-DemYa78C.js.map → p-DrmZLNU5.js.map} +1 -1
  18. package/dist/components/{p-CoX-UPik.js → p-wsUzEIVY.js} +3 -3
  19. package/dist/components/p-wsUzEIVY.js.map +1 -0
  20. package/dist/components/verdocs-build.js +5 -5
  21. package/dist/components/verdocs-field-checkbox.js +1 -1
  22. package/dist/components/verdocs-field-radio.js +1 -1
  23. package/dist/components/verdocs-preview.js +1 -1
  24. package/dist/components/verdocs-sign.js +4 -4
  25. package/dist/components/verdocs-sign.js.map +1 -1
  26. package/dist/components/verdocs-template-document-page.js +1 -1
  27. package/dist/components/verdocs-template-fields.js +1 -1
  28. package/dist/esm/verdocs-field-attachment_11.entry.js +2 -2
  29. package/dist/esm/verdocs-sign.entry.js +4 -4
  30. package/dist/esm/verdocs-sign.entry.js.map +1 -1
  31. package/dist/esm-es5/verdocs-field-attachment_11.entry.js +1 -1
  32. package/dist/esm-es5/verdocs-field-attachment_11.entry.js.map +1 -1
  33. package/dist/esm-es5/verdocs-sign.entry.js +1 -1
  34. package/dist/esm-es5/verdocs-sign.entry.js.map +1 -1
  35. package/dist/verdocs-web-sdk/{p-e6659ac9.system.entry.js → p-3896764c.system.entry.js} +2 -2
  36. package/dist/verdocs-web-sdk/{p-e6659ac9.system.entry.js.map → p-3896764c.system.entry.js.map} +1 -1
  37. package/dist/verdocs-web-sdk/p-7365a0e7.entry.js +2 -0
  38. package/dist/verdocs-web-sdk/{p-4a48c099.entry.js.map → p-7365a0e7.entry.js.map} +1 -1
  39. package/dist/verdocs-web-sdk/p-B8zpaHu-.system.js +1 -1
  40. package/dist/verdocs-web-sdk/p-CWM0-2JJ.system.js.map +1 -0
  41. package/dist/verdocs-web-sdk/p-W5scp_Cb.system.js.map +1 -0
  42. package/dist/verdocs-web-sdk/p-b05f5cd5.entry.js +2 -0
  43. package/dist/verdocs-web-sdk/p-b05f5cd5.entry.js.map +1 -0
  44. package/dist/verdocs-web-sdk/p-b0f1ff28.system.entry.js +2 -0
  45. package/dist/verdocs-web-sdk/p-b0f1ff28.system.entry.js.map +1 -0
  46. package/dist/verdocs-web-sdk/verdocs-sign.entry.esm.js.map +1 -1
  47. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  48. package/package.json +1 -1
  49. package/dist/components/p-CoX-UPik.js.map +0 -1
  50. package/dist/components/p-Dolz_jo3.js.map +0 -1
  51. package/dist/verdocs-web-sdk/p-2ebc769e.entry.js +0 -2
  52. package/dist/verdocs-web-sdk/p-2ebc769e.entry.js.map +0 -1
  53. package/dist/verdocs-web-sdk/p-4a48c099.entry.js +0 -2
  54. package/dist/verdocs-web-sdk/p-6d41df5d.system.entry.js +0 -2
  55. package/dist/verdocs-web-sdk/p-6d41df5d.system.entry.js.map +0 -1
  56. package/dist/verdocs-web-sdk/p-BAkWhq53.system.js.map +0 -1
  57. package/dist/verdocs-web-sdk/p-BUFQbxzf.system.js.map +0 -1
@@ -242,7 +242,7 @@ const VerdocsFieldCheckbox = class {
242
242
  if (done) {
243
243
  return index.h(index.Host, { class: { 'verdocs-field': true, done } }, checked ? '✓' : '☐');
244
244
  }
245
- return (index.h(index.Host, { class: { 'verdocs-field': true, required, disabled, done, focused, [signerClass]: true } }, label && index.h("div", { class: "label" }, label), index.h("label", { htmlFor: fieldname }, index.h("input", { id: fieldname, name: fieldname, type: "checkbox", checked: checked, disabled: readonly || disabled, required: required }), index.h("span", null), editable && (index.h(index.Fragment, null, index.h("div", { id: `verdocs-settings-panel-trigger-${fieldname}`, style: { transform: `scale(${Math.floor((1 / xscale) * 1000) / 1000}, ${Math.floor((1 / yscale) * 1000) / 1000})` }, class: "settings-icon", innerHTML: Icons.SettingsIcon, onClick: (e) => {
245
+ return (index.h(index.Host, { class: { 'verdocs-field': true, required, disabled, done, focused, [signerClass]: source !== 'envelope' } }, label && index.h("div", { class: "label" }, label), index.h("label", { htmlFor: fieldname }, index.h("input", { id: fieldname, name: fieldname, type: "checkbox", checked: checked, disabled: readonly || disabled, required: required }), index.h("span", null), editable && (index.h(index.Fragment, null, index.h("div", { id: `verdocs-settings-panel-trigger-${fieldname}`, style: { transform: `scale(${Math.floor((1 / xscale) * 1000) / 1000}, ${Math.floor((1 / yscale) * 1000) / 1000})` }, class: "settings-icon", innerHTML: Icons.SettingsIcon, onClick: (e) => {
246
246
  e.stopPropagation();
247
247
  this.showingProperties = !this.showingProperties;
248
248
  } }), this.showingProperties && (index.h("verdocs-portal", { anchor: `verdocs-settings-panel-trigger-${field.name}`, onClickAway: () => (this.showingProperties = false) }, index.h("verdocs-template-field-properties", { templateId: sourceid, fieldName: field.name, onClose: () => (this.showingProperties = false), onDelete: () => {
@@ -962,7 +962,7 @@ const VerdocsFieldRadio = class {
962
962
  if (done) {
963
963
  return (index.h(index.Host, { class: { 'verdocs-field': true, done }, style: { maxWidth: '10px' } }, index.h("span", { innerHTML: selected ? RadioIconSelected : RadioIconUnselected })));
964
964
  }
965
- return (index.h(index.Host, { class: { 'verdocs-field': true, required: this.required || required, disabled, done, focused, [signerClass]: true } }, label && index.h("div", { class: "label" }, label), editable && group && index.h("div", { class: "group" }, group), index.h("input", { id: fieldname, type: "radio", name: group || fieldname, value: name, checked: !!selected, disabled: readonly || disabled, required: required }), index.h("label", { htmlFor: fieldname }), editable && (index.h(index.Fragment, null, index.h("div", { id: `verdocs-settings-panel-trigger-${fieldname}`, style: { transform: `scale(${Math.floor((1 / xscale) * 1000) / 1000}, ${Math.floor((1 / yscale) * 1000) / 1000})` }, class: "settings-icon", innerHTML: Icons.SettingsIcon, onClick: (e) => {
965
+ return (index.h(index.Host, { class: { 'verdocs-field': true, required: this.required || required, disabled, done, focused, [signerClass]: source !== 'envelope' } }, label && index.h("div", { class: "label" }, label), editable && group && index.h("div", { class: "group" }, group), index.h("input", { id: fieldname, type: "radio", name: group || fieldname, value: name, checked: !!selected, disabled: readonly || disabled, required: required }), index.h("label", { htmlFor: fieldname }), editable && (index.h(index.Fragment, null, index.h("div", { id: `verdocs-settings-panel-trigger-${fieldname}`, style: { transform: `scale(${Math.floor((1 / xscale) * 1000) / 1000}, ${Math.floor((1 / yscale) * 1000) / 1000})` }, class: "settings-icon", innerHTML: Icons.SettingsIcon, onClick: (e) => {
966
966
  e.stopPropagation();
967
967
  this.showingProperties = !this.showingProperties;
968
968
  } }), this.showingProperties && (index.h("verdocs-portal", { anchor: `verdocs-settings-panel-trigger-${fieldname}`, onClickAway: () => (this.showingProperties = false) }, index.h("verdocs-template-field-properties", { templateId: sourceid, fieldName: fieldname, onClose: () => (this.showingProperties = false), onDelete: () => {
@@ -247,7 +247,7 @@ const VerdocsSign = class {
247
247
  // TODO: Recipient "canceled"
248
248
  if (this.envelope.status === 'canceled') {
249
249
  this.fatalErrorHeader = 'Unable to Start Signing Session';
250
- this.fatalErrorMessage = 'This envelope has been canceled. The sender has been notified.';
250
+ this.fatalErrorMessage = 'This document has been canceled. The sender has been notified.';
251
251
  }
252
252
  else if (recipient.status === 'declined') {
253
253
  this.fatalErrorHeader = 'Declined';
@@ -1027,7 +1027,7 @@ const VerdocsSign = class {
1027
1027
  return (index.h(index.Host, { class: { agreed: false } }, index.h("div", { class: "fatal-error" }, index.h("div", { class: "message" }, index.h("div", { class: "header" }, "Delegated Signing Request"), index.h("p", null, "You have delegated signing to another recipient. You will not be able to sign this request again.")))));
1028
1028
  }
1029
1029
  if (this.isDone) {
1030
- return (index.h(index.Host, { class: { agreed: this.agreed } }, index.h("verdocs-view", { endpoint: this.endpoint, envelopeId: this.envelopeId, onSdkError: e => { var _a; return (_a = this.sdkError) === null || _a === void 0 ? void 0 : _a.emit(e.detail); } }), this.showDone && (index.h("verdocs-ok-dialog", { heading: "You're Done!", message: `You can access the ${this.documentsSingularPlural} at any time by clicking on the link from the invitation email.<br /><br />After all recipients have completed their actions, you will receive an email with the document and envelope certificate attached.`, hideCloseButton: true, onNext: (e) => {
1030
+ return (index.h(index.Host, { class: { agreed: this.agreed } }, index.h("verdocs-view", { endpoint: this.endpoint, envelopeId: this.envelopeId, onSdkError: e => { var _a; return (_a = this.sdkError) === null || _a === void 0 ? void 0 : _a.emit(e.detail); } }), this.showDone && (index.h("verdocs-ok-dialog", { heading: "You're Done!", message: `You can access the ${this.documentsSingularPlural} at any time by clicking on the link from the invitation email.<br /><br />After all recipients have completed their actions, you will receive an email with the completed document and certificate attached.`, hideCloseButton: true, onNext: (e) => {
1031
1031
  e.preventDefault();
1032
1032
  e.stopPropagation();
1033
1033
  this.showDone = false;
@@ -1050,7 +1050,7 @@ const VerdocsSign = class {
1050
1050
  } })));
1051
1051
  }
1052
1052
  if (this.declining) {
1053
- return (index.h(index.Host, { class: "agreed" }, index.h("div", { class: "document", style: { paddingTop: '15px' } }, index.h("img", { src: "https://public-assets.verdocs.com/loading-placeholder.png", style: { width: '612px', height: '792px', boxShadow: '0 0 10px 5px #0000000f', marginTop: '15px' }, alt: "Placeholder page" })), index.h("verdocs-ok-dialog", { heading: "Decline Signing Request", message: `If you decline to sign this request, you will not be able to sign again in the future. The envelope sender will be notified.`, buttonLabel: "OK", showCancel: true, onExit: () => (this.declining = false), onNext: () => {
1053
+ return (index.h(index.Host, { class: "agreed" }, index.h("div", { class: "document", style: { paddingTop: '15px' } }, index.h("img", { src: "https://public-assets.verdocs.com/loading-placeholder.png", style: { width: '612px', height: '792px', boxShadow: '0 0 10px 5px #0000000f', marginTop: '15px' }, alt: "Placeholder page" })), index.h("verdocs-ok-dialog", { heading: "Decline Signing Request", message: `If you decline to sign this request, you will not be able to sign again in the future. The sender of the document will be notified.`, buttonLabel: "OK", showCancel: true, onExit: () => (this.declining = false), onNext: () => {
1054
1054
  jsSdk.envelopeRecipientDecline(this.endpoint, this.envelopeId, this.roleId)
1055
1055
  .then(r => {
1056
1056
  console.log('[SIGN] Decline result', r);
@@ -1156,7 +1156,7 @@ const VerdocsSign = class {
1156
1156
  })), this.showFinishLater && (index.h("verdocs-ok-dialog", { heading: "You've saved your document to finish later.", message: `To complete the ${this.documentsSingularPlural}, use the link in the original email notification inviting you to review and finish the document.`, hideCloseButton: true, onNext: () => {
1157
1157
  this.isDone = true;
1158
1158
  this.showFinishLater = false;
1159
- } })), this.showDone && (index.h("verdocs-ok-dialog", { heading: "You're Done!", message: `You can access the ${this.documentsSingularPlural} at any time by clicking on the link from the invitation email.<br /><br />After all recipients have completed their actions, you will receive an email with the document and envelope certificate attached.`, hideCloseButton: true, onNext: () => {
1159
+ } })), this.showDone && (index.h("verdocs-ok-dialog", { heading: "You're Done!", message: `You can access the ${this.documentsSingularPlural} at any time by clicking on the link from the invitation email.<br /><br />After all recipients have completed their actions, you will receive an email with the completed document and certificate attached.`, hideCloseButton: true, onNext: () => {
1160
1160
  this.showDone = false;
1161
1161
  this.isDone = true;
1162
1162
  } })), this.adoptingSignature && (index.h("verdocs-adopt-signature-dialog", { name: jsSdk.formatFullName(this.recipient), nameLocked: !!((_a = this.recipient) === null || _a === void 0 ? void 0 : _a.name_locked), onNext: async (e) => {