@verdocs/web-sdk 6.2.1 → 6.2.4

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.
Files changed (631) hide show
  1. package/dist/cjs/{index-DftYQmBd.js → index-BSi_QTIT.js} +7 -4
  2. package/dist/cjs/{index-DftYQmBd.js.map → index-BSi_QTIT.js.map} +1 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/verdocs-auth.cjs.entry.js +1 -10
  5. package/dist/cjs/verdocs-auth.entry.cjs.js.map +1 -1
  6. package/dist/cjs/verdocs-build.cjs.entry.js +1 -1
  7. package/dist/cjs/verdocs-button-panel_2.cjs.entry.js +1 -1
  8. package/dist/cjs/verdocs-button.verdocs-help-icon.verdocs-text-input.entry.cjs.js.map +1 -1
  9. package/dist/cjs/verdocs-button_3.cjs.entry.js +10 -6
  10. package/dist/cjs/verdocs-checkbox_5.cjs.entry.js +1 -1
  11. package/dist/cjs/verdocs-contact-picker.cjs.entry.js +127 -58
  12. package/dist/cjs/verdocs-contact-picker.entry.cjs.js.map +1 -1
  13. package/dist/cjs/verdocs-date-input.cjs.entry.js +1 -1
  14. package/dist/cjs/verdocs-delegate-dialog_5.cjs.entry.js +4 -4
  15. package/dist/cjs/verdocs-dialog_2.cjs.entry.js +3 -3
  16. package/dist/cjs/verdocs-dropdown.cjs.entry.js +1 -1
  17. package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +2 -2
  18. package/dist/cjs/verdocs-envelope-recipient-link_2.cjs.entry.js +1 -1
  19. package/dist/cjs/verdocs-envelope-recipient-summary.cjs.entry.js +1 -1
  20. package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +1 -1
  21. package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +7 -7
  22. package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js +280 -154
  23. package/dist/cjs/verdocs-field-payment.cjs.entry.js +1 -1
  24. package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +1 -1
  25. package/dist/cjs/verdocs-menu-panel_2.cjs.entry.js +8 -8
  26. package/dist/cjs/verdocs-multiselect.cjs.entry.js +1 -1
  27. package/dist/cjs/verdocs-organization-card_2.cjs.entry.js +1 -1
  28. package/dist/cjs/verdocs-pagination_2.cjs.entry.js +1 -1
  29. package/dist/cjs/verdocs-preview_7.cjs.entry.js +1 -1
  30. package/dist/cjs/verdocs-quick-functions.cjs.entry.js +2 -2
  31. package/dist/cjs/verdocs-radio-button.cjs.entry.js +1 -1
  32. package/dist/cjs/verdocs-search-box.cjs.entry.js +1 -1
  33. package/dist/cjs/verdocs-search-tabs.cjs.entry.js +2 -2
  34. package/dist/cjs/verdocs-sign.cjs.entry.js +1 -1
  35. package/dist/cjs/verdocs-spinner.cjs.entry.js +1 -1
  36. package/dist/cjs/verdocs-status-indicator.cjs.entry.js +3 -3
  37. package/dist/cjs/verdocs-switch.cjs.entry.js +1 -1
  38. package/dist/cjs/verdocs-table.cjs.entry.js +1 -1
  39. package/dist/cjs/verdocs-template-card.cjs.entry.js +2 -2
  40. package/dist/cjs/verdocs-template-create.cjs.entry.js +1 -1
  41. package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +2 -2
  42. package/dist/cjs/verdocs-template-star.cjs.entry.js +2 -2
  43. package/dist/cjs/verdocs-template-tags.cjs.entry.js +2 -2
  44. package/dist/cjs/verdocs-templates-list.cjs.entry.js +1 -1
  45. package/dist/cjs/verdocs-toggle-button.cjs.entry.js +2 -2
  46. package/dist/cjs/verdocs-toggle.cjs.entry.js +1 -1
  47. package/dist/cjs/verdocs-web-sdk.cjs.js +3 -3
  48. package/dist/cjs/verdocs-web-sdk.cjs.js.map +1 -1
  49. package/dist/collection/collection-manifest.json +2 -2
  50. package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.css +8 -3
  51. package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.js +28 -4
  52. package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.js.map +1 -1
  53. package/dist/collection/components/controls/verdocs-toggle-button/verdocs-toggle-button.js +1 -1
  54. package/dist/collection/components/controls/verdocs-toolbar-icon/verdocs-toolbar-icon.js +1 -1
  55. package/dist/collection/components/dialogs/verdocs-delegate-dialog/verdocs-delegate-dialog.js +1 -1
  56. package/dist/collection/components/dialogs/verdocs-dialog/verdocs-dialog.js +1 -1
  57. package/dist/collection/components/dialogs/verdocs-disclosure-dialog/verdocs-disclosure-dialog.js +1 -1
  58. package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js +1 -1
  59. package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js +1 -1
  60. package/dist/collection/components/dialogs/verdocs-otp-dialog/verdocs-otp-dialog.js +1 -1
  61. package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.css +163 -47
  62. package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js +282 -152
  63. package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js.map +1 -1
  64. package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js +1 -1
  65. package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js +1 -1
  66. package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js +1 -1
  67. package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js +0 -9
  68. package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js.map +1 -1
  69. package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -1
  70. package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +6 -6
  71. package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +2 -2
  72. package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.js +1 -1
  73. package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +7 -7
  74. package/dist/collection/components/templates/verdocs-template-star/verdocs-template-star.js +1 -1
  75. package/dist/collection/components/templates/verdocs-template-tags/verdocs-template-tags.js +1 -1
  76. package/dist/components/index.js +1 -1
  77. package/dist/components/{p-DD7puHOD.js → p-6s2A2xbN.js} +29 -29
  78. package/dist/components/{p-DD7puHOD.js.map → p-6s2A2xbN.js.map} +1 -1
  79. package/dist/components/{p-DcWPdEq3.js → p-9Csbf-tN.js} +7 -7
  80. package/dist/components/{p-DcWPdEq3.js.map → p-9Csbf-tN.js.map} +1 -1
  81. package/dist/components/{p-Clw7inRP.js → p-9up2BmHp.js} +7 -4
  82. package/dist/components/p-9up2BmHp.js.map +1 -0
  83. package/dist/components/{p-DqU6EOrq.js → p-AVxZpgsX.js} +132 -63
  84. package/dist/components/p-AVxZpgsX.js.map +1 -0
  85. package/dist/components/{p-ZnrDtTZt.js → p-B0MvlQO2.js} +13 -13
  86. package/dist/components/{p-ZnrDtTZt.js.map → p-B0MvlQO2.js.map} +1 -1
  87. package/dist/components/{p-DpEBcKDj.js → p-B4UtR_2c.js} +12 -12
  88. package/dist/components/{p-DpEBcKDj.js.map → p-B4UtR_2c.js.map} +1 -1
  89. package/dist/components/{p-C4FQgN27.js → p-BL3Ul9SN.js} +3 -3
  90. package/dist/components/{p-C4FQgN27.js.map → p-BL3Ul9SN.js.map} +1 -1
  91. package/dist/components/{p-CQCFJea3.js → p-BUDGHfvB.js} +5 -5
  92. package/dist/components/{p-CQCFJea3.js.map → p-BUDGHfvB.js.map} +1 -1
  93. package/dist/components/{p-H5nk-La8.js → p-BVuTqQTL.js} +12 -12
  94. package/dist/components/{p-H5nk-La8.js.map → p-BVuTqQTL.js.map} +1 -1
  95. package/dist/components/{p-B7K8lTsJ.js → p-BW3GsUj9.js} +4 -4
  96. package/dist/components/{p-B7K8lTsJ.js.map → p-BW3GsUj9.js.map} +1 -1
  97. package/dist/components/{p-D3et9AL5.js → p-BXFf3Lpk.js} +12 -12
  98. package/dist/components/{p-D3et9AL5.js.map → p-BXFf3Lpk.js.map} +1 -1
  99. package/dist/components/{p-EPmbbAEf.js → p-Bba-t7GY.js} +5 -5
  100. package/dist/components/{p-EPmbbAEf.js.map → p-Bba-t7GY.js.map} +1 -1
  101. package/dist/components/{p-CRwSFWzI.js → p-Bf5ceLBh.js} +4 -4
  102. package/dist/components/{p-CRwSFWzI.js.map → p-Bf5ceLBh.js.map} +1 -1
  103. package/dist/components/{p-BuubyFAZ.js → p-BhqIuhDg.js} +3 -3
  104. package/dist/components/{p-BuubyFAZ.js.map → p-BhqIuhDg.js.map} +1 -1
  105. package/dist/components/{p-BdJ3dzrK.js → p-Bq8xEv_t.js} +10 -10
  106. package/dist/components/{p-BdJ3dzrK.js.map → p-Bq8xEv_t.js.map} +1 -1
  107. package/dist/components/{p-B9Ea7YKs.js → p-BvDqCFDj.js} +14 -9
  108. package/dist/components/p-BvDqCFDj.js.map +1 -0
  109. package/dist/components/{p-KBnlWGyn.js → p-C2Dmo84A.js} +3 -3
  110. package/dist/components/{p-KBnlWGyn.js.map → p-C2Dmo84A.js.map} +1 -1
  111. package/dist/components/{p-CQobV491.js → p-C2cseLAY.js} +3 -3
  112. package/dist/components/{p-CQobV491.js.map → p-C2cseLAY.js.map} +1 -1
  113. package/dist/components/{p-ChYa_oDl.js → p-C3iwT41e.js} +3 -3
  114. package/dist/components/{p-ChYa_oDl.js.map → p-C3iwT41e.js.map} +1 -1
  115. package/dist/components/{p-Bsj4gHYP.js → p-C4lOZS20.js} +12 -12
  116. package/dist/components/{p-Bsj4gHYP.js.map → p-C4lOZS20.js.map} +1 -1
  117. package/dist/components/{p-B5eQd9Mt.js → p-CBRYaKLM.js} +4 -4
  118. package/dist/components/{p-B5eQd9Mt.js.map → p-CBRYaKLM.js.map} +1 -1
  119. package/dist/components/{p-WzOFvlsv.js → p-CBfSBOmz.js} +7 -7
  120. package/dist/components/{p-WzOFvlsv.js.map → p-CBfSBOmz.js.map} +1 -1
  121. package/dist/components/{p-DIPvUaAv.js → p-CDYnBmu_.js} +14 -14
  122. package/dist/components/{p-DIPvUaAv.js.map → p-CDYnBmu_.js.map} +1 -1
  123. package/dist/components/{p-DMzzevWO.js → p-CPvyHpp6.js} +4 -4
  124. package/dist/components/{p-DMzzevWO.js.map → p-CPvyHpp6.js.map} +1 -1
  125. package/dist/components/{p-BRPzK8Xw.js → p-CcIaiNEM.js} +15 -15
  126. package/dist/components/{p-BRPzK8Xw.js.map → p-CcIaiNEM.js.map} +1 -1
  127. package/dist/components/{p-DLmnuCRM.js → p-CkxqbZql.js} +11 -11
  128. package/dist/components/{p-DLmnuCRM.js.map → p-CkxqbZql.js.map} +1 -1
  129. package/dist/components/{p-Driek-y5.js → p-Cm3Ns2TB.js} +4 -4
  130. package/dist/components/{p-Driek-y5.js.map → p-Cm3Ns2TB.js.map} +1 -1
  131. package/dist/components/{p-65TlZcx6.js → p-CrZquwr4.js} +6 -6
  132. package/dist/components/{p-65TlZcx6.js.map → p-CrZquwr4.js.map} +1 -1
  133. package/dist/components/{p-BaE2j0VJ.js → p-CtbvYEGE.js} +12 -12
  134. package/dist/components/{p-BaE2j0VJ.js.map → p-CtbvYEGE.js.map} +1 -1
  135. package/dist/components/{p-BLj6y0dz.js → p-Ctqad2FQ.js} +3 -3
  136. package/dist/components/{p-BLj6y0dz.js.map → p-Ctqad2FQ.js.map} +1 -1
  137. package/dist/components/{p-BoCrjpQu.js → p-CwgpN7A7.js} +6 -6
  138. package/dist/components/{p-BoCrjpQu.js.map → p-CwgpN7A7.js.map} +1 -1
  139. package/dist/components/{p-DvtzYG5e.js → p-DDxQuWAZ.js} +10 -10
  140. package/dist/components/{p-DvtzYG5e.js.map → p-DDxQuWAZ.js.map} +1 -1
  141. package/dist/components/{p-C-4fLUhc.js → p-DGJlf5J_.js} +3 -3
  142. package/dist/components/{p-C-4fLUhc.js.map → p-DGJlf5J_.js.map} +1 -1
  143. package/dist/components/{p-CO6oIgzX.js → p-DIl7zlTd.js} +3 -3
  144. package/dist/components/{p-CO6oIgzX.js.map → p-DIl7zlTd.js.map} +1 -1
  145. package/dist/components/{p-CKVx4yr2.js → p-DK8_N2Na.js} +28 -28
  146. package/dist/components/{p-CKVx4yr2.js.map → p-DK8_N2Na.js.map} +1 -1
  147. package/dist/components/{p-Bbme0kV0.js → p-DPBSrcaG.js} +7 -7
  148. package/dist/components/{p-Bbme0kV0.js.map → p-DPBSrcaG.js.map} +1 -1
  149. package/dist/components/{p-DlAdADTD.js → p-DSO1_d48.js} +12 -12
  150. package/dist/components/{p-DlAdADTD.js.map → p-DSO1_d48.js.map} +1 -1
  151. package/dist/components/{p-DnaGcy-V.js → p-D_QT5uZk.js} +3 -3
  152. package/dist/components/{p-DnaGcy-V.js.map → p-D_QT5uZk.js.map} +1 -1
  153. package/dist/components/{p-DesdkBUb.js → p-DaDjn3gR.js} +5 -5
  154. package/dist/components/{p-DesdkBUb.js.map → p-DaDjn3gR.js.map} +1 -1
  155. package/dist/components/{p-CI5cVahE.js → p-DfTz53m-.js} +12 -12
  156. package/dist/components/{p-CI5cVahE.js.map → p-DfTz53m-.js.map} +1 -1
  157. package/dist/components/{p-wBFmVUNi.js → p-Dwu1JL0y.js} +9 -9
  158. package/dist/components/{p-wBFmVUNi.js.map → p-Dwu1JL0y.js.map} +1 -1
  159. package/dist/components/{p-8YJmijSd.js → p-KqTfG8Kf.js} +3 -3
  160. package/dist/components/{p-8YJmijSd.js.map → p-KqTfG8Kf.js.map} +1 -1
  161. package/dist/components/{p-CXSpP5Gm.js → p-L3HpKTaM.js} +22 -16
  162. package/dist/components/p-L3HpKTaM.js.map +1 -0
  163. package/dist/components/p-LeCnrgBv.js +398 -0
  164. package/dist/components/p-LeCnrgBv.js.map +1 -0
  165. package/dist/components/{p-De55cjKE.js → p-Opf3i5hz.js} +3 -3
  166. package/dist/components/{p-De55cjKE.js.map → p-Opf3i5hz.js.map} +1 -1
  167. package/dist/components/{p-B9v-iqos.js → p-Q6w_Yld9.js} +10 -10
  168. package/dist/components/{p-B9v-iqos.js.map → p-Q6w_Yld9.js.map} +1 -1
  169. package/dist/components/{p-BEuU1xX4.js → p-RQJ9uyyW.js} +3 -3
  170. package/dist/components/{p-BEuU1xX4.js.map → p-RQJ9uyyW.js.map} +1 -1
  171. package/dist/components/{p-18h9UMkx.js → p-TkHAxPB_.js} +10 -10
  172. package/dist/components/{p-18h9UMkx.js.map → p-TkHAxPB_.js.map} +1 -1
  173. package/dist/components/{p-B7mqZJ5f.js → p-_BQ9q2MT.js} +4 -4
  174. package/dist/components/{p-B7mqZJ5f.js.map → p-_BQ9q2MT.js.map} +1 -1
  175. package/dist/components/{p-FVg7B0fh.js → p-fnInzV73.js} +4 -4
  176. package/dist/components/{p-FVg7B0fh.js.map → p-fnInzV73.js.map} +1 -1
  177. package/dist/components/{p-BD-wJn_A.js → p-icGdbhUU.js} +3 -3
  178. package/dist/components/{p-BD-wJn_A.js.map → p-icGdbhUU.js.map} +1 -1
  179. package/dist/components/{p-Clx6y9zn.js → p-kvTSiSQ0.js} +3 -3
  180. package/dist/components/{p-Clx6y9zn.js.map → p-kvTSiSQ0.js.map} +1 -1
  181. package/dist/components/{p-BUjb-w39.js → p-mjn4Ftey.js} +27 -27
  182. package/dist/components/{p-BUjb-w39.js.map → p-mjn4Ftey.js.map} +1 -1
  183. package/dist/components/{p-CzXYz3XY.js → p-mrJQukV3.js} +5 -5
  184. package/dist/components/{p-CzXYz3XY.js.map → p-mrJQukV3.js.map} +1 -1
  185. package/dist/components/{p-DU0M0izE.js → p-tGg7lt4q.js} +6 -6
  186. package/dist/components/{p-DU0M0izE.js.map → p-tGg7lt4q.js.map} +1 -1
  187. package/dist/components/{p-BTA1be7y.js → p-wj1u5UNC.js} +3 -3
  188. package/dist/components/{p-BTA1be7y.js.map → p-wj1u5UNC.js.map} +1 -1
  189. package/dist/components/verdocs-auth.js +4 -13
  190. package/dist/components/verdocs-auth.js.map +1 -1
  191. package/dist/components/verdocs-build.js +43 -43
  192. package/dist/components/verdocs-button-panel.js +1 -1
  193. package/dist/components/verdocs-button.js +1 -1
  194. package/dist/components/verdocs-checkbox.js +1 -1
  195. package/dist/components/verdocs-component-error.js +1 -1
  196. package/dist/components/verdocs-contact-picker.js +1 -1
  197. package/dist/components/verdocs-date-input.js +2 -2
  198. package/dist/components/verdocs-delegate-dialog.js +1 -1
  199. package/dist/components/verdocs-dialog.js +1 -1
  200. package/dist/components/verdocs-disclosure-dialog.js +1 -1
  201. package/dist/components/verdocs-dropdown.js +1 -1
  202. package/dist/components/verdocs-envelope-document-page.js +1 -1
  203. package/dist/components/verdocs-envelope-recipient-link.js +1 -1
  204. package/dist/components/verdocs-envelope-recipient-summary.js +2 -2
  205. package/dist/components/verdocs-envelope-sidebar.js +11 -11
  206. package/dist/components/verdocs-envelope-update-recipient.js +1 -1
  207. package/dist/components/verdocs-envelopes-list.js +17 -17
  208. package/dist/components/verdocs-field-attachment.js +1 -1
  209. package/dist/components/verdocs-field-checkbox.js +1 -1
  210. package/dist/components/verdocs-field-date.js +1 -1
  211. package/dist/components/verdocs-field-dropdown.js +1 -1
  212. package/dist/components/verdocs-field-initial.js +1 -1
  213. package/dist/components/verdocs-field-payment.js +10 -10
  214. package/dist/components/verdocs-field-radio.js +1 -1
  215. package/dist/components/verdocs-field-signature.js +1 -1
  216. package/dist/components/verdocs-field-textarea.js +1 -1
  217. package/dist/components/verdocs-field-textbox.js +1 -1
  218. package/dist/components/verdocs-field-timestamp.js +1 -1
  219. package/dist/components/verdocs-file-chooser.js +1 -1
  220. package/dist/components/verdocs-help-icon.js +1 -1
  221. package/dist/components/verdocs-initial-dialog.js +1 -1
  222. package/dist/components/verdocs-kba-dialog.js +1 -1
  223. package/dist/components/verdocs-loader.js +1 -1
  224. package/dist/components/verdocs-menu-panel.js +1 -1
  225. package/dist/components/verdocs-multiselect.js +2 -2
  226. package/dist/components/verdocs-ok-dialog.js +1 -1
  227. package/dist/components/verdocs-organization-card.js +2 -2
  228. package/dist/components/verdocs-otp-dialog.js +1 -1
  229. package/dist/components/verdocs-pagination.js +1 -1
  230. package/dist/components/verdocs-portal.js +1 -1
  231. package/dist/components/verdocs-preview.js +1 -1
  232. package/dist/components/verdocs-progress-bar.js +1 -1
  233. package/dist/components/verdocs-quick-filter.js +1 -1
  234. package/dist/components/verdocs-quick-functions.js +2 -2
  235. package/dist/components/verdocs-radio-button.js +1 -1
  236. package/dist/components/verdocs-search-box.js +1 -1
  237. package/dist/components/verdocs-search-tabs.js +2 -2
  238. package/dist/components/verdocs-select-input.js +1 -1
  239. package/dist/components/verdocs-send.js +1 -1
  240. package/dist/components/verdocs-sign.js +16 -16
  241. package/dist/components/verdocs-signature-dialog.js +1 -1
  242. package/dist/components/verdocs-spinner.js +1 -1
  243. package/dist/components/verdocs-status-indicator.js +1 -1
  244. package/dist/components/verdocs-switch.js +1 -1
  245. package/dist/components/verdocs-table.js +1 -1
  246. package/dist/components/verdocs-tabs.js +1 -1
  247. package/dist/components/verdocs-template-attachments.js +1 -1
  248. package/dist/components/verdocs-template-build-tabs.js +1 -1
  249. package/dist/components/verdocs-template-card.js +2 -2
  250. package/dist/components/verdocs-template-create.js +5 -5
  251. package/dist/components/verdocs-template-document-page.js +1 -1
  252. package/dist/components/verdocs-template-field-properties.js +1 -1
  253. package/dist/components/verdocs-template-fields.js +1 -1
  254. package/dist/components/verdocs-template-role-properties.js +1 -1
  255. package/dist/components/verdocs-template-roles.js +1 -1
  256. package/dist/components/verdocs-template-settings.js +1 -1
  257. package/dist/components/verdocs-template-star.js +1 -1
  258. package/dist/components/verdocs-template-tags.js +2 -2
  259. package/dist/components/verdocs-templates-list.js +11 -11
  260. package/dist/components/verdocs-text-input.js +1 -1
  261. package/dist/components/verdocs-toggle-button.js +2 -2
  262. package/dist/components/verdocs-toggle.js +1 -1
  263. package/dist/components/verdocs-toolbar-icon.js +1 -1
  264. package/dist/components/verdocs-upload-dialog.js +1 -1
  265. package/dist/components/verdocs-view.js +1 -1
  266. package/dist/custom-elements.json +2302 -0
  267. package/dist/esm/{index-C05sDUVN.js → index-DjAHH4ih.js} +7 -4
  268. package/dist/{esm-es5/index-C05sDUVN.js.map → esm/index-DjAHH4ih.js.map} +1 -1
  269. package/dist/esm/loader.js +3 -3
  270. package/dist/esm/verdocs-auth.entry.js +1 -10
  271. package/dist/esm/verdocs-auth.entry.js.map +1 -1
  272. package/dist/esm/verdocs-build.entry.js +1 -1
  273. package/dist/esm/verdocs-button-panel_2.entry.js +1 -1
  274. package/dist/esm/verdocs-button.verdocs-help-icon.verdocs-text-input.entry.js.map +1 -1
  275. package/dist/esm/verdocs-button_3.entry.js +10 -6
  276. package/dist/esm/verdocs-checkbox_5.entry.js +1 -1
  277. package/dist/esm/verdocs-contact-picker.entry.js +127 -58
  278. package/dist/esm/verdocs-contact-picker.entry.js.map +1 -1
  279. package/dist/esm/verdocs-date-input.entry.js +1 -1
  280. package/dist/esm/verdocs-delegate-dialog_5.entry.js +4 -4
  281. package/dist/esm/verdocs-dialog_2.entry.js +3 -3
  282. package/dist/esm/verdocs-dropdown.entry.js +1 -1
  283. package/dist/esm/verdocs-envelope-document-page.entry.js +2 -2
  284. package/dist/esm/verdocs-envelope-recipient-link_2.entry.js +1 -1
  285. package/dist/esm/verdocs-envelope-recipient-summary.entry.js +1 -1
  286. package/dist/esm/verdocs-envelope-sidebar.entry.js +1 -1
  287. package/dist/esm/verdocs-envelopes-list.entry.js +7 -7
  288. package/dist/esm/verdocs-field-attachment_13.entry.js +280 -154
  289. package/dist/esm/verdocs-field-payment.entry.js +1 -1
  290. package/dist/esm/verdocs-file-chooser_2.entry.js +1 -1
  291. package/dist/esm/verdocs-menu-panel_2.entry.js +8 -8
  292. package/dist/esm/verdocs-multiselect.entry.js +1 -1
  293. package/dist/esm/verdocs-organization-card_2.entry.js +1 -1
  294. package/dist/esm/verdocs-pagination_2.entry.js +1 -1
  295. package/dist/esm/verdocs-preview_7.entry.js +1 -1
  296. package/dist/esm/verdocs-quick-functions.entry.js +2 -2
  297. package/dist/esm/verdocs-radio-button.entry.js +1 -1
  298. package/dist/esm/verdocs-search-box.entry.js +1 -1
  299. package/dist/esm/verdocs-search-tabs.entry.js +2 -2
  300. package/dist/esm/verdocs-sign.entry.js +1 -1
  301. package/dist/esm/verdocs-spinner.entry.js +1 -1
  302. package/dist/esm/verdocs-status-indicator.entry.js +3 -3
  303. package/dist/esm/verdocs-switch.entry.js +1 -1
  304. package/dist/esm/verdocs-table.entry.js +1 -1
  305. package/dist/esm/verdocs-template-card.entry.js +2 -2
  306. package/dist/esm/verdocs-template-create.entry.js +1 -1
  307. package/dist/esm/verdocs-template-document-page_2.entry.js +2 -2
  308. package/dist/esm/verdocs-template-star.entry.js +2 -2
  309. package/dist/esm/verdocs-template-tags.entry.js +2 -2
  310. package/dist/esm/verdocs-templates-list.entry.js +1 -1
  311. package/dist/esm/verdocs-toggle-button.entry.js +2 -2
  312. package/dist/esm/verdocs-toggle.entry.js +1 -1
  313. package/dist/esm/verdocs-web-sdk.js +4 -4
  314. package/dist/esm/verdocs-web-sdk.js.map +1 -1
  315. package/dist/esm-es5/index-DjAHH4ih.js +2 -0
  316. package/dist/{esm/index-C05sDUVN.js.map → esm-es5/index-DjAHH4ih.js.map} +1 -1
  317. package/dist/esm-es5/loader.js +1 -1
  318. package/dist/esm-es5/verdocs-auth.entry.js +1 -1
  319. package/dist/esm-es5/verdocs-auth.entry.js.map +1 -1
  320. package/dist/esm-es5/verdocs-build.entry.js +1 -1
  321. package/dist/esm-es5/verdocs-button-panel_2.entry.js +1 -1
  322. package/dist/esm-es5/verdocs-button-panel_2.entry.js.map +1 -1
  323. package/dist/esm-es5/verdocs-button.verdocs-help-icon.verdocs-text-input.entry.js.map +1 -1
  324. package/dist/esm-es5/verdocs-button_3.entry.js +1 -1
  325. package/dist/esm-es5/verdocs-button_3.entry.js.map +1 -1
  326. package/dist/esm-es5/verdocs-checkbox_5.entry.js +1 -1
  327. package/dist/esm-es5/verdocs-checkbox_5.entry.js.map +1 -1
  328. package/dist/esm-es5/verdocs-contact-picker.entry.js +2 -2
  329. package/dist/esm-es5/verdocs-contact-picker.entry.js.map +1 -1
  330. package/dist/esm-es5/verdocs-date-input.entry.js +1 -1
  331. package/dist/esm-es5/verdocs-delegate-dialog_5.entry.js +1 -1
  332. package/dist/esm-es5/verdocs-delegate-dialog_5.entry.js.map +1 -1
  333. package/dist/esm-es5/verdocs-dialog_2.entry.js +1 -1
  334. package/dist/esm-es5/verdocs-dropdown.entry.js +1 -1
  335. package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
  336. package/dist/esm-es5/verdocs-envelope-recipient-link_2.entry.js +1 -1
  337. package/dist/esm-es5/verdocs-envelope-recipient-link_2.entry.js.map +1 -1
  338. package/dist/esm-es5/verdocs-envelope-recipient-summary.entry.js +1 -1
  339. package/dist/esm-es5/verdocs-envelope-sidebar.entry.js +1 -1
  340. package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
  341. package/dist/esm-es5/verdocs-field-attachment_13.entry.js +1 -1
  342. package/dist/esm-es5/verdocs-field-attachment_13.entry.js.map +1 -1
  343. package/dist/esm-es5/verdocs-field-payment.entry.js +1 -1
  344. package/dist/esm-es5/verdocs-file-chooser_2.entry.js +1 -1
  345. package/dist/esm-es5/verdocs-menu-panel_2.entry.js +1 -1
  346. package/dist/esm-es5/verdocs-menu-panel_2.entry.js.map +1 -1
  347. package/dist/esm-es5/verdocs-multiselect.entry.js +1 -1
  348. package/dist/esm-es5/verdocs-organization-card_2.entry.js +1 -1
  349. package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
  350. package/dist/esm-es5/verdocs-preview_7.entry.js +1 -1
  351. package/dist/esm-es5/verdocs-preview_7.entry.js.map +1 -1
  352. package/dist/esm-es5/verdocs-quick-functions.entry.js +1 -1
  353. package/dist/esm-es5/verdocs-radio-button.entry.js +1 -1
  354. package/dist/esm-es5/verdocs-search-box.entry.js +1 -1
  355. package/dist/esm-es5/verdocs-search-tabs.entry.js +1 -1
  356. package/dist/esm-es5/verdocs-sign.entry.js +1 -1
  357. package/dist/esm-es5/verdocs-spinner.entry.js +1 -1
  358. package/dist/esm-es5/verdocs-status-indicator.entry.js +1 -1
  359. package/dist/esm-es5/verdocs-switch.entry.js +1 -1
  360. package/dist/esm-es5/verdocs-table.entry.js +1 -1
  361. package/dist/esm-es5/verdocs-template-card.entry.js +1 -1
  362. package/dist/esm-es5/verdocs-template-create.entry.js +1 -1
  363. package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -1
  364. package/dist/esm-es5/verdocs-template-document-page_2.entry.js.map +1 -1
  365. package/dist/esm-es5/verdocs-template-star.entry.js +1 -1
  366. package/dist/esm-es5/verdocs-template-tags.entry.js +1 -1
  367. package/dist/esm-es5/verdocs-templates-list.entry.js +1 -1
  368. package/dist/esm-es5/verdocs-toggle-button.entry.js +1 -1
  369. package/dist/esm-es5/verdocs-toggle.entry.js +1 -1
  370. package/dist/esm-es5/verdocs-web-sdk.js +1 -1
  371. package/dist/esm-es5/verdocs-web-sdk.js.map +1 -1
  372. package/dist/types/components/controls/verdocs-text-input/verdocs-text-input.d.ts +4 -0
  373. package/dist/types/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.d.ts +27 -0
  374. package/dist/types/components.d.ts +10 -0
  375. package/dist/types/stencil-public-runtime.d.ts +20 -10
  376. package/dist/verdocs-web-sdk/{p-0426bfc1.system.entry.js → p-03a6ee37.system.entry.js} +2 -2
  377. package/dist/verdocs-web-sdk/p-05b5f6a8.system.entry.js +2 -0
  378. package/dist/verdocs-web-sdk/{p-d4d86106.system.entry.js.map → p-05b5f6a8.system.entry.js.map} +1 -1
  379. package/dist/verdocs-web-sdk/p-072cf3bf.system.entry.js +4 -0
  380. package/dist/verdocs-web-sdk/p-072cf3bf.system.entry.js.map +1 -0
  381. package/dist/verdocs-web-sdk/{p-1ff272f6.entry.js → p-095f01ea.entry.js} +2 -2
  382. package/dist/verdocs-web-sdk/p-0c2b17b8.system.entry.js +2 -0
  383. package/dist/verdocs-web-sdk/{p-52c5c5eb.system.entry.js.map → p-0c2b17b8.system.entry.js.map} +1 -1
  384. package/dist/verdocs-web-sdk/{p-cf8ee113.entry.js → p-0c895013.entry.js} +2 -2
  385. package/dist/verdocs-web-sdk/{p-08e3aed6.system.entry.js → p-0d3060d5.system.entry.js} +2 -2
  386. package/dist/verdocs-web-sdk/{p-b2df2093.entry.js → p-10496565.entry.js} +2 -2
  387. package/dist/verdocs-web-sdk/p-16c12330.system.entry.js +2 -0
  388. package/dist/verdocs-web-sdk/{p-b5df6697.system.entry.js.map → p-16c12330.system.entry.js.map} +1 -1
  389. package/dist/verdocs-web-sdk/{p-ff032e47.entry.js → p-198505d1.entry.js} +2 -2
  390. package/dist/verdocs-web-sdk/p-1Cwi_bnK.system.js.map +1 -0
  391. package/dist/verdocs-web-sdk/{p-ab95e032.entry.js → p-1b86055f.entry.js} +2 -2
  392. package/dist/verdocs-web-sdk/{p-5889c99f.entry.js → p-1bc8a67b.entry.js} +2 -2
  393. package/dist/verdocs-web-sdk/{p-513e5b8a.system.entry.js → p-2083a0b5.system.entry.js} +2 -2
  394. package/dist/verdocs-web-sdk/{p-9a109fed.entry.js → p-22d7fd99.entry.js} +2 -2
  395. package/dist/verdocs-web-sdk/p-24a5020f.system.entry.js +2 -0
  396. package/dist/verdocs-web-sdk/{p-f6b28e39.system.entry.js.map → p-24a5020f.system.entry.js.map} +1 -1
  397. package/dist/verdocs-web-sdk/{p-851bd188.entry.js → p-262e6ed3.entry.js} +2 -2
  398. package/dist/verdocs-web-sdk/p-296df8e6.system.entry.js +2 -0
  399. package/dist/verdocs-web-sdk/{p-61310d21.system.entry.js.map → p-296df8e6.system.entry.js.map} +1 -1
  400. package/dist/verdocs-web-sdk/{p-3c6db111.entry.js → p-2ab55e7e.entry.js} +2 -2
  401. package/dist/verdocs-web-sdk/p-2ab55e7e.entry.js.map +1 -0
  402. package/dist/verdocs-web-sdk/{p-76f93877.entry.js → p-331b0a01.entry.js} +2 -2
  403. package/dist/verdocs-web-sdk/p-3f18c552.system.entry.js +2 -0
  404. package/dist/verdocs-web-sdk/{p-f60868c7.system.entry.js.map → p-3f18c552.system.entry.js.map} +1 -1
  405. package/dist/verdocs-web-sdk/{p-b0d3e996.entry.js → p-408204b5.entry.js} +2 -2
  406. package/dist/verdocs-web-sdk/{p-c9f807d7.system.entry.js → p-424acea6.system.entry.js} +2 -2
  407. package/dist/verdocs-web-sdk/{p-5f01fbeb.system.entry.js → p-4251e17b.system.entry.js} +2 -2
  408. package/dist/verdocs-web-sdk/p-474ac411.entry.js +3 -0
  409. package/dist/verdocs-web-sdk/p-474ac411.entry.js.map +1 -0
  410. package/dist/verdocs-web-sdk/p-54089f3f.system.entry.js +2 -0
  411. package/dist/verdocs-web-sdk/{p-4ce49ea8.system.entry.js.map → p-54089f3f.system.entry.js.map} +1 -1
  412. package/dist/verdocs-web-sdk/{p-771f2a9e.entry.js → p-56cd489c.entry.js} +2 -2
  413. package/dist/verdocs-web-sdk/p-5808c4ab.system.entry.js +2 -0
  414. package/dist/verdocs-web-sdk/{p-c70f32bc.system.entry.js.map → p-5808c4ab.system.entry.js.map} +1 -1
  415. package/dist/verdocs-web-sdk/{p-dec943d5.entry.js → p-68dc5809.entry.js} +2 -2
  416. package/dist/verdocs-web-sdk/{p-a5d53c9f.system.entry.js → p-6ec49614.system.entry.js} +2 -2
  417. package/dist/verdocs-web-sdk/p-6ec9a626.system.entry.js +2 -0
  418. package/dist/verdocs-web-sdk/{p-dbd65627.system.entry.js.map → p-6ec9a626.system.entry.js.map} +1 -1
  419. package/dist/verdocs-web-sdk/{p-a2f95711.entry.js → p-7032e5ee.entry.js} +2 -2
  420. package/dist/verdocs-web-sdk/{p-759f13e2.entry.js → p-74f1369b.entry.js} +2 -2
  421. package/dist/verdocs-web-sdk/{p-5b7212dc.entry.js → p-74f5a0bd.entry.js} +2 -2
  422. package/dist/verdocs-web-sdk/p-75154f85.system.entry.js +2 -0
  423. package/dist/verdocs-web-sdk/{p-e6836f65.system.entry.js.map → p-75154f85.system.entry.js.map} +1 -1
  424. package/dist/verdocs-web-sdk/{p-74b6c738.system.entry.js → p-7787a0e4.system.entry.js} +2 -2
  425. package/dist/verdocs-web-sdk/{p-9086941d.entry.js → p-778aa621.entry.js} +2 -2
  426. package/dist/verdocs-web-sdk/p-778aa621.entry.js.map +1 -0
  427. package/dist/verdocs-web-sdk/{p-381bb0d2.system.entry.js → p-77a495cb.system.entry.js} +2 -2
  428. package/dist/verdocs-web-sdk/{p-55ee046d.system.entry.js → p-79a57db4.system.entry.js} +2 -2
  429. package/dist/verdocs-web-sdk/{p-879c16ae.entry.js → p-7c552800.entry.js} +2 -2
  430. package/dist/verdocs-web-sdk/p-7e1ae321.system.entry.js +2 -0
  431. package/dist/verdocs-web-sdk/{p-14f07a32.system.entry.js.map → p-7e1ae321.system.entry.js.map} +1 -1
  432. package/dist/verdocs-web-sdk/{p-0d45a7bb.entry.js → p-83057e79.entry.js} +2 -2
  433. package/dist/verdocs-web-sdk/{p-305de09c.entry.js → p-84ef045b.entry.js} +2 -2
  434. package/dist/verdocs-web-sdk/{p-f8104621.system.entry.js → p-85a01930.system.entry.js} +2 -2
  435. package/dist/verdocs-web-sdk/{p-e08baa24.system.entry.js → p-8697ea44.system.entry.js} +2 -2
  436. package/dist/verdocs-web-sdk/p-8697ea44.system.entry.js.map +1 -0
  437. package/dist/verdocs-web-sdk/{p-217db764.system.entry.js → p-89675355.system.entry.js} +2 -2
  438. package/dist/verdocs-web-sdk/{p-f215d74d.system.entry.js → p-899a183a.system.entry.js} +2 -2
  439. package/dist/verdocs-web-sdk/{p-715b1538.entry.js → p-8ae75311.entry.js} +2 -2
  440. package/dist/verdocs-web-sdk/{p-fae894d6.system.entry.js → p-8daa82ec.system.entry.js} +2 -2
  441. package/dist/verdocs-web-sdk/{p-4040ff25.entry.js → p-8f615cf8.entry.js} +2 -2
  442. package/dist/verdocs-web-sdk/{p-36b211e9.system.entry.js → p-91455dc1.system.entry.js} +2 -2
  443. package/dist/verdocs-web-sdk/p-94805e3a.system.entry.js +2 -0
  444. package/dist/verdocs-web-sdk/{p-221da740.system.entry.js.map → p-94805e3a.system.entry.js.map} +1 -1
  445. package/dist/verdocs-web-sdk/{p-83369b59.entry.js → p-95098523.entry.js} +2 -2
  446. package/dist/verdocs-web-sdk/{p-0361b7f5.entry.js → p-9a614582.entry.js} +2 -2
  447. package/dist/verdocs-web-sdk/{p-Diy5Q9-6.system.js.map → p-B6BNgFvR.system.js.map} +1 -1
  448. package/dist/verdocs-web-sdk/{p-B6Yr6dLH.system.js.map → p-BAjoE0hn.system.js.map} +1 -1
  449. package/dist/verdocs-web-sdk/{p-DQiE2MRY.system.js.map → p-BDfCyBqE.system.js.map} +1 -1
  450. package/dist/verdocs-web-sdk/{p-DVZN96Di.system.js.map → p-BFiBadxx.system.js.map} +1 -1
  451. package/dist/verdocs-web-sdk/{p-BvruBF8p.system.js.map → p-BLUIpLYQ.system.js.map} +1 -1
  452. package/dist/verdocs-web-sdk/{p-BteDuaoR.system.js.map → p-BR93bjYo.system.js.map} +1 -1
  453. package/dist/verdocs-web-sdk/p-BSxnvcXp.system.js +2 -0
  454. package/dist/verdocs-web-sdk/{p-B2ZTJRF1.system.js.map → p-BSxnvcXp.system.js.map} +1 -1
  455. package/dist/verdocs-web-sdk/{p-BT4iau8_.system.js.map → p-BTH3kXDy.system.js.map} +1 -1
  456. package/dist/verdocs-web-sdk/{p-Di6KD3hm.system.js.map → p-BYcAVzPM.system.js.map} +1 -1
  457. package/dist/verdocs-web-sdk/{p-BwAcNrO8.system.js.map → p-Bf1JxkHa.system.js.map} +1 -1
  458. package/dist/verdocs-web-sdk/{p-DjDnOHB1.system.js.map → p-Bfjmk6kM.system.js.map} +1 -1
  459. package/dist/verdocs-web-sdk/{p-CYdphBFp.system.js.map → p-C-KROPlf.system.js.map} +1 -1
  460. package/dist/verdocs-web-sdk/{p-DpwXyQ7Z.system.js.map → p-C-Q0RpYH.system.js.map} +1 -1
  461. package/dist/verdocs-web-sdk/{p-DoFYKh5S.system.js.map → p-CJgSdGDZ.system.js.map} +1 -1
  462. package/dist/verdocs-web-sdk/{p-BP6QzunY.system.js.map → p-Cdv-0jBY.system.js.map} +1 -1
  463. package/dist/verdocs-web-sdk/{p-Cp0lpB6k.system.js.map → p-CgYIryaO.system.js.map} +1 -1
  464. package/dist/verdocs-web-sdk/{p-BVgRWHdx.system.js.map → p-CoMELZur.system.js.map} +1 -1
  465. package/dist/verdocs-web-sdk/{p-BpVWw6cq.system.js.map → p-CqY4YwuC.system.js.map} +1 -1
  466. package/dist/verdocs-web-sdk/p-Cs7NUoKG.system.js.map +1 -0
  467. package/dist/verdocs-web-sdk/{p-B4Jok9g8.system.js.map → p-CuZVPC43.system.js.map} +1 -1
  468. package/dist/verdocs-web-sdk/{p-BswU_7jl.system.js.map → p-Cw8YN0pQ.system.js.map} +1 -1
  469. package/dist/verdocs-web-sdk/{p-TeE_49wp.system.js.map → p-D-jNdMbp.system.js.map} +1 -1
  470. package/dist/verdocs-web-sdk/{p-4OWnEogw.system.js.map → p-D2J4BqZ5.system.js.map} +1 -1
  471. package/dist/verdocs-web-sdk/{p-D8jwiOjp.system.js.map → p-D5jBjbqb.system.js.map} +1 -1
  472. package/dist/verdocs-web-sdk/{p-qSIndqRC.system.js.map → p-D6lkIXxV.system.js.map} +1 -1
  473. package/dist/verdocs-web-sdk/{p-CEj4NLjk.system.js.map → p-DC4mn44e.system.js.map} +1 -1
  474. package/dist/verdocs-web-sdk/{p-CLugYiKe.system.js.map → p-DIFMCsR8.system.js.map} +1 -1
  475. package/dist/verdocs-web-sdk/{p-C3FrKBlJ.system.js.map → p-DN26hbJo.system.js.map} +1 -1
  476. package/dist/verdocs-web-sdk/{p-C05sDUVN.js → p-DjAHH4ih.js} +3 -3
  477. package/dist/verdocs-web-sdk/{p-C05sDUVN.js.map → p-DjAHH4ih.js.map} +1 -1
  478. package/dist/verdocs-web-sdk/{p-CJgSjfS3.system.js.map → p-DjReAtE4.system.js.map} +1 -1
  479. package/dist/verdocs-web-sdk/{p-BwvJ8lkq.system.js.map → p-DmidtinD.system.js.map} +1 -1
  480. package/dist/verdocs-web-sdk/{p-iOk-QRhr.system.js.map → p-DnpXTA0c.system.js.map} +1 -1
  481. package/dist/verdocs-web-sdk/p-DpcvJtUM.system.js.map +1 -0
  482. package/dist/verdocs-web-sdk/{p-BZ9rCFg-.system.js.map → p-DqN8pWd6.system.js.map} +1 -1
  483. package/dist/verdocs-web-sdk/{p-CxfpQzDf.system.js.map → p-DrJsQShN.system.js.map} +1 -1
  484. package/dist/verdocs-web-sdk/{p-gMXuliDq.system.js → p-IELtlxxf.system.js} +3 -3
  485. package/dist/verdocs-web-sdk/{p-gMXuliDq.system.js.map → p-IELtlxxf.system.js.map} +1 -1
  486. package/dist/verdocs-web-sdk/{p-BRiHRj-G.system.js.map → p-WL8pZ5_5.system.js.map} +1 -1
  487. package/dist/verdocs-web-sdk/{p-DRLUgxAz.system.js.map → p-YdG8FzTN.system.js.map} +1 -1
  488. package/dist/verdocs-web-sdk/p-a4af0218.system.entry.js +8 -0
  489. package/dist/verdocs-web-sdk/{p-ab3fcfa6.system.entry.js.map → p-a4af0218.system.entry.js.map} +1 -1
  490. package/dist/verdocs-web-sdk/p-a4b4356a.entry.js +2 -0
  491. package/dist/verdocs-web-sdk/p-a4b4356a.entry.js.map +1 -0
  492. package/dist/verdocs-web-sdk/p-a5c1783e.system.entry.js +2 -0
  493. package/dist/verdocs-web-sdk/p-a5c1783e.system.entry.js.map +1 -0
  494. package/dist/verdocs-web-sdk/{p-b35f630c.entry.js → p-a7b796c9.entry.js} +2 -2
  495. package/dist/verdocs-web-sdk/{p-7627b523.entry.js → p-a8ccb0e1.entry.js} +2 -2
  496. package/dist/verdocs-web-sdk/p-b0e8639b.system.entry.js +2 -0
  497. package/dist/verdocs-web-sdk/{p-9c719a1e.system.entry.js.map → p-b0e8639b.system.entry.js.map} +1 -1
  498. package/dist/verdocs-web-sdk/{p-dca0ee01.system.entry.js → p-b2598797.system.entry.js} +2 -2
  499. package/dist/verdocs-web-sdk/p-b2d5d57c.system.entry.js +2 -0
  500. package/dist/verdocs-web-sdk/{p-d28f8173.system.entry.js.map → p-b2d5d57c.system.entry.js.map} +1 -1
  501. package/dist/verdocs-web-sdk/{p-4fc7fb57.entry.js → p-b81c87a9.entry.js} +2 -2
  502. package/dist/verdocs-web-sdk/p-b954399f.system.entry.js +2 -0
  503. package/dist/verdocs-web-sdk/{p-66a34894.system.entry.js.map → p-b954399f.system.entry.js.map} +1 -1
  504. package/dist/verdocs-web-sdk/{p-af444549.system.entry.js → p-ba37926e.system.entry.js} +2 -2
  505. package/dist/verdocs-web-sdk/p-bcad2169.system.entry.js +2 -0
  506. package/dist/verdocs-web-sdk/{p-2642cf9a.system.entry.js.map → p-bcad2169.system.entry.js.map} +1 -1
  507. package/dist/verdocs-web-sdk/{p-29b12c84.entry.js → p-c137b66c.entry.js} +2 -2
  508. package/dist/verdocs-web-sdk/{p-0eab8901.entry.js → p-c636caf4.entry.js} +2 -2
  509. package/dist/verdocs-web-sdk/{p-8dfd4098.entry.js → p-d0cdb769.entry.js} +2 -2
  510. package/dist/verdocs-web-sdk/{p-3c4ae778.entry.js → p-d68d286d.entry.js} +2 -2
  511. package/dist/verdocs-web-sdk/{p-6c0c5157.entry.js → p-d995bf66.entry.js} +2 -2
  512. package/dist/verdocs-web-sdk/{p-f35d0bb1.system.entry.js → p-dc64588a.system.entry.js} +2 -2
  513. package/dist/verdocs-web-sdk/p-df9a63c8.system.entry.js +2 -0
  514. package/dist/verdocs-web-sdk/{p-c53bba5b.system.entry.js.map → p-df9a63c8.system.entry.js.map} +1 -1
  515. package/dist/verdocs-web-sdk/{p-fd41f58d.entry.js → p-e1010b5e.entry.js} +2 -2
  516. package/dist/verdocs-web-sdk/{p-ce79c107.entry.js → p-e251a7f7.entry.js} +2 -2
  517. package/dist/verdocs-web-sdk/{p-1563ebea.entry.js → p-e612587a.entry.js} +2 -2
  518. package/dist/verdocs-web-sdk/p-e6c86704.system.entry.js +2 -0
  519. package/dist/verdocs-web-sdk/{p-f45dd2e7.system.entry.js.map → p-e6c86704.system.entry.js.map} +1 -1
  520. package/dist/verdocs-web-sdk/{p-2d879f01.entry.js → p-e9be55a9.entry.js} +2 -2
  521. package/dist/verdocs-web-sdk/{p-bcff9d82.entry.js → p-f4d573b8.entry.js} +2 -2
  522. package/dist/verdocs-web-sdk/p-f706a680.system.entry.js +2 -0
  523. package/dist/verdocs-web-sdk/{p-0e597594.system.entry.js.map → p-f706a680.system.entry.js.map} +1 -1
  524. package/dist/verdocs-web-sdk/{p-dcf8f80f.entry.js → p-fbb5d382.entry.js} +2 -2
  525. package/dist/verdocs-web-sdk/{p-CDc0NxA9.system.js.map → p-jGm3fIdS.system.js.map} +1 -1
  526. package/dist/verdocs-web-sdk/{p-eTl5b3_e.system.js.map → p-mV1PT3tZ.system.js.map} +1 -1
  527. package/dist/verdocs-web-sdk/{p-DyL8qWVe.system.js.map → p-pcmVRVX-.system.js.map} +1 -1
  528. package/dist/verdocs-web-sdk/{p-BlMT1vy_.system.js.map → p-qmFLckgf.system.js.map} +1 -1
  529. package/dist/verdocs-web-sdk/{p-X4iTgaqa.system.js.map → p-tlNLqVnV.system.js.map} +1 -1
  530. package/dist/verdocs-web-sdk/verdocs-auth.entry.esm.js.map +1 -1
  531. package/dist/verdocs-web-sdk/verdocs-button.verdocs-help-icon.verdocs-text-input.entry.esm.js.map +1 -1
  532. package/dist/verdocs-web-sdk/verdocs-contact-picker.entry.esm.js.map +1 -1
  533. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  534. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js.map +1 -1
  535. package/dist/verdocs-web-sdk/verdocs-web-sdk.js +1 -1
  536. package/package.json +5 -5
  537. package/dist/components/p-B9Ea7YKs.js.map +0 -1
  538. package/dist/components/p-CXSpP5Gm.js.map +0 -1
  539. package/dist/components/p-Clw7inRP.js.map +0 -1
  540. package/dist/components/p-D5p6S1bi.js +0 -268
  541. package/dist/components/p-D5p6S1bi.js.map +0 -1
  542. package/dist/components/p-DqU6EOrq.js.map +0 -1
  543. package/dist/esm-es5/index-C05sDUVN.js +0 -2
  544. package/dist/verdocs-web-sdk/p-0e597594.system.entry.js +0 -2
  545. package/dist/verdocs-web-sdk/p-14f07a32.system.entry.js +0 -2
  546. package/dist/verdocs-web-sdk/p-221da740.system.entry.js +0 -2
  547. package/dist/verdocs-web-sdk/p-2642cf9a.system.entry.js +0 -2
  548. package/dist/verdocs-web-sdk/p-3c6db111.entry.js.map +0 -1
  549. package/dist/verdocs-web-sdk/p-4ce49ea8.system.entry.js +0 -2
  550. package/dist/verdocs-web-sdk/p-52c5c5eb.system.entry.js +0 -2
  551. package/dist/verdocs-web-sdk/p-61310d21.system.entry.js +0 -2
  552. package/dist/verdocs-web-sdk/p-66a34894.system.entry.js +0 -2
  553. package/dist/verdocs-web-sdk/p-87b0aa15.entry.js +0 -2
  554. package/dist/verdocs-web-sdk/p-87b0aa15.entry.js.map +0 -1
  555. package/dist/verdocs-web-sdk/p-9086941d.entry.js.map +0 -1
  556. package/dist/verdocs-web-sdk/p-929c6dcb.system.entry.js +0 -4
  557. package/dist/verdocs-web-sdk/p-929c6dcb.system.entry.js.map +0 -1
  558. package/dist/verdocs-web-sdk/p-9c719a1e.system.entry.js +0 -2
  559. package/dist/verdocs-web-sdk/p-B2ZTJRF1.system.js +0 -2
  560. package/dist/verdocs-web-sdk/p-BDT8VDnV.system.js.map +0 -1
  561. package/dist/verdocs-web-sdk/p-BVYtr8jX.system.js.map +0 -1
  562. package/dist/verdocs-web-sdk/p-Gi6iS8bX.system.js.map +0 -1
  563. package/dist/verdocs-web-sdk/p-ab3fcfa6.system.entry.js +0 -8
  564. package/dist/verdocs-web-sdk/p-b5df6697.system.entry.js +0 -2
  565. package/dist/verdocs-web-sdk/p-c53bba5b.system.entry.js +0 -2
  566. package/dist/verdocs-web-sdk/p-c70f32bc.system.entry.js +0 -2
  567. package/dist/verdocs-web-sdk/p-d28f8173.system.entry.js +0 -2
  568. package/dist/verdocs-web-sdk/p-d4d86106.system.entry.js +0 -2
  569. package/dist/verdocs-web-sdk/p-d65600c4.entry.js +0 -3
  570. package/dist/verdocs-web-sdk/p-d65600c4.entry.js.map +0 -1
  571. package/dist/verdocs-web-sdk/p-dbd65627.system.entry.js +0 -2
  572. package/dist/verdocs-web-sdk/p-e08baa24.system.entry.js.map +0 -1
  573. package/dist/verdocs-web-sdk/p-e6836f65.system.entry.js +0 -2
  574. package/dist/verdocs-web-sdk/p-f45dd2e7.system.entry.js +0 -2
  575. package/dist/verdocs-web-sdk/p-f6016dfb.system.entry.js +0 -2
  576. package/dist/verdocs-web-sdk/p-f6016dfb.system.entry.js.map +0 -1
  577. package/dist/verdocs-web-sdk/p-f60868c7.system.entry.js +0 -2
  578. package/dist/verdocs-web-sdk/p-f6b28e39.system.entry.js +0 -2
  579. /package/dist/verdocs-web-sdk/{p-0426bfc1.system.entry.js.map → p-03a6ee37.system.entry.js.map} +0 -0
  580. /package/dist/verdocs-web-sdk/{p-1ff272f6.entry.js.map → p-095f01ea.entry.js.map} +0 -0
  581. /package/dist/verdocs-web-sdk/{p-cf8ee113.entry.js.map → p-0c895013.entry.js.map} +0 -0
  582. /package/dist/verdocs-web-sdk/{p-08e3aed6.system.entry.js.map → p-0d3060d5.system.entry.js.map} +0 -0
  583. /package/dist/verdocs-web-sdk/{p-b2df2093.entry.js.map → p-10496565.entry.js.map} +0 -0
  584. /package/dist/verdocs-web-sdk/{p-ff032e47.entry.js.map → p-198505d1.entry.js.map} +0 -0
  585. /package/dist/verdocs-web-sdk/{p-ab95e032.entry.js.map → p-1b86055f.entry.js.map} +0 -0
  586. /package/dist/verdocs-web-sdk/{p-5889c99f.entry.js.map → p-1bc8a67b.entry.js.map} +0 -0
  587. /package/dist/verdocs-web-sdk/{p-513e5b8a.system.entry.js.map → p-2083a0b5.system.entry.js.map} +0 -0
  588. /package/dist/verdocs-web-sdk/{p-9a109fed.entry.js.map → p-22d7fd99.entry.js.map} +0 -0
  589. /package/dist/verdocs-web-sdk/{p-851bd188.entry.js.map → p-262e6ed3.entry.js.map} +0 -0
  590. /package/dist/verdocs-web-sdk/{p-76f93877.entry.js.map → p-331b0a01.entry.js.map} +0 -0
  591. /package/dist/verdocs-web-sdk/{p-b0d3e996.entry.js.map → p-408204b5.entry.js.map} +0 -0
  592. /package/dist/verdocs-web-sdk/{p-c9f807d7.system.entry.js.map → p-424acea6.system.entry.js.map} +0 -0
  593. /package/dist/verdocs-web-sdk/{p-5f01fbeb.system.entry.js.map → p-4251e17b.system.entry.js.map} +0 -0
  594. /package/dist/verdocs-web-sdk/{p-771f2a9e.entry.js.map → p-56cd489c.entry.js.map} +0 -0
  595. /package/dist/verdocs-web-sdk/{p-dec943d5.entry.js.map → p-68dc5809.entry.js.map} +0 -0
  596. /package/dist/verdocs-web-sdk/{p-a5d53c9f.system.entry.js.map → p-6ec49614.system.entry.js.map} +0 -0
  597. /package/dist/verdocs-web-sdk/{p-a2f95711.entry.js.map → p-7032e5ee.entry.js.map} +0 -0
  598. /package/dist/verdocs-web-sdk/{p-759f13e2.entry.js.map → p-74f1369b.entry.js.map} +0 -0
  599. /package/dist/verdocs-web-sdk/{p-5b7212dc.entry.js.map → p-74f5a0bd.entry.js.map} +0 -0
  600. /package/dist/verdocs-web-sdk/{p-74b6c738.system.entry.js.map → p-7787a0e4.system.entry.js.map} +0 -0
  601. /package/dist/verdocs-web-sdk/{p-381bb0d2.system.entry.js.map → p-77a495cb.system.entry.js.map} +0 -0
  602. /package/dist/verdocs-web-sdk/{p-55ee046d.system.entry.js.map → p-79a57db4.system.entry.js.map} +0 -0
  603. /package/dist/verdocs-web-sdk/{p-879c16ae.entry.js.map → p-7c552800.entry.js.map} +0 -0
  604. /package/dist/verdocs-web-sdk/{p-0d45a7bb.entry.js.map → p-83057e79.entry.js.map} +0 -0
  605. /package/dist/verdocs-web-sdk/{p-305de09c.entry.js.map → p-84ef045b.entry.js.map} +0 -0
  606. /package/dist/verdocs-web-sdk/{p-f8104621.system.entry.js.map → p-85a01930.system.entry.js.map} +0 -0
  607. /package/dist/verdocs-web-sdk/{p-217db764.system.entry.js.map → p-89675355.system.entry.js.map} +0 -0
  608. /package/dist/verdocs-web-sdk/{p-f215d74d.system.entry.js.map → p-899a183a.system.entry.js.map} +0 -0
  609. /package/dist/verdocs-web-sdk/{p-715b1538.entry.js.map → p-8ae75311.entry.js.map} +0 -0
  610. /package/dist/verdocs-web-sdk/{p-fae894d6.system.entry.js.map → p-8daa82ec.system.entry.js.map} +0 -0
  611. /package/dist/verdocs-web-sdk/{p-4040ff25.entry.js.map → p-8f615cf8.entry.js.map} +0 -0
  612. /package/dist/verdocs-web-sdk/{p-36b211e9.system.entry.js.map → p-91455dc1.system.entry.js.map} +0 -0
  613. /package/dist/verdocs-web-sdk/{p-83369b59.entry.js.map → p-95098523.entry.js.map} +0 -0
  614. /package/dist/verdocs-web-sdk/{p-0361b7f5.entry.js.map → p-9a614582.entry.js.map} +0 -0
  615. /package/dist/verdocs-web-sdk/{p-b35f630c.entry.js.map → p-a7b796c9.entry.js.map} +0 -0
  616. /package/dist/verdocs-web-sdk/{p-7627b523.entry.js.map → p-a8ccb0e1.entry.js.map} +0 -0
  617. /package/dist/verdocs-web-sdk/{p-dca0ee01.system.entry.js.map → p-b2598797.system.entry.js.map} +0 -0
  618. /package/dist/verdocs-web-sdk/{p-4fc7fb57.entry.js.map → p-b81c87a9.entry.js.map} +0 -0
  619. /package/dist/verdocs-web-sdk/{p-af444549.system.entry.js.map → p-ba37926e.system.entry.js.map} +0 -0
  620. /package/dist/verdocs-web-sdk/{p-29b12c84.entry.js.map → p-c137b66c.entry.js.map} +0 -0
  621. /package/dist/verdocs-web-sdk/{p-0eab8901.entry.js.map → p-c636caf4.entry.js.map} +0 -0
  622. /package/dist/verdocs-web-sdk/{p-8dfd4098.entry.js.map → p-d0cdb769.entry.js.map} +0 -0
  623. /package/dist/verdocs-web-sdk/{p-3c4ae778.entry.js.map → p-d68d286d.entry.js.map} +0 -0
  624. /package/dist/verdocs-web-sdk/{p-6c0c5157.entry.js.map → p-d995bf66.entry.js.map} +0 -0
  625. /package/dist/verdocs-web-sdk/{p-f35d0bb1.system.entry.js.map → p-dc64588a.system.entry.js.map} +0 -0
  626. /package/dist/verdocs-web-sdk/{p-fd41f58d.entry.js.map → p-e1010b5e.entry.js.map} +0 -0
  627. /package/dist/verdocs-web-sdk/{p-ce79c107.entry.js.map → p-e251a7f7.entry.js.map} +0 -0
  628. /package/dist/verdocs-web-sdk/{p-1563ebea.entry.js.map → p-e612587a.entry.js.map} +0 -0
  629. /package/dist/verdocs-web-sdk/{p-2d879f01.entry.js.map → p-e9be55a9.entry.js.map} +0 -0
  630. /package/dist/verdocs-web-sdk/{p-bcff9d82.entry.js.map → p-f4d573b8.entry.js.map} +0 -0
  631. /package/dist/verdocs-web-sdk/{p-dcf8f80f.entry.js.map → p-fbb5d382.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as e,c as i,h as s,H as t,F as n}from"./p-C05sDUVN.js";import{d as o}from"./p-dzBXqXlK.js";import{VerdocsEndpoint as a,getEnvelope as r,remindRecipient as l,cancelEnvelope as d,updateRecipient as c,formatFullName as v,updateEnvelope as h,userIsEnvelopeOwner as p,getRecipientsWithActions as w,resetRecipient as g,recipientCanAct as m,capitalize as b}from"@verdocs/js-sdk";import{a as f}from"./p-dqxNbm_b.js";import{V as u}from"./p-CyvDgtoV.js";import{S as x}from"./p-C1sRVZWv.js";import{S as k}from"./p-DmsV595e.js";const C='@-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}';const y=24*60*60*1e3;const z=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z" /></svg>`;const M=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z" /></svg>`;const D=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 002.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 00-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25zM6.75 12h.008v.008H6.75V12zm0 3h.008v.008H6.75V15zm0 3h.008v.008H6.75V18z" /></svg>`;const V={visibility:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path d="M12 15a3 3 0 100-6 3 3 0 000 6z" /><path fill-rule="evenodd" d="M1.323 11.447C2.811 6.976 7.028 3.75 12.001 3.75c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113-1.487 4.471-5.705 7.697-10.677 7.697-4.97 0-9.186-3.223-10.675-7.69a1.762 1.762 0 010-1.113zM17.25 12a5.25 5.25 0 11-10.5 0 5.25 5.25 0 0110.5 0z" clip-rule="evenodd" /></svg>`,pencil:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path d="M21.731 2.269a2.625 2.625 0 00-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 000-3.712zM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 00-1.32 2.214l-.8 2.685a.75.75 0 00.933.933l2.685-.8a5.25 5.25 0 002.214-1.32L19.513 8.2z" /></svg>`,mail:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>`,contact_mail:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>`,done:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path fill-rule="evenodd" d="M19.916 4.626a.75.75 0 01.208 1.04l-9 13.5a.75.75 0 01-1.154.114l-6-6a.75.75 0 011.06-1.06l5.353 5.353 8.493-12.739a.75.75 0 011.04-.208z" clip-rule="evenodd" /></svg>`,send:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"/></svg>`,gesture:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M4.59 6.89c.7-.71 1.4-1.35 1.71-1.22.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1H21v-2.5h-2.47c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3 5.12 3 3.97 4 3.72 4.25c-.36.36-.66.66-.88.93l1.75 1.71zm9.29 11.66c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z"/></svg>`,clear:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>`,check_circle:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>`,link:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg>`,cancel:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"/></svg>`,done_all:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"/></svg>`,create:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>`,perm_identity:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>`,people:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"/></svg>`,contact_email:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M21 8V7l-3 2-3-2v1l3 2 3-2zm1-5H2C.9 3 0 3.9 0 5v14c0 1.1.9 2 2 2h20c1.1 0 1.99-.9 1.99-2L24 5c0-1.1-.9-2-2-2zM8 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H2v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1zm8-6h-8V6h8v6z"/></svg>`,textsms:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM9 11H7V9h2v2zm4 0h-2V9h2v2zm4 0h-2V9h2v2z"/></svg>`,verified_user:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path fill-rule="evenodd" d="M12.516 2.17a.75.75 0 00-1.032 0 11.209 11.209 0 01-7.877 3.08.75.75 0 00-.722.515A12.74 12.74 0 002.25 9.75c0 5.942 4.064 10.933 9.563 12.348a.749.749 0 00.374 0c5.499-1.415 9.563-6.406 9.563-12.348 0-1.39-.223-2.73-.635-3.985a.75.75 0 00-.722-.516l-.143.001c-2.996 0-5.717-1.17-7.734-3.08zm3.094 8.016a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z" clip-rule="evenodd" /></svg>`,account_circle:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"/></svg>`,idcard:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16 10H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 14H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.16992 15.0001C6.37606 14.4141 6.75902 13.9065 7.26594 13.5475C7.77286 13.1884 8.37873 12.9956 8.99992 12.9956C9.62111 12.9956 10.227 13.1884 10.7339 13.5475C11.2408 13.9065 11.6238 14.4141 11.8299 15.0001" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 13C10.1046 13 11 12.1046 11 11C11 9.89543 10.1046 9 9 9C7.89543 9 7 9.89543 7 11C7 12.1046 7.89543 13 9 13Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M20 5H4C2.89543 5 2 5.89543 2 7V17C2 18.1046 2.89543 19 4 19H20C21.1046 19 22 18.1046 22 17V7C22 5.89543 21.1046 5 20 5Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,idcardslash:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16 10H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 14H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.16992 15.0001C6.37606 14.4141 6.75902 13.9065 7.26594 13.5475C7.77286 13.1884 8.37873 12.9956 8.99992 12.9956C9.62111 12.9956 10.227 13.1884 10.7339 13.5475C11.2408 13.9065 11.6238 14.4141 11.8299 15.0001" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 13C10.1046 13 11 12.1046 11 11C11 9.89543 10.1046 9 9 9C7.89543 9 7 9.89543 7 11C7 12.1046 7.89543 13 9 13Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M20 5H4C2.89543 5 2 5.89543 2 7V17C2 18.1046 2.89543 19 4 19H20C21.1046 19 22 18.1046 22 17V7C22 5.89543 21.1046 5 20 5Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M2 2L22 22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,key:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.586 17.4139C2.2109 17.7889 2.00011 18.2975 2 18.8279V20.9999C2 21.2651 2.10536 21.5195 2.29289 21.707C2.48043 21.8946 2.73478 21.9999 3 21.9999H6C6.26522 21.9999 6.51957 21.8946 6.70711 21.707C6.89464 21.5195 7 21.2651 7 20.9999V19.9999C7 19.7347 7.10536 19.4803 7.29289 19.2928C7.48043 19.1053 7.73478 18.9999 8 18.9999H9C9.26522 18.9999 9.51957 18.8946 9.70711 18.707C9.89464 18.5195 10 18.2651 10 17.9999V16.9999C10 16.7347 10.1054 16.4803 10.2929 16.2928C10.4804 16.1053 10.7348 15.9999 11 15.9999H11.172C11.7024 15.9998 12.211 15.789 12.586 15.4139L13.4 14.5999C14.7898 15.0841 16.3028 15.0822 17.6915 14.5947C19.0801 14.1071 20.2622 13.1628 21.0444 11.916C21.8265 10.6693 22.1624 9.19409 21.9971 7.73165C21.8318 6.26922 21.1751 4.90617 20.1344 3.86549C19.0937 2.8248 17.7307 2.1681 16.2683 2.00281C14.8058 1.83751 13.3306 2.17341 12.0839 2.95556C10.8372 3.7377 9.89279 4.91979 9.40525 6.30844C8.91771 7.69708 8.91585 9.21008 9.4 10.5999L2.586 17.4139Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.5 8C16.7761 8 17 7.77614 17 7.5C17 7.22386 16.7761 7 16.5 7C16.2239 7 16 7.22386 16 7.5C16 7.77614 16.2239 8 16.5 8Z" fill="black" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,keyslash:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.586 17.4139C2.2109 17.7889 2.00011 18.2975 2 18.8279V20.9999C2 21.2651 2.10536 21.5195 2.29289 21.707C2.48043 21.8946 2.73478 21.9999 3 21.9999H6C6.26522 21.9999 6.51957 21.8946 6.70711 21.707C6.89464 21.5195 7 21.2651 7 20.9999V19.9999C7 19.7347 7.10536 19.4803 7.29289 19.2928C7.48043 19.1053 7.73478 18.9999 8 18.9999H9C9.26522 18.9999 9.51957 18.8946 9.70711 18.707C9.89464 18.5195 10 18.2651 10 17.9999V16.9999C10 16.7347 10.1054 16.4803 10.2929 16.2928C10.4804 16.1053 10.7348 15.9999 11 15.9999H11.172C11.7024 15.9998 12.211 15.789 12.586 15.4139L13.4 14.5999C14.7898 15.0841 16.3028 15.0822 17.6915 14.5947C19.0801 14.1071 20.2622 13.1628 21.0444 11.916C21.8265 10.6693 22.1624 9.19409 21.9971 7.73165C21.8318 6.26922 21.1751 4.90617 20.1344 3.86549C19.0937 2.8248 17.7307 2.1681 16.2683 2.00281C14.8058 1.83751 13.3306 2.17341 12.0839 2.95556C10.8372 3.7377 9.89279 4.91979 9.40525 6.30844C8.91771 7.69708 8.91585 9.21008 9.4 10.5999L2.586 17.4139Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.5 8C16.7761 8 17 7.77614 17 7.5C17 7.22386 16.7761 7 16.5 7C16.2239 7 16 7.22386 16 7.5C16 7.77614 16.2239 8 16.5 8Z" fill="black" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,pin:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 17V22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 10.76C8.9998 11.1321 8.89581 11.4967 8.69972 11.813C8.50363 12.1292 8.22321 12.3844 7.89 12.55L6.11 13.45C5.77679 13.6156 5.49637 13.8708 5.30028 14.187C5.10419 14.5033 5.0002 14.8679 5 15.24V16C5 16.2652 5.10536 16.5196 5.29289 16.7071C5.48043 16.8946 5.73478 17 6 17H18C18.2652 17 18.5196 16.8946 18.7071 16.7071C18.8946 16.5196 19 16.2652 19 16V15.24C18.9998 14.8679 18.8958 14.5033 18.6997 14.187C18.5036 13.8708 18.2232 13.6156 17.89 13.45L16.11 12.55C15.7768 12.3844 15.4964 12.1292 15.3003 11.813C15.1042 11.4967 15.0002 11.1321 15 10.76V7C15 6.73478 15.1054 6.48043 15.2929 6.29289C15.4804 6.10536 15.7348 6 16 6C16.5304 6 17.0391 5.78929 17.4142 5.41421C17.7893 5.03914 18 4.53043 18 4C18 3.46957 17.7893 2.96086 17.4142 2.58579C17.0391 2.21071 16.5304 2 16 2H8C7.46957 2 6.96086 2.21071 6.58579 2.58579C6.21071 2.96086 6 3.46957 6 4C6 4.53043 6.21071 5.03914 6.58579 5.41421C6.96086 5.78929 7.46957 6 8 6C8.26522 6 8.51957 6.10536 8.70711 6.29289C8.89464 6.48043 9 6.73478 9 7V10.76Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,pinslash:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 17V22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M15.0006 9.34V7C15.0006 6.73478 15.106 6.48043 15.2935 6.29289C15.4811 6.10536 15.7354 6 16.0006 6C16.5311 6 17.0398 5.78929 17.4148 5.41421C17.7899 5.03914 18.0006 4.53043 18.0006 4C18.0006 3.46957 17.7899 2.96086 17.4148 2.58579C17.0398 2.21071 16.5311 2 16.0006 2H7.89062" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M2 2L22 22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 9V10.76C8.9998 11.1321 8.89581 11.4967 8.69972 11.813C8.50363 12.1292 8.22321 12.3844 7.89 12.55L6.11 13.45C5.77679 13.6156 5.49637 13.8708 5.30028 14.187C5.10419 14.5033 5.0002 14.8679 5 15.24V16C5 16.2652 5.10536 16.5196 5.29289 16.7071C5.48043 16.8946 5.73478 17 6 17H17" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`};const B=class{constructor(s){e(this,s);this.sdkError=i(this,"sdkError");this.envelopeUpdated=i(this,"envelopeUpdated");this.toggle=i(this,"toggle");this.another=i(this,"another");this.envelopeListenerId=null;this.endpoint=a.getDefault();this.envelopeId="";this.activeTab=1;this.panelOpen=false;this.showRecipientDialog="";this.showCancelDialog=false;this.showReinviteDialog="";this.showUpdateDialog="";this.remindersEnabled=false;this.updatingReminders=false;this.initialReminder=null;this.followupReminders=null;this.loading=true;this.envelope=null}async componentWillLoad(){var e,i,s;try{this.endpoint.loadSession();if(!this.envelopeId){console.log(`[SIDEBAR] Missing required envelope ID ${this.envelopeId}`);return}if(!this.endpoint.session){console.log("[SIDEBAR] Unable to start session, must be authenticated");return}this.listenToEnvelope()}catch(t){console.log("[SIDEBAR] Error loading envelope",t);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new x(t.message,(i=t.response)===null||i===void 0?void 0:i.status,(s=t.response)===null||s===void 0?void 0:s.data))}}disconnectedCallback(){this.unlistenToEnvelope()}async listenToEnvelope(){console.log("[SIDEBAR] Loading envelope",this.envelopeId);this.unlistenToEnvelope();k.subscribe("envelopes",this.envelopeId,(()=>r(this.endpoint,this.envelopeId)),false,(e=>{var i,s;this.envelope=e;this.loading=false;this.sortEnvelopeRecipients();this.initialReminder=(i=this.envelope)===null||i===void 0?void 0:i.initial_reminder;this.followupReminders=(s=this.envelope)===null||s===void 0?void 0:s.followup_reminders;this.remindersEnabled=!!this.initialReminder}))}unlistenToEnvelope(){if(this.envelopeListenerId){k.store.delListener(this.envelopeListenerId);this.envelopeListenerId=null}}sortEnvelopeRecipients(){var e;(((e=this.envelope)===null||e===void 0?void 0:e.recipients)||[]).sort(((e,i)=>e.sequence===i.sequence?e.order-i.order:e.sequence-i.sequence))}setTab(e){var i;this.panelOpen=e!==this.activeTab||!this.panelOpen;(i=this.toggle)===null||i===void 0?void 0:i.emit({open:this.panelOpen});this.activeTab=e}canResendRecipient(e){var i;return!["pending","declined","submitted","canceled"].includes(e.status)&&!["complete","declined","canceled"].includes((i=this.envelope)===null||i===void 0?void 0:i.status)}handleRecipientAction(e,i){var s;console.log("[SIDEBAR] Recipient action",i,e);switch(i){case"update":this.showUpdateDialog=e.role_name;break;case"reminder":l(this.endpoint,this.envelopeId,e.role_name).then((()=>{u("Reminder Sent",{style:"success"})})).catch((e=>{console.log("[SIDEBAR] Error resending invitation",e);u("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":u("This feature will be enabled in a future release. Please try again later.",{style:"info"});break;case"details":u("This feature will be enabled in a future release. Please try again later.",{style:"info"});break}(s=this.envelopeUpdated)===null||s===void 0?void 0:s.emit({endpoint:this.endpoint,envelope:this.envelope,event:i})}handleCancelEnvelope(){this.loading=true;d(this.endpoint,this.envelopeId).then((async e=>{var i;console.log("[SIDEBAR] Envelope canceled",e);u("Envelope canceled",{style:"success"});const s=JSON.parse(JSON.stringify(this.envelope));s.status="canceled";k.updateEnvelope(this.envelopeId,s);this.loading=false;this.panelOpen=false;(i=this.envelopeUpdated)===null||i===void 0?void 0:i.emit({endpoint:this.endpoint,envelope:s,event:"canceled"})})).catch((e=>{console.log("[SIDEBAR] Error canceling envelope",e);this.loading=false;u("Error canceling envelope: "+e.message,{style:"error"})}))}handleUpdateRecipient(e,i){console.log("Updating recipient",e,i);const s={};if(i.email!==e.email){s.email=i.email}if(i.phone!==e.phone){s.phone=i.phone}if(i.message!==e.message){s.message=i.message}if(i.first_name!==e.first_name){s.first_name=i.first_name}if(i.last_name!==e.last_name){s.last_name=i.last_name}if(Object.keys(s).length>0){c(this.endpoint,this.envelopeId,e.role_name,s).then((e=>{u("Recipient updated",{style:"success"});console.log("[SIDEBAR] Updated recipient",e);k.getEnvelope(this.endpoint,this.envelopeId,true);this.showUpdateDialog=""})).catch((e=>{u(e.response.data.error,{style:"error"});this.showUpdateDialog=""}))}else{this.showUpdateDialog=""}}prepareHistoryEntries(){var e,i,s,t,n,o;const a=[];const r=((e=this.envelope)===null||e===void 0?void 0:e.history_entries)||[];a.push({icon:"pencil",message:"Envelope created.",date:new Date((i=this.envelope)===null||i===void 0?void 0:i.created_at)});if(((s=this.envelope)===null||s===void 0?void 0:s.status)==="complete"){a.push({icon:"pencil",message:"Envelope completed.",date:new Date((t=this.envelope)===null||t===void 0?void 0:t.updated_at)})}const l=r.some((e=>e.event==="owner:canceled"));if(((n=this.envelope)===null||n===void 0?void 0:n.status)==="canceled"&&!l){a.push({icon:"pencil",message:"Envelope Canceled.",date:new Date((o=this.envelope)===null||o===void 0?void 0:o.canceled_at)})}r.forEach((e=>{var i;const s=(((i=this.envelope)===null||i===void 0?void 0:i.recipients)||[]).find((i=>i.role_name===e.role_name));const t=v(s);switch(e.event.toLowerCase()){case"recipient:kba_verified":a.push({icon:"key",message:`KBA verification completed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:kba_failed":a.push({icon:"keyslash",message:`KBA verification failed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:id_verified":a.push({icon:"idcard",message:`ID verification completed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:id_failed":a.push({icon:"idcardslash",message:`ID verification failed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:pin_verified":a.push({icon:"pin",message:`PIN verification completed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:pin_failed":a.push({icon:"pinslash",message:`PIN verification failed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:signed":a.push({icon:"gesture",message:`Signed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:declined":a.push({icon:"clear",message:`Declined by ${t}.`,date:new Date(e.created_at)});break;case"recipient:opened":switch(e.event_detail){case"email":case"mail":a.push({icon:"visibility",message:`Opened by ${t}, via email.`,date:new Date(e.created_at)});break;case"sms":a.push({icon:"visibility",message:`Opened by ${t}, via SMS.`,date:new Date(e.created_at)});break;case"in_person_link":a.push({icon:"visibility",message:`Opened by ${t}, via In-person link.`,date:new Date(e.created_at)});break;case"in_app":a.push({icon:"visibility",message:`Opened by ${t}, via dashboard.`,date:new Date(e.created_at)});break;default:a.push({icon:"visibility",message:`Opened by ${t}.`,date:new Date(e.created_at)})}break;case"recipient:submitted":switch(e.event_detail){case"approver":a.push({icon:"check_circle",message:`Approved by ${t}.`,date:new Date(e.created_at)});break;default:a.push({icon:"send",message:`Submitted by ${t}.`,date:new Date(e.created_at)});break}break;case"recipient:prepared":a.push({icon:"send",message:`Prepared by ${t}.`,date:new Date(e.created_at)});break;case"recipient:claimed":if(e.event_detail==="guest"){a.push({icon:"account_circle",message:`${t} claimed the Envelope as a guest.`,date:new Date(e.created_at)})}else if(e.event_detail==="profile"){a.push({icon:"verified_user",message:`${t} claimed the Envelope as a verified user.`,date:new Date(e.created_at)})}break;case"recipient:agreed":a.push({icon:"done",message:`${t} agreed to use electronic records and signatures.`,date:new Date(e.created_at)});break;case"recipient:invited":if(e.event_detail==="sms"){a.push({icon:"textsms",message:`${t} has been invited via SMS.`,date:new Date(e.created_at)})}else{a.push({icon:"mail",message:`${t} has been invited via email.`,date:new Date(e.created_at)})}break;case"recipient:reminder":if(e.event_detail==="sms"){a.push({icon:"textsms",message:`${t} sent a reminder via SMS.`,date:new Date(e.created_at)})}else{a.push({icon:"mail",message:`${t} sent a reminder via email.`,date:new Date(e.created_at)})}break;case"invitation:resent":a.push({icon:"mail",message:`Invitation was resent to ${t}${e.event_detail==="reminder"?" by reminder":""}.`,date:new Date(e.created_at)});break;case"envelope:cc":a.push({icon:"contact_mail",message:`A copy has been sent to ${t}.`,date:new Date(e.created_at)});break;case"recipient:delegated":a.push({icon:"people",message:e.event_detail,date:new Date(e.created_at)});break;case"recipient:updated_info":a.push({icon:"perm_identity",message:e.event_detail,date:new Date(e.created_at)});break;case"owner:updated_recipient_info":a.push({icon:"perm_identity",message:e.event_detail,date:new Date(e.created_at)});break;case"created":a.push({icon:"create",message:`Envelope was created.`,date:new Date(e.created_at)});break;case"completed":a.push({icon:"done_all",message:`Envelope was completed.`,date:new Date(e.created_at)});break;case"envelope:canceled":case"envelope_canceled":case"canceled":case"owner:canceled":a.push({icon:"cancel",message:`Envelope was canceled by the creator.`,date:new Date(e.created_at)});break;case"envelope:expired":a.push({icon:"cancel",message:`Envelope expired.`,date:new Date(e.created_at)});break;case"owner:get_in_person_link":a.push({icon:"link",message:`Owner accessed the In-person link for ${s}.`,date:new Date(e.created_at)});break;default:console.log("[SIDEBAR] Unknown history type",e);break}}));a.sort(((e,i)=>i.date.getTime()-e.date.getTime()));return a}handleToggleReminders(){if(this.remindersEnabled){return this.handleSetReminders(null,null)}else{return this.handleSetReminders(y,3*y)}}handleSetReminders(e,i){console.log("Updating reminders...");this.updatingReminders=true;h(this.endpoint,this.envelopeId,{initial_reminder:e,followup_reminders:i}).then((e=>{console.log("Updated",e);k.updateEnvelope(this.envelopeId,e);this.initialReminder=e.initial_reminder;this.followupReminders=e.followup_reminders;this.remindersEnabled=!!e.initial_reminder;this.updatingReminders=false})).catch((e=>{var i,s,t;console.log("Error updating envelope",e);this.initialReminder=(i=this.envelope)===null||i===void 0?void 0:i.initial_reminder;this.followupReminders=(s=this.envelope)===null||s===void 0?void 0:s.followup_reminders;this.remindersEnabled=!!((t=this.envelope)===null||t===void 0?void 0:t.initial_reminder);this.updatingReminders=false;u(e.response.data.error,{style:"error"})}))}render(){var e,i,a,r,l,d,c,h,x,k,C,B;if(this.loading){return s(t,null)}const H=p(this.endpoint.profile,this.envelope);const E=this.prepareHistoryEntries();const L=((e=this.envelope)===null||e===void 0?void 0:e.status)!=="pending"&&((i=this.envelope)===null||i===void 0?void 0:i.status)!=="in progress";const S=w(this.envelope);return s(t,{class:this.panelOpen?"open":""},s("div",{class:"side-buttons"},s("button",{class:this.activeTab===1?"active":"",onClick:()=>this.setTab(1),innerHTML:z}),s("button",{class:this.activeTab===2?"active":"",onClick:()=>this.setTab(2),innerHTML:M}),s("button",{class:this.activeTab===3?"active":"",onClick:()=>this.setTab(3),innerHTML:D})),this.activeTab===1&&s("div",{class:"content"},s("div",{class:"title"},"Details"),s("div",{class:"label"},"Envelope ID"),s("div",{class:"value"},(a=this.envelope)===null||a===void 0?void 0:a.id),s("div",{class:"label"},"Date Created"),s("div",{class:"value"},o.format(new Date((r=this.envelope)===null||r===void 0?void 0:r.created_at),f)),s("div",{class:"label"},"Last Modified"),s("div",{class:"value"},o.format(new Date((l=this.envelope)===null||l===void 0?void 0:l.updated_at),f)),s("div",{class:"label"},"Status"),s("div",{class:"value"},b((d=this.envelope)===null||d===void 0?void 0:d.status)),s("div",{class:"label"},"Owner ID"),s("div",{class:"value"},(c=this.envelope)===null||c===void 0?void 0:c.profile_id),s("div",{class:"label"},"Owner Name"),s("div",{class:"value"},v((h=this.envelope)===null||h===void 0?void 0:h.profile)),s("div",{class:"label"},"Owner Email"),s("div",{class:"value"},(k=(x=this.envelope)===null||x===void 0?void 0:x.profile)===null||k===void 0?void 0:k.email)),this.activeTab===2&&s("div",{class:"content"},s("div",{class:"title"},"Recipients"),(C=this.envelope)===null||C===void 0?void 0:C.recipients.map(((e,i)=>{const t=m(e,S);const n=e.status!=="submitted";const o=this.canResendRecipient(e);const a=v(e);return s("div",{class:"recipient-detail"},s("div",{class:"recipient-header"},s("div",{class:"recipient-number"},i+1),s("div",{class:"recipient-name"},e.role_name.replace("delegated_to_","Delegated")),s("div",{class:{"recipient-status":true,[e.status]:true}},e.status),H&&!L&&s("verdocs-dropdown",{onOptionSelected:i=>this.handleRecipientAction(e,i.detail.id),options:[{id:"update",label:"Update",disabled:!n},{id:"reminder",label:"Send Reminder",disabled:!o},{id:"inperson",label:"Get In-Person Link",disabled:!t},{id:"reinvite",label:"Re-invite",disabled:!o}]})),s("dic",{class:"recipient-content"},s("div",{class:"recipient-name"},a),s("div",{class:"recipient-name"},e.email),s("div",{class:"recipient-name"},e.phone)))})),H&&s("div",{class:"reminders"},s("div",{class:"form-row"},s("div",{class:"reminders-label"},"Reminders"),s("verdocs-switch",{disabled:L||this.updatingReminders,checked:this.remindersEnabled,onCheckedChange:()=>this.handleToggleReminders()})),this.remindersEnabled&&s(n,null,s("div",{class:"form-row"},"NOTE: Reminders will only be sent for up to 14 days."),s("div",{class:"form-row"},s("div",{class:"form-label"},"Initial Reminder (days):"),s("verdocs-text-input",{placeholder:"In hours...",disabled:L||this.updatingReminders,value:String(Math.floor(this.initialReminder/y)),onBlur:e=>{this.initialReminder=Number(e.target.value)*y;this.handleSetReminders(this.initialReminder,this.followupReminders)}})),s("div",{class:"form-row"},s("div",{class:"form-label"},"Follow-up Reminders:"),s("verdocs-text-input",{placeholder:"In hours...",disabled:L||this.updatingReminders,value:String(Math.floor(this.followupReminders/y)),onBlur:e=>{this.followupReminders=Number(e.target.value)*y;this.handleSetReminders(this.initialReminder,this.followupReminders)}})),s("div",{class:"form-row"},s("div",{class:"form-label"},"Next Reminder:"),s("div",{style:{color:"#dddddd"}},o.format(new Date((B=this.envelope)===null||B===void 0?void 0:B.next_reminder),"P p"))))),H&&s("verdocs-button",{class:"manage-recipients-button",variant:"standard",label:"Cancel Envelope",onClick:()=>this.showCancelDialog=!L,disabled:L})),this.activeTab===3&&s("div",{class:"content"},s("div",{class:"title"},"History"),E.map((e=>s("div",{class:"history-entry"},s("div",{class:"activity-icon",innerHTML:V[e.icon]||e.icon}),s("div",{class:"activity-details"},s("div",{class:"activity-text"},e.message),s("div",{class:"activity-date"},o.format(e.date,f))))))),this.showRecipientDialog&&s("verdocs-envelope-recipient-link",{envelopeId:this.envelopeId,roleName:this.showRecipientDialog,onNext:()=>this.showRecipientDialog=""}),this.showCancelDialog&&s("verdocs-ok-dialog",{heading:"Cancel Envelope?",message:"Are you sure you want to cancel this Envelope? This action cannot be undone.",onNext:()=>{this.showCancelDialog=false;this.handleCancelEnvelope()}}),this.showReinviteDialog&&s("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:()=>{g(this.endpoint,this.envelopeId,this.showReinviteDialog).then((()=>{u("Recipient Reset",{style:"success"});this.showReinviteDialog=""})).catch((e=>{console.log("[SIDEBAR] Error resetting recipient",e);u("Error resetting recipient: "+e.message,{style:"error"});this.showReinviteDialog=""}))}}),this.showUpdateDialog&&s("verdocs-envelope-update-recipient",{envelopeId:this.envelopeId,roleName:this.showUpdateDialog,onNext:e=>{console.log("next",e.detail);if(e.detail.action==="save"){this.handleUpdateRecipient(e.detail.originalRecipient,e.detail.updatedRecipient)}else{this.showUpdateDialog=""}}}))}};B.style=C;export{B as verdocs_envelope_sidebar};
2
- //# sourceMappingURL=p-4fc7fb57.entry.js.map
1
+ import{r as e,c as i,h as s,H as t,F as n}from"./p-DjAHH4ih.js";import{d as o}from"./p-dzBXqXlK.js";import{VerdocsEndpoint as a,getEnvelope as r,remindRecipient as l,cancelEnvelope as d,updateRecipient as c,formatFullName as v,updateEnvelope as h,userIsEnvelopeOwner as p,getRecipientsWithActions as w,resetRecipient as g,recipientCanAct as m,capitalize as b}from"@verdocs/js-sdk";import{a as f}from"./p-dqxNbm_b.js";import{V as u}from"./p-CyvDgtoV.js";import{S as x}from"./p-C1sRVZWv.js";import{S as k}from"./p-DmsV595e.js";const C='@-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}';const y=24*60*60*1e3;const z=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z" /></svg>`;const M=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z" /></svg>`;const D=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 002.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 00-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25zM6.75 12h.008v.008H6.75V12zm0 3h.008v.008H6.75V15zm0 3h.008v.008H6.75V18z" /></svg>`;const H={visibility:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path d="M12 15a3 3 0 100-6 3 3 0 000 6z" /><path fill-rule="evenodd" d="M1.323 11.447C2.811 6.976 7.028 3.75 12.001 3.75c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113-1.487 4.471-5.705 7.697-10.677 7.697-4.97 0-9.186-3.223-10.675-7.69a1.762 1.762 0 010-1.113zM17.25 12a5.25 5.25 0 11-10.5 0 5.25 5.25 0 0110.5 0z" clip-rule="evenodd" /></svg>`,pencil:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path d="M21.731 2.269a2.625 2.625 0 00-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 000-3.712zM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 00-1.32 2.214l-.8 2.685a.75.75 0 00.933.933l2.685-.8a5.25 5.25 0 002.214-1.32L19.513 8.2z" /></svg>`,mail:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>`,contact_mail:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>`,done:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path fill-rule="evenodd" d="M19.916 4.626a.75.75 0 01.208 1.04l-9 13.5a.75.75 0 01-1.154.114l-6-6a.75.75 0 011.06-1.06l5.353 5.353 8.493-12.739a.75.75 0 011.04-.208z" clip-rule="evenodd" /></svg>`,send:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"/></svg>`,gesture:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M4.59 6.89c.7-.71 1.4-1.35 1.71-1.22.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1H21v-2.5h-2.47c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3 5.12 3 3.97 4 3.72 4.25c-.36.36-.66.66-.88.93l1.75 1.71zm9.29 11.66c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z"/></svg>`,clear:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>`,check_circle:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>`,link:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg>`,cancel:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"/></svg>`,done_all:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"/></svg>`,create:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>`,perm_identity:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>`,people:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"/></svg>`,contact_email:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M21 8V7l-3 2-3-2v1l3 2 3-2zm1-5H2C.9 3 0 3.9 0 5v14c0 1.1.9 2 2 2h20c1.1 0 1.99-.9 1.99-2L24 5c0-1.1-.9-2-2-2zM8 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H2v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1zm8-6h-8V6h8v6z"/></svg>`,textsms:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM9 11H7V9h2v2zm4 0h-2V9h2v2zm4 0h-2V9h2v2z"/></svg>`,verified_user:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path fill-rule="evenodd" d="M12.516 2.17a.75.75 0 00-1.032 0 11.209 11.209 0 01-7.877 3.08.75.75 0 00-.722.515A12.74 12.74 0 002.25 9.75c0 5.942 4.064 10.933 9.563 12.348a.749.749 0 00.374 0c5.499-1.415 9.563-6.406 9.563-12.348 0-1.39-.223-2.73-.635-3.985a.75.75 0 00-.722-.516l-.143.001c-2.996 0-5.717-1.17-7.734-3.08zm3.094 8.016a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z" clip-rule="evenodd" /></svg>`,account_circle:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"/></svg>`,idcard:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16 10H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 14H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.16992 15.0001C6.37606 14.4141 6.75902 13.9065 7.26594 13.5475C7.77286 13.1884 8.37873 12.9956 8.99992 12.9956C9.62111 12.9956 10.227 13.1884 10.7339 13.5475C11.2408 13.9065 11.6238 14.4141 11.8299 15.0001" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 13C10.1046 13 11 12.1046 11 11C11 9.89543 10.1046 9 9 9C7.89543 9 7 9.89543 7 11C7 12.1046 7.89543 13 9 13Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M20 5H4C2.89543 5 2 5.89543 2 7V17C2 18.1046 2.89543 19 4 19H20C21.1046 19 22 18.1046 22 17V7C22 5.89543 21.1046 5 20 5Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,idcardslash:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16 10H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 14H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.16992 15.0001C6.37606 14.4141 6.75902 13.9065 7.26594 13.5475C7.77286 13.1884 8.37873 12.9956 8.99992 12.9956C9.62111 12.9956 10.227 13.1884 10.7339 13.5475C11.2408 13.9065 11.6238 14.4141 11.8299 15.0001" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 13C10.1046 13 11 12.1046 11 11C11 9.89543 10.1046 9 9 9C7.89543 9 7 9.89543 7 11C7 12.1046 7.89543 13 9 13Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M20 5H4C2.89543 5 2 5.89543 2 7V17C2 18.1046 2.89543 19 4 19H20C21.1046 19 22 18.1046 22 17V7C22 5.89543 21.1046 5 20 5Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M2 2L22 22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,key:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.586 17.4139C2.2109 17.7889 2.00011 18.2975 2 18.8279V20.9999C2 21.2651 2.10536 21.5195 2.29289 21.707C2.48043 21.8946 2.73478 21.9999 3 21.9999H6C6.26522 21.9999 6.51957 21.8946 6.70711 21.707C6.89464 21.5195 7 21.2651 7 20.9999V19.9999C7 19.7347 7.10536 19.4803 7.29289 19.2928C7.48043 19.1053 7.73478 18.9999 8 18.9999H9C9.26522 18.9999 9.51957 18.8946 9.70711 18.707C9.89464 18.5195 10 18.2651 10 17.9999V16.9999C10 16.7347 10.1054 16.4803 10.2929 16.2928C10.4804 16.1053 10.7348 15.9999 11 15.9999H11.172C11.7024 15.9998 12.211 15.789 12.586 15.4139L13.4 14.5999C14.7898 15.0841 16.3028 15.0822 17.6915 14.5947C19.0801 14.1071 20.2622 13.1628 21.0444 11.916C21.8265 10.6693 22.1624 9.19409 21.9971 7.73165C21.8318 6.26922 21.1751 4.90617 20.1344 3.86549C19.0937 2.8248 17.7307 2.1681 16.2683 2.00281C14.8058 1.83751 13.3306 2.17341 12.0839 2.95556C10.8372 3.7377 9.89279 4.91979 9.40525 6.30844C8.91771 7.69708 8.91585 9.21008 9.4 10.5999L2.586 17.4139Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.5 8C16.7761 8 17 7.77614 17 7.5C17 7.22386 16.7761 7 16.5 7C16.2239 7 16 7.22386 16 7.5C16 7.77614 16.2239 8 16.5 8Z" fill="black" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,keyslash:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.586 17.4139C2.2109 17.7889 2.00011 18.2975 2 18.8279V20.9999C2 21.2651 2.10536 21.5195 2.29289 21.707C2.48043 21.8946 2.73478 21.9999 3 21.9999H6C6.26522 21.9999 6.51957 21.8946 6.70711 21.707C6.89464 21.5195 7 21.2651 7 20.9999V19.9999C7 19.7347 7.10536 19.4803 7.29289 19.2928C7.48043 19.1053 7.73478 18.9999 8 18.9999H9C9.26522 18.9999 9.51957 18.8946 9.70711 18.707C9.89464 18.5195 10 18.2651 10 17.9999V16.9999C10 16.7347 10.1054 16.4803 10.2929 16.2928C10.4804 16.1053 10.7348 15.9999 11 15.9999H11.172C11.7024 15.9998 12.211 15.789 12.586 15.4139L13.4 14.5999C14.7898 15.0841 16.3028 15.0822 17.6915 14.5947C19.0801 14.1071 20.2622 13.1628 21.0444 11.916C21.8265 10.6693 22.1624 9.19409 21.9971 7.73165C21.8318 6.26922 21.1751 4.90617 20.1344 3.86549C19.0937 2.8248 17.7307 2.1681 16.2683 2.00281C14.8058 1.83751 13.3306 2.17341 12.0839 2.95556C10.8372 3.7377 9.89279 4.91979 9.40525 6.30844C8.91771 7.69708 8.91585 9.21008 9.4 10.5999L2.586 17.4139Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.5 8C16.7761 8 17 7.77614 17 7.5C17 7.22386 16.7761 7 16.5 7C16.2239 7 16 7.22386 16 7.5C16 7.77614 16.2239 8 16.5 8Z" fill="black" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,pin:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 17V22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 10.76C8.9998 11.1321 8.89581 11.4967 8.69972 11.813C8.50363 12.1292 8.22321 12.3844 7.89 12.55L6.11 13.45C5.77679 13.6156 5.49637 13.8708 5.30028 14.187C5.10419 14.5033 5.0002 14.8679 5 15.24V16C5 16.2652 5.10536 16.5196 5.29289 16.7071C5.48043 16.8946 5.73478 17 6 17H18C18.2652 17 18.5196 16.8946 18.7071 16.7071C18.8946 16.5196 19 16.2652 19 16V15.24C18.9998 14.8679 18.8958 14.5033 18.6997 14.187C18.5036 13.8708 18.2232 13.6156 17.89 13.45L16.11 12.55C15.7768 12.3844 15.4964 12.1292 15.3003 11.813C15.1042 11.4967 15.0002 11.1321 15 10.76V7C15 6.73478 15.1054 6.48043 15.2929 6.29289C15.4804 6.10536 15.7348 6 16 6C16.5304 6 17.0391 5.78929 17.4142 5.41421C17.7893 5.03914 18 4.53043 18 4C18 3.46957 17.7893 2.96086 17.4142 2.58579C17.0391 2.21071 16.5304 2 16 2H8C7.46957 2 6.96086 2.21071 6.58579 2.58579C6.21071 2.96086 6 3.46957 6 4C6 4.53043 6.21071 5.03914 6.58579 5.41421C6.96086 5.78929 7.46957 6 8 6C8.26522 6 8.51957 6.10536 8.70711 6.29289C8.89464 6.48043 9 6.73478 9 7V10.76Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,pinslash:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 17V22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M15.0006 9.34V7C15.0006 6.73478 15.106 6.48043 15.2935 6.29289C15.4811 6.10536 15.7354 6 16.0006 6C16.5311 6 17.0398 5.78929 17.4148 5.41421C17.7899 5.03914 18.0006 4.53043 18.0006 4C18.0006 3.46957 17.7899 2.96086 17.4148 2.58579C17.0398 2.21071 16.5311 2 16.0006 2H7.89062" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M2 2L22 22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 9V10.76C8.9998 11.1321 8.89581 11.4967 8.69972 11.813C8.50363 12.1292 8.22321 12.3844 7.89 12.55L6.11 13.45C5.77679 13.6156 5.49637 13.8708 5.30028 14.187C5.10419 14.5033 5.0002 14.8679 5 15.24V16C5 16.2652 5.10536 16.5196 5.29289 16.7071C5.48043 16.8946 5.73478 17 6 17H17" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`};const V=class{constructor(s){e(this,s);this.sdkError=i(this,"sdkError");this.envelopeUpdated=i(this,"envelopeUpdated");this.toggle=i(this,"toggle");this.another=i(this,"another");this.envelopeListenerId=null;this.endpoint=a.getDefault();this.envelopeId="";this.activeTab=1;this.panelOpen=false;this.showRecipientDialog="";this.showCancelDialog=false;this.showReinviteDialog="";this.showUpdateDialog="";this.remindersEnabled=false;this.updatingReminders=false;this.initialReminder=null;this.followupReminders=null;this.loading=true;this.envelope=null}async componentWillLoad(){var e,i,s;try{this.endpoint.loadSession();if(!this.envelopeId){console.log(`[SIDEBAR] Missing required envelope ID ${this.envelopeId}`);return}if(!this.endpoint.session){console.log("[SIDEBAR] Unable to start session, must be authenticated");return}this.listenToEnvelope()}catch(t){console.log("[SIDEBAR] Error loading envelope",t);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new x(t.message,(i=t.response)===null||i===void 0?void 0:i.status,(s=t.response)===null||s===void 0?void 0:s.data))}}disconnectedCallback(){this.unlistenToEnvelope()}async listenToEnvelope(){console.log("[SIDEBAR] Loading envelope",this.envelopeId);this.unlistenToEnvelope();k.subscribe("envelopes",this.envelopeId,(()=>r(this.endpoint,this.envelopeId)),false,(e=>{var i,s;this.envelope=e;this.loading=false;this.sortEnvelopeRecipients();this.initialReminder=(i=this.envelope)===null||i===void 0?void 0:i.initial_reminder;this.followupReminders=(s=this.envelope)===null||s===void 0?void 0:s.followup_reminders;this.remindersEnabled=!!this.initialReminder}))}unlistenToEnvelope(){if(this.envelopeListenerId){k.store.delListener(this.envelopeListenerId);this.envelopeListenerId=null}}sortEnvelopeRecipients(){var e;(((e=this.envelope)===null||e===void 0?void 0:e.recipients)||[]).sort(((e,i)=>e.sequence===i.sequence?e.order-i.order:e.sequence-i.sequence))}setTab(e){var i;this.panelOpen=e!==this.activeTab||!this.panelOpen;(i=this.toggle)===null||i===void 0?void 0:i.emit({open:this.panelOpen});this.activeTab=e}canResendRecipient(e){var i;return!["pending","declined","submitted","canceled"].includes(e.status)&&!["complete","declined","canceled"].includes((i=this.envelope)===null||i===void 0?void 0:i.status)}handleRecipientAction(e,i){var s;console.log("[SIDEBAR] Recipient action",i,e);switch(i){case"update":this.showUpdateDialog=e.role_name;break;case"reminder":l(this.endpoint,this.envelopeId,e.role_name).then((()=>{u("Reminder Sent",{style:"success"})})).catch((e=>{console.log("[SIDEBAR] Error resending invitation",e);u("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":u("This feature will be enabled in a future release. Please try again later.",{style:"info"});break;case"details":u("This feature will be enabled in a future release. Please try again later.",{style:"info"});break}(s=this.envelopeUpdated)===null||s===void 0?void 0:s.emit({endpoint:this.endpoint,envelope:this.envelope,event:i})}handleCancelEnvelope(){this.loading=true;d(this.endpoint,this.envelopeId).then((async e=>{var i;console.log("[SIDEBAR] Envelope canceled",e);u("Envelope canceled",{style:"success"});const s=JSON.parse(JSON.stringify(this.envelope));s.status="canceled";k.updateEnvelope(this.envelopeId,s);this.loading=false;this.panelOpen=false;(i=this.envelopeUpdated)===null||i===void 0?void 0:i.emit({endpoint:this.endpoint,envelope:s,event:"canceled"})})).catch((e=>{console.log("[SIDEBAR] Error canceling envelope",e);this.loading=false;u("Error canceling envelope: "+e.message,{style:"error"})}))}handleUpdateRecipient(e,i){console.log("Updating recipient",e,i);const s={};if(i.email!==e.email){s.email=i.email}if(i.phone!==e.phone){s.phone=i.phone}if(i.message!==e.message){s.message=i.message}if(i.first_name!==e.first_name){s.first_name=i.first_name}if(i.last_name!==e.last_name){s.last_name=i.last_name}if(Object.keys(s).length>0){c(this.endpoint,this.envelopeId,e.role_name,s).then((e=>{u("Recipient updated",{style:"success"});console.log("[SIDEBAR] Updated recipient",e);k.getEnvelope(this.endpoint,this.envelopeId,true);this.showUpdateDialog=""})).catch((e=>{u(e.response.data.error,{style:"error"});this.showUpdateDialog=""}))}else{this.showUpdateDialog=""}}prepareHistoryEntries(){var e,i,s,t,n,o;const a=[];const r=((e=this.envelope)===null||e===void 0?void 0:e.history_entries)||[];a.push({icon:"pencil",message:"Envelope created.",date:new Date((i=this.envelope)===null||i===void 0?void 0:i.created_at)});if(((s=this.envelope)===null||s===void 0?void 0:s.status)==="complete"){a.push({icon:"pencil",message:"Envelope completed.",date:new Date((t=this.envelope)===null||t===void 0?void 0:t.updated_at)})}const l=r.some((e=>e.event==="owner:canceled"));if(((n=this.envelope)===null||n===void 0?void 0:n.status)==="canceled"&&!l){a.push({icon:"pencil",message:"Envelope Canceled.",date:new Date((o=this.envelope)===null||o===void 0?void 0:o.canceled_at)})}r.forEach((e=>{var i;const s=(((i=this.envelope)===null||i===void 0?void 0:i.recipients)||[]).find((i=>i.role_name===e.role_name));const t=v(s);switch(e.event.toLowerCase()){case"recipient:kba_verified":a.push({icon:"key",message:`KBA verification completed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:kba_failed":a.push({icon:"keyslash",message:`KBA verification failed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:id_verified":a.push({icon:"idcard",message:`ID verification completed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:id_failed":a.push({icon:"idcardslash",message:`ID verification failed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:pin_verified":a.push({icon:"pin",message:`PIN verification completed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:pin_failed":a.push({icon:"pinslash",message:`PIN verification failed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:signed":a.push({icon:"gesture",message:`Signed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:declined":a.push({icon:"clear",message:`Declined by ${t}.`,date:new Date(e.created_at)});break;case"recipient:opened":switch(e.event_detail){case"email":case"mail":a.push({icon:"visibility",message:`Opened by ${t}, via email.`,date:new Date(e.created_at)});break;case"sms":a.push({icon:"visibility",message:`Opened by ${t}, via SMS.`,date:new Date(e.created_at)});break;case"in_person_link":a.push({icon:"visibility",message:`Opened by ${t}, via In-person link.`,date:new Date(e.created_at)});break;case"in_app":a.push({icon:"visibility",message:`Opened by ${t}, via dashboard.`,date:new Date(e.created_at)});break;default:a.push({icon:"visibility",message:`Opened by ${t}.`,date:new Date(e.created_at)})}break;case"recipient:submitted":switch(e.event_detail){case"approver":a.push({icon:"check_circle",message:`Approved by ${t}.`,date:new Date(e.created_at)});break;default:a.push({icon:"send",message:`Submitted by ${t}.`,date:new Date(e.created_at)});break}break;case"recipient:prepared":a.push({icon:"send",message:`Prepared by ${t}.`,date:new Date(e.created_at)});break;case"recipient:claimed":if(e.event_detail==="guest"){a.push({icon:"account_circle",message:`${t} claimed the Envelope as a guest.`,date:new Date(e.created_at)})}else if(e.event_detail==="profile"){a.push({icon:"verified_user",message:`${t} claimed the Envelope as a verified user.`,date:new Date(e.created_at)})}break;case"recipient:agreed":a.push({icon:"done",message:`${t} agreed to use electronic records and signatures.`,date:new Date(e.created_at)});break;case"recipient:invited":if(e.event_detail==="sms"){a.push({icon:"textsms",message:`${t} has been invited via SMS.`,date:new Date(e.created_at)})}else{a.push({icon:"mail",message:`${t} has been invited via email.`,date:new Date(e.created_at)})}break;case"recipient:reminder":if(e.event_detail==="sms"){a.push({icon:"textsms",message:`${t} sent a reminder via SMS.`,date:new Date(e.created_at)})}else{a.push({icon:"mail",message:`${t} sent a reminder via email.`,date:new Date(e.created_at)})}break;case"invitation:resent":a.push({icon:"mail",message:`Invitation was resent to ${t}${e.event_detail==="reminder"?" by reminder":""}.`,date:new Date(e.created_at)});break;case"envelope:cc":a.push({icon:"contact_mail",message:`A copy has been sent to ${t}.`,date:new Date(e.created_at)});break;case"recipient:delegated":a.push({icon:"people",message:e.event_detail,date:new Date(e.created_at)});break;case"recipient:updated_info":a.push({icon:"perm_identity",message:e.event_detail,date:new Date(e.created_at)});break;case"owner:updated_recipient_info":a.push({icon:"perm_identity",message:e.event_detail,date:new Date(e.created_at)});break;case"created":a.push({icon:"create",message:`Envelope was created.`,date:new Date(e.created_at)});break;case"completed":a.push({icon:"done_all",message:`Envelope was completed.`,date:new Date(e.created_at)});break;case"envelope:canceled":case"envelope_canceled":case"canceled":case"owner:canceled":a.push({icon:"cancel",message:`Envelope was canceled by the creator.`,date:new Date(e.created_at)});break;case"envelope:expired":a.push({icon:"cancel",message:`Envelope expired.`,date:new Date(e.created_at)});break;case"owner:get_in_person_link":a.push({icon:"link",message:`Owner accessed the In-person link for ${s}.`,date:new Date(e.created_at)});break;default:console.log("[SIDEBAR] Unknown history type",e);break}}));a.sort(((e,i)=>i.date.getTime()-e.date.getTime()));return a}handleToggleReminders(){if(this.remindersEnabled){return this.handleSetReminders(null,null)}else{return this.handleSetReminders(y,3*y)}}handleSetReminders(e,i){console.log("Updating reminders...");this.updatingReminders=true;h(this.endpoint,this.envelopeId,{initial_reminder:e,followup_reminders:i}).then((e=>{console.log("Updated",e);k.updateEnvelope(this.envelopeId,e);this.initialReminder=e.initial_reminder;this.followupReminders=e.followup_reminders;this.remindersEnabled=!!e.initial_reminder;this.updatingReminders=false})).catch((e=>{var i,s,t;console.log("Error updating envelope",e);this.initialReminder=(i=this.envelope)===null||i===void 0?void 0:i.initial_reminder;this.followupReminders=(s=this.envelope)===null||s===void 0?void 0:s.followup_reminders;this.remindersEnabled=!!((t=this.envelope)===null||t===void 0?void 0:t.initial_reminder);this.updatingReminders=false;u(e.response.data.error,{style:"error"})}))}render(){var e,i,a,r,l,d,c,h,x,k,C,V;if(this.loading){return s(t,null)}const B=p(this.endpoint.profile,this.envelope);const E=this.prepareHistoryEntries();const L=((e=this.envelope)===null||e===void 0?void 0:e.status)!=="pending"&&((i=this.envelope)===null||i===void 0?void 0:i.status)!=="in progress";const S=w(this.envelope);return s(t,{class:this.panelOpen?"open":""},s("div",{class:"side-buttons"},s("button",{class:this.activeTab===1?"active":"",onClick:()=>this.setTab(1),innerHTML:z}),s("button",{class:this.activeTab===2?"active":"",onClick:()=>this.setTab(2),innerHTML:M}),s("button",{class:this.activeTab===3?"active":"",onClick:()=>this.setTab(3),innerHTML:D})),this.activeTab===1&&s("div",{class:"content"},s("div",{class:"title"},"Details"),s("div",{class:"label"},"Envelope ID"),s("div",{class:"value"},(a=this.envelope)===null||a===void 0?void 0:a.id),s("div",{class:"label"},"Date Created"),s("div",{class:"value"},o.format(new Date((r=this.envelope)===null||r===void 0?void 0:r.created_at),f)),s("div",{class:"label"},"Last Modified"),s("div",{class:"value"},o.format(new Date((l=this.envelope)===null||l===void 0?void 0:l.updated_at),f)),s("div",{class:"label"},"Status"),s("div",{class:"value"},b((d=this.envelope)===null||d===void 0?void 0:d.status)),s("div",{class:"label"},"Owner ID"),s("div",{class:"value"},(c=this.envelope)===null||c===void 0?void 0:c.profile_id),s("div",{class:"label"},"Owner Name"),s("div",{class:"value"},v((h=this.envelope)===null||h===void 0?void 0:h.profile)),s("div",{class:"label"},"Owner Email"),s("div",{class:"value"},(k=(x=this.envelope)===null||x===void 0?void 0:x.profile)===null||k===void 0?void 0:k.email)),this.activeTab===2&&s("div",{class:"content"},s("div",{class:"title"},"Recipients"),(C=this.envelope)===null||C===void 0?void 0:C.recipients.map(((e,i)=>{const t=m(e,S);const n=e.status!=="submitted";const o=this.canResendRecipient(e);const a=v(e);return s("div",{class:"recipient-detail"},s("div",{class:"recipient-header"},s("div",{class:"recipient-number"},i+1),s("div",{class:"recipient-name"},e.role_name.replace("delegated_to_","Delegated")),s("div",{class:{"recipient-status":true,[e.status]:true}},e.status),B&&!L&&s("verdocs-dropdown",{onOptionSelected:i=>this.handleRecipientAction(e,i.detail.id),options:[{id:"update",label:"Update",disabled:!n},{id:"reminder",label:"Send Reminder",disabled:!o},{id:"inperson",label:"Get In-Person Link",disabled:!t},{id:"reinvite",label:"Re-invite",disabled:!o}]})),s("dic",{class:"recipient-content"},s("div",{class:"recipient-name"},a),s("div",{class:"recipient-name"},e.email),s("div",{class:"recipient-name"},e.phone)))})),B&&s("div",{class:"reminders"},s("div",{class:"form-row"},s("div",{class:"reminders-label"},"Reminders"),s("verdocs-switch",{disabled:L||this.updatingReminders,checked:this.remindersEnabled,onCheckedChange:()=>this.handleToggleReminders()})),this.remindersEnabled&&s(n,null,s("div",{class:"form-row"},"NOTE: Reminders will only be sent for up to 14 days."),s("div",{class:"form-row"},s("div",{class:"form-label"},"Initial Reminder (days):"),s("verdocs-text-input",{placeholder:"In hours...",disabled:L||this.updatingReminders,value:String(Math.floor(this.initialReminder/y)),onBlur:e=>{this.initialReminder=Number(e.target.value)*y;this.handleSetReminders(this.initialReminder,this.followupReminders)}})),s("div",{class:"form-row"},s("div",{class:"form-label"},"Follow-up Reminders:"),s("verdocs-text-input",{placeholder:"In hours...",disabled:L||this.updatingReminders,value:String(Math.floor(this.followupReminders/y)),onBlur:e=>{this.followupReminders=Number(e.target.value)*y;this.handleSetReminders(this.initialReminder,this.followupReminders)}})),s("div",{class:"form-row"},s("div",{class:"form-label"},"Next Reminder:"),s("div",{style:{color:"#dddddd"}},o.format(new Date((V=this.envelope)===null||V===void 0?void 0:V.next_reminder),"P p"))))),B&&s("verdocs-button",{class:"manage-recipients-button",variant:"standard",label:"Cancel Envelope",onClick:()=>this.showCancelDialog=!L,disabled:L})),this.activeTab===3&&s("div",{class:"content"},s("div",{class:"title"},"History"),E.map((e=>s("div",{class:"history-entry"},s("div",{class:"activity-icon",innerHTML:H[e.icon]||e.icon}),s("div",{class:"activity-details"},s("div",{class:"activity-text"},e.message),s("div",{class:"activity-date"},o.format(e.date,f))))))),this.showRecipientDialog&&s("verdocs-envelope-recipient-link",{envelopeId:this.envelopeId,roleName:this.showRecipientDialog,onNext:()=>this.showRecipientDialog=""}),this.showCancelDialog&&s("verdocs-ok-dialog",{heading:"Cancel Envelope?",message:"Are you sure you want to cancel this Envelope? This action cannot be undone.",onNext:()=>{this.showCancelDialog=false;this.handleCancelEnvelope()}}),this.showReinviteDialog&&s("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:()=>{g(this.endpoint,this.envelopeId,this.showReinviteDialog).then((()=>{u("Recipient Reset",{style:"success"});this.showReinviteDialog=""})).catch((e=>{console.log("[SIDEBAR] Error resetting recipient",e);u("Error resetting recipient: "+e.message,{style:"error"});this.showReinviteDialog=""}))}}),this.showUpdateDialog&&s("verdocs-envelope-update-recipient",{envelopeId:this.envelopeId,roleName:this.showUpdateDialog,onNext:e=>{console.log("next",e.detail);if(e.detail.action==="save"){this.handleUpdateRecipient(e.detail.originalRecipient,e.detail.updatedRecipient)}else{this.showUpdateDialog=""}}}))}};V.style=C;export{V as verdocs_envelope_sidebar};
2
+ //# sourceMappingURL=p-b81c87a9.entry.js.map
@@ -0,0 +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 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{a(t.next(e))}catch(e){o(e)}}function l(e){try{a(t["throw"](e))}catch(e){o(e)}}function a(e){e.done?n(e.value):r(e.value).then(s,l)}a((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=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 a([e,i])}}function a(l){if(t)throw new TypeError("Generator is already executing.");while(s&&(s=0,l[0]&&(n=0)),n)try{if(t=1,r&&(o=l[0]&2?r["return"]:l[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;if(r=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++;r=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];r=0}finally{t=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-IELtlxxf.system.js","@verdocs/js-sdk","./p-7Iu0_GGa.system.js","./p-CmnBGerV.system.js"],(function(e){"use strict";var i,n,t,r,o,s,l,a,c,u,f,d;return{setters:[function(e){i=e.r;n=e.c;t=e.h;r=e.H},function(e){o=e.VerdocsEndpoint;s=e.getEnvelope;l=e.getInPersonLink;a=e.getRecipientsWithActions;c=e.recipientCanAct;u=e.formatFullName},function(e){f=e.S},function(e){d=e.S}],execute:function(){var p='@-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 m=e("verdocs_envelope_recipient_summary",function(){function e(e){i(this,e);this.another=n(this,"another");this.view=n(this,"view");this.next=n(this,"next");this.sdkError=n(this,"sdkError");this.envelopeListenerId=null;this.endpoint=o.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 f(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();d.subscribe("envelopes",this.envelopeId,(function(){return s(e.endpoint,e.envelopeId)}),false,(function(i){e.envelope=i;e.loading=false;e.sortEnvelopeRecipients()}));return[2]}))}))};e.prototype.unlistenToEnvelope=function(){if(this.envelopeListenerId){d.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));l(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 t(r,null)}return t(r,null,t("div",{class:"summary-content"},t("h1",{class:"summary-title"},"Recipient Summary"),t("div",{class:"summary-rows"},(((i=this.envelope)===null||i===void 0?void 0:i.recipients)||[]).map((function(i){var n=a(e.envelope);var r=c(i,n);var o=e.links[i.role_name];var s=e.gettingLinks[i.role_name];var l=u(i);return t("div",{class:"summary-recipient"},t("div",{class:"role-name"},i.role_name),t("div",{class:"role-details"},t("div",{class:"role-info"},t("div",{class:"role-full-name"},l," (",i.email||i.phone,")"),r&&!o&&t("verdocs-button",{size:"small",variant:"outline",label:"Get Link",disabled:s,onClick:function(){return e.getLink(i)}})),o&&t("div",{class:"link-wrapper"},t("div",{class:"link"},o),t("verdocs-button",{size:"small",variant:"outline",label:"Copy",onClick:function(){return e.copyLink(o)}}))))}))),(this.canSendAnother||this.canView||this.canDone)&&t("div",{class:"buttons"},this.canSendAnother&&t("verdocs-button",{size:"small",label:"Send Another",onClick:function(i){return e.handleAnother(i)}}),this.canView&&t("verdocs-button",{size:"small",label:"View Now",onClick:function(i){return e.handleView(i)}}),this.canDone&&t("verdocs-button",{size:"small",label:"Done",onClick:function(i){return e.handleDone(i)}}))))};return e}());m.style=p}}}));
2
+ //# sourceMappingURL=p-b954399f.system.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["System","register","exports","registerInstance","createEvent","h","Host","VerdocsEndpoint","getEnvelope","getInPersonLink","getRecipientsWithActions","recipientCanAct","formatFullName","SDKError","Store","setters","module","r","c","H","S","execute","verdocsEnvelopeRecipientSummaryCss","VerdocsEnvelopeRecipientSummary","class_1","hostRef","this","another","view","next","sdkError","envelopeListenerId","endpoint","getDefault","envelopeId","canSendAnother","canView","canDone","recipientStatusIcons","containerId","concat","Math","random","toString","substring","gettingLinks","links","loading","envelope","prototype","componentWillLoad","loadSession","console","log","session","listenToEnvelope","e","_a","emit","message","_b","response","status","_c","data","disconnectedCallback","unlistenToEnvelope","subscribe","_this","sortEnvelopeRecipients","store","delListener","recipients","sort","a","b","sequence","order","handleAnother","preventDefault","handleView","handleDone","copyLink","link","navigator","clipboard","writeText","then","catch","warn","getLink","recipient","__assign","_d","role_name","envelope_id","_e","render","class","map","recipientsWithActions","showLinkButton","gettingLink","fullName","email","phone","size","variant","label","disabled","onClick","style"],"sources":["module.ts"],"mappings":"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","ignoreList":[]}
1
+ {"version":3,"names":["System","register","exports","registerInstance","createEvent","h","Host","VerdocsEndpoint","getEnvelope","getInPersonLink","getRecipientsWithActions","recipientCanAct","formatFullName","SDKError","Store","setters","module","r","c","H","S","execute","verdocsEnvelopeRecipientSummaryCss","VerdocsEnvelopeRecipientSummary","class_1","hostRef","this","another","view","next","sdkError","envelopeListenerId","endpoint","getDefault","envelopeId","canSendAnother","canView","canDone","recipientStatusIcons","containerId","concat","Math","random","toString","substring","gettingLinks","links","loading","envelope","prototype","componentWillLoad","loadSession","console","log","session","listenToEnvelope","e","_a","emit","message","_b","response","status","_c","data","disconnectedCallback","unlistenToEnvelope","subscribe","_this","sortEnvelopeRecipients","store","delListener","recipients","sort","a","b","sequence","order","handleAnother","preventDefault","handleView","handleDone","copyLink","link","navigator","clipboard","writeText","then","catch","warn","getLink","recipient","__assign","_d","role_name","envelope_id","_e","render","class","map","recipientsWithActions","showLinkButton","gettingLink","fullName","email","phone","size","variant","label","disabled","onClick","style"],"sources":["module.ts"],"mappings":"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","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var i,r=1,t=arguments.length;r<t;r++){i=arguments[r];for(var s in i)if(Object.prototype.hasOwnProperty.call(i,s))e[s]=i[s]}return e};return __assign.apply(this,arguments)};var __spreadArray=this&&this.__spreadArray||function(e,i,r){if(r||arguments.length===2)for(var t=0,s=i.length,o;t<s;t++){if(o||!(t in i)){if(!o)o=Array.prototype.slice.call(i,0,t);o[t]=i[t]}}return e.concat(o||Array.prototype.slice.call(i))};System.register(["./p-gMXuliDq.system.js","@verdocs/js-sdk","./p-CYrmyWmF.system.js","./p-DzZgjFK8.system.js","./p-DmF0GSqu.system.js","./p-CgZsFvRv.system.js"],(function(e){"use strict";var i,r,t,s,o,n,a,c;return{setters:[function(e){i=e.r;r=e.c;t=e.h;s=e.H;o=e.g},function(e){n=e.integerSequence},function(e){a=e.b},function(e){c=e.c},null,null],execute:function(){var l='@-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-pagination{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;font-family:"Inter", "Barlow", sans-serif}verdocs-pagination .page-button{height:38px;display:-ms-flexbox;display:flex;-ms-flex:0 0 38px;flex:0 0 38px;cursor:pointer;font-size:16px;font-weight:600;border-radius:4px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:#33364b;border:1px solid #654dcb}verdocs-pagination .page-button svg{width:18px;height:18px}verdocs-pagination .page-button.selected{cursor:default;color:#ffffff;background:#654dcb}verdocs-pagination .ellipsis{width:38px;height:38px;display:-ms-flexbox;display:flex;-ms-flex:0 0 38px;flex:0 0 38px;line-height:32px;-ms-flex-pack:center;justify-content:center;color:#33364b}';var d='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M18.75 19.5l-7.5-7.5 7.5-7.5m-6 15L5.25 12l7.5-7.5" /></svg>';var f='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M11.25 4.5l7.5 7.5-7.5 7.5m-6-15l7.5 7.5-7.5 7.5" /></svg>';var u=5;var b=function(e){var i=e.page,r=e.selected,s=e.onClick;var o;if(i==="first"){o=d}else if(i==="last"){o=f}else{o=String(i+1)}return t("div",{class:"page-button ".concat(i===r?"selected":""),onClick:function(){return s(i)},innerHTML:o})};var p=e("verdocs_pagination",function(){function e(e){i(this,e);this.selectPage=r(this,"selectPage");this.selectedPage=0;this.itemCount=1;this.perPage=10}e.prototype.handleSelectPage=function(e){var i;this.selectedPage=e;(i=this.selectPage)===null||i===void 0?void 0:i.emit({selectedPage:e})};e.prototype.render=function(){var e=this;var i=Math.max(0,this.selectedPage-2);var r=this.itemCount>0?Math.ceil(this.itemCount/this.perPage):0;var o=n(0,Math.ceil(this.itemCount/this.perPage)).slice(i,i+u);return t(s,{key:"be5c85f6d219c3589c3ef508e2305cbebea4f320"},this.selectedPage>0&&t(b,{key:"de0c9f90c0af7b77f6d9112c7e2d43978511d0d7",page:"first",selected:this.selectedPage,onClick:function(){return e.handleSelectPage(0)}}),i>0&&t("div",{key:"f89043de5ca509613e85e3dc00abc8bd3450be6d",class:"ellipsis"},"..."),o.map((function(i){return t(b,{page:i,selected:e.selectedPage,onClick:function(i){return e.handleSelectPage(+i)}})})),this.selectedPage<r-1&&t("div",{key:"2ddedd7acfab567d550e77bc9471f35114d427de",class:"ellipsis"},"..."),this.selectedPage<r-1&&t(b,{key:"64be509651e68b79bc0f1084eb2e0204d769dfef",page:"last",selected:this.selectedPage,onClick:function(){return e.handleSelectPage(r-1)}}))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());p.style=l;var h='@-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-quick-filter{position:relative;font-family:"Inter", "Barlow", sans-serif}verdocs-quick-filter .control{outline:0;height:34px;display:-ms-flexbox;display:flex;cursor:pointer;border-radius:4px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-webkit-box-sizing:border-box;box-sizing:border-box;background:#ffffff;-webkit-transition:all 100ms ease 0s;transition:all 100ms ease 0s;border:1px solid #cccccc}verdocs-quick-filter .title{padding:0 8px;font-size:14px;max-width:100%;overflow:hidden;color:#33364b;white-space:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;text-overflow:ellipsis}verdocs-quick-filter .title .prefix{display:inline;font-weight:700;margin:0 7px 0 0;color:#4c56cb}verdocs-quick-filter .arrow{width:32px;height:32px;border:none;outline:none;cursor:pointer;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;background:#ffffff;-webkit-transition:color 150ms ease 0s;transition:color 150ms ease 0s}verdocs-quick-filter .arrow svg{-webkit-transition:0.3s;transition:0.3s;fill:#cccccc}verdocs-quick-filter .separator{width:1px;display:block;margin-top:8px;margin-bottom:8px;-ms-flex-item-align:stretch;align-self:stretch;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#cccccc}verdocs-quick-filter .items{display:none;z-index:10000;position:absolute;border-radius:4px;background:#ffffff;-webkit-box-shadow:rgba(0, 0, 0, 0.1) 0 0 0 1px, rgba(0, 0, 0, 0.1) 0 4px 11px;box-shadow:rgba(0, 0, 0, 0.1) 0 0 0 1px, rgba(0, 0, 0, 0.1) 0 4px 11px}verdocs-quick-filter .items[data-show]{display:block}verdocs-quick-filter .option{width:100%;border:none;display:block;font-size:14px;text-align:left;background:none;padding:10px 20px;color:#1e2031}verdocs-quick-filter .option:hover{cursor:pointer;background:rgba(76, 86, 203, 0.2470588235)}verdocs-quick-filter .option[disabled]{color:#aaaaaa}verdocs-quick-filter .option[disabled]:hover{cursor:inherit;background:transparent;color:#aaaaaa}verdocs-quick-filter.open .items{display:block}verdocs-quick-filter.open .arrow svg{-webkit-transform:scaleY(-1);transform:scaleY(-1)}';var v='<svg height="20" width="20" viewBox="0 0 20 20" aria-hidden="true" focusable="false" class="css-8mmkcg"><path d="M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"></path></svg>';var g=e("verdocs_quick_filter",function(){function e(e){i(this,e);this.optionSelected=r(this,"optionSelected");this.options=[];this.label="Filter";this.value="";this.placeholder="Select...";this.clickListenerSymbol=new AbortController}e.prototype.componentDidLoad=function(){this.popper=c(this.dropdownButton,this.dropdownMenu,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[-1,14]}}]});window.addEventListener("click",this.clickListener.bind(this),{signal:this.clickListenerSymbol.signal})};e.prototype.disconnectedCallback=function(){this.clickListenerSymbol.abort()};e.prototype.clickListener=function(e){var i=!(e.target==this.el||this.el.contains(e.target));if(i){this.hide()}};e.prototype.handleSelectOption=function(e,i){e.stopPropagation();this.optionSelected.emit(i);this.value=i.value;this.hide()};e.prototype.showDropdown=function(){var e,i;this.open=true;this.dropdownMenu.setAttribute("data-show","");this.dropdownMenu.removeAttribute("aria-hidden");(e=this.popper)===null||e===void 0?void 0:e.setOptions((function(e){return __assign(__assign({},e),{modifiers:__spreadArray(__spreadArray([],e.modifiers,true),[{name:"eventListeners",enabled:true}],false)})})).catch((function(){}));(i=this.popper)===null||i===void 0?void 0:i.update().catch((function(){}))};e.prototype.handleHideDropdown=function(e){var i,r;if(((i=e===null||e===void 0?void 0:e.target)===null||i===void 0?void 0:i.localName)==="button"&&((r=e===null||e===void 0?void 0:e.target)===null||r===void 0?void 0:r.className)==="arrow"){return}this.hide()};e.prototype.toggleDropdown=function(e){e.stopPropagation();if(this.open){this.hide()}else{this.showDropdown()}};e.prototype.hide=function(){var e;this.open=false;this.dropdownMenu.removeAttribute("data-show");this.dropdownMenu.setAttribute("aria-hidden","true");(e=this.popper)===null||e===void 0?void 0:e.setOptions((function(e){return __assign(__assign({},e),{modifiers:__spreadArray(__spreadArray([],e.modifiers,true),[{name:"eventListeners",enabled:false}],false)})})).catch((function(){}))};e.prototype.render=function(){var e=this;var i,r,o;var n=(i=this.options)===null||i===void 0?void 0:i.find((function(i){return i.value===e.value}));var c=(r=this.options)===null||r===void 0?void 0:r.reduce((function(e,i){return e.label.length>i.label.length?e:i}));var l=a((c===null||c===void 0?void 0:c.label)||"FILLER","14px Inter, Barlow, sans-serif");var d=a(this.label,"14px Inter, Barlow, sans-serif");var f="".concat(l+d+40,"px");return t(s,{key:"322a8f4a3843cec17261ac8a20004db1a6a2d8d7",class:{open:!!this.open},style:{minWidth:f,display:"inline-block"}},t("div",{key:"1491f6b3986ccd0764a4dd5bc03ad66fc5d4b7b2",class:"control",onClick:function(i){return e.toggleDropdown(i)},onBlur:function(i){return e.handleHideDropdown(i)}},t("div",{key:"485f1f741ced9c8af1a5eaffffbe87448b3337b4",class:"title",ref:function(i){return e.dropdownButton=i}},t("span",{key:"01aefe07e5802cb69055ac7996fdf1fd1b58d5a5",class:"prefix"},this.label,":"),n?n.label:this.placeholder),t("div",{key:"a5c2a36da359f121a418299018fe6e424f3186b8",style:{flex:"1"}}),t("div",{key:"c1f3ec97d938fe36d90e7047838c67238a4125c4",class:"separator"}),t("div",{key:"86c1ebdabf1b7fcf600f48d3dda1eb33a2184789",class:"arrow",innerHTML:v,"aria-label":"Open Menu"})),t("div",{key:"b4a49186874d81758eee6768f95b136378620439",class:"items","aria-hidden":!this.open,ref:function(i){return e.dropdownMenu=i},style:{minWidth:f}},(o=this.options)===null||o===void 0?void 0:o.map((function(i){return i.label?t("button",{onClick:function(r){return e.handleSelectOption(r,i)},class:"option ".concat(i.value===e.value?"selected":""),disabled:i.disabled},i.label):t("div",{class:"separator"})}))))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());g.style=h}}}));
2
- //# sourceMappingURL=p-af444549.system.entry.js.map
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var i,r=1,t=arguments.length;r<t;r++){i=arguments[r];for(var s in i)if(Object.prototype.hasOwnProperty.call(i,s))e[s]=i[s]}return e};return __assign.apply(this,arguments)};var __spreadArray=this&&this.__spreadArray||function(e,i,r){if(r||arguments.length===2)for(var t=0,s=i.length,o;t<s;t++){if(o||!(t in i)){if(!o)o=Array.prototype.slice.call(i,0,t);o[t]=i[t]}}return e.concat(o||Array.prototype.slice.call(i))};System.register(["./p-IELtlxxf.system.js","@verdocs/js-sdk","./p-CYrmyWmF.system.js","./p-DzZgjFK8.system.js","./p-DmF0GSqu.system.js","./p-CgZsFvRv.system.js"],(function(e){"use strict";var i,r,t,s,o,n,a,c;return{setters:[function(e){i=e.r;r=e.c;t=e.h;s=e.H;o=e.g},function(e){n=e.integerSequence},function(e){a=e.b},function(e){c=e.c},null,null],execute:function(){var l='@-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-pagination{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;font-family:"Inter", "Barlow", sans-serif}verdocs-pagination .page-button{height:38px;display:-ms-flexbox;display:flex;-ms-flex:0 0 38px;flex:0 0 38px;cursor:pointer;font-size:16px;font-weight:600;border-radius:4px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:#33364b;border:1px solid #654dcb}verdocs-pagination .page-button svg{width:18px;height:18px}verdocs-pagination .page-button.selected{cursor:default;color:#ffffff;background:#654dcb}verdocs-pagination .ellipsis{width:38px;height:38px;display:-ms-flexbox;display:flex;-ms-flex:0 0 38px;flex:0 0 38px;line-height:32px;-ms-flex-pack:center;justify-content:center;color:#33364b}';var d='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M18.75 19.5l-7.5-7.5 7.5-7.5m-6 15L5.25 12l7.5-7.5" /></svg>';var f='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M11.25 4.5l7.5 7.5-7.5 7.5m-6-15l7.5 7.5-7.5 7.5" /></svg>';var u=5;var b=function(e){var i=e.page,r=e.selected,s=e.onClick;var o;if(i==="first"){o=d}else if(i==="last"){o=f}else{o=String(i+1)}return t("div",{class:"page-button ".concat(i===r?"selected":""),onClick:function(){return s(i)},innerHTML:o})};var p=e("verdocs_pagination",function(){function e(e){i(this,e);this.selectPage=r(this,"selectPage");this.selectedPage=0;this.itemCount=1;this.perPage=10}e.prototype.handleSelectPage=function(e){var i;this.selectedPage=e;(i=this.selectPage)===null||i===void 0?void 0:i.emit({selectedPage:e})};e.prototype.render=function(){var e=this;var i=Math.max(0,this.selectedPage-2);var r=this.itemCount>0?Math.ceil(this.itemCount/this.perPage):0;var o=n(0,Math.ceil(this.itemCount/this.perPage)).slice(i,i+u);return t(s,{key:"be5c85f6d219c3589c3ef508e2305cbebea4f320"},this.selectedPage>0&&t(b,{key:"de0c9f90c0af7b77f6d9112c7e2d43978511d0d7",page:"first",selected:this.selectedPage,onClick:function(){return e.handleSelectPage(0)}}),i>0&&t("div",{key:"f89043de5ca509613e85e3dc00abc8bd3450be6d",class:"ellipsis"},"..."),o.map((function(i){return t(b,{page:i,selected:e.selectedPage,onClick:function(i){return e.handleSelectPage(+i)}})})),this.selectedPage<r-1&&t("div",{key:"2ddedd7acfab567d550e77bc9471f35114d427de",class:"ellipsis"},"..."),this.selectedPage<r-1&&t(b,{key:"64be509651e68b79bc0f1084eb2e0204d769dfef",page:"last",selected:this.selectedPage,onClick:function(){return e.handleSelectPage(r-1)}}))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());p.style=l;var h='@-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-quick-filter{position:relative;font-family:"Inter", "Barlow", sans-serif}verdocs-quick-filter .control{outline:0;height:34px;display:-ms-flexbox;display:flex;cursor:pointer;border-radius:4px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-webkit-box-sizing:border-box;box-sizing:border-box;background:#ffffff;-webkit-transition:all 100ms ease 0s;transition:all 100ms ease 0s;border:1px solid #cccccc}verdocs-quick-filter .title{padding:0 8px;font-size:14px;max-width:100%;overflow:hidden;color:#33364b;white-space:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;text-overflow:ellipsis}verdocs-quick-filter .title .prefix{display:inline;font-weight:700;margin:0 7px 0 0;color:#4c56cb}verdocs-quick-filter .arrow{width:32px;height:32px;border:none;outline:none;cursor:pointer;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;background:#ffffff;-webkit-transition:color 150ms ease 0s;transition:color 150ms ease 0s}verdocs-quick-filter .arrow svg{-webkit-transition:0.3s;transition:0.3s;fill:#cccccc}verdocs-quick-filter .separator{width:1px;display:block;margin-top:8px;margin-bottom:8px;-ms-flex-item-align:stretch;align-self:stretch;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#cccccc}verdocs-quick-filter .items{display:none;z-index:10000;position:absolute;border-radius:4px;background:#ffffff;-webkit-box-shadow:rgba(0, 0, 0, 0.1) 0 0 0 1px, rgba(0, 0, 0, 0.1) 0 4px 11px;box-shadow:rgba(0, 0, 0, 0.1) 0 0 0 1px, rgba(0, 0, 0, 0.1) 0 4px 11px}verdocs-quick-filter .items[data-show]{display:block}verdocs-quick-filter .option{width:100%;border:none;display:block;font-size:14px;text-align:left;background:none;padding:10px 20px;color:#1e2031}verdocs-quick-filter .option:hover{cursor:pointer;background:rgba(76, 86, 203, 0.2470588235)}verdocs-quick-filter .option[disabled]{color:#aaaaaa}verdocs-quick-filter .option[disabled]:hover{cursor:inherit;background:transparent;color:#aaaaaa}verdocs-quick-filter.open .items{display:block}verdocs-quick-filter.open .arrow svg{-webkit-transform:scaleY(-1);transform:scaleY(-1)}';var v='<svg height="20" width="20" viewBox="0 0 20 20" aria-hidden="true" focusable="false" class="css-8mmkcg"><path d="M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"></path></svg>';var g=e("verdocs_quick_filter",function(){function e(e){i(this,e);this.optionSelected=r(this,"optionSelected");this.options=[];this.label="Filter";this.value="";this.placeholder="Select...";this.clickListenerSymbol=new AbortController}e.prototype.componentDidLoad=function(){this.popper=c(this.dropdownButton,this.dropdownMenu,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[-1,14]}}]});window.addEventListener("click",this.clickListener.bind(this),{signal:this.clickListenerSymbol.signal})};e.prototype.disconnectedCallback=function(){this.clickListenerSymbol.abort()};e.prototype.clickListener=function(e){var i=!(e.target==this.el||this.el.contains(e.target));if(i){this.hide()}};e.prototype.handleSelectOption=function(e,i){e.stopPropagation();this.optionSelected.emit(i);this.value=i.value;this.hide()};e.prototype.showDropdown=function(){var e,i;this.open=true;this.dropdownMenu.setAttribute("data-show","");this.dropdownMenu.removeAttribute("aria-hidden");(e=this.popper)===null||e===void 0?void 0:e.setOptions((function(e){return __assign(__assign({},e),{modifiers:__spreadArray(__spreadArray([],e.modifiers,true),[{name:"eventListeners",enabled:true}],false)})})).catch((function(){}));(i=this.popper)===null||i===void 0?void 0:i.update().catch((function(){}))};e.prototype.handleHideDropdown=function(e){var i,r;if(((i=e===null||e===void 0?void 0:e.target)===null||i===void 0?void 0:i.localName)==="button"&&((r=e===null||e===void 0?void 0:e.target)===null||r===void 0?void 0:r.className)==="arrow"){return}this.hide()};e.prototype.toggleDropdown=function(e){e.stopPropagation();if(this.open){this.hide()}else{this.showDropdown()}};e.prototype.hide=function(){var e;this.open=false;this.dropdownMenu.removeAttribute("data-show");this.dropdownMenu.setAttribute("aria-hidden","true");(e=this.popper)===null||e===void 0?void 0:e.setOptions((function(e){return __assign(__assign({},e),{modifiers:__spreadArray(__spreadArray([],e.modifiers,true),[{name:"eventListeners",enabled:false}],false)})})).catch((function(){}))};e.prototype.render=function(){var e=this;var i,r,o;var n=(i=this.options)===null||i===void 0?void 0:i.find((function(i){return i.value===e.value}));var c=(r=this.options)===null||r===void 0?void 0:r.reduce((function(e,i){return e.label.length>i.label.length?e:i}));var l=a((c===null||c===void 0?void 0:c.label)||"FILLER","14px Inter, Barlow, sans-serif");var d=a(this.label,"14px Inter, Barlow, sans-serif");var f="".concat(l+d+40,"px");return t(s,{key:"322a8f4a3843cec17261ac8a20004db1a6a2d8d7",class:{open:!!this.open},style:{minWidth:f,display:"inline-block"}},t("div",{key:"1491f6b3986ccd0764a4dd5bc03ad66fc5d4b7b2",class:"control",onClick:function(i){return e.toggleDropdown(i)},onBlur:function(i){return e.handleHideDropdown(i)}},t("div",{key:"485f1f741ced9c8af1a5eaffffbe87448b3337b4",class:"title",ref:function(i){return e.dropdownButton=i}},t("span",{key:"01aefe07e5802cb69055ac7996fdf1fd1b58d5a5",class:"prefix"},this.label,":"),n?n.label:this.placeholder),t("div",{key:"a5c2a36da359f121a418299018fe6e424f3186b8",style:{flex:"1"}}),t("div",{key:"c1f3ec97d938fe36d90e7047838c67238a4125c4",class:"separator"}),t("div",{key:"86c1ebdabf1b7fcf600f48d3dda1eb33a2184789",class:"arrow",innerHTML:v,"aria-label":"Open Menu"})),t("div",{key:"b4a49186874d81758eee6768f95b136378620439",class:"items","aria-hidden":!this.open,ref:function(i){return e.dropdownMenu=i},style:{minWidth:f}},(o=this.options)===null||o===void 0?void 0:o.map((function(i){return i.label?t("button",{onClick:function(r){return e.handleSelectOption(r,i)},class:"option ".concat(i.value===e.value?"selected":""),disabled:i.disabled},i.label):t("div",{class:"separator"})}))))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());g.style=h}}}));
2
+ //# sourceMappingURL=p-ba37926e.system.entry.js.map
@@ -0,0 +1,2 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,i,n){function o(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function c(t){try{s(n.next(t))}catch(t){r(t)}}function a(t){try{s(n["throw"](t))}catch(t){r(t)}}function s(t){t.done?i(t.value):o(t.value).then(c,a)}s((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,o,r,c=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return c.next=a(0),c["throw"]=a(1),c["return"]=a(2),typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function a(t){return function(e){return s([t,e])}}function s(a){if(n)throw new TypeError("Generator is already executing.");while(c&&(c=0,a[0]&&(i=0)),i)try{if(n=1,o&&(r=a[0]&2?o["return"]:a[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;if(o=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;o=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){i.label=a[1];break}if(a[0]===6&&i.label<r[1]){i.label=r[1];r=a;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(a);break}if(r[2])i.ops.pop();i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t];o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-IELtlxxf.system.js","./p-C06jLDFm.system.js","./p-CrzDCQEM.system.js","./p-Bzy18UgU.system.js"],(function(t){"use strict";var e,i,n,o,r,c,a;return{setters:[function(t){e=t.r;i=t.h;n=t.H;o=t.g},function(t){r=t.A;c=t.l},function(t){a=t.V},null],execute:function(){var s='@-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-text-input{font-family:"Inter", "Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0 0 10px 0;display:block}verdocs-text-input .input-element{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #707ae5;border-radius:4px;background:#ffffff;color:#000;width:100%;font-size:16px;height:34px;padding:0 9px;outline:none}verdocs-text-input .input-element:disabled{cursor:not-allowed;background:#aeb4bf;border:1px solid #33364b}verdocs-text-input .input-element::-webkit-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-moz-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:focus{outline:1px solid #7d88ff}verdocs-text-input .input-label{display:block;color:#555570;font-weight:700;font-size:14px;margin:0 0 4px 0}verdocs-text-input .required{color:red;margin-left:2px;display:inline-block}verdocs-text-input [data-lastpass-icon-root]{display:none !important}verdocs-text-input .input-container{position:relative}verdocs-text-input .clear{top:7px;right:5px;width:18px;height:18px;fill:#cccccc;position:absolute}verdocs-text-input .clear:hover{fill:#720101;cursor:pointer}verdocs-text-input .copy{top:7px;right:5px;width:18px;height:18px;fill:#cccccc;position:absolute}verdocs-text-input .copy:hover{fill:#654dcb;cursor:pointer}verdocs-text-input .toggle-pw{top:5px;right:7px;width:18px;height:18px;stroke:#cccccc;position:absolute}verdocs-text-input .toggle-pw:hover{fill:#654dcb;cursor:pointer}verdocs-text-input.clearable .input-element,verdocs-text-input.copyable .input-element{padding-right:32px}';var u=t("verdocs_date_input",function(){function t(t){e(this,t);this.picker=null;this.value="";this.label="";this.placeholder="";this.helpText="";this.disabled=false;this.required=false;this.showingPw=false;this.focused=false;this.containerId="verdocs-date-input-".concat(Math.random().toString(36).substring(2,11))}t.prototype.focusField=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){this.focused=true;(t=this.picker)===null||t===void 0?void 0:t.show();setTimeout((function(){e.focused=false}),500);return[2]}))}))};t.prototype.componentDidLoad=function(){var t=this;this.picker=new r("#".concat(this.containerId),{locale:c,isMobile:true,autoClose:true,onShow:function(){return t.focused=true},onHide:function(){return t.focused=false},onSelect:function(e){var i=e.date,n=e.formattedDate;var o=new CustomEvent("input",{detail:{date:i,formattedDate:n}});t.hostEl.dispatchEvent(o)}})};t.prototype.copyToClipboard=function(){this.inputEl.select();navigator.clipboard.writeText(this.value).then((function(){return a("Copied!")})).catch((function(t){return console.log("Error copying to clipboard",t)}))};t.prototype.render=function(){var t=this;return i(n,{key:"467efdebf394aca2734bce2755e10b84638fe5a4",class:"input-field"},i("label",{key:"8dc6200b52f0d97f7360c3856056eb5d85c6d299"},this.label&&i("div",{key:"006018a6ec21a7780b78686feecf09f50357a871",class:"input-label"},this.label+":",this.required&&i("span",{key:"44882599b166ed99a3f3abb3276f03cf7c3702cc",class:"required"},"*")),i("div",{key:"390990d7c2e9132949e7af69fcd464f95b275b21",class:"input-container"},i("input",{key:"4324380a6c31b299f0f1ef0081043d8fe404e448",type:"text",value:this.value,required:this.required,class:"input-element","data-lpignore":"true",id:this.containerId,disabled:this.disabled,placeholder:this.placeholder,ref:function(e){return t.inputEl=e},onInput:function(e){return t.value=e.target.value}})),this.helpText&&i("verdocs-help-icon",{key:"ddd928e400e4fe83d0ffb2e6fc34eddff488fad1",text:this.helpText})))};Object.defineProperty(t.prototype,"hostEl",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());u.style=s}}}));
2
+ //# sourceMappingURL=p-bcad2169.system.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["System","register","exports","registerInstance","h","Host","getElement","AirDatepicker","localeEn","VerdocsToast","setters","module","r","H","g","A","l","V","execute","verdocsDateInputCss","VerdocsDateInput","class_1","hostRef","this","picker","value","label","placeholder","helpText","disabled","required","showingPw","focused","containerId","concat","Math","random","toString","substring","prototype","focusField","_a","show","setTimeout","_this","componentDidLoad","locale","isMobile","autoClose","onShow","onHide","onSelect","_b","date","formattedDate","event","CustomEvent","detail","hostEl","dispatchEvent","copyToClipboard","inputEl","select","navigator","clipboard","writeText","then","catch","e","console","log","render","key","class","type","id","ref","el","onInput","target","text","Object","defineProperty","style"],"sources":["module.ts"],"mappings":"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","ignoreList":[]}
1
+ {"version":3,"names":["System","register","exports","registerInstance","h","Host","getElement","AirDatepicker","localeEn","VerdocsToast","setters","module","r","H","g","A","l","V","execute","verdocsDateInputCss","VerdocsDateInput","class_1","hostRef","this","picker","value","label","placeholder","helpText","disabled","required","showingPw","focused","containerId","concat","Math","random","toString","substring","prototype","focusField","_a","show","setTimeout","_this","componentDidLoad","locale","isMobile","autoClose","onShow","onHide","onSelect","_b","date","formattedDate","event","CustomEvent","detail","hostEl","dispatchEvent","copyToClipboard","inputEl","select","navigator","clipboard","writeText","then","catch","e","console","log","render","key","class","type","id","ref","el","onInput","target","text","Object","defineProperty","style"],"sources":["module.ts"],"mappings":"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","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as o,h as e}from"./p-C05sDUVN.js";const t='@-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-toggle{font-family:"Inter", "Barlow", sans-serif}verdocs-toggle .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#f5f5fa}verdocs-toggle .label{font-size:24px;font-weight:700;color:#33354c;-ms-flex-item-align:center;align-self:center;margin-right:27px;font-family:sans-serif}verdocs-toggle .buttons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}verdocs-toggle .buttons button{width:60px;height:60px;border:2px solid #654dcb;border-radius:5px;cursor:pointer}verdocs-toggle .buttons button:not(:last-child){margin-right:11px}verdocs-toggle .buttons svg{width:30px;height:30px}verdocs-toggle .buttons button:hover{background-color:#654dcb;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .buttons button:hover svg{fill:#f5f5fa;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected{background-color:#707ae5;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected svg{fill:#ffffff;-webkit-transition:0.25s;transition:0.25s}';const r=class{constructor(e){o(this,e);this.selectedOption=0}componentWillLoad(){var o;console.log("verdocs-toggle componentWillLoad",this.options);this.selectedOption=((o=this.options)===null||o===void 0?void 0:o.defaultSelection)||0}render(){return e("div",{key:"31aac06c36d64cec8c297593fbf81cbf53dba179",class:"container"},e("span",{key:"b289e9a9d8081c64542bdf8c1c98c315cef22a9a",class:"label"},`${this.options.label}:`),e("div",{key:"5b6de07895d3c2f871d254dbfd6f7d2034128b77",class:"buttons"},this.options.buttons.map(((o,t)=>e("button",{id:o.id,key:o.id,innerHTML:o.icon,class:t===this.selectedOption?"selected":"",onClick:()=>{console.log("clicked",t);this.selectedOption=t}})))))}};r.style=t;export{r as verdocs_toggle};
2
- //# sourceMappingURL=p-29b12c84.entry.js.map
1
+ import{r as o,h as e}from"./p-DjAHH4ih.js";const t='@-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-toggle{font-family:"Inter", "Barlow", sans-serif}verdocs-toggle .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#f5f5fa}verdocs-toggle .label{font-size:24px;font-weight:700;color:#33354c;-ms-flex-item-align:center;align-self:center;margin-right:27px;font-family:sans-serif}verdocs-toggle .buttons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}verdocs-toggle .buttons button{width:60px;height:60px;border:2px solid #654dcb;border-radius:5px;cursor:pointer}verdocs-toggle .buttons button:not(:last-child){margin-right:11px}verdocs-toggle .buttons svg{width:30px;height:30px}verdocs-toggle .buttons button:hover{background-color:#654dcb;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .buttons button:hover svg{fill:#f5f5fa;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected{background-color:#707ae5;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected svg{fill:#ffffff;-webkit-transition:0.25s;transition:0.25s}';const r=class{constructor(e){o(this,e);this.selectedOption=0}componentWillLoad(){var o;console.log("verdocs-toggle componentWillLoad",this.options);this.selectedOption=((o=this.options)===null||o===void 0?void 0:o.defaultSelection)||0}render(){return e("div",{key:"31aac06c36d64cec8c297593fbf81cbf53dba179",class:"container"},e("span",{key:"b289e9a9d8081c64542bdf8c1c98c315cef22a9a",class:"label"},`${this.options.label}:`),e("div",{key:"5b6de07895d3c2f871d254dbfd6f7d2034128b77",class:"buttons"},this.options.buttons.map(((o,t)=>e("button",{id:o.id,key:o.id,innerHTML:o.icon,class:t===this.selectedOption?"selected":"",onClick:()=>{console.log("clicked",t);this.selectedOption=t}})))))}};r.style=t;export{r as verdocs_toggle};
2
+ //# sourceMappingURL=p-c137b66c.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as a,c as o,h as r,H as e}from"./p-C05sDUVN.js";const c='@-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-table{width:100%;display:block;margin:0 0 10px 0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:"Inter", "Barlow", sans-serif}verdocs-table .table-wrapper{margin:10px 0;padding:0}verdocs-table .table{width:100%;border:none;border-collapse:collapse}verdocs-table .row.data-row{border:1px solid #d4d4d8;background-color:#ffffff}verdocs-table .header-col{color:#5c6575;font-weight:600;text-align:left;padding:8px 16px}verdocs-table .data-col{font-weight:400;padding:8px 16px}';const d=class{constructor(r){a(this,r);this.colHeaderClick=o(this,"colHeaderClick");this.rowClick=o(this,"rowClick");this.columns=[];this.data=[]}render(){return r(e,{key:"027b0578ef1ddfcc704178f803bf086bbe1c15d4",class:"table-wrapper"},r("table",{key:"10ddbad54ffc0f292a1a351d7aad7134ade3a7dc",class:"table"},r("thead",{key:"9ca47afa590f59634f8c781f7a653ca6352428fa"},r("tr",{key:"a3f020abcf70a5f7547ee970c8f298e44b31ca30",class:"row header-row"},this.columns.map(((a,o)=>r("th",{class:`col header-col col-${o} col-${a.id}`,onClick:()=>{var o;return(o=this.colHeaderClick)===null||o===void 0?void 0:o.emit({col:a})},innerHTML:a.renderHeader?a.renderHeader(a):a.header||a.id}))))),r("tbody",{key:"ed8bba8eb08a27a632483da969c00c6dab46f849"},this.data.map((a=>r("tr",{class:"row data-row",onClick:()=>{var o;return(o=this.rowClick)===null||o===void 0?void 0:o.emit({row:a})}},this.columns.map(((o,e)=>o.renderCell?r("td",{class:`col data-col col-${e} col-${o.id}`,innerHTML:o.renderCell(o,a)}):r("td",{class:`col data-col col-${e} col-${o.id}`},a[o.id])))))))))}};d.style=c;export{d as verdocs_table};
2
- //# sourceMappingURL=p-0eab8901.entry.js.map
1
+ import{r as a,c as o,h as r,H as e}from"./p-DjAHH4ih.js";const c='@-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-table{width:100%;display:block;margin:0 0 10px 0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:"Inter", "Barlow", sans-serif}verdocs-table .table-wrapper{margin:10px 0;padding:0}verdocs-table .table{width:100%;border:none;border-collapse:collapse}verdocs-table .row.data-row{border:1px solid #d4d4d8;background-color:#ffffff}verdocs-table .header-col{color:#5c6575;font-weight:600;text-align:left;padding:8px 16px}verdocs-table .data-col{font-weight:400;padding:8px 16px}';const d=class{constructor(r){a(this,r);this.colHeaderClick=o(this,"colHeaderClick");this.rowClick=o(this,"rowClick");this.columns=[];this.data=[]}render(){return r(e,{key:"027b0578ef1ddfcc704178f803bf086bbe1c15d4",class:"table-wrapper"},r("table",{key:"10ddbad54ffc0f292a1a351d7aad7134ade3a7dc",class:"table"},r("thead",{key:"9ca47afa590f59634f8c781f7a653ca6352428fa"},r("tr",{key:"a3f020abcf70a5f7547ee970c8f298e44b31ca30",class:"row header-row"},this.columns.map(((a,o)=>r("th",{class:`col header-col col-${o} col-${a.id}`,onClick:()=>{var o;return(o=this.colHeaderClick)===null||o===void 0?void 0:o.emit({col:a})},innerHTML:a.renderHeader?a.renderHeader(a):a.header||a.id}))))),r("tbody",{key:"ed8bba8eb08a27a632483da969c00c6dab46f849"},this.data.map((a=>r("tr",{class:"row data-row",onClick:()=>{var o;return(o=this.rowClick)===null||o===void 0?void 0:o.emit({row:a})}},this.columns.map(((o,e)=>o.renderCell?r("td",{class:`col data-col col-${e} col-${o.id}`,innerHTML:o.renderCell(o,a)}):r("td",{class:`col data-col col-${e} col-${o.id}`},a[o.id])))))))))}};d.style=c;export{d as verdocs_table};
2
+ //# sourceMappingURL=p-c636caf4.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r,c as t,h as e}from"./p-C05sDUVN.js";const o='@-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-switch{font-family:"Inter", "Barlow", sans-serif}verdocs-switch .switch{display:-ms-inline-flexbox;display:inline-flex;height:24px;width:44px;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;cursor:pointer;border-radius:12px;border:transparent;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms}verdocs-switch .switch.primary[data-state=checked]{background:#55bc81}verdocs-switch .switch.primary[data-state=unchecked]{background:#e3e3e3}verdocs-switch .switch.secondary[data-state=checked]{background:#4c56cb}verdocs-switch .switch.secondary[data-state=unchecked]{background:#e3e3e3}verdocs-switch .slider{display:block;width:20px;height:20px;border-radius:20px;background:#ffffff;-webkit-box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms}verdocs-switch .slider[data-state=checked]{-webkit-transform:translateX(16px);transform:translateX(16px)}verdocs-switch .slider[data-state=unchecked]{-webkit-transform:translateX(-4px);transform:translateX(-4px)}verdocs-switch .switch.disabled.primary,verdocs-switch .switch.disabled.secondary{cursor:not-allowed;background:#666666}';const i=class{constructor(e){r(this,e);this.checkedChange=t(this,"checkedChange");this.checked=false;this.theme="primary";this.disabled=false}render(){return e("button",{key:"bde7a0db4ffaaadb079e90b4c31be3e34eda060b",value:"on",type:"button",role:"switch",class:`switch ${this.theme} ${this.disabled?"disabled":""}`,"data-state":this.checked?"checked":"unchecked","aria-checked":this.checked?"checked":"unchecked",onClick:()=>{var r;if(!this.disabled){this.checked=!this.checked;(r=this.checkedChange)===null||r===void 0?void 0:r.emit(this.checked)}}},e("span",{key:"6a685215089a2df26bc6c9b90193b9708dc32034","data-state":this.checked?"checked":"unchecked",class:"slider"}))}};i.style=o;export{i as verdocs_switch};
2
- //# sourceMappingURL=p-8dfd4098.entry.js.map
1
+ import{r,c as t,h as e}from"./p-DjAHH4ih.js";const o='@-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-switch{font-family:"Inter", "Barlow", sans-serif}verdocs-switch .switch{display:-ms-inline-flexbox;display:inline-flex;height:24px;width:44px;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;cursor:pointer;border-radius:12px;border:transparent;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms}verdocs-switch .switch.primary[data-state=checked]{background:#55bc81}verdocs-switch .switch.primary[data-state=unchecked]{background:#e3e3e3}verdocs-switch .switch.secondary[data-state=checked]{background:#4c56cb}verdocs-switch .switch.secondary[data-state=unchecked]{background:#e3e3e3}verdocs-switch .slider{display:block;width:20px;height:20px;border-radius:20px;background:#ffffff;-webkit-box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms}verdocs-switch .slider[data-state=checked]{-webkit-transform:translateX(16px);transform:translateX(16px)}verdocs-switch .slider[data-state=unchecked]{-webkit-transform:translateX(-4px);transform:translateX(-4px)}verdocs-switch .switch.disabled.primary,verdocs-switch .switch.disabled.secondary{cursor:not-allowed;background:#666666}';const i=class{constructor(e){r(this,e);this.checkedChange=t(this,"checkedChange");this.checked=false;this.theme="primary";this.disabled=false}render(){return e("button",{key:"bde7a0db4ffaaadb079e90b4c31be3e34eda060b",value:"on",type:"button",role:"switch",class:`switch ${this.theme} ${this.disabled?"disabled":""}`,"data-state":this.checked?"checked":"unchecked","aria-checked":this.checked?"checked":"unchecked",onClick:()=>{var r;if(!this.disabled){this.checked=!this.checked;(r=this.checkedChange)===null||r===void 0?void 0:r.emit(this.checked)}}},e("span",{key:"6a685215089a2df26bc6c9b90193b9708dc32034","data-state":this.checked?"checked":"unchecked",class:"slider"}))}};i.style=o;export{i as verdocs_switch};
2
+ //# sourceMappingURL=p-d0cdb769.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as a,H as o}from"./p-C05sDUVN.js";const c='@-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-template-card{font-family:"Inter", "Barlow", sans-serif;width:320px;height:320px;display:-ms-flexbox;display:flex;padding:25px;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-direction:column;flex-direction:column;background-color:#ffffff;-webkit-box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05);box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05)}verdocs-template-card .thumbnail{width:272px;height:158px;-o-object-fit:cover;object-fit:cover;margin-bottom:22px;-o-object-position:-20% 0;object-position:-20% 0}verdocs-template-card .name{font-size:18px;font-weight:700;margin-bottom:7px}verdocs-template-card .org-name{font-size:14px;font-weight:700;margin-bottom:6px}verdocs-template-card hr{width:100%;margin-bottom:17px;background-color:#aeb4bf}verdocs-template-card .controls{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;text-align:center;font-size:16px}verdocs-template-card .controls .control{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;margin-right:8px;-ms-flex-align:start;align-items:flex-start;border-right:1px solid #aeb4bf}verdocs-template-card .controls .control.secondary{-ms-flex-pack:center;justify-content:center}verdocs-template-card .controls .control svg{fill:#aeb4bf;height:16px;max-width:16px;margin:0 8px -2px 0}verdocs-template-card .additional-controls svg{margin-right:0;fill:#654dcb}';const t=`<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg>`;const s=`<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"/></svg>`;const l=`<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4H8c-1.1 0-1.99.9-1.99 2L6 21c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V11l-6-6zM8 21V7h6v5h5v9H8z"/></svg>`;const r=`<svg width="31" height="29" viewBox="0 0 31 29" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_31553_1553)"><path d="M30.886 11.4917C30.8916 11.0917 30.753 10.7034 30.4962 10.3993C30.2394 10.0953 29.882 9.8964 29.4908 9.83995L29.5182 9.65005L29.4908 9.83995L21.0938 8.60261L17.3412 0.912551C17.2067 0.638179 16.9992 0.407285 16.7421 0.245866C16.485 0.0844465 16.1885 -0.00111389 15.886 -0.00111389C15.5835 -0.00111389 15.287 0.0844465 15.0299 0.245866C14.7728 0.407285 14.5653 0.638179 14.4308 0.912551L10.6781 8.60261L2.28121 9.8392C1.89206 9.89475 1.53611 10.0916 1.2796 10.3931C1.02308 10.6945 0.88348 11.08 0.886776 11.4779C0.886447 11.6961 0.929977 11.912 1.01472 12.1125C1.09946 12.3131 1.22363 12.4941 1.37968 12.6445L7.45563 18.5744L6.01943 27.0241C6.00289 27.1258 5.99449 27.2287 5.99435 27.3317C5.99313 27.7717 6.16395 28.1943 6.4695 28.5071C6.77505 28.82 7.19045 28.9976 7.62496 29.0013C7.88846 29.0008 8.14779 28.9345 8.37992 28.8083L15.8883 24.8217L23.3967 28.8114C23.6287 28.9361 23.8873 29.0015 24.15 29.002C24.5752 28.9998 24.9832 28.8318 25.2893 28.5329C25.4452 28.3832 25.5695 28.2029 25.6544 28.003C25.7392 27.8031 25.783 27.5878 25.783 27.3702C25.7827 27.2731 25.7743 27.176 25.7579 27.0803L24.3209 18.6296L30.3931 12.7022C30.7094 12.3809 30.8867 11.9454 30.886 11.4917ZM22.0759 17.53L21.9437 17.3916L22.0759 17.53C22.0072 17.5977 21.9525 17.6787 21.9152 17.7681C21.8779 17.8575 21.8587 17.9536 21.8587 18.0506L21.8693 18.1737L23.2037 26.0237L16.2164 22.3148C16.1136 22.2602 15.9994 22.2317 15.8833 22.2317C15.7673 22.2317 15.653 22.2602 15.5503 22.3148L8.57132 26.0245L9.90651 18.1745L9.91712 18.0506C9.91696 17.9536 9.89768 17.8576 9.86038 17.7682C9.82308 17.6788 9.76851 17.5978 9.6999 17.53L4.05538 11.9724L11.8576 10.8258C11.9725 10.8088 12.0816 10.7638 12.1755 10.6947C12.2695 10.6256 12.3454 10.5344 12.3969 10.429L15.886 3.27721L19.3797 10.429C19.4313 10.5344 19.5074 10.6256 19.6014 10.6948C19.6955 10.7639 19.8047 10.8088 19.9197 10.8258L27.7197 11.9747L22.0759 17.53Z" fill="#ADB6BD"/></g><defs><clipPath id="clip0_31553_1553"><rect width="30" height="29" fill="white" transform="translate(0.886719)"/></clipPath></defs></svg>`;const i=class{constructor(a){e(this,a)}render(){var e,c,i,d;return a(o,{key:"79c2ff923d2851e27d6fef1cccb958cde17953d8"},a("span",{key:"c396610330aa1654a7ecfa239547af5029aa6efd",class:"name"},this.template.name),a("span",{key:"808067b0fa04f9f4ccd40dfda1d58c230c635dd0",class:"org-name"},((e=this.template.organization)===null||e===void 0?void 0:e.name)||"Public"),a("hr",{key:"5d63c69e27bb9ec60e1674436f94a89fa04a079c"}),a("div",{key:"ca32b11c23f6bae3aa505346c85d99e08d936f19",class:"controls"},a("div",{key:"5c4f8d492f7268714da93b7633e77fd1b06af1c1",class:"control"},a("span",{key:"5e6e8eb1a3805cee02be417d2c9581c569ea9774",class:"icon",innerHTML:r}),a("span",{key:"ca7c1c5b03868e519e710139aa02f6df60fb7b80",class:"value"},this.template.star_counter)),a("div",{key:"29aa2557baf536ac0c46a41f58a2b2843913871b",class:"control secondary"},a("span",{key:"4d3c32eb9e1094fe1977680525485abf426f85a2",class:"icon",innerHTML:l}),a("span",{key:"875999d02e98b431479e2be94a4a46971d8f7f67",class:"value"},((d=(i=(c=this.template)===null||c===void 0?void 0:c.documents)===null||i===void 0?void 0:i[0])===null||d===void 0?void 0:d.pages)||1)),a("div",{key:"c5c71f88dde502b0a8a9797aa585e74617676efa",class:"control secondary"},a("span",{key:"2298ec8604813780730979c6c1e37fe3dd134a55",class:"icon",innerHTML:s}),a("span",{key:"4afdd70c84a1707b275a5415f0304242a77943c6",class:"value"},this.template.counter)),a("span",{key:"d31516a1b41311cc182f2df3d5e139c8696e41fd",class:"additional-controls",innerHTML:t})))}};i.style=c;export{i as verdocs_template_card};
2
- //# sourceMappingURL=p-3c4ae778.entry.js.map
1
+ import{r as e,h as a,H as o}from"./p-DjAHH4ih.js";const t='@-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-template-card{font-family:"Inter", "Barlow", sans-serif;width:320px;height:320px;display:-ms-flexbox;display:flex;padding:25px;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-direction:column;flex-direction:column;background-color:#ffffff;-webkit-box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05);box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05)}verdocs-template-card .thumbnail{width:272px;height:158px;-o-object-fit:cover;object-fit:cover;margin-bottom:22px;-o-object-position:-20% 0;object-position:-20% 0}verdocs-template-card .name{font-size:18px;font-weight:700;margin-bottom:7px}verdocs-template-card .org-name{font-size:14px;font-weight:700;margin-bottom:6px}verdocs-template-card hr{width:100%;margin-bottom:17px;background-color:#aeb4bf}verdocs-template-card .controls{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;text-align:center;font-size:16px}verdocs-template-card .controls .control{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;margin-right:8px;-ms-flex-align:start;align-items:flex-start;border-right:1px solid #aeb4bf}verdocs-template-card .controls .control.secondary{-ms-flex-pack:center;justify-content:center}verdocs-template-card .controls .control svg{fill:#aeb4bf;height:16px;max-width:16px;margin:0 8px -2px 0}verdocs-template-card .additional-controls svg{margin-right:0;fill:#654dcb}';const c=`<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg>`;const s=`<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"/></svg>`;const d=`<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4H8c-1.1 0-1.99.9-1.99 2L6 21c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V11l-6-6zM8 21V7h6v5h5v9H8z"/></svg>`;const l=`<svg width="31" height="29" viewBox="0 0 31 29" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_31553_1553)"><path d="M30.886 11.4917C30.8916 11.0917 30.753 10.7034 30.4962 10.3993C30.2394 10.0953 29.882 9.8964 29.4908 9.83995L29.5182 9.65005L29.4908 9.83995L21.0938 8.60261L17.3412 0.912551C17.2067 0.638179 16.9992 0.407285 16.7421 0.245866C16.485 0.0844465 16.1885 -0.00111389 15.886 -0.00111389C15.5835 -0.00111389 15.287 0.0844465 15.0299 0.245866C14.7728 0.407285 14.5653 0.638179 14.4308 0.912551L10.6781 8.60261L2.28121 9.8392C1.89206 9.89475 1.53611 10.0916 1.2796 10.3931C1.02308 10.6945 0.88348 11.08 0.886776 11.4779C0.886447 11.6961 0.929977 11.912 1.01472 12.1125C1.09946 12.3131 1.22363 12.4941 1.37968 12.6445L7.45563 18.5744L6.01943 27.0241C6.00289 27.1258 5.99449 27.2287 5.99435 27.3317C5.99313 27.7717 6.16395 28.1943 6.4695 28.5071C6.77505 28.82 7.19045 28.9976 7.62496 29.0013C7.88846 29.0008 8.14779 28.9345 8.37992 28.8083L15.8883 24.8217L23.3967 28.8114C23.6287 28.9361 23.8873 29.0015 24.15 29.002C24.5752 28.9998 24.9832 28.8318 25.2893 28.5329C25.4452 28.3832 25.5695 28.2029 25.6544 28.003C25.7392 27.8031 25.783 27.5878 25.783 27.3702C25.7827 27.2731 25.7743 27.176 25.7579 27.0803L24.3209 18.6296L30.3931 12.7022C30.7094 12.3809 30.8867 11.9454 30.886 11.4917ZM22.0759 17.53L21.9437 17.3916L22.0759 17.53C22.0072 17.5977 21.9525 17.6787 21.9152 17.7681C21.8779 17.8575 21.8587 17.9536 21.8587 18.0506L21.8693 18.1737L23.2037 26.0237L16.2164 22.3148C16.1136 22.2602 15.9994 22.2317 15.8833 22.2317C15.7673 22.2317 15.653 22.2602 15.5503 22.3148L8.57132 26.0245L9.90651 18.1745L9.91712 18.0506C9.91696 17.9536 9.89768 17.8576 9.86038 17.7682C9.82308 17.6788 9.76851 17.5978 9.6999 17.53L4.05538 11.9724L11.8576 10.8258C11.9725 10.8088 12.0816 10.7638 12.1755 10.6947C12.2695 10.6256 12.3454 10.5344 12.3969 10.429L15.886 3.27721L19.3797 10.429C19.4313 10.5344 19.5074 10.6256 19.6014 10.6948C19.6955 10.7639 19.8047 10.8088 19.9197 10.8258L27.7197 11.9747L22.0759 17.53Z" fill="#ADB6BD"/></g><defs><clipPath id="clip0_31553_1553"><rect width="30" height="29" fill="white" transform="translate(0.886719)"/></clipPath></defs></svg>`;const r=class{constructor(a){e(this,a)}render(){var e,t,r,i;return a(o,{key:"061ed57b23b4df915b2ba7c7a583a1272ba6956a"},a("span",{key:"c5d921eefd6ab3fdcf292f07509f105dc32d6806",class:"name"},this.template.name),a("span",{key:"995fdfda804857b9aa68e99b74cbbb8091755771",class:"org-name"},((e=this.template.organization)===null||e===void 0?void 0:e.name)||"Public"),a("hr",{key:"b58f073dfd91750ec9a40d6d60a302e5b749d4f0"}),a("div",{key:"892198d763fb3b43d597de2d52a35305e7a8f6bd",class:"controls"},a("div",{key:"f22fdbfa321375bc1acc5807d068eca8be8436fd",class:"control"},a("span",{key:"317f55f80f7894cc339c900349a4fc70523d91f6",class:"icon",innerHTML:l}),a("span",{key:"b864d2c5a83b9387eeac088c5b68aa4f56ef1d23",class:"value"},this.template.star_counter)),a("div",{key:"7127ab3ff5de8e4f2740147c123bdd04ad018129",class:"control secondary"},a("span",{key:"f616758015abb495838c1f2cd2d2017fe2aeba46",class:"icon",innerHTML:d}),a("span",{key:"69308dea0d755ed26305df4333a51aaeed0311f2",class:"value"},((i=(r=(t=this.template)===null||t===void 0?void 0:t.documents)===null||r===void 0?void 0:r[0])===null||i===void 0?void 0:i.pages)||1)),a("div",{key:"7c953cac659849a73e1407089ba01af41de78f1c",class:"control secondary"},a("span",{key:"f9314402fd7802248a05489e85a5e1c9032f63d9",class:"icon",innerHTML:s}),a("span",{key:"5d2d879826f8631e4386a7b9199316852dcf8282",class:"value"},this.template.counter)),a("span",{key:"13a2a6c95bd5dd9da87eb3e3f865d59e6d7f51b1",class:"additional-controls",innerHTML:c})))}};r.style=t;export{r as verdocs_template_card};
2
+ //# sourceMappingURL=p-d68d286d.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as e,H as r}from"./p-C05sDUVN.js";const s="verdocs-spinner{display:inline-block;border-radius:50%;-webkit-animation:spin 1s ease-in-out infinite;animation:spin 1s ease-in-out infinite}@keyframes spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}";const i={border:"3px solid rgba(255, 255, 255, 0.3)",borderTopColor:"#fff"};const o={border:"3px solid rgba(0, 0, 0, 0.3)",borderTopColor:"#333"};const n=class{constructor(e){t(this,e);this.size=32;this.mode="light"}render(){return e(r,{key:"335641f6984681e976a14e02f973413eabb612c9",style:{width:`${this.size}px`,height:`${this.size}px`,flex:`0 0 ${this.size}px`,...this.mode==="light"?i:o}})}};n.style=s;export{n as verdocs_spinner};
2
- //# sourceMappingURL=p-6c0c5157.entry.js.map
1
+ import{r as t,h as e,H as r}from"./p-DjAHH4ih.js";const i="verdocs-spinner{display:inline-block;border-radius:50%;-webkit-animation:spin 1s ease-in-out infinite;animation:spin 1s ease-in-out infinite}@keyframes spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}";const s={border:"3px solid rgba(255, 255, 255, 0.3)",borderTopColor:"#fff"};const o={border:"3px solid rgba(0, 0, 0, 0.3)",borderTopColor:"#333"};const n=class{constructor(e){t(this,e);this.size=32;this.mode="light"}render(){return e(r,{key:"335641f6984681e976a14e02f973413eabb612c9",style:{width:`${this.size}px`,height:`${this.size}px`,flex:`0 0 ${this.size}px`,...this.mode==="light"?s:o}})}};n.style=i;export{n as verdocs_spinner};
2
+ //# sourceMappingURL=p-d995bf66.entry.js.map
@@ -1,2 +1,2 @@
1
- System.register(["./p-gMXuliDq.system.js","./p-DmF0GSqu.system.js"],(function(o){"use strict";var e,r,i,a,c;return{setters:[function(o){e=o.r;r=o.h;i=o.H;a=o.c},function(o){c=o.d}],execute:function(){var s='@-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-organization-card{font-family:"Inter", "Barlow", sans-serif;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;border:1px solid #cccccc;background:#ffffff;border-radius:8px;padding:7px 15px}verdocs-organization-card .icon{-ms-flex:0;flex:0;height:24px;width:24px;margin:0 14px 0 0}verdocs-organization-card .icon svg{fill:#aeb4bf;height:24px;width:24px}verdocs-organization-card .content{margin-top:2px}.verdocs-org-card-popup{font-family:"Inter", "Barlow", sans-serif;background:#ffffff;border-radius:10px;width:326px;padding:20px 40px 0 40px;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border:1px solid #cccccc}.verdocs-org-card-popup .popup-header-with-logo{display:-ms-flexbox;display:flex;-ms-flex:0;flex:0;gap:20px;-ms-flex-direction:column;flex-direction:column;margin:0 0 20px 0;font-size:21px;line-height:16px;color:#4c56cb}.verdocs-org-card-popup .popup-header-with-logo img{max-width:300px;max-height:50px}.verdocs-org-card-popup .popup-header{display:-ms-flexbox;display:flex;-ms-flex:0;flex:0;gap:20px;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:end;align-items:flex-end;margin:0 0 20px 0;font-size:21px;line-height:16px;color:#4c56cb}.verdocs-org-card-popup .popup-body{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-size:14px;text-transform:uppercase}.verdocs-org-card-popup .status{-webkit-transform:scale(1.5);transform:scale(1.5);width:24px;height:24px}.verdocs-org-card-popup .field{margin:0 0 20px 0}.verdocs-org-card-popup .field strong{color:#7b7b9a;display:block;margin:0 0 5px 0}.verdocs-org-card-popup .field a{color:#654dcb;text-transform:uppercase}';var t='<svg xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true" height="24px" viewBox="0 0 24 24" width="24px"><path d="M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z"></path></svg>';var d=o("verdocs_organization_card",function(){function o(o){e(this,o);this.hovered=false}o.prototype.onMouseOver=function(){this.hovered=true};o.prototype.onMouseOut=function(){this.hovered=false};o.prototype.render=function(){var o,e,a,s,d,n;console.log("Rendering org card",this.organization.thumbnail_url,this.organization);var l=t;var p="verdocs-org-card-".concat(this.organization.id);return r(i,{key:"f714963eac994c9af17b768ceb22c66f90319bd6",id:p},this.organization.thumbnail_url?r("img",{class:"icon",src:this.organization.thumbnail_url,alt:"Logo"}):r("span",{class:"icon",innerHTML:l}),r("span",{key:"641f1eb3669bce8066eb52974b490bf2f33480d3",class:"content"},(o=this.organization)===null||o===void 0?void 0:o.name),r("verdocs-portal",{key:"57d1f15ad28798b414d6c7b0b9187d489501aae9",anchor:p},r("div",{key:"3324ae37c0d8b818d5dab21b11693306d1dce6b3",class:"verdocs-org-card-popup",style:{display:this.hovered?"block":"none"}},this.organization.full_logo_url?r("div",{class:"popup-header-with-logo"},r("img",{src:this.organization.full_logo_url,alt:"Logo"}),r("div",{class:"title"},(e=this.organization)===null||e===void 0?void 0:e.name)):r("div",{class:"popup-header"},r("span",{class:"status"},r("span",{class:"icon",innerHTML:l})),r("span",{class:"title"},(a=this.organization)===null||a===void 0?void 0:a.name)),r("div",{key:"9fe15a204516ddfcc7f35cb7ee33bbb80b163260",class:"popup-body"},r("div",{key:"a7b6c6041e09759545403613b5388ba90f789acc",class:"field"},r("strong",{key:"e558409769026901dfc17a67f2d7d59582cd960e"},"Joined"),c.format(new Date(((s=this.organization)===null||s===void 0?void 0:s.created_at)||undefined),"LLL d, Y")),this.organization.url&&r("div",{key:"94e6ce975794db4f3c5201af902a93fe886c416e",class:"field"},r("strong",{key:"3ec6bd5272f762065ab6c0b95301b77539e514ff"},"Website"),r("a",{key:"44be7da94d554d4c75575e23d56143c2346637b9",href:(d=this.organization)===null||d===void 0?void 0:d.url,target:"_blank",rel:"nofollow"},(n=this.organization)===null||n===void 0?void 0:n.url))))))};return o}());d.style=s;var n="@-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)}}";var l="10001";var p=o("verdocs_portal",function(){function o(o){e(this,o);this.clickAway=a(this,"clickAway");this.moved=false;this.voffset=0}o.prototype.handleScroll=function(){this.calculatePosition()};o.prototype.handleResize=function(){this.calculatePosition()};o.prototype.handleClick=function(o){var e;var r=o.target.closest(".verdocs-portal");if(!this.element.contains(o.target)&&!r){(e=this.clickAway)===null||e===void 0?void 0:e.emit()}document.querySelectorAll(".verdocs-multiselect-dropdown").forEach((function(o){return o.remove()}))};o.prototype.calculateLeft=function(){var o;var e=document.getElementById(this.anchor);if(!e)return 0;var r=e.getBoundingClientRect();var i=document.documentElement.clientWidth+document.documentElement.scrollLeft;var a=Math.max(r.left,0);var c=((o=this.element)===null||o===void 0?void 0:o.offsetWidth)||400;var s=a+c>i;return s?i-c-20:a};o.prototype.calculateTop=function(){var o;var e=document.getElementById(this.anchor);if(!e)return 0;var r=e.getBoundingClientRect();var i=document.documentElement.clientHeight+document.documentElement.scrollTop;var a=r.bottom+this.voffset+document.documentElement.scrollTop;var c=((o=this.element)===null||o===void 0?void 0:o.offsetHeight)||300;var s=a+c>i;return s?a-c-r.height:a};o.prototype.calculatePosition=function(){this.portal.style.top="".concat(this.calculateTop(),"px");this.portal.style.left="".concat(this.calculateLeft(),"px")};o.prototype.componentWillLoad=function(){var o;var e="".concat(this.anchor,"-portal");(o=document.getElementById(e))===null||o===void 0?void 0:o.remove();this.portal=document.createElement("div");this.portal.setAttribute("id",e);this.portal.style.zIndex=l;this.portal.style.position="absolute";this.portal.className="verdocs-portal-wrapper";document.body.append(this.portal)};o.prototype.componentDidLoad=function(){this.portal.appendChild(this.element);this.calculatePosition()};o.prototype.disconnectedCallback=function(){this.moved?this.portal.remove():this.moved=true};o.prototype.render=function(){var o=this;return r(i,{key:"eeb176eb22239e9bd1859d87e50d9dba08a36c5a",ref:function(e){return o.element=e},class:"verdocs-portal"},r("slot",{key:"0cc38913adf3b2d41e9d635a7c6bafac3e71fd8f"}))};return o}());p.style=n}}}));
2
- //# sourceMappingURL=p-f35d0bb1.system.entry.js.map
1
+ System.register(["./p-IELtlxxf.system.js","./p-DmF0GSqu.system.js"],(function(o){"use strict";var e,r,i,a,c;return{setters:[function(o){e=o.r;r=o.h;i=o.H;a=o.c},function(o){c=o.d}],execute:function(){var s='@-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-organization-card{font-family:"Inter", "Barlow", sans-serif;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;border:1px solid #cccccc;background:#ffffff;border-radius:8px;padding:7px 15px}verdocs-organization-card .icon{-ms-flex:0;flex:0;height:24px;width:24px;margin:0 14px 0 0}verdocs-organization-card .icon svg{fill:#aeb4bf;height:24px;width:24px}verdocs-organization-card .content{margin-top:2px}.verdocs-org-card-popup{font-family:"Inter", "Barlow", sans-serif;background:#ffffff;border-radius:10px;width:326px;padding:20px 40px 0 40px;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border:1px solid #cccccc}.verdocs-org-card-popup .popup-header-with-logo{display:-ms-flexbox;display:flex;-ms-flex:0;flex:0;gap:20px;-ms-flex-direction:column;flex-direction:column;margin:0 0 20px 0;font-size:21px;line-height:16px;color:#4c56cb}.verdocs-org-card-popup .popup-header-with-logo img{max-width:300px;max-height:50px}.verdocs-org-card-popup .popup-header{display:-ms-flexbox;display:flex;-ms-flex:0;flex:0;gap:20px;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:end;align-items:flex-end;margin:0 0 20px 0;font-size:21px;line-height:16px;color:#4c56cb}.verdocs-org-card-popup .popup-body{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-size:14px;text-transform:uppercase}.verdocs-org-card-popup .status{-webkit-transform:scale(1.5);transform:scale(1.5);width:24px;height:24px}.verdocs-org-card-popup .field{margin:0 0 20px 0}.verdocs-org-card-popup .field strong{color:#7b7b9a;display:block;margin:0 0 5px 0}.verdocs-org-card-popup .field a{color:#654dcb;text-transform:uppercase}';var t='<svg xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true" height="24px" viewBox="0 0 24 24" width="24px"><path d="M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z"></path></svg>';var d=o("verdocs_organization_card",function(){function o(o){e(this,o);this.hovered=false}o.prototype.onMouseOver=function(){this.hovered=true};o.prototype.onMouseOut=function(){this.hovered=false};o.prototype.render=function(){var o,e,a,s,d,n;console.log("Rendering org card",this.organization.thumbnail_url,this.organization);var l=t;var p="verdocs-org-card-".concat(this.organization.id);return r(i,{key:"f714963eac994c9af17b768ceb22c66f90319bd6",id:p},this.organization.thumbnail_url?r("img",{class:"icon",src:this.organization.thumbnail_url,alt:"Logo"}):r("span",{class:"icon",innerHTML:l}),r("span",{key:"641f1eb3669bce8066eb52974b490bf2f33480d3",class:"content"},(o=this.organization)===null||o===void 0?void 0:o.name),r("verdocs-portal",{key:"57d1f15ad28798b414d6c7b0b9187d489501aae9",anchor:p},r("div",{key:"3324ae37c0d8b818d5dab21b11693306d1dce6b3",class:"verdocs-org-card-popup",style:{display:this.hovered?"block":"none"}},this.organization.full_logo_url?r("div",{class:"popup-header-with-logo"},r("img",{src:this.organization.full_logo_url,alt:"Logo"}),r("div",{class:"title"},(e=this.organization)===null||e===void 0?void 0:e.name)):r("div",{class:"popup-header"},r("span",{class:"status"},r("span",{class:"icon",innerHTML:l})),r("span",{class:"title"},(a=this.organization)===null||a===void 0?void 0:a.name)),r("div",{key:"9fe15a204516ddfcc7f35cb7ee33bbb80b163260",class:"popup-body"},r("div",{key:"a7b6c6041e09759545403613b5388ba90f789acc",class:"field"},r("strong",{key:"e558409769026901dfc17a67f2d7d59582cd960e"},"Joined"),c.format(new Date(((s=this.organization)===null||s===void 0?void 0:s.created_at)||undefined),"LLL d, Y")),this.organization.url&&r("div",{key:"94e6ce975794db4f3c5201af902a93fe886c416e",class:"field"},r("strong",{key:"3ec6bd5272f762065ab6c0b95301b77539e514ff"},"Website"),r("a",{key:"44be7da94d554d4c75575e23d56143c2346637b9",href:(d=this.organization)===null||d===void 0?void 0:d.url,target:"_blank",rel:"nofollow"},(n=this.organization)===null||n===void 0?void 0:n.url))))))};return o}());d.style=s;var n="@-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)}}";var l="10001";var p=o("verdocs_portal",function(){function o(o){e(this,o);this.clickAway=a(this,"clickAway");this.moved=false;this.voffset=0}o.prototype.handleScroll=function(){this.calculatePosition()};o.prototype.handleResize=function(){this.calculatePosition()};o.prototype.handleClick=function(o){var e;var r=o.target.closest(".verdocs-portal");if(!this.element.contains(o.target)&&!r){(e=this.clickAway)===null||e===void 0?void 0:e.emit()}document.querySelectorAll(".verdocs-multiselect-dropdown").forEach((function(o){return o.remove()}))};o.prototype.calculateLeft=function(){var o;var e=document.getElementById(this.anchor);if(!e)return 0;var r=e.getBoundingClientRect();var i=document.documentElement.clientWidth+document.documentElement.scrollLeft;var a=Math.max(r.left,0);var c=((o=this.element)===null||o===void 0?void 0:o.offsetWidth)||400;var s=a+c>i;return s?i-c-20:a};o.prototype.calculateTop=function(){var o;var e=document.getElementById(this.anchor);if(!e)return 0;var r=e.getBoundingClientRect();var i=document.documentElement.clientHeight+document.documentElement.scrollTop;var a=r.bottom+this.voffset+document.documentElement.scrollTop;var c=((o=this.element)===null||o===void 0?void 0:o.offsetHeight)||300;var s=a+c>i;return s?a-c-r.height:a};o.prototype.calculatePosition=function(){this.portal.style.top="".concat(this.calculateTop(),"px");this.portal.style.left="".concat(this.calculateLeft(),"px")};o.prototype.componentWillLoad=function(){var o;var e="".concat(this.anchor,"-portal");(o=document.getElementById(e))===null||o===void 0?void 0:o.remove();this.portal=document.createElement("div");this.portal.setAttribute("id",e);this.portal.style.zIndex=l;this.portal.style.position="absolute";this.portal.className="verdocs-portal-wrapper";document.body.append(this.portal)};o.prototype.componentDidLoad=function(){this.portal.appendChild(this.element);this.calculatePosition()};o.prototype.disconnectedCallback=function(){this.moved?this.portal.remove():this.moved=true};o.prototype.render=function(){var o=this;return r(i,{key:"eeb176eb22239e9bd1859d87e50d9dba08a36c5a",ref:function(e){return o.element=e},class:"verdocs-portal"},r("slot",{key:"0cc38913adf3b2d41e9d635a7c6bafac3e71fd8f"}))};return o}());p.style=n}}}));
2
+ //# sourceMappingURL=p-dc64588a.system.entry.js.map