@verdocs/web-sdk 6.10.4 → 6.10.5

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.
@@ -145,12 +145,11 @@ const VerdocsSign = class {
145
145
  }
146
146
  }
147
147
  prepareForViewTransition() {
148
- var _a, _b, _c;
148
+ var _a, _b;
149
149
  this.stopPolling();
150
150
  (_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
151
151
  this.observer = null;
152
152
  (_b = document.getElementById('air-datepicker-global-container')) === null || _b === void 0 ? void 0 : _b.remove();
153
- (_c = document.getElementById('verdocs-sign-header')) === null || _c === void 0 ? void 0 : _c.remove();
154
153
  }
155
154
  async handleSubmitSuccess() {
156
155
  var _a, _b;
@@ -1064,7 +1063,7 @@ const VerdocsSign = class {
1064
1063
  e.preventDefault();
1065
1064
  e.stopPropagation();
1066
1065
  this.handleDoneDialogDismiss();
1067
- } })), this.submitting && (h("div", { class: "loading-indicator" }, h("verdocs-loader", null)))));
1066
+ }, onExit: () => this.handleDoneDialogDismiss() })), this.submitting && (h("div", { class: "loading-indicator" }, h("verdocs-loader", null)))));
1068
1067
  }
1069
1068
  if (this.delegating) {
1070
1069
  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-delegate-dialog", { endpoint: this.endpoint, envelope: this.envelope, onExit: () => (this.delegating = false), onNext: (e) => {
@@ -1187,7 +1186,7 @@ const VerdocsSign = class {
1187
1186
  this.showFinishLater = false;
1188
1187
  } })), 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.`, onNext: () => {
1189
1188
  this.handleDoneDialogDismiss();
1190
- } })), 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) => {
1189
+ }, onExit: () => this.handleDoneDialogDismiss() })), 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) => {
1191
1190
  console.log('[SIGN] Adopting signature/initials block', e.detail);
1192
1191
  this.showSpinner = true;
1193
1192
  // These arrive as base-64 encoded data URLs