@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
@@ -1,4 +1,4 @@
1
- import { V as VerdocsTemplateDocumentPage$1, d as defineCustomElement$1 } from './p-DemYa78C.js';
1
+ import { V as VerdocsTemplateDocumentPage$1, d as defineCustomElement$1 } from './p-DrmZLNU5.js';
2
2
 
3
3
  const VerdocsTemplateDocumentPage = VerdocsTemplateDocumentPage$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { V as VerdocsTemplateFields$1, d as defineCustomElement$1 } from './p-DZrvJ_QT.js';
1
+ import { V as VerdocsTemplateFields$1, d as defineCustomElement$1 } from './p-1v1nkPcE.js';
2
2
 
3
3
  const VerdocsTemplateFields = VerdocsTemplateFields$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -240,7 +240,7 @@ const VerdocsFieldCheckbox = class {
240
240
  if (done) {
241
241
  return h(Host, { class: { 'verdocs-field': true, done } }, checked ? '✓' : '☐');
242
242
  }
243
- return (h(Host, { class: { 'verdocs-field': true, required, disabled, done, focused, [signerClass]: true } }, label && h("div", { class: "label" }, label), h("label", { htmlFor: fieldname }, h("input", { id: fieldname, name: fieldname, type: "checkbox", checked: checked, disabled: readonly || disabled, required: required }), h("span", null), editable && (h(Fragment, null, 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: SettingsIcon, onClick: (e) => {
243
+ return (h(Host, { class: { 'verdocs-field': true, required, disabled, done, focused, [signerClass]: source !== 'envelope' } }, label && h("div", { class: "label" }, label), h("label", { htmlFor: fieldname }, h("input", { id: fieldname, name: fieldname, type: "checkbox", checked: checked, disabled: readonly || disabled, required: required }), h("span", null), editable && (h(Fragment, null, 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: SettingsIcon, onClick: (e) => {
244
244
  e.stopPropagation();
245
245
  this.showingProperties = !this.showingProperties;
246
246
  } }), this.showingProperties && (h("verdocs-portal", { anchor: `verdocs-settings-panel-trigger-${field.name}`, onClickAway: () => (this.showingProperties = false) }, h("verdocs-template-field-properties", { templateId: sourceid, fieldName: field.name, onClose: () => (this.showingProperties = false), onDelete: () => {
@@ -960,7 +960,7 @@ const VerdocsFieldRadio = class {
960
960
  if (done) {
961
961
  return (h(Host, { class: { 'verdocs-field': true, done }, style: { maxWidth: '10px' } }, h("span", { innerHTML: selected ? RadioIconSelected : RadioIconUnselected })));
962
962
  }
963
- return (h(Host, { class: { 'verdocs-field': true, required: this.required || required, disabled, done, focused, [signerClass]: true } }, label && h("div", { class: "label" }, label), editable && group && h("div", { class: "group" }, group), h("input", { id: fieldname, type: "radio", name: group || fieldname, value: name, checked: !!selected, disabled: readonly || disabled, required: required }), h("label", { htmlFor: fieldname }), editable && (h(Fragment, null, 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: SettingsIcon, onClick: (e) => {
963
+ return (h(Host, { class: { 'verdocs-field': true, required: this.required || required, disabled, done, focused, [signerClass]: source !== 'envelope' } }, label && h("div", { class: "label" }, label), editable && group && h("div", { class: "group" }, group), h("input", { id: fieldname, type: "radio", name: group || fieldname, value: name, checked: !!selected, disabled: readonly || disabled, required: required }), h("label", { htmlFor: fieldname }), editable && (h(Fragment, null, 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: SettingsIcon, onClick: (e) => {
964
964
  e.stopPropagation();
965
965
  this.showingProperties = !this.showingProperties;
966
966
  } }), this.showingProperties && (h("verdocs-portal", { anchor: `verdocs-settings-panel-trigger-${fieldname}`, onClickAway: () => (this.showingProperties = false) }, h("verdocs-template-field-properties", { templateId: sourceid, fieldName: fieldname, onClose: () => (this.showingProperties = false), onDelete: () => {
@@ -245,7 +245,7 @@ const VerdocsSign = class {
245
245
  // TODO: Recipient "canceled"
246
246
  if (this.envelope.status === 'canceled') {
247
247
  this.fatalErrorHeader = 'Unable to Start Signing Session';
248
- this.fatalErrorMessage = 'This envelope has been canceled. The sender has been notified.';
248
+ this.fatalErrorMessage = 'This document has been canceled. The sender has been notified.';
249
249
  }
250
250
  else if (recipient.status === 'declined') {
251
251
  this.fatalErrorHeader = 'Declined';
@@ -1025,7 +1025,7 @@ const VerdocsSign = class {
1025
1025
  return (h(Host, { class: { agreed: false } }, h("div", { class: "fatal-error" }, h("div", { class: "message" }, h("div", { class: "header" }, "Delegated Signing Request"), h("p", null, "You have delegated signing to another recipient. You will not be able to sign this request again.")))));
1026
1026
  }
1027
1027
  if (this.isDone) {
1028
- return (h(Host, { class: { agreed: this.agreed } }, 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 && (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) => {
1028
+ return (h(Host, { class: { agreed: this.agreed } }, 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 && (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) => {
1029
1029
  e.preventDefault();
1030
1030
  e.stopPropagation();
1031
1031
  this.showDone = false;
@@ -1048,7 +1048,7 @@ const VerdocsSign = class {
1048
1048
  } })));
1049
1049
  }
1050
1050
  if (this.declining) {
1051
- return (h(Host, { class: "agreed" }, h("div", { class: "document", style: { paddingTop: '15px' } }, 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" })), 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: () => {
1051
+ return (h(Host, { class: "agreed" }, h("div", { class: "document", style: { paddingTop: '15px' } }, 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" })), 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: () => {
1052
1052
  envelopeRecipientDecline(this.endpoint, this.envelopeId, this.roleId)
1053
1053
  .then(r => {
1054
1054
  console.log('[SIGN] Decline result', r);
@@ -1154,7 +1154,7 @@ const VerdocsSign = class {
1154
1154
  })), this.showFinishLater && (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: () => {
1155
1155
  this.isDone = true;
1156
1156
  this.showFinishLater = false;
1157
- } })), this.showDone && (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: () => {
1157
+ } })), this.showDone && (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: () => {
1158
1158
  this.showDone = false;
1159
1159
  this.isDone = true;
1160
1160
  } })), this.adoptingSignature && (h("verdocs-adopt-signature-dialog", { name: formatFullName(this.recipient), nameLocked: !!((_a = this.recipient) === null || _a === void 0 ? void 0 : _a.name_locked), onNext: async (e) => {