@verdocs/web-sdk 6.12.1 → 6.13.0
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/{Environment-C3P2cz0J.js → Environment-BNrHCUC8.js} +4 -2
- package/dist/{esm/Environment-b2u0_wDk.js.map → cjs/Environment-BNrHCUC8.js.map} +1 -1
- package/dist/cjs/ScrollFade-DKS1cHlq.js +21 -0
- package/dist/cjs/ScrollFade-DKS1cHlq.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/verdocs-adopt-signature-dialog_7.cjs.entry.js +8 -8
- package/dist/cjs/verdocs-auth.cjs.entry.js +36 -16
- package/dist/cjs/verdocs-auth.cjs.entry.js.map +1 -1
- package/dist/cjs/verdocs-button-panel.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-button_3.cjs.entry.js +6 -6
- package/dist/cjs/verdocs-checkbox_5.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-contact-picker.cjs.entry.js +73 -46
- package/dist/cjs/verdocs-contact-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/verdocs-date-input.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-dialog.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-download-dialog_4.cjs.entry.js +5 -5
- package/dist/cjs/verdocs-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +6 -6
- package/dist/cjs/verdocs-field-attachment_11.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-flag.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-initial-dialog.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-menu-panel_2.cjs.entry.js +8 -8
- package/dist/cjs/verdocs-multiselect.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 +2 -2
- package/dist/cjs/verdocs-pagination_2.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-preview_6.cjs.entry.js +253 -31
- package/dist/cjs/verdocs-preview_6.cjs.entry.js.map +1 -1
- package/dist/cjs/verdocs-quick-functions.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-radio-button.cjs.entry.js +1 -1
- 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-signature-dialog.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-spinner.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-switch.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-table.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-tabs.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 +1 -1
- 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 +7 -7
- package/dist/cjs/verdocs-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-toggle.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-web-sdk.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/controls/verdocs-button/verdocs-button.js +1 -1
- package/dist/collection/components/controls/verdocs-button-panel/verdocs-button-panel.js +2 -2
- package/dist/collection/components/controls/verdocs-checkbox/verdocs-checkbox.js +1 -1
- package/dist/collection/components/controls/verdocs-component-error/verdocs-component-error.js +1 -1
- package/dist/collection/components/controls/verdocs-date-input/verdocs-date-input.js +2 -2
- package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.js +1 -1
- package/dist/collection/components/controls/verdocs-file-chooser/verdocs-file-chooser.js +1 -1
- package/dist/collection/components/controls/verdocs-flag/verdocs-flag.js +1 -1
- package/dist/collection/components/controls/verdocs-help-icon/verdocs-help-icon.js +1 -1
- package/dist/collection/components/controls/verdocs-loader/verdocs-loader.js +1 -1
- package/dist/collection/components/controls/verdocs-menu-panel/verdocs-menu-panel.js +1 -1
- package/dist/collection/components/controls/verdocs-multiselect/verdocs-multiselect.js +1 -1
- package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.js +1 -1
- package/dist/collection/components/controls/verdocs-pagination/verdocs-pagination.js +1 -1
- package/dist/collection/components/controls/verdocs-portal/verdocs-portal.js +1 -1
- package/dist/collection/components/controls/verdocs-progress-bar/verdocs-progress-bar.js +1 -1
- package/dist/collection/components/controls/verdocs-quick-filter/verdocs-quick-filter.js +1 -1
- package/dist/collection/components/controls/verdocs-radio-button/verdocs-radio-button.js +1 -1
- package/dist/collection/components/controls/verdocs-select-input/verdocs-select-input.js +1 -1
- package/dist/collection/components/controls/verdocs-spinner/verdocs-spinner.js +1 -1
- package/dist/collection/components/controls/verdocs-switch/verdocs-switch.js +2 -2
- package/dist/collection/components/controls/verdocs-table/verdocs-table.js +2 -2
- package/dist/collection/components/controls/verdocs-tabs/verdocs-tabs.js +1 -1
- package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.js +4 -4
- package/dist/collection/components/controls/verdocs-toggle/verdocs-toggle.js +1 -1
- package/dist/collection/components/controls/verdocs-toggle-button/verdocs-toggle-button.js +1 -1
- package/dist/collection/components/controls/verdocs-toolbar-icon/verdocs-toolbar-icon.js +1 -1
- package/dist/collection/components/dialogs/verdocs-adopt-signature-dialog/verdocs-adopt-signature-dialog.js +3 -3
- package/dist/collection/components/dialogs/verdocs-delegate-dialog/verdocs-delegate-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-dialog/verdocs-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-disclosure-dialog/verdocs-disclosure-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-download-dialog/verdocs-download-dialog.js +2 -2
- package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-otp-dialog/verdocs-otp-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-passcode-dialog/verdocs-passcode-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-question-dialog/verdocs-question-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js +1 -1
- package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js +1 -1
- package/dist/collection/components/elements/verdocs-search-box/verdocs-search-box.js +1 -1
- package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js +1 -1
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js +37 -16
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js.map +1 -1
- package/dist/collection/components/embeds/verdocs-send/verdocs-send.css +447 -63
- package/dist/collection/components/embeds/verdocs-send/verdocs-send.js +291 -58
- package/dist/collection/components/embeds/verdocs-send/verdocs-send.js.map +1 -1
- package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.css +188 -99
- package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js +102 -46
- package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js.map +1 -1
- package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -1
- package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +6 -6
- package/dist/collection/components/envelopes/verdocs-sign-footer/verdocs-sign-footer.js +1 -1
- package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +2 -2
- package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.js +1 -1
- package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +7 -7
- package/dist/collection/components/templates/verdocs-template-star/verdocs-template-star.js +1 -1
- package/dist/collection/components/templates/verdocs-template-tags/verdocs-template-tags.js +1 -1
- package/dist/collection/components/templates/verdocs-templates-list/verdocs-templates-list.js +7 -7
- package/dist/collection/utils/Environment.js +1 -0
- package/dist/collection/utils/Environment.js.map +1 -1
- package/dist/collection/utils/ScrollFade.js +15 -0
- package/dist/collection/utils/ScrollFade.js.map +1 -0
- package/dist/components/{p-DmxiVavg.js → p-1FjgijEi.js} +2 -2
- package/dist/components/p-5FU3bYQ3.js +2 -0
- package/dist/components/{p-Dc3BDcaU.js.map → p-5FU3bYQ3.js.map} +1 -1
- package/dist/components/p-7o544oi8.js +2 -0
- package/dist/components/{p-B1UVXqFA.js.map → p-7o544oi8.js.map} +1 -1
- package/dist/components/{p-aj0qlBQ1.js → p-8J_y0V9M.js} +2 -2
- package/dist/components/{p-CCr_gliS.js → p-9kEZy9MP.js} +2 -2
- package/dist/components/{p-DavVixMP.js → p-B-ul_Soj.js} +2 -2
- package/dist/components/{p-BXaR1BSS.js → p-B1AE2j97.js} +2 -2
- package/dist/components/{p-DubfX0n1.js → p-B4tpmyon.js} +2 -2
- package/dist/components/{p-CsF979IT.js → p-BBCy2Hy2.js} +2 -2
- package/dist/components/{p-D_FNSGtS.js → p-BKLlc2r0.js} +2 -2
- package/dist/components/{p-Dw7l6M37.js → p-BSUeI3vF.js} +2 -2
- package/dist/components/{p-hxWwaOcD.js → p-BSX4GfGg.js} +2 -2
- package/dist/components/{p-Cujbc8tg.js → p-BTrjJycH.js} +2 -2
- package/dist/components/{p-C0SHIuoK.js → p-Bb5V9TQx.js} +2 -2
- package/dist/components/{p-CtNpZzq1.js → p-BhG0HGg6.js} +2 -2
- package/dist/components/{p-u9H54zUE.js → p-Bodw4NVB.js} +2 -2
- package/dist/components/{p-BWrwPDuU.js → p-Bxvw_LqR.js} +2 -2
- package/dist/components/p-ByrpRZ3E.js +2 -0
- package/dist/components/p-ByrpRZ3E.js.map +1 -0
- package/dist/components/{p--jRXEN0c.js → p-C-v22G3g.js} +2 -2
- package/dist/components/{p-D9yawpPk.js → p-C8yiLtCJ.js} +2 -2
- package/dist/components/p-C90lxyUX.js +2 -0
- package/dist/components/{p-JGWMBIGy.js.map → p-C90lxyUX.js.map} +1 -1
- package/dist/components/{p-B8R4luxA.js → p-CEcG_ay-.js} +2 -2
- package/dist/components/p-CEkRxfcu.js +2 -0
- package/dist/components/{p-rasc67fl.js.map → p-CEkRxfcu.js.map} +1 -1
- package/dist/components/{p-CFau7OiC.js → p-CFacV7mg.js} +2 -2
- package/dist/components/{p-vcHtLpWY.js → p-CQzPkAVQ.js} +2 -2
- package/dist/components/{p-BMzxhyLu.js → p-CdnjpaJt.js} +2 -2
- package/dist/components/{p-DLo5dMNn.js → p-Cij_2Ym2.js} +2 -2
- package/dist/components/{p-CjUdD_Dm.js → p-Cly5sH3M.js} +2 -2
- package/dist/components/{p-nh9PxN8s.js → p-CnD-TaPJ.js} +3 -3
- package/dist/components/p-CnUZ9w2T.js +2 -0
- package/dist/components/p-CnUZ9w2T.js.map +1 -0
- package/dist/components/p-Cq60Emo_.js +2 -0
- package/dist/components/p-Cq60Emo_.js.map +1 -0
- package/dist/components/{p-DJMr11ue.js → p-CqBZmEjI.js} +2 -2
- package/dist/components/{p-CzKj8wD_.js → p-D-X-Zcsr.js} +2 -2
- package/dist/components/{p-Bp88Loqg.js → p-D0MFs2Dv.js} +2 -2
- package/dist/components/{p-D17kbVUt.js → p-D4wfy1ym.js} +2 -2
- package/dist/components/{p-CAxzfAvp.js → p-DFbeKrpm.js} +2 -2
- package/dist/components/{p-DVx4efoX.js → p-DGNIsXfr.js} +2 -2
- package/dist/components/{p-CxIhMndz.js → p-DHzSlpJw.js} +2 -2
- package/dist/components/{p-LYpUmpqf.js → p-DM3wePVp.js} +2 -2
- package/dist/components/{p-C7JN32A9.js → p-DRP4Xxiu.js} +2 -2
- package/dist/components/{p-CVjehb2X.js → p-DTG2X1A2.js} +2 -2
- package/dist/components/{p-ByJ9WBGR.js → p-DeAwyTxI.js} +2 -2
- package/dist/components/{p-CIgqf7hj.js → p-DhOuB4nS.js} +2 -2
- package/dist/components/{p-vimrvRye.js → p-DqzFuSNN.js} +2 -2
- package/dist/components/{p-CoeB7U-_.js → p-DreV6Npp.js} +2 -2
- package/dist/components/{p-B0HO2i65.js → p-DsSqGIBJ.js} +2 -2
- package/dist/components/{p-Dj-aIazM.js → p-DscL0SIM.js} +2 -2
- package/dist/components/{p-B7fdmef7.js → p-DslyN9XL.js} +2 -2
- package/dist/components/{p-CLtldaUs.js → p-E2hWLZ47.js} +2 -2
- package/dist/components/{p-BYLm9aol.js → p-Lo1dCgyv.js} +2 -2
- package/dist/components/p-PVw56Shw.js +2 -0
- package/dist/components/{p-DTE1GYJt.js.map → p-PVw56Shw.js.map} +1 -1
- package/dist/components/{p-BMGs9CCD.js → p-PfdIkMoz.js} +2 -2
- package/dist/components/{p-BD2vHbCJ.js → p-Q-li_kJ_.js} +2 -2
- package/dist/components/{p-BLo_-c7G.js → p-eg4Uf0xS.js} +2 -2
- package/dist/components/{p-DrNmI7Wz.js → p-ek0LNMtb.js} +2 -2
- package/dist/components/{p-C1iHkDUH.js → p-gPd3OG7X.js} +2 -2
- package/dist/components/{p-CVF-R2yg.js → p-kHTZa3Ev.js} +2 -2
- package/dist/components/{p-F1PgSiVa.js → p-nxPMK2PN.js} +2 -2
- package/dist/components/verdocs-adopt-signature-dialog.js +1 -1
- package/dist/components/verdocs-auth.js +1 -1
- package/dist/components/verdocs-auth.js.map +1 -1
- package/dist/components/verdocs-build.js +1 -1
- package/dist/components/verdocs-button-panel.js +1 -1
- package/dist/components/verdocs-button.js +1 -1
- package/dist/components/verdocs-checkbox.js +1 -1
- package/dist/components/verdocs-component-error.js +1 -1
- package/dist/components/verdocs-contact-picker.js +1 -1
- package/dist/components/verdocs-date-input.js +1 -1
- package/dist/components/verdocs-delegate-dialog.js +1 -1
- package/dist/components/verdocs-dialog.js +1 -1
- package/dist/components/verdocs-disclosure-dialog.js +1 -1
- package/dist/components/verdocs-download-dialog.js +1 -1
- package/dist/components/verdocs-dropdown.js +1 -1
- package/dist/components/verdocs-envelope-document-page.js +1 -1
- package/dist/components/verdocs-envelope-recipient-link.js +1 -1
- package/dist/components/verdocs-envelope-recipient-summary.js +1 -1
- package/dist/components/verdocs-envelope-sidebar.js +1 -1
- package/dist/components/verdocs-envelope-update-recipient.js +1 -1
- package/dist/components/verdocs-envelopes-list.js +1 -1
- package/dist/components/verdocs-field-attachment.js +1 -1
- package/dist/components/verdocs-field-checkbox.js +1 -1
- package/dist/components/verdocs-field-date.js +1 -1
- package/dist/components/verdocs-field-dropdown.js +1 -1
- package/dist/components/verdocs-field-initial.js +1 -1
- package/dist/components/verdocs-field-payment.js +1 -1
- package/dist/components/verdocs-field-radio.js +1 -1
- package/dist/components/verdocs-field-signature.js +1 -1
- package/dist/components/verdocs-field-textarea.js +1 -1
- package/dist/components/verdocs-field-textbox.js +1 -1
- package/dist/components/verdocs-field-timestamp.js +1 -1
- package/dist/components/verdocs-file-chooser.js +1 -1
- package/dist/components/verdocs-flag.js +1 -1
- package/dist/components/verdocs-help-icon.js +1 -1
- package/dist/components/verdocs-initial-dialog.js +1 -1
- package/dist/components/verdocs-kba-dialog.js +1 -1
- package/dist/components/verdocs-loader.js +1 -1
- package/dist/components/verdocs-menu-panel.js +1 -1
- package/dist/components/verdocs-multiselect.js +1 -1
- package/dist/components/verdocs-ok-dialog.js +1 -1
- package/dist/components/verdocs-organization-card.js +1 -1
- package/dist/components/verdocs-organization-card.js.map +1 -1
- package/dist/components/verdocs-otp-dialog.js +1 -1
- package/dist/components/verdocs-pagination.js +1 -1
- package/dist/components/verdocs-passcode-dialog.js +1 -1
- package/dist/components/verdocs-portal.js +1 -1
- package/dist/components/verdocs-preview.js +1 -1
- package/dist/components/verdocs-progress-bar.js +1 -1
- package/dist/components/verdocs-question-dialog.js +1 -1
- package/dist/components/verdocs-quick-filter.js +1 -1
- package/dist/components/verdocs-quick-functions.js +1 -1
- package/dist/components/verdocs-radio-button.js +1 -1
- package/dist/components/verdocs-search-box.js +1 -1
- package/dist/components/verdocs-search-tabs.js +1 -1
- package/dist/components/verdocs-select-input.js +1 -1
- package/dist/components/verdocs-send.js +1 -1
- package/dist/components/verdocs-sign-footer.js +1 -1
- package/dist/components/verdocs-sign.js +1 -1
- package/dist/components/verdocs-signature-dialog.js +1 -1
- package/dist/components/verdocs-signing-progress.js +1 -1
- package/dist/components/verdocs-spinner.js +1 -1
- package/dist/components/verdocs-status-indicator.js +1 -1
- package/dist/components/verdocs-switch.js +1 -1
- package/dist/components/verdocs-table.js +1 -1
- package/dist/components/verdocs-tabs.js +1 -1
- package/dist/components/verdocs-template-attachments.js +1 -1
- package/dist/components/verdocs-template-build-tabs.js +1 -1
- package/dist/components/verdocs-template-card.js +1 -1
- package/dist/components/verdocs-template-create.js +1 -1
- package/dist/components/verdocs-template-document-page.js +1 -1
- package/dist/components/verdocs-template-field-properties.js +1 -1
- package/dist/components/verdocs-template-fields.js +1 -1
- package/dist/components/verdocs-template-role-properties.js +1 -1
- package/dist/components/verdocs-template-roles.js +1 -1
- package/dist/components/verdocs-template-settings.js +1 -1
- package/dist/components/verdocs-template-star.js +1 -1
- package/dist/components/verdocs-template-tags.js +1 -1
- package/dist/components/verdocs-templates-list.js +1 -1
- package/dist/components/verdocs-text-input.js +1 -1
- package/dist/components/verdocs-toggle-button.js +1 -1
- package/dist/components/verdocs-toggle.js +1 -1
- package/dist/components/verdocs-toolbar-icon.js +1 -1
- package/dist/components/verdocs-upload-dialog.js +1 -1
- package/dist/components/verdocs-view.js +1 -1
- package/dist/custom-elements.json +10 -1
- package/dist/esm/{Environment-b2u0_wDk.js → Environment-Cq60Emo_.js} +4 -3
- package/dist/{esm-es5/Environment-b2u0_wDk.js.map → esm/Environment-Cq60Emo_.js.map} +1 -1
- package/dist/esm/ScrollFade-7UEjZarN.js +19 -0
- package/dist/esm/ScrollFade-7UEjZarN.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/verdocs-adopt-signature-dialog_7.entry.js +8 -8
- package/dist/esm/verdocs-auth.entry.js +36 -16
- package/dist/esm/verdocs-auth.entry.js.map +1 -1
- package/dist/esm/verdocs-button-panel.entry.js +2 -2
- package/dist/esm/verdocs-button_3.entry.js +6 -6
- package/dist/esm/verdocs-checkbox_5.entry.js +4 -4
- package/dist/esm/verdocs-contact-picker.entry.js +74 -47
- package/dist/esm/verdocs-contact-picker.entry.js.map +1 -1
- package/dist/esm/verdocs-date-input.entry.js +2 -2
- package/dist/esm/verdocs-dialog.entry.js +1 -1
- package/dist/esm/verdocs-download-dialog_4.entry.js +5 -5
- package/dist/esm/verdocs-dropdown.entry.js +1 -1
- package/dist/esm/verdocs-envelopes-list.entry.js +6 -6
- package/dist/esm/verdocs-field-attachment_11.entry.js +1 -1
- package/dist/esm/verdocs-file-chooser_2.entry.js +2 -2
- package/dist/esm/verdocs-flag.entry.js +1 -1
- package/dist/esm/verdocs-initial-dialog.entry.js +1 -1
- package/dist/esm/verdocs-menu-panel_2.entry.js +8 -8
- package/dist/esm/verdocs-multiselect.entry.js +1 -1
- package/dist/esm/verdocs-ok-dialog.entry.js +1 -1
- package/dist/esm/verdocs-organization-card_2.entry.js +2 -2
- package/dist/esm/verdocs-pagination_2.entry.js +2 -2
- package/dist/esm/verdocs-preview_6.entry.js +254 -32
- package/dist/esm/verdocs-preview_6.entry.js.map +1 -1
- package/dist/esm/verdocs-quick-functions.entry.js +1 -1
- package/dist/esm/verdocs-radio-button.entry.js +1 -1
- package/dist/esm/verdocs-search-box.entry.js +1 -1
- package/dist/esm/verdocs-search-tabs.entry.js +1 -1
- package/dist/esm/verdocs-signature-dialog.entry.js +1 -1
- package/dist/esm/verdocs-spinner.entry.js +1 -1
- package/dist/esm/verdocs-status-indicator.entry.js +2 -2
- package/dist/esm/verdocs-switch.entry.js +2 -2
- package/dist/esm/verdocs-table.entry.js +2 -2
- package/dist/esm/verdocs-tabs.entry.js +1 -1
- package/dist/esm/verdocs-template-card.entry.js +1 -1
- package/dist/esm/verdocs-template-document-page_2.entry.js +1 -1
- 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 +7 -7
- package/dist/esm/verdocs-toggle-button.entry.js +1 -1
- package/dist/esm/verdocs-toggle.entry.js +1 -1
- package/dist/esm/verdocs-web-sdk.js +1 -1
- package/dist/esm-es5/Environment-Cq60Emo_.js +2 -0
- package/dist/{cjs/Environment-C3P2cz0J.js.map → esm-es5/Environment-Cq60Emo_.js.map} +1 -1
- package/dist/esm-es5/ScrollFade-7UEjZarN.js +2 -0
- package/dist/esm-es5/ScrollFade-7UEjZarN.js.map +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/verdocs-adopt-signature-dialog_7.entry.js +1 -1
- package/dist/esm-es5/verdocs-auth.entry.js +1 -1
- package/dist/esm-es5/verdocs-auth.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-button-panel.entry.js +1 -1
- package/dist/esm-es5/verdocs-button_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-checkbox_5.entry.js +1 -1
- package/dist/esm-es5/verdocs-contact-picker.entry.js +1 -1
- package/dist/esm-es5/verdocs-contact-picker.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-date-input.entry.js +1 -1
- package/dist/esm-es5/verdocs-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-download-dialog_4.entry.js +1 -1
- package/dist/esm-es5/verdocs-dropdown.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-attachment_11.entry.js +1 -1
- package/dist/esm-es5/verdocs-file-chooser_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-flag.entry.js +1 -1
- package/dist/esm-es5/verdocs-initial-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-menu-panel_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-multiselect.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_6.entry.js +2 -2
- package/dist/esm-es5/verdocs-preview_6.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-quick-functions.entry.js +1 -1
- package/dist/esm-es5/verdocs-radio-button.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-signature-dialog.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-switch.entry.js +1 -1
- package/dist/esm-es5/verdocs-table.entry.js +1 -1
- package/dist/esm-es5/verdocs-tabs.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-button.entry.js +1 -1
- package/dist/esm-es5/verdocs-toggle.entry.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js +1 -1
- package/dist/types/components/embeds/verdocs-auth/verdocs-auth.d.ts +2 -0
- package/dist/types/components/embeds/verdocs-send/verdocs-send.d.ts +64 -17
- package/dist/types/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.d.ts +17 -0
- package/dist/types/components.d.ts +31 -5
- package/dist/types/utils/Environment.d.ts +1 -0
- package/dist/types/utils/ScrollFade.d.ts +5 -0
- package/dist/verdocs-web-sdk/{p-006f051b.system.entry.js → p-0259b666.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-66375e80.system.entry.js → p-053026c5.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-1d100b90.system.entry.js → p-08dbefe5.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-09f5670e.system.entry.js → p-122f8333.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-e2acf751.system.entry.js → p-143428bc.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-4ea0632f.entry.js → p-1a91a922.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-1fbed8c0.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-52f3ccb3.entry.js → p-208bbc49.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-5aca9c76.system.entry.js → p-20bc8055.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-66144da6.entry.js → p-2197fb39.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-08de250b.system.entry.js → p-23f53034.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-c72daca8.system.entry.js → p-27a47940.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-67ccf629.entry.js → p-2da68853.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-871792ab.entry.js → p-2e382167.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-301f0247.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-301f0247.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-5f58b4cd.entry.js → p-375a7dea.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-38800961.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-38800961.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-431ed4cf.entry.js → p-3a5d4aa0.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-c5d0abe5.system.entry.js → p-3f9102c4.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-5d532790.entry.js → p-418f3dd2.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-51a3c97d.system.entry.js → p-4227fb1f.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-b73405ad.system.entry.js → p-44ecadef.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-d9e8be34.entry.js → p-46d6279e.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-21b8567c.entry.js → p-478de2c9.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-1bae66d5.system.entry.js → p-4c1f0f08.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-502ebdcc.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-502ebdcc.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-52621662.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-f32fde74.entry.js → p-5455e818.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-79fdd519.entry.js → p-54ab818c.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-4f5e39eb.system.entry.js → p-5870592f.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-0b7c0d25.entry.js → p-590900d7.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-fafc51b9.system.entry.js → p-5c27f03b.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-634a7187.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-634a7187.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-9f65fa0d.system.entry.js → p-679511ac.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-dd59aa9a.entry.js → p-6a3ca6bf.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-a65e1762.system.entry.js → p-6fb7fd6d.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-5b49bd49.entry.js → p-723d6bde.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-788c8d67.system.entry.js +8 -0
- package/dist/verdocs-web-sdk/p-788c8d67.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-7UEjZarN.js +2 -0
- package/dist/verdocs-web-sdk/p-7UEjZarN.js.map +1 -0
- package/dist/verdocs-web-sdk/p-7cb69139.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-f12fcb84.entry.js → p-7d3955b7.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-5f92320e.system.entry.js → p-7dd394be.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-112ff1d7.system.entry.js → p-81785ed8.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-629301d3.system.entry.js → p-82723d6c.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-26b82394.entry.js → p-84275b8d.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-df1262b2.entry.js → p-8ec770c3.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-c45927e3.system.entry.js → p-9048f998.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-61f66f45.entry.js → p-92f51592.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-2edfa589.entry.js → p-9538ac0e.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-9cae97dc.system.entry.js → p-97bd4ed2.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-f0e794bc.entry.js → p-97fadf95.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-987d5653.entry.js +8 -0
- package/dist/verdocs-web-sdk/p-987d5653.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-ba0d4ff5.system.entry.js → p-99a6b317.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-4a157584.entry.js → p-9bd55619.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-147256a8.system.entry.js → p-9bd688f5.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-349a2532.entry.js → p-9f3a2cef.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-BXtgiveQ.system.js +2 -0
- package/dist/verdocs-web-sdk/{p-COHG5J4h.system.js.map → p-BXtgiveQ.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/p-BdZ5Ghsa.system.js +1 -1
- package/dist/verdocs-web-sdk/p-CE9CFlX9.system.js +2 -0
- package/dist/verdocs-web-sdk/p-CE9CFlX9.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-Cq60Emo_.js +2 -0
- package/dist/verdocs-web-sdk/{p-b2u0_wDk.js.map → p-Cq60Emo_.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-34ae1f00.system.entry.js → p-a1d9a507.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-d26c81ec.entry.js → p-af133520.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-e50ec253.entry.js → p-afd010d6.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-b5572507.system.entry.js → p-b2113b3c.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-9c9d49cd.entry.js → p-b5997615.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-fe404347.entry.js → p-bf38aa98.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-cfc2d31b.system.entry.js → p-c00eccde.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-99f7a0fa.system.entry.js → p-c5f8125b.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-34829b57.system.entry.js → p-c8b08801.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-665748fe.entry.js → p-cd8ac44e.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-0893bd27.entry.js → p-cdcef698.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-83d23528.system.entry.js → p-ced860ec.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-6379773e.system.entry.js → p-d0b56329.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-97fcac5e.system.entry.js → p-d6e9c671.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-f7b14409.system.entry.js → p-df921f12.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-0e2505e5.entry.js → p-e9158fec.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-a06772cc.system.entry.js → p-ea2c3707.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-38bdedc5.system.entry.js → p-f20b49d6.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-5cad2422.entry.js → p-f6ad24c5.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-11d11e68.entry.js → p-f97233a8.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-eccd653b.entry.js → p-fea6fe32.entry.js} +2 -2
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +8 -2
- package/dist/components/p-6RWROB9R.js +0 -2
- package/dist/components/p-6RWROB9R.js.map +0 -1
- package/dist/components/p-B1UVXqFA.js +0 -2
- package/dist/components/p-Ck4pdoyc.js +0 -2
- package/dist/components/p-Ck4pdoyc.js.map +0 -1
- package/dist/components/p-DTE1GYJt.js +0 -2
- package/dist/components/p-Dc3BDcaU.js +0 -2
- package/dist/components/p-JGWMBIGy.js +0 -2
- package/dist/components/p-b2u0_wDk.js +0 -2
- package/dist/components/p-b2u0_wDk.js.map +0 -1
- package/dist/components/p-rasc67fl.js +0 -2
- package/dist/esm-es5/Environment-b2u0_wDk.js +0 -2
- package/dist/verdocs-web-sdk/p-0fb8e6e0.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-0fb8e6e0.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-298d799f.system.entry.js +0 -8
- package/dist/verdocs-web-sdk/p-298d799f.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-35f1973a.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-39c54b65.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-39c54b65.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-4e0788f9.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-4e0788f9.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-5608f245.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-932e8b9b.entry.js +0 -8
- package/dist/verdocs-web-sdk/p-932e8b9b.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-COHG5J4h.system.js +0 -2
- package/dist/verdocs-web-sdk/p-abe7c086.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-b2u0_wDk.js +0 -2
- package/dist/verdocs-web-sdk/p-c3e9634c.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-c3e9634c.entry.js.map +0 -1
- /package/dist/components/{p-DmxiVavg.js.map → p-1FjgijEi.js.map} +0 -0
- /package/dist/components/{p-aj0qlBQ1.js.map → p-8J_y0V9M.js.map} +0 -0
- /package/dist/components/{p-CCr_gliS.js.map → p-9kEZy9MP.js.map} +0 -0
- /package/dist/components/{p-DavVixMP.js.map → p-B-ul_Soj.js.map} +0 -0
- /package/dist/components/{p-BXaR1BSS.js.map → p-B1AE2j97.js.map} +0 -0
- /package/dist/components/{p-DubfX0n1.js.map → p-B4tpmyon.js.map} +0 -0
- /package/dist/components/{p-CsF979IT.js.map → p-BBCy2Hy2.js.map} +0 -0
- /package/dist/components/{p-D_FNSGtS.js.map → p-BKLlc2r0.js.map} +0 -0
- /package/dist/components/{p-Dw7l6M37.js.map → p-BSUeI3vF.js.map} +0 -0
- /package/dist/components/{p-hxWwaOcD.js.map → p-BSX4GfGg.js.map} +0 -0
- /package/dist/components/{p-Cujbc8tg.js.map → p-BTrjJycH.js.map} +0 -0
- /package/dist/components/{p-C0SHIuoK.js.map → p-Bb5V9TQx.js.map} +0 -0
- /package/dist/components/{p-CtNpZzq1.js.map → p-BhG0HGg6.js.map} +0 -0
- /package/dist/components/{p-u9H54zUE.js.map → p-Bodw4NVB.js.map} +0 -0
- /package/dist/components/{p-BWrwPDuU.js.map → p-Bxvw_LqR.js.map} +0 -0
- /package/dist/components/{p--jRXEN0c.js.map → p-C-v22G3g.js.map} +0 -0
- /package/dist/components/{p-D9yawpPk.js.map → p-C8yiLtCJ.js.map} +0 -0
- /package/dist/components/{p-B8R4luxA.js.map → p-CEcG_ay-.js.map} +0 -0
- /package/dist/components/{p-CFau7OiC.js.map → p-CFacV7mg.js.map} +0 -0
- /package/dist/components/{p-vcHtLpWY.js.map → p-CQzPkAVQ.js.map} +0 -0
- /package/dist/components/{p-BMzxhyLu.js.map → p-CdnjpaJt.js.map} +0 -0
- /package/dist/components/{p-DLo5dMNn.js.map → p-Cij_2Ym2.js.map} +0 -0
- /package/dist/components/{p-CjUdD_Dm.js.map → p-Cly5sH3M.js.map} +0 -0
- /package/dist/components/{p-nh9PxN8s.js.map → p-CnD-TaPJ.js.map} +0 -0
- /package/dist/components/{p-DJMr11ue.js.map → p-CqBZmEjI.js.map} +0 -0
- /package/dist/components/{p-CzKj8wD_.js.map → p-D-X-Zcsr.js.map} +0 -0
- /package/dist/components/{p-Bp88Loqg.js.map → p-D0MFs2Dv.js.map} +0 -0
- /package/dist/components/{p-D17kbVUt.js.map → p-D4wfy1ym.js.map} +0 -0
- /package/dist/components/{p-CAxzfAvp.js.map → p-DFbeKrpm.js.map} +0 -0
- /package/dist/components/{p-DVx4efoX.js.map → p-DGNIsXfr.js.map} +0 -0
- /package/dist/components/{p-CxIhMndz.js.map → p-DHzSlpJw.js.map} +0 -0
- /package/dist/components/{p-LYpUmpqf.js.map → p-DM3wePVp.js.map} +0 -0
- /package/dist/components/{p-C7JN32A9.js.map → p-DRP4Xxiu.js.map} +0 -0
- /package/dist/components/{p-CVjehb2X.js.map → p-DTG2X1A2.js.map} +0 -0
- /package/dist/components/{p-ByJ9WBGR.js.map → p-DeAwyTxI.js.map} +0 -0
- /package/dist/components/{p-CIgqf7hj.js.map → p-DhOuB4nS.js.map} +0 -0
- /package/dist/components/{p-vimrvRye.js.map → p-DqzFuSNN.js.map} +0 -0
- /package/dist/components/{p-CoeB7U-_.js.map → p-DreV6Npp.js.map} +0 -0
- /package/dist/components/{p-B0HO2i65.js.map → p-DsSqGIBJ.js.map} +0 -0
- /package/dist/components/{p-Dj-aIazM.js.map → p-DscL0SIM.js.map} +0 -0
- /package/dist/components/{p-B7fdmef7.js.map → p-DslyN9XL.js.map} +0 -0
- /package/dist/components/{p-CLtldaUs.js.map → p-E2hWLZ47.js.map} +0 -0
- /package/dist/components/{p-BYLm9aol.js.map → p-Lo1dCgyv.js.map} +0 -0
- /package/dist/components/{p-BMGs9CCD.js.map → p-PfdIkMoz.js.map} +0 -0
- /package/dist/components/{p-BD2vHbCJ.js.map → p-Q-li_kJ_.js.map} +0 -0
- /package/dist/components/{p-BLo_-c7G.js.map → p-eg4Uf0xS.js.map} +0 -0
- /package/dist/components/{p-DrNmI7Wz.js.map → p-ek0LNMtb.js.map} +0 -0
- /package/dist/components/{p-C1iHkDUH.js.map → p-gPd3OG7X.js.map} +0 -0
- /package/dist/components/{p-CVF-R2yg.js.map → p-kHTZa3Ev.js.map} +0 -0
- /package/dist/components/{p-F1PgSiVa.js.map → p-nxPMK2PN.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-006f051b.system.entry.js.map → p-0259b666.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-66375e80.system.entry.js.map → p-053026c5.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-1d100b90.system.entry.js.map → p-08dbefe5.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-09f5670e.system.entry.js.map → p-122f8333.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-e2acf751.system.entry.js.map → p-143428bc.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-4ea0632f.entry.js.map → p-1a91a922.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-35f1973a.entry.js.map → p-1fbed8c0.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-52f3ccb3.entry.js.map → p-208bbc49.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-5aca9c76.system.entry.js.map → p-20bc8055.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-66144da6.entry.js.map → p-2197fb39.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-08de250b.system.entry.js.map → p-23f53034.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-c72daca8.system.entry.js.map → p-27a47940.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-67ccf629.entry.js.map → p-2da68853.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-871792ab.entry.js.map → p-2e382167.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-5f58b4cd.entry.js.map → p-375a7dea.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-431ed4cf.entry.js.map → p-3a5d4aa0.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-c5d0abe5.system.entry.js.map → p-3f9102c4.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-5d532790.entry.js.map → p-418f3dd2.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-51a3c97d.system.entry.js.map → p-4227fb1f.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-b73405ad.system.entry.js.map → p-44ecadef.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-d9e8be34.entry.js.map → p-46d6279e.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-21b8567c.entry.js.map → p-478de2c9.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-1bae66d5.system.entry.js.map → p-4c1f0f08.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-5608f245.entry.js.map → p-52621662.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-f32fde74.entry.js.map → p-5455e818.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-79fdd519.entry.js.map → p-54ab818c.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-4f5e39eb.system.entry.js.map → p-5870592f.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-0b7c0d25.entry.js.map → p-590900d7.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-fafc51b9.system.entry.js.map → p-5c27f03b.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-9f65fa0d.system.entry.js.map → p-679511ac.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-dd59aa9a.entry.js.map → p-6a3ca6bf.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-a65e1762.system.entry.js.map → p-6fb7fd6d.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-5b49bd49.entry.js.map → p-723d6bde.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-abe7c086.system.entry.js.map → p-7cb69139.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-f12fcb84.entry.js.map → p-7d3955b7.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-5f92320e.system.entry.js.map → p-7dd394be.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-112ff1d7.system.entry.js.map → p-81785ed8.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-629301d3.system.entry.js.map → p-82723d6c.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-26b82394.entry.js.map → p-84275b8d.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-df1262b2.entry.js.map → p-8ec770c3.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-c45927e3.system.entry.js.map → p-9048f998.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-61f66f45.entry.js.map → p-92f51592.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2edfa589.entry.js.map → p-9538ac0e.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-9cae97dc.system.entry.js.map → p-97bd4ed2.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-f0e794bc.entry.js.map → p-97fadf95.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-ba0d4ff5.system.entry.js.map → p-99a6b317.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-4a157584.entry.js.map → p-9bd55619.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-147256a8.system.entry.js.map → p-9bd688f5.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-349a2532.entry.js.map → p-9f3a2cef.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-34ae1f00.system.entry.js.map → p-a1d9a507.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-d26c81ec.entry.js.map → p-af133520.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-e50ec253.entry.js.map → p-afd010d6.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-b5572507.system.entry.js.map → p-b2113b3c.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-9c9d49cd.entry.js.map → p-b5997615.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-fe404347.entry.js.map → p-bf38aa98.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-cfc2d31b.system.entry.js.map → p-c00eccde.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-99f7a0fa.system.entry.js.map → p-c5f8125b.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-34829b57.system.entry.js.map → p-c8b08801.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-665748fe.entry.js.map → p-cd8ac44e.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-0893bd27.entry.js.map → p-cdcef698.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-83d23528.system.entry.js.map → p-ced860ec.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-6379773e.system.entry.js.map → p-d0b56329.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-97fcac5e.system.entry.js.map → p-d6e9c671.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-f7b14409.system.entry.js.map → p-df921f12.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-0e2505e5.entry.js.map → p-e9158fec.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-a06772cc.system.entry.js.map → p-ea2c3707.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-38bdedc5.system.entry.js.map → p-f20b49d6.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-5cad2422.entry.js.map → p-f6ad24c5.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-11d11e68.entry.js.map → p-f97233a8.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-eccd653b.entry.js.map → p-fea6fe32.entry.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,H as s,c as t,h as o,d as r,t as i}from"./p-yZBlG3YQ.js";import{VerdocsEndpoint as d,getTemplate as a}from"@verdocs/js-sdk";import{S as l}from"./p-C1sRVZWv.js";import{S as c}from"./p-C7hFgM52.js";import{d as m}from"./p-C0SHIuoK.js";import{d as n}from"./p-DVx4efoX.js";import{d as p}from"./p--jRXEN0c.js";import{d as f}from"./p-6RWROB9R.js";import{d as v}from"./p-JGWMBIGy.js";import{d as h}from"./p-D_FNSGtS.js";import{d as u}from"./p-DmxiVavg.js";import{d as b}from"./p-Bp88Loqg.js";import{d as x}from"./p-CCr_gliS.js";import{d as k}from"./p-BXaR1BSS.js";import{d as w}from"./p-DrNmI7Wz.js";import{d as E}from"./p-vcHtLpWY.js";import{d as g}from"./p-DubfX0n1.js";import{d as j}from"./p-CFau7OiC.js";import{d as y}from"./p-B8R4luxA.js";import{d as C}from"./p-hxWwaOcD.js";import{d as I}from"./p-D9yawpPk.js";import{d as B}from"./p-CxIhMndz.js";import{d as U}from"./p-vimrvRye.js";import{d as D}from"./p-B0HO2i65.js";import{d as S}from"./p-Dc3BDcaU.js";import{d as L}from"./p-CIgqf7hj.js";import{d as R}from"./p-CzKj8wD_.js";import{d as N}from"./p-BMzxhyLu.js";import{d as T}from"./p-u9H54zUE.js";import{d as W}from"./p-Ck4pdoyc.js";import{d as z}from"./p-CoeB7U-_.js";import{d as G}from"./p-BYLm9aol.js";import{d as M}from"./p-CAxzfAvp.js";import{d as A}from"./p-CtNpZzq1.js";import{d as Y}from"./p-BWrwPDuU.js";import{d as q}from"./p-C7JN32A9.js";import{d as H}from"./p-ByJ9WBGR.js";import{d as O}from"./p-nh9PxN8s.js";import{d as P}from"./p-BMGs9CCD.js";import{d as V}from"./p-DavVixMP.js";import{d as X}from"./p-LYpUmpqf.js";const _=()=>`verdocs-build{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-family:var(--verdocs-primary-font, "Inter", "Barlow", 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{display:block;width:500px;max-width:95%;-webkit-box-sizing:border-box;box-sizing:border-box;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}`;const F=e(class e extends s{constructor(e){super();if(e!==false){this.__registerHost()}this.cancel=t(this,"cancel");this.sdkError=t(this,"sdkError");this.stepChanged=t(this,"stepChanged");this.send=t(this,"send");this.templateUpdated=t(this,"templateUpdated");this.templateCreated=t(this,"templateCreated");this.rolesUpdated=t(this,"rolesUpdated");this.templateListenerId=null;this.endpoint=d.getDefault();this.templateId=null;this.step="preview";this.loading=true;this.template=null}onTemplateIdChanged(e,s){if(!s&&e&&this.step==="attachments"){this.step="preview"}this.loadTemplate(e).catch((e=>console.log("Unknown Error",e)))}onStepChanged(){this.loadTemplate(this.templateId).catch((e=>console.log("Unknown Error",e)))}async componentWillLoad(){var e,s,t,o,r,i;try{this.endpoint.loadSession();if(!this.endpoint.session){console.log("[BUILD] Unable to start builder session, must be authenticated");return}if(!this.templateId){console.log(`[BUILD] No template ID, activating upload mode`);this.step="attachments";this.loading=false;return}try{this.loadTemplate(this.templateId).catch((e=>console.log("[BUILD] Unable to load template",e)))}catch(o){console.log("[BUILD] Error loading template",o);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new l(o.message,(s=o.response)===null||s===void 0?void 0:s.status,(t=o.response)===null||t===void 0?void 0:t.data))}}catch(e){console.log("[BUILD] Error with builder session",e);(o=this.sdkError)===null||o===void 0?void 0:o.emit(new l(e.message,(r=e.response)===null||r===void 0?void 0:r.status,(i=e.response)===null||i===void 0?void 0:i.data))}}async loadTemplate(e){if(e){c.subscribe("templates",this.templateId,(()=>a(this.endpoint,this.templateId)),false,(e=>{this.template=e;this.loading=false}))}}disconnectedCallback(){console.log("[BUILD] Disconnected");this.unlistenToTemplate()}unlistenToTemplate(){if(this.templateListenerId){c.store.delListener(this.templateListenerId);this.templateListenerId=null}}handleCancel(){var e;this.step="preview";(e=this.cancel)===null||e===void 0?void 0:e.emit()}async handleTemplateCreated(e){var s;await this.loadTemplate(e);this.templateId=e;this.step="roles";(s=this.stepChanged)===null||s===void 0?void 0:s.emit("roles")}async handleRolesUpdated(e){var s;console.log("[BUILD] Roloes updated",e);(s=this.templateUpdated)===null||s===void 0?void 0:s.emit(e.detail)}async handleTemplateUpdated(e){var s;console.log("[BUILD] Template updated",e);(s=this.templateUpdated)===null||s===void 0?void 0:s.emit(e.detail)}handleAttachmentsNext(){var e;this.step="roles";(e=this.stepChanged)===null||e===void 0?void 0:e.emit("roles")}handleRolesNext(){var e;this.step="fields";(e=this.stepChanged)===null||e===void 0?void 0:e.emit("fields")}handleStepChanged(e){var s;this.step=e;(s=this.stepChanged)===null||s===void 0?void 0:s.emit(e)}render(){if(this.loading){return o(r,{class:"loading"},o("verdocs-loader",null))}if(!this.endpoint.session){return o(r,null,o("verdocs-component-error",{message:"You must be authenticated to use this module."}))}return o(r,null,o("div",{class:"content"},o("verdocs-template-build-tabs",{endpoint:this.endpoint,templateId:this.templateId,step:this.step,onSdkError:e=>{var s;return(s=this.sdkError)===null||s===void 0?void 0:s.emit(e.detail)},onStepChanged:e=>this.handleStepChanged(e.detail)}),this.step==="attachments"&&o("verdocs-template-attachments",{templateId:this.templateId,endpoint:this.endpoint,onExit:()=>this.handleCancel(),onNext:()=>this.handleAttachmentsNext(),onTemplateUpdated:e=>this.handleTemplateUpdated(e)}),this.step==="roles"&&o("verdocs-template-roles",{templateId:this.templateId,endpoint:this.endpoint,onExit:()=>this.handleCancel(),onNext:()=>this.handleRolesNext(),onRolesUpdated:e=>this.handleRolesUpdated(e)}),this.step==="fields"&&o("verdocs-template-fields",{templateId:this.templateId,endpoint:this.endpoint,onTemplateUpdated:e=>this.handleTemplateUpdated(e)}),this.step==="preview"&&o("div",{class:"preview-container"},o("div",{class:"preview-send-wrapper"},o("verdocs-send",{templateId:this.templateId,endpoint:this.endpoint,onSend:e=>{var s;return(s=this.send)===null||s===void 0?void 0:s.emit(e.detail)},style:{width:"100%"}})),o("div",{class:"preview-preview-wrapper"},o("verdocs-preview",{templateId:this.templateId,endpoint:this.endpoint,style:{display:"flex",flex:"1",maxWidth:"1000px"}})))))}get el(){return this}static get watchers(){return{templateId:[{onTemplateIdChanged:0}],step:[{onStepChanged:0}]}}static get style(){return _()}},[0,"verdocs-build",{endpoint:[16],templateId:[1537,"template-id"],step:[1537],loading:[32],template:[32]},undefined,{templateId:[{onTemplateIdChanged:0}],step:[{onStepChanged:0}]}]);function J(){if(typeof customElements==="undefined"){return}const e=["verdocs-build","verdocs-button","verdocs-checkbox","verdocs-component-error","verdocs-contact-picker","verdocs-dialog","verdocs-field-attachment","verdocs-field-checkbox","verdocs-field-date","verdocs-field-dropdown","verdocs-field-initial","verdocs-field-radio","verdocs-field-signature","verdocs-field-textarea","verdocs-field-textbox","verdocs-field-timestamp","verdocs-file-chooser","verdocs-flag","verdocs-help-icon","verdocs-loader","verdocs-menu-panel","verdocs-ok-dialog","verdocs-portal","verdocs-preview","verdocs-progress-bar","verdocs-select-input","verdocs-send","verdocs-spinner","verdocs-template-attachments","verdocs-template-build-tabs","verdocs-template-document-page","verdocs-template-field-properties","verdocs-template-fields","verdocs-template-role-properties","verdocs-template-roles","verdocs-text-input","verdocs-toolbar-icon","verdocs-upload-dialog"];e.forEach((e=>{switch(e){case"verdocs-build":if(!customElements.get(i(e))){customElements.define(i(e),F)}break;case"verdocs-button":if(!customElements.get(i(e))){m()}break;case"verdocs-checkbox":if(!customElements.get(i(e))){n()}break;case"verdocs-component-error":if(!customElements.get(i(e))){p()}break;case"verdocs-contact-picker":if(!customElements.get(i(e))){f()}break;case"verdocs-dialog":if(!customElements.get(i(e))){v()}break;case"verdocs-field-attachment":if(!customElements.get(i(e))){h()}break;case"verdocs-field-checkbox":if(!customElements.get(i(e))){u()}break;case"verdocs-field-date":if(!customElements.get(i(e))){b()}break;case"verdocs-field-dropdown":if(!customElements.get(i(e))){x()}break;case"verdocs-field-initial":if(!customElements.get(i(e))){k()}break;case"verdocs-field-radio":if(!customElements.get(i(e))){w()}break;case"verdocs-field-signature":if(!customElements.get(i(e))){E()}break;case"verdocs-field-textarea":if(!customElements.get(i(e))){g()}break;case"verdocs-field-textbox":if(!customElements.get(i(e))){j()}break;case"verdocs-field-timestamp":if(!customElements.get(i(e))){y()}break;case"verdocs-file-chooser":if(!customElements.get(i(e))){C()}break;case"verdocs-flag":if(!customElements.get(i(e))){I()}break;case"verdocs-help-icon":if(!customElements.get(i(e))){B()}break;case"verdocs-loader":if(!customElements.get(i(e))){U()}break;case"verdocs-menu-panel":if(!customElements.get(i(e))){D()}break;case"verdocs-ok-dialog":if(!customElements.get(i(e))){S()}break;case"verdocs-portal":if(!customElements.get(i(e))){L()}break;case"verdocs-preview":if(!customElements.get(i(e))){R()}break;case"verdocs-progress-bar":if(!customElements.get(i(e))){N()}break;case"verdocs-select-input":if(!customElements.get(i(e))){T()}break;case"verdocs-send":if(!customElements.get(i(e))){W()}break;case"verdocs-spinner":if(!customElements.get(i(e))){z()}break;case"verdocs-template-attachments":if(!customElements.get(i(e))){G()}break;case"verdocs-template-build-tabs":if(!customElements.get(i(e))){M()}break;case"verdocs-template-document-page":if(!customElements.get(i(e))){A()}break;case"verdocs-template-field-properties":if(!customElements.get(i(e))){Y()}break;case"verdocs-template-fields":if(!customElements.get(i(e))){q()}break;case"verdocs-template-role-properties":if(!customElements.get(i(e))){H()}break;case"verdocs-template-roles":if(!customElements.get(i(e))){O()}break;case"verdocs-text-input":if(!customElements.get(i(e))){P()}break;case"verdocs-toolbar-icon":if(!customElements.get(i(e))){V()}break;case"verdocs-upload-dialog":if(!customElements.get(i(e))){X()}break}}))}const Z=F;const K=J;export{Z as VerdocsBuild,K as defineCustomElement};
|
|
1
|
+
import{p as e,H as s,c as t,h as o,d as r,t as i}from"./p-yZBlG3YQ.js";import{VerdocsEndpoint as d,getTemplate as a}from"@verdocs/js-sdk";import{S as l}from"./p-C1sRVZWv.js";import{S as c}from"./p-C7hFgM52.js";import{d as n}from"./p-Bb5V9TQx.js";import{d as m}from"./p-DGNIsXfr.js";import{d as p}from"./p-C-v22G3g.js";import{d as f}from"./p-ByrpRZ3E.js";import{d as v}from"./p-C90lxyUX.js";import{d as h}from"./p-BKLlc2r0.js";import{d as u}from"./p-1FjgijEi.js";import{d as b}from"./p-D0MFs2Dv.js";import{d as x}from"./p-9kEZy9MP.js";import{d as k}from"./p-B1AE2j97.js";import{d as w}from"./p-ek0LNMtb.js";import{d as E}from"./p-CQzPkAVQ.js";import{d as g}from"./p-B4tpmyon.js";import{d as j}from"./p-CFacV7mg.js";import{d as y}from"./p-CEcG_ay-.js";import{d as C}from"./p-BSX4GfGg.js";import{d as I}from"./p-C8yiLtCJ.js";import{d as D}from"./p-DHzSlpJw.js";import{d as B}from"./p-DqzFuSNN.js";import{d as U}from"./p-DsSqGIBJ.js";import{d as S}from"./p-5FU3bYQ3.js";import{d as T}from"./p-DhOuB4nS.js";import{d as L}from"./p-D-X-Zcsr.js";import{d as N}from"./p-CdnjpaJt.js";import{d as G}from"./p-Bodw4NVB.js";import{d as R}from"./p-CnUZ9w2T.js";import{d as F}from"./p-DreV6Npp.js";import{d as V}from"./p-Lo1dCgyv.js";import{d as z}from"./p-DFbeKrpm.js";import{d as M}from"./p-BhG0HGg6.js";import{d as P}from"./p-Bxvw_LqR.js";import{d as Z}from"./p-DRP4Xxiu.js";import{d as J}from"./p-DeAwyTxI.js";import{d as Q}from"./p-CnD-TaPJ.js";import{d as X}from"./p-PfdIkMoz.js";import{d as A}from"./p-B-ul_Soj.js";import{d as q}from"./p-DM3wePVp.js";const W=()=>`verdocs-build{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-family:var(--verdocs-primary-font, "Inter", "Barlow", 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{display:block;width:500px;max-width:95%;-webkit-box-sizing:border-box;box-sizing:border-box;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}`;const Y=e(class e extends s{constructor(e){super();if(e!==false){this.__registerHost()}this.cancel=t(this,"cancel");this.sdkError=t(this,"sdkError");this.stepChanged=t(this,"stepChanged");this.send=t(this,"send");this.templateUpdated=t(this,"templateUpdated");this.templateCreated=t(this,"templateCreated");this.rolesUpdated=t(this,"rolesUpdated");this.templateListenerId=null;this.endpoint=d.getDefault();this.templateId=null;this.step="preview";this.loading=true;this.template=null}onTemplateIdChanged(e,s){if(!s&&e&&this.step==="attachments"){this.step="preview"}this.loadTemplate(e).catch((e=>console.log("Unknown Error",e)))}onStepChanged(){this.loadTemplate(this.templateId).catch((e=>console.log("Unknown Error",e)))}async componentWillLoad(){var e,s,t,o,r,i;try{this.endpoint.loadSession();if(!this.endpoint.session){console.log("[BUILD] Unable to start builder session, must be authenticated");return}if(!this.templateId){console.log(`[BUILD] No template ID, activating upload mode`);this.step="attachments";this.loading=false;return}try{this.loadTemplate(this.templateId).catch((e=>console.log("[BUILD] Unable to load template",e)))}catch(o){console.log("[BUILD] Error loading template",o);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new l(o.message,(s=o.response)===null||s===void 0?void 0:s.status,(t=o.response)===null||t===void 0?void 0:t.data))}}catch(e){console.log("[BUILD] Error with builder session",e);(o=this.sdkError)===null||o===void 0?void 0:o.emit(new l(e.message,(r=e.response)===null||r===void 0?void 0:r.status,(i=e.response)===null||i===void 0?void 0:i.data))}}async loadTemplate(e){if(e){c.subscribe("templates",this.templateId,(()=>a(this.endpoint,this.templateId)),false,(e=>{this.template=e;this.loading=false}))}}disconnectedCallback(){console.log("[BUILD] Disconnected");this.unlistenToTemplate()}unlistenToTemplate(){if(this.templateListenerId){c.store.delListener(this.templateListenerId);this.templateListenerId=null}}handleCancel(){var e;this.step="preview";(e=this.cancel)===null||e===void 0?void 0:e.emit()}async handleTemplateCreated(e){var s;await this.loadTemplate(e);this.templateId=e;this.step="roles";(s=this.stepChanged)===null||s===void 0?void 0:s.emit("roles")}async handleRolesUpdated(e){var s;console.log("[BUILD] Roloes updated",e);(s=this.templateUpdated)===null||s===void 0?void 0:s.emit(e.detail)}async handleTemplateUpdated(e){var s;console.log("[BUILD] Template updated",e);(s=this.templateUpdated)===null||s===void 0?void 0:s.emit(e.detail)}handleAttachmentsNext(){var e;this.step="roles";(e=this.stepChanged)===null||e===void 0?void 0:e.emit("roles")}handleRolesNext(){var e;this.step="fields";(e=this.stepChanged)===null||e===void 0?void 0:e.emit("fields")}handleStepChanged(e){var s;this.step=e;(s=this.stepChanged)===null||s===void 0?void 0:s.emit(e)}render(){if(this.loading){return o(r,{class:"loading"},o("verdocs-loader",null))}if(!this.endpoint.session){return o(r,null,o("verdocs-component-error",{message:"You must be authenticated to use this module."}))}return o(r,null,o("div",{class:"content"},o("verdocs-template-build-tabs",{endpoint:this.endpoint,templateId:this.templateId,step:this.step,onSdkError:e=>{var s;return(s=this.sdkError)===null||s===void 0?void 0:s.emit(e.detail)},onStepChanged:e=>this.handleStepChanged(e.detail)}),this.step==="attachments"&&o("verdocs-template-attachments",{templateId:this.templateId,endpoint:this.endpoint,onExit:()=>this.handleCancel(),onNext:()=>this.handleAttachmentsNext(),onTemplateUpdated:e=>this.handleTemplateUpdated(e)}),this.step==="roles"&&o("verdocs-template-roles",{templateId:this.templateId,endpoint:this.endpoint,onExit:()=>this.handleCancel(),onNext:()=>this.handleRolesNext(),onRolesUpdated:e=>this.handleRolesUpdated(e)}),this.step==="fields"&&o("verdocs-template-fields",{templateId:this.templateId,endpoint:this.endpoint,onTemplateUpdated:e=>this.handleTemplateUpdated(e)}),this.step==="preview"&&o("div",{class:"preview-container"},o("div",{class:"preview-send-wrapper"},o("verdocs-send",{templateId:this.templateId,endpoint:this.endpoint,onSend:e=>{var s;return(s=this.send)===null||s===void 0?void 0:s.emit(e.detail)},style:{width:"100%"}})),o("div",{class:"preview-preview-wrapper"},o("verdocs-preview",{templateId:this.templateId,endpoint:this.endpoint,style:{display:"flex",flex:"1",maxWidth:"1000px"}})))))}get el(){return this}static get watchers(){return{templateId:[{onTemplateIdChanged:0}],step:[{onStepChanged:0}]}}static get style(){return W()}},[0,"verdocs-build",{endpoint:[16],templateId:[1537,"template-id"],step:[1537],loading:[32],template:[32]},undefined,{templateId:[{onTemplateIdChanged:0}],step:[{onStepChanged:0}]}]);function _(){if(typeof customElements==="undefined"){return}const e=["verdocs-build","verdocs-button","verdocs-checkbox","verdocs-component-error","verdocs-contact-picker","verdocs-dialog","verdocs-field-attachment","verdocs-field-checkbox","verdocs-field-date","verdocs-field-dropdown","verdocs-field-initial","verdocs-field-radio","verdocs-field-signature","verdocs-field-textarea","verdocs-field-textbox","verdocs-field-timestamp","verdocs-file-chooser","verdocs-flag","verdocs-help-icon","verdocs-loader","verdocs-menu-panel","verdocs-ok-dialog","verdocs-portal","verdocs-preview","verdocs-progress-bar","verdocs-select-input","verdocs-send","verdocs-spinner","verdocs-template-attachments","verdocs-template-build-tabs","verdocs-template-document-page","verdocs-template-field-properties","verdocs-template-fields","verdocs-template-role-properties","verdocs-template-roles","verdocs-text-input","verdocs-toolbar-icon","verdocs-upload-dialog"];e.forEach((e=>{switch(e){case"verdocs-build":if(!customElements.get(i(e))){customElements.define(i(e),Y)}break;case"verdocs-button":if(!customElements.get(i(e))){n()}break;case"verdocs-checkbox":if(!customElements.get(i(e))){m()}break;case"verdocs-component-error":if(!customElements.get(i(e))){p()}break;case"verdocs-contact-picker":if(!customElements.get(i(e))){f()}break;case"verdocs-dialog":if(!customElements.get(i(e))){v()}break;case"verdocs-field-attachment":if(!customElements.get(i(e))){h()}break;case"verdocs-field-checkbox":if(!customElements.get(i(e))){u()}break;case"verdocs-field-date":if(!customElements.get(i(e))){b()}break;case"verdocs-field-dropdown":if(!customElements.get(i(e))){x()}break;case"verdocs-field-initial":if(!customElements.get(i(e))){k()}break;case"verdocs-field-radio":if(!customElements.get(i(e))){w()}break;case"verdocs-field-signature":if(!customElements.get(i(e))){E()}break;case"verdocs-field-textarea":if(!customElements.get(i(e))){g()}break;case"verdocs-field-textbox":if(!customElements.get(i(e))){j()}break;case"verdocs-field-timestamp":if(!customElements.get(i(e))){y()}break;case"verdocs-file-chooser":if(!customElements.get(i(e))){C()}break;case"verdocs-flag":if(!customElements.get(i(e))){I()}break;case"verdocs-help-icon":if(!customElements.get(i(e))){D()}break;case"verdocs-loader":if(!customElements.get(i(e))){B()}break;case"verdocs-menu-panel":if(!customElements.get(i(e))){U()}break;case"verdocs-ok-dialog":if(!customElements.get(i(e))){S()}break;case"verdocs-portal":if(!customElements.get(i(e))){T()}break;case"verdocs-preview":if(!customElements.get(i(e))){L()}break;case"verdocs-progress-bar":if(!customElements.get(i(e))){N()}break;case"verdocs-select-input":if(!customElements.get(i(e))){G()}break;case"verdocs-send":if(!customElements.get(i(e))){R()}break;case"verdocs-spinner":if(!customElements.get(i(e))){F()}break;case"verdocs-template-attachments":if(!customElements.get(i(e))){V()}break;case"verdocs-template-build-tabs":if(!customElements.get(i(e))){z()}break;case"verdocs-template-document-page":if(!customElements.get(i(e))){M()}break;case"verdocs-template-field-properties":if(!customElements.get(i(e))){P()}break;case"verdocs-template-fields":if(!customElements.get(i(e))){Z()}break;case"verdocs-template-role-properties":if(!customElements.get(i(e))){J()}break;case"verdocs-template-roles":if(!customElements.get(i(e))){Q()}break;case"verdocs-text-input":if(!customElements.get(i(e))){X()}break;case"verdocs-toolbar-icon":if(!customElements.get(i(e))){A()}break;case"verdocs-upload-dialog":if(!customElements.get(i(e))){q()}break}}))}const H=Y;const K=_;export{H as VerdocsBuild,K as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-build.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as t,H as e,h as o,d as n,t as s}from"./p-yZBlG3YQ.js";import{c as a}from"./p-BfP9ezJQ.js";const i=()=>`verdocs-button-panel{font-family:var(--verdocs-primary-font, "Inter", "Barlow", 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:var(--verdocs-primary-font, "Inter", "Barlow", 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}`;const r=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.icon="";this.showing=false}componentDidRender(){document.body.appendChild(this.panelEl);if(this.popperInstance){this.popperInstance.destroy()}this.popperInstance=a(this.iconEl,this.panelEl,{})}disconnectedCallback(){if(this.popperInstance){this.popperInstance.destroy();this.popperInstance=null}if(this.panelEl){this.panelEl.remove()}}async showPanel(){var t,e;(t=this.panelEl)===null||t===void 0?void 0:t.setAttribute("data-show","");(e=this.popperInstance)===null||e===void 0?void 0:e.update().catch((()=>{}));this.showing=true;this.hiderEl=document.createElement("div");this.hiderEl.id="verdocs-button-panel-hider";this.hiderEl.style.zIndex="100";this.hiderEl.style.position="absolute";this.hiderEl.style.top="0px";this.hiderEl.style.left="0px";this.hiderEl.style.right="0px";this.hiderEl.style.bottom="0px";this.hiderEl.onclick=t=>{t.stopPropagation();this.toggle()};document.body.appendChild(this.hiderEl)}async hidePanel(){var t;Array.from(document.getElementsByClassName("verdocs-button-panel-content")).forEach((t=>{t.removeAttribute("data-show")}));(t=document.getElementById("verdocs-button-panel-hider"))===null||t===void 0?void 0:t.remove();this.showing=false}async toggle(){if(this.showing){await this.hidePanel()}else{await this.showPanel()}}render(){return o(n,{key:"
|
|
1
|
+
import{p as t,H as e,h as o,d as n,t as s}from"./p-yZBlG3YQ.js";import{c as a}from"./p-BfP9ezJQ.js";const i=()=>`verdocs-button-panel{font-family:var(--verdocs-primary-font, "Inter", "Barlow", 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:var(--verdocs-primary-font, "Inter", "Barlow", 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}`;const r=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.icon="";this.showing=false}componentDidRender(){document.body.appendChild(this.panelEl);if(this.popperInstance){this.popperInstance.destroy()}this.popperInstance=a(this.iconEl,this.panelEl,{})}disconnectedCallback(){if(this.popperInstance){this.popperInstance.destroy();this.popperInstance=null}if(this.panelEl){this.panelEl.remove()}}async showPanel(){var t,e;(t=this.panelEl)===null||t===void 0?void 0:t.setAttribute("data-show","");(e=this.popperInstance)===null||e===void 0?void 0:e.update().catch((()=>{}));this.showing=true;this.hiderEl=document.createElement("div");this.hiderEl.id="verdocs-button-panel-hider";this.hiderEl.style.zIndex="100";this.hiderEl.style.position="absolute";this.hiderEl.style.top="0px";this.hiderEl.style.left="0px";this.hiderEl.style.right="0px";this.hiderEl.style.bottom="0px";this.hiderEl.onclick=t=>{t.stopPropagation();this.toggle()};document.body.appendChild(this.hiderEl)}async hidePanel(){var t;Array.from(document.getElementsByClassName("verdocs-button-panel-content")).forEach((t=>{t.removeAttribute("data-show")}));(t=document.getElementById("verdocs-button-panel-hider"))===null||t===void 0?void 0:t.remove();this.showing=false}async toggle(){if(this.showing){await this.hidePanel()}else{await this.showPanel()}}render(){return o(n,{key:"a9ae4b2a0513fef9b80b242c896df98288198b15"},o("div",{key:"b3f9ebdcc5844bce04572b96097953096a94bdd9",class:"icon",innerHTML:this.icon,onClick:t=>{t.stopPropagation();return this.toggle()},ref:t=>this.iconEl=t}),o("div",{key:"179782a908026263e3103693fa00329a79292fb8",role:"tooltip",class:"verdocs-button-panel-content","data-popper-placement":"bottom",ref:t=>this.panelEl=t},o("div",{key:"c4fea7392a56a86c7c39de2944d79cdca2985555","data-popper-arrow":"true",class:"arrow"}),o("slot",{key:"eb065d067cb78c5edb8891f0ee44821c915701f8"})))}static get style(){return i()}},[260,"verdocs-button-panel",{icon:[1],showPanel:[64],hidePanel:[64],toggle:[64]}]);function c(){if(typeof customElements==="undefined"){return}const t=["verdocs-button-panel"];t.forEach((t=>{switch(t){case"verdocs-button-panel":if(!customElements.get(s(t))){customElements.define(s(t),r)}break}}))}const d=r;const p=c;export{d as VerdocsButtonPanel,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-button-panel.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as o,d as s}from"./p-
|
|
1
|
+
import{V as o,d as s}from"./p-Bb5V9TQx.js";const t=o;const p=s;export{t as VerdocsButton,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-button.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as
|
|
1
|
+
import{V as s,d as o}from"./p-DGNIsXfr.js";const r=s;const t=o;export{r as VerdocsCheckbox,t as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-checkbox.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as o,d as s}from"./p
|
|
1
|
+
import{V as o,d as s}from"./p-C-v22G3g.js";const t=o;const p=s;export{t as VerdocsComponentError,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-component-error.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as o,d as s}from"./p-
|
|
1
|
+
import{V as o,d as s}from"./p-ByrpRZ3E.js";const p=o;const r=s;export{p as VerdocsContactPicker,r as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-contact-picker.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,H as t,h as i,d as o,t as s}from"./p-yZBlG3YQ.js";import{A as a,l as r}from"./p-DcAXub3q.js";import{V as
|
|
1
|
+
import{p as e,H as t,h as i,d as o,t as s}from"./p-yZBlG3YQ.js";import{A as a,l as r}from"./p-DcAXub3q.js";import{V as c}from"./p-D97GxsI-.js";import{d as n}from"./p-DHzSlpJw.js";const p=()=>`verdocs-text-input{font-family:"Inter", "Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0 0 10px 0;display:block}verdocs-text-input .input-element{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #707ae5;border-radius:4px;background:#ffffff;color:#000;width:100%;font-size:16px;height:34px;padding:0 9px;outline:none}verdocs-text-input .input-element:disabled{cursor:not-allowed;background:#aeb4bf;border:1px solid #33364b}verdocs-text-input .input-element::-webkit-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-moz-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:focus{outline:1px solid #7d88ff}verdocs-text-input .input-label{display:block;color:#555570;font-weight:700;font-size:14px;margin:0 0 4px 0}verdocs-text-input .required{color:red;margin-left:2px;display:inline-block}verdocs-text-input [data-lastpass-icon-root]{display:none !important}verdocs-text-input .input-container{position:relative}verdocs-text-input .clear{top:7px;right:5px;width:18px;height:18px;fill:#cccccc;position:absolute}verdocs-text-input .clear:hover{fill:#720101;cursor:pointer}verdocs-text-input .copy{top:7px;right:5px;width:18px;height:18px;fill:#cccccc;position:absolute}verdocs-text-input .copy:hover{fill:#654dcb;cursor:pointer}verdocs-text-input .toggle-pw{top:5px;right:7px;width:18px;height:18px;stroke:#cccccc;position:absolute}verdocs-text-input .toggle-pw:hover{fill:#654dcb;cursor:pointer}verdocs-text-input.clearable .input-element,verdocs-text-input.copyable .input-element{padding-right:32px}`;const l=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.picker=null;this.value="";this.label="";this.placeholder="";this.helpText="";this.disabled=false;this.required=false;this.showingPw=false;this.focused=false;this.containerId=`verdocs-date-input-${Math.random().toString(36).substring(2,11)}`}async focusField(){var e;this.focused=true;(e=this.picker)===null||e===void 0?void 0:e.show();setTimeout((()=>{this.focused=false}),500)}componentDidLoad(){this.picker=new a(`#${this.containerId}`,{locale:r,isMobile:true,autoClose:true,onShow:()=>this.focused=true,onHide:()=>this.focused=false,onSelect:({date:e,formattedDate:t})=>{const i=new CustomEvent("input",{detail:{date:e,formattedDate:t}});this.hostEl.dispatchEvent(i)}})}copyToClipboard(){this.inputEl.select();navigator.clipboard.writeText(this.value).then((()=>c("Copied!"))).catch((e=>console.log("Error copying to clipboard",e)))}render(){return i(o,{key:"b7a48a0bb7d89d60e232ec355700c776b38f0b7a",class:`input-field`},i("label",{key:"dd2e1e2c8cd4568b638b5d30a55fb56ab8c39a86"},this.label&&i("div",{key:"2ade0c8add9622c686975c8cb49535eef677c579",class:"input-label"},this.label+":",this.required&&i("span",{key:"e1e4e44842132ff842fd3c2ba170a4a818ab2fcd",class:"required"},"*")),i("div",{key:"d3f5ca8892baf9174ae0de3262c968072db6ba98",class:"input-container"},i("input",{key:"701878e19b0e27a6b331bb5b5bf51315f44359af",type:"text",value:this.value,required:this.required,class:"input-element","data-lpignore":"true",id:this.containerId,disabled:this.disabled,placeholder:this.placeholder,ref:e=>this.inputEl=e,onInput:e=>this.value=e.target.value})),this.helpText&&i("verdocs-help-icon",{key:"7d46ca401eb706e231f82b12f721c32df8b8bb17",text:this.helpText})))}get hostEl(){return this}static get style(){return p()}},[0,"verdocs-date-input",{value:[1537],label:[1],placeholder:[1],helpText:[1,"help-text"],disabled:[4],required:[4],showingPw:[32],focused:[32],containerId:[32],focusField:[64]}]);function d(){if(typeof customElements==="undefined"){return}const e=["verdocs-date-input","verdocs-help-icon"];e.forEach((e=>{switch(e){case"verdocs-date-input":if(!customElements.get(s(e))){customElements.define(s(e),l)}break;case"verdocs-help-icon":if(!customElements.get(s(e))){n()}break}}))}const u=l;const b=d;export{u as VerdocsDateInput,b as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-date-input.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as o,d as s}from"./p-
|
|
1
|
+
import{V as o,d as s}from"./p-CqBZmEjI.js";const t=o;const m=s;export{t as VerdocsDelegateDialog,m as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-delegate-dialog.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as o,d as s}from"./p-
|
|
1
|
+
import{V as o,d as s}from"./p-C90lxyUX.js";const t=o;const p=s;export{t as VerdocsDialog,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-dialog.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as o,d as s}from"./p-
|
|
1
|
+
import{V as o,d as s}from"./p-kHTZa3Ev.js";const t=o;const a=s;export{t as VerdocsDisclosureDialog,a as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-disclosure-dialog.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as o,d as s}from"./p-
|
|
1
|
+
import{V as o,d as s}from"./p-PVw56Shw.js";const t=o;const p=s;export{t as VerdocsDownloadDialog,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-download-dialog.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as o,d as s}from"./p-
|
|
1
|
+
import{V as o,d as s}from"./p-D4wfy1ym.js";const t=o;const m=s;export{t as VerdocsDropdown,m as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-dropdown.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as
|
|
1
|
+
import{V as s,d as o}from"./p-DscL0SIM.js";const t=s;const c=o;export{t as VerdocsEnvelopeDocumentPage,c as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-envelope-document-page.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as o,d as s}from"./p-
|
|
1
|
+
import{V as o,d as s}from"./p-BSUeI3vF.js";const t=o;const p=s;export{t as VerdocsEnvelopeRecipientLink,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-envelope-recipient-link.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,H as i,c as s,h as t,d as n,t as o}from"./p-yZBlG3YQ.js";import{VerdocsEndpoint as l,getEnvelope as r,getInPersonLink as a,getRecipientsWithActions as c,recipientCanAct as d,formatFullName as p}from"@verdocs/js-sdk";import{S as m}from"./p-C1sRVZWv.js";import{S as u}from"./p-C7hFgM52.js";import{d as h}from"./p-
|
|
1
|
+
import{p as e,H as i,c as s,h as t,d as n,t as o}from"./p-yZBlG3YQ.js";import{VerdocsEndpoint as l,getEnvelope as r,getInPersonLink as a,getRecipientsWithActions as c,recipientCanAct as d,formatFullName as p}from"@verdocs/js-sdk";import{S as m}from"./p-C1sRVZWv.js";import{S as u}from"./p-C7hFgM52.js";import{d as h}from"./p-Bb5V9TQx.js";const v=()=>`verdocs-envelope-recipient-summary{top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;z-index:100000;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-family:"Inter", "Barlow", sans-serif;background-color:rgba(0, 0, 0, 0.4980392157)}verdocs-envelope-recipient-summary .summary-content{width:600px;display:-ms-flexbox;display:flex;max-width:90%;font-size:18px;-ms-flex:0 0 600px;flex:0 0 600px;border-radius:6px;background:#ffffff;-ms-flex-direction:column;flex-direction:column;padding:30px 20px 20px}verdocs-envelope-recipient-summary .summary-content .summary-title{font-size:20px;font-weight:700;margin:0 0 10px 0;color:#33364b}verdocs-envelope-recipient-summary .summary-recipient{display:-ms-flexbox;display:flex;color:#33364b;margin:8px 0 24px 0;-ms-flex-direction:column;flex-direction:column}verdocs-envelope-recipient-summary .summary-recipient .role-name{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;font-size:14px;font-weight:600;margin:0 0 8px 0;color:#092c4c}verdocs-envelope-recipient-summary .summary-recipient .role-info{gap:5px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:end;align-items:flex-end}verdocs-envelope-recipient-summary .summary-recipient .role-full-name{-ms-flex:1;flex:1;height:34px;display:-ms-flexbox;display:flex;font-size:16px;padding:0 12px;border-radius:4px;-ms-flex-align:center;align-items:center;border:1px solid #cccccc;background:rgb(249, 250, 251)}verdocs-envelope-recipient-summary .summary-recipient .recipient-link{width:120px;padding:0 16px;font-weight:500;margin:0 0 0 8px;text-align:center;font-size:0.875rem;border-radius:100%;color:rgb(55, 65, 81);line-height:1.25rem;background-color:#d8d8d8;border:2px solid rgb(156, 163, 175)}verdocs-envelope-recipient-summary .summary-recipient .link-wrapper{gap:5px;display:-ms-flexbox;display:flex;margin:4px 0 0 0;-ms-flex-direction:row;flex-direction:row}verdocs-envelope-recipient-summary .summary-recipient .link-wrapper .link{-ms-flex:1;flex:1;height:34px;display:-ms-flexbox;display:flex;font-size:16px;padding:0 12px;overflow:hidden;border-radius:4px;-ms-flex-align:center;align-items:center;white-space:nowrap;text-overflow:ellipsis;border:1px solid #cccccc;background:rgb(249, 250, 251)}verdocs-envelope-recipient-summary .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:15px;-moz-column-gap:15px;column-gap:15px;margin:10px 0 0 0;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}verdocs-envelope-recipient-summary .buttons verdocs-button{-ms-flex:0 0 120px;flex:0 0 120px;margin-left:10px;white-space:nowrap}verdocs-envelope-recipient-summary .buttons verdocs-button button{width:100%}`;const x=e(class e extends i{constructor(e){super();if(e!==false){this.__registerHost()}this.another=s(this,"another");this.view=s(this,"view");this.next=s(this,"next");this.sdkError=s(this,"sdkError");this.envelopeListenerId=null;this.endpoint=l.getDefault();this.envelopeId="";this.canSendAnother=true;this.canView=true;this.canDone=true;this.recipientStatusIcons=[];this.containerId=`verdocs-status-indicator-${Math.random().toString(36).substring(2,11)}`;this.gettingLinks={};this.links={};this.loading=true;this.envelope=null}async componentWillLoad(){var e,i,s;try{this.endpoint.loadSession();if(!this.envelopeId){console.log(`[RECIPIENTS] Missing required envelope ID ${this.envelopeId}`);return}if(!this.endpoint.session){console.log("[RECIPIENTS] Unable to start session, must be authenticated");return}this.listenToEnvelope()}catch(t){console.log("[RECIPIENTS] Error loading envelope",t);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new m(t.message,(i=t.response)===null||i===void 0?void 0:i.status,(s=t.response)===null||s===void 0?void 0:s.data))}}disconnectedCallback(){this.unlistenToEnvelope()}async listenToEnvelope(){console.log("[SIDEBAR] Loading envelope",this.envelopeId);this.unlistenToEnvelope();u.subscribe("envelopes",this.envelopeId,(()=>r(this.endpoint,this.envelopeId)),false,(e=>{this.envelope=e;this.loading=false;this.sortEnvelopeRecipients()}))}unlistenToEnvelope(){if(this.envelopeListenerId){u.store.delListener(this.envelopeListenerId);this.envelopeListenerId=null}}sortEnvelopeRecipients(){var e;(((e=this.envelope)===null||e===void 0?void 0:e.recipients)||[]).sort(((e,i)=>e.sequence===i.sequence?e.order-i.order:e.sequence-i.sequence))}handleAnother(e){var i;e.preventDefault();(i=this.another)===null||i===void 0?void 0:i.emit({envelope:this.envelope})}handleView(e){var i;e.preventDefault();(i=this.view)===null||i===void 0?void 0:i.emit({envelope:this.envelope})}handleDone(e){var i;e.preventDefault();(i=this.next)===null||i===void 0?void 0:i.emit({envelope:this.envelope})}copyLink(e){navigator.clipboard.writeText(e).then((()=>{})).catch((e=>{var i;console.warn("[RECIPIENTS] Error copying to clipboard",e);(i=this.sdkError)===null||i===void 0?void 0:i.emit(e)}))}getLink(e){this.gettingLinks={...this.gettingLinks,[e.role_name]:true};a(this.endpoint,e.envelope_id,e.role_name).then((i=>{this.gettingLinks={...this.gettingLinks,[e.role_name]:false};this.links={...this.links,[e.role_name]:i.link};this.copyLink(i.link)})).catch((i=>{var s;this.gettingLinks={...this.gettingLinks,[e.role_name]:false};console.log("[RECIPIENTS] Error getting link",i);(s=this.sdkError)===null||s===void 0?void 0:s.emit(i)}))}render(){var e;if(this.loading){return t(n,null)}return t(n,null,t("div",{class:"summary-content"},t("h1",{class:"summary-title"},"Recipient Summary"),t("div",{class:"summary-rows"},(((e=this.envelope)===null||e===void 0?void 0:e.recipients)||[]).map((e=>{const i=c(this.envelope);const s=d(e,i);const n=this.links[e.role_name];const o=this.gettingLinks[e.role_name];const l=p(e);return t("div",{class:"summary-recipient"},t("div",{class:"role-name"},e.role_name),t("div",{class:"role-details"},t("div",{class:"role-info"},t("div",{class:"role-full-name"},l," (",e.email||e.phone,")"),s&&!n&&t("verdocs-button",{size:"small",variant:"outline",label:"Get Link",disabled:o,onClick:()=>this.getLink(e)})),n&&t("div",{class:"link-wrapper"},t("div",{class:"link"},n),t("verdocs-button",{size:"small",variant:"outline",label:"Copy",onClick:()=>this.copyLink(n)}))))}))),(this.canSendAnother||this.canView||this.canDone)&&t("div",{class:"buttons"},this.canSendAnother&&t("verdocs-button",{size:"small",label:"Send Another",onClick:e=>this.handleAnother(e)}),this.canView&&t("verdocs-button",{size:"small",label:"View Now",onClick:e=>this.handleView(e)}),this.canDone&&t("verdocs-button",{size:"small",label:"Done",onClick:e=>this.handleDone(e)}))))}static get style(){return v()}},[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],recipientStatusIcons:[32],containerId:[32],gettingLinks:[32],links:[32],loading:[32],envelope:[32]}]);function f(){if(typeof customElements==="undefined"){return}const e=["verdocs-envelope-recipient-summary","verdocs-button"];e.forEach((e=>{switch(e){case"verdocs-envelope-recipient-summary":if(!customElements.get(o(e))){customElements.define(o(e),x)}break;case"verdocs-button":if(!customElements.get(o(e))){h()}break}}))}const y=x;const b=f;export{y as VerdocsEnvelopeRecipientSummary,b as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-envelope-recipient-summary.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,H as i,c as s,h as t,F as o,d as n,t as r}from"./p-yZBlG3YQ.js";import{d as a}from"./p-DGOUAxVN.js";import{VerdocsEndpoint as l,getEnvelope as d,remindRecipient as c,cancelEnvelope as p,updateRecipient as v,formatFullName as h,updateEnvelope as m,userIsEnvelopeOwner as w,getRecipientsWithActions as g,resetRecipient as b,recipientCanAct as f,capitalize as u}from"@verdocs/js-sdk";import{F as x}from"./p-17OorOnH.js";import{V as k}from"./p-D97GxsI-.js";import{S as C}from"./p-C1sRVZWv.js";import{S as y}from"./p-C7hFgM52.js";import{d as z}from"./p-C0SHIuoK.js";import{d as M}from"./p-JGWMBIGy.js";import{d as D}from"./p-D17kbVUt.js";import{d as E}from"./p-Dw7l6M37.js";import{d as B}from"./p-BLo_-c7G.js";import{d as j}from"./p-CxIhMndz.js";import{d as V}from"./p-Dc3BDcaU.js";import{d as H}from"./p-CIgqf7hj.js";import{d as R}from"./p-CjUdD_Dm.js";import{d as L}from"./p-BMGs9CCD.js";const S=()=>`verdocs-envelope-sidebar{font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif);-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;-ms-flex:0 0 56px;flex:0 0 56px;width:56px;min-height:400px;height:100%;background:#41435e;-webkit-transition:0.5s cubic-bezier(0.35, 0, 0.25, 1);transition:0.5s cubic-bezier(0.35, 0, 0.25, 1)}verdocs-envelope-sidebar.open{-ms-flex:0 0 400px;flex:0 0 400px;max-width:100%;width:400px}@media screen and (max-width: 500px){verdocs-envelope-sidebar.open{-ms-flex:0 0 300px;flex:0 0 300px;width:300px}}verdocs-envelope-sidebar .side-buttons{-ms-flex-direction:column;flex-direction:column;-ms-flex:0 0 56px;flex:0 0 56px;display:-ms-flexbox;display:flex}verdocs-envelope-sidebar .side-buttons button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:50px;outline:none;border:none;border-left:2px solid transparent;background:none;width:100%}verdocs-envelope-sidebar .side-buttons button.active{border-left:2px solid #50bd80}verdocs-envelope-sidebar .side-buttons button svg{color:white;width:24px;height:24px}verdocs-envelope-sidebar .content{-ms-flex:1;flex:1;display:none;color:white;-ms-flex-direction:column;flex-direction:column;padding:12px 16px 16px}verdocs-envelope-sidebar.open .content{display:-ms-flexbox;display:flex;overflow-y:scroll}verdocs-envelope-sidebar verdocs-ok-dialog .content{color:black}verdocs-envelope-sidebar .title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:12px;font-size:16px;line-height:24px;font-weight:400}verdocs-envelope-sidebar .label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:16px;color:rgba(255, 255, 255, 0.54)}verdocs-envelope-sidebar .value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:14px;font-size:14px;font-weight:500;line-height:16px;color:#fff}verdocs-envelope-sidebar .manage-recipients-button{-ms-flex-item-align:center;align-self:center;white-space:nowrap;width:100%;margin:0 0 10px 0}verdocs-envelope-sidebar .manage-recipients-button .label{color:#ffffff;font-size:14px}verdocs-envelope-sidebar .manage-recipients-button button{width:100%}verdocs-envelope-sidebar .recipient-detail{-ms-flex:0;flex:0;padding:8px;font-size:14px;position:relative;-ms-flex-direction:column;flex-direction:column;border:solid 1px #979797;margin-bottom:16px}verdocs-envelope-sidebar .recipient-header{-ms-flex-direction:row;flex-direction:row;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;gap:6px;-ms-flex-align:center;align-items:center;margin-bottom:4px}verdocs-envelope-sidebar .recipient-number{width:24px;height:24px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border-radius:24px;font-size:14px;font-weight:500;border:solid 1px #979797}verdocs-envelope-sidebar .recipient-name{-ms-flex:1;flex:1;-webkit-box-sizing:border-box;box-sizing:border-box;text-transform:capitalize}verdocs-envelope-sidebar .recipient-email{-ms-flex:1;flex:1;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-envelope-sidebar .recipient-phone{-ms-flex:1;flex:1;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-envelope-sidebar .recipient-status{-ms-flex:0 0 100px;flex:0 0 100px;border-radius:5px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100px;min-width:100px;background-color:#616161;text-transform:capitalize;font-size:14px;padding:3px 0}verdocs-envelope-sidebar .recipient-status.invited{background-color:#ff8f00}verdocs-envelope-sidebar .recipient-status.opened{background-color:#616161}verdocs-envelope-sidebar .recipient-status.signed,verdocs-envelope-sidebar .recipient-status.submitted{background-color:#2e7d32}verdocs-envelope-sidebar .recipient-status.pending{background-color:#0277bd}verdocs-envelope-sidebar .recipient-status.canceled,verdocs-envelope-sidebar .recipient-status.declined{background-color:#c62828}@media screen and (max-width: 500px){verdocs-envelope-sidebar .recipient-status{-ms-flex:1 1 60px;flex:1 1 60px;max-width:60px;min-width:60px}}verdocs-envelope-sidebar .recipient-content{-ms-flex-direction:column;flex-direction:column}verdocs-envelope-sidebar .recipient-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}verdocs-envelope-sidebar .history-entry{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;padding:8px 0 0;margin:8px 0 0;border-top:1px solid #dddddd}verdocs-envelope-sidebar .history-entry .activity-icon{margin-right:14px}verdocs-envelope-sidebar .history-entry .activity-icon svg{width:24px;height:24px;fill:#ffffff}verdocs-envelope-sidebar .history-entry .activity-text{font-size:14px;line-height:16px;margin-bottom:4px}verdocs-envelope-sidebar .history-entry .activity-date{font-size:12px;line-height:16px;color:rgba(255, 255, 255, 0.54)}verdocs-envelope-sidebar .content .history-entry:first-of-type{border-top:none}verdocs-envelope-sidebar .reminders{margin:15px 0 30px 0}verdocs-envelope-sidebar .reminders .form-row{margin:8px 0 0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}verdocs-envelope-sidebar .reminders .form-row .reminders-label{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}verdocs-envelope-sidebar .reminders .form-row .form-label{-ms-flex:1;flex:1}verdocs-envelope-sidebar .reminders .form-row verdocs-text-input{margin:0;width:100px}`;const _=24*60*60*1e3;const I=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z" /></svg>`;const $=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z" /></svg>`;const A=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 002.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 00-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25zM6.75 12h.008v.008H6.75V12zm0 3h.008v.008H6.75V15zm0 3h.008v.008H6.75V18z" /></svg>`;const O={visibility:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path d="M12 15a3 3 0 100-6 3 3 0 000 6z" /><path fill-rule="evenodd" d="M1.323 11.447C2.811 6.976 7.028 3.75 12.001 3.75c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113-1.487 4.471-5.705 7.697-10.677 7.697-4.97 0-9.186-3.223-10.675-7.69a1.762 1.762 0 010-1.113zM17.25 12a5.25 5.25 0 11-10.5 0 5.25 5.25 0 0110.5 0z" clip-rule="evenodd" /></svg>`,pencil:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path d="M21.731 2.269a2.625 2.625 0 00-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 000-3.712zM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 00-1.32 2.214l-.8 2.685a.75.75 0 00.933.933l2.685-.8a5.25 5.25 0 002.214-1.32L19.513 8.2z" /></svg>`,mail:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>`,contact_mail:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>`,done:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path fill-rule="evenodd" d="M19.916 4.626a.75.75 0 01.208 1.04l-9 13.5a.75.75 0 01-1.154.114l-6-6a.75.75 0 011.06-1.06l5.353 5.353 8.493-12.739a.75.75 0 011.04-.208z" clip-rule="evenodd" /></svg>`,send:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"/></svg>`,gesture:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M4.59 6.89c.7-.71 1.4-1.35 1.71-1.22.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1H21v-2.5h-2.47c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3 5.12 3 3.97 4 3.72 4.25c-.36.36-.66.66-.88.93l1.75 1.71zm9.29 11.66c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z"/></svg>`,clear:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>`,check_circle:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>`,link:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg>`,cancel:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"/></svg>`,done_all:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"/></svg>`,create:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>`,perm_identity:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>`,people:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"/></svg>`,contact_email:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M21 8V7l-3 2-3-2v1l3 2 3-2zm1-5H2C.9 3 0 3.9 0 5v14c0 1.1.9 2 2 2h20c1.1 0 1.99-.9 1.99-2L24 5c0-1.1-.9-2-2-2zM8 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H2v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1zm8-6h-8V6h8v6z"/></svg>`,textsms:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="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-2zM9 11H7V9h2v2zm4 0h-2V9h2v2zm4 0h-2V9h2v2z"/></svg>`,verified_user:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path fill-rule="evenodd" d="M12.516 2.17a.75.75 0 00-1.032 0 11.209 11.209 0 01-7.877 3.08.75.75 0 00-.722.515A12.74 12.74 0 002.25 9.75c0 5.942 4.064 10.933 9.563 12.348a.749.749 0 00.374 0c5.499-1.415 9.563-6.406 9.563-12.348 0-1.39-.223-2.73-.635-3.985a.75.75 0 00-.722-.516l-.143.001c-2.996 0-5.717-1.17-7.734-3.08zm3.094 8.016a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z" clip-rule="evenodd" /></svg>`,account_circle:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"/></svg>`,idcard:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16 10H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 14H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.16992 15.0001C6.37606 14.4141 6.75902 13.9065 7.26594 13.5475C7.77286 13.1884 8.37873 12.9956 8.99992 12.9956C9.62111 12.9956 10.227 13.1884 10.7339 13.5475C11.2408 13.9065 11.6238 14.4141 11.8299 15.0001" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 13C10.1046 13 11 12.1046 11 11C11 9.89543 10.1046 9 9 9C7.89543 9 7 9.89543 7 11C7 12.1046 7.89543 13 9 13Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M20 5H4C2.89543 5 2 5.89543 2 7V17C2 18.1046 2.89543 19 4 19H20C21.1046 19 22 18.1046 22 17V7C22 5.89543 21.1046 5 20 5Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,idcardslash:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16 10H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 14H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.16992 15.0001C6.37606 14.4141 6.75902 13.9065 7.26594 13.5475C7.77286 13.1884 8.37873 12.9956 8.99992 12.9956C9.62111 12.9956 10.227 13.1884 10.7339 13.5475C11.2408 13.9065 11.6238 14.4141 11.8299 15.0001" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 13C10.1046 13 11 12.1046 11 11C11 9.89543 10.1046 9 9 9C7.89543 9 7 9.89543 7 11C7 12.1046 7.89543 13 9 13Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M20 5H4C2.89543 5 2 5.89543 2 7V17C2 18.1046 2.89543 19 4 19H20C21.1046 19 22 18.1046 22 17V7C22 5.89543 21.1046 5 20 5Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M2 2L22 22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,key:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.586 17.4139C2.2109 17.7889 2.00011 18.2975 2 18.8279V20.9999C2 21.2651 2.10536 21.5195 2.29289 21.707C2.48043 21.8946 2.73478 21.9999 3 21.9999H6C6.26522 21.9999 6.51957 21.8946 6.70711 21.707C6.89464 21.5195 7 21.2651 7 20.9999V19.9999C7 19.7347 7.10536 19.4803 7.29289 19.2928C7.48043 19.1053 7.73478 18.9999 8 18.9999H9C9.26522 18.9999 9.51957 18.8946 9.70711 18.707C9.89464 18.5195 10 18.2651 10 17.9999V16.9999C10 16.7347 10.1054 16.4803 10.2929 16.2928C10.4804 16.1053 10.7348 15.9999 11 15.9999H11.172C11.7024 15.9998 12.211 15.789 12.586 15.4139L13.4 14.5999C14.7898 15.0841 16.3028 15.0822 17.6915 14.5947C19.0801 14.1071 20.2622 13.1628 21.0444 11.916C21.8265 10.6693 22.1624 9.19409 21.9971 7.73165C21.8318 6.26922 21.1751 4.90617 20.1344 3.86549C19.0937 2.8248 17.7307 2.1681 16.2683 2.00281C14.8058 1.83751 13.3306 2.17341 12.0839 2.95556C10.8372 3.7377 9.89279 4.91979 9.40525 6.30844C8.91771 7.69708 8.91585 9.21008 9.4 10.5999L2.586 17.4139Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.5 8C16.7761 8 17 7.77614 17 7.5C17 7.22386 16.7761 7 16.5 7C16.2239 7 16 7.22386 16 7.5C16 7.77614 16.2239 8 16.5 8Z" fill="black" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,keyslash:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.586 17.4139C2.2109 17.7889 2.00011 18.2975 2 18.8279V20.9999C2 21.2651 2.10536 21.5195 2.29289 21.707C2.48043 21.8946 2.73478 21.9999 3 21.9999H6C6.26522 21.9999 6.51957 21.8946 6.70711 21.707C6.89464 21.5195 7 21.2651 7 20.9999V19.9999C7 19.7347 7.10536 19.4803 7.29289 19.2928C7.48043 19.1053 7.73478 18.9999 8 18.9999H9C9.26522 18.9999 9.51957 18.8946 9.70711 18.707C9.89464 18.5195 10 18.2651 10 17.9999V16.9999C10 16.7347 10.1054 16.4803 10.2929 16.2928C10.4804 16.1053 10.7348 15.9999 11 15.9999H11.172C11.7024 15.9998 12.211 15.789 12.586 15.4139L13.4 14.5999C14.7898 15.0841 16.3028 15.0822 17.6915 14.5947C19.0801 14.1071 20.2622 13.1628 21.0444 11.916C21.8265 10.6693 22.1624 9.19409 21.9971 7.73165C21.8318 6.26922 21.1751 4.90617 20.1344 3.86549C19.0937 2.8248 17.7307 2.1681 16.2683 2.00281C14.8058 1.83751 13.3306 2.17341 12.0839 2.95556C10.8372 3.7377 9.89279 4.91979 9.40525 6.30844C8.91771 7.69708 8.91585 9.21008 9.4 10.5999L2.586 17.4139Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.5 8C16.7761 8 17 7.77614 17 7.5C17 7.22386 16.7761 7 16.5 7C16.2239 7 16 7.22386 16 7.5C16 7.77614 16.2239 8 16.5 8Z" fill="black" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,pin:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 17V22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 10.76C8.9998 11.1321 8.89581 11.4967 8.69972 11.813C8.50363 12.1292 8.22321 12.3844 7.89 12.55L6.11 13.45C5.77679 13.6156 5.49637 13.8708 5.30028 14.187C5.10419 14.5033 5.0002 14.8679 5 15.24V16C5 16.2652 5.10536 16.5196 5.29289 16.7071C5.48043 16.8946 5.73478 17 6 17H18C18.2652 17 18.5196 16.8946 18.7071 16.7071C18.8946 16.5196 19 16.2652 19 16V15.24C18.9998 14.8679 18.8958 14.5033 18.6997 14.187C18.5036 13.8708 18.2232 13.6156 17.89 13.45L16.11 12.55C15.7768 12.3844 15.4964 12.1292 15.3003 11.813C15.1042 11.4967 15.0002 11.1321 15 10.76V7C15 6.73478 15.1054 6.48043 15.2929 6.29289C15.4804 6.10536 15.7348 6 16 6C16.5304 6 17.0391 5.78929 17.4142 5.41421C17.7893 5.03914 18 4.53043 18 4C18 3.46957 17.7893 2.96086 17.4142 2.58579C17.0391 2.21071 16.5304 2 16 2H8C7.46957 2 6.96086 2.21071 6.58579 2.58579C6.21071 2.96086 6 3.46957 6 4C6 4.53043 6.21071 5.03914 6.58579 5.41421C6.96086 5.78929 7.46957 6 8 6C8.26522 6 8.51957 6.10536 8.70711 6.29289C8.89464 6.48043 9 6.73478 9 7V10.76Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,pinslash:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 17V22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M15.0006 9.34V7C15.0006 6.73478 15.106 6.48043 15.2935 6.29289C15.4811 6.10536 15.7354 6 16.0006 6C16.5311 6 17.0398 5.78929 17.4148 5.41421C17.7899 5.03914 18.0006 4.53043 18.0006 4C18.0006 3.46957 17.7899 2.96086 17.4148 2.58579C17.0398 2.21071 16.5311 2 16.0006 2H7.89062" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M2 2L22 22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 9V10.76C8.9998 11.1321 8.89581 11.4967 8.69972 11.813C8.50363 12.1292 8.22321 12.3844 7.89 12.55L6.11 13.45C5.77679 13.6156 5.49637 13.8708 5.30028 14.187C5.10419 14.5033 5.0002 14.8679 5 15.24V16C5 16.2652 5.10536 16.5196 5.29289 16.7071C5.48043 16.8946 5.73478 17 6 17H17" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`};const N=e(class e extends i{constructor(e){super();if(e!==false){this.__registerHost()}this.sdkError=s(this,"sdkError");this.envelopeUpdated=s(this,"envelopeUpdated");this.toggle=s(this,"toggle");this.another=s(this,"another");this.envelopeListenerId=null;this.endpoint=l.getDefault();this.envelopeId="";this.activeTab=1;this.panelOpen=false;this.showRecipientDialog="";this.showCancelDialog=false;this.showReinviteDialog="";this.showUpdateDialog="";this.remindersEnabled=false;this.updatingReminders=false;this.initialReminder=null;this.followupReminders=null;this.loading=true;this.envelope=null}async componentWillLoad(){var e,i,s;try{this.endpoint.loadSession();if(!this.envelopeId){console.log(`[SIDEBAR] Missing required envelope ID ${this.envelopeId}`);return}if(!this.endpoint.session){console.log("[SIDEBAR] Unable to start session, must be authenticated");return}this.listenToEnvelope()}catch(t){console.log("[SIDEBAR] Error loading envelope",t);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new C(t.message,(i=t.response)===null||i===void 0?void 0:i.status,(s=t.response)===null||s===void 0?void 0:s.data))}}disconnectedCallback(){this.unlistenToEnvelope()}async listenToEnvelope(){console.log("[SIDEBAR] Loading envelope",this.envelopeId);this.unlistenToEnvelope();y.subscribe("envelopes",this.envelopeId,(()=>d(this.endpoint,this.envelopeId)),false,(e=>{var i,s;this.envelope=e;this.loading=false;this.sortEnvelopeRecipients();this.initialReminder=(i=this.envelope)===null||i===void 0?void 0:i.initial_reminder;this.followupReminders=(s=this.envelope)===null||s===void 0?void 0:s.followup_reminders;this.remindersEnabled=!!this.initialReminder}))}unlistenToEnvelope(){if(this.envelopeListenerId){y.store.delListener(this.envelopeListenerId);this.envelopeListenerId=null}}sortEnvelopeRecipients(){var e;(((e=this.envelope)===null||e===void 0?void 0:e.recipients)||[]).sort(((e,i)=>e.sequence===i.sequence?e.order-i.order:e.sequence-i.sequence))}setTab(e){var i;this.panelOpen=e!==this.activeTab||!this.panelOpen;(i=this.toggle)===null||i===void 0?void 0:i.emit({open:this.panelOpen});this.activeTab=e}canResendRecipient(e){var i;return!["pending","declined","submitted","canceled"].includes(e.status)&&!["complete","declined","canceled"].includes((i=this.envelope)===null||i===void 0?void 0:i.status)}handleRecipientAction(e,i){var s;console.log("[SIDEBAR] Recipient action",i,e);switch(i){case"update":this.showUpdateDialog=e.role_name;break;case"reminder":c(this.endpoint,this.envelopeId,e.role_name).then((()=>{k("Reminder Sent",{style:"success"})})).catch((e=>{console.log("[SIDEBAR] Error resending invitation",e);k("Error resending invitation: "+e.message,{style:"error"})}));break;case"reinvite":this.showReinviteDialog=e.role_name;break;case"inperson":this.showRecipientDialog=e.role_name;break;case"modify":k("This feature will be enabled in a future release. Please try again later.",{style:"info"});break;case"details":k("This feature will be enabled in a future release. Please try again later.",{style:"info"});break}(s=this.envelopeUpdated)===null||s===void 0?void 0:s.emit({endpoint:this.endpoint,envelope:this.envelope,event:i})}handleCancelEnvelope(){this.loading=true;p(this.endpoint,this.envelopeId).then((async e=>{var i;console.log("[SIDEBAR] Envelope canceled",e);k("Envelope canceled",{style:"success"});const s=JSON.parse(JSON.stringify(this.envelope));s.status="canceled";y.updateEnvelope(this.envelopeId,s);this.loading=false;this.panelOpen=false;(i=this.envelopeUpdated)===null||i===void 0?void 0:i.emit({endpoint:this.endpoint,envelope:s,event:"canceled"})})).catch((e=>{console.log("[SIDEBAR] Error canceling envelope",e);this.loading=false;k("Error canceling envelope: "+e.message,{style:"error"})}))}handleUpdateRecipient(e,i){console.log("Updating recipient",e,i);const s={};if(i.email!==e.email){s.email=i.email}if(i.phone!==e.phone){s.phone=i.phone}if(i.message!==e.message){s.message=i.message}if(i.first_name!==e.first_name){s.first_name=i.first_name}if(i.last_name!==e.last_name){s.last_name=i.last_name}if(Object.keys(s).length>0){v(this.endpoint,this.envelopeId,e.role_name,s).then((e=>{k("Recipient updated",{style:"success"});console.log("[SIDEBAR] Updated recipient",e);y.getEnvelope(this.endpoint,this.envelopeId,true);this.showUpdateDialog=""})).catch((e=>{k(e.response.data.error,{style:"error"});this.showUpdateDialog=""}))}else{this.showUpdateDialog=""}}prepareHistoryEntries(){var e,i,s,t,o,n;const r=[];const a=((e=this.envelope)===null||e===void 0?void 0:e.history_entries)||[];r.push({icon:"pencil",message:"Envelope created.",date:new Date((i=this.envelope)===null||i===void 0?void 0:i.created_at)});if(((s=this.envelope)===null||s===void 0?void 0:s.status)==="complete"){r.push({icon:"pencil",message:"Envelope completed.",date:new Date((t=this.envelope)===null||t===void 0?void 0:t.updated_at)})}const l=a.some((e=>e.event==="owner:canceled"));if(((o=this.envelope)===null||o===void 0?void 0:o.status)==="canceled"&&!l){r.push({icon:"pencil",message:"Envelope Canceled.",date:new Date((n=this.envelope)===null||n===void 0?void 0:n.canceled_at)})}a.forEach((e=>{var i;const s=(((i=this.envelope)===null||i===void 0?void 0:i.recipients)||[]).find((i=>i.role_name===e.role_name));const t=h(s);switch(e.event.toLowerCase()){case"recipient:kba_verified":r.push({icon:"key",message:`KBA verification completed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:kba_failed":r.push({icon:"keyslash",message:`KBA verification failed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:id_verified":r.push({icon:"idcard",message:`ID verification completed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:id_failed":r.push({icon:"idcardslash",message:`ID verification failed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:pin_verified":r.push({icon:"pin",message:`PIN verification completed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:pin_failed":r.push({icon:"pinslash",message:`PIN verification failed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:signed":r.push({icon:"gesture",message:`Signed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:declined":r.push({icon:"clear",message:`Declined by ${t}.`,date:new Date(e.created_at)});break;case"recipient:opened":switch(e.event_detail){case"email":case"mail":r.push({icon:"visibility",message:`Opened by ${t}, via email.`,date:new Date(e.created_at)});break;case"sms":r.push({icon:"visibility",message:`Opened by ${t}, via SMS.`,date:new Date(e.created_at)});break;case"in_person_link":r.push({icon:"visibility",message:`Opened by ${t}, via In-person link.`,date:new Date(e.created_at)});break;case"in_app":r.push({icon:"visibility",message:`Opened by ${t}, via dashboard.`,date:new Date(e.created_at)});break;default:r.push({icon:"visibility",message:`Opened by ${t}.`,date:new Date(e.created_at)})}break;case"recipient:submitted":switch(e.event_detail){case"approver":r.push({icon:"check_circle",message:`Approved by ${t}.`,date:new Date(e.created_at)});break;default:r.push({icon:"send",message:`Submitted by ${t}.`,date:new Date(e.created_at)});break}break;case"recipient:prepared":r.push({icon:"send",message:`Prepared by ${t}.`,date:new Date(e.created_at)});break;case"recipient:claimed":if(e.event_detail==="guest"){r.push({icon:"account_circle",message:`${t} claimed the Envelope as a guest.`,date:new Date(e.created_at)})}else if(e.event_detail==="profile"){r.push({icon:"verified_user",message:`${t} claimed the Envelope as a verified user.`,date:new Date(e.created_at)})}break;case"recipient:agreed":r.push({icon:"done",message:`${t} agreed to use electronic records and signatures.`,date:new Date(e.created_at)});break;case"recipient:invited":if(e.event_detail==="sms"){r.push({icon:"textsms",message:`${t} has been invited via SMS.`,date:new Date(e.created_at)})}else{r.push({icon:"mail",message:`${t} has been invited via email.`,date:new Date(e.created_at)})}break;case"recipient:reminder":if(e.event_detail==="sms"){r.push({icon:"textsms",message:`${t} sent a reminder via SMS.`,date:new Date(e.created_at)})}else{r.push({icon:"mail",message:`${t} sent a reminder via email.`,date:new Date(e.created_at)})}break;case"invitation:resent":r.push({icon:"mail",message:`Invitation was resent to ${t}${e.event_detail==="reminder"?" by reminder":""}.`,date:new Date(e.created_at)});break;case"envelope:cc":r.push({icon:"contact_mail",message:`A copy has been sent to ${t}.`,date:new Date(e.created_at)});break;case"recipient:delegated":r.push({icon:"people",message:e.event_detail,date:new Date(e.created_at)});break;case"recipient:updated_info":r.push({icon:"perm_identity",message:e.event_detail,date:new Date(e.created_at)});break;case"owner:updated_recipient_info":r.push({icon:"perm_identity",message:e.event_detail,date:new Date(e.created_at)});break;case"created":r.push({icon:"create",message:`Envelope was created.`,date:new Date(e.created_at)});break;case"completed":r.push({icon:"done_all",message:`Envelope was completed.`,date:new Date(e.created_at)});break;case"envelope:canceled":case"envelope_canceled":case"canceled":case"owner:canceled":r.push({icon:"cancel",message:`Envelope was canceled by the creator.`,date:new Date(e.created_at)});break;case"envelope:expired":r.push({icon:"cancel",message:`Envelope expired.`,date:new Date(e.created_at)});break;case"owner:get_in_person_link":r.push({icon:"link",message:`Owner accessed the In-person link for ${s}.`,date:new Date(e.created_at)});break;default:console.log("[SIDEBAR] Unknown history type",e);break}}));r.sort(((e,i)=>i.date.getTime()-e.date.getTime()));return r}handleToggleReminders(){if(this.remindersEnabled){return this.handleSetReminders(null,null)}else{return this.handleSetReminders(_,3*_)}}handleSetReminders(e,i){console.log("Updating reminders...");this.updatingReminders=true;m(this.endpoint,this.envelopeId,{initial_reminder:e,followup_reminders:i}).then((e=>{console.log("Updated",e);y.updateEnvelope(this.envelopeId,e);this.initialReminder=e.initial_reminder;this.followupReminders=e.followup_reminders;this.remindersEnabled=!!e.initial_reminder;this.updatingReminders=false})).catch((e=>{var i,s,t;console.log("Error updating envelope",e);this.initialReminder=(i=this.envelope)===null||i===void 0?void 0:i.initial_reminder;this.followupReminders=(s=this.envelope)===null||s===void 0?void 0:s.followup_reminders;this.remindersEnabled=!!((t=this.envelope)===null||t===void 0?void 0:t.initial_reminder);this.updatingReminders=false;k(e.response.data.error,{style:"error"})}))}render(){var e,i,s,r,l,d,c,p,v,m,C,y;if(this.loading){return t(n,null)}const z=w(this.endpoint.profile,this.envelope);const M=this.prepareHistoryEntries();const D=((e=this.envelope)===null||e===void 0?void 0:e.status)!=="pending"&&((i=this.envelope)===null||i===void 0?void 0:i.status)!=="in progress";const E=g(this.envelope);return t(n,{class:this.panelOpen?"open":""},t("div",{class:"side-buttons"},t("button",{class:this.activeTab===1?"active":"",onClick:()=>this.setTab(1),innerHTML:I}),t("button",{class:this.activeTab===2?"active":"",onClick:()=>this.setTab(2),innerHTML:$}),t("button",{class:this.activeTab===3?"active":"",onClick:()=>this.setTab(3),innerHTML:A})),this.activeTab===1&&t("div",{class:"content"},t("div",{class:"title"},"Details"),t("div",{class:"label"},"Envelope ID"),t("div",{class:"value"},(s=this.envelope)===null||s===void 0?void 0:s.id),t("div",{class:"label"},"Date Created"),t("div",{class:"value"},a.format(new Date((r=this.envelope)===null||r===void 0?void 0:r.created_at),x)),t("div",{class:"label"},"Last Modified"),t("div",{class:"value"},a.format(new Date((l=this.envelope)===null||l===void 0?void 0:l.updated_at),x)),t("div",{class:"label"},"Status"),t("div",{class:"value"},u((d=this.envelope)===null||d===void 0?void 0:d.status)),t("div",{class:"label"},"Owner ID"),t("div",{class:"value"},(c=this.envelope)===null||c===void 0?void 0:c.profile_id),t("div",{class:"label"},"Owner Name"),t("div",{class:"value"},h((p=this.envelope)===null||p===void 0?void 0:p.profile)),t("div",{class:"label"},"Owner Email"),t("div",{class:"value"},(m=(v=this.envelope)===null||v===void 0?void 0:v.profile)===null||m===void 0?void 0:m.email)),this.activeTab===2&&t("div",{class:"content"},t("div",{class:"title"},"Recipients"),(C=this.envelope)===null||C===void 0?void 0:C.recipients.map(((e,i)=>{const s=f(e,E);const o=e.status!=="submitted";const n=this.canResendRecipient(e);const r=h(e);return t("div",{class:"recipient-detail"},t("div",{class:"recipient-header"},t("div",{class:"recipient-number"},i+1),t("div",{class:"recipient-name"},e.role_name.replace("delegated_to_","Delegated")),t("div",{class:{"recipient-status":true,[e.status]:true}},e.status),z&&!D&&t("verdocs-dropdown",{onOptionSelected:i=>this.handleRecipientAction(e,i.detail.id),options:[{id:"update",label:"Update",disabled:!o},{id:"reminder",label:"Send Reminder",disabled:!n},{id:"inperson",label:"Get In-Person Link",disabled:!s},{id:"reinvite",label:"Re-invite",disabled:!n}]})),t("dic",{class:"recipient-content"},t("div",{class:"recipient-name"},r),t("div",{class:"recipient-email"},e.email),t("div",{class:"recipient-phone"},e.phone)))})),z&&t("div",{class:"reminders"},t("div",{class:"form-row"},t("div",{class:"reminders-label"},"Reminders"),t("verdocs-switch",{disabled:D||this.updatingReminders,checked:this.remindersEnabled,onCheckedChange:()=>this.handleToggleReminders()})),this.remindersEnabled&&t(o,null,t("div",{class:"form-row"},"NOTE: Reminders will only be sent for up to 14 days."),t("div",{class:"form-row"},t("div",{class:"form-label"},"Initial Reminder (days):"),t("verdocs-text-input",{placeholder:"In hours...",disabled:D||this.updatingReminders,value:String(Math.floor(this.initialReminder/_)),onBlur:e=>{this.initialReminder=Number(e.target.value)*_;this.handleSetReminders(this.initialReminder,this.followupReminders)}})),t("div",{class:"form-row"},t("div",{class:"form-label"},"Follow-up Reminders:"),t("verdocs-text-input",{placeholder:"In hours...",disabled:D||this.updatingReminders,value:String(Math.floor(this.followupReminders/_)),onBlur:e=>{this.followupReminders=Number(e.target.value)*_;this.handleSetReminders(this.initialReminder,this.followupReminders)}})),t("div",{class:"form-row"},t("div",{class:"form-label"},"Next Reminder:"),t("div",{style:{color:"#dddddd"}},a.format(new Date((y=this.envelope)===null||y===void 0?void 0:y.next_reminder),"P p"))))),z&&t("verdocs-button",{class:"manage-recipients-button",variant:"standard",label:"Cancel Envelope",onClick:()=>this.showCancelDialog=!D,disabled:D})),this.activeTab===3&&t("div",{class:"content"},t("div",{class:"title"},"History"),M.map((e=>t("div",{class:"history-entry"},t("div",{class:"activity-icon",innerHTML:O[e.icon]||e.icon}),t("div",{class:"activity-details"},t("div",{class:"activity-text"},e.message),t("div",{class:"activity-date"},a.format(e.date,x))))))),this.showRecipientDialog&&t("verdocs-envelope-recipient-link",{envelopeId:this.envelopeId,roleName:this.showRecipientDialog,onNext:()=>this.showRecipientDialog=""}),this.showCancelDialog&&t("verdocs-ok-dialog",{heading:"Cancel Envelope?",message:"Are you sure you want to cancel this Envelope? This action cannot be undone.",onNext:()=>{this.showCancelDialog=false;this.handleCancelEnvelope()}}),this.showReinviteDialog&&t("verdocs-ok-dialog",{heading:"Re-invite Recipient?",message:'This will reset the recipient\'s KBA status and send a new signing invitation. If you just want to send a reminder, please click "Send Reminder" instead.',onNext:()=>{b(this.endpoint,this.envelopeId,this.showReinviteDialog).then((()=>{k("Recipient Reset",{style:"success"});this.showReinviteDialog=""})).catch((e=>{console.log("[SIDEBAR] Error resetting recipient",e);k("Error resetting recipient: "+e.message,{style:"error"});this.showReinviteDialog=""}))}}),this.showUpdateDialog&&t("verdocs-envelope-update-recipient",{envelopeId:this.envelopeId,roleName:this.showUpdateDialog,onNext:e=>{console.log("next",e.detail);if(e.detail.action==="save"){this.handleUpdateRecipient(e.detail.originalRecipient,e.detail.updatedRecipient)}else{this.showUpdateDialog=""}}}))}static get style(){return S()}},[0,"verdocs-envelope-sidebar",{endpoint:[16],envelopeId:[1,"envelope-id"],activeTab:[32],panelOpen:[32],showRecipientDialog:[32],showCancelDialog:[32],showReinviteDialog:[32],showUpdateDialog:[32],remindersEnabled:[32],updatingReminders:[32],initialReminder:[32],followupReminders:[32],loading:[32],envelope:[32]}]);function T(){if(typeof customElements==="undefined"){return}const e=["verdocs-envelope-sidebar","verdocs-button","verdocs-dialog","verdocs-dropdown","verdocs-envelope-recipient-link","verdocs-envelope-update-recipient","verdocs-help-icon","verdocs-ok-dialog","verdocs-portal","verdocs-switch","verdocs-text-input"];e.forEach((e=>{switch(e){case"verdocs-envelope-sidebar":if(!customElements.get(r(e))){customElements.define(r(e),N)}break;case"verdocs-button":if(!customElements.get(r(e))){z()}break;case"verdocs-dialog":if(!customElements.get(r(e))){M()}break;case"verdocs-dropdown":if(!customElements.get(r(e))){D()}break;case"verdocs-envelope-recipient-link":if(!customElements.get(r(e))){E()}break;case"verdocs-envelope-update-recipient":if(!customElements.get(r(e))){B()}break;case"verdocs-help-icon":if(!customElements.get(r(e))){j()}break;case"verdocs-ok-dialog":if(!customElements.get(r(e))){V()}break;case"verdocs-portal":if(!customElements.get(r(e))){H()}break;case"verdocs-switch":if(!customElements.get(r(e))){R()}break;case"verdocs-text-input":if(!customElements.get(r(e))){L()}break}}))}const U=N;const Z=T;export{U as VerdocsEnvelopeSidebar,Z as defineCustomElement};
|
|
1
|
+
import{p as e,H as i,c as s,h as t,F as o,d as n,t as r}from"./p-yZBlG3YQ.js";import{d as a}from"./p-DGOUAxVN.js";import{VerdocsEndpoint as l,getEnvelope as d,remindRecipient as c,cancelEnvelope as p,updateRecipient as v,formatFullName as h,updateEnvelope as m,userIsEnvelopeOwner as w,getRecipientsWithActions as g,resetRecipient as f,recipientCanAct as b,capitalize as u}from"@verdocs/js-sdk";import{F as x}from"./p-17OorOnH.js";import{V as k}from"./p-D97GxsI-.js";import{S as C}from"./p-C1sRVZWv.js";import{S as y}from"./p-C7hFgM52.js";import{d as z}from"./p-Bb5V9TQx.js";import{d as M}from"./p-C90lxyUX.js";import{d as D}from"./p-D4wfy1ym.js";import{d as E}from"./p-BSUeI3vF.js";import{d as B}from"./p-eg4Uf0xS.js";import{d as V}from"./p-DHzSlpJw.js";import{d as j}from"./p-5FU3bYQ3.js";import{d as H}from"./p-DhOuB4nS.js";import{d as R}from"./p-Cly5sH3M.js";import{d as S}from"./p-PfdIkMoz.js";const L=()=>`verdocs-envelope-sidebar{font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif);-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;-ms-flex:0 0 56px;flex:0 0 56px;width:56px;min-height:400px;height:100%;background:#41435e;-webkit-transition:0.5s cubic-bezier(0.35, 0, 0.25, 1);transition:0.5s cubic-bezier(0.35, 0, 0.25, 1)}verdocs-envelope-sidebar.open{-ms-flex:0 0 400px;flex:0 0 400px;max-width:100%;width:400px}@media screen and (max-width: 500px){verdocs-envelope-sidebar.open{-ms-flex:0 0 300px;flex:0 0 300px;width:300px}}verdocs-envelope-sidebar .side-buttons{-ms-flex-direction:column;flex-direction:column;-ms-flex:0 0 56px;flex:0 0 56px;display:-ms-flexbox;display:flex}verdocs-envelope-sidebar .side-buttons button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:50px;outline:none;border:none;border-left:2px solid transparent;background:none;width:100%}verdocs-envelope-sidebar .side-buttons button.active{border-left:2px solid #50bd80}verdocs-envelope-sidebar .side-buttons button svg{color:white;width:24px;height:24px}verdocs-envelope-sidebar .content{-ms-flex:1;flex:1;display:none;color:white;-ms-flex-direction:column;flex-direction:column;padding:12px 16px 16px}verdocs-envelope-sidebar.open .content{display:-ms-flexbox;display:flex;overflow-y:scroll}verdocs-envelope-sidebar verdocs-ok-dialog .content{color:black}verdocs-envelope-sidebar .title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:12px;font-size:16px;line-height:24px;font-weight:400}verdocs-envelope-sidebar .label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:16px;color:rgba(255, 255, 255, 0.54)}verdocs-envelope-sidebar .value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:14px;font-size:14px;font-weight:500;line-height:16px;color:#fff}verdocs-envelope-sidebar .manage-recipients-button{-ms-flex-item-align:center;align-self:center;white-space:nowrap;width:100%;margin:0 0 10px 0}verdocs-envelope-sidebar .manage-recipients-button .label{color:#ffffff;font-size:14px}verdocs-envelope-sidebar .manage-recipients-button button{width:100%}verdocs-envelope-sidebar .recipient-detail{-ms-flex:0;flex:0;padding:8px;font-size:14px;position:relative;-ms-flex-direction:column;flex-direction:column;border:solid 1px #979797;margin-bottom:16px}verdocs-envelope-sidebar .recipient-header{-ms-flex-direction:row;flex-direction:row;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;gap:6px;-ms-flex-align:center;align-items:center;margin-bottom:4px}verdocs-envelope-sidebar .recipient-number{width:24px;height:24px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border-radius:24px;font-size:14px;font-weight:500;border:solid 1px #979797}verdocs-envelope-sidebar .recipient-name{-ms-flex:1;flex:1;-webkit-box-sizing:border-box;box-sizing:border-box;text-transform:capitalize}verdocs-envelope-sidebar .recipient-email{-ms-flex:1;flex:1;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-envelope-sidebar .recipient-phone{-ms-flex:1;flex:1;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-envelope-sidebar .recipient-status{-ms-flex:0 0 100px;flex:0 0 100px;border-radius:5px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100px;min-width:100px;background-color:#616161;text-transform:capitalize;font-size:14px;padding:3px 0}verdocs-envelope-sidebar .recipient-status.invited{background-color:#ff8f00}verdocs-envelope-sidebar .recipient-status.opened{background-color:#616161}verdocs-envelope-sidebar .recipient-status.signed,verdocs-envelope-sidebar .recipient-status.submitted{background-color:#2e7d32}verdocs-envelope-sidebar .recipient-status.pending{background-color:#0277bd}verdocs-envelope-sidebar .recipient-status.canceled,verdocs-envelope-sidebar .recipient-status.declined{background-color:#c62828}@media screen and (max-width: 500px){verdocs-envelope-sidebar .recipient-status{-ms-flex:1 1 60px;flex:1 1 60px;max-width:60px;min-width:60px}}verdocs-envelope-sidebar .recipient-content{-ms-flex-direction:column;flex-direction:column}verdocs-envelope-sidebar .recipient-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}verdocs-envelope-sidebar .history-entry{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;padding:8px 0 0;margin:8px 0 0;border-top:1px solid #dddddd}verdocs-envelope-sidebar .history-entry .activity-icon{margin-right:14px}verdocs-envelope-sidebar .history-entry .activity-icon svg{width:24px;height:24px;fill:#ffffff}verdocs-envelope-sidebar .history-entry .activity-text{font-size:14px;line-height:16px;margin-bottom:4px}verdocs-envelope-sidebar .history-entry .activity-date{font-size:12px;line-height:16px;color:rgba(255, 255, 255, 0.54)}verdocs-envelope-sidebar .content .history-entry:first-of-type{border-top:none}verdocs-envelope-sidebar .reminders{margin:15px 0 30px 0}verdocs-envelope-sidebar .reminders .form-row{margin:8px 0 0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}verdocs-envelope-sidebar .reminders .form-row .reminders-label{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}verdocs-envelope-sidebar .reminders .form-row .form-label{-ms-flex:1;flex:1}verdocs-envelope-sidebar .reminders .form-row verdocs-text-input{margin:0;width:100px}`;const _=24*60*60*1e3;const I=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z" /></svg>`;const $=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z" /></svg>`;const A=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 002.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 00-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25zM6.75 12h.008v.008H6.75V12zm0 3h.008v.008H6.75V15zm0 3h.008v.008H6.75V18z" /></svg>`;const O={visibility:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path d="M12 15a3 3 0 100-6 3 3 0 000 6z" /><path fill-rule="evenodd" d="M1.323 11.447C2.811 6.976 7.028 3.75 12.001 3.75c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113-1.487 4.471-5.705 7.697-10.677 7.697-4.97 0-9.186-3.223-10.675-7.69a1.762 1.762 0 010-1.113zM17.25 12a5.25 5.25 0 11-10.5 0 5.25 5.25 0 0110.5 0z" clip-rule="evenodd" /></svg>`,pencil:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path d="M21.731 2.269a2.625 2.625 0 00-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 000-3.712zM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 00-1.32 2.214l-.8 2.685a.75.75 0 00.933.933l2.685-.8a5.25 5.25 0 002.214-1.32L19.513 8.2z" /></svg>`,mail:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>`,contact_mail:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>`,done:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path fill-rule="evenodd" d="M19.916 4.626a.75.75 0 01.208 1.04l-9 13.5a.75.75 0 01-1.154.114l-6-6a.75.75 0 011.06-1.06l5.353 5.353 8.493-12.739a.75.75 0 011.04-.208z" clip-rule="evenodd" /></svg>`,send:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"/></svg>`,gesture:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M4.59 6.89c.7-.71 1.4-1.35 1.71-1.22.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1H21v-2.5h-2.47c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3 5.12 3 3.97 4 3.72 4.25c-.36.36-.66.66-.88.93l1.75 1.71zm9.29 11.66c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z"/></svg>`,clear:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>`,check_circle:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>`,link:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg>`,cancel:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"/></svg>`,done_all:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"/></svg>`,create:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>`,perm_identity:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>`,people:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"/></svg>`,contact_email:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M21 8V7l-3 2-3-2v1l3 2 3-2zm1-5H2C.9 3 0 3.9 0 5v14c0 1.1.9 2 2 2h20c1.1 0 1.99-.9 1.99-2L24 5c0-1.1-.9-2-2-2zM8 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H2v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1zm8-6h-8V6h8v6z"/></svg>`,textsms:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="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-2zM9 11H7V9h2v2zm4 0h-2V9h2v2zm4 0h-2V9h2v2z"/></svg>`,verified_user:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path fill-rule="evenodd" d="M12.516 2.17a.75.75 0 00-1.032 0 11.209 11.209 0 01-7.877 3.08.75.75 0 00-.722.515A12.74 12.74 0 002.25 9.75c0 5.942 4.064 10.933 9.563 12.348a.749.749 0 00.374 0c5.499-1.415 9.563-6.406 9.563-12.348 0-1.39-.223-2.73-.635-3.985a.75.75 0 00-.722-.516l-.143.001c-2.996 0-5.717-1.17-7.734-3.08zm3.094 8.016a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z" clip-rule="evenodd" /></svg>`,account_circle:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"/></svg>`,idcard:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16 10H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 14H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.16992 15.0001C6.37606 14.4141 6.75902 13.9065 7.26594 13.5475C7.77286 13.1884 8.37873 12.9956 8.99992 12.9956C9.62111 12.9956 10.227 13.1884 10.7339 13.5475C11.2408 13.9065 11.6238 14.4141 11.8299 15.0001" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 13C10.1046 13 11 12.1046 11 11C11 9.89543 10.1046 9 9 9C7.89543 9 7 9.89543 7 11C7 12.1046 7.89543 13 9 13Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M20 5H4C2.89543 5 2 5.89543 2 7V17C2 18.1046 2.89543 19 4 19H20C21.1046 19 22 18.1046 22 17V7C22 5.89543 21.1046 5 20 5Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,idcardslash:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16 10H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 14H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.16992 15.0001C6.37606 14.4141 6.75902 13.9065 7.26594 13.5475C7.77286 13.1884 8.37873 12.9956 8.99992 12.9956C9.62111 12.9956 10.227 13.1884 10.7339 13.5475C11.2408 13.9065 11.6238 14.4141 11.8299 15.0001" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 13C10.1046 13 11 12.1046 11 11C11 9.89543 10.1046 9 9 9C7.89543 9 7 9.89543 7 11C7 12.1046 7.89543 13 9 13Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M20 5H4C2.89543 5 2 5.89543 2 7V17C2 18.1046 2.89543 19 4 19H20C21.1046 19 22 18.1046 22 17V7C22 5.89543 21.1046 5 20 5Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M2 2L22 22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,key:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.586 17.4139C2.2109 17.7889 2.00011 18.2975 2 18.8279V20.9999C2 21.2651 2.10536 21.5195 2.29289 21.707C2.48043 21.8946 2.73478 21.9999 3 21.9999H6C6.26522 21.9999 6.51957 21.8946 6.70711 21.707C6.89464 21.5195 7 21.2651 7 20.9999V19.9999C7 19.7347 7.10536 19.4803 7.29289 19.2928C7.48043 19.1053 7.73478 18.9999 8 18.9999H9C9.26522 18.9999 9.51957 18.8946 9.70711 18.707C9.89464 18.5195 10 18.2651 10 17.9999V16.9999C10 16.7347 10.1054 16.4803 10.2929 16.2928C10.4804 16.1053 10.7348 15.9999 11 15.9999H11.172C11.7024 15.9998 12.211 15.789 12.586 15.4139L13.4 14.5999C14.7898 15.0841 16.3028 15.0822 17.6915 14.5947C19.0801 14.1071 20.2622 13.1628 21.0444 11.916C21.8265 10.6693 22.1624 9.19409 21.9971 7.73165C21.8318 6.26922 21.1751 4.90617 20.1344 3.86549C19.0937 2.8248 17.7307 2.1681 16.2683 2.00281C14.8058 1.83751 13.3306 2.17341 12.0839 2.95556C10.8372 3.7377 9.89279 4.91979 9.40525 6.30844C8.91771 7.69708 8.91585 9.21008 9.4 10.5999L2.586 17.4139Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.5 8C16.7761 8 17 7.77614 17 7.5C17 7.22386 16.7761 7 16.5 7C16.2239 7 16 7.22386 16 7.5C16 7.77614 16.2239 8 16.5 8Z" fill="black" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,keyslash:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.586 17.4139C2.2109 17.7889 2.00011 18.2975 2 18.8279V20.9999C2 21.2651 2.10536 21.5195 2.29289 21.707C2.48043 21.8946 2.73478 21.9999 3 21.9999H6C6.26522 21.9999 6.51957 21.8946 6.70711 21.707C6.89464 21.5195 7 21.2651 7 20.9999V19.9999C7 19.7347 7.10536 19.4803 7.29289 19.2928C7.48043 19.1053 7.73478 18.9999 8 18.9999H9C9.26522 18.9999 9.51957 18.8946 9.70711 18.707C9.89464 18.5195 10 18.2651 10 17.9999V16.9999C10 16.7347 10.1054 16.4803 10.2929 16.2928C10.4804 16.1053 10.7348 15.9999 11 15.9999H11.172C11.7024 15.9998 12.211 15.789 12.586 15.4139L13.4 14.5999C14.7898 15.0841 16.3028 15.0822 17.6915 14.5947C19.0801 14.1071 20.2622 13.1628 21.0444 11.916C21.8265 10.6693 22.1624 9.19409 21.9971 7.73165C21.8318 6.26922 21.1751 4.90617 20.1344 3.86549C19.0937 2.8248 17.7307 2.1681 16.2683 2.00281C14.8058 1.83751 13.3306 2.17341 12.0839 2.95556C10.8372 3.7377 9.89279 4.91979 9.40525 6.30844C8.91771 7.69708 8.91585 9.21008 9.4 10.5999L2.586 17.4139Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.5 8C16.7761 8 17 7.77614 17 7.5C17 7.22386 16.7761 7 16.5 7C16.2239 7 16 7.22386 16 7.5C16 7.77614 16.2239 8 16.5 8Z" fill="black" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,pin:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 17V22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 10.76C8.9998 11.1321 8.89581 11.4967 8.69972 11.813C8.50363 12.1292 8.22321 12.3844 7.89 12.55L6.11 13.45C5.77679 13.6156 5.49637 13.8708 5.30028 14.187C5.10419 14.5033 5.0002 14.8679 5 15.24V16C5 16.2652 5.10536 16.5196 5.29289 16.7071C5.48043 16.8946 5.73478 17 6 17H18C18.2652 17 18.5196 16.8946 18.7071 16.7071C18.8946 16.5196 19 16.2652 19 16V15.24C18.9998 14.8679 18.8958 14.5033 18.6997 14.187C18.5036 13.8708 18.2232 13.6156 17.89 13.45L16.11 12.55C15.7768 12.3844 15.4964 12.1292 15.3003 11.813C15.1042 11.4967 15.0002 11.1321 15 10.76V7C15 6.73478 15.1054 6.48043 15.2929 6.29289C15.4804 6.10536 15.7348 6 16 6C16.5304 6 17.0391 5.78929 17.4142 5.41421C17.7893 5.03914 18 4.53043 18 4C18 3.46957 17.7893 2.96086 17.4142 2.58579C17.0391 2.21071 16.5304 2 16 2H8C7.46957 2 6.96086 2.21071 6.58579 2.58579C6.21071 2.96086 6 3.46957 6 4C6 4.53043 6.21071 5.03914 6.58579 5.41421C6.96086 5.78929 7.46957 6 8 6C8.26522 6 8.51957 6.10536 8.70711 6.29289C8.89464 6.48043 9 6.73478 9 7V10.76Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,pinslash:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 17V22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M15.0006 9.34V7C15.0006 6.73478 15.106 6.48043 15.2935 6.29289C15.4811 6.10536 15.7354 6 16.0006 6C16.5311 6 17.0398 5.78929 17.4148 5.41421C17.7899 5.03914 18.0006 4.53043 18.0006 4C18.0006 3.46957 17.7899 2.96086 17.4148 2.58579C17.0398 2.21071 16.5311 2 16.0006 2H7.89062" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M2 2L22 22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 9V10.76C8.9998 11.1321 8.89581 11.4967 8.69972 11.813C8.50363 12.1292 8.22321 12.3844 7.89 12.55L6.11 13.45C5.77679 13.6156 5.49637 13.8708 5.30028 14.187C5.10419 14.5033 5.0002 14.8679 5 15.24V16C5 16.2652 5.10536 16.5196 5.29289 16.7071C5.48043 16.8946 5.73478 17 6 17H17" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`};const N=e(class e extends i{constructor(e){super();if(e!==false){this.__registerHost()}this.sdkError=s(this,"sdkError");this.envelopeUpdated=s(this,"envelopeUpdated");this.toggle=s(this,"toggle");this.another=s(this,"another");this.envelopeListenerId=null;this.endpoint=l.getDefault();this.envelopeId="";this.activeTab=1;this.panelOpen=false;this.showRecipientDialog="";this.showCancelDialog=false;this.showReinviteDialog="";this.showUpdateDialog="";this.remindersEnabled=false;this.updatingReminders=false;this.initialReminder=null;this.followupReminders=null;this.loading=true;this.envelope=null}async componentWillLoad(){var e,i,s;try{this.endpoint.loadSession();if(!this.envelopeId){console.log(`[SIDEBAR] Missing required envelope ID ${this.envelopeId}`);return}if(!this.endpoint.session){console.log("[SIDEBAR] Unable to start session, must be authenticated");return}this.listenToEnvelope()}catch(t){console.log("[SIDEBAR] Error loading envelope",t);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new C(t.message,(i=t.response)===null||i===void 0?void 0:i.status,(s=t.response)===null||s===void 0?void 0:s.data))}}disconnectedCallback(){this.unlistenToEnvelope()}async listenToEnvelope(){console.log("[SIDEBAR] Loading envelope",this.envelopeId);this.unlistenToEnvelope();y.subscribe("envelopes",this.envelopeId,(()=>d(this.endpoint,this.envelopeId)),false,(e=>{var i,s;this.envelope=e;this.loading=false;this.sortEnvelopeRecipients();this.initialReminder=(i=this.envelope)===null||i===void 0?void 0:i.initial_reminder;this.followupReminders=(s=this.envelope)===null||s===void 0?void 0:s.followup_reminders;this.remindersEnabled=!!this.initialReminder}))}unlistenToEnvelope(){if(this.envelopeListenerId){y.store.delListener(this.envelopeListenerId);this.envelopeListenerId=null}}sortEnvelopeRecipients(){var e;(((e=this.envelope)===null||e===void 0?void 0:e.recipients)||[]).sort(((e,i)=>e.sequence===i.sequence?e.order-i.order:e.sequence-i.sequence))}setTab(e){var i;this.panelOpen=e!==this.activeTab||!this.panelOpen;(i=this.toggle)===null||i===void 0?void 0:i.emit({open:this.panelOpen});this.activeTab=e}canResendRecipient(e){var i;return!["pending","declined","submitted","canceled"].includes(e.status)&&!["complete","declined","canceled"].includes((i=this.envelope)===null||i===void 0?void 0:i.status)}handleRecipientAction(e,i){var s;console.log("[SIDEBAR] Recipient action",i,e);switch(i){case"update":this.showUpdateDialog=e.role_name;break;case"reminder":c(this.endpoint,this.envelopeId,e.role_name).then((()=>{k("Reminder Sent",{style:"success"})})).catch((e=>{console.log("[SIDEBAR] Error resending invitation",e);k("Error resending invitation: "+e.message,{style:"error"})}));break;case"reinvite":this.showReinviteDialog=e.role_name;break;case"inperson":this.showRecipientDialog=e.role_name;break;case"modify":k("This feature will be enabled in a future release. Please try again later.",{style:"info"});break;case"details":k("This feature will be enabled in a future release. Please try again later.",{style:"info"});break}(s=this.envelopeUpdated)===null||s===void 0?void 0:s.emit({endpoint:this.endpoint,envelope:this.envelope,event:i})}handleCancelEnvelope(){this.loading=true;p(this.endpoint,this.envelopeId).then((async e=>{var i;console.log("[SIDEBAR] Envelope canceled",e);k("Envelope canceled",{style:"success"});const s=JSON.parse(JSON.stringify(this.envelope));s.status="canceled";y.updateEnvelope(this.envelopeId,s);this.loading=false;this.panelOpen=false;(i=this.envelopeUpdated)===null||i===void 0?void 0:i.emit({endpoint:this.endpoint,envelope:s,event:"canceled"})})).catch((e=>{console.log("[SIDEBAR] Error canceling envelope",e);this.loading=false;k("Error canceling envelope: "+e.message,{style:"error"})}))}handleUpdateRecipient(e,i){console.log("Updating recipient",e,i);const s={};if(i.email!==e.email){s.email=i.email}if(i.phone!==e.phone){s.phone=i.phone}if(i.message!==e.message){s.message=i.message}if(i.first_name!==e.first_name){s.first_name=i.first_name}if(i.last_name!==e.last_name){s.last_name=i.last_name}if(Object.keys(s).length>0){v(this.endpoint,this.envelopeId,e.role_name,s).then((e=>{k("Recipient updated",{style:"success"});console.log("[SIDEBAR] Updated recipient",e);y.getEnvelope(this.endpoint,this.envelopeId,true);this.showUpdateDialog=""})).catch((e=>{k(e.response.data.error,{style:"error"});this.showUpdateDialog=""}))}else{this.showUpdateDialog=""}}prepareHistoryEntries(){var e,i,s,t,o,n;const r=[];const a=((e=this.envelope)===null||e===void 0?void 0:e.history_entries)||[];r.push({icon:"pencil",message:"Envelope created.",date:new Date((i=this.envelope)===null||i===void 0?void 0:i.created_at)});if(((s=this.envelope)===null||s===void 0?void 0:s.status)==="complete"){r.push({icon:"pencil",message:"Envelope completed.",date:new Date((t=this.envelope)===null||t===void 0?void 0:t.updated_at)})}const l=a.some((e=>e.event==="owner:canceled"));if(((o=this.envelope)===null||o===void 0?void 0:o.status)==="canceled"&&!l){r.push({icon:"pencil",message:"Envelope Canceled.",date:new Date((n=this.envelope)===null||n===void 0?void 0:n.canceled_at)})}a.forEach((e=>{var i;const s=(((i=this.envelope)===null||i===void 0?void 0:i.recipients)||[]).find((i=>i.role_name===e.role_name));const t=h(s);switch(e.event.toLowerCase()){case"recipient:kba_verified":r.push({icon:"key",message:`KBA verification completed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:kba_failed":r.push({icon:"keyslash",message:`KBA verification failed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:id_verified":r.push({icon:"idcard",message:`ID verification completed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:id_failed":r.push({icon:"idcardslash",message:`ID verification failed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:pin_verified":r.push({icon:"pin",message:`PIN verification completed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:pin_failed":r.push({icon:"pinslash",message:`PIN verification failed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:signed":r.push({icon:"gesture",message:`Signed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:declined":r.push({icon:"clear",message:`Declined by ${t}.`,date:new Date(e.created_at)});break;case"recipient:opened":switch(e.event_detail){case"email":case"mail":r.push({icon:"visibility",message:`Opened by ${t}, via email.`,date:new Date(e.created_at)});break;case"sms":r.push({icon:"visibility",message:`Opened by ${t}, via SMS.`,date:new Date(e.created_at)});break;case"in_person_link":r.push({icon:"visibility",message:`Opened by ${t}, via In-person link.`,date:new Date(e.created_at)});break;case"in_app":r.push({icon:"visibility",message:`Opened by ${t}, via dashboard.`,date:new Date(e.created_at)});break;default:r.push({icon:"visibility",message:`Opened by ${t}.`,date:new Date(e.created_at)})}break;case"recipient:submitted":switch(e.event_detail){case"approver":r.push({icon:"check_circle",message:`Approved by ${t}.`,date:new Date(e.created_at)});break;default:r.push({icon:"send",message:`Submitted by ${t}.`,date:new Date(e.created_at)});break}break;case"recipient:prepared":r.push({icon:"send",message:`Prepared by ${t}.`,date:new Date(e.created_at)});break;case"recipient:claimed":if(e.event_detail==="guest"){r.push({icon:"account_circle",message:`${t} claimed the Envelope as a guest.`,date:new Date(e.created_at)})}else if(e.event_detail==="profile"){r.push({icon:"verified_user",message:`${t} claimed the Envelope as a verified user.`,date:new Date(e.created_at)})}break;case"recipient:agreed":r.push({icon:"done",message:`${t} agreed to use electronic records and signatures.`,date:new Date(e.created_at)});break;case"recipient:invited":if(e.event_detail==="sms"){r.push({icon:"textsms",message:`${t} has been invited via SMS.`,date:new Date(e.created_at)})}else{r.push({icon:"mail",message:`${t} has been invited via email.`,date:new Date(e.created_at)})}break;case"recipient:reminder":if(e.event_detail==="sms"){r.push({icon:"textsms",message:`${t} sent a reminder via SMS.`,date:new Date(e.created_at)})}else{r.push({icon:"mail",message:`${t} sent a reminder via email.`,date:new Date(e.created_at)})}break;case"invitation:resent":r.push({icon:"mail",message:`Invitation was resent to ${t}${e.event_detail==="reminder"?" by reminder":""}.`,date:new Date(e.created_at)});break;case"envelope:cc":r.push({icon:"contact_mail",message:`A copy has been sent to ${t}.`,date:new Date(e.created_at)});break;case"recipient:delegated":r.push({icon:"people",message:e.event_detail,date:new Date(e.created_at)});break;case"recipient:updated_info":r.push({icon:"perm_identity",message:e.event_detail,date:new Date(e.created_at)});break;case"owner:updated_recipient_info":r.push({icon:"perm_identity",message:e.event_detail,date:new Date(e.created_at)});break;case"created":r.push({icon:"create",message:`Envelope was created.`,date:new Date(e.created_at)});break;case"completed":r.push({icon:"done_all",message:`Envelope was completed.`,date:new Date(e.created_at)});break;case"envelope:canceled":case"envelope_canceled":case"canceled":case"owner:canceled":r.push({icon:"cancel",message:`Envelope was canceled by the creator.`,date:new Date(e.created_at)});break;case"envelope:expired":r.push({icon:"cancel",message:`Envelope expired.`,date:new Date(e.created_at)});break;case"owner:get_in_person_link":r.push({icon:"link",message:`Owner accessed the In-person link for ${s}.`,date:new Date(e.created_at)});break;default:console.log("[SIDEBAR] Unknown history type",e);break}}));r.sort(((e,i)=>i.date.getTime()-e.date.getTime()));return r}handleToggleReminders(){if(this.remindersEnabled){return this.handleSetReminders(null,null)}else{return this.handleSetReminders(_,3*_)}}handleSetReminders(e,i){console.log("Updating reminders...");this.updatingReminders=true;m(this.endpoint,this.envelopeId,{initial_reminder:e,followup_reminders:i}).then((e=>{console.log("Updated",e);y.updateEnvelope(this.envelopeId,e);this.initialReminder=e.initial_reminder;this.followupReminders=e.followup_reminders;this.remindersEnabled=!!e.initial_reminder;this.updatingReminders=false})).catch((e=>{var i,s,t;console.log("Error updating envelope",e);this.initialReminder=(i=this.envelope)===null||i===void 0?void 0:i.initial_reminder;this.followupReminders=(s=this.envelope)===null||s===void 0?void 0:s.followup_reminders;this.remindersEnabled=!!((t=this.envelope)===null||t===void 0?void 0:t.initial_reminder);this.updatingReminders=false;k(e.response.data.error,{style:"error"})}))}render(){var e,i,s,r,l,d,c,p,v,m,C,y;if(this.loading){return t(n,null)}const z=w(this.endpoint.profile,this.envelope);const M=this.prepareHistoryEntries();const D=((e=this.envelope)===null||e===void 0?void 0:e.status)!=="pending"&&((i=this.envelope)===null||i===void 0?void 0:i.status)!=="in progress";const E=g(this.envelope);return t(n,{class:this.panelOpen?"open":""},t("div",{class:"side-buttons"},t("button",{class:this.activeTab===1?"active":"",onClick:()=>this.setTab(1),innerHTML:I}),t("button",{class:this.activeTab===2?"active":"",onClick:()=>this.setTab(2),innerHTML:$}),t("button",{class:this.activeTab===3?"active":"",onClick:()=>this.setTab(3),innerHTML:A})),this.activeTab===1&&t("div",{class:"content"},t("div",{class:"title"},"Details"),t("div",{class:"label"},"Envelope ID"),t("div",{class:"value"},(s=this.envelope)===null||s===void 0?void 0:s.id),t("div",{class:"label"},"Date Created"),t("div",{class:"value"},a.format(new Date((r=this.envelope)===null||r===void 0?void 0:r.created_at),x)),t("div",{class:"label"},"Last Modified"),t("div",{class:"value"},a.format(new Date((l=this.envelope)===null||l===void 0?void 0:l.updated_at),x)),t("div",{class:"label"},"Status"),t("div",{class:"value"},u((d=this.envelope)===null||d===void 0?void 0:d.status)),t("div",{class:"label"},"Owner ID"),t("div",{class:"value"},(c=this.envelope)===null||c===void 0?void 0:c.profile_id),t("div",{class:"label"},"Owner Name"),t("div",{class:"value"},h((p=this.envelope)===null||p===void 0?void 0:p.profile)),t("div",{class:"label"},"Owner Email"),t("div",{class:"value"},(m=(v=this.envelope)===null||v===void 0?void 0:v.profile)===null||m===void 0?void 0:m.email)),this.activeTab===2&&t("div",{class:"content"},t("div",{class:"title"},"Recipients"),(C=this.envelope)===null||C===void 0?void 0:C.recipients.map(((e,i)=>{const s=b(e,E);const o=e.status!=="submitted";const n=this.canResendRecipient(e);const r=h(e);return t("div",{class:"recipient-detail"},t("div",{class:"recipient-header"},t("div",{class:"recipient-number"},i+1),t("div",{class:"recipient-name"},e.role_name.replace("delegated_to_","Delegated")),t("div",{class:{"recipient-status":true,[e.status]:true}},e.status),z&&!D&&t("verdocs-dropdown",{onOptionSelected:i=>this.handleRecipientAction(e,i.detail.id),options:[{id:"update",label:"Update",disabled:!o},{id:"reminder",label:"Send Reminder",disabled:!n},{id:"inperson",label:"Get In-Person Link",disabled:!s},{id:"reinvite",label:"Re-invite",disabled:!n}]})),t("dic",{class:"recipient-content"},t("div",{class:"recipient-name"},r),t("div",{class:"recipient-email"},e.email),t("div",{class:"recipient-phone"},e.phone)))})),z&&t("div",{class:"reminders"},t("div",{class:"form-row"},t("div",{class:"reminders-label"},"Reminders"),t("verdocs-switch",{disabled:D||this.updatingReminders,checked:this.remindersEnabled,onCheckedChange:()=>this.handleToggleReminders()})),this.remindersEnabled&&t(o,null,t("div",{class:"form-row"},"NOTE: Reminders will only be sent for up to 14 days."),t("div",{class:"form-row"},t("div",{class:"form-label"},"Initial Reminder (days):"),t("verdocs-text-input",{placeholder:"In hours...",disabled:D||this.updatingReminders,value:String(Math.floor(this.initialReminder/_)),onBlur:e=>{this.initialReminder=Number(e.target.value)*_;this.handleSetReminders(this.initialReminder,this.followupReminders)}})),t("div",{class:"form-row"},t("div",{class:"form-label"},"Follow-up Reminders:"),t("verdocs-text-input",{placeholder:"In hours...",disabled:D||this.updatingReminders,value:String(Math.floor(this.followupReminders/_)),onBlur:e=>{this.followupReminders=Number(e.target.value)*_;this.handleSetReminders(this.initialReminder,this.followupReminders)}})),t("div",{class:"form-row"},t("div",{class:"form-label"},"Next Reminder:"),t("div",{style:{color:"#dddddd"}},a.format(new Date((y=this.envelope)===null||y===void 0?void 0:y.next_reminder),"P p"))))),z&&t("verdocs-button",{class:"manage-recipients-button",variant:"standard",label:"Cancel Envelope",onClick:()=>this.showCancelDialog=!D,disabled:D})),this.activeTab===3&&t("div",{class:"content"},t("div",{class:"title"},"History"),M.map((e=>t("div",{class:"history-entry"},t("div",{class:"activity-icon",innerHTML:O[e.icon]||e.icon}),t("div",{class:"activity-details"},t("div",{class:"activity-text"},e.message),t("div",{class:"activity-date"},a.format(e.date,x))))))),this.showRecipientDialog&&t("verdocs-envelope-recipient-link",{envelopeId:this.envelopeId,roleName:this.showRecipientDialog,onNext:()=>this.showRecipientDialog=""}),this.showCancelDialog&&t("verdocs-ok-dialog",{heading:"Cancel Envelope?",message:"Are you sure you want to cancel this Envelope? This action cannot be undone.",onNext:()=>{this.showCancelDialog=false;this.handleCancelEnvelope()}}),this.showReinviteDialog&&t("verdocs-ok-dialog",{heading:"Re-invite Recipient?",message:'This will reset the recipient\'s KBA status and send a new signing invitation. If you just want to send a reminder, please click "Send Reminder" instead.',onNext:()=>{f(this.endpoint,this.envelopeId,this.showReinviteDialog).then((()=>{k("Recipient Reset",{style:"success"});this.showReinviteDialog=""})).catch((e=>{console.log("[SIDEBAR] Error resetting recipient",e);k("Error resetting recipient: "+e.message,{style:"error"});this.showReinviteDialog=""}))}}),this.showUpdateDialog&&t("verdocs-envelope-update-recipient",{envelopeId:this.envelopeId,roleName:this.showUpdateDialog,onNext:e=>{console.log("next",e.detail);if(e.detail.action==="save"){this.handleUpdateRecipient(e.detail.originalRecipient,e.detail.updatedRecipient)}else{this.showUpdateDialog=""}}}))}static get style(){return L()}},[0,"verdocs-envelope-sidebar",{endpoint:[16],envelopeId:[1,"envelope-id"],activeTab:[32],panelOpen:[32],showRecipientDialog:[32],showCancelDialog:[32],showReinviteDialog:[32],showUpdateDialog:[32],remindersEnabled:[32],updatingReminders:[32],initialReminder:[32],followupReminders:[32],loading:[32],envelope:[32]}]);function T(){if(typeof customElements==="undefined"){return}const e=["verdocs-envelope-sidebar","verdocs-button","verdocs-dialog","verdocs-dropdown","verdocs-envelope-recipient-link","verdocs-envelope-update-recipient","verdocs-help-icon","verdocs-ok-dialog","verdocs-portal","verdocs-switch","verdocs-text-input"];e.forEach((e=>{switch(e){case"verdocs-envelope-sidebar":if(!customElements.get(r(e))){customElements.define(r(e),N)}break;case"verdocs-button":if(!customElements.get(r(e))){z()}break;case"verdocs-dialog":if(!customElements.get(r(e))){M()}break;case"verdocs-dropdown":if(!customElements.get(r(e))){D()}break;case"verdocs-envelope-recipient-link":if(!customElements.get(r(e))){E()}break;case"verdocs-envelope-update-recipient":if(!customElements.get(r(e))){B()}break;case"verdocs-help-icon":if(!customElements.get(r(e))){V()}break;case"verdocs-ok-dialog":if(!customElements.get(r(e))){j()}break;case"verdocs-portal":if(!customElements.get(r(e))){H()}break;case"verdocs-switch":if(!customElements.get(r(e))){R()}break;case"verdocs-text-input":if(!customElements.get(r(e))){S()}break}}))}const U=N;const Z=T;export{U as VerdocsEnvelopeSidebar,Z as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-envelope-sidebar.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as o,d as s}from"./p-
|
|
1
|
+
import{V as o,d as s}from"./p-eg4Uf0xS.js";const t=o;const p=s;export{t as VerdocsEnvelopeUpdateRecipient,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-envelope-update-recipient.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,H as s,c as t,h as i,d as a,t as o}from"./p-yZBlG3YQ.js";import{VerdocsEndpoint as l,getEnvelopes as n,integerSequence as d,getRecipientsWithActions as r,userCanCancelEnvelope as c,userCanAct as p,formatFullName as v,cancelEnvelope as h}from"@verdocs/js-sdk";import{s as f}from"./p-BCwFpXpV.js";import{V as m}from"./p-D97GxsI-.js";import{S as u}from"./p-C1sRVZWv.js";import{d as x}from"./p-C0SHIuoK.js";import{d as b}from"./p-DVx4efoX.js";import{d as w}from"./p-D17kbVUt.js";import{d as g}from"./p-D9yawpPk.js";import{d as k}from"./p-CxIhMndz.js";import{d as y}from"./p-BD2vHbCJ.js";import{d as E}from"./p-CIgqf7hj.js";import{d as S}from"./p-CVjehb2X.js";import{d as C}from"./p-CoeB7U-_.js";import{d as V}from"./p-C1iHkDUH.js";import{d as j}from"./p-BMGs9CCD.js";const P=()=>`verdocs-envelopes-list{display:-ms-flexbox;display:flex;padding:10px;font-size:18px;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-radius:6px;color:#33364b;-ms-flex-direction:column;flex-direction:column;font-family:"Inter", "Barlow", sans-serif}@media screen and (max-width: 800px){verdocs-envelopes-list{font-size:14px}}verdocs-envelopes-list .envelope-placeholder{height:48px;-ms-flex:0 0 48px;flex:0 0 48px;margin:5px 0;border-radius:5px;background:#f5f5fa}verdocs-envelopes-list .header{width:100%;row-gap:4px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-column-gap:12px;-moz-column-gap:12px;column-gap:12px;margin:0 0 10px 0;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-envelopes-list .header .filter{width:300px}verdocs-envelopes-list .header verdocs-text-input{margin:0}verdocs-envelopes-list .header verdocs-text-input input{height:32px}verdocs-envelopes-list .filter{-ms-flex-align:center;align-items:center}verdocs-envelopes-list .envelope{width:100%;margin:3px 0;background:#ffffff}verdocs-envelopes-list .envelope:hover{cursor:pointer;background:#f5f5fa}verdocs-envelopes-list .envelope .inner{gap:12px;display:-ms-flexbox;display:flex;padding:8px 14px;border-radius:5px;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;container-type:inline-size}verdocs-envelopes-list .envelope .inner svg{width:24px;height:24px}verdocs-envelopes-list .vert-spacer{height:50px;display:-ms-flexbox;display:flex;-ms-flex:0 0 1px;flex:0 0 1px;border-right:1px solid #dad8dd}@media screen and (max-width: 800px){verdocs-envelopes-list .vert-spacer{display:none}}@media screen and (max-width: 800px){verdocs-envelopes-list .envelope-icon{display:none}}@media screen and (max-width: 800px){verdocs-envelopes-list verdocs-checkbox{display:none}}verdocs-envelopes-list .last-modified{color:#444;display:-ms-flexbox;display:flex;-ms-flex:0 0 180px;flex:0 0 180px;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;white-space:nowrap}@media screen and (max-width: 800px){verdocs-envelopes-list .last-modified{display:none}}verdocs-envelopes-list .envelope-name{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;color:#000000;line-height:28px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}verdocs-envelopes-list .envelope-recipients{color:#4b5563;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}verdocs-envelopes-list .empty-text{text-align:center;margin:16px 0 0 0;padding:80px 80px;border:2px solid #ccc}verdocs-envelopes-list .containing{gap:12px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}@media screen and (max-width: 800px){verdocs-envelopes-list verdocs-status-indicator{font-size:14px}}`;const U=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="#000000" viewBox="0 0 24 24" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 002.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 00-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25zM6.75 12h.008v.008H6.75V12zm0 3h.008v.008H6.75V15zm0 3h.008v.008H6.75V18z" /></svg>`;const D=[{value:"all",label:"All"},{value:"inbox",label:"Inbox"},{value:"sent",label:"Sent"},{value:"completed",label:"Completed"},{value:"action",label:"Action Required"},{value:"waiting",label:"Waiting on Others"}];const H=[{value:"all",label:"All"},{value:"pending",label:"Pending"},{value:"in progress",label:"In Progress"},{value:"complete",label:"Completed"},{value:"declined",label:"Declined"},{value:"canceled",label:"Canceled"}];const z=[{value:"created_at",label:"Created"},{value:"updated_at",label:"Updated"},{value:"canceled_at",label:"Canceled"},{value:"envelope_name",label:"Name"},{value:"envelope_status",label:"Status"}];const M=e(class e extends s{constructor(e){super();if(e!==false){this.__registerHost()}this.changeView=t(this,"changeView");this.changeStatus=t(this,"changeStatus");this.changeSort=t(this,"changeSort");this.changeMatch=t(this,"changeMatch");this.sdkError=t(this,"sdkError");this.viewEnvelope=t(this,"viewEnvelope");this.finishEnvelope=t(this,"finishEnvelope");this.endpoint=l.getDefault();this.view=undefined;this.status="all";this.sort="created_at";this.match="";this.showPagination=true;this.rowsPerPage=10;this.selectedPage=0;this.count=0;this.initiallyLoaded=false;this.loading=true;this.selectedEnvelopes=[];this.envelopes=[]}handleViewUpdated(){return this.queryEnvelopes()}handleStatusUpdated(){return this.queryEnvelopes()}handleSortUpdated(){return this.queryEnvelopes()}handleMatchUpdated(){return this.queryEnvelopes()}handlePageUpdated(){return this.queryEnvelopes()}componentWillLoad(){this.endpoint.onSessionChanged(((e,s,t)=>{console.log("[ENVELOPES_LIST] onSessionChanged",s,t)}));this.endpoint.loadSession()}async componentDidLoad(){await this.queryEnvelopes();this.initiallyLoaded=true}async queryEnvelopes(){var e,s,t;try{this.loading=true;let e={page:this.selectedPage,rows:this.rowsPerPage};switch(this.view){case"all":e={...e,status:this.status==="all"?["pending","in progress","complete","declined","canceled"]:[this.status]};break;case"inbox":e={...e};break;case"sent":e={...e};break;case"action":e={...e,status:["pending","in progress"]};break;case"waiting":e={...e,status:["pending","in progress"]};break;case"completed":e={...e,status:["complete"]};break;default:e={...e,status:this.status==="all"?["pending","in progress","complete","declined","canceled"]:[this.status]}}if(this.view==="all"){if(this.status!=="all"){e.status=[this.status]}}if(this.match.trim());const s=await n(this.endpoint,e);this.envelopes=s.envelopes;this.count=s.count;this.loading=false}catch(i){this.loading=false;console.log("[ENVELOPES] Error listing envelopes",i);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new u(i.message,(s=i.response)===null||s===void 0?void 0:s.status,(t=i.response)===null||t===void 0?void 0:t.data))}}handleDownload(){f(this.endpoint,this.selectedEnvelopes).then((()=>{this.selectedEnvelopes=[]})).catch((e=>{console.log("[ENVELOPES] Download error",e);m("Download error: "+e.message,{style:"error"})}))}downloadEnvelope(e){f(this.endpoint,[e]).catch((e=>{console.log("[ENVELOPES] Download error",e);m("Download error: "+e.message,{style:"error"})}))}render(){return i(a,{key:"fb5fc11c18997ded54acd749784a52ad772c0b19"},i("div",{key:"458b115c96614a9c9c9c34bbf07b51387ff3eea9",class:"header"},i("div",{key:"0faaf795ba54424f396372751043e23ae0b1aa99",class:"filter"},i("verdocs-text-input",{key:"7c13defc25a6b39d4dd5280292c54cb23077102a",id:"verdocs-filter-name",value:this.match,clearable:true,autocomplete:"off",placeholder:"Filter by Name, Recipient, or Field...",onFocusout:e=>{var s;this.match=e.target.value.trim();(s=this.changeMatch)===null||s===void 0?void 0:s.emit(this.match)}})),i("verdocs-quick-filter",{key:"93f37d059ca898d1247d700b7a1374a160d23d10",label:"View",value:this.view,options:D,onOptionSelected:e=>{this.view=e.detail.value}}),this.view==="all"&&i("verdocs-quick-filter",{key:"3bed5e69a1625d8c571e78e7e9fa26727962e8d7",label:"Status",value:this.status,options:H,onOptionSelected:e=>{this.status=e.detail.value}}),this.view==="all"&&i("verdocs-quick-filter",{key:"f2d1b55b0ab1e57f7d923ed4d64d4ce1d421b6bc",label:"Sort By",value:this.sort,options:z,onOptionSelected:e=>{this.sort=e.detail.value}}),this.loading&&i("verdocs-spinner",{key:"e36f23e1a028ec1aa34501e6f2b4537357115ac9",mode:"dark",size:24}),i("div",{key:"ee030ffd3f87e1c38879fd16b54c4994b91a25e4",style:{display:"flex",flex:"1"}}),this.selectedEnvelopes.length>0&&i("verdocs-button",{key:"8dc303a71431c6a49370036434fb9fc5c8519d06",label:`Download (${this.selectedEnvelopes.length})`,onClick:()=>this.handleDownload()})),this.envelopes.map((e=>{var s;const t=r(e);const a=c(this.endpoint.profile,e);const o=t.find((e=>{var s;return e.email===((s=this.endpoint.session)===null||s===void 0?void 0:s.email)||""}));const l=o&&a&&p(((s=this.endpoint.session)===null||s===void 0?void 0:s.email)||"",t);const n=[{label:"View Envelope",id:"view"},{label:"Finish Envelope",id:"finish",disabled:!l},{label:"Download",id:"download"},{label:"Cancel",id:"cancel",disabled:!a}];return i("div",{class:"envelope",key:e.id,onClick:()=>{var s;return(s=this.viewEnvelope)===null||s===void 0?void 0:s.emit({endpoint:this.endpoint,envelope:e})}},i("div",{class:"inner"},i("verdocs-checkbox",{checked:this.selectedEnvelopes.findIndex((s=>s.id===e.id))!==-1,onClick:e=>e.stopPropagation(),onInput:s=>{if(s.target.checked){this.selectedEnvelopes=[...this.selectedEnvelopes,e]}else{this.selectedEnvelopes=this.selectedEnvelopes.filter((s=>s.id!==e.id))}}}),i("div",{class:"vert-spacer"}),i("span",{innerHTML:U,class:"envelope-icon"}),i("div",{class:"envelope-name"},e.name,": ",i("div",{class:"envelope-recipients"},e.recipients.map((e=>v(e))))),i("div",{class:"vert-spacer"}),i("verdocs-status-indicator",{envelope:e,style:{width:"125px"}}),i("div",{class:"vert-spacer"}),i("div",{class:"last-modified"},new Date(e.updated_at).toLocaleString()),i("div",{class:"vert-spacer"}),i("verdocs-dropdown",{options:n,onOptionSelected:s=>{var t,i;switch(s.detail.id){case"view":(t=this.viewEnvelope)===null||t===void 0?void 0:t.emit({endpoint:this.endpoint,envelope:e});break;case"finish":(i=this.finishEnvelope)===null||i===void 0?void 0:i.emit({endpoint:this.endpoint,envelope:e});break;case"download":this.downloadEnvelope(e);break;case"cancel":if(window.confirm("Are you sure you want to cancel this envelope?")){h(this.endpoint,e.id).then((()=>m("Envelope canceled"))).catch((e=>m("Unable to cancel envelope: "+e.messabge,{style:"error"})));this.queryEnvelopes().catch((()=>{}))}break}}})))})),!this.initiallyLoaded&&i("div",{key:"a7a469eb18e834fb8bb854e156f0b62d2c3cd13a",style:{width:"100%"}},d(0,this.rowsPerPage).map((()=>i("div",{class:"envelope-placeholder"})))),this.initiallyLoaded&&!this.envelopes.length&&i("div",{key:"91cb817669da6aaf629e24393edfdc2ea4de6091",class:"empty-text"},"No matching envelopes found. Please adjust your filters and try again."),this.initiallyLoaded&&this.envelopes.length&&this.showPagination?i("div",{style:{marginTop:"20px"}},i("verdocs-pagination",{selectedPage:this.selectedPage,perPage:this.rowsPerPage,itemCount:this.count,onSelectPage:e=>{this.selectedPage=e.detail.selectedPage}})):i("div",null))}static get watchers(){return{view:[{handleViewUpdated:0}],status:[{handleStatusUpdated:0}],sort:[{handleSortUpdated:0}],match:[{handleMatchUpdated:0}],selectedPage:[{handlePageUpdated:0}]}}static get style(){return P()}},[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]},undefined,{view:[{handleViewUpdated:0}],status:[{handleStatusUpdated:0}],sort:[{handleSortUpdated:0}],match:[{handleMatchUpdated:0}],selectedPage:[{handlePageUpdated:0}]}]);function I(){if(typeof customElements==="undefined"){return}const e=["verdocs-envelopes-list","verdocs-button","verdocs-checkbox","verdocs-dropdown","verdocs-flag","verdocs-help-icon","verdocs-pagination","verdocs-portal","verdocs-quick-filter","verdocs-spinner","verdocs-status-indicator","verdocs-text-input"];e.forEach((e=>{switch(e){case"verdocs-envelopes-list":if(!customElements.get(o(e))){customElements.define(o(e),M)}break;case"verdocs-button":if(!customElements.get(o(e))){x()}break;case"verdocs-checkbox":if(!customElements.get(o(e))){b()}break;case"verdocs-dropdown":if(!customElements.get(o(e))){w()}break;case"verdocs-flag":if(!customElements.get(o(e))){g()}break;case"verdocs-help-icon":if(!customElements.get(o(e))){k()}break;case"verdocs-pagination":if(!customElements.get(o(e))){y()}break;case"verdocs-portal":if(!customElements.get(o(e))){E()}break;case"verdocs-quick-filter":if(!customElements.get(o(e))){S()}break;case"verdocs-spinner":if(!customElements.get(o(e))){C()}break;case"verdocs-status-indicator":if(!customElements.get(o(e))){V()}break;case"verdocs-text-input":if(!customElements.get(o(e))){j()}break}}))}const L=M;const O=I;export{L as VerdocsEnvelopesList,O as defineCustomElement};
|
|
1
|
+
import{p as e,H as s,c as t,h as i,d as a,t as l}from"./p-yZBlG3YQ.js";import{VerdocsEndpoint as o,getEnvelopes as n,integerSequence as d,getRecipientsWithActions as r,userCanCancelEnvelope as c,userCanAct as p,formatFullName as v,cancelEnvelope as h}from"@verdocs/js-sdk";import{s as f}from"./p-BCwFpXpV.js";import{V as m}from"./p-D97GxsI-.js";import{S as u}from"./p-C1sRVZWv.js";import{d as x}from"./p-Bb5V9TQx.js";import{d as b}from"./p-DGNIsXfr.js";import{d as w}from"./p-D4wfy1ym.js";import{d as g}from"./p-C8yiLtCJ.js";import{d as k}from"./p-DHzSlpJw.js";import{d as y}from"./p-Q-li_kJ_.js";import{d as E}from"./p-DhOuB4nS.js";import{d as S}from"./p-DTG2X1A2.js";import{d as P}from"./p-DreV6Npp.js";import{d as V}from"./p-gPd3OG7X.js";import{d as j}from"./p-PfdIkMoz.js";const D=()=>`verdocs-envelopes-list{display:-ms-flexbox;display:flex;padding:10px;font-size:18px;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-radius:6px;color:#33364b;-ms-flex-direction:column;flex-direction:column;font-family:"Inter", "Barlow", sans-serif}@media screen and (max-width: 800px){verdocs-envelopes-list{font-size:14px}}verdocs-envelopes-list .envelope-placeholder{height:48px;-ms-flex:0 0 48px;flex:0 0 48px;margin:5px 0;border-radius:5px;background:#f5f5fa}verdocs-envelopes-list .header{width:100%;row-gap:4px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-column-gap:12px;-moz-column-gap:12px;column-gap:12px;margin:0 0 10px 0;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-envelopes-list .header .filter{width:300px}verdocs-envelopes-list .header verdocs-text-input{margin:0}verdocs-envelopes-list .header verdocs-text-input input{height:32px}verdocs-envelopes-list .filter{-ms-flex-align:center;align-items:center}verdocs-envelopes-list .envelope{width:100%;margin:3px 0;background:#ffffff}verdocs-envelopes-list .envelope:hover{cursor:pointer;background:#f5f5fa}verdocs-envelopes-list .envelope .inner{gap:12px;display:-ms-flexbox;display:flex;padding:8px 14px;border-radius:5px;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;container-type:inline-size}verdocs-envelopes-list .envelope .inner svg{width:24px;height:24px}verdocs-envelopes-list .vert-spacer{height:50px;display:-ms-flexbox;display:flex;-ms-flex:0 0 1px;flex:0 0 1px;border-right:1px solid #dad8dd}@media screen and (max-width: 800px){verdocs-envelopes-list .vert-spacer{display:none}}@media screen and (max-width: 800px){verdocs-envelopes-list .envelope-icon{display:none}}@media screen and (max-width: 800px){verdocs-envelopes-list verdocs-checkbox{display:none}}verdocs-envelopes-list .last-modified{color:#444;display:-ms-flexbox;display:flex;-ms-flex:0 0 180px;flex:0 0 180px;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;white-space:nowrap}@media screen and (max-width: 800px){verdocs-envelopes-list .last-modified{display:none}}verdocs-envelopes-list .envelope-name{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;color:#000000;line-height:28px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}verdocs-envelopes-list .envelope-recipients{color:#4b5563;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}verdocs-envelopes-list .empty-text{text-align:center;margin:16px 0 0 0;padding:80px 80px;border:2px solid #ccc}verdocs-envelopes-list .containing{gap:12px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}@media screen and (max-width: 800px){verdocs-envelopes-list verdocs-status-indicator{font-size:14px}}`;const U=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="#000000" viewBox="0 0 24 24" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 002.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 00-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25zM6.75 12h.008v.008H6.75V12zm0 3h.008v.008H6.75V15zm0 3h.008v.008H6.75V18z" /></svg>`;const C=[{value:"all",label:"All"},{value:"inbox",label:"Inbox"},{value:"sent",label:"Sent"},{value:"completed",label:"Completed"},{value:"action",label:"Action Required"},{value:"waiting",label:"Waiting on Others"}];const z=[{value:"all",label:"All"},{value:"pending",label:"Pending"},{value:"in progress",label:"In Progress"},{value:"complete",label:"Completed"},{value:"declined",label:"Declined"},{value:"canceled",label:"Canceled"}];const O=[{value:"created_at",label:"Created"},{value:"updated_at",label:"Updated"},{value:"canceled_at",label:"Canceled"},{value:"envelope_name",label:"Name"},{value:"envelope_status",label:"Status"}];const L=e(class e extends s{constructor(e){super();if(e!==false){this.__registerHost()}this.changeView=t(this,"changeView");this.changeStatus=t(this,"changeStatus");this.changeSort=t(this,"changeSort");this.changeMatch=t(this,"changeMatch");this.sdkError=t(this,"sdkError");this.viewEnvelope=t(this,"viewEnvelope");this.finishEnvelope=t(this,"finishEnvelope");this.endpoint=o.getDefault();this.view=undefined;this.status="all";this.sort="created_at";this.match="";this.showPagination=true;this.rowsPerPage=10;this.selectedPage=0;this.count=0;this.initiallyLoaded=false;this.loading=true;this.selectedEnvelopes=[];this.envelopes=[]}handleViewUpdated(){return this.queryEnvelopes()}handleStatusUpdated(){return this.queryEnvelopes()}handleSortUpdated(){return this.queryEnvelopes()}handleMatchUpdated(){return this.queryEnvelopes()}handlePageUpdated(){return this.queryEnvelopes()}componentWillLoad(){this.endpoint.onSessionChanged(((e,s,t)=>{console.log("[ENVELOPES_LIST] onSessionChanged",s,t)}));this.endpoint.loadSession()}async componentDidLoad(){await this.queryEnvelopes();this.initiallyLoaded=true}async queryEnvelopes(){var e,s,t;try{this.loading=true;let e={page:this.selectedPage,rows:this.rowsPerPage};switch(this.view){case"all":e={...e,status:this.status==="all"?["pending","in progress","complete","declined","canceled"]:[this.status]};break;case"inbox":e={...e};break;case"sent":e={...e};break;case"action":e={...e,status:["pending","in progress"]};break;case"waiting":e={...e,status:["pending","in progress"]};break;case"completed":e={...e,status:["complete"]};break;default:e={...e,status:this.status==="all"?["pending","in progress","complete","declined","canceled"]:[this.status]}}if(this.view==="all"){if(this.status!=="all"){e.status=[this.status]}}if(this.match.trim());const s=await n(this.endpoint,e);this.envelopes=s.envelopes;this.count=s.count;this.loading=false}catch(i){this.loading=false;console.log("[ENVELOPES] Error listing envelopes",i);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new u(i.message,(s=i.response)===null||s===void 0?void 0:s.status,(t=i.response)===null||t===void 0?void 0:t.data))}}handleDownload(){f(this.endpoint,this.selectedEnvelopes).then((()=>{this.selectedEnvelopes=[]})).catch((e=>{console.log("[ENVELOPES] Download error",e);m("Download error: "+e.message,{style:"error"})}))}downloadEnvelope(e){f(this.endpoint,[e]).catch((e=>{console.log("[ENVELOPES] Download error",e);m("Download error: "+e.message,{style:"error"})}))}render(){return i(a,{key:"461bb47330c34085183ba8a6d5a53769a568fe2c"},i("div",{key:"d19f4b14c54231a4115033a6cdfc7eb5108970eb",class:"header"},i("div",{key:"7b34383202af7753ac3cf752aac8392d226d2a90",class:"filter"},i("verdocs-text-input",{key:"d5f06553bcecaed00a35bbee7927332a6f68070c",id:"verdocs-filter-name",value:this.match,clearable:true,autocomplete:"off",placeholder:"Filter by Name, Recipient, or Field...",onFocusout:e=>{var s;this.match=e.target.value.trim();(s=this.changeMatch)===null||s===void 0?void 0:s.emit(this.match)}})),i("verdocs-quick-filter",{key:"99bbd5506321bdf5a845c27e0d0537cce7b3d880",label:"View",value:this.view,options:C,onOptionSelected:e=>{this.view=e.detail.value}}),this.view==="all"&&i("verdocs-quick-filter",{key:"fdc219197bee7bf34e5d3d5a37ba531e67dce9bc",label:"Status",value:this.status,options:z,onOptionSelected:e=>{this.status=e.detail.value}}),this.view==="all"&&i("verdocs-quick-filter",{key:"7a963b621bf0f98717f7f51e3bb830740a4ffdf4",label:"Sort By",value:this.sort,options:O,onOptionSelected:e=>{this.sort=e.detail.value}}),this.loading&&i("verdocs-spinner",{key:"5f7a1d741ecfc80d1b32b5ae323c2b8ec70f6ec5",mode:"dark",size:24}),i("div",{key:"86540858502cdadc09581db4e62f76d60c9faae3",style:{display:"flex",flex:"1"}}),this.selectedEnvelopes.length>0&&i("verdocs-button",{key:"73328a3668371bdabeb79aaeb2e388621aaa3544",label:`Download (${this.selectedEnvelopes.length})`,onClick:()=>this.handleDownload()})),this.envelopes.map((e=>{var s;const t=r(e);const a=c(this.endpoint.profile,e);const l=t.find((e=>{var s;return e.email===((s=this.endpoint.session)===null||s===void 0?void 0:s.email)||""}));const o=l&&a&&p(((s=this.endpoint.session)===null||s===void 0?void 0:s.email)||"",t);const n=[{label:"View Envelope",id:"view"},{label:"Finish Envelope",id:"finish",disabled:!o},{label:"Download",id:"download"},{label:"Cancel",id:"cancel",disabled:!a}];return i("div",{class:"envelope",key:e.id,onClick:()=>{var s;return(s=this.viewEnvelope)===null||s===void 0?void 0:s.emit({endpoint:this.endpoint,envelope:e})}},i("div",{class:"inner"},i("verdocs-checkbox",{checked:this.selectedEnvelopes.findIndex((s=>s.id===e.id))!==-1,onClick:e=>e.stopPropagation(),onInput:s=>{if(s.target.checked){this.selectedEnvelopes=[...this.selectedEnvelopes,e]}else{this.selectedEnvelopes=this.selectedEnvelopes.filter((s=>s.id!==e.id))}}}),i("div",{class:"vert-spacer"}),i("span",{innerHTML:U,class:"envelope-icon"}),i("div",{class:"envelope-name"},e.name,": ",i("div",{class:"envelope-recipients"},e.recipients.map((e=>v(e))))),i("div",{class:"vert-spacer"}),i("verdocs-status-indicator",{envelope:e,style:{width:"125px"}}),i("div",{class:"vert-spacer"}),i("div",{class:"last-modified"},new Date(e.updated_at).toLocaleString()),i("div",{class:"vert-spacer"}),i("verdocs-dropdown",{options:n,onOptionSelected:s=>{var t,i;switch(s.detail.id){case"view":(t=this.viewEnvelope)===null||t===void 0?void 0:t.emit({endpoint:this.endpoint,envelope:e});break;case"finish":(i=this.finishEnvelope)===null||i===void 0?void 0:i.emit({endpoint:this.endpoint,envelope:e});break;case"download":this.downloadEnvelope(e);break;case"cancel":if(window.confirm("Are you sure you want to cancel this envelope?")){h(this.endpoint,e.id).then((()=>m("Envelope canceled"))).catch((e=>m("Unable to cancel envelope: "+e.messabge,{style:"error"})));this.queryEnvelopes().catch((()=>{}))}break}}})))})),!this.initiallyLoaded&&i("div",{key:"51bf5804963fa820d9e32532df38e318162f5db8",style:{width:"100%"}},d(0,this.rowsPerPage).map((()=>i("div",{class:"envelope-placeholder"})))),this.initiallyLoaded&&!this.envelopes.length&&i("div",{key:"2e288350fb0b80e6e5214422750e15435ec8264e",class:"empty-text"},"No matching envelopes found. Please adjust your filters and try again."),this.initiallyLoaded&&this.envelopes.length&&this.showPagination?i("div",{style:{marginTop:"20px"}},i("verdocs-pagination",{selectedPage:this.selectedPage,perPage:this.rowsPerPage,itemCount:this.count,onSelectPage:e=>{this.selectedPage=e.detail.selectedPage}})):i("div",null))}static get watchers(){return{view:[{handleViewUpdated:0}],status:[{handleStatusUpdated:0}],sort:[{handleSortUpdated:0}],match:[{handleMatchUpdated:0}],selectedPage:[{handlePageUpdated:0}]}}static get style(){return D()}},[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]},undefined,{view:[{handleViewUpdated:0}],status:[{handleStatusUpdated:0}],sort:[{handleSortUpdated:0}],match:[{handleMatchUpdated:0}],selectedPage:[{handlePageUpdated:0}]}]);function M(){if(typeof customElements==="undefined"){return}const e=["verdocs-envelopes-list","verdocs-button","verdocs-checkbox","verdocs-dropdown","verdocs-flag","verdocs-help-icon","verdocs-pagination","verdocs-portal","verdocs-quick-filter","verdocs-spinner","verdocs-status-indicator","verdocs-text-input"];e.forEach((e=>{switch(e){case"verdocs-envelopes-list":if(!customElements.get(l(e))){customElements.define(l(e),L)}break;case"verdocs-button":if(!customElements.get(l(e))){x()}break;case"verdocs-checkbox":if(!customElements.get(l(e))){b()}break;case"verdocs-dropdown":if(!customElements.get(l(e))){w()}break;case"verdocs-flag":if(!customElements.get(l(e))){g()}break;case"verdocs-help-icon":if(!customElements.get(l(e))){k()}break;case"verdocs-pagination":if(!customElements.get(l(e))){y()}break;case"verdocs-portal":if(!customElements.get(l(e))){E()}break;case"verdocs-quick-filter":if(!customElements.get(l(e))){S()}break;case"verdocs-spinner":if(!customElements.get(l(e))){P()}break;case"verdocs-status-indicator":if(!customElements.get(l(e))){V()}break;case"verdocs-text-input":if(!customElements.get(l(e))){j()}break}}))}const H=L;const N=M;export{H as VerdocsEnvelopesList,N as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-envelopes-list.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as o,d as s}from"./p-
|
|
1
|
+
import{V as o,d as s}from"./p-BKLlc2r0.js";const r=o;const t=s;export{r as VerdocsFieldAttachment,t as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-field-attachment.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as o,d as s}from"./p-
|
|
1
|
+
import{V as o,d as s}from"./p-1FjgijEi.js";const t=o;const i=s;export{t as VerdocsFieldCheckbox,i as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-field-checkbox.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as
|
|
1
|
+
import{V as s,d as o}from"./p-D0MFs2Dv.js";const t=s;const p=o;export{t as VerdocsFieldDate,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-field-date.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as o,d as s}from"./p-
|
|
1
|
+
import{V as o,d as s}from"./p-9kEZy9MP.js";const t=o;const p=s;export{t as VerdocsFieldDropdown,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-field-dropdown.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as o,d as s}from"./p-
|
|
1
|
+
import{V as o,d as s}from"./p-B1AE2j97.js";const t=o;const p=s;export{t as VerdocsFieldInitial,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=verdocs-field-initial.js.map
|