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