@verdocs/web-sdk 4.1.3 → 4.1.7

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 (249) hide show
  1. package/dist/cjs/verdocs-auth.cjs.entry.js +5 -9
  2. package/dist/cjs/verdocs-button-panel.cjs.entry.js +2 -2
  3. package/dist/cjs/verdocs-button_3.cjs.entry.js +4 -4
  4. package/dist/cjs/verdocs-checkbox_3.cjs.entry.js +2 -2
  5. package/dist/cjs/verdocs-component-error.cjs.entry.js +1 -1
  6. package/dist/cjs/verdocs-contact-picker_2.cjs.entry.js +9 -11
  7. package/dist/cjs/verdocs-dialog_2.cjs.entry.js +3 -3
  8. package/dist/cjs/verdocs-dropdown.cjs.entry.js +1 -1
  9. package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +1 -1
  10. package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +6 -6
  11. package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js +3 -3
  12. package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +2 -2
  13. package/dist/cjs/verdocs-kba-dialog.cjs.entry.js +2 -2
  14. package/dist/cjs/verdocs-loader.cjs.entry.js +1 -1
  15. package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +1 -1
  16. package/dist/cjs/verdocs-organization-card_2.cjs.entry.js +2 -2
  17. package/dist/cjs/verdocs-pagination_2.cjs.entry.js +2 -2
  18. package/dist/cjs/verdocs-quick-functions_2.cjs.entry.js +2 -2
  19. package/dist/cjs/verdocs-radio-button_3.cjs.entry.js +9 -9
  20. package/dist/cjs/verdocs-search-tabs.cjs.entry.js +1 -1
  21. package/dist/cjs/verdocs-search.cjs.entry.js +1 -1
  22. package/dist/cjs/verdocs-spinner.cjs.entry.js +1 -1
  23. package/dist/cjs/verdocs-status-indicator.cjs.entry.js +2 -2
  24. package/dist/cjs/verdocs-tabs.cjs.entry.js +1 -1
  25. package/dist/cjs/verdocs-template-card.cjs.entry.js +1 -1
  26. package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +2 -2
  27. package/dist/cjs/verdocs-template-star.cjs.entry.js +1 -1
  28. package/dist/cjs/verdocs-template-tags.cjs.entry.js +1 -1
  29. package/dist/cjs/verdocs-templates-list.cjs.entry.js +7 -7
  30. package/dist/cjs/verdocs-toggle.cjs.entry.js +1 -1
  31. package/dist/collection/components/controls/verdocs-button/verdocs-button.js +1 -1
  32. package/dist/collection/components/controls/verdocs-button-panel/verdocs-button-panel.js +2 -2
  33. package/dist/collection/components/controls/verdocs-checkbox/verdocs-checkbox.js +1 -1
  34. package/dist/collection/components/controls/verdocs-component-error/verdocs-component-error.js +1 -1
  35. package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.js +1 -1
  36. package/dist/collection/components/controls/verdocs-file-chooser/verdocs-file-chooser.js +1 -1
  37. package/dist/collection/components/controls/verdocs-help-icon/verdocs-help-icon.js +1 -1
  38. package/dist/collection/components/controls/verdocs-loader/verdocs-loader.js +1 -1
  39. package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.js +1 -1
  40. package/dist/collection/components/controls/verdocs-pagination/verdocs-pagination.js +1 -1
  41. package/dist/collection/components/controls/verdocs-portal/verdocs-portal.js +1 -1
  42. package/dist/collection/components/controls/verdocs-progress-bar/verdocs-progress-bar.js +1 -1
  43. package/dist/collection/components/controls/verdocs-quick-filter/verdocs-quick-filter.js +1 -1
  44. package/dist/collection/components/controls/verdocs-radio-button/verdocs-radio-button.js +1 -1
  45. package/dist/collection/components/controls/verdocs-select-input/verdocs-select-input.js +1 -1
  46. package/dist/collection/components/controls/verdocs-spinner/verdocs-spinner.js +1 -1
  47. package/dist/collection/components/controls/verdocs-table/verdocs-table.js +2 -2
  48. package/dist/collection/components/controls/verdocs-tabs/verdocs-tabs.js +1 -1
  49. package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.js +2 -2
  50. package/dist/collection/components/controls/verdocs-toggle/verdocs-toggle.js +1 -1
  51. package/dist/collection/components/controls/verdocs-toggle-button/verdocs-toggle-button.js +1 -1
  52. package/dist/collection/components/controls/verdocs-toolbar-icon/verdocs-toolbar-icon.js +1 -1
  53. package/dist/collection/components/dialogs/verdocs-dialog/verdocs-dialog.js +1 -1
  54. package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js +1 -1
  55. package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.js +2 -2
  56. package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js +1 -1
  57. package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js +1 -1
  58. package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js +1 -1
  59. package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js +1 -1
  60. package/dist/collection/components/elements/verdocs-search-box/verdocs-search-box.js +1 -1
  61. package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js +1 -1
  62. package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js +6 -10
  63. package/dist/collection/components/embeds/verdocs-search/verdocs-search.js +1 -1
  64. package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js +8 -10
  65. package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -1
  66. package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +6 -6
  67. package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +2 -2
  68. package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.js +1 -1
  69. package/dist/collection/components/templates/verdocs-template-document-page/verdocs-template-document-page.js +1 -1
  70. package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +7 -7
  71. package/dist/collection/components/templates/verdocs-template-sender/verdocs-template-sender.js +1 -1
  72. package/dist/collection/components/templates/verdocs-template-star/verdocs-template-star.js +1 -1
  73. package/dist/collection/components/templates/verdocs-template-tags/verdocs-template-tags.js +1 -1
  74. package/dist/collection/components/templates/verdocs-templates-list/verdocs-templates-list.js +7 -7
  75. package/dist/components/verdocs-auth.js +6 -10
  76. package/dist/components/verdocs-button-panel2.js +2 -2
  77. package/dist/components/verdocs-button2.js +1 -1
  78. package/dist/components/verdocs-checkbox2.js +1 -1
  79. package/dist/components/verdocs-component-error2.js +1 -1
  80. package/dist/components/verdocs-contact-picker2.js +8 -10
  81. package/dist/components/verdocs-dialog2.js +1 -1
  82. package/dist/components/verdocs-dropdown2.js +1 -1
  83. package/dist/components/verdocs-envelope-document-page2.js +1 -1
  84. package/dist/components/verdocs-envelopes-list.js +6 -6
  85. package/dist/components/verdocs-file-chooser2.js +1 -1
  86. package/dist/components/verdocs-help-icon2.js +1 -1
  87. package/dist/components/verdocs-initial-dialog2.js +1 -1
  88. package/dist/components/verdocs-kba-dialog.js +2 -2
  89. package/dist/components/verdocs-loader2.js +1 -1
  90. package/dist/components/verdocs-ok-dialog2.js +1 -1
  91. package/dist/components/verdocs-organization-card.js +1 -1
  92. package/dist/components/verdocs-pagination2.js +1 -1
  93. package/dist/components/verdocs-portal2.js +1 -1
  94. package/dist/components/verdocs-progress-bar2.js +1 -1
  95. package/dist/components/verdocs-quick-filter2.js +1 -1
  96. package/dist/components/verdocs-quick-functions2.js +1 -1
  97. package/dist/components/verdocs-radio-button2.js +1 -1
  98. package/dist/components/verdocs-search-box2.js +1 -1
  99. package/dist/components/verdocs-search-tabs.js +1 -1
  100. package/dist/components/verdocs-search.js +1 -1
  101. package/dist/components/verdocs-select-input2.js +1 -1
  102. package/dist/components/verdocs-signature-dialog2.js +1 -1
  103. package/dist/components/verdocs-spinner2.js +1 -1
  104. package/dist/components/verdocs-status-indicator2.js +2 -2
  105. package/dist/components/verdocs-table2.js +2 -2
  106. package/dist/components/verdocs-tabs2.js +1 -1
  107. package/dist/components/verdocs-template-card.js +1 -1
  108. package/dist/components/verdocs-template-document-page2.js +1 -1
  109. package/dist/components/verdocs-template-role-properties2.js +7 -7
  110. package/dist/components/verdocs-template-sender2.js +1 -1
  111. package/dist/components/verdocs-template-star2.js +1 -1
  112. package/dist/components/verdocs-template-tags.js +1 -1
  113. package/dist/components/verdocs-templates-list.js +7 -7
  114. package/dist/components/verdocs-text-input2.js +2 -2
  115. package/dist/components/verdocs-toggle-button2.js +1 -1
  116. package/dist/components/verdocs-toggle.js +1 -1
  117. package/dist/components/verdocs-toolbar-icon2.js +1 -1
  118. package/dist/components/verdocs-upload-dialog2.js +1 -1
  119. package/dist/esm/verdocs-auth.entry.js +6 -10
  120. package/dist/esm/verdocs-button-panel.entry.js +2 -2
  121. package/dist/esm/verdocs-button_3.entry.js +4 -4
  122. package/dist/esm/verdocs-checkbox_3.entry.js +2 -2
  123. package/dist/esm/verdocs-component-error.entry.js +1 -1
  124. package/dist/esm/verdocs-contact-picker_2.entry.js +9 -11
  125. package/dist/esm/verdocs-dialog_2.entry.js +3 -3
  126. package/dist/esm/verdocs-dropdown.entry.js +1 -1
  127. package/dist/esm/verdocs-envelope-document-page.entry.js +1 -1
  128. package/dist/esm/verdocs-envelopes-list.entry.js +6 -6
  129. package/dist/esm/verdocs-field-attachment_13.entry.js +3 -3
  130. package/dist/esm/verdocs-file-chooser_2.entry.js +2 -2
  131. package/dist/esm/verdocs-kba-dialog.entry.js +2 -2
  132. package/dist/esm/verdocs-loader.entry.js +1 -1
  133. package/dist/esm/verdocs-ok-dialog.entry.js +1 -1
  134. package/dist/esm/verdocs-organization-card_2.entry.js +2 -2
  135. package/dist/esm/verdocs-pagination_2.entry.js +2 -2
  136. package/dist/esm/verdocs-quick-functions_2.entry.js +2 -2
  137. package/dist/esm/verdocs-radio-button_3.entry.js +9 -9
  138. package/dist/esm/verdocs-search-tabs.entry.js +1 -1
  139. package/dist/esm/verdocs-search.entry.js +1 -1
  140. package/dist/esm/verdocs-spinner.entry.js +1 -1
  141. package/dist/esm/verdocs-status-indicator.entry.js +2 -2
  142. package/dist/esm/verdocs-tabs.entry.js +1 -1
  143. package/dist/esm/verdocs-template-card.entry.js +1 -1
  144. package/dist/esm/verdocs-template-document-page_2.entry.js +2 -2
  145. package/dist/esm/verdocs-template-star.entry.js +1 -1
  146. package/dist/esm/verdocs-template-tags.entry.js +1 -1
  147. package/dist/esm/verdocs-templates-list.entry.js +7 -7
  148. package/dist/esm/verdocs-toggle.entry.js +1 -1
  149. package/dist/esm-es5/verdocs-auth.entry.js +1 -1
  150. package/dist/esm-es5/verdocs-button-panel.entry.js +1 -1
  151. package/dist/esm-es5/verdocs-button_3.entry.js +1 -1
  152. package/dist/esm-es5/verdocs-checkbox_3.entry.js +1 -1
  153. package/dist/esm-es5/verdocs-component-error.entry.js +1 -1
  154. package/dist/esm-es5/verdocs-contact-picker_2.entry.js +1 -1
  155. package/dist/esm-es5/verdocs-dialog_2.entry.js +1 -1
  156. package/dist/esm-es5/verdocs-dropdown.entry.js +1 -1
  157. package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
  158. package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
  159. package/dist/esm-es5/verdocs-field-attachment_13.entry.js +1 -1
  160. package/dist/esm-es5/verdocs-file-chooser_2.entry.js +1 -1
  161. package/dist/esm-es5/verdocs-kba-dialog.entry.js +1 -1
  162. package/dist/esm-es5/verdocs-loader.entry.js +1 -1
  163. package/dist/esm-es5/verdocs-ok-dialog.entry.js +1 -1
  164. package/dist/esm-es5/verdocs-organization-card_2.entry.js +1 -1
  165. package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
  166. package/dist/esm-es5/verdocs-quick-functions_2.entry.js +1 -1
  167. package/dist/esm-es5/verdocs-radio-button_3.entry.js +1 -1
  168. package/dist/esm-es5/verdocs-search-tabs.entry.js +1 -1
  169. package/dist/esm-es5/verdocs-search.entry.js +1 -1
  170. package/dist/esm-es5/verdocs-spinner.entry.js +1 -1
  171. package/dist/esm-es5/verdocs-status-indicator.entry.js +1 -1
  172. package/dist/esm-es5/verdocs-tabs.entry.js +1 -1
  173. package/dist/esm-es5/verdocs-template-card.entry.js +1 -1
  174. package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -1
  175. package/dist/esm-es5/verdocs-template-star.entry.js +1 -1
  176. package/dist/esm-es5/verdocs-template-tags.entry.js +1 -1
  177. package/dist/esm-es5/verdocs-templates-list.entry.js +1 -1
  178. package/dist/esm-es5/verdocs-toggle.entry.js +1 -1
  179. package/dist/verdocs-web-sdk/{p-e6992b79.system.entry.js → p-03aedbe9.system.entry.js} +1 -1
  180. package/dist/verdocs-web-sdk/{p-a5c6eac3.entry.js → p-03f8d33f.entry.js} +1 -1
  181. package/dist/verdocs-web-sdk/{p-67c3b3d1.entry.js → p-0713ab8d.entry.js} +1 -1
  182. package/dist/verdocs-web-sdk/{p-bb0ed696.system.entry.js → p-08210588.system.entry.js} +1 -1
  183. package/dist/verdocs-web-sdk/{p-ba675574.system.entry.js → p-0e022e75.system.entry.js} +1 -1
  184. package/dist/verdocs-web-sdk/{p-bb1dc544.system.entry.js → p-1030a0b7.system.entry.js} +1 -1
  185. package/dist/verdocs-web-sdk/{p-eaf4de2f.entry.js → p-10947d22.entry.js} +1 -1
  186. package/dist/verdocs-web-sdk/{p-e7b29b46.system.entry.js → p-1175926f.system.entry.js} +1 -1
  187. package/dist/verdocs-web-sdk/{p-597bd8aa.system.entry.js → p-12c26b19.system.entry.js} +1 -1
  188. package/dist/verdocs-web-sdk/{p-ccdb7d88.system.entry.js → p-141a992e.system.entry.js} +1 -1
  189. package/dist/verdocs-web-sdk/p-16beca12.entry.js +1 -0
  190. package/dist/verdocs-web-sdk/{p-d4331e4f.system.entry.js → p-17050bcd.system.entry.js} +1 -1
  191. package/dist/verdocs-web-sdk/{p-ad2814b4.entry.js → p-1b6664c9.entry.js} +1 -1
  192. package/dist/verdocs-web-sdk/{p-0a0ac65f.entry.js → p-1f7d5165.entry.js} +1 -1
  193. package/dist/verdocs-web-sdk/{p-0ff14c4d.entry.js → p-20593762.entry.js} +1 -1
  194. package/dist/verdocs-web-sdk/{p-42ec5f5b.entry.js → p-316b550f.entry.js} +1 -1
  195. package/dist/verdocs-web-sdk/p-322fa613.system.js +1 -1
  196. package/dist/verdocs-web-sdk/p-340d2dfb.entry.js +1 -0
  197. package/dist/verdocs-web-sdk/{p-973a8142.entry.js → p-3dcdaf36.entry.js} +1 -1
  198. package/dist/verdocs-web-sdk/{p-7e6fa885.entry.js → p-3f246894.entry.js} +1 -1
  199. package/dist/verdocs-web-sdk/{p-3093ede7.entry.js → p-3f9b5a02.entry.js} +1 -1
  200. package/dist/verdocs-web-sdk/{p-d61235cf.entry.js → p-4bb08486.entry.js} +1 -1
  201. package/dist/verdocs-web-sdk/{p-f91f3248.entry.js → p-50439d9f.entry.js} +1 -1
  202. package/dist/verdocs-web-sdk/p-50aa20d5.system.entry.js +1 -0
  203. package/dist/verdocs-web-sdk/{p-7b8ae86c.entry.js → p-5961ce51.entry.js} +1 -1
  204. package/dist/verdocs-web-sdk/{p-748ed4ef.entry.js → p-65df6ef0.entry.js} +1 -1
  205. package/dist/verdocs-web-sdk/{p-1dd1d686.entry.js → p-67e9f8a5.entry.js} +1 -1
  206. package/dist/verdocs-web-sdk/{p-a908ebeb.system.entry.js → p-6bbea733.system.entry.js} +1 -1
  207. package/dist/verdocs-web-sdk/{p-43962d76.system.entry.js → p-6fa08e21.system.entry.js} +1 -1
  208. package/dist/verdocs-web-sdk/{p-f54b4cc0.system.entry.js → p-6fc92b73.system.entry.js} +1 -1
  209. package/dist/verdocs-web-sdk/{p-84caf3e1.system.entry.js → p-708b5430.system.entry.js} +1 -1
  210. package/dist/verdocs-web-sdk/{p-7b222135.system.entry.js → p-71efd549.system.entry.js} +1 -1
  211. package/dist/verdocs-web-sdk/p-71f53fd6.entry.js +1 -0
  212. package/dist/verdocs-web-sdk/{p-b0df559c.entry.js → p-753d0e16.entry.js} +1 -1
  213. package/dist/verdocs-web-sdk/{p-72c7e548.entry.js → p-77ec3348.entry.js} +1 -1
  214. package/dist/verdocs-web-sdk/{p-4291db9f.entry.js → p-7a4930b1.entry.js} +1 -1
  215. package/dist/verdocs-web-sdk/p-7c61d3ea.entry.js +1 -0
  216. package/dist/verdocs-web-sdk/{p-5be462d9.system.entry.js → p-8a820b88.system.entry.js} +1 -1
  217. package/dist/verdocs-web-sdk/{p-3a8b2213.system.entry.js → p-8ca0c8c2.system.entry.js} +1 -1
  218. package/dist/verdocs-web-sdk/{p-1fec2d1e.system.entry.js → p-8ee31f33.system.entry.js} +1 -1
  219. package/dist/verdocs-web-sdk/{p-bf8e7b5a.system.entry.js → p-9452b95d.system.entry.js} +1 -1
  220. package/dist/verdocs-web-sdk/p-9bef9a21.system.entry.js +1 -0
  221. package/dist/verdocs-web-sdk/{p-314321b8.system.entry.js → p-9ce9d353.system.entry.js} +1 -1
  222. package/dist/verdocs-web-sdk/{p-05c9b6c9.system.entry.js → p-a11d459d.system.entry.js} +1 -1
  223. package/dist/verdocs-web-sdk/p-a1289b75.system.entry.js +1 -0
  224. package/dist/verdocs-web-sdk/{p-b3eab86c.entry.js → p-aa6fbe00.entry.js} +1 -1
  225. package/dist/verdocs-web-sdk/{p-99510d53.system.entry.js → p-aed8139a.system.entry.js} +1 -1
  226. package/dist/verdocs-web-sdk/{p-5070ad92.system.entry.js → p-c293ad2e.system.entry.js} +1 -1
  227. package/dist/verdocs-web-sdk/{p-7ed27280.entry.js → p-d6592bda.entry.js} +1 -1
  228. package/dist/verdocs-web-sdk/{p-c598ea74.system.entry.js → p-daf07a17.system.entry.js} +1 -1
  229. package/dist/verdocs-web-sdk/{p-84781ec3.system.entry.js → p-dcbad099.system.entry.js} +1 -1
  230. package/dist/verdocs-web-sdk/{p-cf06ba29.system.entry.js → p-e1679e5b.system.entry.js} +1 -1
  231. package/dist/verdocs-web-sdk/{p-2b6566eb.entry.js → p-e42587b7.entry.js} +1 -1
  232. package/dist/verdocs-web-sdk/{p-62728531.entry.js → p-efc547dc.entry.js} +1 -1
  233. package/dist/verdocs-web-sdk/{p-76297fa0.system.entry.js → p-f2884b26.system.entry.js} +1 -1
  234. package/dist/verdocs-web-sdk/{p-9c05218b.entry.js → p-f44b9bd0.entry.js} +1 -1
  235. package/dist/verdocs-web-sdk/{p-6c5aee88.entry.js → p-f80e65ce.entry.js} +1 -1
  236. package/dist/verdocs-web-sdk/{p-13450dcd.system.entry.js → p-fbfdfcd4.system.entry.js} +1 -1
  237. package/dist/verdocs-web-sdk/{p-f2f6c646.system.entry.js → p-fdb77c22.system.entry.js} +1 -1
  238. package/dist/verdocs-web-sdk/{p-000b8414.entry.js → p-fe0c473d.entry.js} +1 -1
  239. package/dist/verdocs-web-sdk/{p-bbae0a6c.entry.js → p-ff6a4383.entry.js} +1 -1
  240. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  241. package/package.json +2 -2
  242. package/dist/custom-elements.json +0 -2126
  243. package/dist/verdocs-web-sdk/p-4542fd4b.entry.js +0 -1
  244. package/dist/verdocs-web-sdk/p-62af2ee6.system.entry.js +0 -1
  245. package/dist/verdocs-web-sdk/p-73042665.entry.js +0 -1
  246. package/dist/verdocs-web-sdk/p-7c3b1e47.entry.js +0 -1
  247. package/dist/verdocs-web-sdk/p-96352ec7.entry.js +0 -1
  248. package/dist/verdocs-web-sdk/p-ac7d07de.system.entry.js +0 -1
  249. package/dist/verdocs-web-sdk/p-b699eeef.system.entry.js +0 -1
@@ -15,7 +15,7 @@ const VerdocsTemplateCard$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsTemp
15
15
  }
16
16
  render() {
17
17
  var _a, _b, _c, _d;
18
- return (h(Host, { key: '92db1527b29db1accce1236ad170c1d071bd9af9' }, h("span", { key: '6df84f4e3f47f2a3bde4de1aaeb55cfdaaf24cec', class: "name" }, this.template.name), h("span", { key: '6be1cd61a1496fa579f25ff06fcd5295149aada1', class: "org-name" }, ((_a = this.template.organization) === null || _a === void 0 ? void 0 : _a.name) || 'Public'), h("hr", { key: '8f95b065445cf18ec71b2976c5c75d7335857f1a' }), h("div", { key: 'cce4e78b58f924de6b68bcf947af20dbed74ae15', class: "controls" }, h("div", { key: '124cf87ac1ab5f25d505004ebba55c0ad00d3b34', class: "control" }, h("span", { key: 'b39885d89f97c7f29077f5a0e8e943c2fd74e8a0', class: "icon", innerHTML: StarIcon }), h("span", { key: '7fa8e32525ed221d9907e658ca6f982fed16dba6', class: "value" }, this.template.star_counter)), h("div", { key: '37fb74c5e9302e8c310e2052b725183bac587c3d', class: "control secondary" }, h("span", { key: 'bef0ebc42c5f9062bf67d86a097dd0d4a8e03e11', class: "icon", innerHTML: PagesIcon }), h("span", { key: '3763e7ec4ac4e73ce712c460101223d6f8663b2a', class: "value" }, ((_d = (_c = (_b = this.template) === null || _b === void 0 ? void 0 : _b.documents) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.pages) || 1)), h("div", { key: 'e4f9d35db361036a46297e82ecf1528058e214bc', class: "control secondary" }, h("span", { key: '985da1d76dfeecb4e57e440fbf788c18453696a1', class: "icon", innerHTML: EmailIcon }), h("span", { key: 'f098866929e19bf47e30a660aba05a3e508561ed', class: "value" }, this.template.counter)), h("span", { key: 'c742e5c6e1087a9b0f1a8b037476759274838c42', class: "additional-controls", innerHTML: ActionsIcon }))));
18
+ return (h(Host, { key: 'b5bcce45639a644e66e263a09329e8f345bb51e4' }, h("span", { key: 'db094c3a8e429af167b56da7df97cdb0d35f5ff7', class: "name" }, this.template.name), h("span", { key: '153ce6c4aab0beb2cd5f012bbe58b8d4fc700b1f', class: "org-name" }, ((_a = this.template.organization) === null || _a === void 0 ? void 0 : _a.name) || 'Public'), h("hr", { key: '709fbc0c993eb1b54ff6568fc4c639aea696d6f6' }), h("div", { key: 'd7d1bda1d9e6ac5aab6cae62503fe5dfa2e040ca', class: "controls" }, h("div", { key: '5dddc88cea131c3bee2d4fa9a3e2f1522fe3593a', class: "control" }, h("span", { key: 'e114a05a3cdf3176aa453ca845f7dc2ff1f2b7bb', class: "icon", innerHTML: StarIcon }), h("span", { key: '3a2ccb4728c0129fb182efc3e763075e8a923768', class: "value" }, this.template.star_counter)), h("div", { key: 'a9bfe80a726cfeb90338d0add15f99acd5ca2cae', class: "control secondary" }, h("span", { key: '67b8a3b64f5d40a79e35cc2ca229123c90dad701', class: "icon", innerHTML: PagesIcon }), h("span", { key: '3459e3e3dac0596876ec2905b6668813d986aee9', class: "value" }, ((_d = (_c = (_b = this.template) === null || _b === void 0 ? void 0 : _b.documents) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.pages) || 1)), h("div", { key: 'f3a2d438d3b748061cfcf16028e352ca6337eb04', class: "control secondary" }, h("span", { key: '17d0a3ad7050436ccda2da74120c2348fcfa4fd7', class: "icon", innerHTML: EmailIcon }), h("span", { key: '6737878e795f633feb30ae0d28fc4b0c90f122eb', class: "value" }, this.template.counter)), h("span", { key: 'cbfde7c6ac4860d9b0720b458bf210194c25ebe0', class: "additional-controls", innerHTML: ActionsIcon }))));
19
19
  }
20
20
  static get style() { return VerdocsTemplateCardStyle0; }
21
21
  }, [0, "verdocs-template-card", {
@@ -115,7 +115,7 @@ const VerdocsTemplateDocumentPage = /*@__PURE__*/ proxyCustomElement(class Verdo
115
115
  }
116
116
  render() {
117
117
  const height = `${this.renderedHeight}px`;
118
- return (h(Host, { key: '6fabe54a0840385228e13a0e61f7748d41fbcf17', id: `${this.containerId}`, style: { height, flex: `0 0 ${height}` } }, this.layers.map(layer => layer.type === 'div' ? (h("div", { class: "verdocs-template-document-page-layer", id: `${this.containerId}-${layer.name}`, style: { height } }, layer.name === 'controls' &&
118
+ return (h(Host, { key: 'a332323d7adc14d79884131c20d41dfddcb03ac5', id: `${this.containerId}`, style: { height, flex: `0 0 ${height}` } }, this.layers.map(layer => layer.type === 'div' ? (h("div", { class: "verdocs-template-document-page-layer", id: `${this.containerId}-${layer.name}`, style: { height } }, layer.name === 'controls' &&
119
119
  this.fieldStore
120
120
  .get('fields')
121
121
  .filter(field => field && field.page === this.pageNumber)
@@ -129,31 +129,31 @@ const VerdocsTemplateRoleProperties = /*@__PURE__*/ proxyCustomElement(class Ver
129
129
  }
130
130
  render() {
131
131
  const hasFields = this.fieldStore.get('fields').some(field => field.role_name === this.roleName);
132
- return (h(Host, { key: 'c2728e2fb47306d99d3eebaaa38130322d37ad64' }, h("div", { key: 'a329fa189219f99c747e915ee2f0a41de978474f', class: "background-overlay", onClick: e => this.handleCancel(e) }, h("div", { key: 'a0325d8949c173d73ba2a48af5924d015e746266', class: "dialog" }, h("form", { key: '378e17dc270ae28779557793f6669143c86a41a3', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("verdocs-text-input", { key: '20f8de0856c8e5c847b7e1852edc437a8c6427fb', id: "verdocs-role-name", label: "Role Name", value: this.name, autocomplete: "off", disabled: hasFields, helpText: hasFields
132
+ return (h(Host, { key: 'd3988edb91247f2dd580645350c7c5641d21c61a' }, h("div", { key: '912555974fc01f6b5dbd37173217a17e1e6cc756', class: "background-overlay", onClick: e => this.handleCancel(e) }, h("div", { key: 'e6d8172451f3fe78fd4b932039b15615f4b4c843', class: "dialog" }, h("form", { key: '0d0519144c0de4813a664a2345a85a7da15606c9', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("verdocs-text-input", { key: '9169dd76bf19c5f809b78bdef9a20511d21cbdcc', id: "verdocs-role-name", label: "Role Name", value: this.name, autocomplete: "off", disabled: hasFields, helpText: hasFields
133
133
  ? 'This role has fields assigned and can no longer be renamed.'
134
134
  : 'A unique name to identify the role in the workflow. Submitted data will also be tagged with this value.', placeholder: "Role Name...", onInput: (e) => {
135
135
  this.name = e.target.value;
136
136
  this.dirty = true;
137
- } }), h("div", { key: '35310c43c72be59031d74995d5e4e08fd74b34bd', class: "row" }, h("div", { key: '4b47e8595ad1119d4027049b56acd43443a4b09a', class: "input-label" }, "Type:"), h("verdocs-select-input", { key: '97f18bfb8052d6f0690bf2d570a42a0a604556b9', value: this.type, options: [
137
+ } }), h("div", { key: 'fba0622ed18d69ae13c2dc6dbc4f3c2230fb72d5', class: "row" }, h("div", { key: 'db653736e1e1b32a58ea8df1d5f9f58928ca7047', class: "input-label" }, "Type:"), h("verdocs-select-input", { key: '7199410b3a1598e9fc74b6bcd42b58458e7c0ad7', value: this.type, options: [
138
138
  { label: 'Signer', value: 'signer' },
139
139
  { label: 'CC', value: 'cc' },
140
140
  { label: 'Approver', value: 'approver' },
141
141
  ], onInput: (e) => {
142
142
  this.type = e.target.value;
143
143
  this.dirty = true;
144
- } }), h("verdocs-help-icon", { key: '3f4059c1a1232aa08449e4518ccd9473066430df', text: "Most participants are Signers. CC roles are notified when documents are signed, but have no other actions. Approvers get notified when signing is completed to perform a final review." })), h("verdocs-text-input", { key: 'df9c1439da6894608dad4ef81dddf21e2591115f', id: "verdocs-recipient-email", label: "Full Name", value: this.full_name, autocomplete: "off", helpText: "The recipient's full name, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "Full Name...", onInput: (e) => {
144
+ } }), h("verdocs-help-icon", { key: '8e553f8d63d8d57022d449b9db08d8ab0bbdd48c', text: "Most participants are Signers. CC roles are notified when documents are signed, but have no other actions. Approvers get notified when signing is completed to perform a final review." })), h("verdocs-text-input", { key: 'da8fae069e9a65a8fbe41c926a4aabc2af0816f2', id: "verdocs-recipient-email", label: "Full Name", value: this.full_name, autocomplete: "off", helpText: "The recipient's full name, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "Full Name...", onInput: (e) => {
145
145
  this.full_name = e.target.value;
146
146
  this.dirty = true;
147
- } }), h("verdocs-text-input", { key: 'af0ac9644670cb4b3e5607eb75e6c0aa9746ed76', id: "verdocs-recipient-email", label: "Email", value: this.email, autocomplete: "off", helpText: "The recipient's email address, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "Email Address...", onInput: (e) => {
147
+ } }), h("verdocs-text-input", { key: '5c2818a8b37c6fdef9dfd4a9a64bbb2c66216ca9', id: "verdocs-recipient-email", label: "Email", value: this.email, autocomplete: "off", helpText: "The recipient's email address, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "Email Address...", onInput: (e) => {
148
148
  this.email = e.target.value;
149
149
  this.dirty = true;
150
- } }), h("verdocs-text-input", { key: 'f7055746726c2d199beac4206847bc1534de5601', id: "verdocs-recipient-phone", label: "Phone", value: this.phone, autocomplete: "off", 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.", placeholder: "Phone Number...", onInput: (e) => {
150
+ } }), h("verdocs-text-input", { key: '4230659800aac4470c96d411436434511a208015', id: "verdocs-recipient-phone", label: "Phone", value: this.phone, autocomplete: "off", 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.", placeholder: "Phone Number...", onInput: (e) => {
151
151
  this.phone = e.target.value;
152
152
  this.dirty = true;
153
- } }), h("div", { key: '12903a2f12f8f750cecaf0332a69099f67b4d530', class: "row" }, h("div", { key: '9959973a48e154155cc6b5892ae81a5105d62d33', class: "input-label" }, "May Delegate:"), h("div", { key: '0dd8af27a2fd4cf6c8a641a39ea3332887b1f71a', class: "checkbox-wrapper" }, h("verdocs-checkbox", { key: '8a145a05207fc1cae42d5c3e4596c2d673ecc097', checked: this.delegator, onInput: (e) => {
153
+ } }), h("div", { key: '2a675d0120b3cbeff8af790260578126d3cf46ce', class: "row" }, h("div", { key: '66c007c4d9ea713f5a399186e144d7445797765a', class: "input-label" }, "May Delegate:"), h("div", { key: 'ab88572b986a7c5def40a9c1e084fe3c62a766bf', class: "checkbox-wrapper" }, h("verdocs-checkbox", { key: 'b1ca8f96ffd71843beecdc349d86bf3d8cc35708', checked: this.delegator, onInput: (e) => {
154
154
  this.delegator = e.target.checked;
155
155
  this.dirty = true;
156
- } })), h("verdocs-help-icon", { key: 'd725f8446967e2c145e0e5ecad8416ee7e368bc8', text: "If enabled, this recipient may delegate their actions to another individual." })), h("div", { key: 'eae241c53cc8213d5c14bb213b41923620e17be3', class: "buttons" }, h("button", { key: '5eb5792ff0f79aab12bcfbb20ffdf58d431f4103', class: "delete-button", disabled: this.dirty, onClick: e => this.handleDelete(e), innerHTML: TrashIcon }), h("div", { key: 'bca3f871c37e1a346d98620ee0fd1dd0dfce9917', style: { flex: '1' } }), h("verdocs-button", { key: 'b40fb1ff70cb3cce19b793f940fc0038d12490ea', size: "small", variant: "outline", label: "Cancel", disabled: !this.dirty, onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '51270815757b0fd6803d527ac3388f1e2af16b25', size: "small", label: "Save", disabled: !this.dirty, onClick: e => this.handleSave(e) })))))));
156
+ } })), h("verdocs-help-icon", { key: 'de1d5f121299c133edcc8001a9b6a6b63ff9b739', text: "If enabled, this recipient may delegate their actions to another individual." })), h("div", { key: '79869b6fb38187967ca3550284e4d25f63884fd0', class: "buttons" }, h("button", { key: 'e58733c07c6793e2c454e5f68c5ffc8907cec1f1', class: "delete-button", disabled: this.dirty, onClick: e => this.handleDelete(e), innerHTML: TrashIcon }), h("div", { key: '55f4478946d4675a17055be652e19eb377ae5437', style: { flex: '1' } }), h("verdocs-button", { key: 'f67fa328ee71a14f0bd1ba049ffddf228841eb67', size: "small", variant: "outline", label: "Cancel", disabled: !this.dirty, onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '690bc539949328f6130e4d8da5db97ed1b355992', size: "small", label: "Save", disabled: !this.dirty, onClick: e => this.handleSave(e) })))))));
157
157
  }
158
158
  static get style() { return VerdocsTemplateRolePropertiesStyle0; }
159
159
  }, [0, "verdocs-template-role-properties", {
@@ -69,7 +69,7 @@ const VerdocsTemplateSender = /*@__PURE__*/ proxyCustomElement(class VerdocsTemp
69
69
  });
70
70
  }
71
71
  render() {
72
- return (h(Host, { key: 'f8d8cca0bfceaf4770487a2013d8b4719236ddf4' }, h("div", { key: '2f3adaefa9ee3dcbac271ee02d76fa46bbe58e10', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '659f51292068e189d9c995db643fae5c2acb15b3', class: "dialog" }, h("div", { key: '3015a1be71fe71983fce44357433b5e2186c4946', class: "options" }, h("div", { key: 'ce818b1d25630a8f487fbaff0c5db38119a6f824', class: "option" }, h("verdocs-radio-button", { key: '8a4d98f6553248a88a024c1d024d3a4145a202ed', name: "template-sender", value: 'everyone', checked: this.sender === 'everyone', onInput: () => this.handleSelectSetting('everyone') }), h("div", { key: 'e2924ad4589dfcdca2ad342852f517f919e99914', class: "description" }, h("div", { key: '6bf123474dc857917dd84c971bb3e634eecc8868', class: "name" }, "Anyone on the Web"), h("verdocs-help-icon", { key: '53129fa609dcb99cf6f1ddc76867c09a90359973', text: "Anyone can use this template. (Make its visibility is set to to 'Public' or 'Shared'.)" }))), h("div", { key: '4b566084de0d35ade13b0d82354ddfab42fb4be2', class: "option" }, h("verdocs-radio-button", { key: '3704512d6d38faf3f275fb039a1c97cf2464b0e2', name: "template-sender", value: 'everyone_as_creator', checked: this.sender === 'everyone_as_creator', onInput: () => this.handleSelectSetting('everyone_as_creator') }), h("div", { key: '8dd4ffbcc1727fb28bec4e404dcc1a4a7cec9431', class: "description" }, h("div", { key: '2c4093c5ecff6192c6ec94ffa0a32ae516a4d13d', class: "name" }, "Anyone on the Web as me"), h("verdocs-help-icon", { key: '73b99113cd11ac40ef3784fe23b523e54f2a8d5a', text: "Anyone can use this template on my behalf. (Make sure its visibility is set to 'Public' or 'Shared'.)" }))), h("div", { key: '528f64ff348386c14b0cea7d4983bccd664a0645', class: "option" }, h("verdocs-radio-button", { key: 'f1538d9c86ad7f2dc337a42f53f49f86faa3a469', name: "template-sender", value: 'organization_member', checked: this.sender === 'organization_member', onInput: () => this.handleSelectSetting('organization_member') }), h("div", { key: 'ddd5129726d3b2a0786341c2df2f8012e783d643', class: "description" }, h("div", { key: '449c1a5eb124b7006f319f96ff617d6480cab3a9', class: "name" }, "Anyone in my organization"), h("verdocs-help-icon", { key: '8d01e0fba4bfb8b5d12390b5c138b19d6362a055', text: "Anyone in my organization can use this template. (Make sure its visibility is set to 'Shared')" }))), h("div", { key: '76f686a2976749ffa02be5b95d9d61ded315714c', class: "option" }, h("verdocs-radio-button", { key: '00c5b5d78a7c380665abc3157403f597cbcaabc9', name: "template-sender", value: 'organization_member_as_creator', checked: this.sender === 'organization_member_as_creator', onInput: () => this.handleSelectSetting('organization_member_as_creator') }), h("div", { key: '7eaf1cce0528f17359b19320ba0e10311ec34821', class: "description" }, h("div", { key: '4bd0b1b35504afa1c67566ac8cd589041958de41', class: "name" }, "Anyone in my organization as me"), h("verdocs-help-icon", { key: 'cfe825b414ef5a0c4ddd33e3de621629cc92149e', text: "Anyone in my organization can use this template on my behalf. (Make sure its visibility is set to to 'Shared'.)" }))), h("div", { key: 'f86771d023449f505a45f07b73e505a7c481bdf0', class: "option" }, h("verdocs-radio-button", { key: '039f5bb7b444f942fb609ad1ef5fda0d5f160083', name: "template-sender", value: 'creator', checked: this.sender === 'creator', onInput: () => this.handleSelectSetting('creator') }), h("div", { key: 'b7ecd4a8e68ac17e9ba116a6f8f2dcf84ff92c56', class: "description" }, h("div", { key: 'ca006222ed947daf96a22425fe7dbc1dd809aef5', class: "name" }, "Me"), h("verdocs-help-icon", { key: 'fec5c4aeb7285eaa3a22d238208e2072b17a14b0', text: "Only I can use this template." })))), h("div", { key: '1344c8e35ee75f17f5a035ba93e770958b1fcba0', class: "buttons" }, h("verdocs-button", { key: '6d2e2796fd3464440662e8dd5dba2ae273aab02e', label: "Close", onClick: () => this.handleClose() }))))));
72
+ return (h(Host, { key: '092c9e3593fffb0559c72fab66510070e73d7c05' }, h("div", { key: '666b71a674030a3541138d6dd07a04ec2f352e20', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: 'fcabfd99d07d0f72a874fd2ff32a7f72cda51d86', class: "dialog" }, h("div", { key: '1098b307a0f787d282ae423f273f02231524598a', class: "options" }, h("div", { key: 'bb2bd6a5c6f338a955d0e38ddd72be127a908ea7', class: "option" }, h("verdocs-radio-button", { key: '47ef7fa0ea436b284f76f8507ecf66ff098a3021', name: "template-sender", value: 'everyone', checked: this.sender === 'everyone', onInput: () => this.handleSelectSetting('everyone') }), h("div", { key: '8dcc183312a85bf6bb0145a55933842951c859c4', class: "description" }, h("div", { key: 'c3e41eff5d8353846d5fe62e9739864743936d5d', class: "name" }, "Anyone on the Web"), h("verdocs-help-icon", { key: 'b3b965183887842c7f3434afc9602ca8d67de419', text: "Anyone can use this template. (Make its visibility is set to to 'Public' or 'Shared'.)" }))), h("div", { key: '4fa78b48a79fc3932a02553e9360fb656c735493', class: "option" }, h("verdocs-radio-button", { key: '40429f3fbaa48e0515d4f1e860d0a256df551fb4', name: "template-sender", value: 'everyone_as_creator', checked: this.sender === 'everyone_as_creator', onInput: () => this.handleSelectSetting('everyone_as_creator') }), h("div", { key: '5add2c44aac55f11094780c82ff6006b4b48ca8e', class: "description" }, h("div", { key: 'ac8e1c67ab3614b8e5dd3a255c0d71c1820ba83b', class: "name" }, "Anyone on the Web as me"), h("verdocs-help-icon", { key: '4d2172b0dcef9cd3e46095e8337aa3c1b8e06523', text: "Anyone can use this template on my behalf. (Make sure its visibility is set to 'Public' or 'Shared'.)" }))), h("div", { key: '36970f9e7c4be312447a36c4a63b470ea85cddf8', class: "option" }, h("verdocs-radio-button", { key: 'b2fd0896b2bee7243450d6a50cc65fe96e98ab20', name: "template-sender", value: 'organization_member', checked: this.sender === 'organization_member', onInput: () => this.handleSelectSetting('organization_member') }), h("div", { key: '0bbfeeaf609aa3106df12bf34ef778891e83d0df', class: "description" }, h("div", { key: 'bb62d9eece8db82b8ef071c0c24127086a89dccc', class: "name" }, "Anyone in my organization"), h("verdocs-help-icon", { key: '73d7fa4b6f4b4896d778f3fbc165de2d7b6b2c87', text: "Anyone in my organization can use this template. (Make sure its visibility is set to 'Shared')" }))), h("div", { key: 'e1eca6d0234cf0d01ee8d30690248eec07912d3c', class: "option" }, h("verdocs-radio-button", { key: 'f31029edc86697d113fc37f55c0a94bcc4a35f68', name: "template-sender", value: 'organization_member_as_creator', checked: this.sender === 'organization_member_as_creator', onInput: () => this.handleSelectSetting('organization_member_as_creator') }), h("div", { key: '5a0f46208920de20dd725f4e16c5de556260d7cb', class: "description" }, h("div", { key: '9bfd1c74d34afe93d4a0e11b0877ff7dadf19f83', class: "name" }, "Anyone in my organization as me"), h("verdocs-help-icon", { key: 'd72a7899414895b1637186c4f731be73cc786eb9', text: "Anyone in my organization can use this template on my behalf. (Make sure its visibility is set to to 'Shared'.)" }))), h("div", { key: '5e55d764e9040fb7b87e0456c2809286835b89e3', class: "option" }, h("verdocs-radio-button", { key: '2309a84ec1b4487619f932e8a2316f51c331a13d', name: "template-sender", value: 'creator', checked: this.sender === 'creator', onInput: () => this.handleSelectSetting('creator') }), h("div", { key: 'f3bd9236d0b692415c5a39687c35ba71cf245703', class: "description" }, h("div", { key: '8aa05e4b9f42d4febf3c3b28f53dec9de2e0c64d', class: "name" }, "Me"), h("verdocs-help-icon", { key: 'e79cb02b13641acd64983b91e8de6eb6284a8ee7', text: "Only I can use this template." })))), h("div", { key: 'd4b7c6ee528df1ee7f7ec952e80826a20c29ff6c', class: "buttons" }, h("verdocs-button", { key: '024ba9b87fc9131db993ecafd76105be0959df47', label: "Close", onClick: () => this.handleClose() }))))));
73
73
  }
74
74
  static get style() { return VerdocsTemplateSenderStyle0; }
75
75
  }, [0, "verdocs-template-sender", {
@@ -43,7 +43,7 @@ const VerdocsTemplateStar = /*@__PURE__*/ proxyCustomElement(class VerdocsTempla
43
43
  });
44
44
  }
45
45
  render() {
46
- return (h(Host, { key: '96d245ead9fb7891ab0f497b37b306b379a20abc' }, h("div", { key: '67ceace21c9957fbb27a05a527ef1b7847ac33a9', class: `star ${this.updating ? 'updating' : ''}`, innerHTML: this.template.star_counter ? SolidStarIcon : OutlineStarIcon, onClick: e => this.toggle(e) }), h("div", { key: '3a76f28df10bb79ffb87ca8a046a6ec4e04dc49b', class: "count" }, this.template.star_counter || '--')));
46
+ return (h(Host, { key: 'f72b055ab1619cc45511d468dd1b115509c59272' }, h("div", { key: 'dd925ee5060a57ab6a89d4045bef645035f1c731', class: `star ${this.updating ? 'updating' : ''}`, innerHTML: this.template.star_counter ? SolidStarIcon : OutlineStarIcon, onClick: e => this.toggle(e) }), h("div", { key: 'f0003f728db6cee4cd17eb7025e2a82f768fa8c3', class: "count" }, this.template.star_counter || '--')));
47
47
  }
48
48
  static get style() { return VerdocsTemplateStarStyle0; }
49
49
  }, [0, "verdocs-template-star", {
@@ -11,7 +11,7 @@ const VerdocsTemplateTags$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsTemp
11
11
  }
12
12
  render() {
13
13
  var _a;
14
- return (h(Host, { key: 'e754a66c64713a7b01c072b1becd919d9768ac66' }, (_a = this.tags) === null || _a === void 0 ? void 0 : _a.map(tag => (h("span", null, tag)))));
14
+ return (h(Host, { key: '537d0786deea45df3bc938eabb4db09b3532d5cb' }, (_a = this.tags) === null || _a === void 0 ? void 0 : _a.map(tag => (h("span", null, tag)))));
15
15
  }
16
16
  static get style() { return VerdocsTemplateTagsStyle0; }
17
17
  }, [0, "verdocs-template-tags", {
@@ -165,24 +165,24 @@ const VerdocsTemplatesList$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsTem
165
165
  // In addition to the server query we also filter locally. This provides a faster UI update
166
166
  // while the onBlur re-queries the server for any new records that now qualify by the filter.
167
167
  const locallyFilteredTemplates = !this.localNameFilter ? this.templates : this.templates.filter(t => t.name.toLowerCase().includes(this.localNameFilter.toLowerCase()));
168
- return (h(Host, { key: '427c88bd9fe07c13b042fdfdf09506757aec8450' }, h("div", { key: '7da207667ddf2726b1b62243cec5fc903adda2f9', class: "header" }, h("div", { key: 'af1a65cd8003875dd2aa6007db20e9af5bea94c8', class: "filter" }, h("verdocs-text-input", { key: '3250ac9712dedb307f1c932295de9ccd9194e7dc', id: "verdocs-filter-name", value: this.name, clearable: true, autocomplete: "off", placeholder: "Filter by Name...", onInput: (e) => (this.localNameFilter = e.target.value.trim()), onFocusout: (e) => {
168
+ return (h(Host, { key: 'f694c7dfbf5eba03936305973ee58f659b6bf108' }, h("div", { key: '3e4d44e62833d7202b23c0d5f836bc9d197408a0', class: "header" }, h("div", { key: 'f1141327d08933634f429520f47946a2a1d656fe', class: "filter" }, h("verdocs-text-input", { key: 'a769a17f2f7b82ab4a3ba2b9b911ee7d73a4e049', id: "verdocs-filter-name", value: this.name, clearable: true, autocomplete: "off", placeholder: "Filter by Name...", onInput: (e) => (this.localNameFilter = e.target.value.trim()), onFocusout: (e) => {
169
169
  var _a;
170
170
  this.name = e.target.value.trim();
171
171
  this.localNameFilter = e.target.value.trim();
172
172
  (_a = this.changeName) === null || _a === void 0 ? void 0 : _a.emit(this.name);
173
- } })), h("verdocs-quick-filter", { key: '68c85c2c151344ec1d6501e2dce7f73aa8ff1604', label: "Sharing", value: this.sharing, options: SharingFilters, onOptionSelected: e => {
173
+ } })), h("verdocs-quick-filter", { key: 'ec3aad6196653129f6e5107455a16ed9b3e61865', label: "Sharing", value: this.sharing, options: SharingFilters, onOptionSelected: e => {
174
174
  var _a;
175
175
  this.sharing = e.detail.value;
176
176
  (_a = this.changeSharing) === null || _a === void 0 ? void 0 : _a.emit(this.sharing);
177
- } }), h("verdocs-quick-filter", { key: '3af03c6d1debc02567190bb23c99ff742b118851', label: "Starred", value: this.starred, options: StarredFilters, onOptionSelected: e => {
177
+ } }), h("verdocs-quick-filter", { key: '2724fed4125aa25e4eca0ffb2257f73efdcdd3b8', label: "Starred", value: this.starred, options: StarredFilters, onOptionSelected: e => {
178
178
  var _a;
179
179
  this.starred = e.detail.value;
180
180
  (_a = this.changeStarred) === null || _a === void 0 ? void 0 : _a.emit(this.starred);
181
- } }), h("verdocs-quick-filter", { key: 'e2314edc3c1c99b6ffb016e87a51118a04c15f23', label: "Sort By", value: this.sort, options: SortOptions, onOptionSelected: e => {
181
+ } }), h("verdocs-quick-filter", { key: '0b359f7886bc720cc7c9226a188e9a9ddbf57f96', label: "Sort By", value: this.sort, options: SortOptions, onOptionSelected: e => {
182
182
  var _a;
183
183
  this.sort = e.detail.value;
184
184
  (_a = this.changeSort) === null || _a === void 0 ? void 0 : _a.emit(this.sort);
185
- } }), this.loading && h("verdocs-spinner", { key: '92047db505aab0850e4c2d369ec8a7a16fd08dc4', mode: "dark", size: 24 }), h("div", { key: '7fd1eaeee3e8e567b0036c3f45923f3c422b34a8', style: { display: 'flex', flex: '1' } })), locallyFilteredTemplates.map(template => {
185
+ } }), this.loading && h("verdocs-spinner", { key: '8d27b2e859f2bb8414f76bc6c623fdc5b673f3c9', mode: "dark", size: 24 }), h("div", { key: '620315aef35c64aa9eb1ad57c5d0ecccd595a669', style: { display: 'flex', flex: '1' } })), locallyFilteredTemplates.map(template => {
186
186
  const dateToShow = this.sort === 'created_at' ? 'created_at' : this.sort === 'updated_at' ? 'updated_at' : 'last_used_at';
187
187
  const date = template[dateToShow];
188
188
  const MENU_OPTIONS = [];
@@ -229,9 +229,9 @@ const VerdocsTemplatesList$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsTem
229
229
  var _a;
230
230
  (_a = this.viewTemplate) === null || _a === void 0 ? void 0 : _a.emit({ endpoint: this.endpoint, template });
231
231
  } }, h("div", { class: "inner" }, h("verdocs-template-star", { template: template, endpoint: this.endpoint }), h("div", { class: "spacer icon-spacer" }), h("div", { class: "name" }, template.name), h("div", { class: "spacer usage-spacer" }), h("div", { class: "usage" }, h("span", { innerHTML: EnvelopeIcon, title: "Usage Counter" }), template.counter || '--'), h("div", { class: "spacer last-used-spacer" }), h("div", { class: "last-used" }, dateToShow === 'created_at' && h("span", { innerHTML: CreatedIcon, title: "Created" }), dateToShow === 'updated_at' && h("span", { innerHTML: UpdatedIcon, title: "Last Updated" }), dateToShow === 'last_used_at' && h("span", { innerHTML: LastUsedIcon, title: "Last Used" }), date ? dateFns.format(new Date(date), 'P') : 'Never'), h("div", { class: "spacer ownership-spacer" }), template.is_public && (h("div", { class: "ownership" }, h("span", { innerHTML: GlobeAltIcon }), " Public")), !template.is_public && !template.is_personal && (h("div", { class: "ownership" }, h("span", { innerHTML: LockClosedIcon }), " Private")), !template.is_public && template.is_personal && (h("div", { class: "ownership" }, h("span", { innerHTML: BuildingOfficeIcon }), " Shared")), h("verdocs-dropdown", { options: MENU_OPTIONS, onOptionSelected: e => this.handleOptionSelected(e.detail.id, template) }))));
232
- }), !this.initiallyLoaded && (h("div", { key: '549a95b02f62e46a25a9b69671be83cdf1411a2e' }, integerSequence(0, this.rowsPerPage).map(() => (h("div", { class: "template-placeholder" }))))), this.initiallyLoaded && !this.templates.length && h("div", { key: '5ab1a9ce5e3505f06099b9cfbaae165141df3cc0', class: "empty-text" }, "No matching templates found. Please adjust your filters and try again."), this.initiallyLoaded && this.templates.length && this.showPagination ? (h("div", { style: { marginTop: '20px' } }, h("verdocs-pagination", { selectedPage: this.selectedPage, perPage: this.rowsPerPage, itemCount: this.count, onSelectPage: e => {
232
+ }), !this.initiallyLoaded && (h("div", { key: '3feb2c40a2e322baeb52fea8815174268bdb9097' }, integerSequence(0, this.rowsPerPage).map(() => (h("div", { class: "template-placeholder" }))))), this.initiallyLoaded && !this.templates.length && h("div", { key: 'a4fbb1722d6d000614b0bfff01081c72550dbd85', class: "empty-text" }, "No matching templates found. Please adjust your filters and try again."), this.initiallyLoaded && this.templates.length && this.showPagination ? (h("div", { style: { marginTop: '20px' } }, h("verdocs-pagination", { selectedPage: this.selectedPage, perPage: this.rowsPerPage, itemCount: this.count, onSelectPage: e => {
233
233
  this.selectedPage = e.detail.selectedPage;
234
- } }))) : (h("div", null)), this.confirmDelete && (h("verdocs-ok-dialog", { key: 'c8a3b36ac98b3c1859fc5dba792cdfc1447ac2c4', heading: "Delete this Template?", message: "This operation cannot be undone.", onNext: () => this.deleteTemplate(this.confirmDelete), onExit: () => (this.confirmDelete = null), showCancel: true }))));
234
+ } }))) : (h("div", null)), this.confirmDelete && (h("verdocs-ok-dialog", { key: '906e97265ab3564b2bff57f66869769ebaf65bcd', heading: "Delete this Template?", message: "This operation cannot be undone.", onNext: () => this.deleteTemplate(this.confirmDelete), onExit: () => (this.confirmDelete = null), showCancel: true }))));
235
235
  }
236
236
  static get watchers() { return {
237
237
  "sharing": ["handleSharingUpdated"],
@@ -30,7 +30,7 @@ const VerdocsTextInput = /*@__PURE__*/ proxyCustomElement(class VerdocsTextInput
30
30
  .catch(e => console.log('Error copying to clipboard', e));
31
31
  }
32
32
  render() {
33
- return (h(Host, { key: '5bc396cdd768637ac69a21dcb672a53809b979ed', class: `input-field ${this.clearable ? 'clearable' : ''} ${this.copyable ? 'copyable' : ''}` }, h("label", { key: '6294f9b41603ce31f561aeb2940fe764f1e3b573' }, this.label && (h("div", { key: '593198e43df84cc8f57b950bfaeab7defd4b8a15', class: "input-label" }, this.label + ':', this.required && h("span", { key: 'aad606689352175230d4644884e2a9d8ff2726f1', class: "required" }, "*"))), h("div", { key: '238b830122b5278da983330b87cd84fdd7627297', class: "input-container" }, h("input", { key: 'af8888c6146e5f617e3121aa6bbb5f56846521dc', type: this.type, value: this.value, required: this.required, class: "input-element", "data-lpignore": "true", disabled: this.disabled, placeholder: this.placeholder, autoComplete: this.autocomplete, ref: el => (this.inputEl = el), onInput: (e) => (this.value = e.target.value) }), this.clearable && this.value && (h("span", { key: 'd51ff8c5760437916d45514fe38832bd70a0ddb6', innerHTML: ClearIcon, class: "clear", onClick: () => {
33
+ return (h(Host, { key: '7cb63a97bff0475aa8ac8afa3d751f61832871af', class: `input-field ${this.clearable ? 'clearable' : ''} ${this.copyable ? 'copyable' : ''}` }, h("label", { key: '2cd35c0ef2712ad23fadc773366da49e854123f5' }, this.label && (h("div", { key: '2c5ef0f38034fbff29a4c0565e15fe3be7ffbef7', class: "input-label" }, this.label + ':', this.required && h("span", { key: 'e03549b0ce0e090d9874b613bf5be0c6ea02a55a', class: "required" }, "*"))), h("div", { key: '5ea0c16f4207d76ccb7ffbad1298f1a1a31ee5a4', class: "input-container" }, h("input", { key: '806f951f542523b3c3e2b23c2f3ff9db36da2708', type: this.type, value: this.value, required: this.required, class: "input-element", "data-lpignore": "true", disabled: this.disabled, placeholder: this.placeholder, autoComplete: this.autocomplete, ref: el => (this.inputEl = el), onInput: (e) => (this.value = e.target.value) }), this.clearable && this.value && (h("span", { key: '38a2a56b2856f2a58f11109e4a2bf7b5155423b5', innerHTML: ClearIcon, class: "clear", onClick: () => {
34
34
  // We need to allow the onInput event to fire first in case
35
35
  // the user was focused on this field before clicking clear.
36
36
  setTimeout(() => {
@@ -44,7 +44,7 @@ const VerdocsTextInput = /*@__PURE__*/ proxyCustomElement(class VerdocsTextInput
44
44
  (_b = this.inputEl) === null || _b === void 0 ? void 0 : _b.blur();
45
45
  }, 50);
46
46
  }, 50);
47
- } })), !this.clearable && this.copyable && this.value && h("span", { key: 'e05ce0fb15f2ed2358edcbdfe1c5de77238311a8', innerHTML: CopyIcon, class: "copy", onClick: () => this.copyToClipboard() })), this.helpText && h("verdocs-help-icon", { key: 'b9d0e50d517e04e37636dd4d85e6e4409266b1e2', text: this.helpText }))));
47
+ } })), !this.clearable && this.copyable && this.value && h("span", { key: 'ccc030e4bb60af0325a20f61e4f51a6be53b9d9b', innerHTML: CopyIcon, class: "copy", onClick: () => this.copyToClipboard() })), this.helpText && h("verdocs-help-icon", { key: '7134f63ca288289f7242da64fca5d6a0088dafca', text: this.helpText }))));
48
48
  }
49
49
  get hostEl() { return this; }
50
50
  static get style() { return VerdocsTextInputStyle0; }
@@ -25,7 +25,7 @@ const VerdocsToggleButton = /*@__PURE__*/ proxyCustomElement(class VerdocsToggle
25
25
  (_a = this.toggle) === null || _a === void 0 ? void 0 : _a.emit({ active: newState });
26
26
  }
27
27
  render() {
28
- return (h(Host, { key: '19b820fa8c54c87afebe8fbd24d70282eab6922c', class: `size-${this.size}` }, this.icon ? (h("button", { innerHTML: this.icon, class: { active: this._active }, onClick: e => this.handleToggle(e) })) : (h("button", { class: { active: this._active }, onClick: e => this.handleToggle(e) }, this.label))));
28
+ return (h(Host, { key: '7c2621ca7573c6a555f20f5d45131e5cc38efd9d', class: `size-${this.size}` }, this.icon ? (h("button", { innerHTML: this.icon, class: { active: this._active }, onClick: e => this.handleToggle(e) })) : (h("button", { class: { active: this._active }, onClick: e => this.handleToggle(e) }, this.label))));
29
29
  }
30
30
  static get style() { return VerdocsToggleButtonStyle0; }
31
31
  }, [0, "verdocs-toggle-button", {
@@ -16,7 +16,7 @@ const VerdocsToggle$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsToggle ext
16
16
  this.selectedOption = ((_a = this.options) === null || _a === void 0 ? void 0 : _a.defaultSelection) || 0;
17
17
  }
18
18
  render() {
19
- return (h("div", { key: '2cffe22d376dc972de87f698e5213c789879978a', class: "container" }, h("span", { key: '9a6ad16cc9814f397284e359d29aa5eac0996517', class: "label" }, `${this.options.label}:`), h("div", { key: '7869d49e9b0c7bf528d0d564baa081834cead545', class: "buttons" }, this.options.buttons.map((button, index) => (h("button", { id: button.id, key: button.id, innerHTML: button.icon, class: index === this.selectedOption ? 'selected' : '', onClick: () => {
19
+ return (h("div", { key: '5e8025021d44358544e0dd8b3e0d6f41ed384e09', class: "container" }, h("span", { key: 'eaf50982d880e77f6be9c462bb988359057dfa1c', class: "label" }, `${this.options.label}:`), h("div", { key: '3e46f7114555905a3a86f7ac2cec28ca2b75d981', class: "buttons" }, this.options.buttons.map((button, index) => (h("button", { id: button.id, key: button.id, innerHTML: button.icon, class: index === this.selectedOption ? 'selected' : '', onClick: () => {
20
20
  console.log('clicked', index);
21
21
  this.selectedOption = index;
22
22
  } }))))));
@@ -41,7 +41,7 @@ const VerdocsToolbarIcon = /*@__PURE__*/ proxyCustomElement(class VerdocsToolbar
41
41
  // this.press?.emit();
42
42
  // }
43
43
  render() {
44
- return (h(Host, { key: '81bef5d6b23987730bbeafe741a7fbc52c2d854c', class: {} }, h("div", { key: '87a7fab6e8cb787079f37332bdf8fb188f52157a', "aria-describedby": this.containerId, class: "icon", innerHTML: this.icon, onMouseEnter: () => this.show(), onFocus: () => this.show(), onMouseLeave: () => this.hide(), onBlur: () => this.hide(), ref: el => (this.iconEl = el) }), h("div", { key: 'f6593f4c1d6b435a80b0a09d6356c383ec78a5c7', id: this.containerId, role: "tooltip", class: "tooltip", "data-popper-placement": this.placement, ref: el => (this.tooltip = el) }, this.text, h("div", { key: 'b13a8c43aa098db8ee6f2e05a53c02f0f3de9358', "data-popper-arrow": "true", class: "arrow" }))));
44
+ return (h(Host, { key: 'ec176e549d8259f0f511113319fe2b7e62ff6e0a', class: {} }, h("div", { key: '61402e769d66bb7ecf0d7b7e24467b20baa2d4d3', "aria-describedby": this.containerId, class: "icon", innerHTML: this.icon, onMouseEnter: () => this.show(), onFocus: () => this.show(), onMouseLeave: () => this.hide(), onBlur: () => this.hide(), ref: el => (this.iconEl = el) }), h("div", { key: '3cf9f801cd53af645929a6c8067baf5f62835e15', id: this.containerId, role: "tooltip", class: "tooltip", "data-popper-placement": this.placement, ref: el => (this.tooltip = el) }, this.text, h("div", { key: 'bd7660b0a728b1a6720907caaaede964564ee189', "data-popper-arrow": "true", class: "arrow" }))));
45
45
  }
46
46
  static get style() { return VerdocsToolbarIconStyle0; }
47
47
  }, [0, "verdocs-toolbar-icon", {
@@ -73,7 +73,7 @@ const VerdocsUploadDialog = /*@__PURE__*/ proxyCustomElement(class VerdocsUpload
73
73
  this.decodedFiles = await Promise.all(droppedFiles.map(fileToDataUrl));
74
74
  }
75
75
  render() {
76
- return (h(Host, { key: '00cddffd15d81c343c9f23ca79a26fd7b7c607ec' }, h("div", { key: '30308c5289e2bed777fb8d3bcbbfa4c5da71f967', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '667874e38d9b7c4be180e6097205c829e7bc497c', class: "dialog" }, h("div", { key: '25f97a72a7541feecf123a2c7a202024220c8a19', class: "heading" }, "Upload attachment"), this.decodedFiles.length < 1 ? (h("div", { 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", null, "Drag and drop a file here..."), h("p", null, "- or -"), h("verdocs-button", { label: "Select a file...", onClick: () => this.handleSelectFile() }), h("input", { type: "file", ref: el => (this.fileInput = el), style: { display: 'none' }, onChange: () => this.handleFileChange() }))) : (h("div", { class: "attachments" }, this.decodedFiles.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) })))))), h("div", { key: 'a5fa38c5fdba79aef2f52b01a264ac9552190c78', class: "buttons" }, h("verdocs-button", { key: '07978b71c5a0293beca4eefebf3b7b280be914f8', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), h("verdocs-button", { key: 'c16e03120a392673aa656e7d6c6dfec599127f36', label: "Done", onClick: () => this.handleDone(), disabled: this.decodedFiles.length < 1 }))))));
76
+ return (h(Host, { key: '5b2d4d6547fa25dbbd39be0a9db849ad40b7408a' }, h("div", { key: '46af2a34d31d714b448dc1ceb0396d6ed2a5e3d0', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '27d33a62e04d1c1cf984d244a573b508d595e809', class: "dialog" }, h("div", { key: '254aee4dc50acdcd42cf1acc14176608bf9e716d', class: "heading" }, "Upload attachment"), this.decodedFiles.length < 1 ? (h("div", { 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", null, "Drag and drop a file here..."), h("p", null, "- or -"), h("verdocs-button", { label: "Select a file...", onClick: () => this.handleSelectFile() }), h("input", { type: "file", ref: el => (this.fileInput = el), style: { display: 'none' }, onChange: () => this.handleFileChange() }))) : (h("div", { class: "attachments" }, this.decodedFiles.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) })))))), h("div", { key: '0cef592886c019f0a0ae424fc568d7f72bd81f35', class: "buttons" }, h("verdocs-button", { key: '17f4109851edc11917a46ea63f34bfe578bc4d02', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), h("verdocs-button", { key: 'c6983bd1411e3e081d6667ab4ca8f4e6892565d6', label: "Done", onClick: () => this.handleDone(), disabled: this.decodedFiles.length < 1 }))))));
77
77
  }
78
78
  static get style() { return VerdocsUploadDialogStyle0; }
79
79
  }, [0, "verdocs-upload-dialog", {
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-b89cf6a4.js';
2
- import { VerdocsEndpoint, createAccount, authenticateUser, decodeAccessTokenBody, resendVerification, resetPassword } from '@verdocs/js-sdk';
2
+ import { VerdocsEndpoint, createProfile, authenticate, decodeAccessTokenBody, resendVerification, resetPassword } from '@verdocs/js-sdk';
3
3
  import { V as VerdocsToast } from './Toast-b71de686.js';
4
4
  import { S as SDKError } from './errors-887f1e88.js';
5
5
 
@@ -117,16 +117,12 @@ const VerdocsAuth = class {
117
117
  handleSignup() {
118
118
  this.submitting = true;
119
119
  this.accessTokenForVerification = null;
120
- createAccount(this.endpoint, {
120
+ createProfile(this.endpoint, {
121
121
  email: this.username,
122
122
  password: this.password,
123
123
  firstName: this.first,
124
124
  lastName: this.last,
125
125
  orgName: this.orgname,
126
- // industry: this.industry,
127
- // size: this.companySize,
128
- // reason: this.reason,
129
- // hearabout: this.howHear,
130
126
  })
131
127
  .then(r => {
132
128
  console.log('Result', r);
@@ -147,18 +143,18 @@ const VerdocsAuth = class {
147
143
  loginAndCheckVerification() {
148
144
  this.submitting = true;
149
145
  this.accessTokenForVerification = null;
150
- authenticateUser(this.endpoint, { username: this.username, password: this.password })
146
+ authenticate(this.endpoint, { username: this.username, password: this.password, grant_type: 'password' })
151
147
  .then(r => {
152
148
  var _a;
153
149
  this.cancelRecheckTimer();
154
150
  this.submitting = false;
155
- const body = decodeAccessTokenBody(r.accessToken);
151
+ const body = decodeAccessTokenBody(r.access_token);
156
152
  console.log('[AUTH] Got access token body', body);
157
153
  if (body === null || body === void 0 ? void 0 : body.email_verified) {
158
154
  console.log('[AUTH] Email address is verified, completing login');
159
155
  this.displayMode = 'login'; // After signing out, this will be the next mode
160
156
  this.accessTokenForVerification = null;
161
- this.endpoint.setToken(r.accessToken);
157
+ this.endpoint.setToken(r.access_token);
162
158
  this.activeSession = this.endpoint.session;
163
159
  this.isAuthenticated = true;
164
160
  (_a = this.authenticated) === null || _a === void 0 ? void 0 : _a.emit({ authenticated: true, session: this.endpoint.session });
@@ -166,7 +162,7 @@ const VerdocsAuth = class {
166
162
  else {
167
163
  console.log('[AUTH] Logged in, pending email address verification');
168
164
  this.displayMode = 'verify';
169
- this.accessTokenForVerification = r.accessToken;
165
+ this.accessTokenForVerification = r.access_token;
170
166
  this.recheckTimer = setTimeout(() => this.loginAndCheckVerification(), RECHECK_INTERVAL);
171
167
  }
172
168
  })
@@ -66,10 +66,10 @@ const VerdocsButtonPanel = class {
66
66
  }
67
67
  }
68
68
  render() {
69
- return (h(Host, { key: '37ce9f8d7615e703a4a41396d1bba667f25adb97' }, h("div", { key: 'a9f1795df2e640d053361325b2096fdba15f2b1d', class: "icon", innerHTML: this.icon, onClick: (e) => {
69
+ return (h(Host, { key: '997291ad3f463fff0932490fdab478345757b2e4' }, h("div", { key: '02c1929038bcf9f9d3b433b95f9badcfbc3d6a48', class: "icon", innerHTML: this.icon, onClick: (e) => {
70
70
  e.stopPropagation();
71
71
  return this.toggle();
72
- }, ref: el => (this.iconEl = el) }), h("div", { key: 'fa63de96387644fab4ef5e6047a0687edaec52cc', role: "tooltip", class: "verdocs-button-panel-content", "data-popper-placement": "bottom", ref: el => (this.panelEl = el) }, h("div", { key: '8224a9993d6acca9c0ccfbd4ace02eda803c41bf', "data-popper-arrow": "true", class: "arrow" }), h("slot", { key: '3f3d910f4779e90dd5dd4b8b9c553ee09edc3625' }))));
72
+ }, ref: el => (this.iconEl = el) }), h("div", { key: '6c89badb41660bbe7b826b0f2758c8a6f7525b78', role: "tooltip", class: "verdocs-button-panel-content", "data-popper-placement": "bottom", ref: el => (this.panelEl = el) }, h("div", { key: '069ae9f31df8fdb08d4cdf37526f22494a4108f8', "data-popper-arrow": "true", class: "arrow" }), h("slot", { key: 'fc5af74e822ca9e0c4c2620585c66e1dcda8f237' }))));
73
73
  }
74
74
  };
75
75
  VerdocsButtonPanel.style = VerdocsButtonPanelStyle0;
@@ -17,7 +17,7 @@ const VerdocsButton = class {
17
17
  this.disabled = false;
18
18
  }
19
19
  render() {
20
- return (h("button", { key: '822e0773075831cc4ab6a0c5a9fd3fc89c4cef43', disabled: this.disabled, type: this.type, class: `${this.variant} ${this.size} ${this.type}` }, this.startIcon ? h("span", { class: "icon start", innerHTML: this.startIcon }) : null, h("span", { key: '8ef9ac40620d885dd37fc776929224ea2e6cf596', class: "button-label" }, this.label), this.endIcon ? h("span", { class: "icon end", innerHTML: this.endIcon }) : null));
20
+ return (h("button", { key: '5c9a79a82b7dab63acc557febfd7c9b143cafb2d', disabled: this.disabled, type: this.type, class: `${this.variant} ${this.size} ${this.type}` }, this.startIcon ? h("span", { class: "icon start", innerHTML: this.startIcon }) : null, h("span", { key: 'e57d793fad07ccccf2e15d3f1f01edaab971691c', class: "button-label" }, this.label), this.endIcon ? h("span", { class: "icon end", innerHTML: this.endIcon }) : null));
21
21
  }
22
22
  };
23
23
  VerdocsButton.style = VerdocsButtonStyle0;
@@ -55,7 +55,7 @@ const VerdocsHelpIcon = class {
55
55
  (_a = this.tooltipEl) === null || _a === void 0 ? void 0 : _a.removeAttribute('data-show');
56
56
  }
57
57
  render() {
58
- return (h(Host, { key: '85c73981ae3001eed65f75f7b3f7ac6236ec6468', class: {} }, h("div", { key: 'f7e1f58bef884fe6f1366b99c527c3e3e9df8052', "aria-describedby": this.containerId, class: "icon", innerHTML: this.icon, onMouseEnter: () => this.show(), onFocus: () => this.show(), onMouseLeave: () => this.hide(), onBlur: () => this.hide(), ref: el => (this.iconEl = el) }), h("div", { key: '596faf9cc53b66c22c4cb498adf8bdf21eadf734', id: this.containerId, role: "tooltip", class: "tooltip", "data-popper-placement": "bottom", ref: el => (this.tooltipEl = el) }, h("span", { key: '464b824ea27eb3a50b63c09b30e856d329784da4', innerHTML: this.text }), h("div", { key: '3a870ec5b129fbaa0350ddea76a255aa0aee1c16', "data-popper-arrow": "true", class: "arrow" }))));
58
+ return (h(Host, { key: '5a9b1c6fe8b5d180f14d2335950b23a7ff0d0c90', class: {} }, h("div", { key: '6e69978780529072f292c5a3d89c2cb7be0d6c8f', "aria-describedby": this.containerId, class: "icon", innerHTML: this.icon, onMouseEnter: () => this.show(), onFocus: () => this.show(), onMouseLeave: () => this.hide(), onBlur: () => this.hide(), ref: el => (this.iconEl = el) }), h("div", { key: '19316d99b359b9ec20c46c4ecbe72be3b231d498', id: this.containerId, role: "tooltip", class: "tooltip", "data-popper-placement": "bottom", ref: el => (this.tooltipEl = el) }, h("span", { key: 'ac871b0bfa55e880272c62b957495096103ef55e', innerHTML: this.text }), h("div", { key: 'b17216877657c25dd062d51d7a2c813d9d59972b', "data-popper-arrow": "true", class: "arrow" }))));
59
59
  }
60
60
  };
61
61
  VerdocsHelpIcon.style = VerdocsHelpIconStyle0;
@@ -87,7 +87,7 @@ const VerdocsTextInput = class {
87
87
  .catch(e => console.log('Error copying to clipboard', e));
88
88
  }
89
89
  render() {
90
- return (h(Host, { key: '5bc396cdd768637ac69a21dcb672a53809b979ed', class: `input-field ${this.clearable ? 'clearable' : ''} ${this.copyable ? 'copyable' : ''}` }, h("label", { key: '6294f9b41603ce31f561aeb2940fe764f1e3b573' }, this.label && (h("div", { key: '593198e43df84cc8f57b950bfaeab7defd4b8a15', class: "input-label" }, this.label + ':', this.required && h("span", { key: 'aad606689352175230d4644884e2a9d8ff2726f1', class: "required" }, "*"))), h("div", { key: '238b830122b5278da983330b87cd84fdd7627297', class: "input-container" }, h("input", { key: 'af8888c6146e5f617e3121aa6bbb5f56846521dc', type: this.type, value: this.value, required: this.required, class: "input-element", "data-lpignore": "true", disabled: this.disabled, placeholder: this.placeholder, autoComplete: this.autocomplete, ref: el => (this.inputEl = el), onInput: (e) => (this.value = e.target.value) }), this.clearable && this.value && (h("span", { key: 'd51ff8c5760437916d45514fe38832bd70a0ddb6', innerHTML: ClearIcon, class: "clear", onClick: () => {
90
+ return (h(Host, { key: '7cb63a97bff0475aa8ac8afa3d751f61832871af', class: `input-field ${this.clearable ? 'clearable' : ''} ${this.copyable ? 'copyable' : ''}` }, h("label", { key: '2cd35c0ef2712ad23fadc773366da49e854123f5' }, this.label && (h("div", { key: '2c5ef0f38034fbff29a4c0565e15fe3be7ffbef7', class: "input-label" }, this.label + ':', this.required && h("span", { key: 'e03549b0ce0e090d9874b613bf5be0c6ea02a55a', class: "required" }, "*"))), h("div", { key: '5ea0c16f4207d76ccb7ffbad1298f1a1a31ee5a4', class: "input-container" }, h("input", { key: '806f951f542523b3c3e2b23c2f3ff9db36da2708', type: this.type, value: this.value, required: this.required, class: "input-element", "data-lpignore": "true", disabled: this.disabled, placeholder: this.placeholder, autoComplete: this.autocomplete, ref: el => (this.inputEl = el), onInput: (e) => (this.value = e.target.value) }), this.clearable && this.value && (h("span", { key: '38a2a56b2856f2a58f11109e4a2bf7b5155423b5', innerHTML: ClearIcon, class: "clear", onClick: () => {
91
91
  // We need to allow the onInput event to fire first in case
92
92
  // the user was focused on this field before clicking clear.
93
93
  setTimeout(() => {
@@ -101,7 +101,7 @@ const VerdocsTextInput = class {
101
101
  (_b = this.inputEl) === null || _b === void 0 ? void 0 : _b.blur();
102
102
  }, 50);
103
103
  }, 50);
104
- } })), !this.clearable && this.copyable && this.value && h("span", { key: 'e05ce0fb15f2ed2358edcbdfe1c5de77238311a8', innerHTML: CopyIcon, class: "copy", onClick: () => this.copyToClipboard() })), this.helpText && h("verdocs-help-icon", { key: 'b9d0e50d517e04e37636dd4d85e6e4409266b1e2', text: this.helpText }))));
104
+ } })), !this.clearable && this.copyable && this.value && h("span", { key: 'ccc030e4bb60af0325a20f61e4f51a6be53b9d9b', innerHTML: CopyIcon, class: "copy", onClick: () => this.copyToClipboard() })), this.helpText && h("verdocs-help-icon", { key: '7134f63ca288289f7242da64fca5d6a0088dafca', text: this.helpText }))));
105
105
  }
106
106
  get hostEl() { return getElement(this); }
107
107
  };
@@ -21,7 +21,7 @@ const VerdocsCheckbox = class {
21
21
  this.disabled = false;
22
22
  }
23
23
  render() {
24
- return (h(Host, { key: 'cddf35bef85cc89a90ac6e724e1953cbad96753b', class: { disabled: this.disabled, [this.theme]: true } }, h("label", { key: '0d5466a742992b5bf88b6931276f941015254afa' }, h("input", { key: '6fed5b64b0095d8977581e6d30b412fa9622b5ff', type: "checkbox", value: this.value, name: this.name, checked: this.checked, disabled: this.disabled }), h("span", { key: '6e56f6f607c883e5eb6a7eabe4de64a98878b101' }, this.label))));
24
+ return (h(Host, { key: '02a992ff0c9365a18637ccd7b0acc34a16c95b0e', class: { disabled: this.disabled, [this.theme]: true } }, h("label", { key: '897f8d9d3f3365087a00ab0bb12b741c944a66a3' }, h("input", { key: '1e82031b5febc2cea4920e2c374a5f3cbff07889', type: "checkbox", value: this.value, name: this.name, checked: this.checked, disabled: this.disabled }), h("span", { key: 'a5b8a8518301ce6866228d7a66029abdc802e092' }, this.label))));
25
25
  }
26
26
  };
27
27
  VerdocsCheckbox.style = VerdocsCheckboxStyle0;
@@ -38,7 +38,7 @@ const VerdocsSelectInput = class {
38
38
  this.disabled = false;
39
39
  }
40
40
  render() {
41
- return (h(Host, { key: 'f2a13ba2272aa0e1379ce935b8fa89329f1c657e', class: "input-field" }, h("label", { key: 'cdbbe67f3ade5be5e44ff16436091bce7c4a9732' }, this.label ? h("div", { class: "input-label" }, this.label + ':') : h("div", null), h("select", { key: '8c0404328b52edfb3d99416abb0dc2c53e20fb63', class: "input-element", disabled: this.disabled }, this.options.map(option => (h("option", { value: option.value, selected: option.value === this.value }, option.label)))))));
41
+ return (h(Host, { key: '49b233e1dcda5c8ffd51453654fa88bdec73bd82', class: "input-field" }, h("label", { key: '53ec0b8c1823a9e992c04e554bb33752ed676ad3' }, this.label ? h("div", { class: "input-label" }, this.label + ':') : h("div", null), h("select", { key: 'e7e0ef4dc4ab8aae9cc81d39010cfa335d37b291', class: "input-element", disabled: this.disabled }, this.options.map(option => (h("option", { value: option.value, selected: option.value === this.value }, option.label)))))));
42
42
  }
43
43
  };
44
44
  VerdocsSelectInput.style = VerdocsSelectInputStyle0;
@@ -9,7 +9,7 @@ const VerdocsComponentError = class {
9
9
  this.message = '';
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: '24ef80b6da0d6be6cef8fc877f0d8f6c758870dd' }, h("div", { key: '869e285731c0531dbb1032d5bcb6ae851ae97289', class: "inner" }, this.message)));
12
+ return (h(Host, { key: '572b854146e540ecb3fecdab0abe7a89bdc5f6e5' }, h("div", { key: 'b531eabc052b083f9a99b20d57df4dc0992a1ef0', class: "inner" }, this.message)));
13
13
  }
14
14
  };
15
15
  VerdocsComponentError.style = VerdocsComponentErrorStyle0;
@@ -8,7 +8,8 @@ const verdocsContactPickerCss = "@-webkit-keyframes verdocs-field-pulse{0%{backg
8
8
  const VerdocsContactPickerStyle0 = verdocsContactPickerCss;
9
9
 
10
10
  const messageIcon = '<svg focusable="false" viewBox="0 0 24 24"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"></path></svg>';
11
- const delegateIcon = '<svg focusable="false" viewBox="0 0 24 24"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm0 4c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H6v-1.4c0-2 4-3.1 6-3.1s6 1.1 6 3.1V19z"></path></svg>';
11
+ // const delegateIcon =
12
+ // '<svg focusable="false" viewBox="0 0 24 24"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm0 4c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H6v-1.4c0-2 4-3.1 6-3.1s6 1.1 6 3.1V19z"></path></svg>';
12
13
  const kbaIcon = '<svg focusable="false" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M4.5 3.75a3 3 0 0 0-3 3v10.5a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V6.75a3 3 0 0 0-3-3h-15Zm4.125 3a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5Zm-3.873 8.703a4.126 4.126 0 0 1 7.746 0 .75.75 0 0 1-.351.92 7.47 7.47 0 0 1-3.522.877 7.47 7.47 0 0 1-3.522-.877.75.75 0 0 1-.351-.92ZM15 8.25a.75.75 0 0 0 0 1.5h3.75a.75.75 0 0 0 0-1.5H15ZM14.25 12a.75.75 0 0 1 .75-.75h3.75a.75.75 0 0 1 0 1.5H15a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5h3.75a.75.75 0 0 0 0-1.5H15Z" clip-rule="evenodd" /></svg>';
13
14
  const placeholderIcon = '<svg focusable="false" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6zm0 14c-2.03 0-4.43-.82-6.14-2.88C7.55 15.8 9.68 15 12 15s4.45.8 6.14 2.12C16.43 19.18 14.03 20 12 20z"></path></svg>';
14
15
  const VerdocsContactPicker = class {
@@ -90,29 +91,26 @@ const VerdocsContactPicker = class {
90
91
  // The reason for the random names/IDs is to disable browser autocomplete. We set the autocomplete tags but many browsers ignore them
91
92
  // and show a duplicate autocomplete picker on top of our own.
92
93
  render() {
93
- return (h("form", { key: 'b4c1d548719a9e43b09e9632078efecf461728fd', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("div", { key: '010bfa4a4802cdf165f4a837d52143296eeb9615', class: "row" }, h("label", { key: 'baadc6a3159a5e9fe58c91d944269fa5f2319fc5', htmlFor: this.nameFieldId }, "Name:"), h("input", { key: 'e570c3218970843b9acfb276349a7b9b2cc0d4fc', id: this.nameFieldId, name: this.nameFieldId, type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.name, placeholder: "Recipient Name...", onFocus: () => { var _a; return (this.showSuggestions = ((_a = this.contactSuggestions) === null || _a === void 0 ? void 0 : _a.length) > 0); },
94
+ return (h("form", { key: 'd5f351153f58ec275d6bc7225db6aee53a5c54e6', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("div", { key: '960ec06a72d7b14c6ad4609ccba90639b746e93e', class: "row" }, h("label", { key: '0ab66bf6689aa26132718cf673d7275708945ae4', htmlFor: this.nameFieldId }, "Name:"), h("input", { key: '25e2406d5b1ad78ada9c999fdefd3c16bccb60eb', id: this.nameFieldId, name: this.nameFieldId, type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.name, placeholder: "Recipient Name...", onFocus: () => { var _a; return (this.showSuggestions = ((_a = this.contactSuggestions) === null || _a === void 0 ? void 0 : _a.length) > 0); },
94
95
  // onBlur={() => (this.showSuggestions = false)}
95
- onInput: e => this.handleNameChange(e) }), this.showSuggestions && (h("div", { key: 'a99e1d83a4292c1f7d978529526f49622ab8a18e', class: "dropdown" }, this.contactSuggestions.map(suggestion => {
96
+ onInput: e => this.handleNameChange(e) }), this.showSuggestions && (h("div", { key: 'ec9dfb86c52a462005b00d857f2f945b6a5861a8', class: "dropdown" }, this.contactSuggestions.map(suggestion => {
96
97
  var _a;
97
98
  return (h("div", { key: (_a = suggestion.id) !== null && _a !== void 0 ? _a : suggestion.name, class: "suggestion", onClick: e => this.handleSelectSuggestion(e, suggestion) }, suggestion.avatar ? h("img", { alt: "Avatar", class: "avatar", src: suggestion.avatar }) : h("div", { class: "avatar", innerHTML: placeholderIcon }), h("div", { class: "details" }, h("div", { class: "name" }, suggestion.name), suggestion.email && h("div", { class: "destination" }, suggestion.email), suggestion.phone && h("div", { class: "destination" }, suggestion.phone))));
98
- })))), h("div", { key: 'c1973698147b613df52fa2b8895fb6f7c6eda1e5', class: "row" }, h("label", { key: 'd9211e7aa931b9e270746be2e3a983e346d14f35', htmlFor: this.emailFieldId }, "Email:"), h("input", { key: '4e6e978b03cb2bb7f642ef9472ccb8914021561b', id: this.emailFieldId, name: this.emailFieldId, type: "text", "data-lpignore": "true", autoComplete: "blocked", value: this.email, placeholder: "Email Address...", onFocus: () => (this.showSuggestions = false), onInput: e => this.handleEmailChange(e) })), h("div", { key: '79fd52114dc907678d3f97fcf50502401c7c7cc6', class: "row" }, h("label", { key: '5f044851b4fd341162ac27308a53ef3ae9f87d9e', htmlFor: this.phoneFieldId }, "Phone:"), h("input", { key: '6b9e582317bf57617f3ef03771dc208d7a85d20a', id: this.phoneFieldId, name: this.phoneFieldId, type: "text", "data-lpignore": "true", autoComplete: "blocked", value: this.phone, placeholder: "Phone Number...", onFocus: () => (this.showSuggestions = false), onInput: e => this.handlePhoneChange(e) })), this.showKba && (h("div", { key: 'ee0a3a7bb56ad26f9c6bfad38b1575999b6b1f1a', class: "row" }, h("div", { key: '7aaa78abd9f934b59862e94c6c657cbccc0ec587', class: "label-with-icon" }, h("label", { key: '3b5625726464e64f2a2089828f8efed86d3e6fac' }, "KBA:"), h("verdocs-help-icon", { key: 'e3ae8688cb0a3ee0f5673de35de911930b5c1264', text: "Knowledge-Based Authentication adds additional authentication for this user either via a simple PIN code or full address validation. NOTE: There may be a fee for using this feature." })), h("verdocs-select-input", { key: '25f9fe8483ce98ba0984edbe40ea71432bfa0803', value: this.kbaMethod, onInput: (e) => (this.kbaMethod = e.target.value), options: [
99
+ })))), h("div", { key: 'e8f2ee3647ffc37a31cb4f1d8a043183ce608268', class: "row" }, h("label", { key: '99840da172556066187691124358fd64c19c466d', htmlFor: this.emailFieldId }, "Email:"), h("input", { key: 'bba477caa2c14def36cf90f66bc164d58ccae999', id: this.emailFieldId, name: this.emailFieldId, type: "text", "data-lpignore": "true", autoComplete: "blocked", value: this.email, placeholder: "Email Address...", onFocus: () => (this.showSuggestions = false), onInput: e => this.handleEmailChange(e) })), h("div", { key: 'a3e045ec2fe78e1662c389c2fdb742165e67cbfd', class: "row" }, h("label", { key: '19257fb97c8b0163c7d3882130bb298388c57901', htmlFor: this.phoneFieldId }, "Phone:"), h("input", { key: 'ae3bbc51bed7039b716153675e3036abdf161382', id: this.phoneFieldId, name: this.phoneFieldId, type: "text", "data-lpignore": "true", autoComplete: "blocked", value: this.phone, placeholder: "Phone Number...", onFocus: () => (this.showSuggestions = false), onInput: e => this.handlePhoneChange(e) })), this.showKba && (h("div", { key: 'b05e51e9e9f1abb359113bea8cbc1c61c2979dbc', class: "row" }, h("div", { key: 'a905229b77e8b7941586834d4f942530d0b3d254', class: "label-with-icon" }, h("label", { key: 'b438b090c40ef5cd4c6550cd3cd57c676ab49061' }, "KBA:"), h("verdocs-help-icon", { key: '72fd391e008444b1f55c99833cc6f6e13670f199', text: "Knowledge-Based Authentication adds additional authentication for this user either via a simple PIN code or full address validation. NOTE: There may be a fee for using this feature." })), h("verdocs-select-input", { key: '8af56bf9b367faaec0777d4f0d555f9a0f1f4145', value: this.kbaMethod, onInput: (e) => (this.kbaMethod = e.target.value), options: [
99
100
  { label: 'None', value: '' },
100
101
  { label: 'PIN Code', value: 'pin' },
101
102
  { label: 'Full Verification', value: 'kba' },
102
- ] }), this.kbaMethod === 'pin' && (h("input", { key: 'c73d9196e00f0d8e2ef2372b4c7eec6521e1a8c4', id: "verdocs-pin-code", name: "verdocs-pin-code", type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.pinCode, placeholder: "KBA PIN Code...", onFocus: () => (this.showSuggestions = false), onInput: e => this.handleMessageChange(e) })))), this.showMessage && (h("div", { key: '8501cd90265ade56a8491226b3fe4f6fd27cab96', class: "row" }, h("label", { key: 'ed86374d406062b31923a3b70dd8a65454b147e2', htmlFor: "verdocs-contact-picker-message" }, "Message:"), h("input", { key: 'f8c01b1dc7ee18729db4578b490e4e6caeaba006', id: "verdocs-contact-picker-message", name: "verdocs-contact-picker-message", type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.message, placeholder: "Invitation Message...", onFocus: () => (this.showSuggestions = false), onInput: e => this.handleMessageChange(e) }))), h("div", { key: '127c1bae45f6b5e01bb6ea7304c543550cb87074', class: "buttons" }, h("verdocs-toggle-button", { key: '7c1fc2e0955cd33d5e8b9778a104120685b9cafd', icon: kbaIcon, size: "small", active: this.showKba, onToggle: e => {
103
+ ] }), this.kbaMethod === 'pin' && (h("input", { key: '504c018a9c8ad9087ddd6b253b794c493bb16686', id: "verdocs-pin-code", name: "verdocs-pin-code", type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.pinCode, placeholder: "KBA PIN Code...", onFocus: () => (this.showSuggestions = false), onInput: e => this.handleMessageChange(e) })))), this.showMessage && (h("div", { key: '0506d342d5fcbdc812498ffbf19bcd9bd2d1abca', class: "row" }, h("label", { key: 'e62684bc9178188fed71eb77954b186511a0c29d', htmlFor: "verdocs-contact-picker-message" }, "Message:"), h("input", { key: 'b9638d6435b7d0dc8815f20e42c2b5498ab308a0', id: "verdocs-contact-picker-message", name: "verdocs-contact-picker-message", type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.message, placeholder: "Invitation Message...", onFocus: () => (this.showSuggestions = false), onInput: e => this.handleMessageChange(e) }))), h("div", { key: 'efc4e30feb9b3c58cc39e85725a6b780d424ca6e', class: "buttons" }, h("verdocs-toggle-button", { key: '6146346933119b33a1cd494e21e0d1a0195378cc', icon: kbaIcon, size: "small", active: this.showKba, onToggle: e => {
103
104
  this.showKba = e.detail.active;
104
105
  if (!e.detail.active) {
105
106
  this.pinCode = '';
106
107
  this.kbaMethod = '';
107
108
  }
108
109
  this.showSuggestions = false;
109
- } }), h("verdocs-toggle-button", { key: '60d536d5c030075158d2f237251cdc9045a7c7e6', icon: messageIcon, size: "small", active: this.showMessage, onToggle: e => {
110
+ } }), h("verdocs-toggle-button", { key: 'ba3139369cb582ec7ca246f4ad08a58998eca1eb', icon: messageIcon, size: "small", active: this.showMessage, onToggle: e => {
110
111
  this.showMessage = e.detail.active;
111
112
  this.showSuggestions = false;
112
- } }), h("verdocs-toggle-button", { key: '6d634b2fc96412b136fa55074349f85ad2ae0a99', icon: delegateIcon, size: "small", active: this.delegator, onToggle: e => {
113
- this.delegator = e.detail.active;
114
- this.showSuggestions = false;
115
- } }), h("div", { key: 'c798509d79008ba083e028ad4ca78170ac7659d3', class: "flex-fill" }), h("verdocs-button", { key: '4f0355a6ebae37fa80d451918e1572a9fe900861', variant: "outline", label: "Cancel", size: "small", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: 'ec6df05fb07868162f6d641e6b7a7d1dc80e5e5d', label: "OK", size: "small", onClick: e => this.handleSubmit(e) }))));
113
+ } }), h("div", { key: '52ab10bc5857dc55244d064c20a2d59eb67bca82', class: "flex-fill" }), h("verdocs-button", { key: '4eedb7f847d8004567c24f25c7efa2ae9d6da61b', variant: "outline", label: "Cancel", size: "small", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '4b4b461f150eaf575e4b22760388ecea92f7da54', label: "OK", size: "small", onClick: e => this.handleSubmit(e) }))));
116
114
  }
117
115
  };
118
116
  VerdocsContactPicker.style = VerdocsContactPickerStyle0;
@@ -141,7 +139,7 @@ const VerdocsToggleButton = class {
141
139
  (_a = this.toggle) === null || _a === void 0 ? void 0 : _a.emit({ active: newState });
142
140
  }
143
141
  render() {
144
- return (h(Host, { key: '19b820fa8c54c87afebe8fbd24d70282eab6922c', class: `size-${this.size}` }, this.icon ? (h("button", { innerHTML: this.icon, class: { active: this._active }, onClick: e => this.handleToggle(e) })) : (h("button", { class: { active: this._active }, onClick: e => this.handleToggle(e) }, this.label))));
142
+ return (h(Host, { key: '7c2621ca7573c6a555f20f5d45131e5cc38efd9d', class: `size-${this.size}` }, this.icon ? (h("button", { innerHTML: this.icon, class: { active: this._active }, onClick: e => this.handleToggle(e) })) : (h("button", { class: { active: this._active }, onClick: e => this.handleToggle(e) }, this.label))));
145
143
  }
146
144
  };
147
145
  VerdocsToggleButton.style = VerdocsToggleButtonStyle0;
@@ -17,7 +17,7 @@ const VerdocsDialog = class {
17
17
  }
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: '952c27946d1eb8552949ac29d9ffaa05222baaba' }, h("div", { key: '4721082da97c31ddb4e29b05922749b42ab38845', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '80e01d2ee87fd7ffbdd789068587d11ab4323644', class: "dialog" }, h("slot", { key: 'f55b17d75983192918a7c8b5b7df87ca22259b7b', name: "title" }, h("div", { key: '0ebb27bff2de5a06232e419cf9eeff67abddbb3a', class: "heading" }, "Please Confirm")), h("div", { key: 'c93aa214cf8f4c034611f1638dff493a9b2066e2', class: "content" }, h("slot", { key: '7473721bf10ed5dfe388e3d17aec8ee67a5e193f' }))))));
20
+ return (h(Host, { key: '36755b2afe8d54b73fc9e757739f4f29d54daa7d' }, h("div", { key: '5d7f45de64a2ec98457eb47db2724e60bc2dc4bf', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '60dc69f45a06b71b2839f8d79439095abee0a0cc', class: "dialog" }, h("slot", { key: 'c1c7235051a310d5b3778d3359025c944aa948f3', name: "title" }, h("div", { key: '18e82be4d6e4a188f1192ad9cd0f4a019c9d1f4a', class: "heading" }, "Please Confirm")), h("div", { key: '5a63854e08f8ed7861cdb8d00f5b022ebe3216e0', class: "content" }, h("slot", { key: '19933b8c75555e81f3cc701cd284e3ad66e0a5f6' }))))));
21
21
  }
22
22
  };
23
23
  VerdocsDialog.style = VerdocsDialogStyle0;
@@ -34,9 +34,9 @@ const VerdocsTable = class {
34
34
  this.data = [];
35
35
  }
36
36
  render() {
37
- return (h(Host, { key: 'efe778730c2c95e24dffa2043e1b16e93a964612', class: "table-wrapper" }, h("table", { key: '18b29a87f943123886ce6191e8d2cfc4f2c76b85', class: "table" }, h("thead", { key: '5152847a22a948d8fa0abd8b4ecc5ecdd7014f50' }, h("tr", { key: 'db88562938a289ea701291926b6d221c62fcd78c', class: "row header-row" }, this.columns.map((col, i) => {
37
+ return (h(Host, { key: '30dc31671a4fe5fe698e16ff2dd4ea9929c7659b', class: "table-wrapper" }, h("table", { key: '584e1b863ccf37c17b0e36ac3dd5178d3e591473', class: "table" }, h("thead", { key: 'e54fccb7ad63ff09d32719b2b9ce2beceae33d4a' }, h("tr", { key: '1b435a6772c21795c5c7bd0dddb5a8225add0e55', class: "row header-row" }, this.columns.map((col, i) => {
38
38
  return (h("th", { class: `col header-col col-${i} col-${col.id}`, onClick: () => { var _a; return (_a = this.colHeaderClick) === null || _a === void 0 ? void 0 : _a.emit({ col }); }, innerHTML: col.renderHeader ? col.renderHeader(col) : col.header || col.id }));
39
- }))), h("tbody", { key: 'f8fd817f153e1e1067bebed5ca5b3ee40590e1eb' }, this.data.map(row => (h("tr", { class: "row data-row", onClick: () => { var _a; return (_a = this.rowClick) === null || _a === void 0 ? void 0 : _a.emit({ row }); } }, this.columns.map((col, i) => {
39
+ }))), h("tbody", { key: '75dd1db03c8ea79b186939b5dab16a800371c3db' }, this.data.map(row => (h("tr", { class: "row data-row", onClick: () => { var _a; return (_a = this.rowClick) === null || _a === void 0 ? void 0 : _a.emit({ row }); } }, this.columns.map((col, i) => {
40
40
  return col.renderCell ? (h("td", { class: `col data-col col-${i} col-${col.id}`, innerHTML: col.renderCell(col, row) })) : (h("td", { class: `col data-col col-${i} col-${col.id}` }, row[col.id]));
41
41
  }))))))));
42
42
  }
@@ -87,7 +87,7 @@ const VerdocsDropdown = class {
87
87
  (_a = document.getElementById(MENU_ID)) === null || _a === void 0 ? void 0 : _a.remove();
88
88
  }
89
89
  render() {
90
- return (h(Host, { key: '747b2358b38f0f0290936973c4aaf2ec08a1a846' }, h("button", { key: '733cdd06681a5324c4598d2a11e93b78e7ade53b', class: "arrow", innerHTML: DropdownArrow, "aria-label": "Open Menu", onClick: e => this.toggle(e),
90
+ return (h(Host, { key: '3a0ecbe96fffea8c916de9a657afd891dc95fa01' }, h("button", { key: 'bf194fdde69ec6a4e9edfa897eefe57daaa847d2', class: "arrow", innerHTML: DropdownArrow, "aria-label": "Open Menu", onClick: e => this.toggle(e),
91
91
  // onBlur={() => this.hide()}
92
92
  ref: el => (this.dropdownButton = el) })));
93
93
  }
@@ -77,7 +77,7 @@ const VerdocsEnvelopeDocumentPage = class {
77
77
  }
78
78
  render() {
79
79
  const height = `${this.renderedHeight}px`;
80
- return (h(Host, { key: '1626cbea713462254f8d518479181a39156fd599', 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) => {
80
+ return (h(Host, { key: '0d7e99a76f94df20aa1245b384a50e51daf8498b', 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) => {
81
81
  // Note that all we really care about is the aspect ratio. We track the natural Width and Height but they aren't really that
82
82
  // useful as individual values. The image will already have been scaled down to fit a DIV for display (100%, auto height).
83
83
  // Builder places fields offset into the rendered display area, not the original document's dimensions. So its X/Y values