@verdocs/web-sdk 2.0.22 → 2.0.23
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.
- package/dist/cjs/verdocs-sign.cjs.entry.js +5 -5
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +5 -5
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.stories.js +3 -3
- package/dist/components/verdocs-sign.js +5 -5
- package/dist/custom-elements.json +1939 -0
- package/dist/docs.json +1 -1
- package/dist/esm/verdocs-sign.entry.js +5 -5
- package/dist/esm-es5/verdocs-sign.entry.js +1 -1
- package/dist/verdocs-web-sdk/{p-689fc011.system.entry.js → p-249d4dbf.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-54dc2f71.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-647cdb84.system.js +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +2 -2
- package/dist/verdocs-web-sdk/p-e81819d8.entry.js +0 -1
@@ -336,10 +336,10 @@ const VerdocsSign = class {
|
|
336
336
|
this.isDone = true;
|
337
337
|
// TODO: This is a temporary hack. After submitting, if we immediately show the View component it won't have re-renedered the
|
338
338
|
// pages yet with our submitted data.
|
339
|
-
setTimeout(() => {
|
340
|
-
|
341
|
-
|
342
|
-
},
|
339
|
+
// setTimeout(() => {
|
340
|
+
// console.log('[SIGN] Reloading');
|
341
|
+
// window.location.reload();
|
342
|
+
// }, 250);
|
343
343
|
}
|
344
344
|
catch (e) {
|
345
345
|
console.log('[SIGN] Error submitting', e);
|
@@ -475,7 +475,7 @@ const VerdocsSign = class {
|
|
475
475
|
this.isDone = true;
|
476
476
|
} })), this.submitting && (index.h("div", { class: "loading-indicator" }, index.h("verdocs-loader", null)))));
|
477
477
|
}
|
478
|
-
return (index.h(index.Host, { class: { agreed: this.agreed } }, !this.agreed && !this.finishLater && (index.h("div", { class: "intro" }, index.h("div", { class: "inner" }, "Please review and act on these documents."))), index.h("div", { id: "verdocs-sign-header" }, index.h("div", { class: "inner" }, !this.agreed ? (index.h("div", { class: "agree" }, index.h("verdocs-checkbox", { name: "agree", label: "I agree to use electronic records and signatures.", onInput: () => this.handleClickAgree() }))) : (index.h(index.Fragment, null, index.h("img", { src: "https://verdocs.com/assets/white-logo.svg", alt: "Verdocs Logo", class: "logo" }), index.h("div", { class: "title" }, this.envelope.name), index.h("div", { style: { flex: '1' } }))), !this.finishLater && index.h("verdocs-button", { size: "small", label: this.nextButtonLabel, disabled: !this.agreed, onClick: () => this.handleNext() }), index.h("div", { style: { marginLeft: '10px' } }), index.h("verdocs-dropdown", { options: !this.isDone && !this.finishLater ? inProgressMenuOptions : doneMenuOptions, onOptionSelected: e => this.handleOptionSelected(e) }))), !this.agreed
|
478
|
+
return (index.h(index.Host, { class: { agreed: this.agreed } }, !this.agreed && !this.finishLater && (index.h("div", { class: "intro" }, index.h("div", { class: "inner" }, "Please review and act on these documents."))), index.h("div", { id: "verdocs-sign-header" }, index.h("div", { class: "inner" }, !this.agreed ? (index.h("div", { class: "agree" }, index.h("verdocs-checkbox", { name: "agree", label: "I agree to use electronic records and signatures.", onInput: () => this.handleClickAgree() }))) : (index.h(index.Fragment, null, index.h("img", { src: "https://verdocs.com/assets/white-logo.svg", alt: "Verdocs Logo", class: "logo" }), index.h("div", { class: "title" }, this.envelope.name), index.h("div", { style: { flex: '1' } }))), !this.finishLater && index.h("verdocs-button", { size: "small", label: this.nextButtonLabel, disabled: !this.agreed, onClick: () => this.handleNext() }), index.h("div", { style: { marginLeft: '10px' } }), index.h("verdocs-dropdown", { options: !this.isDone && !this.finishLater ? inProgressMenuOptions : doneMenuOptions, onOptionSelected: e => this.handleOptionSelected(e) }))), !this.agreed && index.h("div", { class: "cover" }), index.h("div", { class: "document", style: { paddingTop: this.headerTargetId ? '70px' : '15px' } }, (this.envelope.documents || []).map(envelopeDocument => {
|
479
479
|
const pageNumbers = Primitives.integerSequence(1, envelopeDocument.page_numbers);
|
480
480
|
return (index.h(index.Fragment, null, pageNumbers.map(pageNumber => {
|
481
481
|
// In signing mode we show the original template page with all the recipient fields so we can show source formatting and
|
@@ -315,10 +315,10 @@ export class VerdocsSign {
|
|
315
315
|
this.isDone = true;
|
316
316
|
// TODO: This is a temporary hack. After submitting, if we immediately show the View component it won't have re-renedered the
|
317
317
|
// pages yet with our submitted data.
|
318
|
-
setTimeout(() => {
|
319
|
-
|
320
|
-
|
321
|
-
},
|
318
|
+
// setTimeout(() => {
|
319
|
+
// console.log('[SIGN] Reloading');
|
320
|
+
// window.location.reload();
|
321
|
+
// }, 250);
|
322
322
|
}
|
323
323
|
catch (e) {
|
324
324
|
console.log('[SIGN] Error submitting', e);
|
@@ -454,7 +454,7 @@ export class VerdocsSign {
|
|
454
454
|
this.isDone = true;
|
455
455
|
} })), this.submitting && (h("div", { class: "loading-indicator" }, h("verdocs-loader", null)))));
|
456
456
|
}
|
457
|
-
return (h(Host, { class: { agreed: this.agreed } }, !this.agreed && !this.finishLater && (h("div", { class: "intro" }, h("div", { class: "inner" }, "Please review and act on these documents."))), h("div", { id: "verdocs-sign-header" }, h("div", { class: "inner" }, !this.agreed ? (h("div", { class: "agree" }, h("verdocs-checkbox", { name: "agree", label: "I agree to use electronic records and signatures.", onInput: () => this.handleClickAgree() }))) : (h(Fragment, null, h("img", { src: "https://verdocs.com/assets/white-logo.svg", alt: "Verdocs Logo", class: "logo" }), h("div", { class: "title" }, this.envelope.name), h("div", { style: { flex: '1' } }))), !this.finishLater && h("verdocs-button", { size: "small", label: this.nextButtonLabel, disabled: !this.agreed, onClick: () => this.handleNext() }), h("div", { style: { marginLeft: '10px' } }), h("verdocs-dropdown", { options: !this.isDone && !this.finishLater ? inProgressMenuOptions : doneMenuOptions, onOptionSelected: e => this.handleOptionSelected(e) }))), !this.agreed
|
457
|
+
return (h(Host, { class: { agreed: this.agreed } }, !this.agreed && !this.finishLater && (h("div", { class: "intro" }, h("div", { class: "inner" }, "Please review and act on these documents."))), h("div", { id: "verdocs-sign-header" }, h("div", { class: "inner" }, !this.agreed ? (h("div", { class: "agree" }, h("verdocs-checkbox", { name: "agree", label: "I agree to use electronic records and signatures.", onInput: () => this.handleClickAgree() }))) : (h(Fragment, null, h("img", { src: "https://verdocs.com/assets/white-logo.svg", alt: "Verdocs Logo", class: "logo" }), h("div", { class: "title" }, this.envelope.name), h("div", { style: { flex: '1' } }))), !this.finishLater && h("verdocs-button", { size: "small", label: this.nextButtonLabel, disabled: !this.agreed, onClick: () => this.handleNext() }), h("div", { style: { marginLeft: '10px' } }), h("verdocs-dropdown", { options: !this.isDone && !this.finishLater ? inProgressMenuOptions : doneMenuOptions, onOptionSelected: e => this.handleOptionSelected(e) }))), !this.agreed && h("div", { class: "cover" }), h("div", { class: "document", style: { paddingTop: this.headerTargetId ? '70px' : '15px' } }, (this.envelope.documents || []).map(envelopeDocument => {
|
458
458
|
const pageNumbers = integerSequence(1, envelopeDocument.page_numbers);
|
459
459
|
return (h(Fragment, null, pageNumbers.map(pageNumber => {
|
460
460
|
// In signing mode we show the original template page with all the recipient fields so we can show source formatting and
|
@@ -3,9 +3,9 @@ export default {
|
|
3
3
|
title: 'Embeds/Sign',
|
4
4
|
component: 'verdocs-sign',
|
5
5
|
args: {
|
6
|
-
envelopeId: '
|
7
|
-
roleId: '
|
8
|
-
inviteCode: '
|
6
|
+
envelopeId: '',
|
7
|
+
roleId: '',
|
8
|
+
inviteCode: '',
|
9
9
|
},
|
10
10
|
argTypes: {
|
11
11
|
envelopeId: {
|
@@ -338,10 +338,10 @@ const VerdocsSign$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
338
338
|
this.isDone = true;
|
339
339
|
// TODO: This is a temporary hack. After submitting, if we immediately show the View component it won't have re-renedered the
|
340
340
|
// pages yet with our submitted data.
|
341
|
-
setTimeout(() => {
|
342
|
-
|
343
|
-
|
344
|
-
},
|
341
|
+
// setTimeout(() => {
|
342
|
+
// console.log('[SIGN] Reloading');
|
343
|
+
// window.location.reload();
|
344
|
+
// }, 250);
|
345
345
|
}
|
346
346
|
catch (e) {
|
347
347
|
console.log('[SIGN] Error submitting', e);
|
@@ -477,7 +477,7 @@ const VerdocsSign$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
477
477
|
this.isDone = true;
|
478
478
|
} })), this.submitting && (h("div", { class: "loading-indicator" }, h("verdocs-loader", null)))));
|
479
479
|
}
|
480
|
-
return (h(Host, { class: { agreed: this.agreed } }, !this.agreed && !this.finishLater && (h("div", { class: "intro" }, h("div", { class: "inner" }, "Please review and act on these documents."))), h("div", { id: "verdocs-sign-header" }, h("div", { class: "inner" }, !this.agreed ? (h("div", { class: "agree" }, h("verdocs-checkbox", { name: "agree", label: "I agree to use electronic records and signatures.", onInput: () => this.handleClickAgree() }))) : (h(Fragment, null, h("img", { src: "https://verdocs.com/assets/white-logo.svg", alt: "Verdocs Logo", class: "logo" }), h("div", { class: "title" }, this.envelope.name), h("div", { style: { flex: '1' } }))), !this.finishLater && h("verdocs-button", { size: "small", label: this.nextButtonLabel, disabled: !this.agreed, onClick: () => this.handleNext() }), h("div", { style: { marginLeft: '10px' } }), h("verdocs-dropdown", { options: !this.isDone && !this.finishLater ? inProgressMenuOptions : doneMenuOptions, onOptionSelected: e => this.handleOptionSelected(e) }))), !this.agreed
|
480
|
+
return (h(Host, { class: { agreed: this.agreed } }, !this.agreed && !this.finishLater && (h("div", { class: "intro" }, h("div", { class: "inner" }, "Please review and act on these documents."))), h("div", { id: "verdocs-sign-header" }, h("div", { class: "inner" }, !this.agreed ? (h("div", { class: "agree" }, h("verdocs-checkbox", { name: "agree", label: "I agree to use electronic records and signatures.", onInput: () => this.handleClickAgree() }))) : (h(Fragment, null, h("img", { src: "https://verdocs.com/assets/white-logo.svg", alt: "Verdocs Logo", class: "logo" }), h("div", { class: "title" }, this.envelope.name), h("div", { style: { flex: '1' } }))), !this.finishLater && h("verdocs-button", { size: "small", label: this.nextButtonLabel, disabled: !this.agreed, onClick: () => this.handleNext() }), h("div", { style: { marginLeft: '10px' } }), h("verdocs-dropdown", { options: !this.isDone && !this.finishLater ? inProgressMenuOptions : doneMenuOptions, onOptionSelected: e => this.handleOptionSelected(e) }))), !this.agreed && h("div", { class: "cover" }), h("div", { class: "document", style: { paddingTop: this.headerTargetId ? '70px' : '15px' } }, (this.envelope.documents || []).map(envelopeDocument => {
|
481
481
|
const pageNumbers = integerSequence(1, envelopeDocument.page_numbers);
|
482
482
|
return (h(Fragment, null, pageNumbers.map(pageNumber => {
|
483
483
|
// In signing mode we show the original template page with all the recipient fields so we can show source formatting and
|