@verdocs/web-sdk 4.2.96 → 4.2.99
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/{EnvelopeStore-8ff43359.js → EnvelopeStore-db69faac.js} +11 -6
- package/dist/cjs/{TemplateFieldStore-2ad4a148.js → TemplateFieldStore-836d8bf5.js} +0 -2
- package/dist/cjs/{TemplateStore-ea66895c.js → TemplateStore-d11d62c0.js} +1 -1
- package/dist/cjs/index-a27a7f77.js +8 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/verdocs-build.cjs.entry.js +2 -2
- package/dist/cjs/{verdocs-button_2.cjs.entry.js → verdocs-button_3.cjs.entry.js} +55 -0
- package/dist/cjs/{verdocs-checkbox_5.cjs.entry.js → verdocs-checkbox_4.cjs.entry.js} +2 -56
- package/dist/cjs/verdocs-contact-picker_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-dialog.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-recipient-link_2.cjs.entry.js +18 -106
- package/dist/cjs/verdocs-envelope-recipient-summary.cjs.entry.js +123 -0
- package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +57 -16
- package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +6 -6
- package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js +22 -39
- package/dist/cjs/verdocs-field-payment.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-kba-dialog.cjs.entry.js +2 -4
- package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-preview_9.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-quick-functions.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-radio-button_3.cjs.entry.js +11 -11
- package/dist/cjs/verdocs-search-tabs.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-sign.cjs.entry.js +19 -9
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-template-card.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-template-star.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-tags.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-view.cjs.entry.js +8 -1
- package/dist/cjs/verdocs-web-sdk.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.css +1 -0
- package/dist/collection/components/controls/verdocs-switch/verdocs-switch.css +61 -0
- package/dist/collection/components/controls/verdocs-switch/verdocs-switch.js +111 -0
- package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.css +3 -2
- package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.js +22 -4
- package/dist/collection/components/controls/verdocs-toggle-button/verdocs-toggle-button.js +1 -1
- package/dist/collection/components/controls/verdocs-toolbar-icon/verdocs-toolbar-icon.js +1 -1
- package/dist/collection/components/dialogs/verdocs-dialog/verdocs-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.css +6 -1
- package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.js +2 -4
- package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.css +3 -0
- package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js +47 -32
- package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js +1 -1
- package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js +1 -1
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +19 -9
- package/dist/collection/components/embeds/verdocs-view/verdocs-view.js +10 -2
- package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -1
- package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.css +24 -7
- package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.js +62 -18
- package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +6 -6
- package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +2 -2
- package/dist/collection/components/fields/verdocs-field-attachment/verdocs-field-attachment.js +19 -2
- package/dist/collection/components/fields/verdocs-field-checkbox/verdocs-field-checkbox.js +0 -2
- package/dist/collection/components/fields/verdocs-field-date/verdocs-field-date.css +3 -3
- package/dist/collection/components/fields/verdocs-field-date/verdocs-field-date.js +6 -2
- package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.js +1 -1
- package/dist/collection/components/templates/verdocs-template-document-page/verdocs-template-document-page.js +1 -1
- package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +8 -8
- package/dist/collection/components/templates/verdocs-template-sender/verdocs-template-sender.js +1 -1
- package/dist/collection/components/templates/verdocs-template-star/verdocs-template-star.js +1 -1
- package/dist/collection/components/templates/verdocs-template-tags/verdocs-template-tags.js +1 -1
- package/dist/collection/utils/EnvelopeStore.js +10 -6
- package/dist/collection/utils/TemplateFieldStore.js +0 -2
- package/dist/components/EnvelopeStore.js +11 -7
- package/dist/components/TemplateFieldStore.js +0 -2
- package/dist/components/index.js +2 -0
- package/dist/components/verdocs-dialog.js +1 -1
- package/dist/components/verdocs-dropdown2.js +1 -1
- package/dist/components/verdocs-envelope-document-page2.js +1 -1
- package/dist/components/verdocs-envelope-recipient-summary.js +147 -1
- package/dist/components/verdocs-envelope-sidebar.js +85 -29
- package/dist/components/verdocs-envelopes-list.js +6 -6
- package/dist/components/verdocs-field-attachment2.js +3 -0
- package/dist/components/verdocs-field-checkbox2.js +0 -2
- package/dist/components/verdocs-field-date2.js +7 -3
- package/dist/components/verdocs-initial-dialog2.js +1 -1
- package/dist/components/verdocs-kba-dialog.js +2 -4
- package/dist/components/verdocs-ok-dialog2.js +1 -1
- package/dist/components/verdocs-quick-functions.js +1 -1
- package/dist/components/verdocs-search-tabs.js +1 -1
- package/dist/components/verdocs-sign.js +19 -9
- package/dist/components/verdocs-signature-dialog2.js +1 -1
- package/dist/components/verdocs-status-indicator2.js +2 -2
- package/dist/components/verdocs-switch.d.ts +11 -0
- package/dist/components/verdocs-switch.js +6 -0
- package/dist/components/verdocs-switch2.js +44 -0
- package/dist/components/verdocs-template-card.js +1 -1
- package/dist/components/verdocs-template-document-page2.js +1 -1
- package/dist/components/verdocs-template-role-properties2.js +8 -8
- package/dist/components/verdocs-template-sender2.js +1 -1
- package/dist/components/verdocs-template-star2.js +1 -1
- package/dist/components/verdocs-template-tags.js +1 -1
- package/dist/components/verdocs-text-input2.js +7 -6
- package/dist/components/verdocs-toggle-button2.js +1 -1
- package/dist/components/verdocs-toolbar-icon2.js +1 -1
- package/dist/components/verdocs-upload-dialog2.js +11 -32
- package/dist/components/verdocs-view2.js +10 -2
- package/dist/esm/{EnvelopeStore-27e21856.js → EnvelopeStore-8b1d4755.js} +11 -7
- package/dist/esm/{TemplateFieldStore-4a2e5b85.js → TemplateFieldStore-68bf6acd.js} +0 -2
- package/dist/esm/{TemplateStore-cd995a27.js → TemplateStore-41799d0a.js} +1 -1
- package/dist/esm/index-a68c7262.js +8 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/verdocs-build.entry.js +2 -2
- package/dist/esm/{verdocs-button_2.entry.js → verdocs-button_3.entry.js} +56 -2
- package/dist/esm/{verdocs-checkbox_5.entry.js → verdocs-checkbox_4.entry.js} +3 -56
- package/dist/esm/verdocs-contact-picker_2.entry.js +1 -1
- package/dist/esm/verdocs-dialog.entry.js +1 -1
- package/dist/esm/verdocs-dropdown.entry.js +1 -1
- package/dist/esm/verdocs-envelope-document-page.entry.js +1 -1
- package/dist/esm/verdocs-envelope-recipient-link_2.entry.js +19 -107
- package/dist/{components/verdocs-envelope-recipient-summary2.js → esm/verdocs-envelope-recipient-summary.entry.js} +11 -41
- package/dist/esm/verdocs-envelope-sidebar.entry.js +59 -18
- package/dist/esm/verdocs-envelopes-list.entry.js +6 -6
- package/dist/esm/verdocs-field-attachment_13.entry.js +22 -39
- package/dist/esm/verdocs-field-payment.entry.js +1 -1
- package/dist/esm/verdocs-kba-dialog.entry.js +2 -4
- package/dist/esm/verdocs-ok-dialog.entry.js +1 -1
- package/dist/esm/verdocs-preview_9.entry.js +2 -2
- package/dist/esm/verdocs-quick-functions.entry.js +1 -1
- package/dist/esm/verdocs-radio-button_3.entry.js +11 -11
- package/dist/esm/verdocs-search-tabs.entry.js +1 -1
- package/dist/esm/verdocs-sign.entry.js +20 -10
- package/dist/esm/verdocs-status-indicator.entry.js +2 -2
- package/dist/esm/verdocs-template-card.entry.js +1 -1
- package/dist/esm/verdocs-template-document-page_2.entry.js +3 -3
- package/dist/esm/verdocs-template-star.entry.js +1 -1
- package/dist/esm/verdocs-template-tags.entry.js +1 -1
- package/dist/esm/verdocs-view.entry.js +8 -1
- package/dist/esm/verdocs-web-sdk.js +1 -1
- package/dist/esm-es5/EnvelopeStore-8b1d4755.js +1 -0
- package/dist/esm-es5/{TemplateFieldStore-4a2e5b85.js → TemplateFieldStore-68bf6acd.js} +1 -1
- package/dist/esm-es5/{TemplateStore-cd995a27.js → TemplateStore-41799d0a.js} +1 -1
- package/dist/esm-es5/index-a68c7262.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/verdocs-build.entry.js +1 -1
- package/dist/esm-es5/verdocs-button_3.entry.js +1 -0
- package/dist/esm-es5/verdocs-checkbox_4.entry.js +1 -0
- package/dist/esm-es5/verdocs-contact-picker_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-dropdown.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-recipient-link_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-recipient-summary.entry.js +1 -0
- package/dist/esm-es5/verdocs-envelope-sidebar.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-attachment_13.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-payment.entry.js +1 -1
- package/dist/esm-es5/verdocs-kba-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-ok-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-preview_9.entry.js +1 -1
- package/dist/esm-es5/verdocs-quick-functions.entry.js +1 -1
- package/dist/esm-es5/verdocs-radio-button_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-search-tabs.entry.js +1 -1
- package/dist/esm-es5/verdocs-sign.entry.js +1 -1
- package/dist/esm-es5/verdocs-status-indicator.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-card.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-star.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-tags.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-switch/verdocs-switch.d.ts +21 -0
- package/dist/types/components/controls/verdocs-text-input/verdocs-text-input.d.ts +2 -0
- package/dist/types/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.d.ts +1 -1
- package/dist/types/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.d.ts +7 -0
- package/dist/types/components/embeds/verdocs-view/verdocs-view.d.ts +1 -0
- package/dist/types/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.d.ts +7 -2
- package/dist/types/components/fields/verdocs-field-attachment/verdocs-field-attachment.d.ts +7 -2
- package/dist/types/components/fields/verdocs-field-date/verdocs-field-date.d.ts +0 -1
- package/dist/types/components.d.ts +105 -6
- package/dist/types/utils/EnvelopeStore.d.ts +2 -1
- package/dist/verdocs-web-sdk/{p-44dad7e0.entry.js → p-025eeafe.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-1c04628f.entry.js → p-09b52821.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-0bc31629.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-e5435d6f.entry.js → p-128e17f1.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2cf67caa.system.js → p-1a663adf.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-4372c294.js → p-1b0294d4.js} +1 -1
- package/dist/verdocs-web-sdk/p-1cb18a85.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-1e89f52d.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-267df026.system.js +1 -1
- package/dist/verdocs-web-sdk/{p-b743f246.system.entry.js → p-33f5ff73.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a1bff034.system.js → p-38c6897c.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d80305c3.entry.js → p-393489cb.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2a0d1b6e.entry.js → p-405875b4.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-40b66b54.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-9d383fad.system.entry.js → p-444191a8.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ba8fc3fc.entry.js → p-4480e944.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-de1f949a.entry.js → p-4c514f4f.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-4dde02da.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-52023c14.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-71783a91.system.entry.js → p-56a7b8df.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-4475c970.system.entry.js → p-5a8672ab.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-be2431ed.system.entry.js → p-64d648c1.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-bbdc81d5.system.entry.js → p-669771a1.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-68545704.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-4efb0a48.system.entry.js → p-75e02f38.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-281ce405.system.entry.js → p-77f25be6.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-784ac100.js +1 -0
- package/dist/verdocs-web-sdk/p-7da5f9e6.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-809e1a1f.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-85aaa229.entry.js → p-8395d4f2.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-84a8d8c5.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-6bcdfa4f.system.entry.js → p-86482c5e.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-94852d77.entry.js → p-88c3a2b9.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a5b56406.system.entry.js → p-9790720c.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-985363b3.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-0eeaf11d.system.entry.js → p-a75f7b16.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-af9f6863.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-b7b1ad8f.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-d55b1490.entry.js → p-b8938237.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-ba857346.system.js +1 -0
- package/dist/verdocs-web-sdk/{p-65596be9.entry.js → p-bde2073e.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-b7a0a567.entry.js → p-c2e15dd9.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-c392509e.js +1 -0
- package/dist/verdocs-web-sdk/{p-e331a1ad.system.entry.js → p-c5dad8bb.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-4e97fc5c.entry.js → p-c8196df5.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-cca9858f.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-ce8420d1.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-2531fcad.entry.js → p-d5f7caa2.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-d6577207.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-e544d694.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-eb602f8f.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-5b511018.entry.js → p-ed38f9b4.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3514f40b.entry.js → p-edcc7110.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-35ca7ec1.system.entry.js → p-ef0061be.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9ad111fc.entry.js → p-f0dd04a1.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-fcedcc72.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-c9b00253.system.entry.js → p-fd2224bb.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a764d4cd.system.entry.js → p-fe672057.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-be7fa476.system.entry.js → p-ff9fc188.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +2 -2
- package/dist/collection/components/controls/verdocs-toggle/grid.svg +0 -1
- package/dist/collection/components/controls/verdocs-toggle/list.svg +0 -1
- package/dist/esm-es5/EnvelopeStore-27e21856.js +0 -1
- package/dist/esm-es5/verdocs-button_2.entry.js +0 -1
- package/dist/esm-es5/verdocs-checkbox_5.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-01199d7a.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-143f1bdf.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-1500a477.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-18188ae5.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-380541d9.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-393b2a8e.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-437de527.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-61860777.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-8302dcf5.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-9b3bebba.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-a87190ad.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-b426caa8.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-b4ae9308.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-ba2d11a0.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-d3b5c957.system.js +0 -1
- package/dist/verdocs-web-sdk/p-d754b3d1.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-ed199c97.js +0 -1
- package/dist/verdocs-web-sdk/p-fd782917.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-fe1b68ae.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-ff64786a.js +0 -1
@@ -216,7 +216,7 @@ export class VerdocsInitialDialog {
|
|
216
216
|
}
|
217
217
|
*/
|
218
218
|
render() {
|
219
|
-
return (h(Host, { key: '
|
219
|
+
return (h(Host, { key: '8d0116cf97848213877b5250d2b49e8da73f9d7a', onClick: e => this.handleCancel(e) }, h("div", { key: '81a12261f5eef48b00309756c685fae9993f613a', class: "dialog" }, h("div", { key: '91364e9ac8d4bbdd50dc201a323c9b34a1d5ddfc', class: "heading" }, "Create Your Initial"), h("div", { key: 'dea07efcc51b6b8530e2615f05bcd8024e6d2029', class: "content" }, h("verdocs-text-input", { key: '04ad40f6f734556849afa551ef9eb665d3b28c48', placeholder: "Initials...", label: "Initials", value: this.enteredInitials, onInput: e => this.handleNameChange(e) }), h("div", { key: 'c038a30e6355e58d428c5b0190868a536236dfb3', class: "as-shown" }, "As shown on driver's license or govt. ID card."), this.fontLoaded ? h("canvas", { ref: el => (this.canvasElement = el) }) : h("div", { style: { display: 'none' } }), h("div", { key: '22a8f81443052b8e0523f19161a9cf8671fe9f45', class: "disclaimer" }, "By clicking Adopt, I agree that the signature will be the electronic representation of my signature for all purposes when I (or my agent) use them on documents, including legally binding contracts \u2014 just the same as a pen-and-paper signature or initial."), h("div", { key: 'd6c53a1846c6d109d38d1977a452dcfbea1b7aeb', class: "buttons" }, h("verdocs-button", { key: '0c12b1bfd70a923564e77a7970472cc5cdcdf0e9', label: "CANCEL", variant: "outline", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '88ef91ffa75db664b822758f38143d5535b6803c', label: "Adopt & Sign", onClick: e => this.handleAdopt(e) }))))));
|
220
220
|
}
|
221
221
|
static get is() { return "verdocs-initial-dialog"; }
|
222
222
|
static get originalStyleUrls() {
|
@@ -36,6 +36,7 @@ verdocs-kba-dialog .dialog {
|
|
36
36
|
overflow: hidden;
|
37
37
|
background: #fff;
|
38
38
|
padding: 16px;
|
39
|
+
gap: 14px;
|
39
40
|
box-shadow: 3px 3px 5px 1px rgba(40, 40, 40, 0.4);
|
40
41
|
}
|
41
42
|
verdocs-kba-dialog .heading {
|
@@ -52,7 +53,6 @@ verdocs-kba-dialog .help-box {
|
|
52
53
|
background-color: #707ae5;
|
53
54
|
display: flex;
|
54
55
|
flex-direction: row;
|
55
|
-
margin: 14px 0;
|
56
56
|
padding: 14px;
|
57
57
|
align-items: center;
|
58
58
|
color: white;
|
@@ -82,8 +82,13 @@ verdocs-kba-dialog .input {
|
|
82
82
|
margin: 16px 0 32px;
|
83
83
|
}
|
84
84
|
verdocs-kba-dialog .input label {
|
85
|
+
flex: 0;
|
85
86
|
line-height: 10px;
|
86
87
|
font-weight: 500;
|
88
|
+
white-space: nowrap;
|
89
|
+
}
|
90
|
+
verdocs-kba-dialog .input input {
|
91
|
+
flex: 1;
|
87
92
|
}
|
88
93
|
verdocs-kba-dialog .choices {
|
89
94
|
display: grid;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { h, Fragment, Host } from "@stencil/core";
|
2
2
|
const QuestionIcon = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 0C8.95313 0 0 8.95313 0 20C0 31.0469 8.95313 40 20 40C31.0469 40 40 31.0469 40 20C40 8.95313 31.0469 0 20 0ZM20 36.25C11.0391 36.25 3.75 28.9602 3.75 20C3.75 11.0398 11.0391 3.75 20 3.75C28.9609 3.75 36.25 11.0398 36.25 20C36.25 28.9602 28.9609 36.25 20 36.25Z" fill="white"/><path d="M20 26.25C18.5938 26.25 17.5 27.3438 17.5 28.75C17.5 30.1562 18.5234 31.25 20 31.25C21.3359 31.25 22.5 30.1562 22.5 28.75C22.5 27.3438 21.3359 26.25 20 26.25ZM22.5859 10H18.5938C15.5469 10 13.125 12.4219 13.125 15.4688C13.125 16.4844 13.9844 17.3438 15 17.3438C16.0156 17.3438 16.875 16.4844 16.875 15.4688C16.875 14.5312 17.5859 13.75 18.5234 13.75H22.5156C23.5234 13.75 24.375 14.5312 24.375 15.4688C24.375 16.0938 24.0625 16.5703 23.5156 16.8828L19.0625 19.6094C18.4375 20 18.125 20.625 18.125 21.25V22.5C18.125 23.5156 18.9844 24.375 20 24.375C21.0156 24.375 21.875 23.5156 21.875 22.5V22.3438L25.3984 20.1562C27.0391 19.1406 28.0547 17.3438 28.0547 15.4688C28.125 12.4219 25.7031 10 22.5859 10Z" fill="#E7E7E7"/></svg>`;
|
3
3
|
/**
|
4
|
-
* Prompt the user to confirm their identity with a series of questions.
|
4
|
+
* Prompt the user to confirm their identity with a PIN or a series of questions.
|
5
5
|
*/
|
6
6
|
export class VerdocsKbaDialog {
|
7
7
|
constructor() {
|
@@ -29,9 +29,7 @@ export class VerdocsKbaDialog {
|
|
29
29
|
this.next.emit(this.response);
|
30
30
|
}
|
31
31
|
render() {
|
32
|
-
return (h(Host, { key: '
|
33
|
-
this.response = choice;
|
34
|
-
} }, choice))))) : (h("div", { class: "input" }, h("label", { htmlFor: "verdocs-kba-input" }, this.label), h("input", { type: "text", id: "verdocs-kba-input", name: "verdocs-kba-input", placeholder: this.placeholder }))), h("div", { key: '292ba4aeeb659c074ca6bf7cf140509eef3bae72', class: "buttons" }, h("verdocs-button", { key: '66d145fd7aa347f7fadb14a4242626a85961bb11', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), h("verdocs-button", { key: 'e27794562d12fb066509df1c28836b2292e85e4e', label: "Done", onClick: () => this.handleDone(), disabled: !this.response }))))));
|
32
|
+
return (h(Host, { key: '9b857660b91b89f928049d3f85a66bc1e585105e' }, h("div", { key: '36ff0ab3351dff215a5abf4a1ff7356346747650', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '26003d02099b3f64660091ee1dc02b81e7b9ca13', class: "dialog" }, h("div", { key: '4fb9daa61b801da6eb5f096149b09d4e0b89f676', class: "heading" }, "Confirm Your Identity", this.steps > 1 ? (h("span", { class: "step" }, "(", this.step, "/", this.steps, ")")) : (h(Fragment, null))), !!this.helptitle && (h("div", { key: 'bfac2a1a7bb294e1b24eb17664bcdd65ce7c4a17', class: "help-box" }, h("div", { key: '434dd57cdcd743f612985866d0e16e6f1fd2b1e1', class: "help-icon", innerHTML: QuestionIcon }), h("div", { key: '661bfcc2e80d66dceae242251e0734af45e83185', class: "help-details" }, h("div", { key: '786b81135e2080d7881016221fe99d3a1ecff095', class: "help-title" }, this.helptitle), h("div", { key: '0b31cb58496e9665389399e6f426dc4266837af0', class: "help-text" }, this.helptext)))), this.mode === 'choice' ? (h("div", { class: "choices" }, this.choices.map(choice => (h("div", { class: `choice ${choice === this.response ? 'selected' : ''}`, onClick: () => (this.response = choice) }, choice))))) : (h("div", { class: "input" }, h("label", { htmlFor: "verdocs-kba-input" }, this.label), h("input", { type: "text", id: "verdocs-kba-input", name: "verdocs-kba-input", placeholder: this.placeholder, value: this.response, onInput: (e) => (this.response = e.target.value) }))), h("div", { key: 'a6752c1cbeb1a83cf1adbb2f634cc8bdf79ebb0a', class: "buttons" }, h("verdocs-button", { key: '1a2d7c28c34f7f6bfbc554b116b096617aa0b40e', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), h("verdocs-button", { key: 'fb1c40e5895a0644c904fac36b860aaf62eb7e95', label: "Done", onClick: () => this.handleDone(), disabled: !this.response }))))));
|
35
33
|
}
|
36
34
|
static get is() { return "verdocs-kba-dialog"; }
|
37
35
|
static get originalStyleUrls() {
|
@@ -27,7 +27,7 @@ export class VerdocsOkDialog {
|
|
27
27
|
}
|
28
28
|
}
|
29
29
|
render() {
|
30
|
-
return (h(Host, { key: '
|
30
|
+
return (h(Host, { key: '1077eb562a8fd6bb9b1771d00e3d6bf37682dc68', class: this.closed ? 'closed' : '' }, h("div", { key: '370c8176f1be6c1b7ff44c9ac6d30c162f2c5b10', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: 'e502d4a7fc18fd0bee04ff9679ed345bc5aa93da', class: "dialog" }, h("div", { key: '826089d49b624246e909ff4437bf3d5bd8d8e5d8', class: "heading" }, this.heading), h("div", { key: '8aae0a35156334f6e052d0119d8398c64a627869', class: "content" }, h("div", { key: 'e4740cd967c231c03ffcf37b3c94c474b2760c97', class: "message", innerHTML: this.message }), h("div", { key: 'e0c1419acf0367f2342f8cf7325a5cde7922ac7e', class: "buttons" }, this.showCancel ? h("verdocs-button", { label: "CANCEL", variant: "outline", onClick: () => this.handleCancel() }) : h("div", { style: { display: 'none' } }), h("verdocs-button", { key: '0aaa059fe1071f45f2497963c820e8ab0d74fddd', label: this.buttonLabel, onClick: () => this.handleOk() })))))));
|
31
31
|
}
|
32
32
|
static get is() { return "verdocs-ok-dialog"; }
|
33
33
|
static get originalStyleUrls() {
|
package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js
CHANGED
@@ -213,7 +213,7 @@ export class VerdocsSignatureDialog {
|
|
213
213
|
}
|
214
214
|
*/
|
215
215
|
render() {
|
216
|
-
return (h(Host, { key: '
|
216
|
+
return (h(Host, { key: 'f034c340293126cce5febf238cbcbf69a5134253', onClick: e => this.handleCancel(e) }, h("div", { key: '800bc098a14e777918b3a35292d58d249fe646f9', class: "dialog" }, h("div", { key: 'b50d5c57b8c9ef980f9b146376cd32a68f8e302d', class: "heading" }, "Create Your Signature"), h("div", { key: '82ad4da15b63875bdb376a2e546c06d5fef1eb44', class: "content" }, h("verdocs-text-input", { key: '6df6805d9f761819b190e62a871e3580acce50e7', placeholder: "Full Name...", label: "Full Name", value: this.enteredName, onInput: e => this.handleNameChange(e), onClick: e => e.stopPropagation() }), h("div", { key: 'e471f1b5f703bcfc77326dbcb2ba2bc5499d27a6', class: "as-shown" }, "As shown on driver's license or govt. ID card."), this.fontLoaded ? h("canvas", { ref: el => (this.canvasElement = el) }) : h("div", { style: { display: 'none' } }), h("div", { key: 'eaeede6b4d7fa6087fbd49e79a427c36606acb8b', class: "disclaimer" }, "By clicking Adopt, I agree that the signature will be the electronic representation of my signature for all purposes when I (or my agent) use them on documents, including legally binding contracts \u2014 just the same as a pen-and-paper signature or initial."), h("div", { key: 'f20d4607c71a2a25589cf660aa9882b83b99baa8', class: "buttons" }, h("verdocs-button", { key: '59673617176d5a00809ee27d0015eb2c26b22ced', label: "CANCEL", size: "normal", variant: "outline", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: 'a27c2f2f68b4aa5291330bcbb5601da22c947e9a', label: "Adopt & Sign", size: "normal", onClick: e => this.handleAdopt(e) }))))));
|
217
217
|
}
|
218
218
|
static get is() { return "verdocs-signature-dialog"; }
|
219
219
|
static get originalStyleUrls() {
|
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
import { h, Host } from "@stencil/core";
|
1
|
+
import { h, Fragment, Host } from "@stencil/core";
|
3
2
|
const TrashIcon = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" /></svg>`;
|
4
3
|
const PaperclipIcon = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.172 7l-6.586 6.586a2 2 0 102.828 2.828l6.414-6.586a4 4 0 00-5.656-5.656l-6.415 6.585a6 6 0 108.486 8.486L20.5 13" /></svg>`;
|
5
4
|
/**
|
@@ -9,23 +8,22 @@ const PaperclipIcon = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewB
|
|
9
8
|
*/
|
10
9
|
export class VerdocsUploadDialog {
|
11
10
|
constructor() {
|
11
|
+
this.existingFile = undefined;
|
12
12
|
this.draggingOver = false;
|
13
13
|
this.selectedFiles = [];
|
14
14
|
}
|
15
|
-
// @State() droppedFiles = [] as IFileWithData[];
|
16
15
|
handleCancel() {
|
17
16
|
this.exit.emit();
|
18
17
|
}
|
19
18
|
// We need a separate event handler for clicking the background because it can receive events "through" other child components
|
20
19
|
handleDismiss(e) {
|
21
|
-
if (e.target.
|
20
|
+
if (e.target.class === 'background-overlay') {
|
22
21
|
e.preventDefault();
|
23
22
|
this.handleCancel();
|
24
23
|
}
|
25
24
|
}
|
26
25
|
handleDone() {
|
27
26
|
this.next.emit(this.selectedFiles);
|
28
|
-
// this.next.emit(this.droppedFiles);
|
29
27
|
}
|
30
28
|
handleDragOver(e) {
|
31
29
|
e.preventDefault();
|
@@ -39,27 +37,15 @@ export class VerdocsUploadDialog {
|
|
39
37
|
e.preventDefault();
|
40
38
|
this.draggingOver = false;
|
41
39
|
this.selectedFiles = Array.from(e.dataTransfer.items);
|
42
|
-
// Required for cross-browser support. Note that dataTransfer.items is of type DataTransferItemList and is not an array.
|
43
|
-
// let droppedFiles = [] as File[];
|
44
|
-
// if (e.dataTransfer.items) {
|
45
|
-
// for (let i = 0; i < e.dataTransfer.items.length; i++) {
|
46
|
-
// if (e.dataTransfer.items[i].kind === 'file') {
|
47
|
-
// const file = e.dataTransfer.items[i].getAsFile();
|
48
|
-
// droppedFiles.push(file);
|
49
|
-
// }
|
50
|
-
// }
|
51
|
-
// } else {
|
52
|
-
// droppedFiles = e.dataTransfer.files;
|
53
|
-
// }
|
54
|
-
// this.decodedFiles = await Promise.all(droppedFiles.map(fileToDataUrl));
|
55
40
|
}
|
56
41
|
handleRemoveAttachment(index) {
|
57
42
|
const newFiles = [...this.selectedFiles];
|
58
43
|
newFiles.splice(index, 1);
|
59
44
|
this.selectedFiles = newFiles;
|
60
|
-
|
61
|
-
|
62
|
-
|
45
|
+
}
|
46
|
+
handleDeleteAttachment() {
|
47
|
+
var _a;
|
48
|
+
(_a = this.remove) === null || _a === void 0 ? void 0 : _a.emit();
|
63
49
|
}
|
64
50
|
handleSelectFile() {
|
65
51
|
var _a;
|
@@ -72,19 +58,9 @@ export class VerdocsUploadDialog {
|
|
72
58
|
for (let i = 0; i < ((_b = this.fileInput) === null || _b === void 0 ? void 0 : _b.files.length); i++) {
|
73
59
|
droppedFiles.push((_c = this.fileInput) === null || _c === void 0 ? void 0 : _c.files[i]);
|
74
60
|
}
|
75
|
-
// this.decodedFiles = await Promise.all(droppedFiles.map(fileToDataUrl));
|
76
|
-
// let droppedFiles = [] as File[];
|
77
|
-
// for (let i = 0; i < this.fileInput?.files.length; i++) {
|
78
|
-
// droppedFiles.push(this.fileInput?.files[i]);
|
79
|
-
// }
|
80
|
-
// this.decodedFiles = await Promise.all(droppedFiles.map(fileToDataUrl));
|
81
61
|
}
|
82
62
|
render() {
|
83
|
-
return (h(Host, { key: '
|
84
|
-
// {this.decodedFiles.length < 1 ? (
|
85
|
-
h("div", { class: { 'drop-target': true, 'dragging-over': this.draggingOver }, onDragOver: e => this.handleDragOver(e), onDragLeave: e => this.handleDragLeave(e), onDrop: e => this.handleDrop(e) }, h("p", null, "Drag and drop a file here..."), h("p", null, "- or -"), h("verdocs-button", { label: "Select a file...", onClick: () => this.handleSelectFile() }), h("input", { type: "file", ref: el => (this.fileInput = el), style: { display: 'none' }, onChange: () => this.handleFileChange() }))) : (h("div", { class: "attachments" }, this.selectedFiles.map((file, index) => (
|
86
|
-
// {this.decodedFiles.map((file, index) => (
|
87
|
-
h("div", { class: "attachment" }, h("div", { class: "icon", innerHTML: PaperclipIcon }), h("div", { class: "name" }, file.name), h("div", { class: "icon trash", innerHTML: TrashIcon, onClick: () => this.handleRemoveAttachment(index) })))))), h("div", { key: '566289404d41ef017e101c68601593bd85b4fb4a', class: "buttons" }, h("verdocs-button", { key: 'd1d62c6590dd3d800f329e2c70aca963527d42b4', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), h("verdocs-button", { key: '000b401b00de23141b2c7f856d14715835ce2f7c', label: "Done", onClick: () => this.handleDone(), disabled: this.selectedFiles.length < 1 }))))));
|
63
|
+
return (h(Host, { key: '107df7d3d61af8fffdeeb2a5cd9664a283cf8176' }, h("div", { key: 'b44a837d42428a5c8b553ea57fdadb6ee62e9927', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: 'd13b0188f60e71d8ca32a5c5031753a9717f119d', class: "dialog" }, h("div", { key: '7dd24568bfdeed7241ef09f4cc539461564048af', class: "heading" }, "Upload attachment"), this.selectedFiles.length < 1 && this.existingFile && (h(Fragment, { key: '6b7197060ecf23a561518dfa1fe3087c11c7d596' }, h("div", { key: 'f2b801fea0cab95fc5ffd3d5cab5b6788dca7e3b', class: "current-label" }, "Current Attachment"), h("div", { key: '24db98920285515ff2d31e606440abeef1277600', class: "attachments", style: { marginTop: '0' } }, h("div", { key: 'a1432d1e8e914c4e2e251c258f97f20c457292d9', class: "attachment" }, h("div", { key: 'e13b9edaf726666e0ea466ad926e066747728bd9', class: "icon", innerHTML: PaperclipIcon }), h("div", { key: '4ad783ea0df4f711536a02d75d5bb4686e86ac06', class: "name" }, this.existingFile.name), h("div", { key: '555fd7f1e13b4dea753d6235c5acd3886912e19a', class: "icon trash", innerHTML: TrashIcon, onClick: () => this.handleDeleteAttachment() }))))), this.selectedFiles.length < 1 && (h("div", { key: 'ca6ee048c121ab6f1b2ac1348b60ebae299ab41a', class: { 'drop-target': true, 'dragging-over': this.draggingOver }, onDragOver: e => this.handleDragOver(e), onDragLeave: e => this.handleDragLeave(e), onDrop: e => this.handleDrop(e) }, h("p", { key: '77e92f537f2a984d3ec8a784d35ac08c2cf2274a' }, "Drag and drop a ", !!this.existingFile && 'replacement', " here..."), h("p", { key: '72500781ecae42d1249d9b380edec7866f84426f' }, "- or -"), h("verdocs-button", { key: '460e2e6f1629eca3d6f8c395dc33f1a01fb94fcb', label: !!this.existingFile ? 'Replace file...' : 'Select a file...', onClick: () => this.handleSelectFile() }), h("input", { key: 'e4b6ec3c30f11e448f05e21510a29dc52a217f9e', type: "file", ref: el => (this.fileInput = el), style: { display: 'none' }, onChange: () => this.handleFileChange() }))), this.selectedFiles.length > 0 && (h("div", { key: 'beddc71ea828d26528d185447a2ccf1d9111f14c', class: "attachments" }, this.selectedFiles.map((file, index) => (h("div", { class: "attachment" }, h("div", { class: "icon", innerHTML: PaperclipIcon }), h("div", { class: "name" }, file.name), h("div", { class: "icon trash", innerHTML: TrashIcon, onClick: () => this.handleRemoveAttachment(index) })))))), h("div", { key: '16be83d7135c299d3ab35b523611188a0f97edc2', class: "buttons" }, h("verdocs-button", { key: '8b72c9191865278d5f90ad6d61c0bb355ccbc441', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), h("verdocs-button", { key: 'f083700863c7839e521eaa8c36940e230e47b9d0', label: "Upload", onClick: () => this.handleDone(), disabled: this.selectedFiles.length < 1 }))))));
|
88
64
|
}
|
89
65
|
static get is() { return "verdocs-upload-dialog"; }
|
90
66
|
static get originalStyleUrls() {
|
@@ -97,6 +73,30 @@ export class VerdocsUploadDialog {
|
|
97
73
|
"$": ["verdocs-upload-dialog.css"]
|
98
74
|
};
|
99
75
|
}
|
76
|
+
static get properties() {
|
77
|
+
return {
|
78
|
+
"existingFile": {
|
79
|
+
"type": "unknown",
|
80
|
+
"mutable": false,
|
81
|
+
"complexType": {
|
82
|
+
"original": "File",
|
83
|
+
"resolved": "File",
|
84
|
+
"references": {
|
85
|
+
"File": {
|
86
|
+
"location": "global",
|
87
|
+
"id": "global::File"
|
88
|
+
}
|
89
|
+
}
|
90
|
+
},
|
91
|
+
"required": false,
|
92
|
+
"optional": false,
|
93
|
+
"docs": {
|
94
|
+
"tags": [],
|
95
|
+
"text": ""
|
96
|
+
}
|
97
|
+
}
|
98
|
+
};
|
99
|
+
}
|
100
100
|
static get states() {
|
101
101
|
return {
|
102
102
|
"draggingOver": {},
|
@@ -139,6 +139,21 @@ export class VerdocsUploadDialog {
|
|
139
139
|
}
|
140
140
|
}
|
141
141
|
}
|
142
|
+
}, {
|
143
|
+
"method": "remove",
|
144
|
+
"name": "remove",
|
145
|
+
"bubbles": true,
|
146
|
+
"cancelable": true,
|
147
|
+
"composed": true,
|
148
|
+
"docs": {
|
149
|
+
"tags": [],
|
150
|
+
"text": "Event fired when an existing attachment is deleted. The parent component is\nresponsible for the actual removal."
|
151
|
+
},
|
152
|
+
"complexType": {
|
153
|
+
"original": "any",
|
154
|
+
"resolved": "any",
|
155
|
+
"references": {}
|
156
|
+
}
|
142
157
|
}];
|
143
158
|
}
|
144
159
|
}
|
package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js
CHANGED
@@ -19,7 +19,7 @@ export class VerdocsQuickFunctions {
|
|
19
19
|
this.createDocument.emit();
|
20
20
|
}
|
21
21
|
render() {
|
22
|
-
return (h("div", { key: '
|
22
|
+
return (h("div", { key: '427a4bfc1c41a292ed25c46ea29f770b6207fecf', class: "container" }, h("p", { key: 'e2e0e046e25b1cc9ee2c9920d33f52a37a703c8b', class: "title" }, "Quick Create"), h("button", { key: '4fd375e82e13f7aeac71d046c065297089805db6', onClick: () => this.handleCreateTemplate(), innerHTML: TemplateIcon }, "Template"), h("button", { key: '4f725f16085dc64adb11ec1efb45433984927b84', onClick: () => this.handleCreateDocument(), innerHTML: DocumentIcon }, "Document")));
|
23
23
|
}
|
24
24
|
static get is() { return "verdocs-quick-functions"; }
|
25
25
|
static get originalStyleUrls() {
|
@@ -4,7 +4,7 @@ export class VerdocsSearchTabs {
|
|
4
4
|
this.selected = 'all';
|
5
5
|
}
|
6
6
|
render() {
|
7
|
-
return h("div", { key: '
|
7
|
+
return h("div", { key: '3389871fb01d199ede32a18f3de3f778f2b57ae9' }, "\u00A0");
|
8
8
|
}
|
9
9
|
static get is() { return "verdocs-search-tabs"; }
|
10
10
|
static get originalStyleUrls() {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Host, Fragment, h } from "@stencil/core";
|
2
|
-
import { fullNameToInitials, startSigningSession } from "@verdocs/js-sdk";
|
2
|
+
import { fullNameToInitials, startSigningSession, deleteEnvelopeFieldAttachment } from "@verdocs/js-sdk";
|
3
3
|
import { integerSequence, isValidEmail, isValidPhone, updateEnvelopeFieldInitials } from "@verdocs/js-sdk";
|
4
4
|
import { updateEnvelopeFieldSignature, uploadEnvelopeFieldAttachment, VerdocsEndpoint, updateEnvelopeField } from "@verdocs/js-sdk";
|
5
5
|
import { createInitials, createSignature, envelopeRecipientAgree, envelopeRecipientDecline, envelopeRecipientSubmit, formatFullName } from "@verdocs/js-sdk";
|
@@ -216,10 +216,10 @@ export class VerdocsSign {
|
|
216
216
|
case 'textbox':
|
217
217
|
return this.saveFieldChange(field.name, { prepared: false, value });
|
218
218
|
case 'checkbox': {
|
219
|
-
return this.saveFieldChange(field.name, { prepared: false, value: e.target.checked });
|
219
|
+
return this.saveFieldChange(field.name, { prepared: false, value: String(e.target.checked) });
|
220
220
|
}
|
221
221
|
case 'radio': {
|
222
|
-
return this.saveFieldChange(field.name, { prepared: false, value: e.target.checked });
|
222
|
+
return this.saveFieldChange(field.name, { prepared: false, value: String(e.target.checked) });
|
223
223
|
}
|
224
224
|
case 'dropdown':
|
225
225
|
// TODO: Set prepared to false server-side.
|
@@ -422,13 +422,21 @@ export class VerdocsSign {
|
|
422
422
|
}
|
423
423
|
});
|
424
424
|
el.addEventListener('attached', async (e) => {
|
425
|
+
// TODO: Show a spinner and/or progress bar
|
425
426
|
console.log('[SIGN] onAttached', e.detail, e.target.value);
|
426
427
|
const r = await uploadEnvelopeFieldAttachment(this.endpoint, this.envelopeId, field.name, e.detail);
|
427
428
|
console.log('upload result', r);
|
429
|
+
// this.updateRecipientFieldValue(fieldName, updateResult)
|
428
430
|
this.checkRecipientFields();
|
429
431
|
});
|
430
|
-
el.addEventListener('
|
432
|
+
el.addEventListener('remove', (e) => {
|
431
433
|
console.log('[SIGN] onRemoved', e.detail, e.target.value);
|
434
|
+
deleteEnvelopeFieldAttachment(this.endpoint, this.envelopeId, field.name)
|
435
|
+
.then(r => {
|
436
|
+
console.log('[SIGN] Deleted attachment', r);
|
437
|
+
// this.updateRecipientFieldValue(fieldName, updateResult)
|
438
|
+
})
|
439
|
+
.catch(e => console.log('[SIGN] Error deleting attachment', e));
|
432
440
|
});
|
433
441
|
el.addEventListener('focusout', e => {
|
434
442
|
if (field.type !== 'dropdown') {
|
@@ -495,6 +503,11 @@ export class VerdocsSign {
|
|
495
503
|
this.checkRecipientFields();
|
496
504
|
}
|
497
505
|
render() {
|
506
|
+
if (this.showLoadError) {
|
507
|
+
return (h(Host, null, h("verdocs-ok-dialog", { heading: "Unable to Start Signing", message: `Sorry, your invite code is invalid or has expired. Please check your email for an updated invitation, or contact the sender.`, buttonLabel: "OK", onNext: () => {
|
508
|
+
window.location.reload();
|
509
|
+
} })));
|
510
|
+
}
|
498
511
|
if (!this.envelope) {
|
499
512
|
return (h(Host, null, h("verdocs-loader", null)));
|
500
513
|
}
|
@@ -504,7 +517,7 @@ export class VerdocsSign {
|
|
504
517
|
this.isDone = true;
|
505
518
|
} })), this.submitting && (h("div", { class: "loading-indicator" }, h("verdocs-loader", null)))));
|
506
519
|
}
|
507
|
-
return (h(Host, { class: { agreed: this.agreed } }, h("div", { id: "verdocs-sign-header" }, h("div", { class: "inner" }, h("img", { src: "https://verdocs.com/assets/white-logo.svg", alt: "Verdocs Logo", class: "logo" }), h("div", { class: "title" }, this.envelope.name), h("div", { style: { flex: '1' } }), this.agreed && !this.finishLater && h("verdocs-button", { size: "small", label: this.nextButtonLabel, disabled: !this.agreed, onClick: () => this.handleNext() }), h("div", { style: { marginLeft: '10px' } }), this.agreed && (h("verdocs-dropdown", { options: !this.isDone && !this.finishLater ? inProgressMenuOptions : doneMenuOptions, onOptionSelected: e => this.handleOptionSelected(e) })))), this.agreed
|
520
|
+
return (h(Host, { class: { agreed: this.agreed } }, h("div", { id: "verdocs-sign-header" }, h("div", { class: "inner" }, h("img", { src: "https://verdocs.com/assets/white-logo.svg", alt: "Verdocs Logo", class: "logo" }), h("div", { class: "title" }, this.envelope.name), h("div", { style: { flex: '1' } }), this.agreed && !this.finishLater && h("verdocs-button", { size: "small", label: this.nextButtonLabel, disabled: !this.agreed, onClick: () => this.handleNext() }), h("div", { style: { marginLeft: '10px' } }), this.agreed && (h("verdocs-dropdown", { options: !this.isDone && !this.finishLater ? inProgressMenuOptions : doneMenuOptions, onOptionSelected: e => this.handleOptionSelected(e) })))), this.agreed ? (h("div", { class: "document", style: { paddingTop: '15px' } }, (this.envelope.documents || []).map(envelopeDocument => {
|
508
521
|
const pageNumbers = integerSequence(1, envelopeDocument.pages);
|
509
522
|
return (h(Fragment, null, pageNumbers.map(pageNumber => {
|
510
523
|
// In signing mode we show the original template page with all the recipient fields so we can show source formatting and
|
@@ -520,12 +533,9 @@ export class VerdocsSign {
|
|
520
533
|
{ name: 'controls', type: 'div' },
|
521
534
|
] }));
|
522
535
|
})));
|
523
|
-
}))), this.showFinishLater && (h("verdocs-ok-dialog", { heading: "You've saved your document to finish later.", message: `To complete the ${this.documentsSingularPlural}, use the link in the original email notification inviting you to review and finish the document.`, onNext: () => (this.showFinishLater = false) })), this.errorMessage && h("verdocs-ok-dialog", { heading: "Network Error", message: this.errorMessage, onNext: () => (this.errorMessage = '') }), this.showDone && (h("verdocs-ok-dialog", { heading: "You're Done!", message: `You can access the ${this.documentsSingularPlural} at any time by clicking on the link from the invitation email.<br /><br />After all recipients have completed their actions, you will receive an email with the document and envelope certificate attached.`, onNext: () => {
|
536
|
+
}))) : (h("div", { class: "document", style: { paddingTop: '15px' } }, h("img", { src: "https://public-assets.verdocs.com/loading-placeholder.png", style: { width: '612px', height: '792px', boxShadow: '0 0 10px 5px #0000000f', marginTop: '15px' }, alt: "Placeholder page" }))), this.showFinishLater && (h("verdocs-ok-dialog", { heading: "You've saved your document to finish later.", message: `To complete the ${this.documentsSingularPlural}, use the link in the original email notification inviting you to review and finish the document.`, onNext: () => (this.showFinishLater = false) })), this.errorMessage && h("verdocs-ok-dialog", { heading: "Network Error", message: this.errorMessage, onNext: () => (this.errorMessage = '') }), this.showDone && (h("verdocs-ok-dialog", { heading: "You're Done!", message: `You can access the ${this.documentsSingularPlural} at any time by clicking on the link from the invitation email.<br /><br />After all recipients have completed their actions, you will receive an email with the document and envelope certificate attached.`, onNext: () => {
|
524
537
|
this.showDone = false;
|
525
538
|
this.isDone = true;
|
526
|
-
} })), this.showLoadError && (h("verdocs-ok-dialog", { heading: "Error Loading Document", message: `Please check with the sender to ensure it has not been canceled, and try again later.`, buttonLabel: "Retry", onNext: () => {
|
527
|
-
this.showLoadError = false;
|
528
|
-
window.location.reload();
|
529
539
|
} })), this.submitting && (h("div", { class: "loading-indicator" }, h("verdocs-loader", null))), !this.agreed && (h("div", { class: "cover" }, h("div", { class: "agree" }, h("verdocs-checkbox", { name: "agree", label: "By checking this box, you:", onInput: () => this.handleClickAgree() }), h("ul", null, h("li", null, "Agree to use electronic records and signatures, and confirm you have read the", ' ', h("a", { href: "https://verdocs.com/en/electronic-record-signature-disclosure/", target: "_blank" }, "Electronic Record and Signatures Disclosure"), "."), h("li", null, "Agree to Verdocs", ' ', h("a", { href: "https://verdocs.com/en/eula", target: "_blank" }, "End User License Agreement"), ' ', "and confirm you have read Verdocs'", ' ', h("a", { href: "https://verdocs.com/en/privacy-policy/", target: "_blank" }, "Privacy Policy"), ".")))))));
|
530
540
|
}
|
531
541
|
static get is() { return "verdocs-sign"; }
|
@@ -22,6 +22,7 @@ export class VerdocsView {
|
|
22
22
|
this.envelope = null;
|
23
23
|
this.roleNames = [];
|
24
24
|
this.showCancelDone = false;
|
25
|
+
this.showLoadError = false;
|
25
26
|
}
|
26
27
|
async componentWillLoad() {
|
27
28
|
var _a, _b, _c;
|
@@ -42,6 +43,7 @@ export class VerdocsView {
|
|
42
43
|
}, 2000);
|
43
44
|
}
|
44
45
|
catch (e) {
|
46
|
+
this.showLoadError = true;
|
45
47
|
(_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));
|
46
48
|
}
|
47
49
|
}
|
@@ -130,8 +132,13 @@ export class VerdocsView {
|
|
130
132
|
}
|
131
133
|
render() {
|
132
134
|
var _a;
|
135
|
+
if (this.showLoadError) {
|
136
|
+
return (h(Host, null, h("verdocs-ok-dialog", { heading: "Unable to View Envelope", message: `Sorry, that envelope is not valid.`, buttonLabel: "OK", onNext: () => {
|
137
|
+
this.showLoadError = false;
|
138
|
+
} })));
|
139
|
+
}
|
133
140
|
if (!this.envelope) {
|
134
|
-
return (h(Host, null, h("img", { src: "https://
|
141
|
+
return (h(Host, null, h("img", { src: "https://public-assets.verdocs.com/loading-placeholder.png", style: { width: '612px', height: '792px', boxShadow: '0 0 10px 5px #0000000f', marginTop: '15px' }, alt: "Placeholder page" })));
|
135
142
|
}
|
136
143
|
const menuOptions = [{ id: 'print', label: 'Print' }];
|
137
144
|
if (userCanCancelEnvelope(this.endpoint.profile, this.envelope)) {
|
@@ -243,7 +250,8 @@ export class VerdocsView {
|
|
243
250
|
"canceling": {},
|
244
251
|
"envelope": {},
|
245
252
|
"roleNames": {},
|
246
|
-
"showCancelDone": {}
|
253
|
+
"showCancelDone": {},
|
254
|
+
"showLoadError": {}
|
247
255
|
};
|
248
256
|
}
|
249
257
|
static get events() {
|
@@ -75,7 +75,7 @@ export class VerdocsEnvelopeDocumentPage {
|
|
75
75
|
}
|
76
76
|
render() {
|
77
77
|
const height = `${this.renderedHeight}px`;
|
78
|
-
return (h(Host, { key: '
|
78
|
+
return (h(Host, { key: 'c047ed0efbc74b5981dbb631999f33af262559f7', id: `${this.containerId}`, style: { height, flex: `0 0 ${height}` } }, this.layers.map(layer => layer.type === 'div' ? (h("div", { class: "verdocs-envelope-document-page-layer", id: `${this.containerId}-${layer.name}`, style: { height } })) : this.pageDisplayUri ? (h("img", { class: "verdocs-envelope-document-page-layer img", id: `${this.containerId}-${layer.name}`, src: this.pageDisplayUri, alt: `Page ${this.pageNumber}`, "aria-hidden": true, loading: "lazy", onLoad: (e) => {
|
79
79
|
// Note that all we really care about is the aspect ratio. We track the natural Width and Height but they aren't really that
|
80
80
|
// useful as individual values. The image will already have been scaled down to fit a DIV for display (100%, auto height).
|
81
81
|
// Builder places fields offset into the rendered display area, not the original document's dimensions. So its X/Y values
|
package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.css
CHANGED
@@ -112,6 +112,7 @@ verdocs-envelope-sidebar .manage-recipients-button button {
|
|
112
112
|
verdocs-envelope-sidebar .recipient-detail {
|
113
113
|
flex: 0;
|
114
114
|
padding: 8px;
|
115
|
+
font-size: 14px;
|
115
116
|
position: relative;
|
116
117
|
flex-direction: column;
|
117
118
|
border: solid 1px #979797;
|
@@ -121,7 +122,7 @@ verdocs-envelope-sidebar .recipient-header {
|
|
121
122
|
flex-direction: row;
|
122
123
|
box-sizing: border-box;
|
123
124
|
display: flex;
|
124
|
-
|
125
|
+
gap: 6px;
|
125
126
|
align-items: center;
|
126
127
|
margin-bottom: 4px;
|
127
128
|
}
|
@@ -134,18 +135,15 @@ verdocs-envelope-sidebar .recipient-number {
|
|
134
135
|
border-radius: 24px;
|
135
136
|
font-size: 14px;
|
136
137
|
font-weight: 500;
|
137
|
-
margin-right: 10px;
|
138
138
|
border: solid 1px #979797;
|
139
139
|
}
|
140
|
-
verdocs-envelope-sidebar .recipient-
|
141
|
-
flex: 1
|
140
|
+
verdocs-envelope-sidebar .recipient-name {
|
141
|
+
flex: 1;
|
142
142
|
box-sizing: border-box;
|
143
|
-
max-width: 88px;
|
144
|
-
min-width: 88px;
|
145
143
|
text-transform: capitalize;
|
146
144
|
}
|
147
145
|
verdocs-envelope-sidebar .recipient-status {
|
148
|
-
flex:
|
146
|
+
flex: 0 0 100px;
|
149
147
|
border-radius: 5px;
|
150
148
|
text-align: center;
|
151
149
|
box-sizing: border-box;
|
@@ -214,4 +212,23 @@ verdocs-envelope-sidebar .history-entry .activity-date {
|
|
214
212
|
}
|
215
213
|
verdocs-envelope-sidebar .content .history-entry:first-of-type {
|
216
214
|
border-top: none;
|
215
|
+
}
|
216
|
+
verdocs-envelope-sidebar .reminders {
|
217
|
+
margin: 15px 0 30px 0;
|
218
|
+
}
|
219
|
+
verdocs-envelope-sidebar .reminders .form-row {
|
220
|
+
margin: 8px 0 0;
|
221
|
+
display: flex;
|
222
|
+
flex-direction: row;
|
223
|
+
}
|
224
|
+
verdocs-envelope-sidebar .reminders .form-row .reminders-label {
|
225
|
+
display: flex;
|
226
|
+
flex: 1;
|
227
|
+
}
|
228
|
+
verdocs-envelope-sidebar .reminders .form-row .form-label {
|
229
|
+
flex: 1;
|
230
|
+
}
|
231
|
+
verdocs-envelope-sidebar .reminders .form-row verdocs-text-input {
|
232
|
+
margin: 0;
|
233
|
+
width: 100px;
|
217
234
|
}
|