@verdocs/web-sdk 2.3.12 → 2.3.14

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 (342) hide show
  1. package/dist/cjs/{EnvelopeStore-efc35530.js → EnvelopeStore-f8c301e1.js} +1 -1
  2. package/dist/cjs/{Envelopes-0b9deb2c.js → Envelopes-99ca79fe.js} +6 -2
  3. package/dist/cjs/{Profiles-1a26e4eb.js → Profiles-54271244.js} +34 -0
  4. package/dist/cjs/{TemplateStore-17b9fdfe.js → TemplateStore-d9936a68.js} +1 -1
  5. package/dist/cjs/{Types-fb95ed6b.js → Types-ee5afdf8.js} +1 -2
  6. package/dist/cjs/{VerdocsEndpoint-8f298664.js → VerdocsEndpoint-2d85658d.js} +563 -197
  7. package/dist/cjs/{_commonjsHelpers-1fbbf0eb.js → _commonjsHelpers-0c557e26.js} +5 -0
  8. package/dist/cjs/interact.min-ba5cc513.js +13 -0
  9. package/dist/cjs/ipc-test.cjs.entry.js +2 -2
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/cjs/{utils-0916d10f.js → utils-2ddfdf9e.js} +3 -3
  12. package/dist/cjs/verdocs-activity-box.cjs.entry.js +2 -2
  13. package/dist/cjs/verdocs-auth.cjs.entry.js +34 -8
  14. package/dist/cjs/verdocs-build.cjs.entry.js +2 -2
  15. package/dist/cjs/verdocs-button-panel_2.cjs.entry.js +3 -12
  16. package/dist/cjs/{verdocs-contact-picker_3.cjs.entry.js → verdocs-contact-picker_2.cjs.entry.js} +6 -78
  17. package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +5 -5
  18. package/dist/cjs/verdocs-envelope-recipient-link_2.cjs.entry.js +3 -3
  19. package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +4 -5
  20. package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +5 -5
  21. package/dist/cjs/verdocs-field-attachment.cjs.entry.js +4 -4
  22. package/dist/cjs/verdocs-field-checkbox.cjs.entry.js +4 -4
  23. package/dist/cjs/verdocs-field-date.cjs.entry.js +5 -5
  24. package/dist/cjs/verdocs-field-dropdown.cjs.entry.js +5 -4
  25. package/dist/cjs/verdocs-field-initial.cjs.entry.js +4 -4
  26. package/dist/cjs/verdocs-field-payment.cjs.entry.js +4 -4
  27. package/dist/cjs/verdocs-field-radio-button.cjs.entry.js +4 -4
  28. package/dist/cjs/verdocs-field-signature.cjs.entry.js +4 -4
  29. package/dist/cjs/verdocs-field-textarea.cjs.entry.js +9 -10
  30. package/dist/cjs/verdocs-field-textbox.cjs.entry.js +9 -9
  31. package/dist/cjs/verdocs-field-timestamp.cjs.entry.js +5 -5
  32. package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +1 -1
  33. package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +1 -2
  34. package/dist/cjs/verdocs-pagination_2.cjs.entry.js +4 -4
  35. package/dist/cjs/verdocs-preview_8.cjs.entry.js +8 -9
  36. package/dist/cjs/verdocs-quick-functions_3.cjs.entry.js +220 -0
  37. package/dist/cjs/verdocs-search.cjs.entry.js +1 -1
  38. package/dist/cjs/verdocs-settings-api-keys_4.cjs.entry.js +37 -70
  39. package/dist/cjs/verdocs-settings.cjs.entry.js +1 -1
  40. package/dist/cjs/verdocs-sign.cjs.entry.js +9 -12
  41. package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +5 -5
  42. package/dist/cjs/verdocs-template-fields_4.cjs.entry.js +47 -55
  43. package/dist/cjs/verdocs-template-star.cjs.entry.js +1 -1
  44. package/dist/cjs/verdocs-templates-list.cjs.entry.js +1 -1
  45. package/dist/cjs/verdocs-view.cjs.entry.js +5 -5
  46. package/dist/cjs/verdocs-web-sdk.cjs.js +1 -1
  47. package/dist/collection/collection-manifest.json +1 -1
  48. package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js +1 -20
  49. package/dist/collection/components/elements/verdocs-search-activity/verdocs-search-activity.css +66 -0
  50. package/dist/collection/components/elements/verdocs-search-activity/verdocs-search-activity.js +187 -0
  51. package/dist/collection/components/elements/verdocs-search-activity/verdocs-search-activity.stories.js +14 -0
  52. package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js +34 -6
  53. package/dist/collection/components/embeds/verdocs-send/verdocs-send.js +1 -2
  54. package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +4 -8
  55. package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.css +1 -4
  56. package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.js +0 -1
  57. package/dist/collection/components/fields/verdocs-field-date/verdocs-field-date.css +0 -1
  58. package/dist/collection/components/fields/verdocs-field-dropdown/verdocs-field-dropdown.js +1 -0
  59. package/dist/collection/components/fields/verdocs-field-textarea/verdocs-field-textarea.js +1 -2
  60. package/dist/collection/components/fields/verdocs-field-textbox/verdocs-field-textbox.css +1 -1
  61. package/dist/collection/components/fields/verdocs-field-timestamp/verdocs-field-timestamp.css +0 -1
  62. package/dist/collection/components/templates/verdocs-template-create/verdocs-template-create.js +2 -2
  63. package/dist/collection/components/templates/verdocs-template-field-properties/verdocs-template-field-properties.js +0 -10
  64. package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.js +35 -43
  65. package/dist/collection/utils/Types.js +1 -2
  66. package/dist/components/Envelopes.js +6 -2
  67. package/dist/components/Organizations.js +32 -0
  68. package/dist/components/TemplateStore.js +1 -1
  69. package/dist/components/Types2.js +1 -2
  70. package/dist/components/VerdocsEndpoint.js +562 -197
  71. package/dist/components/_commonjsHelpers.js +5 -1
  72. package/dist/components/index.d.ts +1 -1
  73. package/dist/components/index.js +1 -1
  74. package/dist/components/index3.js +29 -40
  75. package/dist/components/interact.min.js +6 -5
  76. package/dist/components/verdocs-auth.js +46 -12
  77. package/dist/components/verdocs-build.js +16 -22
  78. package/dist/components/verdocs-contact-picker2.js +1 -1
  79. package/dist/components/verdocs-envelope-sidebar.js +0 -1
  80. package/dist/components/verdocs-field-date.js +1 -1
  81. package/dist/components/verdocs-field-dropdown.js +1 -0
  82. package/dist/components/verdocs-field-textarea.js +4 -5
  83. package/dist/components/verdocs-field-textbox.js +4 -4
  84. package/dist/components/verdocs-field-timestamp.js +1 -1
  85. package/dist/components/verdocs-ok-dialog2.js +1 -3
  86. package/dist/components/verdocs-search-activity.d.ts +11 -0
  87. package/dist/components/verdocs-search-activity.js +6 -0
  88. package/dist/components/verdocs-search-activity2.js +170 -0
  89. package/dist/components/verdocs-search.js +8 -2
  90. package/dist/components/verdocs-send2.js +5 -12
  91. package/dist/components/verdocs-settings-organization2.js +1 -22
  92. package/dist/components/verdocs-sign.js +4 -8
  93. package/dist/components/verdocs-template-create2.js +2 -2
  94. package/dist/components/verdocs-template-field-properties2.js +0 -10
  95. package/dist/components/verdocs-template-fields2.js +38 -46
  96. package/dist/components/verdocs-template-roles2.js +4 -4
  97. package/dist/docs.json +108 -139
  98. package/dist/esm/{EnvelopeStore-17c0bc52.js → EnvelopeStore-15cc99ef.js} +1 -1
  99. package/dist/esm/{Envelopes-627c5239.js → Envelopes-21ffb899.js} +6 -2
  100. package/dist/esm/{Profiles-d4df4d1c.js → Profiles-4cc942ef.js} +32 -1
  101. package/dist/esm/{TemplateStore-ad77a294.js → TemplateStore-018fc1db.js} +1 -1
  102. package/dist/esm/Types-de18e225.js +4 -0
  103. package/dist/esm/{VerdocsEndpoint-56fa3371.js → VerdocsEndpoint-b011af25.js} +562 -197
  104. package/dist/esm/{_commonjsHelpers-8a9f3b18.js → _commonjsHelpers-5ec8f9b7.js} +5 -1
  105. package/dist/esm/interact.min-cf83fa88.js +11 -0
  106. package/dist/esm/ipc-test.entry.js +2 -2
  107. package/dist/esm/loader.js +1 -1
  108. package/dist/esm/{utils-ca3121df.js → utils-d269cea3.js} +3 -3
  109. package/dist/esm/verdocs-activity-box.entry.js +2 -2
  110. package/dist/esm/verdocs-auth.entry.js +34 -8
  111. package/dist/esm/verdocs-build.entry.js +2 -2
  112. package/dist/esm/verdocs-button-panel_2.entry.js +3 -12
  113. package/dist/esm/{verdocs-contact-picker_3.entry.js → verdocs-contact-picker_2.entry.js} +7 -78
  114. package/dist/esm/verdocs-envelope-document-page.entry.js +5 -5
  115. package/dist/esm/verdocs-envelope-recipient-link_2.entry.js +3 -3
  116. package/dist/esm/verdocs-envelope-sidebar.entry.js +4 -5
  117. package/dist/esm/verdocs-envelopes-list.entry.js +5 -5
  118. package/dist/esm/verdocs-field-attachment.entry.js +4 -4
  119. package/dist/esm/verdocs-field-checkbox.entry.js +4 -4
  120. package/dist/esm/verdocs-field-date.entry.js +5 -5
  121. package/dist/esm/verdocs-field-dropdown.entry.js +5 -4
  122. package/dist/esm/verdocs-field-initial.entry.js +4 -4
  123. package/dist/esm/verdocs-field-payment.entry.js +4 -4
  124. package/dist/esm/verdocs-field-radio-button.entry.js +4 -4
  125. package/dist/esm/verdocs-field-signature.entry.js +4 -4
  126. package/dist/esm/verdocs-field-textarea.entry.js +9 -10
  127. package/dist/esm/verdocs-field-textbox.entry.js +9 -9
  128. package/dist/esm/verdocs-field-timestamp.entry.js +5 -5
  129. package/dist/esm/verdocs-file-chooser_2.entry.js +1 -1
  130. package/dist/esm/verdocs-ok-dialog.entry.js +1 -2
  131. package/dist/esm/verdocs-pagination_2.entry.js +4 -4
  132. package/dist/esm/verdocs-preview_8.entry.js +8 -9
  133. package/dist/esm/verdocs-quick-functions_3.entry.js +214 -0
  134. package/dist/esm/verdocs-search.entry.js +1 -1
  135. package/dist/esm/verdocs-settings-api-keys_4.entry.js +35 -68
  136. package/dist/esm/verdocs-settings.entry.js +1 -1
  137. package/dist/esm/verdocs-sign.entry.js +9 -12
  138. package/dist/esm/verdocs-template-document-page_2.entry.js +5 -5
  139. package/dist/esm/verdocs-template-fields_4.entry.js +47 -55
  140. package/dist/esm/verdocs-template-star.entry.js +1 -1
  141. package/dist/esm/verdocs-templates-list.entry.js +1 -1
  142. package/dist/esm/verdocs-view.entry.js +5 -5
  143. package/dist/esm/verdocs-web-sdk.js +1 -1
  144. package/dist/esm-es5/{EnvelopeStore-17c0bc52.js → EnvelopeStore-15cc99ef.js} +1 -1
  145. package/dist/esm-es5/Envelopes-21ffb899.js +1 -0
  146. package/dist/esm-es5/Profiles-4cc942ef.js +1 -0
  147. package/dist/esm-es5/{TemplateStore-ad77a294.js → TemplateStore-018fc1db.js} +1 -1
  148. package/dist/esm-es5/Types-de18e225.js +1 -0
  149. package/dist/esm-es5/VerdocsEndpoint-b011af25.js +1 -0
  150. package/dist/esm-es5/_commonjsHelpers-5ec8f9b7.js +1 -0
  151. package/dist/esm-es5/interact.min-cf83fa88.js +1 -0
  152. package/dist/esm-es5/ipc-test.entry.js +1 -1
  153. package/dist/esm-es5/loader.js +1 -1
  154. package/dist/esm-es5/{utils-ca3121df.js → utils-d269cea3.js} +2 -2
  155. package/dist/esm-es5/verdocs-activity-box.entry.js +1 -1
  156. package/dist/esm-es5/verdocs-auth.entry.js +1 -1
  157. package/dist/esm-es5/verdocs-build.entry.js +1 -1
  158. package/dist/esm-es5/verdocs-button-panel_2.entry.js +1 -1
  159. package/dist/esm-es5/verdocs-contact-picker_2.entry.js +1 -0
  160. package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
  161. package/dist/esm-es5/verdocs-envelope-recipient-link_2.entry.js +1 -1
  162. package/dist/esm-es5/verdocs-envelope-sidebar.entry.js +1 -1
  163. package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
  164. package/dist/esm-es5/verdocs-field-attachment.entry.js +1 -1
  165. package/dist/esm-es5/verdocs-field-checkbox.entry.js +1 -1
  166. package/dist/esm-es5/verdocs-field-date.entry.js +1 -1
  167. package/dist/esm-es5/verdocs-field-dropdown.entry.js +1 -1
  168. package/dist/esm-es5/verdocs-field-initial.entry.js +1 -1
  169. package/dist/esm-es5/verdocs-field-payment.entry.js +1 -1
  170. package/dist/esm-es5/verdocs-field-radio-button.entry.js +1 -1
  171. package/dist/esm-es5/verdocs-field-signature.entry.js +1 -1
  172. package/dist/esm-es5/verdocs-field-textarea.entry.js +1 -1
  173. package/dist/esm-es5/verdocs-field-textbox.entry.js +1 -1
  174. package/dist/esm-es5/verdocs-field-timestamp.entry.js +1 -1
  175. package/dist/esm-es5/verdocs-file-chooser_2.entry.js +1 -1
  176. package/dist/esm-es5/verdocs-ok-dialog.entry.js +1 -1
  177. package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
  178. package/dist/esm-es5/verdocs-preview_8.entry.js +1 -1
  179. package/dist/esm-es5/verdocs-quick-functions_3.entry.js +1 -0
  180. package/dist/esm-es5/verdocs-search.entry.js +1 -1
  181. package/dist/esm-es5/verdocs-settings-api-keys_4.entry.js +1 -1
  182. package/dist/esm-es5/verdocs-settings.entry.js +1 -1
  183. package/dist/esm-es5/verdocs-sign.entry.js +1 -1
  184. package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -1
  185. package/dist/esm-es5/verdocs-template-fields_4.entry.js +1 -1
  186. package/dist/esm-es5/verdocs-template-star.entry.js +1 -1
  187. package/dist/esm-es5/verdocs-templates-list.entry.js +1 -1
  188. package/dist/esm-es5/verdocs-view.entry.js +1 -1
  189. package/dist/esm-es5/verdocs-web-sdk.js +1 -1
  190. package/dist/types/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.d.ts +0 -4
  191. package/dist/types/components/elements/verdocs-search-activity/verdocs-search-activity.d.ts +33 -0
  192. package/dist/types/components/{controls/verdocs-portal/verdocs-portal.stories.d.ts → elements/verdocs-search-activity/verdocs-search-activity.stories.d.ts} +6 -3
  193. package/dist/types/components/embeds/verdocs-auth/verdocs-auth.d.ts +2 -0
  194. package/dist/types/components/embeds/verdocs-sign/verdocs-sign.d.ts +0 -1
  195. package/dist/types/components/templates/verdocs-template-field-properties/verdocs-template-field-properties.d.ts +0 -1
  196. package/dist/types/components.d.ts +34 -50
  197. package/dist/types/utils/Types.d.ts +1 -1
  198. package/dist/types/utils/utils.d.ts +2 -2
  199. package/dist/verdocs-web-sdk/p-01166179.system.entry.js +1 -0
  200. package/dist/verdocs-web-sdk/{p-d1ea580b.system.entry.js → p-013d1556.system.entry.js} +1 -1
  201. package/dist/verdocs-web-sdk/p-04580be0.entry.js +1 -0
  202. package/dist/verdocs-web-sdk/{p-17bf98f2.system.entry.js → p-04d7d759.system.entry.js} +1 -1
  203. package/dist/verdocs-web-sdk/{p-da3faf4a.entry.js → p-0ad1fd33.entry.js} +1 -1
  204. package/dist/verdocs-web-sdk/p-0d28cf05.js +1 -0
  205. package/dist/verdocs-web-sdk/{p-a40b3946.entry.js → p-0df58c57.entry.js} +1 -1
  206. package/dist/verdocs-web-sdk/{p-ba653c39.system.entry.js → p-0e5449d1.system.entry.js} +1 -1
  207. package/dist/verdocs-web-sdk/{p-dd2c2edc.entry.js → p-0f94d635.entry.js} +1 -1
  208. package/dist/verdocs-web-sdk/{p-0685d939.system.entry.js → p-10af7aec.system.entry.js} +1 -1
  209. package/dist/verdocs-web-sdk/{p-b467d981.system.entry.js → p-126ba5d2.system.entry.js} +1 -1
  210. package/dist/verdocs-web-sdk/{p-d59b6988.entry.js → p-137cedc8.entry.js} +1 -1
  211. package/dist/verdocs-web-sdk/{p-05e6bc91.entry.js → p-1406ffd2.entry.js} +1 -1
  212. package/dist/verdocs-web-sdk/{p-8af68516.system.entry.js → p-14aefeb2.system.entry.js} +1 -1
  213. package/dist/verdocs-web-sdk/p-15cb963a.system.entry.js +1 -0
  214. package/dist/verdocs-web-sdk/p-17d0e5f4.entry.js +1 -0
  215. package/dist/verdocs-web-sdk/p-23be436b.entry.js +1 -0
  216. package/dist/verdocs-web-sdk/{p-1e38b22f.system.entry.js → p-261d376e.system.entry.js} +1 -1
  217. package/dist/verdocs-web-sdk/p-2ccbcfeb.system.js +1 -0
  218. package/dist/verdocs-web-sdk/{p-1cb878c8.system.entry.js → p-2f04fb38.system.entry.js} +1 -1
  219. package/dist/verdocs-web-sdk/p-30b4bd45.js +1 -0
  220. package/dist/verdocs-web-sdk/p-3305a941.system.js +1 -0
  221. package/dist/verdocs-web-sdk/{p-fe67b620.system.entry.js → p-343672f5.system.entry.js} +1 -1
  222. package/dist/verdocs-web-sdk/{p-ac98f6f1.system.entry.js → p-35769d0c.system.entry.js} +1 -1
  223. package/dist/verdocs-web-sdk/{p-d39e4a26.system.entry.js → p-37187046.system.entry.js} +1 -1
  224. package/dist/verdocs-web-sdk/{p-6331d113.entry.js → p-39cbfe15.entry.js} +1 -1
  225. package/dist/verdocs-web-sdk/{p-46624bec.entry.js → p-3a702f79.entry.js} +1 -1
  226. package/dist/verdocs-web-sdk/{p-c80237f9.entry.js → p-3abfff14.entry.js} +1 -1
  227. package/dist/verdocs-web-sdk/{p-f42c84f1.entry.js → p-3f9fbf94.entry.js} +1 -1
  228. package/dist/verdocs-web-sdk/p-409e992a.entry.js +1 -0
  229. package/dist/verdocs-web-sdk/p-4a94ee00.system.entry.js +1 -0
  230. package/dist/verdocs-web-sdk/{p-2ccbf54d.entry.js → p-4f439363.entry.js} +1 -1
  231. package/dist/verdocs-web-sdk/{p-b6231fd3.system.entry.js → p-50ac71f3.system.entry.js} +1 -1
  232. package/dist/verdocs-web-sdk/p-51756c1b.system.entry.js +1 -0
  233. package/dist/verdocs-web-sdk/p-5a91bf23.js +1 -0
  234. package/dist/verdocs-web-sdk/{p-9ceff040.system.entry.js → p-5c50a778.system.entry.js} +1 -1
  235. package/dist/verdocs-web-sdk/{p-79168c6a.system.entry.js → p-5df0fa7a.system.entry.js} +1 -1
  236. package/dist/verdocs-web-sdk/{p-b648ab63.system.entry.js → p-609c7fab.system.entry.js} +1 -1
  237. package/dist/verdocs-web-sdk/{p-870707e8.system.entry.js → p-62f090c7.system.entry.js} +1 -1
  238. package/dist/verdocs-web-sdk/p-6307e6ae.entry.js +1 -0
  239. package/dist/verdocs-web-sdk/p-66d66e2b.entry.js +1 -0
  240. package/dist/verdocs-web-sdk/{p-cf703fe4.entry.js → p-6bda7dce.entry.js} +1 -1
  241. package/dist/verdocs-web-sdk/p-76907130.entry.js +1 -0
  242. package/dist/verdocs-web-sdk/{p-37dfdc84.entry.js → p-77abc3ce.entry.js} +1 -1
  243. package/dist/verdocs-web-sdk/{p-035a3ce2.entry.js → p-7805f0e0.entry.js} +1 -1
  244. package/dist/verdocs-web-sdk/{p-e1bc55f8.entry.js → p-79dc4f76.entry.js} +1 -1
  245. package/dist/verdocs-web-sdk/{p-f3dde708.js → p-7b63017c.js} +1 -1
  246. package/dist/verdocs-web-sdk/{p-9615b087.system.js → p-7e8d64fb.system.js} +1 -1
  247. package/dist/verdocs-web-sdk/p-7fd7152d.system.js +1 -0
  248. package/dist/verdocs-web-sdk/p-89aa696c.system.entry.js +1 -0
  249. package/dist/verdocs-web-sdk/{p-410c63e6.entry.js → p-8da1555a.entry.js} +1 -1
  250. package/dist/verdocs-web-sdk/p-961708ac.entry.js +1 -0
  251. package/dist/verdocs-web-sdk/p-983da2f6.js +1 -0
  252. package/dist/verdocs-web-sdk/p-9934f3ec.system.entry.js +1 -0
  253. package/dist/verdocs-web-sdk/{p-637187de.entry.js → p-9b07a2a7.entry.js} +1 -1
  254. package/dist/verdocs-web-sdk/{p-4d98f194.system.entry.js → p-a0b02d83.system.entry.js} +1 -1
  255. package/dist/verdocs-web-sdk/{p-3f3807b0.system.entry.js → p-a171983b.system.entry.js} +1 -1
  256. package/dist/verdocs-web-sdk/{p-94009f45.entry.js → p-a310f65b.entry.js} +1 -1
  257. package/dist/verdocs-web-sdk/{p-02a71e03.js → p-a35314fe.js} +1 -1
  258. package/dist/verdocs-web-sdk/{p-b7a815e9.system.entry.js → p-a52a832b.system.entry.js} +1 -1
  259. package/dist/verdocs-web-sdk/p-a5425a9b.entry.js +1 -0
  260. package/dist/verdocs-web-sdk/{p-9360b085.system.entry.js → p-aa51514f.system.entry.js} +1 -1
  261. package/dist/verdocs-web-sdk/{p-8b0a5309.entry.js → p-ace35be6.entry.js} +1 -1
  262. package/dist/verdocs-web-sdk/{p-4e47ed1c.entry.js → p-af3e9624.entry.js} +1 -1
  263. package/dist/verdocs-web-sdk/{p-e760f894.entry.js → p-b17a20b8.entry.js} +1 -1
  264. package/dist/verdocs-web-sdk/p-b2d698f7.system.entry.js +1 -0
  265. package/dist/verdocs-web-sdk/{p-d99a05e4.system.entry.js → p-b73415c3.system.entry.js} +1 -1
  266. package/dist/verdocs-web-sdk/p-bb2c866b.system.entry.js +1 -0
  267. package/dist/verdocs-web-sdk/p-bbee73c8.system.js +1 -0
  268. package/dist/verdocs-web-sdk/{p-acc873cf.system.entry.js → p-bd0bc3dd.system.entry.js} +1 -1
  269. package/dist/verdocs-web-sdk/p-bfcf8ad2.entry.js +1 -0
  270. package/dist/verdocs-web-sdk/{p-840827b7.system.js → p-c694cf93.system.js} +1 -1
  271. package/dist/verdocs-web-sdk/p-cbbf849f.system.js +1 -0
  272. package/dist/verdocs-web-sdk/p-cbd0802f.entry.js +1 -0
  273. package/dist/verdocs-web-sdk/{p-eeca4c30.entry.js → p-cf765153.entry.js} +1 -1
  274. package/dist/verdocs-web-sdk/{p-f6b7439f.system.entry.js → p-dd8845d4.system.entry.js} +1 -1
  275. package/dist/verdocs-web-sdk/p-de60d3a8.js +1 -0
  276. package/dist/verdocs-web-sdk/{p-6685ff29.system.entry.js → p-df6a373e.system.entry.js} +1 -1
  277. package/dist/verdocs-web-sdk/{p-59769c39.system.entry.js → p-e3a9d167.system.entry.js} +1 -1
  278. package/dist/verdocs-web-sdk/p-eab67c09.js +1 -0
  279. package/dist/verdocs-web-sdk/{p-82b5e475.system.js → p-eb595245.system.js} +1 -1
  280. package/dist/verdocs-web-sdk/{p-1f78be32.js → p-ebc4142c.js} +1 -1
  281. package/dist/verdocs-web-sdk/p-ecf04564.system.entry.js +1 -0
  282. package/dist/verdocs-web-sdk/p-ee195e5e.entry.js +1 -0
  283. package/dist/verdocs-web-sdk/{p-82d4afbf.entry.js → p-eef694e8.entry.js} +1 -1
  284. package/dist/verdocs-web-sdk/p-f04bf956.system.js +1 -1
  285. package/dist/verdocs-web-sdk/{p-ab98a02d.system.entry.js → p-f1257cd0.system.entry.js} +1 -1
  286. package/dist/verdocs-web-sdk/p-f65a1b9e.system.js +1 -0
  287. package/dist/verdocs-web-sdk/{p-9d2995a9.entry.js → p-fde6b724.entry.js} +1 -1
  288. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  289. package/package.json +7 -8
  290. package/dist/cjs/interact.min-a61b43b3.js +0 -12
  291. package/dist/cjs/verdocs-quick-functions_2.cjs.entry.js +0 -79
  292. package/dist/collection/components/controls/verdocs-portal/verdocs-portal.css +0 -0
  293. package/dist/collection/components/controls/verdocs-portal/verdocs-portal.js +0 -181
  294. package/dist/collection/components/controls/verdocs-portal/verdocs-portal.stories.js +0 -20
  295. package/dist/components/verdocs-portal.d.ts +0 -11
  296. package/dist/components/verdocs-portal.js +0 -6
  297. package/dist/components/verdocs-portal2.js +0 -93
  298. package/dist/esm/Types-1628dc71.js +0 -5
  299. package/dist/esm/interact.min-6a7b19a1.js +0 -10
  300. package/dist/esm/verdocs-quick-functions_2.entry.js +0 -74
  301. package/dist/esm-es5/Envelopes-627c5239.js +0 -1
  302. package/dist/esm-es5/Profiles-d4df4d1c.js +0 -1
  303. package/dist/esm-es5/Types-1628dc71.js +0 -1
  304. package/dist/esm-es5/VerdocsEndpoint-56fa3371.js +0 -1
  305. package/dist/esm-es5/_commonjsHelpers-8a9f3b18.js +0 -1
  306. package/dist/esm-es5/interact.min-6a7b19a1.js +0 -1
  307. package/dist/esm-es5/verdocs-contact-picker_3.entry.js +0 -1
  308. package/dist/esm-es5/verdocs-quick-functions_2.entry.js +0 -1
  309. package/dist/types/components/controls/verdocs-portal/verdocs-portal.d.ts +0 -37
  310. package/dist/verdocs-web-sdk/p-035f6b38.js +0 -1
  311. package/dist/verdocs-web-sdk/p-0abf0058.system.entry.js +0 -1
  312. package/dist/verdocs-web-sdk/p-17598002.system.entry.js +0 -1
  313. package/dist/verdocs-web-sdk/p-1a7aa04b.entry.js +0 -1
  314. package/dist/verdocs-web-sdk/p-1ba9f457.system.js +0 -1
  315. package/dist/verdocs-web-sdk/p-1c08edf7.system.entry.js +0 -1
  316. package/dist/verdocs-web-sdk/p-22e0d2bc.entry.js +0 -1
  317. package/dist/verdocs-web-sdk/p-319c00bd.entry.js +0 -1
  318. package/dist/verdocs-web-sdk/p-3e607686.js +0 -1
  319. package/dist/verdocs-web-sdk/p-6dd69d82.system.entry.js +0 -1
  320. package/dist/verdocs-web-sdk/p-736fbb87.system.entry.js +0 -1
  321. package/dist/verdocs-web-sdk/p-746fce21.entry.js +0 -1
  322. package/dist/verdocs-web-sdk/p-76f8c30a.entry.js +0 -1
  323. package/dist/verdocs-web-sdk/p-7b30c523.system.entry.js +0 -1
  324. package/dist/verdocs-web-sdk/p-7d5dbd9a.js +0 -1
  325. package/dist/verdocs-web-sdk/p-839f6f0d.js +0 -1
  326. package/dist/verdocs-web-sdk/p-85df0da6.entry.js +0 -1
  327. package/dist/verdocs-web-sdk/p-8aae8d16.system.js +0 -1
  328. package/dist/verdocs-web-sdk/p-915883e6.js +0 -1
  329. package/dist/verdocs-web-sdk/p-9a5c0882.system.entry.js +0 -1
  330. package/dist/verdocs-web-sdk/p-9bf2d124.system.js +0 -1
  331. package/dist/verdocs-web-sdk/p-9fc06f7b.entry.js +0 -1
  332. package/dist/verdocs-web-sdk/p-ae83f4a0.entry.js +0 -1
  333. package/dist/verdocs-web-sdk/p-b91de346.entry.js +0 -1
  334. package/dist/verdocs-web-sdk/p-cd20fb77.system.js +0 -1
  335. package/dist/verdocs-web-sdk/p-d0a09719.entry.js +0 -1
  336. package/dist/verdocs-web-sdk/p-d61fda4b.entry.js +0 -1
  337. package/dist/verdocs-web-sdk/p-d8cd6b59.system.js +0 -1
  338. package/dist/verdocs-web-sdk/p-dc2ad047.js +0 -1
  339. package/dist/verdocs-web-sdk/p-e28878eb.system.entry.js +0 -1
  340. package/dist/verdocs-web-sdk/p-e2ae3679.entry.js +0 -1
  341. package/dist/verdocs-web-sdk/p-e2ff37fb.system.js +0 -1
  342. package/dist/verdocs-web-sdk/p-e4dc3264.system.entry.js +0 -1
@@ -0,0 +1,220 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-5463795e.js');
6
+ require('./Types-f89f9116.js');
7
+ const VerdocsEndpoint = require('./VerdocsEndpoint-2d85658d.js');
8
+
9
+ /**
10
+ * Verdocs provides a range of search functions to help find and retrieve content. This module provides generic functions intended
11
+ * to locate items across all content types. More specific retrievals may be performed using the various "list" endpoints within
12
+ * each collection (e.g. {@link Envelopes.Envelopes.searchEnvelopes} or {@link Templates.Templates.searchTemplates}).
13
+ *
14
+ * @module
15
+ */
16
+ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
17
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
18
+ return new (P || (P = Promise))(function (resolve, reject) {
19
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
20
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
21
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
22
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
23
+ });
24
+ };
25
+ var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
26
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
27
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
28
+ function verb(n) { return function (v) { return step([n, v]); }; }
29
+ function step(op) {
30
+ if (f) throw new TypeError("Generator is already executing.");
31
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
32
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
33
+ if (y = 0, t) op = [op[0] & 2, t.value];
34
+ switch (op[0]) {
35
+ case 0: case 1: t = op; break;
36
+ case 4: _.label++; return { value: op[1], done: false };
37
+ case 5: _.label++; y = op[1]; op = [0]; continue;
38
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
39
+ default:
40
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
41
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
42
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
43
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
44
+ if (t[2]) _.ops.pop();
45
+ _.trys.pop(); continue;
46
+ }
47
+ op = body.call(thisArg, _);
48
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
49
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
50
+ }
51
+ };
52
+ /**
53
+ * Retrieve recent and saved searches. Note that result counts will be limited to a maximum of 20 entries for each
54
+ * type but this may be expanded in the future. Client UI's should self-limit display counts as needed.
55
+ *
56
+ * ```typescript
57
+ * import {Content} from '@verdocs/js-sdk/Search';
58
+ *
59
+ * const {recent, saved} = await Content.getSearchHistory();
60
+ * ```
61
+ */
62
+ var getSearchHistory = function (endpoint) { return __awaiter(void 0, void 0, void 0, function () {
63
+ return __generator(this, function (_a) {
64
+ return [2 /*return*/, endpoint.api //
65
+ .get('/search/history')
66
+ .then(function (r) { return r.data; })];
67
+ });
68
+ }); };
69
+
70
+ const verdocsQuickFunctionsCss = "verdocs-quick-functions{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif}verdocs-quick-functions .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;background-color:#1e2031;text-transform:uppercase;padding:10px 10px 20px 10px;font-family:sans-serif;color:#ffffff}verdocs-quick-functions .title{font-size:22px;font-weight:700;line-height:30px;margin:1em 0 40px 0}verdocs-quick-functions button{width:140px;height:40px;border:none;display:-ms-flexbox;display:flex;color:#ffffff;cursor:pointer;font-size:14px;font-weight:700;line-height:25px;-ms-flex-align:center;align-items:center;margin-bottom:20px;border-radius:5px;text-transform:uppercase;-ms-flex-pack:space-evenly;justify-content:space-evenly;background-color:#55bc81}verdocs-quick-functions button svg{fill:#ffffff}";
71
+
72
+ const DocumentIcon$1 = `<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="M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z"/></svg>`;
73
+ const TemplateIcon = `<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><g><rect fill="none" height="24" width="24"/><g><path d="M19,5v14H5V5H19 M19,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5C21,3.9,20.1,3,19,3L19,3z"/></g><path d="M14,17H7v-2h7V17z M17,13H7v-2h10V13z M17,9H7V7h10V9z"/></g></svg>`;
74
+ const VerdocsQuickFunctions = class {
75
+ constructor(hostRef) {
76
+ index.registerInstance(this, hostRef);
77
+ this.createTemplate = index.createEvent(this, "createTemplate", 7);
78
+ this.createDocument = index.createEvent(this, "createDocument", 7);
79
+ this.endpoint = VerdocsEndpoint.VerdocsEndpoint.getDefault();
80
+ }
81
+ handleCreateTemplate() {
82
+ this.createTemplate.emit();
83
+ }
84
+ handleCreateDocument() {
85
+ this.createDocument.emit();
86
+ }
87
+ render() {
88
+ return (index.h("div", { class: "container" }, index.h("p", { class: "title" }, "Quick Create"), index.h("button", { onClick: () => this.handleCreateTemplate(), innerHTML: TemplateIcon }, "Template"), index.h("button", { onClick: () => this.handleCreateDocument(), innerHTML: DocumentIcon$1 }, "Document")));
89
+ }
90
+ };
91
+ VerdocsQuickFunctions.style = verdocsQuickFunctionsCss;
92
+
93
+ const verdocsSearchActivityCss = "verdocs-search-activity{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif}verdocs-search-activity .container{display:-ms-flexbox;display:flex;width:240px;color:#ffffff;-ms-flex-direction:column;flex-direction:column;text-transform:uppercase;padding:10px 10px 20px 10px;background-color:#1e2031}verdocs-search-activity .title{font-size:22px;font-weight:700;line-height:30px}verdocs-search-activity .items{display:-ms-flexbox;display:flex;margin-top:20px;-ms-flex-direction:column;flex-direction:column}verdocs-search-activity .item{border:none;display:-ms-flexbox;display:flex;text-align:left;margin-bottom:20px;-ms-flex-direction:row;flex-direction:row;background:transparent}verdocs-search-activity .item:hover{cursor:pointer}verdocs-search-activity .icon{-ms-flex:0 0 22px;flex:0 0 22px;margin-right:14px}verdocs-search-activity .icon svg{fill:#707ae5;width:22px;height:22px}verdocs-search-activity .details{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column}verdocs-search-activity .item-title{font-size:16px;font-weight:400;color:#ffffff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}verdocs-search-activity .info{font-size:14px;font-weight:500;line-height:23px;color:#aeb4bf}verdocs-search-activity .empty{text-transform:none;line-height:22px;color:#cccccc}";
94
+
95
+ const DocumentIcon = `<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="M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z"/></svg>`;
96
+ const VerdocsSearchActivity = class {
97
+ constructor(hostRef) {
98
+ index.registerInstance(this, hostRef);
99
+ this.entrySelected = index.createEvent(this, "entrySelected", 7);
100
+ this.endpoint = VerdocsEndpoint.VerdocsEndpoint.getDefault();
101
+ this.type = 'recent';
102
+ this.options = undefined;
103
+ this.emptyMessage = 'You do not have any starred searches.';
104
+ this.authFailure = false;
105
+ this.title = 'Recent Searches';
106
+ this.recent = [];
107
+ this.saved = [];
108
+ this.starred = [];
109
+ }
110
+ componentWillLoad() {
111
+ this.endpoint.loadSession();
112
+ const errorHandler = e => {
113
+ var _a;
114
+ console.warn('[Verdocs/search-activity] Error getting search data', e);
115
+ if (((_a = e === null || e === void 0 ? void 0 : e.response) === null || _a === void 0 ? void 0 : _a.status) === 401) {
116
+ this.authFailure = true;
117
+ }
118
+ };
119
+ switch (this.type) {
120
+ case 'recent':
121
+ this.title = 'Recent Searches';
122
+ this.emptyMessage = 'You do not have any recent searches.';
123
+ getSearchHistory(this.endpoint)
124
+ .then(r => (this.recent = r.recent))
125
+ .catch(errorHandler);
126
+ break;
127
+ case 'saved':
128
+ this.title = 'Saved Searches';
129
+ this.emptyMessage = 'You do not have any saved searches.';
130
+ getSearchHistory(this.endpoint)
131
+ .then(r => (this.saved = r.saved))
132
+ .catch(errorHandler);
133
+ break;
134
+ case 'starred':
135
+ this.title = 'My Starred items';
136
+ this.emptyMessage = 'You do not have any starred templates.';
137
+ VerdocsEndpoint.getTemplates(this.endpoint, { is_starred: true })
138
+ .then(r => (this.starred = r))
139
+ .catch(errorHandler);
140
+ break;
141
+ }
142
+ }
143
+ handleSelectEntry(entry) {
144
+ this.entrySelected.emit(entry);
145
+ }
146
+ computePagesText(pages) {
147
+ if (pages < 2) {
148
+ return `${pages} Page`;
149
+ }
150
+ else {
151
+ return `${pages} Pages`;
152
+ }
153
+ }
154
+ computeRecipientsText(recipients) {
155
+ if (typeof recipients === 'object') {
156
+ return recipients.join(', ');
157
+ }
158
+ else if (recipients > 1) {
159
+ return `${recipients} Recipients`;
160
+ }
161
+ else {
162
+ return `${recipients} Recipient`;
163
+ }
164
+ }
165
+ render() {
166
+ const showEmpty = this.recent.length < 1 && this.saved.length < 1 && this.starred.length < 1;
167
+ return (index.h("div", { class: "container" }, index.h("p", { class: "title" }, this.title), index.h("div", { class: "items" }, this.recent.map(recent => (index.h("button", { class: "item", onClick: () => this.handleSelectEntry(recent) }, index.h("div", { class: "icon", innerHTML: DocumentIcon }), index.h("div", { class: "details" }, index.h("div", { class: "item-title" }, recent.params.q), index.h("div", { class: "info" }, "Test"))))), this.saved.map(option => (index.h("button", { class: "item", onClick: () => this.handleSelectEntry(option) }, index.h("div", { class: "icon", innerHTML: DocumentIcon }), index.h("div", { class: "details" }, index.h("div", { class: "item-title" }, option.params.q), index.h("div", { class: "info" }))))), showEmpty && index.h("div", { class: "empty" }, this.authFailure ? 'Authentication required' : this.emptyMessage))));
168
+ }
169
+ };
170
+ VerdocsSearchActivity.style = verdocsSearchActivityCss;
171
+
172
+ const verdocsSearchBoxCss = "verdocs-search-box{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif}verdocs-search-box form{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:45px;-webkit-box-sizing:border-box;box-sizing:border-box;margin:5px 0 0;border-radius:5px;-ms-flex-align:center;align-items:center;background-color:#fff;padding:0 8px;border-width:1px;border-style:solid;border-color:#707ae5}verdocs-search-box form input{-webkit-box-sizing:border-box;box-sizing:border-box;height:43px;width:100%;font-size:18px;border:none}verdocs-search-box form input:focus{outline:none}verdocs-search-box form button.search{cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:4px;border:none;width:100px;height:28px;font-weight:700;font-size:10px;letter-spacing:1px;background-color:#55bc81;text-transform:uppercase;color:#fff}verdocs-search-box form .type{background-color:#707ae5;height:30px;display:-ms-inline-flexbox;display:inline-flex;padding:1px 0 2px 10px;font-size:13px;line-height:16px;border-radius:4px;-ms-flex-pack:center;justify-content:center;text-transform:uppercase;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;color:#fff;margin-right:10px}verdocs-search-box form .type button{border:none;color:#fff;margin:5px 0 0 8px;background:transparent}verdocs-search-box form svg{width:12px;height:12px;margin-right:6px}verdocs-search-box ::-webkit-input-placeholder{color:#aeb4bf}verdocs-search-box ::-moz-placeholder{color:#aeb4bf}verdocs-search-box :-ms-input-placeholder{color:#aeb4bf}verdocs-search-box ::-ms-input-placeholder{color:#aeb4bf}verdocs-search-box ::placeholder{color:#aeb4bf}";
173
+
174
+ const SearchIcon = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M23.4809 20.7176L17.9111 15.2536C19.0961 13.6368 19.727 11.6926 19.7128 9.70131C19.7201 7.53345 18.9846 5.42606 17.6244 3.71753C16.2642 2.009 14.3581 0.798456 12.2123 0.280282C10.0665 -0.237892 7.80552 -0.0336342 5.79227 0.86026C3.77902 1.75415 2.13038 3.28582 1.1111 5.20931C0.0918114 7.1328 -0.238985 9.33652 0.171813 11.4666C0.582612 13.5967 1.71117 15.5296 3.37628 16.9548C5.0414 18.3801 7.14646 19.2151 9.35344 19.3257C11.5604 19.4364 13.7413 18.8162 15.5458 17.5649L21.1372 23.05L21.1563 23.0663C21.4841 23.3487 21.9039 23.507 22.3401 23.5128C22.7823 23.5125 23.2063 23.3402 23.5191 23.0337V23.0337C23.6749 22.8812 23.7979 22.6995 23.8804 22.4993C23.963 22.2991 24.0036 22.0847 23.9997 21.8688C23.9959 21.6529 23.9477 21.44 23.858 21.2428C23.7683 21.0456 23.639 20.8682 23.4778 20.7212L23.4809 20.7176ZM14.5167 14.1975C13.4564 15.2349 12.0623 15.8797 10.5719 16.022C9.08145 16.1644 7.58681 15.7955 6.34249 14.9781C5.09816 14.1608 4.18109 12.9456 3.74751 11.5395C3.31393 10.1334 3.39064 8.6233 3.96455 7.26643C4.53846 5.90955 5.57409 4.7898 6.89507 4.09787C8.21606 3.40594 9.74071 3.18461 11.2093 3.4716C12.678 3.75858 13.9998 4.53612 14.9497 5.6718C15.8996 6.80748 16.4188 8.23105 16.4189 9.7001C16.4196 10.5357 16.2519 11.3632 15.9254 12.135C15.599 12.9069 15.1202 13.6078 14.5167 14.1975V14.1975Z" fill="white"/></svg>`;
175
+ const CloseIcon = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.0739 11.7565L19.7127 6.23228C20.0875 5.85692 20.0875 5.25309 19.7127 4.87773L19.0213 4.20046C18.6382 3.82511 18.0219 3.82511 17.6387 4.20046L12 9.72472L6.36127 4.20046C5.97814 3.82511 5.36179 3.82511 4.97866 4.20046L4.28735 4.87773C3.90422 5.25309 3.90422 5.85692 4.28735 6.23228L9.92608 11.7565L4.28735 17.2808C3.90422 17.6561 3.90422 18.26 4.28735 18.6353L4.97866 19.3126C5.36179 19.688 5.97814 19.688 6.36127 19.3126L12 13.7883L17.6387 19.3126C18.0219 19.688 18.6382 19.688 19.0213 19.3126L19.7127 18.6353C20.0958 18.26 20.0958 17.6561 19.7127 17.2808L14.0739 11.7565Z" fill="white"/></svg>`;
176
+ const VerdocsSearchBox = class {
177
+ constructor(hostRef) {
178
+ index.registerInstance(this, hostRef);
179
+ this.searchClicked = index.createEvent(this, "searchClicked", 7);
180
+ this.typeChanged = index.createEvent(this, "typeChanged", 7);
181
+ this.queryChanged = index.createEvent(this, "queryChanged", 7);
182
+ this.endpoint = VerdocsEndpoint.VerdocsEndpoint.getDefault();
183
+ this.placeholder = 'Search envelopes, templates, organizations...';
184
+ this.type = 'all';
185
+ this.query = '';
186
+ this.grabsFocus = false;
187
+ }
188
+ async focusField() {
189
+ this.inputEl.focus();
190
+ }
191
+ componentDidRender() {
192
+ if (this.grabsFocus) {
193
+ this.inputEl.focus();
194
+ }
195
+ }
196
+ handleSearch(e) {
197
+ this.searchClicked.emit({ type: this.type, query: this.query });
198
+ e.preventDefault();
199
+ return false;
200
+ }
201
+ handleChange(e) {
202
+ this.queryChanged.emit(e.target.value);
203
+ }
204
+ handleClearFilter() {
205
+ this.typeChanged.emit('all');
206
+ }
207
+ handleKeyUp(e) {
208
+ if (e.key === 'Enter') {
209
+ this.searchClicked.emit({ type: this.type, query: this.query });
210
+ }
211
+ }
212
+ render() {
213
+ return (index.h("form", { onSubmit: e => this.handleSearch(e) }, this.type !== undefined && this.type !== 'all' && (index.h("span", { class: "type" }, this.type, "s ", index.h("button", { class: "remove", innerHTML: CloseIcon, onClick: () => this.handleClearFilter() }))), index.h("input", { type: "text", value: this.query, placeholder: this.placeholder, onInput: e => this.handleChange(e), onKeyUp: e => this.handleKeyUp(e), ref: el => (this.inputEl = el) }), index.h("button", { onClick: e => this.handleSearch(e), class: "search" }, index.h("span", { innerHTML: SearchIcon }), "Search")));
214
+ }
215
+ };
216
+ VerdocsSearchBox.style = verdocsSearchBoxCss;
217
+
218
+ exports.verdocs_quick_functions = VerdocsQuickFunctions;
219
+ exports.verdocs_search_activity = VerdocsSearchActivity;
220
+ exports.verdocs_search_box = VerdocsSearchBox;
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5463795e.js');
6
6
  require('./Types-f89f9116.js');
7
- const VerdocsEndpoint = require('./VerdocsEndpoint-8f298664.js');
7
+ const VerdocsEndpoint = require('./VerdocsEndpoint-2d85658d.js');
8
8
 
9
9
  const verdocsSearchCss = "verdocs-search{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;display:-ms-flexbox;display:flex;background-color:#1e2031}verdocs-search search-box{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:20px 10px}verdocs-search .boxes{-ms-flex-wrap:wrap;flex-wrap:wrap;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;margin:20px 0}verdocs-search search-recent,verdocs-search search-saved,verdocs-search search-quick-functions,verdocs-search search-starred{display:-ms-flexbox;display:flex;margin:0 20px 20px 0}";
10
10
 
@@ -4,17 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5463795e.js');
6
6
  require('./Types-f89f9116.js');
7
- const VerdocsEndpoint = require('./VerdocsEndpoint-8f298664.js');
7
+ const VerdocsEndpoint = require('./VerdocsEndpoint-2d85658d.js');
8
8
  const Primitives = require('./Primitives-a59870a2.js');
9
9
  const Toast = require('./Toast-06880504.js');
10
10
  const errors = require('./errors-0396da3d.js');
11
- const Profiles = require('./Profiles-1a26e4eb.js');
11
+ const Profiles = require('./Profiles-54271244.js');
12
12
  const index$1 = require('./index-7c19ba1d.js');
13
- const utils = require('./utils-0916d10f.js');
14
- require('./_commonjsHelpers-1fbbf0eb.js');
15
- require('./Envelopes-0b9deb2c.js');
13
+ const utils = require('./utils-2ddfdf9e.js');
14
+ require('./_commonjsHelpers-0c557e26.js');
15
+ require('./Envelopes-99ca79fe.js');
16
16
  require('./Files-4bdc0c0f.js');
17
- require('./Types-fb95ed6b.js');
17
+ require('./Types-ee5afdf8.js');
18
18
 
19
19
  /**
20
20
  * API keys are used to authenticate server-to-server calls. (API keys should **never** be used for client-to-server operations!)
@@ -122,28 +122,6 @@ var deleteMember = function (endpoint, organizationId, profileId) {
122
122
  .then(function (r) { return r.data; });
123
123
  };
124
124
 
125
- /**
126
- * An Organization is the top level object for ownership for Members, Documents, and Templates.
127
- *
128
- * @module
129
- */
130
- /**
131
- * Get an organization by ID.
132
- */
133
- var getOrganization = function (endpoint, organizationId) {
134
- return endpoint.api //
135
- .get("/organizations/".concat(organizationId))
136
- .then(function (r) { return r.data; });
137
- };
138
- /**
139
- * Update an organization.
140
- */
141
- var updateOrganization = function (endpoint, organizationId, params) {
142
- return endpoint.api //
143
- .patch("/organizations/".concat(organizationId), params)
144
- .then(function (r) { return r.data; });
145
- };
146
-
147
125
  const verdocsSettingsApiKeysCss = "verdocs-settings-api-keys{display:-ms-flexbox;display:flex;padding:10px;font-size:18px;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-radius:6px;color:#33364b;-ms-flex-direction:column;flex-direction:column;font-family:\"Inter\", \"Barlow\", sans-serif}verdocs-settings-api-keys .table{margin:12px 0}verdocs-settings-api-keys .data-col div{gap:12px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-settings-api-keys .data-col svg{width:24px;height:24px}verdocs-settings-api-keys .col-name svg,verdocs-settings-api-keys .col-client_id svg,verdocs-settings-api-keys .col-profile_id svg{fill:#a1a1aa}verdocs-settings-api-keys .col-actions svg{fill:#ffffff;stroke:#a1a1aa}verdocs-settings-api-keys .col-actions svg:hover{cursor:pointer;stroke:red}verdocs-settings-api-keys .col-actions>div{-ms-flex-pack:center;justify-content:center}verdocs-settings-api-keys .header-col.col-actions{text-align:center}verdocs-settings-api-keys verdocs-dialog p{font-size:16px;line-height:18px;margin:0 0 1em 0}@media all and (max-width: 450px){verdocs-settings-api-keys .col-client_id,verdocs-settings-api-keys .col-actions{display:none}}";
148
126
 
149
127
  // const ClockIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zM12.75 6a.75.75 0 00-1.5 0v6c0 .414.336.75.75.75h4.5a.75.75 0 000-1.5h-3.75V6z" clip-rule="evenodd" /></svg>`;
@@ -1291,7 +1269,7 @@ class ZodType {
1291
1269
  }
1292
1270
  const cuidRegex = /^c[^\s-]{8,}$/i;
1293
1271
  const cuid2Regex = /^[a-z][a-z0-9]*$/;
1294
- const ulidRegex = /^[0-9A-HJKMNP-TV-Z]{26}$/;
1272
+ const ulidRegex = /[0-9A-HJKMNP-TV-Z]{26}/;
1295
1273
  // const uuidRegex =
1296
1274
  // /^([a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}|00000000-0000-0000-0000-000000000000)$/i;
1297
1275
  const uuidRegex = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i;
@@ -1307,12 +1285,11 @@ const uuidRegex = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-
1307
1285
  // /^[a-zA-Z0-9\.\!\#\$\%\&\'\*\+\/\=\?\^\_\`\{\|\}\~\-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;
1308
1286
  // const emailRegex =
1309
1287
  // /^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;
1310
- const emailRegex = /^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;
1288
+ const emailRegex = /^([A-Z0-9_+-]+\.?)*[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;
1311
1289
  // const emailRegex =
1312
1290
  // /^[a-z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-z0-9-]+(?:\.[a-z0-9\-]+)*$/i;
1313
1291
  // from https://thekevinscott.com/emojis-in-javascript/#writing-a-regular-expression
1314
- const _emojiRegex = `^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;
1315
- let emojiRegex;
1292
+ const emojiRegex = /^(\p{Extended_Pictographic}|\p{Emoji_Component})+$/u;
1316
1293
  const ipv4Regex = /^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/;
1317
1294
  const ipv6Regex = /^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/;
1318
1295
  // Adapted from https://stackoverflow.com/a/3143231
@@ -1352,6 +1329,31 @@ function isValidIP(ip, version) {
1352
1329
  return false;
1353
1330
  }
1354
1331
  class ZodString extends ZodType {
1332
+ constructor() {
1333
+ super(...arguments);
1334
+ this._regex = (regex, validation, message) => this.refinement((data) => regex.test(data), {
1335
+ validation,
1336
+ code: ZodIssueCode.invalid_string,
1337
+ ...errorUtil.errToObj(message),
1338
+ });
1339
+ /**
1340
+ * @deprecated Use z.string().min(1) instead.
1341
+ * @see {@link ZodString.min}
1342
+ */
1343
+ this.nonempty = (message) => this.min(1, errorUtil.errToObj(message));
1344
+ this.trim = () => new ZodString({
1345
+ ...this._def,
1346
+ checks: [...this._def.checks, { kind: "trim" }],
1347
+ });
1348
+ this.toLowerCase = () => new ZodString({
1349
+ ...this._def,
1350
+ checks: [...this._def.checks, { kind: "toLowerCase" }],
1351
+ });
1352
+ this.toUpperCase = () => new ZodString({
1353
+ ...this._def,
1354
+ checks: [...this._def.checks, { kind: "toUpperCase" }],
1355
+ });
1356
+ }
1355
1357
  _parse(input) {
1356
1358
  if (this._def.coerce) {
1357
1359
  input.data = String(input.data);
@@ -1439,9 +1441,6 @@ class ZodString extends ZodType {
1439
1441
  }
1440
1442
  }
1441
1443
  else if (check.kind === "emoji") {
1442
- if (!emojiRegex) {
1443
- emojiRegex = new RegExp(_emojiRegex, "u");
1444
- }
1445
1444
  if (!emojiRegex.test(input.data)) {
1446
1445
  ctx = this._getOrReturnCtx(input, ctx);
1447
1446
  addIssueToContext(ctx, {
@@ -1594,13 +1593,6 @@ class ZodString extends ZodType {
1594
1593
  }
1595
1594
  return { status: status.value, value: input.data };
1596
1595
  }
1597
- _regex(regex, validation, message) {
1598
- return this.refinement((data) => regex.test(data), {
1599
- validation,
1600
- code: ZodIssueCode.invalid_string,
1601
- ...errorUtil.errToObj(message),
1602
- });
1603
- }
1604
1596
  _addCheck(check) {
1605
1597
  return new ZodString({
1606
1598
  ...this._def,
@@ -1698,31 +1690,6 @@ class ZodString extends ZodType {
1698
1690
  ...errorUtil.errToObj(message),
1699
1691
  });
1700
1692
  }
1701
- /**
1702
- * @deprecated Use z.string().min(1) instead.
1703
- * @see {@link ZodString.min}
1704
- */
1705
- nonempty(message) {
1706
- return this.min(1, errorUtil.errToObj(message));
1707
- }
1708
- trim() {
1709
- return new ZodString({
1710
- ...this._def,
1711
- checks: [...this._def.checks, { kind: "trim" }],
1712
- });
1713
- }
1714
- toLowerCase() {
1715
- return new ZodString({
1716
- ...this._def,
1717
- checks: [...this._def.checks, { kind: "toLowerCase" }],
1718
- });
1719
- }
1720
- toUpperCase() {
1721
- return new ZodString({
1722
- ...this._def,
1723
- checks: [...this._def.checks, { kind: "toUpperCase" }],
1724
- });
1725
- }
1726
1693
  get isDatetime() {
1727
1694
  return !!this._def.checks.find((ch) => ch.kind === "datetime");
1728
1695
  }
@@ -4255,7 +4222,7 @@ ZodReadonly.create = (type, params) => {
4255
4222
  });
4256
4223
  };
4257
4224
  const custom = (check, params = {},
4258
- /**
4225
+ /*
4259
4226
  * @deprecated
4260
4227
  *
4261
4228
  * Pass `fatal` into the params object instead:
@@ -4672,7 +4639,7 @@ const VerdocsSettingsOrganization = class {
4672
4639
  }
4673
4640
  }
4674
4641
  async componentDidLoad() {
4675
- const organization = await getOrganization(this.endpoint, this.endpoint.session.organization_id);
4642
+ const organization = await Profiles.getOrganization(this.endpoint, this.endpoint.session.organization_id);
4676
4643
  console.log('[SETTINGS] Loaded organization', organization);
4677
4644
  this.resetForm(organization);
4678
4645
  }
@@ -4691,7 +4658,7 @@ const VerdocsSettingsOrganization = class {
4691
4658
  handleSubmit(e) {
4692
4659
  e.preventDefault();
4693
4660
  e.stopPropagation();
4694
- updateOrganization(VerdocsEndpoint.VerdocsEndpoint.getDefault(), this.endpoint.session.organization_id, {
4661
+ Profiles.updateOrganization(VerdocsEndpoint.VerdocsEndpoint.getDefault(), this.endpoint.session.organization_id, {
4695
4662
  name: this.name,
4696
4663
  business_name: this.business_name,
4697
4664
  contact_email: this.contact_email,
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5463795e.js');
6
6
  require('./Types-f89f9116.js');
7
- const VerdocsEndpoint = require('./VerdocsEndpoint-8f298664.js');
7
+ const VerdocsEndpoint = require('./VerdocsEndpoint-2d85658d.js');
8
8
  const errors = require('./errors-0396da3d.js');
9
9
 
10
10
  const verdocsSettingsCss = "verdocs-settings{font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;display:-ms-flexbox;display:flex;padding:15px;row-gap:15px;min-height:200px;position:relative;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-direction:column;flex-direction:column}verdocs-settings .tabs{gap:4px;width:100%;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-direction:row;flex-direction:row;border-bottom:1px solid #654dcb}verdocs-settings .tabs .tab{cursor:pointer;padding:5px 10px;color:#ffffff;background-color:#777777}verdocs-settings .tabs .tab.active{color:#ffffff;background-color:#654dcb}";
@@ -3,18 +3,18 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5463795e.js');
6
- const Envelopes = require('./Envelopes-0b9deb2c.js');
6
+ const Envelopes = require('./Envelopes-99ca79fe.js');
7
7
  const Types$1 = require('./Types-f89f9116.js');
8
8
  const Recipients = require('./Recipients-f3d6cf10.js');
9
- const VerdocsEndpoint = require('./VerdocsEndpoint-8f298664.js');
9
+ const VerdocsEndpoint = require('./VerdocsEndpoint-2d85658d.js');
10
10
  const Validators = require('./Validators-16e6d7d1.js');
11
11
  const Primitives = require('./Primitives-a59870a2.js');
12
- const utils = require('./utils-0916d10f.js');
13
- const Types = require('./Types-fb95ed6b.js');
12
+ const utils = require('./utils-2ddfdf9e.js');
13
+ const Types = require('./Types-ee5afdf8.js');
14
14
  const Toast = require('./Toast-06880504.js');
15
15
  const errors = require('./errors-0396da3d.js');
16
16
  const index$1 = require('./index-7c19ba1d.js');
17
- require('./_commonjsHelpers-1fbbf0eb.js');
17
+ require('./_commonjsHelpers-0c557e26.js');
18
18
  require('./Files-4bdc0c0f.js');
19
19
 
20
20
  /**
@@ -83,7 +83,6 @@ const VerdocsSign = class {
83
83
  this.submitting = false;
84
84
  this.isDone = false;
85
85
  this.showDone = false;
86
- this.showLoadError = false;
87
86
  this.finishLater = false;
88
87
  this.showFinishLater = false;
89
88
  this.agreed = false;
@@ -149,7 +148,6 @@ const VerdocsSign = class {
149
148
  catch (e) {
150
149
  console.log('Error with signing session', e);
151
150
  (_e = this.sdkError) === null || _e === void 0 ? void 0 : _e.emit(new errors.SDKError(e.message, (_f = e.response) === null || _f === void 0 ? void 0 : _f.status, (_g = e.response) === null || _g === void 0 ? void 0 : _g.data));
152
- this.showLoadError = true;
153
151
  }
154
152
  }
155
153
  componentDidRender() {
@@ -276,7 +274,9 @@ const VerdocsSign = class {
276
274
  if (!e.detail) {
277
275
  return;
278
276
  }
277
+ console.log('Creating signature blob', e.detail);
279
278
  const signatureBlob = await (await fetch(e.detail)).blob();
279
+ console.log('Created signature blob', signatureBlob);
280
280
  return createSignature(this.endpoint, 'signature', signatureBlob) //
281
281
  .then(async (newSignature) => {
282
282
  console.log('Signature update result', newSignature);
@@ -324,7 +324,6 @@ const VerdocsSign = class {
324
324
  case 'textarea':
325
325
  case 'date':
326
326
  case 'attachment':
327
- console.log('Date-type field valid', { required, result, output: !required || result !== '' });
328
327
  return !required || result !== '';
329
328
  case 'dropdown':
330
329
  return !required || value !== '';
@@ -399,6 +398,7 @@ const VerdocsSign = class {
399
398
  if (invalidFields.length < 1) {
400
399
  this.nextButtonLabel = 'Finish';
401
400
  if (!this.nextSubmits) {
401
+ // this.showSubmitDialog = true;
402
402
  this.nextSubmits = true;
403
403
  }
404
404
  }
@@ -414,7 +414,7 @@ const VerdocsSign = class {
414
414
  console.log('[SIGN] onfieldInput', e.detail, e.target.value);
415
415
  // These field types don't emit fieldChange. Should we standardize on that? We don't tap "input" for fields like
416
416
  // text boxes because we'd be updating the field on every keystroke. We do those on blur which fires fieldChange.
417
- if (e.target.name.includes('checkbox_group') || e.target.name.includes('radio_button_group')) {
417
+ if (e.target.name.includes('date') || e.target.name.includes('checkbox_group') || e.target.name.includes('radio_button_group')) {
418
418
  console.log('CB', e.target);
419
419
  this.handleFieldChange(field, e).finally(() => this.checkRecipientFields());
420
420
  }
@@ -511,9 +511,6 @@ const VerdocsSign = class {
511
511
  })), this.showFinishLater && (index.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.errorMessage && index.h("verdocs-ok-dialog", { heading: "Network Error", message: this.errorMessage, onNext: () => (this.errorMessage = '') }), this.showDone && (index.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: () => {
512
512
  this.showDone = false;
513
513
  this.isDone = true;
514
- } })), this.showLoadError && (index.h("verdocs-ok-dialog", { heading: "Error Loading Document", message: `Please check with the sender to ensure it has not been canceled, and try again later.`, buttonLabel: "Retry", onNext: () => {
515
- this.showLoadError = false;
516
- window.location.reload();
517
514
  } })), this.submitting && (index.h("div", { class: "loading-indicator" }, index.h("verdocs-loader", null))), !this.agreed && (index.h("div", { class: "cover" }, index.h("div", { class: "agree" }, index.h("verdocs-checkbox", { name: "agree", label: "By checking this box, you:", onInput: () => this.handleClickAgree() }), index.h("ul", null, index.h("li", null, "Agree to use electronic records and signatures, and confirm you have read the", ' ', index.h("a", { href: "https://verdocs.com/en/electronic-record-signature-disclosure/", target: "_blank" }, "Electronic Record and Signatures Disclosure"), "."), index.h("li", null, "Agree to Verdocs", ' ', index.h("a", { href: "https://verdocs.com/en/eula", target: "_blank" }, "End User License Agreement"), ' ', "and confirm you have read Verdocs'", ' ', index.h("a", { href: "https://verdocs.com/en/privacy-policy/", target: "_blank" }, "Privacy Policy"), ".")))))));
518
515
  }
519
516
  };
@@ -4,14 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5463795e.js');
6
6
  require('./Types-f89f9116.js');
7
- const VerdocsEndpoint = require('./VerdocsEndpoint-8f298664.js');
7
+ const VerdocsEndpoint = require('./VerdocsEndpoint-2d85658d.js');
8
8
  const TemplateDocuments = require('./TemplateDocuments-e2e0e6b7.js');
9
- const utils = require('./utils-0916d10f.js');
9
+ const utils = require('./utils-2ddfdf9e.js');
10
10
  const popper = require('./popper-d7adcfc6.js');
11
- require('./_commonjsHelpers-1fbbf0eb.js');
12
- require('./Envelopes-0b9deb2c.js');
11
+ require('./_commonjsHelpers-0c557e26.js');
12
+ require('./Envelopes-99ca79fe.js');
13
13
  require('./Files-4bdc0c0f.js');
14
- require('./Types-fb95ed6b.js');
14
+ require('./Types-ee5afdf8.js');
15
15
  require('./index-7c19ba1d.js');
16
16
 
17
17
  const verdocsTemplateDocumentPageCss = "verdocs-template-document-page{width:100%;position:relative}verdocs-template-document-page .verdocs-template-document-page-layer{position:absolute;top:0;left:0;right:0;bottom:0;-webkit-box-shadow:0 0 10px 5px #0000000f;box-shadow:0 0 10px 5px #0000000f}verdocs-template-document-page .verdocs-template-document-page-layer.img{width:100%}";