@verdocs/web-sdk 4.2.67 → 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 +1 -1
- 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 +4 -5
- 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 +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +2 -3
- 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 +2 -3
- 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 +2 -2
- 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 +5 -6
- 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 +3 -3
- 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/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-03a228e4.system.js → p-34325ad6.system.js} +1 -1
- 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/esm-es5/index-3476681c.js +0 -1
- package/dist/verdocs-web-sdk/p-17f27f15.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-27b3f4b4.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-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-bfd72d8d.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-e2f2f11a.entry.js +0 -1
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; }
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
2
|
-
import { VerdocsEndpoint, getInPersonLink, getRecipientsWithActions, recipientCanAct } from '@verdocs/js-sdk';
|
2
|
+
import { VerdocsEndpoint, getInPersonLink, getRecipientsWithActions, recipientCanAct, formatFullName } from '@verdocs/js-sdk';
|
3
3
|
import { g as getEnvelopeStore } from './EnvelopeStore.js';
|
4
4
|
import { S as SDKError } from './errors.js';
|
5
5
|
import { d as defineCustomElement$1 } from './verdocs-button2.js';
|
@@ -109,7 +109,7 @@ const VerdocsEnvelopeRecipientSummary = /*@__PURE__*/ proxyCustomElement(class V
|
|
109
109
|
const showLinkButton = recipientCanAct(recipient, recipientsWithActions);
|
110
110
|
const link = this.links[recipient.role_name];
|
111
111
|
const gettingLink = this.gettingLinks[recipient.role_name];
|
112
|
-
const fullName =
|
112
|
+
const fullName = formatFullName(recipient);
|
113
113
|
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) }))))));
|
114
114
|
})), (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) }))))));
|
115
115
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
2
|
-
import { VerdocsEndpoint, resendInvitation, cancelEnvelope, userIsEnvelopeOwner, capitalize } from '@verdocs/js-sdk';
|
2
|
+
import { VerdocsEndpoint, resendInvitation, cancelEnvelope, formatFullName, userIsEnvelopeOwner, capitalize } from '@verdocs/js-sdk';
|
3
3
|
import { g as getEnvelopeStore } from './EnvelopeStore.js';
|
4
4
|
import { F as FORMAT_TIMESTAMP } from './Types.js';
|
5
5
|
import { V as VerdocsToast } from './Toast.js';
|
@@ -155,7 +155,7 @@ const VerdocsEnvelopeSidebar$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsE
|
|
155
155
|
histories.forEach(history => {
|
156
156
|
var _a;
|
157
157
|
const recipient = (_a = this.store.state) === null || _a === void 0 ? void 0 : _a.recipients.find(recipient => recipient.role_name === history.role_name);
|
158
|
-
const fullName =
|
158
|
+
const fullName = formatFullName(recipient);
|
159
159
|
switch (history.event.toLowerCase()) {
|
160
160
|
case 'recipient:signed':
|
161
161
|
entries.push({ icon: 'gesture', message: `Signed by ${fullName}.`, date: new Date(history.created_at) });
|
@@ -262,20 +262,18 @@ const VerdocsEnvelopeSidebar$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsE
|
|
262
262
|
// return recipient.claimed !== true && invalidRecipientStatus.indexOf(recipient.status) === -1 && invalidEnvelopeStatus.indexOf(this.store?.state?.status) === -1;
|
263
263
|
// }
|
264
264
|
render() {
|
265
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w
|
265
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
|
266
266
|
if (!this.store.state) {
|
267
267
|
return h(Host, null);
|
268
268
|
}
|
269
269
|
const isEnvelopeOwner = userIsEnvelopeOwner(this.endpoint.profile, this.store.state);
|
270
270
|
const historyEntries = this.prepareHistoryEntries();
|
271
271
|
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';
|
272
|
-
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" }, dateFns.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" }, dateFns.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" }, (
|
273
|
-
|
274
|
-
_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 :
|
275
|
-
_0.recipients.map((recipient, index) => {
|
272
|
+
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" }, dateFns.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" }, dateFns.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 :
|
273
|
+
_w.recipients.map((recipient, index) => {
|
276
274
|
const canGetInPersonLink = recipient.status !== 'submitted' && recipient.status !== 'canceled' && recipient.status !== 'declined';
|
277
275
|
const canSendReminder = this.canResendRecipient(recipient);
|
278
|
-
const fullName =
|
276
|
+
const fullName = formatFullName(recipient);
|
279
277
|
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: [
|
280
278
|
{ id: 'reminder', label: 'Send Reminder', disabled: !canSendReminder },
|
281
279
|
{ id: 'inperson', label: 'Get In-Person Link', disabled: !canGetInPersonLink },
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
2
|
-
import { VerdocsEndpoint, getEnvelopes, getRecipientsWithActions, userCanCancelEnvelope, userCanAct, cancelEnvelope, integerSequence } from '@verdocs/js-sdk';
|
2
|
+
import { VerdocsEndpoint, getEnvelopes, getRecipientsWithActions, userCanCancelEnvelope, userCanAct, formatFullName, cancelEnvelope, integerSequence } from '@verdocs/js-sdk';
|
3
3
|
import { s as saveEnvelopesAsZip } from './utils.js';
|
4
4
|
import { V as VerdocsToast } from './Toast.js';
|
5
5
|
import { S as SDKError } from './errors.js';
|
@@ -203,18 +203,18 @@ const VerdocsEnvelopesList$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsEnv
|
|
203
203
|
});
|
204
204
|
}
|
205
205
|
render() {
|
206
|
-
return (h(Host, { key: '
|
206
|
+
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) => {
|
207
207
|
var _a;
|
208
208
|
// We don't locally filter envelopes because there are too many fields to match against efficiently.
|
209
209
|
this.match = e.target.value.trim();
|
210
210
|
(_a = this.changeMatch) === null || _a === void 0 ? void 0 : _a.emit(this.match);
|
211
|
-
} })), h("verdocs-quick-filter", { key: '
|
211
|
+
} })), h("verdocs-quick-filter", { key: 'e88c43ab618d306474dfc236e19ca65ce2094a2f', label: "View", value: this.view, options: ViewFilters, onOptionSelected: e => {
|
212
212
|
this.view = e.detail.value;
|
213
|
-
} }), this.view === 'all' && (h("verdocs-quick-filter", { key: '
|
213
|
+
} }), this.view === 'all' && (h("verdocs-quick-filter", { key: '742699b4ffd149d82be9446917071fed79295ecf', label: "Status", value: this.status, options: StatusFilters, onOptionSelected: e => {
|
214
214
|
this.status = e.detail.value;
|
215
|
-
} })), this.view === 'all' && (h("verdocs-quick-filter", { key: '
|
215
|
+
} })), this.view === 'all' && (h("verdocs-quick-filter", { key: 'ad20d619289ef9d2fecd58b131c4bee7444245e1', label: "Sort By", value: this.sort, options: SortFilters, onOptionSelected: e => {
|
216
216
|
this.sort = e.detail.value;
|
217
|
-
} })), this.loading && h("verdocs-spinner", { key: '
|
217
|
+
} })), 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 => {
|
218
218
|
var _a;
|
219
219
|
const recipientsWithActions = getRecipientsWithActions(envelope);
|
220
220
|
const userCanCancel = userCanCancelEnvelope(this.endpoint.profile, envelope);
|
@@ -233,7 +233,7 @@ const VerdocsEnvelopesList$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsEnv
|
|
233
233
|
else {
|
234
234
|
this.selectedEnvelopes = this.selectedEnvelopes.filter(e => e.id !== envelope.id);
|
235
235
|
}
|
236
|
-
} }), h("div", { class: "vert-spacer" }), h("span", { innerHTML: DocumentIcon, class: "envelope-icon" }), h("div", { class: "envelope-name" }, envelope.name, ":\u00A0",
|
236
|
+
} }), 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 => {
|
237
237
|
var _a, _b;
|
238
238
|
switch (e.detail.id) {
|
239
239
|
case 'view':
|
@@ -255,7 +255,7 @@ const VerdocsEnvelopesList$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsEnv
|
|
255
255
|
break;
|
256
256
|
}
|
257
257
|
} }))));
|
258
|
-
}), !this.initiallyLoaded && (h("div", { key: '
|
258
|
+
}), !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 => {
|
259
259
|
this.selectedPage = e.detail.selectedPage;
|
260
260
|
} }))) : (h("div", null))));
|
261
261
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host, Fragment } from '@stencil/core/internal/client';
|
2
|
-
import { VerdocsEndpoint, startSigningSession, getEnvelope, envelopeRecipientAgree, envelopeRecipientDecline, updateEnvelopeField, createSignature, updateEnvelopeFieldSignature, createInitials, updateEnvelopeFieldInitials, isValidPhone, isValidEmail, envelopeRecipientSubmit, uploadEnvelopeFieldAttachment, fullNameToInitials, integerSequence } from '@verdocs/js-sdk';
|
2
|
+
import { VerdocsEndpoint, startSigningSession, getEnvelope, envelopeRecipientAgree, envelopeRecipientDecline, updateEnvelopeField, createSignature, updateEnvelopeFieldSignature, createInitials, updateEnvelopeFieldInitials, isValidPhone, isValidEmail, envelopeRecipientSubmit, uploadEnvelopeFieldAttachment, formatFullName, fullNameToInitials, integerSequence } from '@verdocs/js-sdk';
|
3
3
|
import { a as saveAttachment, u as updateDocumentFieldValue, r as renderDocumentField, g as getFieldId } from './utils.js';
|
4
4
|
import { c as createTemplateFieldStoreFromEnvelope } from './TemplateFieldStore.js';
|
5
5
|
import { V as VerdocsToast } from './Toast.js';
|
@@ -401,7 +401,6 @@ const VerdocsSign$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsSign extends
|
|
401
401
|
}
|
402
402
|
}
|
403
403
|
attachFieldAttributes(pageInfo, field, el) {
|
404
|
-
var _a, _b, _c;
|
405
404
|
el.addEventListener('input', (e) => {
|
406
405
|
// console.log('[SIGN] onfieldInput', e.detail, e.target.value);
|
407
406
|
// These field types don't emit fieldChange. Should we standardize on that? We don't tap "input" for fields like
|
@@ -429,7 +428,7 @@ const VerdocsSign$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsSign extends
|
|
429
428
|
el.setAttribute('page', pageInfo.pageNumber);
|
430
429
|
el.setAttribute('xScale', pageInfo.xScale);
|
431
430
|
el.setAttribute('yScale', pageInfo.yScale);
|
432
|
-
const fullName =
|
431
|
+
const fullName = formatFullName(this.recipient);
|
433
432
|
el.setAttribute('initials', fullNameToInitials(fullName));
|
434
433
|
el.setAttribute('name', fullName);
|
435
434
|
}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
2
|
+
import { formatFullName } from '@verdocs/js-sdk';
|
2
3
|
import { c as createPopper } from './popper.js';
|
3
4
|
|
4
5
|
const methods$1 = {};
|
@@ -7027,10 +7028,10 @@ const VerdocsStatusIndicator = /*@__PURE__*/ proxyCustomElement(class VerdocsSta
|
|
7027
7028
|
const leftOffset = ENTRY_PADDING / 2 + leftoverSpace / 2;
|
7028
7029
|
recipients.forEach((recipient, index) => {
|
7029
7030
|
var _a;
|
7030
|
-
const
|
7031
|
+
const fullName = formatFullName(recipient);
|
7031
7032
|
const entity = {
|
7032
7033
|
id: recipient.id,
|
7033
|
-
text:
|
7034
|
+
text: fullName,
|
7034
7035
|
icon: this.getStatusIcon(recipient.status),
|
7035
7036
|
x: index * (ENTRY_WIDTH + ENTRY_PADDING) + leftOffset,
|
7036
7037
|
y,
|
@@ -7189,11 +7190,11 @@ const VerdocsStatusIndicator = /*@__PURE__*/ proxyCustomElement(class VerdocsSta
|
|
7189
7190
|
}
|
7190
7191
|
const icon = this.getStatusIcon(status);
|
7191
7192
|
const statusMessage = this.getStatusMessage(status);
|
7192
|
-
return (h(Host, { key: '
|
7193
|
+
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 => {
|
7193
7194
|
e.stopPropagation();
|
7194
7195
|
e.preventDefault();
|
7195
7196
|
this.envelope && this.toggleDropdown();
|
7196
|
-
}, onBlur: e => this.envelope && this.handleHideDropdown(e) }, h("span", { key: '
|
7197
|
+
}, 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` } }))))));
|
7197
7198
|
}
|
7198
7199
|
static get style() { return VerdocsStatusIndicatorStyle0; }
|
7199
7200
|
}, [0, "verdocs-status-indicator", {
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { c as createStore } from './index-
|
1
|
+
import { c as createStore } from './index-04235019.js';
|
2
2
|
import { getTemplate } from '@verdocs/js-sdk';
|
3
|
-
import { c as createTemplateRoleStore, g as getTemplateRoleStore } from './TemplateRoleStore-
|
4
|
-
import { c as createTemplateFieldStore, g as getTemplateFieldStore } from './TemplateFieldStore-
|
3
|
+
import { c as createTemplateRoleStore, g as getTemplateRoleStore } from './TemplateRoleStore-054bd7ed.js';
|
4
|
+
import { c as createTemplateFieldStore, g as getTemplateFieldStore } from './TemplateFieldStore-6113ab4b.js';
|
5
5
|
import { u as undefinedType } from './index-7588a071.js';
|
6
6
|
|
7
7
|
const createTemplateStore = (templateId) => {
|
@@ -2,7 +2,7 @@ const NAMESPACE = 'verdocs-web-sdk';
|
|
2
2
|
const BUILD = /* verdocs-web-sdk */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: true, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: false, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
|
3
3
|
|
4
4
|
/*
|
5
|
-
Stencil Client Platform v4.
|
5
|
+
Stencil Client Platform v4.21.0 | MIT Licensed | https://stenciljs.com
|
6
6
|
*/
|
7
7
|
var __defProp = Object.defineProperty;
|
8
8
|
var __export = (target, all) => {
|
@@ -552,17 +552,19 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
552
552
|
if (nonce != null) {
|
553
553
|
styleElm.setAttribute("nonce", nonce);
|
554
554
|
}
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
555
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
556
|
+
if (styleContainerNode.nodeName === "HEAD") {
|
557
|
+
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
558
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : document.querySelector("style");
|
559
|
+
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
560
|
+
} else if ("host" in styleContainerNode) {
|
561
|
+
styleContainerNode.prepend(styleElm);
|
562
|
+
} else {
|
563
|
+
styleContainerNode.append(styleElm);
|
564
|
+
}
|
565
|
+
}
|
566
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
567
|
+
styleContainerNode.insertBefore(styleElm, null);
|
566
568
|
}
|
567
569
|
}
|
568
570
|
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
@@ -650,7 +652,11 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
650
652
|
if (memberName === "list") {
|
651
653
|
isProp = false;
|
652
654
|
} else if (oldValue == null || elm[memberName] != n) {
|
653
|
-
elm
|
655
|
+
if (typeof elm.__lookupSetter__(memberName) === "function") {
|
656
|
+
elm[memberName] = n;
|
657
|
+
} else {
|
658
|
+
elm.setAttribute(memberName, n);
|
659
|
+
}
|
654
660
|
}
|
655
661
|
} else {
|
656
662
|
elm[memberName] = newValue;
|
package/dist/esm/loader.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
2
|
-
export { s as setNonce } from './index-
|
1
|
+
import { b as bootstrapLazy } from './index-d3ac9650.js';
|
2
|
+
export { s as setNonce } from './index-d3ac9650.js';
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
4
4
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-d3ac9650.js';
|
2
2
|
import { VerdocsEndpoint, createProfile, verifyEmail, authenticate, getMyUser, resendVerification, resetPassword } from '@verdocs/js-sdk';
|
3
3
|
import { V as VerdocsToast } from './Toast-c4843828.js';
|
4
4
|
import { S as SDKError } from './errors-887f1e88.js';
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d3ac9650.js';
|
2
2
|
import { VerdocsEndpoint } from '@verdocs/js-sdk';
|
3
|
-
import { g as getTemplateStore } from './TemplateStore-
|
3
|
+
import { g as getTemplateStore } from './TemplateStore-d432547d.js';
|
4
4
|
import { S as SDKError } from './errors-887f1e88.js';
|
5
|
-
import './index-
|
6
|
-
import './TemplateRoleStore-
|
7
|
-
import './TemplateFieldStore-
|
5
|
+
import './index-04235019.js';
|
6
|
+
import './TemplateRoleStore-054bd7ed.js';
|
7
|
+
import './TemplateFieldStore-6113ab4b.js';
|
8
8
|
import './index-7588a071.js';
|
9
9
|
|
10
10
|
const verdocsBuildCss = "@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-build{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif}verdocs-build .content{-ms-flex:1;flex:1;gap:20px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column}verdocs-build verdocs-template-attachments,verdocs-build verdocs-template-roles{margin:20px}verdocs-build verdocs-template-fields{border-top:1px solid #777777}verdocs-build verdocs-template-attachments{padding:20px;background:#ffffff}verdocs-build verdocs-template-fields{width:100%}verdocs-build verdocs-preview{-ms-flex:1;flex:1}verdocs-build .preview-container{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;width:100%;background-color:#eeeeee;max-height:100%}@media all and (max-width: 450px){verdocs-build .preview-container{-ms-flex-direction:column;flex-direction:column}}verdocs-build .preview-send-wrapper{display:-ms-flexbox;display:flex;-ms-flex:0 0 300px;flex:0 0 300px;background-color:#ffffff;-webkit-box-shadow:1px 1px 6px -2px rgba(0, 0, 0, 0.4980392157);box-shadow:1px 1px 6px -2px rgba(0, 0, 0, 0.4980392157)}@media all and (max-width: 450px){verdocs-build .preview-send-wrapper{-ms-flex:0;flex:0}}verdocs-build .preview-preview-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;overflow-y:scroll}";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { r as registerInstance, h, H as Host, c as createEvent } from './index-
|
1
|
+
import { r as registerInstance, h, H as Host, c as createEvent } from './index-d3ac9650.js';
|
2
2
|
import { c as createPopper } from './popper-0fbeff6d.js';
|
3
3
|
|
4
4
|
const verdocsButtonPanelCss = "@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-button-panel{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;display:inline-block}verdocs-button-panel .icon{display:inline-block;cursor:pointer;opacity:0.6}verdocs-button-panel .icon svg{fill:#707ae5}verdocs-button-panel .icon:hover{opacity:1}.verdocs-button-panel-content{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;-webkit-box-shadow:0 0 10px 1px #999999;box-shadow:0 0 10px 1px #999999;display:none;background:#ffffff;color:#33364b;width:320px;font-weight:bold;padding:15px;font-size:14px;position:relative;border-radius:4px;z-index:10000}.verdocs-button-panel-content .arrow,.verdocs-button-panel-content .arrow::before{position:absolute;width:8px;height:8px;background:inherit}.verdocs-button-panel-content .arrow{visibility:hidden;top:-4px}.verdocs-button-panel-content .arrow::before{visibility:visible;content:\"\";-webkit-transform:rotate(45deg);transform:rotate(45deg)}.verdocs-button-panel-content[data-show]{display:block}.verdocs-button-panel-content[data-popper-placement^=top]>.arrow{bottom:-4px}.verdocs-button-panel-content[data-popper-placement^=bottom]>.arrow{top:-4px}.verdocs-button-panel-content[data-popper-placement^=left]>.arrow{right:-4px}.verdocs-button-panel-content[data-popper-placement^=right]>.arrow{left:-4px}.verdocs-button-panel-content h6{font-size:16px;font-weight:bold;margin:0 0 16px 0;color:#092c4c;border-bottom:1px solid #cccccc}";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-d3ac9650.js';
|
2
2
|
import { c as createPopper } from './popper-0fbeff6d.js';
|
3
3
|
import { V as VerdocsToast } from './Toast-c4843828.js';
|
4
4
|
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-
|
1
|
+
import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-d3ac9650.js';
|
2
2
|
import { VerdocsEndpoint, updateField, deleteField } from '@verdocs/js-sdk';
|
3
|
-
import { g as getTemplateFieldStore, u as updateStoreField } from './TemplateFieldStore-
|
4
|
-
import { g as getTemplateRoleStore } from './TemplateRoleStore-
|
5
|
-
import { g as getTemplateStore } from './TemplateStore-
|
3
|
+
import { g as getTemplateFieldStore, u as updateStoreField } from './TemplateFieldStore-6113ab4b.js';
|
4
|
+
import { g as getTemplateRoleStore } from './TemplateRoleStore-054bd7ed.js';
|
5
|
+
import { g as getTemplateStore } from './TemplateStore-d432547d.js';
|
6
6
|
import { S as SDKError } from './errors-887f1e88.js';
|
7
|
-
import './index-
|
7
|
+
import './index-04235019.js';
|
8
8
|
import './index-7588a071.js';
|
9
9
|
|
10
10
|
const verdocsCheckboxCss = "@charset \"UTF-8\";@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-checkbox{line-height:18px;font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif}verdocs-checkbox label>input[type=checkbox]{display:none}verdocs-checkbox label>input[type=checkbox]+*::before{content:\"\";width:20px;height:20px;-ms-flex-negative:0;flex-shrink:0;margin-right:8px;line-height:20px;border-radius:2px;border-style:solid;border-width:0.1rem;display:inline-block;vertical-align:bottom;border-color:#aeb4bf}verdocs-checkbox label>input[type=checkbox]:checked+*{color:#55bc81}verdocs-checkbox label>input[type=checkbox]:checked+*::before{content:\"✓\";color:white;text-align:center;background:#55bc81;border-color:#55bc81}verdocs-checkbox.dark label>input[type=checkbox]+*::before{border-color:#ffffff}verdocs-checkbox.dark label>input[type=checkbox]:checked+*::before{background:#55bc81;border-color:#55bc81}";
|