@verdocs/web-sdk 4.2.66 → 4.2.70
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-65c587fd.js → EnvelopeStore-b90167cd.js} +1 -1
- package/dist/cjs/{TemplateFieldStore-b8a79eb6.js → TemplateFieldStore-90f4d98b.js} +1 -1
- package/dist/cjs/{TemplateRoleStore-3f9e9f9e.js → TemplateRoleStore-f3d11184.js} +1 -1
- package/dist/cjs/{TemplateStore-761197ec.js → TemplateStore-716af129.js} +3 -3
- package/dist/cjs/{index-233cb8df.js → index-06e6741b.js} +1 -1
- package/dist/cjs/{index-d2999878.js → index-65257ef5.js} +19 -13
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/verdocs-auth.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-build.cjs.entry.js +5 -5
- package/dist/cjs/verdocs-button-panel_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-button_3.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-checkbox_4.cjs.entry.js +5 -5
- package/dist/cjs/verdocs-contact-picker_2.cjs.entry.js +8 -8
- 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 +5 -5
- package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +8 -10
- package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +8 -8
- package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-field-payment.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-kba-dialog.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-loader.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-organization-card_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-pagination_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-preview_10.cjs.entry.js +5 -5
- package/dist/cjs/verdocs-quick-functions.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-radio-button_3.cjs.entry.js +5 -5
- package/dist/cjs/verdocs-search-box.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-search-tabs.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-sign.cjs.entry.js +9 -7
- package/dist/cjs/verdocs-spinner.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js +6 -5
- package/dist/cjs/verdocs-table.cjs.entry.js +1 -1
- 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-templates-list.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-toggle.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-view.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-web-sdk.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +29 -5
- package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js +8 -8
- package/dist/collection/components/envelopes/verdocs-envelope-recipient-link/verdocs-envelope-recipient-link.js +2 -2
- package/dist/collection/components/envelopes/verdocs-envelope-recipient-summary/verdocs-envelope-recipient-summary.js +2 -2
- package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.js +6 -8
- package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +8 -8
- package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +5 -4
- package/dist/components/verdocs-contact-picker2.js +8 -8
- package/dist/components/verdocs-envelope-recipient-link2.js +2 -2
- package/dist/components/verdocs-envelope-recipient-summary2.js +2 -2
- package/dist/components/verdocs-envelope-sidebar.js +6 -8
- package/dist/components/verdocs-envelopes-list.js +8 -8
- package/dist/components/verdocs-sign.js +8 -5
- package/dist/components/verdocs-status-indicator2.js +5 -4
- package/dist/esm/{EnvelopeStore-712b9ca3.js → EnvelopeStore-8a28df35.js} +1 -1
- package/dist/esm/{TemplateFieldStore-002f3d4c.js → TemplateFieldStore-6113ab4b.js} +1 -1
- package/dist/esm/{TemplateRoleStore-39555cd8.js → TemplateRoleStore-054bd7ed.js} +1 -1
- package/dist/esm/{TemplateStore-ebd8f5f6.js → TemplateStore-d432547d.js} +3 -3
- package/dist/esm/{index-e58b15f6.js → index-04235019.js} +1 -1
- package/dist/esm/{index-3476681c.js → index-d3ac9650.js} +19 -13
- package/dist/esm/loader.js +3 -3
- package/dist/esm/verdocs-auth.entry.js +1 -1
- package/dist/esm/verdocs-build.entry.js +5 -5
- package/dist/esm/verdocs-button-panel_2.entry.js +1 -1
- package/dist/esm/verdocs-button_3.entry.js +1 -1
- package/dist/esm/verdocs-checkbox_4.entry.js +5 -5
- package/dist/esm/verdocs-contact-picker_2.entry.js +9 -9
- 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 +6 -6
- package/dist/esm/verdocs-envelope-sidebar.entry.js +9 -11
- package/dist/esm/verdocs-envelopes-list.entry.js +9 -9
- package/dist/esm/verdocs-field-attachment_13.entry.js +4 -4
- package/dist/esm/verdocs-field-payment.entry.js +4 -4
- package/dist/esm/verdocs-file-chooser_2.entry.js +1 -1
- package/dist/esm/verdocs-kba-dialog.entry.js +1 -1
- package/dist/esm/verdocs-loader.entry.js +1 -1
- package/dist/esm/verdocs-ok-dialog.entry.js +1 -1
- package/dist/esm/verdocs-organization-card_2.entry.js +1 -1
- package/dist/esm/verdocs-pagination_2.entry.js +1 -1
- package/dist/esm/verdocs-preview_10.entry.js +5 -5
- package/dist/esm/verdocs-quick-functions.entry.js +1 -1
- package/dist/esm/verdocs-radio-button_3.entry.js +5 -5
- package/dist/esm/verdocs-search-box.entry.js +1 -1
- package/dist/esm/verdocs-search-tabs.entry.js +1 -1
- package/dist/esm/verdocs-sign.entry.js +10 -8
- package/dist/esm/verdocs-spinner.entry.js +1 -1
- package/dist/esm/verdocs-status-indicator.entry.js +6 -5
- package/dist/esm/verdocs-table.entry.js +1 -1
- 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-templates-list.entry.js +1 -1
- package/dist/esm/verdocs-toggle.entry.js +1 -1
- package/dist/esm/verdocs-view.entry.js +1 -1
- package/dist/esm/verdocs-web-sdk.js +4 -4
- package/dist/esm-es5/{EnvelopeStore-712b9ca3.js → EnvelopeStore-8a28df35.js} +1 -1
- package/dist/esm-es5/{TemplateFieldStore-002f3d4c.js → TemplateFieldStore-6113ab4b.js} +1 -1
- package/dist/esm-es5/{TemplateRoleStore-39555cd8.js → TemplateRoleStore-054bd7ed.js} +1 -1
- package/dist/esm-es5/{TemplateStore-ebd8f5f6.js → TemplateStore-d432547d.js} +1 -1
- package/dist/esm-es5/{index-e58b15f6.js → index-04235019.js} +1 -1
- package/dist/esm-es5/index-d3ac9650.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-button_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-checkbox_4.entry.js +1 -1
- 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-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-file-chooser_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-kba-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-loader.entry.js +1 -1
- package/dist/esm-es5/verdocs-ok-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-organization-card_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-preview_10.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-box.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-spinner.entry.js +1 -1
- package/dist/esm-es5/verdocs-status-indicator.entry.js +1 -1
- package/dist/esm-es5/verdocs-table.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-templates-list.entry.js +1 -1
- package/dist/esm-es5/verdocs-toggle.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/embeds/verdocs-sign/verdocs-sign.d.ts +3 -0
- package/dist/types/components.d.ts +8 -0
- package/dist/verdocs-web-sdk/p-00244d09.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-98c36099.system.js → p-0085540e.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-574db898.system.entry.js → p-00db42e2.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-00e963de.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-15b6097f.system.js → p-0157b4d8.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2b801312.system.entry.js → p-033c864b.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-74b45256.entry.js → p-04b24f21.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-0d3133f8.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-12264105.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-9ba77c1d.system.entry.js → p-124d8ec6.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-7c014649.system.entry.js → p-12a2b8bb.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-3a69e34b.system.entry.js → p-15aa84ea.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-150692e7.system.entry.js → p-17c111cb.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fc5c0024.system.entry.js → p-18355fdc.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-1d2a24d8.system.entry.js → p-1e904edd.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-8e1fcab5.system.entry.js → p-20f34f2d.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-6321f58d.system.entry.js → p-218a16f9.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f6256844.system.entry.js → p-252a42c7.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-aaae65be.entry.js → p-25c7a632.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-91c1ec5b.entry.js → p-2a43465a.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a807355f.entry.js → p-2ac3b1ce.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-2c930ee4.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-34325ad6.system.js +1 -0
- package/dist/verdocs-web-sdk/{p-a798dd2e.system.entry.js → p-35e7051c.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-00798e23.system.entry.js → p-38f60fa3.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-e27ffcbb.entry.js → p-3e750ce4.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-579deee3.system.entry.js → p-40d71881.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d381cbc3.system.entry.js → p-449f5d0a.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-4de823b1.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-f7a5a59a.system.entry.js → p-5041f47d.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-978cc0c7.entry.js → p-5473bbd9.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-4dd7f091.entry.js → p-54b71a40.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-33901ebd.entry.js → p-574853d0.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-0b858d95.entry.js → p-59fa9d51.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-15a20707.system.entry.js → p-5a1c0ca0.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-c8c48ba0.system.entry.js → p-5a4950f1.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-deb305f9.system.entry.js → p-5c614b25.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ec8d0f2d.entry.js → p-60e4721d.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-62128055.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-f6d4a5b9.system.entry.js → p-679639b1.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-67a42e2b.js +2 -0
- package/dist/verdocs-web-sdk/{p-7861d427.entry.js → p-69176f56.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2bf06d1c.js → p-6ce8381c.js} +1 -1
- package/dist/verdocs-web-sdk/{p-8937cdbe.entry.js → p-6e8bb814.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-6681160b.entry.js → p-6ecdfe5f.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-93e5d84b.entry.js → p-7864e5d5.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-6e03c475.entry.js → p-7a43f055.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-2fa50153.entry.js → p-821bd253.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d74bfee4.entry.js → p-826aa2cd.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-85a75a09.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-7f4c7fef.system.entry.js → p-877e9b3f.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-82bc3fca.entry.js → p-87c0f26b.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-b9139237.entry.js → p-8b2c938c.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-b2fbf3de.entry.js → p-8efd4efc.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-64579a16.entry.js → p-9034d0c7.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-60f02252.system.entry.js → p-921a282f.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-4817a358.system.entry.js → p-94875230.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-99c9833b.entry.js → p-96e26aea.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-9b967885.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-9ce7ab9f.entry.js → p-9df7c5b4.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-6cfce589.system.js → p-a0277354.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-15fe2a4e.entry.js → p-a081f6ae.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-a0839ea6.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-672a4df3.system.entry.js → p-a0849dc6.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-ace6d1f2.entry.js → p-a2a62c38.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-a2c07e00.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-a9a20b20.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-f493d459.entry.js → p-acc43b94.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-127b573d.system.entry.js → p-b7030c25.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-777cd3e8.entry.js → p-b804950e.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-48afd9e8.system.entry.js → p-bb73f4d8.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fb0e5553.system.entry.js → p-bd596213.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-113251b7.entry.js → p-c0d3c96f.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-073602cf.js → p-c71d1dac.js} +1 -1
- package/dist/verdocs-web-sdk/{p-fc7b9c96.entry.js → p-d1a1ffaf.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-d7112c9f.js → p-d812d374.js} +1 -1
- package/dist/verdocs-web-sdk/{p-9d51ed4e.system.js → p-e339ebc4.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-1508c5e0.system.entry.js → p-e41fa435.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-e5a426c4.system.js +2 -0
- package/dist/verdocs-web-sdk/{p-6bab3791.system.entry.js → p-e744e6c8.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-a9199a21.system.entry.js → p-ea31368b.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-ec61e807.js +1 -0
- package/dist/verdocs-web-sdk/{p-348185e0.system.js → p-f0386b87.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f98562a7.entry.js → p-f5cac080.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-f3eeb4ba.js → p-fdf18146.js} +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.js +1 -1
- package/package.json +6 -6
- package/dist/custom-elements.json +0 -2022
- package/dist/esm-es5/index-3476681c.js +0 -1
- package/dist/verdocs-web-sdk/p-03a228e4.system.js +0 -1
- package/dist/verdocs-web-sdk/p-17f27f15.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-33675f2e.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-47047ad0.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-4acd87ad.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-5e0d3109.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-646fde57.js +0 -2
- package/dist/verdocs-web-sdk/p-66e55b97.system.js +0 -2
- package/dist/verdocs-web-sdk/p-97a3efcf.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-a3b75156.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-a63081ed.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-b42f9eb2.js +0 -1
- package/dist/verdocs-web-sdk/p-b4e722fc.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-b7d033d1.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-c249c422.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-e2f2f11a.entry.js +0 -1
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-65257ef5.js');
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
7
7
|
|
8
8
|
/*
|
9
|
-
Stencil Client Patch Browser v4.
|
9
|
+
Stencil Client Patch Browser v4.21.0 | MIT Licensed | https://stenciljs.com
|
10
10
|
*/
|
11
11
|
var patchBrowser = () => {
|
12
12
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('verdocs-web-sdk.cjs.js', document.baseURI).href));
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
19
19
|
|
20
20
|
patchBrowser().then(async (options) => {
|
21
21
|
await appGlobals.globalScripts();
|
22
|
-
return index.bootstrapLazy(JSON.parse("[[\"verdocs-build.cjs\",[[0,\"verdocs-build\",{\"endpoint\":[16],\"templateId\":[1537,\"template-id\"],\"step\":[1537],\"templateStore\":[32]},null,{\"templateId\":[\"onTemplateIdChanged\"],\"step\":[\"onStepChanged\"]}]]],[\"verdocs-envelopes-list.cjs\",[[0,\"verdocs-envelopes-list\",{\"endpoint\":[16],\"view\":[1537],\"status\":[1537],\"sort\":[1537],\"match\":[1537],\"showPagination\":[4,\"show-pagination\"],\"rowsPerPage\":[2,\"rows-per-page\"],\"selectedPage\":[2,\"selected-page\"],\"count\":[32],\"initiallyLoaded\":[32],\"loading\":[32],\"selectedEnvelopes\":[32],\"envelopes\":[32]},null,{\"view\":[\"handleViewUpdated\"],\"status\":[\"handleStatusUpdated\"],\"sort\":[\"handleSortUpdated\"],\"match\":[\"handleMatchUpdated\"],\"selectedPage\":[\"handlePageUpdated\"]}]]],[\"verdocs-templates-list.cjs\",[[0,\"verdocs-templates-list\",{\"endpoint\":[16],\"sharing\":[1537],\"starred\":[1537],\"sort\":[1537],\"name\":[1537],\"allowedActions\":[1040],\"showPagination\":[4,\"show-pagination\"],\"rowsPerPage\":[2,\"rows-per-page\"],\"selectedPage\":[2,\"selected-page\"],\"count\":[32],\"initiallyLoaded\":[32],\"loading\":[32],\"confirmDelete\":[32],\"templates\":[32],\"localNameFilter\":[32]},null,{\"sharing\":[\"handleSharingUpdated\"],\"starred\":[\"handleStarredUpdated\"],\"sort\":[\"handleSortUpdated\"],\"name\":[\"handleNameUpdated\"],\"selectedPage\":[\"handlePageUpdated\"]}]]],[\"verdocs-sign.cjs\",[[0,\"verdocs-sign\",{\"envelopeId\":[1,\"envelope-id\"],\"roleId\":[1,\"role-id\"],\"inviteCode\":[1,\"invite-code\"],\"headerTargetId\":[1,\"header-target-id\"],\"envelope\":[32],\"roleNames\":[32],\"sortedRecipients\":[32],\"recipient\":[32],\"hasSignature\":[32],\"nextButtonLabel\":[32],\"nextSubmits\":[32],\"errorMessage\":[32],\"focusedField\":[32],\"submitting\":[32],\"isDone\":[32],\"showDone\":[32],\"showLoadError\":[32],\"finishLater\":[32],\"showFinishLater\":[32],\"agreed\":[32],\"documentsSingularPlural\":[32]}]]],[\"verdocs-envelope-sidebar.cjs\",[[0,\"verdocs-envelope-sidebar\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"activeTab\":[32],\"panelOpen\":[32],\"showManageDialog\":[32],\"showRecipientDialog\":[32],\"showCancelDialog\":[32],\"loading\":[32]}]]],[\"verdocs-auth.cjs\",[[0,\"verdocs-auth\",{\"endpoint\":[16],\"visible\":[4],\"logo\":[1],\"displayMode\":[32],\"org_name\":[32],\"first_name\":[32],\"last_name\":[32],\"email\":[32],\"verificationCode\":[32],\"password\":[32],\"confirmpass\":[32],\"submitting\":[32],\"resendDisabled\":[32],\"session\":[32],\"profile\":[32]}]]],[\"verdocs-kba-dialog.cjs\",[[0,\"verdocs-kba-dialog\",{\"step\":[2],\"steps\":[2],\"helptitle\":[1],\"helptext\":[1],\"mode\":[1],\"label\":[1],\"placeholder\":[1],\"choices\":[16],\"response\":[32]}]]],[\"verdocs-dialog.cjs\",[[4,\"verdocs-dialog\"]]],[\"verdocs-field-payment.cjs\",[[0,\"verdocs-field-payment\",{\"templateid\":[1],\"fieldname\":[1],\"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],\"xscale\":[2],\"yscale\":[2],\"pagenumber\":[2],\"roleindex\":[2],\"preparedMessage\":[32],\"signatureUrl\":[32],\"showingProperties\":[32],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-quick-functions.cjs\",[[0,\"verdocs-quick-functions\",{\"endpoint\":[16]}]]],[\"verdocs-search-box.cjs\",[[0,\"verdocs-search-box\",{\"endpoint\":[16],\"placeholder\":[1],\"type\":[1],\"query\":[1],\"grabsFocus\":[4,\"grabs-focus\"],\"focusField\":[64]}]]],[\"verdocs-search-tabs.cjs\",[[0,\"verdocs-search-tabs\",{\"selected\":[32]}]]],[\"verdocs-table.cjs\",[[0,\"verdocs-table\",{\"columns\":[16],\"data\":[16]}]]],[\"verdocs-template-card.cjs\",[[0,\"verdocs-template-card\",{\"template\":[16]}]]],[\"verdocs-template-tags.cjs\",[[0,\"verdocs-template-tags\",{\"tags\":[16]}]]],[\"verdocs-toggle.cjs\",[[0,\"verdocs-toggle\",{\"options\":[16],\"theme\":[1],\"selectedOption\":[32]}]]],[\"verdocs-button_3.cjs\",[[0,\"verdocs-text-input\",{\"value\":[1537],\"label\":[1],\"placeholder\":[1],\"autocomplete\":[1],\"helpText\":[1,\"help-text\"],\"clearable\":[4],\"copyable\":[4],\"type\":[1],\"disabled\":[4],\"required\":[4],\"showingPw\":[32]}],[0,\"verdocs-help-icon\",{\"text\":[1],\"icon\":[1],\"containerId\":[32]}],[0,\"verdocs-button\",{\"label\":[1],\"startIcon\":[1,\"start-icon\"],\"endIcon\":[1,\"end-icon\"],\"size\":[1],\"type\":[1],\"variant\":[1],\"disabled\":[4]}]]],[\"verdocs-ok-dialog.cjs\",[[0,\"verdocs-ok-dialog\",{\"heading\":[1],\"message\":[1],\"buttonLabel\":[1,\"button-label\"],\"showCancel\":[4,\"show-cancel\"],\"closed\":[32]}]]],[\"verdocs-view.cjs\",[[0,\"verdocs-view\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"headerTargetId\":[1,\"header-target-id\"],\"canceling\":[32],\"envelope\":[32],\"roleNames\":[32],\"showCancelDone\":[32]}]]],[\"verdocs-status-indicator.cjs\",[[0,\"verdocs-status-indicator\",{\"size\":[1],\"theme\":[1],\"status\":[1],\"envelope\":[16],\"isOpen\":[32],\"containerId\":[32]}]]],[\"verdocs-template-star.cjs\",[[0,\"verdocs-template-star\",{\"endpoint\":[16],\"template\":[1040],\"updating\":[32]}]]],[\"verdocs-envelope-recipient-link_2.cjs\",[[0,\"verdocs-envelope-recipient-link\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"roleName\":[1,\"role-name\"],\"isOpen\":[32],\"loading\":[32],\"gettingLink\":[32],\"link\":[32]}],[0,\"verdocs-envelope-recipient-summary\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"canSendAnother\":[4,\"can-send-another\"],\"canView\":[4,\"can-view\"],\"canDone\":[4,\"can-done\"],\"isOpen\":[32],\"loading\":[32],\"recipientStatusIcons\":[32],\"containerId\":[32],\"gettingLinks\":[32],\"links\":[32]}]]],[\"verdocs-envelope-document-page.cjs\",[[0,\"verdocs-envelope-document-page\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"documentId\":[1,\"document-id\"],\"pageNumber\":[2,\"page-number\"],\"virtualWidth\":[2,\"virtual-width\"],\"virtualHeight\":[1026,\"virtual-height\"],\"layers\":[16],\"type\":[1],\"containerId\":[32],\"renderedWidth\":[32],\"renderedHeight\":[32],\"naturalWidth\":[32],\"naturalHeight\":[32],\"aspectRatio\":[32],\"skipFirstNotification\":[32],\"pageDisplayUri\":[32]}]]],[\"verdocs-button-panel_2.cjs\",[[4,\"verdocs-button-panel\",{\"icon\":[1],\"showPanel\":[64],\"hidePanel\":[64],\"toggle\":[64]}],[4,\"verdocs-tabs\",{\"tabs\":[16],\"selectedTab\":[2,\"selected-tab\"]}]]],[\"verdocs-pagination_2.cjs\",[[0,\"verdocs-pagination\",{\"selectedPage\":[1538,\"selected-page\"],\"itemCount\":[2,\"item-count\"],\"perPage\":[2,\"per-page\"]}],[0,\"verdocs-quick-filter\",{\"options\":[16],\"label\":[1],\"value\":[1537],\"placeholder\":[1],\"open\":[32]}]]],[\"verdocs-spinner.cjs\",[[0,\"verdocs-spinner\",{\"size\":[2],\"mode\":[1]}]]],[\"verdocs-checkbox_4.cjs\",[[0,\"verdocs-template-field-properties\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"fieldName\":[1025,\"field-name\"],\"helpText\":[1,\"help-text\"],\"dirty\":[32],\"loading\":[32],\"label\":[32],\"type\":[32],\"name\":[32],\"required\":[32],\"roleName\":[32],\"group\":[32],\"fieldType\":[32],\"options\":[32],\"placeholder\":[32],\"defaultValue\":[32],\"showingHelp\":[32]}],[0,\"verdocs-select-input\",{\"value\":[1],\"label\":[1],\"options\":[16],\"disabled\":[4]}],[0,\"verdocs-checkbox\",{\"checked\":[4],\"name\":[1],\"label\":[1],\"value\":[1],\"theme\":[1],\"disabled\":[4]}],[0,\"verdocs-component-error\",{\"message\":[1]}]]],[\"verdocs-template-document-page_2.cjs\",[[0,\"verdocs-toolbar-icon\",{\"text\":[1],\"icon\":[1],\"placement\":[1],\"containerId\":[32]}],[0,\"verdocs-template-document-page\",{\"endpoint\":[16],\"editable\":[4],\"disabled\":[4],\"done\":[4],\"templateId\":[1,\"template-id\"],\"documentId\":[1,\"document-id\"],\"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],\"pageDisplayUri\":[32],\"xScale\":[32],\"yScale\":[32]}]]],[\"verdocs-contact-picker_2.cjs\",[[0,\"verdocs-contact-picker\",{\"endpoint\":[16],\"templateRole\":[16],\"contactSuggestions\":[16],\"first_name\":[32],\"last_name\":[32],\"email\":[32],\"phone\":[32],\"message\":[32],\"showSuggestions\":[32],\"showMessage\":[32],\"delegator\":[32],\"showKba\":[32],\"kbaMethod\":[32],\"pinCode\":[32],\"nameFieldId\":[32],\"firstNameFieldId\":[32],\"lastNameFieldId\":[32],\"emailFieldId\":[32],\"phoneFieldId\":[32]}],[0,\"verdocs-toggle-button\",{\"active\":[4],\"icon\":[1],\"label\":[1],\"size\":[1],\"_active\":[32]}]]],[\"verdocs-file-chooser_2.cjs\",[[0,\"verdocs-file-chooser\",{\"endpoint\":[16],\"file\":[32]}],[0,\"verdocs-progress-bar\",{\"label\":[1],\"showPercent\":[4,\"show-percent\"],\"percent\":[2]}]]],[\"verdocs-dropdown.cjs\",[[0,\"verdocs-dropdown\",{\"options\":[16]},[[9,\"resize\",\"handleResize\"]]]]],[\"verdocs-radio-button_3.cjs\",[[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],\"first_name\":[32],\"last_name\":[32],\"email\":[32],\"phone\":[32],\"delegator\":[32]}],[0,\"verdocs-template-sender\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"sender\":[1],\"saving\":[32]}],[0,\"verdocs-radio-button\",{\"checked\":[4],\"name\":[1],\"value\":[1],\"disabled\":[4]}]]],[\"verdocs-loader.cjs\",[[0,\"verdocs-loader\"]]],[\"verdocs-organization-card_2.cjs\",[[0,\"verdocs-organization-card\",{\"organization\":[16],\"hovered\":[32]},[[1,\"mouseover\",\"onMouseOver\"],[1,\"mouseout\",\"onMouseOut\"]]],[4,\"verdocs-portal\",{\"anchor\":[1],\"voffset\":[2],\"align\":[1]},[[11,\"scroll\",\"handleScroll\"],[11,\"resize\",\"handleResize\"],[10,\"click\",\"handleClick\"]]]]],[\"verdocs-field-attachment_13.cjs\",[[0,\"verdocs-field-attachment\",{\"endpoint\":[16],\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"selectedFile\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-initial\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"initials\":[513],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"focused\":[32],\"tempInitials\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-signature\",{\"templateid\":[513],\"fieldname\":[513],\"name\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"focused\":[32],\"tempSignature\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-checkbox\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"done\":[516],\"editable\":[516],\"moveable\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-date\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"field\":[16],\"containerId\":[32],\"showingProperties\":[32],\"focused\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-dropdown\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-radio\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"done\":[516],\"editable\":[516],\"moveable\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-textarea\",{\"endpoint\":[16],\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"focused\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-textbox\",{\"endpoint\":[16],\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"multiline\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"focused\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-timestamp\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[2],\"showingProperties\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-initial-dialog\",{\"initials\":[1],\"fontLoaded\":[32],\"enteredInitials\":[32],\"mode\":[32]}],[0,\"verdocs-signature-dialog\",{\"name\":[1],\"fontLoaded\":[32],\"enteredName\":[32],\"mode\":[32]}],[0,\"verdocs-upload-dialog\",{\"draggingOver\":[32],\"decodedFiles\":[32]}]]],[\"verdocs-preview_10.cjs\",[[0,\"verdocs-template-fields\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"toolbarTargetId\":[1,\"toolbar-target-id\"],\"placing\":[32],\"showMustSelectRole\":[32],\"selectedRoleName\":[32],\"loading\":[32]},[[4,\"keydown\",\"handleKeyDown\"]]],[0,\"verdocs-preview\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"loading\":[32]},null,{\"templateId\":[\"onTemplateIdChanged\"]}],[0,\"verdocs-template-roles\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"showingRoleDialog\":[32],\"showingSenderDialog\":[32],\"sender\":[32],\"loading\":[32]}],[0,\"verdocs-send\",{\"endpoint\":[16],\"templateId\":[513,\"template-id\"],\"environment\":[1],\"containerId\":[32],\"showPickerForId\":[32],\"sessionContacts\":[32],\"sending\":[32],\"rolesCompleted\":[32],\"templateStore\":[32],\"roleStore\":[32],\"reset\":[64]},null,{\"templateId\":[\"onTemplateIdChanged\"]}],[0,\"verdocs-template-attachments\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"uploading\":[32],\"progressLabel\":[32],\"progressPercent\":[32],\"showDeleteError\":[32],\"confirmDeleteDocument\":[32],\"store\":[32]}],[0,\"verdocs-template-reminders\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"showPlanBlocker\":[32],\"sendReminders\":[32],\"firstReminderDays\":[32],\"reminderDays\":[32],\"dirty\":[32]}],[0,\"verdocs-template-name\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"name\":[32],\"dirty\":[32]}],[0,\"verdocs-template-create\",{\"endpoint\":[16],\"file\":[32],\"creating\":[32],\"progressLabel\":[32],\"progressPercent\":[32]}],[0,\"verdocs-template-build-tabs\",{\"endpoint\":[16],\"templateId\":[1537,\"template-id\"],\"step\":[1537],\"templateStore\":[32]},null,{\"templateId\":[\"onTemplateIdChanged\"],\"step\":[\"onStepChanged\"]}],[0,\"verdocs-template-visibility\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"dirty\":[32],\"personal\":[32],\"public\":[32]}]]]]"), options);
|
22
|
+
return index.bootstrapLazy(JSON.parse("[[\"verdocs-build.cjs\",[[0,\"verdocs-build\",{\"endpoint\":[16],\"templateId\":[1537,\"template-id\"],\"step\":[1537],\"templateStore\":[32]},null,{\"templateId\":[\"onTemplateIdChanged\"],\"step\":[\"onStepChanged\"]}]]],[\"verdocs-envelopes-list.cjs\",[[0,\"verdocs-envelopes-list\",{\"endpoint\":[16],\"view\":[1537],\"status\":[1537],\"sort\":[1537],\"match\":[1537],\"showPagination\":[4,\"show-pagination\"],\"rowsPerPage\":[2,\"rows-per-page\"],\"selectedPage\":[2,\"selected-page\"],\"count\":[32],\"initiallyLoaded\":[32],\"loading\":[32],\"selectedEnvelopes\":[32],\"envelopes\":[32]},null,{\"view\":[\"handleViewUpdated\"],\"status\":[\"handleStatusUpdated\"],\"sort\":[\"handleSortUpdated\"],\"match\":[\"handleMatchUpdated\"],\"selectedPage\":[\"handlePageUpdated\"]}]]],[\"verdocs-templates-list.cjs\",[[0,\"verdocs-templates-list\",{\"endpoint\":[16],\"sharing\":[1537],\"starred\":[1537],\"sort\":[1537],\"name\":[1537],\"allowedActions\":[1040],\"showPagination\":[4,\"show-pagination\"],\"rowsPerPage\":[2,\"rows-per-page\"],\"selectedPage\":[2,\"selected-page\"],\"count\":[32],\"initiallyLoaded\":[32],\"loading\":[32],\"confirmDelete\":[32],\"templates\":[32],\"localNameFilter\":[32]},null,{\"sharing\":[\"handleSharingUpdated\"],\"starred\":[\"handleStarredUpdated\"],\"sort\":[\"handleSortUpdated\"],\"name\":[\"handleNameUpdated\"],\"selectedPage\":[\"handlePageUpdated\"]}]]],[\"verdocs-sign.cjs\",[[0,\"verdocs-sign\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"roleId\":[1,\"role-id\"],\"inviteCode\":[1,\"invite-code\"],\"headerTargetId\":[1,\"header-target-id\"],\"envelope\":[32],\"roleNames\":[32],\"sortedRecipients\":[32],\"recipient\":[32],\"hasSignature\":[32],\"nextButtonLabel\":[32],\"nextSubmits\":[32],\"errorMessage\":[32],\"focusedField\":[32],\"submitting\":[32],\"isDone\":[32],\"showDone\":[32],\"showLoadError\":[32],\"finishLater\":[32],\"showFinishLater\":[32],\"agreed\":[32],\"documentsSingularPlural\":[32]}]]],[\"verdocs-envelope-sidebar.cjs\",[[0,\"verdocs-envelope-sidebar\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"activeTab\":[32],\"panelOpen\":[32],\"showManageDialog\":[32],\"showRecipientDialog\":[32],\"showCancelDialog\":[32],\"loading\":[32]}]]],[\"verdocs-auth.cjs\",[[0,\"verdocs-auth\",{\"endpoint\":[16],\"visible\":[4],\"logo\":[1],\"displayMode\":[32],\"org_name\":[32],\"first_name\":[32],\"last_name\":[32],\"email\":[32],\"verificationCode\":[32],\"password\":[32],\"confirmpass\":[32],\"submitting\":[32],\"resendDisabled\":[32],\"session\":[32],\"profile\":[32]}]]],[\"verdocs-kba-dialog.cjs\",[[0,\"verdocs-kba-dialog\",{\"step\":[2],\"steps\":[2],\"helptitle\":[1],\"helptext\":[1],\"mode\":[1],\"label\":[1],\"placeholder\":[1],\"choices\":[16],\"response\":[32]}]]],[\"verdocs-dialog.cjs\",[[4,\"verdocs-dialog\"]]],[\"verdocs-field-payment.cjs\",[[0,\"verdocs-field-payment\",{\"templateid\":[1],\"fieldname\":[1],\"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],\"xscale\":[2],\"yscale\":[2],\"pagenumber\":[2],\"roleindex\":[2],\"preparedMessage\":[32],\"signatureUrl\":[32],\"showingProperties\":[32],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}]]],[\"verdocs-quick-functions.cjs\",[[0,\"verdocs-quick-functions\",{\"endpoint\":[16]}]]],[\"verdocs-search-box.cjs\",[[0,\"verdocs-search-box\",{\"endpoint\":[16],\"placeholder\":[1],\"type\":[1],\"query\":[1],\"grabsFocus\":[4,\"grabs-focus\"],\"focusField\":[64]}]]],[\"verdocs-search-tabs.cjs\",[[0,\"verdocs-search-tabs\",{\"selected\":[32]}]]],[\"verdocs-table.cjs\",[[0,\"verdocs-table\",{\"columns\":[16],\"data\":[16]}]]],[\"verdocs-template-card.cjs\",[[0,\"verdocs-template-card\",{\"template\":[16]}]]],[\"verdocs-template-tags.cjs\",[[0,\"verdocs-template-tags\",{\"tags\":[16]}]]],[\"verdocs-toggle.cjs\",[[0,\"verdocs-toggle\",{\"options\":[16],\"theme\":[1],\"selectedOption\":[32]}]]],[\"verdocs-button_3.cjs\",[[0,\"verdocs-text-input\",{\"value\":[1537],\"label\":[1],\"placeholder\":[1],\"autocomplete\":[1],\"helpText\":[1,\"help-text\"],\"clearable\":[4],\"copyable\":[4],\"type\":[1],\"disabled\":[4],\"required\":[4],\"showingPw\":[32]}],[0,\"verdocs-help-icon\",{\"text\":[1],\"icon\":[1],\"containerId\":[32]}],[0,\"verdocs-button\",{\"label\":[1],\"startIcon\":[1,\"start-icon\"],\"endIcon\":[1,\"end-icon\"],\"size\":[1],\"type\":[1],\"variant\":[1],\"disabled\":[4]}]]],[\"verdocs-ok-dialog.cjs\",[[0,\"verdocs-ok-dialog\",{\"heading\":[1],\"message\":[1],\"buttonLabel\":[1,\"button-label\"],\"showCancel\":[4,\"show-cancel\"],\"closed\":[32]}]]],[\"verdocs-view.cjs\",[[0,\"verdocs-view\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"headerTargetId\":[1,\"header-target-id\"],\"canceling\":[32],\"envelope\":[32],\"roleNames\":[32],\"showCancelDone\":[32]}]]],[\"verdocs-status-indicator.cjs\",[[0,\"verdocs-status-indicator\",{\"size\":[1],\"theme\":[1],\"status\":[1],\"envelope\":[16],\"isOpen\":[32],\"containerId\":[32]}]]],[\"verdocs-template-star.cjs\",[[0,\"verdocs-template-star\",{\"endpoint\":[16],\"template\":[1040],\"updating\":[32]}]]],[\"verdocs-envelope-recipient-link_2.cjs\",[[0,\"verdocs-envelope-recipient-link\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"roleName\":[1,\"role-name\"],\"isOpen\":[32],\"loading\":[32],\"gettingLink\":[32],\"link\":[32]}],[0,\"verdocs-envelope-recipient-summary\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"canSendAnother\":[4,\"can-send-another\"],\"canView\":[4,\"can-view\"],\"canDone\":[4,\"can-done\"],\"isOpen\":[32],\"loading\":[32],\"recipientStatusIcons\":[32],\"containerId\":[32],\"gettingLinks\":[32],\"links\":[32]}]]],[\"verdocs-envelope-document-page.cjs\",[[0,\"verdocs-envelope-document-page\",{\"endpoint\":[16],\"envelopeId\":[1,\"envelope-id\"],\"documentId\":[1,\"document-id\"],\"pageNumber\":[2,\"page-number\"],\"virtualWidth\":[2,\"virtual-width\"],\"virtualHeight\":[1026,\"virtual-height\"],\"layers\":[16],\"type\":[1],\"containerId\":[32],\"renderedWidth\":[32],\"renderedHeight\":[32],\"naturalWidth\":[32],\"naturalHeight\":[32],\"aspectRatio\":[32],\"skipFirstNotification\":[32],\"pageDisplayUri\":[32]}]]],[\"verdocs-button-panel_2.cjs\",[[4,\"verdocs-button-panel\",{\"icon\":[1],\"showPanel\":[64],\"hidePanel\":[64],\"toggle\":[64]}],[4,\"verdocs-tabs\",{\"tabs\":[16],\"selectedTab\":[2,\"selected-tab\"]}]]],[\"verdocs-pagination_2.cjs\",[[0,\"verdocs-pagination\",{\"selectedPage\":[1538,\"selected-page\"],\"itemCount\":[2,\"item-count\"],\"perPage\":[2,\"per-page\"]}],[0,\"verdocs-quick-filter\",{\"options\":[16],\"label\":[1],\"value\":[1537],\"placeholder\":[1],\"open\":[32]}]]],[\"verdocs-spinner.cjs\",[[0,\"verdocs-spinner\",{\"size\":[2],\"mode\":[1]}]]],[\"verdocs-checkbox_4.cjs\",[[0,\"verdocs-template-field-properties\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"fieldName\":[1025,\"field-name\"],\"helpText\":[1,\"help-text\"],\"dirty\":[32],\"loading\":[32],\"label\":[32],\"type\":[32],\"name\":[32],\"required\":[32],\"roleName\":[32],\"group\":[32],\"fieldType\":[32],\"options\":[32],\"placeholder\":[32],\"defaultValue\":[32],\"showingHelp\":[32]}],[0,\"verdocs-select-input\",{\"value\":[1],\"label\":[1],\"options\":[16],\"disabled\":[4]}],[0,\"verdocs-checkbox\",{\"checked\":[4],\"name\":[1],\"label\":[1],\"value\":[1],\"theme\":[1],\"disabled\":[4]}],[0,\"verdocs-component-error\",{\"message\":[1]}]]],[\"verdocs-template-document-page_2.cjs\",[[0,\"verdocs-toolbar-icon\",{\"text\":[1],\"icon\":[1],\"placement\":[1],\"containerId\":[32]}],[0,\"verdocs-template-document-page\",{\"endpoint\":[16],\"editable\":[4],\"disabled\":[4],\"done\":[4],\"templateId\":[1,\"template-id\"],\"documentId\":[1,\"document-id\"],\"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],\"pageDisplayUri\":[32],\"xScale\":[32],\"yScale\":[32]}]]],[\"verdocs-contact-picker_2.cjs\",[[0,\"verdocs-contact-picker\",{\"endpoint\":[16],\"templateRole\":[16],\"contactSuggestions\":[16],\"first_name\":[32],\"last_name\":[32],\"email\":[32],\"phone\":[32],\"message\":[32],\"showSuggestions\":[32],\"showMessage\":[32],\"delegator\":[32],\"showKba\":[32],\"kbaMethod\":[32],\"pinCode\":[32],\"nameFieldId\":[32],\"firstNameFieldId\":[32],\"lastNameFieldId\":[32],\"emailFieldId\":[32],\"phoneFieldId\":[32]}],[0,\"verdocs-toggle-button\",{\"active\":[4],\"icon\":[1],\"label\":[1],\"size\":[1],\"_active\":[32]}]]],[\"verdocs-file-chooser_2.cjs\",[[0,\"verdocs-file-chooser\",{\"endpoint\":[16],\"file\":[32]}],[0,\"verdocs-progress-bar\",{\"label\":[1],\"showPercent\":[4,\"show-percent\"],\"percent\":[2]}]]],[\"verdocs-dropdown.cjs\",[[0,\"verdocs-dropdown\",{\"options\":[16]},[[9,\"resize\",\"handleResize\"]]]]],[\"verdocs-radio-button_3.cjs\",[[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],\"first_name\":[32],\"last_name\":[32],\"email\":[32],\"phone\":[32],\"delegator\":[32]}],[0,\"verdocs-template-sender\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"sender\":[1],\"saving\":[32]}],[0,\"verdocs-radio-button\",{\"checked\":[4],\"name\":[1],\"value\":[1],\"disabled\":[4]}]]],[\"verdocs-loader.cjs\",[[0,\"verdocs-loader\"]]],[\"verdocs-organization-card_2.cjs\",[[0,\"verdocs-organization-card\",{\"organization\":[16],\"hovered\":[32]},[[1,\"mouseover\",\"onMouseOver\"],[1,\"mouseout\",\"onMouseOut\"]]],[4,\"verdocs-portal\",{\"anchor\":[1],\"voffset\":[2],\"align\":[1]},[[11,\"scroll\",\"handleScroll\"],[11,\"resize\",\"handleResize\"],[10,\"click\",\"handleClick\"]]]]],[\"verdocs-field-attachment_13.cjs\",[[0,\"verdocs-field-attachment\",{\"endpoint\":[16],\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"selectedFile\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-initial\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"initials\":[513],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"focused\":[32],\"tempInitials\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-signature\",{\"templateid\":[513],\"fieldname\":[513],\"name\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"focused\":[32],\"tempSignature\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-checkbox\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"done\":[516],\"editable\":[516],\"moveable\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-date\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"field\":[16],\"containerId\":[32],\"showingProperties\":[32],\"focused\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-dropdown\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-radio\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"done\":[516],\"editable\":[516],\"moveable\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-textarea\",{\"endpoint\":[16],\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"focused\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-textbox\",{\"endpoint\":[16],\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"multiline\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[514],\"showingProperties\":[32],\"focused\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-field-timestamp\",{\"templateid\":[513],\"fieldname\":[513],\"disabled\":[516],\"editable\":[516],\"moveable\":[516],\"done\":[516],\"xscale\":[514],\"yscale\":[514],\"pagenumber\":[2],\"showingProperties\":[32],\"focusField\":[64],\"showSettingsPanel\":[64],\"hideSettingsPanel\":[64]}],[0,\"verdocs-initial-dialog\",{\"initials\":[1],\"fontLoaded\":[32],\"enteredInitials\":[32],\"mode\":[32]}],[0,\"verdocs-signature-dialog\",{\"name\":[1],\"fontLoaded\":[32],\"enteredName\":[32],\"mode\":[32]}],[0,\"verdocs-upload-dialog\",{\"draggingOver\":[32],\"decodedFiles\":[32]}]]],[\"verdocs-preview_10.cjs\",[[0,\"verdocs-template-fields\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"toolbarTargetId\":[1,\"toolbar-target-id\"],\"placing\":[32],\"showMustSelectRole\":[32],\"selectedRoleName\":[32],\"loading\":[32]},[[4,\"keydown\",\"handleKeyDown\"]]],[0,\"verdocs-preview\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"loading\":[32]},null,{\"templateId\":[\"onTemplateIdChanged\"]}],[0,\"verdocs-template-roles\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"showingRoleDialog\":[32],\"showingSenderDialog\":[32],\"sender\":[32],\"loading\":[32]}],[0,\"verdocs-send\",{\"endpoint\":[16],\"templateId\":[513,\"template-id\"],\"environment\":[1],\"containerId\":[32],\"showPickerForId\":[32],\"sessionContacts\":[32],\"sending\":[32],\"rolesCompleted\":[32],\"templateStore\":[32],\"roleStore\":[32],\"reset\":[64]},null,{\"templateId\":[\"onTemplateIdChanged\"]}],[0,\"verdocs-template-attachments\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"uploading\":[32],\"progressLabel\":[32],\"progressPercent\":[32],\"showDeleteError\":[32],\"confirmDeleteDocument\":[32],\"store\":[32]}],[0,\"verdocs-template-reminders\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"showPlanBlocker\":[32],\"sendReminders\":[32],\"firstReminderDays\":[32],\"reminderDays\":[32],\"dirty\":[32]}],[0,\"verdocs-template-name\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"name\":[32],\"dirty\":[32]}],[0,\"verdocs-template-create\",{\"endpoint\":[16],\"file\":[32],\"creating\":[32],\"progressLabel\":[32],\"progressPercent\":[32]}],[0,\"verdocs-template-build-tabs\",{\"endpoint\":[16],\"templateId\":[1537,\"template-id\"],\"step\":[1537],\"templateStore\":[32]},null,{\"templateId\":[\"onTemplateIdChanged\"],\"step\":[\"onStepChanged\"]}],[0,\"verdocs-template-visibility\",{\"endpoint\":[16],\"templateId\":[1,\"template-id\"],\"dirty\":[32],\"personal\":[32],\"public\":[32]}]]]]"), options);
|
23
23
|
});
|
24
24
|
|
25
25
|
exports.setNonce = index.setNonce;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Host, Fragment, h } from "@stencil/core";
|
2
|
-
import { createInitials, createSignature, envelopeRecipientAgree, envelopeRecipientDecline, envelopeRecipientSubmit } from "@verdocs/js-sdk";
|
2
|
+
import { createInitials, createSignature, envelopeRecipientAgree, envelopeRecipientDecline, envelopeRecipientSubmit, formatFullName } from "@verdocs/js-sdk";
|
3
3
|
import { updateEnvelopeFieldSignature, uploadEnvelopeFieldAttachment, VerdocsEndpoint, updateEnvelopeField } from "@verdocs/js-sdk";
|
4
4
|
import { integerSequence, isValidEmail, isValidPhone, updateEnvelopeFieldInitials } from "@verdocs/js-sdk";
|
5
5
|
import { fullNameToInitials, getEnvelope, startSigningSession } from "@verdocs/js-sdk";
|
@@ -37,8 +37,8 @@ const doneMenuOptions = [
|
|
37
37
|
*/
|
38
38
|
export class VerdocsSign {
|
39
39
|
constructor() {
|
40
|
-
this.endpoint = null;
|
41
40
|
this.recipientIndex = -1;
|
41
|
+
this.endpoint = null;
|
42
42
|
this.envelopeId = null;
|
43
43
|
this.roleId = null;
|
44
44
|
this.inviteCode = null;
|
@@ -62,7 +62,10 @@ export class VerdocsSign {
|
|
62
62
|
this.documentsSingularPlural = 'document';
|
63
63
|
}
|
64
64
|
componentWillLoad() {
|
65
|
-
this.endpoint
|
65
|
+
if (!this.endpoint) {
|
66
|
+
console.log('[SIGN] Creating signing endpoint');
|
67
|
+
this.endpoint = new VerdocsEndpoint({ sessionType: 'signing' });
|
68
|
+
}
|
66
69
|
}
|
67
70
|
async componentWillRender() {
|
68
71
|
var _a, _b, _c, _d, _e, _f, _g;
|
@@ -402,7 +405,6 @@ export class VerdocsSign {
|
|
402
405
|
}
|
403
406
|
}
|
404
407
|
attachFieldAttributes(pageInfo, field, el) {
|
405
|
-
var _a, _b, _c;
|
406
408
|
el.addEventListener('input', (e) => {
|
407
409
|
// console.log('[SIGN] onfieldInput', e.detail, e.target.value);
|
408
410
|
// These field types don't emit fieldChange. Should we standardize on that? We don't tap "input" for fields like
|
@@ -430,7 +432,7 @@ export class VerdocsSign {
|
|
430
432
|
el.setAttribute('page', pageInfo.pageNumber);
|
431
433
|
el.setAttribute('xScale', pageInfo.xScale);
|
432
434
|
el.setAttribute('yScale', pageInfo.yScale);
|
433
|
-
const fullName =
|
435
|
+
const fullName = formatFullName(this.recipient);
|
434
436
|
el.setAttribute('initials', fullNameToInitials(fullName));
|
435
437
|
el.setAttribute('name', fullName);
|
436
438
|
}
|
@@ -527,6 +529,28 @@ export class VerdocsSign {
|
|
527
529
|
}
|
528
530
|
static get properties() {
|
529
531
|
return {
|
532
|
+
"endpoint": {
|
533
|
+
"type": "unknown",
|
534
|
+
"mutable": false,
|
535
|
+
"complexType": {
|
536
|
+
"original": "VerdocsEndpoint",
|
537
|
+
"resolved": "VerdocsEndpoint",
|
538
|
+
"references": {
|
539
|
+
"VerdocsEndpoint": {
|
540
|
+
"location": "import",
|
541
|
+
"path": "@verdocs/js-sdk",
|
542
|
+
"id": "node_modules::VerdocsEndpoint"
|
543
|
+
}
|
544
|
+
}
|
545
|
+
},
|
546
|
+
"required": false,
|
547
|
+
"optional": false,
|
548
|
+
"docs": {
|
549
|
+
"tags": [],
|
550
|
+
"text": "The endpoint to use to communicate with Verdocs. If not set, the default endpoint will be used."
|
551
|
+
},
|
552
|
+
"defaultValue": "null"
|
553
|
+
},
|
530
554
|
"envelopeId": {
|
531
555
|
"type": "string",
|
532
556
|
"mutable": false,
|
package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VerdocsEndpoint } from "@verdocs/js-sdk";
|
1
|
+
import { formatFullName, VerdocsEndpoint } from "@verdocs/js-sdk";
|
2
2
|
import { h } from "@stencil/core";
|
3
3
|
import { convertToE164 } from "../../../utils/utils";
|
4
4
|
const messageIcon = '<svg focusable="false" viewBox="0 0 24 24"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"></path></svg>';
|
@@ -40,7 +40,7 @@ export class VerdocsContactPicker {
|
|
40
40
|
componentWillLoad() {
|
41
41
|
if (this.templateRole) {
|
42
42
|
// TODO: For backwards compatibility, may be removed once templateRole no longer has a full_name
|
43
|
-
const fullName =
|
43
|
+
const fullName = formatFullName(this.templateRole);
|
44
44
|
const nameComponents = fullName.split(' ');
|
45
45
|
const firstName = this.templateRole.first_name || nameComponents.shift() || '';
|
46
46
|
const lastName = this.templateRole.last_name || nameComponents.join(' ') || '';
|
@@ -107,26 +107,26 @@ export class VerdocsContactPicker {
|
|
107
107
|
// The reason for the random names/IDs is to disable browser autocomplete. We set the autocomplete tags but many browsers ignore them
|
108
108
|
// and show a duplicate autocomplete picker on top of our own.
|
109
109
|
render() {
|
110
|
-
return (h("form", { key: '
|
110
|
+
return (h("form", { key: 'afe87589323a6c7bbc20378c4b697087dfa698c4', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("div", { key: 'cd1821c3dbfdc2223fe6d6455d3f89d6ad3afa3b', class: "row" }, h("label", { key: '130729c3ad6a6a06cad020a8cd2e6ef7dc62ed2e', htmlFor: this.nameFieldId }, "Name:"), h("div", { key: 'b5c0d7563deb878ceb273137b247588a5012051a', class: "names-row" }, h("input", { key: 'dfec098bf5c5b6a3e17eb8aa6070ffa9bcc46db5', id: this.firstNameFieldId, name: this.firstNameFieldId, type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.first_name, placeholder: "First Name...", onFocus: () => { var _a; return (this.showSuggestions = ((_a = this.contactSuggestions) === null || _a === void 0 ? void 0 : _a.length) > 0); }, onInput: e => this.handleFirstNameChange(e) }), h("input", { key: 'f490230827f9b520a1038622ffb2a47dba821e7f', id: this.lastNameFieldId, name: this.lastNameFieldId, type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.last_name, placeholder: "Last Name...", onFocus: () => (this.showSuggestions = false), onInput: e => this.handleLastNameChange(e) })), this.showSuggestions && (h("div", { key: '9e7bda8af69abfe6402e0ada80e40fe9a190835f', class: "dropdown" }, this.contactSuggestions
|
111
111
|
.filter(suggestion => !this.first_name || suggestion.first_name.toLowerCase().includes(this.first_name.toLowerCase()))
|
112
112
|
.map(suggestion => {
|
113
113
|
var _a;
|
114
|
-
return (h("div", { key: (_a = suggestion.id) !== null && _a !== void 0 ? _a : suggestion.email, class: "suggestion", onClick: e => this.handleSelectSuggestion(e, suggestion) }, suggestion.picture ? h("img", { alt: "Avatar", class: "avatar", src: suggestion.picture }) : h("div", { class: "avatar", innerHTML: addrBookIcon }), h("div", { class: "details" }, h("div", { class: "name" }, suggestion
|
115
|
-
})))), h("div", { key: '
|
114
|
+
return (h("div", { key: (_a = suggestion.id) !== null && _a !== void 0 ? _a : suggestion.email, class: "suggestion", onClick: e => this.handleSelectSuggestion(e, suggestion) }, suggestion.picture ? h("img", { alt: "Avatar", class: "avatar", src: suggestion.picture }) : h("div", { class: "avatar", innerHTML: addrBookIcon }), h("div", { class: "details" }, h("div", { class: "name" }, formatFullName(suggestion)), suggestion.email && h("div", { class: "destination" }, suggestion.email), suggestion.phone && h("div", { class: "destination" }, suggestion.phone))));
|
115
|
+
})))), h("div", { key: 'f50e03a0b1532f78c0a98be0bbbeb5c488d06b7e', class: "row" }, h("label", { key: '847a03964705042059143471be35a46d5e2b2b12', htmlFor: this.emailFieldId }, "Email:"), h("input", { key: 'a7c27cc87a25041a2a3668929b4752afe9195d3b', id: this.emailFieldId, name: this.emailFieldId, type: "text", "data-lpignore": "true", autoComplete: "blocked", value: this.email, placeholder: "Email Address...", onFocus: () => (this.showSuggestions = false), onInput: e => this.handleEmailChange(e) })), h("div", { key: 'a389528718e46e959b73a86630bd7f69fb620de1', class: "row" }, h("label", { key: '4d4acda8e933a8edd2d2f5c52ca77a2a72aef512', htmlFor: this.phoneFieldId }, "Phone:"), h("input", { key: 'e0dbdfa1c347f475c811a6d5f1d640f733856592', id: this.phoneFieldId, name: this.phoneFieldId, type: "text", "data-lpignore": "true", autoComplete: "blocked", value: this.phone, placeholder: "Phone Number...", onFocus: () => (this.showSuggestions = false), onInput: e => this.handlePhoneChange(e) })), this.showKba && (h("div", { key: '343bdf9658583cac02155b17362fc291571deae7', class: "row" }, h("div", { key: 'bfa7496f29db14a0e4ac069d17bb91050bfbd113', class: "label-with-icon" }, h("label", { key: 'e2cac18062f6aaf62af08f4e966cde31759d6dcb' }, "KBA:"), h("verdocs-help-icon", { key: '0a80c66ecbfb487efa15ab6a4c184df061db9076', text: "Knowledge-Based Authentication adds additional authentication for this user either via a simple PIN code or full address validation. NOTE: There may be a fee for using this feature." })), h("verdocs-select-input", { key: 'ee90cd3cd7e026ba5fd4ad2c9ee5f8e8a1479b1a', value: this.kbaMethod, onInput: (e) => (this.kbaMethod = e.target.value), options: [
|
116
116
|
{ label: 'None', value: '' },
|
117
117
|
{ label: 'PIN Code', value: 'pin' },
|
118
118
|
{ label: 'Full Verification', value: 'kba' },
|
119
|
-
] }), this.kbaMethod === 'pin' && (h("input", { key: '
|
119
|
+
] }), this.kbaMethod === 'pin' && (h("input", { key: 'abc4447e13083bcf303638726e4fee9a72626ee7', id: "verdocs-pin-code", name: "verdocs-pin-code", type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.pinCode, placeholder: "KBA PIN Code...", onFocus: () => (this.showSuggestions = false), onInput: e => this.handleMessageChange(e) })))), this.showMessage && (h("div", { key: '891957c01d85c52da2d245d46e4f58515072814e', class: "row" }, h("label", { key: 'a606f013a2add41a5c1040ff3078e83a744bc1d0', htmlFor: "verdocs-contact-picker-message" }, "Message:"), h("input", { key: '92d6a7991e6a912886d91517d90396d61cd56c7f', id: "verdocs-contact-picker-message", name: "verdocs-contact-picker-message", type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.message, placeholder: "Invitation Message...", onFocus: () => (this.showSuggestions = false), onInput: e => this.handleMessageChange(e) }))), h("div", { key: 'ce3c2403b493aba7a9b4e470425595ee06679f40', class: "buttons" }, h("verdocs-toggle-button", { key: '9799719ced528476bccabfff28dc26be2ea414ee', icon: kbaIcon, size: "small", active: this.showKba, onToggle: e => {
|
120
120
|
this.showKba = e.detail.active;
|
121
121
|
if (!e.detail.active) {
|
122
122
|
this.pinCode = '';
|
123
123
|
this.kbaMethod = '';
|
124
124
|
}
|
125
125
|
this.showSuggestions = false;
|
126
|
-
} }), h("verdocs-toggle-button", { key: '
|
126
|
+
} }), h("verdocs-toggle-button", { key: 'b7cd508f79e2d98919a698466d2e9ca475935271', icon: messageIcon, size: "small", active: this.showMessage, onToggle: e => {
|
127
127
|
this.showMessage = e.detail.active;
|
128
128
|
this.showSuggestions = false;
|
129
|
-
} }), h("div", { key: '
|
129
|
+
} }), h("div", { key: '1e6ab34550a4ff72216f67fa24be01febbf9df27', class: "flex-fill" }), h("verdocs-button", { key: '009de03c3a09b96c832a6a063dde93b80d9fe992', variant: "outline", label: "Cancel", size: "small", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '8f014ed5ad0e970ac8b2f417c666a4ea9f052115', label: "OK", size: "small", onClick: e => this.handleSubmit(e) }))));
|
130
130
|
}
|
131
131
|
static get is() { return "verdocs-contact-picker"; }
|
132
132
|
static get originalStyleUrls() {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
2
|
-
import { getInPersonLink, VerdocsEndpoint } from "@verdocs/js-sdk";
|
2
|
+
import { formatFullName, getInPersonLink, VerdocsEndpoint } from "@verdocs/js-sdk";
|
3
3
|
import { getEnvelopeStore } from "../../../utils/EnvelopeStore";
|
4
4
|
import { VerdocsToast } from "../../../utils/Toast";
|
5
5
|
import { SDKError } from "../../../utils/errors";
|
@@ -79,7 +79,7 @@ export class VerdocsEnvelopeRecipientLink {
|
|
79
79
|
}
|
80
80
|
// const recipientsWithActions = getRecipientsWithActions(this.store.state); const showLinkButton = recipientCanAct(recipient, recipientsWithActions); const link =
|
81
81
|
// this.links[recipient.role_name]; const gettingLink = this.gettingLinks[recipient.role_name]; return (
|
82
|
-
const fullName =
|
82
|
+
const fullName = formatFullName(this.recipient);
|
83
83
|
return (h(Host, null, h("div", { class: "summary-content" }, h("h1", { class: "summary-title" }, "In-Person Signing Link"), h("div", { class: "summary-rows" }, h("div", { class: "summary-recipient" }, h("div", { class: "role-name" }, this.recipient.role_name), h("div", { class: "role-details" }, h("div", { class: "role-info" }, h("div", { class: "role-full-name" }, fullName, " (", this.recipient.email || this.recipient.phone, ")"), !this.link && (h("verdocs-button", { size: "small", variant: "outline", label: this.gettingLink ? 'Loading...' : 'Get Link', disabled: this.gettingLink, onClick: () => this.getLink(this.recipient) }))), this.link && (h("div", { class: "link-wrapper" }, h("div", { class: "link" }, this.link), h("verdocs-button", { size: "small", variant: "outline", label: "Copy", onClick: () => this.copyLink(this.link) })))))), h("div", { class: "buttons" }, h("verdocs-button", { size: "small", label: "Done", onClick: e => this.handleDone(e) })))));
|
84
84
|
}
|
85
85
|
static get is() { return "verdocs-envelope-recipient-link"; }
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { getInPersonLink, getRecipientsWithActions, recipientCanAct, VerdocsEndpoint } from "@verdocs/js-sdk";
|
1
|
+
import { formatFullName, getInPersonLink, getRecipientsWithActions, recipientCanAct, VerdocsEndpoint } from "@verdocs/js-sdk";
|
2
2
|
import { Host, h } from "@stencil/core";
|
3
3
|
import { getEnvelopeStore } from "../../../utils/EnvelopeStore";
|
4
4
|
// import {VerdocsToast} from '../../../utils/Toast';
|
@@ -102,7 +102,7 @@ export class VerdocsEnvelopeRecipientSummary {
|
|
102
102
|
const showLinkButton = recipientCanAct(recipient, recipientsWithActions);
|
103
103
|
const link = this.links[recipient.role_name];
|
104
104
|
const gettingLink = this.gettingLinks[recipient.role_name];
|
105
|
-
const fullName =
|
105
|
+
const fullName = formatFullName(recipient);
|
106
106
|
return (h("div", { class: "summary-recipient" }, h("div", { class: "role-name" }, recipient.role_name), h("div", { class: "role-details" }, h("div", { class: "role-info" }, h("div", { class: "role-full-name" }, fullName, " (", recipient.email || recipient.phone, ")"), showLinkButton && !link && h("verdocs-button", { size: "small", variant: "outline", label: "Get Link", disabled: gettingLink, onClick: () => this.getLink(recipient) })), link && (h("div", { class: "link-wrapper" }, h("div", { class: "link" }, link), h("verdocs-button", { size: "small", variant: "outline", label: "Copy", onClick: () => this.copyLink(link) }))))));
|
107
107
|
})), (this.canSendAnother || this.canView || this.canDone) && (h("div", { class: "buttons" }, this.canSendAnother && h("verdocs-button", { size: "small", label: "Send Another", onClick: e => this.handleAnother(e) }), this.canView && h("verdocs-button", { size: "small", label: "View Now", onClick: e => this.handleView(e) }), this.canDone && h("verdocs-button", { size: "small", label: "Done", onClick: e => this.handleDone(e) }))))));
|
108
108
|
}
|
package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { format } from "date-fns";
|
2
|
-
import { cancelEnvelope, capitalize, resendInvitation, userIsEnvelopeOwner, VerdocsEndpoint } from "@verdocs/js-sdk";
|
2
|
+
import { cancelEnvelope, capitalize, formatFullName, resendInvitation, userIsEnvelopeOwner, VerdocsEndpoint } from "@verdocs/js-sdk";
|
3
3
|
import { h, Host } from "@stencil/core";
|
4
4
|
import { getEnvelopeStore } from "../../../utils/EnvelopeStore";
|
5
5
|
import { FORMAT_TIMESTAMP } from "../../../utils/Types";
|
@@ -144,7 +144,7 @@ export class VerdocsEnvelopeSidebar {
|
|
144
144
|
histories.forEach(history => {
|
145
145
|
var _a;
|
146
146
|
const recipient = (_a = this.store.state) === null || _a === void 0 ? void 0 : _a.recipients.find(recipient => recipient.role_name === history.role_name);
|
147
|
-
const fullName =
|
147
|
+
const fullName = formatFullName(recipient);
|
148
148
|
switch (history.event.toLowerCase()) {
|
149
149
|
case 'recipient:signed':
|
150
150
|
entries.push({ icon: 'gesture', message: `Signed by ${fullName}.`, date: new Date(history.created_at) });
|
@@ -251,20 +251,18 @@ export class VerdocsEnvelopeSidebar {
|
|
251
251
|
// return recipient.claimed !== true && invalidRecipientStatus.indexOf(recipient.status) === -1 && invalidEnvelopeStatus.indexOf(this.store?.state?.status) === -1;
|
252
252
|
// }
|
253
253
|
render() {
|
254
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w
|
254
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
|
255
255
|
if (!this.store.state) {
|
256
256
|
return h(Host, null);
|
257
257
|
}
|
258
258
|
const isEnvelopeOwner = userIsEnvelopeOwner(this.endpoint.profile, this.store.state);
|
259
259
|
const historyEntries = this.prepareHistoryEntries();
|
260
260
|
const functionsDisabled = ((_b = (_a = this.store) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.status) !== 'pending' && ((_d = (_c = this.store) === null || _c === void 0 ? void 0 : _c.state) === null || _d === void 0 ? void 0 : _d.status) !== 'in progress';
|
261
|
-
return (h(Host, { class: this.panelOpen ? 'open' : '' }, h("div", { class: "side-buttons" }, h("button", { class: this.activeTab === 1 ? 'active' : '', onClick: () => this.setTab(1), innerHTML: InformationCircle }), h("button", { class: this.activeTab === 2 ? 'active' : '', onClick: () => this.setTab(2), innerHTML: Users }), h("button", { class: this.activeTab === 3 ? 'active' : '', onClick: () => this.setTab(3), innerHTML: ClipboardDocuments })), this.activeTab === 1 && (h("div", { class: "content" }, h("div", { class: "title" }, "Details"), h("div", { class: "label" }, "Envelope ID"), h("div", { class: "value" }, (_f = (_e = this.store) === null || _e === void 0 ? void 0 : _e.state) === null || _f === void 0 ? void 0 : _f.id), h("div", { class: "label" }, "Date Created"), h("div", { class: "value" }, format(new Date((_h = (_g = this.store) === null || _g === void 0 ? void 0 : _g.state) === null || _h === void 0 ? void 0 : _h.created_at), FORMAT_TIMESTAMP)), h("div", { class: "label" }, "Last Modified"), h("div", { class: "value" }, format(new Date((_k = (_j = this.store) === null || _j === void 0 ? void 0 : _j.state) === null || _k === void 0 ? void 0 : _k.updated_at), FORMAT_TIMESTAMP)), h("div", { class: "label" }, "Status"), h("div", { class: "value" }, capitalize((_m = (_l = this.store) === null || _l === void 0 ? void 0 : _l.state) === null || _m === void 0 ? void 0 : _m.status)), h("div", { class: "label" }, "Verdoc Owner ID"), h("div", { class: "value" }, (_p = (_o = this.store) === null || _o === void 0 ? void 0 : _o.state) === null || _p === void 0 ? void 0 : _p.profile_id), h("div", { class: "label" }, "Verdoc Owner Name"), h("div", { class: "value" }, (
|
262
|
-
|
263
|
-
_v.last_name), h("div", { class: "label" }, "Verdoc Owner Email"), h("div", { class: "value" }, (_y = (_x = (_w = this.store) === null || _w === void 0 ? void 0 : _w.state) === null || _x === void 0 ? void 0 : _x.profile) === null || _y === void 0 ? void 0 : _y.email))), this.activeTab === 2 && (h("div", { class: "content" }, h("div", { class: "title" }, "Recipients"), (_0 = (_z = this.store) === null || _z === void 0 ? void 0 : _z.state) === null || _0 === void 0 ? void 0 :
|
264
|
-
_0.recipients.map((recipient, index) => {
|
261
|
+
return (h(Host, { class: this.panelOpen ? 'open' : '' }, h("div", { class: "side-buttons" }, h("button", { class: this.activeTab === 1 ? 'active' : '', onClick: () => this.setTab(1), innerHTML: InformationCircle }), h("button", { class: this.activeTab === 2 ? 'active' : '', onClick: () => this.setTab(2), innerHTML: Users }), h("button", { class: this.activeTab === 3 ? 'active' : '', onClick: () => this.setTab(3), innerHTML: ClipboardDocuments })), this.activeTab === 1 && (h("div", { class: "content" }, h("div", { class: "title" }, "Details"), h("div", { class: "label" }, "Envelope ID"), h("div", { class: "value" }, (_f = (_e = this.store) === null || _e === void 0 ? void 0 : _e.state) === null || _f === void 0 ? void 0 : _f.id), h("div", { class: "label" }, "Date Created"), h("div", { class: "value" }, format(new Date((_h = (_g = this.store) === null || _g === void 0 ? void 0 : _g.state) === null || _h === void 0 ? void 0 : _h.created_at), FORMAT_TIMESTAMP)), h("div", { class: "label" }, "Last Modified"), h("div", { class: "value" }, format(new Date((_k = (_j = this.store) === null || _j === void 0 ? void 0 : _j.state) === null || _k === void 0 ? void 0 : _k.updated_at), FORMAT_TIMESTAMP)), h("div", { class: "label" }, "Status"), h("div", { class: "value" }, capitalize((_m = (_l = this.store) === null || _l === void 0 ? void 0 : _l.state) === null || _m === void 0 ? void 0 : _m.status)), h("div", { class: "label" }, "Verdoc Owner ID"), h("div", { class: "value" }, (_p = (_o = this.store) === null || _o === void 0 ? void 0 : _o.state) === null || _p === void 0 ? void 0 : _p.profile_id), h("div", { class: "label" }, "Verdoc Owner Name"), h("div", { class: "value" }, formatFullName((_r = (_q = this.store) === null || _q === void 0 ? void 0 : _q.state) === null || _r === void 0 ? void 0 : _r.profile)), h("div", { class: "label" }, "Verdoc Owner Email"), h("div", { class: "value" }, (_u = (_t = (_s = this.store) === null || _s === void 0 ? void 0 : _s.state) === null || _t === void 0 ? void 0 : _t.profile) === null || _u === void 0 ? void 0 : _u.email))), this.activeTab === 2 && (h("div", { class: "content" }, h("div", { class: "title" }, "Recipients"), (_w = (_v = this.store) === null || _v === void 0 ? void 0 : _v.state) === null || _w === void 0 ? void 0 :
|
262
|
+
_w.recipients.map((recipient, index) => {
|
265
263
|
const canGetInPersonLink = recipient.status !== 'submitted' && recipient.status !== 'canceled' && recipient.status !== 'declined';
|
266
264
|
const canSendReminder = this.canResendRecipient(recipient);
|
267
|
-
const fullName =
|
265
|
+
const fullName = formatFullName(recipient);
|
268
266
|
return (h("div", { class: "recipient-detail" }, h("div", { class: "recipient-header" }, h("div", { class: "recipient-number" }, index + 1), h("div", { class: "recipient-type" }, recipient.role_name), h("div", { class: { 'recipient-status': true, [recipient.status]: true } }, recipient.status), isEnvelopeOwner && !functionsDisabled && (h("verdocs-dropdown", { onOptionSelected: item => this.handleRecipientAction(recipient, item.detail.id), options: [
|
269
267
|
{ id: 'reminder', label: 'Send Reminder', disabled: !canSendReminder },
|
270
268
|
{ id: 'inperson', label: 'Get In-Person Link', disabled: !canGetInPersonLink },
|
package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
2
|
-
import { userCanCancelEnvelope, userCanAct, cancelEnvelope, integerSequence } from "@verdocs/js-sdk";
|
2
|
+
import { userCanCancelEnvelope, userCanAct, cancelEnvelope, integerSequence, formatFullName } from "@verdocs/js-sdk";
|
3
3
|
import { VerdocsEndpoint, getEnvelopes, getRecipientsWithActions } from "@verdocs/js-sdk";
|
4
4
|
import { saveEnvelopesAsZip } from "../../../utils/utils";
|
5
5
|
import { VerdocsToast } from "../../../utils/Toast";
|
@@ -191,18 +191,18 @@ export class VerdocsEnvelopesList {
|
|
191
191
|
});
|
192
192
|
}
|
193
193
|
render() {
|
194
|
-
return (h(Host, { key: '
|
194
|
+
return (h(Host, { key: '64590426c7241554a56f3afee74932a0d8fa3b2c' }, h("div", { key: '217c0d210c979f962cf78f9f5f8b9560f95f07e4', class: "header" }, h("div", { key: '1015f31d16a772ca35763827e62e36031516fa54', class: "filter" }, h("verdocs-text-input", { key: '57c873835c6ca93916b573a7878f7401b80409a8', id: "verdocs-filter-name", value: this.match, clearable: true, autocomplete: "off", placeholder: "Filter by Name, Recipient, or Field...", onFocusout: (e) => {
|
195
195
|
var _a;
|
196
196
|
// We don't locally filter envelopes because there are too many fields to match against efficiently.
|
197
197
|
this.match = e.target.value.trim();
|
198
198
|
(_a = this.changeMatch) === null || _a === void 0 ? void 0 : _a.emit(this.match);
|
199
|
-
} })), h("verdocs-quick-filter", { key: '
|
199
|
+
} })), h("verdocs-quick-filter", { key: 'e88c43ab618d306474dfc236e19ca65ce2094a2f', label: "View", value: this.view, options: ViewFilters, onOptionSelected: e => {
|
200
200
|
this.view = e.detail.value;
|
201
|
-
} }), this.view === 'all' && (h("verdocs-quick-filter", { key: '
|
201
|
+
} }), this.view === 'all' && (h("verdocs-quick-filter", { key: '742699b4ffd149d82be9446917071fed79295ecf', label: "Status", value: this.status, options: StatusFilters, onOptionSelected: e => {
|
202
202
|
this.status = e.detail.value;
|
203
|
-
} })), this.view === 'all' && (h("verdocs-quick-filter", { key: '
|
203
|
+
} })), this.view === 'all' && (h("verdocs-quick-filter", { key: 'ad20d619289ef9d2fecd58b131c4bee7444245e1', label: "Sort By", value: this.sort, options: SortFilters, onOptionSelected: e => {
|
204
204
|
this.sort = e.detail.value;
|
205
|
-
} })), this.loading && h("verdocs-spinner", { key: '
|
205
|
+
} })), this.loading && h("verdocs-spinner", { key: 'f201690f52d8423b050cdf697db0198b893f58fa', mode: "dark", size: 24 }), h("div", { key: '5d4bee2e67dfc7b2e70bdf20cb35d9b1ad2a17f6', style: { display: 'flex', flex: '1' } }), this.selectedEnvelopes.length > 0 && h("verdocs-button", { key: '630639c2d4613cc115ab5e0fcece13444cb5d85b', label: `Download (${this.selectedEnvelopes.length})`, onClick: () => this.handleDownload() })), this.envelopes.map(envelope => {
|
206
206
|
var _a;
|
207
207
|
const recipientsWithActions = getRecipientsWithActions(envelope);
|
208
208
|
const userCanCancel = userCanCancelEnvelope(this.endpoint.profile, envelope);
|
@@ -221,7 +221,7 @@ export class VerdocsEnvelopesList {
|
|
221
221
|
else {
|
222
222
|
this.selectedEnvelopes = this.selectedEnvelopes.filter(e => e.id !== envelope.id);
|
223
223
|
}
|
224
|
-
} }), h("div", { class: "vert-spacer" }), h("span", { innerHTML: DocumentIcon, class: "envelope-icon" }), h("div", { class: "envelope-name" }, envelope.name, ":\u00A0",
|
224
|
+
} }), h("div", { class: "vert-spacer" }), h("span", { innerHTML: DocumentIcon, class: "envelope-icon" }), h("div", { class: "envelope-name" }, envelope.name, ":\u00A0 ", h("div", { class: "envelope-recipients" }, envelope.recipients.map(r => formatFullName(r)))), h("div", { class: "vert-spacer" }), h("verdocs-status-indicator", { envelope: envelope, style: { width: '125px' } }), h("div", { class: "vert-spacer" }), h("div", { class: "last-modified" }, new Date(envelope.updated_at).toLocaleString()), h("div", { class: "vert-spacer" }), h("verdocs-dropdown", { options: menuOptions, onOptionSelected: e => {
|
225
225
|
var _a, _b;
|
226
226
|
switch (e.detail.id) {
|
227
227
|
case 'view':
|
@@ -243,7 +243,7 @@ export class VerdocsEnvelopesList {
|
|
243
243
|
break;
|
244
244
|
}
|
245
245
|
} }))));
|
246
|
-
}), !this.initiallyLoaded && (h("div", { key: '
|
246
|
+
}), !this.initiallyLoaded && (h("div", { key: '8bb84211d20da8470848a7ef9699d91de9c47224', style: { width: '100%' } }, integerSequence(0, this.rowsPerPage).map(() => (h("div", { class: "envelope-placeholder" }))))), this.initiallyLoaded && !this.envelopes.length && h("div", { key: 'c58aae0c4220b84fe9c35248f5e142048e82edc4', class: "empty-text" }, "No matching envelopes found. Please adjust your filters and try again."), this.initiallyLoaded && this.envelopes.length && this.showPagination ? (h("div", { style: { marginTop: '20px' } }, h("verdocs-pagination", { selectedPage: this.selectedPage, perPage: this.rowsPerPage, itemCount: this.count, onSelectPage: e => {
|
247
247
|
this.selectedPage = e.detail.selectedPage;
|
248
248
|
} }))) : (h("div", null))));
|
249
249
|
}
|
package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import { RecipientFlow } from "./recipient-flow";
|
2
2
|
import { createPopper } from "@popperjs/core";
|
3
3
|
import { Host, h } from "@stencil/core";
|
4
|
+
import { formatFullName } from "@verdocs/js-sdk";
|
4
5
|
const AcceptedDark = `<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/><path d="M11.728 15.968C11.7067 15.9893 11.7013 16.0107 11.712 16.032C11.7227 16.0533 11.744 16.064 11.776 16.064H16.112C16.1653 16.064 16.208 16.0853 16.24 16.128C16.2827 16.16 16.304 16.2027 16.304 16.256V17.808C16.304 17.8613 16.2827 17.9093 16.24 17.952C16.208 17.984 16.1653 18 16.112 18H8.912C8.85867 18 8.81067 17.984 8.768 17.952C8.736 17.9093 8.72 17.8613 8.72 17.808V16.336C8.72 16.24 8.752 16.16 8.816 16.096C9.33867 15.584 9.872 15.0293 10.416 14.432C10.96 13.824 11.3013 13.4453 11.44 13.296C11.7387 12.944 12.0427 12.608 12.352 12.288C13.3227 11.2107 13.808 10.4107 13.808 9.888C13.808 9.51467 13.6747 9.21067 13.408 8.976C13.1413 8.73067 12.7947 8.608 12.368 8.608C11.9413 8.608 11.5947 8.73067 11.328 8.976C11.0613 9.21067 10.928 9.52533 10.928 9.92V10.32C10.928 10.3733 10.9067 10.4213 10.864 10.464C10.832 10.496 10.7893 10.512 10.736 10.512H8.848C8.79467 10.512 8.74667 10.496 8.704 10.464C8.672 10.4213 8.656 10.3733 8.656 10.32V9.568C8.688 8.992 8.86933 8.48533 9.2 8.048C9.53067 7.6 9.968 7.25867 10.512 7.024C11.0667 6.78933 11.6853 6.672 12.368 6.672C13.1253 6.672 13.7813 6.816 14.336 7.104C14.9013 7.38133 15.3333 7.76 15.632 8.24C15.9413 8.72 16.096 9.25333 16.096 9.84C16.096 10.288 15.984 10.7467 15.76 11.216C15.536 11.6853 15.2 12.192 14.752 12.736C14.4213 13.152 14.064 13.5627 13.68 13.968C13.296 14.3733 12.7253 14.96 11.968 15.728L11.728 15.968Z" fill="white"/></svg>`;
|
5
6
|
const AcceptedLight = `<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/><path d="M11.728 15.968C11.7067 15.9893 11.7013 16.0107 11.712 16.032C11.7227 16.0533 11.744 16.064 11.776 16.064H16.112C16.1653 16.064 16.208 16.0853 16.24 16.128C16.2827 16.16 16.304 16.2027 16.304 16.256V17.808C16.304 17.8613 16.2827 17.9093 16.24 17.952C16.208 17.984 16.1653 18 16.112 18H8.912C8.85867 18 8.81067 17.984 8.768 17.952C8.736 17.9093 8.72 17.8613 8.72 17.808V16.336C8.72 16.24 8.752 16.16 8.816 16.096C9.33867 15.584 9.872 15.0293 10.416 14.432C10.96 13.824 11.3013 13.4453 11.44 13.296C11.7387 12.944 12.0427 12.608 12.352 12.288C13.3227 11.2107 13.808 10.4107 13.808 9.888C13.808 9.51467 13.6747 9.21067 13.408 8.976C13.1413 8.73067 12.7947 8.608 12.368 8.608C11.9413 8.608 11.5947 8.73067 11.328 8.976C11.0613 9.21067 10.928 9.52533 10.928 9.92V10.32C10.928 10.3733 10.9067 10.4213 10.864 10.464C10.832 10.496 10.7893 10.512 10.736 10.512H8.848C8.79467 10.512 8.74667 10.496 8.704 10.464C8.672 10.4213 8.656 10.3733 8.656 10.32V9.568C8.688 8.992 8.86933 8.48533 9.2 8.048C9.53067 7.6 9.968 7.25867 10.512 7.024C11.0667 6.78933 11.6853 6.672 12.368 6.672C13.1253 6.672 13.7813 6.816 14.336 7.104C14.9013 7.38133 15.3333 7.76 15.632 8.24C15.9413 8.72 16.096 9.25333 16.096 9.84C16.096 10.288 15.984 10.7467 15.76 11.216C15.536 11.6853 15.2 12.192 14.752 12.736C14.4213 13.152 14.064 13.5627 13.68 13.968C13.296 14.3733 12.7253 14.96 11.968 15.728L11.728 15.968Z" fill="#654DCB"/></svg>`;
|
6
7
|
const CanceledDark = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 24C15.1826 24 18.2348 22.7357 20.4853 20.4853C22.7357 18.2348 24 15.1826 24 12C24 8.8174 22.7357 5.76516 20.4853 3.51472C18.2348 1.26428 15.1826 0 12 0C8.8174 0 5.76516 1.26428 3.51472 3.51472C1.26428 5.76516 0 8.8174 0 12C0 15.1826 1.26428 18.2348 3.51472 20.4853C5.76516 22.7357 8.8174 24 12 24V24ZM9 7.5C8.60218 7.5 8.22064 7.65804 7.93934 7.93934C7.65804 8.22064 7.5 8.60218 7.5 9V15C7.5 15.3978 7.65804 15.7794 7.93934 16.0607C8.22064 16.342 8.60218 16.5 9 16.5H15C15.3978 16.5 15.7794 16.342 16.0607 16.0607C16.342 15.7794 16.5 15.3978 16.5 15V9C16.5 8.60218 16.342 8.22064 16.0607 7.93934C15.7794 7.65804 15.3978 7.5 15 7.5H9Z" fill="#9095B3"/></svg>`;
|
@@ -75,10 +76,10 @@ export class VerdocsStatusIndicator {
|
|
75
76
|
const leftOffset = ENTRY_PADDING / 2 + leftoverSpace / 2;
|
76
77
|
recipients.forEach((recipient, index) => {
|
77
78
|
var _a;
|
78
|
-
const
|
79
|
+
const fullName = formatFullName(recipient);
|
79
80
|
const entity = {
|
80
81
|
id: recipient.id,
|
81
|
-
text:
|
82
|
+
text: fullName,
|
82
83
|
icon: this.getStatusIcon(recipient.status),
|
83
84
|
x: index * (ENTRY_WIDTH + ENTRY_PADDING) + leftOffset,
|
84
85
|
y,
|
@@ -237,11 +238,11 @@ export class VerdocsStatusIndicator {
|
|
237
238
|
}
|
238
239
|
const icon = this.getStatusIcon(status);
|
239
240
|
const statusMessage = this.getStatusMessage(status);
|
240
|
-
return (h(Host, { key: '
|
241
|
+
return (h(Host, { key: '9431a5eb4a5a0b8ad04530f5608255fe75cf812f', ref: el => (this.summaryComponent = el), class: `${this.theme} ${this.size} ${this.envelope ? 'has-document' : ''}`, "aria-label": "Click to View Details", onClick: e => {
|
241
242
|
e.stopPropagation();
|
242
243
|
e.preventDefault();
|
243
244
|
this.envelope && this.toggleDropdown();
|
244
|
-
}, onBlur: e => this.envelope && this.handleHideDropdown(e) }, h("span", { key: '
|
245
|
+
}, onBlur: e => this.envelope && this.handleHideDropdown(e) }, h("span", { key: '2c5f3b964d51df9c5be245b4a2597c6cd49bfe83', class: "icon", innerHTML: icon }), h("span", { key: 'cfddaa57b227ff076721d1335c950c273f2d128b', class: "content" }, statusMessage), h("div", { key: '00914e71f907af39f2b16e64c6689039077cc07a', class: "detail-panel", ref: el => (this.detailPanel = el) }, h("div", { key: '7d5e47c67317b5cdb8ad782748b8bb027d4f257b', id: `${this.containerId}` }), this.recipientStatusIcons.map(icon => (h("span", { innerHTML: icon.icon, style: { position: 'absolute', top: `${icon.y}px`, left: `${icon.x}px` } }))))));
|
245
246
|
}
|
246
247
|
static get is() { return "verdocs-status-indicator"; }
|
247
248
|
static get originalStyleUrls() {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
2
|
-
import { VerdocsEndpoint } from '@verdocs/js-sdk';
|
2
|
+
import { VerdocsEndpoint, formatFullName } from '@verdocs/js-sdk';
|
3
3
|
import { c as convertToE164 } from './utils.js';
|
4
4
|
import { d as defineCustomElement$4 } from './verdocs-button2.js';
|
5
5
|
import { d as defineCustomElement$3 } from './verdocs-help-icon2.js';
|
@@ -44,7 +44,7 @@ const VerdocsContactPicker = /*@__PURE__*/ proxyCustomElement(class VerdocsConta
|
|
44
44
|
componentWillLoad() {
|
45
45
|
if (this.templateRole) {
|
46
46
|
// TODO: For backwards compatibility, may be removed once templateRole no longer has a full_name
|
47
|
-
const fullName =
|
47
|
+
const fullName = formatFullName(this.templateRole);
|
48
48
|
const nameComponents = fullName.split(' ');
|
49
49
|
const firstName = this.templateRole.first_name || nameComponents.shift() || '';
|
50
50
|
const lastName = this.templateRole.last_name || nameComponents.join(' ') || '';
|
@@ -111,26 +111,26 @@ const VerdocsContactPicker = /*@__PURE__*/ proxyCustomElement(class VerdocsConta
|
|
111
111
|
// The reason for the random names/IDs is to disable browser autocomplete. We set the autocomplete tags but many browsers ignore them
|
112
112
|
// and show a duplicate autocomplete picker on top of our own.
|
113
113
|
render() {
|
114
|
-
return (h("form", { key: '
|
114
|
+
return (h("form", { key: 'afe87589323a6c7bbc20378c4b697087dfa698c4', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("div", { key: 'cd1821c3dbfdc2223fe6d6455d3f89d6ad3afa3b', class: "row" }, h("label", { key: '130729c3ad6a6a06cad020a8cd2e6ef7dc62ed2e', htmlFor: this.nameFieldId }, "Name:"), h("div", { key: 'b5c0d7563deb878ceb273137b247588a5012051a', class: "names-row" }, h("input", { key: 'dfec098bf5c5b6a3e17eb8aa6070ffa9bcc46db5', id: this.firstNameFieldId, name: this.firstNameFieldId, type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.first_name, placeholder: "First Name...", onFocus: () => { var _a; return (this.showSuggestions = ((_a = this.contactSuggestions) === null || _a === void 0 ? void 0 : _a.length) > 0); }, onInput: e => this.handleFirstNameChange(e) }), h("input", { key: 'f490230827f9b520a1038622ffb2a47dba821e7f', id: this.lastNameFieldId, name: this.lastNameFieldId, type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.last_name, placeholder: "Last Name...", onFocus: () => (this.showSuggestions = false), onInput: e => this.handleLastNameChange(e) })), this.showSuggestions && (h("div", { key: '9e7bda8af69abfe6402e0ada80e40fe9a190835f', class: "dropdown" }, this.contactSuggestions
|
115
115
|
.filter(suggestion => !this.first_name || suggestion.first_name.toLowerCase().includes(this.first_name.toLowerCase()))
|
116
116
|
.map(suggestion => {
|
117
117
|
var _a;
|
118
|
-
return (h("div", { key: (_a = suggestion.id) !== null && _a !== void 0 ? _a : suggestion.email, class: "suggestion", onClick: e => this.handleSelectSuggestion(e, suggestion) }, suggestion.picture ? h("img", { alt: "Avatar", class: "avatar", src: suggestion.picture }) : h("div", { class: "avatar", innerHTML: addrBookIcon }), h("div", { class: "details" }, h("div", { class: "name" }, suggestion
|
119
|
-
})))), h("div", { key: '
|
118
|
+
return (h("div", { key: (_a = suggestion.id) !== null && _a !== void 0 ? _a : suggestion.email, class: "suggestion", onClick: e => this.handleSelectSuggestion(e, suggestion) }, suggestion.picture ? h("img", { alt: "Avatar", class: "avatar", src: suggestion.picture }) : h("div", { class: "avatar", innerHTML: addrBookIcon }), h("div", { class: "details" }, h("div", { class: "name" }, formatFullName(suggestion)), suggestion.email && h("div", { class: "destination" }, suggestion.email), suggestion.phone && h("div", { class: "destination" }, suggestion.phone))));
|
119
|
+
})))), h("div", { key: 'f50e03a0b1532f78c0a98be0bbbeb5c488d06b7e', class: "row" }, h("label", { key: '847a03964705042059143471be35a46d5e2b2b12', htmlFor: this.emailFieldId }, "Email:"), h("input", { key: 'a7c27cc87a25041a2a3668929b4752afe9195d3b', id: this.emailFieldId, name: this.emailFieldId, type: "text", "data-lpignore": "true", autoComplete: "blocked", value: this.email, placeholder: "Email Address...", onFocus: () => (this.showSuggestions = false), onInput: e => this.handleEmailChange(e) })), h("div", { key: 'a389528718e46e959b73a86630bd7f69fb620de1', class: "row" }, h("label", { key: '4d4acda8e933a8edd2d2f5c52ca77a2a72aef512', htmlFor: this.phoneFieldId }, "Phone:"), h("input", { key: 'e0dbdfa1c347f475c811a6d5f1d640f733856592', id: this.phoneFieldId, name: this.phoneFieldId, type: "text", "data-lpignore": "true", autoComplete: "blocked", value: this.phone, placeholder: "Phone Number...", onFocus: () => (this.showSuggestions = false), onInput: e => this.handlePhoneChange(e) })), this.showKba && (h("div", { key: '343bdf9658583cac02155b17362fc291571deae7', class: "row" }, h("div", { key: 'bfa7496f29db14a0e4ac069d17bb91050bfbd113', class: "label-with-icon" }, h("label", { key: 'e2cac18062f6aaf62af08f4e966cde31759d6dcb' }, "KBA:"), h("verdocs-help-icon", { key: '0a80c66ecbfb487efa15ab6a4c184df061db9076', text: "Knowledge-Based Authentication adds additional authentication for this user either via a simple PIN code or full address validation. NOTE: There may be a fee for using this feature." })), h("verdocs-select-input", { key: 'ee90cd3cd7e026ba5fd4ad2c9ee5f8e8a1479b1a', value: this.kbaMethod, onInput: (e) => (this.kbaMethod = e.target.value), options: [
|
120
120
|
{ label: 'None', value: '' },
|
121
121
|
{ label: 'PIN Code', value: 'pin' },
|
122
122
|
{ label: 'Full Verification', value: 'kba' },
|
123
|
-
] }), this.kbaMethod === 'pin' && (h("input", { key: '
|
123
|
+
] }), this.kbaMethod === 'pin' && (h("input", { key: 'abc4447e13083bcf303638726e4fee9a72626ee7', id: "verdocs-pin-code", name: "verdocs-pin-code", type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.pinCode, placeholder: "KBA PIN Code...", onFocus: () => (this.showSuggestions = false), onInput: e => this.handleMessageChange(e) })))), this.showMessage && (h("div", { key: '891957c01d85c52da2d245d46e4f58515072814e', class: "row" }, h("label", { key: 'a606f013a2add41a5c1040ff3078e83a744bc1d0', htmlFor: "verdocs-contact-picker-message" }, "Message:"), h("input", { key: '92d6a7991e6a912886d91517d90396d61cd56c7f', id: "verdocs-contact-picker-message", name: "verdocs-contact-picker-message", type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.message, placeholder: "Invitation Message...", onFocus: () => (this.showSuggestions = false), onInput: e => this.handleMessageChange(e) }))), h("div", { key: 'ce3c2403b493aba7a9b4e470425595ee06679f40', class: "buttons" }, h("verdocs-toggle-button", { key: '9799719ced528476bccabfff28dc26be2ea414ee', icon: kbaIcon, size: "small", active: this.showKba, onToggle: e => {
|
124
124
|
this.showKba = e.detail.active;
|
125
125
|
if (!e.detail.active) {
|
126
126
|
this.pinCode = '';
|
127
127
|
this.kbaMethod = '';
|
128
128
|
}
|
129
129
|
this.showSuggestions = false;
|
130
|
-
} }), h("verdocs-toggle-button", { key: '
|
130
|
+
} }), h("verdocs-toggle-button", { key: 'b7cd508f79e2d98919a698466d2e9ca475935271', icon: messageIcon, size: "small", active: this.showMessage, onToggle: e => {
|
131
131
|
this.showMessage = e.detail.active;
|
132
132
|
this.showSuggestions = false;
|
133
|
-
} }), h("div", { key: '
|
133
|
+
} }), h("div", { key: '1e6ab34550a4ff72216f67fa24be01febbf9df27', class: "flex-fill" }), h("verdocs-button", { key: '009de03c3a09b96c832a6a063dde93b80d9fe992', variant: "outline", label: "Cancel", size: "small", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '8f014ed5ad0e970ac8b2f417c666a4ea9f052115', label: "OK", size: "small", onClick: e => this.handleSubmit(e) }))));
|
134
134
|
}
|
135
135
|
static get style() { return VerdocsContactPickerStyle0; }
|
136
136
|
}, [0, "verdocs-contact-picker", {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
2
|
-
import { VerdocsEndpoint, getInPersonLink } from '@verdocs/js-sdk';
|
2
|
+
import { VerdocsEndpoint, getInPersonLink, formatFullName } from '@verdocs/js-sdk';
|
3
3
|
import { g as getEnvelopeStore } from './EnvelopeStore.js';
|
4
4
|
import { V as VerdocsToast } from './Toast.js';
|
5
5
|
import { S as SDKError } from './errors.js';
|
@@ -84,7 +84,7 @@ const VerdocsEnvelopeRecipientLink = /*@__PURE__*/ proxyCustomElement(class Verd
|
|
84
84
|
}
|
85
85
|
// const recipientsWithActions = getRecipientsWithActions(this.store.state); const showLinkButton = recipientCanAct(recipient, recipientsWithActions); const link =
|
86
86
|
// this.links[recipient.role_name]; const gettingLink = this.gettingLinks[recipient.role_name]; return (
|
87
|
-
const fullName =
|
87
|
+
const fullName = formatFullName(this.recipient);
|
88
88
|
return (h(Host, null, h("div", { class: "summary-content" }, h("h1", { class: "summary-title" }, "In-Person Signing Link"), h("div", { class: "summary-rows" }, h("div", { class: "summary-recipient" }, h("div", { class: "role-name" }, this.recipient.role_name), h("div", { class: "role-details" }, h("div", { class: "role-info" }, h("div", { class: "role-full-name" }, fullName, " (", this.recipient.email || this.recipient.phone, ")"), !this.link && (h("verdocs-button", { size: "small", variant: "outline", label: this.gettingLink ? 'Loading...' : 'Get Link', disabled: this.gettingLink, onClick: () => this.getLink(this.recipient) }))), this.link && (h("div", { class: "link-wrapper" }, h("div", { class: "link" }, this.link), h("verdocs-button", { size: "small", variant: "outline", label: "Copy", onClick: () => this.copyLink(this.link) })))))), h("div", { class: "buttons" }, h("verdocs-button", { size: "small", label: "Done", onClick: e => this.handleDone(e) })))));
|
89
89
|
}
|
90
90
|
static get style() { return VerdocsEnvelopeRecipientLinkStyle0; }
|