@verdocs/web-sdk 1.12.35 → 1.12.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Envelopes-f81d02b1.js → Envelopes-4d03f708.js} +4 -4
- package/dist/cjs/{Templates-ed812768.js → Templates-e258cbd5.js} +2 -2
- package/dist/cjs/{Templates-6705a1ce.js → Templates-f310df2f.js} +1 -1
- package/dist/cjs/{Types-35abf4e8.js → Types-f89f9116.js} +2 -2
- package/dist/cjs/{VerdocsEndpoint-e0d39762.js → VerdocsEndpoint-3e95f87f.js} +1 -1
- package/dist/cjs/{interact.min-29d23a9c.js → interact.min-531805f2.js} +1 -1
- package/dist/cjs/{utils-aa7160e9.js → utils-3a88b566.js} +2 -2
- package/dist/cjs/verdocs-auth.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-build.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-button-panel_3.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-contact-picker.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-dropdown_2.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-field-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-field-date.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-field-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-field-initial.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-field-payment.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-field-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-field-signature.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-field-textarea.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-field-textbox.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-field-timestamp.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-preview.cjs.entry.js +6 -6
- package/dist/cjs/verdocs-quick-functions_3.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-search.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-send.cjs.entry.js +15 -11
- package/dist/cjs/verdocs-sign.cjs.entry.js +20 -4
- package/dist/cjs/verdocs-template-attachments.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-template-create_3.cjs.entry.js +17 -16
- package/dist/cjs/verdocs-template-document-page.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-template-name.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-template-properties.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-template-reminders.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-template-role-properties_2.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-template-visibility.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-view.cjs.entry.js +4 -4
- package/dist/collection/components/embeds/verdocs-send/verdocs-send.css +4 -1
- package/dist/collection/components/embeds/verdocs-send/verdocs-send.js +30 -4
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +17 -0
- package/dist/collection/components/templates/verdocs-template-create/verdocs-template-create.js +7 -4
- package/dist/collection/components/templates/verdocs-template-roles/verdocs-template-roles.js +3 -5
- package/dist/components/Envelopes.js +3 -3
- package/dist/components/Templates2.js +2 -2
- package/dist/components/Types.js +1 -1
- package/dist/components/verdocs-send.js +9 -5
- package/dist/components/verdocs-sign.js +17 -1
- package/dist/components/verdocs-template-create2.js +7 -4
- package/dist/components/verdocs-template-roles2.js +3 -5
- package/dist/docs.json +11 -2
- package/dist/esm/{Envelopes-19a6e456.js → Envelopes-223b2797.js} +4 -4
- package/dist/esm/{Templates-8e4ab976.js → Templates-ca52ef90.js} +2 -2
- package/dist/esm/{Templates-deedf4bd.js → Templates-d94fb9d5.js} +1 -1
- package/dist/esm/{Types-6dc82c14.js → Types-5f31149e.js} +1 -1
- package/dist/esm/{VerdocsEndpoint-d0a126c0.js → VerdocsEndpoint-4367eb13.js} +1 -1
- package/dist/esm/{interact.min-ad5c452f.js → interact.min-e441821e.js} +1 -1
- package/dist/esm/{utils-9628af35.js → utils-c0c6df0c.js} +2 -2
- package/dist/esm/verdocs-auth.entry.js +2 -2
- package/dist/esm/verdocs-build.entry.js +4 -4
- package/dist/esm/verdocs-button-panel_3.entry.js +4 -4
- package/dist/esm/verdocs-contact-picker.entry.js +2 -2
- package/dist/esm/verdocs-dropdown_2.entry.js +4 -4
- package/dist/esm/verdocs-envelope-sidebar.entry.js +3 -3
- package/dist/esm/verdocs-field-checkbox.entry.js +3 -3
- package/dist/esm/verdocs-field-date.entry.js +3 -3
- package/dist/esm/verdocs-field-dropdown.entry.js +3 -3
- package/dist/esm/verdocs-field-initial.entry.js +3 -3
- package/dist/esm/verdocs-field-payment.entry.js +3 -3
- package/dist/esm/verdocs-field-radio-button.entry.js +3 -3
- package/dist/esm/verdocs-field-signature.entry.js +3 -3
- package/dist/esm/verdocs-field-textarea.entry.js +3 -3
- package/dist/esm/verdocs-field-textbox.entry.js +4 -4
- package/dist/esm/verdocs-field-timestamp.entry.js +3 -3
- package/dist/esm/verdocs-preview.entry.js +6 -6
- package/dist/esm/verdocs-quick-functions_3.entry.js +3 -3
- package/dist/esm/verdocs-search.entry.js +2 -2
- package/dist/esm/verdocs-send.entry.js +15 -11
- package/dist/esm/verdocs-sign.entry.js +20 -4
- package/dist/esm/verdocs-template-attachments.entry.js +4 -4
- package/dist/esm/verdocs-template-create_3.entry.js +17 -16
- package/dist/esm/verdocs-template-document-page.entry.js +4 -4
- package/dist/esm/verdocs-template-name.entry.js +4 -4
- package/dist/esm/verdocs-template-properties.entry.js +3 -3
- package/dist/esm/verdocs-template-reminders.entry.js +4 -4
- package/dist/esm/verdocs-template-role-properties_2.entry.js +4 -4
- package/dist/esm/verdocs-template-visibility.entry.js +4 -4
- package/dist/esm/verdocs-view.entry.js +4 -4
- package/dist/esm-es5/Envelopes-223b2797.js +1 -0
- package/dist/esm-es5/Templates-ca52ef90.js +1 -0
- package/dist/esm-es5/{Templates-deedf4bd.js → Templates-d94fb9d5.js} +1 -1
- package/dist/esm-es5/{Types-6dc82c14.js → Types-5f31149e.js} +1 -1
- package/dist/esm-es5/{VerdocsEndpoint-d0a126c0.js → VerdocsEndpoint-4367eb13.js} +1 -1
- package/dist/esm-es5/{interact.min-ad5c452f.js → interact.min-e441821e.js} +1 -1
- package/dist/esm-es5/{utils-9628af35.js → utils-c0c6df0c.js} +1 -1
- package/dist/esm-es5/verdocs-auth.entry.js +1 -1
- package/dist/esm-es5/verdocs-build.entry.js +1 -1
- package/dist/esm-es5/verdocs-button-panel_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-contact-picker.entry.js +1 -1
- package/dist/esm-es5/verdocs-dropdown_2.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-quick-functions_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-search.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-attachments.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-create_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-document-page.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-name.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-properties.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-reminders.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-role-properties_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-visibility.entry.js +1 -1
- package/dist/esm-es5/verdocs-view.entry.js +1 -1
- package/dist/types/components/embeds/verdocs-send/verdocs-send.d.ts +9 -0
- package/dist/types/components/templates/verdocs-template-roles/verdocs-template-roles.d.ts +2 -2
- package/dist/types/components.d.ts +5 -0
- package/dist/verdocs-web-sdk/{p-8ac64953.system.js → p-02316241.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fd73ee30.entry.js → p-038e9dfc.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2bc0d9be.js → p-05788c2b.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2fda790b.entry.js → p-07dac8d8.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-693c98c5.entry.js → p-08653421.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fdbafc1f.system.entry.js → p-0a40faee.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a4051110.system.entry.js → p-124b98e3.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-992ae721.entry.js → p-14d7da8a.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-7448182b.js → p-15205501.js} +1 -1
- package/dist/verdocs-web-sdk/p-1c7478f8.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-563d545d.entry.js → p-1e35f143.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-1ec52273.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-a9f19c58.system.entry.js → p-2e0980f3.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ae6303f9.entry.js → p-30c2dfbc.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9a20f533.system.js → p-330a4c7d.system.js} +1 -1
- package/dist/verdocs-web-sdk/p-373cb7c4.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-6316a549.system.entry.js → p-41d9b35b.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3f9bea4d.system.entry.js → p-468eee0c.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-47714747.system.js +1 -0
- package/dist/verdocs-web-sdk/{p-3867c364.system.entry.js → p-48eb46ed.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-492f465d.system.js +1 -0
- package/dist/verdocs-web-sdk/{p-0d81757b.system.js → p-4aa6b512.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c43c8a31.system.entry.js → p-4c06e243.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-b9fc620d.entry.js → p-50b9e7a6.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-54498887.system.js +1 -0
- package/dist/verdocs-web-sdk/{p-b8c14498.system.entry.js → p-56ca1b0f.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-456969a5.entry.js → p-58176d9d.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f6e5de8f.system.entry.js → p-6034f271.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-aeb488e3.system.entry.js → p-614368ee.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-62c7d0c3.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-789d66cd.system.entry.js → p-636602ff.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-58a9048a.system.entry.js → p-645e4723.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-423b6ddf.entry.js → p-67ba3a16.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ed095623.entry.js → p-6870cbcb.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-4e46db5b.entry.js → p-6c921148.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-6caf1137.system.js +1 -1
- package/dist/verdocs-web-sdk/{p-06866a49.system.entry.js → p-71d5e053.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-1aecc86f.entry.js → p-72b936b3.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-6e38f3c4.system.entry.js → p-73452912.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-74350c7c.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-c753d960.system.entry.js → p-7a5b9428.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-6b3102b2.system.entry.js → p-7ba0c530.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e120905e.entry.js → p-7f13e92e.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-76c4d3dd.entry.js → p-808f6a46.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e7e3af7e.system.entry.js → p-88720222.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-0739d739.entry.js → p-8b8ad34e.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9b2db78f.js → p-8e0b06f0.js} +1 -1
- package/dist/verdocs-web-sdk/{p-1e44ea9c.system.entry.js → p-8ef81ec0.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2abbbad7.entry.js → p-90c71302.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-74f6ca70.system.entry.js → p-93780e22.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e62c3c9c.system.entry.js → p-9c0dfec9.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f15e84fb.entry.js → p-9c36aaaa.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-98098fad.system.entry.js → p-9cbe4bc7.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a2cd33fd.system.entry.js → p-9e9de6e3.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-85281871.system.entry.js → p-a4b7c9e5.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f4cb1692.entry.js → p-a59ae37d.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e2275465.system.entry.js → p-a612d29b.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e4b18c52.entry.js → p-b24324f6.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d1fbad63.entry.js → p-b2c96afc.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-b86b362a.js +1 -0
- package/dist/verdocs-web-sdk/{p-6685a532.js → p-be25b61f.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2441a163.system.entry.js → p-becc9197.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c58fd28c.js → p-c2c49441.js} +1 -1
- package/dist/verdocs-web-sdk/p-c344f0fd.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-5c043400.system.js → p-c44fd897.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-61338680.entry.js → p-c60c9371.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-b87ca18d.entry.js → p-c9705b22.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-6cf864e3.entry.js → p-ca7d441a.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f92ff2d2.entry.js → p-dc257e34.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-cb583a98.system.entry.js → p-e7a1baaf.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-b97237fa.entry.js → p-f19adeb1.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fb86b102.js → p-f3e81f0b.js} +1 -1
- package/dist/verdocs-web-sdk/{p-1ec06377.entry.js → p-fbb50212.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-5e3bccd0.system.entry.js → p-fccb4fec.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f3bcd729.entry.js → p-ff784558.entry.js} +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +4 -4
- package/dist/esm-es5/Envelopes-19a6e456.js +0 -1
- package/dist/esm-es5/Templates-8e4ab976.js +0 -1
- package/dist/verdocs-web-sdk/p-5cf14e4c.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-69912cbf.system.js +0 -1
- package/dist/verdocs-web-sdk/p-6e1e787a.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-94a2f261.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-b28ef4bb.js +0 -1
- package/dist/verdocs-web-sdk/p-b8bb5a01.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-c4229602.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-d46a428b.system.js +0 -1
- package/dist/verdocs-web-sdk/p-db003554.system.js +0 -1
- package/dist/verdocs-web-sdk/p-fe2ab7b9.entry.js +0 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { d as decodeAccessTokenBody } from './Types-
|
1
|
+
import { d as decodeAccessTokenBody } from './Types-5f31149e.js';
|
2
2
|
|
3
3
|
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
4
4
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
@@ -56,10 +56,10 @@ var getSigningSession = function (endpoint, params) { return __awaiter(void 0, v
|
|
56
56
|
/**
|
57
57
|
* Get all metadata for an Envelope.
|
58
58
|
*/
|
59
|
-
var getEnvelope = function (endpoint, envelopeId
|
59
|
+
var getEnvelope = function (endpoint, envelopeId) { return __awaiter(void 0, void 0, void 0, function () {
|
60
60
|
return __generator(this, function (_a) {
|
61
61
|
return [2 /*return*/, endpoint.api //
|
62
|
-
.get("/envelopes/".concat(envelopeId)
|
62
|
+
.get("/envelopes/".concat(envelopeId))
|
63
63
|
.then(function (r) { return r.data; })];
|
64
64
|
});
|
65
65
|
}); };
|
@@ -154,7 +154,7 @@ var throttledGetEnvelope = function (endpoint, envelopeId) {
|
|
154
154
|
if (cachedEnvelopes[envelopeId] && cachedEnvelopes[envelopeId].loaded + 2000 < new Date().getTime()) {
|
155
155
|
return cachedEnvelopes[envelopeId].envelope;
|
156
156
|
}
|
157
|
-
return getEnvelope(endpoint, envelopeId
|
157
|
+
return getEnvelope(endpoint, envelopeId).then(function (envelope) {
|
158
158
|
cachedEnvelopes[envelopeId] = { loaded: new Date().getTime(), envelope: envelope };
|
159
159
|
return envelope;
|
160
160
|
});
|
@@ -30,9 +30,9 @@ var getTemplates = function (endpoint, params) {
|
|
30
30
|
* const template = await Templates.getTemplate((VerdocsEndpoint.getDefault(), '83da3d70-7857-4392-b876-c4592a304bc9');
|
31
31
|
* ```
|
32
32
|
*/
|
33
|
-
var getTemplate = function (endpoint, templateId
|
33
|
+
var getTemplate = function (endpoint, templateId) {
|
34
34
|
return endpoint.api //
|
35
|
-
.get("/templates/".concat(templateId)
|
35
|
+
.get("/templates/".concat(templateId))
|
36
36
|
.then(function (r) { return r.data; });
|
37
37
|
};
|
38
38
|
/**
|
@@ -112,4 +112,4 @@ var DocumentFieldTypes;
|
|
112
112
|
DocumentFieldTypes["PAYMENT"] = "payment";
|
113
113
|
})(DocumentFieldTypes || (DocumentFieldTypes = {}));
|
114
114
|
|
115
|
-
export { EnvelopeStates as E, decodeAccessTokenBody as d };
|
115
|
+
export { EnvelopeStates as E, RecipientStates as R, decodeAccessTokenBody as d };
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a as getDefaultExportFromCjs, c as createCommonjsModule } from './utils-
|
1
|
+
import { a as getDefaultExportFromCjs, c as createCommonjsModule } from './utils-c0c6df0c.js';
|
2
2
|
|
3
3
|
var interact_min = createCommonjsModule(function (module, exports) {
|
4
4
|
/* interact.js 1.10.17 | https://interactjs.io/license */
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { g as getEnvelopeFile, a as getFieldAttachment } from './Envelopes-
|
2
|
-
import './Types-
|
1
|
+
import { g as getEnvelopeFile, a as getFieldAttachment } from './Envelopes-223b2797.js';
|
2
|
+
import './Types-5f31149e.js';
|
3
3
|
import { d as downloadBlob } from './Files-70a192df.js';
|
4
4
|
import { f as format } from './index-d264c496.js';
|
5
5
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-5260ed60.js';
|
2
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
3
|
-
import './Types-
|
2
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-4367eb13.js';
|
3
|
+
import './Types-5f31149e.js';
|
4
4
|
import { S as SDKError } from './errors-9b5498c8.js';
|
5
5
|
|
6
6
|
/**
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
|
-
import './Types-
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
4
|
-
import { l as loadTemplate } from './Templates-
|
2
|
+
import './Types-5f31149e.js';
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-4367eb13.js';
|
4
|
+
import { l as loadTemplate } from './Templates-d94fb9d5.js';
|
5
5
|
import { S as SDKError } from './errors-9b5498c8.js';
|
6
|
-
import './Templates-
|
6
|
+
import './Templates-ca52ef90.js';
|
7
7
|
import './templateStore-17c872da.js';
|
8
8
|
import './Primitives-054bc6e5.js';
|
9
9
|
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { r as registerInstance, h, H as Host, c as createEvent, a as getElement } from './index-5260ed60.js';
|
2
2
|
import { c as createPopper } from './popper-f860750c.js';
|
3
|
-
import './Types-
|
3
|
+
import './Types-5f31149e.js';
|
4
4
|
import { u as updateField, d as deleteField } from './Fields-c82e6df3.js';
|
5
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
5
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-4367eb13.js';
|
6
6
|
import { s as state } from './templateStore-17c872da.js';
|
7
|
-
import { l as loadTemplate } from './Templates-
|
7
|
+
import { l as loadTemplate } from './Templates-d94fb9d5.js';
|
8
8
|
import { S as SDKError } from './errors-9b5498c8.js';
|
9
9
|
import './Primitives-054bc6e5.js';
|
10
|
-
import './Templates-
|
10
|
+
import './Templates-ca52ef90.js';
|
11
11
|
|
12
12
|
const verdocsButtonPanelCss = "verdocs-button-panel{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;display:inline-block}verdocs-button-panel .icon{display:inline-block;cursor:pointer;opacity:0.6}verdocs-button-panel .icon svg{fill:#707ae5}verdocs-button-panel .icon:hover{opacity:1}.verdocs-button-panel-content{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;-webkit-box-shadow:0 0 10px 1px #999999;box-shadow:0 0 10px 1px #999999;display:none;background:#ffffff;color:#33364b;width:320px;font-weight:bold;padding:15px;font-size:14px;position:relative;border-radius:4px;z-index:10000}.verdocs-button-panel-content .arrow,.verdocs-button-panel-content .arrow::before{position:absolute;width:8px;height:8px;background:inherit}.verdocs-button-panel-content .arrow{visibility:hidden;top:-4px}.verdocs-button-panel-content .arrow::before{visibility:visible;content:\"\";-webkit-transform:rotate(45deg);transform:rotate(45deg)}.verdocs-button-panel-content[data-show]{display:block}.verdocs-button-panel-content[data-popper-placement^=top]>.arrow{bottom:-4px}.verdocs-button-panel-content[data-popper-placement^=bottom]>.arrow{top:-4px}.verdocs-button-panel-content[data-popper-placement^=left]>.arrow{right:-4px}.verdocs-button-panel-content[data-popper-placement^=right]>.arrow{left:-4px}.verdocs-button-panel-content h6{font-size:16px;font-weight:bold;margin:0 0 16px 0;color:#092c4c;border-bottom:1px solid #cccccc}";
|
13
13
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-5260ed60.js';
|
2
|
-
import './Types-
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
2
|
+
import './Types-5f31149e.js';
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-4367eb13.js';
|
4
4
|
|
5
5
|
const verdocsContactPickerCss = "verdocs-contact-picker{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;background-color:#ffffff}verdocs-contact-picker form{background-color:#f5f5fa;padding:12px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-contact-picker form .row{width:300px;display:-ms-flexbox;display:flex;position:relative;margin:0 0 20px 0;-ms-flex-direction:column;flex-direction:column}verdocs-contact-picker form label{display:block;font-size:14px;font-weight:500;margin:0 0 4px 0;color:#5c6575}verdocs-contact-picker form input{border:none;font-size:18px;padding:3px 6px 3px 0;background:transparent;border-bottom:1px solid #33364b}verdocs-contact-picker form input:focus{outline:none}verdocs-contact-picker form .dropdown{left:0;right:0;top:49px;z-index:100;position:absolute;background:#ffffff;-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}verdocs-contact-picker form .dropdown .suggestion{display:-ms-flexbox;display:flex;padding:6px 12px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .dropdown .suggestion svg{fill:#666666}verdocs-contact-picker form .dropdown .suggestion .avatar{width:48px;height:48px;-ms-flex:0 0 48px;flex:0 0 48px;margin-right:8px;border-radius:100%}verdocs-contact-picker form .dropdown .suggestion .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-contact-picker form .dropdown .suggestion .name{font-size:16px;font-weight:500;margin-bottom:3px;color:#092c4c}verdocs-contact-picker form .dropdown .suggestion .destination{font-size:14px;margin-bottom:3px;color:#33364b}verdocs-contact-picker form .dropdown .suggestion:hover{background:#eee;cursor:pointer}verdocs-contact-picker .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:8px;-moz-column-gap:8px;column-gap:8px;margin-top:16px;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker .buttons .flex-fill{-ms-flex:1;flex:1}verdocs-contact-picker ::-webkit-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-moz-placeholder{color:#aaaaaa}verdocs-contact-picker :-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::placeholder{color:#aaaaaa}verdocs-contact-picker [data-lastpass-icon-root]{display:none !important}";
|
6
6
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-5260ed60.js';
|
2
2
|
import { c as createPopper } from './popper-f860750c.js';
|
3
|
-
import { f as getEnvelopeDocumentPageDisplayUri } from './Envelopes-
|
4
|
-
import './Types-
|
5
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
6
|
-
import { t as throttle } from './utils-
|
3
|
+
import { f as getEnvelopeDocumentPageDisplayUri } from './Envelopes-223b2797.js';
|
4
|
+
import './Types-5f31149e.js';
|
5
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-4367eb13.js';
|
6
|
+
import { t as throttle } from './utils-c0c6df0c.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './index-d264c496.js';
|
9
9
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
|
-
import { t as throttledGetEnvelope } from './Envelopes-
|
3
|
-
import './Types-
|
4
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
2
|
+
import { t as throttledGetEnvelope } from './Envelopes-223b2797.js';
|
3
|
+
import './Types-5f31149e.js';
|
4
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-4367eb13.js';
|
5
5
|
import { S as SDKError } from './errors-9b5498c8.js';
|
6
6
|
import { f as format } from './index-d264c496.js';
|
7
7
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
2
|
import { g as getRGBA } from './Colors-1b298092.js';
|
3
|
-
import { g as getFieldSettings } from './utils-
|
3
|
+
import { g as getFieldSettings } from './utils-c0c6df0c.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
-
import './Envelopes-
|
6
|
-
import './Types-
|
5
|
+
import './Envelopes-223b2797.js';
|
6
|
+
import './Types-5f31149e.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './index-d264c496.js';
|
9
9
|
import './Primitives-054bc6e5.js';
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
|
-
import { g as getFieldSettings } from './utils-
|
2
|
+
import { g as getFieldSettings } from './utils-c0c6df0c.js';
|
3
3
|
import { g as getRGBA } from './Colors-1b298092.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
5
|
import { f as format } from './index-d264c496.js';
|
6
|
-
import './Envelopes-
|
7
|
-
import './Types-
|
6
|
+
import './Envelopes-223b2797.js';
|
7
|
+
import './Types-5f31149e.js';
|
8
8
|
import './Files-70a192df.js';
|
9
9
|
import './Primitives-054bc6e5.js';
|
10
10
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
2
|
import { g as getRGBA } from './Colors-1b298092.js';
|
3
|
-
import { g as getFieldSettings } from './utils-
|
3
|
+
import { g as getFieldSettings } from './utils-c0c6df0c.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
-
import './Envelopes-
|
6
|
-
import './Types-
|
5
|
+
import './Envelopes-223b2797.js';
|
6
|
+
import './Types-5f31149e.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './index-d264c496.js';
|
9
9
|
import './Primitives-054bc6e5.js';
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
2
|
import { g as getRGBA } from './Colors-1b298092.js';
|
3
|
-
import { g as getFieldSettings } from './utils-
|
3
|
+
import { g as getFieldSettings } from './utils-c0c6df0c.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
-
import './Envelopes-
|
6
|
-
import './Types-
|
5
|
+
import './Envelopes-223b2797.js';
|
6
|
+
import './Types-5f31149e.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './index-d264c496.js';
|
9
9
|
import './Primitives-054bc6e5.js';
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
2
|
import { g as getRGBA } from './Colors-1b298092.js';
|
3
|
-
import { g as getFieldSettings } from './utils-
|
3
|
+
import { g as getFieldSettings } from './utils-c0c6df0c.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
-
import './Envelopes-
|
6
|
-
import './Types-
|
5
|
+
import './Envelopes-223b2797.js';
|
6
|
+
import './Types-5f31149e.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './index-d264c496.js';
|
9
9
|
import './Primitives-054bc6e5.js';
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
2
|
import { g as getRGBA } from './Colors-1b298092.js';
|
3
|
-
import { g as getFieldSettings } from './utils-
|
3
|
+
import { g as getFieldSettings } from './utils-c0c6df0c.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
-
import './Envelopes-
|
6
|
-
import './Types-
|
5
|
+
import './Envelopes-223b2797.js';
|
6
|
+
import './Types-5f31149e.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './index-d264c496.js';
|
9
9
|
import './Primitives-054bc6e5.js';
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
2
|
import { g as getRGBA } from './Colors-1b298092.js';
|
3
|
-
import { g as getFieldSettings } from './utils-
|
3
|
+
import { g as getFieldSettings } from './utils-c0c6df0c.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
-
import './Envelopes-
|
6
|
-
import './Types-
|
5
|
+
import './Envelopes-223b2797.js';
|
6
|
+
import './Types-5f31149e.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './index-d264c496.js';
|
9
9
|
import './Primitives-054bc6e5.js';
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
2
|
import { g as getRGBA } from './Colors-1b298092.js';
|
3
|
-
import { g as getFieldSettings } from './utils-
|
3
|
+
import { g as getFieldSettings } from './utils-c0c6df0c.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
-
import './Envelopes-
|
6
|
-
import './Types-
|
5
|
+
import './Envelopes-223b2797.js';
|
6
|
+
import './Types-5f31149e.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './index-d264c496.js';
|
9
9
|
import './Primitives-054bc6e5.js';
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-5260ed60.js';
|
2
|
-
import { i as interact } from './interact.min-
|
2
|
+
import { i as interact } from './interact.min-e441821e.js';
|
3
3
|
import { g as getRGBA } from './Colors-1b298092.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
-
import { g as getFieldSettings } from './utils-
|
5
|
+
import { g as getFieldSettings } from './utils-c0c6df0c.js';
|
6
6
|
import './Primitives-054bc6e5.js';
|
7
|
-
import './Envelopes-
|
8
|
-
import './Types-
|
7
|
+
import './Envelopes-223b2797.js';
|
8
|
+
import './Types-5f31149e.js';
|
9
9
|
import './Files-70a192df.js';
|
10
10
|
import './index-d264c496.js';
|
11
11
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
2
|
import { g as getRGBA } from './Colors-1b298092.js';
|
3
|
-
import { g as getFieldSettings } from './utils-
|
3
|
+
import { g as getFieldSettings } from './utils-c0c6df0c.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
5
|
import { f as format } from './index-d264c496.js';
|
6
|
-
import './Envelopes-
|
7
|
-
import './Types-
|
6
|
+
import './Envelopes-223b2797.js';
|
7
|
+
import './Types-5f31149e.js';
|
8
8
|
import './Files-70a192df.js';
|
9
9
|
import './Primitives-054bc6e5.js';
|
10
10
|
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
|
-
import './Types-
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
4
|
-
import { r as renderDocumentField, b as getRoleIndex } from './utils-
|
2
|
+
import './Types-5f31149e.js';
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-4367eb13.js';
|
4
|
+
import { r as renderDocumentField, b as getRoleIndex } from './utils-c0c6df0c.js';
|
5
5
|
import { s as state } from './templateStore-17c872da.js';
|
6
|
-
import { l as loadTemplate } from './Templates-
|
6
|
+
import { l as loadTemplate } from './Templates-d94fb9d5.js';
|
7
7
|
import { S as SDKError } from './errors-9b5498c8.js';
|
8
|
-
import './Envelopes-
|
8
|
+
import './Envelopes-223b2797.js';
|
9
9
|
import './Files-70a192df.js';
|
10
10
|
import './index-d264c496.js';
|
11
11
|
import './Primitives-054bc6e5.js';
|
12
|
-
import './Templates-
|
12
|
+
import './Templates-ca52ef90.js';
|
13
13
|
|
14
14
|
const verdocsPreviewCss = "verdocs-preview{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;display:-ms-flexbox;display:flex;padding:15px;row-gap:15px;min-height:200px;position:relative;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-direction:column;flex-direction:column}verdocs-preview div,verdocs-preview canvas{-webkit-box-sizing:border-box;box-sizing:border-box}";
|
15
15
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-5260ed60.js';
|
2
|
-
import './Types-
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
4
|
-
import { a as getTemplates } from './Templates-
|
2
|
+
import './Types-5f31149e.js';
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-4367eb13.js';
|
4
|
+
import { a as getTemplates } from './Templates-ca52ef90.js';
|
5
5
|
|
6
6
|
/**
|
7
7
|
* Verdocs provides a range of search functions to help find and retrieve content. This module provides generic functions intended
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { r as registerInstance, h } from './index-5260ed60.js';
|
2
|
-
import './Types-
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
2
|
+
import './Types-5f31149e.js';
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-4367eb13.js';
|
4
4
|
|
5
5
|
const verdocsSearchCss = "verdocs-search{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;display:-ms-flexbox;display:flex;background-color:#1e2031}verdocs-search search-box{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:20px 10px}verdocs-search .boxes{-ms-flex-wrap:wrap;flex-wrap:wrap;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;margin:20px 0}verdocs-search search-recent,verdocs-search search-saved,verdocs-search search-quick-functions,verdocs-search search-starred{display:-ms-flexbox;display:flex;margin:0 20px 20px 0}";
|
6
6
|
|
@@ -1,19 +1,19 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
|
-
import './Types-
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
2
|
+
import './Types-5f31149e.js';
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-4367eb13.js';
|
4
4
|
import { i as isValidEmail, a as isValidPhone } from './Validators-f110bae2.js';
|
5
5
|
import { g as getRGBA } from './Colors-1b298092.js';
|
6
6
|
import { s as state } from './templateStore-17c872da.js';
|
7
|
-
import { l as loadTemplate } from './Templates-
|
8
|
-
import { b as getRoleIndex } from './utils-
|
7
|
+
import { l as loadTemplate } from './Templates-d94fb9d5.js';
|
8
|
+
import { b as getRoleIndex } from './utils-c0c6df0c.js';
|
9
9
|
import { S as SDKError } from './errors-9b5498c8.js';
|
10
10
|
import './Primitives-054bc6e5.js';
|
11
|
-
import './Templates-
|
12
|
-
import './Envelopes-
|
11
|
+
import './Templates-ca52ef90.js';
|
12
|
+
import './Envelopes-223b2797.js';
|
13
13
|
import './Files-70a192df.js';
|
14
14
|
import './index-d264c496.js';
|
15
15
|
|
16
|
-
const verdocsSendCss = "verdocs-send{
|
16
|
+
const verdocsSendCss = "verdocs-send{padding:10px;position:relative;background:#ffffff;-ms-flex-direction:column;flex-direction:column;font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;display:none}verdocs-send.sendable{display:-ms-flexbox;display:flex}verdocs-send .recipients{position:relative}verdocs-send .left-line{top:32px;left:20px;z-index:1;width:12px;bottom:30px;position:absolute;background:#ffffff;border-left:3px dotted #9b9b9b}verdocs-send .level{display:-ms-flexbox;display:flex;-webkit-column-gap:10px;-moz-column-gap:10px;column-gap:10px;margin-left:50px;position:relative;-ms-flex-direction:row;flex-direction:row;padding:8px 0 4px 0;border-bottom:1px solid #97979744}verdocs-send .level .level-icon{top:14px;z-index:2;left:-40px;width:24px;height:24px;position:absolute;background:#ffffff}verdocs-send .level .level-icon svg{fill:#00000089}verdocs-send .level .recipient{height:30px;display:-ms-flexbox;display:flex;-ms-flex:0 0 30px;flex:0 0 30px;color:#000000;cursor:pointer;font-size:14px;-ms-flex-align:center;align-items:center;border-radius:30px;-ms-flex-direction:row;flex-direction:row;background:#dddddd;white-space:nowrap;border:2px solid #dddddd;padding:2px 10px 2px 14px}verdocs-send .level .recipient .icon{width:22px;height:22px;-ms-flex:0 0 22px;flex:0 0 22px;margin:0 0 0 10px}verdocs-send .level .recipient .icon svg{width:22px;height:22px;fill:#333333;outline:none}verdocs-send .level .complete{-ms-flex:1;flex:1;height:30px;display:-ms-flexbox;display:flex;color:#000000;font-size:14px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;padding:3px 10px 3px 2px}verdocs-send .buttons{display:-ms-flexbox;display:flex;margin-top:10px;-webkit-column-gap:15px;-moz-column-gap:15px;column-gap:15px;-ms-flex-direction:row;flex-direction:row}verdocs-send verdocs-contact-picker{left:0;top:41px;z-index:10;position:absolute;border:1px solid #dddddd;-webkit-box-shadow:0 0 6px 3px rgba(0, 0, 0, 0.1);box-shadow:0 0 6px 3px rgba(0, 0, 0, 0.1)}";
|
17
17
|
|
18
18
|
const editIcon = '<svg focusable="false" aria-hidden="true" viewBox="0 0 24 24" tabindex="-1"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"></path></svg>';
|
19
19
|
const startIcon = '<svg focusable="false" aria-hidden="true" viewBox="0 0 24 24" tabindex="-1"><path d="M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12zm10 6c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6z"></path></svg>';
|
@@ -25,6 +25,7 @@ const VerdocsSend = class {
|
|
25
25
|
this.send = createEvent(this, "send", 7);
|
26
26
|
this.exit = createEvent(this, "exit", 7);
|
27
27
|
this.sdkError = createEvent(this, "sdkError", 7);
|
28
|
+
this.searchContacts = createEvent(this, "searchContacts", 7);
|
28
29
|
this.levels = [];
|
29
30
|
this.endpoint = VerdocsEndpoint.getDefault();
|
30
31
|
this.templateId = null;
|
@@ -47,6 +48,9 @@ const VerdocsSend = class {
|
|
47
48
|
try {
|
48
49
|
console.log(`[SEND] Loading template ${this.templateId}`);
|
49
50
|
await loadTemplate(this.endpoint, this.templateId, true);
|
51
|
+
if (!state.template.is_sendable) {
|
52
|
+
console.warn(`[SEND] Template is not sendable`, this.templateId);
|
53
|
+
}
|
50
54
|
if ((_a = state.template) === null || _a === void 0 ? void 0 : _a.roles) {
|
51
55
|
const rolesAtLevel = {};
|
52
56
|
this.rolesCompleted = {};
|
@@ -105,14 +109,14 @@ const VerdocsSend = class {
|
|
105
109
|
(_a = this.exit) === null || _a === void 0 ? void 0 : _a.emit();
|
106
110
|
}
|
107
111
|
render() {
|
108
|
-
|
112
|
+
var _a;
|
113
|
+
const roleNames = (((_a = state.template) === null || _a === void 0 ? void 0 : _a.roles) || []).map(role => role.name) || [];
|
109
114
|
const rolesAssigned = Object.values(this.rolesCompleted).filter(recipient => isValidEmail(recipient.email) || isValidPhone(recipient.phone));
|
110
115
|
const allRolesAssigned = rolesAssigned.length >= roleNames.length;
|
111
|
-
return (h(Host, { class: {} }, h("div", { class: "recipients" }, h("div", { class: "left-line" }), h("div", { class: `level level-start` }, this.getLevelIcon(-1), h("div", { class: "complete" }, "Send Envelope")), this.levels.map(level => (h("div", { class: `level level-${level}` }, this.getLevelIcon(level), this.rolesAtLevel[level].map(role => {
|
116
|
+
return (h(Host, { class: { sendable: state.template.is_sendable } }, h("div", { class: "recipients" }, h("div", { class: "left-line" }), h("div", { class: `level level-start` }, this.getLevelIcon(-1), h("div", { class: "complete" }, "Send Envelope")), this.levels.map(level => (h("div", { class: `level level-${level}` }, this.getLevelIcon(level), this.rolesAtLevel[level].map(role => {
|
112
117
|
var _a, _b, _c, _d, _e, _f;
|
113
|
-
console.log('showing role', role);
|
114
118
|
const unknown = !role.email;
|
115
|
-
return unknown ? (h("div", { class: "recipient", style: { backgroundColor: getRGBA(getRoleIndex(roleNames, role.name)) }, onClick: e => this.handleClickRole(e, role) }, (_b = (_a = this.rolesCompleted[role.id]) === null || _a === void 0 ? void 0 : _a.full_name) !== null && _b !== void 0 ? _b : role.name, h("div", { class: "icon", innerHTML: editIcon }), this.showPickerForId === role.id && (h("verdocs-contact-picker", { onExit: () => (this.showPickerForId = ''), onNext: e => this.handleSelectContact(e, role), contactSuggestions: this.sessionContacts, templateRole: (_c = this.rolesCompleted[role.id]) !== null && _c !== void 0 ? _c : role, onSearchContacts: e =>
|
119
|
+
return unknown ? (h("div", { class: "recipient", style: { backgroundColor: getRGBA(getRoleIndex(roleNames, role.name)) }, onClick: e => this.handleClickRole(e, role) }, (_b = (_a = this.rolesCompleted[role.id]) === null || _a === void 0 ? void 0 : _a.full_name) !== null && _b !== void 0 ? _b : role.name, h("div", { class: "icon", innerHTML: editIcon }), this.showPickerForId === role.id && (h("verdocs-contact-picker", { onExit: () => (this.showPickerForId = ''), onNext: e => this.handleSelectContact(e, role), contactSuggestions: this.sessionContacts, templateRole: (_c = this.rolesCompleted[role.id]) !== null && _c !== void 0 ? _c : role, onSearchContacts: e => { var _a; return (_a = this.searchContacts) === null || _a === void 0 ? void 0 : _a.emit(e.detail); } })))) : (h("div", { class: "recipient", style: { borderColor: getRGBA(getRoleIndex(roleNames, role.name)) }, onClick: e => this.handleClickRole(e, role) }, (_e = (_d = this.rolesCompleted[role.id]) === null || _d === void 0 ? void 0 : _d.full_name) !== null && _e !== void 0 ? _e : role.full_name, h("div", { class: "icon", innerHTML: editIcon }), this.showPickerForId === role.id && (h("verdocs-contact-picker", { onExit: () => (this.showPickerForId = ''), onNext: e => this.handleSelectContact(e, role), contactSuggestions: this.sessionContacts, templateRole: (_f = this.rolesCompleted[role.id]) !== null && _f !== void 0 ? _f : role, onSearchContacts: e => { var _a; return (_a = this.searchContacts) === null || _a === void 0 ? void 0 : _a.emit(e.detail); } }))));
|
116
120
|
})))), h("div", { class: `level level-done` }, this.getLevelIcon(this.levels.length), h("div", { class: "complete" }, "Signing Complete"))), h("div", { class: "buttons" }, h("verdocs-button", { label: "Cancel", size: "small", variant: "outline", onClick: e => this.handleCancel(e) }), h("verdocs-button", { label: "Send", size: "small", disabled: !allRolesAssigned, onClick: e => this.handleSend(e) }))));
|
117
121
|
}
|
118
122
|
};
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, F as Fragment } from './index-5260ed60.js';
|
2
|
-
import { b as getSigningSession, t as throttledGetEnvelope, u as updateEnvelopeField, c as updateEnvelopeFieldSignature, d as updateEnvelopeFieldInitials } from './Envelopes-
|
3
|
-
import './Types-
|
4
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
2
|
+
import { b as getSigningSession, t as throttledGetEnvelope, u as updateEnvelopeField, c as updateEnvelopeFieldSignature, d as updateEnvelopeFieldInitials } from './Envelopes-223b2797.js';
|
3
|
+
import { R as RecipientStates } from './Types-5f31149e.js';
|
4
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-4367eb13.js';
|
5
5
|
import { a as isValidPhone, i as isValidEmail } from './Validators-f110bae2.js';
|
6
6
|
import { f as fullNameToInitials } from './Primitives-054bc6e5.js';
|
7
|
-
import { s as saveAttachment, u as updateDocumentFieldValue, b as getRoleIndex, r as renderDocumentField, d as getFieldId } from './utils-
|
7
|
+
import { s as saveAttachment, u as updateDocumentFieldValue, b as getRoleIndex, r as renderDocumentField, d as getFieldId } from './utils-c0c6df0c.js';
|
8
8
|
import { S as SDKError } from './errors-9b5498c8.js';
|
9
9
|
import './Files-70a192df.js';
|
10
10
|
import './index-d264c496.js';
|
@@ -475,6 +475,22 @@ const VerdocsSign = class {
|
|
475
475
|
// },
|
476
476
|
// });
|
477
477
|
});
|
478
|
+
this.envelope.recipients
|
479
|
+
.filter(r => r.role_name !== this.recipient.role_name && (r.status === RecipientStates.SUBMITTED || r.status === RecipientStates.CANCELED || r.status === RecipientStates.DECLINED))
|
480
|
+
.forEach(recipient => {
|
481
|
+
recipient.fields.forEach(field => {
|
482
|
+
const el = renderDocumentField(field, pageInfo, roleIndex, { disabled: true, editable: false, draggable: false, done: this.isDone });
|
483
|
+
if (!el) {
|
484
|
+
return;
|
485
|
+
}
|
486
|
+
if (Array.isArray(el)) {
|
487
|
+
el.map(e => this.attachFieldAttributes(pageInfo, field, roleIndex, e));
|
488
|
+
}
|
489
|
+
else {
|
490
|
+
this.attachFieldAttributes(pageInfo, field, roleIndex, el);
|
491
|
+
}
|
492
|
+
});
|
493
|
+
});
|
478
494
|
// Render fields for "the other" recipients
|
479
495
|
this.envelope.recipients
|
480
496
|
.filter(recipient => recipient.role_name !== this.recipient.role_name)
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
|
-
import './Types-
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
2
|
+
import './Types-5f31149e.js';
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-4367eb13.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
-
import { l as loadTemplate } from './Templates-
|
5
|
+
import { l as loadTemplate } from './Templates-d94fb9d5.js';
|
6
6
|
import { S as SDKError } from './errors-9b5498c8.js';
|
7
7
|
import './Primitives-054bc6e5.js';
|
8
|
-
import './Templates-
|
8
|
+
import './Templates-ca52ef90.js';
|
9
9
|
|
10
10
|
const verdocsTemplateAttachmentsCss = "verdocs-template-attachments{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif}verdocs-template-attachments h5{font-size:16px;font-weight:bold;margin:0 0 10px 0;color:#4c56cb}verdocs-template-attachments .attachment{display:-ms-flexbox;display:flex;padding:5px 10px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;color:#33364b;border:1px solid #cccccc}verdocs-template-attachments svg{width:24px;height:24px;fill:#5c6575;margin:2px 10px 0 0}";
|
11
11
|
|
@@ -1,17 +1,17 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, F as Fragment, a as getElement } from './index-5260ed60.js';
|
2
|
-
import './Types-
|
3
|
-
import { c as createTemplate, g as getTemplate } from './Templates-
|
2
|
+
import './Types-5f31149e.js';
|
3
|
+
import { c as createTemplate, g as getTemplate } from './Templates-ca52ef90.js';
|
4
4
|
import { c as createTemplateDocument } from './TemplateDocuments-618934d0.js';
|
5
|
-
import { V as VerdocsEndpoint, T as TemplateSenderTypes } from './VerdocsEndpoint-
|
5
|
+
import { V as VerdocsEndpoint, T as TemplateSenderTypes } from './VerdocsEndpoint-4367eb13.js';
|
6
6
|
import { S as SDKError } from './errors-9b5498c8.js';
|
7
|
-
import { i as interact } from './interact.min-
|
7
|
+
import { i as interact } from './interact.min-e441821e.js';
|
8
8
|
import { u as updateField, c as createField } from './Fields-c82e6df3.js';
|
9
|
-
import { b as getRoleIndex, r as renderDocumentField, e as updateCssTransform, f as defaultWidth, h as defaultHeight } from './utils-
|
9
|
+
import { b as getRoleIndex, r as renderDocumentField, e as updateCssTransform, f as defaultWidth, h as defaultHeight } from './utils-c0c6df0c.js';
|
10
10
|
import { s as state } from './templateStore-17c872da.js';
|
11
|
-
import { l as loadTemplate } from './Templates-
|
11
|
+
import { l as loadTemplate } from './Templates-d94fb9d5.js';
|
12
12
|
import { u as updateRole, c as createRole } from './Roles-6eb459df.js';
|
13
13
|
import { g as getRGBA } from './Colors-1b298092.js';
|
14
|
-
import './Envelopes-
|
14
|
+
import './Envelopes-223b2797.js';
|
15
15
|
import './Files-70a192df.js';
|
16
16
|
import './index-d264c496.js';
|
17
17
|
import './Primitives-054bc6e5.js';
|
@@ -65,12 +65,15 @@ const VerdocsTemplateCreate = class {
|
|
65
65
|
const template = await createTemplate(this.endpoint, { name: this.file.name });
|
66
66
|
console.log('[CREATE] Created template', template);
|
67
67
|
const template_document = await createTemplateDocument(this.endpoint, template.id, this.file, percent => {
|
68
|
-
|
69
|
-
|
68
|
+
if (percent >= 99) {
|
69
|
+
this.progressLabel = 'Processing...';
|
70
|
+
this.progressPercent = 100;
|
71
|
+
}
|
72
|
+
else {
|
73
|
+
this.progressPercent = percent;
|
74
|
+
}
|
70
75
|
});
|
71
76
|
console.log('[CREATE] Created document', template_document);
|
72
|
-
this.progressLabel = 'Processing...';
|
73
|
-
this.progressPercent = 0;
|
74
77
|
const finalTemplate = await getTemplate(this.endpoint, template.id);
|
75
78
|
(_a = this.next) === null || _a === void 0 ? void 0 : _a.emit(finalTemplate);
|
76
79
|
this.creating = false;
|
@@ -603,14 +606,12 @@ const VerdocsTemplateRoles = class {
|
|
603
606
|
},
|
604
607
|
});
|
605
608
|
}
|
606
|
-
handleCancel(
|
609
|
+
handleCancel() {
|
607
610
|
var _a;
|
608
|
-
e.stopPropagation();
|
609
611
|
(_a = this.exit) === null || _a === void 0 ? void 0 : _a.emit();
|
610
612
|
}
|
611
|
-
handleSubmit(
|
613
|
+
handleSubmit() {
|
612
614
|
var _a;
|
613
|
-
e.stopPropagation();
|
614
615
|
(_a = this.next) === null || _a === void 0 ? void 0 : _a.emit();
|
615
616
|
}
|
616
617
|
sortTemplateRoles() {
|
@@ -730,7 +731,7 @@ const VerdocsTemplateRoles = class {
|
|
730
731
|
.map(role => {
|
731
732
|
const unknown = !role.email;
|
732
733
|
return unknown ? (h(Fragment, null, h("div", { class: "recipient", style: { backgroundColor: getRGBA(getRoleIndex(roleNames, role.name)) }, "data-rolename": role.name }, h("span", { class: "type-icon", innerHTML: role.type === 'signer' ? iconSigner : role.type === 'cc' ? iconCC : iconApprover }), role.name, " ", h("div", { class: "settings-button", innerHTML: settingsIcon, onClick: () => (this.showingRoleDialog = role.name), "aria-role": "button" })), h("div", { class: "dropzone", "data-order": role.order + 0.5, "data-sequence": sequence }))) : (h(Fragment, null, h("div", { class: "recipient", style: { borderColor: getRGBA(getRoleIndex(roleNames, role.name)) }, "data-rolename": role.name }, h("span", { class: "type-icon", innerHTML: role.type === 'signer' ? iconSigner : role.type === 'cc' ? iconCC : iconApprover }), role.full_name, " ", h("div", { class: "settings-button", innerHTML: settingsIcon, onClick: () => (this.showingRoleDialog = role.name), "aria-role": "button" })), h("div", { class: "dropzone", "data-order": role.order + 0.5, "data-sequence": sequence })));
|
733
|
-
}), h("button", { class: "add-role", innerHTML: plusIcon, onClick: e => this.handleAddRole(e, sequence) }))), this.sequences.length > 0 && (h("div", { class: "row add-sequence", "data-sequence": sequence }, h("div", { class: "row-roles" }, h("div", { class: "icon", innerHTML: plusIcon }), h("div", { class: "dropzone", "data-sequence": sequence + 1, "data-order": 1 }, "Add Step"))))))), h("div", { class: "row", "data-sequence": this.sequences.length + 1 }, h("div", { class: "row-roles" }, h("div", { class: "icon", innerHTML: plusIcon }), h("button", { class: "add-step", innerHTML: plusIcon, onClick: e => this.handleAddStep(e, this.sequences.length + 1) }))), h("div", { class: "row" }, h("div", { class: "icon", innerHTML: doneIcon }), h("div", { class: "row-roles" }, h("div", { class: "complete" }, "Document Complete")))), roleNames.length < 1 && (h("div", { class: "empty" }, "You must add at least one Role before proceeding.", h("br", null), " Click the ", h("span", { innerHTML: plusIcon }), " Add button above to get started.")), h("div", { class: "buttons" }, h("div", { class: "flex-fill" }), h("verdocs-button", { variant: "outline", label: "Cancel", size: "small", onClick:
|
734
|
+
}), h("button", { class: "add-role", innerHTML: plusIcon, onClick: e => this.handleAddRole(e, sequence) }))), this.sequences.length > 0 && (h("div", { class: "row add-sequence", "data-sequence": sequence }, h("div", { class: "row-roles" }, h("div", { class: "icon", innerHTML: plusIcon }), h("div", { class: "dropzone", "data-sequence": sequence + 1, "data-order": 1 }, "Add Step"))))))), h("div", { class: "row", "data-sequence": this.sequences.length + 1 }, h("div", { class: "row-roles" }, h("div", { class: "icon", innerHTML: plusIcon }), h("button", { class: "add-step", innerHTML: plusIcon, onClick: e => this.handleAddStep(e, this.sequences.length + 1) }))), h("div", { class: "row" }, h("div", { class: "icon", innerHTML: doneIcon }), h("div", { class: "row-roles" }, h("div", { class: "complete" }, "Document Complete")))), roleNames.length < 1 && (h("div", { class: "empty" }, "You must add at least one Role before proceeding.", h("br", null), " Click the ", h("span", { innerHTML: plusIcon }), " Add button above to get started.")), h("div", { class: "buttons" }, h("div", { class: "flex-fill" }), h("verdocs-button", { variant: "outline", label: "Cancel", size: "small", onClick: () => this.handleCancel() }), h("verdocs-button", { label: "OK", size: "small", onClick: () => this.handleSubmit(), disabled: roleNames.length < 1 }))), this.showingRoleDialog && (h("verdocs-template-role-properties", { endpoint: this.endpoint, templateId: this.templateId, roleName: this.showingRoleDialog, onClose: () => {
|
734
735
|
this.showingRoleDialog = null;
|
735
736
|
this.forceRerender++;
|
736
737
|
}, onDelete: e => {
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-5260ed60.js';
|
2
|
-
import './Types-
|
2
|
+
import './Types-5f31149e.js';
|
3
3
|
import { g as getTemplateDocumentPageDisplayUri } from './TemplateDocuments-618934d0.js';
|
4
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
5
|
-
import { t as throttle } from './utils-
|
6
|
-
import './Envelopes-
|
4
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-4367eb13.js';
|
5
|
+
import { t as throttle } from './utils-c0c6df0c.js';
|
6
|
+
import './Envelopes-223b2797.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './index-d264c496.js';
|
9
9
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
|
-
import './Types-
|
3
|
-
import { u as updateTemplate } from './Templates-
|
4
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-
|
2
|
+
import './Types-5f31149e.js';
|
3
|
+
import { u as updateTemplate } from './Templates-ca52ef90.js';
|
4
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-4367eb13.js';
|
5
5
|
import { s as state } from './templateStore-17c872da.js';
|
6
|
-
import { l as loadTemplate } from './Templates-
|
6
|
+
import { l as loadTemplate } from './Templates-d94fb9d5.js';
|
7
7
|
import { S as SDKError } from './errors-9b5498c8.js';
|
8
8
|
import './Primitives-054bc6e5.js';
|
9
9
|
|