@verdocs/web-sdk 6.10.7 → 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/{Icons-TVvtZ5iL.js → Icons-Zdy_DFce.js} +16 -2
- package/dist/cjs/{Icons-TVvtZ5iL.js.map → Icons-Zdy_DFce.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 +9 -9
- package/dist/cjs/verdocs-auth.cjs.entry.js +291 -15
- 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 +2 -2
- package/dist/cjs/verdocs-field-payment.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +3 -3
- 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 +254 -32
- 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-sign.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.css +45 -1
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js +323 -19
- 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/Icons.js +12 -0
- package/dist/collection/utils/Icons.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-K_PKw6bs.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-DKKsPZnz.js → p-9kEZy9MP.js} +2 -2
- package/dist/components/{p-DavVixMP.js → p-B-ul_Soj.js} +2 -2
- package/dist/components/{p-D-TexkaT.js → p-B1AE2j97.js} +2 -2
- package/dist/components/{p-DfIxVX8-.js → p-B4tpmyon.js} +2 -2
- package/dist/components/{p-CsF979IT.js → p-BBCy2Hy2.js} +2 -2
- package/dist/components/{p-D1cSgqut.js → p-BKLlc2r0.js} +2 -2
- package/dist/components/{p-Dw7l6M37.js → p-BSUeI3vF.js} +2 -2
- package/dist/components/{p-CAGp0qKc.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-CYvB5bYX.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/{verdocs-web-sdk/p-BU5rnXp2.js → components/p-C7k2AOsW.js} +2 -2
- package/dist/components/p-C7k2AOsW.js.map +1 -0
- 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-bPe0_Dsn.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-BELGzhZw.js → p-CFacV7mg.js} +2 -2
- package/dist/components/{p-BQUZjuoP.js → p-CQzPkAVQ.js} +2 -2
- package/dist/components/{p-BMzxhyLu.js → p-CdnjpaJt.js} +2 -2
- package/dist/components/{p-CZwyK_uo.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-B6aUlIQe.js → p-D-X-Zcsr.js} +2 -2
- package/dist/components/{p-DiYuPnJJ.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-BYVQkYYg.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-DL4-aTsZ.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-D7oMWhqM.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 +2517 -0
- 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/{Icons-BU5rnXp2.js → Icons-DobS6Y7w.js} +15 -3
- package/dist/{esm-es5/Icons-BU5rnXp2.js.map → esm/Icons-DobS6Y7w.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 +9 -9
- package/dist/esm/verdocs-auth.entry.js +293 -17
- 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 +2 -2
- package/dist/esm/verdocs-field-payment.entry.js +1 -1
- package/dist/esm/verdocs-file-chooser_2.entry.js +3 -3
- 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 +255 -33
- 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-sign.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/{Icons-BU5rnXp2.js → Icons-DobS6Y7w.js} +2 -2
- package/dist/{esm/Icons-BU5rnXp2.js.map → esm-es5/Icons-DobS6Y7w.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-field-payment.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-sign.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 +33 -3
- 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 +49 -12
- package/dist/types/utils/Environment.d.ts +1 -0
- package/dist/types/utils/Icons.d.ts +2 -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-869024e0.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-734c8a8b.entry.js → p-2a6a3bc6.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-62464041.system.entry.js → p-439d36b0.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-d95705c6.entry.js → p-4930b31d.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-c86111fd.system.entry.js → p-5404f6bf.system.entry.js} +2 -2
- 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-7e1f895c.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-GqS1qR-V.system.js → p-BHF3ByWV.system.js} +2 -2
- package/dist/verdocs-web-sdk/{p-GqS1qR-V.system.js.map → p-BHF3ByWV.system.js.map} +1 -1
- 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/{components/p-BDv5kBUR.js → verdocs-web-sdk/p-DobS6Y7w.js} +2 -2
- package/dist/verdocs-web-sdk/{p-BU5rnXp2.js.map → p-DobS6Y7w.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-ee92c074.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-6e8ce989.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-ceda04bc.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-10d47bbd.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 +10 -4
- 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-BDv5kBUR.js.map +0 -1
- 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-16d655d4.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-16d655d4.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-43ee0267.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-43ee0267.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-4e091415.entry.js +0 -8
- package/dist/verdocs-web-sdk/p-4e091415.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-5608f245.entry.js +0 -2
- 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-fad90cf9.system.entry.js +0 -8
- package/dist/verdocs-web-sdk/p-fad90cf9.system.entry.js.map +0 -1
- /package/dist/components/{p-K_PKw6bs.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-DKKsPZnz.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-D-TexkaT.js.map → p-B1AE2j97.js.map} +0 -0
- /package/dist/components/{p-DfIxVX8-.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-D1cSgqut.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-CAGp0qKc.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-CYvB5bYX.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-bPe0_Dsn.js.map → p-CEcG_ay-.js.map} +0 -0
- /package/dist/components/{p-BELGzhZw.js.map → p-CFacV7mg.js.map} +0 -0
- /package/dist/components/{p-BQUZjuoP.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-CZwyK_uo.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-B6aUlIQe.js.map → p-D-X-Zcsr.js.map} +0 -0
- /package/dist/components/{p-DiYuPnJJ.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-BYVQkYYg.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-DL4-aTsZ.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-D7oMWhqM.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-869024e0.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-734c8a8b.entry.js.map → p-2a6a3bc6.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-62464041.system.entry.js.map → p-439d36b0.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-d95705c6.entry.js.map → p-4930b31d.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-c86111fd.system.entry.js.map → p-5404f6bf.system.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-7e1f895c.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-ee92c074.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-6e8ce989.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-ceda04bc.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-10d47bbd.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
package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js
CHANGED
|
@@ -342,7 +342,7 @@ export class VerdocsSignatureDialog {
|
|
|
342
342
|
ctx.drawImage(this.uploadedImage, x, y, scaledWidth, scaledHeight);
|
|
343
343
|
}
|
|
344
344
|
render() {
|
|
345
|
-
return (h("verdocs-dialog", { key: '
|
|
345
|
+
return (h("verdocs-dialog", { key: 'db10edcf804c46eb00fe5c2df962d1b8ae106493' }, h("div", { key: '5a0423bd616fbebb6f823b56fa2aff80e049ead4', slot: "heading", class: "heading" }, h("div", { key: '2c6784bf171176d898cb2915e2e1022122161992', class: "icon" }, h("svg", { key: '343e64d99febdc50d7ff7711c3c8389217329173', width: "22", height: "19", viewBox: "0 0 22 19", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: '2395f0b040d4a52495036b23d1e8961a4c9f33aa', "clip-path": "url(#clip0_34208_4881)" }, h("path", { key: 'ee95ffa7e0eee4a6b59e5a6c97d1466c37897ef1', d: "M3.125 0.75C1.88398 0.75 0.875 1.75898 0.875 3V16.5C0.875 17.741 1.88398 18.75 3.125 18.75H12.125C13.366 18.75 14.375 17.741 14.375 16.5V15.8215C14.2801 15.8602 14.1852 15.8918 14.0867 15.9164L11.9738 16.4437C11.8684 16.4684 11.7629 16.4859 11.6574 16.493C11.6258 16.4965 11.5941 16.5 11.5625 16.5H9.3125C9.09805 16.5 8.90469 16.3805 8.80977 16.1906L8.50039 15.5684C8.44062 15.4488 8.32109 15.375 8.19102 15.375C8.06094 15.375 7.93789 15.4488 7.88164 15.5684L7.57227 16.1906C7.47031 16.398 7.24883 16.5211 7.02031 16.5C6.7918 16.4789 6.59492 16.3207 6.53164 16.1027L5.9375 14.1445L5.59297 15.2977C5.37852 16.0113 4.72109 16.5 3.97578 16.5H3.6875C3.37812 16.5 3.125 16.2469 3.125 15.9375C3.125 15.6281 3.37812 15.375 3.6875 15.375H3.97578C4.22539 15.375 4.44336 15.2133 4.51367 14.9742L5.0375 13.234C5.15703 12.8367 5.52266 12.5625 5.9375 12.5625C6.35234 12.5625 6.71797 12.8367 6.8375 13.234L7.24531 14.591C7.50547 14.373 7.83594 14.25 8.1875 14.25C8.74648 14.25 9.25625 14.5664 9.50586 15.0656L9.66055 15.375H9.97344C9.86445 15.0656 9.84336 14.7281 9.92422 14.3977L10.4516 12.2848C10.55 11.8875 10.7539 11.5289 11.0422 11.2406L14.375 7.90781V6.375H9.875C9.25273 6.375 8.75 5.87227 8.75 5.25V0.75H3.125ZM9.875 0.75V5.25H14.375L9.875 0.75ZM20.2039 5.66133C19.6555 5.11289 18.766 5.11289 18.2141 5.66133L17.1805 6.69492L19.6766 9.19102L20.7102 8.15742C21.2586 7.60898 21.2586 6.71953 20.7102 6.16758L20.2039 5.66133ZM11.8402 12.0352C11.6961 12.1793 11.5941 12.3586 11.5449 12.559L11.0176 14.6719C10.9684 14.8652 11.0246 15.0656 11.1652 15.2063C11.3059 15.3469 11.5062 15.4031 11.6996 15.3539L13.8125 14.8266C14.0094 14.7773 14.1922 14.6754 14.3363 14.5312L18.8785 9.98555L16.3824 7.48945L11.8402 12.0352Z", fill: "white" })), h("defs", { key: 'cc1fe4774e3ec98275c110380e028810a9812dc1' }, h("clipPath", { key: 'cd0c227ca9ab543cca14319b3ae2b03743fcdd24', id: "clip0_34208_4881" }, h("path", { key: 'edea73952f5f83255d37ae9389c3a4491c608616', d: "M0.875 0.75H21.125V18.75H0.875V0.75Z", fill: "white" }))))), h("div", { key: '2921ef7cad3ed17b05ced2e468ade98a9f9a1039', class: "title" }, "Adopt Signature")), h("div", { key: '4edfb086ef94548c2668d7785d496fd94ce022f1', slot: "content", class: "content" }, h("div", { key: '8f2c07a462ab017a8135f1055db37ed8045972a9', class: "tabs" }, h("div", { key: '324495518ec9a68aefdd08153001eb11d799e0c1', class: { tab: true, active: this.mode === 'type' }, onClick: () => (this.mode = 'type') }, h("div", { key: 'c3ea6b99cfd3abec7559c443fb3ad241b348c678', innerHTML: Keyboard, class: "icon" }), h("div", { key: '477e075ef90f8b8a6c5cf3811a3899e863dd1955' }, "Type")), h("div", { key: '3a033060aea76ecc698247620d6a3d37804cf51d', class: { tab: true, active: this.mode === 'draw' }, onClick: () => (this.mode = 'draw') }, h("div", { key: 'd896a50e72b7b047dff6bd58cf25e51f5898e46f', innerHTML: Pencil, class: "icon" }), h("div", { key: 'f69dfd3d844ed5aab916ed080d008300b1442822' }, "Draw")), h("div", { key: '2cdf756c39a25f8c57f9397dda34ca4f16a0c1c6', class: { tab: true, active: this.mode === 'upload' }, onClick: () => (this.mode = 'upload') }, h("div", { key: '78b33ad127168fcfbd1991e9cd4eeec75ae916da', innerHTML: Upload, class: "icon" }), h("div", { key: 'da89a9e7931500397dc35739f7e1082fc214646b' }, "Upload"))), h("div", { key: 'a6c71d283574178abff0b87373d84a4296d21cbf', class: { type: true, active: this.mode === 'type' } }, h("verdocs-text-input", { key: '513135d4e60be78ca8122d203baa56a8aa8888f6', label: "Full Name", value: this.enteredName, placeholder: "Full Name...", description: "As shown on driver's license or govt. ID card.", onInput: e => this.handleNameChange(e), onClick: e => e.stopPropagation() })), h("div", { key: 'e77be4d73bce299698dce7475b04f63781336161', class: { draw: true, active: this.mode === 'draw' } }, h("div", { key: '28e8ddaf5a36f8dd71cd28639773d1220792f8ff', class: "draw-instructions" }, "Draw your signature below using your mouse or finger"), h("div", { key: 'f8f4a3d8f0f69ed45c75ae612a3c976858052d87', class: "draw-actions" }, h("button", { key: 'dd3d1ccb059acd4fb0f224b277b60ac59fa3ff77', class: "clear-button", onClick: e => this.handleClearDrawing(e), disabled: !this.hasDrawnSignature }, "Clear"))), h("div", { key: '6964ea2ebbb4c60ceef9d199445a315b45b84ddf', class: { upload: true, active: this.mode === 'upload' } }, h("div", { key: 'bee3f8a5a560a1a8c7d4c677c96d30a7dc69c93e', class: "upload-instructions" }, "Upload a PNG image of your signature"), h("input", { key: '31220c0a363d5b9ddcfd93062279e0d3d6df4e10', ref: el => (this.fileInputElement = el), type: "file", accept: "image/png", onChange: this.handleFileChange, style: { display: 'none' } }), h("div", { key: 'ac4c882fd67f700d6c0b5a5b33e9e9e323b0a48b', class: "upload-actions" }, h("button", { key: '973df7f6cef82ab79f958d31ac0187e6c495ba05', class: "upload-button", onClick: this.handleSelectFile }, this.hasUploadedImage ? 'Change Image' : 'Select PNG File'), this.hasUploadedImage && (h("button", { key: '40e7f06af931d94b3c02608cd495afc3949c92cc', class: "clear-button", onClick: this.handleClearUpload }, "Clear"))), this.uploadedFileName && h("div", { key: '94fb0ddf3fd4daea6fad68385b34ac33947c9e19', class: "upload-filename" }, this.uploadedFileName)), h("canvas", { key: 'b01429dcfe162b486367921af9257929ca020177', ref: el => (this.canvasElement = el), width: "300", height: "79", onPointerDown: this.handlePointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.handlePointerUp, onPointerCancel: this.handlePointerCancel, style: { touchAction: 'none', cursor: 'crosshair' } }), h("div", { key: 'f1cafc7b6c449614895e90bba50f63f688fd4401', class: "disclaimer" }, "By clicking Adopt, I agree that the signature will be the electronic representation of my signature for all purposes when I (or my agent) use them on documents, including legally binding contracts \u2014 just the same as a pen-and-paper signature or initial.")), h("div", { key: '2ecc9291e5a73cba4e17e9c0c1cf765f49972b78', class: "footer", slot: "footer" }, h("div", { key: '8091868df0484dcfaece304fe743703e18c8b546', class: "buttons" }, h("button", { key: 'ea3d366c23befd85959bac4bb14325103fbbc767', class: "cancel", onClick: e => this.handleCancel(e) }, "Cancel"), h("button", { key: '4131a02beeeb77b59250bffb01ef317ebe2efdca', class: "proceed", onClick: e => this.handleAdopt(e), disabled: this.isAdoptButtonDisabled() }, "Adopt & Sign")))));
|
|
346
346
|
}
|
|
347
347
|
static get is() { return "verdocs-signature-dialog"; }
|
|
348
348
|
static get originalStyleUrls() {
|
|
@@ -80,7 +80,7 @@ export class VerdocsUploadDialog {
|
|
|
80
80
|
render() {
|
|
81
81
|
var _a;
|
|
82
82
|
const existingFile = ((_a = this.existingFile) === null || _a === void 0 ? void 0 : _a.name) ? this.existingFile : null;
|
|
83
|
-
return (h(Host, { key: '
|
|
83
|
+
return (h(Host, { key: '7502bcbf89cc1c141515d5b45407be5a7cb15892' }, h("div", { key: 'c965555cbce520f5a7751df0873d616a7fd72f91', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: 'ab02fe80c6107c602cbb13cb5c58378372be37af', class: "upload-dialog-content" }, h("div", { key: '69ac85cfdc119aa0c350935af831cd94d0038f38', class: "heading" }, "Upload attachment"), this.selectedFiles.length < 1 && existingFile && (h(Fragment, { key: '3932495818a8191a636c7325488873dbab63adf5' }, h("div", { key: '3dbeda0b45d15d1a8b20676d7b276ff8c1517f94', class: "current-label" }, "Current Attachment"), h("div", { key: '68bf5399c44001add44754641b04bab5bfd76c64', class: "attachments", style: { marginTop: '0' } }, h("div", { key: 'b7571fb20cb325e1e711e0b34e7fad26eda98533', class: "attachment" }, h("div", { key: 'fed9ca494064213392c2f1ef3208b7cacfcf1547', class: "icon", innerHTML: PaperclipIcon }), h("div", { key: '7da66b89dc708dc036785473be1fdab0a8b04ffa', class: "name" }, existingFile.name), h("div", { key: 'f0eb139b7678cd44855c1a477830843b6652cdae', class: "icon trash", innerHTML: TrashIcon, onClick: () => (this.confirmDelete = true) }))))), this.selectedFiles.length < 1 && !existingFile && (h("div", { key: '69c1c7b5f14025ccd9dc0f8ae9f8de59b7f6e10a', class: { 'drop-target': true, 'dragging-over': this.draggingOver }, onDragOver: e => this.handleDragOver(e), onDragLeave: e => this.handleDragLeave(e), onDrop: e => this.handleDrop(e) }, h("p", { key: 'cabdb9a27204b591a9bf0e87cfda3542594abad2' }, "Drag and drop your files here"), h("p", { key: '3ce2cddb1950301dabab3e67d1ac5f1409472bab', class: "subscript" }, "Supported files: PDF, Word, JPG, PNG"), h("verdocs-button", { key: '98c83bb0fb6100bd98c78b0c76e516327d73b438', label: !!existingFile ? 'Replace files' : 'Select files', onClick: () => this.handleSelectFile() }), h("input", { key: 'a223e8caef4c2fa58eb9662f460aca815a120af2', type: "file", ref: el => (this.fileInput = el), style: { display: 'none' }, accept: ".pdf,application/pdf,.doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,image/*", onChange: () => this.handleFileChange() }))), this.selectedFiles.length > 0 && (h("div", { key: '3238382f51e331b4a9822b93c99ed446c18eb993', class: "attachments" }, this.selectedFiles.map((file, index) => (h("div", { class: "attachment" }, h("div", { class: "icon", innerHTML: PaperclipIcon }), h("div", { class: "name" }, file.name), h("div", { class: "icon trash", innerHTML: TrashIcon, onClick: () => this.handleRemoveAttachment(index) })))))), !!this.errorMessage && h("div", { key: '356a59a40bc45b55de26aa1330a293d5664a6c1e', class: "error" }, this.errorMessage), h("div", { key: '6c6614f680b35cd6a1eb972c0cbed4b4ee77cc46', class: "buttons" }, h("verdocs-button", { key: '1f50ef8aff68d087eee4c81234e52f6e0c7f7046', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), h("verdocs-button", { key: 'c51f094d9ae57c0d818d156bf8f62b83bafa7c09', label: "Upload", onClick: () => this.handleDone(), disabled: !!this.errorMessage || this.selectedFiles.length < 1 })))), this.confirmDelete && (h("verdocs-ok-dialog", { key: '5119901b92cea8378d81fa7f0ea8b55675472ab6', heading: "Delete Attachment?", message: "Are you sure you wish to delete this attachment? This action cannot be undone.", showCancel: true, onExit: e => {
|
|
84
84
|
// So we don't close the upload dialog
|
|
85
85
|
e.preventDefault();
|
|
86
86
|
e.stopPropagation();
|
package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js
CHANGED
|
@@ -22,7 +22,7 @@ export class VerdocsQuickFunctions {
|
|
|
22
22
|
this.createDocument.emit();
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (h("div", { key: '
|
|
25
|
+
return (h("div", { key: 'c0fa15063ca7e42e3dfd3e206a34c9987679ea86', class: "container" }, h("p", { key: 'decc0d8eb8bcd5ef42f8c8ad66ebf80877d0c9c8', class: "title" }, "Quick Create"), h("button", { key: '72c6b0f2eb3087dae54f6a3c74f7bbbe0dd4ed24', onClick: () => this.handleCreateTemplate(), innerHTML: TemplateIcon }, "Template"), h("button", { key: '2462f36ecb933a8703e83e8b4621a2fd88897d80', onClick: () => this.handleCreateDocument(), innerHTML: DocumentIcon }, "Document")));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "verdocs-quick-functions"; }
|
|
28
28
|
static get originalStyleUrls() {
|
|
@@ -56,7 +56,7 @@ export class VerdocsSearchBox {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h("form", { key: '
|
|
59
|
+
return (h("form", { key: '67da35d4b9c83147f9568c92098f132e12654ab4', onSubmit: e => this.handleSearch(e) }, this.type !== undefined && this.type !== 'all' && (h("span", { key: '70bd17abc4042f19ad518bce4e1d076a8d91f2f6', class: "type" }, this.type, "s ", h("button", { key: 'c7710ff13c8cfcf5b4db4861c57455c480306950', class: "remove", innerHTML: CloseIcon, onClick: () => this.handleClearFilter() }))), h("input", { key: 'cc20f133b4ef1f8a0035dee4cc00f249d6720f29', type: "text", value: this.query, placeholder: this.placeholder, onInput: e => this.handleChange(e), onKeyUp: e => this.handleKeyUp(e), ref: el => (this.inputEl = el) }), h("button", { key: 'f51ff08d3b476189442558e1df4b1dbd912519a2', onClick: e => this.handleSearch(e), class: "search" }, h("span", { key: '4089a9ccf5b4b905384dac7b283cb5d0d5ed63fb', innerHTML: SearchIcon }), "Search")));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "verdocs-search-box"; }
|
|
62
62
|
static get originalStyleUrls() {
|
|
@@ -4,7 +4,7 @@ export class VerdocsSearchTabs {
|
|
|
4
4
|
this.selected = 'all';
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return h("div", { key: '
|
|
7
|
+
return h("div", { key: '161c0333749e7110ea2a7fc585dfd7194959795f' }, "\u00A0");
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "verdocs-search-tabs"; }
|
|
10
10
|
static get originalStyleUrls() {
|
|
@@ -27,7 +27,7 @@ verdocs-auth h3 {
|
|
|
27
27
|
font-weight: 400;
|
|
28
28
|
font-size: 18px;
|
|
29
29
|
line-height: 1.75;
|
|
30
|
-
margin: 0;
|
|
30
|
+
margin: 0 0 20px 0;
|
|
31
31
|
}
|
|
32
32
|
verdocs-auth em {
|
|
33
33
|
font-size: 14px;
|
|
@@ -91,4 +91,48 @@ verdocs-auth .service-agreement {
|
|
|
91
91
|
}
|
|
92
92
|
verdocs-auth .service-agreement a {
|
|
93
93
|
color: #092c4c;
|
|
94
|
+
}
|
|
95
|
+
verdocs-auth .providers {
|
|
96
|
+
width: 100%;
|
|
97
|
+
}
|
|
98
|
+
verdocs-auth .providers verdocs-button {
|
|
99
|
+
display: block;
|
|
100
|
+
margin-bottom: 10px;
|
|
101
|
+
}
|
|
102
|
+
verdocs-auth .providers verdocs-button button.outline {
|
|
103
|
+
position: relative;
|
|
104
|
+
border-color: #aeb4bf;
|
|
105
|
+
}
|
|
106
|
+
verdocs-auth .providers verdocs-button button.outline:disabled {
|
|
107
|
+
border-color: #aeb4bf;
|
|
108
|
+
}
|
|
109
|
+
verdocs-auth .providers verdocs-button .icon.start {
|
|
110
|
+
position: absolute;
|
|
111
|
+
left: 16px;
|
|
112
|
+
margin: 0;
|
|
113
|
+
display: flex;
|
|
114
|
+
align-items: center;
|
|
115
|
+
}
|
|
116
|
+
verdocs-auth .providers verdocs-button .icon.start svg {
|
|
117
|
+
width: 18px;
|
|
118
|
+
height: 18px;
|
|
119
|
+
}
|
|
120
|
+
verdocs-auth .divider {
|
|
121
|
+
gap: 8px;
|
|
122
|
+
color: #777;
|
|
123
|
+
display: flex;
|
|
124
|
+
font-size: 12px;
|
|
125
|
+
margin: 28px 0;
|
|
126
|
+
align-items: center;
|
|
127
|
+
flex-direction: row;
|
|
128
|
+
}
|
|
129
|
+
verdocs-auth .divider .divider-line {
|
|
130
|
+
flex: 1;
|
|
131
|
+
height: 1px;
|
|
132
|
+
background: #aeb4bf;
|
|
133
|
+
}
|
|
134
|
+
verdocs-auth .mfa-error {
|
|
135
|
+
color: #cc0000;
|
|
136
|
+
font-size: 14px;
|
|
137
|
+
margin: 0 0 8px;
|
|
94
138
|
}
|
|
@@ -1,8 +1,57 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { verifyEmail, getMyUser, convertToE164 } from "@verdocs/js-sdk";
|
|
3
2
|
import { VerdocsEndpoint, createProfile, authenticate, resendVerification, resetPassword } from "@verdocs/js-sdk";
|
|
3
|
+
import { isMFARequired, getSocialProviders, getSocialLoginUrl, createCodeVerifier, createCodeChallenge } from "@verdocs/js-sdk";
|
|
4
|
+
import { verifyEmail, getMyUser, convertToE164 } from "@verdocs/js-sdk";
|
|
5
|
+
import { GoogleIcon, MicrosoftIcon } from "../../../utils/Icons";
|
|
4
6
|
import { VerdocsToast } from "../../../utils/Toast";
|
|
5
7
|
import { SDKError } from "../../../utils/errors";
|
|
8
|
+
const MFA_CODE_ERROR = 'Invalid code. Please try again.';
|
|
9
|
+
const SOCIAL_START_ERROR = 'Unable to start sign-in sequence. Please try again.';
|
|
10
|
+
const SOCIAL_LOGIN_KEY = 'vdocs-social-login';
|
|
11
|
+
const SOCIAL_ERROR_MESSAGES = {
|
|
12
|
+
email_unverified: 'That account does not have a verified email address.',
|
|
13
|
+
corporate_email_required: 'Please use your corporate email address to create an account.',
|
|
14
|
+
account_locked: 'That account is locked. Please contact support@verdocs.com.',
|
|
15
|
+
provider_error: 'That provider could not sign you in. Please try again.',
|
|
16
|
+
access_denied: 'Sign-in was canceled.',
|
|
17
|
+
};
|
|
18
|
+
const socialErrorMessage = (code) => SOCIAL_ERROR_MESSAGES[code] || 'Unable to sign in. Please try again.';
|
|
19
|
+
const readSocialLoginAttempt = () => {
|
|
20
|
+
try {
|
|
21
|
+
const stored = window.sessionStorage.getItem(SOCIAL_LOGIN_KEY);
|
|
22
|
+
return stored ? JSON.parse(stored) : null;
|
|
23
|
+
}
|
|
24
|
+
catch (_a) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
const clearSocialLoginAttempt = () => {
|
|
29
|
+
try {
|
|
30
|
+
window.sessionStorage.removeItem(SOCIAL_LOGIN_KEY);
|
|
31
|
+
}
|
|
32
|
+
catch (_a) {
|
|
33
|
+
// Third-party embeds may block sessionStorage. It's OK.
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
const SOCIAL_RETURN_PARAMS = ['login_code', 'state', 'error'];
|
|
37
|
+
// Prevent replays on a reload.
|
|
38
|
+
const cleanSocialLoginParams = () => {
|
|
39
|
+
const url = new URL(window.location.href);
|
|
40
|
+
SOCIAL_RETURN_PARAMS.forEach(name => url.searchParams.delete(name));
|
|
41
|
+
window.history.replaceState(window.history.state, '', `${url.pathname}${url.search}${url.hash}`);
|
|
42
|
+
};
|
|
43
|
+
const currentReturnUri = () => {
|
|
44
|
+
const url = new URL(window.location.href);
|
|
45
|
+
SOCIAL_RETURN_PARAMS.forEach(name => url.searchParams.delete(name));
|
|
46
|
+
return url.toString();
|
|
47
|
+
};
|
|
48
|
+
const formatRecoveryCode = (value) => {
|
|
49
|
+
const cleaned = value
|
|
50
|
+
.toLowerCase()
|
|
51
|
+
.replace(/[^a-z0-9]/g, '')
|
|
52
|
+
.slice(0, 8);
|
|
53
|
+
return cleaned.length > 4 ? `${cleaned.slice(0, 4)}-${cleaned.slice(4)}` : cleaned;
|
|
54
|
+
};
|
|
6
55
|
/**
|
|
7
56
|
* Display an authentication dialog that allows the user to login or sign up. If the user is
|
|
8
57
|
* already authenticated with a valid session, this component will hide itself and fire the
|
|
@@ -12,7 +61,7 @@ import { SDKError } from "../../../utils/errors";
|
|
|
12
61
|
* To simplify UI development, a visibility flag can force this component to never display. This
|
|
13
62
|
* allows you to subscribe to notifications from client apps without calling the lower-level JS SDK.
|
|
14
63
|
*
|
|
15
|
-
* This embed is responsive
|
|
64
|
+
* This embed is responsive and mobile-friendly, but the calling application should provide at
|
|
16
65
|
* least a 300px wide container to allow sufficient space for the required forms.
|
|
17
66
|
*
|
|
18
67
|
* ```ts
|
|
@@ -44,6 +93,12 @@ export class VerdocsAuth {
|
|
|
44
93
|
* The display mode to start in.
|
|
45
94
|
*/
|
|
46
95
|
this.displayMode = 'login';
|
|
96
|
+
/**
|
|
97
|
+
* Social auth is disabled by default because these are redirect flows that require allowable redirect_uri
|
|
98
|
+
* destinations be pre-registered. These will only work on Verdocs sites/apps, so third-party developers
|
|
99
|
+
* should not turn this on unless instructed to by Verdocs Support.
|
|
100
|
+
*/
|
|
101
|
+
this.showSocialLogins = false;
|
|
47
102
|
this.org_name = '';
|
|
48
103
|
this.first_name = '';
|
|
49
104
|
this.last_name = '';
|
|
@@ -57,7 +112,14 @@ export class VerdocsAuth {
|
|
|
57
112
|
this.resendDisabled = false;
|
|
58
113
|
this.session = null;
|
|
59
114
|
this.profile = null;
|
|
115
|
+
this.providers = { google: false, microsoft: false };
|
|
116
|
+
this.mfaToken = '';
|
|
117
|
+
this.mfaCode = '';
|
|
118
|
+
this.recoveryCode = '';
|
|
119
|
+
this.useRecoveryCode = false;
|
|
120
|
+
this.mfaError = '';
|
|
60
121
|
this.resendDisabledTimer = null;
|
|
122
|
+
this.mfaFocusPending = false;
|
|
61
123
|
// We can't instantly log in on the default endpoint because other listeners might see
|
|
62
124
|
// its events and incorrectly trigger before we're done. So we manage our own temp
|
|
63
125
|
// endpoint and pass the final tokens to the default once we're ready.
|
|
@@ -87,6 +149,40 @@ export class VerdocsAuth {
|
|
|
87
149
|
(_b = this.authenticated) === null || _b === void 0 ? void 0 : _b.emit({ authenticated: false, session, profile });
|
|
88
150
|
}
|
|
89
151
|
});
|
|
152
|
+
this.loadProviders();
|
|
153
|
+
this.handleSocialLoginReturn();
|
|
154
|
+
}
|
|
155
|
+
onShowSocialLoginsChanged() {
|
|
156
|
+
this.loadProviders();
|
|
157
|
+
}
|
|
158
|
+
loadProviders() {
|
|
159
|
+
if (!this.showSocialLogins) {
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
getSocialProviders(this.endpoint)
|
|
163
|
+
.then(providers => {
|
|
164
|
+
this.providers = providers;
|
|
165
|
+
})
|
|
166
|
+
.catch(e => console.log('[AUTH] Unable to load providers', e));
|
|
167
|
+
}
|
|
168
|
+
componentDidRender() {
|
|
169
|
+
if (this.displayMode !== 'mfa') {
|
|
170
|
+
return;
|
|
171
|
+
}
|
|
172
|
+
const input = this.el.querySelector('.mfa-input input');
|
|
173
|
+
if (!input) {
|
|
174
|
+
return;
|
|
175
|
+
}
|
|
176
|
+
if (!this.useRecoveryCode) {
|
|
177
|
+
input.setAttribute('inputmode', 'numeric');
|
|
178
|
+
}
|
|
179
|
+
else {
|
|
180
|
+
input.removeAttribute('inputmode');
|
|
181
|
+
}
|
|
182
|
+
if (this.mfaFocusPending) {
|
|
183
|
+
this.mfaFocusPending = false;
|
|
184
|
+
input.focus();
|
|
185
|
+
}
|
|
90
186
|
}
|
|
91
187
|
disconnectedCallback() {
|
|
92
188
|
if (typeof window !== 'undefined') {
|
|
@@ -178,9 +274,24 @@ export class VerdocsAuth {
|
|
|
178
274
|
}
|
|
179
275
|
completeLogin(result) {
|
|
180
276
|
this.clearForms();
|
|
277
|
+
this.displayMode = 'login';
|
|
181
278
|
this.tempAuthEndpoint.clearSession();
|
|
182
279
|
this.endpoint.setToken(result.access_token);
|
|
183
280
|
}
|
|
281
|
+
async finishLogin(authResult) {
|
|
282
|
+
console.log('[AUTH] Authenticated, checking email verification');
|
|
283
|
+
this.tempAuthEndpoint.setToken(authResult.access_token);
|
|
284
|
+
const user = await getMyUser(this.tempAuthEndpoint);
|
|
285
|
+
this.submitting = false;
|
|
286
|
+
if (!user.email_verified) {
|
|
287
|
+
console.log('[AUTH] Logged in, pending email address verification');
|
|
288
|
+
this.displayMode = 'verify';
|
|
289
|
+
}
|
|
290
|
+
else {
|
|
291
|
+
console.log('[AUTH] Email address is verified, completing login');
|
|
292
|
+
this.completeLogin(authResult);
|
|
293
|
+
}
|
|
294
|
+
}
|
|
184
295
|
async loginAndCheckVerification() {
|
|
185
296
|
var _a;
|
|
186
297
|
if (this.submitting) {
|
|
@@ -189,29 +300,173 @@ export class VerdocsAuth {
|
|
|
189
300
|
this.submitting = true;
|
|
190
301
|
this.tempAuthEndpoint.clearSession();
|
|
191
302
|
try {
|
|
192
|
-
this.submitting = false;
|
|
193
303
|
const authResult = await authenticate(this.tempAuthEndpoint, { username: this.email.trim(), password: this.password, grant_type: 'password' });
|
|
194
|
-
|
|
195
|
-
this.tempAuthEndpoint.setToken(authResult.access_token);
|
|
196
|
-
const user = await getMyUser(this.tempAuthEndpoint);
|
|
197
|
-
if (!user.email_verified) {
|
|
198
|
-
console.log('[AUTH] Logged in, pending email address verification');
|
|
199
|
-
this.displayMode = 'verify';
|
|
200
|
-
}
|
|
201
|
-
else {
|
|
202
|
-
console.log('[AUTH] Email address is verified, completing login');
|
|
203
|
-
this.completeLogin(authResult);
|
|
204
|
-
}
|
|
304
|
+
await this.finishLogin(authResult);
|
|
205
305
|
}
|
|
206
306
|
catch (e) {
|
|
307
|
+
if (isMFARequired(e)) {
|
|
308
|
+
this.startMFA(e.response.data.mfa_token);
|
|
309
|
+
return;
|
|
310
|
+
}
|
|
207
311
|
this.submitting = false;
|
|
208
312
|
console.log('[AUTH] Auth failure', ((_a = e.response) === null || _a === void 0 ? void 0 : _a.data) || e);
|
|
209
313
|
VerdocsToast('Login failed. Please check your credentials and try again.', { style: 'error' });
|
|
210
314
|
}
|
|
211
315
|
}
|
|
316
|
+
startMFA(token) {
|
|
317
|
+
this.mfaToken = token;
|
|
318
|
+
this.mfaCode = '';
|
|
319
|
+
this.recoveryCode = '';
|
|
320
|
+
this.useRecoveryCode = false;
|
|
321
|
+
this.mfaError = '';
|
|
322
|
+
this.submitting = false;
|
|
323
|
+
this.mfaFocusPending = true;
|
|
324
|
+
this.displayMode = 'mfa';
|
|
325
|
+
}
|
|
326
|
+
returnToLogin() {
|
|
327
|
+
this.mfaToken = '';
|
|
328
|
+
this.mfaCode = '';
|
|
329
|
+
this.recoveryCode = '';
|
|
330
|
+
this.useRecoveryCode = false;
|
|
331
|
+
this.mfaError = '';
|
|
332
|
+
this.password = '';
|
|
333
|
+
this.submitting = false;
|
|
334
|
+
this.displayMode = 'login';
|
|
335
|
+
}
|
|
336
|
+
handleMFAFailure(e) {
|
|
337
|
+
var _a, _b, _c;
|
|
338
|
+
this.submitting = false;
|
|
339
|
+
this.mfaCode = '';
|
|
340
|
+
this.recoveryCode = '';
|
|
341
|
+
// Failed attempts require a fresh token
|
|
342
|
+
if (isMFARequired(e)) {
|
|
343
|
+
this.mfaToken = e.response.data.mfa_token;
|
|
344
|
+
this.mfaError = MFA_CODE_ERROR;
|
|
345
|
+
return;
|
|
346
|
+
}
|
|
347
|
+
// A 401 could be an expired challenge or a failed-login-acount-lock
|
|
348
|
+
if (((_a = e === null || e === void 0 ? void 0 : e.response) === null || _a === void 0 ? void 0 : _a.status) === 401) {
|
|
349
|
+
const serverMessage = typeof ((_c = (_b = e.response) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c.error) === 'string' ? e.response.data.error : '';
|
|
350
|
+
const locked = /locked/i.test(serverMessage);
|
|
351
|
+
this.returnToLogin();
|
|
352
|
+
VerdocsToast(locked ? serverMessage : 'Your sign-in timed out. Please re-enter your password.', { style: 'error' });
|
|
353
|
+
return;
|
|
354
|
+
}
|
|
355
|
+
this.mfaError = MFA_CODE_ERROR;
|
|
356
|
+
}
|
|
357
|
+
async submitMFA(code, isRecoveryCode) {
|
|
358
|
+
if (this.submitting || !code) {
|
|
359
|
+
return;
|
|
360
|
+
}
|
|
361
|
+
this.submitting = true;
|
|
362
|
+
this.mfaError = '';
|
|
363
|
+
this.tempAuthEndpoint.clearSession();
|
|
364
|
+
try {
|
|
365
|
+
const authResult = await authenticate(this.tempAuthEndpoint, isRecoveryCode
|
|
366
|
+
? { grant_type: 'urn:verdocs:params:oauth:grant-type:mfa-recovery-code', mfa_token: this.mfaToken, recovery_code: code }
|
|
367
|
+
: { grant_type: 'urn:verdocs:params:oauth:grant-type:mfa-otp', mfa_token: this.mfaToken, otp: code });
|
|
368
|
+
await this.finishLogin(authResult);
|
|
369
|
+
}
|
|
370
|
+
catch (e) {
|
|
371
|
+
this.handleMFAFailure(e);
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
handleVerifyMFA() {
|
|
375
|
+
this.submitMFA(this.useRecoveryCode ? this.recoveryCode : this.mfaCode, this.useRecoveryCode).catch(() => undefined);
|
|
376
|
+
}
|
|
377
|
+
handleMFACodeInput(target) {
|
|
378
|
+
const digits = (target.value || '').replace(/\D/g, '').slice(0, 6);
|
|
379
|
+
if (target.value !== digits) {
|
|
380
|
+
target.value = digits;
|
|
381
|
+
}
|
|
382
|
+
this.mfaCode = digits;
|
|
383
|
+
// Auto-submit once 6 digits are entered
|
|
384
|
+
if (digits.length === 6) {
|
|
385
|
+
this.submitMFA(digits, false).catch(() => undefined);
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
handleRecoveryCodeInput(target) {
|
|
389
|
+
const formatted = formatRecoveryCode(target.value || '');
|
|
390
|
+
if (target.value !== formatted) {
|
|
391
|
+
target.value = formatted;
|
|
392
|
+
}
|
|
393
|
+
this.recoveryCode = formatted;
|
|
394
|
+
}
|
|
395
|
+
toggleRecoveryCode() {
|
|
396
|
+
this.useRecoveryCode = !this.useRecoveryCode;
|
|
397
|
+
this.mfaCode = '';
|
|
398
|
+
this.recoveryCode = '';
|
|
399
|
+
this.mfaError = '';
|
|
400
|
+
this.mfaFocusPending = true;
|
|
401
|
+
}
|
|
402
|
+
handleSocialLogin(provider) {
|
|
403
|
+
try {
|
|
404
|
+
const verifier = createCodeVerifier();
|
|
405
|
+
const state = createCodeVerifier();
|
|
406
|
+
createCodeChallenge(verifier)
|
|
407
|
+
.then(codeChallenge => {
|
|
408
|
+
const attempt = { verifier, state, provider };
|
|
409
|
+
window.sessionStorage.setItem(SOCIAL_LOGIN_KEY, JSON.stringify(attempt));
|
|
410
|
+
window.location.assign(getSocialLoginUrl(this.endpoint, provider, { returnUri: currentReturnUri(), codeChallenge, state }));
|
|
411
|
+
})
|
|
412
|
+
.catch(() => VerdocsToast(SOCIAL_START_ERROR, { style: 'error' }));
|
|
413
|
+
}
|
|
414
|
+
catch (_a) {
|
|
415
|
+
VerdocsToast(SOCIAL_START_ERROR, { style: 'error' });
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
handleSocialLoginReturn() {
|
|
419
|
+
if (typeof window === 'undefined') {
|
|
420
|
+
return;
|
|
421
|
+
}
|
|
422
|
+
const params = new URLSearchParams(window.location.search);
|
|
423
|
+
const loginCode = params.get('login_code');
|
|
424
|
+
const state = params.get('state');
|
|
425
|
+
const error = params.get('error');
|
|
426
|
+
if (!loginCode && !error) {
|
|
427
|
+
return;
|
|
428
|
+
}
|
|
429
|
+
const attempt = readSocialLoginAttempt();
|
|
430
|
+
// `error` doesn't give us the whole picture
|
|
431
|
+
if (!loginCode && !attempt) {
|
|
432
|
+
return;
|
|
433
|
+
}
|
|
434
|
+
clearSocialLoginAttempt();
|
|
435
|
+
cleanSocialLoginParams();
|
|
436
|
+
if (error) {
|
|
437
|
+
VerdocsToast(socialErrorMessage(error), { style: 'error' });
|
|
438
|
+
return;
|
|
439
|
+
}
|
|
440
|
+
if (!attempt || attempt.state !== state) {
|
|
441
|
+
VerdocsToast('Sign-in could not be verified. Try again.', { style: 'error' });
|
|
442
|
+
return;
|
|
443
|
+
}
|
|
444
|
+
this.exchangeLoginCode(loginCode, attempt.verifier);
|
|
445
|
+
}
|
|
446
|
+
exchangeLoginCode(loginCode, codeVerifier) {
|
|
447
|
+
this.submitting = true;
|
|
448
|
+
this.tempAuthEndpoint.clearSession();
|
|
449
|
+
authenticate(this.tempAuthEndpoint, { grant_type: 'urn:verdocs:params:oauth:grant-type:login-code', login_code: loginCode, code_verifier: codeVerifier })
|
|
450
|
+
.then(authResult => this.finishLogin(authResult))
|
|
451
|
+
.catch(e => {
|
|
452
|
+
var _a;
|
|
453
|
+
if (isMFARequired(e)) {
|
|
454
|
+
this.startMFA(e.response.data.mfa_token);
|
|
455
|
+
return;
|
|
456
|
+
}
|
|
457
|
+
this.submitting = false;
|
|
458
|
+
console.log('[AUTH] Social login failure', ((_a = e.response) === null || _a === void 0 ? void 0 : _a.data) || e);
|
|
459
|
+
VerdocsToast('Sign-in failed. Please try again.', { style: 'error' });
|
|
460
|
+
});
|
|
461
|
+
}
|
|
212
462
|
clearForms() {
|
|
213
463
|
this.submitting = false;
|
|
214
464
|
this.resendDisabled = false;
|
|
465
|
+
this.mfaToken = '';
|
|
466
|
+
this.mfaCode = '';
|
|
467
|
+
this.recoveryCode = '';
|
|
468
|
+
this.useRecoveryCode = false;
|
|
469
|
+
this.mfaError = '';
|
|
215
470
|
this.email = '';
|
|
216
471
|
this.phone = '';
|
|
217
472
|
this.password = '';
|
|
@@ -327,6 +582,12 @@ export class VerdocsAuth {
|
|
|
327
582
|
VerdocsToast('Unable to reset password. Please check your email address and try again.', { style: 'error' });
|
|
328
583
|
}
|
|
329
584
|
}
|
|
585
|
+
renderProviderButtons() {
|
|
586
|
+
if (!this.showSocialLogins || (!this.providers.google && !this.providers.microsoft)) {
|
|
587
|
+
return null;
|
|
588
|
+
}
|
|
589
|
+
return (h("div", { class: "providers" }, this.providers.google && (h("verdocs-button", { label: "Continue with Google", variant: "outline", class: "provider-google", startIcon: GoogleIcon, disabled: this.submitting, onClick: () => this.handleSocialLogin('google') })), this.providers.microsoft && (h("verdocs-button", { label: "Continue with Microsoft", variant: "outline", class: "provider-microsoft", startIcon: MicrosoftIcon, disabled: this.submitting, onClick: () => this.handleSocialLogin('microsoft') })), h("div", { class: "divider" }, h("div", { class: "divider-line" }), "or", h("div", { class: "divider-line" }))));
|
|
590
|
+
}
|
|
330
591
|
render() {
|
|
331
592
|
if (!this.visible) {
|
|
332
593
|
return h("div", { style: { display: 'none' } }, "Authenticated");
|
|
@@ -334,9 +595,19 @@ export class VerdocsAuth {
|
|
|
334
595
|
if (this.session) {
|
|
335
596
|
return (h("verdocs-button", { label: "Sign Out", disabled: this.submitting, onClick: () => this.handleLogout(), style: { display: 'flex', justifyContent: 'center', margin: '30px auto 0' } }));
|
|
336
597
|
}
|
|
598
|
+
if (this.displayMode === 'mfa') {
|
|
599
|
+
const enteredCode = this.useRecoveryCode ? this.recoveryCode : this.mfaCode;
|
|
600
|
+
const codeComplete = this.useRecoveryCode ? this.recoveryCode.replace('-', '').length === 8 : this.mfaCode.length === 6;
|
|
601
|
+
return (h("div", { class: "form" }, h("a", { href: "https://verdocs.com/en/" }, h("img", { src: this.logo, alt: "Verdocs Logo", class: "logo" })), h("h3", null, "Two-factor authentication"), h("p", null, this.useRecoveryCode
|
|
602
|
+
? 'Enter one of the backup codes you saved when you turned on multi-factor authentication.'
|
|
603
|
+
: 'Enter the six-digit code from your authenticator app.'), h("form", { onSubmit: (e) => {
|
|
604
|
+
e.preventDefault();
|
|
605
|
+
this.handleVerifyMFA();
|
|
606
|
+
} }, this.useRecoveryCode ? (h("verdocs-text-input", { class: "mfa-input", label: "Backup code", placeholder: "xxxx-xxxx", autocomplete: "one-time-code", value: this.recoveryCode, onInput: (e) => this.handleRecoveryCodeInput(e.target), disabled: this.submitting })) : (h("verdocs-text-input", { class: "mfa-input", label: "Authentication code", autocomplete: "one-time-code", value: this.mfaCode, onInput: (e) => this.handleMFACodeInput(e.target), disabled: this.submitting })), this.mfaError && (h("div", { role: "alert", class: "mfa-error" }, this.mfaError)), h("div", { class: "buttons" }, h("verdocs-button", { label: "Cancel", variant: "outline", disabled: this.submitting, onClick: () => this.returnToLogin() }), h("verdocs-button", { label: "Verify", disabled: this.submitting || !codeComplete || !enteredCode, onClick: () => this.handleVerifyMFA() })), h("div", { class: "buttons" }, h("verdocs-button", { variant: "text", size: "small", label: this.useRecoveryCode ? 'Use your authenticator app instead' : 'Use a backup code instead', disabled: this.submitting, onClick: () => this.toggleRecoveryCode() })))));
|
|
607
|
+
}
|
|
337
608
|
if (this.displayMode === 'signup') {
|
|
338
609
|
const invalid = this.submitting || !this.first_name || !this.last_name || !this.email || !this.password || !this.confirmpass || !this.org_name;
|
|
339
|
-
return (h("div", { class: "form" }, h("a", { href: "https://verdocs.com/en/" }, h("img", { src: this.logo, alt: "Verdocs Logo", class: "logo" })), h("h3", null, "Sign up for a free account"), h("div", { class: "already-have" }, "Already have an account?", h("verdocs-button", { label: "Log In", variant: "text", onClick: () => (this.displayMode = 'login'), disabled: this.submitting })), h("form", { onSubmit: () => this.handleSignup() }, h("div", { style: { display: 'flex', flexDirection: 'row', columnGap: '20px' } }, h("verdocs-text-input", { label: "First Name", autocomplete: "first", required: true, value: this.first_name, onInput: (e) => (this.first_name = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Last Name", autocomplete: "last", required: true, value: this.last_name, onInput: (e) => (this.last_name = e.target.value), disabled: this.submitting })), h("verdocs-text-input", { label: "Email Address", autocomplete: "email", required: true, value: this.email, onInput: (e) => (this.email = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Password", type: "password", required: true, autocomplete: "new-password", value: this.password, onInput: (e) => (this.password = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Confirm Password", type: "password", required: true, autocomplete: "off", value: this.confirmpass, onInput: (e) => (this.confirmpass = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Phone Number", type: "tel", required: true, autocomplete: "phone", value: this.phone, onInput: (e) => (this.phone = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Organization Name", autocomplete: "org", required: true, value: this.org_name, onInput: (e) => (this.org_name = e.target.value), disabled: this.submitting, style: { flex: '1' } }), h("div", { class: "service-agreement" }, "By clicking the Create Account button, you agree to the", ' ', h("a", { href: "https://verdocs.com/eula", target: "_blank" }, "End User License Agreement"), ". Learn about how we use and protect your data and how you can opt-out in our", ' ', h("a", { href: "https://verdocs.com/privacy-policy", target: "_blank" }, "Privacy Policy"), "."), h("div", { style: { marginTop: '30px' } }), h("verdocs-button", { label: "Next", disabled: invalid, onClick: invalid ? () => { } : () => this.handleSignup(), style: { display: 'flex', justifyContent: 'center', margin: '30px auto 0' } }))));
|
|
610
|
+
return (h("div", { class: "form" }, h("a", { href: "https://verdocs.com/en/" }, h("img", { src: this.logo, alt: "Verdocs Logo", class: "logo" })), h("h3", null, "Sign up for a free account"), h("div", { class: "already-have" }, "Already have an account?", h("verdocs-button", { label: "Log In", variant: "text", onClick: () => (this.displayMode = 'login'), disabled: this.submitting })), this.renderProviderButtons(), h("form", { onSubmit: () => this.handleSignup() }, h("div", { style: { display: 'flex', flexDirection: 'row', columnGap: '20px' } }, h("verdocs-text-input", { label: "First Name", autocomplete: "first", required: true, value: this.first_name, onInput: (e) => (this.first_name = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Last Name", autocomplete: "last", required: true, value: this.last_name, onInput: (e) => (this.last_name = e.target.value), disabled: this.submitting })), h("verdocs-text-input", { label: "Email Address", autocomplete: "email", required: true, value: this.email, onInput: (e) => (this.email = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Password", type: "password", required: true, autocomplete: "new-password", value: this.password, onInput: (e) => (this.password = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Confirm Password", type: "password", required: true, autocomplete: "off", value: this.confirmpass, onInput: (e) => (this.confirmpass = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Phone Number", type: "tel", required: true, autocomplete: "phone", value: this.phone, onInput: (e) => (this.phone = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Organization Name", autocomplete: "org", required: true, value: this.org_name, onInput: (e) => (this.org_name = e.target.value), disabled: this.submitting, style: { flex: '1' } }), h("div", { class: "service-agreement" }, "By clicking the Create Account button, you agree to the", ' ', h("a", { href: "https://verdocs.com/eula", target: "_blank" }, "End User License Agreement"), ". Learn about how we use and protect your data and how you can opt-out in our", ' ', h("a", { href: "https://verdocs.com/privacy-policy", target: "_blank" }, "Privacy Policy"), "."), h("div", { style: { marginTop: '30px' } }), h("verdocs-button", { label: "Next", disabled: invalid, onClick: invalid ? () => { } : () => this.handleSignup(), style: { display: 'flex', justifyContent: 'center', margin: '30px auto 0' } }))));
|
|
340
611
|
}
|
|
341
612
|
if (this.displayMode === 'verify') {
|
|
342
613
|
return (h("div", { class: "form" }, h("form", { onSubmit: () => this.handleVerification() }, h("p", null, "Please check your e-mail inbox for a verification code and enter it below."), h("verdocs-text-input", { label: "Verification Code", required: true, value: this.verificationCode, onInput: (e) => (this.verificationCode = e.target.value), disabled: this.submitting }), h("div", { class: "buttons" }, h("verdocs-button", { label: "Sign Out", variant: "outline", disabled: this.submitting, onClick: () => this.handleLogout() }), h("verdocs-button", { label: "Verify", disabled: this.submitting || !this.verificationCode || this.verificationCode.length !== 6, onClick: () => this.handleVerification() })), h("div", { class: "buttons" }, h("verdocs-button", { variant: "text", label: "Resend Code", disabled: this.resendDisabled || this.submitting, onClick: () => this.handleResendVerification() })))));
|
|
@@ -347,7 +618,7 @@ export class VerdocsAuth {
|
|
|
347
618
|
if (this.displayMode === 'reset') {
|
|
348
619
|
return (h("div", { class: "form" }, h("a", { href: "https://verdocs.com/en/" }, h("img", { src: this.logo, alt: "Verdocs Logo", class: "logo" })), h("h3", null, "Forgot your password?"), h("p", null, "Enter your e-mail address below, and reset instructions will be sent to your Inbox. Please allow up to 15 minutes to arrive. Check your spam folder if you do not receive the message."), h("form", { onSubmit: () => this.handleResetPassword() }, h("verdocs-text-input", { label: "Verification Code", required: true, value: this.verificationCode, onInput: (e) => (this.verificationCode = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Password", type: "password", required: true, autocomplete: "off", value: this.newPassword, onInput: (e) => (this.newPassword = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Confirm Password", type: "password", required: true, autocomplete: "off", value: this.confirmpass, onInput: (e) => (this.confirmpass = e.target.value), disabled: this.submitting }), h("div", { style: { marginTop: '30px' } }), h("div", { class: "buttons" }, h("verdocs-button", { label: "Cancel", variant: "outline", disabled: this.submitting, onClick: () => (this.displayMode = 'login') }), h("verdocs-button", { label: "Reset", disabled: this.submitting, onClick: () => this.handleResetPassword() })), h("div", { class: "buttons" }, h("verdocs-button", { variant: "text", label: "Resend Code", disabled: this.resendDisabled || this.submitting, onClick: () => this.handleResendReset() })))));
|
|
349
620
|
}
|
|
350
|
-
return (h("div", { class: "form" }, h("a", { href: "https://verdocs.com/en/" }, h("img", { src: this.logo, alt: "Verdocs Logo", class: "logo" })), h("h3", null, "Log in to your account"),
|
|
621
|
+
return (h("div", { class: "form" }, h("a", { href: "https://verdocs.com/en/" }, h("img", { src: this.logo, alt: "Verdocs Logo", class: "logo" })), h("h3", null, "Log in to your account"), this.renderProviderButtons(), h("form", { onSubmit: () => this.loginAndCheckVerification() }, h("verdocs-text-input", { label: "Email", autocomplete: "username", value: this.email, onInput: (e) => (this.email = e.target.value), disabled: this.submitting }), h("verdocs-text-input", { label: "Password", type: "password", autocomplete: "current-password", value: this.password, onInput: (e) => (this.password = e.target.value), disabled: this.submitting }), h("verdocs-button", { label: "Forgot your password?", variant: "text", size: "small", onClick: () => (this.displayMode = 'forgot'), disabled: this.submitting, style: { display: 'flex', justifyContent: 'flex-end', margin: '-6px 0 20px' } }), h("verdocs-button", { label: "Login", disabled: this.submitting, onClick: () => this.loginAndCheckVerification(), style: { display: 'flex', justifyContent: 'center', margin: '10px auto 0' } }), h("verdocs-button", { label: "Sign Up", variant: "outline", disabled: this.submitting, onClick: () => (this.displayMode = 'signup'), style: { display: 'flex', justifyContent: 'center', margin: '10px auto 0' } }))));
|
|
351
622
|
}
|
|
352
623
|
static get is() { return "verdocs-auth"; }
|
|
353
624
|
static get originalStyleUrls() {
|
|
@@ -431,8 +702,8 @@ export class VerdocsAuth {
|
|
|
431
702
|
"type": "string",
|
|
432
703
|
"mutable": true,
|
|
433
704
|
"complexType": {
|
|
434
|
-
"original": "'login' | 'forgot' | 'reset' | 'signup' | 'verify'",
|
|
435
|
-
"resolved": "\"forgot\" | \"login\" | \"reset\" | \"signup\" | \"verify\"",
|
|
705
|
+
"original": "'login' | 'forgot' | 'reset' | 'signup' | 'verify' | 'mfa'",
|
|
706
|
+
"resolved": "\"forgot\" | \"login\" | \"mfa\" | \"reset\" | \"signup\" | \"verify\"",
|
|
436
707
|
"references": {}
|
|
437
708
|
},
|
|
438
709
|
"required": false,
|
|
@@ -446,6 +717,26 @@ export class VerdocsAuth {
|
|
|
446
717
|
"reflect": false,
|
|
447
718
|
"attribute": "display-mode",
|
|
448
719
|
"defaultValue": "'login'"
|
|
720
|
+
},
|
|
721
|
+
"showSocialLogins": {
|
|
722
|
+
"type": "boolean",
|
|
723
|
+
"mutable": false,
|
|
724
|
+
"complexType": {
|
|
725
|
+
"original": "boolean",
|
|
726
|
+
"resolved": "boolean",
|
|
727
|
+
"references": {}
|
|
728
|
+
},
|
|
729
|
+
"required": false,
|
|
730
|
+
"optional": false,
|
|
731
|
+
"docs": {
|
|
732
|
+
"tags": [],
|
|
733
|
+
"text": "Social auth is disabled by default because these are redirect flows that require allowable redirect_uri\ndestinations be pre-registered. These will only work on Verdocs sites/apps, so third-party developers\nshould not turn this on unless instructed to by Verdocs Support."
|
|
734
|
+
},
|
|
735
|
+
"getter": false,
|
|
736
|
+
"setter": false,
|
|
737
|
+
"reflect": false,
|
|
738
|
+
"attribute": "show-social-logins",
|
|
739
|
+
"defaultValue": "false"
|
|
449
740
|
}
|
|
450
741
|
};
|
|
451
742
|
}
|
|
@@ -463,7 +754,13 @@ export class VerdocsAuth {
|
|
|
463
754
|
"submitting": {},
|
|
464
755
|
"resendDisabled": {},
|
|
465
756
|
"session": {},
|
|
466
|
-
"profile": {}
|
|
757
|
+
"profile": {},
|
|
758
|
+
"providers": {},
|
|
759
|
+
"mfaToken": {},
|
|
760
|
+
"mfaCode": {},
|
|
761
|
+
"recoveryCode": {},
|
|
762
|
+
"useRecoveryCode": {},
|
|
763
|
+
"mfaError": {}
|
|
467
764
|
};
|
|
468
765
|
}
|
|
469
766
|
static get events() {
|
|
@@ -512,5 +809,12 @@ export class VerdocsAuth {
|
|
|
512
809
|
}
|
|
513
810
|
}];
|
|
514
811
|
}
|
|
812
|
+
static get elementRef() { return "el"; }
|
|
813
|
+
static get watchers() {
|
|
814
|
+
return [{
|
|
815
|
+
"propName": "showSocialLogins",
|
|
816
|
+
"methodName": "onShowSocialLoginsChanged"
|
|
817
|
+
}];
|
|
818
|
+
}
|
|
515
819
|
}
|
|
516
820
|
//# sourceMappingURL=verdocs-auth.js.map
|