@verdocs/web-sdk 1.12.42 → 1.12.43
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/_commonjsHelpers-0c557e26.js +26 -0
- package/dist/cjs/{interact.min-fdb8d65c.js → interact.min-ba5cc513.js} +3 -3
- package/dist/cjs/utils-c218d9c7.js +365 -0
- package/dist/cjs/verdocs-button-panel_3.cjs.entry.js +246 -9
- package/dist/cjs/verdocs-dropdown_2.cjs.entry.js +2 -1
- package/dist/cjs/verdocs-field-checkbox.cjs.entry.js +2 -1
- package/dist/cjs/verdocs-field-date.cjs.entry.js +2 -1
- package/dist/cjs/verdocs-field-dropdown.cjs.entry.js +2 -1
- package/dist/cjs/verdocs-field-initial.cjs.entry.js +2 -1
- package/dist/cjs/verdocs-field-payment.cjs.entry.js +2 -1
- package/dist/cjs/verdocs-field-radio-button.cjs.entry.js +2 -1
- package/dist/cjs/verdocs-field-signature.cjs.entry.js +2 -1
- package/dist/cjs/verdocs-field-textarea.cjs.entry.js +2 -1
- package/dist/cjs/verdocs-field-textbox.cjs.entry.js +3 -2
- package/dist/cjs/verdocs-field-timestamp.cjs.entry.js +2 -1
- package/dist/cjs/verdocs-preview.cjs.entry.js +2 -1
- package/dist/cjs/verdocs-send.cjs.entry.js +2 -1
- package/dist/cjs/verdocs-sign.cjs.entry.js +2 -1
- package/dist/cjs/verdocs-template-create_3.cjs.entry.js +47 -39
- package/dist/cjs/verdocs-template-document-page.cjs.entry.js +2 -1
- package/dist/cjs/verdocs-view.cjs.entry.js +2 -1
- package/dist/collection/components/controls/verdocs-button-panel/verdocs-button-panel.js +6 -3
- package/dist/collection/components/embeds/verdocs-preview/verdocs-preview.stories.js +0 -3
- package/dist/collection/components/templates/verdocs-template-field-properties/verdocs-template-field-properties.js +51 -6
- package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.js +44 -37
- package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.stories.js +1 -2
- package/dist/collection/components/templates/verdocs-template-roles/verdocs-template-roles.stories.js +1 -2
- package/dist/collection/utils/utils.js +3 -3
- package/dist/components/_commonjsHelpers.js +21 -0
- package/dist/components/interact.min.js +1 -1
- package/dist/components/utils.js +5 -24
- package/dist/components/verdocs-button-panel2.js +6 -3
- package/dist/components/verdocs-template-field-properties2.js +240 -6
- package/dist/components/verdocs-template-fields2.js +44 -37
- package/dist/custom-elements.json +1502 -0
- package/dist/docs.json +1 -1
- package/dist/esm/_commonjsHelpers-5ec8f9b7.js +21 -0
- package/dist/esm/{interact.min-2d48f507.js → interact.min-cf83fa88.js} +1 -1
- package/dist/esm/{utils-218600d6.js → utils-78a752e0.js} +5 -24
- package/dist/esm/verdocs-button-panel_3.entry.js +246 -9
- package/dist/esm/verdocs-dropdown_2.entry.js +2 -1
- package/dist/esm/verdocs-field-checkbox.entry.js +2 -1
- package/dist/esm/verdocs-field-date.entry.js +2 -1
- package/dist/esm/verdocs-field-dropdown.entry.js +2 -1
- package/dist/esm/verdocs-field-initial.entry.js +2 -1
- package/dist/esm/verdocs-field-payment.entry.js +2 -1
- package/dist/esm/verdocs-field-radio-button.entry.js +2 -1
- package/dist/esm/verdocs-field-signature.entry.js +2 -1
- package/dist/esm/verdocs-field-textarea.entry.js +2 -1
- package/dist/esm/verdocs-field-textbox.entry.js +3 -2
- package/dist/esm/verdocs-field-timestamp.entry.js +2 -1
- package/dist/esm/verdocs-preview.entry.js +2 -1
- package/dist/esm/verdocs-send.entry.js +2 -1
- package/dist/esm/verdocs-sign.entry.js +2 -1
- package/dist/esm/verdocs-template-create_3.entry.js +47 -39
- package/dist/esm/verdocs-template-document-page.entry.js +2 -1
- package/dist/esm/verdocs-view.entry.js +2 -1
- package/dist/esm-es5/_commonjsHelpers-5ec8f9b7.js +1 -0
- package/dist/esm-es5/interact.min-cf83fa88.js +1 -0
- package/dist/esm-es5/{utils-218600d6.js → utils-78a752e0.js} +2 -2
- package/dist/esm-es5/verdocs-button-panel_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-dropdown_2.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-create_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-document-page.entry.js +1 -1
- package/dist/esm-es5/verdocs-view.entry.js +1 -1
- package/dist/types/components/templates/verdocs-template-field-properties/verdocs-template-field-properties.d.ts +1 -0
- package/dist/types/components/templates/verdocs-template-fields/verdocs-template-fields.d.ts +1 -0
- package/dist/types/utils/utils.d.ts +2 -2
- package/dist/verdocs-web-sdk/{p-06b63e19.js → p-0d28cf05.js} +1 -1
- package/dist/verdocs-web-sdk/p-0e727b1c.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-0fd75d91.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-1abcf29d.js +13 -0
- package/dist/verdocs-web-sdk/p-1cfb7ff5.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-8c4ccdcf.system.js → p-201f27f6.system.js} +2 -2
- package/dist/verdocs-web-sdk/p-28976191.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-32fb9679.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-5a7ccee3.system.js → p-3305a941.system.js} +1 -1
- package/dist/verdocs-web-sdk/p-36f78b1f.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-3751d683.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-3ba4df31.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-519127ef.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-530e47e2.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-552441c6.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-66158f86.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-667cbdb4.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-6caf1137.system.js +1 -1
- package/dist/verdocs-web-sdk/p-6ec15fc0.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-753a6e4a.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-77e616b7.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-81b24500.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-89963a6e.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-8be51136.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-8cba983e.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-94fa2efb.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-9eb2690b.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-b355484e.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-bbee73c8.system.js +1 -0
- package/dist/verdocs-web-sdk/p-beb19fae.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-bf8cc58c.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-c0c4cbe6.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-c83042ac.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-cae4a96e.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-ce14f118.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-cf09e52c.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-dca6db47.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-eab67c09.js +1 -0
- package/dist/verdocs-web-sdk/p-f3206b9e.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-f6f1eb46.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-f7910b66.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-fd463970.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-fd5d31ad.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +4 -3
- package/dist/cjs/utils-173073b5.js +0 -386
- package/dist/esm-es5/interact.min-2d48f507.js +0 -1
- package/dist/verdocs-web-sdk/p-06431b48.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-07837642.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-0a40faee.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-15a98f93.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-17ce2ecb.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-1e7791de.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-1f83efb6.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-1fadb008.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-2ec93d4f.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-33f518fe.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-34327c86.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-36e04ce1.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-53b657ae.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-5637ad60.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-58616494.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-61622a60.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-67ba3a16.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-7b39af7f.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-9131d247.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-977fbaf7.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-986d86f4.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-9ac9f634.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-a24ae6ee.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-a32f9de7.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-a746d24f.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-af8d400f.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-b270f99a.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-beb76dac.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-c1037597.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-c181315f.js +0 -13
- package/dist/verdocs-web-sdk/p-cd3ee92f.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-ddf2b4d4.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-e4bbfd3f.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-ec121c9e.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-f5b2c369.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-f907648c.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-ff7aef68.entry.js +0 -1
package/dist/docs.json
CHANGED
@@ -0,0 +1,21 @@
|
|
1
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
2
|
+
|
3
|
+
function getDefaultExportFromCjs (x) {
|
4
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
5
|
+
}
|
6
|
+
|
7
|
+
function createCommonjsModule(fn, basedir, module) {
|
8
|
+
return module = {
|
9
|
+
path: basedir,
|
10
|
+
exports: {},
|
11
|
+
require: function (path, base) {
|
12
|
+
return commonjsRequire();
|
13
|
+
}
|
14
|
+
}, fn(module, module.exports), module.exports;
|
15
|
+
}
|
16
|
+
|
17
|
+
function commonjsRequire () {
|
18
|
+
throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
|
19
|
+
}
|
20
|
+
|
21
|
+
export { commonjsGlobal as a, commonjsRequire as b, createCommonjsModule as c, getDefaultExportFromCjs as g };
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { g as getDefaultExportFromCjs, c as createCommonjsModule } from './_commonjsHelpers-5ec8f9b7.js';
|
2
2
|
|
3
3
|
var interact_min = createCommonjsModule(function (module, exports) {
|
4
4
|
/* interact.js 1.10.17 | https://interactjs.io/license */
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { c as createCommonjsModule, a as commonjsGlobal, b as commonjsRequire } from './_commonjsHelpers-5ec8f9b7.js';
|
1
2
|
import { g as getEnvelopeFile, a as getFieldAttachment } from './Envelopes-921cd9d0.js';
|
2
3
|
import './Types-5f31149e.js';
|
3
4
|
import { d as downloadBlob } from './Files-70a192df.js';
|
@@ -7,26 +8,6 @@ function rescale(r, n) {
|
|
7
8
|
return r * n;
|
8
9
|
}
|
9
10
|
|
10
|
-
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
11
|
-
|
12
|
-
function getDefaultExportFromCjs (x) {
|
13
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
14
|
-
}
|
15
|
-
|
16
|
-
function createCommonjsModule(fn, basedir, module) {
|
17
|
-
return module = {
|
18
|
-
path: basedir,
|
19
|
-
exports: {},
|
20
|
-
require: function (path, base) {
|
21
|
-
return commonjsRequire();
|
22
|
-
}
|
23
|
-
}, fn(module, module.exports), module.exports;
|
24
|
-
}
|
25
|
-
|
26
|
-
function commonjsRequire () {
|
27
|
-
throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
|
28
|
-
}
|
29
|
-
|
30
11
|
var jszip_min = createCommonjsModule(function (module, exports) {
|
31
12
|
/*!
|
32
13
|
|
@@ -53,9 +34,9 @@ const defaultWidth = (type) => {
|
|
53
34
|
case 'timestamp':
|
54
35
|
return 64;
|
55
36
|
case 'date':
|
56
|
-
return
|
37
|
+
return 84;
|
57
38
|
case 'dropdown':
|
58
|
-
return
|
39
|
+
return 85;
|
59
40
|
case 'attachment':
|
60
41
|
case 'payment':
|
61
42
|
return 24;
|
@@ -82,7 +63,7 @@ const defaultHeight = (type) => {
|
|
82
63
|
case 'date':
|
83
64
|
return 15;
|
84
65
|
case 'dropdown':
|
85
|
-
return
|
66
|
+
return 20;
|
86
67
|
case 'attachment':
|
87
68
|
case 'payment':
|
88
69
|
return 24;
|
@@ -368,4 +349,4 @@ const throttle = (f, delay) => {
|
|
368
349
|
};
|
369
350
|
};
|
370
351
|
|
371
|
-
export {
|
352
|
+
export { getRoleIndex as a, getFieldId as b, updateCssTransform as c, defaultWidth as d, defaultHeight as e, saveEnvelopesAsZip as f, getFieldSettings as g, saveCertificate as h, renderDocumentField as r, saveAttachment as s, throttle as t, updateDocumentFieldValue as u };
|
@@ -3,6 +3,7 @@ import { c as createPopper } from './popper-f860750c.js';
|
|
3
3
|
import './Types-5f31149e.js';
|
4
4
|
import { u as updateField, d as deleteField } from './Fields-c82e6df3.js';
|
5
5
|
import { V as VerdocsEndpoint } from './VerdocsEndpoint-4367eb13.js';
|
6
|
+
import { a as commonjsGlobal } from './_commonjsHelpers-5ec8f9b7.js';
|
6
7
|
import { s as state } from './templateStore-17c872da.js';
|
7
8
|
import { l as loadTemplate } from './Templates-d94fb9d5.js';
|
8
9
|
import { S as SDKError } from './errors-9b5498c8.js';
|
@@ -43,6 +44,7 @@ const VerdocsButtonPanel = class {
|
|
43
44
|
(_b = this.popperInstance) === null || _b === void 0 ? void 0 : _b.update().catch(() => { });
|
44
45
|
this.showing = true;
|
45
46
|
this.hiderEl = document.createElement('div');
|
47
|
+
this.hiderEl.id = 'verdocs-button-panel-hider';
|
46
48
|
this.hiderEl.style.zIndex = '100';
|
47
49
|
this.hiderEl.style.position = 'absolute';
|
48
50
|
this.hiderEl.style.top = '0px';
|
@@ -56,9 +58,11 @@ const VerdocsButtonPanel = class {
|
|
56
58
|
document.body.appendChild(this.hiderEl);
|
57
59
|
}
|
58
60
|
async hidePanel() {
|
59
|
-
var _a
|
60
|
-
(
|
61
|
-
|
61
|
+
var _a;
|
62
|
+
Array.from(document.getElementsByClassName('verdocs-button-panel-content')).forEach(el => {
|
63
|
+
el.removeAttribute('data-show');
|
64
|
+
});
|
65
|
+
(_a = document.getElementById('verdocs-button-panel-hider')) === null || _a === void 0 ? void 0 : _a.remove();
|
62
66
|
this.showing = false;
|
63
67
|
}
|
64
68
|
async toggle() {
|
@@ -94,6 +98,195 @@ const VerdocsSelectInput = class {
|
|
94
98
|
};
|
95
99
|
VerdocsSelectInput.style = verdocsSelectInputCss;
|
96
100
|
|
101
|
+
// Unique ID creation requires a high quality random # generator. In the
|
102
|
+
// browser this is a little complicated due to unknown quality of Math.random()
|
103
|
+
// and inconsistent support for the `crypto` API. We do the best we can via
|
104
|
+
// feature-detection
|
105
|
+
var rng;
|
106
|
+
|
107
|
+
var crypto = typeof commonjsGlobal !== 'undefined' && (commonjsGlobal.crypto || commonjsGlobal.msCrypto); // for IE 11
|
108
|
+
if (crypto && crypto.getRandomValues) {
|
109
|
+
// WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto
|
110
|
+
var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef
|
111
|
+
rng = function whatwgRNG() {
|
112
|
+
crypto.getRandomValues(rnds8);
|
113
|
+
return rnds8;
|
114
|
+
};
|
115
|
+
}
|
116
|
+
|
117
|
+
if (!rng) {
|
118
|
+
// Math.random()-based (RNG)
|
119
|
+
//
|
120
|
+
// If all else fails, use Math.random(). It's fast, but is of unspecified
|
121
|
+
// quality.
|
122
|
+
var rnds = new Array(16);
|
123
|
+
rng = function() {
|
124
|
+
for (var i = 0, r; i < 16; i++) {
|
125
|
+
if ((i & 0x03) === 0) r = Math.random() * 0x100000000;
|
126
|
+
rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;
|
127
|
+
}
|
128
|
+
|
129
|
+
return rnds;
|
130
|
+
};
|
131
|
+
}
|
132
|
+
|
133
|
+
var rngBrowser = rng;
|
134
|
+
|
135
|
+
/**
|
136
|
+
* Convert array of 16 byte values to UUID string format of the form:
|
137
|
+
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
138
|
+
*/
|
139
|
+
var byteToHex = [];
|
140
|
+
for (var i = 0; i < 256; ++i) {
|
141
|
+
byteToHex[i] = (i + 0x100).toString(16).substr(1);
|
142
|
+
}
|
143
|
+
|
144
|
+
function bytesToUuid(buf, offset) {
|
145
|
+
var i = offset || 0;
|
146
|
+
var bth = byteToHex;
|
147
|
+
return bth[buf[i++]] + bth[buf[i++]] +
|
148
|
+
bth[buf[i++]] + bth[buf[i++]] + '-' +
|
149
|
+
bth[buf[i++]] + bth[buf[i++]] + '-' +
|
150
|
+
bth[buf[i++]] + bth[buf[i++]] + '-' +
|
151
|
+
bth[buf[i++]] + bth[buf[i++]] + '-' +
|
152
|
+
bth[buf[i++]] + bth[buf[i++]] +
|
153
|
+
bth[buf[i++]] + bth[buf[i++]] +
|
154
|
+
bth[buf[i++]] + bth[buf[i++]];
|
155
|
+
}
|
156
|
+
|
157
|
+
var bytesToUuid_1 = bytesToUuid;
|
158
|
+
|
159
|
+
// **`v1()` - Generate time-based UUID**
|
160
|
+
//
|
161
|
+
// Inspired by https://github.com/LiosK/UUID.js
|
162
|
+
// and http://docs.python.org/library/uuid.html
|
163
|
+
|
164
|
+
// random #'s we need to init node and clockseq
|
165
|
+
var _seedBytes = rngBrowser();
|
166
|
+
|
167
|
+
// Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)
|
168
|
+
var _nodeId = [
|
169
|
+
_seedBytes[0] | 0x01,
|
170
|
+
_seedBytes[1], _seedBytes[2], _seedBytes[3], _seedBytes[4], _seedBytes[5]
|
171
|
+
];
|
172
|
+
|
173
|
+
// Per 4.2.2, randomize (14 bit) clockseq
|
174
|
+
var _clockseq = (_seedBytes[6] << 8 | _seedBytes[7]) & 0x3fff;
|
175
|
+
|
176
|
+
// Previous uuid creation time
|
177
|
+
var _lastMSecs = 0, _lastNSecs = 0;
|
178
|
+
|
179
|
+
// See https://github.com/broofa/node-uuid for API details
|
180
|
+
function v1(options, buf, offset) {
|
181
|
+
var i = buf && offset || 0;
|
182
|
+
var b = buf || [];
|
183
|
+
|
184
|
+
options = options || {};
|
185
|
+
|
186
|
+
var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq;
|
187
|
+
|
188
|
+
// UUID timestamps are 100 nano-second units since the Gregorian epoch,
|
189
|
+
// (1582-10-15 00:00). JSNumbers aren't precise enough for this, so
|
190
|
+
// time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'
|
191
|
+
// (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.
|
192
|
+
var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime();
|
193
|
+
|
194
|
+
// Per 4.2.1.2, use count of uuid's generated during the current clock
|
195
|
+
// cycle to simulate higher resolution clock
|
196
|
+
var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;
|
197
|
+
|
198
|
+
// Time since last uuid creation (in msecs)
|
199
|
+
var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000;
|
200
|
+
|
201
|
+
// Per 4.2.1.2, Bump clockseq on clock regression
|
202
|
+
if (dt < 0 && options.clockseq === undefined) {
|
203
|
+
clockseq = clockseq + 1 & 0x3fff;
|
204
|
+
}
|
205
|
+
|
206
|
+
// Reset nsecs if clock regresses (new clockseq) or we've moved onto a new
|
207
|
+
// time interval
|
208
|
+
if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {
|
209
|
+
nsecs = 0;
|
210
|
+
}
|
211
|
+
|
212
|
+
// Per 4.2.1.2 Throw error if too many uuids are requested
|
213
|
+
if (nsecs >= 10000) {
|
214
|
+
throw new Error('uuid.v1(): Can\'t create more than 10M uuids/sec');
|
215
|
+
}
|
216
|
+
|
217
|
+
_lastMSecs = msecs;
|
218
|
+
_lastNSecs = nsecs;
|
219
|
+
_clockseq = clockseq;
|
220
|
+
|
221
|
+
// Per 4.1.4 - Convert from unix epoch to Gregorian epoch
|
222
|
+
msecs += 12219292800000;
|
223
|
+
|
224
|
+
// `time_low`
|
225
|
+
var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;
|
226
|
+
b[i++] = tl >>> 24 & 0xff;
|
227
|
+
b[i++] = tl >>> 16 & 0xff;
|
228
|
+
b[i++] = tl >>> 8 & 0xff;
|
229
|
+
b[i++] = tl & 0xff;
|
230
|
+
|
231
|
+
// `time_mid`
|
232
|
+
var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff;
|
233
|
+
b[i++] = tmh >>> 8 & 0xff;
|
234
|
+
b[i++] = tmh & 0xff;
|
235
|
+
|
236
|
+
// `time_high_and_version`
|
237
|
+
b[i++] = tmh >>> 24 & 0xf | 0x10; // include version
|
238
|
+
b[i++] = tmh >>> 16 & 0xff;
|
239
|
+
|
240
|
+
// `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)
|
241
|
+
b[i++] = clockseq >>> 8 | 0x80;
|
242
|
+
|
243
|
+
// `clock_seq_low`
|
244
|
+
b[i++] = clockseq & 0xff;
|
245
|
+
|
246
|
+
// `node`
|
247
|
+
var node = options.node || _nodeId;
|
248
|
+
for (var n = 0; n < 6; ++n) {
|
249
|
+
b[i + n] = node[n];
|
250
|
+
}
|
251
|
+
|
252
|
+
return buf ? buf : bytesToUuid_1(b);
|
253
|
+
}
|
254
|
+
|
255
|
+
var v1_1 = v1;
|
256
|
+
|
257
|
+
function v4(options, buf, offset) {
|
258
|
+
var i = buf && offset || 0;
|
259
|
+
|
260
|
+
if (typeof(options) == 'string') {
|
261
|
+
buf = options == 'binary' ? new Array(16) : null;
|
262
|
+
options = null;
|
263
|
+
}
|
264
|
+
options = options || {};
|
265
|
+
|
266
|
+
var rnds = options.random || (options.rng || rngBrowser)();
|
267
|
+
|
268
|
+
// Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
|
269
|
+
rnds[6] = (rnds[6] & 0x0f) | 0x40;
|
270
|
+
rnds[8] = (rnds[8] & 0x3f) | 0x80;
|
271
|
+
|
272
|
+
// Copy bytes to buffer, if provided
|
273
|
+
if (buf) {
|
274
|
+
for (var ii = 0; ii < 16; ++ii) {
|
275
|
+
buf[i + ii] = rnds[ii];
|
276
|
+
}
|
277
|
+
}
|
278
|
+
|
279
|
+
return buf || bytesToUuid_1(rnds);
|
280
|
+
}
|
281
|
+
|
282
|
+
var v4_1 = v4;
|
283
|
+
|
284
|
+
var uuid = v4_1;
|
285
|
+
uuid.v1 = v1_1;
|
286
|
+
uuid.v4 = v4_1;
|
287
|
+
|
288
|
+
var uuidBrowser = uuid;
|
289
|
+
|
97
290
|
const verdocsTemplateFieldPropertiesCss = "verdocs-template-field-properties{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif}verdocs-template-field-properties .buttons{display:-ms-flexbox;display:flex;margin-top:30px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:end;justify-content:flex-end}verdocs-template-field-properties .buttons verdocs-button{margin-left:16px}verdocs-template-field-properties form .row{display:-ms-flexbox;display:flex;-webkit-column-gap:15px;-moz-column-gap:15px;column-gap:15px;margin:0 0 10px 0;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-template-field-properties form .row .input-label{display:block;color:#555570;font-weight:700;font-size:14px;margin:0 0 4px 0;-ms-flex:0 0 100px;flex:0 0 100px}verdocs-template-field-properties verdocs-select-input{-ms-flex:1;flex:1;margin:0}verdocs-template-field-properties verdocs-text-input{margin:0;-ms-flex:1;flex:1}verdocs-template-field-properties verdocs-text-input label{margin:0;display:-ms-flexbox;display:flex;-webkit-column-gap:15px;-moz-column-gap:15px;column-gap:15px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-template-field-properties verdocs-text-input .input-label{-ms-flex:0 0 100px;flex:0 0 100px}verdocs-template-field-properties verdocs-text-input input{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex}verdocs-template-field-properties .checkbox-wrapper{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex}verdocs-template-field-properties .delete-button{height:34px;display:-ms-flexbox;display:flex;cursor:pointer;background:none;border-radius:4px;-ms-flex-align:center;align-items:center;border:1px solid #999;-ms-flex-pack:center;justify-content:center}verdocs-template-field-properties .delete-button:active{background:#f3f3f3}verdocs-template-field-properties .delete-button svg{width:24px;height:24px}verdocs-template-field-properties h6{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;font-size:16px;font-weight:bold;margin:0 0 8px 0;-ms-flex-direction:row;flex-direction:row;color:#092c4c}verdocs-template-field-properties h6 .help-icon{opacity:0.5}verdocs-template-field-properties h6 .help-icon:hover{opacity:1;cursor:pointer}verdocs-template-field-properties .row-header{gap:15px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}verdocs-template-field-properties .row-header h6{margin-bottom:0}verdocs-template-field-properties .row-header verdocs-help-icon{-webkit-transform:scale(0.85);transform:scale(0.85)}verdocs-template-field-properties .row-header verdocs-help-icon svg{margin-bottom:-5px}verdocs-template-field-properties .row-header .add-button{margin:0;padding:0;border:none;opacity:0.5;cursor:pointer;background:none}verdocs-template-field-properties .row-header .add-button:hover{opacity:1}verdocs-template-field-properties .row-header .add-button svg{width:32px;height:32px}verdocs-template-field-properties .option-row{margin:15px 0}verdocs-template-field-properties .option-row .remove-button{height:28px;display:-ms-flexbox;display:flex;cursor:pointer;background:none;border-radius:4px;-ms-flex-align:center;align-items:center;border:1px solid #999;-ms-flex-pack:center;justify-content:center}verdocs-template-field-properties .option-row .remove-button:active{background:#f3f3f3}verdocs-template-field-properties .option-row .remove-button:hover svg{stroke:#a50021}verdocs-template-field-properties .option-row .remove-button svg{width:20px;height:20px;stroke:#333333}verdocs-template-field-properties .options{background:#f3f3f3;padding:0 0 10px 0}verdocs-template-field-properties .options .row-header,verdocs-template-field-properties .options .option-row{padding:0 10px}verdocs-template-field-properties .options .add-option-button{border-radius:5px;border:1px solid #cccccc;background:#46497d;color:#ffffff;padding:3px 8px}verdocs-template-field-properties .options .option-row .input-element{font-size:14px}verdocs-template-field-properties .options verdocs-help-icon{opacity:1;-webkit-transform:scale(0.8);transform:scale(0.8)}verdocs-template-field-properties .options verdocs-help-icon svg{fill:#ffffff}";
|
98
291
|
|
99
292
|
const capitalize = (str) => str.charAt(0).toUpperCase() + str.slice(1);
|
@@ -168,7 +361,6 @@ const VerdocsTemplateFieldProperties = class {
|
|
168
361
|
var _a, _b;
|
169
362
|
e.stopPropagation();
|
170
363
|
const field = state.fields.find(field => field.name === this.fieldName);
|
171
|
-
console.log('hc', e, field);
|
172
364
|
if (field) {
|
173
365
|
this.name = field.name;
|
174
366
|
this.roleName = field.role_name;
|
@@ -198,6 +390,53 @@ const VerdocsTemplateFieldProperties = class {
|
|
198
390
|
options: this.options,
|
199
391
|
};
|
200
392
|
}
|
393
|
+
updateField(this.endpoint, this.templateId, this.fieldName, newProperties)
|
394
|
+
.then(() => {
|
395
|
+
var _a, _b;
|
396
|
+
this.dirty = false;
|
397
|
+
const field = state.fields.find(field => field.name === this.fieldName);
|
398
|
+
if (field) {
|
399
|
+
field.name = this.name;
|
400
|
+
field.role_name = this.roleName;
|
401
|
+
field.required = this.required;
|
402
|
+
field.label = this.placeholder;
|
403
|
+
field.setting.result = this.defaultValue;
|
404
|
+
if (field.setting.options) {
|
405
|
+
field.setting.options = this.options;
|
406
|
+
}
|
407
|
+
}
|
408
|
+
(_a = this.settingsChanged) === null || _a === void 0 ? void 0 : _a.emit({ fieldName: this.fieldName });
|
409
|
+
(_b = this.close) === null || _b === void 0 ? void 0 : _b.emit();
|
410
|
+
})
|
411
|
+
.catch(() => {
|
412
|
+
console.log('Field update failed', e);
|
413
|
+
});
|
414
|
+
}
|
415
|
+
handleAddOption(e) {
|
416
|
+
e.stopPropagation();
|
417
|
+
const newProperties = {
|
418
|
+
name: this.name,
|
419
|
+
required: this.required,
|
420
|
+
role_name: this.roleName,
|
421
|
+
// TODO: Default value in setting?
|
422
|
+
};
|
423
|
+
this.options.push(this.type === 'radio_button_group'
|
424
|
+
? {
|
425
|
+
id: uuidBrowser(),
|
426
|
+
value: `Option ${this.options.length + 1}`,
|
427
|
+
selected: false,
|
428
|
+
x: this.options.length > 0 ? this.options[this.options.length - 1].x : 20,
|
429
|
+
y: this.options.length > 0 ? this.options[this.options.length - 1].y - 25 : 20,
|
430
|
+
}
|
431
|
+
: {
|
432
|
+
id: uuidBrowser(),
|
433
|
+
value: `Option ${this.options.length + 1}`,
|
434
|
+
checked: false,
|
435
|
+
x: this.options.length > 0 ? this.options[this.options.length - 1].x : 20,
|
436
|
+
y: this.options.length > 0 ? this.options[this.options.length - 1].y - 25 : 20,
|
437
|
+
});
|
438
|
+
newProperties.setting = this.setting;
|
439
|
+
newProperties.setting.options = this.options;
|
201
440
|
updateField(this.endpoint, this.templateId, this.fieldName, newProperties)
|
202
441
|
.then(() => {
|
203
442
|
var _a, _b;
|
@@ -212,6 +451,7 @@ const VerdocsTemplateFieldProperties = class {
|
|
212
451
|
}
|
213
452
|
(_a = this.settingsChanged) === null || _a === void 0 ? void 0 : _a.emit({ fieldName: this.fieldName });
|
214
453
|
(_b = this.close) === null || _b === void 0 ? void 0 : _b.emit();
|
454
|
+
state.updateCount++;
|
215
455
|
})
|
216
456
|
.catch(() => {
|
217
457
|
console.log('Field update failed', e);
|
@@ -246,7 +486,7 @@ const VerdocsTemplateFieldProperties = class {
|
|
246
486
|
if (this.helpText && this.showingHelp) {
|
247
487
|
return (h(Host, null, h("h6", null, capitalize(this.fieldType), " Settings ", h("div", { style: { flex: '1' } }), h("div", { class: "help-icon", innerHTML: HelpIcon, onClick: () => (this.showingHelp = false) })), h("p", { class: "instructions", innerHTML: this.helpText })));
|
248
488
|
}
|
249
|
-
return (h(Host, null, h("h6", null, capitalize(this.fieldType.replace(
|
489
|
+
return (h(Host, null, h("h6", null, capitalize(this.fieldType.replace(/_/g, ' ')), " Settings ", h("div", { style: { flex: '1' } }), this.helpText && h("div", { class: "help-icon", innerHTML: HelpIcon, onClick: () => (this.showingHelp = true) })), h("form", { onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("div", { class: "row" }, h("verdocs-text-input", { id: "verdocs-field-name", label: "Field Name", value: this.name, autocomplete: "off",
|
250
490
|
// helpText="The internal name of the field. Must be unique, and contain only letters, numbers, and dashes. After an envelope is completed, the value entered by the signer will be tagged with this key."
|
251
491
|
placeholder: "Field Name...", onInput: (e) => {
|
252
492
|
this.name = e.target.value;
|
@@ -254,9 +494,6 @@ const VerdocsTemplateFieldProperties = class {
|
|
254
494
|
} })), h("div", { class: "row" }, h("div", { class: "input-label" }, "Role:"), h("verdocs-select-input", { value: this.roleName, options: state.template.roles.map(role => ({ label: role.name, value: role.name })), onInput: (e) => {
|
255
495
|
this.roleName = e.target.value;
|
256
496
|
this.dirty = true;
|
257
|
-
} })), ['checkbox_group', 'radio_button_group'].includes(this.type) && (h("verdocs-text-input", { id: "verdocs-field-group", label: "Group Name", value: this.group, autocomplete: "off", placeholder: "Group Name...", onInput: (e) => {
|
258
|
-
this.group = e.target.value;
|
259
|
-
this.dirty = true;
|
260
497
|
} })), ['textbox', 'textarea'].includes(this.type) && (h("verdocs-text-input", { id: "verdocs-field-placeholder", label: "Placeholder", value: this.name, autocomplete: "off",
|
261
498
|
// helpText="Placeholder to display if the field is empty."
|
262
499
|
placeholder: "Placeholder...", onInput: (e) => {
|
@@ -265,7 +502,7 @@ const VerdocsTemplateFieldProperties = class {
|
|
265
502
|
} })), h("div", { class: "row", style: { marginTop: '15px', marginBottom: '15px' } }, h("label", { htmlFor: "verdocs-is-required", class: "input-label" }, "Required"), h("verdocs-checkbox", { id: "verdocs-is-required", name: "is-required", checked: this.required, value: "on", onInput: (e) => {
|
266
503
|
this.required = e.target.checked;
|
267
504
|
this.dirty = true;
|
268
|
-
} })), ['dropdown'].includes(this.type) && (h("div", { class: "options" }, h("div", { class: "row", style: {
|
505
|
+
} })), ['checkbox_group', 'radio_button_group'].includes(this.type) && h("verdocs-button", { size: "small", onClick: e => this.handleAddOption(e), label: "Add Option" }), ['dropdown'].includes(this.type) && (h("div", { class: "options" }, h("div", { class: "row", style: {
|
269
506
|
marginTop: '15px',
|
270
507
|
marginBottom: '15px',
|
271
508
|
textAlign: 'center',
|
@@ -3,7 +3,8 @@ import { c as createPopper } from './popper-f860750c.js';
|
|
3
3
|
import { f as getEnvelopeDocumentPageDisplayUri } from './Envelopes-921cd9d0.js';
|
4
4
|
import './Types-5f31149e.js';
|
5
5
|
import { V as VerdocsEndpoint } from './VerdocsEndpoint-4367eb13.js';
|
6
|
-
import { t as throttle } from './utils-
|
6
|
+
import { t as throttle } from './utils-78a752e0.js';
|
7
|
+
import './_commonjsHelpers-5ec8f9b7.js';
|
7
8
|
import './Files-70a192df.js';
|
8
9
|
import './index-d264c496.js';
|
9
10
|
|
@@ -1,7 +1,8 @@
|
|
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-78a752e0.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
+
import './_commonjsHelpers-5ec8f9b7.js';
|
5
6
|
import './Envelopes-921cd9d0.js';
|
6
7
|
import './Types-5f31149e.js';
|
7
8
|
import './Files-70a192df.js';
|
@@ -1,8 +1,9 @@
|
|
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-78a752e0.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 './_commonjsHelpers-5ec8f9b7.js';
|
6
7
|
import './Envelopes-921cd9d0.js';
|
7
8
|
import './Types-5f31149e.js';
|
8
9
|
import './Files-70a192df.js';
|
@@ -1,7 +1,8 @@
|
|
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-78a752e0.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
+
import './_commonjsHelpers-5ec8f9b7.js';
|
5
6
|
import './Envelopes-921cd9d0.js';
|
6
7
|
import './Types-5f31149e.js';
|
7
8
|
import './Files-70a192df.js';
|
@@ -1,7 +1,8 @@
|
|
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-78a752e0.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
+
import './_commonjsHelpers-5ec8f9b7.js';
|
5
6
|
import './Envelopes-921cd9d0.js';
|
6
7
|
import './Types-5f31149e.js';
|
7
8
|
import './Files-70a192df.js';
|
@@ -1,7 +1,8 @@
|
|
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-78a752e0.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
+
import './_commonjsHelpers-5ec8f9b7.js';
|
5
6
|
import './Envelopes-921cd9d0.js';
|
6
7
|
import './Types-5f31149e.js';
|
7
8
|
import './Files-70a192df.js';
|
@@ -1,7 +1,8 @@
|
|
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-78a752e0.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
+
import './_commonjsHelpers-5ec8f9b7.js';
|
5
6
|
import './Envelopes-921cd9d0.js';
|
6
7
|
import './Types-5f31149e.js';
|
7
8
|
import './Files-70a192df.js';
|
@@ -1,7 +1,8 @@
|
|
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-78a752e0.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
+
import './_commonjsHelpers-5ec8f9b7.js';
|
5
6
|
import './Envelopes-921cd9d0.js';
|
6
7
|
import './Types-5f31149e.js';
|
7
8
|
import './Files-70a192df.js';
|
@@ -1,7 +1,8 @@
|
|
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-78a752e0.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
|
+
import './_commonjsHelpers-5ec8f9b7.js';
|
5
6
|
import './Envelopes-921cd9d0.js';
|
6
7
|
import './Types-5f31149e.js';
|
7
8
|
import './Files-70a192df.js';
|
@@ -1,8 +1,9 @@
|
|
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-cf83fa88.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-78a752e0.js';
|
6
|
+
import './_commonjsHelpers-5ec8f9b7.js';
|
6
7
|
import './Primitives-054bc6e5.js';
|
7
8
|
import './Envelopes-921cd9d0.js';
|
8
9
|
import './Types-5f31149e.js';
|
@@ -1,8 +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-78a752e0.js';
|
4
4
|
import { s as state } from './templateStore-17c872da.js';
|
5
5
|
import { f as format } from './index-d264c496.js';
|
6
|
+
import './_commonjsHelpers-5ec8f9b7.js';
|
6
7
|
import './Envelopes-921cd9d0.js';
|
7
8
|
import './Types-5f31149e.js';
|
8
9
|
import './Files-70a192df.js';
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5260ed60.js';
|
2
2
|
import './Types-5f31149e.js';
|
3
3
|
import { V as VerdocsEndpoint } from './VerdocsEndpoint-4367eb13.js';
|
4
|
-
import { r as renderDocumentField,
|
4
|
+
import { r as renderDocumentField, a as getRoleIndex } from './utils-78a752e0.js';
|
5
5
|
import { s as state } from './templateStore-17c872da.js';
|
6
6
|
import { l as loadTemplate } from './Templates-d94fb9d5.js';
|
7
7
|
import { S as SDKError } from './errors-9b5498c8.js';
|
8
|
+
import './_commonjsHelpers-5ec8f9b7.js';
|
8
9
|
import './Envelopes-921cd9d0.js';
|
9
10
|
import './Files-70a192df.js';
|
10
11
|
import './index-d264c496.js';
|
@@ -5,10 +5,11 @@ 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
7
|
import { l as loadTemplate } from './Templates-d94fb9d5.js';
|
8
|
-
import {
|
8
|
+
import { a as getRoleIndex } from './utils-78a752e0.js';
|
9
9
|
import { S as SDKError } from './errors-9b5498c8.js';
|
10
10
|
import './Primitives-054bc6e5.js';
|
11
11
|
import './Templates-ca52ef90.js';
|
12
|
+
import './_commonjsHelpers-5ec8f9b7.js';
|
12
13
|
import './Envelopes-921cd9d0.js';
|
13
14
|
import './Files-70a192df.js';
|
14
15
|
import './index-d264c496.js';
|
@@ -4,8 +4,9 @@ import { R as RecipientStates } from './Types-5f31149e.js';
|
|
4
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, i as integerSequence } from './Primitives-054bc6e5.js';
|
7
|
-
import { s as saveAttachment, u as updateDocumentFieldValue,
|
7
|
+
import { s as saveAttachment, u as updateDocumentFieldValue, a as getRoleIndex, r as renderDocumentField, b as getFieldId } from './utils-78a752e0.js';
|
8
8
|
import { S as SDKError } from './errors-9b5498c8.js';
|
9
|
+
import './_commonjsHelpers-5ec8f9b7.js';
|
9
10
|
import './Files-70a192df.js';
|
10
11
|
import './index-d264c496.js';
|
11
12
|
|