@verdocs/web-sdk 6.2.2 → 6.2.5
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/{index-DftYQmBd.js → index-BSi_QTIT.js} +7 -4
- package/dist/cjs/{index-DftYQmBd.js.map → index-BSi_QTIT.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/verdocs-auth.cjs.entry.js +1 -10
- package/dist/cjs/verdocs-auth.entry.cjs.js.map +1 -1
- package/dist/cjs/verdocs-build.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-button-panel_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-button_3.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-checkbox_5.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-contact-picker.cjs.entry.js +127 -58
- package/dist/cjs/verdocs-contact-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/verdocs-date-input.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-delegate-dialog_5.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-dialog_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-recipient-link_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-recipient-summary.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-payment.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-menu-panel_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-multiselect.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-organization-card_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-pagination_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-preview.verdocs-send.verdocs-template-attachments.verdocs-template-build-tabs.verdocs-template-fields.verdocs-template-roles.verdocs-template-settings.entry.cjs.js.map +1 -1
- package/dist/cjs/verdocs-preview_7.cjs.entry.js +4 -3
- 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-spinner.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-switch.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-table.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-card.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-create.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 +1 -1
- 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 +2 -2
- package/dist/cjs/verdocs-web-sdk.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js +0 -9
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js.map +1 -1
- package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.js +3 -2
- package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-JSjBRS7U.js → p-9Csbf-tN.js} +6 -6
- package/dist/components/{p-JSjBRS7U.js.map → p-9Csbf-tN.js.map} +1 -1
- package/dist/components/{p-Clw7inRP.js → p-9up2BmHp.js} +7 -4
- package/dist/components/p-9up2BmHp.js.map +1 -0
- package/dist/components/{p-DqU6EOrq.js → p-AVxZpgsX.js} +132 -63
- package/dist/components/p-AVxZpgsX.js.map +1 -0
- package/dist/components/{p-Du4PqhO4.js → p-B0MvlQO2.js} +13 -13
- package/dist/components/{p-Du4PqhO4.js.map → p-B0MvlQO2.js.map} +1 -1
- package/dist/components/{p-DEN3uO4t.js → p-B4UtR_2c.js} +12 -12
- package/dist/components/{p-DEN3uO4t.js.map → p-B4UtR_2c.js.map} +1 -1
- package/dist/components/{p-C4FQgN27.js → p-BL3Ul9SN.js} +3 -3
- package/dist/components/{p-C4FQgN27.js.map → p-BL3Ul9SN.js.map} +1 -1
- package/dist/components/{p-A0TIBCSU.js → p-BUDGHfvB.js} +4 -4
- package/dist/components/{p-A0TIBCSU.js.map → p-BUDGHfvB.js.map} +1 -1
- package/dist/components/{p-BQlQiR3u.js → p-BVuTqQTL.js} +12 -12
- package/dist/components/{p-BQlQiR3u.js.map → p-BVuTqQTL.js.map} +1 -1
- package/dist/components/{p-BwBL5pCO.js → p-BW3GsUj9.js} +3 -3
- package/dist/components/{p-BwBL5pCO.js.map → p-BW3GsUj9.js.map} +1 -1
- package/dist/components/{p-DkJdAEOJ.js → p-BXFf3Lpk.js} +12 -12
- package/dist/components/{p-DkJdAEOJ.js.map → p-BXFf3Lpk.js.map} +1 -1
- package/dist/components/{p-Ckge1ig8.js → p-Bba-t7GY.js} +4 -4
- package/dist/components/{p-Ckge1ig8.js.map → p-Bba-t7GY.js.map} +1 -1
- package/dist/components/{p-CRwSFWzI.js → p-Bf5ceLBh.js} +4 -4
- package/dist/components/{p-CRwSFWzI.js.map → p-Bf5ceLBh.js.map} +1 -1
- package/dist/components/{p-BuubyFAZ.js → p-BhqIuhDg.js} +3 -3
- package/dist/components/{p-BuubyFAZ.js.map → p-BhqIuhDg.js.map} +1 -1
- package/dist/components/{p-C2HCH6g7.js → p-BjvBJ8-S.js} +32 -31
- package/dist/components/p-BjvBJ8-S.js.map +1 -0
- package/dist/components/{p-BdJ3dzrK.js → p-Bq8xEv_t.js} +10 -10
- package/dist/components/{p-BdJ3dzrK.js.map → p-Bq8xEv_t.js.map} +1 -1
- package/dist/components/{p-DLHVUlBz.js → p-BvDqCFDj.js} +4 -4
- package/dist/components/{p-DLHVUlBz.js.map → p-BvDqCFDj.js.map} +1 -1
- package/dist/components/{p-KBnlWGyn.js → p-C2Dmo84A.js} +3 -3
- package/dist/components/{p-KBnlWGyn.js.map → p-C2Dmo84A.js.map} +1 -1
- package/dist/components/{p-CQobV491.js → p-C2cseLAY.js} +3 -3
- package/dist/components/{p-CQobV491.js.map → p-C2cseLAY.js.map} +1 -1
- package/dist/components/{p-ChYa_oDl.js → p-C3iwT41e.js} +3 -3
- package/dist/components/{p-ChYa_oDl.js.map → p-C3iwT41e.js.map} +1 -1
- package/dist/components/{p-BT0neCZs.js → p-C4lOZS20.js} +12 -12
- package/dist/components/{p-BT0neCZs.js.map → p-C4lOZS20.js.map} +1 -1
- package/dist/components/{p-C6fNs8h4.js → p-CBRYaKLM.js} +3 -3
- package/dist/components/{p-C6fNs8h4.js.map → p-CBRYaKLM.js.map} +1 -1
- package/dist/components/{p-Nm1lLP_N.js → p-CBfSBOmz.js} +6 -6
- package/dist/components/{p-Nm1lLP_N.js.map → p-CBfSBOmz.js.map} +1 -1
- package/dist/components/{p-BtmYlhUt.js → p-CDYnBmu_.js} +7 -7
- package/dist/components/{p-BtmYlhUt.js.map → p-CDYnBmu_.js.map} +1 -1
- package/dist/components/{p-DGHTQ0I6.js → p-CPvyHpp6.js} +3 -3
- package/dist/components/{p-DGHTQ0I6.js.map → p-CPvyHpp6.js.map} +1 -1
- package/dist/components/{p-DcQ39vBS.js → p-CcIaiNEM.js} +15 -15
- package/dist/components/{p-DcQ39vBS.js.map → p-CcIaiNEM.js.map} +1 -1
- package/dist/components/{p-BCroqgXq.js → p-CkxqbZql.js} +11 -11
- package/dist/components/{p-BCroqgXq.js.map → p-CkxqbZql.js.map} +1 -1
- package/dist/components/{p-CAz0nJLZ.js → p-Cm3Ns2TB.js} +3 -3
- package/dist/components/{p-CAz0nJLZ.js.map → p-Cm3Ns2TB.js.map} +1 -1
- package/dist/components/{p-ypOGCUn7.js → p-CrZquwr4.js} +5 -5
- package/dist/components/{p-ypOGCUn7.js.map → p-CrZquwr4.js.map} +1 -1
- package/dist/components/{p-BD3k0XXh.js → p-CtbvYEGE.js} +12 -12
- package/dist/components/{p-BD3k0XXh.js.map → p-CtbvYEGE.js.map} +1 -1
- package/dist/components/{p-BLj6y0dz.js → p-Ctqad2FQ.js} +3 -3
- package/dist/components/{p-BLj6y0dz.js.map → p-Ctqad2FQ.js.map} +1 -1
- package/dist/components/{p-BoCrjpQu.js → p-CwgpN7A7.js} +6 -6
- package/dist/components/{p-BoCrjpQu.js.map → p-CwgpN7A7.js.map} +1 -1
- package/dist/components/{p-CWu2DUOc.js → p-DDxQuWAZ.js} +10 -10
- package/dist/components/{p-CWu2DUOc.js.map → p-DDxQuWAZ.js.map} +1 -1
- package/dist/components/{p-C-4fLUhc.js → p-DGJlf5J_.js} +3 -3
- package/dist/components/{p-C-4fLUhc.js.map → p-DGJlf5J_.js.map} +1 -1
- package/dist/components/{p-CO6oIgzX.js → p-DIl7zlTd.js} +3 -3
- package/dist/components/{p-CO6oIgzX.js.map → p-DIl7zlTd.js.map} +1 -1
- package/dist/components/{p-BobC2ZPp.js → p-DK8_N2Na.js} +28 -28
- package/dist/components/{p-BobC2ZPp.js.map → p-DK8_N2Na.js.map} +1 -1
- package/dist/components/{p-Bbme0kV0.js → p-DPBSrcaG.js} +7 -7
- package/dist/components/{p-Bbme0kV0.js.map → p-DPBSrcaG.js.map} +1 -1
- package/dist/components/{p-BgNcmzTv.js → p-DSO1_d48.js} +12 -12
- package/dist/components/{p-BgNcmzTv.js.map → p-DSO1_d48.js.map} +1 -1
- package/dist/components/{p-DnaGcy-V.js → p-D_QT5uZk.js} +3 -3
- package/dist/components/{p-DnaGcy-V.js.map → p-D_QT5uZk.js.map} +1 -1
- package/dist/components/{p-Dq6CVJPs.js → p-DaDjn3gR.js} +3 -3
- package/dist/components/{p-Dq6CVJPs.js.map → p-DaDjn3gR.js.map} +1 -1
- package/dist/components/{p-piBUK21t.js → p-DfTz53m-.js} +12 -12
- package/dist/components/{p-piBUK21t.js.map → p-DfTz53m-.js.map} +1 -1
- package/dist/components/{p-CJhGWFyM.js → p-Dwu1JL0y.js} +9 -9
- package/dist/components/{p-CJhGWFyM.js.map → p-Dwu1JL0y.js.map} +1 -1
- package/dist/components/{p-8YJmijSd.js → p-KqTfG8Kf.js} +3 -3
- package/dist/components/{p-8YJmijSd.js.map → p-KqTfG8Kf.js.map} +1 -1
- package/dist/components/{p-BhWv2W6I.js → p-L3HpKTaM.js} +14 -14
- package/dist/components/{p-BhWv2W6I.js.map → p-L3HpKTaM.js.map} +1 -1
- package/dist/components/{p-BPmnKIE8.js → p-LeCnrgBv.js} +6 -6
- package/dist/components/{p-BPmnKIE8.js.map → p-LeCnrgBv.js.map} +1 -1
- package/dist/components/{p-De55cjKE.js → p-Opf3i5hz.js} +3 -3
- package/dist/components/{p-De55cjKE.js.map → p-Opf3i5hz.js.map} +1 -1
- package/dist/components/{p-C-46fVlJ.js → p-Q6w_Yld9.js} +10 -10
- package/dist/components/{p-C-46fVlJ.js.map → p-Q6w_Yld9.js.map} +1 -1
- package/dist/components/{p-BEuU1xX4.js → p-RQJ9uyyW.js} +3 -3
- package/dist/components/{p-BEuU1xX4.js.map → p-RQJ9uyyW.js.map} +1 -1
- package/dist/components/{p-CUxqZ8xb.js → p-TkHAxPB_.js} +10 -10
- package/dist/components/{p-CUxqZ8xb.js.map → p-TkHAxPB_.js.map} +1 -1
- package/dist/components/{p-B7mqZJ5f.js → p-_BQ9q2MT.js} +4 -4
- package/dist/components/{p-B7mqZJ5f.js.map → p-_BQ9q2MT.js.map} +1 -1
- package/dist/components/{p-FVg7B0fh.js → p-fnInzV73.js} +4 -4
- package/dist/components/{p-FVg7B0fh.js.map → p-fnInzV73.js.map} +1 -1
- package/dist/components/{p-BD-wJn_A.js → p-icGdbhUU.js} +3 -3
- package/dist/components/{p-BD-wJn_A.js.map → p-icGdbhUU.js.map} +1 -1
- package/dist/components/{p-Clx6y9zn.js → p-kvTSiSQ0.js} +3 -3
- package/dist/components/{p-Clx6y9zn.js.map → p-kvTSiSQ0.js.map} +1 -1
- package/dist/components/{p-B1W2x-Pq.js → p-mjn4Ftey.js} +27 -27
- package/dist/components/{p-B1W2x-Pq.js.map → p-mjn4Ftey.js.map} +1 -1
- package/dist/components/{p-C_0clv-R.js → p-mrJQukV3.js} +4 -4
- package/dist/components/{p-C_0clv-R.js.map → p-mrJQukV3.js.map} +1 -1
- package/dist/components/{p-CCKTr5U6.js → p-tGg7lt4q.js} +6 -6
- package/dist/components/{p-CCKTr5U6.js.map → p-tGg7lt4q.js.map} +1 -1
- package/dist/components/{p-BTA1be7y.js → p-wj1u5UNC.js} +3 -3
- package/dist/components/{p-BTA1be7y.js.map → p-wj1u5UNC.js.map} +1 -1
- package/dist/components/verdocs-auth.js +4 -13
- package/dist/components/verdocs-auth.js.map +1 -1
- package/dist/components/verdocs-build.js +43 -43
- 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 +2 -2
- 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-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 +2 -2
- package/dist/components/verdocs-envelope-sidebar.js +11 -11
- package/dist/components/verdocs-envelope-update-recipient.js +1 -1
- package/dist/components/verdocs-envelopes-list.js +11 -11
- 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 +10 -10
- 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-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 +2 -2
- package/dist/components/verdocs-ok-dialog.js +1 -1
- package/dist/components/verdocs-organization-card.js +2 -2
- package/dist/components/verdocs-otp-dialog.js +1 -1
- package/dist/components/verdocs-pagination.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-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.js +16 -16
- package/dist/components/verdocs-signature-dialog.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 +5 -5
- 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 +11 -11
- 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/esm/{index-C05sDUVN.js → index-DjAHH4ih.js} +7 -4
- package/dist/esm/{index-C05sDUVN.js.map → index-DjAHH4ih.js.map} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/verdocs-auth.entry.js +1 -10
- package/dist/esm/verdocs-auth.entry.js.map +1 -1
- package/dist/esm/verdocs-build.entry.js +1 -1
- package/dist/esm/verdocs-button-panel_2.entry.js +1 -1
- package/dist/esm/verdocs-button_3.entry.js +1 -1
- package/dist/esm/verdocs-checkbox_5.entry.js +1 -1
- package/dist/esm/verdocs-contact-picker.entry.js +127 -58
- package/dist/esm/verdocs-contact-picker.entry.js.map +1 -1
- package/dist/esm/verdocs-date-input.entry.js +1 -1
- package/dist/esm/verdocs-delegate-dialog_5.entry.js +1 -1
- package/dist/esm/verdocs-dialog_2.entry.js +1 -1
- package/dist/esm/verdocs-dropdown.entry.js +1 -1
- package/dist/esm/verdocs-envelope-document-page.entry.js +1 -1
- package/dist/esm/verdocs-envelope-recipient-link_2.entry.js +1 -1
- package/dist/esm/verdocs-envelope-recipient-summary.entry.js +1 -1
- package/dist/esm/verdocs-envelope-sidebar.entry.js +1 -1
- package/dist/esm/verdocs-envelopes-list.entry.js +1 -1
- package/dist/esm/verdocs-field-attachment_13.entry.js +1 -1
- package/dist/esm/verdocs-field-payment.entry.js +1 -1
- package/dist/esm/verdocs-file-chooser_2.entry.js +1 -1
- package/dist/esm/verdocs-menu-panel_2.entry.js +1 -1
- package/dist/esm/verdocs-multiselect.entry.js +1 -1
- package/dist/esm/verdocs-organization-card_2.entry.js +1 -1
- package/dist/esm/verdocs-pagination_2.entry.js +1 -1
- package/dist/esm/verdocs-preview.verdocs-send.verdocs-template-attachments.verdocs-template-build-tabs.verdocs-template-fields.verdocs-template-roles.verdocs-template-settings.entry.js.map +1 -1
- package/dist/esm/verdocs-preview_7.entry.js +4 -3
- 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-spinner.entry.js +1 -1
- package/dist/esm/verdocs-status-indicator.entry.js +1 -1
- package/dist/esm/verdocs-switch.entry.js +1 -1
- package/dist/esm/verdocs-table.entry.js +1 -1
- package/dist/esm/verdocs-template-card.entry.js +1 -1
- package/dist/esm/verdocs-template-create.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 +1 -1
- 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 +3 -3
- package/dist/esm/verdocs-web-sdk.js.map +1 -1
- package/dist/esm-es5/index-DjAHH4ih.js +2 -0
- package/dist/esm-es5/{index-C05sDUVN.js.map → index-DjAHH4ih.js.map} +1 -1
- package/dist/esm-es5/loader.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-build.entry.js +1 -1
- package/dist/esm-es5/verdocs-button-panel_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-button-panel_2.entry.js.map +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-checkbox_5.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-contact-picker.entry.js +2 -2
- 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-delegate-dialog_5.entry.js +1 -1
- package/dist/esm-es5/verdocs-delegate-dialog_5.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-dialog_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-dropdown.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-recipient-link_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-recipient-link_2.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-envelope-recipient-summary.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-sidebar.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-attachment_13.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-attachment_13.entry.js.map +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-menu-panel_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-menu-panel_2.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-multiselect.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.verdocs-send.verdocs-template-attachments.verdocs-template-build-tabs.verdocs-template-fields.verdocs-template-roles.verdocs-template-settings.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-preview_7.entry.js +1 -1
- package/dist/esm-es5/verdocs-preview_7.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-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-template-card.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-create.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-document-page_2.entry.js.map +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/esm-es5/verdocs-web-sdk.js.map +1 -1
- package/dist/types/stencil-public-runtime.d.ts +20 -10
- package/dist/verdocs-web-sdk/{p-2a1b80df.system.entry.js → p-03a6ee37.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-05b5f6a8.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-33ab44b7.system.entry.js.map → p-05b5f6a8.system.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/p-072cf3bf.system.entry.js +4 -0
- package/dist/verdocs-web-sdk/p-072cf3bf.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-1ff272f6.entry.js → p-095f01ea.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-0c2b17b8.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-74bbd74a.system.entry.js.map → p-0c2b17b8.system.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-cf8ee113.entry.js → p-0c895013.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-2d25b13c.system.entry.js → p-0d3060d5.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-b2df2093.entry.js → p-10496565.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-16c12330.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-b5df6697.system.entry.js.map → p-16c12330.system.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-eac95c01.entry.js → p-198505d1.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-1Cwi_bnK.system.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-1db62ef8.entry.js → p-1b86055f.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-5889c99f.entry.js → p-1bc8a67b.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-9cbdf984.system.entry.js → p-2083a0b5.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-9a109fed.entry.js → p-22d7fd99.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-24a5020f.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-f6b28e39.system.entry.js.map → p-24a5020f.system.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-968a5c6c.entry.js → p-262e6ed3.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-296df8e6.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-61310d21.system.entry.js.map → p-296df8e6.system.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-b0356b14.entry.js → p-2ab55e7e.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-76f93877.entry.js → p-331b0a01.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-3f18c552.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-8f6075ec.system.entry.js.map → p-3f18c552.system.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-b0d3e996.entry.js → p-408204b5.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-c9f807d7.system.entry.js → p-424acea6.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-5f01fbeb.system.entry.js → p-4251e17b.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-474ac411.entry.js +3 -0
- package/dist/verdocs-web-sdk/p-474ac411.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-54089f3f.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-4ce49ea8.system.entry.js.map → p-54089f3f.system.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-771f2a9e.entry.js → p-56cd489c.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-5808c4ab.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-c70f32bc.system.entry.js.map → p-5808c4ab.system.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-c4ec6886.entry.js → p-68dc5809.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-a5d53c9f.system.entry.js → p-6ec49614.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-6ec9a626.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-dbd65627.system.entry.js.map → p-6ec9a626.system.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-8e4385c9.entry.js → p-7032e5ee.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-759f13e2.entry.js → p-74f1369b.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-5b7212dc.entry.js → p-74f5a0bd.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-75154f85.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-4fe366ed.system.entry.js.map → p-75154f85.system.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-c3c6b0eb.system.entry.js → p-7787a0e4.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-91c0bdf3.entry.js → p-778aa621.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-381bb0d2.system.entry.js → p-77a495cb.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-1584775b.system.entry.js → p-79a57db4.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-879c16ae.entry.js → p-7c552800.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-7e1ae321.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-8d456c32.system.entry.js.map → p-7e1ae321.system.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-0d45a7bb.entry.js → p-83057e79.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-c7a18c50.entry.js → p-84ef045b.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-d35e21c6.system.entry.js → p-85a01930.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-5ebe3f25.system.entry.js → p-8697ea44.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-b0d4f77c.system.entry.js → p-89675355.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-f215d74d.system.entry.js → p-899a183a.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-715b1538.entry.js → p-8ae75311.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-fae894d6.system.entry.js → p-8daa82ec.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-4040ff25.entry.js → p-8f615cf8.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-36b211e9.system.entry.js → p-91455dc1.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-94805e3a.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-221da740.system.entry.js.map → p-94805e3a.system.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-83369b59.entry.js → p-95098523.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-26ae8fde.entry.js → p-9a614582.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-CA3Q23Zl.system.js.map → p-B6BNgFvR.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-B6Yr6dLH.system.js.map → p-BAjoE0hn.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-DQiE2MRY.system.js.map → p-BDfCyBqE.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-DVZN96Di.system.js.map → p-BFiBadxx.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-MmYXXkuN.system.js.map → p-BLUIpLYQ.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-BteDuaoR.system.js.map → p-BR93bjYo.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/p-BSxnvcXp.system.js +2 -0
- package/dist/verdocs-web-sdk/{p-B2ZTJRF1.system.js.map → p-BSxnvcXp.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-Xl_gS7bj.system.js.map → p-BTH3kXDy.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-BwAcNrO8.system.js.map → p-Bf1JxkHa.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-DjDnOHB1.system.js.map → p-Bfjmk6kM.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-CsthwGbE.system.js.map → p-C-KROPlf.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-CJpYF1nP.system.js.map → p-C-Q0RpYH.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-DoFYKh5S.system.js.map → p-CJgSdGDZ.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-BP6QzunY.system.js.map → p-Cdv-0jBY.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-PBXTJV8X.system.js.map → p-CgYIryaO.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-BVgRWHdx.system.js.map → p-CoMELZur.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-BpVWw6cq.system.js.map → p-CqY4YwuC.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/p-Cs7NUoKG.system.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-DFLw61Sh.system.js.map → p-CuZVPC43.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-CdL4THIS.system.js.map → p-Cw8YN0pQ.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-TeE_49wp.system.js.map → p-D-jNdMbp.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-4OWnEogw.system.js.map → p-D2J4BqZ5.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-D8jwiOjp.system.js.map → p-D5jBjbqb.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-6RyuOyOJ.system.js.map → p-D6lkIXxV.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-CEj4NLjk.system.js.map → p-DC4mn44e.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-DAtE-bHb.system.js.map → p-DIFMCsR8.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-C3FrKBlJ.system.js.map → p-DN26hbJo.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-C05sDUVN.js → p-DjAHH4ih.js} +3 -3
- package/dist/verdocs-web-sdk/{p-C05sDUVN.js.map → p-DjAHH4ih.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-CJgSjfS3.system.js.map → p-DjReAtE4.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-BwvJ8lkq.system.js.map → p-DmidtinD.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-Dcfn37ar.system.js.map → p-DnpXTA0c.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-C8Gi1rag.system.js.map → p-DpcvJtUM.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-BZ9rCFg-.system.js.map → p-DqN8pWd6.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-CxfpQzDf.system.js.map → p-DrJsQShN.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-gMXuliDq.system.js → p-IELtlxxf.system.js} +3 -3
- package/dist/verdocs-web-sdk/{p-gMXuliDq.system.js.map → p-IELtlxxf.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/p-L9recsMg.system.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-CaqnocS5.system.js.map → p-WL8pZ5_5.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-DRLUgxAz.system.js.map → p-YdG8FzTN.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/p-a4b4356a.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-a4b4356a.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-a5c1783e.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-a5c1783e.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-06599b17.entry.js → p-a7b796c9.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-60579b96.entry.js → p-a8ccb0e1.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-b0e8639b.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-9c719a1e.system.entry.js.map → p-b0e8639b.system.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-dca0ee01.system.entry.js → p-b2598797.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-b2d5d57c.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-098a275a.system.entry.js.map → p-b2d5d57c.system.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-4fc7fb57.entry.js → p-b81c87a9.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-b954399f.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-66a34894.system.entry.js.map → p-b954399f.system.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-af444549.system.entry.js → p-ba37926e.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-bcad2169.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-2642cf9a.system.entry.js.map → p-bcad2169.system.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/p-bd7e0e8f.system.entry.js +8 -0
- package/dist/verdocs-web-sdk/p-bd7e0e8f.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-29b12c84.entry.js → p-c137b66c.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-0eab8901.entry.js → p-c636caf4.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-8dfd4098.entry.js → p-d0cdb769.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-977e8a55.entry.js → p-d68d286d.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-6c0c5157.entry.js → p-d995bf66.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-bcff9d82.entry.js → p-da01f5fd.entry.js} +3 -3
- package/dist/verdocs-web-sdk/p-da01f5fd.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-f35d0bb1.system.entry.js → p-dc64588a.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-df9a63c8.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-c53bba5b.system.entry.js.map → p-df9a63c8.system.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-ef605deb.entry.js → p-e1010b5e.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-44e75231.entry.js → p-e251a7f7.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-1563ebea.entry.js → p-e612587a.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-e6c86704.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-31edd0f7.system.entry.js.map → p-e6c86704.system.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-2d879f01.entry.js → p-e9be55a9.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-f706a680.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/{p-0e597594.system.entry.js.map → p-f706a680.system.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-ecebcb2e.entry.js → p-fbb5d382.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-BjwKhRfU.system.js.map → p-jGm3fIdS.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-eTl5b3_e.system.js.map → p-mV1PT3tZ.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-DyL8qWVe.system.js.map → p-pcmVRVX-.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-B5c8-tK6.system.js.map → p-qmFLckgf.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-X4iTgaqa.system.js.map → p-tlNLqVnV.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/verdocs-auth.entry.esm.js.map +1 -1
- package/dist/verdocs-web-sdk/verdocs-contact-picker.entry.esm.js.map +1 -1
- package/dist/verdocs-web-sdk/verdocs-preview.verdocs-send.verdocs-template-attachments.verdocs-template-build-tabs.verdocs-template-fields.verdocs-template-roles.verdocs-template-settings.entry.esm.js.map +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js.map +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.js +1 -1
- package/package.json +5 -5
- package/dist/components/p-C2HCH6g7.js.map +0 -1
- package/dist/components/p-Clw7inRP.js.map +0 -1
- package/dist/components/p-DqU6EOrq.js.map +0 -1
- package/dist/esm-es5/index-C05sDUVN.js +0 -2
- package/dist/verdocs-web-sdk/p-098a275a.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-0e597594.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-221da740.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-2642cf9a.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-31edd0f7.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-33ab44b7.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-4ce49ea8.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-4fe366ed.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-61310d21.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-66a34894.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-74bbd74a.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-87b0aa15.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-87b0aa15.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-8d456c32.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-8f6075ec.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-929c6dcb.system.entry.js +0 -4
- package/dist/verdocs-web-sdk/p-929c6dcb.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-9c719a1e.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-B2ZTJRF1.system.js +0 -2
- package/dist/verdocs-web-sdk/p-BDT8VDnV.system.js.map +0 -1
- package/dist/verdocs-web-sdk/p-BVYtr8jX.system.js.map +0 -1
- package/dist/verdocs-web-sdk/p-Di6KD3hm.system.js.map +0 -1
- package/dist/verdocs-web-sdk/p-ab3fcfa6.system.entry.js +0 -8
- package/dist/verdocs-web-sdk/p-ab3fcfa6.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-b5df6697.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-bcff9d82.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-c53bba5b.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-c70f32bc.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-d65600c4.entry.js +0 -3
- package/dist/verdocs-web-sdk/p-d65600c4.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-dbd65627.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-f6016dfb.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-f6016dfb.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-f6b28e39.system.entry.js +0 -2
- /package/dist/verdocs-web-sdk/{p-2a1b80df.system.entry.js.map → p-03a6ee37.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-1ff272f6.entry.js.map → p-095f01ea.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-cf8ee113.entry.js.map → p-0c895013.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2d25b13c.system.entry.js.map → p-0d3060d5.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-b2df2093.entry.js.map → p-10496565.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-eac95c01.entry.js.map → p-198505d1.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-1db62ef8.entry.js.map → p-1b86055f.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-5889c99f.entry.js.map → p-1bc8a67b.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-9cbdf984.system.entry.js.map → p-2083a0b5.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-9a109fed.entry.js.map → p-22d7fd99.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-968a5c6c.entry.js.map → p-262e6ed3.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-b0356b14.entry.js.map → p-2ab55e7e.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-76f93877.entry.js.map → p-331b0a01.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-b0d3e996.entry.js.map → p-408204b5.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-c9f807d7.system.entry.js.map → p-424acea6.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-5f01fbeb.system.entry.js.map → p-4251e17b.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-771f2a9e.entry.js.map → p-56cd489c.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-c4ec6886.entry.js.map → p-68dc5809.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-a5d53c9f.system.entry.js.map → p-6ec49614.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-8e4385c9.entry.js.map → p-7032e5ee.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-759f13e2.entry.js.map → p-74f1369b.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-5b7212dc.entry.js.map → p-74f5a0bd.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-c3c6b0eb.system.entry.js.map → p-7787a0e4.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-91c0bdf3.entry.js.map → p-778aa621.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-381bb0d2.system.entry.js.map → p-77a495cb.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-1584775b.system.entry.js.map → p-79a57db4.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-879c16ae.entry.js.map → p-7c552800.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-0d45a7bb.entry.js.map → p-83057e79.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-c7a18c50.entry.js.map → p-84ef045b.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-d35e21c6.system.entry.js.map → p-85a01930.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-5ebe3f25.system.entry.js.map → p-8697ea44.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-b0d4f77c.system.entry.js.map → p-89675355.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-f215d74d.system.entry.js.map → p-899a183a.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-715b1538.entry.js.map → p-8ae75311.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-fae894d6.system.entry.js.map → p-8daa82ec.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-4040ff25.entry.js.map → p-8f615cf8.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-36b211e9.system.entry.js.map → p-91455dc1.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-83369b59.entry.js.map → p-95098523.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-26ae8fde.entry.js.map → p-9a614582.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-06599b17.entry.js.map → p-a7b796c9.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-60579b96.entry.js.map → p-a8ccb0e1.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-dca0ee01.system.entry.js.map → p-b2598797.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-4fc7fb57.entry.js.map → p-b81c87a9.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-af444549.system.entry.js.map → p-ba37926e.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-29b12c84.entry.js.map → p-c137b66c.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-0eab8901.entry.js.map → p-c636caf4.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-8dfd4098.entry.js.map → p-d0cdb769.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-977e8a55.entry.js.map → p-d68d286d.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-6c0c5157.entry.js.map → p-d995bf66.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-f35d0bb1.system.entry.js.map → p-dc64588a.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-ef605deb.entry.js.map → p-e1010b5e.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-44e75231.entry.js.map → p-e251a7f7.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-1563ebea.entry.js.map → p-e612587a.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2d879f01.entry.js.map → p-e9be55a9.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-ecebcb2e.entry.js.map → p-fbb5d382.entry.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as registerInstance,c as createEvent,h,H as Host}from"./index-
|
|
1
|
+
import{r as registerInstance,c as createEvent,h,H as Host}from"./index-DjAHH4ih.js";var verdocsDialogCss='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-dialog{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:"Inter", "Barlow", sans-serif}verdocs-dialog div{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-dialog .background-overlay{top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;z-index:10000;position:absolute;-ms-flex-align:center;align-items:center;background:rgba(0, 0, 0, 0.4980392157);-ms-flex-pack:center;justify-content:center}verdocs-dialog .dialog{width:420px;display:-ms-flexbox;display:flex;max-width:100%;overflow:hidden;border-radius:8px;background:#ffffff;-ms-flex-direction:column;flex-direction:column;border:1px solid #aeb4bf;-webkit-box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4);box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4)}verdocs-dialog .heading{gap:12px;padding:20px;display:-ms-flexbox;display:flex;font-size:16px;font-weight:500;-ms-flex-direction:row;flex-direction:row;color:#ffffff;border-bottom:1.5px solid #e5e7eb}verdocs-dialog .heading .icon{width:40px;height:40px;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;border-radius:8px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:#654dcb}verdocs-dialog .heading .title{-ms-flex:1;flex:1;height:40px;display:-ms-flexbox;display:flex;font-size:20px;font-weight:500;-ms-flex-align:center;align-items:center;color:#092c4c}verdocs-dialog .content{padding:20px 20px 0 20px;font-size:16px;line-height:26px;color:#374151}verdocs-dialog .content p{margin:0 0 1em 0}verdocs-dialog .content ul{margin:0 0 1em 0;padding:0 0 0 20px}verdocs-dialog .content ul li{font-size:14px;line-height:20px;margin:0 0 12px 0;padding:0 0 0 8px}verdocs-dialog .content ul li::marker{font-size:18px;color:#654dcb}verdocs-dialog .content ol{margin:0 0 1em 0;padding:0 0 0 20px}verdocs-dialog .content ol li{font-size:14px;line-height:20px;margin:0 0 12px 0;padding:0 0 0 8px}verdocs-dialog .content ol li::marker{font-weight:500;color:#654dcb}verdocs-dialog .footer{padding:0 20px 20px 20px}';var VerdocsDialog=function(){function e(e){registerInstance(this,e);this.exit=createEvent(this,"exit")}e.prototype.handleDismiss=function(e){var o;if(e.target.className==="background-overlay"){e.preventDefault();(o=this.exit)===null||o===void 0?void 0:o.emit()}};e.prototype.render=function(){var e=this;return h(Host,{key:"be17acda3073b24421df0056f635605186a30c7a"},h("div",{key:"5f81616d9759436c1ff5aecec01b48c9b34beb01",class:"background-overlay",onClick:function(o){return e.handleDismiss(o)}},h("div",{key:"9c92691a7a0a927894c8a6a452cee07e9a9c6149",class:"dialog"},h("slot",{key:"1942793ef2ed923dbc8bbeae0856086478891b18",name:"heading"},h("div",{key:"b0612747e4788180147a9681c13d7f54b1545abf",class:"heading"},"Title")),h("slot",{key:"6466b34551df42a274317118cc50b87788d116ca",name:"content"},h("div",{key:"07ffe13455670646c154299fc9de570d283b2d3b",class:"content"},"Content")),h("slot",{key:"974d452de004ba7669d17e1ae7a4b5370e113c4a",name:"footer"},h("div",{key:"5100d78a34effea5b805f9c7b5f567a61938149b",class:"footer"},"Footer")))))};return e}();VerdocsDialog.style=verdocsDialogCss;var verdocsOkDialogCss='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-ok-dialog{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:"Inter", "Barlow", sans-serif}verdocs-ok-dialog.closed{display:none}verdocs-ok-dialog .buttons{gap:20px;display:-ms-flexbox;display:flex;margin-top:24px;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center}verdocs-ok-dialog .buttons button{-ms-flex:1;flex:1;border:0;height:38px;display:-ms-flexbox;display:flex;color:#ffffff;font-size:14px;cursor:pointer;border-radius:6px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}verdocs-ok-dialog .buttons button.cancel{background-color:#654dcb}verdocs-ok-dialog .buttons button.ok{background-color:#55bc81}verdocs-ok-dialog .buttons button.ok.single{max-width:150px}verdocs-ok-dialog .buttons button:disabled{background-color:#6c727f}';var VerdocsOkDialog=function(){function e(e){registerInstance(this,e);this.next=createEvent(this,"next");this.exit=createEvent(this,"exit");this.heading="";this.message="";this.buttonLabel="OK";this.showCancel=false;this.closed=false}e.prototype.handleOk=function(){this.next.emit()};e.prototype.handleCancel=function(){this.exit.emit()};e.prototype.handleDismiss=function(e){this.closed=true;if(e.target.className==="background-overlay"){e.preventDefault();this.exit.emit()}};e.prototype.render=function(){var e=this;return h("verdocs-dialog",{key:"ab6f75df77de76dce8c19c774f796b44e857368d",onExit:function(o){return e.handleDismiss(o)}},h("div",{key:"9bc0733c41f6ed554a86b243024ae84ecfa6b952",slot:"heading",class:"heading"},h("div",{key:"571a858eae8b37e30b14f7e9ce899f5e149fc1fc",class:"icon"},h("svg",{key:"a52971bc0019952a0c3d1baa8c39167728f4c3fa",width:"22",height:"19",viewBox:"0 0 22 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("g",{key:"9dac2bfc93cb0f4e691aeef39eda7ac5f0f9b3ca","clip-path":"url(#clip0_34208_4881)"},h("path",{key:"3c1d9457e4d5801eb26bff24c8e64e2659d48986",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:"a523c67f2fa12f9b0a26924da33981a44f9dd428"},h("clipPath",{key:"8f0dac8b3ecf437a297485e5a66dfb88b4f900d1",id:"clip0_34208_4881"},h("path",{key:"f795bcc400899874aa1f2424d7f5a9bdb8ba1da6",d:"M0.875 0.75H21.125V18.75H0.875V0.75Z",fill:"white"}))))),h("div",{key:"f9b32149447e117074bd0e507516dfce14726eb9",class:"title"}," ",this.heading)),h("div",{key:"4233ac6c51410b68e8b95aa45783112262c68839",slot:"content",class:"content",innerHTML:this.message}),h("div",{key:"eecd50d76c8dd37f779dc88aaa33ba3e33803650",class:"footer",slot:"footer"},h("div",{key:"91432b77dcc3636230638567b80e7b200a96fc55",class:"buttons"},this.showCancel&&h("button",{key:"1b5f70c15c880b2330a25e4a43d9e48c7611b899",class:"cancel",onClick:function(){return e.handleCancel()}},"Cancel"),h("button",{key:"20e0873f4cb299932a5a512a2f5e9ebb602a2f38",class:!this.showCancel?"ok single":"ok",onClick:function(){return e.handleOk()}},"OK"))))};return e}();VerdocsOkDialog.style=verdocsOkDialogCss;export{VerdocsDialog as verdocs_dialog,VerdocsOkDialog as verdocs_ok_dialog};
|
|
2
2
|
//# sourceMappingURL=verdocs-dialog_2.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-
|
|
1
|
+
import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-DjAHH4ih.js";import{randomString}from"@verdocs/js-sdk";var verdocsDropdownCss='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-dropdown{height:26px;display:block;position:relative;font-family:"Inter", "Barlow", sans-serif}verdocs-dropdown .arrow{height:26px;padding:0 4px;background:#fff;cursor:pointer;border-radius:4px;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;border:1px solid #cccccc;-ms-flex-pack:center;justify-content:center}verdocs-dropdown .arrow svg{fill:#55bc81;-webkit-transition:0.3s;transition:0.3s}verdocs-dropdown.open .arrow{background:#4c56cb;border:1px solid #707ae5}verdocs-dropdown.open .arrow svg{-webkit-transform:scaleY(-1);transform:scaleY(-1);fill:#fff}#verdocs-dropdown-menu-items{width:200px;z-index:10000;position:absolute;border-radius:5px;background:#33354c;border:1px solid #654dcb}.verdocs-dropdown-menu-separator{height:1px;margin-top:5px;padding-top:5px;border-top:1px solid rgba(255, 255, 255, 0.3725490196)}.verdocs-dropdown-menu-option{width:100%;color:#fff;border:none;display:block;text-align:left;background:none;text-wrap:nowrap;padding:10px 20px}.verdocs-dropdown-menu-option:hover{cursor:pointer;background:#55bc81}.verdocs-dropdown-menu-option[disabled]{color:#aaaaaa}.verdocs-dropdown-menu-option[disabled]:hover{cursor:inherit;background:transparent;color:#aaaaaa}';var DropdownArrow='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#50BE80"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M7 10l5 5 5-5H7z"/></svg>';var VerdocsDropdown=function(){function o(o){registerInstance(this,o);this.optionSelected=createEvent(this,"optionSelected");this.options=[];this.containerId="verdocs-send-".concat(Math.random().toString(36).substring(2,11));this.showPicker=false}o.prototype.handleSelectOption=function(o,r){var e;o.stopPropagation();(e=this.optionSelected)===null||e===void 0?void 0:e.emit(r);this.showPicker=false};o.prototype.toggle=function(){this.showPicker=!this.showPicker};o.prototype.render=function(){var o=this;var r="verdocs-dropdown-".concat(randomString(8));return h(Host,{key:"466a4c33a9d8867a5740fd05b49dfba52ae07334"},h("button",{key:"7e0493bac43d60b5116c604a0012951e69380eb6",class:"arrow",innerHTML:DropdownArrow,"aria-label":"Open Menu",id:r,onClick:function(){return o.showPicker=!o.showPicker}}),this.showPicker&&h("verdocs-portal",{key:"8fcdfbf97c8f3a859dfa523eed4660195f246124",anchor:r,onClickAway:function(){return o.showPicker=false},id:"verdocs-dropdown-menu-items"},this.options.map((function(r){if(!r.label){return h("div",{class:"verdocs-dropdown-menu-separator"})}else{return h("button",{class:"verdocs-dropdown-menu-option",disabled:r.disabled||false,onClick:function(e){return o.handleSelectOption(e,r)}},r.label)}}))))};Object.defineProperty(o.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return o}();VerdocsDropdown.style=verdocsDropdownCss;export{VerdocsDropdown as verdocs_dropdown};
|
|
2
2
|
//# sourceMappingURL=verdocs-dropdown.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n["throw"](e))}catch(e){o(e)}}function c(e){e.done?i(e.value):r(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,r,o,s;return s=
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n["throw"](e))}catch(e){o(e)}}function c(e){e.done?i(e.value):r(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,r,o,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=a(0),s["throw"]=a(1),s["return"]=a(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(e){return function(t){return c([e,t])}}function c(a){if(n)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(i=0)),i)try{if(n=1,r&&(o=a[0]&2?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;if(r=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;r=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(a[0]===6&&i.label<o[1]){i.label=o[1];o=a;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(a);break}if(o[2])i.ops.pop();i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e];r=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-DjAHH4ih.js";import{VerdocsEndpoint,getEnvelopeDocumentPageDisplayUri}from"@verdocs/js-sdk";import{t as throttle}from"./utils-PdWvXqe5.js";import"./index-dzBXqXlK.js";import"./Types-dqxNbm_b.js";var verdocsEnvelopeDocumentPageCss="@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-envelope-document-page{width:100%;position:relative}verdocs-envelope-document-page .verdocs-envelope-document-page-layer{position:absolute;top:0;left:0;right:0;bottom:0;-webkit-box-shadow:0 0 10px 5px rgba(0, 0, 0, 0.0588235294);box-shadow:0 0 10px 5px rgba(0, 0, 0, 0.0588235294)}verdocs-envelope-document-page .verdocs-envelope-document-page-layer.img{width:100%}";var VerdocsEnvelopeDocumentPage=function(){function e(e){registerInstance(this,e);this.pageRendered=createEvent(this,"pageRendered");this.endpoint=VerdocsEndpoint.getDefault();this.envelopeId="";this.documentId="";this.pageNumber=1;this.virtualWidth=612;this.virtualHeight=792;this.layers=[{name:"page",type:"canvas"}];this.type="original";this.containerId="verdocs-envelope-document-page-".concat(Math.random().toString(36).substring(2,11));this.renderedWidth=this.virtualWidth;this.renderedHeight=this.virtualHeight;this.naturalWidth=this.virtualWidth;this.naturalHeight=this.virtualHeight;this.aspectRatio=this.virtualWidth/this.virtualHeight;this.skipFirstNotification=true;this.pageDisplayUri="https://verdocs-public-assets.s3.amazonaws.com/page-loading-placeholder.png"}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:e=this;return[4,getEnvelopeDocumentPageDisplayUri(this.endpoint,this.documentId,this.pageNumber,this.type)];case 1:e.pageDisplayUri=t.sent();return[2]}}))}))};e.prototype.componentDidLoad=function(){var e=this;this.resizeObserver=new ResizeObserver(throttle((function(t){for(var i=0,n=t;i<n.length;i++){var r=n[i];var o=r.contentRect.width;e.renderedWidth=o;e.renderedHeight=e.virtualHeight*(o/e.virtualWidth)}e.notifyRenderedSize()}),100));this.resizeObserver.observe(this.container)};e.prototype.disconnectedCallback=function(){var e;(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect()};e.prototype.notifyRenderedSize=function(){if(this.skipFirstNotification){this.skipFirstNotification=false;return}this.pageRendered.emit({containerId:this.containerId,documentId:this.documentId,pageNumber:this.pageNumber,virtualWidth:this.virtualWidth,virtualHeight:this.virtualHeight,renderedWidth:this.renderedWidth,renderedHeight:this.renderedHeight,naturalWidth:this.naturalWidth,naturalHeight:this.naturalHeight,aspectRatio:this.aspectRatio,xScale:this.renderedWidth/this.virtualWidth,yScale:this.renderedHeight/this.virtualHeight})};e.prototype.render=function(){var e=this;var t="".concat(this.renderedHeight,"px");return h(Host,{key:"f512a16452cd0440cad5e81a691d5d9b5ae03e00",id:"".concat(this.containerId),style:{height:t,flex:"0 0 ".concat(t)}},this.layers.map((function(i){return i.type==="div"?h("div",{class:"verdocs-envelope-document-page-layer",id:"".concat(e.containerId,"-").concat(i.name),style:{height:t}}):e.pageDisplayUri?h("img",{class:"verdocs-envelope-document-page-layer img",id:"".concat(e.containerId,"-").concat(i.name),src:e.pageDisplayUri,alt:"Page ".concat(e.pageNumber),"aria-hidden":true,loading:"lazy",onLoad:function(t){e.naturalWidth=t.target.naturalWidth;e.naturalHeight=t.target.naturalHeight;e.aspectRatio=e.naturalWidth/e.naturalHeight;e.virtualHeight=e.virtualWidth/e.aspectRatio;e.renderedHeight=t.target.offsetWidth/e.aspectRatio}}):h("div",null)})))};Object.defineProperty(e.prototype,"container",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();VerdocsEnvelopeDocumentPage.style=verdocsEnvelopeDocumentPageCss;export{VerdocsEnvelopeDocumentPage as verdocs_envelope_document_page};
|
|
2
2
|
//# sourceMappingURL=verdocs-envelope-document-page.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var i,n=1,t=arguments.length;n<t;n++){i=arguments[n];for(var o in i)if(Object.prototype.hasOwnProperty.call(i,o))e[o]=i[o]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,i,n,t){function o(e){return e instanceof n?e:new n((function(i){i(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{c(t.next(e))}catch(e){r(e)}}function l(e){try{c(t["throw"](e))}catch(e){r(e)}}function c(e){e.done?n(e.value):o(e.value).then(s,l)}c((t=t.apply(e,i||[])).next())}))};var __generator=this&&this.__generator||function(e,i){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},t,o,r,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(e){return function(i){return c([e,i])}}function c(l){if(t)throw new TypeError("Generator is already executing.");while(s&&(s=0,l[0]&&(n=0)),n)try{if(t=1,o&&(r=l[0]&2?o["return"]:l[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;if(o=0,r)l=[l[0]&2,r.value];switch(l[0]){case 0:case 1:r=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;o=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){n.label=l[1];break}if(l[0]===6&&n.label<r[1]){n.label=r[1];r=l;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(l);break}if(r[2])n.ops.pop();n.trys.pop();continue}l=i.call(e,n)}catch(e){l=[6,e];o=0}finally{t=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,H as Host}from"./index-C05sDUVN.js";import{VerdocsEndpoint,getEnvelope,getInPersonLink,formatFullName}from"@verdocs/js-sdk";import{V as VerdocsToast}from"./Toast-CyvDgtoV.js";import{S as SDKError}from"./errors-C1sRVZWv.js";import{S as Store}from"./Datastore-DmsV595e.js";var verdocsEnvelopeRecipientLinkCss='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-envelope-recipient-link{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-link .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-link .summary-content .summary-title{font-size:20px;font-weight:700;margin:0 0 10px 0;color:#33364b}verdocs-envelope-recipient-link .summary-recipient{display:-ms-flexbox;display:flex;color:#33364b;margin:8px 0 24px 0;-ms-flex-direction:column;flex-direction:column}verdocs-envelope-recipient-link .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-link .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-link .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-link .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-link .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-link .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;margin:0 6px 0 0;border-radius:4px;white-space:nowrap;-ms-flex-align:center;align-items:center;text-overflow:ellipsis;border:1px solid #cccccc;background:rgb(249, 250, 251)}verdocs-envelope-recipient-link .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-link .buttons verdocs-button{-ms-flex:0 0 120px;flex:0 0 120px;margin-left:10px;white-space:nowrap}verdocs-envelope-recipient-link .buttons verdocs-button button{width:100%}';var VerdocsEnvelopeRecipientLink=function(){function e(e){registerInstance(this,e);this.next=createEvent(this,"next");this.sdkError=createEvent(this,"sdkError");this.envelopeListenerId=null;this.endpoint=VerdocsEndpoint.getDefault();this.envelopeId="";this.roleName="";this.gettingLink=true;this.link="";this.loading=true;this.envelope=null;this.recipient=null}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,i,n;return __generator(this,(function(t){try{this.endpoint.loadSession();if(!this.envelopeId){console.log("[RECIPIENT_LINK] Missing required envelope ID ".concat(this.envelopeId));return[2]}if(!this.endpoint.session){console.log("[RECIPIENT_LINK] Unable to start session, must be authenticated");return[2]}this.listenToEnvelope()}catch(t){console.log("[RECIPIENT_LINK] Error loading envelope",t);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new SDKError(t.message,(i=t.response)===null||i===void 0?void 0:i.status,(n=t.response)===null||n===void 0?void 0:n.data))}return[2]}))}))};e.prototype.disconnectedCallback=function(){this.unlistenToEnvelope()};e.prototype.listenToEnvelope=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){console.log("[RECIPIENT_LINK] Loading envelope",this.envelopeId);this.unlistenToEnvelope();Store.subscribe("envelopes",this.envelopeId,(function(){return getEnvelope(e.endpoint,e.envelopeId)}),false,(function(i){var n;e.envelope=i;e.loading=false;e.recipient=(((n=e.envelope)===null||n===void 0?void 0:n.recipients)||[]).find((function(i){return i.role_name===e.roleName}));e.getLink(e.recipient)}));return[2]}))}))};e.prototype.unlistenToEnvelope=function(){if(this.envelopeListenerId){Store.store.delListener(this.envelopeListenerId);this.envelopeListenerId=null}};e.prototype.handleDone=function(e){var i;e.preventDefault();(i=this.next)===null||i===void 0?void 0:i.emit({envelope:this.envelope})};e.prototype.copyLink=function(e){navigator.clipboard.writeText(e).then((function(){return VerdocsToast("Link copied to clipboard!",{style:"success",duration:3e3})})).catch((function(e){console.warn("[RECIPIENT_LINK] Error copying to clipboard",e);VerdocsToast("Unable to copy to clipboard: ".concat(e.message),{style:"error"})}))};e.prototype.getLink=function(e){var i=this;this.gettingLink=true;getInPersonLink(this.endpoint,e.envelope_id,e.role_name).then((function(e){i.gettingLink=false;i.link=e.link})).catch((function(e){i.gettingLink=false;console.log("[RECIPIENT_LINK] Error getting link",e);VerdocsToast("Unable to get link: "+e.message,{style:"error"})}))};e.prototype.render=function(){var e=this;if(this.loading||!this.recipient){return h(Host,null)}var i=formatFullName(this.recipient);return h(Host,null,h("div",{class:"summary-content"},h("h1",{class:"summary-title"},"In-Person Signing Link"),h("div",{class:"summary-rows"},h("div",{class:"summary-recipient"},h("div",{class:"role-name"},this.recipient.role_name),h("div",{class:"role-details"},h("div",{class:"role-info"},h("div",{class:"role-full-name"},i," (",this.recipient.email||this.recipient.phone,")"),!this.link&&h("verdocs-button",{size:"small",variant:"outline",label:this.gettingLink?"Loading...":"Get Link",disabled:this.gettingLink,onClick:function(){return e.getLink(e.recipient)}})),this.link&&h("div",{class:"link-wrapper"},h("div",{class:"link"},this.link),h("verdocs-button",{size:"small",variant:"outline",label:"Copy",onClick:function(){return e.copyLink(e.link)}}))))),h("div",{class:"buttons"},h("verdocs-button",{size:"small",label:"Done",onClick:function(i){return e.handleDone(i)}}))))};return e}();VerdocsEnvelopeRecipientLink.style=verdocsEnvelopeRecipientLinkCss;var verdocsEnvelopeUpdateRecipientCss='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-envelope-update-recipient{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-update-recipient .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-update-recipient .summary-content .summary-title{font-size:20px;font-weight:700;margin:0 0 10px 0;color:#33364b}verdocs-envelope-update-recipient .fields{display:-ms-flexbox;display:flex;color:#33364b;margin:8px 0 24px 0;-ms-flex-direction:column;flex-direction:column}verdocs-envelope-update-recipient .fields .field{margin:2px 0}verdocs-envelope-update-recipient .fields .note{font-style:italic;font-size:14px}verdocs-envelope-update-recipient .fields .fields-row{gap:12px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-envelope-update-recipient .fields .fields-row>*{-ms-flex:1;flex:1}verdocs-envelope-update-recipient .fields .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-update-recipient .fields textarea{width:100%;font-size:16px;padding:5px 7px;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #707ae5;font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif}verdocs-envelope-update-recipient .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-update-recipient .buttons verdocs-button{-ms-flex:0 0 120px;flex:0 0 120px;margin-left:10px;white-space:nowrap}verdocs-envelope-update-recipient .buttons verdocs-button button{width:100%}';var VerdocsEnvelopeUpdateRecipient=function(){function e(e){registerInstance(this,e);this.next=createEvent(this,"next");this.sdkError=createEvent(this,"sdkError");this.envelopeListenerId=null;this.endpoint=VerdocsEndpoint.getDefault();this.envelopeId="";this.roleName="";this.gettingLink=true;this.link="";this.loading=true;this.envelope=null;this.originalRecipient=null;this.updatedRecipient=null}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,i,n;return __generator(this,(function(t){try{this.endpoint.loadSession();if(!this.envelopeId){console.log("[UPDATE_RECIPIENT] Missing required envelope ID ".concat(this.envelopeId));return[2]}if(!this.endpoint.session){console.log("[UPDATE_RECIPIENT] Unable to start session, must be authenticated");return[2]}this.listenToEnvelope()}catch(t){console.log("[UPDATE_RECIPIENT] Error loading envelope",t);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new SDKError(t.message,(i=t.response)===null||i===void 0?void 0:i.status,(n=t.response)===null||n===void 0?void 0:n.data))}return[2]}))}))};e.prototype.disconnectedCallback=function(){this.unlistenToEnvelope()};e.prototype.listenToEnvelope=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){console.log("[UPDATE_RECIPIENT] Loading envelope",this.envelopeId);this.unlistenToEnvelope();Store.subscribe("envelopes",this.envelopeId,(function(){return getEnvelope(e.endpoint,e.envelopeId)}),false,(function(i){var n;e.envelope=i;e.loading=false;var t=(((n=e.envelope)===null||n===void 0?void 0:n.recipients)||[]).find((function(i){return i.role_name===e.roleName}));e.originalRecipient=t;e.updatedRecipient=__assign({},t)}));return[2]}))}))};e.prototype.unlistenToEnvelope=function(){if(this.envelopeListenerId){Store.store.delListener(this.envelopeListenerId);this.envelopeListenerId=null}};e.prototype.handleSave=function(e){var i;e.preventDefault();(i=this.next)===null||i===void 0?void 0:i.emit({action:"save",originalRecipient:this.originalRecipient,updatedRecipient:this.updatedRecipient})};e.prototype.handleCancel=function(e){var i;e.preventDefault();(i=this.next)===null||i===void 0?void 0:i.emit({action:"cancel",originalRecipient:this.originalRecipient,updatedRecipient:this.updatedRecipient})};e.prototype.render=function(){var e=this;if(this.loading||!this.updatedRecipient){return h(Host,null)}return h(Host,null,h("div",{class:"summary-content"},h("h1",{class:"summary-title"},"Update Recipient"),h("div",{class:"summary-rows"},h("div",{class:"fields"},h("div",{class:"role-name"},this.updatedRecipient.role_name),h("div",{class:"field"},h("div",{class:"fields-row"},h("verdocs-text-input",{value:this.updatedRecipient.first_name,placeholder:"First Name...",onInput:function(i){return e.updatedRecipient.first_name=i.target.value}}),h("verdocs-text-input",{value:this.updatedRecipient.last_name,placeholder:"Last Name...",onInput:function(i){return e.updatedRecipient.last_name=i.target.value}}))),h("div",{class:"field"},h("verdocs-text-input",{type:"email",value:this.updatedRecipient.email,placeholder:"Email Address...",onInput:function(i){return e.updatedRecipient.email=i.target.value}})),h("div",{class:"field"},h("verdocs-text-input",{type:"tel",value:this.updatedRecipient.phone,placeholder:"Phone Number...",onInput:function(i){return e.updatedRecipient.phone=i.target.value}})),h("div",{class:"field"},h("textarea",{id:"verdocs-contact-picker-message",name:"verdocs-contact-picker-message","data-lpignore":"true",autocomplete:"blocked",placeholder:"Optional message to include in invitation...",onInput:function(i){return e.updatedRecipient.message=i.target.value}},this.updatedRecipient.message)),h("div",{class:"note"},"NOTE: If you change the recipient's email address or invite message, they will receive a new invitation to sign the envelope. This will also reset their status if they have previously declined to sign."))),h("div",{class:"buttons"},h("verdocs-button",{variant:"outline",size:"small",label:"Cancel",onClick:function(i){return e.handleCancel(i)}}),h("verdocs-button",{size:"small",label:"Save",onClick:function(i){return e.handleSave(i)}}))))};return e}();VerdocsEnvelopeUpdateRecipient.style=verdocsEnvelopeUpdateRecipientCss;export{VerdocsEnvelopeRecipientLink as verdocs_envelope_recipient_link,VerdocsEnvelopeUpdateRecipient as verdocs_envelope_update_recipient};
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var i,n=1,t=arguments.length;n<t;n++){i=arguments[n];for(var o in i)if(Object.prototype.hasOwnProperty.call(i,o))e[o]=i[o]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,i,n,t){function o(e){return e instanceof n?e:new n((function(i){i(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{c(t.next(e))}catch(e){r(e)}}function l(e){try{c(t["throw"](e))}catch(e){r(e)}}function c(e){e.done?n(e.value):o(e.value).then(s,l)}c((t=t.apply(e,i||[])).next())}))};var __generator=this&&this.__generator||function(e,i){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},t,o,r,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=l(0),s["throw"]=l(1),s["return"]=l(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(e){return function(i){return c([e,i])}}function c(l){if(t)throw new TypeError("Generator is already executing.");while(s&&(s=0,l[0]&&(n=0)),n)try{if(t=1,o&&(r=l[0]&2?o["return"]:l[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;if(o=0,r)l=[l[0]&2,r.value];switch(l[0]){case 0:case 1:r=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;o=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){n.label=l[1];break}if(l[0]===6&&n.label<r[1]){n.label=r[1];r=l;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(l);break}if(r[2])n.ops.pop();n.trys.pop();continue}l=i.call(e,n)}catch(e){l=[6,e];o=0}finally{t=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,H as Host}from"./index-DjAHH4ih.js";import{VerdocsEndpoint,getEnvelope,getInPersonLink,formatFullName}from"@verdocs/js-sdk";import{V as VerdocsToast}from"./Toast-CyvDgtoV.js";import{S as SDKError}from"./errors-C1sRVZWv.js";import{S as Store}from"./Datastore-DmsV595e.js";var verdocsEnvelopeRecipientLinkCss='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-envelope-recipient-link{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-link .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-link .summary-content .summary-title{font-size:20px;font-weight:700;margin:0 0 10px 0;color:#33364b}verdocs-envelope-recipient-link .summary-recipient{display:-ms-flexbox;display:flex;color:#33364b;margin:8px 0 24px 0;-ms-flex-direction:column;flex-direction:column}verdocs-envelope-recipient-link .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-link .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-link .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-link .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-link .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-link .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;margin:0 6px 0 0;border-radius:4px;white-space:nowrap;-ms-flex-align:center;align-items:center;text-overflow:ellipsis;border:1px solid #cccccc;background:rgb(249, 250, 251)}verdocs-envelope-recipient-link .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-link .buttons verdocs-button{-ms-flex:0 0 120px;flex:0 0 120px;margin-left:10px;white-space:nowrap}verdocs-envelope-recipient-link .buttons verdocs-button button{width:100%}';var VerdocsEnvelopeRecipientLink=function(){function e(e){registerInstance(this,e);this.next=createEvent(this,"next");this.sdkError=createEvent(this,"sdkError");this.envelopeListenerId=null;this.endpoint=VerdocsEndpoint.getDefault();this.envelopeId="";this.roleName="";this.gettingLink=true;this.link="";this.loading=true;this.envelope=null;this.recipient=null}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,i,n;return __generator(this,(function(t){try{this.endpoint.loadSession();if(!this.envelopeId){console.log("[RECIPIENT_LINK] Missing required envelope ID ".concat(this.envelopeId));return[2]}if(!this.endpoint.session){console.log("[RECIPIENT_LINK] Unable to start session, must be authenticated");return[2]}this.listenToEnvelope()}catch(t){console.log("[RECIPIENT_LINK] Error loading envelope",t);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new SDKError(t.message,(i=t.response)===null||i===void 0?void 0:i.status,(n=t.response)===null||n===void 0?void 0:n.data))}return[2]}))}))};e.prototype.disconnectedCallback=function(){this.unlistenToEnvelope()};e.prototype.listenToEnvelope=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){console.log("[RECIPIENT_LINK] Loading envelope",this.envelopeId);this.unlistenToEnvelope();Store.subscribe("envelopes",this.envelopeId,(function(){return getEnvelope(e.endpoint,e.envelopeId)}),false,(function(i){var n;e.envelope=i;e.loading=false;e.recipient=(((n=e.envelope)===null||n===void 0?void 0:n.recipients)||[]).find((function(i){return i.role_name===e.roleName}));e.getLink(e.recipient)}));return[2]}))}))};e.prototype.unlistenToEnvelope=function(){if(this.envelopeListenerId){Store.store.delListener(this.envelopeListenerId);this.envelopeListenerId=null}};e.prototype.handleDone=function(e){var i;e.preventDefault();(i=this.next)===null||i===void 0?void 0:i.emit({envelope:this.envelope})};e.prototype.copyLink=function(e){navigator.clipboard.writeText(e).then((function(){return VerdocsToast("Link copied to clipboard!",{style:"success",duration:3e3})})).catch((function(e){console.warn("[RECIPIENT_LINK] Error copying to clipboard",e);VerdocsToast("Unable to copy to clipboard: ".concat(e.message),{style:"error"})}))};e.prototype.getLink=function(e){var i=this;this.gettingLink=true;getInPersonLink(this.endpoint,e.envelope_id,e.role_name).then((function(e){i.gettingLink=false;i.link=e.link})).catch((function(e){i.gettingLink=false;console.log("[RECIPIENT_LINK] Error getting link",e);VerdocsToast("Unable to get link: "+e.message,{style:"error"})}))};e.prototype.render=function(){var e=this;if(this.loading||!this.recipient){return h(Host,null)}var i=formatFullName(this.recipient);return h(Host,null,h("div",{class:"summary-content"},h("h1",{class:"summary-title"},"In-Person Signing Link"),h("div",{class:"summary-rows"},h("div",{class:"summary-recipient"},h("div",{class:"role-name"},this.recipient.role_name),h("div",{class:"role-details"},h("div",{class:"role-info"},h("div",{class:"role-full-name"},i," (",this.recipient.email||this.recipient.phone,")"),!this.link&&h("verdocs-button",{size:"small",variant:"outline",label:this.gettingLink?"Loading...":"Get Link",disabled:this.gettingLink,onClick:function(){return e.getLink(e.recipient)}})),this.link&&h("div",{class:"link-wrapper"},h("div",{class:"link"},this.link),h("verdocs-button",{size:"small",variant:"outline",label:"Copy",onClick:function(){return e.copyLink(e.link)}}))))),h("div",{class:"buttons"},h("verdocs-button",{size:"small",label:"Done",onClick:function(i){return e.handleDone(i)}}))))};return e}();VerdocsEnvelopeRecipientLink.style=verdocsEnvelopeRecipientLinkCss;var verdocsEnvelopeUpdateRecipientCss='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-envelope-update-recipient{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-update-recipient .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-update-recipient .summary-content .summary-title{font-size:20px;font-weight:700;margin:0 0 10px 0;color:#33364b}verdocs-envelope-update-recipient .fields{display:-ms-flexbox;display:flex;color:#33364b;margin:8px 0 24px 0;-ms-flex-direction:column;flex-direction:column}verdocs-envelope-update-recipient .fields .field{margin:2px 0}verdocs-envelope-update-recipient .fields .note{font-style:italic;font-size:14px}verdocs-envelope-update-recipient .fields .fields-row{gap:12px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-envelope-update-recipient .fields .fields-row>*{-ms-flex:1;flex:1}verdocs-envelope-update-recipient .fields .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-update-recipient .fields textarea{width:100%;font-size:16px;padding:5px 7px;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #707ae5;font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif}verdocs-envelope-update-recipient .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-update-recipient .buttons verdocs-button{-ms-flex:0 0 120px;flex:0 0 120px;margin-left:10px;white-space:nowrap}verdocs-envelope-update-recipient .buttons verdocs-button button{width:100%}';var VerdocsEnvelopeUpdateRecipient=function(){function e(e){registerInstance(this,e);this.next=createEvent(this,"next");this.sdkError=createEvent(this,"sdkError");this.envelopeListenerId=null;this.endpoint=VerdocsEndpoint.getDefault();this.envelopeId="";this.roleName="";this.gettingLink=true;this.link="";this.loading=true;this.envelope=null;this.originalRecipient=null;this.updatedRecipient=null}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,i,n;return __generator(this,(function(t){try{this.endpoint.loadSession();if(!this.envelopeId){console.log("[UPDATE_RECIPIENT] Missing required envelope ID ".concat(this.envelopeId));return[2]}if(!this.endpoint.session){console.log("[UPDATE_RECIPIENT] Unable to start session, must be authenticated");return[2]}this.listenToEnvelope()}catch(t){console.log("[UPDATE_RECIPIENT] Error loading envelope",t);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new SDKError(t.message,(i=t.response)===null||i===void 0?void 0:i.status,(n=t.response)===null||n===void 0?void 0:n.data))}return[2]}))}))};e.prototype.disconnectedCallback=function(){this.unlistenToEnvelope()};e.prototype.listenToEnvelope=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){console.log("[UPDATE_RECIPIENT] Loading envelope",this.envelopeId);this.unlistenToEnvelope();Store.subscribe("envelopes",this.envelopeId,(function(){return getEnvelope(e.endpoint,e.envelopeId)}),false,(function(i){var n;e.envelope=i;e.loading=false;var t=(((n=e.envelope)===null||n===void 0?void 0:n.recipients)||[]).find((function(i){return i.role_name===e.roleName}));e.originalRecipient=t;e.updatedRecipient=__assign({},t)}));return[2]}))}))};e.prototype.unlistenToEnvelope=function(){if(this.envelopeListenerId){Store.store.delListener(this.envelopeListenerId);this.envelopeListenerId=null}};e.prototype.handleSave=function(e){var i;e.preventDefault();(i=this.next)===null||i===void 0?void 0:i.emit({action:"save",originalRecipient:this.originalRecipient,updatedRecipient:this.updatedRecipient})};e.prototype.handleCancel=function(e){var i;e.preventDefault();(i=this.next)===null||i===void 0?void 0:i.emit({action:"cancel",originalRecipient:this.originalRecipient,updatedRecipient:this.updatedRecipient})};e.prototype.render=function(){var e=this;if(this.loading||!this.updatedRecipient){return h(Host,null)}return h(Host,null,h("div",{class:"summary-content"},h("h1",{class:"summary-title"},"Update Recipient"),h("div",{class:"summary-rows"},h("div",{class:"fields"},h("div",{class:"role-name"},this.updatedRecipient.role_name),h("div",{class:"field"},h("div",{class:"fields-row"},h("verdocs-text-input",{value:this.updatedRecipient.first_name,placeholder:"First Name...",onInput:function(i){return e.updatedRecipient.first_name=i.target.value}}),h("verdocs-text-input",{value:this.updatedRecipient.last_name,placeholder:"Last Name...",onInput:function(i){return e.updatedRecipient.last_name=i.target.value}}))),h("div",{class:"field"},h("verdocs-text-input",{type:"email",value:this.updatedRecipient.email,placeholder:"Email Address...",onInput:function(i){return e.updatedRecipient.email=i.target.value}})),h("div",{class:"field"},h("verdocs-text-input",{type:"tel",value:this.updatedRecipient.phone,placeholder:"Phone Number...",onInput:function(i){return e.updatedRecipient.phone=i.target.value}})),h("div",{class:"field"},h("textarea",{id:"verdocs-contact-picker-message",name:"verdocs-contact-picker-message","data-lpignore":"true",autocomplete:"blocked",placeholder:"Optional message to include in invitation...",onInput:function(i){return e.updatedRecipient.message=i.target.value}},this.updatedRecipient.message)),h("div",{class:"note"},"NOTE: If you change the recipient's email address or invite message, they will receive a new invitation to sign the envelope. This will also reset their status if they have previously declined to sign."))),h("div",{class:"buttons"},h("verdocs-button",{variant:"outline",size:"small",label:"Cancel",onClick:function(i){return e.handleCancel(i)}}),h("verdocs-button",{size:"small",label:"Save",onClick:function(i){return e.handleSave(i)}}))))};return e}();VerdocsEnvelopeUpdateRecipient.style=verdocsEnvelopeUpdateRecipientCss;export{VerdocsEnvelopeRecipientLink as verdocs_envelope_recipient_link,VerdocsEnvelopeUpdateRecipient as verdocs_envelope_update_recipient};
|
|
2
2
|
//# sourceMappingURL=verdocs-envelope-recipient-link_2.entry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["registerInstance","createEvent","h","Host","VerdocsEndpoint","getEnvelope","getInPersonLink","formatFullName","VerdocsToast","SDKError","Store","verdocsEnvelopeRecipientLinkCss","VerdocsEnvelopeRecipientLink","class_1","hostRef","this","next","sdkError","envelopeListenerId","endpoint","getDefault","envelopeId","roleName","gettingLink","link","loading","envelope","recipient","prototype","componentWillLoad","loadSession","console","log","concat","session","listenToEnvelope","e","_a","emit","message","_b","response","status","_c","data","disconnectedCallback","unlistenToEnvelope","subscribe","_this","recipients","find","r","role_name","getLink","store","delListener","handleDone","preventDefault","copyLink","navigator","clipboard","writeText","then","style","duration","catch","warn","envelope_id","render","fullName","class","email","phone","size","variant","label","disabled","onClick","verdocsEnvelopeUpdateRecipientCss","VerdocsEnvelopeUpdateRecipient","class_2","originalRecipient","updatedRecipient","__assign","handleSave","action","handleCancel","value","first_name","placeholder","onInput","target","last_name","type","id","name","autocomplete"],"sources":["module.ts"],"mappings":"
|
|
1
|
+
{"version":3,"names":["registerInstance","createEvent","h","Host","VerdocsEndpoint","getEnvelope","getInPersonLink","formatFullName","VerdocsToast","SDKError","Store","verdocsEnvelopeRecipientLinkCss","VerdocsEnvelopeRecipientLink","class_1","hostRef","this","next","sdkError","envelopeListenerId","endpoint","getDefault","envelopeId","roleName","gettingLink","link","loading","envelope","recipient","prototype","componentWillLoad","loadSession","console","log","concat","session","listenToEnvelope","e","_a","emit","message","_b","response","status","_c","data","disconnectedCallback","unlistenToEnvelope","subscribe","_this","recipients","find","r","role_name","getLink","store","delListener","handleDone","preventDefault","copyLink","navigator","clipboard","writeText","then","style","duration","catch","warn","envelope_id","render","fullName","class","email","phone","size","variant","label","disabled","onClick","verdocsEnvelopeUpdateRecipientCss","VerdocsEnvelopeUpdateRecipient","class_2","originalRecipient","updatedRecipient","__assign","handleSave","action","handleCancel","value","first_name","placeholder","onInput","target","last_name","type","id","name","autocomplete"],"sources":["module.ts"],"mappings":"2yDAAcA,sBAAuBC,YAAaC,OAAQC,SAAY,6BAC7DC,gBAAiBC,YAAaC,gBAAiBC,mBAAsB,8BAChEC,iBAAoB,kCACpBC,aAAgB,mCAChBC,UAAa,0BAE3B,IAAMC,gCAAkC,ghGAExC,IAAMC,6BAA4B,WAC9B,SAAAC,EAAYC,GACRd,iBAAiBe,KAAMD,GACvBC,KAAKC,KAAOf,YAAYc,KAAM,QAC9BA,KAAKE,SAAWhB,YAAYc,KAAM,YAClCA,KAAKG,mBAAqB,KAI1BH,KAAKI,SAAWf,gBAAgBgB,aAIhCL,KAAKM,WAAa,GAIlBN,KAAKO,SAAW,GAChBP,KAAKQ,YAAc,KACnBR,KAAKS,KAAO,GACZT,KAAKU,QAAU,KACfV,KAAKW,SAAW,KAChBX,KAAKY,UAAY,IACrB,CACMd,EAAAe,UAAAC,kBAAN,W,+FAEI,IACId,KAAKI,SAASW,cACd,IAAKf,KAAKM,WAAY,CAClBU,QAAQC,IAAI,iDAAAC,OAAiDlB,KAAKM,aAClE,SACJ,CACA,IAAKN,KAAKI,SAASe,QAAS,CACxBH,QAAQC,IAAI,mEACZ,SACJ,CACAjB,KAAKoB,kBACT,CACA,MAAOC,GACHL,QAAQC,IAAI,0CAA2CI,IACtDC,EAAKtB,KAAKE,YAAc,MAAQoB,SAAY,OAAS,EAAIA,EAAGC,KAAK,IAAI7B,SAAS2B,EAAEG,SAAUC,EAAKJ,EAAEK,YAAc,MAAQD,SAAY,OAAS,EAAIA,EAAGE,QAASC,EAAKP,EAAEK,YAAc,MAAQE,SAAY,OAAS,EAAIA,EAAGC,MAC1N,C,iBAEJ/B,EAAAe,UAAAiB,qBAAA,WACI9B,KAAK+B,oBACT,EACMjC,EAAAe,UAAAO,iBAAN,W,gGACIJ,QAAQC,IAAI,oCAAqCjB,KAAKM,YACtDN,KAAK+B,qBACLpC,MAAMqC,UAAU,YAAahC,KAAKM,YAAY,WAAM,OAAAhB,YAAY2C,EAAK7B,SAAU6B,EAAK3B,WAAhC,GAA6C,OAAO,SAACK,GACrG,IAAIW,EACJW,EAAKtB,SAAWA,EAChBsB,EAAKvB,QAAU,MACfuB,EAAKrB,aAAeU,EAAKW,EAAKtB,YAAc,MAAQW,SAAY,OAAS,EAAIA,EAAGY,aAAe,IAAIC,MAAK,SAAAC,GAAK,OAAAA,EAAEC,YAAcJ,EAAK1B,QAArB,IAC7G0B,EAAKK,QAAQL,EAAKrB,UACtB,I,iBAEJd,EAAAe,UAAAkB,mBAAA,WACI,GAAI/B,KAAKG,mBAAoB,CACzBR,MAAM4C,MAAMC,YAAYxC,KAAKG,oBAC7BH,KAAKG,mBAAqB,IAC9B,CACJ,EACAL,EAAAe,UAAA4B,WAAA,SAAWpB,GACP,IAAIC,EACJD,EAAEqB,kBACDpB,EAAKtB,KAAKC,QAAU,MAAQqB,SAAY,OAAS,EAAIA,EAAGC,KAAK,CAAEZ,SAAUX,KAAKW,UACnF,EACAb,EAAAe,UAAA8B,SAAA,SAASlC,GACLmC,UAAUC,UACLC,UAAUrC,GACVsC,MAAK,WAAM,OAAAtD,aAAa,4BAA6B,CAAEuD,MAAO,UAAWC,SAAU,KAAxE,IACXC,OAAM,SAAA7B,GACPL,QAAQmC,KAAK,8CAA+C9B,GAC5D5B,aAAa,gCAAAyB,OAAgCG,EAAEG,SAAW,CAAEwB,MAAO,SACvE,GACJ,EACAlD,EAAAe,UAAAyB,QAAA,SAAQ1B,GAAR,IAAAqB,EAAAjC,KACIA,KAAKQ,YAAc,KACnBjB,gBAAgBS,KAAKI,SAAUQ,EAAUwC,YAAaxC,EAAUyB,WAC3DU,MAAK,SAAArB,GACNO,EAAKzB,YAAc,MACnByB,EAAKxB,KAAOiB,EAASjB,IAKzB,IACKyC,OAAM,SAAA7B,GACPY,EAAKzB,YAAc,MACnBQ,QAAQC,IAAI,sCAAuCI,GACnD5B,aAAa,uBAAyB4B,EAAEG,QAAS,CAAEwB,MAAO,SAC9D,GACJ,EACAlD,EAAAe,UAAAwC,OAAA,eAAApB,EAAAjC,KACI,GAAIA,KAAKU,UAAYV,KAAKY,UAAW,CACjC,OAAOzB,EAAEC,KAAM,KACnB,CAGA,IAAMkE,EAAW9D,eAAeQ,KAAKY,WACrC,OAAQzB,EAAEC,KAAM,KAAMD,EAAE,MAAO,CAAEoE,MAAO,mBAAqBpE,EAAE,KAAM,CAAEoE,MAAO,iBAAmB,0BAA2BpE,EAAE,MAAO,CAAEoE,MAAO,gBAAkBpE,EAAE,MAAO,CAAEoE,MAAO,qBAAuBpE,EAAE,MAAO,CAAEoE,MAAO,aAAevD,KAAKY,UAAUyB,WAAYlD,EAAE,MAAO,CAAEoE,MAAO,gBAAkBpE,EAAE,MAAO,CAAEoE,MAAO,aAAepE,EAAE,MAAO,CAAEoE,MAAO,kBAAoBD,EAAU,KAAMtD,KAAKY,UAAU4C,OAASxD,KAAKY,UAAU6C,MAAO,MAAOzD,KAAKS,MAAStB,EAAE,iBAAkB,CAAEuE,KAAM,QAASC,QAAS,UAAWC,MAAO5D,KAAKQ,YAAc,aAAe,WAAYqD,SAAU7D,KAAKQ,YAAasD,QAAS,WAAM,OAAA7B,EAAKK,QAAQL,EAAKrB,UAAlB,KAAmCZ,KAAKS,MAAStB,EAAE,MAAO,CAAEoE,MAAO,gBAAkBpE,EAAE,MAAO,CAAEoE,MAAO,QAAUvD,KAAKS,MAAOtB,EAAE,iBAAkB,CAAEuE,KAAM,QAASC,QAAS,UAAWC,MAAO,OAAQE,QAAS,WAAM,OAAA7B,EAAKU,SAASV,EAAKxB,KAAnB,QAAkCtB,EAAE,MAAO,CAAEoE,MAAO,WAAapE,EAAE,iBAAkB,CAAEuE,KAAM,QAASE,MAAO,OAAQE,QAAS,SAAAzC,GAAK,OAAAY,EAAKQ,WAAWpB,EAAhB,MACv7B,EACJ,OAAAvB,CAAA,CAvGkC,GAwGlCD,6BAA6BmD,MAAQpD,gCAErC,IAAMmE,kCAAoC,07EAE1C,IAAMC,+BAA8B,WAChC,SAAAC,EAAYlE,GACRd,iBAAiBe,KAAMD,GACvBC,KAAKC,KAAOf,YAAYc,KAAM,QAC9BA,KAAKE,SAAWhB,YAAYc,KAAM,YAClCA,KAAKG,mBAAqB,KAI1BH,KAAKI,SAAWf,gBAAgBgB,aAIhCL,KAAKM,WAAa,GAIlBN,KAAKO,SAAW,GAChBP,KAAKQ,YAAc,KACnBR,KAAKS,KAAO,GACZT,KAAKU,QAAU,KACfV,KAAKW,SAAW,KAChBX,KAAKkE,kBAAoB,KACzBlE,KAAKmE,iBAAmB,IAC5B,CACMF,EAAApD,UAAAC,kBAAN,W,+FAEI,IACId,KAAKI,SAASW,cACd,IAAKf,KAAKM,WAAY,CAClBU,QAAQC,IAAI,mDAAAC,OAAmDlB,KAAKM,aACpE,SACJ,CACA,IAAKN,KAAKI,SAASe,QAAS,CACxBH,QAAQC,IAAI,qEACZ,SACJ,CACAjB,KAAKoB,kBACT,CACA,MAAOC,GACHL,QAAQC,IAAI,4CAA6CI,IACxDC,EAAKtB,KAAKE,YAAc,MAAQoB,SAAY,OAAS,EAAIA,EAAGC,KAAK,IAAI7B,SAAS2B,EAAEG,SAAUC,EAAKJ,EAAEK,YAAc,MAAQD,SAAY,OAAS,EAAIA,EAAGE,QAASC,EAAKP,EAAEK,YAAc,MAAQE,SAAY,OAAS,EAAIA,EAAGC,MAC1N,C,iBAEJoC,EAAApD,UAAAiB,qBAAA,WACI9B,KAAK+B,oBACT,EACMkC,EAAApD,UAAAO,iBAAN,W,gGACIJ,QAAQC,IAAI,sCAAuCjB,KAAKM,YACxDN,KAAK+B,qBACLpC,MAAMqC,UAAU,YAAahC,KAAKM,YAAY,WAAM,OAAAhB,YAAY2C,EAAK7B,SAAU6B,EAAK3B,WAAhC,GAA6C,OAAO,SAACK,GACrG,IAAIW,EACJW,EAAKtB,SAAWA,EAChBsB,EAAKvB,QAAU,MACf,IAAME,KAAeU,EAAKW,EAAKtB,YAAc,MAAQW,SAAY,OAAS,EAAIA,EAAGY,aAAe,IAAIC,MAAK,SAAAC,GAAK,OAAAA,EAAEC,YAAcJ,EAAK1B,QAArB,IAC9G0B,EAAKiC,kBAAoBtD,EACzBqB,EAAKkC,iBAAgBC,SAAA,GAAQxD,EACjC,I,iBAEJqD,EAAApD,UAAAkB,mBAAA,WACI,GAAI/B,KAAKG,mBAAoB,CACzBR,MAAM4C,MAAMC,YAAYxC,KAAKG,oBAC7BH,KAAKG,mBAAqB,IAC9B,CACJ,EACA8D,EAAApD,UAAAwD,WAAA,SAAWhD,GACP,IAAIC,EACJD,EAAEqB,kBACDpB,EAAKtB,KAAKC,QAAU,MAAQqB,SAAY,OAAS,EAAIA,EAAGC,KAAK,CAAE+C,OAAQ,OAAQJ,kBAAmBlE,KAAKkE,kBAAmBC,iBAAkBnE,KAAKmE,kBACtJ,EACAF,EAAApD,UAAA0D,aAAA,SAAalD,GACT,IAAIC,EACJD,EAAEqB,kBACDpB,EAAKtB,KAAKC,QAAU,MAAQqB,SAAY,OAAS,EAAIA,EAAGC,KAAK,CAAE+C,OAAQ,SAAUJ,kBAAmBlE,KAAKkE,kBAAmBC,iBAAkBnE,KAAKmE,kBACxJ,EACAF,EAAApD,UAAAwC,OAAA,eAAApB,EAAAjC,KACI,GAAIA,KAAKU,UAAYV,KAAKmE,iBAAkB,CACxC,OAAOhF,EAAEC,KAAM,KACnB,CACA,OAAQD,EAAEC,KAAM,KAAMD,EAAE,MAAO,CAAEoE,MAAO,mBAAqBpE,EAAE,KAAM,CAAEoE,MAAO,iBAAmB,oBAAqBpE,EAAE,MAAO,CAAEoE,MAAO,gBAAkBpE,EAAE,MAAO,CAAEoE,MAAO,UAAYpE,EAAE,MAAO,CAAEoE,MAAO,aAAevD,KAAKmE,iBAAiB9B,WAAYlD,EAAE,MAAO,CAAEoE,MAAO,SAAWpE,EAAE,MAAO,CAAEoE,MAAO,cAAgBpE,EAAE,qBAAsB,CAAEqF,MAAOxE,KAAKmE,iBAAiBM,WAAYC,YAAa,gBAAiBC,QAAS,SAACtD,GAAM,OAACY,EAAKkC,iBAAiBM,WAAapD,EAAEuD,OAAOJ,KAA7C,IAAwDrF,EAAE,qBAAsB,CAAEqF,MAAOxE,KAAKmE,iBAAiBU,UAAWH,YAAa,eAAgBC,QAAS,SAACtD,GAAM,OAACY,EAAKkC,iBAAiBU,UAAYxD,EAAEuD,OAAOJ,KAA5C,MAAyDrF,EAAE,MAAO,CAAEoE,MAAO,SAAWpE,EAAE,qBAAsB,CAAE2F,KAAM,QAASN,MAAOxE,KAAKmE,iBAAiBX,MAAOkB,YAAa,mBAAoBC,QAAS,SAACtD,GAAM,OAACY,EAAKkC,iBAAiBX,MAAQnC,EAAEuD,OAAOJ,KAAxC,KAAoDrF,EAAE,MAAO,CAAEoE,MAAO,SAAWpE,EAAE,qBAAsB,CAAE2F,KAAM,MAAON,MAAOxE,KAAKmE,iBAAiBV,MAAOiB,YAAa,kBAAmBC,QAAS,SAACtD,GAAM,OAACY,EAAKkC,iBAAiBV,MAAQpC,EAAEuD,OAAOJ,KAAxC,KAAoDrF,EAAE,MAAO,CAAEoE,MAAO,SAAWpE,EAAE,WAAY,CAAE4F,GAAI,iCAAkCC,KAAM,iCAAkC,gBAAiB,OAAQC,aAAc,UAAWP,YAAa,+CAAgDC,QAAS,SAACtD,GAAM,OAACY,EAAKkC,iBAAiB3C,QAAUH,EAAEuD,OAAOJ,KAA1C,GAAoDxE,KAAKmE,iBAAiB3C,UAAWrC,EAAE,MAAO,CAAEoE,MAAO,QAAU,+MAAgNpE,EAAE,MAAO,CAAEoE,MAAO,WAAapE,EAAE,iBAAkB,CAAEwE,QAAS,UAAWD,KAAM,QAASE,MAAO,SAAUE,QAAS,SAAAzC,GAAK,OAAAY,EAAKsC,aAAalD,EAAlB,IAAyBlC,EAAE,iBAAkB,CAAEuE,KAAM,QAASE,MAAO,OAAQE,QAAS,SAAAzC,GAAK,OAAAY,EAAKoC,WAAWhD,EAAhB,MACvzD,EACJ,OAAA4C,CAAA,CAjFoC,GAkFpCD,+BAA+BhB,MAAQe,yCAE9BlE,gEAAiEmE","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var i,n=1,r=arguments.length;n<r;n++){i=arguments[n];for(var t in i)if(Object.prototype.hasOwnProperty.call(i,t))e[t]=i[t]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,i,n,r){function t(e){return e instanceof n?e:new n((function(i){i(e)}))}return new(n||(n=Promise))((function(n,o){function s(e){try{a(r.next(e))}catch(e){o(e)}}function l(e){try{a(r["throw"](e))}catch(e){o(e)}}function a(e){e.done?n(e.value):t(e.value).then(s,l)}a((r=r.apply(e,i||[])).next())}))};var __generator=this&&this.__generator||function(e,i){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,t,o,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(e){return function(i){return a([e,i])}}function a(l){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,l[0]&&(n=0)),n)try{if(r=1,t&&(o=l[0]&2?t["return"]:l[0]?t["throw"]||((o=t["return"])&&o.call(t),0):t.next)&&!(o=o.call(t,l[1])).done)return o;if(t=0,o)l=[l[0]&2,o.value];switch(l[0]){case 0:case 1:o=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;t=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){n.label=l[1];break}if(l[0]===6&&n.label<o[1]){n.label=o[1];o=l;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(l);break}if(o[2])n.ops.pop();n.trys.pop();continue}l=i.call(e,n)}catch(e){l=[6,e];t=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,H as Host}from"./index-C05sDUVN.js";import{VerdocsEndpoint,getEnvelope,getInPersonLink,getRecipientsWithActions,recipientCanAct,formatFullName}from"@verdocs/js-sdk";import{S as SDKError}from"./errors-C1sRVZWv.js";import{S as Store}from"./Datastore-DmsV595e.js";var verdocsEnvelopeRecipientSummaryCss='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-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%}';var VerdocsEnvelopeRecipientSummary=function(){function e(e){registerInstance(this,e);this.another=createEvent(this,"another");this.view=createEvent(this,"view");this.next=createEvent(this,"next");this.sdkError=createEvent(this,"sdkError");this.envelopeListenerId=null;this.endpoint=VerdocsEndpoint.getDefault();this.envelopeId="";this.canSendAnother=true;this.canView=true;this.canDone=true;this.recipientStatusIcons=[];this.containerId="verdocs-status-indicator-".concat(Math.random().toString(36).substring(2,11));this.gettingLinks={};this.links={};this.loading=true;this.envelope=null}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,i,n;return __generator(this,(function(r){try{this.endpoint.loadSession();if(!this.envelopeId){console.log("[RECIPIENTS] Missing required envelope ID ".concat(this.envelopeId));return[2]}if(!this.endpoint.session){console.log("[RECIPIENTS] Unable to start session, must be authenticated");return[2]}this.listenToEnvelope()}catch(r){console.log("[RECIPIENTS] Error loading envelope",r);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new SDKError(r.message,(i=r.response)===null||i===void 0?void 0:i.status,(n=r.response)===null||n===void 0?void 0:n.data))}return[2]}))}))};e.prototype.disconnectedCallback=function(){this.unlistenToEnvelope()};e.prototype.listenToEnvelope=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){console.log("[SIDEBAR] Loading envelope",this.envelopeId);this.unlistenToEnvelope();Store.subscribe("envelopes",this.envelopeId,(function(){return getEnvelope(e.endpoint,e.envelopeId)}),false,(function(i){e.envelope=i;e.loading=false;e.sortEnvelopeRecipients()}));return[2]}))}))};e.prototype.unlistenToEnvelope=function(){if(this.envelopeListenerId){Store.store.delListener(this.envelopeListenerId);this.envelopeListenerId=null}};e.prototype.sortEnvelopeRecipients=function(){var e;(((e=this.envelope)===null||e===void 0?void 0:e.recipients)||[]).sort((function(e,i){return e.sequence===i.sequence?e.order-i.order:e.sequence-i.sequence}))};e.prototype.handleAnother=function(e){var i;e.preventDefault();(i=this.another)===null||i===void 0?void 0:i.emit({envelope:this.envelope})};e.prototype.handleView=function(e){var i;e.preventDefault();(i=this.view)===null||i===void 0?void 0:i.emit({envelope:this.envelope})};e.prototype.handleDone=function(e){var i;e.preventDefault();(i=this.next)===null||i===void 0?void 0:i.emit({envelope:this.envelope})};e.prototype.copyLink=function(e){var i=this;navigator.clipboard.writeText(e).then((function(){})).catch((function(e){var n;console.warn("[RECIPIENTS] Error copying to clipboard",e);(n=i.sdkError)===null||n===void 0?void 0:n.emit(e)}))};e.prototype.getLink=function(e){var i;var n=this;this.gettingLinks=__assign(__assign({},this.gettingLinks),(i={},i[e.role_name]=true,i));getInPersonLink(this.endpoint,e.envelope_id,e.role_name).then((function(i){var r,t;n.gettingLinks=__assign(__assign({},n.gettingLinks),(r={},r[e.role_name]=false,r));n.links=__assign(__assign({},n.links),(t={},t[e.role_name]=i.link,t));n.copyLink(i.link)})).catch((function(i){var r;var t;n.gettingLinks=__assign(__assign({},n.gettingLinks),(r={},r[e.role_name]=false,r));console.log("[RECIPIENTS] Error getting link",i);(t=n.sdkError)===null||t===void 0?void 0:t.emit(i)}))};e.prototype.render=function(){var e=this;var i;if(this.loading){return h(Host,null)}return h(Host,null,h("div",{class:"summary-content"},h("h1",{class:"summary-title"},"Recipient Summary"),h("div",{class:"summary-rows"},(((i=this.envelope)===null||i===void 0?void 0:i.recipients)||[]).map((function(i){var n=getRecipientsWithActions(e.envelope);var r=recipientCanAct(i,n);var t=e.links[i.role_name];var o=e.gettingLinks[i.role_name];var s=formatFullName(i);return h("div",{class:"summary-recipient"},h("div",{class:"role-name"},i.role_name),h("div",{class:"role-details"},h("div",{class:"role-info"},h("div",{class:"role-full-name"},s," (",i.email||i.phone,")"),r&&!t&&h("verdocs-button",{size:"small",variant:"outline",label:"Get Link",disabled:o,onClick:function(){return e.getLink(i)}})),t&&h("div",{class:"link-wrapper"},h("div",{class:"link"},t),h("verdocs-button",{size:"small",variant:"outline",label:"Copy",onClick:function(){return e.copyLink(t)}}))))}))),(this.canSendAnother||this.canView||this.canDone)&&h("div",{class:"buttons"},this.canSendAnother&&h("verdocs-button",{size:"small",label:"Send Another",onClick:function(i){return e.handleAnother(i)}}),this.canView&&h("verdocs-button",{size:"small",label:"View Now",onClick:function(i){return e.handleView(i)}}),this.canDone&&h("verdocs-button",{size:"small",label:"Done",onClick:function(i){return e.handleDone(i)}}))))};return e}();VerdocsEnvelopeRecipientSummary.style=verdocsEnvelopeRecipientSummaryCss;export{VerdocsEnvelopeRecipientSummary as verdocs_envelope_recipient_summary};
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var i,n=1,t=arguments.length;n<t;n++){i=arguments[n];for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r))e[r]=i[r]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,i,n,t){function r(e){return e instanceof n?e:new n((function(i){i(e)}))}return new(n||(n=Promise))((function(n,o){function s(e){try{l(t.next(e))}catch(e){o(e)}}function a(e){try{l(t["throw"](e))}catch(e){o(e)}}function l(e){e.done?n(e.value):r(e.value).then(s,a)}l((t=t.apply(e,i||[])).next())}))};var __generator=this&&this.__generator||function(e,i){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},t,r,o,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=a(0),s["throw"]=a(1),s["return"]=a(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(e){return function(i){return l([e,i])}}function l(a){if(t)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(n=0)),n)try{if(t=1,r&&(o=a[0]&2?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;if(r=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;r=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){n.label=a[1];break}if(a[0]===6&&n.label<o[1]){n.label=o[1];o=a;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(a);break}if(o[2])n.ops.pop();n.trys.pop();continue}a=i.call(e,n)}catch(e){a=[6,e];r=0}finally{t=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,H as Host}from"./index-DjAHH4ih.js";import{VerdocsEndpoint,getEnvelope,getInPersonLink,getRecipientsWithActions,recipientCanAct,formatFullName}from"@verdocs/js-sdk";import{S as SDKError}from"./errors-C1sRVZWv.js";import{S as Store}from"./Datastore-DmsV595e.js";var verdocsEnvelopeRecipientSummaryCss='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-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%}';var VerdocsEnvelopeRecipientSummary=function(){function e(e){registerInstance(this,e);this.another=createEvent(this,"another");this.view=createEvent(this,"view");this.next=createEvent(this,"next");this.sdkError=createEvent(this,"sdkError");this.envelopeListenerId=null;this.endpoint=VerdocsEndpoint.getDefault();this.envelopeId="";this.canSendAnother=true;this.canView=true;this.canDone=true;this.recipientStatusIcons=[];this.containerId="verdocs-status-indicator-".concat(Math.random().toString(36).substring(2,11));this.gettingLinks={};this.links={};this.loading=true;this.envelope=null}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,i,n;return __generator(this,(function(t){try{this.endpoint.loadSession();if(!this.envelopeId){console.log("[RECIPIENTS] Missing required envelope ID ".concat(this.envelopeId));return[2]}if(!this.endpoint.session){console.log("[RECIPIENTS] Unable to start session, must be authenticated");return[2]}this.listenToEnvelope()}catch(t){console.log("[RECIPIENTS] Error loading envelope",t);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new SDKError(t.message,(i=t.response)===null||i===void 0?void 0:i.status,(n=t.response)===null||n===void 0?void 0:n.data))}return[2]}))}))};e.prototype.disconnectedCallback=function(){this.unlistenToEnvelope()};e.prototype.listenToEnvelope=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){console.log("[SIDEBAR] Loading envelope",this.envelopeId);this.unlistenToEnvelope();Store.subscribe("envelopes",this.envelopeId,(function(){return getEnvelope(e.endpoint,e.envelopeId)}),false,(function(i){e.envelope=i;e.loading=false;e.sortEnvelopeRecipients()}));return[2]}))}))};e.prototype.unlistenToEnvelope=function(){if(this.envelopeListenerId){Store.store.delListener(this.envelopeListenerId);this.envelopeListenerId=null}};e.prototype.sortEnvelopeRecipients=function(){var e;(((e=this.envelope)===null||e===void 0?void 0:e.recipients)||[]).sort((function(e,i){return e.sequence===i.sequence?e.order-i.order:e.sequence-i.sequence}))};e.prototype.handleAnother=function(e){var i;e.preventDefault();(i=this.another)===null||i===void 0?void 0:i.emit({envelope:this.envelope})};e.prototype.handleView=function(e){var i;e.preventDefault();(i=this.view)===null||i===void 0?void 0:i.emit({envelope:this.envelope})};e.prototype.handleDone=function(e){var i;e.preventDefault();(i=this.next)===null||i===void 0?void 0:i.emit({envelope:this.envelope})};e.prototype.copyLink=function(e){var i=this;navigator.clipboard.writeText(e).then((function(){})).catch((function(e){var n;console.warn("[RECIPIENTS] Error copying to clipboard",e);(n=i.sdkError)===null||n===void 0?void 0:n.emit(e)}))};e.prototype.getLink=function(e){var i;var n=this;this.gettingLinks=__assign(__assign({},this.gettingLinks),(i={},i[e.role_name]=true,i));getInPersonLink(this.endpoint,e.envelope_id,e.role_name).then((function(i){var t,r;n.gettingLinks=__assign(__assign({},n.gettingLinks),(t={},t[e.role_name]=false,t));n.links=__assign(__assign({},n.links),(r={},r[e.role_name]=i.link,r));n.copyLink(i.link)})).catch((function(i){var t;var r;n.gettingLinks=__assign(__assign({},n.gettingLinks),(t={},t[e.role_name]=false,t));console.log("[RECIPIENTS] Error getting link",i);(r=n.sdkError)===null||r===void 0?void 0:r.emit(i)}))};e.prototype.render=function(){var e=this;var i;if(this.loading){return h(Host,null)}return h(Host,null,h("div",{class:"summary-content"},h("h1",{class:"summary-title"},"Recipient Summary"),h("div",{class:"summary-rows"},(((i=this.envelope)===null||i===void 0?void 0:i.recipients)||[]).map((function(i){var n=getRecipientsWithActions(e.envelope);var t=recipientCanAct(i,n);var r=e.links[i.role_name];var o=e.gettingLinks[i.role_name];var s=formatFullName(i);return h("div",{class:"summary-recipient"},h("div",{class:"role-name"},i.role_name),h("div",{class:"role-details"},h("div",{class:"role-info"},h("div",{class:"role-full-name"},s," (",i.email||i.phone,")"),t&&!r&&h("verdocs-button",{size:"small",variant:"outline",label:"Get Link",disabled:o,onClick:function(){return e.getLink(i)}})),r&&h("div",{class:"link-wrapper"},h("div",{class:"link"},r),h("verdocs-button",{size:"small",variant:"outline",label:"Copy",onClick:function(){return e.copyLink(r)}}))))}))),(this.canSendAnother||this.canView||this.canDone)&&h("div",{class:"buttons"},this.canSendAnother&&h("verdocs-button",{size:"small",label:"Send Another",onClick:function(i){return e.handleAnother(i)}}),this.canView&&h("verdocs-button",{size:"small",label:"View Now",onClick:function(i){return e.handleView(i)}}),this.canDone&&h("verdocs-button",{size:"small",label:"Done",onClick:function(i){return e.handleDone(i)}}))))};return e}();VerdocsEnvelopeRecipientSummary.style=verdocsEnvelopeRecipientSummaryCss;export{VerdocsEnvelopeRecipientSummary as verdocs_envelope_recipient_summary};
|
|
2
2
|
//# sourceMappingURL=verdocs-envelope-recipient-summary.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,i,t,n){function s(e){return e instanceof t?e:new t((function(i){i(e)}))}return new(t||(t=Promise))((function(t,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n["throw"](e))}catch(e){o(e)}}function l(e){e.done?t(e.value):s(e.value).then(r,a)}l((n=n.apply(e,i||[])).next())}))};var __generator=this&&this.__generator||function(e,i){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,s,o,r;return r={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function a(e){return function(i){return l([e,i])}}function l(a){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,a[0]&&(t=0)),t)try{if(n=1,s&&(o=a[0]&2?s["return"]:a[0]?s["throw"]||((o=s["return"])&&o.call(s),0):s.next)&&!(o=o.call(s,a[1])).done)return o;if(s=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:t.label++;return{value:a[1],done:false};case 5:t.label++;s=a[1];a=[0];continue;case 7:a=t.ops.pop();t.trys.pop();continue;default:if(!(o=t.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1];o=a;break}if(o&&t.label<o[2]){t.label=o[2];t.ops.push(a);break}if(o[2])t.ops.pop();t.trys.pop();continue}a=i.call(e,t)}catch(e){a=[6,e];s=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,H as Host,F as Fragment}from"./index-C05sDUVN.js";import{d as dateFnsExports}from"./index-dzBXqXlK.js";import{VerdocsEndpoint,getEnvelope,remindRecipient,cancelEnvelope,updateRecipient,formatFullName,updateEnvelope,userIsEnvelopeOwner,getRecipientsWithActions,resetRecipient,recipientCanAct,capitalize}from"@verdocs/js-sdk";import{a as FORMAT_TIMESTAMP}from"./Types-dqxNbm_b.js";import{V as VerdocsToast}from"./Toast-CyvDgtoV.js";import{S as SDKError}from"./errors-C1sRVZWv.js";import{S as Store}from"./Datastore-DmsV595e.js";var verdocsEnvelopeSidebarCss='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-envelope-sidebar{font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", 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-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}';var MS_PER_DAY=24*60*60*1e3;var InformationCircle='<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>';var Users='<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>';var ClipboardDocuments='<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>';var ActivityIcons={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>'};var VerdocsEnvelopeSidebar=function(){function e(e){registerInstance(this,e);this.sdkError=createEvent(this,"sdkError");this.envelopeUpdated=createEvent(this,"envelopeUpdated");this.toggle=createEvent(this,"toggle");this.another=createEvent(this,"another");this.envelopeListenerId=null;this.endpoint=VerdocsEndpoint.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}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,i,t;return __generator(this,(function(n){try{this.endpoint.loadSession();if(!this.envelopeId){console.log("[SIDEBAR] Missing required envelope ID ".concat(this.envelopeId));return[2]}if(!this.endpoint.session){console.log("[SIDEBAR] Unable to start session, must be authenticated");return[2]}this.listenToEnvelope()}catch(n){console.log("[SIDEBAR] Error loading envelope",n);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new SDKError(n.message,(i=n.response)===null||i===void 0?void 0:i.status,(t=n.response)===null||t===void 0?void 0:t.data))}return[2]}))}))};e.prototype.disconnectedCallback=function(){this.unlistenToEnvelope()};e.prototype.listenToEnvelope=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){console.log("[SIDEBAR] Loading envelope",this.envelopeId);this.unlistenToEnvelope();Store.subscribe("envelopes",this.envelopeId,(function(){return getEnvelope(e.endpoint,e.envelopeId)}),false,(function(i){var t,n;e.envelope=i;e.loading=false;e.sortEnvelopeRecipients();e.initialReminder=(t=e.envelope)===null||t===void 0?void 0:t.initial_reminder;e.followupReminders=(n=e.envelope)===null||n===void 0?void 0:n.followup_reminders;e.remindersEnabled=!!e.initialReminder}));return[2]}))}))};e.prototype.unlistenToEnvelope=function(){if(this.envelopeListenerId){Store.store.delListener(this.envelopeListenerId);this.envelopeListenerId=null}};e.prototype.sortEnvelopeRecipients=function(){var e;(((e=this.envelope)===null||e===void 0?void 0:e.recipients)||[]).sort((function(e,i){return e.sequence===i.sequence?e.order-i.order:e.sequence-i.sequence}))};e.prototype.setTab=function(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};e.prototype.canResendRecipient=function(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)};e.prototype.handleRecipientAction=function(e,i){var t;console.log("[SIDEBAR] Recipient action",i,e);switch(i){case"update":this.showUpdateDialog=e.role_name;break;case"reminder":remindRecipient(this.endpoint,this.envelopeId,e.role_name).then((function(){VerdocsToast("Reminder Sent",{style:"success"})})).catch((function(e){console.log("[SIDEBAR] Error resending invitation",e);VerdocsToast("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":VerdocsToast("This feature will be enabled in a future release. Please try again later.",{style:"info"});break;case"details":VerdocsToast("This feature will be enabled in a future release. Please try again later.",{style:"info"});break}(t=this.envelopeUpdated)===null||t===void 0?void 0:t.emit({endpoint:this.endpoint,envelope:this.envelope,event:i})};e.prototype.handleCancelEnvelope=function(){var e=this;this.loading=true;cancelEnvelope(this.endpoint,this.envelopeId).then((function(i){return __awaiter(e,void 0,void 0,(function(){var e,t;return __generator(this,(function(n){console.log("[SIDEBAR] Envelope canceled",i);VerdocsToast("Envelope canceled",{style:"success"});t=JSON.parse(JSON.stringify(this.envelope));t.status="canceled";Store.updateEnvelope(this.envelopeId,t);this.loading=false;this.panelOpen=false;(e=this.envelopeUpdated)===null||e===void 0?void 0:e.emit({endpoint:this.endpoint,envelope:t,event:"canceled"});return[2]}))}))})).catch((function(i){console.log("[SIDEBAR] Error canceling envelope",i);e.loading=false;VerdocsToast("Error canceling envelope: "+i.message,{style:"error"})}))};e.prototype.handleUpdateRecipient=function(e,i){var t=this;console.log("Updating recipient",e,i);var n={};if(i.email!==e.email){n.email=i.email}if(i.phone!==e.phone){n.phone=i.phone}if(i.message!==e.message){n.message=i.message}if(i.first_name!==e.first_name){n.first_name=i.first_name}if(i.last_name!==e.last_name){n.last_name=i.last_name}if(Object.keys(n).length>0){updateRecipient(this.endpoint,this.envelopeId,e.role_name,n).then((function(e){VerdocsToast("Recipient updated",{style:"success"});console.log("[SIDEBAR] Updated recipient",e);Store.getEnvelope(t.endpoint,t.envelopeId,true);t.showUpdateDialog=""})).catch((function(e){VerdocsToast(e.response.data.error,{style:"error"});t.showUpdateDialog=""}))}else{this.showUpdateDialog=""}};e.prototype.prepareHistoryEntries=function(){var e=this;var i,t,n,s,o,r;var a=[];var l=((i=this.envelope)===null||i===void 0?void 0:i.history_entries)||[];a.push({icon:"pencil",message:"Envelope created.",date:new Date((t=this.envelope)===null||t===void 0?void 0:t.created_at)});if(((n=this.envelope)===null||n===void 0?void 0:n.status)==="complete"){a.push({icon:"pencil",message:"Envelope completed.",date:new Date((s=this.envelope)===null||s===void 0?void 0:s.updated_at)})}var d=l.some((function(e){return e.event==="owner:canceled"}));if(((o=this.envelope)===null||o===void 0?void 0:o.status)==="canceled"&&!d){a.push({icon:"pencil",message:"Envelope Canceled.",date:new Date((r=this.envelope)===null||r===void 0?void 0:r.canceled_at)})}l.forEach((function(i){var t;var n=(((t=e.envelope)===null||t===void 0?void 0:t.recipients)||[]).find((function(e){return e.role_name===i.role_name}));var s=formatFullName(n);switch(i.event.toLowerCase()){case"recipient:kba_verified":a.push({icon:"key",message:"KBA verification completed by ".concat(s,"."),date:new Date(i.created_at)});break;case"recipient:kba_failed":a.push({icon:"keyslash",message:"KBA verification failed by ".concat(s,"."),date:new Date(i.created_at)});break;case"recipient:id_verified":a.push({icon:"idcard",message:"ID verification completed by ".concat(s,"."),date:new Date(i.created_at)});break;case"recipient:id_failed":a.push({icon:"idcardslash",message:"ID verification failed by ".concat(s,"."),date:new Date(i.created_at)});break;case"recipient:pin_verified":a.push({icon:"pin",message:"PIN verification completed by ".concat(s,"."),date:new Date(i.created_at)});break;case"recipient:pin_failed":a.push({icon:"pinslash",message:"PIN verification failed by ".concat(s,"."),date:new Date(i.created_at)});break;case"recipient:signed":a.push({icon:"gesture",message:"Signed by ".concat(s,"."),date:new Date(i.created_at)});break;case"recipient:declined":a.push({icon:"clear",message:"Declined by ".concat(s,"."),date:new Date(i.created_at)});break;case"recipient:opened":switch(i.event_detail){case"email":case"mail":a.push({icon:"visibility",message:"Opened by ".concat(s,", via email."),date:new Date(i.created_at)});break;case"sms":a.push({icon:"visibility",message:"Opened by ".concat(s,", via SMS."),date:new Date(i.created_at)});break;case"in_person_link":a.push({icon:"visibility",message:"Opened by ".concat(s,", via In-person link."),date:new Date(i.created_at)});break;case"in_app":a.push({icon:"visibility",message:"Opened by ".concat(s,", via dashboard."),date:new Date(i.created_at)});break;default:a.push({icon:"visibility",message:"Opened by ".concat(s,"."),date:new Date(i.created_at)})}break;case"recipient:submitted":switch(i.event_detail){case"approver":a.push({icon:"check_circle",message:"Approved by ".concat(s,"."),date:new Date(i.created_at)});break;default:a.push({icon:"send",message:"Submitted by ".concat(s,"."),date:new Date(i.created_at)});break}break;case"recipient:prepared":a.push({icon:"send",message:"Prepared by ".concat(s,"."),date:new Date(i.created_at)});break;case"recipient:claimed":if(i.event_detail==="guest"){a.push({icon:"account_circle",message:"".concat(s," claimed the Envelope as a guest."),date:new Date(i.created_at)})}else if(i.event_detail==="profile"){a.push({icon:"verified_user",message:"".concat(s," claimed the Envelope as a verified user."),date:new Date(i.created_at)})}break;case"recipient:agreed":a.push({icon:"done",message:"".concat(s," agreed to use electronic records and signatures."),date:new Date(i.created_at)});break;case"recipient:invited":if(i.event_detail==="sms"){a.push({icon:"textsms",message:"".concat(s," has been invited via SMS."),date:new Date(i.created_at)})}else{a.push({icon:"mail",message:"".concat(s," has been invited via email."),date:new Date(i.created_at)})}break;case"recipient:reminder":if(i.event_detail==="sms"){a.push({icon:"textsms",message:"".concat(s," sent a reminder via SMS."),date:new Date(i.created_at)})}else{a.push({icon:"mail",message:"".concat(s," sent a reminder via email."),date:new Date(i.created_at)})}break;case"invitation:resent":a.push({icon:"mail",message:"Invitation was resent to ".concat(s).concat(i.event_detail==="reminder"?" by reminder":"","."),date:new Date(i.created_at)});break;case"envelope:cc":a.push({icon:"contact_mail",message:"A copy has been sent to ".concat(s,"."),date:new Date(i.created_at)});break;case"recipient:delegated":a.push({icon:"people",message:i.event_detail,date:new Date(i.created_at)});break;case"recipient:updated_info":a.push({icon:"perm_identity",message:i.event_detail,date:new Date(i.created_at)});break;case"owner:updated_recipient_info":a.push({icon:"perm_identity",message:i.event_detail,date:new Date(i.created_at)});break;case"created":a.push({icon:"create",message:"Envelope was created.",date:new Date(i.created_at)});break;case"completed":a.push({icon:"done_all",message:"Envelope was completed.",date:new Date(i.created_at)});break;case"envelope:canceled":case"envelope_canceled":case"canceled":case"owner:canceled":a.push({icon:"cancel",message:"Envelope was canceled by the creator.",date:new Date(i.created_at)});break;case"envelope:expired":a.push({icon:"cancel",message:"Envelope expired.",date:new Date(i.created_at)});break;case"owner:get_in_person_link":a.push({icon:"link",message:"Owner accessed the In-person link for ".concat(n,"."),date:new Date(i.created_at)});break;default:console.log("[SIDEBAR] Unknown history type",i);break}}));a.sort((function(e,i){return i.date.getTime()-e.date.getTime()}));return a};e.prototype.handleToggleReminders=function(){if(this.remindersEnabled){return this.handleSetReminders(null,null)}else{return this.handleSetReminders(MS_PER_DAY,3*MS_PER_DAY)}};e.prototype.handleSetReminders=function(e,i){var t=this;console.log("Updating reminders...");this.updatingReminders=true;updateEnvelope(this.endpoint,this.envelopeId,{initial_reminder:e,followup_reminders:i}).then((function(e){console.log("Updated",e);Store.updateEnvelope(t.envelopeId,e);t.initialReminder=e.initial_reminder;t.followupReminders=e.followup_reminders;t.remindersEnabled=!!e.initial_reminder;t.updatingReminders=false})).catch((function(e){var i,n,s;console.log("Error updating envelope",e);t.initialReminder=(i=t.envelope)===null||i===void 0?void 0:i.initial_reminder;t.followupReminders=(n=t.envelope)===null||n===void 0?void 0:n.followup_reminders;t.remindersEnabled=!!((s=t.envelope)===null||s===void 0?void 0:s.initial_reminder);t.updatingReminders=false;VerdocsToast(e.response.data.error,{style:"error"})}))};e.prototype.render=function(){var e=this;var i,t,n,s,o,r,a,l,d,c,v,p;if(this.loading){return h(Host,null)}var u=userIsEnvelopeOwner(this.endpoint.profile,this.envelope);var f=this.prepareHistoryEntries();var w=((i=this.envelope)===null||i===void 0?void 0:i.status)!=="pending"&&((t=this.envelope)===null||t===void 0?void 0:t.status)!=="in progress";var g=getRecipientsWithActions(this.envelope);return h(Host,{class:this.panelOpen?"open":""},h("div",{class:"side-buttons"},h("button",{class:this.activeTab===1?"active":"",onClick:function(){return e.setTab(1)},innerHTML:InformationCircle}),h("button",{class:this.activeTab===2?"active":"",onClick:function(){return e.setTab(2)},innerHTML:Users}),h("button",{class:this.activeTab===3?"active":"",onClick:function(){return e.setTab(3)},innerHTML:ClipboardDocuments})),this.activeTab===1&&h("div",{class:"content"},h("div",{class:"title"},"Details"),h("div",{class:"label"},"Envelope ID"),h("div",{class:"value"},(n=this.envelope)===null||n===void 0?void 0:n.id),h("div",{class:"label"},"Date Created"),h("div",{class:"value"},dateFnsExports.format(new Date((s=this.envelope)===null||s===void 0?void 0:s.created_at),FORMAT_TIMESTAMP)),h("div",{class:"label"},"Last Modified"),h("div",{class:"value"},dateFnsExports.format(new Date((o=this.envelope)===null||o===void 0?void 0:o.updated_at),FORMAT_TIMESTAMP)),h("div",{class:"label"},"Status"),h("div",{class:"value"},capitalize((r=this.envelope)===null||r===void 0?void 0:r.status)),h("div",{class:"label"},"Owner ID"),h("div",{class:"value"},(a=this.envelope)===null||a===void 0?void 0:a.profile_id),h("div",{class:"label"},"Owner Name"),h("div",{class:"value"},formatFullName((l=this.envelope)===null||l===void 0?void 0:l.profile)),h("div",{class:"label"},"Owner Email"),h("div",{class:"value"},(c=(d=this.envelope)===null||d===void 0?void 0:d.profile)===null||c===void 0?void 0:c.email)),this.activeTab===2&&h("div",{class:"content"},h("div",{class:"title"},"Recipients"),(v=this.envelope)===null||v===void 0?void 0:v.recipients.map((function(i,t){var n;var s=recipientCanAct(i,g);var o=i.status!=="submitted";var r=e.canResendRecipient(i);var a=formatFullName(i);return h("div",{class:"recipient-detail"},h("div",{class:"recipient-header"},h("div",{class:"recipient-number"},t+1),h("div",{class:"recipient-name"},i.role_name.replace("delegated_to_","Delegated")),h("div",{class:(n={"recipient-status":true},n[i.status]=true,n)},i.status),u&&!w&&h("verdocs-dropdown",{onOptionSelected:function(t){return e.handleRecipientAction(i,t.detail.id)},options:[{id:"update",label:"Update",disabled:!o},{id:"reminder",label:"Send Reminder",disabled:!r},{id:"inperson",label:"Get In-Person Link",disabled:!s},{id:"reinvite",label:"Re-invite",disabled:!r}]})),h("dic",{class:"recipient-content"},h("div",{class:"recipient-name"},a),h("div",{class:"recipient-name"},i.email),h("div",{class:"recipient-name"},i.phone)))})),u&&h("div",{class:"reminders"},h("div",{class:"form-row"},h("div",{class:"reminders-label"},"Reminders"),h("verdocs-switch",{disabled:w||this.updatingReminders,checked:this.remindersEnabled,onCheckedChange:function(){return e.handleToggleReminders()}})),this.remindersEnabled&&h(Fragment,null,h("div",{class:"form-row"},"NOTE: Reminders will only be sent for up to 14 days."),h("div",{class:"form-row"},h("div",{class:"form-label"},"Initial Reminder (days):"),h("verdocs-text-input",{placeholder:"In hours...",disabled:w||this.updatingReminders,value:String(Math.floor(this.initialReminder/MS_PER_DAY)),onBlur:function(i){e.initialReminder=Number(i.target.value)*MS_PER_DAY;e.handleSetReminders(e.initialReminder,e.followupReminders)}})),h("div",{class:"form-row"},h("div",{class:"form-label"},"Follow-up Reminders:"),h("verdocs-text-input",{placeholder:"In hours...",disabled:w||this.updatingReminders,value:String(Math.floor(this.followupReminders/MS_PER_DAY)),onBlur:function(i){e.followupReminders=Number(i.target.value)*MS_PER_DAY;e.handleSetReminders(e.initialReminder,e.followupReminders)}})),h("div",{class:"form-row"},h("div",{class:"form-label"},"Next Reminder:"),h("div",{style:{color:"#dddddd"}},dateFnsExports.format(new Date((p=this.envelope)===null||p===void 0?void 0:p.next_reminder),"P p"))))),u&&h("verdocs-button",{class:"manage-recipients-button",variant:"standard",label:"Cancel Envelope",onClick:function(){return e.showCancelDialog=!w},disabled:w})),this.activeTab===3&&h("div",{class:"content"},h("div",{class:"title"},"History"),f.map((function(e){return h("div",{class:"history-entry"},h("div",{class:"activity-icon",innerHTML:ActivityIcons[e.icon]||e.icon}),h("div",{class:"activity-details"},h("div",{class:"activity-text"},e.message),h("div",{class:"activity-date"},dateFnsExports.format(e.date,FORMAT_TIMESTAMP))))}))),this.showRecipientDialog&&h("verdocs-envelope-recipient-link",{envelopeId:this.envelopeId,roleName:this.showRecipientDialog,onNext:function(){return e.showRecipientDialog=""}}),this.showCancelDialog&&h("verdocs-ok-dialog",{heading:"Cancel Envelope?",message:"Are you sure you want to cancel this Envelope? This action cannot be undone.",onNext:function(){e.showCancelDialog=false;e.handleCancelEnvelope()}}),this.showReinviteDialog&&h("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:function(){resetRecipient(e.endpoint,e.envelopeId,e.showReinviteDialog).then((function(){VerdocsToast("Recipient Reset",{style:"success"});e.showReinviteDialog=""})).catch((function(i){console.log("[SIDEBAR] Error resetting recipient",i);VerdocsToast("Error resetting recipient: "+i.message,{style:"error"});e.showReinviteDialog=""}))}}),this.showUpdateDialog&&h("verdocs-envelope-update-recipient",{envelopeId:this.envelopeId,roleName:this.showUpdateDialog,onNext:function(i){console.log("next",i.detail);if(i.detail.action==="save"){e.handleUpdateRecipient(i.detail.originalRecipient,i.detail.updatedRecipient)}else{e.showUpdateDialog=""}}}))};return e}();VerdocsEnvelopeSidebar.style=verdocsEnvelopeSidebarCss;export{VerdocsEnvelopeSidebar as verdocs_envelope_sidebar};
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,i,t,n){function s(e){return e instanceof t?e:new t((function(i){i(e)}))}return new(t||(t=Promise))((function(t,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n["throw"](e))}catch(e){o(e)}}function l(e){e.done?t(e.value):s(e.value).then(r,a)}l((n=n.apply(e,i||[])).next())}))};var __generator=this&&this.__generator||function(e,i){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,s,o,r=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return r.next=a(0),r["throw"]=a(1),r["return"]=a(2),typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function a(e){return function(i){return l([e,i])}}function l(a){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,a[0]&&(t=0)),t)try{if(n=1,s&&(o=a[0]&2?s["return"]:a[0]?s["throw"]||((o=s["return"])&&o.call(s),0):s.next)&&!(o=o.call(s,a[1])).done)return o;if(s=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:t.label++;return{value:a[1],done:false};case 5:t.label++;s=a[1];a=[0];continue;case 7:a=t.ops.pop();t.trys.pop();continue;default:if(!(o=t.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1];o=a;break}if(o&&t.label<o[2]){t.label=o[2];t.ops.push(a);break}if(o[2])t.ops.pop();t.trys.pop();continue}a=i.call(e,t)}catch(e){a=[6,e];s=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,H as Host,F as Fragment}from"./index-DjAHH4ih.js";import{d as dateFnsExports}from"./index-dzBXqXlK.js";import{VerdocsEndpoint,getEnvelope,remindRecipient,cancelEnvelope,updateRecipient,formatFullName,updateEnvelope,userIsEnvelopeOwner,getRecipientsWithActions,resetRecipient,recipientCanAct,capitalize}from"@verdocs/js-sdk";import{a as FORMAT_TIMESTAMP}from"./Types-dqxNbm_b.js";import{V as VerdocsToast}from"./Toast-CyvDgtoV.js";import{S as SDKError}from"./errors-C1sRVZWv.js";import{S as Store}from"./Datastore-DmsV595e.js";var verdocsEnvelopeSidebarCss='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-envelope-sidebar{font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", 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-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}';var MS_PER_DAY=24*60*60*1e3;var InformationCircle='<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>';var Users='<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>';var ClipboardDocuments='<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>';var ActivityIcons={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>'};var VerdocsEnvelopeSidebar=function(){function e(e){registerInstance(this,e);this.sdkError=createEvent(this,"sdkError");this.envelopeUpdated=createEvent(this,"envelopeUpdated");this.toggle=createEvent(this,"toggle");this.another=createEvent(this,"another");this.envelopeListenerId=null;this.endpoint=VerdocsEndpoint.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}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,i,t;return __generator(this,(function(n){try{this.endpoint.loadSession();if(!this.envelopeId){console.log("[SIDEBAR] Missing required envelope ID ".concat(this.envelopeId));return[2]}if(!this.endpoint.session){console.log("[SIDEBAR] Unable to start session, must be authenticated");return[2]}this.listenToEnvelope()}catch(n){console.log("[SIDEBAR] Error loading envelope",n);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new SDKError(n.message,(i=n.response)===null||i===void 0?void 0:i.status,(t=n.response)===null||t===void 0?void 0:t.data))}return[2]}))}))};e.prototype.disconnectedCallback=function(){this.unlistenToEnvelope()};e.prototype.listenToEnvelope=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){console.log("[SIDEBAR] Loading envelope",this.envelopeId);this.unlistenToEnvelope();Store.subscribe("envelopes",this.envelopeId,(function(){return getEnvelope(e.endpoint,e.envelopeId)}),false,(function(i){var t,n;e.envelope=i;e.loading=false;e.sortEnvelopeRecipients();e.initialReminder=(t=e.envelope)===null||t===void 0?void 0:t.initial_reminder;e.followupReminders=(n=e.envelope)===null||n===void 0?void 0:n.followup_reminders;e.remindersEnabled=!!e.initialReminder}));return[2]}))}))};e.prototype.unlistenToEnvelope=function(){if(this.envelopeListenerId){Store.store.delListener(this.envelopeListenerId);this.envelopeListenerId=null}};e.prototype.sortEnvelopeRecipients=function(){var e;(((e=this.envelope)===null||e===void 0?void 0:e.recipients)||[]).sort((function(e,i){return e.sequence===i.sequence?e.order-i.order:e.sequence-i.sequence}))};e.prototype.setTab=function(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};e.prototype.canResendRecipient=function(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)};e.prototype.handleRecipientAction=function(e,i){var t;console.log("[SIDEBAR] Recipient action",i,e);switch(i){case"update":this.showUpdateDialog=e.role_name;break;case"reminder":remindRecipient(this.endpoint,this.envelopeId,e.role_name).then((function(){VerdocsToast("Reminder Sent",{style:"success"})})).catch((function(e){console.log("[SIDEBAR] Error resending invitation",e);VerdocsToast("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":VerdocsToast("This feature will be enabled in a future release. Please try again later.",{style:"info"});break;case"details":VerdocsToast("This feature will be enabled in a future release. Please try again later.",{style:"info"});break}(t=this.envelopeUpdated)===null||t===void 0?void 0:t.emit({endpoint:this.endpoint,envelope:this.envelope,event:i})};e.prototype.handleCancelEnvelope=function(){var e=this;this.loading=true;cancelEnvelope(this.endpoint,this.envelopeId).then((function(i){return __awaiter(e,void 0,void 0,(function(){var e,t;return __generator(this,(function(n){console.log("[SIDEBAR] Envelope canceled",i);VerdocsToast("Envelope canceled",{style:"success"});t=JSON.parse(JSON.stringify(this.envelope));t.status="canceled";Store.updateEnvelope(this.envelopeId,t);this.loading=false;this.panelOpen=false;(e=this.envelopeUpdated)===null||e===void 0?void 0:e.emit({endpoint:this.endpoint,envelope:t,event:"canceled"});return[2]}))}))})).catch((function(i){console.log("[SIDEBAR] Error canceling envelope",i);e.loading=false;VerdocsToast("Error canceling envelope: "+i.message,{style:"error"})}))};e.prototype.handleUpdateRecipient=function(e,i){var t=this;console.log("Updating recipient",e,i);var n={};if(i.email!==e.email){n.email=i.email}if(i.phone!==e.phone){n.phone=i.phone}if(i.message!==e.message){n.message=i.message}if(i.first_name!==e.first_name){n.first_name=i.first_name}if(i.last_name!==e.last_name){n.last_name=i.last_name}if(Object.keys(n).length>0){updateRecipient(this.endpoint,this.envelopeId,e.role_name,n).then((function(e){VerdocsToast("Recipient updated",{style:"success"});console.log("[SIDEBAR] Updated recipient",e);Store.getEnvelope(t.endpoint,t.envelopeId,true);t.showUpdateDialog=""})).catch((function(e){VerdocsToast(e.response.data.error,{style:"error"});t.showUpdateDialog=""}))}else{this.showUpdateDialog=""}};e.prototype.prepareHistoryEntries=function(){var e=this;var i,t,n,s,o,r;var a=[];var l=((i=this.envelope)===null||i===void 0?void 0:i.history_entries)||[];a.push({icon:"pencil",message:"Envelope created.",date:new Date((t=this.envelope)===null||t===void 0?void 0:t.created_at)});if(((n=this.envelope)===null||n===void 0?void 0:n.status)==="complete"){a.push({icon:"pencil",message:"Envelope completed.",date:new Date((s=this.envelope)===null||s===void 0?void 0:s.updated_at)})}var d=l.some((function(e){return e.event==="owner:canceled"}));if(((o=this.envelope)===null||o===void 0?void 0:o.status)==="canceled"&&!d){a.push({icon:"pencil",message:"Envelope Canceled.",date:new Date((r=this.envelope)===null||r===void 0?void 0:r.canceled_at)})}l.forEach((function(i){var t;var n=(((t=e.envelope)===null||t===void 0?void 0:t.recipients)||[]).find((function(e){return e.role_name===i.role_name}));var s=formatFullName(n);switch(i.event.toLowerCase()){case"recipient:kba_verified":a.push({icon:"key",message:"KBA verification completed by ".concat(s,"."),date:new Date(i.created_at)});break;case"recipient:kba_failed":a.push({icon:"keyslash",message:"KBA verification failed by ".concat(s,"."),date:new Date(i.created_at)});break;case"recipient:id_verified":a.push({icon:"idcard",message:"ID verification completed by ".concat(s,"."),date:new Date(i.created_at)});break;case"recipient:id_failed":a.push({icon:"idcardslash",message:"ID verification failed by ".concat(s,"."),date:new Date(i.created_at)});break;case"recipient:pin_verified":a.push({icon:"pin",message:"PIN verification completed by ".concat(s,"."),date:new Date(i.created_at)});break;case"recipient:pin_failed":a.push({icon:"pinslash",message:"PIN verification failed by ".concat(s,"."),date:new Date(i.created_at)});break;case"recipient:signed":a.push({icon:"gesture",message:"Signed by ".concat(s,"."),date:new Date(i.created_at)});break;case"recipient:declined":a.push({icon:"clear",message:"Declined by ".concat(s,"."),date:new Date(i.created_at)});break;case"recipient:opened":switch(i.event_detail){case"email":case"mail":a.push({icon:"visibility",message:"Opened by ".concat(s,", via email."),date:new Date(i.created_at)});break;case"sms":a.push({icon:"visibility",message:"Opened by ".concat(s,", via SMS."),date:new Date(i.created_at)});break;case"in_person_link":a.push({icon:"visibility",message:"Opened by ".concat(s,", via In-person link."),date:new Date(i.created_at)});break;case"in_app":a.push({icon:"visibility",message:"Opened by ".concat(s,", via dashboard."),date:new Date(i.created_at)});break;default:a.push({icon:"visibility",message:"Opened by ".concat(s,"."),date:new Date(i.created_at)})}break;case"recipient:submitted":switch(i.event_detail){case"approver":a.push({icon:"check_circle",message:"Approved by ".concat(s,"."),date:new Date(i.created_at)});break;default:a.push({icon:"send",message:"Submitted by ".concat(s,"."),date:new Date(i.created_at)});break}break;case"recipient:prepared":a.push({icon:"send",message:"Prepared by ".concat(s,"."),date:new Date(i.created_at)});break;case"recipient:claimed":if(i.event_detail==="guest"){a.push({icon:"account_circle",message:"".concat(s," claimed the Envelope as a guest."),date:new Date(i.created_at)})}else if(i.event_detail==="profile"){a.push({icon:"verified_user",message:"".concat(s," claimed the Envelope as a verified user."),date:new Date(i.created_at)})}break;case"recipient:agreed":a.push({icon:"done",message:"".concat(s," agreed to use electronic records and signatures."),date:new Date(i.created_at)});break;case"recipient:invited":if(i.event_detail==="sms"){a.push({icon:"textsms",message:"".concat(s," has been invited via SMS."),date:new Date(i.created_at)})}else{a.push({icon:"mail",message:"".concat(s," has been invited via email."),date:new Date(i.created_at)})}break;case"recipient:reminder":if(i.event_detail==="sms"){a.push({icon:"textsms",message:"".concat(s," sent a reminder via SMS."),date:new Date(i.created_at)})}else{a.push({icon:"mail",message:"".concat(s," sent a reminder via email."),date:new Date(i.created_at)})}break;case"invitation:resent":a.push({icon:"mail",message:"Invitation was resent to ".concat(s).concat(i.event_detail==="reminder"?" by reminder":"","."),date:new Date(i.created_at)});break;case"envelope:cc":a.push({icon:"contact_mail",message:"A copy has been sent to ".concat(s,"."),date:new Date(i.created_at)});break;case"recipient:delegated":a.push({icon:"people",message:i.event_detail,date:new Date(i.created_at)});break;case"recipient:updated_info":a.push({icon:"perm_identity",message:i.event_detail,date:new Date(i.created_at)});break;case"owner:updated_recipient_info":a.push({icon:"perm_identity",message:i.event_detail,date:new Date(i.created_at)});break;case"created":a.push({icon:"create",message:"Envelope was created.",date:new Date(i.created_at)});break;case"completed":a.push({icon:"done_all",message:"Envelope was completed.",date:new Date(i.created_at)});break;case"envelope:canceled":case"envelope_canceled":case"canceled":case"owner:canceled":a.push({icon:"cancel",message:"Envelope was canceled by the creator.",date:new Date(i.created_at)});break;case"envelope:expired":a.push({icon:"cancel",message:"Envelope expired.",date:new Date(i.created_at)});break;case"owner:get_in_person_link":a.push({icon:"link",message:"Owner accessed the In-person link for ".concat(n,"."),date:new Date(i.created_at)});break;default:console.log("[SIDEBAR] Unknown history type",i);break}}));a.sort((function(e,i){return i.date.getTime()-e.date.getTime()}));return a};e.prototype.handleToggleReminders=function(){if(this.remindersEnabled){return this.handleSetReminders(null,null)}else{return this.handleSetReminders(MS_PER_DAY,3*MS_PER_DAY)}};e.prototype.handleSetReminders=function(e,i){var t=this;console.log("Updating reminders...");this.updatingReminders=true;updateEnvelope(this.endpoint,this.envelopeId,{initial_reminder:e,followup_reminders:i}).then((function(e){console.log("Updated",e);Store.updateEnvelope(t.envelopeId,e);t.initialReminder=e.initial_reminder;t.followupReminders=e.followup_reminders;t.remindersEnabled=!!e.initial_reminder;t.updatingReminders=false})).catch((function(e){var i,n,s;console.log("Error updating envelope",e);t.initialReminder=(i=t.envelope)===null||i===void 0?void 0:i.initial_reminder;t.followupReminders=(n=t.envelope)===null||n===void 0?void 0:n.followup_reminders;t.remindersEnabled=!!((s=t.envelope)===null||s===void 0?void 0:s.initial_reminder);t.updatingReminders=false;VerdocsToast(e.response.data.error,{style:"error"})}))};e.prototype.render=function(){var e=this;var i,t,n,s,o,r,a,l,d,c,v,p;if(this.loading){return h(Host,null)}var u=userIsEnvelopeOwner(this.endpoint.profile,this.envelope);var f=this.prepareHistoryEntries();var w=((i=this.envelope)===null||i===void 0?void 0:i.status)!=="pending"&&((t=this.envelope)===null||t===void 0?void 0:t.status)!=="in progress";var g=getRecipientsWithActions(this.envelope);return h(Host,{class:this.panelOpen?"open":""},h("div",{class:"side-buttons"},h("button",{class:this.activeTab===1?"active":"",onClick:function(){return e.setTab(1)},innerHTML:InformationCircle}),h("button",{class:this.activeTab===2?"active":"",onClick:function(){return e.setTab(2)},innerHTML:Users}),h("button",{class:this.activeTab===3?"active":"",onClick:function(){return e.setTab(3)},innerHTML:ClipboardDocuments})),this.activeTab===1&&h("div",{class:"content"},h("div",{class:"title"},"Details"),h("div",{class:"label"},"Envelope ID"),h("div",{class:"value"},(n=this.envelope)===null||n===void 0?void 0:n.id),h("div",{class:"label"},"Date Created"),h("div",{class:"value"},dateFnsExports.format(new Date((s=this.envelope)===null||s===void 0?void 0:s.created_at),FORMAT_TIMESTAMP)),h("div",{class:"label"},"Last Modified"),h("div",{class:"value"},dateFnsExports.format(new Date((o=this.envelope)===null||o===void 0?void 0:o.updated_at),FORMAT_TIMESTAMP)),h("div",{class:"label"},"Status"),h("div",{class:"value"},capitalize((r=this.envelope)===null||r===void 0?void 0:r.status)),h("div",{class:"label"},"Owner ID"),h("div",{class:"value"},(a=this.envelope)===null||a===void 0?void 0:a.profile_id),h("div",{class:"label"},"Owner Name"),h("div",{class:"value"},formatFullName((l=this.envelope)===null||l===void 0?void 0:l.profile)),h("div",{class:"label"},"Owner Email"),h("div",{class:"value"},(c=(d=this.envelope)===null||d===void 0?void 0:d.profile)===null||c===void 0?void 0:c.email)),this.activeTab===2&&h("div",{class:"content"},h("div",{class:"title"},"Recipients"),(v=this.envelope)===null||v===void 0?void 0:v.recipients.map((function(i,t){var n;var s=recipientCanAct(i,g);var o=i.status!=="submitted";var r=e.canResendRecipient(i);var a=formatFullName(i);return h("div",{class:"recipient-detail"},h("div",{class:"recipient-header"},h("div",{class:"recipient-number"},t+1),h("div",{class:"recipient-name"},i.role_name.replace("delegated_to_","Delegated")),h("div",{class:(n={"recipient-status":true},n[i.status]=true,n)},i.status),u&&!w&&h("verdocs-dropdown",{onOptionSelected:function(t){return e.handleRecipientAction(i,t.detail.id)},options:[{id:"update",label:"Update",disabled:!o},{id:"reminder",label:"Send Reminder",disabled:!r},{id:"inperson",label:"Get In-Person Link",disabled:!s},{id:"reinvite",label:"Re-invite",disabled:!r}]})),h("dic",{class:"recipient-content"},h("div",{class:"recipient-name"},a),h("div",{class:"recipient-name"},i.email),h("div",{class:"recipient-name"},i.phone)))})),u&&h("div",{class:"reminders"},h("div",{class:"form-row"},h("div",{class:"reminders-label"},"Reminders"),h("verdocs-switch",{disabled:w||this.updatingReminders,checked:this.remindersEnabled,onCheckedChange:function(){return e.handleToggleReminders()}})),this.remindersEnabled&&h(Fragment,null,h("div",{class:"form-row"},"NOTE: Reminders will only be sent for up to 14 days."),h("div",{class:"form-row"},h("div",{class:"form-label"},"Initial Reminder (days):"),h("verdocs-text-input",{placeholder:"In hours...",disabled:w||this.updatingReminders,value:String(Math.floor(this.initialReminder/MS_PER_DAY)),onBlur:function(i){e.initialReminder=Number(i.target.value)*MS_PER_DAY;e.handleSetReminders(e.initialReminder,e.followupReminders)}})),h("div",{class:"form-row"},h("div",{class:"form-label"},"Follow-up Reminders:"),h("verdocs-text-input",{placeholder:"In hours...",disabled:w||this.updatingReminders,value:String(Math.floor(this.followupReminders/MS_PER_DAY)),onBlur:function(i){e.followupReminders=Number(i.target.value)*MS_PER_DAY;e.handleSetReminders(e.initialReminder,e.followupReminders)}})),h("div",{class:"form-row"},h("div",{class:"form-label"},"Next Reminder:"),h("div",{style:{color:"#dddddd"}},dateFnsExports.format(new Date((p=this.envelope)===null||p===void 0?void 0:p.next_reminder),"P p"))))),u&&h("verdocs-button",{class:"manage-recipients-button",variant:"standard",label:"Cancel Envelope",onClick:function(){return e.showCancelDialog=!w},disabled:w})),this.activeTab===3&&h("div",{class:"content"},h("div",{class:"title"},"History"),f.map((function(e){return h("div",{class:"history-entry"},h("div",{class:"activity-icon",innerHTML:ActivityIcons[e.icon]||e.icon}),h("div",{class:"activity-details"},h("div",{class:"activity-text"},e.message),h("div",{class:"activity-date"},dateFnsExports.format(e.date,FORMAT_TIMESTAMP))))}))),this.showRecipientDialog&&h("verdocs-envelope-recipient-link",{envelopeId:this.envelopeId,roleName:this.showRecipientDialog,onNext:function(){return e.showRecipientDialog=""}}),this.showCancelDialog&&h("verdocs-ok-dialog",{heading:"Cancel Envelope?",message:"Are you sure you want to cancel this Envelope? This action cannot be undone.",onNext:function(){e.showCancelDialog=false;e.handleCancelEnvelope()}}),this.showReinviteDialog&&h("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:function(){resetRecipient(e.endpoint,e.envelopeId,e.showReinviteDialog).then((function(){VerdocsToast("Recipient Reset",{style:"success"});e.showReinviteDialog=""})).catch((function(i){console.log("[SIDEBAR] Error resetting recipient",i);VerdocsToast("Error resetting recipient: "+i.message,{style:"error"});e.showReinviteDialog=""}))}}),this.showUpdateDialog&&h("verdocs-envelope-update-recipient",{envelopeId:this.envelopeId,roleName:this.showUpdateDialog,onNext:function(i){console.log("next",i.detail);if(i.detail.action==="save"){e.handleUpdateRecipient(i.detail.originalRecipient,i.detail.updatedRecipient)}else{e.showUpdateDialog=""}}}))};return e}();VerdocsEnvelopeSidebar.style=verdocsEnvelopeSidebarCss;export{VerdocsEnvelopeSidebar as verdocs_envelope_sidebar};
|
|
2
2
|
//# sourceMappingURL=verdocs-envelope-sidebar.entry.js.map
|