@verdocs/web-sdk 1.14.2 → 1.14.4
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/{utils-a9022729.js → utils-e018339d.js} +0 -2
- package/dist/cjs/verdocs-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-recipient-summary.cjs.entry.js +7 -7
- package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +4 -5
- 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/collection/components/envelopes/verdocs-envelope-recipient-summary/verdocs-envelope-recipient-summary.css +10 -12
- package/dist/collection/components/envelopes/verdocs-envelope-recipient-summary/verdocs-envelope-recipient-summary.js +5 -5
- package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.css +4 -4
- package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.js +2 -3
- 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-envelope-recipient-summary2.js +6 -6
- package/dist/components/verdocs-envelope-sidebar.js +3 -4
- package/dist/docs.json +1 -1
- package/dist/esm/{Toast-fbda07e3.js → Toast-f3b8fd46.js} +1 -1
- package/dist/esm/{utils-75cee3f6.js → utils-888f9f20.js} +0 -2
- package/dist/esm/verdocs-dropdown_2.entry.js +1 -1
- package/dist/esm/verdocs-envelope-recipient-summary.entry.js +7 -7
- package/dist/esm/verdocs-envelope-sidebar.entry.js +4 -5
- 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-es5/{Toast-fbda07e3.js → Toast-f3b8fd46.js} +1 -1
- package/dist/esm-es5/{utils-75cee3f6.js → utils-888f9f20.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/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-b7cb5531.entry.js → p-13d4ed78.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-37af8e2d.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-5896ced4.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-a8043f9d.entry.js → p-9c8e40e0.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-b824ba92.system.entry.js +1 -0
- 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-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/custom-elements.json +0 -1616
- package/dist/verdocs-web-sdk/p-0251ca3a.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-483ded0c.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-cf11b652.system.entry.js +0 -1
package/README.md
CHANGED
@@ -6,16 +6,3 @@ This is the core component library for a set of framework-specific SDKs to quick
|
|
6
6
|
For more information, please see one of the following for your specific framework:
|
7
7
|
|
8
8
|
- [Verdocs Web for React](https://www.npmjs.com/package/@verdocs/web-sdk-react)
|
9
|
-
|
10
|
-
|
11
|
-
RTSP cameras, proprietary device from US Army
|
12
|
-
No access to physical hardware, need to build against spec and test remotely
|
13
|
-
Demo coming up, soft deadline
|
14
|
-
App will be separate module, not modifying their current code
|
15
|
-
Call documented APIs and Websocket
|
16
|
-
Good docs
|
17
|
-
Not a SBIR, soft deadlines but "soon" (May)
|
18
|
-
Possible Redis connection
|
19
|
-
RTSP streaming H.264 encoding, basic data from camera (pan/tilt/zoom/FOV)
|
20
|
-
Air Scout server
|
21
|
-
Python pref. C/C++ nice to have. Performance is P2
|
@@ -47,7 +47,7 @@ const VerdocsToast = (text, config = {}) => {
|
|
47
47
|
const toastBody = `
|
48
48
|
${icon}
|
49
49
|
<div class="verdocs-toast-text" style="padding: 12px 12px 12px 0;">${text}</div>
|
50
|
-
<div class="verdocs-toast-close" style="padding: 12px
|
50
|
+
<div class="verdocs-toast-close" style="padding: 12px 10px; background: rgba(0, 0, 0, 0.2); cursor: pointer;">✕</div>
|
51
51
|
`;
|
52
52
|
const toast = document.createElement('div');
|
53
53
|
toast.className = 'verdocs-toast';
|
@@ -142,9 +142,7 @@ const renderDocumentField = (field, docPage, roleIndex, fieldOptions) => {
|
|
142
142
|
}
|
143
143
|
let { type } = field;
|
144
144
|
if (type === 'textbox') {
|
145
|
-
console.log('Rendering text box', field);
|
146
145
|
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) {
|
147
|
-
console.log('Switching to text area', field);
|
148
146
|
type = 'textarea';
|
149
147
|
}
|
150
148
|
}
|
@@ -7,7 +7,7 @@ const popper = require('./popper-9def2535.js');
|
|
7
7
|
const Envelopes = require('./Envelopes-e5ffb6a5.js');
|
8
8
|
require('./Types-f89f9116.js');
|
9
9
|
const VerdocsEndpoint = require('./VerdocsEndpoint-f2af9468.js');
|
10
|
-
const utils = require('./utils-
|
10
|
+
const utils = require('./utils-e018339d.js');
|
11
11
|
require('./_commonjsHelpers-0c557e26.js');
|
12
12
|
require('./Files-4bdc0c0f.js');
|
13
13
|
require('./index-6528b430.js');
|
@@ -9,7 +9,7 @@ require('./Types-f89f9116.js');
|
|
9
9
|
const VerdocsEndpoint = require('./VerdocsEndpoint-f2af9468.js');
|
10
10
|
const index = require('./index-e84e0687.js');
|
11
11
|
const Envelopes = require('./Envelopes-e5ffb6a5.js');
|
12
|
-
const Toast = require('./Toast-
|
12
|
+
const Toast = require('./Toast-06880504.js');
|
13
13
|
const errors = require('./errors-0396da3d.js');
|
14
14
|
|
15
15
|
const createEnvelopeStore = (envelopeId) => {
|
@@ -89,7 +89,7 @@ const getEnvelopeStore = async (endpoint, envelopeId, forceReload = false) => {
|
|
89
89
|
return store;
|
90
90
|
};
|
91
91
|
|
92
|
-
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 .
|
92
|
+
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}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%}";
|
93
93
|
|
94
94
|
const VerdocsEnvelopeRecipientSummary = class {
|
95
95
|
constructor(hostRef) {
|
@@ -162,27 +162,27 @@ const VerdocsEnvelopeRecipientSummary = class {
|
|
162
162
|
});
|
163
163
|
}
|
164
164
|
getLink(recipient) {
|
165
|
-
this.gettingLinks[recipient.role_name]
|
165
|
+
this.gettingLinks = { ...this.gettingLinks, [recipient.role_name]: true };
|
166
166
|
Recipients.getInPersonLink(this.endpoint, recipient.envelope_id, recipient.role_name)
|
167
167
|
.then(response => {
|
168
|
-
this.gettingLinks[recipient.role_name]
|
168
|
+
this.gettingLinks = { ...this.gettingLinks, [recipient.role_name]: false };
|
169
169
|
this.links = { ...this.links, [recipient.role_name]: response.link };
|
170
170
|
this.copyLink(response.link);
|
171
171
|
})
|
172
172
|
.catch(e => {
|
173
|
-
this.gettingLinks[recipient.role_name]
|
173
|
+
this.gettingLinks = { ...this.gettingLinks, [recipient.role_name]: false };
|
174
174
|
console.log('[RECIPIENTS] Error getting link', e);
|
175
175
|
Toast.VerdocsToast('Unable to get link: ' + e.message, { style: 'error' });
|
176
176
|
});
|
177
177
|
}
|
178
178
|
render() {
|
179
179
|
var _a;
|
180
|
-
return (index$1.h(index$1.Host, null, index$1.h("div", { class: "content" }, index$1.h("h1", { class: "title" }, "Recipient Summary"), index$1.h("div", { class: "rows" }, (_a = this.store.state) === null || _a === void 0 ? void 0 : _a.recipients.map(recipient => {
|
180
|
+
return (index$1.h(index$1.Host, null, index$1.h("div", { class: "summary-content" }, index$1.h("h1", { class: "summary-title" }, "Recipient Summary"), index$1.h("div", { class: "summary-rows" }, (_a = this.store.state) === null || _a === void 0 ? void 0 : _a.recipients.map(recipient => {
|
181
181
|
const recipientsWithActions = Permissions.getRecipientsWithActions(this.store.state);
|
182
182
|
const showLinkButton = Permissions.recipientCanAct(recipient, recipientsWithActions);
|
183
183
|
const link = this.links[recipient.role_name];
|
184
184
|
const gettingLink = this.gettingLinks[recipient.role_name];
|
185
|
-
return (index$1.h("div", { class: "recipient" }, index$1.h("div", { class: "role-name" }, recipient.role_name), index$1.h("div", { class: "role-details" }, index$1.h("div", { class: "role-info" }, index$1.h("div", { class: "role-full-name" }, recipient.full_name, " (", recipient.email || recipient.phone, ")"), showLinkButton && !link && index$1.h("verdocs-button", { size: "small", variant: "outline", label: "Get Link", disabled: gettingLink, onClick: () => this.getLink(recipient) })), link && (index$1.h("div", { class: "link-wrapper" }, index$1.h("div", { class: "link" }, link), index$1.h("verdocs-button", { size: "small", variant: "outline", label: "Copy", onClick: () => this.copyLink(link) }))))));
|
185
|
+
return (index$1.h("div", { class: "summary-recipient" }, index$1.h("div", { class: "role-name" }, recipient.role_name), index$1.h("div", { class: "role-details" }, index$1.h("div", { class: "role-info" }, index$1.h("div", { class: "role-full-name" }, recipient.full_name, " (", recipient.email || recipient.phone, ")"), showLinkButton && !link && index$1.h("verdocs-button", { size: "small", variant: "outline", label: "Get Link", disabled: gettingLink, onClick: () => this.getLink(recipient) })), link && (index$1.h("div", { class: "link-wrapper" }, index$1.h("div", { class: "link" }, link), index$1.h("verdocs-button", { size: "small", variant: "outline", label: "Copy", onClick: () => this.copyLink(link) }))))));
|
186
186
|
})), (this.canSendAnother || this.canView || this.canDone) && (index$1.h("div", { class: "buttons" }, this.canSendAnother && index$1.h("verdocs-button", { size: "small", label: "Send Another", onClick: e => this.handleAnother(e) }), this.canView && index$1.h("verdocs-button", { size: "small", label: "View Now", onClick: e => this.handleView(e) }), this.canDone && index$1.h("verdocs-button", { size: "small", label: "Done", onClick: e => this.handleDone(e) }))))));
|
187
187
|
}
|
188
188
|
};
|
@@ -7,11 +7,11 @@ const Envelopes = require('./Envelopes-e5ffb6a5.js');
|
|
7
7
|
const Permissions = require('./Permissions-4b710db2.js');
|
8
8
|
require('./Types-f89f9116.js');
|
9
9
|
const VerdocsEndpoint = require('./VerdocsEndpoint-f2af9468.js');
|
10
|
-
const Toast = require('./Toast-
|
10
|
+
const Toast = require('./Toast-06880504.js');
|
11
11
|
const errors = require('./errors-0396da3d.js');
|
12
12
|
const index$1 = require('./index-6528b430.js');
|
13
13
|
|
14
|
-
const verdocsEnvelopeSidebarCss = "verdocs-envelope-sidebar{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;-ms-flex:0 0 56px;flex:0 0 56px;width:56px;min-height:400px;height:100%;background:#41435e;-webkit-transition:0.5s cubic-bezier(0.35, 0, 0.25, 1);transition:0.5s cubic-bezier(0.35, 0, 0.25, 1)}verdocs-envelope-sidebar.open{-ms-flex:0 0 400px;flex:0 0 400px;width:400px}verdocs-envelope-sidebar .buttons{-ms-flex-direction:column;flex-direction:column;-ms-flex:0 0 56px;flex:0 0 56px;display:-ms-flexbox;display:flex}verdocs-envelope-sidebar .buttons button{height:50px;outline:none;border:none;border-left:2px solid transparent;background:none;width:100%}verdocs-envelope-sidebar .buttons button.active{border-left:2px solid #50bd80}verdocs-envelope-sidebar .buttons button svg{color:white;width:24px;height:24px}verdocs-envelope-sidebar .content{-ms-flex:1;flex:1;display:none;color:white;-ms-flex-direction:column;flex-direction:column;padding:12px 16px 16px}verdocs-envelope-sidebar.open .content{display:-ms-flexbox;display:flex;overflow-y:scroll}verdocs-envelope-sidebar .title{margin-bottom:12px;font-size:16px;line-height:24px;font-weight:400;-ms-flex:0;flex:0}verdocs-envelope-sidebar .label{font-size:12px;line-height:16px;color:rgba(255, 255, 255, 0.54);-ms-flex:0;flex:0}verdocs-envelope-sidebar .value{margin-bottom:14px;font-size:14px;font-weight:500;line-height:16px;color:#fff;-ms-flex:0;flex:0}verdocs-envelope-sidebar .manage-recipients-button{-ms-flex-item-align:center;align-self:center;white-space:nowrap}verdocs-envelope-sidebar .manage-recipients-button .label{color:#ffffff;font-size:14px}verdocs-envelope-sidebar .recipient-detail{-ms-flex:0;flex:0;padding:8px;position:relative;-ms-flex-direction:column;flex-direction:column;border:solid 1px #979797;margin-bottom:16px}verdocs-envelope-sidebar .recipient-header{-ms-flex-direction:row;flex-direction:row;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;place-content:center space-between;-ms-flex-align:center;align-items:center;margin-bottom:4px}verdocs-envelope-sidebar .recipient-number{width:24px;height:24px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border-radius:24px;font-size:14px;font-weight:500;margin-right:10px;border:solid 1px #979797}verdocs-envelope-sidebar .recipient-type{-ms-flex:1 1 88px;flex:1 1 88px;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:88px;min-width:88px;text-transform:capitalize}verdocs-envelope-sidebar .recipient-status{-ms-flex:1 1 100px;flex:1 1 100px;border-radius:5px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100px;min-width:100px;background-color:#616161;text-transform:capitalize}verdocs-envelope-sidebar .recipient-status.invited{background-color:#ff8f00}verdocs-envelope-sidebar .recipient-status.opened{background-color:#616161}verdocs-envelope-sidebar .recipient-status.signed,verdocs-envelope-sidebar .recipient-status.submitted{background-color:#2e7d32}verdocs-envelope-sidebar .recipient-status.pending{background-color:#0277bd}verdocs-envelope-sidebar .recipient-status.canceled,verdocs-envelope-sidebar .recipient-status.declined{background-color:#c62828}verdocs-envelope-sidebar .recipient-content{-ms-flex-direction:column;flex-direction:column}verdocs-envelope-sidebar .history-entry{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;padding:8px 0 0;margin:8px 0 0;border-top:1px solid #dddddd}verdocs-envelope-sidebar .history-entry .activity-icon{margin-right:14px}verdocs-envelope-sidebar .history-entry .activity-icon svg{width:24px;height:24px;fill:#ffffff}verdocs-envelope-sidebar .history-entry .activity-text{font-size:14px;line-height:16px;margin-bottom:4px}verdocs-envelope-sidebar .history-entry .activity-date{font-size:12px;line-height:16px;color:rgba(255, 255, 255, 0.54)}verdocs-envelope-sidebar .content .history-entry:first-of-type{border-top:none}";
|
14
|
+
const verdocsEnvelopeSidebarCss = "verdocs-envelope-sidebar{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;-ms-flex:0 0 56px;flex:0 0 56px;width:56px;min-height:400px;height:100%;background:#41435e;-webkit-transition:0.5s cubic-bezier(0.35, 0, 0.25, 1);transition:0.5s cubic-bezier(0.35, 0, 0.25, 1)}verdocs-envelope-sidebar.open{-ms-flex:0 0 400px;flex:0 0 400px;width:400px}verdocs-envelope-sidebar .side-buttons{-ms-flex-direction:column;flex-direction:column;-ms-flex:0 0 56px;flex:0 0 56px;display:-ms-flexbox;display:flex}verdocs-envelope-sidebar .side-buttons button{height:50px;outline:none;border:none;border-left:2px solid transparent;background:none;width:100%}verdocs-envelope-sidebar .side-buttons button.active{border-left:2px solid #50bd80}verdocs-envelope-sidebar .side-buttons button svg{color:white;width:24px;height:24px}verdocs-envelope-sidebar .content{-ms-flex:1;flex:1;display:none;color:white;-ms-flex-direction:column;flex-direction:column;padding:12px 16px 16px}verdocs-envelope-sidebar.open .content{display:-ms-flexbox;display:flex;overflow-y:scroll}verdocs-envelope-sidebar .title{margin-bottom:12px;font-size:16px;line-height:24px;font-weight:400;-ms-flex:0;flex:0}verdocs-envelope-sidebar .label{font-size:12px;line-height:16px;color:rgba(255, 255, 255, 0.54);-ms-flex:0;flex:0}verdocs-envelope-sidebar .value{margin-bottom:14px;font-size:14px;font-weight:500;line-height:16px;color:#fff;-ms-flex:0;flex:0}verdocs-envelope-sidebar .manage-recipients-button{-ms-flex-item-align:center;align-self:center;white-space:nowrap}verdocs-envelope-sidebar .manage-recipients-button .label{color:#ffffff;font-size:14px}verdocs-envelope-sidebar .recipient-detail{-ms-flex:0;flex:0;padding:8px;position:relative;-ms-flex-direction:column;flex-direction:column;border:solid 1px #979797;margin-bottom:16px}verdocs-envelope-sidebar .recipient-header{-ms-flex-direction:row;flex-direction:row;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;place-content:center space-between;-ms-flex-align:center;align-items:center;margin-bottom:4px}verdocs-envelope-sidebar .recipient-number{width:24px;height:24px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border-radius:24px;font-size:14px;font-weight:500;margin-right:10px;border:solid 1px #979797}verdocs-envelope-sidebar .recipient-type{-ms-flex:1 1 88px;flex:1 1 88px;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:88px;min-width:88px;text-transform:capitalize}verdocs-envelope-sidebar .recipient-status{-ms-flex:1 1 100px;flex:1 1 100px;border-radius:5px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100px;min-width:100px;background-color:#616161;text-transform:capitalize}verdocs-envelope-sidebar .recipient-status.invited{background-color:#ff8f00}verdocs-envelope-sidebar .recipient-status.opened{background-color:#616161}verdocs-envelope-sidebar .recipient-status.signed,verdocs-envelope-sidebar .recipient-status.submitted{background-color:#2e7d32}verdocs-envelope-sidebar .recipient-status.pending{background-color:#0277bd}verdocs-envelope-sidebar .recipient-status.canceled,verdocs-envelope-sidebar .recipient-status.declined{background-color:#c62828}verdocs-envelope-sidebar .recipient-content{-ms-flex-direction:column;flex-direction:column}verdocs-envelope-sidebar .history-entry{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;padding:8px 0 0;margin:8px 0 0;border-top:1px solid #dddddd}verdocs-envelope-sidebar .history-entry .activity-icon{margin-right:14px}verdocs-envelope-sidebar .history-entry .activity-icon svg{width:24px;height:24px;fill:#ffffff}verdocs-envelope-sidebar .history-entry .activity-text{font-size:14px;line-height:16px;margin-bottom:4px}verdocs-envelope-sidebar .history-entry .activity-date{font-size:12px;line-height:16px;color:rgba(255, 255, 255, 0.54)}verdocs-envelope-sidebar .content .history-entry:first-of-type{border-top:none}";
|
15
15
|
|
16
16
|
const InformationCircle = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z" /></svg>`;
|
17
17
|
const Users = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z" /></svg>`;
|
@@ -215,7 +215,7 @@ const VerdocsEnvelopeSidebar = class {
|
|
215
215
|
entries.push({ icon: 'link', message: `Owner accessed the In-person link for ${user}.`, date: new Date(history.created_at) });
|
216
216
|
break;
|
217
217
|
default:
|
218
|
-
console.log('
|
218
|
+
console.log('[SIDEBAR] Unknown history type', history);
|
219
219
|
break;
|
220
220
|
}
|
221
221
|
});
|
@@ -230,8 +230,7 @@ const VerdocsEnvelopeSidebar = class {
|
|
230
230
|
const session = this.endpoint.getSession();
|
231
231
|
const isEnvelopeOwner = Permissions.userIsEnvelopeOwner(session, this.envelope);
|
232
232
|
const historyEntries = this.prepareHistoryEntries();
|
233
|
-
|
234
|
-
return (index.h(index.Host, { class: this.panelOpen ? 'open' : '' }, index.h("div", { class: "buttons" }, index.h("button", { class: this.activeTab === 1 ? 'active' : '', onClick: () => this.setTab(1), innerHTML: InformationCircle }), index.h("button", { class: this.activeTab === 2 ? 'active' : '', onClick: () => this.setTab(2), innerHTML: Users }), index.h("button", { class: this.activeTab === 3 ? 'active' : '', onClick: () => this.setTab(3), innerHTML: ClipboardDocuments })), this.activeTab === 1 && (index.h("div", { class: "content" }, index.h("div", { class: "title" }, "Details"), index.h("div", { class: "label" }, "Envelope ID"), index.h("div", { class: "value" }, this.envelope.id), index.h("div", { class: "label" }, "Date Created"), index.h("div", { class: "value" }, index$1.format(new Date(this.envelope.created_at), 'PP pp')), index.h("div", { class: "label" }, "Last Modified"), index.h("div", { class: "value" }, index$1.format(new Date(this.envelope.updated_at), 'PP pp')), index.h("div", { class: "label" }, "Status"), index.h("div", { class: "value" }, this.envelope.status), index.h("div", { class: "label" }, "Verdoc Owner ID"), index.h("div", { class: "value" }, this.envelope.profile_id), index.h("div", { class: "label" }, "Verdoc Owner Name"), index.h("div", { class: "value" }, (_a = this.envelope.profile) === null || _a === void 0 ? void 0 :
|
233
|
+
return (index.h(index.Host, { class: this.panelOpen ? 'open' : '' }, index.h("div", { class: "side-buttons" }, index.h("button", { class: this.activeTab === 1 ? 'active' : '', onClick: () => this.setTab(1), innerHTML: InformationCircle }), index.h("button", { class: this.activeTab === 2 ? 'active' : '', onClick: () => this.setTab(2), innerHTML: Users }), index.h("button", { class: this.activeTab === 3 ? 'active' : '', onClick: () => this.setTab(3), innerHTML: ClipboardDocuments })), this.activeTab === 1 && (index.h("div", { class: "content" }, index.h("div", { class: "title" }, "Details"), index.h("div", { class: "label" }, "Envelope ID"), index.h("div", { class: "value" }, this.envelope.id), index.h("div", { class: "label" }, "Date Created"), index.h("div", { class: "value" }, index$1.format(new Date(this.envelope.created_at), 'PP pp')), index.h("div", { class: "label" }, "Last Modified"), index.h("div", { class: "value" }, index$1.format(new Date(this.envelope.updated_at), 'PP pp')), index.h("div", { class: "label" }, "Status"), index.h("div", { class: "value" }, this.envelope.status), index.h("div", { class: "label" }, "Verdoc Owner ID"), index.h("div", { class: "value" }, this.envelope.profile_id), index.h("div", { class: "label" }, "Verdoc Owner Name"), index.h("div", { class: "value" }, (_a = this.envelope.profile) === null || _a === void 0 ? void 0 :
|
235
234
|
_a.first_name, " ", (_b = this.envelope.profile) === null || _b === void 0 ? void 0 :
|
236
235
|
_b.last_name), index.h("div", { class: "label" }, "Verdoc Owner Email"), index.h("div", { class: "value" }, (_c = this.envelope.profile) === null || _c === void 0 ? void 0 : _c.email))), this.activeTab === 2 && (index.h("div", { class: "content" }, index.h("div", { class: "title" }, "Recipients"), this.sortedRecipients.map((recipient, index$1) => (index.h("div", { class: "recipient-detail" }, index.h("div", { class: "recipient-header" }, index.h("div", { class: "recipient-number" }, index$1 + 1), index.h("div", { class: "recipient-type" }, recipient.role_name), index.h("div", { class: { 'recipient-status': true, [recipient.status]: true } }, recipient.status), isEnvelopeOwner && (index.h("verdocs-dropdown", { onOptionSelected: item => this.handleRecipientAction(recipient, item.detail.id), options: [
|
237
236
|
{ id: 'reminder', label: 'Send Reminder', disabled: !this.canResendRecipient(recipient) },
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-70677d67.js');
|
6
6
|
const Colors = require('./Colors-e809dcc9.js');
|
7
|
-
const utils = require('./utils-
|
7
|
+
const utils = require('./utils-e018339d.js');
|
8
8
|
require('./_commonjsHelpers-0c557e26.js');
|
9
9
|
require('./Envelopes-e5ffb6a5.js');
|
10
10
|
require('./Types-f89f9116.js');
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-70677d67.js');
|
6
|
-
const utils = require('./utils-
|
6
|
+
const utils = require('./utils-e018339d.js');
|
7
7
|
const Colors = require('./Colors-e809dcc9.js');
|
8
8
|
const index$1 = require('./index-6528b430.js');
|
9
9
|
require('./_commonjsHelpers-0c557e26.js');
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-70677d67.js');
|
6
6
|
const Colors = require('./Colors-e809dcc9.js');
|
7
|
-
const utils = require('./utils-
|
7
|
+
const utils = require('./utils-e018339d.js');
|
8
8
|
require('./_commonjsHelpers-0c557e26.js');
|
9
9
|
require('./Envelopes-e5ffb6a5.js');
|
10
10
|
require('./Types-f89f9116.js');
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-70677d67.js');
|
6
6
|
const Colors = require('./Colors-e809dcc9.js');
|
7
|
-
const utils = require('./utils-
|
7
|
+
const utils = require('./utils-e018339d.js');
|
8
8
|
require('./_commonjsHelpers-0c557e26.js');
|
9
9
|
require('./Envelopes-e5ffb6a5.js');
|
10
10
|
require('./Types-f89f9116.js');
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-70677d67.js');
|
6
6
|
const Colors = require('./Colors-e809dcc9.js');
|
7
|
-
const utils = require('./utils-
|
7
|
+
const utils = require('./utils-e018339d.js');
|
8
8
|
require('./_commonjsHelpers-0c557e26.js');
|
9
9
|
require('./Envelopes-e5ffb6a5.js');
|
10
10
|
require('./Types-f89f9116.js');
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-70677d67.js');
|
6
6
|
const Colors = require('./Colors-e809dcc9.js');
|
7
|
-
const utils = require('./utils-
|
7
|
+
const utils = require('./utils-e018339d.js');
|
8
8
|
require('./_commonjsHelpers-0c557e26.js');
|
9
9
|
require('./Envelopes-e5ffb6a5.js');
|
10
10
|
require('./Types-f89f9116.js');
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-70677d67.js');
|
6
6
|
const Colors = require('./Colors-e809dcc9.js');
|
7
|
-
const utils = require('./utils-
|
7
|
+
const utils = require('./utils-e018339d.js');
|
8
8
|
require('./_commonjsHelpers-0c557e26.js');
|
9
9
|
require('./Envelopes-e5ffb6a5.js');
|
10
10
|
require('./Types-f89f9116.js');
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-70677d67.js');
|
6
6
|
const Colors = require('./Colors-e809dcc9.js');
|
7
|
-
const utils = require('./utils-
|
7
|
+
const utils = require('./utils-e018339d.js');
|
8
8
|
require('./_commonjsHelpers-0c557e26.js');
|
9
9
|
require('./Envelopes-e5ffb6a5.js');
|
10
10
|
require('./Types-f89f9116.js');
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
const index = require('./index-70677d67.js');
|
6
6
|
const interact_min = require('./interact.min-ba5cc513.js');
|
7
7
|
const Colors = require('./Colors-e809dcc9.js');
|
8
|
-
const utils = require('./utils-
|
8
|
+
const utils = require('./utils-e018339d.js');
|
9
9
|
require('./_commonjsHelpers-0c557e26.js');
|
10
10
|
require('./Envelopes-e5ffb6a5.js');
|
11
11
|
require('./Types-f89f9116.js');
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-70677d67.js');
|
6
6
|
const Colors = require('./Colors-e809dcc9.js');
|
7
|
-
const utils = require('./utils-
|
7
|
+
const utils = require('./utils-e018339d.js');
|
8
8
|
const index$1 = require('./index-6528b430.js');
|
9
9
|
require('./_commonjsHelpers-0c557e26.js');
|
10
10
|
require('./Envelopes-e5ffb6a5.js');
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
const index = require('./index-70677d67.js');
|
6
6
|
require('./Types-f89f9116.js');
|
7
7
|
const VerdocsEndpoint = require('./VerdocsEndpoint-f2af9468.js');
|
8
|
-
const utils = require('./utils-
|
8
|
+
const utils = require('./utils-e018339d.js');
|
9
9
|
const TemplateStore = require('./TemplateStore-19f84862.js');
|
10
10
|
const errors = require('./errors-0396da3d.js');
|
11
11
|
require('./_commonjsHelpers-0c557e26.js');
|
@@ -8,7 +8,7 @@ const VerdocsEndpoint = require('./VerdocsEndpoint-f2af9468.js');
|
|
8
8
|
const Validators = require('./Validators-16e6d7d1.js');
|
9
9
|
const Colors = require('./Colors-e809dcc9.js');
|
10
10
|
const TemplateStore = require('./TemplateStore-19f84862.js');
|
11
|
-
const utils = require('./utils-
|
11
|
+
const utils = require('./utils-e018339d.js');
|
12
12
|
const errors = require('./errors-0396da3d.js');
|
13
13
|
require('./index-e84e0687.js');
|
14
14
|
require('./Templates-24580a13.js');
|
@@ -9,9 +9,9 @@ const Recipients = require('./Recipients-2b21fdea.js');
|
|
9
9
|
const VerdocsEndpoint = require('./VerdocsEndpoint-f2af9468.js');
|
10
10
|
const Validators = require('./Validators-16e6d7d1.js');
|
11
11
|
const Primitives = require('./Primitives-be5088cb.js');
|
12
|
-
const utils = require('./utils-
|
12
|
+
const utils = require('./utils-e018339d.js');
|
13
13
|
const errors = require('./errors-0396da3d.js');
|
14
|
-
const Toast = require('./Toast-
|
14
|
+
const Toast = require('./Toast-06880504.js');
|
15
15
|
const index$1 = require('./index-6528b430.js');
|
16
16
|
require('./_commonjsHelpers-0c557e26.js');
|
17
17
|
require('./Files-4bdc0c0f.js');
|
@@ -6,7 +6,7 @@ const index = require('./index-70677d67.js');
|
|
6
6
|
require('./Types-f89f9116.js');
|
7
7
|
const TemplateDocuments = require('./TemplateDocuments-e2e0e6b7.js');
|
8
8
|
const VerdocsEndpoint = require('./VerdocsEndpoint-f2af9468.js');
|
9
|
-
const utils = require('./utils-
|
9
|
+
const utils = require('./utils-e018339d.js');
|
10
10
|
const popper = require('./popper-9def2535.js');
|
11
11
|
require('./_commonjsHelpers-0c557e26.js');
|
12
12
|
require('./Envelopes-e5ffb6a5.js');
|
@@ -8,7 +8,7 @@ require('./Types-f89f9116.js');
|
|
8
8
|
const Fields = require('./Fields-705a2168.js');
|
9
9
|
const VerdocsEndpoint = require('./VerdocsEndpoint-f2af9468.js');
|
10
10
|
const Primitives = require('./Primitives-be5088cb.js');
|
11
|
-
const utils = require('./utils-
|
11
|
+
const utils = require('./utils-e018339d.js');
|
12
12
|
const TemplateStore = require('./TemplateStore-19f84862.js');
|
13
13
|
const errors = require('./errors-0396da3d.js');
|
14
14
|
const Colors = require('./Colors-e809dcc9.js');
|
@@ -8,7 +8,7 @@ const Permissions = require('./Permissions-4b710db2.js');
|
|
8
8
|
require('./Types-f89f9116.js');
|
9
9
|
const VerdocsEndpoint = require('./VerdocsEndpoint-f2af9468.js');
|
10
10
|
const Primitives = require('./Primitives-be5088cb.js');
|
11
|
-
const utils = require('./utils-
|
11
|
+
const utils = require('./utils-e018339d.js');
|
12
12
|
const errors = require('./errors-0396da3d.js');
|
13
13
|
require('./_commonjsHelpers-0c557e26.js');
|
14
14
|
require('./Files-4bdc0c0f.js');
|
@@ -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,12 @@ 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;
|
51
49
|
}
|
52
|
-
verdocs-envelope-recipient-summary .recipient .role-full-name {
|
50
|
+
verdocs-envelope-recipient-summary .summary-recipient .role-full-name {
|
53
51
|
flex: 1;
|
54
52
|
height: 34px;
|
55
53
|
display: flex;
|
@@ -60,7 +58,7 @@ verdocs-envelope-recipient-summary .recipient .role-full-name {
|
|
60
58
|
border: 1px solid #cccccc;
|
61
59
|
background: #f9fafb;
|
62
60
|
}
|
63
|
-
verdocs-envelope-recipient-summary .recipient .recipient-link {
|
61
|
+
verdocs-envelope-recipient-summary .summary-recipient .recipient-link {
|
64
62
|
width: 120px;
|
65
63
|
padding: 0 16px;
|
66
64
|
font-weight: 500;
|
@@ -73,13 +71,13 @@ verdocs-envelope-recipient-summary .recipient .recipient-link {
|
|
73
71
|
background-color: #d8d8d8;
|
74
72
|
border: 2px solid #9ca3af;
|
75
73
|
}
|
76
|
-
verdocs-envelope-recipient-summary .recipient .link-wrapper {
|
74
|
+
verdocs-envelope-recipient-summary .summary-recipient .link-wrapper {
|
77
75
|
gap: 5px;
|
78
76
|
display: flex;
|
79
77
|
margin: 4px 0 0 0;
|
80
78
|
flex-direction: row;
|
81
79
|
}
|
82
|
-
verdocs-envelope-recipient-summary .recipient .link-wrapper .link {
|
80
|
+
verdocs-envelope-recipient-summary .summary-recipient .link-wrapper .link {
|
83
81
|
flex: 1;
|
84
82
|
height: 34px;
|
85
83
|
display: flex;
|
@@ -80,27 +80,27 @@ export class VerdocsEnvelopeRecipientSummary {
|
|
80
80
|
});
|
81
81
|
}
|
82
82
|
getLink(recipient) {
|
83
|
-
this.gettingLinks[recipient.role_name]
|
83
|
+
this.gettingLinks = { ...this.gettingLinks, [recipient.role_name]: true };
|
84
84
|
getInPersonLink(this.endpoint, recipient.envelope_id, recipient.role_name)
|
85
85
|
.then(response => {
|
86
|
-
this.gettingLinks[recipient.role_name]
|
86
|
+
this.gettingLinks = { ...this.gettingLinks, [recipient.role_name]: false };
|
87
87
|
this.links = { ...this.links, [recipient.role_name]: response.link };
|
88
88
|
this.copyLink(response.link);
|
89
89
|
})
|
90
90
|
.catch(e => {
|
91
|
-
this.gettingLinks[recipient.role_name]
|
91
|
+
this.gettingLinks = { ...this.gettingLinks, [recipient.role_name]: false };
|
92
92
|
console.log('[RECIPIENTS] Error getting link', e);
|
93
93
|
VerdocsToast('Unable to get link: ' + e.message, { style: 'error' });
|
94
94
|
});
|
95
95
|
}
|
96
96
|
render() {
|
97
97
|
var _a;
|
98
|
-
return (h(Host, null, h("div", { class: "content" }, h("h1", { class: "title" }, "Recipient Summary"), h("div", { class: "rows" }, (_a = this.store.state) === null || _a === void 0 ? void 0 : _a.recipients.map(recipient => {
|
98
|
+
return (h(Host, null, h("div", { class: "summary-content" }, h("h1", { class: "summary-title" }, "Recipient Summary"), h("div", { class: "summary-rows" }, (_a = this.store.state) === null || _a === void 0 ? void 0 : _a.recipients.map(recipient => {
|
99
99
|
const recipientsWithActions = getRecipientsWithActions(this.store.state);
|
100
100
|
const showLinkButton = recipientCanAct(recipient, recipientsWithActions);
|
101
101
|
const link = this.links[recipient.role_name];
|
102
102
|
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) }))))));
|
103
|
+
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
104
|
})), (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
105
|
}
|
106
106
|
static get is() { return "verdocs-envelope-recipient-summary"; }
|
package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.css
CHANGED
@@ -13,12 +13,12 @@ verdocs-envelope-sidebar.open {
|
|
13
13
|
flex: 0 0 400px;
|
14
14
|
width: 400px;
|
15
15
|
}
|
16
|
-
verdocs-envelope-sidebar .buttons {
|
16
|
+
verdocs-envelope-sidebar .side-buttons {
|
17
17
|
flex-direction: column;
|
18
18
|
flex: 0 0 56px;
|
19
19
|
display: flex;
|
20
20
|
}
|
21
|
-
verdocs-envelope-sidebar .buttons button {
|
21
|
+
verdocs-envelope-sidebar .side-buttons button {
|
22
22
|
height: 50px;
|
23
23
|
outline: none;
|
24
24
|
border: none;
|
@@ -26,10 +26,10 @@ verdocs-envelope-sidebar .buttons button {
|
|
26
26
|
background: none;
|
27
27
|
width: 100%;
|
28
28
|
}
|
29
|
-
verdocs-envelope-sidebar .buttons button.active {
|
29
|
+
verdocs-envelope-sidebar .side-buttons button.active {
|
30
30
|
border-left: 2px solid #50bd80;
|
31
31
|
}
|
32
|
-
verdocs-envelope-sidebar .buttons button svg {
|
32
|
+
verdocs-envelope-sidebar .side-buttons button svg {
|
33
33
|
color: white;
|
34
34
|
width: 24px;
|
35
35
|
height: 24px;
|
package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.js
CHANGED
@@ -206,7 +206,7 @@ export class VerdocsEnvelopeSidebar {
|
|
206
206
|
entries.push({ icon: 'link', message: `Owner accessed the In-person link for ${user}.`, date: new Date(history.created_at) });
|
207
207
|
break;
|
208
208
|
default:
|
209
|
-
console.log('
|
209
|
+
console.log('[SIDEBAR] Unknown history type', history);
|
210
210
|
break;
|
211
211
|
}
|
212
212
|
});
|
@@ -221,8 +221,7 @@ export class VerdocsEnvelopeSidebar {
|
|
221
221
|
const session = this.endpoint.getSession();
|
222
222
|
const isEnvelopeOwner = userIsEnvelopeOwner(session, this.envelope);
|
223
223
|
const historyEntries = this.prepareHistoryEntries();
|
224
|
-
|
225
|
-
return (h(Host, { class: this.panelOpen ? 'open' : '' }, h("div", { class: "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 :
|
224
|
+
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
225
|
_a.first_name, " ", (_b = this.envelope.profile) === null || _b === void 0 ? void 0 :
|
227
226
|
_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: [
|
228
227
|
{ id: 'reminder', label: 'Send Reminder', disabled: !this.canResendRecipient(recipient) },
|
@@ -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
|
}
|
@@ -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}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() {
|
@@ -159,27 +159,27 @@ const VerdocsEnvelopeRecipientSummary = /*@__PURE__*/ proxyCustomElement(class e
|
|
159
159
|
});
|
160
160
|
}
|
161
161
|
getLink(recipient) {
|
162
|
-
this.gettingLinks[recipient.role_name]
|
162
|
+
this.gettingLinks = { ...this.gettingLinks, [recipient.role_name]: true };
|
163
163
|
getInPersonLink(this.endpoint, recipient.envelope_id, recipient.role_name)
|
164
164
|
.then(response => {
|
165
|
-
this.gettingLinks[recipient.role_name]
|
165
|
+
this.gettingLinks = { ...this.gettingLinks, [recipient.role_name]: false };
|
166
166
|
this.links = { ...this.links, [recipient.role_name]: response.link };
|
167
167
|
this.copyLink(response.link);
|
168
168
|
})
|
169
169
|
.catch(e => {
|
170
|
-
this.gettingLinks[recipient.role_name]
|
170
|
+
this.gettingLinks = { ...this.gettingLinks, [recipient.role_name]: false };
|
171
171
|
console.log('[RECIPIENTS] Error getting link', e);
|
172
172
|
VerdocsToast('Unable to get link: ' + e.message, { style: 'error' });
|
173
173
|
});
|
174
174
|
}
|
175
175
|
render() {
|
176
176
|
var _a;
|
177
|
-
return (h(Host, null, h("div", { class: "content" }, h("h1", { class: "title" }, "Recipient Summary"), h("div", { class: "rows" }, (_a = this.store.state) === null || _a === void 0 ? void 0 : _a.recipients.map(recipient => {
|
177
|
+
return (h(Host, null, h("div", { class: "summary-content" }, h("h1", { class: "summary-title" }, "Recipient Summary"), h("div", { class: "summary-rows" }, (_a = this.store.state) === null || _a === void 0 ? void 0 : _a.recipients.map(recipient => {
|
178
178
|
const recipientsWithActions = getRecipientsWithActions(this.store.state);
|
179
179
|
const showLinkButton = recipientCanAct(recipient, recipientsWithActions);
|
180
180
|
const link = this.links[recipient.role_name];
|
181
181
|
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) }))))));
|
182
|
+
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
183
|
})), (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
184
|
}
|
185
185
|
static get style() { return verdocsEnvelopeRecipientSummaryCss; }
|