@verdocs/web-sdk 1.10.1 → 1.10.3
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-927719de.js +28 -0
- package/dist/cjs/{VerdocsEndpoint-38feb32a.js → VerdocsEndpoint-25056c73.js} +42 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/verdocs-auth.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-build.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-button-panel_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-contact-picker.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-help-icon_2.cjs.entry.js +11 -8
- package/dist/cjs/verdocs-preview.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-quick-functions_3.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-radio-button.cjs.entry.js +23 -0
- package/dist/cjs/verdocs-search.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-send.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-sign.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-template-attachments.cjs.entry.js +53 -0
- package/dist/cjs/verdocs-template-create_2.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-template-name.cjs.entry.js +2 -3
- package/dist/cjs/verdocs-template-properties.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-template-recipients.cjs.entry.js +159 -136
- package/dist/cjs/verdocs-template-reminders.cjs.entry.js +3 -4
- package/dist/cjs/verdocs-template-role-properties_2.cjs.entry.js +228 -0
- package/dist/cjs/verdocs-template-visibility.cjs.entry.js +3 -4
- package/dist/cjs/verdocs-view.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-web-sdk.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/controls/verdocs-help-icon/verdocs-help-icon.css +5 -0
- package/dist/collection/components/controls/verdocs-select-input/verdocs-select-input.css +1 -1
- package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.js +20 -1
- package/dist/collection/components/elements/verdocs-contact-picker/verdocs-contact-picker.stories.js +1 -1
- package/dist/collection/components/elements/verdocs-envelope-sidebar/verdocs-envelope-sidebar.stories.js +1 -1
- package/dist/collection/components/templates/verdocs-template-attachments/verdocs-template-attachments.css +23 -0
- package/dist/collection/components/templates/verdocs-template-attachments/verdocs-template-attachments.js +137 -0
- package/dist/collection/components/templates/verdocs-template-attachments/verdocs-template-attachments.stories.js +19 -0
- package/dist/collection/components/templates/verdocs-template-create/verdocs-template-create.stories.js +2 -2
- package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.stories.js +2 -3
- package/dist/collection/components/templates/verdocs-template-name/verdocs-template-name.css +3 -2
- package/dist/collection/components/templates/verdocs-template-name/verdocs-template-name.stories.js +4 -4
- package/dist/collection/components/templates/verdocs-template-properties/verdocs-template-properties.stories.js +2 -2
- package/dist/collection/components/templates/verdocs-template-recipients/verdocs-template-recipients.css +89 -30
- package/dist/collection/components/templates/verdocs-template-recipients/verdocs-template-recipients.js +154 -133
- package/dist/collection/components/templates/verdocs-template-recipients/verdocs-template-recipients.stories.js +5 -4
- package/dist/collection/components/templates/verdocs-template-reminders/verdocs-template-reminders.css +7 -0
- package/dist/collection/components/templates/verdocs-template-reminders/verdocs-template-reminders.js +2 -2
- package/dist/collection/components/templates/verdocs-template-reminders/verdocs-template-reminders.stories.js +2 -2
- package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.css +105 -0
- package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +303 -0
- package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.stories.js +13 -0
- package/dist/collection/components/{dialogs/verdocs-template-sender-dialog/verdocs-template-sender-dialog.css → templates/verdocs-template-sender/verdocs-template-sender.css} +11 -11
- package/dist/collection/components/templates/verdocs-template-sender/verdocs-template-sender.js +193 -0
- package/dist/collection/components/templates/verdocs-template-sender/verdocs-template-sender.stories.js +13 -0
- package/dist/collection/components/templates/verdocs-template-visibillity/verdocs-template-visibility.css +14 -6
- package/dist/collection/components/templates/verdocs-template-visibillity/verdocs-template-visibility.js +2 -2
- package/dist/collection/components/templates/verdocs-template-visibillity/verdocs-template-visibility.stories.js +2 -2
- package/dist/components/VerdocsEndpoint.js +43 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.js +3 -1
- package/dist/components/verdocs-auth.js +8 -3
- package/dist/components/verdocs-build.js +0 -1
- package/dist/components/verdocs-contact-picker2.js +0 -1
- package/dist/components/verdocs-envelope-sidebar.js +0 -1
- package/dist/components/verdocs-field-date.js +8 -2
- package/dist/components/verdocs-field-initial.js +10 -4
- package/dist/components/verdocs-field-signature.js +10 -4
- package/dist/components/verdocs-field-textarea.js +8 -2
- package/dist/components/verdocs-field-textbox.js +8 -2
- package/dist/components/verdocs-field-timestamp.js +8 -2
- package/dist/components/verdocs-help-icon2.js +1 -1
- package/dist/components/verdocs-initial-dialog2.js +8 -2
- package/dist/components/verdocs-preview.js +0 -1
- package/dist/components/verdocs-quick-functions2.js +0 -1
- package/dist/components/verdocs-search-activity2.js +0 -1
- package/dist/components/verdocs-search-box2.js +0 -1
- package/dist/components/verdocs-search.js +0 -1
- package/dist/components/verdocs-select-input2.js +1 -1
- package/dist/components/verdocs-send.js +1 -2
- package/dist/components/verdocs-sign.js +1 -2
- package/dist/components/verdocs-signature-dialog2.js +8 -2
- package/dist/components/verdocs-template-attachments.d.ts +11 -0
- package/dist/components/verdocs-template-attachments.js +73 -0
- package/dist/components/verdocs-template-create2.js +0 -1
- package/dist/components/verdocs-template-fields2.js +0 -1
- package/dist/components/verdocs-template-name.js +9 -4
- package/dist/components/verdocs-template-properties.js +12 -7
- package/dist/components/verdocs-template-recipients.js +186 -137
- package/dist/components/verdocs-template-reminders.js +14 -9
- package/dist/components/verdocs-template-role-properties.d.ts +11 -0
- package/dist/components/verdocs-template-role-properties.js +6 -0
- package/dist/components/verdocs-template-role-properties2.js +229 -0
- package/dist/components/verdocs-template-sender.d.ts +11 -0
- package/dist/components/verdocs-template-sender.js +6 -0
- package/dist/components/verdocs-template-sender2.js +116 -0
- package/dist/components/verdocs-template-visibility.js +2 -3
- package/dist/components/verdocs-text-input2.js +10 -2
- package/dist/components/verdocs-view2.js +0 -1
- package/dist/custom-elements.json +82 -6
- package/dist/docs.json +399 -33
- package/dist/esm/Roles-2488d047.js +24 -0
- package/dist/esm/{VerdocsEndpoint-6df32d3a.js → VerdocsEndpoint-7f17b088.js} +43 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/verdocs-auth.entry.js +1 -2
- package/dist/esm/verdocs-build.entry.js +1 -2
- package/dist/esm/verdocs-button-panel_2.entry.js +1 -1
- package/dist/esm/verdocs-contact-picker.entry.js +1 -2
- package/dist/esm/verdocs-envelope-sidebar.entry.js +1 -2
- package/dist/esm/verdocs-help-icon_2.entry.js +11 -8
- package/dist/esm/verdocs-preview.entry.js +1 -2
- package/dist/esm/verdocs-quick-functions_3.entry.js +1 -2
- package/dist/esm/verdocs-radio-button.entry.js +19 -0
- package/dist/esm/verdocs-search.entry.js +1 -2
- package/dist/esm/verdocs-send.entry.js +1 -2
- package/dist/esm/verdocs-sign.entry.js +1 -2
- package/dist/esm/verdocs-template-attachments.entry.js +49 -0
- package/dist/esm/verdocs-template-create_2.entry.js +1 -2
- package/dist/esm/verdocs-template-name.entry.js +2 -3
- package/dist/esm/verdocs-template-properties.entry.js +1 -2
- package/dist/esm/verdocs-template-recipients.entry.js +155 -132
- package/dist/esm/verdocs-template-reminders.entry.js +3 -4
- package/dist/esm/verdocs-template-role-properties_2.entry.js +223 -0
- package/dist/esm/verdocs-template-visibility.entry.js +3 -4
- package/dist/esm/verdocs-view.entry.js +1 -2
- package/dist/esm/verdocs-web-sdk.js +1 -1
- package/dist/esm-es5/Roles-2488d047.js +1 -0
- package/dist/esm-es5/VerdocsEndpoint-7f17b088.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/verdocs-auth.entry.js +1 -1
- package/dist/esm-es5/verdocs-build.entry.js +1 -1
- package/dist/esm-es5/verdocs-button-panel_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-contact-picker.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-sidebar.entry.js +1 -1
- package/dist/esm-es5/verdocs-help-icon_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-preview.entry.js +1 -1
- package/dist/esm-es5/verdocs-quick-functions_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-radio-button.entry.js +1 -0
- package/dist/esm-es5/verdocs-search.entry.js +1 -1
- package/dist/esm-es5/verdocs-send.entry.js +1 -1
- package/dist/esm-es5/verdocs-sign.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-attachments.entry.js +1 -0
- package/dist/esm-es5/verdocs-template-create_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-name.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-properties.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-recipients.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-reminders.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-role-properties_2.entry.js +1 -0
- package/dist/esm-es5/verdocs-template-visibility.entry.js +1 -1
- package/dist/esm-es5/verdocs-view.entry.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js +1 -1
- package/dist/types/components/controls/verdocs-text-input/verdocs-text-input.d.ts +4 -0
- package/dist/types/components/templates/verdocs-template-attachments/verdocs-template-attachments.d.ts +29 -0
- package/dist/types/components/templates/verdocs-template-attachments/verdocs-template-attachments.stories.d.ts +7 -0
- package/dist/types/components/templates/verdocs-template-create/verdocs-template-create.stories.d.ts +1 -1
- package/dist/types/components/templates/verdocs-template-fields/verdocs-template-fields.stories.d.ts +1 -1
- package/dist/types/components/templates/verdocs-template-name/verdocs-template-name.stories.d.ts +1 -1
- package/dist/types/components/templates/verdocs-template-properties/verdocs-template-properties.stories.d.ts +1 -1
- package/dist/types/components/templates/verdocs-template-recipients/verdocs-template-recipients.d.ts +8 -15
- package/dist/types/components/templates/verdocs-template-recipients/verdocs-template-recipients.stories.d.ts +1 -1
- package/dist/types/components/templates/verdocs-template-reminders/verdocs-template-reminders.d.ts +1 -1
- package/dist/types/components/templates/verdocs-template-reminders/verdocs-template-reminders.stories.d.ts +1 -1
- package/dist/types/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.d.ts +56 -0
- package/dist/types/components/{dialogs/verdocs-template-sender-dialog/verdocs-template-sender-dialog.stories.d.ts → templates/verdocs-template-role-properties/verdocs-template-role-properties.stories.d.ts} +2 -3
- package/dist/types/components/templates/verdocs-template-sender/verdocs-template-sender.d.ts +36 -0
- package/dist/types/components/templates/verdocs-template-sender/verdocs-template-sender.stories.d.ts +7 -0
- package/dist/types/components/templates/verdocs-template-visibillity/verdocs-template-visibility.d.ts +1 -1
- package/dist/types/components/templates/verdocs-template-visibillity/verdocs-template-visibility.stories.d.ts +1 -1
- package/dist/types/components.d.ts +144 -18
- package/dist/verdocs-web-sdk/p-0ee57bd9.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-12c732a7.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-130fe919.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-15aef735.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-19849b9e.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-205027db.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-2144b8be.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-261dcea1.system.js +1 -0
- package/dist/verdocs-web-sdk/p-26b4ae0d.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-285eaf3c.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-2d4712ea.js +1 -0
- package/dist/verdocs-web-sdk/p-34db97b7.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-37a493a6.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-3da4b4cb.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-3fbe602a.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-4352529d.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-464adbad.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-4a1c9aa1.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-50d7e990.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-5ee985be.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-6121f103.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-45ac2230.system.entry.js → p-61b824ca.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-74e1ae92.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-7b111f2b.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-7d909ce4.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-8c53e0ff.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-91539130.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-9717a531.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-98aa17a8.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-9b854a18.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-9f17b920.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-a17a81a3.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-a6872a88.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-b4fee0ae.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-bda7353b.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-c16b6ca4.system.js +1 -1
- package/dist/verdocs-web-sdk/p-cd70bb21.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-d08fca9c.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-d5a95369.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-daedc6c2.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-de5c37cd.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-df4f1a5e.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-e223553c.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-6b205bb5.entry.js → p-ead5322f.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-f3e9be57.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-fbc81799.system.js +1 -0
- package/dist/verdocs-web-sdk/p-ffe60abd.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +5 -4
- package/dist/cjs/Types-da57ce69.js +0 -43
- package/dist/cjs/verdocs-template-sender-dialog.cjs.entry.js +0 -43
- package/dist/cjs/verdocs-text-input.cjs.entry.js +0 -25
- package/dist/collection/components/dialogs/verdocs-template-sender-dialog/verdocs-template-sender-dialog.js +0 -114
- package/dist/collection/components/dialogs/verdocs-template-sender-dialog/verdocs-template-sender-dialog.stories.js +0 -46
- package/dist/components/Types.js +0 -43
- package/dist/components/verdocs-template-sender-dialog.d.ts +0 -11
- package/dist/components/verdocs-template-sender-dialog.js +0 -6
- package/dist/components/verdocs-template-sender-dialog2.js +0 -75
- package/dist/esm/Types-ab9f6af8.js +0 -43
- package/dist/esm/verdocs-template-sender-dialog.entry.js +0 -39
- package/dist/esm/verdocs-text-input.entry.js +0 -21
- package/dist/esm-es5/Types-ab9f6af8.js +0 -1
- package/dist/esm-es5/VerdocsEndpoint-6df32d3a.js +0 -1
- package/dist/esm-es5/verdocs-template-sender-dialog.entry.js +0 -1
- package/dist/esm-es5/verdocs-text-input.entry.js +0 -1
- package/dist/types/components/dialogs/verdocs-template-sender-dialog/verdocs-template-sender-dialog.d.ts +0 -26
- package/dist/verdocs-web-sdk/p-069fcbbe.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-09cd92b4.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-0e06dc54.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-11c26f99.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-17fd7860.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-1dc5393d.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-1f06f0d0.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-266e163c.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-26f16c4a.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-2e4dfdc6.js +0 -1
- package/dist/verdocs-web-sdk/p-34a2538f.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-453218bc.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-46bb5543.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-4a09c8df.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-4edc67af.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-5231a690.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-52be34b3.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-54102f3d.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-5f09d34b.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-619098f5.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-6f742462.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-7abcf805.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-7d855960.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-86a8b6ad.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-898b46ce.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-8a2dbb48.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-8cf35e23.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-8d36c969.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-8efc9749.js +0 -1
- package/dist/verdocs-web-sdk/p-952b9288.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-a0b23dbe.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-a39b334f.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-a4dc6a79.system.js +0 -1
- package/dist/verdocs-web-sdk/p-a7433630.system.js +0 -1
- package/dist/verdocs-web-sdk/p-acfa887e.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-b505db92.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-bdce7b62.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-cf8f8562.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-d876f216.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-e1da9867.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-e5ed6342.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-e9e83cbb.system.entry.js +0 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A "role" is an individual participant in a signing flow, such as a signer or CC contact. Roles are identified by
|
|
3
|
+
* their names, which must be unique (e.g. 'Recipient 1'). Template fields are assigned to roles for signing operations,
|
|
4
|
+
* so you may have 'Recipient 1 Signature 1' and so forth.
|
|
5
|
+
*
|
|
6
|
+
* @module
|
|
7
|
+
*/
|
|
8
|
+
var createRole = function (endpoint, templateId, params) {
|
|
9
|
+
return endpoint.api //
|
|
10
|
+
.post("/templates/".concat(templateId, "/roles/"), params)
|
|
11
|
+
.then(function (r) { return r.data; });
|
|
12
|
+
};
|
|
13
|
+
var updateRole = function (endpoint, templateId, roleName, params) {
|
|
14
|
+
return endpoint.api //
|
|
15
|
+
.put("/templates/".concat(templateId, "/roles/").concat(roleName), params)
|
|
16
|
+
.then(function (r) { return r.data; });
|
|
17
|
+
};
|
|
18
|
+
var deleteRole = function (endpoint, templateId, roleName) {
|
|
19
|
+
return endpoint.api //
|
|
20
|
+
.delete("/templates/".concat(templateId, "/roles/").concat(roleName))
|
|
21
|
+
.then(function (r) { return r.data; });
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export { createRole as c, deleteRole as d, updateRole as u };
|
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
import { d as decodeAccessTokenBody } from './Token-54690789.js';
|
|
2
2
|
|
|
3
|
+
var TemplatePermissions;
|
|
4
|
+
(function (TemplatePermissions) {
|
|
5
|
+
TemplatePermissions["TEMPLATE_CREATOR_CREATE_PUBLIC"] = "template:creator:create:public";
|
|
6
|
+
TemplatePermissions["TEMPLATE_CREATOR_CREATE_ORG"] = "template:creator:create:org";
|
|
7
|
+
TemplatePermissions["TEMPLATE_CREATOR_CREATE_PERSONAL"] = "template:creator:create:personal";
|
|
8
|
+
TemplatePermissions["TEMPLATE_CREATOR_DELETE"] = "template:creator:delete";
|
|
9
|
+
TemplatePermissions["TEMPLATE_CREATOR_VISIBILITY"] = "template:creator:visibility";
|
|
10
|
+
TemplatePermissions["TEMPLATE_MEMBER_READ"] = "template:member:read";
|
|
11
|
+
TemplatePermissions["TEMPLATE_MEMBER_WRITE"] = "template:member:write";
|
|
12
|
+
TemplatePermissions["TEMPLATE_MEMBER_DELETE"] = "template:member:delete";
|
|
13
|
+
TemplatePermissions["TEMPLATE_MEMBER_VISIBILITY"] = "template:member:visibility";
|
|
14
|
+
})(TemplatePermissions || (TemplatePermissions = {}));
|
|
15
|
+
var TemplateSenderTypes;
|
|
16
|
+
(function (TemplateSenderTypes) {
|
|
17
|
+
TemplateSenderTypes["CREATOR"] = "creator";
|
|
18
|
+
TemplateSenderTypes["ORGANIZATION_MEMBER"] = "organization_member";
|
|
19
|
+
TemplateSenderTypes["ORGANIZATION_MEMBER_AS_CREATOR"] = "organization_member_as_creator";
|
|
20
|
+
TemplateSenderTypes["EVERYONE"] = "everyone";
|
|
21
|
+
TemplateSenderTypes["EVERYONE_AS_CREATOR"] = "everyone_as_creator";
|
|
22
|
+
})(TemplateSenderTypes || (TemplateSenderTypes = {}));
|
|
23
|
+
var TemplateActions;
|
|
24
|
+
(function (TemplateActions) {
|
|
25
|
+
TemplateActions["CREATE_PERSONAL"] = "create_personal";
|
|
26
|
+
TemplateActions["CREATE_ORG"] = "create_org";
|
|
27
|
+
TemplateActions["CREATE_PUBLIC"] = "create_public";
|
|
28
|
+
TemplateActions["READ"] = "read";
|
|
29
|
+
TemplateActions["WRITE"] = "write";
|
|
30
|
+
TemplateActions["DELETE"] = "delete";
|
|
31
|
+
TemplateActions["CHANGE_VISIBILITY_PERSONAL"] = "change_visibility_personal";
|
|
32
|
+
TemplateActions["CHANGE_VISIBILITY_ORG"] = "change_visibility_org";
|
|
33
|
+
TemplateActions["CHANGE_VISIBILITY_PUBLIC"] = "change_visibility_public";
|
|
34
|
+
})(TemplateActions || (TemplateActions = {}));
|
|
35
|
+
var SortOptions;
|
|
36
|
+
(function (SortOptions) {
|
|
37
|
+
SortOptions["CREATED_AT"] = "created_at";
|
|
38
|
+
SortOptions["UPDATED_AT"] = "updated_at";
|
|
39
|
+
SortOptions["NAME"] = "name";
|
|
40
|
+
SortOptions["LAST_USED_AT"] = "last_used_at";
|
|
41
|
+
SortOptions["COUNTER"] = "counter";
|
|
42
|
+
SortOptions["STAR_COUNTER"] = "star_counter";
|
|
43
|
+
})(SortOptions || (SortOptions = {}));
|
|
44
|
+
|
|
3
45
|
function bind(fn, thisArg) {
|
|
4
46
|
return function wrap() {
|
|
5
47
|
return fn.apply(thisArg, arguments);
|
|
@@ -3529,4 +3571,4 @@ var VerdocsEndpoint = /** @class */ (function () {
|
|
|
3529
3571
|
return VerdocsEndpoint;
|
|
3530
3572
|
}());
|
|
3531
3573
|
|
|
3532
|
-
export { VerdocsEndpoint as V };
|
|
3574
|
+
export { TemplateSenderTypes as T, VerdocsEndpoint as V };
|
package/dist/esm/loader.js
CHANGED
|
@@ -10,7 +10,7 @@ const patchEsm = () => {
|
|
|
10
10
|
const defineCustomElements = (win, options) => {
|
|
11
11
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
12
|
return patchEsm().then(() => {
|
|
13
|
-
return bootstrapLazy([["verdocs-build",[[0,"verdocs-build",{"endpoint":[16],"templateId":[1,"template-id"],"step":[32],"pdfUrl":[32],"template":[32]}]]],["verdocs-sign",[[0,"verdocs-sign",{"envelopeId":[1,"envelope-id"],"roleId":[1,"role-id"],"inviteCode":[1,"invite-code"],"recipient":[32],"signerToken":[32],"hasSignature":[32],"nextButtonLabel":[32],"nextSubmits":[32],"errorMessage":[32],"focusedField":[32],"isDone":[32],"showDone":[32],"finishLater":[32],"showFinishLater":[32],"agreed":[32],"documentsSingularPlural":[32]}]]],["verdocs-field-initial",[[0,"verdocs-field-initial",{"field":[16],"disabled":[4],"initials":[1],"editable":[4],"moveable":[4],"done":[4],"roleindex":[2],"tempInitials":[32],"focusField":[64]}]]],["verdocs-field-signature",[[0,"verdocs-field-signature",{"field":[16],"name":[1],"disabled":[4],"editable":[4],"moveable":[4],"done":[4],"roleindex":[2],"tempSignature":[32],"focusField":[64]}]]],["verdocs-template-properties",[[0,"verdocs-template-properties",{"endpoint":[16],"templateId":[1,"template-id"],"template":[32],"name":[32],"visibility":[32],"sendReminders":[32],"firstReminderDays":[32],"reminderDays":[32]}]]],["verdocs-template-reminders",[[0,"verdocs-template-reminders",{"endpoint":[16],"templateId":[1,"template-id"],"showPlanBlocker":[32],"sendReminders":[32],"firstReminderDays":[32],"reminderDays":[32],"dirty":[32],"loading":[32]}]]],["verdocs-
|
|
13
|
+
return bootstrapLazy([["verdocs-build",[[0,"verdocs-build",{"endpoint":[16],"templateId":[1,"template-id"],"step":[32],"pdfUrl":[32],"template":[32]}]]],["verdocs-template-recipients",[[0,"verdocs-template-recipients",{"endpoint":[16],"templateId":[1,"template-id"],"showingRoleDialog":[32],"showingSenderDialog":[32],"sender":[32],"forceRerender":[32]}]]],["verdocs-sign",[[0,"verdocs-sign",{"envelopeId":[1,"envelope-id"],"roleId":[1,"role-id"],"inviteCode":[1,"invite-code"],"recipient":[32],"signerToken":[32],"hasSignature":[32],"nextButtonLabel":[32],"nextSubmits":[32],"errorMessage":[32],"focusedField":[32],"isDone":[32],"showDone":[32],"finishLater":[32],"showFinishLater":[32],"agreed":[32],"documentsSingularPlural":[32]}]]],["verdocs-field-initial",[[0,"verdocs-field-initial",{"field":[16],"disabled":[4],"initials":[1],"editable":[4],"moveable":[4],"done":[4],"roleindex":[2],"tempInitials":[32],"focusField":[64]}]]],["verdocs-field-signature",[[0,"verdocs-field-signature",{"field":[16],"name":[1],"disabled":[4],"editable":[4],"moveable":[4],"done":[4],"roleindex":[2],"tempSignature":[32],"focusField":[64]}]]],["verdocs-template-properties",[[0,"verdocs-template-properties",{"endpoint":[16],"templateId":[1,"template-id"],"template":[32],"name":[32],"visibility":[32],"sendReminders":[32],"firstReminderDays":[32],"reminderDays":[32]}]]],["verdocs-template-reminders",[[0,"verdocs-template-reminders",{"endpoint":[16],"templateId":[1,"template-id"],"showPlanBlocker":[32],"sendReminders":[32],"firstReminderDays":[32],"reminderDays":[32],"dirty":[32],"loading":[32]}]]],["verdocs-auth",[[0,"verdocs-auth",{"endpoint":[16],"visible":[4],"logo":[1],"isAuthenticated":[32],"displayMode":[32],"username":[32],"password":[32],"loggingIn":[32],"activeSession":[32],"loginError":[32]}]]],["verdocs-field-date",[[0,"verdocs-field-date",{"field":[16],"disabled":[4],"editable":[4],"moveable":[4],"done":[4],"roleindex":[2],"containerId":[32],"focusField":[64]}]]],["verdocs-field-textarea",[[0,"verdocs-field-textarea",{"field":[16],"disabled":[4],"editable":[4],"moveable":[4],"done":[4],"roleindex":[2],"focusField":[64]}]]],["verdocs-field-textbox",[[0,"verdocs-field-textbox",{"field":[16],"disabled":[4],"editable":[4],"moveable":[4],"done":[4],"roleindex":[2],"focusField":[64]}]]],["verdocs-field-timestamp",[[0,"verdocs-field-timestamp",{"field":[16],"disabled":[4],"editable":[4],"moveable":[4],"done":[4],"roleindex":[2],"focusField":[64]}]]],["verdocs-template-name",[[0,"verdocs-template-name",{"endpoint":[16],"templateId":[1,"template-id"],"name":[32],"dirty":[32],"loading":[32]}]]],["verdocs-search",[[0,"verdocs-search",{"endpoint":[16]}]]],["verdocs-send",[[0,"verdocs-send",{"endpoint":[16],"templateId":[1,"template-id"],"template":[32],"pdfUrl":[32],"containerId":[32],"rolesAtLevel":[32],"showPickerForId":[32],"sessionContacts":[32],"recipientsAssigned":[32]}]]],["verdocs-template-visibility",[[0,"verdocs-template-visibility",{"endpoint":[16],"templateId":[1,"template-id"],"dirty":[32],"loading":[32],"personal":[32],"public":[32]}]]],["verdocs-field-attachment",[[0,"verdocs-field-attachment",{"field":[16],"disabled":[4],"roleIndex":[2,"role-index"],"focusField":[64]}]]],["verdocs-preview",[[0,"verdocs-preview",{"endpoint":[16],"templateId":[1,"template-id"]}]]],["verdocs-envelope-sidebar",[[0,"verdocs-envelope-sidebar",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"activeTab":[32],"panelOpen":[32]}]]],["verdocs-kba-dialog",[[0,"verdocs-kba-dialog",{"step":[2],"steps":[2],"helptitle":[1],"helptext":[1],"mode":[1],"label":[1],"placeholder":[1],"choices":[16],"response":[32]}]]],["verdocs-template-attachments",[[0,"verdocs-template-attachments",{"endpoint":[16],"templateId":[1,"template-id"],"loading":[32]}]]],["verdocs-field-checkbox",[[0,"verdocs-field-checkbox",{"field":[16],"option":[2],"disabled":[4],"done":[4],"roleindex":[2]}]]],["verdocs-field-dropdown",[[0,"verdocs-field-dropdown",{"field":[16],"disabled":[4],"roleindex":[2],"focusField":[64]}]]],["verdocs-field-payment",[[0,"verdocs-field-payment",{"field":[16],"disabled":[4],"fields":[16],"pageNum":[2,"page-num"],"roleName":[1,"role-name"],"fieldId":[1,"field-id"],"recipients":[8],"selectedRoleName":[1,"selected-role-name"],"pdfPages":[16],"currentSignature":[1,"current-signature"],"currentSignatureId":[1,"current-signature-id"],"currentInitial":[1,"current-initial"],"currentInitialId":[1,"current-initial-id"],"focused":[4],"signed":[4],"roleindex":[2],"preparedMessage":[32],"signatureUrl":[32]}]]],["verdocs-field-radio-button",[[0,"verdocs-field-radio-button",{"field":[16],"option":[2],"disabled":[4],"done":[4],"roleindex":[2]}]]],["verdocs-organization-card",[[0,"verdocs-organization-card",{"organization":[16]}]]],["verdocs-search-tabs",[[0,"verdocs-search-tabs",{"selected":[32]}]]],["verdocs-status-indicator",[[0,"verdocs-status-indicator",{"size":[1],"theme":[1],"status":[1],"envelope":[16],"isOpen":[32],"recipientStatusIcons":[32],"containerId":[32]}]]],["verdocs-template-card",[[0,"verdocs-template-card",{"template":[16]}]]],["verdocs-template-tags",[[0,"verdocs-template-tags",{"tags":[16]}]]],["verdocs-toggle",[[0,"verdocs-toggle",{"options":[16],"theme":[1],"selectedOption":[32]}]]],["verdocs-button",[[0,"verdocs-button",{"label":[1],"startIcon":[1,"start-icon"],"endIcon":[1,"end-icon"],"size":[1],"type":[1],"variant":[1],"disabled":[4]}]]],["verdocs-initial-dialog",[[0,"verdocs-initial-dialog",{"initials":[1],"fontLoaded":[32],"enteredInitials":[32],"mode":[32]}]]],["verdocs-signature-dialog",[[0,"verdocs-signature-dialog",{"name":[1],"fontLoaded":[32],"enteredName":[32],"mode":[32]}]]],["verdocs-document-page_2",[[0,"verdocs-document-page",{"pageImageUri":[1,"page-image-uri"],"pageNumber":[2,"page-number"],"virtualWidth":[2,"virtual-width"],"virtualHeight":[1026,"virtual-height"],"layers":[16],"containerId":[32],"renderedWidth":[32],"renderedHeight":[32],"naturalWidth":[32],"naturalHeight":[32],"aspectRatio":[32],"skipFirstNotification":[32]}],[0,"verdocs-loader"]]],["verdocs-view",[[0,"verdocs-view",{"endpoint":[16],"envelopeId":[1,"envelope-id"]}]]],["verdocs-contact-picker",[[0,"verdocs-contact-picker",{"endpoint":[16],"templateRole":[16],"contactSuggestions":[16],"name":[32],"email":[32],"phone":[32],"message":[32],"showSuggestions":[32],"showMessage":[32],"delegator":[32]}]]],["verdocs-upload-dialog",[[0,"verdocs-upload-dialog",{"draggingOver":[32],"decodedFiles":[32]}]]],["verdocs-template-role-properties_2",[[0,"verdocs-template-role-properties",{"endpoint":[16],"templateId":[1,"template-id"],"roleName":[1,"role-name"],"sender":[1],"dirty":[32],"saving":[32],"name":[32],"type":[32],"fullName":[32],"email":[32],"phone":[32],"allowDelegation":[32]}],[0,"verdocs-template-sender",{"endpoint":[16],"templateId":[1,"template-id"],"sender":[1],"saving":[32]}]]],["verdocs-ok-dialog",[[0,"verdocs-ok-dialog",{"heading":[1],"message":[1],"showCancel":[4,"show-cancel"]}]]],["verdocs-radio-button",[[0,"verdocs-radio-button",{"checked":[4],"name":[1],"value":[1],"disabled":[4]}]]],["verdocs-floating-menu_2",[[0,"verdocs-floating-menu",{"options":[16]}],[0,"verdocs-toolbar-icon",{"text":[1],"icon":[1],"placement":[1],"containerId":[32]}]]],["verdocs-component-error",[[0,"verdocs-component-error",{"message":[1]}]]],["verdocs-template-create_2",[[0,"verdocs-template-fields",{"endpoint":[16],"templateId":[1,"template-id"],"placing":[32],"selectedRoleName":[32]}],[0,"verdocs-template-create",{"endpoint":[16],"file":[32]}]]],["verdocs-toggle-button",[[0,"verdocs-toggle-button",{"active":[4],"icon":[1],"label":[1],"size":[1],"_active":[32]}]]],["verdocs-quick-functions_3",[[0,"verdocs-quick-functions",{"endpoint":[16]}],[0,"verdocs-search-activity",{"endpoint":[16],"type":[1],"options":[8],"emptyMessage":[32],"authFailure":[32],"title":[32],"recent":[32],"saved":[32],"starred":[32]}],[0,"verdocs-search-box",{"endpoint":[16],"placeholder":[1],"type":[1],"query":[1],"grabsFocus":[4,"grabs-focus"],"focusField":[64]}]]],["verdocs-dropdown",[[0,"verdocs-dropdown",{"options":[16],"open":[32]}]]],["verdocs-checkbox",[[0,"verdocs-checkbox",{"checked":[4],"name":[1],"label":[1],"value":[1],"theme":[1],"disabled":[4]}]]],["verdocs-button-panel_2",[[4,"verdocs-button-panel",{"icon":[1]}],[0,"verdocs-select-input",{"value":[1],"label":[1],"options":[16],"disabled":[4]}]]],["verdocs-help-icon_2",[[0,"verdocs-text-input",{"value":[1],"label":[1],"placeholder":[1],"autocomplete":[1],"helpText":[1,"help-text"],"type":[1],"disabled":[4]}],[0,"verdocs-help-icon",{"text":[1],"containerId":[32]}]]]], options);
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-f78d163d.js';
|
|
2
|
-
import './
|
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-6df32d3a.js';
|
|
2
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-7f17b088.js';
|
|
4
3
|
import { S as SDKError } from './errors-9b5498c8.js';
|
|
5
4
|
import './Token-54690789.js';
|
|
6
5
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-f78d163d.js';
|
|
2
|
-
import './
|
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-6df32d3a.js';
|
|
2
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-7f17b088.js';
|
|
4
3
|
import { l as loadTemplate } from './Templates-03c50708.js';
|
|
5
4
|
import { S as SDKError } from './errors-9b5498c8.js';
|
|
6
5
|
import './Token-54690789.js';
|
|
@@ -57,7 +57,7 @@ const VerdocsButtonPanel = class {
|
|
|
57
57
|
};
|
|
58
58
|
VerdocsButtonPanel.style = verdocsButtonPanelCss;
|
|
59
59
|
|
|
60
|
-
const verdocsSelectInputCss = "verdocs-select-input{font-family:\"Barlow\", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0 0 10px 0;display:block}verdocs-select-input .input-element{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #707ae5;border-radius:4px;background:#ffffff;color:#000;width:100%;font-size:16px;height:28px;padding:4px
|
|
60
|
+
const verdocsSelectInputCss = "verdocs-select-input{font-family:\"Barlow\", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0 0 10px 0;display:block}verdocs-select-input .input-element{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #707ae5;border-radius:4px;background:#ffffff;color:#000;width:100%;font-size:16px;height:28px;padding:4px 8px}verdocs-select-input .input-element::-webkit-input-placeholder{color:#aaaaaa;opacity:1}verdocs-select-input .input-element::-moz-placeholder{color:#aaaaaa;opacity:1}verdocs-select-input .input-element:-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-select-input .input-element::-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-select-input .input-element::placeholder{color:#aaaaaa;opacity:1}verdocs-select-input .input-element:focus{border:1px solid #7d88ff}verdocs-select-input .input-label{display:block;color:#555570;font-weight:700;font-size:14px;margin:0 0 4px 0}";
|
|
61
61
|
|
|
62
62
|
const VerdocsSelectInput = class {
|
|
63
63
|
constructor(hostRef) {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-f78d163d.js';
|
|
2
|
-
import './
|
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-6df32d3a.js';
|
|
2
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-7f17b088.js';
|
|
4
3
|
import './Token-54690789.js';
|
|
5
4
|
|
|
6
5
|
const verdocsContactPickerCss = "verdocs-contact-picker{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;background-color:#ffffff}verdocs-contact-picker form{background-color:#f5f5fa;padding:12px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-contact-picker form .row{width:300px;display:-ms-flexbox;display:flex;position:relative;margin:0 0 20px 0;-ms-flex-direction:column;flex-direction:column}verdocs-contact-picker form label{display:block;font-size:14px;font-weight:500;margin:0 0 4px 0;color:#5c6575}verdocs-contact-picker form input{border:none;font-size:18px;padding:3px 6px 3px 0;background:transparent;border-bottom:1px solid #33364b}verdocs-contact-picker form input:focus{outline:none}verdocs-contact-picker form .dropdown{left:0;right:0;top:49px;z-index:100;position:absolute;background:#ffffff;-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}verdocs-contact-picker form .dropdown .suggestion{display:-ms-flexbox;display:flex;padding:6px 12px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .dropdown .suggestion svg{fill:#666666}verdocs-contact-picker form .dropdown .suggestion .avatar{width:48px;height:48px;-ms-flex:0 0 48px;flex:0 0 48px;margin-right:8px;border-radius:100%}verdocs-contact-picker form .dropdown .suggestion .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-contact-picker form .dropdown .suggestion .name{font-size:16px;font-weight:500;margin-bottom:3px;color:#092c4c}verdocs-contact-picker form .dropdown .suggestion .destination{font-size:14px;margin-bottom:3px;color:#33364b}verdocs-contact-picker form .dropdown .suggestion:hover{background:#eee;cursor:pointer}verdocs-contact-picker .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:8px;-moz-column-gap:8px;column-gap:8px;margin-top:16px;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker .buttons .flex-fill{-ms-flex:1;flex:1}verdocs-contact-picker ::-webkit-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-moz-placeholder{color:#aaaaaa}verdocs-contact-picker :-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::placeholder{color:#aaaaaa}verdocs-contact-picker [data-lastpass-icon-root]{display:none !important}";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-f78d163d.js';
|
|
2
|
-
import './
|
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-6df32d3a.js';
|
|
2
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-7f17b088.js';
|
|
4
3
|
import { g as getEnvelopeById, s as state } from './Envelopes-91d7e139.js';
|
|
5
4
|
import { S as SDKError } from './errors-9b5498c8.js';
|
|
6
5
|
import { f as format } from './index-d264c496.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-f78d163d.js';
|
|
2
2
|
import { c as createPopper } from './popper-f860750c.js';
|
|
3
3
|
|
|
4
|
-
const verdocsHelpIconCss = "verdocs-help-icon{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;display:inline-block}verdocs-help-icon .icon{display:inline-block}verdocs-help-icon .icon svg{fill:#5c6575}verdocs-help-icon .tooltip{display:none;-webkit-box-shadow:0 0 10px 1px #999999;box-shadow:0 0 10px 1px #999999;background:#ffffff;color:#33364b;max-width:240px;font-weight:bold;position:relative;padding:5px 10px;font-size:13px;border-radius:4px;z-index:10000}verdocs-help-icon .tooltip .arrow,verdocs-help-icon .tooltip .arrow::before{position:absolute;width:8px;height:8px;background:inherit}verdocs-help-icon .tooltip .arrow{visibility:hidden;top:-4px}verdocs-help-icon .tooltip .arrow::before{visibility:visible;content:\"\";-webkit-transform:rotate(45deg);transform:rotate(45deg)}verdocs-help-icon .tooltip[data-show]{display:block}verdocs-help-icon .tooltip[data-popper-placement^=top]>.arrow{bottom:-4px}verdocs-help-icon .tooltip[data-popper-placement^=bottom]>.arrow{top:-4px}verdocs-help-icon .tooltip[data-popper-placement^=left]>.arrow{right:-4px}verdocs-help-icon .tooltip[data-popper-placement^=right]>.arrow{left:-4px}";
|
|
4
|
+
const verdocsHelpIconCss = "verdocs-help-icon{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;display:inline-block;opacity:0.3}verdocs-help-icon:hover{opacity:1;cursor:none}verdocs-help-icon .icon{display:inline-block}verdocs-help-icon .icon svg{fill:#5c6575}verdocs-help-icon .tooltip{display:none;-webkit-box-shadow:0 0 10px 1px #999999;box-shadow:0 0 10px 1px #999999;background:#ffffff;color:#33364b;max-width:240px;font-weight:bold;position:relative;padding:5px 10px;font-size:13px;border-radius:4px;z-index:10000}verdocs-help-icon .tooltip .arrow,verdocs-help-icon .tooltip .arrow::before{position:absolute;width:8px;height:8px;background:inherit}verdocs-help-icon .tooltip .arrow{visibility:hidden;top:-4px}verdocs-help-icon .tooltip .arrow::before{visibility:visible;content:\"\";-webkit-transform:rotate(45deg);transform:rotate(45deg)}verdocs-help-icon .tooltip[data-show]{display:block}verdocs-help-icon .tooltip[data-popper-placement^=top]>.arrow{bottom:-4px}verdocs-help-icon .tooltip[data-popper-placement^=bottom]>.arrow{top:-4px}verdocs-help-icon .tooltip[data-popper-placement^=left]>.arrow{right:-4px}verdocs-help-icon .tooltip[data-popper-placement^=right]>.arrow{left:-4px}";
|
|
5
5
|
|
|
6
6
|
const helpIcon = '<svg xmlns="http://www.w3.org/2000/svg" height="24" width="24"><path d="M11.925 18q.55 0 .938-.387.387-.388.387-.938 0-.55-.387-.925-.388-.375-.938-.375-.55 0-.925.375t-.375.925q0 .55.375.938.375.387.925.387Zm-.95-3.85h1.95q0-.8.2-1.287.2-.488 1.025-1.288.65-.625 1.025-1.213.375-.587.375-1.437 0-1.425-1.025-2.175Q13.5 6 12.1 6q-1.425 0-2.35.775t-1.275 1.85l1.775.7q.125-.45.55-.975.425-.525 1.275-.525.725 0 1.1.412.375.413.375.888 0 .475-.287.9-.288.425-.713.775-1.075.95-1.325 1.475-.25.525-.25 1.875ZM12 22.2q-2.125 0-3.988-.8-1.862-.8-3.237-2.175Q3.4 17.85 2.6 15.988 1.8 14.125 1.8 12t.8-3.988q.8-1.862 2.175-3.237Q6.15 3.4 8.012 2.6 9.875 1.8 12 1.8t3.988.8q1.862.8 3.237 2.175Q20.6 6.15 21.4 8.012q.8 1.863.8 3.988t-.8 3.988q-.8 1.862-2.175 3.237Q17.85 20.6 15.988 21.4q-1.863.8-3.988.8Zm0-2.275q3.325 0 5.625-2.3t2.3-5.625q0-3.325-2.3-5.625T12 4.075q-3.325 0-5.625 2.3T4.075 12q0 3.325 2.3 5.625t5.625 2.3ZM12 12Z"/></svg>';
|
|
7
7
|
const VerdocsHelpIcon = class {
|
|
@@ -37,20 +37,23 @@ const VerdocsHelpIcon = class {
|
|
|
37
37
|
};
|
|
38
38
|
VerdocsHelpIcon.style = verdocsHelpIconCss;
|
|
39
39
|
|
|
40
|
-
const
|
|
40
|
+
const verdocsTextInputCss = "verdocs-text-input{font-family:\"Barlow\", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0 0 10px 0;display:block}verdocs-text-input .input-element{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #707ae5;border-radius:4px;background:#ffffff;color:#000;width:100%;font-size:16px;height:28px;padding:4px 12px;outline:none}verdocs-text-input .input-element:disabled{border:1px solid #aeb4bf;background:#f5f5fa}verdocs-text-input .input-element::-webkit-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-moz-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:focus{outline:1px solid #7d88ff}verdocs-text-input .input-label{display:block;color:#555570;font-weight:700;font-size:14px;margin:0 0 4px 0}verdocs-text-input [data-lastpass-icon-root]{display:none !important}";
|
|
41
41
|
|
|
42
|
-
const
|
|
42
|
+
const VerdocsTextInput = class {
|
|
43
43
|
constructor(hostRef) {
|
|
44
44
|
registerInstance(this, hostRef);
|
|
45
|
-
this.checked = false;
|
|
46
|
-
this.name = '';
|
|
47
45
|
this.value = '';
|
|
46
|
+
this.label = '';
|
|
47
|
+
this.placeholder = '';
|
|
48
|
+
this.autocomplete = '';
|
|
49
|
+
this.helpText = '';
|
|
50
|
+
this.type = 'text';
|
|
48
51
|
this.disabled = false;
|
|
49
52
|
}
|
|
50
53
|
render() {
|
|
51
|
-
return (h(Host, { class: {
|
|
54
|
+
return (h(Host, { class: "input-field" }, h("label", null, this.label ? h("div", { class: "input-label" }, this.label + ':') : h("div", null), h("input", { type: this.type, value: this.value, class: "input-element", "data-lpignore": "true", disabled: this.disabled, placeholder: this.placeholder, autoComplete: this.autocomplete }), this.helpText && h("verdocs-help-icon", { text: this.helpText }))));
|
|
52
55
|
}
|
|
53
56
|
};
|
|
54
|
-
|
|
57
|
+
VerdocsTextInput.style = verdocsTextInputCss;
|
|
55
58
|
|
|
56
|
-
export { VerdocsHelpIcon as verdocs_help_icon,
|
|
59
|
+
export { VerdocsHelpIcon as verdocs_help_icon, VerdocsTextInput as verdocs_text_input };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-f78d163d.js';
|
|
2
|
-
import './
|
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-6df32d3a.js';
|
|
2
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-7f17b088.js';
|
|
4
3
|
import { r as renderDocumentField, a as getRoleIndex } from './utils-3d95c588.js';
|
|
5
4
|
import { s as state } from './templateStore-62eb71e2.js';
|
|
6
5
|
import { l as loadTemplate } from './Templates-03c50708.js';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-f78d163d.js';
|
|
2
|
-
import './
|
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-6df32d3a.js';
|
|
2
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-7f17b088.js';
|
|
4
3
|
import { a as getTemplates } from './Templates-8e4ab976.js';
|
|
5
4
|
import './Token-54690789.js';
|
|
6
5
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-f78d163d.js';
|
|
2
|
+
|
|
3
|
+
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}";
|
|
4
|
+
|
|
5
|
+
const VerdocsRadioButton = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.checked = false;
|
|
9
|
+
this.name = '';
|
|
10
|
+
this.value = '';
|
|
11
|
+
this.disabled = false;
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
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}` })));
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
VerdocsRadioButton.style = verdocsRadioButtonCss;
|
|
18
|
+
|
|
19
|
+
export { VerdocsRadioButton as verdocs_radio_button };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-f78d163d.js';
|
|
2
|
-
import './
|
|
3
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-6df32d3a.js';
|
|
2
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-7f17b088.js';
|
|
4
3
|
import './Token-54690789.js';
|
|
5
4
|
|
|
6
5
|
const verdocsSearchCss = "verdocs-search{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;display:-ms-flexbox;display:flex;background-color:#1e2031}verdocs-search search-box{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:20px 10px}verdocs-search .boxes{-ms-flex-wrap:wrap;flex-wrap:wrap;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;margin:20px 0}verdocs-search search-recent,verdocs-search search-saved,verdocs-search search-quick-functions,verdocs-search search-starred{display:-ms-flexbox;display:flex;margin:0 20px 20px 0}";
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-f78d163d.js';
|
|
2
2
|
import { g as getTemplate } from './Templates-8e4ab976.js';
|
|
3
|
-
import './
|
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-7f17b088.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
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-6df32d3a.js';
|
|
7
6
|
import { a as getRoleIndex } from './utils-3d95c588.js';
|
|
8
7
|
import './Token-54690789.js';
|
|
9
8
|
import './Envelopes-130fd6ea.js';
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, F as Fragment } from './index-f78d163d.js';
|
|
2
2
|
import { b as getSigningSession, u as updateEnvelopeField, c as updateEnvelopeFieldSignature, d as updateEnvelopeFieldInitials } from './Envelopes-130fd6ea.js';
|
|
3
|
-
import './
|
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-7f17b088.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 { V as VerdocsEndpoint } from './VerdocsEndpoint-6df32d3a.js';
|
|
7
6
|
import { s as savePDF, u as updateDocumentFieldValue, a as getRoleIndex, r as renderDocumentField, b as getFieldId } from './utils-3d95c588.js';
|
|
8
7
|
import { g as getEnvelopeById, s as state } from './Envelopes-91d7e139.js';
|
|
9
8
|
import { S as SDKError } from './errors-9b5498c8.js';
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-f78d163d.js';
|
|
2
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-7f17b088.js';
|
|
3
|
+
import { s as state } from './templateStore-62eb71e2.js';
|
|
4
|
+
import { l as loadTemplate } from './Templates-03c50708.js';
|
|
5
|
+
import { S as SDKError } from './errors-9b5498c8.js';
|
|
6
|
+
import './Token-54690789.js';
|
|
7
|
+
import './index-fd7b8a34.js';
|
|
8
|
+
import './Primitives-054bc6e5.js';
|
|
9
|
+
import './Templates-8e4ab976.js';
|
|
10
|
+
|
|
11
|
+
const verdocsTemplateAttachmentsCss = "verdocs-template-attachments{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif}verdocs-template-attachments h5{font-size:16px;font-weight:bold;margin:0 0 10px 0;color:#4c56cb}verdocs-template-attachments .attachment{display:-ms-flexbox;display:flex;padding:5px 10px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;color:#33364b;border:1px solid #cccccc}verdocs-template-attachments svg{width:24px;height:24px;fill:#5c6575;margin:2px 10px 0 0}";
|
|
12
|
+
|
|
13
|
+
const FileIcon = '<svg focusable="false" aria-hidden="true" viewBox="0 0 24 24"><path d="M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z"></path></svg>';
|
|
14
|
+
const VerdocsTemplateAttachments = class {
|
|
15
|
+
constructor(hostRef) {
|
|
16
|
+
registerInstance(this, hostRef);
|
|
17
|
+
this.close = createEvent(this, "close", 7);
|
|
18
|
+
this.sdkError = createEvent(this, "sdkError", 7);
|
|
19
|
+
this.endpoint = VerdocsEndpoint.getDefault();
|
|
20
|
+
this.templateId = '';
|
|
21
|
+
this.loading = true;
|
|
22
|
+
}
|
|
23
|
+
async componentWillLoad() {
|
|
24
|
+
var _a, _b, _c;
|
|
25
|
+
try {
|
|
26
|
+
this.endpoint.loadSession();
|
|
27
|
+
await loadTemplate(this.endpoint, this.templateId);
|
|
28
|
+
this.loading = false;
|
|
29
|
+
}
|
|
30
|
+
catch (e) {
|
|
31
|
+
console.log('[TEMPLATE NAME] Error loading template', e);
|
|
32
|
+
this.loading = false;
|
|
33
|
+
(_a = this.sdkError) === null || _a === void 0 ? void 0 : _a.emit(new SDKError(e.message, (_b = e.response) === null || _b === void 0 ? void 0 : _b.status, (_c = e.response) === null || _c === void 0 ? void 0 : _c.data));
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
render() {
|
|
37
|
+
if (this.loading) {
|
|
38
|
+
return (h(Host, { class: "loading" }, h("verdocs-loader", null)));
|
|
39
|
+
}
|
|
40
|
+
// This is meant to be a companion for larger visual experiences so we just go blank on errors for now.
|
|
41
|
+
if (!this.endpoint.session || !state.template) {
|
|
42
|
+
return h(Host, { class: "empty" });
|
|
43
|
+
}
|
|
44
|
+
return (h(Host, null, h("h5", null, "Attachments"), state.template.template_documents.map(document => (h("div", { class: "attachment" }, h("span", { innerHTML: FileIcon }), document.name, " (", document.page_numbers, " page", document.page_numbers > 1 ? 's' : '', ")")))));
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
VerdocsTemplateAttachments.style = verdocsTemplateAttachmentsCss;
|
|
48
|
+
|
|
49
|
+
export { VerdocsTemplateAttachments as verdocs_template_attachments };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-f78d163d.js';
|
|
2
2
|
import { c as createTemplate, g as getTemplate } from './Templates-8e4ab976.js';
|
|
3
|
-
import './
|
|
4
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-6df32d3a.js';
|
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-7f17b088.js';
|
|
5
4
|
import { S as SDKError } from './errors-9b5498c8.js';
|
|
6
5
|
import { i as interact } from './interact.min-32c1c1e4.js';
|
|
7
6
|
import { a as getRoleIndex, r as renderDocumentField, c as updateCssTransform, d as defaultWidth, e as defaultHeight } from './utils-3d95c588.js';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-f78d163d.js';
|
|
2
2
|
import { u as updateTemplate } from './Templates-8e4ab976.js';
|
|
3
|
-
import './
|
|
4
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-6df32d3a.js';
|
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-7f17b088.js';
|
|
5
4
|
import { s as state } from './templateStore-62eb71e2.js';
|
|
6
5
|
import { l as loadTemplate } from './Templates-03c50708.js';
|
|
7
6
|
import { S as SDKError } from './errors-9b5498c8.js';
|
|
@@ -9,7 +8,7 @@ import './Token-54690789.js';
|
|
|
9
8
|
import './index-fd7b8a34.js';
|
|
10
9
|
import './Primitives-054bc6e5.js';
|
|
11
10
|
|
|
12
|
-
const verdocsTemplateNameCss = "verdocs-template-name{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif}verdocs-template-name.loading{min-height:300px;position:relative;display:block}verdocs-template-name.empty{display:none}verdocs-template-name form{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-template-name form label{font-size:16px;font-weight:
|
|
11
|
+
const verdocsTemplateNameCss = "verdocs-template-name{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif}verdocs-template-name.loading{min-height:300px;position:relative;display:block}verdocs-template-name.empty{display:none}verdocs-template-name form{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-template-name form label{font-size:16px;font-weight:bold;color:#4c56cb;margin:0 0 20px 0}verdocs-template-name form input{border:none;font-size:18px;padding:3px 6px 3px 0;background:transparent;border-bottom:1px solid #33364b}verdocs-template-name form input:focus{outline:none}verdocs-template-name .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:8px;-moz-column-gap:8px;column-gap:8px;margin-top:16px;-ms-flex-direction:row;flex-direction:row}verdocs-template-name ::-webkit-input-placeholder{color:#aaaaaa}verdocs-template-name ::-moz-placeholder{color:#aaaaaa}verdocs-template-name :-ms-input-placeholder{color:#aaaaaa}verdocs-template-name ::-ms-input-placeholder{color:#aaaaaa}verdocs-template-name ::placeholder{color:#aaaaaa}";
|
|
13
12
|
|
|
14
13
|
const VerdocsTemplateName = class {
|
|
15
14
|
constructor(hostRef) {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-f78d163d.js';
|
|
2
2
|
import { g as getTemplate } from './Templates-8e4ab976.js';
|
|
3
|
-
import './
|
|
4
|
-
import { V as VerdocsEndpoint } from './VerdocsEndpoint-6df32d3a.js';
|
|
3
|
+
import { V as VerdocsEndpoint } from './VerdocsEndpoint-7f17b088.js';
|
|
5
4
|
import { S as SDKError } from './errors-9b5498c8.js';
|
|
6
5
|
import { s as state } from './templateStore-62eb71e2.js';
|
|
7
6
|
import './Token-54690789.js';
|