@verdocs/web-sdk 1.11.7 → 1.11.9
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/{interact.min-8b2204e4.js → interact.min-272ddfb4.js} +1 -1
- package/dist/cjs/{utils-c955f518.js → utils-54525087.js} +12 -12
- package/dist/cjs/verdocs-document-page_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-date.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-initial.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-payment.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-signature.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-textarea.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-textbox.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-timestamp.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-preview.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-send.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-sign.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-create_2.cjs.entry.js +6 -4
- package/dist/cjs/verdocs-template-document-page.cjs.entry.js +2 -1
- package/dist/cjs/verdocs-template-roles.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-view.cjs.entry.js +1 -1
- package/dist/collection/components/templates/verdocs-template-create/verdocs-template-create.js +1 -1
- package/dist/collection/components/templates/verdocs-template-document-page/verdocs-template-document-page.js +1 -0
- package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.js +3 -1
- package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.stories.js +2 -2
- package/dist/collection/utils/utils.js +12 -12
- package/dist/components/utils.js +12 -12
- package/dist/components/verdocs-template-create2.js +1 -1
- package/dist/components/verdocs-template-document-page2.js +1 -0
- package/dist/components/verdocs-template-fields2.js +3 -1
- package/dist/docs.json +1 -1
- package/dist/esm/{interact.min-097cd61a.js → interact.min-6417b511.js} +1 -1
- package/dist/esm/{utils-107a7649.js → utils-e9a6b9e4.js} +12 -12
- package/dist/esm/verdocs-document-page_2.entry.js +1 -1
- package/dist/esm/verdocs-field-checkbox.entry.js +1 -1
- package/dist/esm/verdocs-field-date.entry.js +1 -1
- package/dist/esm/verdocs-field-dropdown.entry.js +1 -1
- package/dist/esm/verdocs-field-initial.entry.js +1 -1
- package/dist/esm/verdocs-field-payment.entry.js +1 -1
- package/dist/esm/verdocs-field-radio-button.entry.js +1 -1
- package/dist/esm/verdocs-field-signature.entry.js +1 -1
- package/dist/esm/verdocs-field-textarea.entry.js +1 -1
- package/dist/esm/verdocs-field-textbox.entry.js +1 -1
- package/dist/esm/verdocs-field-timestamp.entry.js +1 -1
- package/dist/esm/verdocs-preview.entry.js +1 -1
- package/dist/esm/verdocs-send.entry.js +1 -1
- package/dist/esm/verdocs-sign.entry.js +1 -1
- package/dist/esm/verdocs-template-create_2.entry.js +6 -4
- package/dist/esm/verdocs-template-document-page.entry.js +2 -1
- package/dist/esm/verdocs-template-roles.entry.js +2 -2
- package/dist/esm/verdocs-view.entry.js +1 -1
- package/dist/esm-es5/{interact.min-097cd61a.js → interact.min-6417b511.js} +1 -1
- package/dist/esm-es5/{utils-107a7649.js → utils-e9a6b9e4.js} +2 -2
- package/dist/esm-es5/verdocs-document-page_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_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-document-page.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-roles.entry.js +1 -1
- package/dist/esm-es5/verdocs-view.entry.js +1 -1
- package/dist/verdocs-web-sdk/{p-187977a7.entry.js → p-005572ea.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-58d47805.entry.js → p-0d453b2f.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-02061f5e.entry.js → p-0e58db22.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c712f51d.system.entry.js → p-10fbb876.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ba6fa904.entry.js → p-1178d7a5.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9aef6422.system.entry.js → p-184d875e.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-28ece044.entry.js → p-295be949.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-affc3613.entry.js → p-2b33748c.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c4b11cd6.system.entry.js → p-334ee827.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ee5acec4.js → p-44930c58.js} +1 -1
- package/dist/verdocs-web-sdk/{p-014cb341.system.entry.js → p-4934473f.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-020a5685.system.entry.js → p-49d0ef15.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-57bc5698.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-c75f0692.system.entry.js → p-582eb800.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-89eaf4c1.entry.js → p-5f286724.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3f3d1875.system.entry.js → p-5fa9dd45.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fa129346.js → p-642b2f86.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a3ac17a5.entry.js → p-70753fe7.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-1705fb61.entry.js → p-75c744e0.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e999ec0a.system.entry.js → p-7b4d7756.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d0f9cafa.system.entry.js → p-7ce3143d.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-7e6d7c07.system.js +1 -1
- package/dist/verdocs-web-sdk/{p-292567c3.system.entry.js → p-7ecb9259.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-bd80c5b3.system.entry.js → p-85b13093.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-521211b9.entry.js → p-8b9175e2.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9b1f97f7.entry.js → p-9a5570df.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-36dd9466.system.entry.js → p-a62755ba.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-6ab80c6d.system.entry.js → p-a8b3e594.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3f0a7d52.system.entry.js → p-aacb9e91.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-516ec9e9.entry.js → p-b367846e.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-be978603.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-c3673208.system.entry.js → p-c10cfa53.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9ced6cad.entry.js → p-c5be2c0f.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ad9a523d.system.js → p-c739f90a.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-5b4e55a4.entry.js → p-d50f2d73.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ac079e06.entry.js → p-dac7b75d.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-07f4e46f.system.js → p-dc2efab7.system.js} +2 -2
- package/dist/verdocs-web-sdk/{p-69392f27.entry.js → p-de5574a9.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2de5410a.system.entry.js → p-e4cc456c.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-bccd1f1b.system.entry.js → p-e8f6d4df.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-1a3bfe8f.entry.js → p-f9b68c9c.entry.js} +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +1 -1
- package/dist/verdocs-web-sdk/p-27cbd078.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-8d1dbbcf.system.entry.js +0 -1
|
@@ -267,19 +267,19 @@ const getFieldSettings = (field) => {
|
|
|
267
267
|
* to be used for order-sensitive components e.g. translate-then-rotate.
|
|
268
268
|
*/
|
|
269
269
|
const updateCssTransform = (el, key, value) => {
|
|
270
|
+
console.log('update', key, value, el.style.transform);
|
|
270
271
|
// e.g. 'scale(1.87908, 1.87908) translate(0px, 0px);'
|
|
271
|
-
const currentTransform = el.style.transform;
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
console.log('nt', el.style.transform);
|
|
272
|
+
const currentTransform = el.style.transform || '';
|
|
273
|
+
const newValue = `${key}(${value})`;
|
|
274
|
+
if (currentTransform.includes(key)) {
|
|
275
|
+
console.log('updating', currentTransform, currentTransform.replace(new RegExp(`${key}\(.+?\)`), newValue));
|
|
276
|
+
el.style.transform = currentTransform.replace(new RegExp(`${key}\\(.+?\\)`), newValue);
|
|
277
|
+
}
|
|
278
|
+
else {
|
|
279
|
+
console.log('appending', currentTransform, currentTransform + ' ' + newValue);
|
|
280
|
+
el.style.transform = currentTransform + ' ' + newValue;
|
|
281
|
+
}
|
|
282
|
+
console.log('now', el.style.transform);
|
|
283
283
|
};
|
|
284
284
|
const formatLocalDate = (date) => index.format(date, 'P').replace(/\//g, '-');
|
|
285
285
|
const formatEnvelopeDate = (envelope) => formatLocalDate(new Date(envelope.updated_at));
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5e4233b0.js');
|
|
6
|
-
const utils = require('./utils-
|
|
6
|
+
const utils = require('./utils-54525087.js');
|
|
7
7
|
const popper = require('./popper-11d5f714.js');
|
|
8
8
|
require('./Envelopes-7381bd9a.js');
|
|
9
9
|
require('./Token-576f0e8a.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5e4233b0.js');
|
|
6
6
|
const Colors = require('./Colors-e809dcc9.js');
|
|
7
|
-
const utils = require('./utils-
|
|
7
|
+
const utils = require('./utils-54525087.js');
|
|
8
8
|
const templateStore = require('./templateStore-4e927fb4.js');
|
|
9
9
|
require('./Envelopes-7381bd9a.js');
|
|
10
10
|
require('./Token-576f0e8a.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5e4233b0.js');
|
|
6
|
-
const utils = require('./utils-
|
|
6
|
+
const utils = require('./utils-54525087.js');
|
|
7
7
|
const Colors = require('./Colors-e809dcc9.js');
|
|
8
8
|
const templateStore = require('./templateStore-4e927fb4.js');
|
|
9
9
|
const index$1 = require('./index-6528b430.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5e4233b0.js');
|
|
6
6
|
const Colors = require('./Colors-e809dcc9.js');
|
|
7
|
-
const utils = require('./utils-
|
|
7
|
+
const utils = require('./utils-54525087.js');
|
|
8
8
|
const templateStore = require('./templateStore-4e927fb4.js');
|
|
9
9
|
require('./Envelopes-7381bd9a.js');
|
|
10
10
|
require('./Token-576f0e8a.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5e4233b0.js');
|
|
6
6
|
const Colors = require('./Colors-e809dcc9.js');
|
|
7
|
-
const utils = require('./utils-
|
|
7
|
+
const utils = require('./utils-54525087.js');
|
|
8
8
|
const templateStore = require('./templateStore-4e927fb4.js');
|
|
9
9
|
require('./Envelopes-7381bd9a.js');
|
|
10
10
|
require('./Token-576f0e8a.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5e4233b0.js');
|
|
6
6
|
const Colors = require('./Colors-e809dcc9.js');
|
|
7
|
-
const utils = require('./utils-
|
|
7
|
+
const utils = require('./utils-54525087.js');
|
|
8
8
|
const templateStore = require('./templateStore-4e927fb4.js');
|
|
9
9
|
require('./Envelopes-7381bd9a.js');
|
|
10
10
|
require('./Token-576f0e8a.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5e4233b0.js');
|
|
6
6
|
const Colors = require('./Colors-e809dcc9.js');
|
|
7
|
-
const utils = require('./utils-
|
|
7
|
+
const utils = require('./utils-54525087.js');
|
|
8
8
|
const templateStore = require('./templateStore-4e927fb4.js');
|
|
9
9
|
require('./Envelopes-7381bd9a.js');
|
|
10
10
|
require('./Token-576f0e8a.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5e4233b0.js');
|
|
6
6
|
const Colors = require('./Colors-e809dcc9.js');
|
|
7
|
-
const utils = require('./utils-
|
|
7
|
+
const utils = require('./utils-54525087.js');
|
|
8
8
|
const templateStore = require('./templateStore-4e927fb4.js');
|
|
9
9
|
require('./Envelopes-7381bd9a.js');
|
|
10
10
|
require('./Token-576f0e8a.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5e4233b0.js');
|
|
6
6
|
const Colors = require('./Colors-e809dcc9.js');
|
|
7
|
-
const utils = require('./utils-
|
|
7
|
+
const utils = require('./utils-54525087.js');
|
|
8
8
|
const templateStore = require('./templateStore-4e927fb4.js');
|
|
9
9
|
require('./Envelopes-7381bd9a.js');
|
|
10
10
|
require('./Token-576f0e8a.js');
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-5e4233b0.js');
|
|
6
6
|
const Colors = require('./Colors-e809dcc9.js');
|
|
7
7
|
const templateStore = require('./templateStore-4e927fb4.js');
|
|
8
|
-
const utils = require('./utils-
|
|
8
|
+
const utils = require('./utils-54525087.js');
|
|
9
9
|
require('./index-cfa67e73.js');
|
|
10
10
|
require('./Primitives-be5088cb.js');
|
|
11
11
|
require('./Envelopes-7381bd9a.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5e4233b0.js');
|
|
6
6
|
const Colors = require('./Colors-e809dcc9.js');
|
|
7
|
-
const utils = require('./utils-
|
|
7
|
+
const utils = require('./utils-54525087.js');
|
|
8
8
|
const templateStore = require('./templateStore-4e927fb4.js');
|
|
9
9
|
const index$1 = require('./index-6528b430.js');
|
|
10
10
|
require('./Envelopes-7381bd9a.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5e4233b0.js');
|
|
6
6
|
const VerdocsEndpoint = require('./VerdocsEndpoint-26bb7607.js');
|
|
7
|
-
const utils = require('./utils-
|
|
7
|
+
const utils = require('./utils-54525087.js');
|
|
8
8
|
const templateStore = require('./templateStore-4e927fb4.js');
|
|
9
9
|
const Templates = require('./Templates-721828dc.js');
|
|
10
10
|
const errors = require('./errors-0396da3d.js');
|
|
@@ -8,7 +8,7 @@ const Validators = require('./Validators-16e6d7d1.js');
|
|
|
8
8
|
const Colors = require('./Colors-e809dcc9.js');
|
|
9
9
|
const templateStore = require('./templateStore-4e927fb4.js');
|
|
10
10
|
const Templates = require('./Templates-721828dc.js');
|
|
11
|
-
const utils = require('./utils-
|
|
11
|
+
const utils = require('./utils-54525087.js');
|
|
12
12
|
const errors = require('./errors-0396da3d.js');
|
|
13
13
|
require('./Token-576f0e8a.js');
|
|
14
14
|
require('./index-cfa67e73.js');
|
|
@@ -7,7 +7,7 @@ const Envelopes = require('./Envelopes-7381bd9a.js');
|
|
|
7
7
|
const VerdocsEndpoint = require('./VerdocsEndpoint-26bb7607.js');
|
|
8
8
|
const Validators = require('./Validators-16e6d7d1.js');
|
|
9
9
|
const Primitives = require('./Primitives-be5088cb.js');
|
|
10
|
-
const utils = require('./utils-
|
|
10
|
+
const utils = require('./utils-54525087.js');
|
|
11
11
|
const Envelopes$1 = require('./Envelopes-2350fcf1.js');
|
|
12
12
|
const errors = require('./errors-0396da3d.js');
|
|
13
13
|
require('./Token-576f0e8a.js');
|
|
@@ -7,9 +7,9 @@ const Templates = require('./Templates-ed812768.js');
|
|
|
7
7
|
const TemplateDocuments = require('./TemplateDocuments-6b395b32.js');
|
|
8
8
|
const VerdocsEndpoint = require('./VerdocsEndpoint-26bb7607.js');
|
|
9
9
|
const errors = require('./errors-0396da3d.js');
|
|
10
|
-
const interact_min = require('./interact.min-
|
|
10
|
+
const interact_min = require('./interact.min-272ddfb4.js');
|
|
11
11
|
const Fields = require('./Fields-705a2168.js');
|
|
12
|
-
const utils = require('./utils-
|
|
12
|
+
const utils = require('./utils-54525087.js');
|
|
13
13
|
const templateStore = require('./templateStore-4e927fb4.js');
|
|
14
14
|
const Templates$1 = require('./Templates-721828dc.js');
|
|
15
15
|
require('./Token-576f0e8a.js');
|
|
@@ -96,7 +96,7 @@ const VerdocsTemplateCreate = class {
|
|
|
96
96
|
if (!this.endpoint.session) {
|
|
97
97
|
return (index.h(index.Host, null, index.h("verdocs-component-error", { message: "You must be authenticated to use this module." })));
|
|
98
98
|
}
|
|
99
|
-
return (index.h("form", { onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, index.h("input", { type: "file", id: "verdocs-template-create-file", multiple: true, accept: "application/pdf", style: { display: 'none' }, onChange: e => this.handleFileChanged(e) }), this.creating ? (index.h("div", { class: "loader-wrapper" }, index.h("verdocs-loader", null), index.h("div", { class: "loading-text" }, "Processing, please wait..."))) : (index.h("div", { class: "upload-box" }, index.h("div", null, index.h("span", { innerHTML: FileIcon })), index.h("div", { style: { marginTop: '20px', fontSize: '20px', fontWeight: 'bold' } }, this.file ? this.file.name : 'Drag a file here'), index.h("div", { style: {
|
|
99
|
+
return (index.h("form", { onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, index.h("input", { type: "file", id: "verdocs-template-create-file", multiple: true, accept: "application/pdf", style: { display: 'none' }, onChange: e => this.handleFileChanged(e) }), this.creating ? (index.h("div", { class: "loader-wrapper" }, index.h("verdocs-loader", null), index.h("div", { class: "loading-text" }, "Processing, please wait..."))) : (index.h("div", { class: "upload-box" }, index.h("div", null, index.h("span", { innerHTML: FileIcon })), index.h("div", { style: { marginTop: '20px', fontSize: '20px', fontWeight: 'bold', overflowWrap: 'anywhere' } }, this.file ? this.file.name : 'Drag a file here'), index.h("div", { style: {
|
|
100
100
|
marginTop: '20px',
|
|
101
101
|
marginBottom: '20px',
|
|
102
102
|
fontSize: '16px',
|
|
@@ -304,7 +304,9 @@ const VerdocsTemplateFields = class {
|
|
|
304
304
|
const clickedY = e.offsetY;
|
|
305
305
|
const width = utils.defaultWidth(this.placing);
|
|
306
306
|
const height = utils.defaultHeight(this.placing);
|
|
307
|
-
const
|
|
307
|
+
const cachedPage = this.cachedPageInfo[pageNumber];
|
|
308
|
+
console.log('Cached page', cachedPage);
|
|
309
|
+
const { naturalWidth = 612, naturalHeight = 792 } = cachedPage;
|
|
308
310
|
const { x, y } = this.viewCoordinatesToPageCoordinates(clickedX, clickedY, pageNumber, naturalWidth - width, naturalHeight - height);
|
|
309
311
|
const field = {
|
|
310
312
|
name: this.generateFieldName(this.placing, pageNumber),
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-5e4233b0.js');
|
|
6
6
|
const TemplateDocuments = require('./TemplateDocuments-6b395b32.js');
|
|
7
7
|
const VerdocsEndpoint = require('./VerdocsEndpoint-26bb7607.js');
|
|
8
|
-
const utils = require('./utils-
|
|
8
|
+
const utils = require('./utils-54525087.js');
|
|
9
9
|
require('./Token-576f0e8a.js');
|
|
10
10
|
require('./Envelopes-7381bd9a.js');
|
|
11
11
|
require('./Files-4bdc0c0f.js');
|
|
@@ -92,6 +92,7 @@ const VerdocsTemplateDocumentPage = class {
|
|
|
92
92
|
this.naturalHeight = e.target.naturalHeight;
|
|
93
93
|
this.aspectRatio = this.naturalWidth / this.naturalHeight;
|
|
94
94
|
this.virtualHeight = this.virtualWidth / this.aspectRatio;
|
|
95
|
+
this.renderedHeight = e.target.offsetWidth / this.aspectRatio;
|
|
95
96
|
} })) : (index.h("div", null)))));
|
|
96
97
|
}
|
|
97
98
|
get container() { return index.getElement(this); }
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5e4233b0.js');
|
|
6
|
-
const interact_min = require('./interact.min-
|
|
6
|
+
const interact_min = require('./interact.min-272ddfb4.js');
|
|
7
7
|
const Roles = require('./Roles-9b593b95.js');
|
|
8
8
|
const VerdocsEndpoint = require('./VerdocsEndpoint-26bb7607.js');
|
|
9
9
|
const Colors = require('./Colors-e809dcc9.js');
|
|
10
10
|
const templateStore = require('./templateStore-4e927fb4.js');
|
|
11
11
|
const Templates = require('./Templates-721828dc.js');
|
|
12
|
-
const utils = require('./utils-
|
|
12
|
+
const utils = require('./utils-54525087.js');
|
|
13
13
|
const errors = require('./errors-0396da3d.js');
|
|
14
14
|
require('./Token-576f0e8a.js');
|
|
15
15
|
require('./index-cfa67e73.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5e4233b0.js');
|
|
6
6
|
const VerdocsEndpoint = require('./VerdocsEndpoint-26bb7607.js');
|
|
7
|
-
const utils = require('./utils-
|
|
7
|
+
const utils = require('./utils-54525087.js');
|
|
8
8
|
const Envelopes = require('./Envelopes-2350fcf1.js');
|
|
9
9
|
const errors = require('./errors-0396da3d.js');
|
|
10
10
|
require('./Token-576f0e8a.js');
|
package/dist/collection/components/templates/verdocs-template-create/verdocs-template-create.js
CHANGED
|
@@ -78,7 +78,7 @@ export class VerdocsTemplateCreate {
|
|
|
78
78
|
if (!this.endpoint.session) {
|
|
79
79
|
return (h(Host, null, h("verdocs-component-error", { message: "You must be authenticated to use this module." })));
|
|
80
80
|
}
|
|
81
|
-
return (h("form", { onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("input", { type: "file", id: "verdocs-template-create-file", multiple: true, accept: "application/pdf", style: { display: 'none' }, onChange: e => this.handleFileChanged(e) }), this.creating ? (h("div", { class: "loader-wrapper" }, h("verdocs-loader", null), h("div", { class: "loading-text" }, "Processing, please wait..."))) : (h("div", { class: "upload-box" }, h("div", null, h("span", { innerHTML: FileIcon })), h("div", { style: { marginTop: '20px', fontSize: '20px', fontWeight: 'bold' } }, this.file ? this.file.name : 'Drag a file here'), h("div", { style: {
|
|
81
|
+
return (h("form", { onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("input", { type: "file", id: "verdocs-template-create-file", multiple: true, accept: "application/pdf", style: { display: 'none' }, onChange: e => this.handleFileChanged(e) }), this.creating ? (h("div", { class: "loader-wrapper" }, h("verdocs-loader", null), h("div", { class: "loading-text" }, "Processing, please wait..."))) : (h("div", { class: "upload-box" }, h("div", null, h("span", { innerHTML: FileIcon })), h("div", { style: { marginTop: '20px', fontSize: '20px', fontWeight: 'bold', overflowWrap: 'anywhere' } }, this.file ? this.file.name : 'Drag a file here'), h("div", { style: {
|
|
82
82
|
marginTop: '20px',
|
|
83
83
|
marginBottom: '20px',
|
|
84
84
|
fontSize: '16px',
|
|
@@ -85,6 +85,7 @@ export class VerdocsTemplateDocumentPage {
|
|
|
85
85
|
this.naturalHeight = e.target.naturalHeight;
|
|
86
86
|
this.aspectRatio = this.naturalWidth / this.naturalHeight;
|
|
87
87
|
this.virtualHeight = this.virtualWidth / this.aspectRatio;
|
|
88
|
+
this.renderedHeight = e.target.offsetWidth / this.aspectRatio;
|
|
88
89
|
} })) : (h("div", null)))));
|
|
89
90
|
}
|
|
90
91
|
static get is() { return "verdocs-template-document-page"; }
|
package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.js
CHANGED
|
@@ -201,7 +201,9 @@ export class VerdocsTemplateFields {
|
|
|
201
201
|
const clickedY = e.offsetY;
|
|
202
202
|
const width = defaultWidth(this.placing);
|
|
203
203
|
const height = defaultHeight(this.placing);
|
|
204
|
-
const
|
|
204
|
+
const cachedPage = this.cachedPageInfo[pageNumber];
|
|
205
|
+
console.log('Cached page', cachedPage);
|
|
206
|
+
const { naturalWidth = 612, naturalHeight = 792 } = cachedPage;
|
|
205
207
|
const { x, y } = this.viewCoordinatesToPageCoordinates(clickedX, clickedY, pageNumber, naturalWidth - width, naturalHeight - height);
|
|
206
208
|
const field = {
|
|
207
209
|
name: this.generateFieldName(this.placing, pageNumber),
|
|
@@ -3,8 +3,8 @@ export default {
|
|
|
3
3
|
title: 'Templates/Fields',
|
|
4
4
|
component: 'verdocs-template-fields',
|
|
5
5
|
args: {
|
|
6
|
-
|
|
7
|
-
templateId: 'd2338742-f3a1-465b-8592-806587413cc1',
|
|
6
|
+
templateId: 'ea7a792f-7e46-4662-a0ff-db6bd389306e',
|
|
7
|
+
// templateId: 'd2338742-f3a1-465b-8592-806587413cc1',
|
|
8
8
|
},
|
|
9
9
|
argTypes: {
|
|
10
10
|
onCancel: { action: 'cancel' },
|
|
@@ -226,19 +226,19 @@ export const getFieldSettings = (field) => {
|
|
|
226
226
|
* to be used for order-sensitive components e.g. translate-then-rotate.
|
|
227
227
|
*/
|
|
228
228
|
export const updateCssTransform = (el, key, value) => {
|
|
229
|
+
console.log('update', key, value, el.style.transform);
|
|
229
230
|
// e.g. 'scale(1.87908, 1.87908) translate(0px, 0px);'
|
|
230
|
-
const currentTransform = el.style.transform;
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
console.log('nt', el.style.transform);
|
|
231
|
+
const currentTransform = el.style.transform || '';
|
|
232
|
+
const newValue = `${key}(${value})`;
|
|
233
|
+
if (currentTransform.includes(key)) {
|
|
234
|
+
console.log('updating', currentTransform, currentTransform.replace(new RegExp(`${key}\(.+?\)`), newValue));
|
|
235
|
+
el.style.transform = currentTransform.replace(new RegExp(`${key}\\(.+?\\)`), newValue);
|
|
236
|
+
}
|
|
237
|
+
else {
|
|
238
|
+
console.log('appending', currentTransform, currentTransform + ' ' + newValue);
|
|
239
|
+
el.style.transform = currentTransform + ' ' + newValue;
|
|
240
|
+
}
|
|
241
|
+
console.log('now', el.style.transform);
|
|
242
242
|
};
|
|
243
243
|
export const formatLocalDate = (date) => format(date, 'P').replace(/\//g, '-');
|
|
244
244
|
const formatEnvelopeDate = (envelope) => formatLocalDate(new Date(envelope.updated_at));
|
package/dist/components/utils.js
CHANGED
|
@@ -265,19 +265,19 @@ const getFieldSettings = (field) => {
|
|
|
265
265
|
* to be used for order-sensitive components e.g. translate-then-rotate.
|
|
266
266
|
*/
|
|
267
267
|
const updateCssTransform = (el, key, value) => {
|
|
268
|
+
console.log('update', key, value, el.style.transform);
|
|
268
269
|
// e.g. 'scale(1.87908, 1.87908) translate(0px, 0px);'
|
|
269
|
-
const currentTransform = el.style.transform;
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
console.log('nt', el.style.transform);
|
|
270
|
+
const currentTransform = el.style.transform || '';
|
|
271
|
+
const newValue = `${key}(${value})`;
|
|
272
|
+
if (currentTransform.includes(key)) {
|
|
273
|
+
console.log('updating', currentTransform, currentTransform.replace(new RegExp(`${key}\(.+?\)`), newValue));
|
|
274
|
+
el.style.transform = currentTransform.replace(new RegExp(`${key}\\(.+?\\)`), newValue);
|
|
275
|
+
}
|
|
276
|
+
else {
|
|
277
|
+
console.log('appending', currentTransform, currentTransform + ' ' + newValue);
|
|
278
|
+
el.style.transform = currentTransform + ' ' + newValue;
|
|
279
|
+
}
|
|
280
|
+
console.log('now', el.style.transform);
|
|
281
281
|
};
|
|
282
282
|
const formatLocalDate = (date) => format(date, 'P').replace(/\//g, '-');
|
|
283
283
|
const formatEnvelopeDate = (envelope) => formatLocalDate(new Date(envelope.updated_at));
|
|
@@ -85,7 +85,7 @@ const VerdocsTemplateCreate = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
|
85
85
|
if (!this.endpoint.session) {
|
|
86
86
|
return (h(Host, null, h("verdocs-component-error", { message: "You must be authenticated to use this module." })));
|
|
87
87
|
}
|
|
88
|
-
return (h("form", { onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("input", { type: "file", id: "verdocs-template-create-file", multiple: true, accept: "application/pdf", style: { display: 'none' }, onChange: e => this.handleFileChanged(e) }), this.creating ? (h("div", { class: "loader-wrapper" }, h("verdocs-loader", null), h("div", { class: "loading-text" }, "Processing, please wait..."))) : (h("div", { class: "upload-box" }, h("div", null, h("span", { innerHTML: FileIcon })), h("div", { style: { marginTop: '20px', fontSize: '20px', fontWeight: 'bold' } }, this.file ? this.file.name : 'Drag a file here'), h("div", { style: {
|
|
88
|
+
return (h("form", { onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("input", { type: "file", id: "verdocs-template-create-file", multiple: true, accept: "application/pdf", style: { display: 'none' }, onChange: e => this.handleFileChanged(e) }), this.creating ? (h("div", { class: "loader-wrapper" }, h("verdocs-loader", null), h("div", { class: "loading-text" }, "Processing, please wait..."))) : (h("div", { class: "upload-box" }, h("div", null, h("span", { innerHTML: FileIcon })), h("div", { style: { marginTop: '20px', fontSize: '20px', fontWeight: 'bold', overflowWrap: 'anywhere' } }, this.file ? this.file.name : 'Drag a file here'), h("div", { style: {
|
|
89
89
|
marginTop: '20px',
|
|
90
90
|
marginBottom: '20px',
|
|
91
91
|
fontSize: '16px',
|
|
@@ -85,6 +85,7 @@ const VerdocsTemplateDocumentPage = /*@__PURE__*/ proxyCustomElement(class exten
|
|
|
85
85
|
this.naturalHeight = e.target.naturalHeight;
|
|
86
86
|
this.aspectRatio = this.naturalWidth / this.naturalHeight;
|
|
87
87
|
this.virtualHeight = this.virtualWidth / this.aspectRatio;
|
|
88
|
+
this.renderedHeight = e.target.offsetWidth / this.aspectRatio;
|
|
88
89
|
} })) : (h("div", null)))));
|
|
89
90
|
}
|
|
90
91
|
get container() { return this; }
|
|
@@ -210,7 +210,9 @@ const VerdocsTemplateFields = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
|
210
210
|
const clickedY = e.offsetY;
|
|
211
211
|
const width = defaultWidth(this.placing);
|
|
212
212
|
const height = defaultHeight(this.placing);
|
|
213
|
-
const
|
|
213
|
+
const cachedPage = this.cachedPageInfo[pageNumber];
|
|
214
|
+
console.log('Cached page', cachedPage);
|
|
215
|
+
const { naturalWidth = 612, naturalHeight = 792 } = cachedPage;
|
|
214
216
|
const { x, y } = this.viewCoordinatesToPageCoordinates(clickedX, clickedY, pageNumber, naturalWidth - width, naturalHeight - height);
|
|
215
217
|
const field = {
|
|
216
218
|
name: this.generateFieldName(this.placing, pageNumber),
|
package/dist/docs.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as getDefaultExportFromCjs, d as createCommonjsModule } from './utils-
|
|
1
|
+
import { c as getDefaultExportFromCjs, d as createCommonjsModule } from './utils-e9a6b9e4.js';
|
|
2
2
|
|
|
3
3
|
var interact_min = createCommonjsModule(function (module, exports) {
|
|
4
4
|
/* interact.js 1.10.17 | https://interactjs.io/license */
|
|
@@ -265,19 +265,19 @@ const getFieldSettings = (field) => {
|
|
|
265
265
|
* to be used for order-sensitive components e.g. translate-then-rotate.
|
|
266
266
|
*/
|
|
267
267
|
const updateCssTransform = (el, key, value) => {
|
|
268
|
+
console.log('update', key, value, el.style.transform);
|
|
268
269
|
// e.g. 'scale(1.87908, 1.87908) translate(0px, 0px);'
|
|
269
|
-
const currentTransform = el.style.transform;
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
console.log('nt', el.style.transform);
|
|
270
|
+
const currentTransform = el.style.transform || '';
|
|
271
|
+
const newValue = `${key}(${value})`;
|
|
272
|
+
if (currentTransform.includes(key)) {
|
|
273
|
+
console.log('updating', currentTransform, currentTransform.replace(new RegExp(`${key}\(.+?\)`), newValue));
|
|
274
|
+
el.style.transform = currentTransform.replace(new RegExp(`${key}\\(.+?\\)`), newValue);
|
|
275
|
+
}
|
|
276
|
+
else {
|
|
277
|
+
console.log('appending', currentTransform, currentTransform + ' ' + newValue);
|
|
278
|
+
el.style.transform = currentTransform + ' ' + newValue;
|
|
279
|
+
}
|
|
280
|
+
console.log('now', el.style.transform);
|
|
281
281
|
};
|
|
282
282
|
const formatLocalDate = (date) => format(date, 'P').replace(/\//g, '-');
|
|
283
283
|
const formatEnvelopeDate = (envelope) => formatLocalDate(new Date(envelope.updated_at));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-e64d45e2.js';
|
|
2
|
-
import { t as throttle } from './utils-
|
|
2
|
+
import { t as throttle } from './utils-e9a6b9e4.js';
|
|
3
3
|
import { c as createPopper } from './popper-f860750c.js';
|
|
4
4
|
import './Envelopes-eb3eef02.js';
|
|
5
5
|
import './Token-54690789.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-e64d45e2.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-e9a6b9e4.js';
|
|
4
4
|
import { s as state } from './templateStore-5cb73464.js';
|
|
5
5
|
import './Envelopes-eb3eef02.js';
|
|
6
6
|
import './Token-54690789.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-e64d45e2.js';
|
|
2
|
-
import { g as getFieldSettings } from './utils-
|
|
2
|
+
import { g as getFieldSettings } from './utils-e9a6b9e4.js';
|
|
3
3
|
import { g as getRGBA } from './Colors-1b298092.js';
|
|
4
4
|
import { s as state } from './templateStore-5cb73464.js';
|
|
5
5
|
import { f as format } from './index-d264c496.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-e64d45e2.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-e9a6b9e4.js';
|
|
4
4
|
import { s as state } from './templateStore-5cb73464.js';
|
|
5
5
|
import './Envelopes-eb3eef02.js';
|
|
6
6
|
import './Token-54690789.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-e64d45e2.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-e9a6b9e4.js';
|
|
4
4
|
import { s as state } from './templateStore-5cb73464.js';
|
|
5
5
|
import './Envelopes-eb3eef02.js';
|
|
6
6
|
import './Token-54690789.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-e64d45e2.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-e9a6b9e4.js';
|
|
4
4
|
import { s as state } from './templateStore-5cb73464.js';
|
|
5
5
|
import './Envelopes-eb3eef02.js';
|
|
6
6
|
import './Token-54690789.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-e64d45e2.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-e9a6b9e4.js';
|
|
4
4
|
import { s as state } from './templateStore-5cb73464.js';
|
|
5
5
|
import './Envelopes-eb3eef02.js';
|
|
6
6
|
import './Token-54690789.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-e64d45e2.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-e9a6b9e4.js';
|
|
4
4
|
import { s as state } from './templateStore-5cb73464.js';
|
|
5
5
|
import './Envelopes-eb3eef02.js';
|
|
6
6
|
import './Token-54690789.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-e64d45e2.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-e9a6b9e4.js';
|
|
4
4
|
import { s as state } from './templateStore-5cb73464.js';
|
|
5
5
|
import './Envelopes-eb3eef02.js';
|
|
6
6
|
import './Token-54690789.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-e64d45e2.js';
|
|
2
2
|
import { g as getRGBA } from './Colors-1b298092.js';
|
|
3
3
|
import { s as state } from './templateStore-5cb73464.js';
|
|
4
|
-
import { g as getFieldSettings } from './utils-
|
|
4
|
+
import { g as getFieldSettings } from './utils-e9a6b9e4.js';
|
|
5
5
|
import './index-24fd1580.js';
|
|
6
6
|
import './Primitives-054bc6e5.js';
|
|
7
7
|
import './Envelopes-eb3eef02.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-e64d45e2.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-e9a6b9e4.js';
|
|
4
4
|
import { s as state } from './templateStore-5cb73464.js';
|
|
5
5
|
import { f as format } from './index-d264c496.js';
|
|
6
6
|
import './Envelopes-eb3eef02.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-e64d45e2.js';
|
|
2
2
|
import { V as VerdocsEndpoint } from './VerdocsEndpoint-d50a8d28.js';
|
|
3
|
-
import { r as renderDocumentField, a as getRoleIndex } from './utils-
|
|
3
|
+
import { r as renderDocumentField, a as getRoleIndex } from './utils-e9a6b9e4.js';
|
|
4
4
|
import { s as state } from './templateStore-5cb73464.js';
|
|
5
5
|
import { l as loadTemplate } from './Templates-f8a6628a.js';
|
|
6
6
|
import { S as SDKError } from './errors-9b5498c8.js';
|
|
@@ -4,7 +4,7 @@ import { i as isValidEmail, a as isValidPhone } from './Validators-f110bae2.js';
|
|
|
4
4
|
import { g as getRGBA } from './Colors-1b298092.js';
|
|
5
5
|
import { s as state } from './templateStore-5cb73464.js';
|
|
6
6
|
import { l as loadTemplate } from './Templates-f8a6628a.js';
|
|
7
|
-
import { a as getRoleIndex } from './utils-
|
|
7
|
+
import { a as getRoleIndex } from './utils-e9a6b9e4.js';
|
|
8
8
|
import { S as SDKError } from './errors-9b5498c8.js';
|
|
9
9
|
import './Token-54690789.js';
|
|
10
10
|
import './index-24fd1580.js';
|
|
@@ -3,7 +3,7 @@ import { c as getSigningSession, u as updateEnvelopeField, d as updateEnvelopeFi
|
|
|
3
3
|
import { V as VerdocsEndpoint } from './VerdocsEndpoint-d50a8d28.js';
|
|
4
4
|
import { a as isValidPhone, i as isValidEmail } from './Validators-f110bae2.js';
|
|
5
5
|
import { f as fullNameToInitials } from './Primitives-054bc6e5.js';
|
|
6
|
-
import { s as saveAttachment, u as updateDocumentFieldValue, a as getRoleIndex, r as renderDocumentField, b as getFieldId } from './utils-
|
|
6
|
+
import { s as saveAttachment, u as updateDocumentFieldValue, a as getRoleIndex, r as renderDocumentField, b as getFieldId } from './utils-e9a6b9e4.js';
|
|
7
7
|
import { g as getEnvelopeById, s as state } from './Envelopes-7f3b60de.js';
|
|
8
8
|
import { S as SDKError } from './errors-9b5498c8.js';
|
|
9
9
|
import './Token-54690789.js';
|