@verdocs/web-sdk 4.2.101 → 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 (240) 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 -7
  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 +2 -2
  9. package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +6 -6
  10. package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js +3 -3
  11. package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +2 -2
  12. package/dist/cjs/verdocs-kba-dialog.cjs.entry.js +1 -1
  13. package/dist/cjs/verdocs-loader.cjs.entry.js +1 -1
  14. package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +1 -1
  15. package/dist/cjs/verdocs-organization-card_2.cjs.entry.js +2 -2
  16. package/dist/cjs/verdocs-pagination_2.cjs.entry.js +2 -2
  17. package/dist/cjs/verdocs-quick-functions.cjs.entry.js +1 -1
  18. package/dist/cjs/verdocs-radio-button_3.cjs.entry.js +10 -10
  19. package/dist/cjs/verdocs-search-box.cjs.entry.js +1 -1
  20. package/dist/cjs/verdocs-search-tabs.cjs.entry.js +1 -1
  21. package/dist/cjs/verdocs-spinner.cjs.entry.js +1 -1
  22. package/dist/cjs/verdocs-status-indicator.cjs.entry.js +2 -2
  23. package/dist/cjs/verdocs-table.cjs.entry.js +2 -2
  24. package/dist/cjs/verdocs-template-card.cjs.entry.js +1 -1
  25. package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +2 -2
  26. package/dist/cjs/verdocs-template-star.cjs.entry.js +1 -1
  27. package/dist/cjs/verdocs-template-tags.cjs.entry.js +1 -1
  28. package/dist/cjs/verdocs-templates-list.cjs.entry.js +7 -7
  29. package/dist/cjs/verdocs-toggle.cjs.entry.js +1 -1
  30. package/dist/collection/components/controls/verdocs-button/verdocs-button.js +1 -1
  31. package/dist/collection/components/controls/verdocs-button-panel/verdocs-button-panel.js +2 -2
  32. package/dist/collection/components/controls/verdocs-checkbox/verdocs-checkbox.js +1 -1
  33. package/dist/collection/components/controls/verdocs-component-error/verdocs-component-error.js +1 -1
  34. package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.js +1 -1
  35. package/dist/collection/components/controls/verdocs-file-chooser/verdocs-file-chooser.js +1 -1
  36. package/dist/collection/components/controls/verdocs-help-icon/verdocs-help-icon.js +1 -1
  37. package/dist/collection/components/controls/verdocs-loader/verdocs-loader.js +1 -1
  38. package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.js +1 -1
  39. package/dist/collection/components/controls/verdocs-pagination/verdocs-pagination.js +1 -1
  40. package/dist/collection/components/controls/verdocs-portal/verdocs-portal.js +1 -1
  41. package/dist/collection/components/controls/verdocs-progress-bar/verdocs-progress-bar.js +1 -1
  42. package/dist/collection/components/controls/verdocs-quick-filter/verdocs-quick-filter.js +1 -1
  43. package/dist/collection/components/controls/verdocs-radio-button/verdocs-radio-button.js +1 -1
  44. package/dist/collection/components/controls/verdocs-select-input/verdocs-select-input.js +1 -1
  45. package/dist/collection/components/controls/verdocs-spinner/verdocs-spinner.js +1 -1
  46. package/dist/collection/components/controls/verdocs-switch/verdocs-switch.js +2 -2
  47. package/dist/collection/components/controls/verdocs-table/verdocs-table.js +2 -2
  48. package/dist/collection/components/controls/verdocs-tabs/verdocs-tabs.js +1 -1
  49. package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.js +3 -3
  50. package/dist/collection/components/controls/verdocs-toggle/verdocs-toggle.js +1 -1
  51. package/dist/collection/components/controls/verdocs-toggle-button/verdocs-toggle-button.js +1 -1
  52. package/dist/collection/components/controls/verdocs-toolbar-icon/verdocs-toolbar-icon.js +1 -1
  53. package/dist/collection/components/dialogs/verdocs-dialog/verdocs-dialog.js +1 -1
  54. package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js +1 -1
  55. package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.js +1 -1
  56. package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js +1 -1
  57. package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js +1 -1
  58. package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js +1 -1
  59. package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js +1 -1
  60. package/dist/collection/components/elements/verdocs-search-box/verdocs-search-box.js +1 -1
  61. package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js +1 -1
  62. package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.css +32 -13
  63. package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js +8 -8
  64. package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -1
  65. package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +6 -6
  66. package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +2 -2
  67. package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.js +1 -1
  68. package/dist/collection/components/templates/verdocs-template-document-page/verdocs-template-document-page.js +1 -1
  69. package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +8 -8
  70. package/dist/collection/components/templates/verdocs-template-sender/verdocs-template-sender.js +1 -1
  71. package/dist/collection/components/templates/verdocs-template-star/verdocs-template-star.js +1 -1
  72. package/dist/collection/components/templates/verdocs-template-tags/verdocs-template-tags.js +1 -1
  73. package/dist/collection/components/templates/verdocs-templates-list/verdocs-templates-list.js +7 -7
  74. package/dist/components/verdocs-button-panel2.js +2 -2
  75. package/dist/components/verdocs-button2.js +1 -1
  76. package/dist/components/verdocs-checkbox2.js +1 -1
  77. package/dist/components/verdocs-component-error2.js +1 -1
  78. package/dist/components/verdocs-contact-picker2.js +7 -7
  79. package/dist/components/verdocs-dialog.js +1 -1
  80. package/dist/components/verdocs-dropdown2.js +1 -1
  81. package/dist/components/verdocs-envelope-document-page2.js +1 -1
  82. package/dist/components/verdocs-envelopes-list.js +6 -6
  83. package/dist/components/verdocs-file-chooser2.js +1 -1
  84. package/dist/components/verdocs-help-icon2.js +1 -1
  85. package/dist/components/verdocs-initial-dialog2.js +1 -1
  86. package/dist/components/verdocs-kba-dialog.js +1 -1
  87. package/dist/components/verdocs-loader2.js +1 -1
  88. package/dist/components/verdocs-ok-dialog2.js +1 -1
  89. package/dist/components/verdocs-organization-card.js +1 -1
  90. package/dist/components/verdocs-pagination2.js +1 -1
  91. package/dist/components/verdocs-portal2.js +1 -1
  92. package/dist/components/verdocs-progress-bar2.js +1 -1
  93. package/dist/components/verdocs-quick-filter2.js +1 -1
  94. package/dist/components/verdocs-quick-functions.js +1 -1
  95. package/dist/components/verdocs-radio-button2.js +1 -1
  96. package/dist/components/verdocs-search-box.js +1 -1
  97. package/dist/components/verdocs-search-tabs.js +1 -1
  98. package/dist/components/verdocs-select-input2.js +1 -1
  99. package/dist/components/verdocs-signature-dialog2.js +1 -1
  100. package/dist/components/verdocs-spinner2.js +1 -1
  101. package/dist/components/verdocs-status-indicator2.js +2 -2
  102. package/dist/components/verdocs-switch2.js +2 -2
  103. package/dist/components/verdocs-table.js +2 -2
  104. package/dist/components/verdocs-tabs2.js +1 -1
  105. package/dist/components/verdocs-template-card.js +1 -1
  106. package/dist/components/verdocs-template-document-page2.js +1 -1
  107. package/dist/components/verdocs-template-role-properties2.js +8 -8
  108. package/dist/components/verdocs-template-sender2.js +1 -1
  109. package/dist/components/verdocs-template-star2.js +1 -1
  110. package/dist/components/verdocs-template-tags.js +1 -1
  111. package/dist/components/verdocs-templates-list.js +7 -7
  112. package/dist/components/verdocs-text-input2.js +3 -3
  113. package/dist/components/verdocs-toggle-button2.js +1 -1
  114. package/dist/components/verdocs-toggle.js +1 -1
  115. package/dist/components/verdocs-toolbar-icon2.js +1 -1
  116. package/dist/components/verdocs-upload-dialog2.js +1 -1
  117. package/dist/esm/verdocs-button-panel_2.entry.js +3 -3
  118. package/dist/esm/verdocs-button_3.entry.js +5 -5
  119. package/dist/esm/verdocs-checkbox_4.entry.js +3 -3
  120. package/dist/esm/verdocs-contact-picker_2.entry.js +8 -8
  121. package/dist/esm/verdocs-dialog.entry.js +1 -1
  122. package/dist/esm/verdocs-dropdown.entry.js +1 -1
  123. package/dist/esm/verdocs-envelope-document-page.entry.js +1 -1
  124. package/dist/esm/verdocs-envelope-recipient-link_2.entry.js +2 -2
  125. package/dist/esm/verdocs-envelopes-list.entry.js +6 -6
  126. package/dist/esm/verdocs-field-attachment_13.entry.js +3 -3
  127. package/dist/esm/verdocs-file-chooser_2.entry.js +2 -2
  128. package/dist/esm/verdocs-kba-dialog.entry.js +1 -1
  129. package/dist/esm/verdocs-loader.entry.js +1 -1
  130. package/dist/esm/verdocs-ok-dialog.entry.js +1 -1
  131. package/dist/esm/verdocs-organization-card_2.entry.js +2 -2
  132. package/dist/esm/verdocs-pagination_2.entry.js +2 -2
  133. package/dist/esm/verdocs-quick-functions.entry.js +1 -1
  134. package/dist/esm/verdocs-radio-button_3.entry.js +10 -10
  135. package/dist/esm/verdocs-search-box.entry.js +1 -1
  136. package/dist/esm/verdocs-search-tabs.entry.js +1 -1
  137. package/dist/esm/verdocs-spinner.entry.js +1 -1
  138. package/dist/esm/verdocs-status-indicator.entry.js +2 -2
  139. package/dist/esm/verdocs-table.entry.js +2 -2
  140. package/dist/esm/verdocs-template-card.entry.js +1 -1
  141. package/dist/esm/verdocs-template-document-page_2.entry.js +2 -2
  142. package/dist/esm/verdocs-template-star.entry.js +1 -1
  143. package/dist/esm/verdocs-template-tags.entry.js +1 -1
  144. package/dist/esm/verdocs-templates-list.entry.js +7 -7
  145. package/dist/esm/verdocs-toggle.entry.js +1 -1
  146. package/dist/esm-es5/verdocs-button-panel_2.entry.js +1 -1
  147. package/dist/esm-es5/verdocs-button_3.entry.js +1 -1
  148. package/dist/esm-es5/verdocs-checkbox_4.entry.js +1 -1
  149. package/dist/esm-es5/verdocs-contact-picker_2.entry.js +1 -1
  150. package/dist/esm-es5/verdocs-dialog.entry.js +1 -1
  151. package/dist/esm-es5/verdocs-dropdown.entry.js +1 -1
  152. package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
  153. package/dist/esm-es5/verdocs-envelope-recipient-link_2.entry.js +1 -1
  154. package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
  155. package/dist/esm-es5/verdocs-field-attachment_13.entry.js +1 -1
  156. package/dist/esm-es5/verdocs-file-chooser_2.entry.js +1 -1
  157. package/dist/esm-es5/verdocs-kba-dialog.entry.js +1 -1
  158. package/dist/esm-es5/verdocs-loader.entry.js +1 -1
  159. package/dist/esm-es5/verdocs-ok-dialog.entry.js +1 -1
  160. package/dist/esm-es5/verdocs-organization-card_2.entry.js +1 -1
  161. package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
  162. package/dist/esm-es5/verdocs-quick-functions.entry.js +1 -1
  163. package/dist/esm-es5/verdocs-radio-button_3.entry.js +1 -1
  164. package/dist/esm-es5/verdocs-search-box.entry.js +1 -1
  165. package/dist/esm-es5/verdocs-search-tabs.entry.js +1 -1
  166. package/dist/esm-es5/verdocs-spinner.entry.js +1 -1
  167. package/dist/esm-es5/verdocs-status-indicator.entry.js +1 -1
  168. package/dist/esm-es5/verdocs-table.entry.js +1 -1
  169. package/dist/esm-es5/verdocs-template-card.entry.js +1 -1
  170. package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -1
  171. package/dist/esm-es5/verdocs-template-star.entry.js +1 -1
  172. package/dist/esm-es5/verdocs-template-tags.entry.js +1 -1
  173. package/dist/esm-es5/verdocs-templates-list.entry.js +1 -1
  174. package/dist/esm-es5/verdocs-toggle.entry.js +1 -1
  175. package/dist/types/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.d.ts +2 -2
  176. package/dist/types/components.d.ts +8 -8
  177. package/dist/verdocs-web-sdk/p-0226144d.system.entry.js +1 -0
  178. package/dist/verdocs-web-sdk/{p-17930b47.system.entry.js → p-0625743b.system.entry.js} +1 -1
  179. package/dist/verdocs-web-sdk/{p-edcc7110.entry.js → p-0a7c4752.entry.js} +1 -1
  180. package/dist/verdocs-web-sdk/{p-39453c48.system.entry.js → p-0ba1ab37.system.entry.js} +1 -1
  181. package/dist/verdocs-web-sdk/{p-025eeafe.entry.js → p-0c6e565f.entry.js} +1 -1
  182. package/dist/verdocs-web-sdk/{p-4dcd1005.system.entry.js → p-0c9f4c84.system.entry.js} +1 -1
  183. package/dist/verdocs-web-sdk/{p-d5f7caa2.entry.js → p-114b88b3.entry.js} +1 -1
  184. package/dist/verdocs-web-sdk/{p-9ddaf09d.system.entry.js → p-12bd1b75.system.entry.js} +1 -1
  185. package/dist/verdocs-web-sdk/{p-86482c5e.system.entry.js → p-16f5a57b.system.entry.js} +1 -1
  186. package/dist/verdocs-web-sdk/p-2484ced2.entry.js +1 -0
  187. package/dist/verdocs-web-sdk/p-267df026.system.js +1 -1
  188. package/dist/verdocs-web-sdk/{p-88c3a2b9.entry.js → p-362ed8d2.entry.js} +1 -1
  189. package/dist/verdocs-web-sdk/{p-1e89f52d.entry.js → p-39f758da.entry.js} +1 -1
  190. package/dist/verdocs-web-sdk/{p-1cb18a85.entry.js → p-3c1a7743.entry.js} +1 -1
  191. package/dist/verdocs-web-sdk/{p-ef0061be.system.entry.js → p-3f80a97f.system.entry.js} +1 -1
  192. package/dist/verdocs-web-sdk/{p-4bf58d00.system.entry.js → p-496ce438.system.entry.js} +1 -1
  193. package/dist/verdocs-web-sdk/{p-286a97a7.system.entry.js → p-4f4c7aab.system.entry.js} +1 -1
  194. package/dist/verdocs-web-sdk/{p-c8196df5.entry.js → p-51923579.entry.js} +1 -1
  195. package/dist/verdocs-web-sdk/{p-5a8672ab.system.entry.js → p-554849ad.system.entry.js} +1 -1
  196. package/dist/verdocs-web-sdk/{p-18cdd0d8.entry.js → p-5c807974.entry.js} +1 -1
  197. package/dist/verdocs-web-sdk/{p-9ed35b3e.system.entry.js → p-5cb664f7.system.entry.js} +1 -1
  198. package/dist/verdocs-web-sdk/{p-cca9858f.entry.js → p-612018e9.entry.js} +1 -1
  199. package/dist/verdocs-web-sdk/{p-64d648c1.system.entry.js → p-6895ae8b.system.entry.js} +1 -1
  200. package/dist/verdocs-web-sdk/{p-bb315de2.system.entry.js → p-693b6ebb.system.entry.js} +1 -1
  201. package/dist/verdocs-web-sdk/{p-985363b3.system.entry.js → p-70800dcd.system.entry.js} +1 -1
  202. package/dist/verdocs-web-sdk/{p-73f2e118.entry.js → p-712148d2.entry.js} +1 -1
  203. package/dist/verdocs-web-sdk/{p-23ca483b.entry.js → p-8157bb4e.entry.js} +1 -1
  204. package/dist/verdocs-web-sdk/{p-e544d694.system.entry.js → p-85ea1efe.system.entry.js} +1 -1
  205. package/dist/verdocs-web-sdk/{p-444191a8.system.entry.js → p-8dc78489.system.entry.js} +1 -1
  206. package/dist/verdocs-web-sdk/{p-c2e15dd9.entry.js → p-90a79cb5.entry.js} +1 -1
  207. package/dist/verdocs-web-sdk/{p-f0dd04a1.entry.js → p-941d0925.entry.js} +1 -1
  208. package/dist/verdocs-web-sdk/{p-ce085249.entry.js → p-98d2dd05.entry.js} +1 -1
  209. package/dist/verdocs-web-sdk/{p-68545704.system.entry.js → p-9bf14c0b.system.entry.js} +1 -1
  210. package/dist/verdocs-web-sdk/{p-61a3e6ab.entry.js → p-9cd794dd.entry.js} +1 -1
  211. package/dist/verdocs-web-sdk/{p-ed38f9b4.entry.js → p-a150f6a6.entry.js} +1 -1
  212. package/dist/verdocs-web-sdk/{p-ffbfc227.entry.js → p-a61a668f.entry.js} +1 -1
  213. package/dist/verdocs-web-sdk/{p-00828859.system.entry.js → p-a9281481.system.entry.js} +1 -1
  214. package/dist/verdocs-web-sdk/{p-809e1a1f.system.entry.js → p-ababdec2.system.entry.js} +1 -1
  215. package/dist/verdocs-web-sdk/{p-4480e944.entry.js → p-ad29e406.entry.js} +1 -1
  216. package/dist/verdocs-web-sdk/{p-c5dad8bb.system.entry.js → p-ae7bd8fa.system.entry.js} +1 -1
  217. package/dist/verdocs-web-sdk/{p-ff9fc188.system.entry.js → p-b58237c7.system.entry.js} +1 -1
  218. package/dist/verdocs-web-sdk/{p-2f191d39.entry.js → p-b7ab2c28.entry.js} +1 -1
  219. package/dist/verdocs-web-sdk/{p-0b061610.entry.js → p-c82a7239.entry.js} +1 -1
  220. package/dist/verdocs-web-sdk/{p-a75f7b16.system.entry.js → p-d74621f3.system.entry.js} +1 -1
  221. package/dist/verdocs-web-sdk/{p-8395d4f2.entry.js → p-d860605c.entry.js} +1 -1
  222. package/dist/verdocs-web-sdk/{p-405875b4.entry.js → p-dd0aa3a4.entry.js} +1 -1
  223. package/dist/verdocs-web-sdk/{p-b8938237.entry.js → p-e135bbab.entry.js} +1 -1
  224. package/dist/verdocs-web-sdk/{p-669771a1.system.entry.js → p-e41b6f91.system.entry.js} +1 -1
  225. package/dist/verdocs-web-sdk/{p-9753694a.entry.js → p-e9edbbaa.entry.js} +1 -1
  226. package/dist/verdocs-web-sdk/{p-fe672057.system.entry.js → p-ea7db073.system.entry.js} +1 -1
  227. package/dist/verdocs-web-sdk/{p-233c47c9.entry.js → p-ee4c4423.entry.js} +1 -1
  228. package/dist/verdocs-web-sdk/{p-eb602f8f.system.entry.js → p-f42e8692.system.entry.js} +1 -1
  229. package/dist/verdocs-web-sdk/{p-fd2224bb.system.entry.js → p-f449b8d4.system.entry.js} +1 -1
  230. package/dist/verdocs-web-sdk/{p-ce8420d1.entry.js → p-f881d62b.entry.js} +1 -1
  231. package/dist/verdocs-web-sdk/{p-d971f8f0.system.entry.js → p-fa74423b.system.entry.js} +1 -1
  232. package/dist/verdocs-web-sdk/{p-33f5ff73.system.entry.js → p-fb197463.system.entry.js} +1 -1
  233. package/dist/verdocs-web-sdk/p-fbcf4277.entry.js +1 -0
  234. package/dist/verdocs-web-sdk/{p-cea2766d.system.entry.js → p-fccffb60.system.entry.js} +1 -1
  235. package/dist/verdocs-web-sdk/{p-393489cb.entry.js → p-fe3c5f82.entry.js} +1 -1
  236. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  237. package/package.json +1 -1
  238. package/dist/verdocs-web-sdk/p-237930d6.entry.js +0 -1
  239. package/dist/verdocs-web-sdk/p-2bdba630.system.entry.js +0 -1
  240. package/dist/verdocs-web-sdk/p-8b74ca77.entry.js +0 -1
@@ -13,9 +13,9 @@ const VerdocsTable$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsTable exten
13
13
  this.data = [];
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: '55c0e4647639ccb4ecf1b70765ed12d21fda73b2', class: "table-wrapper" }, h("table", { key: 'b66ad58e6be95e5a1aa297a191142db098d95151', class: "table" }, h("thead", { key: 'da78f06f41395e44b42aefe9b452ad5c29278e1a' }, h("tr", { key: '1231558af753ec6445ba2cf245121bdde5536d74', class: "row header-row" }, this.columns.map((col, i) => {
16
+ return (h(Host, { key: '4ffe8d38c873db9420325df769676a4411f5aa28', class: "table-wrapper" }, h("table", { key: 'a51dbc58bc7eb6504ca054f94e4795238e42e0aa', class: "table" }, h("thead", { key: '18e488f81ae20486bd281d79340c4b5e5611550f' }, h("tr", { key: '9ea7794a55a2669aae8144db8ecfb16fdaad281a', class: "row header-row" }, this.columns.map((col, i) => {
17
17
  return (h("th", { class: `col header-col col-${i} col-${col.id}`, onClick: () => { var _a; return (_a = this.colHeaderClick) === null || _a === void 0 ? void 0 : _a.emit({ col }); }, innerHTML: col.renderHeader ? col.renderHeader(col) : col.header || col.id }));
18
- }))), h("tbody", { key: '0282efc552d51d876688b5405d3679f632ec4ec0' }, this.data.map(row => (h("tr", { class: "row data-row", onClick: () => { var _a; return (_a = this.rowClick) === null || _a === void 0 ? void 0 : _a.emit({ row }); } }, this.columns.map((col, i) => {
18
+ }))), h("tbody", { key: 'fede948c8464f5e41376569b995dcf080ea8729a' }, this.data.map(row => (h("tr", { class: "row data-row", onClick: () => { var _a; return (_a = this.rowClick) === null || _a === void 0 ? void 0 : _a.emit({ row }); } }, this.columns.map((col, i) => {
19
19
  return col.renderCell ? (h("td", { class: `col data-col col-${i} col-${col.id}`, innerHTML: col.renderCell(col, row) })) : (h("td", { class: `col data-col col-${i} col-${col.id}` }, row[col.id]));
20
20
  }))))))));
21
21
  }
@@ -16,7 +16,7 @@ const VerdocsTabs = /*@__PURE__*/ proxyCustomElement(class VerdocsTabs extends H
16
16
  (_a = this.selectTab) === null || _a === void 0 ? void 0 : _a.emit({ tab: this.tabs[index], index });
17
17
  }
18
18
  render() {
19
- return (h(Host, { key: '2fedcaa89e194d52552c9c1295451889f15873bd' }, this.tabs.map((tab, index) => (h("div", { class: `tab ${index === this.selectedTab ? 'active' : ''} ${tab.disabled ? 'disabled' : ''}`, onClick: tab.disabled ? () => { } : () => this.handleSelectTab(index) }, tab.label))), h("div", { key: 'd1020c064e91e7b2f08f096266de33533055afc4', class: "flex flex-1" }), h("slot", { key: '454f2a0fab01099f8ec6bdf73d4eaacd3471bc69' }, h("div", { key: 'b7a6f1c170591c2664e88b611cb9162f800d01c4' }))));
19
+ return (h(Host, { key: 'bbbb38d60e005c8a80bc1db7f8ef12f79f05e3fc' }, this.tabs.map((tab, index) => (h("div", { class: `tab ${index === this.selectedTab ? 'active' : ''} ${tab.disabled ? 'disabled' : ''}`, onClick: tab.disabled ? () => { } : () => this.handleSelectTab(index) }, tab.label))), h("div", { key: 'f0ced79f6ed6110e5a9d41144adca56fac15ac3d', class: "flex flex-1" }), h("slot", { key: '8233a33dba15599e7d2e084c4c77a9cc229c980e' }, h("div", { key: 'dc3d1aad930fdc5ae56b299213f6251f5e35c240' }))));
20
20
  }
21
21
  static get style() { return VerdocsTabsStyle0; }
22
22
  }, [4, "verdocs-tabs", {
@@ -15,7 +15,7 @@ const VerdocsTemplateCard$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsTemp
15
15
  }
16
16
  render() {
17
17
  var _a, _b, _c, _d;
18
- return (h(Host, { key: '70fdd3656af0e09d195fe642617864f9e3f040d8' }, h("span", { key: '1f54e749222616d176cd423f46d41e5e0bf43f96', class: "name" }, this.template.name), h("span", { key: '9412db1396f31902d263223bd6eddec6a4c24566', class: "org-name" }, ((_a = this.template.organization) === null || _a === void 0 ? void 0 : _a.name) || 'Public'), h("hr", { key: '48db04497600cdc36a815aadb8880e43444984b9' }), h("div", { key: 'b2076c53a8490886e781fb518902189c0ab15ed4', class: "controls" }, h("div", { key: 'adf1aaeda56bdbbb9fadc781c586ecbd2f5ac668', class: "control" }, h("span", { key: '5489262deab391195f56d4a2291ca9ce4a42beb5', class: "icon", innerHTML: StarIcon }), h("span", { key: 'edc26b6674f6c007a37cbd0ea3274629ffec6bfc', class: "value" }, this.template.star_counter)), h("div", { key: '110575e5f51ce9b44de8bc2856b40949fda7b044', class: "control secondary" }, h("span", { key: 'af5e59792c2745fb13c4267fbab9753c9cc4793d', class: "icon", innerHTML: PagesIcon }), h("span", { key: '229253b847711aed2021f63f2d59b3a6f5de70a1', class: "value" }, ((_d = (_c = (_b = this.template) === null || _b === void 0 ? void 0 : _b.documents) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.pages) || 1)), h("div", { key: 'ffbe166e6d627cb6404b8245829e3530b30b1ed1', class: "control secondary" }, h("span", { key: '70b5ec65e32b455494458844184bdd296d0a53d7', class: "icon", innerHTML: EmailIcon }), h("span", { key: '9148860c1252f2f307e9e018d583fbe745264c92', class: "value" }, this.template.counter)), h("span", { key: '62876a7d469ef34274efdff117aaf8b93e89d5f4', class: "additional-controls", innerHTML: ActionsIcon }))));
18
+ return (h(Host, { key: '2414caafbeb66be4f7418b22ab9766aaea18de4e' }, h("span", { key: '8b571bc3f50445e4a4413821ee4ade2c75940600', class: "name" }, this.template.name), h("span", { key: '77d3c36194959ca19928cb880dd2144c30079f5e', class: "org-name" }, ((_a = this.template.organization) === null || _a === void 0 ? void 0 : _a.name) || 'Public'), h("hr", { key: '5fa18b953a61dce4cc7d256552f5fbeace9b2fc2' }), h("div", { key: 'cd10884524860b3843b2bc308a1f5cd98e3521e6', class: "controls" }, h("div", { key: '1f9ea0ae36c3e9a285eb2124174a4096408f2833', class: "control" }, h("span", { key: '19249d5fdd259422591022aaad3b87626242b23b', class: "icon", innerHTML: StarIcon }), h("span", { key: '73c17da734ce561ed2a34792e7e49d3c5ef5ac88', class: "value" }, this.template.star_counter)), h("div", { key: '16c77cae206032ce4874aa8e3d94abdf56894563', class: "control secondary" }, h("span", { key: 'df2e55e5eb12dbc13d9fc566bf9c225da612a23e', class: "icon", innerHTML: PagesIcon }), h("span", { key: '0ff2120849aa15da404ad9f057b70fc47d8be414', class: "value" }, ((_d = (_c = (_b = this.template) === null || _b === void 0 ? void 0 : _b.documents) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.pages) || 1)), h("div", { key: '8d5b816f15260673af8b53d7473f58f18fd82f46', class: "control secondary" }, h("span", { key: '161b8b7532fd4ee0a294dd8fed77fd82f90e78ad', class: "icon", innerHTML: EmailIcon }), h("span", { key: 'f80ca578f61f52ecebd13faf1c6a28a4b2efb431', class: "value" }, this.template.counter)), h("span", { key: '4ca0becd38dfd69172a5fb9f898b65dd03a330f3', class: "additional-controls", innerHTML: ActionsIcon }))));
19
19
  }
20
20
  static get style() { return VerdocsTemplateCardStyle0; }
21
21
  }, [0, "verdocs-template-card", {
@@ -115,7 +115,7 @@ const VerdocsTemplateDocumentPage = /*@__PURE__*/ proxyCustomElement(class Verdo
115
115
  }
116
116
  render() {
117
117
  const height = `${this.renderedHeight}px`;
118
- return (h(Host, { key: 'd40813635689bf60af13c6f719fd3660cd3acf1b', id: `${this.containerId}`, style: { height, flex: `0 0 ${height}` } }, this.layers.map(layer => layer.type === 'div' ? (h("div", { class: "verdocs-template-document-page-layer", id: `${this.containerId}-${layer.name}`, style: { height } }, layer.name === 'controls' &&
118
+ return (h(Host, { key: '7dffce97ff8eb454bdfde6157190f5ba027d92b3', id: `${this.containerId}`, style: { height, flex: `0 0 ${height}` } }, this.layers.map(layer => layer.type === 'div' ? (h("div", { class: "verdocs-template-document-page-layer", id: `${this.containerId}-${layer.name}`, style: { height } }, layer.name === 'controls' &&
119
119
  this.fieldStore
120
120
  .get('fields')
121
121
  .filter(field => field && field.page === this.pageNumber)
@@ -127,34 +127,34 @@ const VerdocsTemplateRoleProperties = /*@__PURE__*/ proxyCustomElement(class Ver
127
127
  }
128
128
  render() {
129
129
  const hasFields = this.fieldStore.get('fields').some(field => field.role_name === this.roleName);
130
- return (h(Host, { key: '4daf88d47395c6a637137dc350b353e1854c1bdb' }, h("div", { key: '69dd4130a4712b21dd7d460008da99b58b4b82f6', class: "background-overlay", onClick: e => this.handleCancel(e) }, h("div", { key: '2b0a6f1cae1f6c5eef01ecae23e171ca7dc4e518', class: "dialog" }, h("form", { key: '607ab181a995a9b3112e05a8a00d17b979283a23', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("verdocs-text-input", { key: '1b689cf1db96209f7734e7a4bb7a3eee822d3537', id: "verdocs-role-name", label: "Role Name", value: this.name, autocomplete: "off", disabled: hasFields, helpText: hasFields
130
+ return (h(Host, { key: '730f06520de9e020296cacf991aa025606d7dbfb' }, h("div", { key: '5ac072dbe9f312b468d9a1b8d699694185c03e22', class: "background-overlay", onClick: e => this.handleCancel(e) }, h("div", { key: 'b303190355d969808ee3554b85c26e3f6da52536', class: "dialog" }, h("form", { key: '21a0ef6e184c52d92b47fc48f6210170a9a06697', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("verdocs-text-input", { key: 'bd81053ec77721af0b116a0060fa5d7cf2b82b03', id: "verdocs-role-name", label: "Role Name", value: this.name, autocomplete: "off", disabled: hasFields, helpText: hasFields
131
131
  ? 'This role has fields assigned and can no longer be renamed.'
132
132
  : 'A unique name to identify the role in the workflow. Submitted data will also be tagged with this value.', placeholder: "Role Name...", onInput: (e) => {
133
133
  this.name = e.target.value;
134
134
  this.dirty = true;
135
- } }), h("div", { key: 'da279c9f7ee9ec204c92ebc597b666922c920281', class: "row" }, h("div", { key: 'e5a0b4250480afb5dad0174c674505dadf843a7a', class: "input-label" }, "Type:"), h("verdocs-select-input", { key: '7b7c22a7121038faedb2c6992412e04401045b44', value: this.type, options: [
135
+ } }), h("div", { key: '52b3feb14fb51e426db734624db563de1d1b2e24', class: "row" }, h("div", { key: '91ec0ebe42974aa36c5144d5815ac1d138862d95', class: "input-label" }, "Type:"), h("verdocs-select-input", { key: 'dc06b63a7efe16b244bf667d6eb1e7b4ba27d951', value: this.type, options: [
136
136
  { label: 'Signer', value: 'signer' },
137
137
  { label: 'CC', value: 'cc' },
138
138
  { label: 'Approver', value: 'approver' },
139
139
  ], onInput: (e) => {
140
140
  this.type = e.target.value;
141
141
  this.dirty = true;
142
- } }), h("verdocs-help-icon", { key: '1763f108ce1d03ea9bed960375677c03017e0f7e', text: "Most participants are Signers. CC roles are notified when documents are signed, but have no other actions. Approvers get notified when signing is completed to perform a final review." })), h("verdocs-text-input", { key: 'b1b6901b5cb217774f757ede3baefcac85035f19', id: "verdocs-recipient-first", label: "First Name", value: this.first_name, autocomplete: "off", helpText: "The recipient's first name, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "First Name...", onInput: (e) => {
142
+ } }), h("verdocs-help-icon", { key: 'cd2117c7265b9b14bd30d46a78bf931a3d431495', text: "Most participants are Signers. CC roles are notified when documents are signed, but have no other actions. Approvers get notified when signing is completed to perform a final review." })), h("verdocs-text-input", { key: 'e1cc994258b539ab40e4e7fabc2544b1c7d82ade', id: "verdocs-recipient-first", label: "First Name", value: this.first_name, autocomplete: "off", helpText: "The recipient's first name, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "First Name...", onInput: (e) => {
143
143
  this.first_name = e.target.value;
144
144
  this.dirty = true;
145
- } }), h("verdocs-text-input", { key: '7cd4144f5a59882a39705753bf4f15d4d205c979', id: "verdocs-recipient-first", label: "Last Name", value: this.last_name, autocomplete: "off", helpText: "The recipient's last name, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "Last Name...", onInput: (e) => {
145
+ } }), h("verdocs-text-input", { key: '1a9ce3573fbf3a9a4495862cc780b6321169bef7', id: "verdocs-recipient-first", label: "Last Name", value: this.last_name, autocomplete: "off", helpText: "The recipient's last name, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "Last Name...", onInput: (e) => {
146
146
  this.last_name = e.target.value;
147
147
  this.dirty = true;
148
- } }), h("verdocs-text-input", { key: 'e6628edbd864a77cf470a9175b3aff55f0be4681', id: "verdocs-recipient-email", label: "Email", value: this.email, autocomplete: "off", helpText: "The recipient's email address, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "Email Address...", onInput: (e) => {
148
+ } }), h("verdocs-text-input", { key: 'ef313cdd9da5f9ce299513a0f74a0010978a04f0', id: "verdocs-recipient-email", label: "Email", value: this.email, autocomplete: "off", helpText: "The recipient's email address, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "Email Address...", onInput: (e) => {
149
149
  this.email = e.target.value;
150
150
  this.dirty = true;
151
- } }), h("verdocs-text-input", { key: 'ce90cd8517539331590cd2ff697e07533a7b5902', id: "verdocs-recipient-phone", label: "Phone", value: this.phone, autocomplete: "off", helpText: "The recipient's phone number, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "Phone Number...", onInput: (e) => {
151
+ } }), h("verdocs-text-input", { key: '017395decc39091207de4152283e401931254f10', id: "verdocs-recipient-phone", label: "Phone", value: this.phone, autocomplete: "off", helpText: "The recipient's phone number, if it will always stay the same. Leave blank to supply this value later, when each new envelope is created from the template.", placeholder: "Phone Number...", onInput: (e) => {
152
152
  this.phone = e.target.value;
153
153
  this.dirty = true;
154
- } }), h("div", { key: '9510615197a8c28d4522822e6753af993e965fab', class: "row" }, h("div", { key: 'b2958e2c6fdee7548aa53785c718c2aac9533711', class: "input-label" }, "May Delegate:"), h("div", { key: 'e7420c6088db970a53fb257bddf1fa4cf5f4eb37', class: "checkbox-wrapper" }, h("verdocs-checkbox", { key: '5964f954a0390b38018a0644f9caf8e3b08bb766', checked: this.delegator, onInput: (e) => {
154
+ } }), h("div", { key: '68434c73d7fdcb24141cdf13ff9c076d477480c7', class: "row" }, h("div", { key: 'c5afca6f072a5a76646f5575b871bf55a075cc1b', class: "input-label" }, "May Delegate:"), h("div", { key: '55bfc7a17dcadf265d5ca6a7bbef12c1261392c2', class: "checkbox-wrapper" }, h("verdocs-checkbox", { key: 'd25aab079a596000a710a31cad269698d131f1b1', checked: this.delegator, onInput: (e) => {
155
155
  this.delegator = e.target.checked;
156
156
  this.dirty = true;
157
- } })), h("verdocs-help-icon", { key: '0cce6b44830647f915f0a0c3940247003254e4ef', text: "If enabled, this recipient may delegate their actions to another individual." })), h("div", { key: '0caae2f472d4013ac76af0cdfc9084b07bee3e6c', class: "buttons" }, h("button", { key: '8bd1ac63a0c6f9355847e1f6babc12dadc29d9c8', class: "delete-button", disabled: this.dirty, onClick: e => this.handleDelete(e), innerHTML: TrashIcon }), h("div", { key: 'd7caf9d0c3ca362043dc9c05cb8f11e73519739b', style: { flex: '1' } }), h("verdocs-button", { key: '33c37de3faedffd4e9f5448084aeb0c3269dfa16', size: "small", variant: "outline", label: "Cancel", disabled: !this.dirty, onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: 'c5e2c7fa597efae316316431fd548ec166a38d86', size: "small", label: "Save", disabled: !this.dirty, onClick: e => this.handleSave(e) })))))));
157
+ } })), h("verdocs-help-icon", { key: 'c95eeeb21f1c237ea5c3b0b92c14d5d62fc1617a', text: "If enabled, this recipient may delegate their actions to another individual." })), h("div", { key: 'f563be7c352b2fd1ea04936796a942ae6353ae90', class: "buttons" }, h("button", { key: '107f332bc0650e9b1c2ac3666bebb6b7b0ec4c7c', class: "delete-button", disabled: this.dirty, onClick: e => this.handleDelete(e), innerHTML: TrashIcon }), h("div", { key: 'f462302d0a04d178303ea8831eeaccdc18410265', style: { flex: '1' } }), h("verdocs-button", { key: 'ea1eabf74981acaa1674e94a9134fb6270b3b8d8', size: "small", variant: "outline", label: "Cancel", disabled: !this.dirty, onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '1ff52f0f25400416414477d2d7bf271bce5c310e', size: "small", label: "Save", disabled: !this.dirty, onClick: e => this.handleSave(e) })))))));
158
158
  }
159
159
  static get style() { return VerdocsTemplateRolePropertiesStyle0; }
160
160
  }, [0, "verdocs-template-role-properties", {
@@ -69,7 +69,7 @@ const VerdocsTemplateSender = /*@__PURE__*/ proxyCustomElement(class VerdocsTemp
69
69
  });
70
70
  }
71
71
  render() {
72
- return (h(Host, { key: '091ab4be35bc34c3a26242c049f86f674af41e8f' }, h("div", { key: 'd6ab34f28492f84ca36e53e090100512c9bde484', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '14f29acabd224f7547aaedff0a25627cb5381e80', class: "dialog" }, h("div", { key: 'f13bcde2de6738d60055325c607b3b2c409a9dbe', class: "options" }, h("div", { key: '63255db61a5e55d2a4907114614acf6febe85075', class: "option" }, h("verdocs-radio-button", { key: '24a9e9a143e6d298f25a08bdf753b56de1c04961', name: "template-sender", value: 'everyone', checked: this.sender === 'everyone', onInput: () => this.handleSelectSetting('everyone') }), h("div", { key: '45b08d31cc9984e779f8f7789f02f581fc12101c', class: "description" }, h("div", { key: '0fa098f2f7c81e2839b8bba9f5c9d5e9bcb67bab', class: "name" }, "Anyone on the Web"), h("verdocs-help-icon", { key: '31f1d12db9ca50d9b86bbceac2253d4134393e5b', text: "Anyone can use this template. (Make its visibility is set to to 'Public' or 'Shared'.)" }))), h("div", { key: 'f95a9c8e058ef6917d44974d83c6bdd1ec2733ca', class: "option" }, h("verdocs-radio-button", { key: '41ed48647f192747c9a4a490c471689a9ca6a575', name: "template-sender", value: 'everyone_as_creator', checked: this.sender === 'everyone_as_creator', onInput: () => this.handleSelectSetting('everyone_as_creator') }), h("div", { key: '9026a65b7f9b34a3e5b085b6e4f4c4052eafbf78', class: "description" }, h("div", { key: '2c2f2c8d668be05577ff42564f43d3d8149838a7', class: "name" }, "Anyone on the Web as me"), h("verdocs-help-icon", { key: 'd5305c9a396ac5de055b98d5fe70671f6f00fae0', text: "Anyone can use this template on my behalf. (Make sure its visibility is set to 'Public' or 'Shared'.)" }))), h("div", { key: 'e544fbc077842d42bdf8ac186c6b525e352441ab', class: "option" }, h("verdocs-radio-button", { key: 'eec6b7321b00015569012bbf2e99849aad6dc8e6', name: "template-sender", value: 'organization_member', checked: this.sender === 'organization_member', onInput: () => this.handleSelectSetting('organization_member') }), h("div", { key: '031b5b54ae322568a0e1203b40861cbba6a941e5', class: "description" }, h("div", { key: 'f387fed36eaa666a84aa39eda8a93f463a808978', class: "name" }, "Anyone in my organization"), h("verdocs-help-icon", { key: '4079377c2b8344ee474adddea623da565dcd90fd', text: "Anyone in my organization can use this template. (Make sure its visibility is set to 'Shared')" }))), h("div", { key: '7ec74675f7f73b9cb2393e44561524979324a407', class: "option" }, h("verdocs-radio-button", { key: 'cf745f64e9db88e7b8470613000a17531a067bd2', name: "template-sender", value: 'organization_member_as_creator', checked: this.sender === 'organization_member_as_creator', onInput: () => this.handleSelectSetting('organization_member_as_creator') }), h("div", { key: '27584bfc38bcdf136aa2afdf692fa6f883f01fa2', class: "description" }, h("div", { key: '077a63531ff1795f5522632615630fbef4729dbe', class: "name" }, "Anyone in my organization as me"), h("verdocs-help-icon", { key: '65a488ed62f89339fa1721e0f29fe4152048e4e6', text: "Anyone in my organization can use this template on my behalf. (Make sure its visibility is set to to 'Shared'.)" }))), h("div", { key: 'e3466413793e527653545753035737c7f17c4813', class: "option" }, h("verdocs-radio-button", { key: '399790cdb86075a91f3db93485ffa0d91e48a0ac', name: "template-sender", value: 'creator', checked: this.sender === 'creator', onInput: () => this.handleSelectSetting('creator') }), h("div", { key: '8b30d713537b542d96aac5ac4cb9bc7af425a42b', class: "description" }, h("div", { key: '5dd8a9ddf591f400aeebad03cb8daf7cf0966499', class: "name" }, "Me"), h("verdocs-help-icon", { key: '8dc834a6fb5acfd6b2239e80ba97178fef0b70b1', text: "Only I can use this template." })))), h("div", { key: 'c4e71870732c8d5bf444f0d4690944d19a74f093', class: "buttons" }, h("verdocs-button", { key: '46bd6ed671c63a94b0fbdbb4852e27300fd563c4', label: "Close", onClick: () => this.handleClose() }))))));
72
+ return (h(Host, { key: '849ebcae79fea1e7e810ea49c6d97fb26ef71601' }, h("div", { key: 'c4beb47af9820bbf7fdbb13386a381a1ec0ef3eb', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '6f1b23281f27a3e340602e73c6fc476d5a7d1a7b', class: "dialog" }, h("div", { key: '04aed5aff479eb6f1af4343dd838dfe57c7d9f3a', class: "options" }, h("div", { key: '484b72a2b7bd73ae9143219d539a6aa120a9cc5c', class: "option" }, h("verdocs-radio-button", { key: '2473798c37783ce1fc531d888120ef0187c28cb8', name: "template-sender", value: 'everyone', checked: this.sender === 'everyone', onInput: () => this.handleSelectSetting('everyone') }), h("div", { key: 'ba79bcdb09dfe1fdbd9adbb9f8fc5f593cc1a4db', class: "description" }, h("div", { key: '0bc8cac502ddac20468fa2e1c88e71940f17b069', class: "name" }, "Anyone on the Web"), h("verdocs-help-icon", { key: '153fc6f5e4371d3896f8886ae442a4caf8d1170d', text: "Anyone can use this template. (Make its visibility is set to to 'Public' or 'Shared'.)" }))), h("div", { key: '16e66ac18576da8b0080896c9457d8ad7fd86ed9', class: "option" }, h("verdocs-radio-button", { key: '45af40b3e65d78b61f84c7ebe0c8eda2766ea461', name: "template-sender", value: 'everyone_as_creator', checked: this.sender === 'everyone_as_creator', onInput: () => this.handleSelectSetting('everyone_as_creator') }), h("div", { key: '864183ff6d21343e1e2ac3ec878feb5cb464df51', class: "description" }, h("div", { key: 'fc0c1004ebddbbbfa7409a05aa1111640a8327ad', class: "name" }, "Anyone on the Web as me"), h("verdocs-help-icon", { key: 'a7527d745ea6cb3cc6b5eb0b67bc1e658a1834f9', text: "Anyone can use this template on my behalf. (Make sure its visibility is set to 'Public' or 'Shared'.)" }))), h("div", { key: '5324d01a5a9b4c6776e42c24fa605c6e7e1ba02b', class: "option" }, h("verdocs-radio-button", { key: '06fb10ac6f84d0eeffec279038bc4a55e3812466', name: "template-sender", value: 'organization_member', checked: this.sender === 'organization_member', onInput: () => this.handleSelectSetting('organization_member') }), h("div", { key: 'c29edc2f40ec7b8d4346d828341afc1722b0043b', class: "description" }, h("div", { key: '016a3f3625d3ae00aa58cb2ad035a657c862d7e0', class: "name" }, "Anyone in my organization"), h("verdocs-help-icon", { key: 'd3eefcb15e9d6ee005077161ce674d82e21433e4', text: "Anyone in my organization can use this template. (Make sure its visibility is set to 'Shared')" }))), h("div", { key: '931602e92a61ff86332e420a02edd37cc002e186', class: "option" }, h("verdocs-radio-button", { key: '37c44e49f533700c8c2bb97adb394642b14b8fb5', name: "template-sender", value: 'organization_member_as_creator', checked: this.sender === 'organization_member_as_creator', onInput: () => this.handleSelectSetting('organization_member_as_creator') }), h("div", { key: '3f403de6f7c9548c13d744ce3fefae28ab4dce5d', class: "description" }, h("div", { key: 'f1cd1809ff04d543a2edc539504c894e19883879', class: "name" }, "Anyone in my organization as me"), h("verdocs-help-icon", { key: '1bba4cf3258bf6c7b686a09e0e9b778154a926e2', text: "Anyone in my organization can use this template on my behalf. (Make sure its visibility is set to to 'Shared'.)" }))), h("div", { key: 'e7a9e1f669cee3f845de44f928226b0e08c1db39', class: "option" }, h("verdocs-radio-button", { key: 'be8748e7ad1f623354d6889645f6b8191c68859c', name: "template-sender", value: 'creator', checked: this.sender === 'creator', onInput: () => this.handleSelectSetting('creator') }), h("div", { key: 'e5a4d884bfd01e176a568683310d23a1dcdaf042', class: "description" }, h("div", { key: '2166ceda9313a02750213bedf3c5170e7993c239', class: "name" }, "Me"), h("verdocs-help-icon", { key: 'f28de55873d3382d31c1734d393300b183c077ba', text: "Only I can use this template." })))), h("div", { key: 'cb36edb7d23d07ff5101e568f17d7b79a288a72b', class: "buttons" }, h("verdocs-button", { key: '63d7d2a227d4f39bc0eeaa7c7c935d95350921b4', label: "Close", onClick: () => this.handleClose() }))))));
73
73
  }
74
74
  static get style() { return VerdocsTemplateSenderStyle0; }
75
75
  }, [0, "verdocs-template-sender", {
@@ -43,7 +43,7 @@ const VerdocsTemplateStar = /*@__PURE__*/ proxyCustomElement(class VerdocsTempla
43
43
  });
44
44
  }
45
45
  render() {
46
- return (h(Host, { key: 'a70877334388bd0528a03f3ae08cd479c7dacecc' }, h("div", { key: '09f9dbd54bc662778c48d4663312c0043d694aea', class: `star ${this.updating ? 'updating' : ''}`, innerHTML: this.template.star_counter ? SolidStarIcon : OutlineStarIcon, onClick: e => this.toggle(e) }), h("div", { key: '74a45d4e3153623bd4d9e7f2e66bd561b1ecfcb3', class: "count" }, this.template.star_counter || '--')));
46
+ return (h(Host, { key: '0fc342a217265e0a104fd3f611e99b57d4978be4' }, h("div", { key: 'ac7375a1a86846ec27d550356781426d19a4aec5', class: `star ${this.updating ? 'updating' : ''}`, innerHTML: this.template.star_counter ? SolidStarIcon : OutlineStarIcon, onClick: e => this.toggle(e) }), h("div", { key: '68c5329f639c404fb377accedce7a36b28d77d76', class: "count" }, this.template.star_counter || '--')));
47
47
  }
48
48
  static get style() { return VerdocsTemplateStarStyle0; }
49
49
  }, [0, "verdocs-template-star", {
@@ -11,7 +11,7 @@ const VerdocsTemplateTags$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsTemp
11
11
  }
12
12
  render() {
13
13
  var _a;
14
- return (h(Host, { key: '59cfe825d9ab3fbbbf799e392fc5e35a63d39e9e' }, (_a = this.tags) === null || _a === void 0 ? void 0 : _a.map(tag => (h("span", null, tag)))));
14
+ return (h(Host, { key: '8668a671bd4a1898582579efc2e330921f2b6b2d' }, (_a = this.tags) === null || _a === void 0 ? void 0 : _a.map(tag => (h("span", null, tag)))));
15
15
  }
16
16
  static get style() { return VerdocsTemplateTagsStyle0; }
17
17
  }, [0, "verdocs-template-tags", {
@@ -165,24 +165,24 @@ const VerdocsTemplatesList$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsTem
165
165
  // In addition to the server query we also filter locally. This provides a faster UI update
166
166
  // while the onBlur re-queries the server for any new records that now qualify by the filter.
167
167
  const locallyFilteredTemplates = !this.localNameFilter ? this.templates : this.templates.filter(t => t.name.toLowerCase().includes(this.localNameFilter.toLowerCase()));
168
- return (h(Host, { key: '9d14c5bae8ea56281a33536160450cb0488dc52f' }, h("div", { key: 'c59959d7087a0a714b5c6b3a493c5c7446e71906', class: "header" }, h("div", { key: 'e51316310fbb444100962cb0b5a3e4d373af7d04', class: "filter" }, h("verdocs-text-input", { key: 'f528b443e50837c14af05aecf3e55cd89fa25f54', id: "verdocs-filter-name", value: this.name, clearable: true, autocomplete: "off", placeholder: "Filter by Name...", onInput: (e) => (this.localNameFilter = e.target.value.trim()), onFocusout: (e) => {
168
+ return (h(Host, { key: '9910d30f954550fe89b6e0b5851ff5cfbdec5aff' }, h("div", { key: '6b77158a586a26163c38ab6d4af3836eef486de4', class: "header" }, h("div", { key: '9caad42bc2e305f401cb065a2045fc971197940f', class: "filter" }, h("verdocs-text-input", { key: 'dc9f1d30422255f5fd6da7a3a3d31b9f2ad4b36b', id: "verdocs-filter-name", value: this.name, clearable: true, autocomplete: "off", placeholder: "Filter by Name...", onInput: (e) => (this.localNameFilter = e.target.value.trim()), onFocusout: (e) => {
169
169
  var _a;
170
170
  this.name = e.target.value.trim();
171
171
  this.localNameFilter = e.target.value.trim();
172
172
  (_a = this.changeName) === null || _a === void 0 ? void 0 : _a.emit(this.name);
173
- } })), h("verdocs-quick-filter", { key: '80693fdb171cc9ebe2b1488413adaf9c1499f24a', label: "Sharing", value: this.sharing, options: SharingFilters, onOptionSelected: e => {
173
+ } })), h("verdocs-quick-filter", { key: '194519821282ccf01b029c442ebc30f7102eaf2e', label: "Sharing", value: this.sharing, options: SharingFilters, onOptionSelected: e => {
174
174
  var _a;
175
175
  this.sharing = e.detail.value;
176
176
  (_a = this.changeSharing) === null || _a === void 0 ? void 0 : _a.emit(this.sharing);
177
- } }), h("verdocs-quick-filter", { key: 'b2ad4b67caf43236a2ace3973d36f27856f51610', label: "Starred", value: this.starred, options: StarredFilters, onOptionSelected: e => {
177
+ } }), h("verdocs-quick-filter", { key: '5d814eedb83e97ce973a9205a29d7815b3fbf0fd', label: "Starred", value: this.starred, options: StarredFilters, onOptionSelected: e => {
178
178
  var _a;
179
179
  this.starred = e.detail.value;
180
180
  (_a = this.changeStarred) === null || _a === void 0 ? void 0 : _a.emit(this.starred);
181
- } }), h("verdocs-quick-filter", { key: 'a448da8ee694fcb964d047cd35c19740abd80d49', label: "Sort By", value: this.sort, options: SortOptions, onOptionSelected: e => {
181
+ } }), h("verdocs-quick-filter", { key: '7bb139d40d9ec00dd2011248a5737f999e8765dd', label: "Sort By", value: this.sort, options: SortOptions, onOptionSelected: e => {
182
182
  var _a;
183
183
  this.sort = e.detail.value;
184
184
  (_a = this.changeSort) === null || _a === void 0 ? void 0 : _a.emit(this.sort);
185
- } }), this.loading && h("verdocs-spinner", { key: 'f4bc962a22034a2faa3ed815d40d33f47e70c408', mode: "dark", size: 24 }), h("div", { key: 'a0434d9ec54346c558999ac88bbcff024ade0727', style: { display: 'flex', flex: '1' } })), locallyFilteredTemplates.map(template => {
185
+ } }), this.loading && h("verdocs-spinner", { key: 'eaa9aa626d7e9193400c45d065fad04133963f59', mode: "dark", size: 24 }), h("div", { key: '7387c1960def6cebdb2758a5f4cdcb9475b60d1e', style: { display: 'flex', flex: '1' } })), locallyFilteredTemplates.map(template => {
186
186
  const dateToShow = this.sort === 'created_at' ? 'created_at' : this.sort === 'updated_at' ? 'updated_at' : 'last_used_at';
187
187
  const date = template[dateToShow];
188
188
  const MENU_OPTIONS = [];
@@ -229,9 +229,9 @@ const VerdocsTemplatesList$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsTem
229
229
  var _a;
230
230
  (_a = this.viewTemplate) === null || _a === void 0 ? void 0 : _a.emit({ endpoint: this.endpoint, template });
231
231
  } }, h("div", { class: "inner" }, h("verdocs-template-star", { template: template, endpoint: this.endpoint }), h("div", { class: "spacer icon-spacer" }), h("div", { class: "name" }, template.name), h("div", { class: "spacer usage-spacer" }), h("div", { class: "usage" }, h("span", { innerHTML: EnvelopeIcon, title: "Usage Counter" }), template.counter || '--'), h("div", { class: "spacer last-used-spacer" }), h("div", { class: "last-used" }, dateToShow === 'created_at' && h("span", { innerHTML: CreatedIcon, title: "Created" }), dateToShow === 'updated_at' && h("span", { innerHTML: UpdatedIcon, title: "Last Updated" }), dateToShow === 'last_used_at' && h("span", { innerHTML: LastUsedIcon, title: "Last Used" }), date ? dateFns.format(new Date(date), 'P') : 'Never'), h("div", { class: "spacer ownership-spacer" }), template.is_public && (h("div", { class: "ownership" }, h("span", { innerHTML: GlobeAltIcon }), " Public")), !template.is_public && !template.is_personal && (h("div", { class: "ownership" }, h("span", { innerHTML: LockClosedIcon }), " Private")), !template.is_public && template.is_personal && (h("div", { class: "ownership" }, h("span", { innerHTML: BuildingOfficeIcon }), " Shared")), h("verdocs-dropdown", { options: MENU_OPTIONS, onOptionSelected: e => this.handleOptionSelected(e.detail.id, template) }))));
232
- }), !this.initiallyLoaded && (h("div", { key: '0f5ae9865209b24176770ab2f9af2657e20fc8f7' }, integerSequence(0, this.rowsPerPage).map(() => (h("div", { class: "template-placeholder" }))))), this.initiallyLoaded && !this.templates.length && h("div", { key: '42a3642519dedc31dfb49b798b03179a6c7449c6', class: "empty-text" }, "No matching templates found. Please adjust your filters and try again."), this.initiallyLoaded && this.templates.length && this.showPagination ? (h("div", { style: { marginTop: '20px' } }, h("verdocs-pagination", { selectedPage: this.selectedPage, perPage: this.rowsPerPage, itemCount: this.count, onSelectPage: e => {
232
+ }), !this.initiallyLoaded && (h("div", { key: 'aa47ab45c993fce4229534b04ffc51b0ea7d9e0e' }, integerSequence(0, this.rowsPerPage).map(() => (h("div", { class: "template-placeholder" }))))), this.initiallyLoaded && !this.templates.length && h("div", { key: 'e5e953daa661123cf5658e5de97e7af35fb414fc', class: "empty-text" }, "No matching templates found. Please adjust your filters and try again."), this.initiallyLoaded && this.templates.length && this.showPagination ? (h("div", { style: { marginTop: '20px' } }, h("verdocs-pagination", { selectedPage: this.selectedPage, perPage: this.rowsPerPage, itemCount: this.count, onSelectPage: e => {
233
233
  this.selectedPage = e.detail.selectedPage;
234
- } }))) : (h("div", null)), this.confirmDelete && (h("verdocs-ok-dialog", { key: '6d5f37081d75a19f0d5579b8387d19e45c585f92', heading: "Delete this Template?", message: "This operation cannot be undone.", onNext: () => this.deleteTemplate(this.confirmDelete), onExit: () => (this.confirmDelete = null), showCancel: true }))));
234
+ } }))) : (h("div", null)), this.confirmDelete && (h("verdocs-ok-dialog", { key: 'b5787c3b6c29784c0d1de6d98fdd190581ec9557', heading: "Delete this Template?", message: "This operation cannot be undone.", onNext: () => this.deleteTemplate(this.confirmDelete), onExit: () => (this.confirmDelete = null), showCancel: true }))));
235
235
  }
236
236
  static get watchers() { return {
237
237
  "sharing": ["handleSharingUpdated"],
@@ -34,7 +34,7 @@ const VerdocsTextInput = /*@__PURE__*/ proxyCustomElement(class VerdocsTextInput
34
34
  .catch(e => console.log('Error copying to clipboard', e));
35
35
  }
36
36
  render() {
37
- 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: () => {
37
+ 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: () => {
38
38
  // We need to allow the onInput event to fire first in case
39
39
  // the user was focused on this field before clicking clear.
40
40
  setTimeout(() => {
@@ -48,9 +48,9 @@ const VerdocsTextInput = /*@__PURE__*/ proxyCustomElement(class VerdocsTextInput
48
48
  (_b = this.inputEl) === null || _b === void 0 ? void 0 : _b.blur();
49
49
  }, 50);
50
50
  }, 50);
51
- } })), this.type === 'password' && (h("span", { key: 'b62dc779e128bb5f541884cae7f27f53baf4c62a', innerHTML: this.showingPw ? EyeIcon : EyeSlashIcon, class: "toggle-pw", onClick: () => {
51
+ } })), this.type === 'password' && (h("span", { key: '91e1427c7b7179ebc843d820e146d23b07ae7ba3', innerHTML: this.showingPw ? EyeIcon : EyeSlashIcon, class: "toggle-pw", onClick: () => {
52
52
  this.showingPw = !this.showingPw;
53
- } })), !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 }))));
53
+ } })), !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 }))));
54
54
  }
55
55
  get hostEl() { return this; }
56
56
  static get style() { return VerdocsTextInputStyle0; }
@@ -25,7 +25,7 @@ const VerdocsToggleButton = /*@__PURE__*/ proxyCustomElement(class VerdocsToggle
25
25
  (_a = this.toggle) === null || _a === void 0 ? void 0 : _a.emit({ active: newState });
26
26
  }
27
27
  render() {
28
- return (h(Host, { key: '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))));
28
+ 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))));
29
29
  }
30
30
  static get style() { return VerdocsToggleButtonStyle0; }
31
31
  }, [0, "verdocs-toggle-button", {
@@ -16,7 +16,7 @@ const VerdocsToggle$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsToggle ext
16
16
  this.selectedOption = ((_a = this.options) === null || _a === void 0 ? void 0 : _a.defaultSelection) || 0;
17
17
  }
18
18
  render() {
19
- return (h("div", { key: '9f256803ea1b003623aec738a492dff08b5f90ac', class: "container" }, h("span", { key: '61fd34e585a9d7994bda0d73aa30b229407119ef', class: "label" }, `${this.options.label}:`), h("div", { key: '8e80a85a72c40cc3c87885f43dc379225a2dfe3b', class: "buttons" }, this.options.buttons.map((button, index) => (h("button", { id: button.id, key: button.id, innerHTML: button.icon, class: index === this.selectedOption ? 'selected' : '', onClick: () => {
19
+ return (h("div", { key: '3fce957152f13b188837bcf6cf40603d9618689e', class: "container" }, h("span", { key: '9d4c488975c9daa125ecf906f641e2bc74654a96', class: "label" }, `${this.options.label}:`), h("div", { key: '28a2d8a82b05fcb3cfc9bea409ad37633fb0d860', class: "buttons" }, this.options.buttons.map((button, index) => (h("button", { id: button.id, key: button.id, innerHTML: button.icon, class: index === this.selectedOption ? 'selected' : '', onClick: () => {
20
20
  console.log('clicked', index);
21
21
  this.selectedOption = index;
22
22
  } }))))));
@@ -41,7 +41,7 @@ const VerdocsToolbarIcon = /*@__PURE__*/ proxyCustomElement(class VerdocsToolbar
41
41
  // this.press?.emit();
42
42
  // }
43
43
  render() {
44
- return (h(Host, { key: 'ea93725233dd213179a2c804bf7f4ab8cf7ab8bd', class: {} }, h("div", { key: '84c85bb763e237e06cce0a6df7852c1f8550ad9c', "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: 'e5d7e7765580c8c797f8cf73f0fc82adf6a6509d', id: this.containerId, role: "tooltip", class: "tooltip", "data-popper-placement": this.placement, ref: el => (this.tooltip = el) }, this.text, h("div", { key: '0502203740b302633cd730d220f2a184cbbb88de', "data-popper-arrow": "true", class: "arrow" }))));
44
+ return (h(Host, { key: '4674a6debb2b1097facb31672444e0f1eb397d41', class: {} }, h("div", { key: '81948d50d0b55ba9e85862e37c1e16402d8851da', "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: '716d04df7702b2068ec15b55f744646ea26aeac7', id: this.containerId, role: "tooltip", class: "tooltip", "data-popper-placement": this.placement, ref: el => (this.tooltip = el) }, this.text, h("div", { key: '8511e8a6cbe059d525a4ee770a479c932dab9625', "data-popper-arrow": "true", class: "arrow" }))));
45
45
  }
46
46
  static get style() { return VerdocsToolbarIconStyle0; }
47
47
  }, [0, "verdocs-toolbar-icon", {
@@ -61,7 +61,7 @@ const VerdocsUploadDialog = /*@__PURE__*/ proxyCustomElement(class VerdocsUpload
61
61
  this.selectedFiles = Array.from((_a = this.fileInput) === null || _a === void 0 ? void 0 : _a.files);
62
62
  }
63
63
  render() {
64
- 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 }))))));
64
+ 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 }))))));
65
65
  }
66
66
  static get style() { return VerdocsUploadDialogStyle0; }
67
67
  }, [0, "verdocs-upload-dialog", {
@@ -66,10 +66,10 @@ const VerdocsButtonPanel = class {
66
66
  }
67
67
  }
68
68
  render() {
69
- return (h(Host, { key: 'c77ea175bddafb381b9c2d59820bf5656d271ba6' }, h("div", { key: 'dd26de0092bec750606f81b3e41ded3169bce9ee', class: "icon", innerHTML: this.icon, onClick: (e) => {
69
+ return (h(Host, { key: '976e3e5ba3928e889f6b352df1fd83e1314040e0' }, h("div", { key: '8d1d8126051d28c8322b08e3744e6dd3c0d4f75d', class: "icon", innerHTML: this.icon, onClick: (e) => {
70
70
  e.stopPropagation();
71
71
  return this.toggle();
72
- }, ref: el => (this.iconEl = el) }), h("div", { key: '6708d3cb957b99e854747e74044040bbf8cbe418', role: "tooltip", class: "verdocs-button-panel-content", "data-popper-placement": "bottom", ref: el => (this.panelEl = el) }, h("div", { key: '9e4b2f228527b4474a6869ef436c3c6cb59d0ad7', "data-popper-arrow": "true", class: "arrow" }), h("slot", { key: 'ca4dc0f4d9cbee017c45dc084b772c0d303547f8' }))));
72
+ }, ref: el => (this.iconEl = el) }), h("div", { key: '6b3714c1a61a8acbc0463f9898d7241a0e80b6d0', role: "tooltip", class: "verdocs-button-panel-content", "data-popper-placement": "bottom", ref: el => (this.panelEl = el) }, h("div", { key: 'b972da5ee44541e85b21dbed6439fba6ea279ad6', "data-popper-arrow": "true", class: "arrow" }), h("slot", { key: '98d84ed288074739b774ce11eedebf53cfc0e334' }))));
73
73
  }
74
74
  };
75
75
  VerdocsButtonPanel.style = VerdocsButtonPanelStyle0;
@@ -89,7 +89,7 @@ const VerdocsTabs = class {
89
89
  (_a = this.selectTab) === null || _a === void 0 ? void 0 : _a.emit({ tab: this.tabs[index], index });
90
90
  }
91
91
  render() {
92
- return (h(Host, { key: '2fedcaa89e194d52552c9c1295451889f15873bd' }, this.tabs.map((tab, index) => (h("div", { class: `tab ${index === this.selectedTab ? 'active' : ''} ${tab.disabled ? 'disabled' : ''}`, onClick: tab.disabled ? () => { } : () => this.handleSelectTab(index) }, tab.label))), h("div", { key: 'd1020c064e91e7b2f08f096266de33533055afc4', class: "flex flex-1" }), h("slot", { key: '454f2a0fab01099f8ec6bdf73d4eaacd3471bc69' }, h("div", { key: 'b7a6f1c170591c2664e88b611cb9162f800d01c4' }))));
92
+ return (h(Host, { key: 'bbbb38d60e005c8a80bc1db7f8ef12f79f05e3fc' }, this.tabs.map((tab, index) => (h("div", { class: `tab ${index === this.selectedTab ? 'active' : ''} ${tab.disabled ? 'disabled' : ''}`, onClick: tab.disabled ? () => { } : () => this.handleSelectTab(index) }, tab.label))), h("div", { key: 'f0ced79f6ed6110e5a9d41144adca56fac15ac3d', class: "flex flex-1" }), h("slot", { key: '8233a33dba15599e7d2e084c4c77a9cc229c980e' }, h("div", { key: 'dc3d1aad930fdc5ae56b299213f6251f5e35c240' }))));
93
93
  }
94
94
  };
95
95
  VerdocsTabs.style = VerdocsTabsStyle0;
@@ -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>';
@@ -99,26 +99,26 @@ const VerdocsContactPicker = class {
99
99
  // The reason for the random names/IDs is to disable browser autocomplete. We set the autocomplete tags but many browsers ignore them
100
100
  // and show a duplicate autocomplete picker on top of our own.
101
101
  render() {
102
- return (h("form", { key: '3861f50ef4705ce6f7ae4c6148ba98887310ea84', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("div", { key: 'c0704b0e406f11a817a79d62befd3928e9b42328', class: "row" }, h("label", { key: 'b9650f5cabf5b95a95f445f973aa5e9f48baeccb', htmlFor: this.nameFieldId }, "Name:"), h("div", { key: 'd41e2583d21499df8deb2f6daf3913e6f84f7277', class: "names-row" }, h("input", { key: 'f86fa3836cb6a13382f4bcc47512423f280b8dae', 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: 'b85276f1ce375344eb808645ed9ad6f97cc4efe6', 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: '7fe1076bc1aeb396b35e645f016975c50a781b96', 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
103
103
  .filter(suggestion => !this.first_name || suggestion.first_name.toLowerCase().includes(this.first_name.toLowerCase()))
104
104
  .map(suggestion => {
105
105
  var _a;
106
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))));
107
- })))), h("div", { key: '33e9d347159d333c2cb4ad78372836a12c44ed37', class: "row" }, h("label", { key: '08b877f1f49f397708e05e5c4edde63f7bd99841', htmlFor: this.emailFieldId }, "Email:"), h("input", { key: 'e574bcdaea2a24d593819c53e5db70842680df21', 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: '529088904108b6095af9509b26309b2ade887911', class: "row" }, h("label", { key: '4a1d964892129dad4456c43da74863426b151acb', htmlFor: this.phoneFieldId }, "Phone:"), h("input", { key: '94fc3e965c198a14308b2bdff4dc7894c687b3b9', 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) => convertToE164(e.target.value) })), this.showKba && (h("div", { key: '4d97276b96fb3ebfd0bf6da037c89557abe96dbe', class: "row" }, h("div", { key: '82419c3358ab15d35d544dd5c0659342741f6d9a', class: "label-with-icon" }, h("label", { key: '624d35571946e5af9649a775328d82b5311c082a' }, "KBA:"), h("verdocs-help-icon", { key: '971bb88f331be5ef976c8283e788bf5d915fc5ca', 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: '921fb4583c2b99ca177baadc017230acadba855b', 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: [
108
108
  { label: 'None', value: '' },
109
109
  { label: 'PIN Code', value: 'pin' },
110
110
  { label: 'Full Verification', value: 'kba' },
111
- ] }), this.kbaMethod === 'pin' && (h("input", { key: '4054f39be8dc9b6967accd4db84da19244618faf', 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: '28f5f82b0b3d36e9a9dff1028cfca08546f9389f', class: "row" }, h("label", { key: 'bdbb3c2c65ac85398625e97795881a763f5d3e94', htmlFor: "verdocs-contact-picker-message" }, "Message:"), h("input", { key: '292d1986340795e9587ac6c86149aa3625780d77', 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.message = e.target.value) }))), h("div", { key: '7bef18e7ed6e0a9146c148fb86c553169abc6566', class: "buttons" }, h("verdocs-toggle-button", { key: 'e6cd744f9d30c47bee99a358acea077be4869c22', 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 => {
112
112
  this.showKba = e.detail.active;
113
113
  if (!e.detail.active) {
114
114
  this.pinCode = '';
115
115
  this.kbaMethod = '';
116
116
  }
117
117
  this.showSuggestions = false;
118
- } }), h("verdocs-toggle-button", { key: '3bf1647d38d0e05e69457d804e2f72ce1aff9e7d', 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 => {
119
119
  this.showMessage = e.detail.active;
120
120
  this.showSuggestions = false;
121
- } }), h("div", { key: '95c98134627956d890353b46b485897591f6bfec', class: "flex-fill" }), h("verdocs-button", { key: '7d48060a34c3a567f68e5066864bc8b75e4405d8', variant: "outline", label: "Cancel", size: "small", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '8d84bb7296084e920d60a16d14b0ccff65f886b0', 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) }))));
122
122
  }
123
123
  };
124
124
  VerdocsContactPicker.style = VerdocsContactPickerStyle0;
@@ -147,7 +147,7 @@ const VerdocsToggleButton = class {
147
147
  (_a = this.toggle) === null || _a === void 0 ? void 0 : _a.emit({ active: newState });
148
148
  }
149
149
  render() {
150
- 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))));
151
151
  }
152
152
  };
153
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
@@ -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;