@verdocs/web-sdk 4.2.100 → 4.2.102

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-button-panel_2.cjs.entry.js +3 -3
  2. package/dist/cjs/verdocs-button_3.cjs.entry.js +5 -5
  3. package/dist/cjs/verdocs-checkbox_4.cjs.entry.js +3 -3
  4. package/dist/cjs/verdocs-contact-picker_2.cjs.entry.js +7 -16
  5. package/dist/cjs/verdocs-dialog.cjs.entry.js +1 -1
  6. package/dist/cjs/verdocs-dropdown.cjs.entry.js +1 -1
  7. package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +1 -1
  8. package/dist/cjs/verdocs-envelope-recipient-link_2.cjs.entry.js +3 -3
  9. package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +5 -6
  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 +1 -1
  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.cjs.entry.js +1 -1
  19. package/dist/cjs/verdocs-radio-button_3.cjs.entry.js +10 -10
  20. package/dist/cjs/verdocs-search-box.cjs.entry.js +1 -1
  21. package/dist/cjs/verdocs-search-tabs.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-table.cjs.entry.js +2 -2
  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-switch/verdocs-switch.css +2 -2
  48. package/dist/collection/components/controls/verdocs-switch/verdocs-switch.js +2 -2
  49. package/dist/collection/components/controls/verdocs-table/verdocs-table.js +2 -2
  50. package/dist/collection/components/controls/verdocs-tabs/verdocs-tabs.js +1 -1
  51. package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.js +3 -3
  52. package/dist/collection/components/controls/verdocs-toggle/verdocs-toggle.js +1 -1
  53. package/dist/collection/components/controls/verdocs-toggle-button/verdocs-toggle-button.js +1 -1
  54. package/dist/collection/components/controls/verdocs-toolbar-icon/verdocs-toolbar-icon.js +1 -1
  55. package/dist/collection/components/dialogs/verdocs-dialog/verdocs-dialog.js +1 -1
  56. package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js +1 -1
  57. package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.js +1 -1
  58. package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js +1 -1
  59. package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js +1 -1
  60. package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js +1 -1
  61. package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js +1 -1
  62. package/dist/collection/components/elements/verdocs-search-box/verdocs-search-box.js +1 -1
  63. package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js +1 -1
  64. package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.css +32 -13
  65. package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js +8 -17
  66. package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -1
  67. package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.js +5 -6
  68. package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +6 -6
  69. package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +2 -2
  70. package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.js +1 -1
  71. package/dist/collection/components/templates/verdocs-template-document-page/verdocs-template-document-page.js +1 -1
  72. package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +8 -8
  73. package/dist/collection/components/templates/verdocs-template-sender/verdocs-template-sender.js +1 -1
  74. package/dist/collection/components/templates/verdocs-template-star/verdocs-template-star.js +1 -1
  75. package/dist/collection/components/templates/verdocs-template-tags/verdocs-template-tags.js +1 -1
  76. package/dist/collection/components/templates/verdocs-templates-list/verdocs-templates-list.js +7 -7
  77. package/dist/components/verdocs-button-panel2.js +2 -2
  78. package/dist/components/verdocs-button2.js +1 -1
  79. package/dist/components/verdocs-checkbox2.js +1 -1
  80. package/dist/components/verdocs-component-error2.js +1 -1
  81. package/dist/components/verdocs-contact-picker2.js +7 -16
  82. package/dist/components/verdocs-dialog.js +1 -1
  83. package/dist/components/verdocs-dropdown2.js +1 -1
  84. package/dist/components/verdocs-envelope-document-page2.js +1 -1
  85. package/dist/components/verdocs-envelope-sidebar.js +5 -6
  86. package/dist/components/verdocs-envelopes-list.js +6 -6
  87. package/dist/components/verdocs-file-chooser2.js +1 -1
  88. package/dist/components/verdocs-help-icon2.js +1 -1
  89. package/dist/components/verdocs-initial-dialog2.js +1 -1
  90. package/dist/components/verdocs-kba-dialog.js +1 -1
  91. package/dist/components/verdocs-loader2.js +1 -1
  92. package/dist/components/verdocs-ok-dialog2.js +1 -1
  93. package/dist/components/verdocs-organization-card.js +1 -1
  94. package/dist/components/verdocs-pagination2.js +1 -1
  95. package/dist/components/verdocs-portal2.js +1 -1
  96. package/dist/components/verdocs-progress-bar2.js +1 -1
  97. package/dist/components/verdocs-quick-filter2.js +1 -1
  98. package/dist/components/verdocs-quick-functions.js +1 -1
  99. package/dist/components/verdocs-radio-button2.js +1 -1
  100. package/dist/components/verdocs-search-box.js +1 -1
  101. package/dist/components/verdocs-search-tabs.js +1 -1
  102. package/dist/components/verdocs-select-input2.js +1 -1
  103. package/dist/components/verdocs-signature-dialog2.js +1 -1
  104. package/dist/components/verdocs-spinner2.js +1 -1
  105. package/dist/components/verdocs-status-indicator2.js +2 -2
  106. package/dist/components/verdocs-switch2.js +3 -3
  107. package/dist/components/verdocs-table.js +2 -2
  108. package/dist/components/verdocs-tabs2.js +1 -1
  109. package/dist/components/verdocs-template-card.js +1 -1
  110. package/dist/components/verdocs-template-document-page2.js +1 -1
  111. package/dist/components/verdocs-template-role-properties2.js +8 -8
  112. package/dist/components/verdocs-template-sender2.js +1 -1
  113. package/dist/components/verdocs-template-star2.js +1 -1
  114. package/dist/components/verdocs-template-tags.js +1 -1
  115. package/dist/components/verdocs-templates-list.js +7 -7
  116. package/dist/components/verdocs-text-input2.js +3 -3
  117. package/dist/components/verdocs-toggle-button2.js +1 -1
  118. package/dist/components/verdocs-toggle.js +1 -1
  119. package/dist/components/verdocs-toolbar-icon2.js +1 -1
  120. package/dist/components/verdocs-upload-dialog2.js +1 -1
  121. package/dist/esm/verdocs-button-panel_2.entry.js +3 -3
  122. package/dist/esm/verdocs-button_3.entry.js +5 -5
  123. package/dist/esm/verdocs-checkbox_4.entry.js +3 -3
  124. package/dist/esm/verdocs-contact-picker_2.entry.js +8 -17
  125. package/dist/esm/verdocs-dialog.entry.js +1 -1
  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-envelope-recipient-link_2.entry.js +3 -3
  129. package/dist/esm/verdocs-envelope-sidebar.entry.js +5 -6
  130. package/dist/esm/verdocs-envelopes-list.entry.js +6 -6
  131. package/dist/esm/verdocs-field-attachment_13.entry.js +3 -3
  132. package/dist/esm/verdocs-file-chooser_2.entry.js +2 -2
  133. package/dist/esm/verdocs-kba-dialog.entry.js +1 -1
  134. package/dist/esm/verdocs-loader.entry.js +1 -1
  135. package/dist/esm/verdocs-ok-dialog.entry.js +1 -1
  136. package/dist/esm/verdocs-organization-card_2.entry.js +2 -2
  137. package/dist/esm/verdocs-pagination_2.entry.js +2 -2
  138. package/dist/esm/verdocs-quick-functions.entry.js +1 -1
  139. package/dist/esm/verdocs-radio-button_3.entry.js +10 -10
  140. package/dist/esm/verdocs-search-box.entry.js +1 -1
  141. package/dist/esm/verdocs-search-tabs.entry.js +1 -1
  142. package/dist/esm/verdocs-spinner.entry.js +1 -1
  143. package/dist/esm/verdocs-status-indicator.entry.js +2 -2
  144. package/dist/esm/verdocs-table.entry.js +2 -2
  145. package/dist/esm/verdocs-template-card.entry.js +1 -1
  146. package/dist/esm/verdocs-template-document-page_2.entry.js +2 -2
  147. package/dist/esm/verdocs-template-star.entry.js +1 -1
  148. package/dist/esm/verdocs-template-tags.entry.js +1 -1
  149. package/dist/esm/verdocs-templates-list.entry.js +7 -7
  150. package/dist/esm/verdocs-toggle.entry.js +1 -1
  151. package/dist/esm-es5/verdocs-button-panel_2.entry.js +1 -1
  152. package/dist/esm-es5/verdocs-button_3.entry.js +1 -1
  153. package/dist/esm-es5/verdocs-checkbox_4.entry.js +1 -1
  154. package/dist/esm-es5/verdocs-contact-picker_2.entry.js +1 -1
  155. package/dist/esm-es5/verdocs-dialog.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-envelope-recipient-link_2.entry.js +1 -1
  159. package/dist/esm-es5/verdocs-envelope-sidebar.entry.js +1 -1
  160. package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
  161. package/dist/esm-es5/verdocs-field-attachment_13.entry.js +1 -1
  162. package/dist/esm-es5/verdocs-file-chooser_2.entry.js +1 -1
  163. package/dist/esm-es5/verdocs-kba-dialog.entry.js +1 -1
  164. package/dist/esm-es5/verdocs-loader.entry.js +1 -1
  165. package/dist/esm-es5/verdocs-ok-dialog.entry.js +1 -1
  166. package/dist/esm-es5/verdocs-organization-card_2.entry.js +1 -1
  167. package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
  168. package/dist/esm-es5/verdocs-quick-functions.entry.js +1 -1
  169. package/dist/esm-es5/verdocs-radio-button_3.entry.js +1 -1
  170. package/dist/esm-es5/verdocs-search-box.entry.js +1 -1
  171. package/dist/esm-es5/verdocs-search-tabs.entry.js +1 -1
  172. package/dist/esm-es5/verdocs-spinner.entry.js +1 -1
  173. package/dist/esm-es5/verdocs-status-indicator.entry.js +1 -1
  174. package/dist/esm-es5/verdocs-table.entry.js +1 -1
  175. package/dist/esm-es5/verdocs-template-card.entry.js +1 -1
  176. package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -1
  177. package/dist/esm-es5/verdocs-template-star.entry.js +1 -1
  178. package/dist/esm-es5/verdocs-template-tags.entry.js +1 -1
  179. package/dist/esm-es5/verdocs-templates-list.entry.js +1 -1
  180. package/dist/esm-es5/verdocs-toggle.entry.js +1 -1
  181. package/dist/types/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.d.ts +2 -5
  182. package/dist/types/components.d.ts +8 -8
  183. package/dist/verdocs-web-sdk/p-0226144d.system.entry.js +1 -0
  184. package/dist/verdocs-web-sdk/{p-17930b47.system.entry.js → p-0625743b.system.entry.js} +1 -1
  185. package/dist/verdocs-web-sdk/{p-edcc7110.entry.js → p-0a7c4752.entry.js} +1 -1
  186. package/dist/verdocs-web-sdk/{p-39453c48.system.entry.js → p-0ba1ab37.system.entry.js} +1 -1
  187. package/dist/verdocs-web-sdk/{p-025eeafe.entry.js → p-0c6e565f.entry.js} +1 -1
  188. package/dist/verdocs-web-sdk/{p-4dcd1005.system.entry.js → p-0c9f4c84.system.entry.js} +1 -1
  189. package/dist/verdocs-web-sdk/{p-d5f7caa2.entry.js → p-114b88b3.entry.js} +1 -1
  190. package/dist/verdocs-web-sdk/{p-9ddaf09d.system.entry.js → p-12bd1b75.system.entry.js} +1 -1
  191. package/dist/verdocs-web-sdk/{p-86482c5e.system.entry.js → p-16f5a57b.system.entry.js} +1 -1
  192. package/dist/verdocs-web-sdk/p-2484ced2.entry.js +1 -0
  193. package/dist/verdocs-web-sdk/p-267df026.system.js +1 -1
  194. package/dist/verdocs-web-sdk/{p-88c3a2b9.entry.js → p-362ed8d2.entry.js} +1 -1
  195. package/dist/verdocs-web-sdk/p-3819d481.entry.js +1 -0
  196. package/dist/verdocs-web-sdk/{p-1e89f52d.entry.js → p-39f758da.entry.js} +1 -1
  197. package/dist/verdocs-web-sdk/{p-1cb18a85.entry.js → p-3c1a7743.entry.js} +1 -1
  198. package/dist/verdocs-web-sdk/{p-ef0061be.system.entry.js → p-3f80a97f.system.entry.js} +1 -1
  199. package/dist/verdocs-web-sdk/{p-4bf58d00.system.entry.js → p-496ce438.system.entry.js} +1 -1
  200. package/dist/verdocs-web-sdk/{p-286a97a7.system.entry.js → p-4f4c7aab.system.entry.js} +1 -1
  201. package/dist/verdocs-web-sdk/{p-c8196df5.entry.js → p-51923579.entry.js} +1 -1
  202. package/dist/verdocs-web-sdk/{p-5a8672ab.system.entry.js → p-554849ad.system.entry.js} +1 -1
  203. package/dist/verdocs-web-sdk/{p-18cdd0d8.entry.js → p-5c807974.entry.js} +1 -1
  204. package/dist/verdocs-web-sdk/{p-45c9ff7a.system.entry.js → p-5cb664f7.system.entry.js} +1 -1
  205. package/dist/verdocs-web-sdk/{p-cca9858f.entry.js → p-612018e9.entry.js} +1 -1
  206. package/dist/verdocs-web-sdk/{p-64d648c1.system.entry.js → p-6895ae8b.system.entry.js} +1 -1
  207. package/dist/verdocs-web-sdk/{p-bb315de2.system.entry.js → p-693b6ebb.system.entry.js} +1 -1
  208. package/dist/verdocs-web-sdk/{p-985363b3.system.entry.js → p-70800dcd.system.entry.js} +1 -1
  209. package/dist/verdocs-web-sdk/{p-73f2e118.entry.js → p-712148d2.entry.js} +1 -1
  210. package/dist/verdocs-web-sdk/{p-369adf04.entry.js → p-8157bb4e.entry.js} +1 -1
  211. package/dist/verdocs-web-sdk/{p-e544d694.system.entry.js → p-85ea1efe.system.entry.js} +1 -1
  212. package/dist/verdocs-web-sdk/{p-444191a8.system.entry.js → p-8dc78489.system.entry.js} +1 -1
  213. package/dist/verdocs-web-sdk/{p-fcedcc72.system.entry.js → p-905ab532.system.entry.js} +1 -1
  214. package/dist/verdocs-web-sdk/{p-c2e15dd9.entry.js → p-90a79cb5.entry.js} +1 -1
  215. package/dist/verdocs-web-sdk/{p-f0dd04a1.entry.js → p-941d0925.entry.js} +1 -1
  216. package/dist/verdocs-web-sdk/{p-ce085249.entry.js → p-98d2dd05.entry.js} +1 -1
  217. package/dist/verdocs-web-sdk/{p-68545704.system.entry.js → p-9bf14c0b.system.entry.js} +1 -1
  218. package/dist/verdocs-web-sdk/{p-61a3e6ab.entry.js → p-9cd794dd.entry.js} +1 -1
  219. package/dist/verdocs-web-sdk/{p-ed38f9b4.entry.js → p-a150f6a6.entry.js} +1 -1
  220. package/dist/verdocs-web-sdk/{p-ffbfc227.entry.js → p-a61a668f.entry.js} +1 -1
  221. package/dist/verdocs-web-sdk/{p-00828859.system.entry.js → p-a9281481.system.entry.js} +1 -1
  222. package/dist/verdocs-web-sdk/{p-809e1a1f.system.entry.js → p-ababdec2.system.entry.js} +1 -1
  223. package/dist/verdocs-web-sdk/{p-4480e944.entry.js → p-ad29e406.entry.js} +1 -1
  224. package/dist/verdocs-web-sdk/{p-c5dad8bb.system.entry.js → p-ae7bd8fa.system.entry.js} +1 -1
  225. package/dist/verdocs-web-sdk/{p-ff9fc188.system.entry.js → p-b58237c7.system.entry.js} +1 -1
  226. package/dist/verdocs-web-sdk/{p-2f191d39.entry.js → p-b7ab2c28.entry.js} +1 -1
  227. package/dist/verdocs-web-sdk/{p-0b061610.entry.js → p-c82a7239.entry.js} +1 -1
  228. package/dist/verdocs-web-sdk/{p-a75f7b16.system.entry.js → p-d74621f3.system.entry.js} +1 -1
  229. package/dist/verdocs-web-sdk/{p-8395d4f2.entry.js → p-d860605c.entry.js} +1 -1
  230. package/dist/verdocs-web-sdk/{p-405875b4.entry.js → p-dd0aa3a4.entry.js} +1 -1
  231. package/dist/verdocs-web-sdk/{p-b8938237.entry.js → p-e135bbab.entry.js} +1 -1
  232. package/dist/verdocs-web-sdk/{p-669771a1.system.entry.js → p-e41b6f91.system.entry.js} +1 -1
  233. package/dist/verdocs-web-sdk/{p-9753694a.entry.js → p-e9edbbaa.entry.js} +1 -1
  234. package/dist/verdocs-web-sdk/{p-fe672057.system.entry.js → p-ea7db073.system.entry.js} +1 -1
  235. package/dist/verdocs-web-sdk/{p-233c47c9.entry.js → p-ee4c4423.entry.js} +1 -1
  236. package/dist/verdocs-web-sdk/{p-eb602f8f.system.entry.js → p-f42e8692.system.entry.js} +1 -1
  237. package/dist/verdocs-web-sdk/{p-fd2224bb.system.entry.js → p-f449b8d4.system.entry.js} +1 -1
  238. package/dist/verdocs-web-sdk/{p-ce8420d1.entry.js → p-f881d62b.entry.js} +1 -1
  239. package/dist/verdocs-web-sdk/{p-d971f8f0.system.entry.js → p-fa74423b.system.entry.js} +1 -1
  240. package/dist/verdocs-web-sdk/{p-33f5ff73.system.entry.js → p-fb197463.system.entry.js} +1 -1
  241. package/dist/verdocs-web-sdk/p-fbcf4277.entry.js +1 -0
  242. package/dist/verdocs-web-sdk/{p-cea2766d.system.entry.js → p-fccffb60.system.entry.js} +1 -1
  243. package/dist/verdocs-web-sdk/{p-393489cb.entry.js → p-fe3c5f82.entry.js} +1 -1
  244. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  245. package/package.json +1 -1
  246. package/dist/verdocs-web-sdk/p-09b52821.entry.js +0 -1
  247. package/dist/verdocs-web-sdk/p-4dde02da.entry.js +0 -1
  248. package/dist/verdocs-web-sdk/p-8b74ca77.entry.js +0 -1
  249. package/dist/verdocs-web-sdk/p-9790720c.system.entry.js +0 -1
@@ -17,7 +17,7 @@ const VerdocsButton = class {
17
17
  this.disabled = false;
18
18
  }
19
19
  render() {
20
- return (h("button", { key: '1b0a149ab51af95445b47bb17207bc3b44516be3', 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: '4a868a010e47d300cc9b7dd31c7665f58c3f1986', class: "button-label" }, this.label), this.endIcon ? h("span", { class: "icon end", innerHTML: this.endIcon }) : null));
20
+ return (h("button", { key: '7fbcf013073495536de97934ff19a0d3e4544b66', 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: 'a74742802834f76bdd47ad62308bae979d04a9fe', 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: 'a3461401c9c39efe1d3d4a33797c9fdb4c243cd4', class: {} }, h("div", { key: 'bab136ac563622e50b68a624b0beca62b1ee43f8', "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: 'e23f6cb0bf8dfecd28ed92790eff519ea83707f3', id: this.containerId, role: "tooltip", class: "tooltip", "data-popper-placement": "bottom", ref: el => (this.tooltipEl = el) }, h("span", { key: '2c61ce450603afa8fa608c98003e0c97b5486df5', innerHTML: this.text }), h("div", { key: 'b57ad281d928ba3b4b2ea807bd6744f88f1519c3', "data-popper-arrow": "true", class: "arrow" }))));
58
+ return (h(Host, { key: '72bf84cce5ad56efd8f01b9a2ee95b1fd97ff954', class: {} }, h("div", { key: 'd55be65906a152a1f7b613f72657c91f339fd565', "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: 'd82454830aa909a27531c99c70d951932c412d4e', id: this.containerId, role: "tooltip", class: "tooltip", "data-popper-placement": "bottom", ref: el => (this.tooltipEl = el) }, h("span", { key: '74a1ddb77cdec7c4e63072004dbe9b43a8e38bd3', innerHTML: this.text }), h("div", { key: '3d5c87b386971e4e1b528783fd055b148b6ca58f', "data-popper-arrow": "true", class: "arrow" }))));
59
59
  }
60
60
  };
61
61
  VerdocsHelpIcon.style = VerdocsHelpIconStyle0;
@@ -91,7 +91,7 @@ const VerdocsTextInput = class {
91
91
  .catch(e => console.log('Error copying to clipboard', e));
92
92
  }
93
93
  render() {
94
- return (h(Host, { key: '6d4b7c85dd7698f795f11e1bb235406fdedd8a96', class: `input-field ${this.clearable ? 'clearable' : ''} ${this.copyable ? 'copyable' : ''}` }, h("label", { key: '48e3419a7c9187444a1fdcfad1cea862a6945ee3' }, this.label && (h("div", { key: 'ebf6b58a21bafab4fbe411b5f0f3cb5bb29157f8', class: "input-label" }, this.label + ':', this.required && h("span", { key: '84b895a4fc3686991a0966a3442fc87c610628d6', class: "required" }, "*"))), h("div", { key: '86887c310beeb76920c574d268fa9508d0d331b4', class: "input-container" }, h("input", { key: '14c9e36708fb955fd6b3bf5cac37aae2b64f820b', type: this.type === 'password' && this.showingPw ? 'text' : this.type, value: this.value, required: this.required, class: "input-element", "data-lpignore": "true", disabled: this.disabled, placeholder: this.placeholder, autoComplete: this.autocomplete, onBlur: (e) => { var _a; return (_a = this.blur) === null || _a === void 0 ? void 0 : _a.emit(e.target.value); }, ref: el => (this.inputEl = el), onInput: (e) => (this.value = e.target.value) }), this.clearable && this.value && (h("span", { key: '333a08eaf763d01d603cb8750b4328d9d2e6f97e', innerHTML: ClearIcon, class: "clear", onClick: () => {
94
+ return (h(Host, { key: 'a6f4cbf0e0b53caa2f471b943cf61327d47f10fe', class: `input-field ${this.clearable ? 'clearable' : ''} ${this.copyable ? 'copyable' : ''}` }, h("label", { key: 'f0005d82081079e1fbb0c4e0dac810a5051e1271' }, this.label && (h("div", { key: '862931caecb6d33c6a216a582935806a964ad2e8', class: "input-label" }, this.label + ':', this.required && h("span", { key: '58347a8111e1f88d6e38ee5fbf55036aeec28935', class: "required" }, "*"))), h("div", { key: '298a97a55d866e1ab14608d5d33a918b98f45092', class: "input-container" }, h("input", { key: 'b813c15cd2822af0b994f5414c60d704ab07b2ac', type: this.type === 'password' && this.showingPw ? 'text' : this.type, value: this.value, required: this.required, class: "input-element", "data-lpignore": "true", disabled: this.disabled, placeholder: this.placeholder, autoComplete: this.autocomplete, onBlur: (e) => { var _a; return (_a = this.blur) === null || _a === void 0 ? void 0 : _a.emit(e.target.value); }, ref: el => (this.inputEl = el), onInput: (e) => (this.value = e.target.value) }), this.clearable && this.value && (h("span", { key: '0dd0323f08f8a7c173c78f6eac16450295f6ecd5', innerHTML: ClearIcon, class: "clear", onClick: () => {
95
95
  // We need to allow the onInput event to fire first in case
96
96
  // the user was focused on this field before clicking clear.
97
97
  setTimeout(() => {
@@ -105,9 +105,9 @@ const VerdocsTextInput = class {
105
105
  (_b = this.inputEl) === null || _b === void 0 ? void 0 : _b.blur();
106
106
  }, 50);
107
107
  }, 50);
108
- } })), this.type === 'password' && (h("span", { key: 'b62dc779e128bb5f541884cae7f27f53baf4c62a', innerHTML: this.showingPw ? EyeIcon : EyeSlashIcon, class: "toggle-pw", onClick: () => {
108
+ } })), this.type === 'password' && (h("span", { key: '91e1427c7b7179ebc843d820e146d23b07ae7ba3', innerHTML: this.showingPw ? EyeIcon : EyeSlashIcon, class: "toggle-pw", onClick: () => {
109
109
  this.showingPw = !this.showingPw;
110
- } })), !this.clearable && this.copyable && this.value && h("span", { key: 'acd2baea4821146254849942ebba6f2f1af5511d', innerHTML: CopyIcon, class: "copy", onClick: () => this.copyToClipboard() })), this.helpText && h("verdocs-help-icon", { key: '1c3e7b58bd3c62770b88d585bc52149780016dd5', text: this.helpText }))));
110
+ } })), !this.clearable && this.copyable && this.value && h("span", { key: 'b785191a6f5681c8831fb3c75fa86d3d977aee30', innerHTML: CopyIcon, class: "copy", onClick: () => this.copyToClipboard() })), this.helpText && h("verdocs-help-icon", { key: '3676128c06aaa7f7bd5cf4bd800a88604317041a', text: this.helpText }))));
111
111
  }
112
112
  get hostEl() { return getElement(this); }
113
113
  };
@@ -21,7 +21,7 @@ const VerdocsCheckbox = class {
21
21
  this.disabled = false;
22
22
  }
23
23
  render() {
24
- return (h(Host, { key: '134ddfacbf313ed3d8aaaae104e7ceefaf8f260f', class: { disabled: this.disabled, [this.theme]: true } }, h("label", { key: 'f4c5ad61ffc32acf46e42a22c9cfdb27b44d21c9' }, h("input", { key: 'edc72dbc12bb2f93daa6bf90fe8baddeee003a0f', type: "checkbox", value: this.value, name: this.name, checked: this.checked, disabled: this.disabled }), h("span", { key: '0d3a00d372dc0a0b2de109c1ee8c484153b789a7' }, this.label))));
24
+ return (h(Host, { key: '70758d5c97322eb7be79c961c0b26ea6317a62c9', class: { disabled: this.disabled, [this.theme]: true } }, h("label", { key: '8a7026de0a8cd1e086d3ee23cdb22032f6dc23e7' }, h("input", { key: '0b5f2372fe69693001be2ca464e3cb36821d7099', type: "checkbox", value: this.value, name: this.name, checked: this.checked, disabled: this.disabled }), h("span", { key: '2a3041c71981a261147d39d2b59fb590e77de0c6' }, this.label))));
25
25
  }
26
26
  };
27
27
  VerdocsCheckbox.style = VerdocsCheckboxStyle0;
@@ -35,7 +35,7 @@ const VerdocsComponentError = class {
35
35
  this.message = '';
36
36
  }
37
37
  render() {
38
- return (h(Host, { key: '5fd53e1053d599dc955c727344dfbc48ddf13622' }, h("div", { key: 'bd877d18be032147ed72b999896f0cec3b021c95', class: "inner" }, this.message)));
38
+ return (h(Host, { key: '0e8d4641858e19a5633ae39d4f87a19ab0859013' }, h("div", { key: 'abb304ede008248fda02011dba3f01239cb3676f', class: "inner" }, this.message)));
39
39
  }
40
40
  };
41
41
  VerdocsComponentError.style = VerdocsComponentErrorStyle0;
@@ -52,7 +52,7 @@ const VerdocsSelectInput = class {
52
52
  this.disabled = false;
53
53
  }
54
54
  render() {
55
- return (h(Host, { key: '4f49d2d10cf951c150b168563bcdb1d69e2385f2', class: "input-field" }, h("label", { key: 'a7329800f45797aac347e20231cc790e7ed4a91f' }, this.label ? h("div", { class: "input-label" }, this.label + ':') : h("div", null), h("select", { key: '1f66b8907f5ba4c9ecece9444ee4afc1be6a4459', class: "input-element", disabled: this.disabled }, this.options.map(option => (h("option", { value: option.value, selected: option.value === this.value }, option.label)))))));
55
+ return (h(Host, { key: '0739fe617ba9018dc152d058231a1e0a327fa5b0', class: "input-field" }, h("label", { key: 'c99adc97fb2d65386dac00da03548131bd4ff4b5' }, this.label ? h("div", { class: "input-label" }, this.label + ':') : h("div", null), h("select", { key: 'd50a298b4f6d338b0f666f2976d4f8e0f2fb89a1', class: "input-element", disabled: this.disabled }, this.options.map(option => (h("option", { value: option.value, selected: option.value === this.value }, option.label)))))));
56
56
  }
57
57
  };
58
58
  VerdocsSelectInput.style = VerdocsSelectInputStyle0;
@@ -1,11 +1,11 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-a68c7262.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host } from './index-a68c7262.js';
2
2
  import { VerdocsEndpoint, formatFullName } from '@verdocs/js-sdk';
3
3
  import { f as convertToE164 } from './utils-a79aa5dd.js';
4
4
  import './_commonjsHelpers-bdec4bbd.js';
5
5
  import './Types-95d86a44.js';
6
6
  import './index-0329eed3.js';
7
7
 
8
- const verdocsContactPickerCss = "@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-contact-picker{display:block;border:1px solid #ebebeb;background-color:#ffffff;font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}verdocs-contact-picker form{background-color:#f5f5fa;padding:12px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-contact-picker form .row{width:300px;display:-ms-flexbox;display:flex;position:relative;margin:0 0 20px 0;-ms-flex-direction:column;flex-direction:column}verdocs-contact-picker form .names-row{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:8px}verdocs-contact-picker form .names-row>input{min-width:0}verdocs-contact-picker form label{display:block;font-size:14px;font-weight:500;margin:0 0 4px 0;color:#5c6575}verdocs-contact-picker form .label-with-icon{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}verdocs-contact-picker form .label-with-icon verdocs-help-icon svg{-webkit-transform:scale(0.8);transform:scale(0.8)}verdocs-contact-picker form input{border:none;font-size:18px;padding:3px 6px 3px 0;background:transparent;border-bottom:1px solid #33364b}verdocs-contact-picker form input:focus{outline:none}verdocs-contact-picker form .dropdown{left:0;right:0;top:49px;z-index:1000000;max-height:225px;overflow-y:scroll;position:absolute;background:#ffffff;-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}verdocs-contact-picker form .dropdown .suggestion{display:-ms-flexbox;display:flex;padding:6px 12px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .dropdown .suggestion svg{width:32px;height:32px}verdocs-contact-picker form .dropdown .suggestion .avatar{width:32px;height:32px;-ms-flex:0 0 32px;flex:0 0 32px;margin-right:8px;border-radius:100%}verdocs-contact-picker form .dropdown .suggestion .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-contact-picker form .dropdown .suggestion .name{font-size:16px;font-weight:500;margin-bottom:3px;color:#092c4c}verdocs-contact-picker form .dropdown .suggestion .destination{font-size:14px;margin-bottom:3px;color:#33364b}verdocs-contact-picker form .dropdown .suggestion:hover{background:#eee;cursor:pointer}verdocs-contact-picker .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:6px;-moz-column-gap:6px;column-gap:6px;margin-top:16px;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker .buttons .flex-fill{-ms-flex:1;flex:1}verdocs-contact-picker ::-webkit-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-moz-placeholder{color:#aaaaaa}verdocs-contact-picker :-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::placeholder{color:#aaaaaa}verdocs-contact-picker [data-lastpass-icon-root]{display:none !important}";
8
+ const verdocsContactPickerCss = "@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-contact-picker{display:block;border:1px solid #ebebeb;background-color:#ffffff;font-family:\"Inter\", -apple-system, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", sans-serif;-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}verdocs-contact-picker form{display:-ms-flexbox;display:flex;gap:14px;width:300px;padding:12px;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:#f5f5fa}verdocs-contact-picker form .row{gap:8px;width:300px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}verdocs-contact-picker form .row.message{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}verdocs-contact-picker form .names-row{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .names-row>input{width:110px}verdocs-contact-picker form .kba-row{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .kba-row>input{width:110px}verdocs-contact-picker form .kba-row verdocs-select-input{margin:0}verdocs-contact-picker form label{display:-ms-flexbox;display:flex;-ms-flex:0 0 50px;flex:0 0 50px;font-size:14px;font-weight:500;color:#5c6575}verdocs-contact-picker form .row.message label{-ms-flex:0;flex:0}verdocs-contact-picker form .row.message input{width:100%}verdocs-contact-picker form input{-ms-flex:1;flex:1;border:none;font-size:16px;padding:3px 6px 3px 0;background:transparent;border-bottom:1px solid #33364b}verdocs-contact-picker form input:focus{outline:none}verdocs-contact-picker form .dropdown{left:0;right:0;top:49px;z-index:1000000;max-height:225px;overflow-y:scroll;position:absolute;background:#ffffff;-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}verdocs-contact-picker form .dropdown .suggestion{display:-ms-flexbox;display:flex;padding:6px 12px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .dropdown .suggestion svg{width:32px;height:32px}verdocs-contact-picker form .dropdown .suggestion .avatar{width:32px;height:32px;-ms-flex:0 0 32px;flex:0 0 32px;margin-right:8px;border-radius:100%}verdocs-contact-picker form .dropdown .suggestion .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-contact-picker form .dropdown .suggestion .name{font-size:16px;font-weight:500;margin-bottom:3px;color:#092c4c}verdocs-contact-picker form .dropdown .suggestion .destination{font-size:14px;margin-bottom:3px;color:#33364b}verdocs-contact-picker form .dropdown .suggestion:hover{background:#eee;cursor:pointer}verdocs-contact-picker .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:6px;-moz-column-gap:6px;column-gap:6px;margin-top:16px;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker .buttons .flex-fill{-ms-flex:1;flex:1}verdocs-contact-picker ::-webkit-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-moz-placeholder{color:#aaaaaa}verdocs-contact-picker :-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::placeholder{color:#aaaaaa}verdocs-contact-picker [data-lastpass-icon-root]{display:none !important}";
9
9
  const VerdocsContactPickerStyle0 = verdocsContactPickerCss;
10
10
 
11
11
  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>';
@@ -69,15 +69,6 @@ const VerdocsContactPicker = class {
69
69
  this.last_name = e.target.value;
70
70
  (_a = this.searchContacts) === null || _a === void 0 ? void 0 : _a.emit({ query: this.last_name });
71
71
  }
72
- handleEmailChange(e) {
73
- this.email = e.target.value;
74
- }
75
- handlePhoneChange(e) {
76
- this.phone = convertToE164(e.target.value);
77
- }
78
- handleMessageChange(e) {
79
- this.message = e.target.value;
80
- }
81
72
  handleCancel(e) {
82
73
  var _a;
83
74
  e.stopPropagation();
@@ -108,26 +99,26 @@ const VerdocsContactPicker = class {
108
99
  // The reason for the random names/IDs is to disable browser autocomplete. We set the autocomplete tags but many browsers ignore them
109
100
  // and show a duplicate autocomplete picker on top of our own.
110
101
  render() {
111
- return (h("form", { key: 'dd02e23758d334495edb642f0f1513889eca5bbe', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("div", { key: 'f8594524ea492993227b07e0e8d5a71c847f1b64', class: "row" }, h("label", { key: 'fbbef02b5e11880c7c104b96de3a17537bc7ff8c', htmlFor: this.nameFieldId }, "Name:"), h("div", { key: '50d4ff03c47eb77865de05ffd247e7684e2cdbcf', class: "names-row" }, h("input", { key: 'dc52d17011643cbb25f9e5129aadacd1104365a9', id: this.firstNameFieldId, name: this.firstNameFieldId, type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.first_name, placeholder: "First Name...", onFocus: () => { var _a; return (this.showSuggestions = ((_a = this.contactSuggestions) === null || _a === void 0 ? void 0 : _a.length) > 0); }, onInput: e => this.handleFirstNameChange(e) }), h("input", { key: 'f46f41f7eb915569ce6e202667873a0309d98d16', id: this.lastNameFieldId, name: this.lastNameFieldId, type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.last_name, placeholder: "Last Name...", onFocus: () => (this.showSuggestions = false), onInput: e => this.handleLastNameChange(e) })), this.showSuggestions && (h("div", { key: 'b82ecccbf9fa1172af45f33595337a73589ac482', class: "dropdown" }, this.contactSuggestions
102
+ return (h("form", { key: '8c7cb46336302d309187ca68d7e38ebb3d001468', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("div", { key: '8bc7c876bb89ee84dc14978560c6198d31983261', class: "row" }, h("label", { key: 'b57ac6d694661a48397afc6ab37fbf5cbca8cbc6', htmlFor: this.nameFieldId }, "Name:"), h("div", { key: '197fbb1e998f52d0df3fe9040fd5d9d640b0237a', class: "names-row" }, h("input", { key: '343aa3e3c8bb31edfc43c4bd51bed1928ea29d49', id: this.firstNameFieldId, name: this.firstNameFieldId, type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.first_name, placeholder: "First...", onFocus: () => { var _a; return (this.showSuggestions = ((_a = this.contactSuggestions) === null || _a === void 0 ? void 0 : _a.length) > 0); }, onInput: e => this.handleFirstNameChange(e) }), h("input", { key: '78e830e80650f52d72e5c35523fa111df228c86b', id: this.lastNameFieldId, name: this.lastNameFieldId, type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.last_name, placeholder: "Last...", onFocus: () => (this.showSuggestions = false), onInput: e => this.handleLastNameChange(e) })), this.showSuggestions && (h("div", { key: '9b35e34eba14d6ff17c29b7bb334e5a5d8080595', class: "dropdown" }, this.contactSuggestions
112
103
  .filter(suggestion => !this.first_name || suggestion.first_name.toLowerCase().includes(this.first_name.toLowerCase()))
113
104
  .map(suggestion => {
114
105
  var _a;
115
106
  return (h("div", { key: (_a = suggestion.id) !== null && _a !== void 0 ? _a : suggestion.email, class: "suggestion", onClick: e => this.handleSelectSuggestion(e, suggestion) }, suggestion.picture ? h("img", { alt: "Avatar", class: "avatar", src: suggestion.picture }) : h("div", { class: "avatar", innerHTML: addrBookIcon }), h("div", { class: "details" }, h("div", { class: "name" }, formatFullName(suggestion)), suggestion.email && h("div", { class: "destination" }, suggestion.email), suggestion.phone && h("div", { class: "destination" }, suggestion.phone))));
116
- })))), h("div", { key: '7a3fc3c98c19a4a1bb07a6914f35eba61132294d', class: "row" }, h("label", { key: 'b2a589aae874fe69b8ae50569e14c6005344d8f3', htmlFor: this.emailFieldId }, "Email:"), h("input", { key: '39ee39af447b65d543492ebac6d199985aada563', 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: 'c7420ac25ad40fb99a40212266efa3b564058b1d', class: "row" }, h("label", { key: 'bd4b4eaf87be10f5a34186b27fd4ee8239cfacc9', htmlFor: this.phoneFieldId }, "Phone:"), h("input", { key: 'abfa297fa18f57ef20313b1ac9e9cc866f0e37e9', 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: 'bea4383cd29e9c43b883c29b55f0e6cacf89c63f', class: "row" }, h("div", { key: '8ebacef0e2786a5a141ebc338fcaa062a25c5090', class: "label-with-icon" }, h("label", { key: '74c32c83aac8d0400726f4ef5d95c60b3eb12c99' }, "KBA:"), h("verdocs-help-icon", { key: 'be3777686a2a9d51ff91205f49e68b17d6fee18c', 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: '35a7918e94a09d78c5c5a43992bea92e19fd406b', value: this.kbaMethod, onInput: (e) => (this.kbaMethod = e.target.value), options: [
107
+ })))), h("div", { key: '4e37f340b40e14e1469742856b9d9f2ea79add97', class: "row" }, h("label", { key: '0778e1b56c175a1a5077726fbba30280e5052773', htmlFor: this.emailFieldId }, "Email:"), h("input", { key: '9f6806efb77821579c5eee7bf020e0219212761a', 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.email = e.target.value) })), h("div", { key: '6e99f4b3a76f5696f39d721784be7ca0350a42bb', class: "row" }, h("label", { key: 'cdbfcb45cb531b203d4417f21daffe82a2b4974a', htmlFor: this.phoneFieldId }, "Phone:"), h("input", { key: '384b2d948efacbdbb44bad6e8da4174035a63ad3', id: this.phoneFieldId, name: this.phoneFieldId, type: "text", "data-lpignore": "true", autoComplete: "blocked", value: this.phone, placeholder: "Phone (SMS)...", onFocus: () => (this.showSuggestions = false), onInput: (e) => convertToE164(e.target.value) })), this.showKba && (h(Fragment, { key: '3824ab85ac446ee579279c034d44c9c7d9f80f44' }, h("div", { key: '253b5ce372f405f20dda62f889eb791dbc958d8c', class: "kba-row" }, h("label", { key: '6714f992e2f7710d1fe93ed34596f99c54d8e9b0' }, "KBA:"), h("verdocs-select-input", { key: '06107cc54709178c007a5416d0c8dcf9c206a1ca', value: this.kbaMethod, onInput: (e) => (this.kbaMethod = e.target.value), options: [
117
108
  { label: 'None', value: '' },
118
109
  { label: 'PIN Code', value: 'pin' },
119
110
  { label: 'Full Verification', value: 'kba' },
120
- ] }), this.kbaMethod === 'pin' && (h("input", { key: 'aeefe336a8461aa1ac41d3be0494f51b858b3810', 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: '1c55a0f11426dbcf82ced0fe5291fcb14a70bb2f', class: "row" }, h("label", { key: 'c2c7f9dd66ed8fd9dae52175cba6e9b575aa64b5', htmlFor: "verdocs-contact-picker-message" }, "Message:"), h("input", { key: 'c63897c136a04b3feba02b6dde46d7f74c97f330', 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: '7e0d6e9b519a51988711cfca0f1392b39ae4eec1', class: "buttons" }, h("verdocs-toggle-button", { key: '3cae0b84394a5c8516599af788e2cb0568235582', icon: kbaIcon, size: "small", active: this.showKba, onToggle: e => {
111
+ ] }), h("div", { key: '2d898124db289daada4f174e3fe4b557716ef563', style: { flex: '1' } }), h("verdocs-help-icon", { key: '17c58ed5bedaffa1a0bc1f72f7830076dd46502e', 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." })), this.kbaMethod === 'pin' && (h("div", { key: 'caf64fae166a136aebfcce7ed96bfe015a3cdeb4', class: "row pin-code" }, h("input", { key: '545918a43fbb7464dcf5f1aa19a7654899071017', 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.pinCode = e.target.value) }))))), this.showMessage && (h("div", { key: 'a747e2260ae8224b5b871ddbf1e8423d0da5e0be', class: "row message" }, h("label", { key: '2ff918a32677e81887639120cc5ab09be09e27f3', htmlFor: "verdocs-contact-picker-message" }, "Message:"), h("input", { key: '9c4c90117ca81c97f359e4b66dfde17d77506b98', id: "verdocs-contact-picker-message", name: "verdocs-contact-picker-message", type: "text", "data-lpignore": "true", autocomplete: "blocked", value: this.message, placeholder: "Message shown in invitation...", onFocus: () => (this.showSuggestions = false), onInput: (e) => (this.message = e.target.value) }))), h("div", { key: '3c043c21f0fd8e202de82782ed5d9beec1fa9f2f', class: "buttons" }, h("verdocs-toggle-button", { key: 'e4e7261482091d4ba73ca11ee0f5b1f738562339', icon: kbaIcon, size: "small", active: this.showKba, onToggle: e => {
121
112
  this.showKba = e.detail.active;
122
113
  if (!e.detail.active) {
123
114
  this.pinCode = '';
124
115
  this.kbaMethod = '';
125
116
  }
126
117
  this.showSuggestions = false;
127
- } }), h("verdocs-toggle-button", { key: '045544245ba967bd6ee43cb25a5fb8f2c9013da9', icon: messageIcon, size: "small", active: this.showMessage, onToggle: e => {
118
+ } }), h("verdocs-toggle-button", { key: 'd4fb36d6031a641bf056ee8ef022665bd1655e27', icon: messageIcon, size: "small", active: this.showMessage, onToggle: e => {
128
119
  this.showMessage = e.detail.active;
129
120
  this.showSuggestions = false;
130
- } }), h("div", { key: '1363f8353900490ac9a98ccd1da36831b9c06469', class: "flex-fill" }), h("verdocs-button", { key: '5cf40a9d890ff67a96dff5913b76eb603e4e1702', variant: "outline", label: "Cancel", size: "small", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: 'bfe86cdc15de884189f1ae342bef1be2f7887221', label: "OK", size: "small", onClick: e => this.handleSubmit(e) }))));
121
+ } }), h("div", { key: '954cbf03867afb74ba9589f0c817541e410dd20c', class: "flex-fill" }), h("verdocs-button", { key: '1b02d3280ab090332a31cd200eed4f2d76d3df4e', variant: "outline", label: "Cancel", size: "small", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '6213ec5d1b337771d53ab8daee0818662666df9f', label: "OK", size: "small", onClick: e => this.handleSubmit(e) }))));
131
122
  }
132
123
  };
133
124
  VerdocsContactPicker.style = VerdocsContactPickerStyle0;
@@ -156,7 +147,7 @@ const VerdocsToggleButton = class {
156
147
  (_a = this.toggle) === null || _a === void 0 ? void 0 : _a.emit({ active: newState });
157
148
  }
158
149
  render() {
159
- return (h(Host, { key: '95a678bbbbc6d63aff1239b6fb296e98e093ceb8', 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))));
150
+ return (h(Host, { key: '32eb5cccbb9687200cf1b57266ceb09143d4a478', 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))));
160
151
  }
161
152
  };
162
153
  VerdocsToggleButton.style = VerdocsToggleButtonStyle0;
@@ -17,7 +17,7 @@ const VerdocsDialog = class {
17
17
  }
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: '81c8ede6508a1ce80ce002b0b94b91604e7a2e73' }, h("div", { key: '2e05c3999a88c0d6e16615953054a4658c6f25d7', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '45e7c3d08b5a2cf830a06a0a938c3e43febb79ca', class: "dialog" }, h("slot", { key: '6c4c0e21c52a0a272df32976288734d09183251a', name: "title" }, h("div", { key: 'd3f30f469242351f95d2e20d58adf4e0ff86881e', class: "heading" }, "Please Confirm")), h("div", { key: '4800a431f9c5b5d65da612fd753533fd8469e9e5', class: "content" }, h("slot", { key: '40dcf76ccc8b799262aaba30435ae2692af53cb7' }))))));
20
+ return (h(Host, { key: 'ee194cde3ac800e6e9f33d02adc229c928a47472' }, h("div", { key: '23b03c631d3b9f35b35118e97b8a07fadcd060dd', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '21c99c448b050697f4cecf7e7ff02ae4eb0d14b1', class: "dialog" }, h("slot", { key: '8d11918bfe16a6bec51cf1f4a3fb3fe85ea1bf7e', name: "title" }, h("div", { key: '289c5627bd2605d8029163a81a8d7e827b6b6742', class: "heading" }, "Please Confirm")), h("div", { key: 'e29ebee3cde9efa5c41d95ece644bcf7eb5c24b0', class: "content" }, h("slot", { key: '4d9ef52291c370dc13d799292d70fb96ed611852' }))))));
21
21
  }
22
22
  };
23
23
  VerdocsDialog.style = VerdocsDialogStyle0;
@@ -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: '006ffc94bd4cdc84424e001b2ff146f44fa268be' }, h("button", { key: '77c15671bb969bd79ed476d647642fdc70909f5f', class: "arrow", innerHTML: DropdownArrow, "aria-label": "Open Menu", onClick: e => this.toggle(e),
90
+ return (h(Host, { key: '1e52613887181c34d3b6903ce32b7166b465acad' }, h("button", { key: '5216ee8fff5a1014ccd083a574c27f4ef8b22564', 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
  }
@@ -78,7 +78,7 @@ const VerdocsEnvelopeDocumentPage = class {
78
78
  }
79
79
  render() {
80
80
  const height = `${this.renderedHeight}px`;
81
- return (h(Host, { key: 'c047ed0efbc74b5981dbb631999f33af262559f7', 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
+ return (h(Host, { key: 'db47c26f1d1ad9d72d4a18238b0ab244e68f2f76', 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) => {
82
82
  // Note that all we really care about is the aspect ratio. We track the natural Width and Height but they aren't really that
83
83
  // useful as individual values. The image will already have been scaled down to fit a DIV for display (100%, auto height).
84
84
  // Builder places fields offset into the rendered display area, not the original document's dimensions. So its X/Y values
@@ -90,7 +90,7 @@ const VerdocsEnvelopeRecipientLink = class {
90
90
  };
91
91
  VerdocsEnvelopeRecipientLink.style = VerdocsEnvelopeRecipientLinkStyle0;
92
92
 
93
- const verdocsSwitchCss = "@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-switch{font-family:\"Inter\", \"Barlow\", sans-serif}verdocs-switch .switch{display:-ms-inline-flexbox;display:inline-flex;height:24px;width:44px;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;cursor:pointer;border-radius:12px;border:transparent;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms}verdocs-switch .switch.primary[data-state=checked]{background:#55bc81}verdocs-switch .switch.primary[data-state=unchecked]{background:#e3e3e3}verdocs-switch .switch.secondary[data-state=checked]{background:#4c56cb}verdocs-switch .switch.secondary[data-state=unchecked]{background:#e3e3e3}verdocs-switch .slider{display:block;width:20px;height:20px;border-radius:20px;background:#ffffff;-webkit-box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms}verdocs-switch .slider[data-state=checked]{-webkit-transform:translateX(16px);transform:translateX(16px)}verdocs-switch .slider[data-state=unchecked]{-webkit-transform:translateX(-4px);transform:translateX(-4px)}verdocs-switch .switch.disabled.primary,verdocs-switch .switch.disabled.secondary{cursor:not-allowed;background:#666666}";
93
+ const verdocsSwitchCss = "@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-switch{font-family:\"Inter\", \"Barlow\", sans-serif}verdocs-switch .switch{display:-ms-inline-flexbox;display:inline-flex;height:24px;width:44px;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;cursor:pointer;border-radius:12px;border:transparent;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms}verdocs-switch .switch.primary[data-state=checked]{background:#55bc81}verdocs-switch .switch.primary[data-state=unchecked]{background:#e3e3e3}verdocs-switch .switch.secondary[data-state=checked]{background:#4c56cb}verdocs-switch .switch.secondary[data-state=unchecked]{background:#e3e3e3}verdocs-switch .slider{display:block;width:20px;height:20px;border-radius:20px;background:#ffffff;-webkit-box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms}verdocs-switch .slider[data-state=checked]{-webkit-transform:translateX(22px);transform:translateX(22px)}verdocs-switch .slider[data-state=unchecked]{-webkit-transform:translateX(-2px);transform:translateX(-2px)}verdocs-switch .switch.disabled.primary,verdocs-switch .switch.disabled.secondary{cursor:not-allowed;background:#666666}";
94
94
  const VerdocsSwitchStyle0 = verdocsSwitchCss;
95
95
 
96
96
  const VerdocsSwitch = class {
@@ -102,13 +102,13 @@ const VerdocsSwitch = class {
102
102
  this.disabled = false;
103
103
  }
104
104
  render() {
105
- return (h("button", { key: '8869138a0f6398a5d1257a10a375c2a18a0a137c', value: "on", type: "button", role: "switch", class: `switch ${this.theme} ${this.disabled ? 'disabled' : ''}`, "data-state": this.checked ? 'checked' : 'unchecked', "aria-checked": this.checked ? 'checked' : 'unchecked', onClick: () => {
105
+ return (h("button", { key: '34e83b914cb01d1d1b52c7091b68324808f7f8f3', value: "on", type: "button", role: "switch", class: `switch ${this.theme} ${this.disabled ? 'disabled' : ''}`, "data-state": this.checked ? 'checked' : 'unchecked', "aria-checked": this.checked ? 'checked' : 'unchecked', onClick: () => {
106
106
  var _a;
107
107
  if (!this.disabled) {
108
108
  this.checked = !this.checked;
109
109
  (_a = this.checkedChange) === null || _a === void 0 ? void 0 : _a.emit(this.checked);
110
110
  }
111
- } }, h("span", { key: 'cb3cf22d7d1f10a6bc996960fe68bbfe0065c68c', "data-state": this.checked ? 'checked' : 'unchecked', class: "slider" })));
111
+ } }, h("span", { key: 'bfe8fe82ec75ec1a703e900e2eed9b56590e1a6d', "data-state": this.checked ? 'checked' : 'unchecked', class: "slider" })));
112
112
  }
113
113
  };
114
114
  VerdocsSwitch.style = VerdocsSwitchStyle0;
@@ -135,6 +135,7 @@ const VerdocsEnvelopeSidebar = class {
135
135
  this.store = await getEnvelopeStore(this.endpoint, this.envelopeId, true);
136
136
  this.sortEnvelopeRecipients();
137
137
  this.loading = false;
138
+ this.panelOpen = false;
138
139
  (_a = this.envelopeUpdated) === null || _a === void 0 ? void 0 : _a.emit({ endpoint: this.endpoint, envelope: (_b = this.store) === null || _b === void 0 ? void 0 : _b.state, event: 'canceled' });
139
140
  })
140
141
  .catch(e => {
@@ -288,11 +289,10 @@ const VerdocsEnvelopeSidebar = class {
288
289
  this.updatingReminders = true;
289
290
  updateEnvelope(this.endpoint, this.envelopeId, { initial_reminder, followup_reminders })
290
291
  .then(envelope => {
291
- var _a, _b, _c, _d;
292
292
  console.log('Updated', envelope);
293
293
  updateStoreEnvelope(this.store, envelope);
294
- this.initialReminder = (_b = (_a = this.store) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.initial_reminder;
295
- this.followupReminders = (_d = (_c = this.store) === null || _c === void 0 ? void 0 : _c.state) === null || _d === void 0 ? void 0 : _d.followup_reminders;
294
+ this.initialReminder = envelope.initial_reminder;
295
+ this.followupReminders = envelope.followup_reminders;
296
296
  this.remindersEnabled = !!envelope.initial_reminder;
297
297
  this.updatingReminders = false;
298
298
  })
@@ -314,7 +314,6 @@ const VerdocsEnvelopeSidebar = class {
314
314
  const isEnvelopeOwner = userIsEnvelopeOwner(this.endpoint.profile, this.store.state);
315
315
  const historyEntries = this.prepareHistoryEntries();
316
316
  const functionsDisabled = ((_b = (_a = this.store) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.status) !== 'pending' && ((_d = (_c = this.store) === null || _c === void 0 ? void 0 : _c.state) === null || _d === void 0 ? void 0 : _d.status) !== 'in progress';
317
- console.log('re', this.remindersEnabled);
318
317
  return (h(Host, { class: this.panelOpen ? 'open' : '' }, h("div", { class: "side-buttons" }, h("button", { class: this.activeTab === 1 ? 'active' : '', onClick: () => this.setTab(1), innerHTML: InformationCircle }), h("button", { class: this.activeTab === 2 ? 'active' : '', onClick: () => this.setTab(2), innerHTML: Users }), h("button", { class: this.activeTab === 3 ? 'active' : '', onClick: () => this.setTab(3), innerHTML: ClipboardDocuments })), this.activeTab === 1 && (h("div", { class: "content" }, h("div", { class: "title" }, "Details"), h("div", { class: "label" }, "Envelope ID"), h("div", { class: "value" }, (_f = (_e = this.store) === null || _e === void 0 ? void 0 : _e.state) === null || _f === void 0 ? void 0 : _f.id), h("div", { class: "label" }, "Date Created"), h("div", { class: "value" }, dateFns.format(new Date((_h = (_g = this.store) === null || _g === void 0 ? void 0 : _g.state) === null || _h === void 0 ? void 0 : _h.created_at), FORMAT_TIMESTAMP)), h("div", { class: "label" }, "Last Modified"), h("div", { class: "value" }, dateFns.format(new Date((_k = (_j = this.store) === null || _j === void 0 ? void 0 : _j.state) === null || _k === void 0 ? void 0 : _k.updated_at), FORMAT_TIMESTAMP)), h("div", { class: "label" }, "Status"), h("div", { class: "value" }, capitalize((_m = (_l = this.store) === null || _l === void 0 ? void 0 : _l.state) === null || _m === void 0 ? void 0 : _m.status)), h("div", { class: "label" }, "Owner ID"), h("div", { class: "value" }, (_p = (_o = this.store) === null || _o === void 0 ? void 0 : _o.state) === null || _p === void 0 ? void 0 : _p.profile_id), h("div", { class: "label" }, "Owner Name"), h("div", { class: "value" }, formatFullName((_r = (_q = this.store) === null || _q === void 0 ? void 0 : _q.state) === null || _r === void 0 ? void 0 : _r.profile)), h("div", { class: "label" }, "Owner Email"), h("div", { class: "value" }, (_u = (_t = (_s = this.store) === null || _s === void 0 ? void 0 : _s.state) === null || _t === void 0 ? void 0 : _t.profile) === null || _u === void 0 ? void 0 : _u.email))), this.activeTab === 2 && (h("div", { class: "content" }, h("div", { class: "title" }, "Recipients"), (_w = (_v = this.store) === null || _v === void 0 ? void 0 : _v.state) === null || _w === void 0 ? void 0 :
319
318
  _w.recipients.map((recipient, index) => {
320
319
  const canGetInPersonLink = recipient.status !== 'submitted' && recipient.status !== 'canceled' && recipient.status !== 'declined';
@@ -327,10 +326,10 @@ const VerdocsEnvelopeSidebar = class {
327
326
  // TODO: Details dialog
328
327
  // {id:'details',label: 'View Details'},
329
328
  ] }))), h("dic", { class: "recipient-content" }, h("div", { class: "recipient-name" }, fullName), h("div", { class: "recipient-name" }, recipient.email), h("div", { class: "recipient-name" }, recipient.phone))));
330
- }), isEnvelopeOwner && (h("div", { class: "reminders" }, h("div", { class: "form-row" }, h("div", { class: "reminders-label" }, "Reminders"), h("verdocs-switch", { disabled: this.updatingReminders, checked: this.remindersEnabled, onCheckedChange: () => this.handleToggleReminders() })), this.remindersEnabled && (h(Fragment, null, h("div", { class: "form-row" }, h("div", { class: "form-label" }, "Initial Reminder:"), h("verdocs-text-input", { placeholder: "In hours...", disabled: this.updatingReminders, value: String(Math.floor(this.initialReminder / MS_PER_HOUR)), onBlur: (e) => {
329
+ }), isEnvelopeOwner && (h("div", { class: "reminders" }, h("div", { class: "form-row" }, h("div", { class: "reminders-label" }, "Reminders"), h("verdocs-switch", { disabled: functionsDisabled || this.updatingReminders, checked: this.remindersEnabled, onCheckedChange: () => this.handleToggleReminders() })), this.remindersEnabled && (h(Fragment, null, h("div", { class: "form-row" }, h("div", { class: "form-label" }, "Initial Reminder:"), h("verdocs-text-input", { placeholder: "In hours...", disabled: functionsDisabled || this.updatingReminders, value: String(Math.floor(this.initialReminder / MS_PER_HOUR)), onBlur: (e) => {
331
330
  this.initialReminder = Number(e.target.value) * MS_PER_HOUR;
332
331
  this.handleSetReminders(this.initialReminder, this.followupReminders);
333
- } })), h("div", { class: "form-row" }, h("div", { class: "form-label" }, "Follow-up Reminders:"), h("verdocs-text-input", { placeholder: "In hours...", disabled: this.updatingReminders, value: String(Math.floor(this.followupReminders / MS_PER_HOUR)), onBlur: (e) => {
332
+ } })), h("div", { class: "form-row" }, h("div", { class: "form-label" }, "Follow-up Reminders:"), h("verdocs-text-input", { placeholder: "In hours...", disabled: functionsDisabled || this.updatingReminders, value: String(Math.floor(this.followupReminders / MS_PER_HOUR)), onBlur: (e) => {
334
333
  this.followupReminders = Number(e.target.value) * MS_PER_HOUR;
335
334
  this.handleSetReminders(this.initialReminder, this.followupReminders);
336
335
  } })), h("div", { class: "form-row" }, h("div", { class: "form-label" }, "Next Reminder:"), h("div", { style: { color: '#dddddd' } }, dateFns.format(new Date((_y = (_x = this.store) === null || _x === void 0 ? void 0 : _x.state) === null || _y === void 0 ? void 0 : _y.next_reminder), 'P p'))))))), isEnvelopeOwner && (h("verdocs-button", { class: "manage-recipients-button", variant: "standard", label: "Cancel Envelope", onClick: () => (this.showCancelDialog = !functionsDisabled), disabled: functionsDisabled })))), this.activeTab === 3 && (h("div", { class: "content" }, h("div", { class: "title" }, "History"), historyEntries.map(entry => (h("div", { class: "history-entry" }, h("div", { class: "activity-icon", innerHTML: ActivityIcons[entry.icon] || entry.icon }), h("div", { class: "activity-details" }, h("div", { class: "activity-text" }, entry.message), h("div", { class: "activity-date" }, dateFns.format(entry.date, FORMAT_TIMESTAMP)))))))), this.showRecipientDialog && (h("verdocs-envelope-recipient-link", { envelopeId: this.envelopeId, roleName: this.showRecipientDialog, onNext: () => (this.showRecipientDialog = '') })), this.showCancelDialog && (h("verdocs-ok-dialog", { heading: "Cancel Envelope?", message: 'Are you sure you want to cancel this Envelope? This action cannot be undone.', onNext: () => {
@@ -196,18 +196,18 @@ const VerdocsEnvelopesList = class {
196
196
  });
197
197
  }
198
198
  render() {
199
- return (h(Host, { key: '7a00f20ae5c31b9a633d88c21762c3562876fe78' }, h("div", { key: 'a5124808b0ddd25db268f062e41895306dc29aaf', class: "header" }, h("div", { key: '1139d8453c19f0e80a7dccf3be06caf14080709f', class: "filter" }, h("verdocs-text-input", { key: '765d08809106e75b9a65aaf1c2dd231613d954d2', id: "verdocs-filter-name", value: this.match, clearable: true, autocomplete: "off", placeholder: "Filter by Name, Recipient, or Field...", onFocusout: (e) => {
199
+ return (h(Host, { key: '9f93a9c82a5dd9cac5d1457b59f27ac2a64e33c4' }, h("div", { key: 'e279d53d83511a338250d6d57e431a4662a2ac2f', class: "header" }, h("div", { key: '6dec54707d214be5b81711b2ebb9a069aabea3aa', class: "filter" }, h("verdocs-text-input", { key: 'f0f7a991581818cf3ae936b1f82004df68a90762', id: "verdocs-filter-name", value: this.match, clearable: true, autocomplete: "off", placeholder: "Filter by Name, Recipient, or Field...", onFocusout: (e) => {
200
200
  var _a;
201
201
  // We don't locally filter envelopes because there are too many fields to match against efficiently.
202
202
  this.match = e.target.value.trim();
203
203
  (_a = this.changeMatch) === null || _a === void 0 ? void 0 : _a.emit(this.match);
204
- } })), h("verdocs-quick-filter", { key: 'bd3ed994b57bfda8134ad9d98ceb92384c535074', label: "View", value: this.view, options: ViewFilters, onOptionSelected: e => {
204
+ } })), h("verdocs-quick-filter", { key: 'e05c6b326ae1ea63e642dd9c884fd1a10a294da5', label: "View", value: this.view, options: ViewFilters, onOptionSelected: e => {
205
205
  this.view = e.detail.value;
206
- } }), this.view === 'all' && (h("verdocs-quick-filter", { key: '472cc15ce0d48b0c71a280e150f854441e8c0548', label: "Status", value: this.status, options: StatusFilters, onOptionSelected: e => {
206
+ } }), this.view === 'all' && (h("verdocs-quick-filter", { key: '3caa255a74d88a9da45eca2f03522cf2b3c0e7ff', label: "Status", value: this.status, options: StatusFilters, onOptionSelected: e => {
207
207
  this.status = e.detail.value;
208
- } })), this.view === 'all' && (h("verdocs-quick-filter", { key: '8913c4ef0c4e5222d116e9baea54066d211e10c2', label: "Sort By", value: this.sort, options: SortFilters, onOptionSelected: e => {
208
+ } })), this.view === 'all' && (h("verdocs-quick-filter", { key: '3e36f81be8ad759c770e7261c41f5fdb0d3b371f', label: "Sort By", value: this.sort, options: SortFilters, onOptionSelected: e => {
209
209
  this.sort = e.detail.value;
210
- } })), this.loading && h("verdocs-spinner", { key: '191a574650de5061076f939b5ba0657d39dacda0', mode: "dark", size: 24 }), h("div", { key: 'dec432a7d53973a5a5152e1162af3d677af81e1a', style: { display: 'flex', flex: '1' } }), this.selectedEnvelopes.length > 0 && h("verdocs-button", { key: 'ae7f5be9813298b885b1aa0940c614e44af85d85', label: `Download (${this.selectedEnvelopes.length})`, onClick: () => this.handleDownload() })), this.envelopes.map(envelope => {
210
+ } })), this.loading && h("verdocs-spinner", { key: '441f2c0e3efeb105c61542c2e057c64720423082', mode: "dark", size: 24 }), h("div", { key: '80a6d1fad113d168bc68cabcf60d2e4517e6c2a1', style: { display: 'flex', flex: '1' } }), this.selectedEnvelopes.length > 0 && h("verdocs-button", { key: 'e02ed6005bbea2dc6c7687724e995c338df98d45', label: `Download (${this.selectedEnvelopes.length})`, onClick: () => this.handleDownload() })), this.envelopes.map(envelope => {
211
211
  var _a;
212
212
  const recipientsWithActions = getRecipientsWithActions(envelope);
213
213
  const userCanCancel = userCanCancelEnvelope(this.endpoint.profile, envelope);
@@ -248,7 +248,7 @@ const VerdocsEnvelopesList = class {
248
248
  break;
249
249
  }
250
250
  } }))));
251
- }), !this.initiallyLoaded && (h("div", { key: 'c897aa3a14659ce023811609d4e230806c29c470', style: { width: '100%' } }, integerSequence(0, this.rowsPerPage).map(() => (h("div", { class: "envelope-placeholder" }))))), this.initiallyLoaded && !this.envelopes.length && h("div", { key: 'ff60d1d2346009b459fa2ada94e7fdffe9e027e5', class: "empty-text" }, "No matching envelopes found. Please adjust your filters and try again."), this.initiallyLoaded && this.envelopes.length && this.showPagination ? (h("div", { style: { marginTop: '20px' } }, h("verdocs-pagination", { selectedPage: this.selectedPage, perPage: this.rowsPerPage, itemCount: this.count, onSelectPage: e => {
251
+ }), !this.initiallyLoaded && (h("div", { key: 'f35a7cf0c691d395bd03fc16e6819d773f234eec', style: { width: '100%' } }, integerSequence(0, this.rowsPerPage).map(() => (h("div", { class: "envelope-placeholder" }))))), this.initiallyLoaded && !this.envelopes.length && h("div", { key: '6002b381ea34731dedff4c790c63005071732659', class: "empty-text" }, "No matching envelopes found. Please adjust your filters and try again."), this.initiallyLoaded && this.envelopes.length && this.showPagination ? (h("div", { style: { marginTop: '20px' } }, h("verdocs-pagination", { selectedPage: this.selectedPage, perPage: this.rowsPerPage, itemCount: this.count, onSelectPage: e => {
252
252
  this.selectedPage = e.detail.selectedPage;
253
253
  } }))) : (h("div", null))));
254
254
  }
@@ -1140,7 +1140,7 @@ const VerdocsInitialDialog = class {
1140
1140
  }
1141
1141
  */
1142
1142
  render() {
1143
- return (h(Host, { key: '8d0116cf97848213877b5250d2b49e8da73f9d7a', onClick: e => this.handleCancel(e) }, h("div", { key: '81a12261f5eef48b00309756c685fae9993f613a', class: "dialog" }, h("div", { key: '91364e9ac8d4bbdd50dc201a323c9b34a1d5ddfc', class: "heading" }, "Create Your Initial"), h("div", { key: 'dea07efcc51b6b8530e2615f05bcd8024e6d2029', class: "content" }, h("verdocs-text-input", { key: '04ad40f6f734556849afa551ef9eb665d3b28c48', placeholder: "Initials...", label: "Initials", value: this.enteredInitials, onInput: e => this.handleNameChange(e) }), h("div", { key: 'c038a30e6355e58d428c5b0190868a536236dfb3', class: "as-shown" }, "As shown on driver's license or govt. ID card."), this.fontLoaded ? h("canvas", { ref: el => (this.canvasElement = el) }) : h("div", { style: { display: 'none' } }), h("div", { key: '22a8f81443052b8e0523f19161a9cf8671fe9f45', class: "disclaimer" }, "By clicking Adopt, I agree that the signature will be the electronic representation of my signature for all purposes when I (or my agent) use them on documents, including legally binding contracts \u2014 just the same as a pen-and-paper signature or initial."), h("div", { key: 'd6c53a1846c6d109d38d1977a452dcfbea1b7aeb', class: "buttons" }, h("verdocs-button", { key: '0c12b1bfd70a923564e77a7970472cc5cdcdf0e9', label: "CANCEL", variant: "outline", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '88ef91ffa75db664b822758f38143d5535b6803c', label: "Adopt & Sign", onClick: e => this.handleAdopt(e) }))))));
1143
+ return (h(Host, { key: 'b4b3d0cbe08bb7525e48c728b50f071d6c764c1b', onClick: e => this.handleCancel(e) }, h("div", { key: 'bfe9ca476892ec9e4d0826f02108d17ccdc7e52c', class: "dialog" }, h("div", { key: '0fe9deeafd7d0a1a23600b6ce78ecb0a2db68478', class: "heading" }, "Create Your Initial"), h("div", { key: '93ab94da31dce21b97bab3e3cd49d765626fca55', class: "content" }, h("verdocs-text-input", { key: '90f1c69e6b624aafeb734ab922971c261fd95099', placeholder: "Initials...", label: "Initials", value: this.enteredInitials, onInput: e => this.handleNameChange(e) }), h("div", { key: 'ea0d3a80d34a1259d7e5a28537b6c2532b446915', class: "as-shown" }, "As shown on driver's license or govt. ID card."), this.fontLoaded ? h("canvas", { ref: el => (this.canvasElement = el) }) : h("div", { style: { display: 'none' } }), h("div", { key: '018cc438201111ce05ccad82d7b6a5ecde225cd5', class: "disclaimer" }, "By clicking Adopt, I agree that the signature will be the electronic representation of my signature for all purposes when I (or my agent) use them on documents, including legally binding contracts \u2014 just the same as a pen-and-paper signature or initial."), h("div", { key: 'f6abe4ff08732e499e172a11e7bd0cb4411f80f9', class: "buttons" }, h("verdocs-button", { key: '090929f2e43bc9b1d779b5a2c5bc8f22fee9c8b5', label: "CANCEL", variant: "outline", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '0a7c7c576f63525ed268a6e8f11b7ab0ad7f7d5f', label: "Adopt & Sign", onClick: e => this.handleAdopt(e) }))))));
1144
1144
  }
1145
1145
  };
1146
1146
  VerdocsInitialDialog.style = VerdocsInitialDialogStyle0;
@@ -1361,7 +1361,7 @@ const VerdocsSignatureDialog = class {
1361
1361
  }
1362
1362
  */
1363
1363
  render() {
1364
- return (h(Host, { key: 'f034c340293126cce5febf238cbcbf69a5134253', onClick: e => this.handleCancel(e) }, h("div", { key: '800bc098a14e777918b3a35292d58d249fe646f9', class: "dialog" }, h("div", { key: 'b50d5c57b8c9ef980f9b146376cd32a68f8e302d', class: "heading" }, "Create Your Signature"), h("div", { key: '82ad4da15b63875bdb376a2e546c06d5fef1eb44', class: "content" }, h("verdocs-text-input", { key: '6df6805d9f761819b190e62a871e3580acce50e7', placeholder: "Full Name...", label: "Full Name", value: this.enteredName, onInput: e => this.handleNameChange(e), onClick: e => e.stopPropagation() }), h("div", { key: 'e471f1b5f703bcfc77326dbcb2ba2bc5499d27a6', class: "as-shown" }, "As shown on driver's license or govt. ID card."), this.fontLoaded ? h("canvas", { ref: el => (this.canvasElement = el) }) : h("div", { style: { display: 'none' } }), h("div", { key: 'eaeede6b4d7fa6087fbd49e79a427c36606acb8b', class: "disclaimer" }, "By clicking Adopt, I agree that the signature will be the electronic representation of my signature for all purposes when I (or my agent) use them on documents, including legally binding contracts \u2014 just the same as a pen-and-paper signature or initial."), h("div", { key: 'f20d4607c71a2a25589cf660aa9882b83b99baa8', class: "buttons" }, h("verdocs-button", { key: '59673617176d5a00809ee27d0015eb2c26b22ced', label: "CANCEL", size: "normal", variant: "outline", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: 'a27c2f2f68b4aa5291330bcbb5601da22c947e9a', label: "Adopt & Sign", size: "normal", onClick: e => this.handleAdopt(e) }))))));
1364
+ return (h(Host, { key: '53849e64803bef6eb9d350c0b74c31f85ae1d85d', onClick: e => this.handleCancel(e) }, h("div", { key: 'bbf1ac4498157388d44cc41c27dc2183eebaf990', class: "dialog" }, h("div", { key: '0b56bb436a6431af0b61effdffb31133437c12df', class: "heading" }, "Create Your Signature"), h("div", { key: 'a39e8a59f6744ba89ef321ba33dbabd1911fd225', class: "content" }, h("verdocs-text-input", { key: 'bc8d46fece7c7507fc506bd9dcc739eb848f54ea', placeholder: "Full Name...", label: "Full Name", value: this.enteredName, onInput: e => this.handleNameChange(e), onClick: e => e.stopPropagation() }), h("div", { key: '021334bb046539364e2c2c4d8797519a2e38dcb4', class: "as-shown" }, "As shown on driver's license or govt. ID card."), this.fontLoaded ? h("canvas", { ref: el => (this.canvasElement = el) }) : h("div", { style: { display: 'none' } }), h("div", { key: '455dcd5d4a651af7d5cb7375996c063a30ab5f89', class: "disclaimer" }, "By clicking Adopt, I agree that the signature will be the electronic representation of my signature for all purposes when I (or my agent) use them on documents, including legally binding contracts \u2014 just the same as a pen-and-paper signature or initial."), h("div", { key: '78c53b3d62310ce14ee4782f3ebb5bdc17b31fbb', class: "buttons" }, h("verdocs-button", { key: 'be2adff2be29e9fd4f22d2a5665d56330bbcbe09', label: "CANCEL", size: "normal", variant: "outline", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: 'e7eb8cbd63184fb567c86f6e2cb11e1afa6df036', label: "Adopt & Sign", size: "normal", onClick: e => this.handleAdopt(e) }))))));
1365
1365
  }
1366
1366
  };
1367
1367
  VerdocsSignatureDialog.style = VerdocsSignatureDialogStyle0;
@@ -1425,7 +1425,7 @@ const VerdocsUploadDialog = class {
1425
1425
  this.selectedFiles = Array.from((_a = this.fileInput) === null || _a === void 0 ? void 0 : _a.files);
1426
1426
  }
1427
1427
  render() {
1428
- return (h(Host, { key: '107df7d3d61af8fffdeeb2a5cd9664a283cf8176' }, h("div", { key: 'b44a837d42428a5c8b553ea57fdadb6ee62e9927', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: 'd13b0188f60e71d8ca32a5c5031753a9717f119d', class: "dialog" }, h("div", { key: '7dd24568bfdeed7241ef09f4cc539461564048af', class: "heading" }, "Upload attachment"), this.selectedFiles.length < 1 && this.existingFile && (h(Fragment, { key: '6b7197060ecf23a561518dfa1fe3087c11c7d596' }, h("div", { key: 'f2b801fea0cab95fc5ffd3d5cab5b6788dca7e3b', class: "current-label" }, "Current Attachment"), h("div", { key: '24db98920285515ff2d31e606440abeef1277600', class: "attachments", style: { marginTop: '0' } }, h("div", { key: 'a1432d1e8e914c4e2e251c258f97f20c457292d9', class: "attachment" }, h("div", { key: 'e13b9edaf726666e0ea466ad926e066747728bd9', class: "icon", innerHTML: PaperclipIcon }), h("div", { key: '4ad783ea0df4f711536a02d75d5bb4686e86ac06', class: "name" }, this.existingFile.name), h("div", { key: '555fd7f1e13b4dea753d6235c5acd3886912e19a', class: "icon trash", innerHTML: TrashIcon, onClick: () => this.handleDeleteAttachment() }))))), this.selectedFiles.length < 1 && (h("div", { key: 'ca6ee048c121ab6f1b2ac1348b60ebae299ab41a', class: { 'drop-target': true, 'dragging-over': this.draggingOver }, onDragOver: e => this.handleDragOver(e), onDragLeave: e => this.handleDragLeave(e), onDrop: e => this.handleDrop(e) }, h("p", { key: '77e92f537f2a984d3ec8a784d35ac08c2cf2274a' }, "Drag and drop a ", !!this.existingFile && 'replacement', " here..."), h("p", { key: '72500781ecae42d1249d9b380edec7866f84426f' }, "- or -"), h("verdocs-button", { key: '460e2e6f1629eca3d6f8c395dc33f1a01fb94fcb', label: !!this.existingFile ? 'Replace file...' : 'Select a file...', onClick: () => this.handleSelectFile() }), h("input", { key: 'e4b6ec3c30f11e448f05e21510a29dc52a217f9e', type: "file", ref: el => (this.fileInput = el), style: { display: 'none' }, onChange: () => this.handleFileChange() }))), this.selectedFiles.length > 0 && (h("div", { key: 'beddc71ea828d26528d185447a2ccf1d9111f14c', class: "attachments" }, this.selectedFiles.map((file, index) => (h("div", { class: "attachment" }, h("div", { class: "icon", innerHTML: PaperclipIcon }), h("div", { class: "name" }, file.name), h("div", { class: "icon trash", innerHTML: TrashIcon, onClick: () => this.handleRemoveAttachment(index) })))))), h("div", { key: '16be83d7135c299d3ab35b523611188a0f97edc2', class: "buttons" }, h("verdocs-button", { key: '8b72c9191865278d5f90ad6d61c0bb355ccbc441', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), h("verdocs-button", { key: 'f083700863c7839e521eaa8c36940e230e47b9d0', label: "Upload", onClick: () => this.handleDone(), disabled: this.selectedFiles.length < 1 }))))));
1428
+ return (h(Host, { key: '89846e6c89cb8fa7188545e455b98a5b2c99bec3' }, h("div", { key: 'd89b52c26561640dac6ff52ed37db33cdd26e6f9', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: 'd9a6d91ba3c4b0bc87a52ac57c5ff0131ecaba65', class: "dialog" }, h("div", { key: '2b781fd9b65028d14a38bdb88254840340cc7dfb', class: "heading" }, "Upload attachment"), this.selectedFiles.length < 1 && this.existingFile && (h(Fragment, { key: 'fc7b56c80302592ba276c6085ea1a44b09b80c98' }, h("div", { key: '7c31da25b44046d86df74e0caa4c377c7f91521c', class: "current-label" }, "Current Attachment"), h("div", { key: '993a194185ac803c0f55409d0942455656c48288', class: "attachments", style: { marginTop: '0' } }, h("div", { key: 'f73da1c66602b14150afef80c89a32d9061b22c5', class: "attachment" }, h("div", { key: '2715cf8bf9c31b51708d5165b5f4655ca7231540', class: "icon", innerHTML: PaperclipIcon }), h("div", { key: '1a14d15b1bd9dcfbb13f6189b13616ba141ba643', class: "name" }, this.existingFile.name), h("div", { key: '89f95545e497da2bb5f67b5318c61540f3fd2627', class: "icon trash", innerHTML: TrashIcon, onClick: () => this.handleDeleteAttachment() }))))), this.selectedFiles.length < 1 && (h("div", { key: 'cc59dcebfd0ebd6614f11bc4d40f36448f19eef6', class: { 'drop-target': true, 'dragging-over': this.draggingOver }, onDragOver: e => this.handleDragOver(e), onDragLeave: e => this.handleDragLeave(e), onDrop: e => this.handleDrop(e) }, h("p", { key: 'b615d9846d8b785e9e7e9ed93adc97a75ddfe381' }, "Drag and drop a ", !!this.existingFile && 'replacement', " here..."), h("p", { key: '228776a6174a936cbec81be7863586007a8b846a' }, "- or -"), h("verdocs-button", { key: 'a7142011ba18f6b004f1fd8b18afc044ea9d90fe', label: !!this.existingFile ? 'Replace file...' : 'Select a file...', onClick: () => this.handleSelectFile() }), h("input", { key: '82b8661d15cf281c38b2ea5d8e374786fb52c27b', type: "file", ref: el => (this.fileInput = el), style: { display: 'none' }, onChange: () => this.handleFileChange() }))), this.selectedFiles.length > 0 && (h("div", { key: 'b3f8495ed0faef35324745634b07bae41159bb24', class: "attachments" }, this.selectedFiles.map((file, index) => (h("div", { class: "attachment" }, h("div", { class: "icon", innerHTML: PaperclipIcon }), h("div", { class: "name" }, file.name), h("div", { class: "icon trash", innerHTML: TrashIcon, onClick: () => this.handleRemoveAttachment(index) })))))), h("div", { key: '404bd66083a86f2c964e8d6392ef01eab3854e91', class: "buttons" }, h("verdocs-button", { key: '97a0b6b4c4ae1cfa873b2d5f4addbb3676aba99b', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), h("verdocs-button", { key: '07dfd4a41d5d1be909baaf5678e231062fe70fc6', label: "Upload", onClick: () => this.handleDone(), disabled: this.selectedFiles.length < 1 }))))));
1429
1429
  }
1430
1430
  };
1431
1431
  VerdocsUploadDialog.style = VerdocsUploadDialogStyle0;
@@ -27,7 +27,7 @@ const VerdocsFileChooser = class {
27
27
  }
28
28
  render() {
29
29
  const buttonlabel = this.file ? 'Select a different file' : 'Select a file from your computer';
30
- return (h(Host, { key: '3c8755723e41e7878c0b11e8667ba7f3af70dc57' }, h("input", { key: 'a93020ee87c7bc31114899bc163f31d24da9f990', type: "file", multiple: true, id: "verdocs-file-chooser", accept: "application/pdf,.pdf,.doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document", style: { display: 'none' }, onChange: e => this.handleFileChanged(e) }), h("div", { key: '22ad1f874ee4d785bbc96d9124a8e569d795a66b', class: "upload-box" }, h("div", { key: '6e8d2fbf0e69381ca89b9cfa81fc160b2f7857d3', class: "selected-filename" }, this.file ? this.file.name : 'Drag a file here'), h("div", { key: '76712ca0fbb5ca76d923931c638991e89ced755e', class: "or-prefer" }, this.file ? unicodeNBSP : 'Or, if you prefer...'), h("verdocs-button", { key: 'f1c93ee91e36bc312c01ad9b8561948a642ba10f', label: buttonlabel, size: "small", onClick: e => this.handleSelectFile(e) }))));
30
+ return (h(Host, { key: '0c3558f72dd58ea3ef0ad544bf5af22c06cc718b' }, h("input", { key: 'b5e3de321c28757b542af4355bf9f7c62d072278', type: "file", multiple: true, id: "verdocs-file-chooser", accept: "application/pdf,.pdf,.doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document", style: { display: 'none' }, onChange: e => this.handleFileChanged(e) }), h("div", { key: '9f44b56b686f0f5f4aa1e3c3b4115f46701e3efb', class: "upload-box" }, h("div", { key: '6969c5457fc736f3b55740d3a155098201c8c52f', class: "selected-filename" }, this.file ? this.file.name : 'Drag a file here'), h("div", { key: 'c3f44d6183615a536ffb1ca00de59acc48e90c9b', class: "or-prefer" }, this.file ? unicodeNBSP : 'Or, if you prefer...'), h("verdocs-button", { key: 'a439787122e4410b7159bb49d943447cc5b22703', label: buttonlabel, size: "small", onClick: e => this.handleSelectFile(e) }))));
31
31
  }
32
32
  };
33
33
  VerdocsFileChooser.style = VerdocsFileChooserStyle0;
@@ -45,7 +45,7 @@ const VerdocsProgressBar = class {
45
45
  render() {
46
46
  const widthPercent = Math.ceil((100 * Math.min(this.percent, 100)) / 100);
47
47
  console.log('Rendering progress bar', { widthPercent, label: this.label, showPercent: this.showPercent, percent: this.percent });
48
- return (h(Host, { key: '26db36f7031e869a43d70fd159c7acd9872ae379' }, h("div", { key: '2fdb0235a24303c15edc3adb620c0c7ebc8d1291', class: "labels" }, this.label && h("div", { key: '6e9ae22da5da7bfa5daf25d310c3ec0f64d994ff', class: "label" }, this.label), this.showPercent && h("div", { key: 'f7d2a00f352199cd78d51e6003897bb000fbfeb5', class: "label" }, this.percent, "%")), h("div", { key: 'de9ef450a7dfc69b88c47491e07463804fa419b4', class: "bar" }, h("div", { key: '7adc0673eba1bbd7dd4f2227c5f508e3a8b87e4d', class: "slider", style: { width: `${widthPercent}%` } }))));
48
+ return (h(Host, { key: 'f5b270b4d31070d6d7598d91c7cab9491ce7da02' }, h("div", { key: '959d70844ab64312a18d01640694da9d60b02284', class: "labels" }, this.label && h("div", { key: '65e00ca8ea3d1d1ab61e10a9b0a1bbc909569e79', class: "label" }, this.label), this.showPercent && h("div", { key: 'aa70b80a8d78888b8e441220cdfa0ca1e8cfc154', class: "label" }, this.percent, "%")), h("div", { key: '0c5e40cc47f9380b3966466c0d179e71409c5b3c', class: "bar" }, h("div", { key: '8629db35c7da6c8e3d72bcecb4d2f1bdc118e68b', class: "slider", style: { width: `${widthPercent}%` } }))));
49
49
  }
50
50
  };
51
51
  VerdocsProgressBar.style = VerdocsProgressBarStyle0;
@@ -33,7 +33,7 @@ const VerdocsKbaDialog = class {
33
33
  this.next.emit(this.response);
34
34
  }
35
35
  render() {
36
- return (h(Host, { key: '9b857660b91b89f928049d3f85a66bc1e585105e' }, h("div", { key: '36ff0ab3351dff215a5abf4a1ff7356346747650', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '26003d02099b3f64660091ee1dc02b81e7b9ca13', class: "dialog" }, h("div", { key: '4fb9daa61b801da6eb5f096149b09d4e0b89f676', class: "heading" }, "Confirm Your Identity", this.steps > 1 ? (h("span", { class: "step" }, "(", this.step, "/", this.steps, ")")) : (h(Fragment, null))), !!this.helptitle && (h("div", { key: 'bfac2a1a7bb294e1b24eb17664bcdd65ce7c4a17', class: "help-box" }, h("div", { key: '434dd57cdcd743f612985866d0e16e6f1fd2b1e1', class: "help-icon", innerHTML: QuestionIcon }), h("div", { key: '661bfcc2e80d66dceae242251e0734af45e83185', class: "help-details" }, h("div", { key: '786b81135e2080d7881016221fe99d3a1ecff095', class: "help-title" }, this.helptitle), h("div", { key: '0b31cb58496e9665389399e6f426dc4266837af0', class: "help-text" }, this.helptext)))), this.mode === 'choice' ? (h("div", { class: "choices" }, this.choices.map(choice => (h("div", { class: `choice ${choice === this.response ? 'selected' : ''}`, onClick: () => (this.response = choice) }, choice))))) : (h("div", { class: "input" }, h("label", { htmlFor: "verdocs-kba-input" }, this.label), h("input", { type: "text", id: "verdocs-kba-input", name: "verdocs-kba-input", placeholder: this.placeholder, value: this.response, onInput: (e) => (this.response = e.target.value) }))), h("div", { key: 'a6752c1cbeb1a83cf1adbb2f634cc8bdf79ebb0a', class: "buttons" }, h("verdocs-button", { key: '1a2d7c28c34f7f6bfbc554b116b096617aa0b40e', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), h("verdocs-button", { key: 'fb1c40e5895a0644c904fac36b860aaf62eb7e95', label: "Done", onClick: () => this.handleDone(), disabled: !this.response }))))));
36
+ return (h(Host, { key: '97c855bc7ff5c4205ccc64d859d9b1787e0048a6' }, h("div", { key: 'f4dd12baf199d9c50e6ebbb02b7e26e6204a9669', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '051764b9306bc6f3d21221e3aa6d4e6cf104d0e1', class: "dialog" }, h("div", { key: '0f0ecc082f97975c92d7418a96e3689fea0a192b', class: "heading" }, "Confirm Your Identity", this.steps > 1 ? (h("span", { class: "step" }, "(", this.step, "/", this.steps, ")")) : (h(Fragment, null))), !!this.helptitle && (h("div", { key: 'f6d4e4db03fad13638f3980839210f8df886bd2c', class: "help-box" }, h("div", { key: 'c18a7aab25144f438da8cbacca4465e009ab6a02', class: "help-icon", innerHTML: QuestionIcon }), h("div", { key: '02e1dba0b4536b39a61fffea636a6e9c58fd40a8', class: "help-details" }, h("div", { key: '740bc221c448afc393b1007a4141ce4db2cf8008', class: "help-title" }, this.helptitle), h("div", { key: '767d5d0141c73e0621cfbe795fecb50637dc38cb', class: "help-text" }, this.helptext)))), this.mode === 'choice' ? (h("div", { class: "choices" }, this.choices.map(choice => (h("div", { class: `choice ${choice === this.response ? 'selected' : ''}`, onClick: () => (this.response = choice) }, choice))))) : (h("div", { class: "input" }, h("label", { htmlFor: "verdocs-kba-input" }, this.label), h("input", { type: "text", id: "verdocs-kba-input", name: "verdocs-kba-input", placeholder: this.placeholder, value: this.response, onInput: (e) => (this.response = e.target.value) }))), h("div", { key: 'f6e90196e71c9931613622d0879eeb4bc4877792', class: "buttons" }, h("verdocs-button", { key: '269ea8b9020ab81d9234c0d1b8151a459d84f37d', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), h("verdocs-button", { key: '8b8c437cc11e3f5fcdbb5f0b5faa1c60daee21cb', label: "Done", onClick: () => this.handleDone(), disabled: !this.response }))))));
37
37
  }
38
38
  };
39
39
  VerdocsKbaDialog.style = VerdocsKbaDialogStyle0;
@@ -8,7 +8,7 @@ const VerdocsLoader = class {
8
8
  registerInstance(this, hostRef);
9
9
  }
10
10
  render() {
11
- return h(Host, { key: 'e62911490bdee24308a18ef52651393469dd6e5b' });
11
+ return h(Host, { key: 'ecc15b6b91fd03110eb3fab80efc3b0d761a98fd' });
12
12
  }
13
13
  };
14
14
  VerdocsLoader.style = VerdocsLoaderStyle0;
@@ -29,7 +29,7 @@ const VerdocsOkDialog = class {
29
29
  }
30
30
  }
31
31
  render() {
32
- return (h(Host, { key: '1077eb562a8fd6bb9b1771d00e3d6bf37682dc68', class: this.closed ? 'closed' : '' }, h("div", { key: '370c8176f1be6c1b7ff44c9ac6d30c162f2c5b10', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: 'e502d4a7fc18fd0bee04ff9679ed345bc5aa93da', class: "dialog" }, h("div", { key: '826089d49b624246e909ff4437bf3d5bd8d8e5d8', class: "heading" }, this.heading), h("div", { key: '8aae0a35156334f6e052d0119d8398c64a627869', class: "content" }, h("div", { key: 'e4740cd967c231c03ffcf37b3c94c474b2760c97', class: "message", innerHTML: this.message }), h("div", { key: 'e0c1419acf0367f2342f8cf7325a5cde7922ac7e', class: "buttons" }, this.showCancel ? h("verdocs-button", { label: "CANCEL", variant: "outline", onClick: () => this.handleCancel() }) : h("div", { style: { display: 'none' } }), h("verdocs-button", { key: '0aaa059fe1071f45f2497963c820e8ab0d74fddd', label: this.buttonLabel, onClick: () => this.handleOk() })))))));
32
+ return (h(Host, { key: '16757775ee3a09054e3653fb7d12873fc0758e7a', class: this.closed ? 'closed' : '' }, h("div", { key: 'd3f240bbccce82dd4f3e769100ca17612637a0d5', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: 'ec4348a8efc1c95d3df2915ce6e6f4e72c3a6824', class: "dialog" }, h("div", { key: '82b2c477f4eb03c847744f4b1be829909fb286a0', class: "heading" }, this.heading), h("div", { key: 'bdf0962a46f2f9e1b0b8e3d3ec433f1cdc532dff', class: "content" }, h("div", { key: '2adfa55833f384622d4e98496d91786fa9c934e1', class: "message", innerHTML: this.message }), h("div", { key: '89619686b2eefbbb465fa6a86a9da9e360034a9e', class: "buttons" }, this.showCancel ? h("verdocs-button", { label: "CANCEL", variant: "outline", onClick: () => this.handleCancel() }) : h("div", { style: { display: 'none' } }), h("verdocs-button", { key: 'dc298822a062b5687a22cc56adea8b3b202758ad', label: this.buttonLabel, onClick: () => this.handleOk() })))))));
33
33
  }
34
34
  };
35
35
  VerdocsOkDialog.style = VerdocsOkDialogStyle0;
@@ -16085,7 +16085,7 @@ const VerdocsOrganizationCard = class {
16085
16085
  console.log('Rendering org card', this.organization.thumbnail_url, this.organization);
16086
16086
  const fallbackIcon = BusinessIcon;
16087
16087
  const portalId = `verdocs-org-card-${this.organization.id}`;
16088
- return (h(Host, { key: '2d1a8c0b8be06ec11e8d3f54b94e9c5f45ecbdf2', id: portalId }, this.organization.thumbnail_url ? h("img", { class: "icon", src: this.organization.thumbnail_url, alt: "Logo" }) : h("span", { class: "icon", innerHTML: fallbackIcon }), h("span", { key: '7a5984b3e888d5f5f31d557276aa88ddd0578d9d', class: "content" }, (_a = this.organization) === null || _a === void 0 ? void 0 : _a.name), h("verdocs-portal", { key: '4edbb7c0add1ef329c3892bfe0457b74137c5249', anchor: portalId }, h("div", { key: 'ea1356877ef8e4be7ecd405c882131d6a85373a4', class: "verdocs-org-card-popup", style: { display: this.hovered ? 'block' : 'none' } }, this.organization.full_logo_url ? (h("div", { class: "popup-header-with-logo" }, h("img", { src: this.organization.full_logo_url, alt: "Logo" }), h("div", { class: "title" }, (_b = this.organization) === null || _b === void 0 ? void 0 : _b.name))) : (h("div", { class: "popup-header" }, h("span", { class: "status" }, h("span", { class: "icon", innerHTML: fallbackIcon })), h("span", { class: "title" }, (_c = this.organization) === null || _c === void 0 ? void 0 : _c.name))), h("div", { key: '9b5d314f138922acb826652f41b384c2b29f0df1', class: "popup-body" }, h("div", { key: '625520444f54f9433e882a14a58932eb4a78676f', class: "field" }, h("strong", { key: '5a5d0fa10a4d843997e0555d57b165aeec7495aa' }, "Joined"), dateFns.format(new Date(((_d = this.organization) === null || _d === void 0 ? void 0 : _d.created_at) || undefined), 'LLL d, Y')), this.organization.url && (h("div", { key: '3f5e5d5e5fd863743fc3ac20ef855ccbea8be63d', class: "field" }, h("strong", { key: 'ab2e95fd59304dda6ac5190ea9421c6429e46814' }, "Website"), h("a", { key: 'd06cff21c159e9c1b7d051e762f2687ae2a94b7b', href: (_e = this.organization) === null || _e === void 0 ? void 0 : _e.url, target: "_blank", rel: "nofollow" }, (_f = this.organization) === null || _f === void 0 ? void 0 : _f.url))))))));
16088
+ return (h(Host, { key: '81c347094d25f79e7cbd465558e27f52835807a3', id: portalId }, this.organization.thumbnail_url ? h("img", { class: "icon", src: this.organization.thumbnail_url, alt: "Logo" }) : h("span", { class: "icon", innerHTML: fallbackIcon }), h("span", { key: '7b02e94b67fc412ceea17cfedfe3bb2054231fba', class: "content" }, (_a = this.organization) === null || _a === void 0 ? void 0 : _a.name), h("verdocs-portal", { key: '00473dd8e408a31a58933e4ed82b5396f8cb41fa', anchor: portalId }, h("div", { key: 'f0eaa925cfa29bcfcf6340b99494636d8f2ab59d', class: "verdocs-org-card-popup", style: { display: this.hovered ? 'block' : 'none' } }, this.organization.full_logo_url ? (h("div", { class: "popup-header-with-logo" }, h("img", { src: this.organization.full_logo_url, alt: "Logo" }), h("div", { class: "title" }, (_b = this.organization) === null || _b === void 0 ? void 0 : _b.name))) : (h("div", { class: "popup-header" }, h("span", { class: "status" }, h("span", { class: "icon", innerHTML: fallbackIcon })), h("span", { class: "title" }, (_c = this.organization) === null || _c === void 0 ? void 0 : _c.name))), h("div", { key: '7b5d4427ba94087e504dd4b14884c9d4427fab0d', class: "popup-body" }, h("div", { key: 'bb4da149b3c9e1d14534ccb13fefe9f989ae2184', class: "field" }, h("strong", { key: '3f819b7faa7fbdd2d38a5b33ce31659cffe48af1' }, "Joined"), dateFns.format(new Date(((_d = this.organization) === null || _d === void 0 ? void 0 : _d.created_at) || undefined), 'LLL d, Y')), this.organization.url && (h("div", { key: '7581d309f46c46133eb7632a77d1330122c6725d', class: "field" }, h("strong", { key: '420c6434901556dc36af814976063a0772717e69' }, "Website"), h("a", { key: 'f12a8e81cfd4d1d25da3f244ddd74834caaea3fd', href: (_e = this.organization) === null || _e === void 0 ? void 0 : _e.url, target: "_blank", rel: "nofollow" }, (_f = this.organization) === null || _f === void 0 ? void 0 : _f.url))))))));
16089
16089
  }
16090
16090
  };
16091
16091
  VerdocsOrganizationCard.style = VerdocsOrganizationCardStyle0;
@@ -16165,7 +16165,7 @@ const VerdocsPortal = class {
16165
16165
  this.moved ? this.portal.remove() : (this.moved = true);
16166
16166
  }
16167
16167
  render() {
16168
- return (h(Host, { key: 'a69b388835d23116fdab01d461c2a6c6c1cd3dd8', ref: el => (this.element = el) }, h("slot", { key: '93b7a1bfae1c721b85291270aabf1953cb5d72ea' })));
16168
+ return (h(Host, { key: 'f0d0b63ad69959ddb3a130bc5d0c02ce62856e71', ref: el => (this.element = el) }, h("slot", { key: '1aa260893876a7273ee7a1b7e3de2dde2fe71423' })));
16169
16169
  }
16170
16170
  };
16171
16171
  VerdocsPortal.style = VerdocsPortalStyle0;
@@ -42,7 +42,7 @@ const VerdocsQuickFilter$1 = class {
42
42
  const firstPage = Math.max(0, this.selectedPage - 2);
43
43
  const numPages = this.itemCount > 0 ? Math.ceil(this.itemCount / this.perPage) : 0;
44
44
  const pagesToDisplay = integerSequence(0, Math.ceil(this.itemCount / this.perPage)).slice(firstPage, firstPage + VISIBLE_PAGES);
45
- return (h(Host, { key: '7f48438c1719d818a477d05970c83b71d1bfb46b' }, this.selectedPage > 0 && h(PageButton, { key: '04d4a5306146aa3e1e15a429f91030a423d74620', page: 'first', selected: this.selectedPage, onClick: () => this.handleSelectPage(0) }), firstPage > 0 && h("div", { key: '4cd4b28c503989aa2ae9af13c1cec3a5819cd19c', class: "ellipsis" }, "..."), pagesToDisplay.map(pageNumber => (h(PageButton, { page: pageNumber, selected: this.selectedPage, onClick: page => this.handleSelectPage(+page) }))), this.selectedPage < numPages - 1 && h("div", { key: '7aeadf3f795bb8d22911de8a897687a7d75b43d3', class: "ellipsis" }, "..."), this.selectedPage < numPages - 1 && h(PageButton, { key: '5c886e32ea166539d84c24f33446337afc462ee6', page: 'last', selected: this.selectedPage, onClick: () => this.handleSelectPage(numPages - 1) })));
45
+ return (h(Host, { key: '76b8efa60199ca3a9244b68222762252e728d85b' }, this.selectedPage > 0 && h(PageButton, { key: '3e7981803c1efe32b97f9dee6e489e59a531e523', page: 'first', selected: this.selectedPage, onClick: () => this.handleSelectPage(0) }), firstPage > 0 && h("div", { key: '7af4e7b148e7ec4f49b3fa141177282f5d6c9d86', class: "ellipsis" }, "..."), pagesToDisplay.map(pageNumber => (h(PageButton, { page: pageNumber, selected: this.selectedPage, onClick: page => this.handleSelectPage(+page) }))), this.selectedPage < numPages - 1 && h("div", { key: '691efdf123b7c6d73e0ed54c1f1248b504becd2b', class: "ellipsis" }, "..."), this.selectedPage < numPages - 1 && h(PageButton, { key: 'a713867ccc6963e1193ecb8e04a934bc7a4d69d9', page: 'last', selected: this.selectedPage, onClick: () => this.handleSelectPage(numPages - 1) })));
46
46
  }
47
47
  get el() { return getElement(this); }
48
48
  };
@@ -130,7 +130,7 @@ const VerdocsQuickFilter = class {
130
130
  const longestLabelWidth = renderedTextWidth((longestOption === null || longestOption === void 0 ? void 0 : longestOption.label) || 'FILLER', '14px Inter, Barlow, sans-serif');
131
131
  const prefixWidth = renderedTextWidth(this.label, '14px Inter, Barlow, sans-serif');
132
132
  const minWidth = `${longestLabelWidth + prefixWidth + 40}px`;
133
- return (h(Host, { key: 'b77a669e01ef8634d3fb5600146e95bcd58a5bf6', class: { open: !!this.open }, style: { minWidth, display: 'inline-block' } }, h("div", { key: 'e0eeab46c9f243ef7a189c7fdef267d8f3980625', class: "control", onClick: e => this.toggleDropdown(e), onBlur: e => this.handleHideDropdown(e) }, h("div", { key: '7494c30a6c5120d2617b239fb5114ddd6d338704', class: "title", ref: el => (this.dropdownButton = el) }, h("span", { key: '4861fef690eb5cd981a895337b81cd715cd8af1b', class: "prefix" }, this.label, ":"), selectedOption ? selectedOption.label : this.placeholder), h("div", { key: 'a4d2d8b76735232cde5ba1c659b83be452f919f3', style: { flex: '1' } }), h("div", { key: '9f8933c5343f8e188ec25447f9b19d3cb8b781ae', class: "separator" }), h("div", { key: 'e66a6fd2dd00cebb3f91e6e8269a68b1f21b5719', class: "arrow", innerHTML: DropdownArrow, "aria-label": "Open Menu" })), h("div", { key: '84ebf56cc3ddb543dd43e818c9571230353cc313', class: "items", "aria-hidden": !this.open, ref: el => (this.dropdownMenu = el), style: { minWidth } }, (_c = this.options) === null || _c === void 0 ? void 0 : _c.map(option => option.label ? (h("button", { onClick: e => this.handleSelectOption(e, option), class: `option ${option.value === this.value ? 'selected' : ''}`, disabled: option.disabled }, option.label)) : (h("div", { class: "separator" }))))));
133
+ return (h(Host, { key: '15c11ee382f7a5c01679113f6950c7037c0e4d3e', class: { open: !!this.open }, style: { minWidth, display: 'inline-block' } }, h("div", { key: 'afc86ba48459d97f446db3e10671f593b2f53511', class: "control", onClick: e => this.toggleDropdown(e), onBlur: e => this.handleHideDropdown(e) }, h("div", { key: 'e0f2b560e99ffe51c10e4fe9bb2e8458ff65643a', class: "title", ref: el => (this.dropdownButton = el) }, h("span", { key: '4a5d4b6d2ad22f17b80290daaafee5f505274b3b', class: "prefix" }, this.label, ":"), selectedOption ? selectedOption.label : this.placeholder), h("div", { key: 'd1599fbca5b7691b65ae2b0d1fd4d76c802ba9ca', style: { flex: '1' } }), h("div", { key: '5d2aba322cf7168780a38b315b485298cbb78ea1', class: "separator" }), h("div", { key: 'a1011166d7d9216d6c9ef8edc3712c4e571af611', class: "arrow", innerHTML: DropdownArrow, "aria-label": "Open Menu" })), h("div", { key: 'a398d1f60135c4d48bb32024cca13f23bcae7cca', class: "items", "aria-hidden": !this.open, ref: el => (this.dropdownMenu = el), style: { minWidth } }, (_c = this.options) === null || _c === void 0 ? void 0 : _c.map(option => option.label ? (h("button", { onClick: e => this.handleSelectOption(e, option), class: `option ${option.value === this.value ? 'selected' : ''}`, disabled: option.disabled }, option.label)) : (h("div", { class: "separator" }))))));
134
134
  }
135
135
  get el() { return getElement(this); }
136
136
  };
@@ -20,7 +20,7 @@ const VerdocsQuickFunctions = class {
20
20
  this.createDocument.emit();
21
21
  }
22
22
  render() {
23
- return (h("div", { key: '427a4bfc1c41a292ed25c46ea29f770b6207fecf', class: "container" }, h("p", { key: 'e2e0e046e25b1cc9ee2c9920d33f52a37a703c8b', class: "title" }, "Quick Create"), h("button", { key: '4fd375e82e13f7aeac71d046c065297089805db6', onClick: () => this.handleCreateTemplate(), innerHTML: TemplateIcon }, "Template"), h("button", { key: '4f725f16085dc64adb11ec1efb45433984927b84', onClick: () => this.handleCreateDocument(), innerHTML: DocumentIcon }, "Document")));
23
+ return (h("div", { key: '7b09da81f9fb67b87e43b00d58230a34ebb95338', class: "container" }, h("p", { key: 'ebb90f14c24ca9764e537931e37b6274019294a4', class: "title" }, "Quick Create"), h("button", { key: '4dc154c1704c20671a0f2ffc1edb5690505ce67f', onClick: () => this.handleCreateTemplate(), innerHTML: TemplateIcon }, "Template"), h("button", { key: '10f9d0350822800a7ed6c1f2bb76c364f9d83110', onClick: () => this.handleCreateDocument(), innerHTML: DocumentIcon }, "Document")));
24
24
  }
25
25
  };
26
26
  VerdocsQuickFunctions.style = VerdocsQuickFunctionsStyle0;