@verdocs/web-sdk 1.14.3 → 1.14.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.
- package/README.md +0 -13
- package/dist/cjs/{Toast-26bf925e.js → Toast-06880504.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-a9022729.js → utils-e018339d.js} +0 -2
- package/dist/cjs/verdocs-button.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-recipient-summary.cjs.entry.js +13 -8
- package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +5 -4
- package/dist/cjs/verdocs-field-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-date.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-initial.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-payment.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-signature.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-textarea.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-textbox.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-timestamp.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-preview.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-send.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-sign.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-fields_4.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-view.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-web-sdk.cjs.js +1 -1
- package/dist/collection/components/controls/verdocs-button/verdocs-button.css +5 -5
- package/dist/collection/components/controls/verdocs-button/verdocs-button.js +1 -1
- package/dist/collection/components/envelopes/verdocs-envelope-recipient-summary/verdocs-envelope-recipient-summary.css +11 -12
- package/dist/collection/components/envelopes/verdocs-envelope-recipient-summary/verdocs-envelope-recipient-summary.js +12 -6
- package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.js +6 -4
- package/dist/collection/utils/Toast.js +1 -1
- package/dist/collection/utils/utils.js +0 -2
- package/dist/components/Toast.js +1 -1
- package/dist/components/utils.js +0 -2
- package/dist/components/verdocs-button2.js +2 -2
- package/dist/components/verdocs-envelope-recipient-summary2.js +13 -7
- package/dist/components/verdocs-envelope-sidebar.js +6 -4
- package/dist/docs.json +1 -1
- package/dist/esm/{Toast-fbda07e3.js → Toast-f3b8fd46.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-75cee3f6.js → utils-888f9f20.js} +0 -2
- package/dist/esm/verdocs-button.entry.js +2 -2
- package/dist/esm/verdocs-dropdown_2.entry.js +1 -1
- package/dist/esm/verdocs-envelope-recipient-summary.entry.js +13 -8
- package/dist/esm/verdocs-envelope-sidebar.entry.js +5 -4
- package/dist/esm/verdocs-field-checkbox.entry.js +1 -1
- package/dist/esm/verdocs-field-date.entry.js +1 -1
- package/dist/esm/verdocs-field-dropdown.entry.js +1 -1
- package/dist/esm/verdocs-field-initial.entry.js +1 -1
- package/dist/esm/verdocs-field-payment.entry.js +1 -1
- package/dist/esm/verdocs-field-radio-button.entry.js +1 -1
- package/dist/esm/verdocs-field-signature.entry.js +1 -1
- package/dist/esm/verdocs-field-textarea.entry.js +1 -1
- package/dist/esm/verdocs-field-textbox.entry.js +1 -1
- package/dist/esm/verdocs-field-timestamp.entry.js +1 -1
- package/dist/esm/verdocs-preview.entry.js +1 -1
- package/dist/esm/verdocs-send.entry.js +1 -1
- package/dist/esm/verdocs-sign.entry.js +2 -2
- package/dist/esm/verdocs-template-document-page_2.entry.js +1 -1
- package/dist/esm/verdocs-template-fields_4.entry.js +1 -1
- package/dist/esm/verdocs-view.entry.js +1 -1
- package/dist/esm/verdocs-web-sdk.js +1 -1
- package/dist/esm-es5/{Toast-fbda07e3.js → Toast-f3b8fd46.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{utils-75cee3f6.js → utils-888f9f20.js} +1 -1
- package/dist/esm-es5/verdocs-button.entry.js +1 -1
- package/dist/esm-es5/verdocs-dropdown_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-recipient-summary.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-sidebar.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-checkbox.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-date.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-dropdown.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-initial.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-payment.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-radio-button.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-signature.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-textarea.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-textbox.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-timestamp.entry.js +1 -1
- package/dist/esm-es5/verdocs-preview.entry.js +1 -1
- package/dist/esm-es5/verdocs-send.entry.js +1 -1
- package/dist/esm-es5/verdocs-sign.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-fields_4.entry.js +1 -1
- package/dist/esm-es5/verdocs-view.entry.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js +1 -1
- package/dist/types/components/envelopes/verdocs-envelope-recipient-summary/verdocs-envelope-recipient-summary.d.ts +1 -0
- package/dist/types/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.d.ts +1 -0
- package/dist/verdocs-web-sdk/{p-257b575f.system.entry.js → p-007e4f26.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-63a75b10.system.entry.js → p-048b9d61.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ee20297a.system.js → p-06de3aa9.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fe0da205.entry.js → p-09128feb.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-4e8ae503.system.entry.js → p-1439a591.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-18e8f1b5.system.entry.js → p-1797bb88.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-05f8c1c8.entry.js → p-18b63178.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2cc146cb.entry.js → p-1c43231a.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-1cf38cea.system.js +1 -1
- package/dist/verdocs-web-sdk/{p-4f947df8.system.entry.js → p-1dcb9485.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-b0b84793.entry.js → p-1e985832.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-b7af4b3f.system.entry.js → p-2101c950.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-396207e9.entry.js → p-22a2ed7f.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ee743904.entry.js → p-2b43b902.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-848371c9.entry.js → p-33525c67.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-37f9dcf4.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-381f2a5f.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-3f0517cc.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-79844d8f.entry.js → p-5ad5089c.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-0b99a23e.entry.js → p-5b76b4c2.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-73a8954f.system.entry.js → p-60323005.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a3ab475a.entry.js → p-67cfdbad.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-611e0ebe.entry.js → p-67ff767c.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-5f61a3ec.js → p-6e9ba11c.js} +1 -1
- package/dist/verdocs-web-sdk/{p-060a5281.entry.js → p-6f7890f1.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-375b1328.system.entry.js → p-721ce66a.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-609e9838.system.entry.js → p-7d7a6546.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-935e379f.system.entry.js → p-7f7ab43c.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3649e7e0.entry.js → p-8480627c.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-9c87a748.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-a8043f9d.entry.js → p-9c8e40e0.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f6009651.system.entry.js → p-a018c7ab.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-7b5f4edf.system.entry.js → p-a0551888.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-5a456647.system.entry.js → p-a59e71fd.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-b970a5fe.system.entry.js → p-b386ba87.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fa4e7dd4.system.entry.js → p-b7292520.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-aa3a445b.system.entry.js → p-c36badf2.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-31be0dfc.system.js → p-ca13070e.system.js} +1 -1
- package/dist/verdocs-web-sdk/p-e038c2fe.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-d170f421.entry.js → p-e5e90947.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c472fbd0.system.entry.js → p-e8be6213.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-feb2ae87.js → p-ed416acf.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e4aaa309.entry.js → p-ee2142db.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-783a95b0.system.entry.js → p-f28ee385.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e8ef4d44.entry.js → p-f31f50ec.entry.js} +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +1 -1
- package/dist/verdocs-web-sdk/p-0251ca3a.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-0a0d0679.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-20620846.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-483ded0c.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-c36af1a6.entry.js +0 -1
@@ -15,7 +15,7 @@ verdocs-button button .icon svg {
|
|
15
15
|
fill: #ffffff;
|
16
16
|
display: block;
|
17
17
|
}
|
18
|
-
verdocs-button button .label {
|
18
|
+
verdocs-button button .button-label {
|
19
19
|
padding: 0 12px;
|
20
20
|
}
|
21
21
|
verdocs-button button.small {
|
@@ -29,7 +29,7 @@ verdocs-button button.small .icon svg {
|
|
29
29
|
margin: 2px 0 0 0;
|
30
30
|
height: 20px;
|
31
31
|
}
|
32
|
-
verdocs-button button.small .label {
|
32
|
+
verdocs-button button.small .button-label {
|
33
33
|
padding: 0 4px;
|
34
34
|
}
|
35
35
|
verdocs-button button.normal {
|
@@ -46,7 +46,7 @@ verdocs-button button.normal .icon svg {
|
|
46
46
|
margin: 2px 0 0 0;
|
47
47
|
height: 22px;
|
48
48
|
}
|
49
|
-
verdocs-button button.normal .label {
|
49
|
+
verdocs-button button.normal .button-label {
|
50
50
|
padding: 0 10px;
|
51
51
|
}
|
52
52
|
verdocs-button button.medium {
|
@@ -63,7 +63,7 @@ verdocs-button button.medium .icon svg {
|
|
63
63
|
margin: 2px 0 0 0;
|
64
64
|
height: 26px;
|
65
65
|
}
|
66
|
-
verdocs-button button.medium .label {
|
66
|
+
verdocs-button button.medium .button-label {
|
67
67
|
padding: 0 20px;
|
68
68
|
}
|
69
69
|
verdocs-button button.large {
|
@@ -80,7 +80,7 @@ verdocs-button button.large .icon svg {
|
|
80
80
|
margin: 2px 0 0 0;
|
81
81
|
height: 32px;
|
82
82
|
}
|
83
|
-
verdocs-button button.large .label {
|
83
|
+
verdocs-button button.large .button-label {
|
84
84
|
padding: 0 34px;
|
85
85
|
}
|
86
86
|
verdocs-button button.standard {
|
@@ -29,7 +29,7 @@ export class VerdocsButton {
|
|
29
29
|
this.disabled = false;
|
30
30
|
}
|
31
31
|
render() {
|
32
|
-
return (h("button", { disabled: this.disabled, type: this.type, class: `${this.variant} ${this.size} ${this.type}` }, this.startIcon ? h("span", { class: "icon start", innerHTML: this.startIcon }) : null, h("span", { class: "label" }, this.label), this.endIcon ? h("span", { class: "icon end", innerHTML: this.endIcon }) : null));
|
32
|
+
return (h("button", { disabled: this.disabled, type: this.type, class: `${this.variant} ${this.size} ${this.type}` }, this.startIcon ? h("span", { class: "icon start", innerHTML: this.startIcon }) : null, h("span", { class: "button-label" }, this.label), this.endIcon ? h("span", { class: "icon end", innerHTML: this.endIcon }) : null));
|
33
33
|
}
|
34
34
|
static get is() { return "verdocs-button"; }
|
35
35
|
static get originalStyleUrls() {
|
@@ -11,10 +11,7 @@ verdocs-envelope-recipient-summary {
|
|
11
11
|
font-family: "Inter", "Barlow", sans-serif;
|
12
12
|
background-color: #0000007f;
|
13
13
|
}
|
14
|
-
verdocs-envelope-recipient-summary .
|
15
|
-
color: #ffffff;
|
16
|
-
}
|
17
|
-
verdocs-envelope-recipient-summary .content {
|
14
|
+
verdocs-envelope-recipient-summary .summary-content {
|
18
15
|
width: 600px;
|
19
16
|
display: flex;
|
20
17
|
max-width: 90%;
|
@@ -25,18 +22,19 @@ verdocs-envelope-recipient-summary .content {
|
|
25
22
|
flex-direction: column;
|
26
23
|
padding: 30px 20px 20px;
|
27
24
|
}
|
28
|
-
verdocs-envelope-recipient-summary .content .title {
|
25
|
+
verdocs-envelope-recipient-summary .summary-content .summary-title {
|
29
26
|
font-size: 20px;
|
27
|
+
font-weight: 700;
|
30
28
|
margin: 0 0 10px 0;
|
31
29
|
color: #33364b;
|
32
30
|
}
|
33
|
-
verdocs-envelope-recipient-summary .recipient {
|
31
|
+
verdocs-envelope-recipient-summary .summary-recipient {
|
34
32
|
display: flex;
|
35
33
|
color: #33364b;
|
36
34
|
margin: 8px 0 24px 0;
|
37
35
|
flex-direction: column;
|
38
36
|
}
|
39
|
-
verdocs-envelope-recipient-summary .recipient .role-name {
|
37
|
+
verdocs-envelope-recipient-summary .summary-recipient .role-name {
|
40
38
|
flex: 1;
|
41
39
|
display: flex;
|
42
40
|
font-size: 14px;
|
@@ -44,12 +42,13 @@ verdocs-envelope-recipient-summary .recipient .role-name {
|
|
44
42
|
margin: 0 0 8px 0;
|
45
43
|
color: #092c4c;
|
46
44
|
}
|
47
|
-
verdocs-envelope-recipient-summary .recipient .role-info {
|
45
|
+
verdocs-envelope-recipient-summary .summary-recipient .role-info {
|
48
46
|
gap: 5px;
|
49
47
|
display: flex;
|
50
48
|
flex-direction: row;
|
49
|
+
align-items: flex-end;
|
51
50
|
}
|
52
|
-
verdocs-envelope-recipient-summary .recipient .role-full-name {
|
51
|
+
verdocs-envelope-recipient-summary .summary-recipient .role-full-name {
|
53
52
|
flex: 1;
|
54
53
|
height: 34px;
|
55
54
|
display: flex;
|
@@ -60,7 +59,7 @@ verdocs-envelope-recipient-summary .recipient .role-full-name {
|
|
60
59
|
border: 1px solid #cccccc;
|
61
60
|
background: #f9fafb;
|
62
61
|
}
|
63
|
-
verdocs-envelope-recipient-summary .recipient .recipient-link {
|
62
|
+
verdocs-envelope-recipient-summary .summary-recipient .recipient-link {
|
64
63
|
width: 120px;
|
65
64
|
padding: 0 16px;
|
66
65
|
font-weight: 500;
|
@@ -73,13 +72,13 @@ verdocs-envelope-recipient-summary .recipient .recipient-link {
|
|
73
72
|
background-color: #d8d8d8;
|
74
73
|
border: 2px solid #9ca3af;
|
75
74
|
}
|
76
|
-
verdocs-envelope-recipient-summary .recipient .link-wrapper {
|
75
|
+
verdocs-envelope-recipient-summary .summary-recipient .link-wrapper {
|
77
76
|
gap: 5px;
|
78
77
|
display: flex;
|
79
78
|
margin: 4px 0 0 0;
|
80
79
|
flex-direction: row;
|
81
80
|
}
|
82
|
-
verdocs-envelope-recipient-summary .recipient .link-wrapper .link {
|
81
|
+
verdocs-envelope-recipient-summary .summary-recipient .link-wrapper .link {
|
83
82
|
flex: 1;
|
84
83
|
height: 34px;
|
85
84
|
display: flex;
|
@@ -24,6 +24,7 @@ export class VerdocsEnvelopeRecipientSummary {
|
|
24
24
|
this.canDone = true;
|
25
25
|
this.envelope = undefined;
|
26
26
|
this.isOpen = undefined;
|
27
|
+
this.loading = true;
|
27
28
|
this.recipientStatusIcons = [];
|
28
29
|
this.containerId = `verdocs-status-indicator-${Math.random().toString(36).substring(2, 11)}`;
|
29
30
|
this.gettingLinks = {};
|
@@ -43,6 +44,7 @@ export class VerdocsEnvelopeRecipientSummary {
|
|
43
44
|
}
|
44
45
|
this.store = await getEnvelopeStore(this.endpoint, this.envelopeId, true);
|
45
46
|
this.sortEnvelopeRecipients();
|
47
|
+
this.loading = false;
|
46
48
|
}
|
47
49
|
catch (e) {
|
48
50
|
console.log('[RECIPIENTS] Error loading envelope', e);
|
@@ -80,27 +82,30 @@ export class VerdocsEnvelopeRecipientSummary {
|
|
80
82
|
});
|
81
83
|
}
|
82
84
|
getLink(recipient) {
|
83
|
-
this.gettingLinks[recipient.role_name]
|
85
|
+
this.gettingLinks = { ...this.gettingLinks, [recipient.role_name]: true };
|
84
86
|
getInPersonLink(this.endpoint, recipient.envelope_id, recipient.role_name)
|
85
87
|
.then(response => {
|
86
|
-
this.gettingLinks[recipient.role_name]
|
88
|
+
this.gettingLinks = { ...this.gettingLinks, [recipient.role_name]: false };
|
87
89
|
this.links = { ...this.links, [recipient.role_name]: response.link };
|
88
90
|
this.copyLink(response.link);
|
89
91
|
})
|
90
92
|
.catch(e => {
|
91
|
-
this.gettingLinks[recipient.role_name]
|
93
|
+
this.gettingLinks = { ...this.gettingLinks, [recipient.role_name]: false };
|
92
94
|
console.log('[RECIPIENTS] Error getting link', e);
|
93
95
|
VerdocsToast('Unable to get link: ' + e.message, { style: 'error' });
|
94
96
|
});
|
95
97
|
}
|
96
98
|
render() {
|
97
|
-
var _a;
|
98
|
-
|
99
|
+
var _a, _b;
|
100
|
+
if (this.loading) {
|
101
|
+
return h(Host, null);
|
102
|
+
}
|
103
|
+
return (h(Host, null, h("div", { class: "summary-content" }, h("h1", { class: "summary-title" }, "Recipient Summary"), h("div", { class: "summary-rows" }, (((_b = (_a = this.store) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.recipients) || []).map(recipient => {
|
99
104
|
const recipientsWithActions = getRecipientsWithActions(this.store.state);
|
100
105
|
const showLinkButton = recipientCanAct(recipient, recipientsWithActions);
|
101
106
|
const link = this.links[recipient.role_name];
|
102
107
|
const gettingLink = this.gettingLinks[recipient.role_name];
|
103
|
-
return (h("div", { class: "recipient" }, h("div", { class: "role-name" }, recipient.role_name), h("div", { class: "role-details" }, h("div", { class: "role-info" }, h("div", { class: "role-full-name" }, recipient.full_name, " (", recipient.email || recipient.phone, ")"), showLinkButton && !link && h("verdocs-button", { size: "small", variant: "outline", label: "Get Link", disabled: gettingLink, onClick: () => this.getLink(recipient) })), link && (h("div", { class: "link-wrapper" }, h("div", { class: "link" }, link), h("verdocs-button", { size: "small", variant: "outline", label: "Copy", onClick: () => this.copyLink(link) }))))));
|
108
|
+
return (h("div", { class: "summary-recipient" }, h("div", { class: "role-name" }, recipient.role_name), h("div", { class: "role-details" }, h("div", { class: "role-info" }, h("div", { class: "role-full-name" }, recipient.full_name, " (", recipient.email || recipient.phone, ")"), showLinkButton && !link && h("verdocs-button", { size: "small", variant: "outline", label: "Get Link", disabled: gettingLink, onClick: () => this.getLink(recipient) })), link && (h("div", { class: "link-wrapper" }, h("div", { class: "link" }, link), h("verdocs-button", { size: "small", variant: "outline", label: "Copy", onClick: () => this.copyLink(link) }))))));
|
104
109
|
})), (this.canSendAnother || this.canView || this.canDone) && (h("div", { class: "buttons" }, this.canSendAnother && h("verdocs-button", { size: "small", label: "Send Another", onClick: e => this.handleAnother(e) }), this.canView && h("verdocs-button", { size: "small", label: "View Now", onClick: e => this.handleView(e) }), this.canDone && h("verdocs-button", { size: "small", label: "Done", onClick: e => this.handleDone(e) }))))));
|
105
110
|
}
|
106
111
|
static get is() { return "verdocs-envelope-recipient-summary"; }
|
@@ -234,6 +239,7 @@ export class VerdocsEnvelopeRecipientSummary {
|
|
234
239
|
static get states() {
|
235
240
|
return {
|
236
241
|
"isOpen": {},
|
242
|
+
"loading": {},
|
237
243
|
"recipientStatusIcons": {},
|
238
244
|
"containerId": {},
|
239
245
|
"gettingLinks": {},
|
package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.js
CHANGED
@@ -43,6 +43,7 @@ export class VerdocsEnvelopeSidebar {
|
|
43
43
|
this.activeTab = 1;
|
44
44
|
this.panelOpen = false;
|
45
45
|
this.showManageDialog = false;
|
46
|
+
this.loading = true;
|
46
47
|
}
|
47
48
|
componentWillLoad() {
|
48
49
|
this.endpoint.loadSession();
|
@@ -62,6 +63,7 @@ export class VerdocsEnvelopeSidebar {
|
|
62
63
|
return a.sequence === b.sequence ? a.order - b.order : a.sequence - b.sequence;
|
63
64
|
});
|
64
65
|
this.roleNames = this.sortedRecipients.map(r => r.role_name);
|
66
|
+
this.loading = false;
|
65
67
|
}
|
66
68
|
catch (e) {
|
67
69
|
(_a = this.sdkError) === null || _a === void 0 ? void 0 : _a.emit(new SDKError(e.message, (_b = e.response) === null || _b === void 0 ? void 0 : _b.status, (_c = e.response) === null || _c === void 0 ? void 0 : _c.data));
|
@@ -206,7 +208,7 @@ export class VerdocsEnvelopeSidebar {
|
|
206
208
|
entries.push({ icon: 'link', message: `Owner accessed the In-person link for ${user}.`, date: new Date(history.created_at) });
|
207
209
|
break;
|
208
210
|
default:
|
209
|
-
console.log('
|
211
|
+
console.log('[SIDEBAR] Unknown history type', history);
|
210
212
|
break;
|
211
213
|
}
|
212
214
|
});
|
@@ -215,13 +217,12 @@ export class VerdocsEnvelopeSidebar {
|
|
215
217
|
}
|
216
218
|
render() {
|
217
219
|
var _a, _b, _c;
|
218
|
-
if (!this.envelope) {
|
220
|
+
if (!this.envelope || this.loading) {
|
219
221
|
return h(Host, null);
|
220
222
|
}
|
221
223
|
const session = this.endpoint.getSession();
|
222
224
|
const isEnvelopeOwner = userIsEnvelopeOwner(session, this.envelope);
|
223
225
|
const historyEntries = this.prepareHistoryEntries();
|
224
|
-
console.log('e', this.envelope);
|
225
226
|
return (h(Host, { class: this.panelOpen ? 'open' : '' }, h("div", { class: "side-buttons" }, h("button", { class: this.activeTab === 1 ? 'active' : '', onClick: () => this.setTab(1), innerHTML: InformationCircle }), h("button", { class: this.activeTab === 2 ? 'active' : '', onClick: () => this.setTab(2), innerHTML: Users }), h("button", { class: this.activeTab === 3 ? 'active' : '', onClick: () => this.setTab(3), innerHTML: ClipboardDocuments })), this.activeTab === 1 && (h("div", { class: "content" }, h("div", { class: "title" }, "Details"), h("div", { class: "label" }, "Envelope ID"), h("div", { class: "value" }, this.envelope.id), h("div", { class: "label" }, "Date Created"), h("div", { class: "value" }, format(new Date(this.envelope.created_at), 'PP pp')), h("div", { class: "label" }, "Last Modified"), h("div", { class: "value" }, format(new Date(this.envelope.updated_at), 'PP pp')), h("div", { class: "label" }, "Status"), h("div", { class: "value" }, this.envelope.status), h("div", { class: "label" }, "Verdoc Owner ID"), h("div", { class: "value" }, this.envelope.profile_id), h("div", { class: "label" }, "Verdoc Owner Name"), h("div", { class: "value" }, (_a = this.envelope.profile) === null || _a === void 0 ? void 0 :
|
226
227
|
_a.first_name, " ", (_b = this.envelope.profile) === null || _b === void 0 ? void 0 :
|
227
228
|
_b.last_name), h("div", { class: "label" }, "Verdoc Owner Email"), h("div", { class: "value" }, (_c = this.envelope.profile) === null || _c === void 0 ? void 0 : _c.email))), this.activeTab === 2 && (h("div", { class: "content" }, h("div", { class: "title" }, "Recipients"), this.sortedRecipients.map((recipient, index) => (h("div", { class: "recipient-detail" }, h("div", { class: "recipient-header" }, h("div", { class: "recipient-number" }, index + 1), h("div", { class: "recipient-type" }, recipient.role_name), h("div", { class: { 'recipient-status': true, [recipient.status]: true } }, recipient.status), isEnvelopeOwner && (h("verdocs-dropdown", { onOptionSelected: item => this.handleRecipientAction(recipient, item.detail.id), options: [
|
@@ -298,7 +299,8 @@ export class VerdocsEnvelopeSidebar {
|
|
298
299
|
"roleNames": {},
|
299
300
|
"activeTab": {},
|
300
301
|
"panelOpen": {},
|
301
|
-
"showManageDialog": {}
|
302
|
+
"showManageDialog": {},
|
303
|
+
"loading": {}
|
302
304
|
};
|
303
305
|
}
|
304
306
|
static get events() {
|
@@ -45,7 +45,7 @@ export const VerdocsToast = (text, config = {}) => {
|
|
45
45
|
const toastBody = `
|
46
46
|
${icon}
|
47
47
|
<div class="verdocs-toast-text" style="padding: 12px 12px 12px 0;">${text}</div>
|
48
|
-
<div class="verdocs-toast-close" style="padding: 12px
|
48
|
+
<div class="verdocs-toast-close" style="padding: 12px 10px; background: rgba(0, 0, 0, 0.2); cursor: pointer;">✕</div>
|
49
49
|
`;
|
50
50
|
const toast = document.createElement('div');
|
51
51
|
toast.className = 'verdocs-toast';
|
@@ -119,9 +119,7 @@ export const renderDocumentField = (field, docPage, roleIndex, fieldOptions) =>
|
|
119
119
|
}
|
120
120
|
let { type } = field;
|
121
121
|
if (type === 'textbox') {
|
122
|
-
console.log('Rendering text box', field);
|
123
122
|
if (((_a = field['setting']) === null || _a === void 0 ? void 0 : _a.leading) > 0 || ((_b = field['settings']) === null || _b === void 0 ? void 0 : _b.leading) > 0) {
|
124
|
-
console.log('Switching to text area', field);
|
125
123
|
type = 'textarea';
|
126
124
|
}
|
127
125
|
}
|
package/dist/components/Toast.js
CHANGED
@@ -118,7 +118,7 @@ const VerdocsToast = (text, config = {}) => {
|
|
118
118
|
const toastBody = `
|
119
119
|
${icon}
|
120
120
|
<div class="verdocs-toast-text" style="padding: 12px 12px 12px 0;">${text}</div>
|
121
|
-
<div class="verdocs-toast-close" style="padding: 12px
|
121
|
+
<div class="verdocs-toast-close" style="padding: 12px 10px; background: rgba(0, 0, 0, 0.2); cursor: pointer;">✕</div>
|
122
122
|
`;
|
123
123
|
const toast = document.createElement('div');
|
124
124
|
toast.className = 'verdocs-toast';
|
package/dist/components/utils.js
CHANGED
@@ -140,9 +140,7 @@ const renderDocumentField = (field, docPage, roleIndex, fieldOptions) => {
|
|
140
140
|
}
|
141
141
|
let { type } = field;
|
142
142
|
if (type === 'textbox') {
|
143
|
-
console.log('Rendering text box', field);
|
144
143
|
if (((_a = field['setting']) === null || _a === void 0 ? void 0 : _a.leading) > 0 || ((_b = field['settings']) === null || _b === void 0 ? void 0 : _b.leading) > 0) {
|
145
|
-
console.log('Switching to text area', field);
|
146
144
|
type = 'textarea';
|
147
145
|
}
|
148
146
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
2
2
|
|
3
|
-
const verdocsButtonCss = "verdocs-button button{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;text-transform:uppercase;-ms-flex-pack:center;justify-content:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;font-weight:700;cursor:pointer;margin:0}verdocs-button button .icon{margin:0 12px}verdocs-button button .icon svg{fill:#ffffff;display:block}verdocs-button button .label{padding:0 12px}verdocs-button button.small{height:34px;font-size:13px}verdocs-button button.small .icon{margin:0 4px}verdocs-button button.small .icon svg{margin:2px 0 0 0;height:20px}verdocs-button button.small .label{padding:0 4px}verdocs-button button.normal{height:44px;font-size:14px}verdocs-button button.normal .icon.start{margin:0 4px 0 8px}verdocs-button button.normal .icon.end{margin:0 8px 0 4px}verdocs-button button.normal .icon svg{margin:2px 0 0 0;height:22px}verdocs-button button.normal .label{padding:0 10px}verdocs-button button.medium{height:52px;font-size:16px}verdocs-button button.medium .icon.start{margin:0 0 0 18px}verdocs-button button.medium .icon.end{margin:0 18px 0 0}verdocs-button button.medium .icon svg{margin:2px 0 0 0;height:26px}verdocs-button button.medium .label{padding:0 20px}verdocs-button button.large{height:60px;font-size:20px}verdocs-button button.large .icon.start{margin:0 0 0 24px}verdocs-button button.large .icon.end{margin:0 24px 0 0}verdocs-button button.large .icon svg{margin:2px 0 0 0;height:32px}verdocs-button button.large .label{padding:0 34px}verdocs-button button.standard{background:#55bc81;border-radius:4px;outline:none;border:none;color:white}verdocs-button button.standard:disabled{background-color:#999999;cursor:default}verdocs-button button.standard:active:not([disabled]){-webkit-filter:brightness(110%);filter:brightness(110%)}verdocs-button button.text{color:#4c56cb;background:transparent;font-weight:500;padding:0 4px;outline:none;border:none}verdocs-button button.text:disabled{color:#999999}verdocs-button button.text:active:not([disabled]){-webkit-filter:brightness(130%);filter:brightness(130%)}verdocs-button button.text .icon svg{fill:#4c56cb}verdocs-button button.outline{border:1px solid #4c56cb;color:#4c56cb;outline:none;background:transparent;border-radius:4px;padding:0 20px}verdocs-button button.outline:disabled{color:#999999;border:1px solid #999999}verdocs-button button.outline:active{background:#4c56cb;color:white}verdocs-button button.outline .icon svg{fill:#4c56cb}";
|
3
|
+
const verdocsButtonCss = "verdocs-button button{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;text-transform:uppercase;-ms-flex-pack:center;justify-content:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;font-weight:700;cursor:pointer;margin:0}verdocs-button button .icon{margin:0 12px}verdocs-button button .icon svg{fill:#ffffff;display:block}verdocs-button button .button-label{padding:0 12px}verdocs-button button.small{height:34px;font-size:13px}verdocs-button button.small .icon{margin:0 4px}verdocs-button button.small .icon svg{margin:2px 0 0 0;height:20px}verdocs-button button.small .button-label{padding:0 4px}verdocs-button button.normal{height:44px;font-size:14px}verdocs-button button.normal .icon.start{margin:0 4px 0 8px}verdocs-button button.normal .icon.end{margin:0 8px 0 4px}verdocs-button button.normal .icon svg{margin:2px 0 0 0;height:22px}verdocs-button button.normal .button-label{padding:0 10px}verdocs-button button.medium{height:52px;font-size:16px}verdocs-button button.medium .icon.start{margin:0 0 0 18px}verdocs-button button.medium .icon.end{margin:0 18px 0 0}verdocs-button button.medium .icon svg{margin:2px 0 0 0;height:26px}verdocs-button button.medium .button-label{padding:0 20px}verdocs-button button.large{height:60px;font-size:20px}verdocs-button button.large .icon.start{margin:0 0 0 24px}verdocs-button button.large .icon.end{margin:0 24px 0 0}verdocs-button button.large .icon svg{margin:2px 0 0 0;height:32px}verdocs-button button.large .button-label{padding:0 34px}verdocs-button button.standard{background:#55bc81;border-radius:4px;outline:none;border:none;color:white}verdocs-button button.standard:disabled{background-color:#999999;cursor:default}verdocs-button button.standard:active:not([disabled]){-webkit-filter:brightness(110%);filter:brightness(110%)}verdocs-button button.text{color:#4c56cb;background:transparent;font-weight:500;padding:0 4px;outline:none;border:none}verdocs-button button.text:disabled{color:#999999}verdocs-button button.text:active:not([disabled]){-webkit-filter:brightness(130%);filter:brightness(130%)}verdocs-button button.text .icon svg{fill:#4c56cb}verdocs-button button.outline{border:1px solid #4c56cb;color:#4c56cb;outline:none;background:transparent;border-radius:4px;padding:0 20px}verdocs-button button.outline:disabled{color:#999999;border:1px solid #999999}verdocs-button button.outline:active{background:#4c56cb;color:white}verdocs-button button.outline .icon svg{fill:#4c56cb}";
|
4
4
|
|
5
5
|
const VerdocsButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
6
6
|
constructor() {
|
@@ -15,7 +15,7 @@ const VerdocsButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
15
15
|
this.disabled = false;
|
16
16
|
}
|
17
17
|
render() {
|
18
|
-
return (h("button", { disabled: this.disabled, type: this.type, class: `${this.variant} ${this.size} ${this.type}` }, this.startIcon ? h("span", { class: "icon start", innerHTML: this.startIcon }) : null, h("span", { class: "label" }, this.label), this.endIcon ? h("span", { class: "icon end", innerHTML: this.endIcon }) : null));
|
18
|
+
return (h("button", { disabled: this.disabled, type: this.type, class: `${this.variant} ${this.size} ${this.type}` }, this.startIcon ? h("span", { class: "icon start", innerHTML: this.startIcon }) : null, h("span", { class: "button-label" }, this.label), this.endIcon ? h("span", { class: "icon end", innerHTML: this.endIcon }) : null));
|
19
19
|
}
|
20
20
|
static get style() { return verdocsButtonCss; }
|
21
21
|
}, [0, "verdocs-button", {
|
@@ -85,7 +85,7 @@ const getEnvelopeStore = async (endpoint, envelopeId, forceReload = false) => {
|
|
85
85
|
return store;
|
86
86
|
};
|
87
87
|
|
88
|
-
const verdocsEnvelopeRecipientSummaryCss = "verdocs-envelope-recipient-summary{top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;z-index:100000;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-family:\"Inter\", \"Barlow\", sans-serif;background-color:#0000007f}verdocs-envelope-recipient-summary .
|
88
|
+
const verdocsEnvelopeRecipientSummaryCss = "verdocs-envelope-recipient-summary{top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;z-index:100000;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-family:\"Inter\", \"Barlow\", sans-serif;background-color:#0000007f}verdocs-envelope-recipient-summary .summary-content{width:600px;display:-ms-flexbox;display:flex;max-width:90%;font-size:18px;-ms-flex:0 0 600px;flex:0 0 600px;border-radius:6px;background:#ffffff;-ms-flex-direction:column;flex-direction:column;padding:30px 20px 20px}verdocs-envelope-recipient-summary .summary-content .summary-title{font-size:20px;font-weight:700;margin:0 0 10px 0;color:#33364b}verdocs-envelope-recipient-summary .summary-recipient{display:-ms-flexbox;display:flex;color:#33364b;margin:8px 0 24px 0;-ms-flex-direction:column;flex-direction:column}verdocs-envelope-recipient-summary .summary-recipient .role-name{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;font-size:14px;font-weight:600;margin:0 0 8px 0;color:#092c4c}verdocs-envelope-recipient-summary .summary-recipient .role-info{gap:5px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:end;align-items:flex-end}verdocs-envelope-recipient-summary .summary-recipient .role-full-name{-ms-flex:1;flex:1;height:34px;display:-ms-flexbox;display:flex;font-size:16px;padding:0 12px;border-radius:4px;-ms-flex-align:center;align-items:center;border:1px solid #cccccc;background:#f9fafb}verdocs-envelope-recipient-summary .summary-recipient .recipient-link{width:120px;padding:0 16px;font-weight:500;margin:0 0 0 8px;text-align:center;font-size:0.875rem;border-radius:100%;color:#374151;line-height:1.25rem;background-color:#d8d8d8;border:2px solid #9ca3af}verdocs-envelope-recipient-summary .summary-recipient .link-wrapper{gap:5px;display:-ms-flexbox;display:flex;margin:4px 0 0 0;-ms-flex-direction:row;flex-direction:row}verdocs-envelope-recipient-summary .summary-recipient .link-wrapper .link{-ms-flex:1;flex:1;height:34px;display:-ms-flexbox;display:flex;font-size:16px;padding:0 12px;border-radius:4px;-ms-flex-align:center;align-items:center;border:1px solid #cccccc;background:#f9fafb}verdocs-envelope-recipient-summary .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:15px;-moz-column-gap:15px;column-gap:15px;margin:10px 0 0 0;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}verdocs-envelope-recipient-summary .buttons verdocs-button{-ms-flex:0 0 120px;flex:0 0 120px;margin-left:10px;white-space:nowrap}verdocs-envelope-recipient-summary .buttons verdocs-button button{width:100%}";
|
89
89
|
|
90
90
|
const VerdocsEnvelopeRecipientSummary = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
91
91
|
constructor() {
|
@@ -103,6 +103,7 @@ const VerdocsEnvelopeRecipientSummary = /*@__PURE__*/ proxyCustomElement(class e
|
|
103
103
|
this.canDone = true;
|
104
104
|
this.envelope = undefined;
|
105
105
|
this.isOpen = undefined;
|
106
|
+
this.loading = true;
|
106
107
|
this.recipientStatusIcons = [];
|
107
108
|
this.containerId = `verdocs-status-indicator-${Math.random().toString(36).substring(2, 11)}`;
|
108
109
|
this.gettingLinks = {};
|
@@ -122,6 +123,7 @@ const VerdocsEnvelopeRecipientSummary = /*@__PURE__*/ proxyCustomElement(class e
|
|
122
123
|
}
|
123
124
|
this.store = await getEnvelopeStore(this.endpoint, this.envelopeId, true);
|
124
125
|
this.sortEnvelopeRecipients();
|
126
|
+
this.loading = false;
|
125
127
|
}
|
126
128
|
catch (e) {
|
127
129
|
console.log('[RECIPIENTS] Error loading envelope', e);
|
@@ -159,27 +161,30 @@ const VerdocsEnvelopeRecipientSummary = /*@__PURE__*/ proxyCustomElement(class e
|
|
159
161
|
});
|
160
162
|
}
|
161
163
|
getLink(recipient) {
|
162
|
-
this.gettingLinks[recipient.role_name]
|
164
|
+
this.gettingLinks = { ...this.gettingLinks, [recipient.role_name]: true };
|
163
165
|
getInPersonLink(this.endpoint, recipient.envelope_id, recipient.role_name)
|
164
166
|
.then(response => {
|
165
|
-
this.gettingLinks[recipient.role_name]
|
167
|
+
this.gettingLinks = { ...this.gettingLinks, [recipient.role_name]: false };
|
166
168
|
this.links = { ...this.links, [recipient.role_name]: response.link };
|
167
169
|
this.copyLink(response.link);
|
168
170
|
})
|
169
171
|
.catch(e => {
|
170
|
-
this.gettingLinks[recipient.role_name]
|
172
|
+
this.gettingLinks = { ...this.gettingLinks, [recipient.role_name]: false };
|
171
173
|
console.log('[RECIPIENTS] Error getting link', e);
|
172
174
|
VerdocsToast('Unable to get link: ' + e.message, { style: 'error' });
|
173
175
|
});
|
174
176
|
}
|
175
177
|
render() {
|
176
|
-
var _a;
|
177
|
-
|
178
|
+
var _a, _b;
|
179
|
+
if (this.loading) {
|
180
|
+
return h(Host, null);
|
181
|
+
}
|
182
|
+
return (h(Host, null, h("div", { class: "summary-content" }, h("h1", { class: "summary-title" }, "Recipient Summary"), h("div", { class: "summary-rows" }, (((_b = (_a = this.store) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.recipients) || []).map(recipient => {
|
178
183
|
const recipientsWithActions = getRecipientsWithActions(this.store.state);
|
179
184
|
const showLinkButton = recipientCanAct(recipient, recipientsWithActions);
|
180
185
|
const link = this.links[recipient.role_name];
|
181
186
|
const gettingLink = this.gettingLinks[recipient.role_name];
|
182
|
-
return (h("div", { class: "recipient" }, h("div", { class: "role-name" }, recipient.role_name), h("div", { class: "role-details" }, h("div", { class: "role-info" }, h("div", { class: "role-full-name" }, recipient.full_name, " (", recipient.email || recipient.phone, ")"), showLinkButton && !link && h("verdocs-button", { size: "small", variant: "outline", label: "Get Link", disabled: gettingLink, onClick: () => this.getLink(recipient) })), link && (h("div", { class: "link-wrapper" }, h("div", { class: "link" }, link), h("verdocs-button", { size: "small", variant: "outline", label: "Copy", onClick: () => this.copyLink(link) }))))));
|
187
|
+
return (h("div", { class: "summary-recipient" }, h("div", { class: "role-name" }, recipient.role_name), h("div", { class: "role-details" }, h("div", { class: "role-info" }, h("div", { class: "role-full-name" }, recipient.full_name, " (", recipient.email || recipient.phone, ")"), showLinkButton && !link && h("verdocs-button", { size: "small", variant: "outline", label: "Get Link", disabled: gettingLink, onClick: () => this.getLink(recipient) })), link && (h("div", { class: "link-wrapper" }, h("div", { class: "link" }, link), h("verdocs-button", { size: "small", variant: "outline", label: "Copy", onClick: () => this.copyLink(link) }))))));
|
183
188
|
})), (this.canSendAnother || this.canView || this.canDone) && (h("div", { class: "buttons" }, this.canSendAnother && h("verdocs-button", { size: "small", label: "Send Another", onClick: e => this.handleAnother(e) }), this.canView && h("verdocs-button", { size: "small", label: "View Now", onClick: e => this.handleView(e) }), this.canDone && h("verdocs-button", { size: "small", label: "Done", onClick: e => this.handleDone(e) }))))));
|
184
189
|
}
|
185
190
|
static get style() { return verdocsEnvelopeRecipientSummaryCss; }
|
@@ -191,6 +196,7 @@ const VerdocsEnvelopeRecipientSummary = /*@__PURE__*/ proxyCustomElement(class e
|
|
191
196
|
"canDone": [4, "can-done"],
|
192
197
|
"envelope": [16],
|
193
198
|
"isOpen": [32],
|
199
|
+
"loading": [32],
|
194
200
|
"recipientStatusIcons": [32],
|
195
201
|
"containerId": [32],
|
196
202
|
"gettingLinks": [32],
|
@@ -52,6 +52,7 @@ const VerdocsEnvelopeSidebar$1 = /*@__PURE__*/ proxyCustomElement(class extends
|
|
52
52
|
this.activeTab = 1;
|
53
53
|
this.panelOpen = false;
|
54
54
|
this.showManageDialog = false;
|
55
|
+
this.loading = true;
|
55
56
|
}
|
56
57
|
componentWillLoad() {
|
57
58
|
this.endpoint.loadSession();
|
@@ -71,6 +72,7 @@ const VerdocsEnvelopeSidebar$1 = /*@__PURE__*/ proxyCustomElement(class extends
|
|
71
72
|
return a.sequence === b.sequence ? a.order - b.order : a.sequence - b.sequence;
|
72
73
|
});
|
73
74
|
this.roleNames = this.sortedRecipients.map(r => r.role_name);
|
75
|
+
this.loading = false;
|
74
76
|
}
|
75
77
|
catch (e) {
|
76
78
|
(_a = this.sdkError) === null || _a === void 0 ? void 0 : _a.emit(new SDKError(e.message, (_b = e.response) === null || _b === void 0 ? void 0 : _b.status, (_c = e.response) === null || _c === void 0 ? void 0 : _c.data));
|
@@ -215,7 +217,7 @@ const VerdocsEnvelopeSidebar$1 = /*@__PURE__*/ proxyCustomElement(class extends
|
|
215
217
|
entries.push({ icon: 'link', message: `Owner accessed the In-person link for ${user}.`, date: new Date(history.created_at) });
|
216
218
|
break;
|
217
219
|
default:
|
218
|
-
console.log('
|
220
|
+
console.log('[SIDEBAR] Unknown history type', history);
|
219
221
|
break;
|
220
222
|
}
|
221
223
|
});
|
@@ -224,13 +226,12 @@ const VerdocsEnvelopeSidebar$1 = /*@__PURE__*/ proxyCustomElement(class extends
|
|
224
226
|
}
|
225
227
|
render() {
|
226
228
|
var _a, _b, _c;
|
227
|
-
if (!this.envelope) {
|
229
|
+
if (!this.envelope || this.loading) {
|
228
230
|
return h(Host, null);
|
229
231
|
}
|
230
232
|
const session = this.endpoint.getSession();
|
231
233
|
const isEnvelopeOwner = userIsEnvelopeOwner(session, this.envelope);
|
232
234
|
const historyEntries = this.prepareHistoryEntries();
|
233
|
-
console.log('e', this.envelope);
|
234
235
|
return (h(Host, { class: this.panelOpen ? 'open' : '' }, h("div", { class: "side-buttons" }, h("button", { class: this.activeTab === 1 ? 'active' : '', onClick: () => this.setTab(1), innerHTML: InformationCircle }), h("button", { class: this.activeTab === 2 ? 'active' : '', onClick: () => this.setTab(2), innerHTML: Users }), h("button", { class: this.activeTab === 3 ? 'active' : '', onClick: () => this.setTab(3), innerHTML: ClipboardDocuments })), this.activeTab === 1 && (h("div", { class: "content" }, h("div", { class: "title" }, "Details"), h("div", { class: "label" }, "Envelope ID"), h("div", { class: "value" }, this.envelope.id), h("div", { class: "label" }, "Date Created"), h("div", { class: "value" }, format(new Date(this.envelope.created_at), 'PP pp')), h("div", { class: "label" }, "Last Modified"), h("div", { class: "value" }, format(new Date(this.envelope.updated_at), 'PP pp')), h("div", { class: "label" }, "Status"), h("div", { class: "value" }, this.envelope.status), h("div", { class: "label" }, "Verdoc Owner ID"), h("div", { class: "value" }, this.envelope.profile_id), h("div", { class: "label" }, "Verdoc Owner Name"), h("div", { class: "value" }, (_a = this.envelope.profile) === null || _a === void 0 ? void 0 :
|
235
236
|
_a.first_name, " ", (_b = this.envelope.profile) === null || _b === void 0 ? void 0 :
|
236
237
|
_b.last_name), h("div", { class: "label" }, "Verdoc Owner Email"), h("div", { class: "value" }, (_c = this.envelope.profile) === null || _c === void 0 ? void 0 : _c.email))), this.activeTab === 2 && (h("div", { class: "content" }, h("div", { class: "title" }, "Recipients"), this.sortedRecipients.map((recipient, index) => (h("div", { class: "recipient-detail" }, h("div", { class: "recipient-header" }, h("div", { class: "recipient-number" }, index + 1), h("div", { class: "recipient-type" }, recipient.role_name), h("div", { class: { 'recipient-status': true, [recipient.status]: true } }, recipient.status), isEnvelopeOwner && (h("verdocs-dropdown", { onOptionSelected: item => this.handleRecipientAction(recipient, item.detail.id), options: [
|
@@ -255,7 +256,8 @@ const VerdocsEnvelopeSidebar$1 = /*@__PURE__*/ proxyCustomElement(class extends
|
|
255
256
|
"roleNames": [32],
|
256
257
|
"activeTab": [32],
|
257
258
|
"panelOpen": [32],
|
258
|
-
"showManageDialog": [32]
|
259
|
+
"showManageDialog": [32],
|
260
|
+
"loading": [32]
|
259
261
|
}]);
|
260
262
|
function defineCustomElement$1() {
|
261
263
|
if (typeof customElements === "undefined") {
|
package/dist/docs.json
CHANGED
@@ -45,7 +45,7 @@ const VerdocsToast = (text, config = {}) => {
|
|
45
45
|
const toastBody = `
|
46
46
|
${icon}
|
47
47
|
<div class="verdocs-toast-text" style="padding: 12px 12px 12px 0;">${text}</div>
|
48
|
-
<div class="verdocs-toast-close" style="padding: 12px
|
48
|
+
<div class="verdocs-toast-close" style="padding: 12px 10px; background: rgba(0, 0, 0, 0.2); cursor: pointer;">✕</div>
|
49
49
|
`;
|
50
50
|
const toast = document.createElement('div');
|
51
51
|
toast.className = 'verdocs-toast';
|
package/dist/esm/loader.js
CHANGED
@@ -10,7 +10,7 @@ const patchEsm = () => {
|
|
10
10
|
const defineCustomElements = (win, options) => {
|
11
11
|
if (typeof window === 'undefined') return Promise.resolve();
|
12
12
|
return patchEsm().then(() => {
|
13
|
-
return bootstrapLazy(JSON.parse("[[\"verdocs-button\",[[0,\"verdocs-button\",{\"label\":[1],\"startIcon\":[1,\"start-icon\"],\"endIcon\":[1,\"end-icon\"],\"size\":[1],\"type\":[1],\"variant\":[1],\"disabled\":[4]}]]],[\"verdocs-build\",[[0,\"verdocs-build\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"step\":[513],\"template\":[32]}]]],[\"ipc-test\",[[0,\"ipc-test\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"]}]]],[\"verdocs-field-initial\",[[0,\"verdocs-field-initial\",{\"templateid\":[1],\"field\":[16],\"disabled\":[4],\"initials\":[1],\"editable\":[4],\"moveable\":[4],\"done\":[4],\"roleindex\":[2],\"rerender\":[2],\"tempInitials\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-field-signature\",[[0,\"verdocs-field-signature\",{\"templateid\":[1],\"field\":[16],\"name\":[1],\"disabled\":[4],\"editable\":[4],\"moveable\":[4],\"done\":[4],\"roleindex\":[2],\"rerender\":[2],\"tempSignature\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-field-checkbox\",[[0,\"verdocs-field-checkbox\",{\"templateid\":[1],\"field\":[16],\"option\":[2],\"disabled\":[4],\"done\":[4],\"roleindex\":[2],\"editable\":[4],\"moveable\":[4],\"rerender\":[2],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-field-date\",[[0,\"verdocs-field-date\",{\"templateId\":[1,\"template-id\"],\"field\":[16],\"disabled\":[4],\"editable\":[4],\"moveable\":[4],\"done\":[4],\"roleindex\":[2],\"rerender\":[2],\"containerId\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-field-dropdown\",[[0,\"verdocs-field-dropdown\",{\"templateid\":[1],\"field\":[16],\"disabled\":[4],\"editable\":[4],\"moveable\":[4],\"done\":[4],\"roleindex\":[2],\"rerender\":[2],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-field-radio-button\",[[0,\"verdocs-field-radio-button\",{\"templateid\":[1],\"field\":[16],\"option\":[2],\"disabled\":[4],\"done\":[4],\"roleindex\":[2],\"editable\":[4],\"moveable\":[4],\"rerender\":[2],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-field-textarea\",[[0,\"verdocs-field-textarea\",{\"templateid\":[1],\"field\":[16],\"disabled\":[4],\"editable\":[4],\"moveable\":[4],\"done\":[4],\"roleindex\":[2],\"rerender\":[2],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-field-textbox\",[[0,\"verdocs-field-textbox\",{\"templateid\":[1],\"field\":[16],\"disabled\":[4],\"editable\":[4],\"moveable\":[4],\"done\":[4],\"roleindex\":[2],\"rerender\":[2],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-field-timestamp\",[[0,\"verdocs-field-timestamp\",{\"templateid\":[1],\"field\":[16],\"disabled\":[4],\"editable\":[4],\"moveable\":[4],\"done\":[4],\"roleindex\":[2],\"rerender\":[2],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-sign\",[[0,\"verdocs-sign\",{\"envelopeId\":[1,\"envelope-id\"],\"roleId\":[1,\"role-id\"],\"inviteCode\":[1,\"invite-code\"],\"headerTargetId\":[1,\"header-target-id\"],\"envelope\":[32],\"roleNames\":[32],\"sortedRecipients\":[32],\"recipient\":[32],\"signerToken\":[32],\"hasSignature\":[32],\"nextButtonLabel\":[32],\"nextSubmits\":[32],\"errorMessage\":[32],\"focusedField\":[32],\"submitting\":[32],\"isDone\":[32],\"showDone\":[32],\"finishLater\":[32],\"showFinishLater\":[32],\"agreed\":[32],\"documentsSingularPlural\":[32]}]]],[\"verdocs-template-properties\",[[0,\"verdocs-template-properties\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"name\":[32],\"visibility\":[32],\"sendReminders\":[32],\"firstReminderDays\":[32],\"reminderDays\":[32]}]]],[\"verdocs-template-reminders\",[[0,\"verdocs-template-reminders\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"showPlanBlocker\":[32],\"sendReminders\":[32],\"firstReminderDays\":[32],\"reminderDays\":[32],\"dirty\":[32]}]]],[\"verdocs-template-name\",[[0,\"verdocs-template-name\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"name\":[32],\"dirty\":[32]}]]],[\"verdocs-auth\",[[0,\"verdocs-auth\",{\"endpoint\":[16],\"visible\":[4],\"logo\":[1],\"isAuthenticated\":[32],\"displayMode\":[32],\"username\":[32],\"password\":[32],\"loggingIn\":[32],\"activeSession\":[32],\"loginError\":[32]}]]],[\"verdocs-initial-dialog\",[[0,\"verdocs-initial-dialog\",{\"initials\":[1],\"fontLoaded\":[32],\"enteredInitials\":[32],\"mode\":[32]}]]],[\"verdocs-signature-dialog\",[[0,\"verdocs-signature-dialog\",{\"name\":[1],\"fontLoaded\":[32],\"enteredName\":[32],\"mode\":[32]}]]],[\"verdocs-envelope-recipient-summary\",[[0,\"verdocs-envelope-recipient-summary\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"canSendAnother\":[4,\"can-send-another\"],\"canView\":[4,\"can-view\"],\"canDone\":[4,\"can-done\"],\"envelope\":[16],\"isOpen\":[32],\"recipientStatusIcons\":[32],\"containerId\":[32],\"gettingLinks\":[32],\"links\":[32]}]]],[\"verdocs-dropdown_2\",[[0,\"verdocs-envelope-document-page\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"documentId\":[1,\"document-id\"],\"pageNumber\":[2,\"page-number\"],\"virtualWidth\":[2,\"virtual-width\"],\"virtualHeight\":[1026,\"virtual-height\"],\"layers\":[16],\"type\":[1],\"containerId\":[32],\"renderedWidth\":[32],\"renderedHeight\":[32],\"naturalWidth\":[32],\"naturalHeight\":[32],\"aspectRatio\":[32],\"skipFirstNotification\":[32],\"pageDisplayUri\":[32]}],[0,\"verdocs-dropdown\",{\"options\":[16],\"open\":[32]}]]],[\"verdocs-envelope-sidebar\",[[0,\"verdocs-envelope-sidebar\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"envelope\":[32],\"sortedRecipients\":[32],\"roleNames\":[32],\"activeTab\":[32],\"panelOpen\":[32],\"showManageDialog\":[32]}]]],[\"verdocs-search\",[[0,\"verdocs-search\",{\"endpoint\":[16]}]]],[\"verdocs-send\",[[0,\"verdocs-send\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"containerId\":[32],\"rolesAtLevel\":[32],\"showPickerForId\":[32],\"sessionContacts\":[32],\"rolesCompleted\":[32],\"reset\":[64]}]]],[\"verdocs-template-visibility\",[[0,\"verdocs-template-visibility\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"dirty\":[32],\"personal\":[32],\"public\":[32]}]]],[\"verdocs-field-attachment\",[[0,\"verdocs-field-attachment\",{\"templateid\":[1],\"field\":[16],\"disabled\":[4],\"roleIndex\":[2,\"role-index\"],\"rerender\":[2],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-preview\",[[0,\"verdocs-preview\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"]}]]],[\"verdocs-floating-menu\",[[0,\"verdocs-floating-menu\",{\"options\":[16]}]]],[\"verdocs-kba-dialog\",[[0,\"verdocs-kba-dialog\",{\"step\":[2],\"steps\":[2],\"helptitle\":[1],\"helptext\":[1],\"mode\":[1],\"label\":[1],\"placeholder\":[1],\"choices\":[16],\"response\":[32]}]]],[\"verdocs-field-payment\",[[0,\"verdocs-field-payment\",{\"templateid\":[1],\"field\":[16],\"disabled\":[4],\"fields\":[16],\"pageNum\":[2,\"page-num\"],\"roleName\":[1,\"role-name\"],\"fieldId\":[1,\"field-id\"],\"recipients\":[8],\"selectedRoleName\":[1,\"selected-role-name\"],\"pdfPages\":[16],\"currentSignature\":[1,\"current-signature\"],\"currentSignatureId\":[1,\"current-signature-id\"],\"currentInitial\":[1,\"current-initial\"],\"currentInitialId\":[1,\"current-initial-id\"],\"focused\":[4],\"signed\":[4],\"rerender\":[2],\"roleindex\":[2],\"preparedMessage\":[32],\"signatureUrl\":[32],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-organization-card\",[[0,\"verdocs-organization-card\",{\"organization\":[16]}]]],[\"verdocs-search-tabs\",[[0,\"verdocs-search-tabs\",{\"selected\":[32]}]]],[\"verdocs-status-indicator\",[[0,\"verdocs-status-indicator\",{\"size\":[1],\"theme\":[1],\"status\":[1],\"envelope\":[16],\"isOpen\":[32],\"recipientStatusIcons\":[32],\"containerId\":[32]}]]],[\"verdocs-template-card\",[[0,\"verdocs-template-card\",{\"template\":[16]}]]],[\"verdocs-template-tags\",[[0,\"verdocs-template-tags\",{\"tags\":[16]}]]],[\"verdocs-toggle\",[[0,\"verdocs-toggle\",{\"options\":[16],\"theme\":[1],\"selectedOption\":[32]}]]],[\"verdocs-loader\",[[0,\"verdocs-loader\"]]],[\"verdocs-view\",[[0,\"verdocs-view\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"headerTargetId\":[1,\"header-target-id\"],\"canceling\":[32],\"envelope\":[32],\"roleNames\":[32],\"showCancelDone\":[32]}]]],[\"verdocs-contact-picker\",[[0,\"verdocs-contact-picker\",{\"endpoint\":[16],\"templateRole\":[16],\"contactSuggestions\":[16],\"name\":[32],\"email\":[32],\"phone\":[32],\"message\":[32],\"showSuggestions\":[32],\"showMessage\":[32],\"delegator\":[32],\"nameFieldId\":[32],\"emailFieldId\":[32],\"phoneFieldId\":[32]}]]],[\"verdocs-upload-dialog\",[[0,\"verdocs-upload-dialog\",{\"draggingOver\":[32],\"decodedFiles\":[32]}]]],[\"verdocs-file-chooser_2\",[[0,\"verdocs-file-chooser\",{\"endpoint\":[16],\"file\":[32]}],[0,\"verdocs-progress-bar\",{\"label\":[1],\"showPercent\":[4,\"show-percent\"],\"percent\":[2]}]]],[\"verdocs-template-attachments_2\",[[0,\"verdocs-template-attachments\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"uploading\":[32],\"progressLabel\":[32],\"progressPercent\":[32],\"showDeleteError\":[32],\"confirmDeleteDocument\":[32],\"store\":[32]}],[0,\"verdocs-template-create\",{\"endpoint\":[16],\"file\":[32],\"creating\":[32],\"progressLabel\":[32],\"progressPercent\":[32]}]]],[\"verdocs-toggle-button\",[[0,\"verdocs-toggle-button\",{\"active\":[4],\"icon\":[1],\"label\":[1],\"size\":[1],\"_active\":[32]}]]],[\"verdocs-quick-functions_3\",[[0,\"verdocs-quick-functions\",{\"endpoint\":[16]}],[0,\"verdocs-search-activity\",{\"endpoint\":[16],\"type\":[1],\"options\":[8],\"emptyMessage\":[32],\"authFailure\":[32],\"title\":[32],\"recent\":[32],\"saved\":[32],\"starred\":[32]}],[0,\"verdocs-search-box\",{\"endpoint\":[16],\"placeholder\":[1],\"type\":[1],\"query\":[1],\"grabsFocus\":[4,\"grabs-focus\"],\"focusField\":[64]}]]],[\"verdocs-radio-button\",[[0,\"verdocs-radio-button\",{\"checked\":[4],\"name\":[1],\"value\":[1],\"disabled\":[4]}]]],[\"verdocs-ok-dialog\",[[0,\"verdocs-ok-dialog\",{\"heading\":[1],\"message\":[1],\"showCancel\":[4,\"show-cancel\"],\"closed\":[32]}]]],[\"verdocs-template-document-page_2\",[[0,\"verdocs-template-document-page\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"documentId\":[1,\"document-id\"],\"pageNumber\":[2,\"page-number\"],\"virtualWidth\":[2,\"virtual-width\"],\"virtualHeight\":[1026,\"virtual-height\"],\"layers\":[16],\"containerId\":[32],\"renderedWidth\":[32],\"renderedHeight\":[32],\"naturalWidth\":[32],\"naturalHeight\":[32],\"aspectRatio\":[32],\"skipFirstNotification\":[32],\"pageDisplayUri\":[32]}],[0,\"verdocs-toolbar-icon\",{\"text\":[1],\"icon\":[1],\"placement\":[1],\"containerId\":[32]}]]],[\"verdocs-checkbox_4\",[[0,\"verdocs-checkbox\",{\"checked\":[4],\"name\":[1],\"label\":[1],\"value\":[1],\"theme\":[1],\"disabled\":[4]}],[0,\"verdocs-text-input\",{\"value\":[1],\"label\":[1],\"placeholder\":[1],\"autocomplete\":[1],\"helpText\":[1,\"help-text\"],\"type\":[1],\"disabled\":[4]}],[0,\"verdocs-component-error\",{\"message\":[1]}],[0,\"verdocs-help-icon\",{\"text\":[1],\"containerId\":[32]}]]],[\"verdocs-button-panel_3\",[[0,\"verdocs-template-field-properties\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"fieldName\":[1,\"field-name\"],\"helpText\":[1,\"help-text\"],\"dirty\":[32],\"loading\":[32],\"type\":[32],\"setting\":[32],\"name\":[32],\"roleName\":[32],\"group\":[32],\"fieldType\":[32],\"required\":[32],\"options\":[32],\"placeholder\":[32],\"defaultValue\":[32],\"showingHelp\":[32]}],[4,\"verdocs-button-panel\",{\"icon\":[1],\"showPanel\":[64],\"hidePanel\":[64],\"toggle\":[64]}],[0,\"verdocs-select-input\",{\"value\":[1],\"label\":[1],\"options\":[16],\"disabled\":[4]}]]],[\"verdocs-template-fields_4\",[[0,\"verdocs-template-roles\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"showingRoleDialog\":[32],\"showingSenderDialog\":[32],\"sender\":[32]}],[0,\"verdocs-template-fields\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"toolbarTargetId\":[1,\"toolbar-target-id\"],\"placing\":[32],\"showMustSelectRole\":[32],\"selectedRoleName\":[32],\"rerender\":[32]},[[4,\"keydown\",\"handleKeyDown\"]]],[0,\"verdocs-template-role-properties\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"roleName\":[1,\"role-name\"],\"sender\":[1],\"dirty\":[32],\"saving\":[32],\"name\":[32],\"type\":[32],\"fullName\":[32],\"email\":[32],\"phone\":[32],\"allowDelegation\":[32]}],[0,\"verdocs-template-sender\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"sender\":[1],\"saving\":[32]}]]]]"), options);
|
13
|
+
return bootstrapLazy(JSON.parse("[[\"verdocs-button\",[[0,\"verdocs-button\",{\"label\":[1],\"startIcon\":[1,\"start-icon\"],\"endIcon\":[1,\"end-icon\"],\"size\":[1],\"type\":[1],\"variant\":[1],\"disabled\":[4]}]]],[\"verdocs-build\",[[0,\"verdocs-build\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"step\":[513],\"template\":[32]}]]],[\"ipc-test\",[[0,\"ipc-test\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"]}]]],[\"verdocs-field-initial\",[[0,\"verdocs-field-initial\",{\"templateid\":[1],\"field\":[16],\"disabled\":[4],\"initials\":[1],\"editable\":[4],\"moveable\":[4],\"done\":[4],\"roleindex\":[2],\"rerender\":[2],\"tempInitials\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-field-signature\",[[0,\"verdocs-field-signature\",{\"templateid\":[1],\"field\":[16],\"name\":[1],\"disabled\":[4],\"editable\":[4],\"moveable\":[4],\"done\":[4],\"roleindex\":[2],\"rerender\":[2],\"tempSignature\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-field-checkbox\",[[0,\"verdocs-field-checkbox\",{\"templateid\":[1],\"field\":[16],\"option\":[2],\"disabled\":[4],\"done\":[4],\"roleindex\":[2],\"editable\":[4],\"moveable\":[4],\"rerender\":[2],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-field-date\",[[0,\"verdocs-field-date\",{\"templateId\":[1,\"template-id\"],\"field\":[16],\"disabled\":[4],\"editable\":[4],\"moveable\":[4],\"done\":[4],\"roleindex\":[2],\"rerender\":[2],\"containerId\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-field-dropdown\",[[0,\"verdocs-field-dropdown\",{\"templateid\":[1],\"field\":[16],\"disabled\":[4],\"editable\":[4],\"moveable\":[4],\"done\":[4],\"roleindex\":[2],\"rerender\":[2],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-field-radio-button\",[[0,\"verdocs-field-radio-button\",{\"templateid\":[1],\"field\":[16],\"option\":[2],\"disabled\":[4],\"done\":[4],\"roleindex\":[2],\"editable\":[4],\"moveable\":[4],\"rerender\":[2],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-field-textarea\",[[0,\"verdocs-field-textarea\",{\"templateid\":[1],\"field\":[16],\"disabled\":[4],\"editable\":[4],\"moveable\":[4],\"done\":[4],\"roleindex\":[2],\"rerender\":[2],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-field-textbox\",[[0,\"verdocs-field-textbox\",{\"templateid\":[1],\"field\":[16],\"disabled\":[4],\"editable\":[4],\"moveable\":[4],\"done\":[4],\"roleindex\":[2],\"rerender\":[2],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-field-timestamp\",[[0,\"verdocs-field-timestamp\",{\"templateid\":[1],\"field\":[16],\"disabled\":[4],\"editable\":[4],\"moveable\":[4],\"done\":[4],\"roleindex\":[2],\"rerender\":[2],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-sign\",[[0,\"verdocs-sign\",{\"envelopeId\":[1,\"envelope-id\"],\"roleId\":[1,\"role-id\"],\"inviteCode\":[1,\"invite-code\"],\"headerTargetId\":[1,\"header-target-id\"],\"envelope\":[32],\"roleNames\":[32],\"sortedRecipients\":[32],\"recipient\":[32],\"signerToken\":[32],\"hasSignature\":[32],\"nextButtonLabel\":[32],\"nextSubmits\":[32],\"errorMessage\":[32],\"focusedField\":[32],\"submitting\":[32],\"isDone\":[32],\"showDone\":[32],\"finishLater\":[32],\"showFinishLater\":[32],\"agreed\":[32],\"documentsSingularPlural\":[32]}]]],[\"verdocs-template-properties\",[[0,\"verdocs-template-properties\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"name\":[32],\"visibility\":[32],\"sendReminders\":[32],\"firstReminderDays\":[32],\"reminderDays\":[32]}]]],[\"verdocs-template-reminders\",[[0,\"verdocs-template-reminders\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"showPlanBlocker\":[32],\"sendReminders\":[32],\"firstReminderDays\":[32],\"reminderDays\":[32],\"dirty\":[32]}]]],[\"verdocs-template-name\",[[0,\"verdocs-template-name\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"name\":[32],\"dirty\":[32]}]]],[\"verdocs-auth\",[[0,\"verdocs-auth\",{\"endpoint\":[16],\"visible\":[4],\"logo\":[1],\"isAuthenticated\":[32],\"displayMode\":[32],\"username\":[32],\"password\":[32],\"loggingIn\":[32],\"activeSession\":[32],\"loginError\":[32]}]]],[\"verdocs-initial-dialog\",[[0,\"verdocs-initial-dialog\",{\"initials\":[1],\"fontLoaded\":[32],\"enteredInitials\":[32],\"mode\":[32]}]]],[\"verdocs-signature-dialog\",[[0,\"verdocs-signature-dialog\",{\"name\":[1],\"fontLoaded\":[32],\"enteredName\":[32],\"mode\":[32]}]]],[\"verdocs-envelope-recipient-summary\",[[0,\"verdocs-envelope-recipient-summary\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"canSendAnother\":[4,\"can-send-another\"],\"canView\":[4,\"can-view\"],\"canDone\":[4,\"can-done\"],\"envelope\":[16],\"isOpen\":[32],\"loading\":[32],\"recipientStatusIcons\":[32],\"containerId\":[32],\"gettingLinks\":[32],\"links\":[32]}]]],[\"verdocs-dropdown_2\",[[0,\"verdocs-envelope-document-page\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"documentId\":[1,\"document-id\"],\"pageNumber\":[2,\"page-number\"],\"virtualWidth\":[2,\"virtual-width\"],\"virtualHeight\":[1026,\"virtual-height\"],\"layers\":[16],\"type\":[1],\"containerId\":[32],\"renderedWidth\":[32],\"renderedHeight\":[32],\"naturalWidth\":[32],\"naturalHeight\":[32],\"aspectRatio\":[32],\"skipFirstNotification\":[32],\"pageDisplayUri\":[32]}],[0,\"verdocs-dropdown\",{\"options\":[16],\"open\":[32]}]]],[\"verdocs-envelope-sidebar\",[[0,\"verdocs-envelope-sidebar\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"envelope\":[32],\"sortedRecipients\":[32],\"roleNames\":[32],\"activeTab\":[32],\"panelOpen\":[32],\"showManageDialog\":[32],\"loading\":[32]}]]],[\"verdocs-search\",[[0,\"verdocs-search\",{\"endpoint\":[16]}]]],[\"verdocs-send\",[[0,\"verdocs-send\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"containerId\":[32],\"rolesAtLevel\":[32],\"showPickerForId\":[32],\"sessionContacts\":[32],\"rolesCompleted\":[32],\"reset\":[64]}]]],[\"verdocs-template-visibility\",[[0,\"verdocs-template-visibility\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"dirty\":[32],\"personal\":[32],\"public\":[32]}]]],[\"verdocs-field-attachment\",[[0,\"verdocs-field-attachment\",{\"templateid\":[1],\"field\":[16],\"disabled\":[4],\"roleIndex\":[2,\"role-index\"],\"rerender\":[2],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-preview\",[[0,\"verdocs-preview\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"]}]]],[\"verdocs-floating-menu\",[[0,\"verdocs-floating-menu\",{\"options\":[16]}]]],[\"verdocs-kba-dialog\",[[0,\"verdocs-kba-dialog\",{\"step\":[2],\"steps\":[2],\"helptitle\":[1],\"helptext\":[1],\"mode\":[1],\"label\":[1],\"placeholder\":[1],\"choices\":[16],\"response\":[32]}]]],[\"verdocs-field-payment\",[[0,\"verdocs-field-payment\",{\"templateid\":[1],\"field\":[16],\"disabled\":[4],\"fields\":[16],\"pageNum\":[2,\"page-num\"],\"roleName\":[1,\"role-name\"],\"fieldId\":[1,\"field-id\"],\"recipients\":[8],\"selectedRoleName\":[1,\"selected-role-name\"],\"pdfPages\":[16],\"currentSignature\":[1,\"current-signature\"],\"currentSignatureId\":[1,\"current-signature-id\"],\"currentInitial\":[1,\"current-initial\"],\"currentInitialId\":[1,\"current-initial-id\"],\"focused\":[4],\"signed\":[4],\"rerender\":[2],\"roleindex\":[2],\"preparedMessage\":[32],\"signatureUrl\":[32],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-organization-card\",[[0,\"verdocs-organization-card\",{\"organization\":[16]}]]],[\"verdocs-search-tabs\",[[0,\"verdocs-search-tabs\",{\"selected\":[32]}]]],[\"verdocs-status-indicator\",[[0,\"verdocs-status-indicator\",{\"size\":[1],\"theme\":[1],\"status\":[1],\"envelope\":[16],\"isOpen\":[32],\"recipientStatusIcons\":[32],\"containerId\":[32]}]]],[\"verdocs-template-card\",[[0,\"verdocs-template-card\",{\"template\":[16]}]]],[\"verdocs-template-tags\",[[0,\"verdocs-template-tags\",{\"tags\":[16]}]]],[\"verdocs-toggle\",[[0,\"verdocs-toggle\",{\"options\":[16],\"theme\":[1],\"selectedOption\":[32]}]]],[\"verdocs-loader\",[[0,\"verdocs-loader\"]]],[\"verdocs-view\",[[0,\"verdocs-view\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"headerTargetId\":[1,\"header-target-id\"],\"canceling\":[32],\"envelope\":[32],\"roleNames\":[32],\"showCancelDone\":[32]}]]],[\"verdocs-contact-picker\",[[0,\"verdocs-contact-picker\",{\"endpoint\":[16],\"templateRole\":[16],\"contactSuggestions\":[16],\"name\":[32],\"email\":[32],\"phone\":[32],\"message\":[32],\"showSuggestions\":[32],\"showMessage\":[32],\"delegator\":[32],\"nameFieldId\":[32],\"emailFieldId\":[32],\"phoneFieldId\":[32]}]]],[\"verdocs-upload-dialog\",[[0,\"verdocs-upload-dialog\",{\"draggingOver\":[32],\"decodedFiles\":[32]}]]],[\"verdocs-file-chooser_2\",[[0,\"verdocs-file-chooser\",{\"endpoint\":[16],\"file\":[32]}],[0,\"verdocs-progress-bar\",{\"label\":[1],\"showPercent\":[4,\"show-percent\"],\"percent\":[2]}]]],[\"verdocs-template-attachments_2\",[[0,\"verdocs-template-attachments\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"uploading\":[32],\"progressLabel\":[32],\"progressPercent\":[32],\"showDeleteError\":[32],\"confirmDeleteDocument\":[32],\"store\":[32]}],[0,\"verdocs-template-create\",{\"endpoint\":[16],\"file\":[32],\"creating\":[32],\"progressLabel\":[32],\"progressPercent\":[32]}]]],[\"verdocs-toggle-button\",[[0,\"verdocs-toggle-button\",{\"active\":[4],\"icon\":[1],\"label\":[1],\"size\":[1],\"_active\":[32]}]]],[\"verdocs-quick-functions_3\",[[0,\"verdocs-quick-functions\",{\"endpoint\":[16]}],[0,\"verdocs-search-activity\",{\"endpoint\":[16],\"type\":[1],\"options\":[8],\"emptyMessage\":[32],\"authFailure\":[32],\"title\":[32],\"recent\":[32],\"saved\":[32],\"starred\":[32]}],[0,\"verdocs-search-box\",{\"endpoint\":[16],\"placeholder\":[1],\"type\":[1],\"query\":[1],\"grabsFocus\":[4,\"grabs-focus\"],\"focusField\":[64]}]]],[\"verdocs-radio-button\",[[0,\"verdocs-radio-button\",{\"checked\":[4],\"name\":[1],\"value\":[1],\"disabled\":[4]}]]],[\"verdocs-ok-dialog\",[[0,\"verdocs-ok-dialog\",{\"heading\":[1],\"message\":[1],\"showCancel\":[4,\"show-cancel\"],\"closed\":[32]}]]],[\"verdocs-template-document-page_2\",[[0,\"verdocs-template-document-page\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"documentId\":[1,\"document-id\"],\"pageNumber\":[2,\"page-number\"],\"virtualWidth\":[2,\"virtual-width\"],\"virtualHeight\":[1026,\"virtual-height\"],\"layers\":[16],\"containerId\":[32],\"renderedWidth\":[32],\"renderedHeight\":[32],\"naturalWidth\":[32],\"naturalHeight\":[32],\"aspectRatio\":[32],\"skipFirstNotification\":[32],\"pageDisplayUri\":[32]}],[0,\"verdocs-toolbar-icon\",{\"text\":[1],\"icon\":[1],\"placement\":[1],\"containerId\":[32]}]]],[\"verdocs-checkbox_4\",[[0,\"verdocs-checkbox\",{\"checked\":[4],\"name\":[1],\"label\":[1],\"value\":[1],\"theme\":[1],\"disabled\":[4]}],[0,\"verdocs-text-input\",{\"value\":[1],\"label\":[1],\"placeholder\":[1],\"autocomplete\":[1],\"helpText\":[1,\"help-text\"],\"type\":[1],\"disabled\":[4]}],[0,\"verdocs-component-error\",{\"message\":[1]}],[0,\"verdocs-help-icon\",{\"text\":[1],\"containerId\":[32]}]]],[\"verdocs-button-panel_3\",[[0,\"verdocs-template-field-properties\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"fieldName\":[1,\"field-name\"],\"helpText\":[1,\"help-text\"],\"dirty\":[32],\"loading\":[32],\"type\":[32],\"setting\":[32],\"name\":[32],\"roleName\":[32],\"group\":[32],\"fieldType\":[32],\"required\":[32],\"options\":[32],\"placeholder\":[32],\"defaultValue\":[32],\"showingHelp\":[32]}],[4,\"verdocs-button-panel\",{\"icon\":[1],\"showPanel\":[64],\"hidePanel\":[64],\"toggle\":[64]}],[0,\"verdocs-select-input\",{\"value\":[1],\"label\":[1],\"options\":[16],\"disabled\":[4]}]]],[\"verdocs-template-fields_4\",[[0,\"verdocs-template-roles\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"showingRoleDialog\":[32],\"showingSenderDialog\":[32],\"sender\":[32]}],[0,\"verdocs-template-fields\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"toolbarTargetId\":[1,\"toolbar-target-id\"],\"placing\":[32],\"showMustSelectRole\":[32],\"selectedRoleName\":[32],\"rerender\":[32]},[[4,\"keydown\",\"handleKeyDown\"]]],[0,\"verdocs-template-role-properties\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"roleName\":[1,\"role-name\"],\"sender\":[1],\"dirty\":[32],\"saving\":[32],\"name\":[32],\"type\":[32],\"fullName\":[32],\"email\":[32],\"phone\":[32],\"allowDelegation\":[32]}],[0,\"verdocs-template-sender\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"sender\":[1],\"saving\":[32]}]]]]"), options);
|
14
14
|
});
|
15
15
|
};
|
16
16
|
|
@@ -140,9 +140,7 @@ const renderDocumentField = (field, docPage, roleIndex, fieldOptions) => {
|
|
140
140
|
}
|
141
141
|
let { type } = field;
|
142
142
|
if (type === 'textbox') {
|
143
|
-
console.log('Rendering text box', field);
|
144
143
|
if (((_a = field['setting']) === null || _a === void 0 ? void 0 : _a.leading) > 0 || ((_b = field['settings']) === null || _b === void 0 ? void 0 : _b.leading) > 0) {
|
145
|
-
console.log('Switching to text area', field);
|
146
144
|
type = 'textarea';
|
147
145
|
}
|
148
146
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { r as registerInstance, h } from './index-b18c0348.js';
|
2
2
|
|
3
|
-
const verdocsButtonCss = "verdocs-button button{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;text-transform:uppercase;-ms-flex-pack:center;justify-content:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;font-weight:700;cursor:pointer;margin:0}verdocs-button button .icon{margin:0 12px}verdocs-button button .icon svg{fill:#ffffff;display:block}verdocs-button button .label{padding:0 12px}verdocs-button button.small{height:34px;font-size:13px}verdocs-button button.small .icon{margin:0 4px}verdocs-button button.small .icon svg{margin:2px 0 0 0;height:20px}verdocs-button button.small .label{padding:0 4px}verdocs-button button.normal{height:44px;font-size:14px}verdocs-button button.normal .icon.start{margin:0 4px 0 8px}verdocs-button button.normal .icon.end{margin:0 8px 0 4px}verdocs-button button.normal .icon svg{margin:2px 0 0 0;height:22px}verdocs-button button.normal .label{padding:0 10px}verdocs-button button.medium{height:52px;font-size:16px}verdocs-button button.medium .icon.start{margin:0 0 0 18px}verdocs-button button.medium .icon.end{margin:0 18px 0 0}verdocs-button button.medium .icon svg{margin:2px 0 0 0;height:26px}verdocs-button button.medium .label{padding:0 20px}verdocs-button button.large{height:60px;font-size:20px}verdocs-button button.large .icon.start{margin:0 0 0 24px}verdocs-button button.large .icon.end{margin:0 24px 0 0}verdocs-button button.large .icon svg{margin:2px 0 0 0;height:32px}verdocs-button button.large .label{padding:0 34px}verdocs-button button.standard{background:#55bc81;border-radius:4px;outline:none;border:none;color:white}verdocs-button button.standard:disabled{background-color:#999999;cursor:default}verdocs-button button.standard:active:not([disabled]){-webkit-filter:brightness(110%);filter:brightness(110%)}verdocs-button button.text{color:#4c56cb;background:transparent;font-weight:500;padding:0 4px;outline:none;border:none}verdocs-button button.text:disabled{color:#999999}verdocs-button button.text:active:not([disabled]){-webkit-filter:brightness(130%);filter:brightness(130%)}verdocs-button button.text .icon svg{fill:#4c56cb}verdocs-button button.outline{border:1px solid #4c56cb;color:#4c56cb;outline:none;background:transparent;border-radius:4px;padding:0 20px}verdocs-button button.outline:disabled{color:#999999;border:1px solid #999999}verdocs-button button.outline:active{background:#4c56cb;color:white}verdocs-button button.outline .icon svg{fill:#4c56cb}";
|
3
|
+
const verdocsButtonCss = "verdocs-button button{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;text-transform:uppercase;-ms-flex-pack:center;justify-content:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;font-weight:700;cursor:pointer;margin:0}verdocs-button button .icon{margin:0 12px}verdocs-button button .icon svg{fill:#ffffff;display:block}verdocs-button button .button-label{padding:0 12px}verdocs-button button.small{height:34px;font-size:13px}verdocs-button button.small .icon{margin:0 4px}verdocs-button button.small .icon svg{margin:2px 0 0 0;height:20px}verdocs-button button.small .button-label{padding:0 4px}verdocs-button button.normal{height:44px;font-size:14px}verdocs-button button.normal .icon.start{margin:0 4px 0 8px}verdocs-button button.normal .icon.end{margin:0 8px 0 4px}verdocs-button button.normal .icon svg{margin:2px 0 0 0;height:22px}verdocs-button button.normal .button-label{padding:0 10px}verdocs-button button.medium{height:52px;font-size:16px}verdocs-button button.medium .icon.start{margin:0 0 0 18px}verdocs-button button.medium .icon.end{margin:0 18px 0 0}verdocs-button button.medium .icon svg{margin:2px 0 0 0;height:26px}verdocs-button button.medium .button-label{padding:0 20px}verdocs-button button.large{height:60px;font-size:20px}verdocs-button button.large .icon.start{margin:0 0 0 24px}verdocs-button button.large .icon.end{margin:0 24px 0 0}verdocs-button button.large .icon svg{margin:2px 0 0 0;height:32px}verdocs-button button.large .button-label{padding:0 34px}verdocs-button button.standard{background:#55bc81;border-radius:4px;outline:none;border:none;color:white}verdocs-button button.standard:disabled{background-color:#999999;cursor:default}verdocs-button button.standard:active:not([disabled]){-webkit-filter:brightness(110%);filter:brightness(110%)}verdocs-button button.text{color:#4c56cb;background:transparent;font-weight:500;padding:0 4px;outline:none;border:none}verdocs-button button.text:disabled{color:#999999}verdocs-button button.text:active:not([disabled]){-webkit-filter:brightness(130%);filter:brightness(130%)}verdocs-button button.text .icon svg{fill:#4c56cb}verdocs-button button.outline{border:1px solid #4c56cb;color:#4c56cb;outline:none;background:transparent;border-radius:4px;padding:0 20px}verdocs-button button.outline:disabled{color:#999999;border:1px solid #999999}verdocs-button button.outline:active{background:#4c56cb;color:white}verdocs-button button.outline .icon svg{fill:#4c56cb}";
|
4
4
|
|
5
5
|
const VerdocsButton = class {
|
6
6
|
constructor(hostRef) {
|
@@ -14,7 +14,7 @@ const VerdocsButton = class {
|
|
14
14
|
this.disabled = false;
|
15
15
|
}
|
16
16
|
render() {
|
17
|
-
return (h("button", { disabled: this.disabled, type: this.type, class: `${this.variant} ${this.size} ${this.type}` }, this.startIcon ? h("span", { class: "icon start", innerHTML: this.startIcon }) : null, h("span", { class: "label" }, this.label), this.endIcon ? h("span", { class: "icon end", innerHTML: this.endIcon }) : null));
|
17
|
+
return (h("button", { disabled: this.disabled, type: this.type, class: `${this.variant} ${this.size} ${this.type}` }, this.startIcon ? h("span", { class: "icon start", innerHTML: this.startIcon }) : null, h("span", { class: "button-label" }, this.label), this.endIcon ? h("span", { class: "icon end", innerHTML: this.endIcon }) : null));
|
18
18
|
}
|
19
19
|
};
|
20
20
|
VerdocsButton.style = verdocsButtonCss;
|
@@ -3,7 +3,7 @@ import { c as createPopper } from './popper-bfa25c7f.js';
|
|
3
3
|
import { h as getEnvelopeDocumentPageDisplayUri } from './Envelopes-c3d471e5.js';
|
4
4
|
import './Types-5f31149e.js';
|
5
5
|
import { V as VerdocsEndpoint } from './VerdocsEndpoint-5b92f115.js';
|
6
|
-
import { t as throttle } from './utils-
|
6
|
+
import { t as throttle } from './utils-888f9f20.js';
|
7
7
|
import './_commonjsHelpers-5ec8f9b7.js';
|
8
8
|
import './Files-70a192df.js';
|
9
9
|
import './index-d264c496.js';
|