@verdocs/web-sdk 2.0.11 → 2.0.14
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/Roles-9b593b95.js +28 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{verdocs-button-panel_2.cjs.entry.js → verdocs-button-panel_3.cjs.entry.js} +17 -0
- package/dist/cjs/{verdocs-checkbox_5.cjs.entry.js → verdocs-checkbox_4.cjs.entry.js} +0 -17
- package/dist/cjs/verdocs-radio-button_3.cjs.entry.js +241 -0
- package/dist/cjs/verdocs-sign.cjs.entry.js +1 -0
- package/dist/cjs/{verdocs-template-fields_4.cjs.entry.js → verdocs-template-attachments_4.cjs.entry.js} +229 -238
- package/dist/cjs/{verdocs-template-document-page_2.cjs.entry.js → verdocs-template-document-page.cjs.entry.js} +0 -45
- package/dist/cjs/verdocs-templates-list.cjs.entry.js +23 -30
- package/dist/cjs/verdocs-toolbar-icon.cjs.entry.js +51 -0
- package/dist/cjs/verdocs-web-sdk.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +1 -0
- package/dist/collection/components/templates/verdocs-templates-list/verdocs-templates-list.css +1 -0
- package/dist/collection/components/templates/verdocs-templates-list/verdocs-templates-list.js +25 -114
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.js +0 -1
- package/dist/components/verdocs-sign.js +1 -0
- package/dist/components/verdocs-templates-list.js +24 -33
- package/dist/custom-elements.json +0 -21
- package/dist/docs.json +4 -157
- package/dist/esm/Roles-6eb459df.js +24 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-6412577d.js → utils-28ea5af7.js} +1 -1
- package/dist/esm/{verdocs-button-panel_2.entry.js → verdocs-button-panel_3.entry.js} +17 -1
- package/dist/esm/{verdocs-checkbox_5.entry.js → verdocs-checkbox_4.entry.js} +1 -17
- package/dist/esm/verdocs-contact-picker.entry.js +1 -1
- package/dist/esm/verdocs-envelope-document-page.entry.js +1 -1
- package/dist/esm/verdocs-envelopes-list.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-pagination_3.entry.js +1 -1
- package/dist/esm/verdocs-preview.entry.js +1 -1
- package/dist/esm/verdocs-radio-button_3.entry.js +235 -0
- package/dist/esm/verdocs-send.entry.js +1 -1
- package/dist/esm/verdocs-sign.entry.js +2 -1
- package/dist/esm/{verdocs-template-fields_4.entry.js → verdocs-template-attachments_4.entry.js} +227 -236
- package/dist/esm/{verdocs-template-document-page_2.entry.js → verdocs-template-document-page.entry.js} +2 -46
- package/dist/esm/verdocs-templates-list.entry.js +23 -30
- package/dist/esm/verdocs-toolbar-icon.entry.js +47 -0
- package/dist/esm/verdocs-view.entry.js +1 -1
- package/dist/esm/verdocs-web-sdk.js +1 -1
- package/dist/esm-es5/Roles-6eb459df.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{utils-6412577d.js → utils-28ea5af7.js} +1 -1
- package/dist/esm-es5/verdocs-button-panel_3.entry.js +1 -0
- package/dist/esm-es5/{verdocs-checkbox_5.entry.js → verdocs-checkbox_4.entry.js} +1 -1
- package/dist/esm-es5/verdocs-contact-picker.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelopes-list.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-pagination_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-preview.entry.js +1 -1
- package/dist/esm-es5/verdocs-radio-button_3.entry.js +1 -0
- 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_4.entry.js +1 -0
- package/dist/esm-es5/verdocs-template-document-page.entry.js +1 -0
- package/dist/esm-es5/verdocs-templates-list.entry.js +1 -1
- package/dist/esm-es5/verdocs-toolbar-icon.entry.js +1 -0
- package/dist/esm-es5/verdocs-view.entry.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js +1 -1
- package/dist/types/components/templates/verdocs-templates-list/verdocs-templates-list.d.ts +0 -25
- package/dist/types/components.d.ts +0 -53
- package/dist/typings.d.ts +4 -0
- package/dist/verdocs-web-sdk/{p-fc6ce0d8.js → p-09546ab7.js} +1 -1
- package/dist/verdocs-web-sdk/p-0a86db90.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-216fb277.system.entry.js → p-0e5108f1.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e40720da.system.entry.js → p-13135b13.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a31bf4c7.entry.js → p-153b3888.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ea87070d.system.entry.js → p-23414209.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-2960c946.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-d13da19a.entry.js → p-2a5678aa.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-119c68da.entry.js → p-2ca89535.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-cfb617a2.system.entry.js → p-2db70c48.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-cbb985f6.system.entry.js → p-316909a7.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-47dd8143.entry.js → p-316e6f16.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-b4dee4ca.entry.js → p-3495a410.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-363b3a93.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-d0b40fce.entry.js → p-36995020.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-27c654c5.system.entry.js → p-41a34c27.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-13b3dd46.system.js → p-4e335343.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ba5565d4.entry.js → p-520faa8e.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9176b478.entry.js → p-53cec4e6.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-dca1d739.entry.js → p-546de38b.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e826490a.entry.js → p-55cd3b39.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-56c6e677.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-5a06c069.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-633926d8.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-647cdb84.system.js +1 -1
- package/dist/verdocs-web-sdk/{p-0867e803.entry.js → p-66c250cd.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ccc162ab.entry.js → p-66d71204.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-653b1563.system.entry.js → p-672ed964.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-25332568.system.entry.js → p-6b37e85a.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-07ec8b75.system.entry.js → p-6c181a99.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-7895b10e.system.entry.js → p-6ef5c42f.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-80177cc3.system.entry.js → p-7254de25.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d0c6885b.entry.js → p-74f5031e.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c214b652.entry.js → p-75559986.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-8027431e.js +1 -0
- package/dist/verdocs-web-sdk/p-8229e6df.system.js +1 -0
- package/dist/verdocs-web-sdk/{p-c9a691bf.system.entry.js → p-8d0d4e0c.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-4a4b097e.system.entry.js → p-977dceb3.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c079268f.system.entry.js → p-9d097bc8.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-9f6d6545.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-a3820b2c.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-071697d2.system.entry.js → p-a3e2f68f.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-8f370d3a.system.entry.js → p-a6626ecf.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-aadfc04d.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-b2d8c147.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-d145cb63.entry.js → p-b9535c18.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-1f8f50ec.entry.js → p-cd4d7848.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-87cf940c.system.entry.js → p-d4550712.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e01dd4e1.entry.js → p-d5c9930b.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3a0ba0b8.entry.js → p-d5eea358.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-657dacc4.system.entry.js → p-ef3df424.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-10b88811.entry.js → p-f0f8c91a.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-f3ac446d.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-87a2cd5d.system.entry.js → p-f6b176b1.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-fdf8bc45.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/ipc-test.cjs.entry.js +0 -37
- package/dist/cjs/verdocs-radio-button.cjs.entry.js +0 -23
- package/dist/cjs/verdocs-template-attachments_2.cjs.entry.js +0 -236
- package/dist/collection/components/other/ipctest/ipc-test.css +0 -4
- package/dist/collection/components/other/ipctest/ipc-test.js +0 -79
- package/dist/collection/components/other/ipctest/ipc-test.stories.js +0 -8
- package/dist/components/ipc-test.d.ts +0 -11
- package/dist/components/ipc-test.js +0 -142
- package/dist/esm/ipc-test.entry.js +0 -33
- package/dist/esm/verdocs-radio-button.entry.js +0 -19
- package/dist/esm/verdocs-template-attachments_2.entry.js +0 -231
- package/dist/esm-es5/ipc-test.entry.js +0 -1
- package/dist/esm-es5/verdocs-button-panel_2.entry.js +0 -1
- package/dist/esm-es5/verdocs-radio-button.entry.js +0 -1
- package/dist/esm-es5/verdocs-template-attachments_2.entry.js +0 -1
- package/dist/esm-es5/verdocs-template-document-page_2.entry.js +0 -1
- package/dist/esm-es5/verdocs-template-fields_4.entry.js +0 -1
- package/dist/types/components/other/ipctest/ipc-test.d.ts +0 -17
- package/dist/types/components/other/ipctest/ipc-test.stories.d.ts +0 -4
- package/dist/verdocs-web-sdk/p-0c5da644.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-1aa15768.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-23917fbc.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-2c589cfe.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-3f8cb451.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-4dc8cc71.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-63bb14bc.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-7c64faf3.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-7c72fce6.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-7fc89f46.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-a4dd68fd.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-d2b86b2e.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-d6c341c4.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-fea16530.entry.js +0 -1
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement
|
|
2
2
|
import { i as getEnvelopeDocumentPageDisplayUri } from './Envelopes-290f96cc.js';
|
3
3
|
import './Types-5f31149e.js';
|
4
4
|
import { V as VerdocsEndpoint } from './VerdocsEndpoint-e447b318.js';
|
5
|
-
import { t as throttle } from './utils-
|
5
|
+
import { t as throttle } from './utils-28ea5af7.js';
|
6
6
|
import './_commonjsHelpers-5ec8f9b7.js';
|
7
7
|
import './Files-70a192df.js';
|
8
8
|
import './Types-de18e225.js';
|
@@ -3,7 +3,7 @@ import { s as searchEnvelopes, c as cancelEnvelope } from './Envelopes-290f96cc.
|
|
3
3
|
import { g as getRecipientsWithActions, a as userCanAct, b as userCanCancelEnvelope } from './Permissions-391258bd.js';
|
4
4
|
import './Types-5f31149e.js';
|
5
5
|
import { V as VerdocsEndpoint } from './VerdocsEndpoint-e447b318.js';
|
6
|
-
import { s as saveEnvelopesAsZip } from './utils-
|
6
|
+
import { s as saveEnvelopesAsZip } from './utils-28ea5af7.js';
|
7
7
|
import { V as VerdocsToast } from './Toast-f3b8fd46.js';
|
8
8
|
import { S as SDKError } from './errors-9b5498c8.js';
|
9
9
|
import './_commonjsHelpers-5ec8f9b7.js';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-151c0874.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-28ea5af7.js';
|
4
4
|
import './_commonjsHelpers-5ec8f9b7.js';
|
5
5
|
import './Envelopes-290f96cc.js';
|
6
6
|
import './Types-5f31149e.js';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-151c0874.js';
|
2
|
-
import { g as getFieldSettings } from './utils-
|
2
|
+
import { g as getFieldSettings } from './utils-28ea5af7.js';
|
3
3
|
import { g as getRGBA } from './Colors-1b298092.js';
|
4
4
|
import { a as FORMAT_DATE } from './Types-de18e225.js';
|
5
5
|
import { f as format } from './index-914ed6f7.js';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-151c0874.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-28ea5af7.js';
|
4
4
|
import './_commonjsHelpers-5ec8f9b7.js';
|
5
5
|
import './Envelopes-290f96cc.js';
|
6
6
|
import './Types-5f31149e.js';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-151c0874.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-28ea5af7.js';
|
4
4
|
import './_commonjsHelpers-5ec8f9b7.js';
|
5
5
|
import './Envelopes-290f96cc.js';
|
6
6
|
import './Types-5f31149e.js';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-151c0874.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-28ea5af7.js';
|
4
4
|
import './_commonjsHelpers-5ec8f9b7.js';
|
5
5
|
import './Envelopes-290f96cc.js';
|
6
6
|
import './Types-5f31149e.js';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-151c0874.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-28ea5af7.js';
|
4
4
|
import './_commonjsHelpers-5ec8f9b7.js';
|
5
5
|
import './Envelopes-290f96cc.js';
|
6
6
|
import './Types-5f31149e.js';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-151c0874.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-28ea5af7.js';
|
4
4
|
import './_commonjsHelpers-5ec8f9b7.js';
|
5
5
|
import './Envelopes-290f96cc.js';
|
6
6
|
import './Types-5f31149e.js';
|
@@ -4,7 +4,7 @@ import './Types-5f31149e.js';
|
|
4
4
|
import { V as VerdocsEndpoint } from './VerdocsEndpoint-e447b318.js';
|
5
5
|
import { u as updateField } from './Fields-c82e6df3.js';
|
6
6
|
import { g as getRGBA } from './Colors-1b298092.js';
|
7
|
-
import { g as getFieldSettings } from './utils-
|
7
|
+
import { g as getFieldSettings } from './utils-28ea5af7.js';
|
8
8
|
import './_commonjsHelpers-5ec8f9b7.js';
|
9
9
|
import './Envelopes-290f96cc.js';
|
10
10
|
import './Files-70a192df.js';
|
@@ -4,7 +4,7 @@ import './Types-5f31149e.js';
|
|
4
4
|
import { V as VerdocsEndpoint } from './VerdocsEndpoint-e447b318.js';
|
5
5
|
import { u as updateField } from './Fields-c82e6df3.js';
|
6
6
|
import { g as getRGBA } from './Colors-1b298092.js';
|
7
|
-
import { g as getFieldSettings } from './utils-
|
7
|
+
import { g as getFieldSettings } from './utils-28ea5af7.js';
|
8
8
|
import './_commonjsHelpers-5ec8f9b7.js';
|
9
9
|
import './Envelopes-290f96cc.js';
|
10
10
|
import './Files-70a192df.js';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-151c0874.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-28ea5af7.js';
|
4
4
|
import { F as FORMAT_TIMESTAMP } from './Types-de18e225.js';
|
5
5
|
import { f as format } from './index-914ed6f7.js';
|
6
6
|
import './_commonjsHelpers-5ec8f9b7.js';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-151c0874.js';
|
2
2
|
import { i as integerSequence } from './Primitives-054bc6e5.js';
|
3
|
-
import {
|
3
|
+
import { j as renderedTextWidth } from './utils-28ea5af7.js';
|
4
4
|
import { c as createPopper } from './popper-15e448b4.js';
|
5
5
|
import './_commonjsHelpers-5ec8f9b7.js';
|
6
6
|
import './Envelopes-290f96cc.js';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-151c0874.js';
|
2
2
|
import './Types-5f31149e.js';
|
3
3
|
import { V as VerdocsEndpoint } from './VerdocsEndpoint-e447b318.js';
|
4
|
-
import { r as renderDocumentField, a as getRoleIndex } from './utils-
|
4
|
+
import { r as renderDocumentField, a as getRoleIndex } from './utils-28ea5af7.js';
|
5
5
|
import { g as getTemplateStore, a as getRoleNames } from './TemplateStore-17700116.js';
|
6
6
|
import { S as SDKError } from './errors-9b5498c8.js';
|
7
7
|
import './_commonjsHelpers-5ec8f9b7.js';
|
@@ -0,0 +1,235 @@
|
|
1
|
+
import { r as registerInstance, h, H as Host, c as createEvent } from './index-151c0874.js';
|
2
|
+
import './Types-5f31149e.js';
|
3
|
+
import { V as VerdocsEndpoint, T as TemplateSenderTypes } from './VerdocsEndpoint-e447b318.js';
|
4
|
+
import { u as updateRole, d as deleteRole } from './Roles-6eb459df.js';
|
5
|
+
import { g as getTemplateStore } from './TemplateStore-17700116.js';
|
6
|
+
import { S as SDKError } from './errors-9b5498c8.js';
|
7
|
+
import { u as updateTemplate } from './Templates-f90883f7.js';
|
8
|
+
import './index-38d7bc0b.js';
|
9
|
+
|
10
|
+
const verdocsRadioButtonCss = "verdocs-radio-button{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;width:20px;height:20px;display:block;font-size:11px;position:relative;background-color:transparent;-webkit-transform-origin:bottom left;transform-origin:bottom left;border-radius:100%}verdocs-radio-button.disabled{opacity:0.5}verdocs-radio-button input[type=radio]{position:absolute;opacity:0}verdocs-radio-button input[type=radio]+label:before{content:\"\";background:#f5f5fa;border-radius:100%;border:1px solid rgba(0, 0, 0, 0.6);display:inline-block;width:16px;height:16px;position:absolute;left:1px;top:1px;cursor:pointer;text-align:center;-webkit-transition:all 250ms ease;transition:all 250ms ease}verdocs-radio-button input[type=radio]:checked+label:before{background-color:#55bc81;-webkit-box-shadow:inset 0 0 0 2px #f5f5fa;box-shadow:inset 0 0 0 2px #f5f5fa}verdocs-radio-button input[type=radio]:focus+label:before{outline:none;border-color:#55bc81}verdocs-radio-button input[type=radio]:disabled+label:before{-webkit-box-shadow:inset 0 0 0 4px #f5f5fa;box-shadow:inset 0 0 0 4px #f5f5fa;border-color:#a0a0d0;background:#a0a0d0}verdocs-radio-button input[type=radio]+label:empty:before{margin-right:0}verdocs-radio-button.required input[type=radio]+label:before{border:1px solid #cc0000}verdocs-radio-button.hide{display:none}verdocs-radio-button.focused{-webkit-animation:verdocs-field-pulse 0.75s 2;animation:verdocs-field-pulse 0.75s 2}";
|
11
|
+
|
12
|
+
const VerdocsRadioButton = class {
|
13
|
+
constructor(hostRef) {
|
14
|
+
registerInstance(this, hostRef);
|
15
|
+
this.checked = false;
|
16
|
+
this.name = '';
|
17
|
+
this.value = '';
|
18
|
+
this.disabled = false;
|
19
|
+
}
|
20
|
+
render() {
|
21
|
+
return (h(Host, { class: { disabled: this.disabled } }, h("input", { type: "radio", value: this.value, name: this.name, id: `verdocs-radio-button-${this.name}-${this.value}`, checked: this.checked, disabled: this.disabled }), h("label", { htmlFor: `verdocs-radio-button-${this.name}-${this.value}` })));
|
22
|
+
}
|
23
|
+
};
|
24
|
+
VerdocsRadioButton.style = verdocsRadioButtonCss;
|
25
|
+
|
26
|
+
const verdocsTemplateRolePropertiesCss = "verdocs-template-role-properties{font-family:\"Inter\", \"Barlow\", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-template-role-properties div{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-template-role-properties .background-overlay{position:fixed;z-index:10000;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:#0000007f}verdocs-template-role-properties .dialog{width:340px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border-radius:4px;overflow:hidden;background:#ffffff;padding:16px;-webkit-box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4);box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4)}verdocs-template-role-properties .heading{display:-ms-flexbox;display:flex;font-size:20px;font-weight:500;-ms-flex-direction:row;flex-direction:row}verdocs-template-role-properties .buttons{display:-ms-flexbox;display:flex;margin-top:10px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:end;justify-content:flex-end}verdocs-template-role-properties .buttons verdocs-button{margin-left:16px}verdocs-template-role-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-role-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-role-properties verdocs-select-input{-ms-flex:1;flex:1;margin:0}verdocs-template-role-properties verdocs-text-input{margin:0 0 10px 0}verdocs-template-role-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-role-properties verdocs-text-input .input-label{-ms-flex:0 0 100px;flex:0 0 100px}verdocs-template-role-properties verdocs-text-input input{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex}verdocs-template-role-properties verdocs-text-input verdocs-text-input{margin:0}verdocs-template-role-properties .checkbox-wrapper{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex}verdocs-template-role-properties .delete-button{height:34px;display:-ms-flexbox;display:flex;padding:0 6px;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-role-properties .delete-button svg{width:24px;height:24px}verdocs-template-role-properties .delete-button:active{background:#f3f3f3}";
|
27
|
+
|
28
|
+
const TrashIcon = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#a50021"><path stroke-linecap="round" stroke-linejoin="round" d="M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0" /></svg>`;
|
29
|
+
const VerdocsTemplateRoleProperties = class {
|
30
|
+
constructor(hostRef) {
|
31
|
+
registerInstance(this, hostRef);
|
32
|
+
this.close = createEvent(this, "close", 7);
|
33
|
+
this.delete = createEvent(this, "delete", 7);
|
34
|
+
this.sdkError = createEvent(this, "sdkError", 7);
|
35
|
+
this.store = null;
|
36
|
+
this.endpoint = VerdocsEndpoint.getDefault();
|
37
|
+
this.templateId = '';
|
38
|
+
this.roleName = '';
|
39
|
+
this.sender = TemplateSenderTypes.EVERYONE;
|
40
|
+
this.dirty = false;
|
41
|
+
this.saving = false;
|
42
|
+
this.name = '';
|
43
|
+
this.type = 'signer';
|
44
|
+
this.fullName = '';
|
45
|
+
this.email = '';
|
46
|
+
this.phone = '';
|
47
|
+
this.allowDelegation = false;
|
48
|
+
}
|
49
|
+
async componentWillLoad() {
|
50
|
+
var _a, _b, _c, _d, _e;
|
51
|
+
try {
|
52
|
+
this.endpoint.loadSession();
|
53
|
+
if (!this.templateId) {
|
54
|
+
console.log(`[ROLE_PROPERTIES] Missing required template ID ${this.templateId}`);
|
55
|
+
return;
|
56
|
+
}
|
57
|
+
if (!this.endpoint.session) {
|
58
|
+
console.log('[ROLE_PROPERTIES] Unable to start builder session, must be authenticated');
|
59
|
+
return;
|
60
|
+
}
|
61
|
+
this.store = await getTemplateStore(this.endpoint, this.templateId, false);
|
62
|
+
const editingRole = (_b = (_a = this.store) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.roles.find(role => role.name === this.roleName);
|
63
|
+
if (editingRole) {
|
64
|
+
this.name = editingRole.name;
|
65
|
+
this.type = editingRole.type;
|
66
|
+
this.fullName = editingRole.full_name;
|
67
|
+
this.email = editingRole.email;
|
68
|
+
this.phone = editingRole.phone;
|
69
|
+
this.allowDelegation = editingRole.delegator;
|
70
|
+
console.log('[ROLES] Editing role', editingRole);
|
71
|
+
}
|
72
|
+
}
|
73
|
+
catch (e) {
|
74
|
+
console.log('[TEMPLATE ROLE PROPERTIES] Error with preview session', e);
|
75
|
+
(_c = this.sdkError) === null || _c === void 0 ? void 0 : _c.emit(new SDKError(e.message, (_d = e.response) === null || _d === void 0 ? void 0 : _d.status, (_e = e.response) === null || _e === void 0 ? void 0 : _e.data));
|
76
|
+
}
|
77
|
+
}
|
78
|
+
handleCancel(e) {
|
79
|
+
var _a, _b, _c;
|
80
|
+
e.stopPropagation();
|
81
|
+
this.name = (_b = (_a = this.store) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.name;
|
82
|
+
this.dirty = false;
|
83
|
+
(_c = this.close) === null || _c === void 0 ? void 0 : _c.emit();
|
84
|
+
}
|
85
|
+
async handleSave(e) {
|
86
|
+
e.stopPropagation();
|
87
|
+
this.saving = true;
|
88
|
+
updateRole(this.endpoint, this.templateId, this.roleName, {
|
89
|
+
name: this.name,
|
90
|
+
type: this.type,
|
91
|
+
full_name: this.fullName,
|
92
|
+
email: this.email,
|
93
|
+
phone: this.phone,
|
94
|
+
delegator: this.allowDelegation,
|
95
|
+
})
|
96
|
+
.then(async (r) => {
|
97
|
+
var _a;
|
98
|
+
console.log('[ROLE_PROPERTIES] Update result', r);
|
99
|
+
this.saving = false;
|
100
|
+
this.dirty = false;
|
101
|
+
this.store = await getTemplateStore(this.endpoint, this.templateId, true);
|
102
|
+
// this.sortTemplateRoles();
|
103
|
+
// this.renumberTemplateRoles();
|
104
|
+
// const newRoles = [...this.store.state.roles];
|
105
|
+
// newRoles.forEach(role => {
|
106
|
+
// if (role.name === this.roleName) {
|
107
|
+
// role.name = this.name;
|
108
|
+
// role.type = this.type;
|
109
|
+
// role.full_name = this.fullName;
|
110
|
+
// role.email = this.email;
|
111
|
+
// role.phone = this.phone;
|
112
|
+
// role.delegator = this.allowDelegation;
|
113
|
+
// }
|
114
|
+
// });
|
115
|
+
// this.store.state.roles = newRoles;
|
116
|
+
(_a = this.close) === null || _a === void 0 ? void 0 : _a.emit();
|
117
|
+
})
|
118
|
+
.catch(e => {
|
119
|
+
console.log('Update error', e);
|
120
|
+
this.saving = false;
|
121
|
+
});
|
122
|
+
}
|
123
|
+
async handleDelete(e) {
|
124
|
+
e.stopPropagation();
|
125
|
+
if (window.confirm('Are you sure you wish to remove this role? All associated fields will be removed as well. This action cannot be undone.')) {
|
126
|
+
deleteRole(this.endpoint, this.templateId, this.roleName)
|
127
|
+
.then(r => {
|
128
|
+
var _a;
|
129
|
+
console.log('Role deleted', r);
|
130
|
+
this.store.state.roles = [...this.store.state.roles.filter(role => role.name !== this.roleName)];
|
131
|
+
(_a = this.delete) === null || _a === void 0 ? void 0 : _a.emit({ templateId: this.templateId, roleName: this.roleName });
|
132
|
+
})
|
133
|
+
.catch(e => {
|
134
|
+
console.log('Deletion error', e);
|
135
|
+
});
|
136
|
+
}
|
137
|
+
}
|
138
|
+
render() {
|
139
|
+
const hasFields = (this.store.state.fields || []).findIndex(field => field.role_name === this.roleName) !== -1;
|
140
|
+
return (h(Host, null, h("div", { class: "background-overlay", onClick: e => this.handleCancel(e) }, h("div", { class: "dialog" }, h("form", { onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("verdocs-text-input", { id: "verdocs-recipient-name", label: "Role Name", value: this.name, autocomplete: "off", disabled: hasFields, helpText: hasFields
|
141
|
+
? 'This role has fields assigned and can no longer be renamed.'
|
142
|
+
: 'A unique name to identify the role in the workflow. Submitted data will also be tagged with this value.', placeholder: "Template Name...", onInput: (e) => {
|
143
|
+
this.name = e.target.value;
|
144
|
+
this.dirty = true;
|
145
|
+
} }), h("div", { class: "row" }, h("div", { class: "input-label" }, "Type:"), h("verdocs-select-input", { value: this.type, options: [
|
146
|
+
{ label: 'Signer', value: 'signer' },
|
147
|
+
{ label: 'CC', value: 'cc' },
|
148
|
+
{ label: 'Approver', value: 'approver' },
|
149
|
+
], onInput: (e) => {
|
150
|
+
this.type = e.target.value;
|
151
|
+
this.dirty = true;
|
152
|
+
} }), h("verdocs-help-icon", { text: "Most participants are Signers. CC roles are notified when documents are signed, but have no other actions. Approvers get notified when signing is completed to perform a final review." })), h("verdocs-text-input", { id: "verdocs-recipient-email", label: "Full Name", value: this.fullName, autocomplete: "off", helpText: "The recipient's full name, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "Full Name...", onInput: (e) => {
|
153
|
+
this.fullName = e.target.value;
|
154
|
+
this.dirty = true;
|
155
|
+
} }), h("verdocs-text-input", { id: "verdocs-recipient-email", label: "Email", value: this.email, autocomplete: "off", helpText: "The recipient's email address, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "Email Address...", onInput: (e) => {
|
156
|
+
this.email = e.target.value;
|
157
|
+
this.dirty = true;
|
158
|
+
} }), h("verdocs-text-input", { id: "verdocs-recipient-phone", label: "Phone", value: this.phone, autocomplete: "off", helpText: "The recipient's phone number, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "Phone Number...", onInput: (e) => {
|
159
|
+
this.phone = e.target.value;
|
160
|
+
this.dirty = true;
|
161
|
+
} }), h("div", { class: "row" }, h("div", { class: "input-label" }, "May Delegate:"), h("div", { class: "checkbox-wrapper" }, h("verdocs-checkbox", { checked: this.allowDelegation, onInput: (e) => {
|
162
|
+
this.allowDelegation = e.target.checked;
|
163
|
+
this.dirty = true;
|
164
|
+
} })), h("verdocs-help-icon", { text: "If enabled, this recipient may delegate their actions to another individual." })), h("div", { class: "buttons" }, h("button", { class: "delete-button", disabled: this.dirty, onClick: e => this.handleDelete(e), innerHTML: TrashIcon }), h("div", { style: { flex: '1' } }), h("verdocs-button", { size: "small", variant: "outline", label: "Cancel", disabled: !this.dirty, onClick: e => this.handleCancel(e) }), h("verdocs-button", { size: "small", label: "Save", disabled: !this.dirty, onClick: e => this.handleSave(e) })))))));
|
165
|
+
}
|
166
|
+
};
|
167
|
+
VerdocsTemplateRoleProperties.style = verdocsTemplateRolePropertiesCss;
|
168
|
+
|
169
|
+
const verdocsTemplateSenderCss = "verdocs-template-sender{font-family:\"Inter\", \"Barlow\", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-template-sender div{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-template-sender .background-overlay{position:absolute;z-index:10000;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:#0000007f}verdocs-template-sender .dialog{width:340px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border-radius:4px;overflow:hidden;background:#ffffff;padding:16px;-webkit-box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4);box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4)}verdocs-template-sender .heading{display:-ms-flexbox;display:flex;font-size:20px;font-weight:500;-ms-flex-direction:row;flex-direction:row}verdocs-template-sender .buttons{display:-ms-flexbox;display:flex;margin-top:10px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:end;justify-content:flex-end}verdocs-template-sender .buttons verdocs-button{margin-left:16px}verdocs-template-sender .options{row-gap:10px}verdocs-template-sender .options .option{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}verdocs-template-sender .options .option .description{margin-left:10px}verdocs-template-sender .options .option .description .name{display:inline-block;vertical-align:top;margin-top:4px;margin-right:4px}";
|
170
|
+
|
171
|
+
const VerdocsTemplateSender = class {
|
172
|
+
constructor(hostRef) {
|
173
|
+
registerInstance(this, hostRef);
|
174
|
+
this.close = createEvent(this, "close", 7);
|
175
|
+
this.sdkError = createEvent(this, "sdkError", 7);
|
176
|
+
this.store = null;
|
177
|
+
this.endpoint = VerdocsEndpoint.getDefault();
|
178
|
+
this.templateId = '';
|
179
|
+
this.sender = TemplateSenderTypes.EVERYONE;
|
180
|
+
this.saving = false;
|
181
|
+
}
|
182
|
+
async componentWillLoad() {
|
183
|
+
var _a, _b, _c, _d, _e;
|
184
|
+
try {
|
185
|
+
this.endpoint.loadSession();
|
186
|
+
if (!this.templateId) {
|
187
|
+
console.log(`[SENDER] Missing required template ID ${this.templateId}`);
|
188
|
+
return;
|
189
|
+
}
|
190
|
+
if (!this.endpoint.session) {
|
191
|
+
console.log('[SENDER] Unable to start builder session, must be authenticated');
|
192
|
+
return;
|
193
|
+
}
|
194
|
+
this.store = await getTemplateStore(this.endpoint, this.templateId, false);
|
195
|
+
this.sender = (_b = (_a = this.store) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.sender;
|
196
|
+
}
|
197
|
+
catch (e) {
|
198
|
+
console.log('[SENDER] Error with preview session', e);
|
199
|
+
(_c = this.sdkError) === null || _c === void 0 ? void 0 : _c.emit(new SDKError(e.message, (_d = e.response) === null || _d === void 0 ? void 0 : _d.status, (_e = e.response) === null || _e === void 0 ? void 0 : _e.data));
|
200
|
+
}
|
201
|
+
}
|
202
|
+
handleClose() {
|
203
|
+
this.close.emit();
|
204
|
+
}
|
205
|
+
// We need a separate event handler for clicking the background because it can receive events "through" other child components
|
206
|
+
handleDismiss(e) {
|
207
|
+
if (e.target.className === 'background-overlay') {
|
208
|
+
e.preventDefault();
|
209
|
+
this.handleClose();
|
210
|
+
}
|
211
|
+
}
|
212
|
+
async handleSelectSetting(value) {
|
213
|
+
this.saving = true;
|
214
|
+
updateTemplate(this.endpoint, this.templateId, { sender: value })
|
215
|
+
.then(r => {
|
216
|
+
var _a;
|
217
|
+
console.log('Update result', r);
|
218
|
+
if ((_a = this.store) === null || _a === void 0 ? void 0 : _a.state) {
|
219
|
+
this.store.state.sender = value;
|
220
|
+
}
|
221
|
+
this.saving = false;
|
222
|
+
this.sender = value;
|
223
|
+
})
|
224
|
+
.catch(e => {
|
225
|
+
console.log('Error saving', e);
|
226
|
+
this.saving = false;
|
227
|
+
});
|
228
|
+
}
|
229
|
+
render() {
|
230
|
+
return (h(Host, null, h("div", { class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { class: "dialog" }, h("div", { class: "options" }, h("div", { class: "option" }, h("verdocs-radio-button", { name: "template-sender", value: TemplateSenderTypes.EVERYONE, checked: this.sender === TemplateSenderTypes.EVERYONE, onInput: () => this.handleSelectSetting(TemplateSenderTypes.EVERYONE) }), h("div", { class: "description" }, h("div", { class: "name" }, "Anyone on the Web"), h("verdocs-help-icon", { text: "Anyone can use this template. (Make its visibility is set to to 'Public' or 'Shared'.)" }))), h("div", { class: "option" }, h("verdocs-radio-button", { name: "template-sender", value: TemplateSenderTypes.EVERYONE_AS_CREATOR, checked: this.sender === TemplateSenderTypes.EVERYONE_AS_CREATOR, onInput: () => this.handleSelectSetting(TemplateSenderTypes.EVERYONE_AS_CREATOR) }), h("div", { class: "description" }, h("div", { class: "name" }, "Anyone on the Web as me"), h("verdocs-help-icon", { text: "Anyone can use this template on my behalf. (Make sure its visibility is set to 'Public' or 'Shared'.)" }))), h("div", { class: "option" }, h("verdocs-radio-button", { name: "template-sender", value: TemplateSenderTypes.ORGANIZATION_MEMBER, checked: this.sender === TemplateSenderTypes.ORGANIZATION_MEMBER, onInput: () => this.handleSelectSetting(TemplateSenderTypes.ORGANIZATION_MEMBER) }), h("div", { class: "description" }, h("div", { class: "name" }, "Anyone in my organization"), h("verdocs-help-icon", { text: "Anyone in my organization can use this template. (Make sure its visibility is set to 'Shared')" }))), h("div", { class: "option" }, h("verdocs-radio-button", { name: "template-sender", value: TemplateSenderTypes.ORGANIZATION_MEMBER_AS_CREATOR, checked: this.sender === TemplateSenderTypes.ORGANIZATION_MEMBER_AS_CREATOR, onInput: () => this.handleSelectSetting(TemplateSenderTypes.ORGANIZATION_MEMBER_AS_CREATOR) }), h("div", { class: "description" }, h("div", { class: "name" }, "Anyone in my organization as me"), h("verdocs-help-icon", { text: "Anyone in my organization can use this template on my behalf. (Make sure its visibility is set to to 'Shared'.)" }))), h("div", { class: "option" }, h("verdocs-radio-button", { name: "template-sender", value: TemplateSenderTypes.CREATOR, checked: this.sender === TemplateSenderTypes.CREATOR, onInput: () => this.handleSelectSetting(TemplateSenderTypes.CREATOR) }), h("div", { class: "description" }, h("div", { class: "name" }, "Me"), h("verdocs-help-icon", { text: "Only I can use this template." })))), h("div", { class: "buttons" }, h("verdocs-button", { label: "Close", onClick: () => this.handleClose() }))))));
|
231
|
+
}
|
232
|
+
};
|
233
|
+
VerdocsTemplateSender.style = verdocsTemplateSenderCss;
|
234
|
+
|
235
|
+
export { VerdocsRadioButton as verdocs_radio_button, VerdocsTemplateRoleProperties as verdocs_template_role_properties, VerdocsTemplateSender as verdocs_template_sender };
|
@@ -4,7 +4,7 @@ import { V as VerdocsEndpoint } from './VerdocsEndpoint-e447b318.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 { g as getTemplateStore } from './TemplateStore-17700116.js';
|
7
|
-
import { a as getRoleIndex } from './utils-
|
7
|
+
import { a as getRoleIndex } from './utils-28ea5af7.js';
|
8
8
|
import { S as SDKError } from './errors-9b5498c8.js';
|
9
9
|
import './index-38d7bc0b.js';
|
10
10
|
import './Templates-f90883f7.js';
|
@@ -5,7 +5,7 @@ import { e as envelopeRecipientAgree, a as envelopeRecipientDecline, b as envelo
|
|
5
5
|
import { V as VerdocsEndpoint } from './VerdocsEndpoint-e447b318.js';
|
6
6
|
import { a as isValidPhone, i as isValidEmail } from './Validators-f110bae2.js';
|
7
7
|
import { f as fullNameToInitials, i as integerSequence } from './Primitives-054bc6e5.js';
|
8
|
-
import { b as saveAttachment, u as updateDocumentFieldValue, a as getRoleIndex, r as renderDocumentField, c as getFieldId } from './utils-
|
8
|
+
import { b as saveAttachment, u as updateDocumentFieldValue, a as getRoleIndex, r as renderDocumentField, c as getFieldId } from './utils-28ea5af7.js';
|
9
9
|
import { a as FORMAT_DATE } from './Types-de18e225.js';
|
10
10
|
import { S as SDKError } from './errors-9b5498c8.js';
|
11
11
|
import { V as VerdocsToast } from './Toast-f3b8fd46.js';
|
@@ -402,6 +402,7 @@ const VerdocsSign = class {
|
|
402
402
|
});
|
403
403
|
el.addEventListener('focusout', e => this.handleFieldChange(field, e).finally(() => this.checkRecipientFields()));
|
404
404
|
el.addEventListener('fieldChange', e => this.handleFieldChange(field, e).finally(() => this.checkRecipientFields()));
|
405
|
+
el.setAttribute('page', pageInfo.pageNumber);
|
405
406
|
el.setAttribute('roleindex', roleIndex);
|
406
407
|
el.setAttribute('xScale', pageInfo.xScale);
|
407
408
|
el.setAttribute('yScale', pageInfo.yScale);
|