@verdocs/web-sdk 5.3.3 → 5.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (248) hide show
  1. package/dist/cjs/index-Be9PlTB7.js +4 -4
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/verdocs-delegate-dialog.verdocs-disclosure-dialog.verdocs-kba-dialog.verdocs-otp-dialog.verdocs-view.entry.cjs.js.map +1 -1
  4. package/dist/cjs/verdocs-delegate-dialog_5.cjs.entry.js +6 -6
  5. package/dist/cjs/verdocs-delegate-dialog_5.cjs.entry.js.map +1 -1
  6. package/dist/cjs/verdocs-dialog.cjs.entry.js +1 -1
  7. package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +1 -1
  8. package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +6 -6
  9. package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js +3 -3
  10. package/dist/cjs/verdocs-menu-panel_2.cjs.entry.js +7 -7
  11. package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +1 -1
  12. package/dist/cjs/verdocs-quick-functions.cjs.entry.js +1 -1
  13. package/dist/cjs/verdocs-search-tabs.cjs.entry.js +1 -1
  14. package/dist/cjs/verdocs-sign.cjs.entry.js +24 -31
  15. package/dist/cjs/verdocs-sign.cjs.entry.js.map +1 -1
  16. package/dist/cjs/verdocs-sign.entry.cjs.js.map +1 -1
  17. package/dist/cjs/verdocs-status-indicator.cjs.entry.js +2 -2
  18. package/dist/cjs/verdocs-template-card.cjs.entry.js +1 -1
  19. package/dist/cjs/verdocs-template-star.cjs.entry.js +1 -1
  20. package/dist/cjs/verdocs-template-tags.cjs.entry.js +1 -1
  21. package/dist/cjs/verdocs-web-sdk.cjs.js +1 -1
  22. package/dist/collection/components/dialogs/verdocs-delegate-dialog/verdocs-delegate-dialog.css +21 -82
  23. package/dist/collection/components/dialogs/verdocs-delegate-dialog/verdocs-delegate-dialog.js +2 -3
  24. package/dist/collection/components/dialogs/verdocs-delegate-dialog/verdocs-delegate-dialog.js.map +1 -1
  25. package/dist/collection/components/dialogs/verdocs-dialog/verdocs-dialog.js +1 -1
  26. package/dist/collection/components/dialogs/verdocs-disclosure-dialog/verdocs-disclosure-dialog.css +5 -2
  27. package/dist/collection/components/dialogs/verdocs-disclosure-dialog/verdocs-disclosure-dialog.js +19 -4
  28. package/dist/collection/components/dialogs/verdocs-disclosure-dialog/verdocs-disclosure-dialog.js.map +1 -1
  29. package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js +1 -1
  30. package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js +1 -1
  31. package/dist/collection/components/dialogs/verdocs-otp-dialog/verdocs-otp-dialog.js +1 -1
  32. package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js +1 -1
  33. package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js +1 -1
  34. package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js +1 -1
  35. package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js +1 -1
  36. package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +24 -31
  37. package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js.map +1 -1
  38. package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -1
  39. package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +6 -6
  40. package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +2 -2
  41. package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.js +1 -1
  42. package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +7 -7
  43. package/dist/collection/components/templates/verdocs-template-star/verdocs-template-star.js +1 -1
  44. package/dist/collection/components/templates/verdocs-template-tags/verdocs-template-tags.js +1 -1
  45. package/dist/components/{p-BUkor2Zh.js → p-2WUcCzQq.js} +3 -3
  46. package/dist/components/{p-BUkor2Zh.js.map → p-2WUcCzQq.js.map} +1 -1
  47. package/dist/components/{p-BjJWKf-L.js → p-6dn6bTF-.js} +10 -10
  48. package/dist/components/{p-BjJWKf-L.js.map → p-6dn6bTF-.js.map} +1 -1
  49. package/dist/components/{p-CZ5JrIih.js → p-8M6wbefU.js} +3 -3
  50. package/dist/components/{p-CZ5JrIih.js.map → p-8M6wbefU.js.map} +1 -1
  51. package/dist/components/{p-CYuh1ogw.js → p-BDAu6Qdg.js} +3 -3
  52. package/dist/components/{p-CYuh1ogw.js.map → p-BDAu6Qdg.js.map} +1 -1
  53. package/dist/components/p-BnMAPkKT.js +82 -0
  54. package/dist/components/p-BnMAPkKT.js.map +1 -0
  55. package/dist/components/{p-OzwT6cW-.js → p-BsAgsmZb.js} +3 -3
  56. package/dist/components/{p-OzwT6cW-.js.map → p-BsAgsmZb.js.map} +1 -1
  57. package/dist/components/{p-q-sbO54X.js → p-C1sOQyoW.js} +4 -4
  58. package/dist/components/{p-q-sbO54X.js.map → p-C1sOQyoW.js.map} +1 -1
  59. package/dist/components/{p-CFK7G7AR.js → p-CZcjG946.js} +9 -9
  60. package/dist/components/{p-CFK7G7AR.js.map → p-CZcjG946.js.map} +1 -1
  61. package/dist/components/{p-B1oNdOdb.js → p-Cbg7a3HQ.js} +3 -3
  62. package/dist/components/{p-B1oNdOdb.js.map → p-Cbg7a3HQ.js.map} +1 -1
  63. package/dist/components/{p-CGQDpB88.js → p-CcCYvQR-.js} +9 -9
  64. package/dist/components/{p-CGQDpB88.js.map → p-CcCYvQR-.js.map} +1 -1
  65. package/dist/components/{p-Dt1l1CiO.js → p-ChSgKUKi.js} +3 -3
  66. package/dist/components/{p-Dt1l1CiO.js.map → p-ChSgKUKi.js.map} +1 -1
  67. package/dist/components/{p-BzoreaCJ.js → p-Cswo_Apj.js} +4 -4
  68. package/dist/components/{p-BzoreaCJ.js.map → p-Cswo_Apj.js.map} +1 -1
  69. package/dist/components/{p-B-sC03p7.js → p-DBxWj2lt.js} +6 -5
  70. package/dist/components/p-DBxWj2lt.js.map +1 -0
  71. package/dist/components/{p-BdW7a50T.js → p-DHl4c1oa.js} +3 -3
  72. package/dist/components/{p-BdW7a50T.js.map → p-DHl4c1oa.js.map} +1 -1
  73. package/dist/components/{p-NepfaUbg.js → p-DN1cBTs0.js} +3 -3
  74. package/dist/components/{p-NepfaUbg.js.map → p-DN1cBTs0.js.map} +1 -1
  75. package/dist/components/{p-DjgJTYmV.js → p-DZ3TxFzS.js} +4 -4
  76. package/dist/components/{p-DjgJTYmV.js.map → p-DZ3TxFzS.js.map} +1 -1
  77. package/dist/components/{p-CFYTe0HU.js → p-DbwkPoha.js} +3 -3
  78. package/dist/components/{p-CFYTe0HU.js.map → p-DbwkPoha.js.map} +1 -1
  79. package/dist/components/{p-NtCZcfeU.js → p-Dp0dNizc.js} +3 -3
  80. package/dist/components/{p-NtCZcfeU.js.map → p-Dp0dNizc.js.map} +1 -1
  81. package/dist/components/{p-DmVSUzvg.js → p-IPJtUL3R.js} +4 -4
  82. package/dist/components/{p-DmVSUzvg.js.map → p-IPJtUL3R.js.map} +1 -1
  83. package/dist/components/{p-B_qZwg8S.js → p-I_twwI6N.js} +10 -10
  84. package/dist/components/{p-B_qZwg8S.js.map → p-I_twwI6N.js.map} +1 -1
  85. package/dist/components/{p-DQDtYaYV.js → p-nazpDdZn.js} +3 -3
  86. package/dist/components/{p-DQDtYaYV.js.map → p-nazpDdZn.js.map} +1 -1
  87. package/dist/components/verdocs-build.js +13 -13
  88. package/dist/components/verdocs-delegate-dialog.js +1 -1
  89. package/dist/components/verdocs-dialog.js +1 -1
  90. package/dist/components/verdocs-disclosure-dialog.js +1 -1
  91. package/dist/components/verdocs-envelope-document-page.js +1 -1
  92. package/dist/components/verdocs-envelope-sidebar.js +1 -1
  93. package/dist/components/verdocs-envelopes-list.js +7 -7
  94. package/dist/components/verdocs-field-attachment.js +1 -1
  95. package/dist/components/verdocs-field-initial.js +1 -1
  96. package/dist/components/verdocs-field-signature.js +1 -1
  97. package/dist/components/verdocs-initial-dialog.js +1 -1
  98. package/dist/components/verdocs-ok-dialog.js +1 -1
  99. package/dist/components/verdocs-otp-dialog.js +1 -1
  100. package/dist/components/verdocs-preview.js +1 -1
  101. package/dist/components/verdocs-quick-functions.js +1 -1
  102. package/dist/components/verdocs-search-tabs.js +1 -1
  103. package/dist/components/verdocs-sign.js +32 -39
  104. package/dist/components/verdocs-sign.js.map +1 -1
  105. package/dist/components/verdocs-signature-dialog.js +1 -1
  106. package/dist/components/verdocs-status-indicator.js +1 -1
  107. package/dist/components/verdocs-template-attachments.js +1 -1
  108. package/dist/components/verdocs-template-card.js +1 -1
  109. package/dist/components/verdocs-template-document-page.js +1 -1
  110. package/dist/components/verdocs-template-fields.js +1 -1
  111. package/dist/components/verdocs-template-role-properties.js +1 -1
  112. package/dist/components/verdocs-template-roles.js +1 -1
  113. package/dist/components/verdocs-template-star.js +1 -1
  114. package/dist/components/verdocs-template-tags.js +1 -1
  115. package/dist/components/verdocs-templates-list.js +2 -2
  116. package/dist/components/verdocs-upload-dialog.js +1 -1
  117. package/dist/components/verdocs-view.js +1 -1
  118. package/dist/custom-elements.json +1 -1
  119. package/dist/esm/index-CF7i8guW.js +4 -4
  120. package/dist/esm/loader.js +1 -1
  121. package/dist/esm/verdocs-delegate-dialog.verdocs-disclosure-dialog.verdocs-kba-dialog.verdocs-otp-dialog.verdocs-view.entry.js.map +1 -1
  122. package/dist/esm/verdocs-delegate-dialog_5.entry.js +7 -7
  123. package/dist/esm/verdocs-delegate-dialog_5.entry.js.map +1 -1
  124. package/dist/esm/verdocs-dialog.entry.js +1 -1
  125. package/dist/esm/verdocs-envelope-document-page.entry.js +1 -1
  126. package/dist/esm/verdocs-envelopes-list.entry.js +6 -6
  127. package/dist/esm/verdocs-field-attachment_13.entry.js +3 -3
  128. package/dist/esm/verdocs-menu-panel_2.entry.js +7 -7
  129. package/dist/esm/verdocs-ok-dialog.entry.js +1 -1
  130. package/dist/esm/verdocs-quick-functions.entry.js +1 -1
  131. package/dist/esm/verdocs-search-tabs.entry.js +1 -1
  132. package/dist/esm/verdocs-sign.entry.js +25 -32
  133. package/dist/esm/verdocs-sign.entry.js.map +1 -1
  134. package/dist/esm/verdocs-status-indicator.entry.js +2 -2
  135. package/dist/esm/verdocs-template-card.entry.js +1 -1
  136. package/dist/esm/verdocs-template-star.entry.js +1 -1
  137. package/dist/esm/verdocs-template-tags.entry.js +1 -1
  138. package/dist/esm/verdocs-web-sdk.js +1 -1
  139. package/dist/esm-es5/index-CF7i8guW.js +1 -1
  140. package/dist/esm-es5/loader.js +1 -1
  141. package/dist/esm-es5/verdocs-delegate-dialog.verdocs-disclosure-dialog.verdocs-kba-dialog.verdocs-otp-dialog.verdocs-view.entry.js.map +1 -1
  142. package/dist/esm-es5/verdocs-delegate-dialog_5.entry.js +1 -1
  143. package/dist/esm-es5/verdocs-delegate-dialog_5.entry.js.map +1 -1
  144. package/dist/esm-es5/verdocs-dialog.entry.js +1 -1
  145. package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
  146. package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
  147. package/dist/esm-es5/verdocs-field-attachment_13.entry.js +1 -1
  148. package/dist/esm-es5/verdocs-menu-panel_2.entry.js +1 -1
  149. package/dist/esm-es5/verdocs-ok-dialog.entry.js +1 -1
  150. package/dist/esm-es5/verdocs-quick-functions.entry.js +1 -1
  151. package/dist/esm-es5/verdocs-search-tabs.entry.js +1 -1
  152. package/dist/esm-es5/verdocs-sign.entry.js +1 -1
  153. package/dist/esm-es5/verdocs-sign.entry.js.map +1 -1
  154. package/dist/esm-es5/verdocs-status-indicator.entry.js +1 -1
  155. package/dist/esm-es5/verdocs-template-card.entry.js +1 -1
  156. package/dist/esm-es5/verdocs-template-star.entry.js +1 -1
  157. package/dist/esm-es5/verdocs-template-tags.entry.js +1 -1
  158. package/dist/esm-es5/verdocs-web-sdk.js +1 -1
  159. package/dist/types/components/dialogs/verdocs-disclosure-dialog/verdocs-disclosure-dialog.d.ts +13 -3
  160. package/dist/types/components.d.ts +11 -6
  161. package/dist/verdocs-web-sdk/{p-48366bb6.system.entry.js → p-27965f3b.system.entry.js} +2 -2
  162. package/dist/verdocs-web-sdk/{p-c0ec2636.system.entry.js → p-30c6df44.system.entry.js} +2 -2
  163. package/dist/verdocs-web-sdk/{p-863df983.system.entry.js → p-452fb893.system.entry.js} +2 -2
  164. package/dist/verdocs-web-sdk/{p-7acbd898.entry.js → p-4827f3af.entry.js} +2 -2
  165. package/dist/verdocs-web-sdk/{p-79f5ee74.entry.js → p-48ea586f.entry.js} +2 -2
  166. package/dist/verdocs-web-sdk/{p-e6fd14d5.entry.js → p-5631b76d.entry.js} +2 -2
  167. package/dist/verdocs-web-sdk/p-5e92e1ed.entry.js +2 -0
  168. package/dist/verdocs-web-sdk/p-5e92e1ed.entry.js.map +1 -0
  169. package/dist/verdocs-web-sdk/{p-cc9e6049.system.entry.js → p-637da951.system.entry.js} +2 -2
  170. package/dist/verdocs-web-sdk/p-6f06bc8e.system.entry.js +2 -0
  171. package/dist/verdocs-web-sdk/p-6f06bc8e.system.entry.js.map +1 -0
  172. package/dist/verdocs-web-sdk/p-7e909e4d.system.entry.js +2 -0
  173. package/dist/verdocs-web-sdk/p-7e909e4d.system.entry.js.map +1 -0
  174. package/dist/verdocs-web-sdk/{p-1c4b4425.entry.js → p-8a931007.entry.js} +2 -2
  175. package/dist/verdocs-web-sdk/{p-0a1dc128.entry.js → p-8c6b9758.entry.js} +2 -2
  176. package/dist/verdocs-web-sdk/{p-DAZ_KnJG.system.js.map → p-BIcMEuoc.system.js.map} +1 -1
  177. package/dist/verdocs-web-sdk/{p-rPgqdDgT.system.js.map → p-BMTuIIDz.system.js.map} +1 -1
  178. package/dist/verdocs-web-sdk/{p-CAPHli3W.system.js.map → p-C2U1AIgQ.system.js.map} +1 -1
  179. package/dist/verdocs-web-sdk/p-CBcFsA_E.system.js.map +1 -0
  180. package/dist/verdocs-web-sdk/{p-CZ0N9seS.system.js.map → p-CWdALVSJ.system.js.map} +1 -1
  181. package/dist/verdocs-web-sdk/{p-Dx9QGjeG.system.js.map → p-CXF7FJKi.system.js.map} +1 -1
  182. package/dist/verdocs-web-sdk/{p-F6cjv9kE.system.js.map → p-CiSQubo3.system.js.map} +1 -1
  183. package/dist/verdocs-web-sdk/{p-DXKG6_cs.system.js.map → p-ClClPWj-.system.js.map} +1 -1
  184. package/dist/verdocs-web-sdk/p-CvTJQ0Hb.system.js.map +1 -0
  185. package/dist/verdocs-web-sdk/p-CwXSduhy.system.js +1 -1
  186. package/dist/verdocs-web-sdk/{p-BAthDv8w.system.js.map → p-DANgXHoV.system.js.map} +1 -1
  187. package/dist/verdocs-web-sdk/{p-ynZKIneZ.system.js.map → p-DT5SgITS.system.js.map} +1 -1
  188. package/dist/verdocs-web-sdk/{p-BMQPYgf_.system.js.map → p-Dchsv9SZ.system.js.map} +1 -1
  189. package/dist/verdocs-web-sdk/{p-D6pYq1ZB.system.js.map → p-ZoT3tV_N.system.js.map} +1 -1
  190. package/dist/verdocs-web-sdk/{p-d907fa45.system.entry.js → p-a0f35935.system.entry.js} +2 -2
  191. package/dist/verdocs-web-sdk/{p-f66b18e0.entry.js → p-aa84e0ae.entry.js} +2 -2
  192. package/dist/verdocs-web-sdk/{p-f46b9924.system.entry.js → p-b2a5b79a.system.entry.js} +2 -2
  193. package/dist/verdocs-web-sdk/{p-b9d72eab.entry.js → p-b30ca40c.entry.js} +2 -2
  194. package/dist/verdocs-web-sdk/{p-427eaf21.system.entry.js → p-b8d56777.system.entry.js} +2 -2
  195. package/dist/verdocs-web-sdk/{p-7966d40d.system.entry.js → p-bb1e1ca1.system.entry.js} +2 -2
  196. package/dist/verdocs-web-sdk/{p-ba3df500.entry.js → p-bcdf5197.entry.js} +2 -2
  197. package/dist/verdocs-web-sdk/{p-a95c074c.system.entry.js → p-bf7c7011.system.entry.js} +2 -2
  198. package/dist/verdocs-web-sdk/{p-DPRVGzF_.system.js.map → p-bjoD8Mtb.system.js.map} +1 -1
  199. package/dist/verdocs-web-sdk/{p-14467744.entry.js → p-c4f79857.entry.js} +2 -2
  200. package/dist/verdocs-web-sdk/{p-c1c4603e.system.entry.js → p-c9ffef4b.system.entry.js} +2 -2
  201. package/dist/verdocs-web-sdk/{p-e801f4ac.entry.js → p-cc89f8e4.entry.js} +2 -2
  202. package/dist/verdocs-web-sdk/p-d7109021.entry.js +2 -0
  203. package/dist/verdocs-web-sdk/p-d7109021.entry.js.map +1 -0
  204. package/dist/verdocs-web-sdk/{p-f5677a98.entry.js → p-e26ff4f2.entry.js} +2 -2
  205. package/dist/verdocs-web-sdk/{p-2dab79c8.entry.js → p-e4a44f27.entry.js} +2 -2
  206. package/dist/verdocs-web-sdk/{p-bf90e30b.system.entry.js → p-e7540c7b.system.entry.js} +2 -2
  207. package/dist/verdocs-web-sdk/{p-b7da67bb.system.entry.js → p-ece1678b.system.entry.js} +2 -2
  208. package/dist/verdocs-web-sdk/verdocs-delegate-dialog.verdocs-disclosure-dialog.verdocs-kba-dialog.verdocs-otp-dialog.verdocs-view.entry.esm.js.map +1 -1
  209. package/dist/verdocs-web-sdk/verdocs-sign.entry.esm.js.map +1 -1
  210. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  211. package/package.json +1 -1
  212. package/dist/components/p-B-sC03p7.js.map +0 -1
  213. package/dist/components/p-BpUKXYCJ.js +0 -83
  214. package/dist/components/p-BpUKXYCJ.js.map +0 -1
  215. package/dist/verdocs-web-sdk/p-4704cf14.entry.js +0 -2
  216. package/dist/verdocs-web-sdk/p-4704cf14.entry.js.map +0 -1
  217. package/dist/verdocs-web-sdk/p-53fd51ca.system.entry.js +0 -2
  218. package/dist/verdocs-web-sdk/p-53fd51ca.system.entry.js.map +0 -1
  219. package/dist/verdocs-web-sdk/p-5cb6d4e0.system.entry.js +0 -2
  220. package/dist/verdocs-web-sdk/p-5cb6d4e0.system.entry.js.map +0 -1
  221. package/dist/verdocs-web-sdk/p-Bo8r8IOt.system.js.map +0 -1
  222. package/dist/verdocs-web-sdk/p-CtasYnde.system.js.map +0 -1
  223. package/dist/verdocs-web-sdk/p-d5c66bc3.entry.js +0 -2
  224. package/dist/verdocs-web-sdk/p-d5c66bc3.entry.js.map +0 -1
  225. /package/dist/verdocs-web-sdk/{p-48366bb6.system.entry.js.map → p-27965f3b.system.entry.js.map} +0 -0
  226. /package/dist/verdocs-web-sdk/{p-c0ec2636.system.entry.js.map → p-30c6df44.system.entry.js.map} +0 -0
  227. /package/dist/verdocs-web-sdk/{p-863df983.system.entry.js.map → p-452fb893.system.entry.js.map} +0 -0
  228. /package/dist/verdocs-web-sdk/{p-7acbd898.entry.js.map → p-4827f3af.entry.js.map} +0 -0
  229. /package/dist/verdocs-web-sdk/{p-79f5ee74.entry.js.map → p-48ea586f.entry.js.map} +0 -0
  230. /package/dist/verdocs-web-sdk/{p-e6fd14d5.entry.js.map → p-5631b76d.entry.js.map} +0 -0
  231. /package/dist/verdocs-web-sdk/{p-cc9e6049.system.entry.js.map → p-637da951.system.entry.js.map} +0 -0
  232. /package/dist/verdocs-web-sdk/{p-1c4b4425.entry.js.map → p-8a931007.entry.js.map} +0 -0
  233. /package/dist/verdocs-web-sdk/{p-0a1dc128.entry.js.map → p-8c6b9758.entry.js.map} +0 -0
  234. /package/dist/verdocs-web-sdk/{p-d907fa45.system.entry.js.map → p-a0f35935.system.entry.js.map} +0 -0
  235. /package/dist/verdocs-web-sdk/{p-f66b18e0.entry.js.map → p-aa84e0ae.entry.js.map} +0 -0
  236. /package/dist/verdocs-web-sdk/{p-f46b9924.system.entry.js.map → p-b2a5b79a.system.entry.js.map} +0 -0
  237. /package/dist/verdocs-web-sdk/{p-b9d72eab.entry.js.map → p-b30ca40c.entry.js.map} +0 -0
  238. /package/dist/verdocs-web-sdk/{p-427eaf21.system.entry.js.map → p-b8d56777.system.entry.js.map} +0 -0
  239. /package/dist/verdocs-web-sdk/{p-7966d40d.system.entry.js.map → p-bb1e1ca1.system.entry.js.map} +0 -0
  240. /package/dist/verdocs-web-sdk/{p-ba3df500.entry.js.map → p-bcdf5197.entry.js.map} +0 -0
  241. /package/dist/verdocs-web-sdk/{p-a95c074c.system.entry.js.map → p-bf7c7011.system.entry.js.map} +0 -0
  242. /package/dist/verdocs-web-sdk/{p-14467744.entry.js.map → p-c4f79857.entry.js.map} +0 -0
  243. /package/dist/verdocs-web-sdk/{p-c1c4603e.system.entry.js.map → p-c9ffef4b.system.entry.js.map} +0 -0
  244. /package/dist/verdocs-web-sdk/{p-e801f4ac.entry.js.map → p-cc89f8e4.entry.js.map} +0 -0
  245. /package/dist/verdocs-web-sdk/{p-f5677a98.entry.js.map → p-e26ff4f2.entry.js.map} +0 -0
  246. /package/dist/verdocs-web-sdk/{p-2dab79c8.entry.js.map → p-e4a44f27.entry.js.map} +0 -0
  247. /package/dist/verdocs-web-sdk/{p-bf90e30b.system.entry.js.map → p-e7540c7b.system.entry.js.map} +0 -0
  248. /package/dist/verdocs-web-sdk/{p-b7da67bb.system.entry.js.map → p-ece1678b.system.entry.js.map} +0 -0
@@ -17,7 +17,7 @@ const VerdocsDialog = class {
17
17
  }
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: '270be447ea798d42275ea9ac4e2ecc4a33251233' }, h("div", { key: '8c9b1a41e6dea1b1910c296069f4cfce3779e704', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '486f221c4c6c7fa934536b17757f8427ddfa0e85', class: "dialog" }, h("slot", { key: 'b2814fca9288d6a5de00cb11b24b6a7ff596546b', name: "heading" }, h("div", { key: '0ec2f776317e5a702f160e45bfe872264b82becc', class: "heading" }, "Title")), h("slot", { key: '008cac1775d418d930052a4cd32eb816ddf3755a', name: "content" }, h("div", { key: '670e9177b5586aed4401763ec662b07388735135', class: "content" }, "Content")), h("slot", { key: '3c731fec8083aab7966b5a478bf64c78d95ac8da', name: "footer" }, h("div", { key: '727b66e86fafbad600ed11d7930efe5d3cd8d08f', class: "footer" }, "Footer"))))));
20
+ return (h(Host, { key: 'd35ecf18632cd1fadd0d09f3620f70caa48e7e59' }, h("div", { key: '8be20513940431141c5081a1707fa476610e1012', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '54bd01f44dff81823f2e55fb123bb9c7f3426f5b', class: "dialog" }, h("slot", { key: '1af4b32c31c73b214e90358aaa49060dfb6d095f', name: "heading" }, h("div", { key: 'f6515a3b0fe401ab909dca565241e907233945e6', class: "heading" }, "Title")), h("slot", { key: '230fac7e4f60901bdbb4f147dc2bc8f69e84b48a', name: "content" }, h("div", { key: '0c015df8c5bd2d07268ea301477b8c4b5736fabe', class: "content" }, "Content")), h("slot", { key: 'cdee938000347d04a0c74b35643067925cddc0e1', name: "footer" }, h("div", { key: '4e930b83268f0e8432352048e157f7a89e312086', class: "footer" }, "Footer"))))));
21
21
  }
22
22
  };
23
23
  VerdocsDialog.style = verdocsDialogCss;
@@ -108,7 +108,7 @@ const VerdocsEnvelopeDocumentPage = class {
108
108
  }
109
109
  render() {
110
110
  const height = `${this.renderedHeight}px`;
111
- return (h(Host, { key: '99588c9aa1db321ac6a08e5a4ed1ff6b091a0383', id: `${this.containerId}`, style: { height, flex: `0 0 ${height}` } }, this.layers.map(layer => layer.type === 'div' ? (h("div", { class: "verdocs-envelope-document-page-layer", id: `${this.containerId}-${layer.name}`, style: { height } })) : this.pageDisplayUri ? (h("img", { class: "verdocs-envelope-document-page-layer img", id: `${this.containerId}-${layer.name}`, src: this.pageDisplayUri, alt: `Page ${this.pageNumber}`, "aria-hidden": true, loading: "lazy", onLoad: (e) => {
111
+ return (h(Host, { key: '02f931077290bcda9bc6f22b1e17ee93a3bb482c', id: `${this.containerId}`, style: { height, flex: `0 0 ${height}` } }, this.layers.map(layer => layer.type === 'div' ? (h("div", { class: "verdocs-envelope-document-page-layer", id: `${this.containerId}-${layer.name}`, style: { height } })) : this.pageDisplayUri ? (h("img", { class: "verdocs-envelope-document-page-layer img", id: `${this.containerId}-${layer.name}`, src: this.pageDisplayUri, alt: `Page ${this.pageNumber}`, "aria-hidden": true, loading: "lazy", onLoad: (e) => {
112
112
  // Note that all we really care about is the aspect ratio. We track the natural Width and Height but they aren't really that
113
113
  // useful as individual values. The image will already have been scaled down to fit a DIV for display (100%, auto height).
114
114
  // Builder places fields offset into the rendered display area, not the original document's dimensions. So its X/Y values
@@ -226,18 +226,18 @@ const VerdocsEnvelopesList = class {
226
226
  });
227
227
  }
228
228
  render() {
229
- return (h(Host, { key: 'cbb6106629de750aade6c39f705ecb9f9d103031' }, h("div", { key: '73d522c9cfa87930dcba2aeb543634580c1e76d9', class: "header" }, h("div", { key: 'ac4f7014544ec81be9bae96bb07fdbf7495ca705', class: "filter" }, h("verdocs-text-input", { key: '5b1df9e9aac89391d555eed621efb355e6bac6ce', id: "verdocs-filter-name", value: this.match, clearable: true, autocomplete: "off", placeholder: "Filter by Name, Recipient, or Field...", onFocusout: (e) => {
229
+ return (h(Host, { key: '03db3e7632a6cc053cfe8bc265d417a249da57c3' }, h("div", { key: 'de8c658f087db66edf2d8794e3841fbb24e617b6', class: "header" }, h("div", { key: '5781fc1bb782de28c90390ee64c64b0de424d956', class: "filter" }, h("verdocs-text-input", { key: 'ed0b65c9c16c8a357d867296a8407d1ddfc69235', id: "verdocs-filter-name", value: this.match, clearable: true, autocomplete: "off", placeholder: "Filter by Name, Recipient, or Field...", onFocusout: (e) => {
230
230
  var _a;
231
231
  // We don't locally filter envelopes because there are too many fields to match against efficiently.
232
232
  this.match = e.target.value.trim();
233
233
  (_a = this.changeMatch) === null || _a === void 0 ? void 0 : _a.emit(this.match);
234
- } })), h("verdocs-quick-filter", { key: 'ca081aa3b0a548620d66f49935d08430714bcd90', label: "View", value: this.view, options: ViewFilters, onOptionSelected: e => {
234
+ } })), h("verdocs-quick-filter", { key: '8de9a090f86cfb2f24c164817206dada09b3e1e4', label: "View", value: this.view, options: ViewFilters, onOptionSelected: e => {
235
235
  this.view = e.detail.value;
236
- } }), this.view === 'all' && (h("verdocs-quick-filter", { key: '1b956dfc0c28df1b990aa695c0df8d114c6fe1b5', label: "Status", value: this.status, options: StatusFilters, onOptionSelected: e => {
236
+ } }), this.view === 'all' && (h("verdocs-quick-filter", { key: 'f92625d34caa11274e26eab6f60b0bf22d7da1f3', label: "Status", value: this.status, options: StatusFilters, onOptionSelected: e => {
237
237
  this.status = e.detail.value;
238
- } })), this.view === 'all' && (h("verdocs-quick-filter", { key: 'ea43244641ff51676c8e59346af1843582865b82', label: "Sort By", value: this.sort, options: SortFilters, onOptionSelected: e => {
238
+ } })), this.view === 'all' && (h("verdocs-quick-filter", { key: '6f414329f0b0895fb23ea479995a190873a7f678', label: "Sort By", value: this.sort, options: SortFilters, onOptionSelected: e => {
239
239
  this.sort = e.detail.value;
240
- } })), this.loading && h("verdocs-spinner", { key: 'd04c29615a3e9886d9eee78eb76ad4f30ccf8cb4', mode: "dark", size: 24 }), h("div", { key: '8ff362b83507cf75ac48787c67b2728d7980ec59', style: { display: 'flex', flex: '1' } }), this.selectedEnvelopes.length > 0 && h("verdocs-button", { key: 'f786131801b4476edd8260dac6213c0bfeaaead6', label: `Download (${this.selectedEnvelopes.length})`, onClick: () => this.handleDownload() })), this.envelopes.map(envelope => {
240
+ } })), this.loading && h("verdocs-spinner", { key: '10f2c5da4be2b8cc69483f08cbc9e9232f9353c1', mode: "dark", size: 24 }), h("div", { key: 'b513ca3b4cc84b94eb2adb3e33dd520f73234c2c', style: { display: 'flex', flex: '1' } }), this.selectedEnvelopes.length > 0 && h("verdocs-button", { key: '33414fd667a2c614e9f97f47069ff7c35650b942', label: `Download (${this.selectedEnvelopes.length})`, onClick: () => this.handleDownload() })), this.envelopes.map(envelope => {
241
241
  var _a;
242
242
  const recipientsWithActions = getRecipientsWithActions(envelope);
243
243
  const userCanCancel = userCanCancelEnvelope(this.endpoint.profile, envelope);
@@ -278,7 +278,7 @@ const VerdocsEnvelopesList = class {
278
278
  break;
279
279
  }
280
280
  } }))));
281
- }), !this.initiallyLoaded && (h("div", { key: '4624707aa6e7a1dfda1859ac051889354ad580c1', style: { width: '100%' } }, integerSequence(0, this.rowsPerPage).map(() => (h("div", { class: "envelope-placeholder" }))))), this.initiallyLoaded && !this.envelopes.length && h("div", { key: '2fe7ad29dc24785c0c3985c415965855262be746', class: "empty-text" }, "No matching envelopes found. Please adjust your filters and try again."), this.initiallyLoaded && this.envelopes.length && this.showPagination ? (h("div", { style: { marginTop: '20px' } }, h("verdocs-pagination", { selectedPage: this.selectedPage, perPage: this.rowsPerPage, itemCount: this.count, onSelectPage: e => {
281
+ }), !this.initiallyLoaded && (h("div", { key: 'ddd2040e44efe0f183a087c96637c0f94aadf97a', style: { width: '100%' } }, integerSequence(0, this.rowsPerPage).map(() => (h("div", { class: "envelope-placeholder" }))))), this.initiallyLoaded && !this.envelopes.length && h("div", { key: '19b8b1700b16781b36d4f8986653ca9ab55fff4a', class: "empty-text" }, "No matching envelopes found. Please adjust your filters and try again."), this.initiallyLoaded && this.envelopes.length && this.showPagination ? (h("div", { style: { marginTop: '20px' } }, h("verdocs-pagination", { selectedPage: this.selectedPage, perPage: this.rowsPerPage, itemCount: this.count, onSelectPage: e => {
282
282
  this.selectedPage = e.detail.selectedPage;
283
283
  } }))) : (h("div", null))));
284
284
  }
@@ -1463,7 +1463,7 @@ const VerdocsInitialDialog = class {
1463
1463
  }
1464
1464
  */
1465
1465
  render() {
1466
- return (h(Host, { key: '9bf03aff1aa819a938182df93414c81c4f49f949', onClick: e => this.handleCancel(e) }, h("div", { key: 'b8c1a13e73a3336fb230f30b6792b9014dae0a54', class: "dialog" }, h("div", { key: 'c2d09f37bb2d061e1d92224c597c25ed338b5267', class: "heading" }, "Create Your Initial"), h("div", { key: '541f2972d78058c5a3a8a15649ee5911513918aa', class: "content" }, h("verdocs-text-input", { key: 'ce25300d4755596a4a1b06148eb664036f034bfc', placeholder: "Initials...", label: "Initials", value: this.enteredInitials, onInput: e => this.handleNameChange(e) }), h("div", { key: '4f188703915111d151c9233f608e53d7404f5f43', class: "as-shown" }, "As shown on driver's license or govt. ID card."), this.fontLoaded ? h("canvas", { ref: el => (this.canvasElement = el) }) : h("div", { style: { display: 'none' } }), h("div", { key: '1fa64074781c378b23a131626f24d022f7d24f1b', class: "disclaimer" }, "By clicking Adopt, I agree that the signature will be the electronic representation of my signature for all purposes when I (or my agent) use them on documents, including legally binding contracts \u2014 just the same as a pen-and-paper signature or initial."), h("div", { key: 'a0fc321945ce1f4ee363e963f4de8dcbff566072', class: "buttons" }, h("verdocs-button", { key: 'ac5094c6d536bdd0b69e96ba0695f2300c4d085b', label: "CANCEL", variant: "outline", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: 'ba8b74f8ef1b61ff45448ee443df9190e888d408', label: "Adopt & Sign", onClick: e => this.handleAdopt(e) }))))));
1466
+ return (h(Host, { key: '6b329cf9aa1033ea86d7f78f098aa77f55f30caf', onClick: e => this.handleCancel(e) }, h("div", { key: 'c024be1893e3733134febe2392a7eeb415d5f801', class: "dialog" }, h("div", { key: '0224f5152de1bd4ec193dc9ab2f498a57944fd5a', class: "heading" }, "Create Your Initial"), h("div", { key: '7b11cfb7e19b96b64d217624c0deba92b991f76b', class: "content" }, h("verdocs-text-input", { key: '9939e229bfbeb8e1c9db37ef1be71ec0c2b64297', placeholder: "Initials...", label: "Initials", value: this.enteredInitials, onInput: e => this.handleNameChange(e) }), h("div", { key: '088fdc0ef321682791e29cbe9b518cebc8857b42', class: "as-shown" }, "As shown on driver's license or govt. ID card."), this.fontLoaded ? h("canvas", { ref: el => (this.canvasElement = el) }) : h("div", { style: { display: 'none' } }), h("div", { key: '6344a31af62001baccb017d930378ce8a78fa0a7', class: "disclaimer" }, "By clicking Adopt, I agree that the signature will be the electronic representation of my signature for all purposes when I (or my agent) use them on documents, including legally binding contracts \u2014 just the same as a pen-and-paper signature or initial."), h("div", { key: '30ab6e8267d711d07849dccd0c76e2af56312857', class: "buttons" }, h("verdocs-button", { key: 'bfc226716b0f94930cfd08eed00031cf21351a22', label: "CANCEL", variant: "outline", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '117887715a638da9467284f6e246aab260e42b2e', label: "Adopt & Sign", onClick: e => this.handleAdopt(e) }))))));
1467
1467
  }
1468
1468
  };
1469
1469
  VerdocsInitialDialog.style = verdocsInitialDialogCss;
@@ -1686,7 +1686,7 @@ const VerdocsSignatureDialog = class {
1686
1686
  }
1687
1687
  */
1688
1688
  render() {
1689
- return (h(Host, { key: 'deb2bce5a68396ae6957438e2ed313704bca58b1', onClick: e => this.handleCancel(e) }, h("div", { key: '477e5dc9accd28bcc8091c3bf242bdf4a0848f8d', class: "dialog" }, h("div", { key: '2a500b3df941ec50d1beb28eaf6eadf487e10203', class: "heading" }, "Create Your Signature"), h("div", { key: '032f6a787d3dee4821830db6dc5ffba4a3945072', class: "content" }, h("verdocs-text-input", { key: '0029661a25750017f3aff9739fbab475981b5ccc', placeholder: "Full Name...", label: "Full Name", value: this.enteredName, onInput: e => this.handleNameChange(e), onClick: e => e.stopPropagation() }), h("div", { key: 'a7409613568db441a1365acdb7dee6f4d176485c', class: "as-shown" }, "As shown on driver's license or govt. ID card."), this.fontLoaded ? h("canvas", { ref: el => (this.canvasElement = el) }) : h("div", { style: { display: 'none' } }), h("div", { key: '780e69a2d164b8d06b679b6ac71a30bac5680306', class: "disclaimer" }, "By clicking Adopt, I agree that the signature will be the electronic representation of my signature for all purposes when I (or my agent) use them on documents, including legally binding contracts \u2014 just the same as a pen-and-paper signature or initial."), h("div", { key: '06e9ef71b4d0e5762a49e3939a513efd32665ba9', class: "buttons" }, h("verdocs-button", { key: 'b71509de58c901e17d95905cb5ffa7ebff267163', label: "CANCEL", size: "normal", variant: "outline", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: 'a732f937f97757a09a3958285bc742839388650d', label: "Adopt & Sign", size: "normal", onClick: e => this.handleAdopt(e) }))))));
1689
+ return (h(Host, { key: 'acc7ab16f245e9837cbde2b03b1a837d898148bd', onClick: e => this.handleCancel(e) }, h("div", { key: '8728c77af710dc336a8ace46fe28da3ab0440753', class: "dialog" }, h("div", { key: 'b1e9bf9b4fe8ecf20e7c629b8b38c753a71e1a6d', class: "heading" }, "Create Your Signature"), h("div", { key: '7b49a6e531a004443bf7e3bc5f44680b41fa98c2', class: "content" }, h("verdocs-text-input", { key: '9850bb05023f3087c82f0580f188a3ffcf69bf43', placeholder: "Full Name...", label: "Full Name", value: this.enteredName, onInput: e => this.handleNameChange(e), onClick: e => e.stopPropagation() }), h("div", { key: '73cf1f335aabebb9406ace2a59d27b61f5b33c7a', class: "as-shown" }, "As shown on driver's license or govt. ID card."), this.fontLoaded ? h("canvas", { ref: el => (this.canvasElement = el) }) : h("div", { style: { display: 'none' } }), h("div", { key: '91df74287a0e6bf12f7815ad43755a49e3830da3', class: "disclaimer" }, "By clicking Adopt, I agree that the signature will be the electronic representation of my signature for all purposes when I (or my agent) use them on documents, including legally binding contracts \u2014 just the same as a pen-and-paper signature or initial."), h("div", { key: '5d0c4381cbcca67a9a2a1bbc241cb3d6b64980ee', class: "buttons" }, h("verdocs-button", { key: 'ee647683441818872373162a82c9381bc5292374', label: "CANCEL", size: "normal", variant: "outline", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: 'ffc74e9f732e1fde6cc4c0a483373d1b2a6d7846', label: "Adopt & Sign", size: "normal", onClick: e => this.handleAdopt(e) }))))));
1690
1690
  }
1691
1691
  };
1692
1692
  VerdocsSignatureDialog.style = verdocsSignatureDialogCss;
@@ -1768,7 +1768,7 @@ const VerdocsUploadDialog = class {
1768
1768
  render() {
1769
1769
  var _a;
1770
1770
  const existingFile = ((_a = this.existingFile) === null || _a === void 0 ? void 0 : _a.name) ? this.existingFile : null;
1771
- return (h(Host, { key: 'acec8b275ba9b532b0e7d8edd7f532da9ff8a49b' }, h("div", { key: '3bc096ddbe51bc9c4f88bacf560bfdaecc7d722a', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: 'ccf7d549b3649ae55f2f43b6cd81cbcd6ff24f81', class: "upload-dialog-content" }, h("div", { key: '04f0d9e18619ca8a5e92197ba15625ab26bd6660', class: "heading" }, "Upload attachment"), this.selectedFiles.length < 1 && existingFile && (h(Fragment, { key: '424808e3f2ca8cd2cb0c1e95c6770bbd18589a7b' }, h("div", { key: '86b98d6d6dc8393a4e8b9c6944c805a708fdd92d', class: "current-label" }, "Current Attachment"), h("div", { key: '2ed4f3c1e61e78d886ffd4b7993fa3fa20924035', class: "attachments", style: { marginTop: '0' } }, h("div", { key: '2a484327598c4e1965469cc12fe857fa8efa5bc3', class: "attachment" }, h("div", { key: '805e4a64333e7178cf4366c69ad420ee7a0bac2d', class: "icon", innerHTML: PaperclipIcon }), h("div", { key: '69d049b071152f45d744a88510159cc35cdb812e', class: "name" }, existingFile.name), h("div", { key: 'fa122173588c5c5f98acf6c15c8bdae423da63bd', class: "icon trash", innerHTML: TrashIcon, onClick: () => (this.confirmDelete = true) }))))), this.selectedFiles.length < 1 && !existingFile && (h("div", { key: 'f1b11fe5a57cb11d63f957880195e27b09ec0722', class: { 'drop-target': true, 'dragging-over': this.draggingOver }, onDragOver: e => this.handleDragOver(e), onDragLeave: e => this.handleDragLeave(e), onDrop: e => this.handleDrop(e) }, h("p", { key: '7328834713c5bb0dfdf4104ec2bb4fd87d1fdc08' }, "Drag and drop your files here"), h("p", { key: '1b5aefb7b4326f7fe84a0e47e2a57aeaec8ffb6b', class: "subscript" }, "Supported files: PDF, Word, JPG, PNG"), h("verdocs-button", { key: '250ebb61a127b4165035b763ecf463300981c5cd', label: !!existingFile ? 'Replace files' : 'Select files', onClick: () => this.handleSelectFile() }), h("input", { key: '184654378febda7abbe3487cc96c116990d91854', type: "file", ref: el => (this.fileInput = el), style: { display: 'none' }, accept: ".pdf,application/pdf,.doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,image/*", onChange: () => this.handleFileChange() }))), this.selectedFiles.length > 0 && (h("div", { key: 'bae3de8954a39b7786d541fff3f1e2fda812e99e', class: "attachments" }, this.selectedFiles.map((file, index) => (h("div", { class: "attachment" }, h("div", { class: "icon", innerHTML: PaperclipIcon }), h("div", { class: "name" }, file.name), h("div", { class: "icon trash", innerHTML: TrashIcon, onClick: () => this.handleRemoveAttachment(index) })))))), !!this.errorMessage && h("div", { key: '9600b241b7b8b8688a63265f6cc62c0f51a28a77', class: "error" }, this.errorMessage), h("div", { key: 'c24ba70a3dbf0bb0a27f157b9f4de52c13c9a6bd', class: "buttons" }, h("verdocs-button", { key: 'a7cbe8bdcc65e440ef3991804742c470dba36196', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), h("verdocs-button", { key: '02c46ae6497af108e7d5331da4b7787cf1b7e9dd', label: "Upload", onClick: () => this.handleDone(), disabled: !!this.errorMessage || this.selectedFiles.length < 1 })))), this.confirmDelete && (h("verdocs-ok-dialog", { key: '9955376ca5523b74177263e2f9f144c540213555', heading: "Delete Attachment?", message: "Are you sure you wish to delete this attachment? This action cannot be undone.", showCancel: true, onExit: e => {
1771
+ return (h(Host, { key: '139f3f3d49dfd364f84f45ee8299af4153237101' }, h("div", { key: '9b2978b9f2048ceb3d1a76f18643c7fb8b8a347a', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: 'bf80296121983032af64b32d825b5a6992ffd77e', class: "upload-dialog-content" }, h("div", { key: 'ad9000c34ae641ddbc22d2164aac55d2abd21248', class: "heading" }, "Upload attachment"), this.selectedFiles.length < 1 && existingFile && (h(Fragment, { key: 'e30144af61c74daaff370b209c417ba7788ea7a3' }, h("div", { key: 'abcfb4a0d829b10d59dd9da39985255b799393c9', class: "current-label" }, "Current Attachment"), h("div", { key: '54f3521cbd2e6301552324c8b8114fc149546864', class: "attachments", style: { marginTop: '0' } }, h("div", { key: '0afbf04d5c722631db9ff83906faa9a7e0345276', class: "attachment" }, h("div", { key: 'fa80b0d7658e7896b147c6203c5e1d8b491c1f74', class: "icon", innerHTML: PaperclipIcon }), h("div", { key: 'cd5e3e9d76ebeb9147ffddd3942d4977edc0f3c9', class: "name" }, existingFile.name), h("div", { key: 'f344c93ce3eb63e090d9dc50f6ae04d002115564', class: "icon trash", innerHTML: TrashIcon, onClick: () => (this.confirmDelete = true) }))))), this.selectedFiles.length < 1 && !existingFile && (h("div", { key: 'b3f16bd6083688bc28c4f68e2f80ee34c28e9dfe', class: { 'drop-target': true, 'dragging-over': this.draggingOver }, onDragOver: e => this.handleDragOver(e), onDragLeave: e => this.handleDragLeave(e), onDrop: e => this.handleDrop(e) }, h("p", { key: 'af01cab6b27c1077d8b88f12f68dc0df36353dc6' }, "Drag and drop your files here"), h("p", { key: '9e293b299c224abdb3da4980f26c765f339aebd6', class: "subscript" }, "Supported files: PDF, Word, JPG, PNG"), h("verdocs-button", { key: '7ecde795cfc19c39f6b884d869775467d9aee428', label: !!existingFile ? 'Replace files' : 'Select files', onClick: () => this.handleSelectFile() }), h("input", { key: 'a494e813a79284d6e87e2ce070b529abe2e63a64', type: "file", ref: el => (this.fileInput = el), style: { display: 'none' }, accept: ".pdf,application/pdf,.doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,image/*", onChange: () => this.handleFileChange() }))), this.selectedFiles.length > 0 && (h("div", { key: 'c3c07ea1e951323bb21870a6b90593b5d904c352', class: "attachments" }, this.selectedFiles.map((file, index) => (h("div", { class: "attachment" }, h("div", { class: "icon", innerHTML: PaperclipIcon }), h("div", { class: "name" }, file.name), h("div", { class: "icon trash", innerHTML: TrashIcon, onClick: () => this.handleRemoveAttachment(index) })))))), !!this.errorMessage && h("div", { key: '00d4a855fc0ffff76b3689356a0c9e664677f8cb', class: "error" }, this.errorMessage), h("div", { key: 'b787b10c61fe63009a80db683f7079d9e3be02ce', class: "buttons" }, h("verdocs-button", { key: 'd915b062e66dab1f18097db58c6937d3f6502195', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), h("verdocs-button", { key: 'f8bba5da529034d74fc53f109c56e9c14de44017', label: "Upload", onClick: () => this.handleDone(), disabled: !!this.errorMessage || this.selectedFiles.length < 1 })))), this.confirmDelete && (h("verdocs-ok-dialog", { key: '3bc7ce6182b136fad1d9bd34347129b4606d32cc', heading: "Delete Attachment?", message: "Are you sure you wish to delete this attachment? This action cannot be undone.", showCancel: true, onExit: e => {
1772
1772
  // So we don't close the upload dialog
1773
1773
  e.preventDefault();
1774
1774
  e.stopPropagation();
@@ -221,31 +221,31 @@ const VerdocsTemplateRoleProperties = class {
221
221
  const hasFields = (((_a = this.template) === null || _a === void 0 ? void 0 : _a.fields) || []).some(field => field.role_name === this.roleName);
222
222
  // Either all three should be empty, or all three need to be filled
223
223
  const isValid = (!this.email && !this.first_name && !this.last_name) || (isValidEmail(this.email) && !!this.first_name && !!this.last_name);
224
- return (h(Host, { key: 'bcd42a969b8c8bc1e26230ee030fe3ecce41d19c' }, h("form", { key: 'c76c7ec1f28ecd3c5def9fd9909f623c8af54331', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("div", { key: 'bfa5a347218860bd3a84c1a8b56f73b144c77635' }, h("verdocs-text-input", { key: 'c3be39c7b598497b508deca0524aebb483290fec', id: "verdocs-role-name", label: "Role Name (Must be unique)", value: this.name, autocomplete: "off", disabled: hasFields, placeholder: "Role Name...", onInput: (e) => {
224
+ return (h(Host, { key: 'd53a7b8a4b5fcd186c1c15f795014f54a68f0735' }, h("form", { key: '782177f1f4008ddd294a385e514b0ab186d27f7b', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("div", { key: '72de86449db654c1b8cba0165389e17ec299d5ba' }, h("verdocs-text-input", { key: '7c4fccec573691b2b8a47b16e2e505a73fd477e1', id: "verdocs-role-name", label: "Role Name (Must be unique)", value: this.name, autocomplete: "off", disabled: hasFields, placeholder: "Role Name...", onInput: (e) => {
225
225
  this.name = e.target.value;
226
226
  this.dirty = true;
227
- } }), hasFields && h("div", { key: 'ffeef355eea5b39554c33f3921601ac052c17946', class: "instructions" }, "This role has fields assigned and can no longer be renamed.")), h("div", { key: 'a6da7e387291e2dec0a8d4a53e914f2288280635' }, h("div", { key: '83a6ce83779b2598d698dfa975fcb6264fb66fbe', class: "input-label" }, "Type:"), h("verdocs-select-input", { key: 'bf16d0f3886c28e83c55051e2d1ef89f3ac7472b', value: this.type, options: [
227
+ } }), hasFields && h("div", { key: 'ebc5e1b04ae8e1c3fbaef32bfa900481f619d6b5', class: "instructions" }, "This role has fields assigned and can no longer be renamed.")), h("div", { key: '35e64a14483e9c23991ff441d91d4b2c26c0efde' }, h("div", { key: '9c94b96aa7b0673e014859b99d500b23e0e374ef', class: "input-label" }, "Type:"), h("verdocs-select-input", { key: 'a076cc288bff57800bef9662f1e68ec4d20848a3', value: this.type, options: [
228
228
  { label: 'Signer', value: 'signer' },
229
229
  { label: 'CC', value: 'cc' },
230
230
  { label: 'Approver', value: 'approver' },
231
231
  ], onInput: (e) => {
232
232
  this.type = e.target.value;
233
233
  this.dirty = true;
234
- } })), h("div", { key: '9f584a0f03b9f60ccb514d8a36df58b89d80dadd' }, h("div", { key: '24b0faf2816414d12da2d70199896ab878173197', class: "input-label" }, "Default Contact Info:"), h("div", { key: 'f37d35e63c2e80316db4d89e5b2a36cf900790e6', class: "first-last" }, h("verdocs-text-input", { key: 'e467a1abdd69b5873acf97a4752567f798d93429', id: "verdocs-recipient-first", value: this.first_name, autocomplete: "off", placeholder: "First...", onInput: (e) => {
234
+ } })), h("div", { key: 'f89053c8cc7f3b4d0fa37619763588b5f1cc03ba' }, h("div", { key: '2e4b21bba996500f0a5d0d84516723e60dc885a6', class: "input-label" }, "Default Contact Info:"), h("div", { key: '09496f13651f309efdecee76ee606290c47d2de1', class: "first-last" }, h("verdocs-text-input", { key: 'af4d812e6aef5995214798c2ac0f1c4c0a02cc69', id: "verdocs-recipient-first", value: this.first_name, autocomplete: "off", placeholder: "First...", onInput: (e) => {
235
235
  this.first_name = e.target.value;
236
236
  this.dirty = true;
237
- } }), h("verdocs-text-input", { key: '6a29956cfaa7094718bbc668d8818edaf83ed7db', id: "verdocs-recipient-first", value: this.last_name, autocomplete: "off", placeholder: "Last...", onInput: (e) => {
237
+ } }), h("verdocs-text-input", { key: 'db98adc3a4d20c5c522fc4b22cb6755fdae14032', id: "verdocs-recipient-first", value: this.last_name, autocomplete: "off", placeholder: "Last...", onInput: (e) => {
238
238
  this.last_name = e.target.value;
239
239
  this.dirty = true;
240
- } }))), h("div", { key: '023b95f0efb19db5e1663f63275f3fe1cf66cafa' }, h("verdocs-text-input", { key: '57f2a9693e3b7f010ec361c558610689583da297', id: "verdocs-recipient-email", value: this.email, autocomplete: "off", placeholder: "Email Address...", onInput: (e) => {
240
+ } }))), h("div", { key: '2cdc9df0e1c818adaf0199d4958f00a9bc33935d' }, h("verdocs-text-input", { key: 'bbae39be367309f8c6e28bd846d14507576fbe21', id: "verdocs-recipient-email", value: this.email, autocomplete: "off", placeholder: "Email Address...", onInput: (e) => {
241
241
  this.email = e.target.value;
242
242
  this.dirty = true;
243
- } }), h("div", { key: '3f4884d843f4363ea4d462a651b9bd2fcebc62f7', style: { height: '15px' } }), h("div", { key: 'b57692a25f3516a8b3b32e167dffe165ed61bbc7' }, h("verdocs-text-input", { key: 'cbe17684a4cca331e9816306e7a8302572baad2d', id: "verdocs-recipient-phone", value: this.phone, autocomplete: "off",
243
+ } }), h("div", { key: 'ea2c416544223ecc29a3a05f98715a59afa37c6f', style: { height: '15px' } }), h("div", { key: 'ece75bcf68a91a6678f97d4db865dac3721b3279' }, h("verdocs-text-input", { key: '6a8b4954e7553a0e54a54f0250a93e23f0c48f29', id: "verdocs-recipient-phone", value: this.phone, autocomplete: "off",
244
244
  // helpText="The recipient's phone number, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template."
245
245
  placeholder: "Phone Number...", onInput: (e) => {
246
246
  this.phone = e.target.value;
247
247
  this.dirty = true;
248
- } }))), h("div", { key: 'a23f985d88ab9d119762e65949987be75249a08b', class: "buttons" }, h("button", { key: 'd3c10128fcc3dce49c0c2103313e5b153008b5de', class: "delete-button", disabled: this.dirty, onClick: e => this.handleDelete(e), innerHTML: TrashIcon }), h("div", { key: '677a3157abb085ae08f5af0dbf9ed9ed8baa9b55', style: { flex: '1' } }), h("verdocs-button", { key: '2fe045a4b83f78aa271d520026f0cf0d1ef37851', size: "small", label: "Save", disabled: !this.dirty || !isValid, onClick: e => this.handleSave(e) })))));
248
+ } }))), h("div", { key: 'd6a93cdd48d5621545474b514106c5996bdfb52f', class: "buttons" }, h("button", { key: 'f5743fa9cf13d35e25327529872da94b99ffd7d2', class: "delete-button", disabled: this.dirty, onClick: e => this.handleDelete(e), innerHTML: TrashIcon }), h("div", { key: '7134249e6e3c94d0e5610ac8e085422011a306a5', style: { flex: '1' } }), h("verdocs-button", { key: 'ba1f0f28bba763316963631791e49cfb21348030', size: "small", label: "Save", disabled: !this.dirty || !isValid, onClick: e => this.handleSave(e) })))));
249
249
  }
250
250
  };
251
251
  VerdocsTemplateRoleProperties.style = verdocsTemplateRolePropertiesCss;
@@ -41,7 +41,7 @@ const VerdocsOkDialog = class {
41
41
  }
42
42
  }
43
43
  render() {
44
- return (h(Host, { key: 'a53ec883d89c75014091071d45b629f14fb8a14f', class: this.closed ? 'closed' : '' }, h("div", { key: 'eeba1a34d586227ddbdbccb2ce6a273bf516a2ed', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: 'd803f8cda0d55045eb85d13c98e359ded7fddf24', class: "dialog" }, h("div", { key: 'cd12ec9dd5c8e1e496ad1410a87fa866c7cd3143', class: "heading" }, this.heading), h("div", { key: '9256bbda5d99136202bd36847bf488c8b29de936', class: "content" }, h("div", { key: '3ffeaaf5cda9073ed5775acbe9bb44f2aca14fa2', class: "message", innerHTML: this.message }), h("div", { key: '0914a64b1de3f12de80cdb8536315eb3dd804fa1', class: "buttons" }, this.showCancel ? h("verdocs-button", { label: "CANCEL", variant: "outline", onClick: () => this.handleCancel() }) : h("div", { style: { display: 'none' } }), h("verdocs-button", { key: '6cffacc69dad4bfe86b324a6b15b684a8233557e', label: this.buttonLabel, onClick: () => this.handleOk() })))))));
44
+ return (h(Host, { key: 'cd2b8955d5b54fe604643b6c5fbeda2145a3e1a0', class: this.closed ? 'closed' : '' }, h("div", { key: '2e2aff4148795df63f46438b2c780c4502f62faa', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '1309284a515d1d6ced44e1e2053391c8fa068559', class: "dialog" }, h("div", { key: '6e0edf1f5ec9c4603809a7e6a3983ec18202c529', class: "heading" }, this.heading), h("div", { key: 'b5e2a65e6500b7d980897f7eb1abc0565091528b', class: "content" }, h("div", { key: '9c3b3bd6949d590483831613708138628a799f41', class: "message", innerHTML: this.message }), h("div", { key: 'c87098d58bb71eec081ec0931c1bc0fa58134e96', class: "buttons" }, this.showCancel ? h("verdocs-button", { label: "CANCEL", variant: "outline", onClick: () => this.handleCancel() }) : h("div", { style: { display: 'none' } }), h("verdocs-button", { key: 'a7db979266711fa7227aebf88e62f67f6dd110eb', label: this.buttonLabel, onClick: () => this.handleOk() })))))));
45
45
  }
46
46
  };
47
47
  VerdocsOkDialog.style = verdocsOkDialogCss;
@@ -22,7 +22,7 @@ const VerdocsQuickFunctions = class {
22
22
  this.createDocument.emit();
23
23
  }
24
24
  render() {
25
- return (h("div", { key: '0874f643294a75aceb7b3349e0a37676d5a8781f', class: "container" }, h("p", { key: '17048d0670204acb515ca30c0203dc18c3fd83b3', class: "title" }, "Quick Create"), h("button", { key: '7a603dd01f70f258634300ecf7a105d93de3a227', onClick: () => this.handleCreateTemplate(), innerHTML: TemplateIcon }, "Template"), h("button", { key: '8b3f400d7388742f1c6b2fa3c58e8ecd00addcc2', onClick: () => this.handleCreateDocument(), innerHTML: DocumentIcon }, "Document")));
25
+ return (h("div", { key: '520e3e7bc52c8576242bc1cfb02e930bab4b273d', class: "container" }, h("p", { key: 'd209502c99be80c6f24f4022d254ae29f7391f37', class: "title" }, "Quick Create"), h("button", { key: '56a47cc8adcc3064b0bec7f5fd04a1753de35485', onClick: () => this.handleCreateTemplate(), innerHTML: TemplateIcon }, "Template"), h("button", { key: 'b65b4044d71704709ebc046600b89bb6dee9ee55', onClick: () => this.handleCreateDocument(), innerHTML: DocumentIcon }, "Document")));
26
26
  }
27
27
  };
28
28
  VerdocsQuickFunctions.style = verdocsQuickFunctionsCss;
@@ -8,7 +8,7 @@ const VerdocsSearchTabs = class {
8
8
  this.selected = 'all';
9
9
  }
10
10
  render() {
11
- return h("div", { key: 'ea073df4a119cf2ad0d5af62f4ade626411d336f' }, "\u00A0");
11
+ return h("div", { key: '44832e610cb2bf4550395fbc689bc293aeeab77a' }, "\u00A0");
12
12
  }
13
13
  };
14
14
  VerdocsSearchTabs.style = verdocsSearchTabsCss;
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, F as Fragment } from './index-CF7i8guW.js';
2
- import { VerdocsEndpoint, startSigningSession, envelopeRecipientAgree, envelopeRecipientDecline, updateEnvelopeField, createSignature, updateEnvelopeFieldSignature, createInitials, updateEnvelopeFieldInitials, isValidPhone, isValidEmail, sortFields, envelopeRecipientSubmit, getEnvelope, uploadEnvelopeFieldAttachment, deleteEnvelopeFieldAttachment, formatFullName, fullNameToInitials, verifySigner, delegateRecipient, integerSequence } from '@verdocs/js-sdk';
2
+ import { VerdocsEndpoint, startSigningSession, envelopeRecipientAgree, updateEnvelopeField, createSignature, updateEnvelopeFieldSignature, createInitials, updateEnvelopeFieldInitials, isValidPhone, isValidEmail, sortFields, envelopeRecipientSubmit, getEnvelope, uploadEnvelopeFieldAttachment, deleteEnvelopeFieldAttachment, formatFullName, fullNameToInitials, verifySigner, delegateRecipient, envelopeRecipientDecline, integerSequence } from '@verdocs/js-sdk';
3
3
  import { a as saveAttachment, u as updateDocumentFieldValue, g as getFieldId, r as renderDocumentField } from './utils-DmfOx9Ey.js';
4
4
  import { D as DefaultEndpoint } from './Environment-C_Xku1v2.js';
5
5
  import { V as VerdocsToast } from './Toast-CyvDgtoV.js';
@@ -26,17 +26,6 @@ const DEFAULT_DISCLOSURES = `
26
26
  Privacy Policy</a>.
27
27
  </li>
28
28
  </ul>`;
29
- const inProgressMenuOptions = [
30
- { id: 'later', label: 'Finish Later' }, //
31
- // {id: 'claim', label: 'Claim the Document', disabled: true},
32
- { id: 'decline', label: 'Decline to Sign' },
33
- { id: 'print', label: 'Print Without Signing' },
34
- { id: 'download', label: 'Download' },
35
- ];
36
- const doneMenuOptions = [
37
- { id: 'print', label: 'Print' },
38
- { id: 'download', label: 'Download' },
39
- ];
40
29
  const VerdocsSign = class {
41
30
  constructor(hostRef) {
42
31
  registerInstance(this, hostRef);
@@ -202,31 +191,22 @@ const VerdocsSign = class {
202
191
  });
203
192
  }
204
193
  async handleOptionSelected(e) {
205
- var _a, _b, _c, _d, _e;
194
+ var _a, _b, _c;
206
195
  switch (e.detail.id) {
207
196
  case 'later':
208
197
  this.finishLater = true;
209
198
  this.showFinishLater = true;
210
199
  (_a = this.envelopeUpdated) === null || _a === void 0 ? void 0 : _a.emit({ endpoint: this.endpoint, envelope: this.envelope, event: 'later' });
211
200
  break;
212
- case 'claim':
213
- VerdocsToast('This feature will be available in an upcoming release.');
214
- (_b = this.envelopeUpdated) === null || _b === void 0 ? void 0 : _b.emit({ endpoint: this.endpoint, envelope: this.envelope, event: 'claimed' });
201
+ case 'delegate':
202
+ this.delegating = true;
215
203
  break;
216
204
  case 'decline':
217
- {
218
- this.submitting = true;
219
- const declineResult = await envelopeRecipientDecline(this.endpoint, this.envelopeId, this.roleId);
220
- console.log('[SIGN] Decline result', declineResult);
221
- (_c = this.envelopeUpdated) === null || _c === void 0 ? void 0 : _c.emit({ endpoint: this.endpoint, envelope: this.envelope, event: 'declined' });
222
- this.submitting = false;
223
- this.fatalErrorHeader = 'Declined';
224
- this.fatalErrorMessage = 'You have declined to sign this request. The sender has been notified.';
225
- }
205
+ this.declining = true;
226
206
  break;
227
207
  case 'print':
228
208
  window.print();
229
- (_d = this.envelopeUpdated) === null || _d === void 0 ? void 0 : _d.emit({ endpoint: this.endpoint, envelope: this.envelope, event: 'printed' });
209
+ (_b = this.envelopeUpdated) === null || _b === void 0 ? void 0 : _b.emit({ endpoint: this.endpoint, envelope: this.envelope, event: 'printed' });
230
210
  break;
231
211
  case 'download':
232
212
  {
@@ -235,7 +215,7 @@ const VerdocsSign = class {
235
215
  saveAttachment(this.endpoint, this.envelope, firstDoc.id).catch(e => {
236
216
  console.log('[SIGN] Error downloading PDF', e);
237
217
  });
238
- (_e = this.envelopeUpdated) === null || _e === void 0 ? void 0 : _e.emit({ endpoint: this.endpoint, envelope: this.envelope, event: 'downloaded' });
218
+ (_c = this.envelopeUpdated) === null || _c === void 0 ? void 0 : _c.emit({ endpoint: this.endpoint, envelope: this.envelope, event: 'downloaded' });
239
219
  }
240
220
  }
241
221
  break;
@@ -630,7 +610,7 @@ const VerdocsSign = class {
630
610
  } })), this.submitting && (h("div", { class: "loading-indicator" }, h("verdocs-loader", null)))));
631
611
  }
632
612
  if (this.delegating) {
633
- return (h("verdocs-delegate-dialog", { endpoint: this.endpoint, envelope: this.envelope, onExit: () => (this.delegating = false), onNext: (e) => {
613
+ return (h(Host, { class: "agreed" }, h("div", { class: "document", style: { paddingTop: '15px' } }, h("img", { src: "https://public-assets.verdocs.com/loading-placeholder.png", style: { width: '612px', height: '792px', boxShadow: '0 0 10px 5px #0000000f', marginTop: '15px' }, alt: "Placeholder page" })), h("verdocs-delegate-dialog", { endpoint: this.endpoint, envelope: this.envelope, onExit: () => (this.delegating = false), onNext: (e) => {
634
614
  delegateRecipient(this.endpoint, this.envelopeId, this.roleId, e.detail)
635
615
  .then(r => {
636
616
  VerdocsToast('Delegation request submitted.', { style: 'success' });
@@ -642,7 +622,7 @@ const VerdocsSign = class {
642
622
  console.log('[SIGN] Error delegating request', e);
643
623
  VerdocsToast('Unable to process delegation request. Please try again later.', { style: 'error' });
644
624
  });
645
- } }));
625
+ } })));
646
626
  }
647
627
  if (this.declining) {
648
628
  return (h("verdocs-ok-dialog", { heading: "Decline Signing Request", message: `If you decline to sign this request, you will not be able to sign again in the future. The envelope sender will be notified.`, buttonLabel: "OK", showCancel: true, onExit: () => (this.declining = false), onNext: () => {
@@ -655,7 +635,7 @@ const VerdocsSign = class {
655
635
  } }));
656
636
  }
657
637
  if (!this.agreed) {
658
- return (h(Host, { class: "agreed" }, h("div", { id: "verdocs-sign-header" }, h("div", { class: "inner" }, h("img", { src: "https://verdocs.com/assets/white-logo.svg", alt: "Verdocs Logo", class: "logo" }), h("div", { class: "title" }, this.envelope.name))), h("div", { class: "document", style: { paddingTop: '15px' } }, h("img", { src: "https://public-assets.verdocs.com/loading-placeholder.png", style: { width: '612px', height: '792px', boxShadow: '0 0 10px 5px #0000000f', marginTop: '15px' }, alt: "Placeholder page" })), h("verdocs-disclosure-dialog", { disclosures: this.disclosures, onDecline: () => (this.declining = true), onAccept: () => this.handleClickAgree() })));
638
+ return (h(Host, { class: "agreed" }, h("div", { class: "document", style: { paddingTop: '15px' } }, h("img", { src: "https://public-assets.verdocs.com/loading-placeholder.png", style: { width: '612px', height: '792px', boxShadow: '0 0 10px 5px #0000000f', marginTop: '15px' }, alt: "Placeholder page" })), h("verdocs-disclosure-dialog", { disclosures: this.disclosures, onDelegate: () => (this.delegating = true), onDecline: () => (this.declining = true), onAccept: () => this.handleClickAgree() })));
659
639
  }
660
640
  if (this.authStep === 'passcode') {
661
641
  return (h(Host, { class: "kba" }, h("div", { id: "verdocs-sign-header" }, h("div", { class: "inner" }, h("img", { src: "https://verdocs.com/assets/white-logo.svg", alt: "Verdocs Logo", class: "logo" }), h("div", { class: "title" }, this.envelope.name))), h("div", { class: "document", style: { paddingTop: '15px' } }, h("img", { src: "https://public-assets.verdocs.com/loading-placeholder.png", style: { width: '612px', height: '792px', boxShadow: '0 0 10px 5px #0000000f', marginTop: '15px' }, alt: "Placeholder page" })), h("div", { class: "cover" }, h("div", { class: "kba" }, h("verdocs-kba-dialog", { mode: "text", step: 1, steps: 1, placeholder: "Enter your passcode...", helptitle: "Document is protected by a Passcode", helptext: "Please enter your Passcode to proceed. If you do not have one, please contact the sender.", label: "Passcode", onNext: e => this.handleAuthenticateSigner({ auth_method: 'passcode', code: e.detail }) })))));
@@ -693,6 +673,20 @@ const VerdocsSign = class {
693
673
  }
694
674
  } }))))));
695
675
  }
676
+ const inProgressMenuOptions = [
677
+ { id: 'later', label: 'Finish Later' }, //
678
+ // {id: 'claim', label: 'Claim the Document', disabled: true},
679
+ { id: 'decline', label: 'Decline to Sign' },
680
+ { id: 'print', label: 'Print Without Signing' },
681
+ { id: 'download', label: 'Download' },
682
+ ];
683
+ const doneMenuOptions = [
684
+ { id: 'print', label: 'Print' },
685
+ { id: 'download', label: 'Download' },
686
+ ];
687
+ if (this.recipient.delegator) {
688
+ inProgressMenuOptions.unshift({ id: 'delegate', label: 'Delegate' });
689
+ }
696
690
  return (h(Host, null, h("div", { id: "verdocs-sign-header" }, h("div", { class: "inner" }, h("img", { src: "https://verdocs.com/assets/white-logo.svg", alt: "Verdocs Logo", class: "logo" }), h("div", { class: "title" }, this.envelope.name), h("div", { style: { flex: '1' } }), !this.finishLater && h("verdocs-button", { size: "xsmall", label: this.nextButtonLabel, disabled: !this.agreed || this.submitting, onClick: () => this.handleNext() }), h("div", { style: { marginLeft: '10px' } }), h("verdocs-dropdown", { options: !this.isDone && !this.finishLater ? inProgressMenuOptions : doneMenuOptions, onOptionSelected: e => this.handleOptionSelected(e) }))), h("div", { class: "document", style: { paddingTop: '15px' } }, (this.envelope.documents || []).map(envelopeDocument => {
697
691
  const pageNumbers = integerSequence(1, envelopeDocument.pages);
698
692
  return (h(Fragment, null, pageNumbers.map(pageNumber => {
@@ -713,8 +707,7 @@ const VerdocsSign = class {
713
707
  })), this.showFinishLater && (h("verdocs-ok-dialog", { heading: "You've saved your document to finish later.", message: `To complete the ${this.documentsSingularPlural}, use the link in the original email notification inviting you to review and finish the document.`, onNext: () => (this.showFinishLater = false) })), this.showDone && (h("verdocs-ok-dialog", { heading: "You're Done!", message: `You can access the ${this.documentsSingularPlural} at any time by clicking on the link from the invitation email.<br /><br />After all recipients have completed their actions, you will receive an email with the document and envelope certificate attached.`, onNext: () => {
714
708
  this.showDone = false;
715
709
  this.isDone = true;
716
- } })), this.submitting ||
717
- (this.showSpinner && (h("verdocs-portal", null, h("div", { class: "spinner-overlay" }, h("verdocs-spinner", null)))))));
710
+ } })), (this.submitting || this.showSpinner) && (h("verdocs-portal", null, h("div", { class: "spinner-overlay" }, h("verdocs-spinner", null))))));
718
711
  }
719
712
  };
720
713
  VerdocsSign.style = verdocsSignCss;