@verdocs/web-sdk 5.0.3 → 5.0.4

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 (310) hide show
  1. package/dist/cjs/{Datastore-b1742da2.js → Datastore-5b860927.js} +2 -2
  2. package/dist/cjs/index-ccac8641.js +4 -4
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/verdocs-build.cjs.entry.js +1 -1
  5. package/dist/cjs/verdocs-button_2.cjs.entry.js +2 -2
  6. package/dist/cjs/verdocs-checkbox_6.cjs.entry.js +8 -8
  7. package/dist/cjs/verdocs-contact-picker_2.cjs.entry.js +1 -1
  8. package/dist/cjs/verdocs-dialog.cjs.entry.js +1 -1
  9. package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +1 -1
  10. package/dist/cjs/verdocs-envelope-recipient-link_2.cjs.entry.js +3 -3
  11. package/dist/cjs/verdocs-envelope-recipient-summary.cjs.entry.js +1 -1
  12. package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +1 -1
  13. package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +6 -6
  14. package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js +4 -4
  15. package/dist/cjs/verdocs-field-payment.cjs.entry.js +1 -1
  16. package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +1 -1
  17. package/dist/cjs/verdocs-kba-dialog_2.cjs.entry.js +1 -1
  18. package/dist/cjs/verdocs-menu-panel_2.cjs.entry.js +241 -0
  19. package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +1 -1
  20. package/dist/cjs/verdocs-organization-card_2.cjs.entry.js +2 -2
  21. package/dist/cjs/verdocs-pagination_2.cjs.entry.js +1 -1
  22. package/dist/cjs/verdocs-preview_6.cjs.entry.js +2863 -156
  23. package/dist/cjs/verdocs-quick-functions.cjs.entry.js +1 -1
  24. package/dist/cjs/verdocs-radio-button.cjs.entry.js +1 -1
  25. package/dist/cjs/verdocs-search-tabs.cjs.entry.js +1 -1
  26. package/dist/cjs/verdocs-spinner.cjs.entry.js +1 -1
  27. package/dist/cjs/verdocs-status-indicator.cjs.entry.js +2 -2
  28. package/dist/cjs/verdocs-template-card.cjs.entry.js +1 -1
  29. package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +2 -2
  30. package/dist/cjs/verdocs-template-star.cjs.entry.js +1 -1
  31. package/dist/cjs/verdocs-template-tags.cjs.entry.js +1 -1
  32. package/dist/cjs/verdocs-web-sdk.cjs.js +1 -1
  33. package/dist/collection/collection-manifest.json +1 -0
  34. package/dist/collection/components/controls/verdocs-help-icon/verdocs-help-icon.css +1 -1
  35. package/dist/collection/components/controls/verdocs-help-icon/verdocs-help-icon.js +1 -1
  36. package/dist/collection/components/controls/verdocs-menu-panel/verdocs-menu-panel.css +42 -0
  37. package/dist/collection/components/controls/verdocs-menu-panel/verdocs-menu-panel.js +159 -0
  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-radio-button/verdocs-radio-button.js +1 -1
  43. package/dist/collection/components/controls/verdocs-select-input/verdocs-select-input.css +2 -2
  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-text-input/verdocs-text-input.css +2 -2
  48. package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.js +4 -4
  49. package/dist/collection/components/controls/verdocs-toggle-button/verdocs-toggle-button.js +1 -1
  50. package/dist/collection/components/controls/verdocs-toolbar-icon/verdocs-toolbar-icon.js +1 -1
  51. package/dist/collection/components/dialogs/verdocs-dialog/verdocs-dialog.js +1 -1
  52. package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js +1 -1
  53. package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js +1 -1
  54. package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js +1 -1
  55. package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js +1 -1
  56. package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js +1 -1
  57. package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js +1 -1
  58. package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -1
  59. package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +6 -6
  60. package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +2 -2
  61. package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.js +1 -1
  62. package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.css +27 -42
  63. package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +12 -14
  64. package/dist/collection/components/templates/verdocs-template-roles/verdocs-template-roles.css +74 -120
  65. package/dist/collection/components/templates/verdocs-template-roles/verdocs-template-roles.js +145 -101
  66. package/dist/collection/components/templates/verdocs-template-star/verdocs-template-star.js +1 -1
  67. package/dist/collection/components/templates/verdocs-template-tags/verdocs-template-tags.js +1 -1
  68. package/dist/collection/utils/Datastore.js +2 -2
  69. package/dist/components/index.js +2 -0
  70. package/dist/components/{p-ed88b8d2.js → p-005c3387.js} +3 -3
  71. package/dist/components/{p-0d063bf9.js → p-052fcdac.js} +4 -4
  72. package/dist/components/{p-0a69031f.js → p-053a0408.js} +6 -6
  73. package/dist/components/{p-1c2cf1be.js → p-15b1e7a0.js} +10 -8
  74. package/dist/components/{p-293ea62f.js → p-1a77c51b.js} +5 -5
  75. package/dist/components/{p-f990140a.js → p-2ef2d490.js} +2 -2
  76. package/dist/components/{p-c8fedb4e.js → p-325b3828.js} +6 -6
  77. package/dist/components/{p-6315b90f.js → p-332a97b3.js} +1 -1
  78. package/dist/components/{p-b0c02eb8.js → p-3a621e5d.js} +7 -7
  79. package/dist/components/{p-18999830.js → p-41a75ad6.js} +1 -1
  80. package/dist/components/{p-5eb45a4f.js → p-44ae3c75.js} +1 -1
  81. package/dist/components/{p-1e2e8b1c.js → p-4d3b9ee9.js} +1 -1
  82. package/dist/components/{p-1e67ebdf.js → p-53585e13.js} +18 -26
  83. package/dist/components/{p-c7b00ce6.js → p-5654568d.js} +1 -1
  84. package/dist/components/{p-ecc818bb.js → p-5df09a0d.js} +6 -6
  85. package/dist/components/{p-315d6592.js → p-62743fd3.js} +2 -2
  86. package/dist/components/{p-dd701894.js → p-6506ddb4.js} +6 -6
  87. package/dist/components/{p-5d4bbcd0.js → p-6719b0d7.js} +1 -1
  88. package/dist/components/{p-d9704a51.js → p-6c18617e.js} +6 -6
  89. package/dist/components/{p-fd96322b.js → p-7246d2ee.js} +6 -6
  90. package/dist/components/{p-0ca7012b.js → p-7f32e087.js} +2 -2
  91. package/dist/components/{p-9b3c58d9.js → p-987a8392.js} +22 -22
  92. package/dist/components/{p-b9034018.js → p-9c0b30f8.js} +3 -3
  93. package/dist/components/{p-b16c202a.js → p-9cfd8022.js} +1 -1
  94. package/dist/components/{p-a3e12c74.js → p-9fb98ea2.js} +1 -1
  95. package/dist/components/p-a06a0184.js +3055 -0
  96. package/dist/components/{p-f72b9c45.js → p-a2f6d2c6.js} +1 -1
  97. package/dist/components/{p-1ca705bc.js → p-b36c979b.js} +6 -6
  98. package/dist/{esm/Datastore-52fcbac6.js → components/p-b712e729.js} +2 -2
  99. package/dist/components/{p-cf6ea837.js → p-b7d080eb.js} +1 -1
  100. package/dist/components/p-be261487.js +79 -0
  101. package/dist/components/{p-9bb47a5a.js → p-c00770e6.js} +1 -1
  102. package/dist/components/{p-4afcdc84.js → p-c9a4ef35.js} +6 -6
  103. package/dist/components/{p-9c3fd545.js → p-ca8e3721.js} +8 -8
  104. package/dist/components/{p-5a9cea40.js → p-cce871bf.js} +3 -3
  105. package/dist/components/{p-df3afaa8.js → p-cef9df4b.js} +20 -20
  106. package/dist/components/{p-74452a2b.js → p-d9074622.js} +3 -3
  107. package/dist/components/{p-d25cdbff.js → p-f0f1ed82.js} +21 -21
  108. package/dist/components/{p-58c2bd5d.js → p-f0f6e862.js} +2 -2
  109. package/dist/components/{p-49153610.js → p-f21ef4fb.js} +7 -7
  110. package/dist/components/{p-fcad60f5.js → p-f4e068a9.js} +2 -2
  111. package/dist/components/{p-2548f3f0.js → p-f7462b26.js} +1 -1
  112. package/dist/components/verdocs-auth.js +2 -2
  113. package/dist/components/verdocs-build.js +64 -58
  114. package/dist/components/verdocs-contact-picker.js +1 -1
  115. package/dist/components/verdocs-dialog.js +1 -1
  116. package/dist/components/verdocs-dropdown.js +1 -1
  117. package/dist/components/verdocs-envelope-document-page.js +1 -1
  118. package/dist/components/verdocs-envelope-recipient-link.js +1 -1
  119. package/dist/components/verdocs-envelope-recipient-summary.js +1 -1
  120. package/dist/components/verdocs-envelope-sidebar.js +8 -8
  121. package/dist/components/verdocs-envelopes-list.js +13 -13
  122. package/dist/components/verdocs-field-attachment.js +1 -1
  123. package/dist/components/verdocs-field-checkbox.js +1 -1
  124. package/dist/components/verdocs-field-date.js +1 -1
  125. package/dist/components/verdocs-field-dropdown.js +1 -1
  126. package/dist/components/verdocs-field-initial.js +1 -1
  127. package/dist/components/verdocs-field-payment.js +6 -6
  128. package/dist/components/verdocs-field-radio.js +1 -1
  129. package/dist/components/verdocs-field-signature.js +1 -1
  130. package/dist/components/verdocs-field-textarea.js +1 -1
  131. package/dist/components/verdocs-field-textbox.js +1 -1
  132. package/dist/components/verdocs-field-timestamp.js +1 -1
  133. package/dist/components/verdocs-help-icon.js +1 -1
  134. package/dist/components/verdocs-initial-dialog.js +1 -1
  135. package/dist/components/verdocs-menu-panel.d.ts +11 -0
  136. package/dist/components/verdocs-menu-panel.js +6 -0
  137. package/dist/components/verdocs-ok-dialog.js +1 -1
  138. package/dist/components/verdocs-organization-card.js +2 -2
  139. package/dist/components/verdocs-pagination.js +1 -1
  140. package/dist/components/verdocs-portal.js +1 -1
  141. package/dist/components/verdocs-preview.js +1 -1
  142. package/dist/components/verdocs-progress-bar.js +1 -1
  143. package/dist/components/verdocs-quick-functions.js +1 -1
  144. package/dist/components/verdocs-radio-button.js +1 -1
  145. package/dist/components/verdocs-search-tabs.js +1 -1
  146. package/dist/components/verdocs-select-input.js +1 -1
  147. package/dist/components/verdocs-send.js +1 -1
  148. package/dist/components/verdocs-sign.js +6 -6
  149. package/dist/components/verdocs-signature-dialog.js +1 -1
  150. package/dist/components/verdocs-spinner.js +1 -1
  151. package/dist/components/verdocs-status-indicator.js +1 -1
  152. package/dist/components/verdocs-switch.js +1 -1
  153. package/dist/components/verdocs-template-attachments.js +1 -1
  154. package/dist/components/verdocs-template-build-tabs.js +1 -1
  155. package/dist/components/verdocs-template-card.js +1 -1
  156. package/dist/components/verdocs-template-create.js +1 -1
  157. package/dist/components/verdocs-template-document-page.js +1 -1
  158. package/dist/components/verdocs-template-field-properties.js +1 -1
  159. package/dist/components/verdocs-template-fields.js +1 -1
  160. package/dist/components/verdocs-template-role-properties.js +1 -1
  161. package/dist/components/verdocs-template-roles.js +1 -1
  162. package/dist/components/verdocs-template-star.js +1 -1
  163. package/dist/components/verdocs-template-tags.js +1 -1
  164. package/dist/components/verdocs-templates-list.js +8 -8
  165. package/dist/components/verdocs-text-input.js +1 -1
  166. package/dist/components/verdocs-toggle-button.js +1 -1
  167. package/dist/components/verdocs-toolbar-icon.js +1 -1
  168. package/dist/components/verdocs-upload-dialog.js +1 -1
  169. package/dist/components/verdocs-view.js +1 -1
  170. package/dist/custom-elements.json +2156 -0
  171. package/dist/{components/p-da4d4eed.js → esm/Datastore-d29d4aeb.js} +2 -2
  172. package/dist/esm/index-272d51a4.js +4 -4
  173. package/dist/esm/loader.js +1 -1
  174. package/dist/esm/verdocs-build.entry.js +1 -1
  175. package/dist/esm/verdocs-button_2.entry.js +2 -2
  176. package/dist/esm/verdocs-checkbox_6.entry.js +8 -8
  177. package/dist/esm/verdocs-contact-picker_2.entry.js +1 -1
  178. package/dist/esm/verdocs-dialog.entry.js +1 -1
  179. package/dist/esm/verdocs-envelope-document-page.entry.js +1 -1
  180. package/dist/esm/verdocs-envelope-recipient-link_2.entry.js +3 -3
  181. package/dist/esm/verdocs-envelope-recipient-summary.entry.js +1 -1
  182. package/dist/esm/verdocs-envelope-sidebar.entry.js +1 -1
  183. package/dist/esm/verdocs-envelopes-list.entry.js +6 -6
  184. package/dist/esm/verdocs-field-attachment_13.entry.js +4 -4
  185. package/dist/esm/verdocs-field-payment.entry.js +1 -1
  186. package/dist/esm/verdocs-file-chooser_2.entry.js +1 -1
  187. package/dist/esm/verdocs-kba-dialog_2.entry.js +1 -1
  188. package/dist/esm/verdocs-menu-panel_2.entry.js +236 -0
  189. package/dist/esm/verdocs-ok-dialog.entry.js +1 -1
  190. package/dist/esm/verdocs-organization-card_2.entry.js +2 -2
  191. package/dist/esm/verdocs-pagination_2.entry.js +1 -1
  192. package/dist/esm/verdocs-preview_6.entry.js +2811 -104
  193. package/dist/esm/verdocs-quick-functions.entry.js +1 -1
  194. package/dist/esm/verdocs-radio-button.entry.js +1 -1
  195. package/dist/esm/verdocs-search-tabs.entry.js +1 -1
  196. package/dist/esm/verdocs-spinner.entry.js +1 -1
  197. package/dist/esm/verdocs-status-indicator.entry.js +2 -2
  198. package/dist/esm/verdocs-template-card.entry.js +1 -1
  199. package/dist/esm/verdocs-template-document-page_2.entry.js +2 -2
  200. package/dist/esm/verdocs-template-star.entry.js +1 -1
  201. package/dist/esm/verdocs-template-tags.entry.js +1 -1
  202. package/dist/esm/verdocs-web-sdk.js +1 -1
  203. package/dist/esm-es5/{Datastore-52fcbac6.js → Datastore-d29d4aeb.js} +1 -1
  204. package/dist/esm-es5/index-272d51a4.js +1 -1
  205. package/dist/esm-es5/loader.js +1 -1
  206. package/dist/esm-es5/verdocs-build.entry.js +1 -1
  207. package/dist/esm-es5/verdocs-button_2.entry.js +1 -1
  208. package/dist/esm-es5/verdocs-checkbox_6.entry.js +1 -1
  209. package/dist/esm-es5/verdocs-contact-picker_2.entry.js +1 -1
  210. package/dist/esm-es5/verdocs-dialog.entry.js +1 -1
  211. package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
  212. package/dist/esm-es5/verdocs-envelope-recipient-link_2.entry.js +1 -1
  213. package/dist/esm-es5/verdocs-envelope-recipient-summary.entry.js +1 -1
  214. package/dist/esm-es5/verdocs-envelope-sidebar.entry.js +1 -1
  215. package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
  216. package/dist/esm-es5/verdocs-field-attachment_13.entry.js +1 -1
  217. package/dist/esm-es5/verdocs-field-payment.entry.js +1 -1
  218. package/dist/esm-es5/verdocs-file-chooser_2.entry.js +1 -1
  219. package/dist/esm-es5/verdocs-kba-dialog_2.entry.js +1 -1
  220. package/dist/esm-es5/verdocs-menu-panel_2.entry.js +1 -0
  221. package/dist/esm-es5/verdocs-ok-dialog.entry.js +1 -1
  222. package/dist/esm-es5/verdocs-organization-card_2.entry.js +1 -1
  223. package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
  224. package/dist/esm-es5/verdocs-preview_6.entry.js +7 -1
  225. package/dist/esm-es5/verdocs-quick-functions.entry.js +1 -1
  226. package/dist/esm-es5/verdocs-radio-button.entry.js +1 -1
  227. package/dist/esm-es5/verdocs-search-tabs.entry.js +1 -1
  228. package/dist/esm-es5/verdocs-spinner.entry.js +1 -1
  229. package/dist/esm-es5/verdocs-status-indicator.entry.js +1 -1
  230. package/dist/esm-es5/verdocs-template-card.entry.js +1 -1
  231. package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -1
  232. package/dist/esm-es5/verdocs-template-star.entry.js +1 -1
  233. package/dist/esm-es5/verdocs-template-tags.entry.js +1 -1
  234. package/dist/esm-es5/verdocs-web-sdk.js +1 -1
  235. package/dist/types/components/controls/verdocs-menu-panel/verdocs-menu-panel.d.ts +38 -0
  236. package/dist/types/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.d.ts +1 -1
  237. package/dist/types/components/templates/verdocs-template-roles/verdocs-template-roles.d.ts +5 -3
  238. package/dist/types/components.d.ts +101 -8
  239. package/dist/verdocs-web-sdk/{p-65c5398e.entry.js → p-152b9acd.entry.js} +1 -1
  240. package/dist/verdocs-web-sdk/{p-c9f40726.system.entry.js → p-1d5b9103.system.entry.js} +1 -1
  241. package/dist/verdocs-web-sdk/{p-3364cc13.system.entry.js → p-1e191c20.system.entry.js} +1 -1
  242. package/dist/verdocs-web-sdk/{p-7464b84f.entry.js → p-1e495c60.entry.js} +1 -1
  243. package/dist/verdocs-web-sdk/{p-192403ff.entry.js → p-2224ca6d.entry.js} +1 -1
  244. package/dist/verdocs-web-sdk/{p-5b541da2.entry.js → p-27da4a2b.entry.js} +1 -1
  245. package/dist/verdocs-web-sdk/{p-914e131c.system.entry.js → p-2eae32d9.system.entry.js} +1 -1
  246. package/dist/verdocs-web-sdk/p-306bde40.system.entry.js +1 -0
  247. package/dist/verdocs-web-sdk/{p-0e9de098.entry.js → p-30c3f624.entry.js} +1 -1
  248. package/dist/verdocs-web-sdk/{p-8d401072.system.entry.js → p-3268dad0.system.entry.js} +1 -1
  249. package/dist/verdocs-web-sdk/p-365ed258.entry.js +1 -0
  250. package/dist/verdocs-web-sdk/{p-ddb17b3e.entry.js → p-39b72c10.entry.js} +1 -1
  251. package/dist/verdocs-web-sdk/{p-f5d01982.system.entry.js → p-417f71da.system.entry.js} +1 -1
  252. package/dist/verdocs-web-sdk/{p-b8737f7b.entry.js → p-42b157d2.entry.js} +1 -1
  253. package/dist/verdocs-web-sdk/{p-771c2f92.entry.js → p-47f32221.entry.js} +1 -1
  254. package/dist/verdocs-web-sdk/p-48ff3cce.system.entry.js +1 -0
  255. package/dist/verdocs-web-sdk/{p-b0b958a0.entry.js → p-51c97029.entry.js} +1 -1
  256. package/dist/verdocs-web-sdk/{p-c18c718f.system.js → p-55de8cd1.system.js} +1 -1
  257. package/dist/verdocs-web-sdk/{p-7c8938e7.system.entry.js → p-5824962b.system.entry.js} +1 -1
  258. package/dist/verdocs-web-sdk/{p-aebb0cd9.system.entry.js → p-5aa76635.system.entry.js} +1 -1
  259. package/dist/verdocs-web-sdk/{p-89cdecac.system.entry.js → p-5b0cd815.system.entry.js} +1 -1
  260. package/dist/verdocs-web-sdk/{p-0950534e.system.entry.js → p-5ce491ac.system.entry.js} +1 -1
  261. package/dist/verdocs-web-sdk/{p-c6fd3e53.system.entry.js → p-6237ce51.system.entry.js} +1 -1
  262. package/dist/verdocs-web-sdk/{p-c7cd6843.entry.js → p-660bda06.entry.js} +1 -1
  263. package/dist/verdocs-web-sdk/{p-97b00cae.system.entry.js → p-7e73805f.system.entry.js} +1 -1
  264. package/dist/verdocs-web-sdk/{p-8c03fc69.entry.js → p-8025cac7.entry.js} +1 -1
  265. package/dist/verdocs-web-sdk/{p-3dd29b19.entry.js → p-87ac8456.entry.js} +1 -1
  266. package/dist/verdocs-web-sdk/{p-475ea471.system.entry.js → p-899617aa.system.entry.js} +1 -1
  267. package/dist/verdocs-web-sdk/{p-2a1287ec.entry.js → p-899fa588.entry.js} +1 -1
  268. package/dist/verdocs-web-sdk/{p-511a4ecc.system.entry.js → p-90bc3ad0.system.entry.js} +1 -1
  269. package/dist/verdocs-web-sdk/{p-a242aa80.system.entry.js → p-917aab58.system.entry.js} +1 -1
  270. package/dist/verdocs-web-sdk/{p-524f37a0.entry.js → p-92364765.entry.js} +1 -1
  271. package/dist/verdocs-web-sdk/{p-f9b37af2.system.entry.js → p-94fe5817.system.entry.js} +1 -1
  272. package/dist/verdocs-web-sdk/{p-41cbf650.entry.js → p-99b819ad.entry.js} +1 -1
  273. package/dist/verdocs-web-sdk/{p-df04f0ca.entry.js → p-a8809e33.entry.js} +1 -1
  274. package/dist/verdocs-web-sdk/{p-a9635106.system.entry.js → p-ac6ecfad.system.entry.js} +1 -1
  275. package/dist/verdocs-web-sdk/{p-62f15675.system.entry.js → p-ad3d07a6.system.entry.js} +1 -1
  276. package/dist/verdocs-web-sdk/{p-df392ef9.entry.js → p-af1802b6.entry.js} +1 -1
  277. package/dist/verdocs-web-sdk/p-b712e729.js +1 -0
  278. package/dist/verdocs-web-sdk/{p-a165607e.entry.js → p-be4ec401.entry.js} +1 -1
  279. package/dist/verdocs-web-sdk/{p-bcc23811.entry.js → p-bea73364.entry.js} +1 -1
  280. package/dist/verdocs-web-sdk/{p-92153daa.system.entry.js → p-c253ae24.system.entry.js} +1 -1
  281. package/dist/verdocs-web-sdk/{p-92ffc207.entry.js → p-c2766b5a.entry.js} +1 -1
  282. package/dist/verdocs-web-sdk/{p-6ced37ed.entry.js → p-c3593d47.entry.js} +1 -1
  283. package/dist/verdocs-web-sdk/{p-3e7915e9.system.entry.js → p-c60743ac.system.entry.js} +1 -1
  284. package/dist/verdocs-web-sdk/{p-b9b6b3b4.system.entry.js → p-c94b0dc5.system.entry.js} +1 -1
  285. package/dist/verdocs-web-sdk/{p-78191329.system.entry.js → p-cb7aa6b8.system.entry.js} +1 -1
  286. package/dist/verdocs-web-sdk/p-d6104d4b.system.entry.js +7 -0
  287. package/dist/verdocs-web-sdk/{p-54f085d1.entry.js → p-db4c36aa.entry.js} +1 -1
  288. package/dist/verdocs-web-sdk/{p-d475fff3.entry.js → p-dc558be5.entry.js} +1 -1
  289. package/dist/verdocs-web-sdk/p-e2b70dfb.system.js +1 -1
  290. package/dist/verdocs-web-sdk/{p-80ce3711.system.entry.js → p-e6d711e0.system.entry.js} +1 -1
  291. package/dist/verdocs-web-sdk/p-f1e2ec72.entry.js +8 -0
  292. package/dist/verdocs-web-sdk/{p-ba8f5177.system.entry.js → p-f3b5052f.system.entry.js} +1 -1
  293. package/dist/verdocs-web-sdk/{p-9fb22181.entry.js → p-f40fe8d7.entry.js} +1 -1
  294. package/dist/verdocs-web-sdk/{p-e83cd333.entry.js → p-f6b77cd1.entry.js} +1 -1
  295. package/dist/verdocs-web-sdk/{p-d98cbd0f.system.entry.js → p-f84932fd.system.entry.js} +1 -1
  296. package/dist/verdocs-web-sdk/{p-6330dbef.entry.js → p-fc90cc87.entry.js} +1 -1
  297. package/dist/verdocs-web-sdk/{p-386d789c.system.entry.js → p-ff8143df.system.entry.js} +1 -1
  298. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  299. package/package.json +5 -4
  300. package/dist/cjs/verdocs-template-role-properties.cjs.entry.js +0 -184
  301. package/dist/components/p-8fbc64e9.js +0 -349
  302. package/dist/components/p-ea5954bd.js +0 -4
  303. package/dist/esm/verdocs-template-role-properties.entry.js +0 -180
  304. package/dist/esm-es5/verdocs-template-role-properties.entry.js +0 -1
  305. package/dist/verdocs-web-sdk/p-03244cd1.system.entry.js +0 -1
  306. package/dist/verdocs-web-sdk/p-9567cb7d.system.entry.js +0 -1
  307. package/dist/verdocs-web-sdk/p-982f1b36.system.entry.js +0 -1
  308. package/dist/verdocs-web-sdk/p-bb0effe1.entry.js +0 -1
  309. package/dist/verdocs-web-sdk/p-c33ae58a.entry.js +0 -1
  310. package/dist/verdocs-web-sdk/p-da4d4eed.js +0 -1
@@ -35,9 +35,9 @@ export class VerdocsTextInput {
35
35
  .catch(e => console.log('Error copying to clipboard', e));
36
36
  }
37
37
  render() {
38
- return (h(Host, { key: 'ed8584230d4423dff6ba13ea340e5f8cd4817c44', class: `input-field ${this.clearable ? 'clearable' : ''} ${this.copyable ? 'copyable' : ''}` }, h("label", { key: '2532379838f14638454ec235078d29bc441d33a0' }, this.label && (h("div", { key: 'ab59228b692ca0e778b189d4ec7323958033c2f0', class: "input-label" }, this.label + ':', this.required && h("span", { key: 'f4c1765ee7926970352c28b6f3718b80d2e2738f', class: "required" }, "*"))), h("div", { key: '996ca2a14d7bae7e0591e6bdd311de45ed6855eb', class: "input-container" }, h("input", { key: 'ae0470cd61d12a7d34f97edafe8b9b2d273ab6de', 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,
38
+ return (h(Host, { key: 'fd1c28f5f4060bae39986f6aaa7288bf89da9788', class: `input-field ${this.clearable ? 'clearable' : ''} ${this.copyable ? 'copyable' : ''}` }, h("label", { key: '5eb25f8d3ca74d32e36bf255ff6344c39903318c' }, this.label && (h("div", { key: '476ebfacd42626faedd3dbf139ad0f205a395c1c', class: "input-label" }, this.label + ':', this.required && h("span", { key: 'b16bc0649a6185dc25ede728bb46041b5d3c5ceb', class: "required" }, "*"))), h("div", { key: '6e97205750cc921cc4d0fdb2d7262869fe0b433d', class: "input-container" }, h("input", { key: '3ab6dc65769856cc5cb6a79fa3fa408c9c64123d', 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,
39
39
  // onBlur={(e: any) => this.blur?.emit(e.target.value)}
40
- ref: el => (this.inputEl = el), onInput: (e) => (this.value = e.target.value) }), this.clearable && this.value && (h("span", { key: '7d55c8905c81a61ab6c48d6b39725a6b499bd242', innerHTML: ClearIcon, class: "clear", onClick: () => {
40
+ ref: el => (this.inputEl = el), onInput: (e) => (this.value = e.target.value) }), this.clearable && this.value && (h("span", { key: '635b6289fefc3a250ae47463bfa5e9acb16988e2', innerHTML: ClearIcon, class: "clear", onClick: () => {
41
41
  // We need to allow the onInput event to fire first in case
42
42
  // the user was focused on this field before clicking clear.
43
43
  setTimeout(() => {
@@ -51,9 +51,9 @@ export class VerdocsTextInput {
51
51
  (_b = this.inputEl) === null || _b === void 0 ? void 0 : _b.blur();
52
52
  }, 50);
53
53
  }, 50);
54
- } })), this.type === 'password' && (h("span", { key: '8c74a87e13cdc4f815491ff6d3d3140bf4f38803', innerHTML: this.showingPw ? EyeIcon : EyeSlashIcon, class: "toggle-pw", onClick: () => {
54
+ } })), this.type === 'password' && (h("span", { key: '6f1f225d19651aba333c7bd92260ddb0110fce81', innerHTML: this.showingPw ? EyeIcon : EyeSlashIcon, class: "toggle-pw", onClick: () => {
55
55
  this.showingPw = !this.showingPw;
56
- } })), !this.clearable && this.copyable && this.value && h("span", { key: 'bb9efc264d835bf0c9add53200dc985fbca94fb8', innerHTML: CopyIcon, class: "copy", onClick: () => this.copyToClipboard() })), this.helpText && h("verdocs-help-icon", { key: 'dc05d331f3a5997d79f501972e03d831847f4cd7', text: this.helpText }))));
56
+ } })), !this.clearable && this.copyable && this.value && h("span", { key: 'dabff5508725721a4dedbe4d4c0f37ed789e35c8', innerHTML: CopyIcon, class: "copy", onClick: () => this.copyToClipboard() })), this.helpText && h("verdocs-help-icon", { key: '5e93a8b8cf44da47463f3e0d59f560bb137820f6', text: this.helpText }))));
57
57
  }
58
58
  static get is() { return "verdocs-text-input"; }
59
59
  static get originalStyleUrls() {
@@ -25,7 +25,7 @@ export class VerdocsToggleButton {
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: '90f073b58425c92fade3871d8d605407f43dc671', 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: '57d988cf0335a521279382d8c91be3b7af3b1f87', 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 is() { return "verdocs-toggle-button"; }
31
31
  static get originalStyleUrls() {
@@ -43,7 +43,7 @@ export class VerdocsToolbarIcon {
43
43
  // this.press?.emit();
44
44
  // }
45
45
  render() {
46
- return (h(Host, { key: '2ff1baf8227efaa911d823914f2645d3b2d7d82e', class: {} }, h("div", { key: 'c13b7a5e10720450462e4c7229b1093e03e87808', "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: 'ac849c0f365f2570c94aff71dfbba9edd357b713', id: this.containerId, role: "tooltip", class: "tooltip", "data-popper-placement": this.placement, ref: el => (this.tooltip = el) }, this.text, h("div", { key: 'f4e4f13a0016c6deb1db21c13b2f0ca6fe6bea25', "data-popper-arrow": "true", class: "arrow" }))));
46
+ return (h(Host, { key: '98b2f6b2a2711df2cf8e687e38684d495b6e7d50', class: {} }, h("div", { key: '49500d4d3348e2ccd6c9cbe7867645756c6cf5ef', "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: 'e64aa823a8a09b10a9166f96be633439d959d3ff', id: this.containerId, role: "tooltip", class: "tooltip", "data-popper-placement": this.placement, ref: el => (this.tooltip = el) }, this.text, h("div", { key: '399156e882824870173ecf3e4bcc35f2ba720b8c', "data-popper-arrow": "true", class: "arrow" }))));
47
47
  }
48
48
  static get is() { return "verdocs-toolbar-icon"; }
49
49
  static get originalStyleUrls() {
@@ -12,7 +12,7 @@ export class VerdocsDialog {
12
12
  }
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: '6af3d8e041c352f4125a67488a311751fd8c1401' }, h("div", { key: 'c00e484f1564cf12ee69a9b44c479fc0bc48a788', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '603b57d62c4d9b28d3dc63146d39cc52ec58d479', class: "dialog" }, h("slot", { key: '0808d13eef9177505e77cb4d4b013520b9bbab7d', name: "title" }, h("div", { key: 'aa4ac24cd90fa930b72c2a9e71d61296a1b67802', class: "heading" }, "Please Confirm")), h("div", { key: '3420c0f08d411ae7765f2bdbfb3f93775ef5459f', class: "content" }, h("slot", { key: '6f0c8648d2494b35a7a352ca483b996990dce72b' }))))));
15
+ return (h(Host, { key: '9ee9b83be4834965eed43634ae021252907d18c8' }, h("div", { key: 'a3c7aeaf894330126beb05d61d9b733cc7e3a725', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: 'eb6af5e6d72572e8850fbfbc50d2272ddf5fc5f4', class: "dialog" }, h("slot", { key: 'e8a994ffbb3bdfb911a8b6ac1157d0d8620becf7', name: "title" }, h("div", { key: '14af814347cdeddac4a6e678106d6b850f0d4293', class: "heading" }, "Please Confirm")), h("div", { key: '88835df2b8e30210a94a56f15967b116a1ab483c', class: "content" }, h("slot", { key: '58172bc033fba67424073693a150bae44dd84751' }))))));
16
16
  }
17
17
  static get is() { return "verdocs-dialog"; }
18
18
  static get originalStyleUrls() {
@@ -216,7 +216,7 @@ export class VerdocsInitialDialog {
216
216
  }
217
217
  */
218
218
  render() {
219
- return (h(Host, { key: 'dbd2d6af5532ce54406290d13916b8d3652a6722', onClick: e => this.handleCancel(e) }, h("div", { key: '20e5fe0ba3c4f5574cefe244cc87464d5f09eb57', class: "dialog" }, h("div", { key: 'f55d4466d9ff27893b2152bca9602c7503555652', class: "heading" }, "Create Your Initial"), h("div", { key: 'b01a33fe760e1ed989285d70a42277318306323f', class: "content" }, h("verdocs-text-input", { key: '9d3bdce7cbeb095fdb240b024e7706f7cb1a8111', placeholder: "Initials...", label: "Initials", value: this.enteredInitials, onInput: e => this.handleNameChange(e) }), h("div", { key: 'f59a8bad63cc8236a2e9eea999bb7becf9d546aa', class: "as-shown" }, "As shown on driver's license or govt. ID card."), this.fontLoaded ? h("canvas", { ref: el => (this.canvasElement = el) }) : h("div", { style: { display: 'none' } }), h("div", { key: 'ec122ff8aaf91af9b61f7c8c2fe0ac149a876fdf', class: "disclaimer" }, "By clicking Adopt, I agree that the signature will be the electronic representation of my signature for all purposes when I (or my agent) use them on documents, including legally binding contracts \u2014 just the same as a pen-and-paper signature or initial."), h("div", { key: '3d4c5b091243d136ef2af60dc3bbd0006c8ec2f8', class: "buttons" }, h("verdocs-button", { key: 'c2d94b3f5ef8b3d038727b6a8062a55c4a4ee155', label: "CANCEL", variant: "outline", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: 'ce87ab1c91e8898197d776eaae8463daf2fe88a3', label: "Adopt & Sign", onClick: e => this.handleAdopt(e) }))))));
219
+ return (h(Host, { key: '0698adbf9e417c8a9740ddc54fc3332fd5477825', onClick: e => this.handleCancel(e) }, h("div", { key: '92201ea3eb1aab855d4460be820652b49b7d8bba', class: "dialog" }, h("div", { key: '7f4933dc2f4c09b3250eac196d80c9b74242be05', class: "heading" }, "Create Your Initial"), h("div", { key: 'd01912caf68e93c8356c5f76368633bc0cb589a5', class: "content" }, h("verdocs-text-input", { key: 'c8633e528eaab1e10d9a01173226824ecd63e544', placeholder: "Initials...", label: "Initials", value: this.enteredInitials, onInput: e => this.handleNameChange(e) }), h("div", { key: '4fd64888a372811b3569d2a1fd646bc7d7c09b94', class: "as-shown" }, "As shown on driver's license or govt. ID card."), this.fontLoaded ? h("canvas", { ref: el => (this.canvasElement = el) }) : h("div", { style: { display: 'none' } }), h("div", { key: 'a4fbac61ae07b673d30c863b6a1fd7838f62bc23', class: "disclaimer" }, "By clicking Adopt, I agree that the signature will be the electronic representation of my signature for all purposes when I (or my agent) use them on documents, including legally binding contracts \u2014 just the same as a pen-and-paper signature or initial."), h("div", { key: 'c7c827bf91666aa3837bc2ebf2ddc429e8dcaea2', class: "buttons" }, h("verdocs-button", { key: '0fc0675bbbde3d3fda45ed5fa2a228969cbbda98', label: "CANCEL", variant: "outline", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: 'df80bc93a7da6a87126f47cb9c6140dc54f9ef02', label: "Adopt & Sign", onClick: e => this.handleAdopt(e) }))))));
220
220
  }
221
221
  static get is() { return "verdocs-initial-dialog"; }
222
222
  static get originalStyleUrls() {
@@ -27,7 +27,7 @@ export class VerdocsOkDialog {
27
27
  }
28
28
  }
29
29
  render() {
30
- return (h(Host, { key: 'f41613ca32a9471277c816d753e7f818ef427fd0', class: this.closed ? 'closed' : '' }, h("div", { key: '570538e2743b23b5f18a1ec6ea3db51dfd314f02', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '17bfc3cfaadc8d10fe27211cd4a0eb48083f7a4b', class: "dialog" }, h("div", { key: 'bc88208d6897a191ef5fda323a74acd3e3c2620e', class: "heading" }, this.heading), h("div", { key: 'bc794df180672198964f32a6c71eff9dd1180db9', class: "content" }, h("div", { key: 'd8618e9b479e64b457bca57838437f91a0677560', class: "message", innerHTML: this.message }), h("div", { key: '101f7819fa69c3cf8f8958a5582835b56cf94775', class: "buttons" }, this.showCancel ? h("verdocs-button", { label: "CANCEL", variant: "outline", onClick: () => this.handleCancel() }) : h("div", { style: { display: 'none' } }), h("verdocs-button", { key: 'e755590fdd93cb9cc7b23a3812377d5216a70aae', label: this.buttonLabel, onClick: () => this.handleOk() })))))));
30
+ return (h(Host, { key: '1269b0b3d50a444204a0fdd4221d5a14ab431e55', class: this.closed ? 'closed' : '' }, h("div", { key: 'bf4fdee46a53cdcb05b4d8a43ec02a0bd101d92b', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '7c83cc38d84fc7648a8ecc6d8b84b1bc3b31200d', class: "dialog" }, h("div", { key: 'a5bd6abf4c3b296225b042774da73df20cc0c2a3', class: "heading" }, this.heading), h("div", { key: '875c81191820b9c7dbc107c99e0e6d4b9881353a', class: "content" }, h("div", { key: '0bbf1de8cc0455ef01238923a9928702b55971d7', class: "message", innerHTML: this.message }), h("div", { key: '79d409dd9768b5a12d2734cfc5138a4057c9ff0a', class: "buttons" }, this.showCancel ? h("verdocs-button", { label: "CANCEL", variant: "outline", onClick: () => this.handleCancel() }) : h("div", { style: { display: 'none' } }), h("verdocs-button", { key: '8ae36e25d466e6e074544f3bb75f972bcfdc11a3', label: this.buttonLabel, onClick: () => this.handleOk() })))))));
31
31
  }
32
32
  static get is() { return "verdocs-ok-dialog"; }
33
33
  static get originalStyleUrls() {
@@ -213,7 +213,7 @@ export class VerdocsSignatureDialog {
213
213
  }
214
214
  */
215
215
  render() {
216
- return (h(Host, { key: 'cac125a1ea43ba8780243580f8837dd6afb76b7d', onClick: e => this.handleCancel(e) }, h("div", { key: '8e3ac9bd2feccb69f1a38bb1c528ee77b3124064', class: "dialog" }, h("div", { key: '3f9c153c3e0f0d028654f1ca68d74070f07b8abe', class: "heading" }, "Create Your Signature"), h("div", { key: 'd7c19bd06774d6cd912eb22dbee61643cd9b0ef7', class: "content" }, h("verdocs-text-input", { key: 'fef1ca39e7f47f321a21dc51fa6ed78eb72227d6', placeholder: "Full Name...", label: "Full Name", value: this.enteredName, onInput: e => this.handleNameChange(e), onClick: e => e.stopPropagation() }), h("div", { key: '3f1e138c623eae8a4d1a031f9e9ac9872ed34dbe', class: "as-shown" }, "As shown on driver's license or govt. ID card."), this.fontLoaded ? h("canvas", { ref: el => (this.canvasElement = el) }) : h("div", { style: { display: 'none' } }), h("div", { key: 'a02a7459aa1ea8e85696e66d730b5613685ce793', class: "disclaimer" }, "By clicking Adopt, I agree that the signature will be the electronic representation of my signature for all purposes when I (or my agent) use them on documents, including legally binding contracts \u2014 just the same as a pen-and-paper signature or initial."), h("div", { key: '79731a3eb6f2e4c23270473d078a0f7bc8e22fd4', class: "buttons" }, h("verdocs-button", { key: '47fef903e84cdeea7245356a78c98d80d5efb970', label: "CANCEL", size: "normal", variant: "outline", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: 'd6e5bc66a5e11d4550613cdc3c24e80dbe952370', label: "Adopt & Sign", size: "normal", onClick: e => this.handleAdopt(e) }))))));
216
+ return (h(Host, { key: '7f17bb6e0084ef3ac6903b6c3b37859048ef2a0e', onClick: e => this.handleCancel(e) }, h("div", { key: '343eb1b737bcafeb44e5e85228eaf3d63cda7b5b', class: "dialog" }, h("div", { key: '7e620dce493843032974003802199db7e22d9f9e', class: "heading" }, "Create Your Signature"), h("div", { key: '7ea911289c3ce24f3ae83799ab468da4178485ad', class: "content" }, h("verdocs-text-input", { key: 'ccd208e5a5808a197a936e689a0ec5660de95b95', placeholder: "Full Name...", label: "Full Name", value: this.enteredName, onInput: e => this.handleNameChange(e), onClick: e => e.stopPropagation() }), h("div", { key: 'e95d8f3c51160742d7271c43a5099be9b43ba394', class: "as-shown" }, "As shown on driver's license or govt. ID card."), this.fontLoaded ? h("canvas", { ref: el => (this.canvasElement = el) }) : h("div", { style: { display: 'none' } }), h("div", { key: 'f6371f423c042726ed7c488d4870e04bd7f8e4dd', class: "disclaimer" }, "By clicking Adopt, I agree that the signature will be the electronic representation of my signature for all purposes when I (or my agent) use them on documents, including legally binding contracts \u2014 just the same as a pen-and-paper signature or initial."), h("div", { key: 'a18cd06d3f6987c21b483c0736521de226b0859a', class: "buttons" }, h("verdocs-button", { key: 'b278a7e023436176eca864d3c6b154869f7881c2', label: "CANCEL", size: "normal", variant: "outline", onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '021e3cd3b066d0f378cb30efed7c5179dafd41c7', label: "Adopt & Sign", size: "normal", onClick: e => this.handleAdopt(e) }))))));
217
217
  }
218
218
  static get is() { return "verdocs-signature-dialog"; }
219
219
  static get originalStyleUrls() {
@@ -81,7 +81,7 @@ export class VerdocsUploadDialog {
81
81
  render() {
82
82
  var _a;
83
83
  const existingFile = ((_a = this.existingFile) === null || _a === void 0 ? void 0 : _a.name) ? this.existingFile : null;
84
- return (h(Host, { key: '5c58d237aa0b9767724b819ebe12dfd959043cf6' }, h("div", { key: '51182662086e2a03a8de959832cd4ccbcf7cdc9a', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: 'bdcb311759a93b8480a6aa765f0691a9d989a533', class: "upload-dialog-content" }, h("div", { key: '2c55c393d1bca6265b9248ec69be3a7f8c264764', class: "heading" }, "Upload attachment"), this.selectedFiles.length < 1 && existingFile && (h(Fragment, { key: 'd84ac8836f527b19988abebff20405ba761bb67c' }, h("div", { key: '13386e107e319e7c23e10042cd423c834c6d4fe0', class: "current-label" }, "Current Attachment"), h("div", { key: '9a249f27b71f2bb6b705a2eb60f88d54db51c63a', class: "attachments", style: { marginTop: '0' } }, h("div", { key: '33486bd63c804320bea7a2d664241fb1c396055a', class: "attachment" }, h("div", { key: '1f7f010de68abc0e8f29ee3768b13598e0261cc0', class: "icon", innerHTML: PaperclipIcon }), h("div", { key: '957dccfd827856b62109d27aba2bd42f1ad2d695', class: "name" }, existingFile.name), h("div", { key: '86cbef13368af45a397c3b0a6d49f71a4465a8ac', class: "icon trash", innerHTML: TrashIcon, onClick: () => (this.confirmDelete = true) }))))), this.selectedFiles.length < 1 && !existingFile && (h("div", { key: 'a1b32fef7628c54d163fb4b60d5807111735d769', 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: '8d8ecd592d7e8315078f2c0319e67464b9838530' }, "Drag and drop your files here"), h("p", { key: 'de7f672655587b7d3f2c86914f89089563c01b8b', class: "subscript" }, "Supported files: PDF, Word, JPG, PNG"), h("verdocs-button", { key: '03eebfdc500e840c77b2b113d1b2820fe8a678b6', label: !!existingFile ? 'Replace files' : 'Select files', onClick: () => this.handleSelectFile() }), h("input", { key: '1e8f8da72ce228f45b515c062ea0e25f1e1b70cf', type: "file", ref: el => (this.fileInput = el), style: { display: 'none' }, accept: ".pdf,application/pdf,.doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,image/*", onChange: () => this.handleFileChange() }))), this.selectedFiles.length > 0 && (h("div", { key: '196f78245ab12c8f13300cbbf66df4d1a3226296', class: "attachments" }, this.selectedFiles.map((file, index) => (h("div", { class: "attachment" }, h("div", { class: "icon", innerHTML: PaperclipIcon }), h("div", { class: "name" }, file.name), h("div", { class: "icon trash", innerHTML: TrashIcon, onClick: () => this.handleRemoveAttachment(index) })))))), !!this.errorMessage && h("div", { key: '553b2c86f2b502a8d63e4abb856e3e2eb3112720', class: "error" }, this.errorMessage), h("div", { key: '25e7a81f406e7ff0d2f64f1cedaa24292d9f3d5f', class: "buttons" }, h("verdocs-button", { key: '350d1c821de9a51ed7ddc511b52925526c0844b1', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), h("verdocs-button", { key: 'cc9e0d1277d60351e47a1c69b2cb1f3b0848ebac', label: "Upload", onClick: () => this.handleDone(), disabled: !!this.errorMessage || this.selectedFiles.length < 1 })))), this.confirmDelete && (h("verdocs-ok-dialog", { key: '8740bba0a7ebf6c33fa9821a02146c0ae7ab527d', heading: "Delete Attachment?", message: "Are you sure you wish to delete this attachment? This action cannot be undone.", showCancel: true, onExit: e => {
84
+ return (h(Host, { key: 'bf44d11ef8469c723f4e8e2891b43b212af301db' }, h("div", { key: '5d526e1c70be9bc6abe15a948324d3382bacfa92', class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { key: '6629e0766470abee9030b5891a6672aec5b78b90', class: "upload-dialog-content" }, h("div", { key: 'db299210684a8feb3763c7d5bfcbf7704ff1eb94', class: "heading" }, "Upload attachment"), this.selectedFiles.length < 1 && existingFile && (h(Fragment, { key: '2b689e39fd5970fecad94a00575ee18788c3e920' }, h("div", { key: '3470a0e5e0b4c944441476240e04f040e93647bc', class: "current-label" }, "Current Attachment"), h("div", { key: 'dfae3560c030d6eda9009adc93344d4aa97bfa43', class: "attachments", style: { marginTop: '0' } }, h("div", { key: '4c61942eb4380648217f1b66eb448ae845ee26bf', class: "attachment" }, h("div", { key: '0217414d68e09f9cff2f589c29abf253b1aec98f', class: "icon", innerHTML: PaperclipIcon }), h("div", { key: 'e3b6784f38939df6759c04258234a3a693feb06c', class: "name" }, existingFile.name), h("div", { key: '27f142739c4e103c6dfb7d5fecf4edfb46de4d7b', class: "icon trash", innerHTML: TrashIcon, onClick: () => (this.confirmDelete = true) }))))), this.selectedFiles.length < 1 && !existingFile && (h("div", { key: '4d4bdf03cfd7546b2af3eaedaf8ae245b91e9d46', 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: 'c9d7dff30d4eee65b6c488440fb2484d36a345da' }, "Drag and drop your files here"), h("p", { key: 'f837a2fc7127afc27819834fe246e1beb7745f96', class: "subscript" }, "Supported files: PDF, Word, JPG, PNG"), h("verdocs-button", { key: '0d37e26f4c0c9aa5f7d651497c3379319f44345a', label: !!existingFile ? 'Replace files' : 'Select files', onClick: () => this.handleSelectFile() }), h("input", { key: '0635e8c4b1df8bd6c7425e5411b3c9f938b4dddf', type: "file", ref: el => (this.fileInput = el), style: { display: 'none' }, accept: ".pdf,application/pdf,.doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,image/*", onChange: () => this.handleFileChange() }))), this.selectedFiles.length > 0 && (h("div", { key: '02c6bf8aee2fad06dd42eb8fd01e595e28bab06d', class: "attachments" }, this.selectedFiles.map((file, index) => (h("div", { class: "attachment" }, h("div", { class: "icon", innerHTML: PaperclipIcon }), h("div", { class: "name" }, file.name), h("div", { class: "icon trash", innerHTML: TrashIcon, onClick: () => this.handleRemoveAttachment(index) })))))), !!this.errorMessage && h("div", { key: '7a83308b0a87148601f148a3c4da385d5b04d37c', class: "error" }, this.errorMessage), h("div", { key: '3e1cca60ab23c64cb3d8007600e862908b99350d', class: "buttons" }, h("verdocs-button", { key: 'd9d09a57becd28ca90dc6a1197c18078c11f0de4', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), h("verdocs-button", { key: '67a47dbd4310fa3e5d4e5b49479c3e924719ce7e', label: "Upload", onClick: () => this.handleDone(), disabled: !!this.errorMessage || this.selectedFiles.length < 1 })))), this.confirmDelete && (h("verdocs-ok-dialog", { key: '8594cb5b4088087391a5f9afb2eb52632073d9ac', heading: "Delete Attachment?", message: "Are you sure you wish to delete this attachment? This action cannot be undone.", showCancel: true, onExit: e => {
85
85
  // So we don't close the upload dialog
86
86
  e.preventDefault();
87
87
  e.stopPropagation();
@@ -19,7 +19,7 @@ export class VerdocsQuickFunctions {
19
19
  this.createDocument.emit();
20
20
  }
21
21
  render() {
22
- return (h("div", { key: '5477198aad675bd449cd36d7511db21ed9dae613', class: "container" }, h("p", { key: 'b7e436210675f73956d2b72de2683b22e9ad1def', class: "title" }, "Quick Create"), h("button", { key: '638c4c831fc83d8d6e5c73ff67807c79b02d8c74', onClick: () => this.handleCreateTemplate(), innerHTML: TemplateIcon }, "Template"), h("button", { key: '16d21850165b9b35129d12533dbe32d958093e0b', onClick: () => this.handleCreateDocument(), innerHTML: DocumentIcon }, "Document")));
22
+ return (h("div", { key: '9dc60eeb3d9357d121e53a7fb3050ee4d25a0a36', class: "container" }, h("p", { key: '51860a235d912a4dc6d166add4b982c71805fc8d', class: "title" }, "Quick Create"), h("button", { key: '9f530aa3e54655cbf1ce9d95ae7a08fa5b57f644', onClick: () => this.handleCreateTemplate(), innerHTML: TemplateIcon }, "Template"), h("button", { key: 'e3e33afb47acf64ba78d9b156c5dc986d977f881', onClick: () => this.handleCreateDocument(), innerHTML: DocumentIcon }, "Document")));
23
23
  }
24
24
  static get is() { return "verdocs-quick-functions"; }
25
25
  static get originalStyleUrls() {
@@ -4,7 +4,7 @@ export class VerdocsSearchTabs {
4
4
  this.selected = 'all';
5
5
  }
6
6
  render() {
7
- return h("div", { key: '94316e73f4d9ec80389a8442a8bb3e2b95b91840' }, "\u00A0");
7
+ return h("div", { key: '4c809496e5ade75145e1e3c5b5d9b4749078b3e6' }, "\u00A0");
8
8
  }
9
9
  static get is() { return "verdocs-search-tabs"; }
10
10
  static get originalStyleUrls() {
@@ -74,7 +74,7 @@ export class VerdocsEnvelopeDocumentPage {
74
74
  }
75
75
  render() {
76
76
  const height = `${this.renderedHeight}px`;
77
- return (h(Host, { key: '219a7af5090d897342b5013084a0ee40d2336d83', 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) => {
77
+ return (h(Host, { key: 'd461f16d93680ee69b93258d9985e7e24599acbd', 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) => {
78
78
  // Note that all we really care about is the aspect ratio. We track the natural Width and Height but they aren't really that
79
79
  // useful as individual values. The image will already have been scaled down to fit a DIV for display (100%, auto height).
80
80
  // Builder places fields offset into the rendered display area, not the original document's dimensions. So its X/Y values
@@ -191,18 +191,18 @@ export class VerdocsEnvelopesList {
191
191
  });
192
192
  }
193
193
  render() {
194
- return (h(Host, { key: '6f4f98311ffbedefc96cbc2f1208e4f471ee1b01' }, h("div", { key: '97383aa90edf3bf8cf77ab3f6986bdd7502de1a9', class: "header" }, h("div", { key: '1af40727c235e732ba7c1265be6d2a6e1d33a4a1', class: "filter" }, h("verdocs-text-input", { key: '23beddb65b55f24545f9dc812655d9c63d96e4f9', id: "verdocs-filter-name", value: this.match, clearable: true, autocomplete: "off", placeholder: "Filter by Name, Recipient, or Field...", onFocusout: (e) => {
194
+ return (h(Host, { key: '13cff825b9a325bb5b45e7c26420276bfb7da9ed' }, h("div", { key: '1c5373c8a470db467d32597647aa386efb1b9e17', class: "header" }, h("div", { key: '4c394a9bf835ce0145b5b11f0bb2d5386134d1fe', class: "filter" }, h("verdocs-text-input", { key: '24a0f7b03fa759478824ca79a1e1939ee986fb6a', id: "verdocs-filter-name", value: this.match, clearable: true, autocomplete: "off", placeholder: "Filter by Name, Recipient, or Field...", onFocusout: (e) => {
195
195
  var _a;
196
196
  // We don't locally filter envelopes because there are too many fields to match against efficiently.
197
197
  this.match = e.target.value.trim();
198
198
  (_a = this.changeMatch) === null || _a === void 0 ? void 0 : _a.emit(this.match);
199
- } })), h("verdocs-quick-filter", { key: '2628e51157d28b5ebe6a9aeb01c526876f6c34ef', label: "View", value: this.view, options: ViewFilters, onOptionSelected: e => {
199
+ } })), h("verdocs-quick-filter", { key: '437393b3d6019e0891def40a6d3eba7fa3d480e9', label: "View", value: this.view, options: ViewFilters, onOptionSelected: e => {
200
200
  this.view = e.detail.value;
201
- } }), this.view === 'all' && (h("verdocs-quick-filter", { key: '959f6844e39181e0cddd5f616e13818e5ab47e65', label: "Status", value: this.status, options: StatusFilters, onOptionSelected: e => {
201
+ } }), this.view === 'all' && (h("verdocs-quick-filter", { key: 'aec9971bcdfa2a7f444f22e0a6bba6b9007eef04', label: "Status", value: this.status, options: StatusFilters, onOptionSelected: e => {
202
202
  this.status = e.detail.value;
203
- } })), this.view === 'all' && (h("verdocs-quick-filter", { key: '168930d3039992fc11a6f2715562ecfe714b78f0', label: "Sort By", value: this.sort, options: SortFilters, onOptionSelected: e => {
203
+ } })), this.view === 'all' && (h("verdocs-quick-filter", { key: '10bb4001fadd7ca49547a7343a7322bcc941c3f6', label: "Sort By", value: this.sort, options: SortFilters, onOptionSelected: e => {
204
204
  this.sort = e.detail.value;
205
- } })), this.loading && h("verdocs-spinner", { key: '541adb9e433da92dc7bdb10a7c0945f98e5afaae', mode: "dark", size: 24 }), h("div", { key: '2642cb449ab2e21154f18d6b4e7aec445b41a953', style: { display: 'flex', flex: '1' } }), this.selectedEnvelopes.length > 0 && h("verdocs-button", { key: '98ad50d3aa6859e0415401fd883127fd8b93cc5c', label: `Download (${this.selectedEnvelopes.length})`, onClick: () => this.handleDownload() })), this.envelopes.map(envelope => {
205
+ } })), this.loading && h("verdocs-spinner", { key: '2181c646258f4c9949eec73fd83ca83d16186170', mode: "dark", size: 24 }), h("div", { key: 'ba7761ae3b1e9e503c00efb2107883e2ea7e0682', style: { display: 'flex', flex: '1' } }), this.selectedEnvelopes.length > 0 && h("verdocs-button", { key: '7124f4e1533b0f76d9bc098504063d360f49107e', label: `Download (${this.selectedEnvelopes.length})`, onClick: () => this.handleDownload() })), this.envelopes.map(envelope => {
206
206
  var _a;
207
207
  const recipientsWithActions = getRecipientsWithActions(envelope);
208
208
  const userCanCancel = userCanCancelEnvelope(this.endpoint.profile, envelope);
@@ -243,7 +243,7 @@ export class VerdocsEnvelopesList {
243
243
  break;
244
244
  }
245
245
  } }))));
246
- }), !this.initiallyLoaded && (h("div", { key: '163ec5137181c5a7349c74502a29696da9e8dcf2', style: { width: '100%' } }, integerSequence(0, this.rowsPerPage).map(() => (h("div", { class: "envelope-placeholder" }))))), this.initiallyLoaded && !this.envelopes.length && h("div", { key: 'dcfc7cfc78b21072662437b6020ca155ff936334', class: "empty-text" }, "No matching envelopes found. Please adjust your filters and try again."), this.initiallyLoaded && this.envelopes.length && this.showPagination ? (h("div", { style: { marginTop: '20px' } }, h("verdocs-pagination", { selectedPage: this.selectedPage, perPage: this.rowsPerPage, itemCount: this.count, onSelectPage: e => {
246
+ }), !this.initiallyLoaded && (h("div", { key: '598ffddf4adeb704ba272938b41cf2403e97f169', style: { width: '100%' } }, integerSequence(0, this.rowsPerPage).map(() => (h("div", { class: "envelope-placeholder" }))))), this.initiallyLoaded && !this.envelopes.length && h("div", { key: 'dde715119c5f62fd0dab1b960ec8ea25ae815c3e', class: "empty-text" }, "No matching envelopes found. Please adjust your filters and try again."), this.initiallyLoaded && this.envelopes.length && this.showPagination ? (h("div", { style: { marginTop: '20px' } }, h("verdocs-pagination", { selectedPage: this.selectedPage, perPage: this.rowsPerPage, itemCount: this.count, onSelectPage: e => {
247
247
  this.selectedPage = e.detail.selectedPage;
248
248
  } }))) : (h("div", null))));
249
249
  }
@@ -238,11 +238,11 @@ export class VerdocsStatusIndicator {
238
238
  }
239
239
  const icon = this.getStatusIcon(status);
240
240
  const statusMessage = this.getStatusMessage(status);
241
- return (h(Host, { key: '0d3a55cf87f1a0dba7e235e3b3fb19b7b44e67f5', ref: el => (this.summaryComponent = el), class: `${this.theme} ${this.size} ${this.envelope ? 'has-document' : ''}`, "aria-label": "Click to View Details", onClick: e => {
241
+ return (h(Host, { key: 'be375ccdc720fedd0cba1427888a7ee73ef0bbcc', ref: el => (this.summaryComponent = el), class: `${this.theme} ${this.size} ${this.envelope ? 'has-document' : ''}`, "aria-label": "Click to View Details", onClick: e => {
242
242
  e.stopPropagation();
243
243
  e.preventDefault();
244
244
  this.envelope && this.toggleDropdown();
245
- }, onBlur: e => this.envelope && this.handleHideDropdown(e) }, h("span", { key: '9d1812f322823609640bbdcde955123f4dfb294e', class: "icon", innerHTML: icon }), h("span", { key: '3db7a2eca6b3a6894a56daace7a367726feb508e', class: "content" }, statusMessage), h("div", { key: 'a0b31ee1a68c854dc781ba6fa729fbde485db23e', class: "detail-panel", ref: el => (this.detailPanel = el) }, h("div", { key: '2eab9e497070e97fe917ccc76d7c43ab2ae508f7', id: `${this.containerId}` }), this.recipientStatusIcons.map(icon => (h("span", { innerHTML: icon.icon, style: { position: 'absolute', top: `${icon.y}px`, left: `${icon.x}px` } }))))));
245
+ }, onBlur: e => this.envelope && this.handleHideDropdown(e) }, h("span", { key: '48857f123ba352d9e1e544ee74179bb082fa41dd', class: "icon", innerHTML: icon }), h("span", { key: 'c08378b893e264fa86e62fa0462180e407999a8d', class: "content" }, statusMessage), h("div", { key: '648501cd3b785a4132c39a5a652955a063f7b8a0', class: "detail-panel", ref: el => (this.detailPanel = el) }, h("div", { key: 'a55f6ba2d3bd49004f00e7264f27253be8d87aaa', id: `${this.containerId}` }), this.recipientStatusIcons.map(icon => (h("span", { innerHTML: icon.icon, style: { position: 'absolute', top: `${icon.y}px`, left: `${icon.x}px` } }))))));
246
246
  }
247
247
  static get is() { return "verdocs-status-indicator"; }
248
248
  static get originalStyleUrls() {
@@ -12,7 +12,7 @@ export class VerdocsTemplateCard {
12
12
  }
13
13
  render() {
14
14
  var _a, _b, _c, _d;
15
- return (h(Host, { key: '8c1e1c635b1baa655956acdb25c0dadf7aa7fb37' }, h("span", { key: '27f70562114c4b477a39d2c592ac970958308b6a', class: "name" }, this.template.name), h("span", { key: 'e7d9da9cef9ead160a65a4cee49f030d52b20eb3', class: "org-name" }, ((_a = this.template.organization) === null || _a === void 0 ? void 0 : _a.name) || 'Public'), h("hr", { key: 'ae53a4cb7e75c6b2af578e2518b601e742aecfb8' }), h("div", { key: 'f493a7d3641fe90d6bf35649664f76b5fc1ee3d3', class: "controls" }, h("div", { key: 'f0ef5225ff60e056166eede4ba69d4999c1a9887', class: "control" }, h("span", { key: '5f3f45383a81584741ee04b1fce6b4720bab9063', class: "icon", innerHTML: StarIcon }), h("span", { key: '9faf96a64292b6529e29186a4bd1e12d9ad3b42b', class: "value" }, this.template.star_counter)), h("div", { key: '2b605818b05ddf5ea9c3ac28f1bad3d0c8a3e3fb', class: "control secondary" }, h("span", { key: 'c12a8f975614144c72060cf9213a7e8081636602', class: "icon", innerHTML: PagesIcon }), h("span", { key: '53dd14ec4e8c0c57bbff3866901d10baa61abc31', 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: 'c2e72a02dcb918fe595f2fd7228728bd29b1c816', class: "control secondary" }, h("span", { key: '9ed65ee6703d3db204c7f9619884615d3595f9f2', class: "icon", innerHTML: EmailIcon }), h("span", { key: '805565cdc082e8d76e2dd2db98aeede1eee9810f', class: "value" }, this.template.counter)), h("span", { key: '8914f5b5d9d2395bd60f7fded9d58b4c48f85100', class: "additional-controls", innerHTML: ActionsIcon }))));
15
+ return (h(Host, { key: 'a0120b0a9d3430b7e8692bc24b8f3636dd37ab91' }, h("span", { key: 'cecadc6292764c38b76d4739bcef8b8465ee3ae6', class: "name" }, this.template.name), h("span", { key: '942d609f2b0897e05630560dbeb0c4c5545cc60d', class: "org-name" }, ((_a = this.template.organization) === null || _a === void 0 ? void 0 : _a.name) || 'Public'), h("hr", { key: '82c428c9e9ce82a85b0a2f3b3c4b60d2fe59339a' }), h("div", { key: '021c22798331eed52c972456a91c242281c0292d', class: "controls" }, h("div", { key: '124aa6c01f9e20ba5358f17810a5cd5ad27384db', class: "control" }, h("span", { key: 'ece894c92186f75d2e5bf2c7fed96ea3d0eb4c90', class: "icon", innerHTML: StarIcon }), h("span", { key: '142b1848c47efafa5bf7201ed8f0bfa9d86d37b8', class: "value" }, this.template.star_counter)), h("div", { key: '7c83ac1b26f8c90df8a3e6ca8b3a2032ca75e464', class: "control secondary" }, h("span", { key: '33574402f74338520c77348573531488b402c794', class: "icon", innerHTML: PagesIcon }), h("span", { key: 'c9788324cddccc57425e97a8b132ba8ab1014355', 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: '9c0b2a91e21cd80bcc8219f7cdd669a9ed2e827e', class: "control secondary" }, h("span", { key: 'fffbbe3031a9eec3ff83c68033420f9219134080', class: "icon", innerHTML: EmailIcon }), h("span", { key: '8d8655d9da311ec254ba77243b239c5da14b7516', class: "value" }, this.template.counter)), h("span", { key: '774cfe8937b7c894f3c9d6ae308d2a48bac9f513', class: "additional-controls", innerHTML: ActionsIcon }))));
16
16
  }
17
17
  static get is() { return "verdocs-template-card"; }
18
18
  static get originalStyleUrls() {
@@ -10,34 +10,12 @@
10
10
  }
11
11
  }
12
12
  verdocs-template-role-properties {
13
- font-family: "Inter", "Barlow", sans-serif;
14
13
  box-sizing: border-box;
14
+ font-family: "Inter", "Barlow", sans-serif;
15
15
  }
16
16
  verdocs-template-role-properties div {
17
17
  box-sizing: border-box;
18
18
  }
19
- verdocs-template-role-properties .background-overlay {
20
- position: fixed;
21
- z-index: 10000;
22
- top: 0;
23
- left: 0;
24
- right: 0;
25
- bottom: 0;
26
- display: flex;
27
- align-items: center;
28
- justify-content: center;
29
- background: rgba(0, 0, 0, 0.4980392157);
30
- }
31
- verdocs-template-role-properties .dialog {
32
- width: 340px;
33
- display: flex;
34
- flex-direction: column;
35
- border-radius: 4px;
36
- overflow: hidden;
37
- background: #ffffff;
38
- padding: 16px;
39
- box-shadow: 3px 3px 5px 1px rgba(40, 40, 40, 0.4);
40
- }
41
19
  verdocs-template-role-properties .heading {
42
20
  display: flex;
43
21
  font-size: 20px;
@@ -49,39 +27,46 @@ verdocs-template-role-properties .buttons {
49
27
  margin-top: 10px;
50
28
  align-items: center;
51
29
  flex-direction: row;
52
- justify-content: flex-end;
30
+ justify-content: space-between;
53
31
  }
54
32
  verdocs-template-role-properties .buttons verdocs-button {
55
33
  margin-left: 16px;
56
34
  }
57
- verdocs-template-role-properties form .row {
35
+ verdocs-template-role-properties form {
36
+ gap: 15px;
37
+ padding: 20px;
58
38
  display: flex;
59
- column-gap: 15px;
60
- margin: 0 0 10px 0;
61
- align-items: center;
62
- flex-direction: row;
39
+ flex-direction: column;
63
40
  }
64
- verdocs-template-role-properties form .row .input-label {
41
+ verdocs-template-role-properties form .instructions {
42
+ margin: 7px 0 0 0;
43
+ font-size: 12px;
44
+ font-style: italic;
45
+ }
46
+ verdocs-template-role-properties form .input-label {
65
47
  display: block;
66
- color: #555570;
67
- font-weight: 700;
68
48
  font-size: 14px;
69
- margin: 0 0 4px 0;
70
49
  flex: 0 0 100px;
50
+ font-weight: 700;
51
+ margin: 0 0 4px 0;
52
+ color: #555570;
71
53
  }
72
- verdocs-template-role-properties verdocs-select-input {
73
- flex: 1;
74
- margin: 0;
54
+ verdocs-template-role-properties form .first-last {
55
+ gap: 15px;
56
+ display: flex;
57
+ flex-direction: row;
58
+ }
59
+ verdocs-template-role-properties form verdocs-help-icon {
60
+ transform: scale(0.8);
61
+ }
62
+ verdocs-template-role-properties verdocs-select-input label {
63
+ display: block;
75
64
  }
76
65
  verdocs-template-role-properties verdocs-text-input {
77
- margin: 0 0 10px 0;
66
+ margin: 0;
78
67
  }
79
68
  verdocs-template-role-properties verdocs-text-input label {
80
- margin: 0;
81
- display: flex;
82
- column-gap: 15px;
83
- align-items: center;
84
- flex-direction: row;
69
+ display: block;
85
70
  }
86
71
  verdocs-template-role-properties verdocs-text-input .input-label {
87
72
  flex: 0 0 100px;
@@ -4,7 +4,7 @@ import { SDKError } from "../../../utils/errors";
4
4
  import { Store } from "../../../utils/Datastore";
5
5
  const TrashIcon = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#a50021"><path stroke-linecap="round" stroke-linejoin="round" d="M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0" /></svg>`;
6
6
  /**
7
- * Display an edit form that allows the user to adjust a role's setitngs.
7
+ * Present an editing form suitable for adjusting template-role properties.
8
8
  */
9
9
  export class VerdocsTemplateRoleProperties {
10
10
  constructor() {
@@ -124,11 +124,12 @@ export class VerdocsTemplateRoleProperties {
124
124
  if (window.confirm('Are you sure you wish to remove this role? All associated fields will be removed as well. This action cannot be undone.')) {
125
125
  deleteTemplateRole(this.endpoint, this.templateId, this.roleName)
126
126
  .then(() => {
127
- var _a;
127
+ var _a, _b;
128
128
  const newTemplate = JSON.parse(JSON.stringify(this.template));
129
129
  newTemplate.roles = newTemplate.roles.filter(role => role.name !== this.roleName);
130
130
  Store.updateTemplate(this.templateId, newTemplate);
131
131
  (_a = this.delete) === null || _a === void 0 ? void 0 : _a.emit({ templateId: this.templateId, roleName: this.roleName });
132
+ (_b = this.close) === null || _b === void 0 ? void 0 : _b.emit();
132
133
  })
133
134
  .catch(e => {
134
135
  console.log('[ROLES Deletion error', e);
@@ -140,34 +141,31 @@ export class VerdocsTemplateRoleProperties {
140
141
  const hasFields = (((_a = this.template) === null || _a === void 0 ? void 0 : _a.fields) || []).some(field => field.role_name === this.roleName);
141
142
  // Either all three should be empty, or all three need to be filled
142
143
  const isValid = (!this.email && !this.first_name && !this.last_name) || (isValidEmail(this.email) && !!this.first_name && !!this.last_name);
143
- return (h(Host, { key: '102da3ce6fe126e5d96bfdad33ce2332c002ec2e' }, h("div", { key: 'affa176073f3f154c75afbf4ef7e311160ebdca5', class: "background-overlay", onClick: e => this.handleCancel(e) }, h("div", { key: 'e7e1f7f3de70de90f2d7460dd4c6fe51afa8f2d4', class: "dialog" }, h("form", { key: 'a341963c15f5f246afc5b1ed90ec47e3bde50569', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("verdocs-text-input", { key: 'ca96ff8a9a1b64cb6b7e7eef45483ef296892d6f', id: "verdocs-role-name", label: "Role Name", value: this.name, autocomplete: "off", disabled: hasFields, helpText: hasFields
144
- ? 'This role has fields assigned and can no longer be renamed.'
145
- : 'A unique name to identify the role in the workflow. Submitted data will also be tagged with this value.', placeholder: "Role Name...", onInput: (e) => {
144
+ return (h(Host, { key: '33fd4fdb9aab4d7e8db63b8f98803d618f396c7e' }, h("form", { key: 'f0ea5498aecaee8f00c68a60a0c941e1895cf89d', onSubmit: e => e.preventDefault(), onClick: e => e.stopPropagation(), autocomplete: "off" }, h("div", { key: '0900acf8a16a37b0fb1b6786c41c79f9ba3baee2' }, h("verdocs-text-input", { key: '7c6f93dfbacd951ea086e1f3f67a2ac731649218', id: "verdocs-role-name", label: "Role Name (Must be unique)", value: this.name, autocomplete: "off", disabled: hasFields, placeholder: "Role Name...", onInput: (e) => {
146
145
  this.name = e.target.value;
147
146
  this.dirty = true;
148
- } }), h("div", { key: 'b76f4c923debceaa4344dae57e339c51034aacad', class: "row" }, h("div", { key: '20de0838df0f1da364db39ee7d4dc42e693591f5', class: "input-label" }, "Type:"), h("verdocs-select-input", { key: 'f9422ad0a0fbd035257b42d5dfa016ce25568245', value: this.type, options: [
147
+ } }), hasFields && h("div", { key: '439e8d7ba00f6f60bfb4c92d3ad7811cbbce6c35', class: "instructions" }, "This role has fields assigned and can no longer be renamed.")), h("div", { key: '622509e07d3329f97b2afe1b812c1920b95d9677' }, h("div", { key: 'da96defab9d0d608bb02292e99a5390613a4face', class: "input-label" }, "Type:"), h("verdocs-select-input", { key: '01368605afcbb3d0ea905f3698f7c4bc1946a0ee', value: this.type, options: [
149
148
  { label: 'Signer', value: 'signer' },
150
149
  { label: 'CC', value: 'cc' },
151
150
  { label: 'Approver', value: 'approver' },
152
151
  ], onInput: (e) => {
153
152
  this.type = e.target.value;
154
153
  this.dirty = true;
155
- } }), h("verdocs-help-icon", { key: '062ccda44d2bdd3597ad0490d6cedd53fb68f552', 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: '40d92aae3e847ad709516f63beb77880ab5d2e79', 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) => {
154
+ } })), h("div", { key: '8a6c71ab8a7566e9d2cfd942c72ec44c7966e6a8' }, h("div", { key: '41ce817a89e963dd8aa4ce49cc27871994b69e2a', class: "input-label" }, "Default Contact Info:"), h("div", { key: 'e4b958063bc92d3df34bcb9314ff9c931c6a4993', class: "first-last" }, h("verdocs-text-input", { key: 'cde6107c9d66e786dc17f6ce825a9dc1bf6e101e', id: "verdocs-recipient-first", value: this.first_name, autocomplete: "off", placeholder: "First...", onInput: (e) => {
156
155
  this.first_name = e.target.value;
157
156
  this.dirty = true;
158
- } }), h("verdocs-text-input", { key: '651332b8be0006dfd9b4204ecede52fc7c457085', 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) => {
157
+ } }), h("verdocs-text-input", { key: '219e51d998390ea3a297b40867cd3e908374938a', id: "verdocs-recipient-first", value: this.last_name, autocomplete: "off", placeholder: "Last...", onInput: (e) => {
159
158
  this.last_name = e.target.value;
160
159
  this.dirty = true;
161
- } }), h("verdocs-text-input", { key: 'de23199658c23f656fdf4094d31ed9286b9c905d', 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) => {
160
+ } }))), h("div", { key: '95f56626e28d1ab8e82af7954012b34e36ecdc19' }, h("verdocs-text-input", { key: '1e676e75b29e8dc63711c9a4c3de95cd2d88b6cc', id: "verdocs-recipient-email", value: this.email, autocomplete: "off", placeholder: "Email Address...", onInput: (e) => {
162
161
  this.email = e.target.value;
163
162
  this.dirty = true;
164
- } }), h("verdocs-text-input", { key: '91c002d783b626789061263bd2ab18f7d025e6cf', 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) => {
163
+ } }), h("div", { key: 'f298189867060ffbfb977da4b0f6cd4c69dce71f', style: { height: '15px' } }), h("div", { key: '71a8079b3751957cd135a2c736a3b59624f77bd4' }, h("verdocs-text-input", { key: '2ff08fdee843a2c4c72769b8bbe50f48608b6a08', id: "verdocs-recipient-phone", value: this.phone, autocomplete: "off",
164
+ // 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."
165
+ placeholder: "Phone Number...", onInput: (e) => {
165
166
  this.phone = e.target.value;
166
167
  this.dirty = true;
167
- } }), h("div", { key: '1da980c9a76708b5beafd01d07f992f8e4b209ba', class: "row" }, h("div", { key: 'e6528032c5564b1b88cc61cdd1f76cf86f66de77', class: "input-label" }, "May Delegate:"), h("div", { key: '576b21970df51edf1bc402151102a6a6ce46c1d1', class: "checkbox-wrapper" }, h("verdocs-checkbox", { key: 'bf90ad2eef24df1e8c3ee9f0bc0357fa5a212b8d', checked: this.delegator, onInput: (e) => {
168
- this.delegator = e.target.checked;
169
- this.dirty = true;
170
- } })), h("verdocs-help-icon", { key: '8fd89809fdf15cc2945bd5f2706b9ea5650be967', text: "If enabled, this recipient may delegate their actions to another individual." })), h("div", { key: '20a749cf6c01a756c62e0dab9b66260a474beadd', class: "buttons" }, h("button", { key: '2d756a1fe49c0feb5bfabde2dd5eb926c8d5f5f0', class: "delete-button", disabled: this.dirty, onClick: e => this.handleDelete(e), innerHTML: TrashIcon }), h("div", { key: '2f5d400fa6d311717242579b6c18dd0798e1eeb1', style: { flex: '1' } }), h("verdocs-button", { key: '1f24710e162558f9201f4f94730053c12278d4cb', size: "small", variant: "outline", label: "Cancel", disabled: !this.dirty, onClick: e => this.handleCancel(e) }), h("verdocs-button", { key: '64f60a9cc4a4154b895880310dc40c037359f3bb', size: "small", label: "Save", disabled: !this.dirty || !isValid, onClick: e => this.handleSave(e) })))))));
168
+ } }))), h("div", { key: '30b10e1c20ace197aa67dedcabef9adf2206bbf1', class: "buttons" }, h("button", { key: '52ccaafe4e4f51d2b994813538d33443c79da0ed', class: "delete-button", disabled: this.dirty, onClick: e => this.handleDelete(e), innerHTML: TrashIcon }), h("div", { key: '49dcb63a78d83f03e8b434adeca3cf60082de647', style: { flex: '1' } }), h("verdocs-button", { key: '70b8347ddba86faf658cae033de62b9dab14aeab', size: "small", label: "Save", disabled: !this.dirty || !isValid, onClick: e => this.handleSave(e) })))));
171
169
  }
172
170
  static get is() { return "verdocs-template-role-properties"; }
173
171
  static get originalStyleUrls() {