@verdocs/web-sdk 5.0.44 → 5.0.46

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 (431) hide show
  1. package/dist/cjs/en-9bc0a0b3.js +35 -0
  2. package/dist/cjs/en-9bc0a0b3.js.map +1 -0
  3. package/dist/cjs/index-01ae8e85.js +4 -0
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/verdocs-button_2.cjs.entry.js +1 -1
  6. package/dist/cjs/verdocs-checkbox_6.cjs.entry.js +6 -6
  7. package/dist/cjs/verdocs-date-input.cjs.entry.js +85 -0
  8. package/dist/cjs/verdocs-date-input.cjs.entry.js.map +1 -0
  9. package/dist/cjs/verdocs-dialog.cjs.entry.js +1 -1
  10. package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +1 -1
  11. package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +6 -6
  12. package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js +8 -34
  13. package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js.map +1 -1
  14. package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +2 -2
  15. package/dist/cjs/verdocs-kba-dialog_2.cjs.entry.js +25 -4
  16. package/dist/cjs/verdocs-kba-dialog_2.cjs.entry.js.map +1 -1
  17. package/dist/cjs/verdocs-menu-panel_2.cjs.entry.js +8 -8
  18. package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +1 -1
  19. package/dist/cjs/verdocs-organization-card_2.cjs.entry.js +2 -2
  20. package/dist/cjs/verdocs-pagination_2.cjs.entry.js +1 -1
  21. package/dist/cjs/verdocs-quick-functions.cjs.entry.js +1 -1
  22. package/dist/cjs/verdocs-radio-button.cjs.entry.js +1 -1
  23. package/dist/cjs/verdocs-search-tabs.cjs.entry.js +1 -1
  24. package/dist/cjs/verdocs-sign.cjs.entry.js +5 -7
  25. package/dist/cjs/verdocs-sign.cjs.entry.js.map +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-switch.cjs.entry.js +2 -2
  29. package/dist/cjs/verdocs-template-card.cjs.entry.js +1 -1
  30. package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +1 -1
  31. package/dist/cjs/verdocs-template-star.cjs.entry.js +1 -1
  32. package/dist/cjs/verdocs-template-tags.cjs.entry.js +1 -1
  33. package/dist/cjs/verdocs-toggle-button.cjs.entry.js +1 -1
  34. package/dist/cjs/verdocs-web-sdk.cjs.js +1 -1
  35. package/dist/collection/collection-manifest.json +1 -0
  36. package/dist/collection/components/controls/verdocs-date-input/verdocs-date-input.css +98 -0
  37. package/dist/collection/components/controls/verdocs-date-input/verdocs-date-input.js +242 -0
  38. package/dist/collection/components/controls/verdocs-date-input/verdocs-date-input.js.map +1 -0
  39. package/dist/collection/components/controls/verdocs-file-chooser/verdocs-file-chooser.js +1 -1
  40. package/dist/collection/components/controls/verdocs-help-icon/verdocs-help-icon.js +1 -1
  41. package/dist/collection/components/controls/verdocs-loader/verdocs-loader.js +1 -1
  42. package/dist/collection/components/controls/verdocs-menu-panel/verdocs-menu-panel.js +1 -1
  43. package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.js +1 -1
  44. package/dist/collection/components/controls/verdocs-pagination/verdocs-pagination.js +1 -1
  45. package/dist/collection/components/controls/verdocs-portal/verdocs-portal.js +1 -1
  46. package/dist/collection/components/controls/verdocs-progress-bar/verdocs-progress-bar.js +1 -1
  47. package/dist/collection/components/controls/verdocs-radio-button/verdocs-radio-button.js +1 -1
  48. package/dist/collection/components/controls/verdocs-select-input/verdocs-select-input.js +1 -1
  49. package/dist/collection/components/controls/verdocs-spinner/verdocs-spinner.js +1 -1
  50. package/dist/collection/components/controls/verdocs-switch/verdocs-switch.js +2 -2
  51. package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.js +4 -4
  52. package/dist/collection/components/controls/verdocs-toggle-button/verdocs-toggle-button.js +1 -1
  53. package/dist/collection/components/controls/verdocs-toolbar-icon/verdocs-toolbar-icon.js +1 -1
  54. package/dist/collection/components/dialogs/verdocs-dialog/verdocs-dialog.js +1 -1
  55. package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js +1 -1
  56. package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.css +8 -0
  57. package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.js +26 -4
  58. package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.js.map +1 -1
  59. package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js +1 -1
  60. package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js +1 -1
  61. package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js +1 -1
  62. package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js +1 -1
  63. package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js +1 -1
  64. package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +6 -7
  65. package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js.map +1 -1
  66. package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js +1 -1
  67. package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -1
  68. package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +6 -6
  69. package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +2 -2
  70. package/dist/collection/components/fields/verdocs-field-date/verdocs-field-date.js +1 -0
  71. package/dist/collection/components/fields/verdocs-field-date/verdocs-field-date.js.map +1 -1
  72. package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.js +1 -1
  73. package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +7 -7
  74. package/dist/collection/components/templates/verdocs-template-star/verdocs-template-star.js +1 -1
  75. package/dist/collection/components/templates/verdocs-template-tags/verdocs-template-tags.js +1 -1
  76. package/dist/components/index.js +2 -0
  77. package/dist/components/index.js.map +1 -1
  78. package/dist/components/{p-444a3bdf.js → p-008472ce.js} +11 -11
  79. package/dist/components/{p-444a3bdf.js.map → p-008472ce.js.map} +1 -1
  80. package/dist/components/{p-bebd9b19.js → p-02f67734.js} +2 -2
  81. package/dist/components/{p-bebd9b19.js.map → p-02f67734.js.map} +1 -1
  82. package/dist/components/{p-81979fe6.js → p-06bacd3b.js} +2 -2
  83. package/dist/components/{p-81979fe6.js.map → p-06bacd3b.js.map} +1 -1
  84. package/dist/components/{p-4a04090c.js → p-0a14020a.js} +22 -22
  85. package/dist/components/{p-4a04090c.js.map → p-0a14020a.js.map} +1 -1
  86. package/dist/components/{p-d20bbc7d.js → p-0d7860de.js} +4 -4
  87. package/dist/components/{p-d20bbc7d.js.map → p-0d7860de.js.map} +1 -1
  88. package/dist/components/{p-d990000f.js → p-1354c984.js} +2 -2
  89. package/dist/components/{p-d990000f.js.map → p-1354c984.js.map} +1 -1
  90. package/dist/components/{p-710ca15d.js → p-18086502.js} +2 -2
  91. package/dist/components/{p-710ca15d.js.map → p-18086502.js.map} +1 -1
  92. package/dist/components/{p-44e14cb9.js → p-2985ae11.js} +2 -2
  93. package/dist/components/{p-44e14cb9.js.map → p-2985ae11.js.map} +1 -1
  94. package/dist/components/{p-51c8b927.js → p-2b0d2fbd.js} +4 -4
  95. package/dist/components/{p-51c8b927.js.map → p-2b0d2fbd.js.map} +1 -1
  96. package/dist/components/{p-6a8c32a6.js → p-3077aff3.js} +8 -8
  97. package/dist/components/{p-6a8c32a6.js.map → p-3077aff3.js.map} +1 -1
  98. package/dist/components/{p-92cce3dc.js → p-3ceeb122.js} +2 -210
  99. package/dist/components/p-3ceeb122.js.map +1 -0
  100. package/dist/components/{p-8af753b4.js → p-497ceba2.js} +2 -2
  101. package/dist/components/{p-8af753b4.js.map → p-497ceba2.js.map} +1 -1
  102. package/dist/components/{p-df227cfc.js → p-4a4de8d8.js} +7 -7
  103. package/dist/components/{p-df227cfc.js.map → p-4a4de8d8.js.map} +1 -1
  104. package/dist/components/{p-5faeacf0.js → p-4bcb364c.js} +2 -2
  105. package/dist/components/{p-5faeacf0.js.map → p-4bcb364c.js.map} +1 -1
  106. package/dist/components/{p-e85acbfb.js → p-4fff9f15.js} +7 -7
  107. package/dist/components/{p-e85acbfb.js.map → p-4fff9f15.js.map} +1 -1
  108. package/dist/components/{p-5d578b83.js → p-515f8afb.js} +7 -7
  109. package/dist/components/{p-5d578b83.js.map → p-515f8afb.js.map} +1 -1
  110. package/dist/components/{p-43b8738f.js → p-6507fba9.js} +5 -5
  111. package/dist/components/{p-43b8738f.js.map → p-6507fba9.js.map} +1 -1
  112. package/dist/components/{p-eb4bd2d6.js → p-71b30a91.js} +9 -9
  113. package/dist/components/{p-eb4bd2d6.js.map → p-71b30a91.js.map} +1 -1
  114. package/dist/components/{p-d89157e9.js → p-728ec158.js} +2 -2
  115. package/dist/components/{p-d89157e9.js.map → p-728ec158.js.map} +1 -1
  116. package/dist/components/{p-641e2cc0.js → p-73629a90.js} +3 -3
  117. package/dist/components/{p-641e2cc0.js.map → p-73629a90.js.map} +1 -1
  118. package/dist/components/{p-f7dc9e74.js → p-7f6c97d5.js} +2 -2
  119. package/dist/components/{p-f7dc9e74.js.map → p-7f6c97d5.js.map} +1 -1
  120. package/dist/components/{p-9a24561a.js → p-81e52989.js} +7 -7
  121. package/dist/components/{p-9a24561a.js.map → p-81e52989.js.map} +1 -1
  122. package/dist/components/{p-0a102a9c.js → p-83ecee53.js} +2 -2
  123. package/dist/components/{p-0a102a9c.js.map → p-83ecee53.js.map} +1 -1
  124. package/dist/components/{p-f776eeae.js → p-8e44cb14.js} +3 -3
  125. package/dist/components/{p-f776eeae.js.map → p-8e44cb14.js.map} +1 -1
  126. package/dist/components/{p-4ab3413a.js → p-9c650a78.js} +7 -7
  127. package/dist/components/{p-4ab3413a.js.map → p-9c650a78.js.map} +1 -1
  128. package/dist/components/{p-08ddf0b4.js → p-a5c69199.js} +6 -6
  129. package/dist/components/{p-08ddf0b4.js.map → p-a5c69199.js.map} +1 -1
  130. package/dist/components/{p-4a4bf38c.js → p-a808fcb1.js} +6 -6
  131. package/dist/components/{p-4a4bf38c.js.map → p-a808fcb1.js.map} +1 -1
  132. package/dist/components/{p-1a83e46c.js → p-a8f59e9d.js} +7 -7
  133. package/dist/components/{p-1a83e46c.js.map → p-a8f59e9d.js.map} +1 -1
  134. package/dist/components/{p-ca16a8ac.js → p-acb41a2e.js} +2 -2
  135. package/dist/components/{p-ca16a8ac.js.map → p-acb41a2e.js.map} +1 -1
  136. package/dist/components/{p-321e2d4e.js → p-b4eee1ed.js} +28 -6
  137. package/dist/components/p-b4eee1ed.js.map +1 -0
  138. package/dist/components/{p-91eae04c.js → p-b9ec1278.js} +23 -23
  139. package/dist/components/{p-91eae04c.js.map → p-b9ec1278.js.map} +1 -1
  140. package/dist/components/{p-f66d6a07.js → p-bcbe0f6b.js} +8 -8
  141. package/dist/components/{p-f66d6a07.js.map → p-bcbe0f6b.js.map} +1 -1
  142. package/dist/components/{p-b474c324.js → p-bfa07825.js} +21 -21
  143. package/dist/components/{p-b474c324.js.map → p-bfa07825.js.map} +1 -1
  144. package/dist/components/{p-4dbb9783.js → p-c696e5d7.js} +5 -5
  145. package/dist/components/{p-4dbb9783.js.map → p-c696e5d7.js.map} +1 -1
  146. package/dist/components/{p-61a2c23a.js → p-cb2e0f23.js} +2 -2
  147. package/dist/components/{p-61a2c23a.js.map → p-cb2e0f23.js.map} +1 -1
  148. package/dist/components/{p-73a39d5a.js → p-ccbd93c3.js} +3 -3
  149. package/dist/components/{p-73a39d5a.js.map → p-ccbd93c3.js.map} +1 -1
  150. package/dist/components/{p-0e454650.js → p-cf95858b.js} +7 -7
  151. package/dist/components/{p-0e454650.js.map → p-cf95858b.js.map} +1 -1
  152. package/dist/components/p-d47ac4f2.js +214 -0
  153. package/dist/components/p-d47ac4f2.js.map +1 -0
  154. package/dist/components/{p-54e4bcee.js → p-d5eae4db.js} +2 -2
  155. package/dist/components/{p-54e4bcee.js.map → p-d5eae4db.js.map} +1 -1
  156. package/dist/components/{p-581128fe.js → p-e098ba1d.js} +6 -6
  157. package/dist/components/{p-581128fe.js.map → p-e098ba1d.js.map} +1 -1
  158. package/dist/components/{p-57db7635.js → p-ec06fbd7.js} +2 -2
  159. package/dist/components/{p-57db7635.js.map → p-ec06fbd7.js.map} +1 -1
  160. package/dist/components/{p-081465e0.js → p-ed777fb7.js} +2 -2
  161. package/dist/components/{p-081465e0.js.map → p-ed777fb7.js.map} +1 -1
  162. package/dist/components/{p-e1b7ca10.js → p-ef2df3fa.js} +3 -3
  163. package/dist/components/{p-e1b7ca10.js.map → p-ef2df3fa.js.map} +1 -1
  164. package/dist/components/{p-a50f7982.js → p-f303f8bf.js} +2 -2
  165. package/dist/components/{p-a50f7982.js.map → p-f303f8bf.js.map} +1 -1
  166. package/dist/components/{p-55edf913.js → p-fcfbb327.js} +6 -6
  167. package/dist/components/{p-55edf913.js.map → p-fcfbb327.js.map} +1 -1
  168. package/dist/components/verdocs-auth.js +2 -2
  169. package/dist/components/verdocs-build.js +37 -37
  170. package/dist/components/verdocs-contact-picker.js +1 -1
  171. package/dist/components/verdocs-date-input.d.ts +11 -0
  172. package/dist/components/verdocs-date-input.js +114 -0
  173. package/dist/components/verdocs-date-input.js.map +1 -0
  174. package/dist/components/verdocs-dialog.js +1 -1
  175. package/dist/components/verdocs-dropdown.js +1 -1
  176. package/dist/components/verdocs-envelope-document-page.js +1 -1
  177. package/dist/components/verdocs-envelope-sidebar.js +6 -6
  178. package/dist/components/verdocs-envelopes-list.js +13 -13
  179. package/dist/components/verdocs-field-attachment.js +1 -1
  180. package/dist/components/verdocs-field-checkbox.js +1 -1
  181. package/dist/components/verdocs-field-date.js +1 -1
  182. package/dist/components/verdocs-field-dropdown.js +1 -1
  183. package/dist/components/verdocs-field-initial.js +1 -1
  184. package/dist/components/verdocs-field-payment.js +6 -6
  185. package/dist/components/verdocs-field-radio.js +1 -1
  186. package/dist/components/verdocs-field-signature.js +1 -1
  187. package/dist/components/verdocs-field-textarea.js +1 -1
  188. package/dist/components/verdocs-field-textbox.js +1 -1
  189. package/dist/components/verdocs-field-timestamp.js +1 -1
  190. package/dist/components/verdocs-file-chooser.js +1 -1
  191. package/dist/components/verdocs-help-icon.js +1 -1
  192. package/dist/components/verdocs-initial-dialog.js +1 -1
  193. package/dist/components/verdocs-kba-dialog.js +1 -1
  194. package/dist/components/verdocs-loader.js +1 -1
  195. package/dist/components/verdocs-menu-panel.js +1 -1
  196. package/dist/components/verdocs-multiselect.js +1 -1
  197. package/dist/components/verdocs-ok-dialog.js +1 -1
  198. package/dist/components/verdocs-organization-card.js +2 -2
  199. package/dist/components/verdocs-pagination.js +1 -1
  200. package/dist/components/verdocs-portal.js +1 -1
  201. package/dist/components/verdocs-preview.js +1 -1
  202. package/dist/components/verdocs-progress-bar.js +1 -1
  203. package/dist/components/verdocs-quick-functions.js +1 -1
  204. package/dist/components/verdocs-radio-button.js +1 -1
  205. package/dist/components/verdocs-search-tabs.js +1 -1
  206. package/dist/components/verdocs-select-input.js +1 -1
  207. package/dist/components/verdocs-send.js +1 -1
  208. package/dist/components/verdocs-sign.js +14 -15
  209. package/dist/components/verdocs-sign.js.map +1 -1
  210. package/dist/components/verdocs-signature-dialog.js +1 -1
  211. package/dist/components/verdocs-spinner.js +1 -1
  212. package/dist/components/verdocs-status-indicator.js +1 -1
  213. package/dist/components/verdocs-switch.js +1 -1
  214. package/dist/components/verdocs-template-attachments.js +1 -1
  215. package/dist/components/verdocs-template-build-tabs.js +1 -1
  216. package/dist/components/verdocs-template-card.js +1 -1
  217. package/dist/components/verdocs-template-create.js +2 -2
  218. package/dist/components/verdocs-template-document-page.js +1 -1
  219. package/dist/components/verdocs-template-field-properties.js +1 -1
  220. package/dist/components/verdocs-template-fields.js +1 -1
  221. package/dist/components/verdocs-template-role-properties.js +1 -1
  222. package/dist/components/verdocs-template-roles.js +1 -1
  223. package/dist/components/verdocs-template-settings.js +1 -1
  224. package/dist/components/verdocs-template-star.js +1 -1
  225. package/dist/components/verdocs-template-tags.js +1 -1
  226. package/dist/components/verdocs-templates-list.js +8 -8
  227. package/dist/components/verdocs-text-input.js +1 -1
  228. package/dist/components/verdocs-toggle-button.js +1 -1
  229. package/dist/components/verdocs-toolbar-icon.js +1 -1
  230. package/dist/components/verdocs-upload-dialog.js +1 -1
  231. package/dist/components/verdocs-view.js +1 -1
  232. package/dist/custom-elements.json +2231 -0
  233. package/dist/esm/en-03eb67b8.js +33 -0
  234. package/dist/esm/en-03eb67b8.js.map +1 -0
  235. package/dist/esm/index-2cd5f887.js +4 -0
  236. package/dist/esm/loader.js +1 -1
  237. package/dist/esm/verdocs-button_2.entry.js +1 -1
  238. package/dist/esm/verdocs-checkbox_6.entry.js +6 -6
  239. package/dist/esm/verdocs-date-input.entry.js +81 -0
  240. package/dist/esm/verdocs-date-input.entry.js.map +1 -0
  241. package/dist/esm/verdocs-dialog.entry.js +1 -1
  242. package/dist/esm/verdocs-envelope-document-page.entry.js +1 -1
  243. package/dist/esm/verdocs-envelopes-list.entry.js +6 -6
  244. package/dist/esm/verdocs-field-attachment_13.entry.js +6 -32
  245. package/dist/esm/verdocs-field-attachment_13.entry.js.map +1 -1
  246. package/dist/esm/verdocs-file-chooser_2.entry.js +2 -2
  247. package/dist/esm/verdocs-kba-dialog_2.entry.js +25 -4
  248. package/dist/esm/verdocs-kba-dialog_2.entry.js.map +1 -1
  249. package/dist/esm/verdocs-menu-panel_2.entry.js +8 -8
  250. package/dist/esm/verdocs-ok-dialog.entry.js +1 -1
  251. package/dist/esm/verdocs-organization-card_2.entry.js +2 -2
  252. package/dist/esm/verdocs-pagination_2.entry.js +1 -1
  253. package/dist/esm/verdocs-quick-functions.entry.js +1 -1
  254. package/dist/esm/verdocs-radio-button.entry.js +1 -1
  255. package/dist/esm/verdocs-search-tabs.entry.js +1 -1
  256. package/dist/esm/verdocs-sign.entry.js +5 -7
  257. package/dist/esm/verdocs-sign.entry.js.map +1 -1
  258. package/dist/esm/verdocs-spinner.entry.js +1 -1
  259. package/dist/esm/verdocs-status-indicator.entry.js +2 -2
  260. package/dist/esm/verdocs-switch.entry.js +2 -2
  261. package/dist/esm/verdocs-template-card.entry.js +1 -1
  262. package/dist/esm/verdocs-template-document-page_2.entry.js +1 -1
  263. package/dist/esm/verdocs-template-star.entry.js +1 -1
  264. package/dist/esm/verdocs-template-tags.entry.js +1 -1
  265. package/dist/esm/verdocs-toggle-button.entry.js +1 -1
  266. package/dist/esm/verdocs-web-sdk.js +1 -1
  267. package/dist/esm-es5/en-03eb67b8.js +2 -0
  268. package/dist/esm-es5/en-03eb67b8.js.map +1 -0
  269. package/dist/esm-es5/index-2cd5f887.js +1 -1
  270. package/dist/esm-es5/index-2cd5f887.js.map +1 -1
  271. package/dist/esm-es5/loader.js +1 -1
  272. package/dist/esm-es5/loader.js.map +1 -1
  273. package/dist/esm-es5/verdocs-button_2.entry.js +1 -1
  274. package/dist/esm-es5/verdocs-checkbox_6.entry.js +1 -1
  275. package/dist/esm-es5/verdocs-date-input.entry.js +2 -0
  276. package/dist/esm-es5/verdocs-date-input.entry.js.map +1 -0
  277. package/dist/esm-es5/verdocs-dialog.entry.js +1 -1
  278. package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
  279. package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
  280. package/dist/esm-es5/verdocs-field-attachment_13.entry.js +1 -1
  281. package/dist/esm-es5/verdocs-field-attachment_13.entry.js.map +1 -1
  282. package/dist/esm-es5/verdocs-file-chooser_2.entry.js +1 -1
  283. package/dist/esm-es5/verdocs-kba-dialog_2.entry.js +1 -1
  284. package/dist/esm-es5/verdocs-kba-dialog_2.entry.js.map +1 -1
  285. package/dist/esm-es5/verdocs-menu-panel_2.entry.js +1 -1
  286. package/dist/esm-es5/verdocs-ok-dialog.entry.js +1 -1
  287. package/dist/esm-es5/verdocs-organization-card_2.entry.js +1 -1
  288. package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
  289. package/dist/esm-es5/verdocs-quick-functions.entry.js +1 -1
  290. package/dist/esm-es5/verdocs-radio-button.entry.js +1 -1
  291. package/dist/esm-es5/verdocs-search-tabs.entry.js +1 -1
  292. package/dist/esm-es5/verdocs-sign.entry.js +1 -1
  293. package/dist/esm-es5/verdocs-sign.entry.js.map +1 -1
  294. package/dist/esm-es5/verdocs-spinner.entry.js +1 -1
  295. package/dist/esm-es5/verdocs-status-indicator.entry.js +1 -1
  296. package/dist/esm-es5/verdocs-switch.entry.js +1 -1
  297. package/dist/esm-es5/verdocs-template-card.entry.js +1 -1
  298. package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -1
  299. package/dist/esm-es5/verdocs-template-star.entry.js +1 -1
  300. package/dist/esm-es5/verdocs-template-tags.entry.js +1 -1
  301. package/dist/esm-es5/verdocs-toggle-button.entry.js +1 -1
  302. package/dist/esm-es5/verdocs-web-sdk.js +1 -1
  303. package/dist/esm-es5/verdocs-web-sdk.js.map +1 -1
  304. package/dist/types/components/controls/verdocs-date-input/verdocs-date-input.d.ts +43 -0
  305. package/dist/types/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.d.ts +3 -1
  306. package/dist/types/components/embeds/verdocs-sign/verdocs-sign.d.ts +2 -1
  307. package/dist/types/components.d.ts +86 -0
  308. package/dist/verdocs-web-sdk/p-0758647e.system.js +2 -0
  309. package/dist/verdocs-web-sdk/p-0758647e.system.js.map +1 -0
  310. package/dist/verdocs-web-sdk/{p-0e485d1a.system.entry.js → p-0974b1cf.system.entry.js} +2 -2
  311. package/dist/verdocs-web-sdk/p-0c1898f6.system.js +1 -1
  312. package/dist/verdocs-web-sdk/p-0c1898f6.system.js.map +1 -1
  313. package/dist/verdocs-web-sdk/{p-96ca1ce2.entry.js → p-11a30de3.entry.js} +2 -2
  314. package/dist/verdocs-web-sdk/p-158808e1.entry.js +2 -0
  315. package/dist/verdocs-web-sdk/{p-b0606620.entry.js.map → p-158808e1.entry.js.map} +1 -1
  316. package/dist/verdocs-web-sdk/{p-644444fe.system.entry.js → p-19ee9379.system.entry.js} +2 -2
  317. package/dist/verdocs-web-sdk/p-1f8bd27c.system.entry.js +2 -0
  318. package/dist/verdocs-web-sdk/p-1f8bd27c.system.entry.js.map +1 -0
  319. package/dist/verdocs-web-sdk/{p-5a639d78.system.entry.js → p-248ffe5c.system.entry.js} +2 -2
  320. package/dist/verdocs-web-sdk/{p-e5719bcf.system.entry.js → p-2d0e964b.system.entry.js} +2 -2
  321. package/dist/verdocs-web-sdk/{p-a508388a.system.entry.js → p-2d2c8ad7.system.entry.js} +2 -2
  322. package/dist/verdocs-web-sdk/{p-06394c15.system.entry.js → p-2d35f678.system.entry.js} +2 -2
  323. package/dist/verdocs-web-sdk/{p-923cc826.entry.js → p-2edf05fe.entry.js} +2 -2
  324. package/dist/verdocs-web-sdk/{p-d8e59850.entry.js → p-344ff0ba.entry.js} +2 -2
  325. package/dist/verdocs-web-sdk/{p-af9cc642.entry.js → p-35fc5f53.entry.js} +2 -2
  326. package/dist/verdocs-web-sdk/{p-1f42a7c2.entry.js → p-3a2bd43c.entry.js} +2 -2
  327. package/dist/verdocs-web-sdk/{p-82c88c0f.entry.js → p-3cc309a8.entry.js} +2 -2
  328. package/dist/verdocs-web-sdk/p-3ceeb122.js +2 -0
  329. package/dist/verdocs-web-sdk/p-3ceeb122.js.map +1 -0
  330. package/dist/verdocs-web-sdk/p-3fc80e05.entry.js +2 -0
  331. package/dist/verdocs-web-sdk/p-3fc80e05.entry.js.map +1 -0
  332. package/dist/verdocs-web-sdk/p-41c60a2e.system.entry.js +2 -0
  333. package/dist/verdocs-web-sdk/p-41c60a2e.system.entry.js.map +1 -0
  334. package/dist/verdocs-web-sdk/{p-ba7f0fce.system.entry.js → p-45dd5527.system.entry.js} +2 -2
  335. package/dist/verdocs-web-sdk/{p-f9aaeb81.system.entry.js → p-50e49464.system.entry.js} +2 -2
  336. package/dist/verdocs-web-sdk/p-66ca774d.entry.js +2 -0
  337. package/dist/verdocs-web-sdk/p-66ca774d.entry.js.map +1 -0
  338. package/dist/verdocs-web-sdk/{p-00b95f75.system.entry.js → p-6ddcf3fe.system.entry.js} +2 -2
  339. package/dist/verdocs-web-sdk/p-7a2fbc8a.entry.js +2 -0
  340. package/dist/verdocs-web-sdk/p-7a2fbc8a.entry.js.map +1 -0
  341. package/dist/verdocs-web-sdk/{p-517a9262.entry.js → p-7b0281af.entry.js} +2 -2
  342. package/dist/verdocs-web-sdk/{p-df70c2ea.entry.js → p-7e0fa3ae.entry.js} +2 -2
  343. package/dist/verdocs-web-sdk/{p-ab23e446.entry.js → p-7f1edca3.entry.js} +2 -2
  344. package/dist/verdocs-web-sdk/{p-9f2cb0de.entry.js → p-840b6fbe.entry.js} +2 -2
  345. package/dist/verdocs-web-sdk/p-88f4ee7b.system.entry.js +2 -0
  346. package/dist/verdocs-web-sdk/p-88f4ee7b.system.entry.js.map +1 -0
  347. package/dist/verdocs-web-sdk/{p-2df97f4e.entry.js → p-8ec57eff.entry.js} +2 -2
  348. package/dist/verdocs-web-sdk/{p-fb577d62.system.entry.js → p-9363cc19.system.entry.js} +2 -2
  349. package/dist/verdocs-web-sdk/{p-f9d56a3c.entry.js → p-9a19e851.entry.js} +2 -2
  350. package/dist/verdocs-web-sdk/{p-36a10b78.system.entry.js → p-9ccbbb22.system.entry.js} +2 -2
  351. package/dist/verdocs-web-sdk/p-9f684d65.entry.js +2 -0
  352. package/dist/verdocs-web-sdk/p-9f684d65.entry.js.map +1 -0
  353. package/dist/verdocs-web-sdk/{p-a1f9578c.system.entry.js → p-a75f7e9e.system.entry.js} +2 -2
  354. package/dist/verdocs-web-sdk/{p-d2a9d5cf.system.entry.js → p-ad9dd116.system.entry.js} +2 -2
  355. package/dist/verdocs-web-sdk/{p-ac10a0b5.system.entry.js → p-b0220f11.system.entry.js} +2 -2
  356. package/dist/verdocs-web-sdk/{p-9a955b58.system.entry.js → p-b43ede8b.system.entry.js} +2 -2
  357. package/dist/verdocs-web-sdk/{p-ad04e403.system.entry.js → p-bd7b3d7b.system.entry.js} +2 -2
  358. package/dist/verdocs-web-sdk/{p-330c1f00.entry.js → p-c3e2d722.entry.js} +2 -2
  359. package/dist/verdocs-web-sdk/{p-c397c96b.system.entry.js → p-c9ec99df.system.entry.js} +2 -2
  360. package/dist/verdocs-web-sdk/{p-b32c8a43.entry.js → p-cf413e96.entry.js} +2 -2
  361. package/dist/verdocs-web-sdk/{p-5fd67b04.system.entry.js → p-d67c3a58.system.entry.js} +2 -2
  362. package/dist/verdocs-web-sdk/{p-2c9254a9.entry.js → p-d7cafbfe.entry.js} +2 -2
  363. package/dist/verdocs-web-sdk/{p-2415315d.entry.js → p-dea4b888.entry.js} +2 -2
  364. package/dist/verdocs-web-sdk/{p-866d2139.entry.js → p-e388f2eb.entry.js} +2 -2
  365. package/dist/verdocs-web-sdk/{p-195cd4f4.system.entry.js → p-e8184f76.system.entry.js} +2 -2
  366. package/dist/verdocs-web-sdk/{p-ca45c312.entry.js → p-e8c4cb36.entry.js} +2 -2
  367. package/dist/verdocs-web-sdk/{p-66438012.system.entry.js → p-ebec3bc1.system.entry.js} +2 -2
  368. package/dist/verdocs-web-sdk/{p-af41b404.entry.js → p-ed106cc9.entry.js} +2 -2
  369. package/dist/verdocs-web-sdk/{p-dac155a6.system.entry.js → p-f3d09408.system.entry.js} +2 -2
  370. package/dist/verdocs-web-sdk/p-f6bf7e6a.system.entry.js +2 -0
  371. package/dist/verdocs-web-sdk/p-f6bf7e6a.system.entry.js.map +1 -0
  372. package/dist/verdocs-web-sdk/{p-e43a184d.entry.js → p-fc79bf91.entry.js} +2 -2
  373. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  374. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js.map +1 -1
  375. package/package.json +3 -3
  376. package/dist/components/p-321e2d4e.js.map +0 -1
  377. package/dist/components/p-92cce3dc.js.map +0 -1
  378. package/dist/verdocs-web-sdk/p-2ce5fef0.system.entry.js +0 -2
  379. package/dist/verdocs-web-sdk/p-2ce5fef0.system.entry.js.map +0 -1
  380. package/dist/verdocs-web-sdk/p-6cfb51e3.system.entry.js +0 -2
  381. package/dist/verdocs-web-sdk/p-6cfb51e3.system.entry.js.map +0 -1
  382. package/dist/verdocs-web-sdk/p-78d9fa52.system.entry.js +0 -2
  383. package/dist/verdocs-web-sdk/p-78d9fa52.system.entry.js.map +0 -1
  384. package/dist/verdocs-web-sdk/p-79a1bf39.entry.js +0 -2
  385. package/dist/verdocs-web-sdk/p-79a1bf39.entry.js.map +0 -1
  386. package/dist/verdocs-web-sdk/p-b0606620.entry.js +0 -2
  387. package/dist/verdocs-web-sdk/p-dac04f8e.entry.js +0 -2
  388. package/dist/verdocs-web-sdk/p-dac04f8e.entry.js.map +0 -1
  389. package/dist/verdocs-web-sdk/p-e7ca4f15.entry.js +0 -2
  390. package/dist/verdocs-web-sdk/p-e7ca4f15.entry.js.map +0 -1
  391. /package/dist/verdocs-web-sdk/{p-0e485d1a.system.entry.js.map → p-0974b1cf.system.entry.js.map} +0 -0
  392. /package/dist/verdocs-web-sdk/{p-96ca1ce2.entry.js.map → p-11a30de3.entry.js.map} +0 -0
  393. /package/dist/verdocs-web-sdk/{p-644444fe.system.entry.js.map → p-19ee9379.system.entry.js.map} +0 -0
  394. /package/dist/verdocs-web-sdk/{p-5a639d78.system.entry.js.map → p-248ffe5c.system.entry.js.map} +0 -0
  395. /package/dist/verdocs-web-sdk/{p-e5719bcf.system.entry.js.map → p-2d0e964b.system.entry.js.map} +0 -0
  396. /package/dist/verdocs-web-sdk/{p-a508388a.system.entry.js.map → p-2d2c8ad7.system.entry.js.map} +0 -0
  397. /package/dist/verdocs-web-sdk/{p-06394c15.system.entry.js.map → p-2d35f678.system.entry.js.map} +0 -0
  398. /package/dist/verdocs-web-sdk/{p-923cc826.entry.js.map → p-2edf05fe.entry.js.map} +0 -0
  399. /package/dist/verdocs-web-sdk/{p-d8e59850.entry.js.map → p-344ff0ba.entry.js.map} +0 -0
  400. /package/dist/verdocs-web-sdk/{p-af9cc642.entry.js.map → p-35fc5f53.entry.js.map} +0 -0
  401. /package/dist/verdocs-web-sdk/{p-1f42a7c2.entry.js.map → p-3a2bd43c.entry.js.map} +0 -0
  402. /package/dist/verdocs-web-sdk/{p-82c88c0f.entry.js.map → p-3cc309a8.entry.js.map} +0 -0
  403. /package/dist/verdocs-web-sdk/{p-ba7f0fce.system.entry.js.map → p-45dd5527.system.entry.js.map} +0 -0
  404. /package/dist/verdocs-web-sdk/{p-f9aaeb81.system.entry.js.map → p-50e49464.system.entry.js.map} +0 -0
  405. /package/dist/verdocs-web-sdk/{p-00b95f75.system.entry.js.map → p-6ddcf3fe.system.entry.js.map} +0 -0
  406. /package/dist/verdocs-web-sdk/{p-517a9262.entry.js.map → p-7b0281af.entry.js.map} +0 -0
  407. /package/dist/verdocs-web-sdk/{p-df70c2ea.entry.js.map → p-7e0fa3ae.entry.js.map} +0 -0
  408. /package/dist/verdocs-web-sdk/{p-ab23e446.entry.js.map → p-7f1edca3.entry.js.map} +0 -0
  409. /package/dist/verdocs-web-sdk/{p-9f2cb0de.entry.js.map → p-840b6fbe.entry.js.map} +0 -0
  410. /package/dist/verdocs-web-sdk/{p-2df97f4e.entry.js.map → p-8ec57eff.entry.js.map} +0 -0
  411. /package/dist/verdocs-web-sdk/{p-fb577d62.system.entry.js.map → p-9363cc19.system.entry.js.map} +0 -0
  412. /package/dist/verdocs-web-sdk/{p-f9d56a3c.entry.js.map → p-9a19e851.entry.js.map} +0 -0
  413. /package/dist/verdocs-web-sdk/{p-36a10b78.system.entry.js.map → p-9ccbbb22.system.entry.js.map} +0 -0
  414. /package/dist/verdocs-web-sdk/{p-a1f9578c.system.entry.js.map → p-a75f7e9e.system.entry.js.map} +0 -0
  415. /package/dist/verdocs-web-sdk/{p-d2a9d5cf.system.entry.js.map → p-ad9dd116.system.entry.js.map} +0 -0
  416. /package/dist/verdocs-web-sdk/{p-ac10a0b5.system.entry.js.map → p-b0220f11.system.entry.js.map} +0 -0
  417. /package/dist/verdocs-web-sdk/{p-9a955b58.system.entry.js.map → p-b43ede8b.system.entry.js.map} +0 -0
  418. /package/dist/verdocs-web-sdk/{p-ad04e403.system.entry.js.map → p-bd7b3d7b.system.entry.js.map} +0 -0
  419. /package/dist/verdocs-web-sdk/{p-330c1f00.entry.js.map → p-c3e2d722.entry.js.map} +0 -0
  420. /package/dist/verdocs-web-sdk/{p-c397c96b.system.entry.js.map → p-c9ec99df.system.entry.js.map} +0 -0
  421. /package/dist/verdocs-web-sdk/{p-b32c8a43.entry.js.map → p-cf413e96.entry.js.map} +0 -0
  422. /package/dist/verdocs-web-sdk/{p-5fd67b04.system.entry.js.map → p-d67c3a58.system.entry.js.map} +0 -0
  423. /package/dist/verdocs-web-sdk/{p-2c9254a9.entry.js.map → p-d7cafbfe.entry.js.map} +0 -0
  424. /package/dist/verdocs-web-sdk/{p-2415315d.entry.js.map → p-dea4b888.entry.js.map} +0 -0
  425. /package/dist/verdocs-web-sdk/{p-866d2139.entry.js.map → p-e388f2eb.entry.js.map} +0 -0
  426. /package/dist/verdocs-web-sdk/{p-195cd4f4.system.entry.js.map → p-e8184f76.system.entry.js.map} +0 -0
  427. /package/dist/verdocs-web-sdk/{p-ca45c312.entry.js.map → p-e8c4cb36.entry.js.map} +0 -0
  428. /package/dist/verdocs-web-sdk/{p-66438012.system.entry.js.map → p-ebec3bc1.system.entry.js.map} +0 -0
  429. /package/dist/verdocs-web-sdk/{p-af41b404.entry.js.map → p-ed106cc9.entry.js.map} +0 -0
  430. /package/dist/verdocs-web-sdk/{p-dac155a6.system.entry.js.map → p-f3d09408.system.entry.js.map} +0 -0
  431. /package/dist/verdocs-web-sdk/{p-e43a184d.entry.js.map → p-fc79bf91.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,a,i){function n(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,s){function d(e){try{l(i.next(e))}catch(e){s(e)}}function o(e){try{l(i["throw"](e))}catch(e){s(e)}}function l(e){e.done?a(e.value):n(e.value).then(d,o)}l((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},i,n,s,d;return d={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(d[Symbol.iterator]=function(){return this}),d;function o(e){return function(t){return l([e,t])}}function l(o){if(i)throw new TypeError("Generator is already executing.");while(d&&(d=0,o[0]&&(a=0)),a)try{if(i=1,n&&(s=o[0]&2?n["return"]:o[0]?n["throw"]||((s=n["return"])&&s.call(n),0):n.next)&&!(s=s.call(n,o[1])).done)return s;if(n=0,s)o=[o[0]&2,s.value];switch(o[0]){case 0:case 1:s=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;n=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(s=a.trys,s=s.length>0&&s[s.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!s||o[1]>s[0]&&o[1]<s[3])){a.label=o[1];break}if(o[0]===6&&a.label<s[1]){a.label=s[1];s=o;break}if(s&&a.label<s[2]){a.label=s[2];a.ops.push(o);break}if(s[2])a.ops.pop();a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e];n=0}finally{i=s=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-60387e15.system.js","./p-56ba5cbf.system.js"],(function(e,t){"use strict";var a,i,n;return{setters:[function(t){a=t.p;i=t.b;e("setNonce",t.s)},function(e){n=e.g}],execute:function(){var e=this;var s=function(){var e=t.meta.url;var i={};if(e!==""){i.resourcesUrl=new URL(".",e).href}return a(i)};s().then((function(t){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,n()];case 1:e.sent();return[2,i(JSON.parse('[["p-d3dea986.system",[[0,"verdocs-build",{"endpoint":[16],"templateId":[1537,"template-id"],"step":[1537],"loading":[32],"template":[32]},null,{"templateId":["onTemplateIdChanged"],"step":["onStepChanged"]}]]],["p-f9aaeb81.system",[[0,"verdocs-envelopes-list",{"endpoint":[16],"view":[1537],"status":[1537],"sort":[1537],"match":[1537],"showPagination":[4,"show-pagination"],"rowsPerPage":[2,"rows-per-page"],"selectedPage":[2,"selected-page"],"count":[32],"initiallyLoaded":[32],"loading":[32],"selectedEnvelopes":[32],"envelopes":[32]},null,{"view":["handleViewUpdated"],"status":["handleStatusUpdated"],"sort":["handleSortUpdated"],"match":["handleMatchUpdated"],"selectedPage":["handlePageUpdated"]}]]],["p-2ce5fef0.system",[[0,"verdocs-sign",{"endpoint":[1040],"envelopeId":[513,"envelope-id"],"roleId":[513,"role-id"],"inviteCode":[513,"invite-code"],"headerTargetId":[1,"header-target-id"],"recipient":[32],"hasSignature":[32],"nextButtonLabel":[32],"nextSubmits":[32],"fatalErrorHeader":[32],"fatalErrorMessage":[32],"focusedField":[32],"submitting":[32],"submitted":[32],"isDone":[32],"showDone":[32],"showLoadError":[32],"finishLater":[32],"showFinishLater":[32],"agreed":[32],"documentsSingularPlural":[32],"authStep":[32],"authDetails":[32],"kbaQuestions":[32],"showSpinner":[32],"kbaChoices":[32],"loading":[32],"envelope":[32]}]]],["p-2d33195d.system",[[0,"verdocs-templates-list",{"endpoint":[16],"visibility":[1537],"starred":[1537],"sort":[1537],"name":[1537],"allowedActions":[1040],"showPagination":[4,"show-pagination"],"rowsPerPage":[2,"rows-per-page"],"selectedPage":[2,"selected-page"],"count":[32],"initiallyLoaded":[32],"loading":[32],"confirmDelete":[32],"templates":[32],"localNameFilter":[32]},null,{"sharing":["handleSharingUpdated"],"starred":["handleStarredUpdated"],"sort":["handleSortUpdated"],"name":["handleNameUpdated"],"selectedPage":["handlePageUpdated"]}]]],["p-9880e3e4.system",[[0,"verdocs-field-payment",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"done":[516],"editable":[516],"moveable":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"fields":[16],"pageNum":[2,"page-num"],"roleName":[1,"role-name"],"fieldId":[1,"field-id"],"recipients":[8],"selectedRoleName":[1,"selected-role-name"],"pdfPages":[16],"currentSignature":[1,"current-signature"],"currentSignatureId":[1,"current-signature-id"],"currentInitial":[1,"current-initial"],"currentInitialId":[1,"current-initial-id"],"signed":[4],"roleindex":[2],"showingProperties":[32],"focused":[32],"preparedMessage":[32],"signatureUrl":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}]]],["p-a175597c.system",[[0,"verdocs-envelope-sidebar",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"activeTab":[32],"panelOpen":[32],"showRecipientDialog":[32],"showCancelDialog":[32],"showReinviteDialog":[32],"remindersEnabled":[32],"updatingReminders":[32],"initialReminder":[32],"followupReminders":[32],"loading":[32],"envelope":[32]}]]],["p-2e23e747.system",[[0,"verdocs-template-create",{"endpoint":[16],"maxSize":[1026,"max-size"],"file":[32],"creating":[32],"progressLabel":[32],"progressPercent":[32],"errorMessage":[32]}]]],["p-d444d37b.system",[[0,"verdocs-auth",{"endpoint":[16],"visible":[4],"logo":[1],"displayMode":[1025,"display-mode"],"org_name":[32],"first_name":[32],"last_name":[32],"email":[32],"verificationCode":[32],"newPassword":[32],"password":[32],"confirmpass":[32],"submitting":[32],"resendDisabled":[32],"session":[32],"profile":[32]}]]],["p-d63b3dc0.system",[[0,"verdocs-envelope-recipient-summary",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"canSendAnother":[4,"can-send-another"],"canView":[4,"can-view"],"canDone":[4,"can-done"],"isOpen":[32],"recipientStatusIcons":[32],"containerId":[32],"gettingLinks":[32],"links":[32],"loading":[32],"envelope":[32]}]]],["p-5fd67b04.system",[[4,"verdocs-dialog"]]],["p-ac10a0b5.system",[[0,"verdocs-quick-functions",{"endpoint":[16]}]]],["p-36a10b78.system",[[0,"verdocs-radio-button",{"checked":[4],"name":[1],"value":[1],"disabled":[4]}]]],["p-e3687c26.system",[[0,"verdocs-search-box",{"endpoint":[16],"placeholder":[1],"type":[1],"query":[1],"grabsFocus":[4,"grabs-focus"],"focusField":[64]}]]],["p-9a955b58.system",[[0,"verdocs-search-tabs",{"selected":[32]}]]],["p-db383816.system",[[0,"verdocs-table",{"columns":[16],"data":[16]}]]],["p-fb577d62.system",[[0,"verdocs-template-card",{"template":[16]}]]],["p-644444fe.system",[[0,"verdocs-template-tags",{"tags":[16]}]]],["p-296b3f1d.system",[[0,"verdocs-toggle",{"options":[16],"theme":[1],"selectedOption":[32]}]]],["p-c397c96b.system",[[0,"verdocs-toggle-button",{"active":[4],"icon":[1],"label":[1],"size":[1],"_active":[32]}]]],["p-195cd4f4.system",[[0,"verdocs-help-icon",{"text":[1],"icon":[1],"containerId":[32]}],[0,"verdocs-button",{"label":[1],"startIcon":[1,"start-icon"],"endIcon":[1,"end-icon"],"size":[1],"type":[1],"variant":[1],"disabled":[4]}]]],["p-0e8bbe05.system",[[0,"verdocs-envelope-recipient-link",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"roleName":[1,"role-name"],"isOpen":[32],"gettingLink":[32],"link":[32],"loading":[32],"envelope":[32],"recipient":[32]}]]],["p-dac155a6.system",[[0,"verdocs-status-indicator",{"size":[1],"theme":[1],"status":[1],"envelope":[16],"isOpen":[32],"containerId":[32]}]]],["p-d2a9d5cf.system",[[0,"verdocs-template-star",{"endpoint":[16],"template":[1040],"updating":[32]}]]],["p-a1f9578c.system",[[0,"verdocs-envelope-document-page",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"documentId":[1,"document-id"],"pageNumber":[2,"page-number"],"virtualWidth":[2,"virtual-width"],"virtualHeight":[1026,"virtual-height"],"layers":[16],"type":[1],"containerId":[32],"renderedWidth":[32],"renderedHeight":[32],"naturalWidth":[32],"naturalHeight":[32],"aspectRatio":[32],"skipFirstNotification":[32],"pageDisplayUri":[32]}]]],["p-0e485d1a.system",[[0,"verdocs-switch",{"checked":[1028],"theme":[1],"disabled":[4]}]]],["p-a508388a.system",[[0,"verdocs-template-role-properties",{"endpoint":[16],"templateId":[1,"template-id"],"roleName":[1,"role-name"],"dirty":[32],"saving":[32],"name":[32],"type":[32],"first_name":[32],"last_name":[32],"email":[32],"phone":[32],"delegator":[32],"loading":[32],"template":[32]}],[4,"verdocs-menu-panel",{"side":[1],"overlay":[4],"width":[2]},[[4,"click","handleClick"]]]]],["p-79d2f425.system",[[4,"verdocs-button-panel",{"icon":[1],"showPanel":[64],"hidePanel":[64],"toggle":[64]}],[4,"verdocs-tabs",{"tabs":[16],"selectedTab":[2,"selected-tab"]}]]],["p-5a639d78.system",[[0,"verdocs-pagination",{"selectedPage":[1538,"selected-page"],"itemCount":[2,"item-count"],"perPage":[2,"per-page"]}],[0,"verdocs-quick-filter",{"options":[16],"label":[1],"value":[1537],"placeholder":[1],"open":[32]}]]],["p-ad04e403.system",[[0,"verdocs-ok-dialog",{"heading":[1],"message":[1],"buttonLabel":[1,"button-label"],"showCancel":[4,"show-cancel"],"closed":[32]}]]],["p-06394c15.system",[[0,"verdocs-organization-card",{"organization":[16],"hovered":[32]},[[1,"mouseover","onMouseOver"],[1,"mouseout","onMouseOut"]]],[4,"verdocs-portal",{"anchor":[1],"voffset":[2]},[[11,"scroll","handleScroll"],[9,"resize","handleResize"],[4,"click","handleClick"]]]]],["p-78d9fa52.system",[[0,"verdocs-view",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"headerTargetId":[1,"header-target-id"],"canceling":[32],"showCancelDone":[32],"showLoadError":[32],"loading":[32],"envelope":[32]}],[0,"verdocs-kba-dialog",{"step":[2],"steps":[2],"helptitle":[1],"helptext":[1],"mode":[1],"label":[1],"placeholder":[1],"recipient":[16],"choices":[16],"response":[32],"updatedRecipient":[32]}]]],["p-6cfb51e3.system",[[0,"verdocs-field-attachment",{"endpoint":[16],"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"dialogOpen":[32],"selectedFile":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}],[0,"verdocs-field-initial",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"initials":[513],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"tempInitials":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}],[0,"verdocs-field-signature",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"name":[513],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"tempSignature":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}],[0,"verdocs-field-checkbox",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"done":[516],"editable":[516],"moveable":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}],[0,"verdocs-field-date",{"source":[513],"sourceid":[513],"fieldname":[513],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"field":[16],"containerId":[32],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}],[0,"verdocs-field-dropdown",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}],[0,"verdocs-field-radio",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"required":[516],"done":[516],"editable":[516],"moveable":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}],[0,"verdocs-field-textarea",{"endpoint":[16],"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}],[0,"verdocs-field-textbox",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"multiline":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}],[0,"verdocs-field-timestamp",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[2],"showingProperties":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}],[0,"verdocs-initial-dialog",{"initials":[1],"fontLoaded":[32],"enteredInitials":[32],"mode":[32]}],[0,"verdocs-signature-dialog",{"name":[1],"fontLoaded":[32],"enteredName":[32],"mode":[32]}],[0,"verdocs-upload-dialog",{"maxSize":[1026,"max-size"],"existingFile":[1032,"existing-file"],"draggingOver":[32],"confirmDelete":[32],"selectedFiles":[32],"errorMessage":[32]}]]],["p-66438012.system",[[0,"verdocs-toolbar-icon",{"text":[1],"icon":[1],"placement":[1],"containerId":[32]}],[0,"verdocs-template-document-page",{"endpoint":[16],"editable":[4],"disabled":[4],"done":[4],"templateId":[1,"template-id"],"documentId":[1,"document-id"],"pageNumber":[2,"page-number"],"virtualWidth":[2,"virtual-width"],"virtualHeight":[1026,"virtual-height"],"layers":[16],"containerId":[32],"renderedWidth":[32],"renderedHeight":[32],"naturalWidth":[32],"naturalHeight":[32],"aspectRatio":[32],"skipFirstNotification":[32],"pageDisplayUri":[32],"xScale":[32],"yScale":[32],"loading":[32],"template":[32]}]]],["p-46263e7a.system",[[0,"verdocs-contact-picker",{"endpoint":[16],"templateRole":[16],"contactSuggestions":[16],"first_name":[32],"last_name":[32],"email":[32],"phone":[32],"zip":[32],"address":[32],"message":[32],"showSuggestions":[32],"showMessage":[32],"delegator":[32],"auth_methods":[32],"passcode":[32],"firstNameFieldId":[32],"lastNameFieldId":[32],"emailFieldId":[32],"phoneFieldId":[32],"featureFlags":[32],"activeEntitlements":[32]}],[0,"verdocs-multiselect",{"label":[1],"placeholder":[1],"options":[16],"selectedOptions":[16],"showPicker":[32]}]]],["p-00b95f75.system",[[0,"verdocs-file-chooser",{"endpoint":[16],"file":[32]}],[0,"verdocs-progress-bar",{"label":[1],"showPercent":[4,"show-percent"],"percent":[2]}]]],["p-b4441084.system",[[0,"verdocs-dropdown",{"options":[16],"containerId":[32],"showPicker":[32]}]]],["p-ba7f0fce.system",[[0,"verdocs-spinner",{"size":[2],"mode":[1]}]]],["p-e5719bcf.system",[[0,"verdocs-template-field-properties",{"endpoint":[16],"templateId":[1,"template-id"],"fieldName":[1025,"field-name"],"helpText":[1,"help-text"],"dirty":[32],"label":[32],"type":[32],"name":[32],"required":[32],"roleName":[32],"group":[32],"fieldType":[32],"options":[32],"placeholder":[32],"defaultValue":[32],"showingHelp":[32],"loading":[32],"template":[32]}],[0,"verdocs-select-input",{"value":[1],"label":[1],"options":[16],"disabled":[4]}],[0,"verdocs-checkbox",{"checked":[4],"name":[1],"label":[1],"value":[1],"theme":[1],"size":[1],"disabled":[4]}],[0,"verdocs-component-error",{"message":[1]}],[0,"verdocs-loader"],[0,"verdocs-text-input",{"value":[1537],"label":[1],"placeholder":[1],"autocomplete":[1],"helpText":[1,"help-text"],"clearable":[4],"copyable":[4],"type":[1],"disabled":[4],"required":[4],"showingPw":[32]}]]],["p-89c69404.system",[[0,"verdocs-template-fields",{"endpoint":[16],"templateId":[1537,"template-id"],"toolbarTargetId":[1,"toolbar-target-id"],"placing":[32],"showMustSelectRole":[32],"selectedRoleName":[32],"loading":[32],"template":[32]},[[4,"keydown","handleKeyDown"]],{"templateId":["onTemplateIdChanged"]}],[0,"verdocs-preview",{"endpoint":[16],"templateId":[1,"template-id"],"loading":[32],"template":[32]},null,{"templateId":["onTemplateIdChanged"]}],[0,"verdocs-send",{"endpoint":[16],"templateId":[513,"template-id"],"environment":[1],"containerId":[32],"showPickerForId":[32],"sessionContacts":[32],"sending":[32],"rolesCompleted":[32],"loading":[32],"template":[32],"reset":[64]},null,{"templateId":["onTemplateIdChanged"]}],[0,"verdocs-template-roles",{"endpoint":[16],"templateId":[1,"template-id"],"showingRoleDialog":[32],"sender":[32],"dragging":[32],"loading":[32],"template":[32]}],[0,"verdocs-template-settings",{"endpoint":[16],"templateId":[1,"template-id"],"name":[32],"visibility":[32],"sender":[32],"sendReminders":[32],"initialReminder":[32],"followupReminders":[32],"dirty":[32],"loading":[32],"template":[32]}],[0,"verdocs-template-attachments",{"endpoint":[16],"templateId":[1,"template-id"],"uploading":[32],"progressLabel":[32],"progressPercent":[32],"showDeleteError":[32],"confirmDeleteDocument":[32],"loading":[32],"template":[32]}],[0,"verdocs-template-build-tabs",{"endpoint":[16],"templateId":[1537,"template-id"],"step":[1537],"loading":[32],"template":[32]},null,{"templateId":["onTemplateIdChanged"],"step":["onStepChanged"]}]]]]'),t)]}}))}))}))}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,i,a){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,s){function d(e){try{l(a.next(e))}catch(e){s(e)}}function o(e){try{l(a["throw"](e))}catch(e){s(e)}}function l(e){e.done?i(e.value):n(e.value).then(d,o)}l((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},a,n,s,d;return d={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(d[Symbol.iterator]=function(){return this}),d;function o(e){return function(t){return l([e,t])}}function l(o){if(a)throw new TypeError("Generator is already executing.");while(d&&(d=0,o[0]&&(i=0)),i)try{if(a=1,n&&(s=o[0]&2?n["return"]:o[0]?n["throw"]||((s=n["return"])&&s.call(n),0):n.next)&&!(s=s.call(n,o[1])).done)return s;if(n=0,s)o=[o[0]&2,s.value];switch(o[0]){case 0:case 1:s=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;n=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!s||o[1]>s[0]&&o[1]<s[3])){i.label=o[1];break}if(o[0]===6&&i.label<s[1]){i.label=s[1];s=o;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(o);break}if(s[2])i.ops.pop();i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e];n=0}finally{a=s=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-60387e15.system.js","./p-56ba5cbf.system.js"],(function(e,t){"use strict";var i,a,n;return{setters:[function(t){i=t.p;a=t.b;e("setNonce",t.s)},function(e){n=e.g}],execute:function(){var e=this;var s=function(){var e=t.meta.url;var a={};if(e!==""){a.resourcesUrl=new URL(".",e).href}return i(a)};s().then((function(t){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,n()];case 1:e.sent();return[2,a(JSON.parse('[["p-d3dea986.system",[[0,"verdocs-build",{"endpoint":[16],"templateId":[1537,"template-id"],"step":[1537],"loading":[32],"template":[32]},null,{"templateId":["onTemplateIdChanged"],"step":["onStepChanged"]}]]],["p-50e49464.system",[[0,"verdocs-envelopes-list",{"endpoint":[16],"view":[1537],"status":[1537],"sort":[1537],"match":[1537],"showPagination":[4,"show-pagination"],"rowsPerPage":[2,"rows-per-page"],"selectedPage":[2,"selected-page"],"count":[32],"initiallyLoaded":[32],"loading":[32],"selectedEnvelopes":[32],"envelopes":[32]},null,{"view":["handleViewUpdated"],"status":["handleStatusUpdated"],"sort":["handleSortUpdated"],"match":["handleMatchUpdated"],"selectedPage":["handlePageUpdated"]}]]],["p-41c60a2e.system",[[0,"verdocs-sign",{"endpoint":[1040],"envelopeId":[513,"envelope-id"],"roleId":[513,"role-id"],"inviteCode":[513,"invite-code"],"headerTargetId":[1,"header-target-id"],"recipient":[32],"hasSignature":[32],"nextButtonLabel":[32],"nextSubmits":[32],"fatalErrorHeader":[32],"fatalErrorMessage":[32],"focusedField":[32],"submitting":[32],"submitted":[32],"isDone":[32],"showDone":[32],"showLoadError":[32],"finishLater":[32],"showFinishLater":[32],"agreed":[32],"documentsSingularPlural":[32],"authStep":[32],"authDetails":[32],"authMethodStates":[32],"kbaQuestions":[32],"showSpinner":[32],"kbaChoices":[32],"loading":[32],"envelope":[32]}]]],["p-2d33195d.system",[[0,"verdocs-templates-list",{"endpoint":[16],"visibility":[1537],"starred":[1537],"sort":[1537],"name":[1537],"allowedActions":[1040],"showPagination":[4,"show-pagination"],"rowsPerPage":[2,"rows-per-page"],"selectedPage":[2,"selected-page"],"count":[32],"initiallyLoaded":[32],"loading":[32],"confirmDelete":[32],"templates":[32],"localNameFilter":[32]},null,{"sharing":["handleSharingUpdated"],"starred":["handleStarredUpdated"],"sort":["handleSortUpdated"],"name":["handleNameUpdated"],"selectedPage":["handlePageUpdated"]}]]],["p-9880e3e4.system",[[0,"verdocs-field-payment",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"done":[516],"editable":[516],"moveable":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"fields":[16],"pageNum":[2,"page-num"],"roleName":[1,"role-name"],"fieldId":[1,"field-id"],"recipients":[8],"selectedRoleName":[1,"selected-role-name"],"pdfPages":[16],"currentSignature":[1,"current-signature"],"currentSignatureId":[1,"current-signature-id"],"currentInitial":[1,"current-initial"],"currentInitialId":[1,"current-initial-id"],"signed":[4],"roleindex":[2],"showingProperties":[32],"focused":[32],"preparedMessage":[32],"signatureUrl":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}]]],["p-a175597c.system",[[0,"verdocs-envelope-sidebar",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"activeTab":[32],"panelOpen":[32],"showRecipientDialog":[32],"showCancelDialog":[32],"showReinviteDialog":[32],"remindersEnabled":[32],"updatingReminders":[32],"initialReminder":[32],"followupReminders":[32],"loading":[32],"envelope":[32]}]]],["p-2e23e747.system",[[0,"verdocs-template-create",{"endpoint":[16],"maxSize":[1026,"max-size"],"file":[32],"creating":[32],"progressLabel":[32],"progressPercent":[32],"errorMessage":[32]}]]],["p-d444d37b.system",[[0,"verdocs-auth",{"endpoint":[16],"visible":[4],"logo":[1],"displayMode":[1025,"display-mode"],"org_name":[32],"first_name":[32],"last_name":[32],"email":[32],"verificationCode":[32],"newPassword":[32],"password":[32],"confirmpass":[32],"submitting":[32],"resendDisabled":[32],"session":[32],"profile":[32]}]]],["p-88f4ee7b.system",[[0,"verdocs-date-input",{"value":[1537],"label":[1],"placeholder":[1],"helpText":[1,"help-text"],"disabled":[4],"required":[4],"showingPw":[32],"focused":[32],"containerId":[32],"focusField":[64]}]]],["p-d63b3dc0.system",[[0,"verdocs-envelope-recipient-summary",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"canSendAnother":[4,"can-send-another"],"canView":[4,"can-view"],"canDone":[4,"can-done"],"isOpen":[32],"recipientStatusIcons":[32],"containerId":[32],"gettingLinks":[32],"links":[32],"loading":[32],"envelope":[32]}]]],["p-d67c3a58.system",[[4,"verdocs-dialog"]]],["p-b0220f11.system",[[0,"verdocs-quick-functions",{"endpoint":[16]}]]],["p-9ccbbb22.system",[[0,"verdocs-radio-button",{"checked":[4],"name":[1],"value":[1],"disabled":[4]}]]],["p-e3687c26.system",[[0,"verdocs-search-box",{"endpoint":[16],"placeholder":[1],"type":[1],"query":[1],"grabsFocus":[4,"grabs-focus"],"focusField":[64]}]]],["p-b43ede8b.system",[[0,"verdocs-search-tabs",{"selected":[32]}]]],["p-db383816.system",[[0,"verdocs-table",{"columns":[16],"data":[16]}]]],["p-9363cc19.system",[[0,"verdocs-template-card",{"template":[16]}]]],["p-19ee9379.system",[[0,"verdocs-template-tags",{"tags":[16]}]]],["p-296b3f1d.system",[[0,"verdocs-toggle",{"options":[16],"theme":[1],"selectedOption":[32]}]]],["p-c9ec99df.system",[[0,"verdocs-toggle-button",{"active":[4],"icon":[1],"label":[1],"size":[1],"_active":[32]}]]],["p-0e8bbe05.system",[[0,"verdocs-envelope-recipient-link",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"roleName":[1,"role-name"],"isOpen":[32],"gettingLink":[32],"link":[32],"loading":[32],"envelope":[32],"recipient":[32]}]]],["p-f3d09408.system",[[0,"verdocs-status-indicator",{"size":[1],"theme":[1],"status":[1],"envelope":[16],"isOpen":[32],"containerId":[32]}]]],["p-ad9dd116.system",[[0,"verdocs-template-star",{"endpoint":[16],"template":[1040],"updating":[32]}]]],["p-a75f7e9e.system",[[0,"verdocs-envelope-document-page",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"documentId":[1,"document-id"],"pageNumber":[2,"page-number"],"virtualWidth":[2,"virtual-width"],"virtualHeight":[1026,"virtual-height"],"layers":[16],"type":[1],"containerId":[32],"renderedWidth":[32],"renderedHeight":[32],"naturalWidth":[32],"naturalHeight":[32],"aspectRatio":[32],"skipFirstNotification":[32],"pageDisplayUri":[32]}]]],["p-0974b1cf.system",[[0,"verdocs-switch",{"checked":[1028],"theme":[1],"disabled":[4]}]]],["p-2d2c8ad7.system",[[0,"verdocs-template-role-properties",{"endpoint":[16],"templateId":[1,"template-id"],"roleName":[1,"role-name"],"dirty":[32],"saving":[32],"name":[32],"type":[32],"first_name":[32],"last_name":[32],"email":[32],"phone":[32],"delegator":[32],"loading":[32],"template":[32]}],[4,"verdocs-menu-panel",{"side":[1],"overlay":[4],"width":[2]},[[4,"click","handleClick"]]]]],["p-79d2f425.system",[[4,"verdocs-button-panel",{"icon":[1],"showPanel":[64],"hidePanel":[64],"toggle":[64]}],[4,"verdocs-tabs",{"tabs":[16],"selectedTab":[2,"selected-tab"]}]]],["p-45dd5527.system",[[0,"verdocs-spinner",{"size":[2],"mode":[1]}]]],["p-bd7b3d7b.system",[[0,"verdocs-ok-dialog",{"heading":[1],"message":[1],"buttonLabel":[1,"button-label"],"showCancel":[4,"show-cancel"],"closed":[32]}]]],["p-2d35f678.system",[[0,"verdocs-organization-card",{"organization":[16],"hovered":[32]},[[1,"mouseover","onMouseOver"],[1,"mouseout","onMouseOut"]]],[4,"verdocs-portal",{"anchor":[1],"voffset":[2]},[[11,"scroll","handleScroll"],[9,"resize","handleResize"],[4,"click","handleClick"]]]]],["p-1f8bd27c.system",[[0,"verdocs-view",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"headerTargetId":[1,"header-target-id"],"canceling":[32],"showCancelDone":[32],"showLoadError":[32],"loading":[32],"envelope":[32]}],[0,"verdocs-kba-dialog",{"step":[2],"steps":[2],"helptitle":[1],"helptext":[1],"mode":[1],"label":[1],"placeholder":[1],"recipient":[16],"choices":[16],"response":[32],"updatedRecipient":[32],"dobContainerId":[32]}]]],["p-248ffe5c.system",[[0,"verdocs-pagination",{"selectedPage":[1538,"selected-page"],"itemCount":[2,"item-count"],"perPage":[2,"per-page"]}],[0,"verdocs-quick-filter",{"options":[16],"label":[1],"value":[1537],"placeholder":[1],"open":[32]}]]],["p-e8184f76.system",[[0,"verdocs-help-icon",{"text":[1],"icon":[1],"containerId":[32]}],[0,"verdocs-button",{"label":[1],"startIcon":[1,"start-icon"],"endIcon":[1,"end-icon"],"size":[1],"type":[1],"variant":[1],"disabled":[4]}]]],["p-2d0e964b.system",[[0,"verdocs-template-field-properties",{"endpoint":[16],"templateId":[1,"template-id"],"fieldName":[1025,"field-name"],"helpText":[1,"help-text"],"dirty":[32],"label":[32],"type":[32],"name":[32],"required":[32],"roleName":[32],"group":[32],"fieldType":[32],"options":[32],"placeholder":[32],"defaultValue":[32],"showingHelp":[32],"loading":[32],"template":[32]}],[0,"verdocs-select-input",{"value":[1],"label":[1],"options":[16],"disabled":[4]}],[0,"verdocs-checkbox",{"checked":[4],"name":[1],"label":[1],"value":[1],"theme":[1],"size":[1],"disabled":[4]}],[0,"verdocs-component-error",{"message":[1]}],[0,"verdocs-loader"],[0,"verdocs-text-input",{"value":[1537],"label":[1],"placeholder":[1],"autocomplete":[1],"helpText":[1,"help-text"],"clearable":[4],"copyable":[4],"type":[1],"disabled":[4],"required":[4],"showingPw":[32]}]]],["p-f6bf7e6a.system",[[0,"verdocs-field-attachment",{"endpoint":[16],"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"dialogOpen":[32],"selectedFile":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}],[0,"verdocs-field-initial",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"initials":[513],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"tempInitials":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}],[0,"verdocs-field-signature",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"name":[513],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"tempSignature":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}],[0,"verdocs-field-checkbox",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"done":[516],"editable":[516],"moveable":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}],[0,"verdocs-field-date",{"source":[513],"sourceid":[513],"fieldname":[513],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"field":[16],"containerId":[32],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}],[0,"verdocs-field-dropdown",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}],[0,"verdocs-field-radio",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"required":[516],"done":[516],"editable":[516],"moveable":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}],[0,"verdocs-field-textarea",{"endpoint":[16],"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}],[0,"verdocs-field-textbox",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"multiline":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}],[0,"verdocs-field-timestamp",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[2],"showingProperties":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]}],[0,"verdocs-initial-dialog",{"initials":[1],"fontLoaded":[32],"enteredInitials":[32],"mode":[32]}],[0,"verdocs-signature-dialog",{"name":[1],"fontLoaded":[32],"enteredName":[32],"mode":[32]}],[0,"verdocs-upload-dialog",{"maxSize":[1026,"max-size"],"existingFile":[1032,"existing-file"],"draggingOver":[32],"confirmDelete":[32],"selectedFiles":[32],"errorMessage":[32]}]]],["p-ebec3bc1.system",[[0,"verdocs-toolbar-icon",{"text":[1],"icon":[1],"placement":[1],"containerId":[32]}],[0,"verdocs-template-document-page",{"endpoint":[16],"editable":[4],"disabled":[4],"done":[4],"templateId":[1,"template-id"],"documentId":[1,"document-id"],"pageNumber":[2,"page-number"],"virtualWidth":[2,"virtual-width"],"virtualHeight":[1026,"virtual-height"],"layers":[16],"containerId":[32],"renderedWidth":[32],"renderedHeight":[32],"naturalWidth":[32],"naturalHeight":[32],"aspectRatio":[32],"skipFirstNotification":[32],"pageDisplayUri":[32],"xScale":[32],"yScale":[32],"loading":[32],"template":[32]}]]],["p-46263e7a.system",[[0,"verdocs-contact-picker",{"endpoint":[16],"templateRole":[16],"contactSuggestions":[16],"first_name":[32],"last_name":[32],"email":[32],"phone":[32],"zip":[32],"address":[32],"message":[32],"showSuggestions":[32],"showMessage":[32],"delegator":[32],"auth_methods":[32],"passcode":[32],"firstNameFieldId":[32],"lastNameFieldId":[32],"emailFieldId":[32],"phoneFieldId":[32],"featureFlags":[32],"activeEntitlements":[32]}],[0,"verdocs-multiselect",{"label":[1],"placeholder":[1],"options":[16],"selectedOptions":[16],"showPicker":[32]}]]],["p-6ddcf3fe.system",[[0,"verdocs-file-chooser",{"endpoint":[16],"file":[32]}],[0,"verdocs-progress-bar",{"label":[1],"showPercent":[4,"show-percent"],"percent":[2]}]]],["p-b4441084.system",[[0,"verdocs-dropdown",{"options":[16],"containerId":[32],"showPicker":[32]}]]],["p-89c69404.system",[[0,"verdocs-template-fields",{"endpoint":[16],"templateId":[1537,"template-id"],"toolbarTargetId":[1,"toolbar-target-id"],"placing":[32],"showMustSelectRole":[32],"selectedRoleName":[32],"loading":[32],"template":[32]},[[4,"keydown","handleKeyDown"]],{"templateId":["onTemplateIdChanged"]}],[0,"verdocs-preview",{"endpoint":[16],"templateId":[1,"template-id"],"loading":[32],"template":[32]},null,{"templateId":["onTemplateIdChanged"]}],[0,"verdocs-send",{"endpoint":[16],"templateId":[513,"template-id"],"environment":[1],"containerId":[32],"showPickerForId":[32],"sessionContacts":[32],"sending":[32],"rolesCompleted":[32],"loading":[32],"template":[32],"reset":[64]},null,{"templateId":["onTemplateIdChanged"]}],[0,"verdocs-template-roles",{"endpoint":[16],"templateId":[1,"template-id"],"showingRoleDialog":[32],"sender":[32],"dragging":[32],"loading":[32],"template":[32]}],[0,"verdocs-template-settings",{"endpoint":[16],"templateId":[1,"template-id"],"name":[32],"visibility":[32],"sender":[32],"sendReminders":[32],"initialReminder":[32],"followupReminders":[32],"dirty":[32],"loading":[32],"template":[32]}],[0,"verdocs-template-attachments",{"endpoint":[16],"templateId":[1,"template-id"],"uploading":[32],"progressLabel":[32],"progressPercent":[32],"showDeleteError":[32],"confirmDeleteDocument":[32],"loading":[32],"template":[32]}],[0,"verdocs-template-build-tabs",{"endpoint":[16],"templateId":[1537,"template-id"],"step":[1537],"loading":[32],"template":[32]},null,{"templateId":["onTemplateIdChanged"],"step":["onStepChanged"]}]]]]'),t)]}}))}))}))}}}));
2
2
  //# sourceMappingURL=p-0c1898f6.system.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["patchBrowser","importMeta","module","meta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","__awaiter","_this","globalScripts","_a","sent","bootstrapLazy","JSON","parse"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"qqDAOA,IAAIA,EAAe,WAUjB,IAAMC,EAAaC,EAAAC,KAAAC,IACnB,IAAMC,EAAqE,GAC3E,GAAIJ,IAAe,GAAI,CACrBI,EAAKC,aAAe,IAAIC,IAAI,IAAKN,GAAYO,IACjD,CACE,OAAOC,EAAeJ,EACxB,ECnBAL,IAAeU,MAAK,SAAOC,GAAO,OAAAC,UAAAC,OAAA,qB,4DAChC,SAAMC,K,OAANC,EAAAC,OACA,SAAOC,EAAcC,KAAAC,MAAA,s8dAAuCR,I","ignoreList":[]}
1
+ {"version":3,"names":["patchBrowser","importMeta","module","meta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","__awaiter","_this","globalScripts","_a","sent","bootstrapLazy","JSON","parse"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"qqDAOA,IAAIA,EAAe,WAUjB,IAAMC,EAAaC,EAAAC,KAAAC,IACnB,IAAMC,EAAqE,GAC3E,GAAIJ,IAAe,GAAI,CACrBI,EAAKC,aAAe,IAAIC,IAAI,IAAKN,GAAYO,IACjD,CACE,OAAOC,EAAeJ,EACxB,ECnBAL,IAAeU,MAAK,SAAOC,GAAO,OAAAC,UAAAC,OAAA,qB,4DAChC,SAAMC,K,OAANC,EAAAC,OACA,SAAOC,EAAcC,KAAAC,MAAA,kteAAuCR,I","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as t,c as e,h as r,H as s}from"./p-ddadabfb.js";import{VerdocsEndpoint as a,toggleStar as o}from"@verdocs/js-sdk";const i='@-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-template-star{display:-ms-flexbox;display:flex;-ms-flex:0 0 60px;flex:0 0 60px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;font-family:"Inter", "Barlow", sans-serif}verdocs-template-star .star{line-height:10px}verdocs-template-star .star.updating{-webkit-animation:spinningStar 2s infinite linear;animation:spinningStar 2s infinite linear}verdocs-template-star .star svg{width:24px;height:24px}verdocs-template-star .count{color:#595c5d;font-size:14px;margin-left:10px}@-webkit-keyframes spinningStar{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spinningStar{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}';const n=i;const l=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M11.48 3.499a.562.562 0 011.04 0l2.125 5.111a.563.563 0 00.475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 00-.182.557l1.285 5.385a.562.562 0 01-.84.61l-4.725-2.885a.563.563 0 00-.586 0L6.982 20.54a.562.562 0 01-.84-.61l1.285-5.386a.562.562 0 00-.182-.557l-4.204-3.602a.563.563 0 01.321-.988l5.518-.442a.563.563 0 00.475-.345L11.48 3.5z" /></svg>`;const c=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.007 5.404.433c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.433 2.082-5.006z" clip-rule="evenodd" /></svg>`;const d=class{constructor(r){t(this,r);this.starChange=e(this,"starChange",7);this.sdkError=e(this,"sdkError",7);this.endpoint=a.getDefault();this.updating=false}async componentWillLoad(){this.endpoint.loadSession();if(!this.endpoint.session){console.log("[TEMPLATES] Must be authenticated");return}}toggle(t){t.stopPropagation();this.updating=true;o(a.getDefault(),this.template.id).then((t=>{this.updating=false;this.template.star_counter=t.star_counter;this.starChange.emit({templateId:this.template.id,starred:t.star_counter>0,count:t.star_counter})})).catch((t=>{this.updating=false;console.log("[STAR] Error toggling template star",t.message);this.sdkError.emit(t)}))}render(){return r(s,{key:"e160d6639542d0035c1fde3d0a3c39732116aaa1"},r("div",{key:"515127c944567fc9afdab5d94531af6f82e10608",class:`star ${this.updating?"updating":""}`,innerHTML:this.template.star_counter?c:l,onClick:t=>this.toggle(t)}),r("div",{key:"8dafd4ff028fb481cd048a6c93a55fc740691e84",class:"count"},this.template.star_counter||"--"))}};d.style=n;export{d as verdocs_template_star};
2
- //# sourceMappingURL=p-96ca1ce2.entry.js.map
1
+ import{r as t,c as e,h as r,H as s}from"./p-ddadabfb.js";import{VerdocsEndpoint as a,toggleStar as o}from"@verdocs/js-sdk";const i='@-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-template-star{display:-ms-flexbox;display:flex;-ms-flex:0 0 60px;flex:0 0 60px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;font-family:"Inter", "Barlow", sans-serif}verdocs-template-star .star{line-height:10px}verdocs-template-star .star.updating{-webkit-animation:spinningStar 2s infinite linear;animation:spinningStar 2s infinite linear}verdocs-template-star .star svg{width:24px;height:24px}verdocs-template-star .count{color:#595c5d;font-size:14px;margin-left:10px}@-webkit-keyframes spinningStar{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spinningStar{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}';const n=i;const l=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M11.48 3.499a.562.562 0 011.04 0l2.125 5.111a.563.563 0 00.475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 00-.182.557l1.285 5.385a.562.562 0 01-.84.61l-4.725-2.885a.563.563 0 00-.586 0L6.982 20.54a.562.562 0 01-.84-.61l1.285-5.386a.562.562 0 00-.182-.557l-4.204-3.602a.563.563 0 01.321-.988l5.518-.442a.563.563 0 00.475-.345L11.48 3.5z" /></svg>`;const c=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.007 5.404.433c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.433 2.082-5.006z" clip-rule="evenodd" /></svg>`;const d=class{constructor(r){t(this,r);this.starChange=e(this,"starChange",7);this.sdkError=e(this,"sdkError",7);this.endpoint=a.getDefault();this.updating=false}async componentWillLoad(){this.endpoint.loadSession();if(!this.endpoint.session){console.log("[TEMPLATES] Must be authenticated");return}}toggle(t){t.stopPropagation();this.updating=true;o(a.getDefault(),this.template.id).then((t=>{this.updating=false;this.template.star_counter=t.star_counter;this.starChange.emit({templateId:this.template.id,starred:t.star_counter>0,count:t.star_counter})})).catch((t=>{this.updating=false;console.log("[STAR] Error toggling template star",t.message);this.sdkError.emit(t)}))}render(){return r(s,{key:"47e2a56348d70a1f639e71e9e9fd44b7c89a7ee9"},r("div",{key:"239e05c7584572106e603657dcbab5225229caf4",class:`star ${this.updating?"updating":""}`,innerHTML:this.template.star_counter?c:l,onClick:t=>this.toggle(t)}),r("div",{key:"0ca19ca8c5258b939b8deab73565e335bea550dc",class:"count"},this.template.star_counter||"--"))}};d.style=n;export{d as verdocs_template_star};
2
+ //# sourceMappingURL=p-11a30de3.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as o,h as e,H as s,c}from"./p-ddadabfb.js";import{f as r}from"./p-12bab948.js";const a='@-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-organization-card{font-family:"Inter", "Barlow", sans-serif;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;border:1px solid #cccccc;background:#ffffff;border-radius:8px;padding:7px 15px}verdocs-organization-card .icon{-ms-flex:0;flex:0;height:24px;width:24px;margin:0 14px 0 0}verdocs-organization-card .icon svg{fill:#aeb4bf;height:24px;width:24px}verdocs-organization-card .content{margin-top:2px}.verdocs-org-card-popup{font-family:"Inter", "Barlow", sans-serif;background:#ffffff;border-radius:10px;width:326px;padding:20px 40px 0 40px;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border:1px solid #cccccc}.verdocs-org-card-popup .popup-header-with-logo{display:-ms-flexbox;display:flex;-ms-flex:0;flex:0;gap:20px;-ms-flex-direction:column;flex-direction:column;margin:0 0 20px 0;font-size:21px;line-height:16px;color:#4c56cb}.verdocs-org-card-popup .popup-header-with-logo img{max-width:300px;max-height:50px}.verdocs-org-card-popup .popup-header{display:-ms-flexbox;display:flex;-ms-flex:0;flex:0;gap:20px;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:end;align-items:flex-end;margin:0 0 20px 0;font-size:21px;line-height:16px;color:#4c56cb}.verdocs-org-card-popup .popup-body{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-size:14px;text-transform:uppercase}.verdocs-org-card-popup .status{-webkit-transform:scale(1.5);transform:scale(1.5);width:24px;height:24px}.verdocs-org-card-popup .field{margin:0 0 20px 0}.verdocs-org-card-popup .field strong{color:#7b7b9a;display:block;margin:0 0 5px 0}.verdocs-org-card-popup .field a{color:#654dcb;text-transform:uppercase}';const i=a;const d='<svg xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true" height="24px" viewBox="0 0 24 24" width="24px"><path d="M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z"></path></svg>';const t=class{constructor(e){o(this,e);this.hovered=false}onMouseOver(){this.hovered=true}onMouseOut(){this.hovered=false}render(){var o,c,a,i,t,n;console.log("Rendering org card",this.organization.thumbnail_url,this.organization);const l=d;const p=`verdocs-org-card-${this.organization.id}`;return e(s,{key:"97272d216497af502a3cb2d6e0952bda802249e1",id:p},this.organization.thumbnail_url?e("img",{class:"icon",src:this.organization.thumbnail_url,alt:"Logo"}):e("span",{class:"icon",innerHTML:l}),e("span",{key:"e5f71759e662b6a1ad04ee9acf2710b9d7904a22",class:"content"},(o=this.organization)===null||o===void 0?void 0:o.name),e("verdocs-portal",{key:"0496b9a82bca4289e6fb226e24c5fed23c4e8fb3",anchor:p},e("div",{key:"991b528de45afb90d6c54f4ce6d6c415e9e2bc81",class:"verdocs-org-card-popup",style:{display:this.hovered?"block":"none"}},this.organization.full_logo_url?e("div",{class:"popup-header-with-logo"},e("img",{src:this.organization.full_logo_url,alt:"Logo"}),e("div",{class:"title"},(c=this.organization)===null||c===void 0?void 0:c.name)):e("div",{class:"popup-header"},e("span",{class:"status"},e("span",{class:"icon",innerHTML:l})),e("span",{class:"title"},(a=this.organization)===null||a===void 0?void 0:a.name)),e("div",{key:"54c746473d12e7428b2982c0f627d2d5ac078875",class:"popup-body"},e("div",{key:"a291de045b2cd5f6431e795b3b0da2a2187ec019",class:"field"},e("strong",{key:"86cfad50f43e266fcbca1934458de84c6af791bf"},"Joined"),r(new Date(((i=this.organization)===null||i===void 0?void 0:i.created_at)||undefined),"LLL d, Y")),this.organization.url&&e("div",{key:"743cc0af65238631e94353b1c0a09718d556a3e5",class:"field"},e("strong",{key:"55b51d9b2d4256ff4462ba28940331e3aff22e95"},"Website"),e("a",{key:"d6f11530ba3adc9c897fd2f26f47de8b9d17b807",href:(t=this.organization)===null||t===void 0?void 0:t.url,target:"_blank",rel:"nofollow"},(n=this.organization)===null||n===void 0?void 0:n.url))))))}};t.style=i;const n="@-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)}}";const l=n;const p="10001";const f=class{constructor(e){o(this,e);this.clickAway=c(this,"clickAway",7);this.moved=false;this.voffset=0}handleScroll(){this.calculatePosition()}handleResize(){this.calculatePosition()}handleClick(o){var e;const s=o.target.closest(".verdocs-portal");if(!this.element.contains(o.target)&&!s){(e=this.clickAway)===null||e===void 0?void 0:e.emit()}}calculateLeft(){var o;const e=document.getElementById(this.anchor);if(!e)return 0;const s=e.getBoundingClientRect();const c=document.documentElement.clientWidth+document.documentElement.scrollLeft;const r=Math.max(s.left,0);const a=((o=this.element)===null||o===void 0?void 0:o.offsetWidth)||400;const i=r+a>c;return i?c-a-20:r}calculateTop(){var o;const e=document.getElementById(this.anchor);if(!e)return 0;const s=e.getBoundingClientRect();const c=document.documentElement.clientHeight+document.documentElement.scrollTop;const r=s.bottom+this.voffset+document.documentElement.scrollTop;const a=((o=this.element)===null||o===void 0?void 0:o.offsetHeight)||300;const i=r+a>c;return i?r-a-s.height:r}calculatePosition(){this.portal.style.top=`${this.calculateTop()}px`;this.portal.style.left=`${this.calculateLeft()}px`}componentWillLoad(){var o;const e=`${this.anchor}-portal`;(o=document.getElementById(e))===null||o===void 0?void 0:o.remove();this.portal=document.createElement("div");this.portal.setAttribute("id",e);this.portal.style.zIndex=p;this.portal.style.position="absolute";document.body.append(this.portal)}componentDidLoad(){this.portal.appendChild(this.element);this.calculatePosition()}disconnectedCallback(){this.moved?this.portal.remove():this.moved=true}render(){return e(s,{key:"6cd36148f5c2845915d9c799c53181d63ef092f4",ref:o=>this.element=o,class:"verdocs-portal"},e("slot",{key:"1852433ec3a6203a5d732375dcf7e245c2245b81"}))}};f.style=l;export{t as verdocs_organization_card,f as verdocs_portal};
2
+ //# sourceMappingURL=p-158808e1.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["verdocsOrganizationCardCss","VerdocsOrganizationCardStyle0","BusinessIcon","VerdocsOrganizationCard","constructor","hostRef","this","hovered","onMouseOver","onMouseOut","render","console","log","organization","thumbnail_url","fallbackIcon","portalId","id","h","Host","key","class","src","alt","innerHTML","_a","name","anchor","style","display","full_logo_url","_b","_c","format","Date","_d","created_at","undefined","url","href","_e","target","rel","_f","verdocsPortalCss","VerdocsPortalStyle0","Z_INDEX","VerdocsPortal","moved","voffset","handleScroll","calculatePosition","handleResize","handleClick","e","closest","element","contains","clickAway","emit","calculateLeft","anchorEl","document","getElementById","anchorRect","getBoundingClientRect","rightOfViewportWithScroll","documentElement","clientWidth","scrollLeft","leftOfPopup","Math","max","left","popupWidth","offsetWidth","offRightEdge","calculateTop","bottomOfViewportWithScroll","clientHeight","scrollTop","topOfPopup","bottom","popupHeight","offsetHeight","offBottomEdge","height","portal","top","componentWillLoad","remove","createElement","setAttribute","zIndex","position","body","append","componentDidLoad","appendChild","disconnectedCallback","ref","el"],"sources":["src/components/controls/verdocs-organization-card/verdocs-organization-card.scss?tag=verdocs-organization-card","src/components/controls/verdocs-organization-card/verdocs-organization-card.tsx","src/components/controls/verdocs-portal/verdocs-portal.scss?tag=verdocs-portal","src/components/controls/verdocs-portal/verdocs-portal.tsx"],"sourcesContent":["@import '../../../theme.scss';\n\nverdocs-organization-card {\n font-family: $primary-font;\n display: flex;\n flex-direction: row;\n align-items: center;\n border: 1px solid $light-border-color;\n background: #ffffff;\n border-radius: 8px;\n padding: 7px 15px;\n\n .icon {\n flex: 0;\n height: 24px;\n width: 24px;\n margin: 0 14px 0 0;\n\n svg {\n fill: $icon-color;\n height: 24px;\n width: 24px;\n }\n }\n\n .content {\n margin-top: 2px;\n }\n}\n\n.verdocs-org-card-popup {\n font-family: $primary-font;\n background: #ffffff;\n border-radius: 10px;\n width: 326px;\n padding: 20px 40px 0 40px;\n flex-direction: column;\n flex-wrap: nowrap;\n border: 1px solid $light-border-color;\n\n .popup-header-with-logo {\n display: flex;\n flex: 0;\n gap: 20px;\n flex-direction: column;\n margin: 0 0 20px 0;\n font-size: 21px;\n line-height: 16px;\n color: $secondary-color;\n\n img {\n max-width: 300px;\n max-height: 50px;\n }\n }\n\n .popup-header {\n display: flex;\n flex: 0;\n gap: 20px;\n flex-direction: row;\n align-items: flex-end;\n margin: 0 0 20px 0;\n font-size: 21px;\n line-height: 16px;\n color: $secondary-color;\n }\n\n .popup-body {\n display: flex;\n flex-direction: column;\n font-size: 14px;\n text-transform: uppercase;\n }\n\n .status {\n transform: scale(1.5);\n width: 24px;\n height: 24px;\n }\n\n .field {\n margin: 0 0 20px 0;\n\n strong {\n color: $label-color-very-light;\n display: block;\n margin: 0 0 5px 0;\n }\n\n a {\n color: $verdocs-purple;\n text-transform: uppercase;\n }\n }\n}\n","import {format} from 'date-fns';\nimport {Component, Prop, h, Host, Listen, State} from '@stencil/core';\nimport type {IOrganization} from '@verdocs/js-sdk';\n\n// TODO: See what was done in Storybook. Move all SVG icons to a common file that both projects can share\n// and reduce duplication between components for re-used icons. Also bring icons into Figma for reuse there.\n\nconst BusinessIcon =\n '<svg xmlns=\"http://www.w3.org/2000/svg\" focusable=\"false\" aria-hidden=\"true\" height=\"24px\" viewBox=\"0 0 24 24\" width=\"24px\"><path d=\"M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z\"></path></svg>';\n\n/**\n * Display a small summary card describing an organization.\n *\n * ```ts\n * <verdocs-organization-card organization={organization} />\n * ```\n */\n@Component({\n tag: 'verdocs-organization-card',\n styleUrl: 'verdocs-organization-card.scss',\n})\nexport class VerdocsOrganizationCard {\n /**\n * The organization to display\n */\n @Prop() organization: IOrganization;\n\n @State()\n hovered: boolean = false;\n\n @Listen('mouseover')\n onMouseOver() {\n this.hovered = true;\n }\n\n @Listen('mouseout')\n onMouseOut() {\n this.hovered = false;\n }\n\n render() {\n console.log('Rendering org card', this.organization.thumbnail_url, this.organization);\n const fallbackIcon = BusinessIcon;\n const portalId = `verdocs-org-card-${this.organization.id}`;\n\n return (\n <Host id={portalId}>\n {this.organization.thumbnail_url ? <img class=\"icon\" src={this.organization.thumbnail_url} alt=\"Logo\" /> : <span class=\"icon\" innerHTML={fallbackIcon} />}\n\n <span class=\"content\">{this.organization?.name}</span>\n\n <verdocs-portal anchor={portalId}>\n <div class=\"verdocs-org-card-popup\" style={{display: this.hovered ? 'block' : 'none'}}>\n {this.organization.full_logo_url ? (\n <div class=\"popup-header-with-logo\">\n <img src={this.organization.full_logo_url} alt=\"Logo\" />\n <div class=\"title\">{this.organization?.name}</div>\n </div>\n ) : (\n <div class=\"popup-header\">\n <span class=\"status\">\n <span class=\"icon\" innerHTML={fallbackIcon} />\n </span>\n <span class=\"title\">{this.organization?.name}</span>\n </div>\n )}\n\n <div class=\"popup-body\">\n <div class=\"field\">\n <strong>Joined</strong>\n {format(new Date(this.organization?.created_at || undefined), 'LLL d, Y')}\n </div>\n {this.organization.url && (\n <div class=\"field\">\n <strong>Website</strong>\n <a href={this.organization?.url} target=\"_blank\" rel=\"nofollow\">\n {this.organization?.url}\n </a>\n </div>\n )}\n </div>\n </div>\n </verdocs-portal>\n </Host>\n );\n }\n}\n","@import '../../../theme.scss';\n\nverdocs-portal {\n}\n","import {Component, EventEmitter, h, Host, Listen, Prop, Event} from '@stencil/core';\n\nconst Z_INDEX = '10001';\n\n/**\n * Display a child component in a \"portal\", popping it out of the main DOM tree\n * to allow it to escape the bounds set by its parent.\n * @credit https://github.com/tomas-teston/stencil-portal for the basic\n * technique. This has been altered in a few ways to make it more friendly\n * to cases where there may be multiple portals on the page and provide more\n * alignment options for the child to be displayed.\n *\n * ```ts\n * <div style=\"padding: 40px\">\n * <div id=\"sample-tooltip\" style=\"border: 1px solid green; padding: 3px 10px;\">\n * Tooltip Anchor\n * <verdocs-portal anchor=\"sample-tooltip\" .align=${align} .voffset=${voffset}>\n * <div style=\"border: 1px solid red; padding: 3px 10px;\">Tooltip</div>\n * </verdocs-portal>\n * </div>\n * </div>\n * ```\n */\n@Component({\n tag: 'verdocs-portal',\n styleUrl: 'verdocs-portal.scss',\n shadow: false,\n})\nexport class VerdocsPortal {\n private portal: HTMLElement;\n private element: HTMLElement;\n private moved: boolean = false;\n\n /**\n * Unique ID of the parent element to anchor to.\n */\n @Prop() anchor: string;\n\n /**\n * Vertical offset from the parent.\n */\n @Prop() voffset: number = 0;\n\n @Event() clickAway: EventEmitter<void>;\n\n @Listen('scroll', {target: 'window', capture: true})\n handleScroll() {\n this.calculatePosition();\n }\n\n @Listen('resize', {target: 'window'})\n handleResize() {\n this.calculatePosition();\n }\n\n @Listen('click', {target: 'document'})\n handleClick(e) {\n const closest = e.target.closest('.verdocs-portal');\n if (!this.element.contains(e.target) && !closest) {\n this.clickAway?.emit();\n }\n }\n\n private calculateLeft() {\n const anchorEl = document.getElementById(this.anchor);\n if (!anchorEl) return 0;\n\n const anchorRect = anchorEl.getBoundingClientRect();\n\n const rightOfViewportWithScroll = document.documentElement.clientWidth + document.documentElement.scrollLeft;\n const leftOfPopup = Math.max(anchorRect.left, 0);\n // Old centering logic, disabled temporarily\n // Math.max(anchorRect.left - this.portal.offsetWidth / 2 + anchorRect.width / 2, 0);\n // Old right-align logic, disabled temporarily\n // Math.max(anchorRect.left + anchorRect.width - this.portal.offsetWidth, 0);\n const popupWidth = this.element?.offsetWidth || 400;\n const offRightEdge = leftOfPopup + popupWidth > rightOfViewportWithScroll;\n\n return offRightEdge ? rightOfViewportWithScroll - popupWidth - 20 : leftOfPopup;\n }\n\n private calculateTop() {\n const anchorEl = document.getElementById(this.anchor);\n if (!anchorEl) return 0;\n\n const anchorRect = anchorEl.getBoundingClientRect();\n\n const bottomOfViewportWithScroll = document.documentElement.clientHeight + document.documentElement.scrollTop;\n const topOfPopup = anchorRect.bottom + this.voffset + document.documentElement.scrollTop;\n const popupHeight = this.element?.offsetHeight || 300;\n const offBottomEdge = topOfPopup + popupHeight > bottomOfViewportWithScroll;\n\n return offBottomEdge ? topOfPopup - popupHeight - anchorRect.height : topOfPopup;\n }\n\n private calculatePosition() {\n this.portal.style.top = `${this.calculateTop()}px`;\n this.portal.style.left = `${this.calculateLeft()}px`;\n }\n\n componentWillLoad() {\n const id = `${this.anchor}-portal`;\n document.getElementById(id)?.remove();\n\n this.portal = document.createElement('div');\n this.portal.setAttribute('id', id);\n this.portal.style.zIndex = Z_INDEX;\n this.portal.style.position = 'absolute';\n document.body.append(this.portal);\n }\n\n componentDidLoad() {\n this.portal.appendChild(this.element);\n this.calculatePosition();\n }\n\n disconnectedCallback() {\n this.moved ? this.portal.remove() : (this.moved = true);\n }\n\n render() {\n return (\n <Host ref={el => (this.element = el)} class=\"verdocs-portal\">\n <slot />\n </Host>\n );\n }\n}\n"],"mappings":"6FAAA,MAAMA,EAA6B,ygEACnC,MAAAC,EAAeD,ECMf,MAAME,EACJ,iW,MAaWC,EAAuB,MAJpC,WAAAC,CAAAC,G,UAWEC,KAAAC,QAAmB,K,CAGnB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,EAAWkB,OAAS5E,KAAK2C,QAAUa,SAASK,gBAAgBa,UAC/E,MAAMG,IAAc1D,EAAAnB,KAAKkD,WAAO,MAAA/B,SAAA,SAAAA,EAAE2D,eAAgB,IAClD,MAAMC,EAAgBJ,EAAaE,EAAcL,EAEjD,OAAOO,EAAgBJ,EAAaE,EAAcnB,EAAWsB,OAASL,C,CAGhE,iBAAA9B,GACN7C,KAAKiF,OAAO3D,MAAM4D,IAAM,GAAGlF,KAAKuE,mBAChCvE,KAAKiF,OAAO3D,MAAM6C,KAAO,GAAGnE,KAAKsD,mB,CAGnC,iBAAA6B,G,MACE,MAAMxE,EAAK,GAAGX,KAAKqB,iBACnBF,EAAAqC,SAASC,eAAe9C,MAAG,MAAAQ,SAAA,SAAAA,EAAEiE,SAE7BpF,KAAKiF,OAASzB,SAAS6B,cAAc,OACrCrF,KAAKiF,OAAOK,aAAa,KAAM3E,GAC/BX,KAAKiF,OAAO3D,MAAMiE,OAAS/C,EAC3BxC,KAAKiF,OAAO3D,MAAMkE,SAAW,WAC7BhC,SAASiC,KAAKC,OAAO1F,KAAKiF,O,CAG5B,gBAAAU,GACE3F,KAAKiF,OAAOW,YAAY5F,KAAKkD,SAC7BlD,KAAK6C,mB,CAGP,oBAAAgD,GACE7F,KAAK0C,MAAQ1C,KAAKiF,OAAOG,SAAYpF,KAAK0C,MAAQ,I,CAGpD,MAAAtC,GACE,OACEQ,EAACC,EAAI,CAAAC,IAAA,2CAACgF,IAAKC,GAAO/F,KAAKkD,QAAU6C,EAAKhF,MAAM,kBAC1CH,EAAA,QAAAE,IAAA,6C","ignoreList":[]}
1
+ {"version":3,"names":["verdocsOrganizationCardCss","VerdocsOrganizationCardStyle0","BusinessIcon","VerdocsOrganizationCard","constructor","hostRef","this","hovered","onMouseOver","onMouseOut","render","console","log","organization","thumbnail_url","fallbackIcon","portalId","id","h","Host","key","class","src","alt","innerHTML","_a","name","anchor","style","display","full_logo_url","_b","_c","format","Date","_d","created_at","undefined","url","href","_e","target","rel","_f","verdocsPortalCss","VerdocsPortalStyle0","Z_INDEX","VerdocsPortal","moved","voffset","handleScroll","calculatePosition","handleResize","handleClick","e","closest","element","contains","clickAway","emit","calculateLeft","anchorEl","document","getElementById","anchorRect","getBoundingClientRect","rightOfViewportWithScroll","documentElement","clientWidth","scrollLeft","leftOfPopup","Math","max","left","popupWidth","offsetWidth","offRightEdge","calculateTop","bottomOfViewportWithScroll","clientHeight","scrollTop","topOfPopup","bottom","popupHeight","offsetHeight","offBottomEdge","height","portal","top","componentWillLoad","remove","createElement","setAttribute","zIndex","position","body","append","componentDidLoad","appendChild","disconnectedCallback","ref","el"],"sources":["src/components/controls/verdocs-organization-card/verdocs-organization-card.scss?tag=verdocs-organization-card","src/components/controls/verdocs-organization-card/verdocs-organization-card.tsx","src/components/controls/verdocs-portal/verdocs-portal.scss?tag=verdocs-portal","src/components/controls/verdocs-portal/verdocs-portal.tsx"],"sourcesContent":["@import '../../../theme.scss';\n\nverdocs-organization-card {\n font-family: $primary-font;\n display: flex;\n flex-direction: row;\n align-items: center;\n border: 1px solid $light-border-color;\n background: #ffffff;\n border-radius: 8px;\n padding: 7px 15px;\n\n .icon {\n flex: 0;\n height: 24px;\n width: 24px;\n margin: 0 14px 0 0;\n\n svg {\n fill: $icon-color;\n height: 24px;\n width: 24px;\n }\n }\n\n .content {\n margin-top: 2px;\n }\n}\n\n.verdocs-org-card-popup {\n font-family: $primary-font;\n background: #ffffff;\n border-radius: 10px;\n width: 326px;\n padding: 20px 40px 0 40px;\n flex-direction: column;\n flex-wrap: nowrap;\n border: 1px solid $light-border-color;\n\n .popup-header-with-logo {\n display: flex;\n flex: 0;\n gap: 20px;\n flex-direction: column;\n margin: 0 0 20px 0;\n font-size: 21px;\n line-height: 16px;\n color: $secondary-color;\n\n img {\n max-width: 300px;\n max-height: 50px;\n }\n }\n\n .popup-header {\n display: flex;\n flex: 0;\n gap: 20px;\n flex-direction: row;\n align-items: flex-end;\n margin: 0 0 20px 0;\n font-size: 21px;\n line-height: 16px;\n color: $secondary-color;\n }\n\n .popup-body {\n display: flex;\n flex-direction: column;\n font-size: 14px;\n text-transform: uppercase;\n }\n\n .status {\n transform: scale(1.5);\n width: 24px;\n height: 24px;\n }\n\n .field {\n margin: 0 0 20px 0;\n\n strong {\n color: $label-color-very-light;\n display: block;\n margin: 0 0 5px 0;\n }\n\n a {\n color: $verdocs-purple;\n text-transform: uppercase;\n }\n }\n}\n","import {format} from 'date-fns';\nimport {Component, Prop, h, Host, Listen, State} from '@stencil/core';\nimport type {IOrganization} from '@verdocs/js-sdk';\n\n// TODO: See what was done in Storybook. Move all SVG icons to a common file that both projects can share\n// and reduce duplication between components for re-used icons. Also bring icons into Figma for reuse there.\n\nconst BusinessIcon =\n '<svg xmlns=\"http://www.w3.org/2000/svg\" focusable=\"false\" aria-hidden=\"true\" height=\"24px\" viewBox=\"0 0 24 24\" width=\"24px\"><path d=\"M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z\"></path></svg>';\n\n/**\n * Display a small summary card describing an organization.\n *\n * ```ts\n * <verdocs-organization-card organization={organization} />\n * ```\n */\n@Component({\n tag: 'verdocs-organization-card',\n styleUrl: 'verdocs-organization-card.scss',\n})\nexport class VerdocsOrganizationCard {\n /**\n * The organization to display\n */\n @Prop() organization: IOrganization;\n\n @State()\n hovered: boolean = false;\n\n @Listen('mouseover')\n onMouseOver() {\n this.hovered = true;\n }\n\n @Listen('mouseout')\n onMouseOut() {\n this.hovered = false;\n }\n\n render() {\n console.log('Rendering org card', this.organization.thumbnail_url, this.organization);\n const fallbackIcon = BusinessIcon;\n const portalId = `verdocs-org-card-${this.organization.id}`;\n\n return (\n <Host id={portalId}>\n {this.organization.thumbnail_url ? <img class=\"icon\" src={this.organization.thumbnail_url} alt=\"Logo\" /> : <span class=\"icon\" innerHTML={fallbackIcon} />}\n\n <span class=\"content\">{this.organization?.name}</span>\n\n <verdocs-portal anchor={portalId}>\n <div class=\"verdocs-org-card-popup\" style={{display: this.hovered ? 'block' : 'none'}}>\n {this.organization.full_logo_url ? (\n <div class=\"popup-header-with-logo\">\n <img src={this.organization.full_logo_url} alt=\"Logo\" />\n <div class=\"title\">{this.organization?.name}</div>\n </div>\n ) : (\n <div class=\"popup-header\">\n <span class=\"status\">\n <span class=\"icon\" innerHTML={fallbackIcon} />\n </span>\n <span class=\"title\">{this.organization?.name}</span>\n </div>\n )}\n\n <div class=\"popup-body\">\n <div class=\"field\">\n <strong>Joined</strong>\n {format(new Date(this.organization?.created_at || undefined), 'LLL d, Y')}\n </div>\n {this.organization.url && (\n <div class=\"field\">\n <strong>Website</strong>\n <a href={this.organization?.url} target=\"_blank\" rel=\"nofollow\">\n {this.organization?.url}\n </a>\n </div>\n )}\n </div>\n </div>\n </verdocs-portal>\n </Host>\n );\n }\n}\n","@import '../../../theme.scss';\n\nverdocs-portal {\n}\n","import {Component, EventEmitter, h, Host, Listen, Prop, Event} from '@stencil/core';\n\nconst Z_INDEX = '10001';\n\n/**\n * Display a child component in a \"portal\", popping it out of the main DOM tree\n * to allow it to escape the bounds set by its parent.\n * @credit https://github.com/tomas-teston/stencil-portal for the basic\n * technique. This has been altered in a few ways to make it more friendly\n * to cases where there may be multiple portals on the page and provide more\n * alignment options for the child to be displayed.\n *\n * ```ts\n * <div style=\"padding: 40px\">\n * <div id=\"sample-tooltip\" style=\"border: 1px solid green; padding: 3px 10px;\">\n * Tooltip Anchor\n * <verdocs-portal anchor=\"sample-tooltip\" .align=${align} .voffset=${voffset}>\n * <div style=\"border: 1px solid red; padding: 3px 10px;\">Tooltip</div>\n * </verdocs-portal>\n * </div>\n * </div>\n * ```\n */\n@Component({\n tag: 'verdocs-portal',\n styleUrl: 'verdocs-portal.scss',\n shadow: false,\n})\nexport class VerdocsPortal {\n private portal: HTMLElement;\n private element: HTMLElement;\n private moved: boolean = false;\n\n /**\n * Unique ID of the parent element to anchor to.\n */\n @Prop() anchor: string;\n\n /**\n * Vertical offset from the parent.\n */\n @Prop() voffset: number = 0;\n\n @Event() clickAway: EventEmitter<void>;\n\n @Listen('scroll', {target: 'window', capture: true})\n handleScroll() {\n this.calculatePosition();\n }\n\n @Listen('resize', {target: 'window'})\n handleResize() {\n this.calculatePosition();\n }\n\n @Listen('click', {target: 'document'})\n handleClick(e) {\n const closest = e.target.closest('.verdocs-portal');\n if (!this.element.contains(e.target) && !closest) {\n this.clickAway?.emit();\n }\n }\n\n private calculateLeft() {\n const anchorEl = document.getElementById(this.anchor);\n if (!anchorEl) return 0;\n\n const anchorRect = anchorEl.getBoundingClientRect();\n\n const rightOfViewportWithScroll = document.documentElement.clientWidth + document.documentElement.scrollLeft;\n const leftOfPopup = Math.max(anchorRect.left, 0);\n // Old centering logic, disabled temporarily\n // Math.max(anchorRect.left - this.portal.offsetWidth / 2 + anchorRect.width / 2, 0);\n // Old right-align logic, disabled temporarily\n // Math.max(anchorRect.left + anchorRect.width - this.portal.offsetWidth, 0);\n const popupWidth = this.element?.offsetWidth || 400;\n const offRightEdge = leftOfPopup + popupWidth > rightOfViewportWithScroll;\n\n return offRightEdge ? rightOfViewportWithScroll - popupWidth - 20 : leftOfPopup;\n }\n\n private calculateTop() {\n const anchorEl = document.getElementById(this.anchor);\n if (!anchorEl) return 0;\n\n const anchorRect = anchorEl.getBoundingClientRect();\n\n const bottomOfViewportWithScroll = document.documentElement.clientHeight + document.documentElement.scrollTop;\n const topOfPopup = anchorRect.bottom + this.voffset + document.documentElement.scrollTop;\n const popupHeight = this.element?.offsetHeight || 300;\n const offBottomEdge = topOfPopup + popupHeight > bottomOfViewportWithScroll;\n\n return offBottomEdge ? topOfPopup - popupHeight - anchorRect.height : topOfPopup;\n }\n\n private calculatePosition() {\n this.portal.style.top = `${this.calculateTop()}px`;\n this.portal.style.left = `${this.calculateLeft()}px`;\n }\n\n componentWillLoad() {\n const id = `${this.anchor}-portal`;\n document.getElementById(id)?.remove();\n\n this.portal = document.createElement('div');\n this.portal.setAttribute('id', id);\n this.portal.style.zIndex = Z_INDEX;\n this.portal.style.position = 'absolute';\n document.body.append(this.portal);\n }\n\n componentDidLoad() {\n this.portal.appendChild(this.element);\n this.calculatePosition();\n }\n\n disconnectedCallback() {\n this.moved ? this.portal.remove() : (this.moved = true);\n }\n\n render() {\n return (\n <Host ref={el => (this.element = el)} class=\"verdocs-portal\">\n <slot />\n </Host>\n );\n }\n}\n"],"mappings":"wFAAA,MAAMA,EAA6B,ygEACnC,MAAAC,EAAeD,ECMf,MAAME,EACJ,iW,MAaWC,EAAuB,MAJpC,WAAAC,CAAAC,G,UAWEC,KAAAC,QAAmB,K,CAGnB,WAAAC,GACEF,KAAKC,QAAU,I,CAIjB,UAAAE,GACEH,KAAKC,QAAU,K,CAGjB,MAAAG,G,gBACEC,QAAQC,IAAI,qBAAsBN,KAAKO,aAAaC,cAAeR,KAAKO,cACxE,MAAME,EAAeb,EACrB,MAAMc,EAAW,oBAAoBV,KAAKO,aAAaI,KAEvD,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACH,GAAID,GACPV,KAAKO,aAAaC,cAAgBI,EAAA,OAAKG,MAAM,OAAOC,IAAKhB,KAAKO,aAAaC,cAAeS,IAAI,SAAYL,EAAA,QAAMG,MAAM,OAAOG,UAAWT,IAEzIG,EAAA,QAAAE,IAAA,2CAAMC,MAAM,YAAWI,EAAAnB,KAAKO,gBAAY,MAAAY,SAAA,SAAAA,EAAEC,MAE1CR,EAAA,kBAAAE,IAAA,2CAAgBO,OAAQX,GACtBE,EAAA,OAAAE,IAAA,2CAAKC,MAAM,yBAAyBO,MAAO,CAACC,QAASvB,KAAKC,QAAU,QAAU,SAC3ED,KAAKO,aAAaiB,cACjBZ,EAAA,OAAKG,MAAM,0BACTH,EAA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CAG5B,gBAAAU,GACE3F,KAAKiF,OAAOW,YAAY5F,KAAKkD,SAC7BlD,KAAK6C,mB,CAGP,oBAAAgD,GACE7F,KAAK0C,MAAQ1C,KAAKiF,OAAOG,SAAYpF,KAAK0C,MAAQ,I,CAGpD,MAAAtC,GACE,OACEQ,EAACC,EAAI,CAAAC,IAAA,2CAACgF,IAAKC,GAAO/F,KAAKkD,QAAU6C,EAAKhF,MAAM,kBAC1CH,EAAA,QAAAE,IAAA,6C","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- System.register(["./p-60387e15.system.js"],(function(r){"use strict";var o,e,a;return{setters:[function(r){o=r.r;e=r.h;a=r.H}],execute:function(){var n='@-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-template-tags{font-family:"Inter", "Barlow", sans-serif}verdocs-template-tags span{margin:0 4px;height:28px;font-size:12px;font-weight:600;padding:5px 12px 7px;border-radius:5px;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;text-transform:uppercase;color:#33364b;border:1px solid #707ae5;background-color:#f5f5fa}';var t=n;var s=r("verdocs_template_tags",function(){function r(r){o(this,r)}r.prototype.render=function(){var r;return e(a,{key:"195b981b22a559b2de73d87811b37a4e8b7ccd14"},(r=this.tags)===null||r===void 0?void 0:r.map((function(r){return e("span",null,r)})))};return r}());s.style=t}}}));
2
- //# sourceMappingURL=p-644444fe.system.entry.js.map
1
+ System.register(["./p-60387e15.system.js"],(function(r){"use strict";var o,e,a;return{setters:[function(r){o=r.r;e=r.h;a=r.H}],execute:function(){var n='@-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-template-tags{font-family:"Inter", "Barlow", sans-serif}verdocs-template-tags span{margin:0 4px;height:28px;font-size:12px;font-weight:600;padding:5px 12px 7px;border-radius:5px;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;text-transform:uppercase;color:#33364b;border:1px solid #707ae5;background-color:#f5f5fa}';var t=n;var s=r("verdocs_template_tags",function(){function r(r){o(this,r)}r.prototype.render=function(){var r;return e(a,{key:"b04e4243a94f65f70d8477c241370044ae4436b9"},(r=this.tags)===null||r===void 0?void 0:r.map((function(r){return e("span",null,r)})))};return r}());s.style=t}}}));
2
+ //# sourceMappingURL=p-19ee9379.system.entry.js.map
@@ -0,0 +1,2 @@
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var i,t=1,n=arguments.length;t<n;t++){i=arguments[t];for(var o in i)if(Object.prototype.hasOwnProperty.call(i,o))e[o]=i[o]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,i,t,n){function o(e){return e instanceof t?e:new t((function(i){i(e)}))}return new(t||(t=Promise))((function(t,s){function r(e){try{a(n.next(e))}catch(e){s(e)}}function l(e){try{a(n["throw"](e))}catch(e){s(e)}}function a(e){e.done?t(e.value):o(e.value).then(r,l)}a((n=n.apply(e,i||[])).next())}))};var __generator=this&&this.__generator||function(e,i){var t={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,o,s,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(e){return function(i){return a([e,i])}}function a(l){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,l[0]&&(t=0)),t)try{if(n=1,o&&(s=l[0]&2?o["return"]:l[0]?o["throw"]||((s=o["return"])&&s.call(o),0):o.next)&&!(s=s.call(o,l[1])).done)return s;if(o=0,s)l=[l[0]&2,s.value];switch(l[0]){case 0:case 1:s=l;break;case 4:t.label++;return{value:l[1],done:false};case 5:t.label++;o=l[1];l=[0];continue;case 7:l=t.ops.pop();t.trys.pop();continue;default:if(!(s=t.trys,s=s.length>0&&s[s.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!s||l[1]>s[0]&&l[1]<s[3])){t.label=l[1];break}if(l[0]===6&&t.label<s[1]){t.label=s[1];s=l;break}if(s&&t.label<s[2]){t.label=s[2];t.ops.push(l);break}if(s[2])t.ops.pop();t.trys.pop();continue}l=i.call(e,t)}catch(e){l=[6,e];o=0}finally{n=s=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-60387e15.system.js","@verdocs/js-sdk","./p-f29eb00a.system.js","./p-c8a15cb7.system.js","./p-ebd42be0.system.js","./p-21b1acec.system.js","./p-d738b5db.system.js","./p-2c5350ec.system.js"],(function(e){"use strict";var i,t,n,o,s,r,l,a,d,c,u,h,f,p,v;return{setters:[function(e){i=e.r;t=e.c;n=e.h;o=e.F;s=e.H;r=e.g},function(e){l=e.VerdocsEndpoint;a=e.getEnvelope;d=e.getDocumentDownloadLink;c=e.cancelEnvelope;u=e.userCanCancelEnvelope;h=e.integerSequence},function(e){f=e.s},function(e){p=e.S},function(e){v=e.S},function(){},function(){},function(){}],execute:function(){var x='@-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-kba-dialog{font-family:"Inter", "Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-kba-dialog div{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-kba-dialog .background-overlay{position:fixed;z-index:10000;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:rgba(0, 0, 0, 0.4980392157)}verdocs-kba-dialog .dialog{width:440px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border-radius:4px;overflow:hidden;background:#fff;padding:16px;gap:10px;-webkit-box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4);box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4)}verdocs-kba-dialog .heading{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;font-size:20px;font-weight:500}verdocs-kba-dialog .step{margin-left:6px;color:#666}verdocs-kba-dialog .help-box{background-color:#707ae5;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding:14px;-ms-flex-align:center;align-items:center;color:white}verdocs-kba-dialog .help-details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin-left:15px;font-size:14px}verdocs-kba-dialog .help-icon{width:40px;height:40px}verdocs-kba-dialog .help-title{font-weight:600;margin-bottom:4px}verdocs-kba-dialog .help-text{font-weight:400}verdocs-kba-dialog .input{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:10px;-ms-flex-align:center;align-items:center;margin:16px 0 32px}verdocs-kba-dialog .input label{-ms-flex:0;flex:0;line-height:10px;font-weight:500;white-space:nowrap}verdocs-kba-dialog .input input{-ms-flex:1;flex:1;padding:5px 8px;border-radius:3px;border:1px solid #cccccc}verdocs-kba-dialog .field{gap:10px;margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;max-width:100%}verdocs-kba-dialog .field .required{color:red;position:relative;top:-0.5em;font-size:80%}verdocs-kba-dialog .field label{-ms-flex:0 0 120px;flex:0 0 120px;font-weight:500;line-height:10px;text-align:right;white-space:nowrap}verdocs-kba-dialog .field verdocs-date-input{width:40%;-ms-flex-positive:1;flex-grow:1}verdocs-kba-dialog .field verdocs-date-input input{width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-kba-dialog .field input{width:40%;-ms-flex-positive:1;flex-grow:1;padding:5px 8px;border-radius:3px;border:1px solid #cccccc}verdocs-kba-dialog .choices{display:grid;gap:15px;grid-template-columns:repeat(auto-fill, minmax(100px, 1fr));margin:0 0 15px 0}verdocs-kba-dialog .choice{border:1px solid #707ae5;border-radius:5px;display:-ms-flexbox;display:flex;height:60px;font-size:14px;padding:0 5px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;text-align:center;color:#5c6575;cursor:pointer}verdocs-kba-dialog .choice.selected{background-color:#707ae5;color:#ffffff}verdocs-kba-dialog .buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:end;justify-content:flex-end}verdocs-kba-dialog .buttons verdocs-button{margin-left:16px}';var b=x;var g='<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 0C8.95313 0 0 8.95313 0 20C0 31.0469 8.95313 40 20 40C31.0469 40 40 31.0469 40 20C40 8.95313 31.0469 0 20 0ZM20 36.25C11.0391 36.25 3.75 28.9602 3.75 20C3.75 11.0398 11.0391 3.75 20 3.75C28.9609 3.75 36.25 11.0398 36.25 20C36.25 28.9602 28.9609 36.25 20 36.25Z" fill="white"/><path d="M20 26.25C18.5938 26.25 17.5 27.3438 17.5 28.75C17.5 30.1562 18.5234 31.25 20 31.25C21.3359 31.25 22.5 30.1562 22.5 28.75C22.5 27.3438 21.3359 26.25 20 26.25ZM22.5859 10H18.5938C15.5469 10 13.125 12.4219 13.125 15.4688C13.125 16.4844 13.9844 17.3438 15 17.3438C16.0156 17.3438 16.875 16.4844 16.875 15.4688C16.875 14.5312 17.5859 13.75 18.5234 13.75H22.5156C23.5234 13.75 24.375 14.5312 24.375 15.4688C24.375 16.0938 24.0625 16.5703 23.5156 16.8828L19.0625 19.6094C18.4375 20 18.125 20.625 18.125 21.25V22.5C18.125 23.5156 18.9844 24.375 20 24.375C21.0156 24.375 21.875 23.5156 21.875 22.5V22.3438L25.3984 20.1562C27.0391 19.1406 28.0547 17.3438 28.0547 15.4688C28.125 12.4219 25.7031 10 22.5859 10Z" fill="#E7E7E7"/></svg>';var m=e("verdocs_kba_dialog",function(){function e(e){i(this,e);this.exit=t(this,"exit",7);this.pinEntered=t(this,"pinEntered",7);this.next=t(this,"next",7);this.step=1;this.steps=3;this.helptitle="Previous Addresses";this.helptext="Please select the address below that you have most recently lived at.";this.mode="choice";this.label="PIN";this.placeholder="Enter your PIN...";this.recipient=null;this.choices=["553 Arbor Dr","18 Lacey Ln","23A Ball Ct","2375 Cavallo Blvd","23-1 RR-7","151 Boulder Rd"];this.response="";this.updatedRecipient=null;this.dobContainerId="verdocs-date-input-".concat(Math.random().toString(36).substring(2,11))}e.prototype.componentWillLoad=function(){this.updatedRecipient=__assign({},this.recipient||{})};e.prototype.componentDidLoad=function(){};e.prototype.handleCancel=function(){this.exit.emit()};e.prototype.handleDismiss=function(e){if(e.target.class==="background-overlay"){e.preventDefault();this.handleCancel()}};e.prototype.handleDone=function(){this.next.emit(this.response);this.response=""};e.prototype.handleConfirmID=function(){this.next.emit(this.updatedRecipient)};e.prototype.render=function(){var e=this;var i,t,r,l,a,d,c,u,h,f,p,v;if(this.mode==="choice"){return n(s,null,n("div",{class:"background-overlay",onClick:function(i){return e.handleDismiss(i)}},n("div",{class:"dialog"},n("div",{class:"heading"},"Confirm Your Identity",this.steps>1?n("span",{class:"step"},"(",this.step,"/",this.steps,")"):n(o,null)),!!this.helptitle&&n("div",{class:"help-box"},n("div",{class:"help-icon",innerHTML:g}),n("div",{class:"help-details"},n("div",{class:"help-title"},this.helptitle),n("div",{class:"help-text"},this.helptext))),n("div",{class:"choices"},this.choices.map((function(i){return n("div",{class:"choice ".concat(i===e.response?"selected":""),onClick:function(){console.log("Selected",i);e.response=i}},i)}))),n("div",{class:"buttons"},n("verdocs-button",{label:"Cancel",variant:"outline",onClick:function(){return e.handleCancel()}}),n("verdocs-button",{label:this.step<this.steps?"Next":"Submit",onClick:function(){return e.handleDone()},disabled:!this.response})))))}if(this.mode==="identity"){console.log("ur",this.updatedRecipient);return n(s,null,n("div",{class:"background-overlay",onClick:function(i){return e.handleDismiss(i)}},n("div",{class:"dialog"},n("div",{class:"heading"},"Confirm Your Identity"),!!this.helptitle&&n("div",{class:"help-box"},n("div",{class:"help-icon",innerHTML:g}),n("div",{class:"help-details"},n("div",{class:"help-title"},"Identity verification is required"),n("div",{class:"help-text"},"NOTE: Only four fields are required, but providing more details will allow us to complete the verification process more quickly."))),n("div",{class:"field"},n("label",{htmlFor:"verdocs-kba-first"},"Your Name:",n("span",{class:"required"},"*")),n("input",{required:true,type:"text",id:"verdocs-kba-first",name:"verdocs-kba-first",placeholder:"First name...",value:(i=this.updatedRecipient)===null||i===void 0?void 0:i.first_name,onInput:function(i){return e.updatedRecipient=__assign(__assign({},e.updatedRecipient),{first_name:i.target.value})}}),n("input",{type:"text",id:"verdocs-kba-last",name:"verdocs-kba-last",placeholder:"Last name...",required:true,value:(t=this.updatedRecipient)===null||t===void 0?void 0:t.last_name,onInput:function(i){return e.updatedRecipient=__assign(__assign({},e.updatedRecipient),{last_name:i.target.value})}})),n("div",{class:"field"},n("label",{htmlFor:"verdocs-kba-address"},"Address:",n("span",{class:"required"},"*")),n("input",{type:"text",id:"verdocs-kba-address",name:"verdocs-kba-address",placeholder:"Address...",value:(r=this.updatedRecipient)===null||r===void 0?void 0:r.address,onInput:function(i){return e.updatedRecipient=__assign(__assign({},e.updatedRecipient),{address:i.target.value})}})),n("div",{class:"field"},n("label",{htmlFor:"verdocs-kba-city"},"City:"),n("input",{type:"text",id:"verdocs-kba-city",name:"verdocs-kba-city",placeholder:"City...",value:(l=this.updatedRecipient)===null||l===void 0?void 0:l.city,onInput:function(i){return e.updatedRecipient=__assign(__assign({},e.updatedRecipient),{city:i.target.value})}})),n("div",{class:"field"},n("label",{htmlFor:"verdocs-kba-state"},"State:"),n("input",{type:"text",id:"verdocs-kba-state",name:"verdocs-kba-state",placeholder:"State...",value:(a=this.updatedRecipient)===null||a===void 0?void 0:a.state,onInput:function(i){return e.updatedRecipient=__assign(__assign({},e.updatedRecipient),{state:i.target.value})}})),n("div",{class:"field"},n("label",{htmlFor:"verdocs-kba-zip"},"Zip Code:",n("span",{class:"required"},"*")),n("input",{type:"text",id:"verdocs-kba-zip",name:"verdocs-kba-zip",placeholder:"Zip Code...",required:true,value:(d=this.updatedRecipient)===null||d===void 0?void 0:d.zip,onInput:function(i){return e.updatedRecipient=__assign(__assign({},e.updatedRecipient),{zip:i.target.value})}})),n("div",{class:"field"},n("label",{htmlFor:this.dobContainerId},"Date of Birth:",n("span",{class:"required"},"*")),n("input",{type:"text",value:((c=this.updatedRecipient)===null||c===void 0?void 0:c.dob)||"",id:this.dobContainerId,placeholder:"DOB...",onInput:function(i){return e.updatedRecipient=__assign(__assign({},e.updatedRecipient),{dob:i.target.value})}})),n("div",{class:"buttons"},n("verdocs-button",{label:"Submit",onClick:function(){return e.handleConfirmID()},disabled:!((u=this.updatedRecipient)===null||u===void 0?void 0:u.first_name)||!((h=this.updatedRecipient)===null||h===void 0?void 0:h.last_name)||!((f=this.updatedRecipient)===null||f===void 0?void 0:f.address)||!((p=this.updatedRecipient)===null||p===void 0?void 0:p.zip)||!((v=this.updatedRecipient)===null||v===void 0?void 0:v.dob)})))))}return n(s,null,n("div",{class:"background-overlay",onClick:function(i){return e.handleDismiss(i)}},n("div",{class:"dialog"},n("div",{class:"heading"},"Please Confirm Your Identity",this.steps>1?n("span",{class:"step"},"(",this.step,"/",this.steps,")"):n(o,null)),!!this.helptitle&&n("div",{class:"help-box"},n("div",{class:"help-icon",innerHTML:g}),n("div",{class:"help-details"},n("div",{class:"help-title"},this.helptitle),n("div",{class:"help-text"},this.helptext))),n("div",{class:"input"},n("label",{htmlFor:"verdocs-kba-input"},this.label),n("input",{type:"text",id:"verdocs-kba-input",name:"verdocs-kba-input",placeholder:this.placeholder,value:this.response,onInput:function(i){return e.response=i.target.value}})),n("div",{class:"buttons"},n("verdocs-button",{label:"Cancel",variant:"outline",onClick:function(){return e.handleCancel()}}),n("verdocs-button",{label:"Submit",onClick:function(){return e.handleDone()},disabled:!this.response})))))};return e}());m.style=b;var w='@-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-view{display:-ms-flexbox;display:flex;overflow:hidden;min-height:600px;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif}verdocs-view div,verdocs-view canvas{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-view .document{-ms-flex:1;flex:1;width:100%;height:100%;display:-ms-flexbox;display:flex;padding:15px;row-gap:15px;min-height:200px;max-width:1200px;position:relative;overflow-y:scroll;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-direction:column;flex-direction:column}verdocs-view .document .inner{width:100%;max-width:1028px}verdocs-view .loading-indicator{top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;z-index:10000;position:fixed;background-color:rgba(0, 0, 0, 0.7)}#verdocs-view-header{width:100%;color:#fff;display:-ms-flexbox;display:flex;z-index:1000;-ms-flex:0 0 56px;flex:0 0 56px;padding:0 20px;font-size:12px;-webkit-column-gap:15px;-moz-column-gap:15px;column-gap:15px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-webkit-transition:all 0.25s;transition:all 0.25s;background-color:#33354c;-webkit-box-shadow:0 4px 4px 0 rgba(0, 0, 0, 0.24), 0 0 4px 0 rgba(0, 0, 0, 0.12);box-shadow:0 4px 4px 0 rgba(0, 0, 0, 0.24), 0 0 4px 0 rgba(0, 0, 0, 0.12)}@media all and (max-width: 500px){#verdocs-view-header{padding:0 10px}}#verdocs-view-header .inner{width:100%;display:-ms-flexbox;display:flex;margin:0 auto;padding:0 20px;max-width:1200px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}@media all and (max-width: 500px){#verdocs-view-header .inner{padding:0 10px}}#verdocs-view-header .logo{width:80px;display:none;margin:-6px 0 0 0}#verdocs-view-header .title{font-size:18px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}';var k=w;var y=e("verdocs_view",function(){function e(e){i(this,e);this.sdkError=t(this,"sdkError",7);this.envelopeUpdated=t(this,"envelopeUpdated",7);this.another=t(this,"another",7);this.view=t(this,"view",7);this.next=t(this,"next",7);this.envelopeListenerId=null;this.endpoint=null;this.envelopeId="";this.headerTargetId=null;this.canceling=false;this.showCancelDone=false;this.showLoadError=false;this.loading=true;this.envelope=null}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,i,t,n,o;return __generator(this,(function(s){switch(s.label){case 0:if(!this.endpoint){this.endpoint=l.getDefault();this.endpoint.loadSession()}if(!this.envelopeId){console.error("[VIEW] Missing required envelopeId");return[2]}this.listenToEnvelope();if(!!this.envelope)return[3,4];s.label=1;case 1:s.trys.push([1,3,,4]);console.log("[VIEW] Loading envelope...");n=this;return[4,a(this.endpoint,this.envelopeId)];case 2:n.envelope=s.sent();console.log("[VIEW] Loaded envelope",this.envelope);return[3,4];case 3:o=s.sent();this.showLoadError=true;(e=this.sdkError)===null||e===void 0?void 0:e.emit(new p(o.message,(i=o.response)===null||i===void 0?void 0:i.status,(t=o.response)===null||t===void 0?void 0:t.data));return[3,4];case 4:return[2]}}))}))};e.prototype.componentDidRender=function(){var e=this.headerTargetId?document.getElementById(this.headerTargetId):null;var i=document.getElementById("verdocs-view-header");if(e&&i){console.log("[VIEW] Moving header");i.remove();e.append(i)}};e.prototype.disconnectedCallback=function(){this.unlistenToEnvelope()};e.prototype.listenToEnvelope=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){console.log("[SIDEBAR] Loading envelope",this.envelopeId);this.unlistenToEnvelope();v.subscribe("envelopes",this.envelopeId,(function(){return a(e.endpoint,e.envelopeId)}),true,(function(i){e.envelope=i;e.loading=false}));return[2]}))}))};e.prototype.unlistenToEnvelope=function(){if(this.envelopeListenerId){v.store.delListener(this.envelopeListenerId);this.envelopeListenerId=null}};e.prototype.handlePageRendered=function(e){};e.prototype.handleOptionSelected=function(e){return __awaiter(this,void 0,void 0,(function(){var i,t,n,o,s,r,s;var l=this;return __generator(this,(function(u){switch(u.label){case 0:n=e.detail.id;switch(n){case"cancel":return[3,1];case"print":return[3,2];case"download-attachments":return[3,3];case"download-certificate":return[3,6];case"download-all":return[3,9]}return[3,10];case 1:if(confirm("Are you sure you wish to cancel this envelope? This action cannot be undone.")){this.canceling=true;c(this.endpoint,this.envelopeId).then((function(e){l.canceling=false;console.log("[VIEW] Envelope canceled",e);return a(l.endpoint,l.envelopeId)})).then((function(e){console.log("[VIEW] Loaded new envelope details",e);l.envelope=e})).catch((function(e){var i,t,n;l.canceling=false;console.log("[VIEW] Error canceling envelope",e);(i=l.sdkError)===null||i===void 0?void 0:i.emit(new p(e.message,(t=e.response)===null||t===void 0?void 0:t.status,(n=e.response)===null||n===void 0?void 0:n.data))}));this.showCancelDone=true;(i=this.envelopeUpdated)===null||i===void 0?void 0:i.emit({endpoint:this.endpoint,envelope:this.envelope,event:"canceled"})}return[3,10];case 2:window.print();(t=this.envelopeUpdated)===null||t===void 0?void 0:t.emit({endpoint:this.endpoint,envelope:this.envelope,event:"printed"});return[3,10];case 3:o=this.envelope.documents.find((function(e){return e.type==="attachment"}));if(!o)return[3,5];return[4,d(this.endpoint,this.envelopeId,o.id)];case 4:s=u.sent();window.open(s,"_blank");u.label=5;case 5:return[3,10];case 6:r=this.envelope.documents.find((function(e){return e.type==="certificate"}));if(!r)return[3,8];return[4,d(this.endpoint,this.envelopeId,r.id)];case 7:s=u.sent();window.open(s,"_blank");u.label=8;case 8:return[3,10];case 9:f(this.endpoint,[this.envelope]).then((function(){var e;(e=l.envelopeUpdated)===null||e===void 0?void 0:e.emit({endpoint:l.endpoint,envelope:l.envelope,event:"downloaded"})})).catch((function(e){console.log("Error downloading Zip",e)}));return[3,10];case 10:return[2]}}))}))};e.prototype.render=function(){var e=this;var i;if(this.loading){return n(s,null,n("verdocs-loader",null))}if(this.showLoadError){return n(s,null,n("verdocs-ok-dialog",{heading:"Unable to View Envelope",message:"Sorry, that envelope is not valid.",buttonLabel:"OK",onNext:function(){e.showLoadError=false}}))}if(!this.envelope){return n(s,null,n("img",{src:"https://public-assets.verdocs.com/loading-placeholder.png",style:{width:"612px",height:"792px",boxShadow:"0 0 10px 5px #0000000f",marginTop:"15px"},alt:"Placeholder page"}))}var t=[{id:"print",label:"Print"}];if(u(this.endpoint.profile,this.envelope)){t.push({id:"cancel",label:"Cancel"})}var r=this.envelope.documents.length>0;var l=this.envelope.documents.filter((function(e){return e.type==="attachment"})).length;var a=this.envelope.documents.find((function(e){return e.type==="certificate"}))!==undefined;if(r||a){t.push({label:""});if(r){t.push({id:"download-attachments",label:l>1?"Download Documents":"Download Document"})}if(a){t.push({id:"download-certificate",label:"Download Certificate"})}if(r&&a){t.push({id:"download-all",label:"Download All Files"})}}return n(s,null,n("div",{id:"verdocs-view-header"},n("div",{class:"inner"},n("img",{src:"https://verdocs.com/assets/white-logo.svg",alt:"Verdocs Logo",class:"logo"}),n("div",{class:"title"},this.envelope.name),n("div",{style:{flex:"1"}}),n("div",{style:{marginLeft:"10px"}}),n("verdocs-dropdown",{options:t,onOptionSelected:function(i){return e.handleOptionSelected(i)}}))),n("div",{class:"document",style:{paddingTop:this.headerTargetId?"70px":"15px"}},(((i=this.envelope)===null||i===void 0?void 0:i.documents)||[]).filter((function(e){return e.type!=="certificate"})).map((function(i){var t=h(1,i.pages);return n(o,null,t.map((function(t){var o;var s=((o=i.page_sizes)===null||o===void 0?void 0:o[t])||{width:612,height:792};return n("verdocs-envelope-document-page",{envelopeId:e.envelopeId,documentId:i.id,endpoint:e.endpoint,type:"filled",virtualWidth:s.width,virtualHeight:s.height,pageNumber:t,onPageRendered:function(i){return e.handlePageRendered(i)},layers:[{name:"page",type:"canvas"},{name:"controls",type:"div"}]})})))}))),this.showCancelDone&&n("verdocs-ok-dialog",{heading:"Cancelled",message:"This envelope has been cancelled successfully.",onNext:function(){e.showCancelDone=false}}),this.canceling&&n("div",{class:"loading-indicator"},n("verdocs-loader",null)))};Object.defineProperty(e.prototype,"component",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());y.style=k}}}));
2
+ //# sourceMappingURL=p-1f8bd27c.system.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["verdocsKbaDialogCss","VerdocsKbaDialogStyle0","QuestionIcon","VerdocsKbaDialog","exports","class_1","hostRef","this","step","steps","helptitle","helptext","mode","label","placeholder","recipient","choices","response","updatedRecipient","dobContainerId","concat","Math","random","toString","substring","prototype","componentWillLoad","__assign","componentDidLoad","handleCancel","exit","emit","handleDismiss","e","target","class","preventDefault","handleDone","next","handleConfirmID","render","_this","h","Host","onClick","Fragment","innerHTML","map","choice","console","log","variant","disabled","htmlFor","required","type","id","name","value","_a","first_name","onInput","_b","last_name","_c","address","_d","city","_e","state","_f","zip","_g","dob","_h","_j","_k","_l","_m","verdocsViewCss","VerdocsViewStyle0","VerdocsView","class_2","envelopeListenerId","endpoint","envelopeId","headerTargetId","canceling","showCancelDone","showLoadError","loading","envelope","VerdocsEndpoint","getDefault","loadSession","error","listenToEnvelope","_o","getEnvelope","_p","sent","sdkError","SDKError","e_1","message","status","data","componentDidRender","headerTarget","document","getElementById","headerEl","remove","append","disconnectedCallback","unlistenToEnvelope","Store","subscribe","store","delListener","handlePageRendered","handleOptionSelected","detail","confirm","cancelEnvelope","then","r","env","catch","envelopeUpdated","event","window","print","firstDoc","documents","find","doc","getDocumentDownloadLink","url","open","firstCert","saveEnvelopesAsZip","heading","buttonLabel","onNext","src","style","width","height","boxShadow","marginTop","alt","menuOptions","userCanCancelEnvelope","profile","push","hasAttachments","length","normalDocCount","filter","hasCertificate","undefined","flex","marginLeft","options","onOptionSelected","paddingTop","envelopeDocument","pageNumbers","integerSequence","pages","pageNumber","pageSize","page_sizes","documentId","virtualWidth","virtualHeight","onPageRendered","layers"],"sources":["src/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.scss?tag=verdocs-kba-dialog","src/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.tsx","src/components/embeds/verdocs-view/verdocs-view.scss?tag=verdocs-view","src/components/embeds/verdocs-view/verdocs-view.tsx"],"sourcesContent":["@import '../../../theme.scss';\n\nverdocs-kba-dialog {\n font-family: $primary-font;\n box-sizing: border-box;\n\n div {\n box-sizing: border-box;\n }\n\n .background-overlay {\n position: fixed;\n z-index: 10000;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #0000007f;\n }\n\n .dialog {\n width: 440px;\n display: flex;\n flex-direction: column;\n border-radius: 4px;\n overflow: hidden;\n background: #fff;\n padding: 16px;\n gap: 10px;\n box-shadow: 3px 3px 5px 1px rgba(40, 40, 40, 0.4);\n }\n\n .heading {\n display: flex;\n flex-direction: row;\n font-size: 20px;\n font-weight: 500;\n }\n\n .step {\n margin-left: 6px;\n color: #666;\n }\n\n .help-box {\n background-color: $border-color;\n display: flex;\n flex-direction: row;\n padding: 14px;\n align-items: center;\n color: white;\n }\n\n .help-details {\n display: flex;\n flex-direction: column;\n margin-left: 15px;\n font-size: 14px;\n }\n\n .help-icon {\n width: 40px;\n height: 40px;\n }\n\n .help-title {\n font-weight: 600;\n margin-bottom: 4px;\n }\n\n .help-text {\n font-weight: 400;\n }\n\n .input {\n display: flex;\n flex-direction: row;\n gap: 10px;\n align-items: center;\n margin: 16px 0 32px;\n\n label {\n flex: 0;\n line-height: 10px;\n font-weight: 500;\n white-space: nowrap;\n }\n\n input {\n flex: 1;\n padding: 5px 8px;\n border-radius: 3px;\n border: 1px solid #cccccc;\n }\n }\n\n .field {\n gap: 10px;\n margin: 0;\n display: flex;\n align-items: center;\n flex-direction: row;\n max-width: 100%;\n\n .required {\n color: red;\n position: relative;\n top: -0.5em;\n font-size: 80%;\n }\n\n label {\n flex: 0 0 120px;\n font-weight: 500;\n line-height: 10px;\n text-align: right;\n white-space: nowrap;\n }\n\n verdocs-date-input {\n width: 40%;\n flex-grow: 1;\n\n input {\n width: 100%;\n box-sizing: border-box;\n }\n }\n\n input {\n width: 40%;\n flex-grow: 1;\n padding: 5px 8px;\n border-radius: 3px;\n border: 1px solid #cccccc;\n }\n }\n\n .choices {\n display: grid;\n gap: 15px;\n grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));\n margin: 0 0 15px 0;\n }\n\n .choice {\n border: 1px solid $border-color;\n border-radius: 5px;\n display: flex;\n height: 60px;\n font-size: 14px;\n padding: 0 5px;\n justify-content: center;\n align-items: center;\n text-align: center;\n color: $choice-available-color;\n cursor: pointer;\n\n &.selected {\n background-color: $border-color;\n color: $verdocs-grey-4;\n }\n }\n\n .buttons {\n display: flex;\n align-items: center;\n flex-direction: row;\n justify-content: flex-end;\n\n verdocs-button {\n margin-left: 16px;\n }\n }\n}\n","import {Component, Prop, h, Event, EventEmitter, Fragment, Host, State} from '@stencil/core';\nimport {IRecipient} from '@verdocs/js-sdk';\n// import AirDatepicker from 'air-datepicker';\n// import localeEn from 'air-datepicker/locale/en';\n\nconst QuestionIcon = `<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M20 0C8.95313 0 0 8.95313 0 20C0 31.0469 8.95313 40 20 40C31.0469 40 40 31.0469 40 20C40 8.95313 31.0469 0 20 0ZM20 36.25C11.0391 36.25 3.75 28.9602 3.75 20C3.75 11.0398 11.0391 3.75 20 3.75C28.9609 3.75 36.25 11.0398 36.25 20C36.25 28.9602 28.9609 36.25 20 36.25Z\" fill=\"white\"/><path d=\"M20 26.25C18.5938 26.25 17.5 27.3438 17.5 28.75C17.5 30.1562 18.5234 31.25 20 31.25C21.3359 31.25 22.5 30.1562 22.5 28.75C22.5 27.3438 21.3359 26.25 20 26.25ZM22.5859 10H18.5938C15.5469 10 13.125 12.4219 13.125 15.4688C13.125 16.4844 13.9844 17.3438 15 17.3438C16.0156 17.3438 16.875 16.4844 16.875 15.4688C16.875 14.5312 17.5859 13.75 18.5234 13.75H22.5156C23.5234 13.75 24.375 14.5312 24.375 15.4688C24.375 16.0938 24.0625 16.5703 23.5156 16.8828L19.0625 19.6094C18.4375 20 18.125 20.625 18.125 21.25V22.5C18.125 23.5156 18.9844 24.375 20 24.375C21.0156 24.375 21.875 23.5156 21.875 22.5V22.3438L25.3984 20.1562C27.0391 19.1406 28.0547 17.3438 28.0547 15.4688C28.125 12.4219 25.7031 10 22.5859 10Z\" fill=\"#E7E7E7\"/></svg>`;\n\n/**\n * Prompt the user to confirm their identity with a PIN or a series of questions.\n */\n@Component({\n tag: 'verdocs-kba-dialog',\n styleUrl: 'verdocs-kba-dialog.scss',\n})\nexport class VerdocsKbaDialog {\n // private picker: AirDatepicker<HTMLElement> | null = null;\n\n /**\n * Which step this confirmation is for, in a multi-step process. Ignored if `steps` is < 2.\n */\n @Prop() step: number = 1;\n\n /**\n * How many steps exist in a multi-step process. Set to 1 for a single-step process (hides the indicator).\n */\n @Prop() steps: number = 3;\n\n /**\n * If set, a help/instructions box will be displayed with this title\n */\n @Prop() helptitle: string = 'Previous Addresses';\n\n /**\n * If set, a help/instructions box will be displayed with this text\n */\n @Prop() helptext: string = 'Please select the address below that you have most recently lived at.';\n\n /**\n * The type of dialog to display. Three modes are supported.\n */\n @Prop() mode: 'text' | 'choice' | 'identity' = 'choice';\n\n /**\n * For text input challenges, the label to display next to the input field.\n */\n @Prop() label: string = 'PIN';\n\n /**\n * For text input challenges, the placeholder to display inside the input field.\n */\n @Prop() placeholder: string = 'Enter your PIN...';\n\n /**\n * For identity confirmation, the current recipient details.\n */\n @Prop() recipient: IRecipient | null = null;\n\n /**\n * For choice challenges, a set of choices to choose from. 6 choices is recommended to fit most screen sizes.\n */\n @Prop() choices: string[] = ['553 Arbor Dr', '18 Lacey Ln', '23A Ball Ct', '2375 Cavallo Blvd', '23-1 RR-7', '151 Boulder Rd'];\n\n /**\n * Event fired when the step is cancelled. This is called exit to avoid conflicts with the JS-reserved \"cancel\" event name.\n */\n @Event({composed: true}) exit: EventEmitter;\n\n /**\n * Event fired when the dialog is closed. The event data will contain the value selected,\n * or the new recipient details if the mode is 'identity'.\n */\n @Event({composed: true}) pinEntered: EventEmitter<string | IRecipient>;\n\n /**\n * Event fired when the dialog is closed. The event data will contain the value selected,\n * or the new recipient details if the mode is 'identity'.\n */\n @Event({composed: true}) next: EventEmitter<string | IRecipient | string[]>;\n\n @State() response = '';\n @State() updatedRecipient: IRecipient = null;\n @State() dobContainerId = `verdocs-date-input-${Math.random().toString(36).substring(2, 11)}`;\n\n componentWillLoad() {\n this.updatedRecipient = {...(this.recipient || {})} as IRecipient;\n }\n\n componentDidLoad() {\n // this.picker = new AirDatepicker<HTMLElement>(`#${this.dobContainerId}`, {\n // locale: localeEn,\n // isMobile: true,\n // autoClose: true,\n // onSelect: ({date, formattedDate}) => {\n // console.log('onselect', date, formattedDate);\n // // const event = new CustomEvent('input', {detail: {date, formattedDate}});\n // // this.hostEl.dispatchEvent(event);\n // },\n // });\n }\n\n handleCancel() {\n this.exit.emit();\n }\n\n // We need a separate event handler for clicking the background because it can receive events \"through\" other child components\n handleDismiss(e: any) {\n if (e.target.class === 'background-overlay') {\n e.preventDefault();\n this.handleCancel();\n }\n }\n\n handleDone() {\n this.next.emit(this.response);\n this.response = '';\n }\n\n handleConfirmID() {\n this.next.emit(this.updatedRecipient);\n }\n\n render() {\n if (this.mode === 'choice') {\n return (\n <Host>\n <div class=\"background-overlay\" onClick={e => this.handleDismiss(e)}>\n <div class=\"dialog\">\n <div class=\"heading\">\n Confirm Your Identity\n {this.steps > 1 ? (\n <span class=\"step\">\n ({this.step}/{this.steps})\n </span>\n ) : (\n <Fragment />\n )}\n </div>\n\n {!!this.helptitle && (\n <div class=\"help-box\">\n <div class=\"help-icon\" innerHTML={QuestionIcon} />\n <div class=\"help-details\">\n <div class=\"help-title\">{this.helptitle}</div>\n <div class=\"help-text\">{this.helptext}</div>\n </div>\n </div>\n )}\n\n <div class=\"choices\">\n {this.choices.map(choice => (\n <div\n class={`choice ${choice === this.response ? 'selected' : ''}`}\n onClick={() => {\n console.log('Selected', choice);\n this.response = choice;\n }}\n >\n {choice}\n </div>\n ))}\n </div>\n\n <div class=\"buttons\">\n <verdocs-button label=\"Cancel\" variant=\"outline\" onClick={() => this.handleCancel()} />\n <verdocs-button label={this.step < this.steps ? 'Next' : 'Submit'} onClick={() => this.handleDone()} disabled={!this.response} />\n </div>\n </div>\n </div>\n </Host>\n );\n }\n\n if (this.mode === 'identity') {\n console.log('ur', this.updatedRecipient);\n return (\n <Host>\n <div class=\"background-overlay\" onClick={e => this.handleDismiss(e)}>\n <div class=\"dialog\">\n <div class=\"heading\">Confirm Your Identity</div>\n\n {!!this.helptitle && (\n <div class=\"help-box\">\n <div class=\"help-icon\" innerHTML={QuestionIcon} />\n <div class=\"help-details\">\n <div class=\"help-title\">Identity verification is required</div>\n <div class=\"help-text\">NOTE: Only four fields are required, but providing more details will allow us to complete the verification process more quickly.</div>\n </div>\n </div>\n )}\n\n <div class=\"field\">\n <label htmlFor=\"verdocs-kba-first\">\n Your Name:<span class=\"required\">*</span>\n </label>\n <input\n required\n type=\"text\"\n id=\"verdocs-kba-first\"\n name=\"verdocs-kba-first\"\n placeholder=\"First name...\"\n value={this.updatedRecipient?.first_name}\n onInput={(e: any) => (this.updatedRecipient = {...this.updatedRecipient, first_name: e.target.value})}\n />\n\n <input\n type=\"text\"\n id=\"verdocs-kba-last\"\n name=\"verdocs-kba-last\"\n placeholder=\"Last name...\"\n required\n value={this.updatedRecipient?.last_name}\n onInput={(e: any) => (this.updatedRecipient = {...this.updatedRecipient, last_name: e.target.value})}\n />\n </div>\n\n <div class=\"field\">\n <label htmlFor=\"verdocs-kba-address\">\n Address:<span class=\"required\">*</span>\n </label>\n <input\n type=\"text\"\n id=\"verdocs-kba-address\"\n name=\"verdocs-kba-address\"\n placeholder=\"Address...\"\n value={this.updatedRecipient?.address}\n onInput={(e: any) => (this.updatedRecipient = {...this.updatedRecipient, address: e.target.value})}\n />\n </div>\n\n <div class=\"field\">\n <label htmlFor=\"verdocs-kba-city\">City:</label>\n <input\n type=\"text\"\n id=\"verdocs-kba-city\"\n name=\"verdocs-kba-city\"\n placeholder=\"City...\"\n value={this.updatedRecipient?.city}\n onInput={(e: any) => (this.updatedRecipient = {...this.updatedRecipient, city: e.target.value})}\n />\n </div>\n\n <div class=\"field\">\n <label htmlFor=\"verdocs-kba-state\">State:</label>\n <input\n type=\"text\"\n id=\"verdocs-kba-state\"\n name=\"verdocs-kba-state\"\n placeholder=\"State...\"\n value={this.updatedRecipient?.state}\n onInput={(e: any) => (this.updatedRecipient = {...this.updatedRecipient, state: e.target.value})}\n />\n </div>\n\n <div class=\"field\">\n <label htmlFor=\"verdocs-kba-zip\">\n Zip Code:<span class=\"required\">*</span>\n </label>\n <input\n type=\"text\"\n id=\"verdocs-kba-zip\"\n name=\"verdocs-kba-zip\"\n placeholder=\"Zip Code...\"\n required\n value={this.updatedRecipient?.zip}\n onInput={(e: any) => (this.updatedRecipient = {...this.updatedRecipient, zip: e.target.value})}\n />\n </div>\n\n <div class=\"field\">\n {/* TODO: Also allow typed entry */}\n <label htmlFor={this.dobContainerId}>\n Date of Birth:<span class=\"required\">*</span>\n </label>\n <input\n type=\"text\"\n value={this.updatedRecipient?.dob || ''}\n id={this.dobContainerId}\n placeholder=\"DOB...\"\n onInput={(e: any) => (this.updatedRecipient = {...this.updatedRecipient, dob: e.target.value})}\n />\n </div>\n\n <div class=\"buttons\">\n <verdocs-button\n label=\"Submit\"\n onClick={() => this.handleConfirmID()}\n disabled={\n !this.updatedRecipient?.first_name ||\n !this.updatedRecipient?.last_name ||\n !this.updatedRecipient?.address ||\n !this.updatedRecipient?.zip ||\n !this.updatedRecipient?.dob\n }\n />\n </div>\n </div>\n </div>\n </Host>\n );\n }\n\n return (\n <Host>\n <div class=\"background-overlay\" onClick={e => this.handleDismiss(e)}>\n <div class=\"dialog\">\n <div class=\"heading\">\n Please Confirm Your Identity\n {this.steps > 1 ? (\n <span class=\"step\">\n ({this.step}/{this.steps})\n </span>\n ) : (\n <Fragment />\n )}\n </div>\n\n {!!this.helptitle && (\n <div class=\"help-box\">\n <div class=\"help-icon\" innerHTML={QuestionIcon} />\n <div class=\"help-details\">\n <div class=\"help-title\">{this.helptitle}</div>\n <div class=\"help-text\">{this.helptext}</div>\n </div>\n </div>\n )}\n\n <div class=\"input\">\n <label htmlFor=\"verdocs-kba-input\">{this.label}</label>\n <input\n type=\"text\"\n id=\"verdocs-kba-input\"\n name=\"verdocs-kba-input\"\n placeholder={this.placeholder}\n value={this.response}\n onInput={(e: any) => (this.response = e.target.value)}\n />\n </div>\n\n <div class=\"buttons\">\n <verdocs-button label=\"Cancel\" variant=\"outline\" onClick={() => this.handleCancel()} />\n <verdocs-button label=\"Submit\" onClick={() => this.handleDone()} disabled={!this.response} />\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n","@import '../../../theme.scss';\n\nverdocs-view {\n display: flex;\n overflow: hidden;\n min-height: 600px;\n position: relative;\n align-items: center;\n flex-direction: column;\n box-sizing: border-box;\n font-family: $verdocs-primary-font;\n\n div,\n canvas {\n box-sizing: border-box;\n }\n\n .document {\n flex: 1;\n width: 100%;\n height: 100%;\n display: flex;\n padding: 15px;\n row-gap: 15px;\n min-height: 200px;\n max-width: 1200px;\n position: relative;\n overflow-y: scroll;\n align-items: center;\n box-sizing: border-box;\n flex-direction: column;\n //justify-content: center;\n\n .inner {\n width: 100%;\n max-width: 1028px;\n }\n }\n\n .loading-indicator {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n z-index: 10000;\n position: fixed;\n background-color: rgba(0, 0, 0, 0.7);\n }\n}\n\n// Styled separately because the header is often re-parented\n#verdocs-view-header {\n width: 100%;\n color: #fff;\n display: flex;\n z-index: 1000;\n flex: 0 0 56px;\n padding: 0 20px;\n font-size: 12px;\n column-gap: 15px;\n align-items: center;\n flex-direction: row;\n transition: all 0.25s;\n background-color: $medium-bg;\n box-shadow:\n 0 4px 4px 0 rgb(0 0 0 / 24%),\n 0 0 4px 0 rgb(0 0 0 / 12%);\n\n @media all and (max-width: 500px) {\n padding: 0 10px;\n }\n\n .inner {\n width: 100%;\n display: flex;\n margin: 0 auto;\n padding: 0 20px;\n max-width: 1200px;\n align-items: center;\n flex-direction: row;\n\n @media all and (max-width: 500px) {\n padding: 0 10px;\n }\n }\n\n .logo {\n width: 80px;\n display: none;\n margin: -6px 0 0 0;\n }\n\n .title {\n font-size: 18px;\n font-weight: 500;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n}\n","import {cancelEnvelope, getDocumentDownloadLink, getEnvelope, IEnvelope, integerSequence, userCanCancelEnvelope, VerdocsEndpoint} from '@verdocs/js-sdk';\nimport {Component, h, Element, Event, Host, Prop, EventEmitter, Fragment, State} from '@stencil/core';\nimport {saveEnvelopesAsZip} from '../../../utils/utils';\nimport {SDKError} from '../../../utils/errors';\nimport {Store} from '../../../utils/Datastore';\n\n/**\n * Render the documents attached to an envelope in read-only (view) mode. All documents are\n * displayed in order.\n *\n * ```ts\n * <verdocs-view\n * envelopeId={envelopeId}\n * onSdkError={({ detail }) => { console.log('SDK error', detail) }\n * />\n * ```\n */\n@Component({\n tag: 'verdocs-view',\n styleUrl: 'verdocs-view.scss',\n shadow: false,\n})\nexport class VerdocsView {\n private envelopeListenerId = null;\n\n @Element() component: HTMLElement;\n\n /**\n * The endpoint to use to communicate with Verdocs. If not set, the default endpoint will be used.\n */\n @Prop() endpoint: VerdocsEndpoint | null = null;\n\n /**\n * The envelope ID to render. Set ONE OF templateId or envelopeId. If both are set, envelopeId will be ignored.\n */\n @Prop() envelopeId: string = '';\n\n /**\n * If set, (recommended), the host application should create a <DIV> element with a unique ID. When this\n * component renders, the header will be removed from its default location and placed in the target element.\n * This allows the parent application to more easily control its placement and scroll effects (e.g. \"fixed\").\n *\n * The movement of the header to the target container is not dynamic - it is performed only on the initial\n * render. Host applications should not conditionally render this container. If the header's visibility must\n * be externally controlled, use CSS display options to hide/show it instead.\n */\n @Prop() headerTargetId: string | null = null;\n\n /**\n * Event fired if an error occurs. The event details will contain information about the error. Most errors will\n * terminate the process, and the calling application should correct the condition and re-render the component.\n */\n @Event({composed: true}) sdkError: EventEmitter<SDKError>;\n\n /**\n * Event fired when the envelope is updated in any way. May be used for tasks such as cache invalidation or reporting to other systems.\n */\n @Event({composed: true}) envelopeUpdated: EventEmitter<{endpoint: VerdocsEndpoint; envelope: IEnvelope; event: string}>;\n\n /**\n * Event fired when the user clicks Send Another to proceed. It is up to the host application\n * to redirect the user to the appropriate next workflow step.\n */\n @Event({composed: true}) another: EventEmitter;\n\n /**\n * Event fired when the user clicks Send Another to proceed. It is up to the host application\n * to redirect the user to the appropriate next workflow step.\n */\n @Event({composed: true}) view: EventEmitter;\n\n /**\n * Event fired when the user clicks Done to proceed. It is up to the host application\n * to redirect the user to the appropriate next workflow step.\n */\n @Event({composed: true}) next: EventEmitter;\n @State() canceling = false;\n @State() showCancelDone = false;\n @State() showLoadError = false;\n\n @State() loading = true;\n @State() envelope: IEnvelope | null = null;\n\n async componentWillLoad() {\n if (!this.endpoint) {\n this.endpoint = VerdocsEndpoint.getDefault();\n this.endpoint.loadSession();\n }\n\n if (!this.envelopeId) {\n console.error(`[VIEW] Missing required envelopeId`);\n return;\n }\n\n this.listenToEnvelope();\n if (!this.envelope) {\n try {\n console.log('[VIEW] Loading envelope...');\n this.envelope = await getEnvelope(this.endpoint, this.envelopeId);\n console.log('[VIEW] Loaded envelope', this.envelope);\n } catch (e) {\n this.showLoadError = true;\n this.sdkError?.emit(new SDKError(e.message, e.response?.status, e.response?.data));\n }\n }\n }\n\n componentDidRender() {\n const headerTarget = this.headerTargetId ? document.getElementById(this.headerTargetId) : null;\n const headerEl = document.getElementById('verdocs-view-header');\n if (headerTarget && headerEl) {\n console.log('[VIEW] Moving header');\n headerEl.remove();\n headerTarget.append(headerEl);\n }\n }\n\n disconnectedCallback() {\n this.unlistenToEnvelope();\n }\n\n async listenToEnvelope() {\n console.log('[SIDEBAR] Loading envelope', this.envelopeId);\n this.unlistenToEnvelope();\n Store.subscribe(\n 'envelopes',\n this.envelopeId,\n () => getEnvelope(this.endpoint, this.envelopeId),\n true,\n (envelope: IEnvelope) => {\n this.envelope = envelope;\n this.loading = false;\n },\n );\n }\n\n unlistenToEnvelope() {\n if (this.envelopeListenerId) {\n Store.store.delListener(this.envelopeListenerId);\n this.envelopeListenerId = null;\n }\n }\n\n handlePageRendered(_e: any) {\n // const pageInfo = e.detail as IDocumentPageInfo;\n // console.log('[VIEW] Page rendered', pageInfo);\n }\n\n async handleOptionSelected(e: any) {\n switch (e.detail.id) {\n case 'cancel':\n // TODO: Better option for inline-flow confirmation and alert dialogs.\n if (confirm('Are you sure you wish to cancel this envelope? This action cannot be undone.')) {\n this.canceling = true;\n cancelEnvelope(this.endpoint, this.envelopeId)\n .then(r => {\n this.canceling = false;\n console.log('[VIEW] Envelope canceled', r);\n return getEnvelope(this.endpoint, this.envelopeId);\n })\n .then(env => {\n console.log('[VIEW] Loaded new envelope details', env);\n this.envelope = env;\n })\n .catch(e => {\n this.canceling = false;\n console.log('[VIEW] Error canceling envelope', e);\n this.sdkError?.emit(new SDKError(e.message, e.response?.status, e.response?.data));\n });\n this.showCancelDone = true;\n this.envelopeUpdated?.emit({endpoint: this.endpoint, envelope: this.envelope, event: 'canceled'});\n }\n break;\n\n case 'print':\n window.print();\n this.envelopeUpdated?.emit({endpoint: this.endpoint, envelope: this.envelope, event: 'printed'});\n break;\n\n case 'download-attachments':\n // TODO: Multiple document support\n {\n const firstDoc = this.envelope.documents.find(doc => doc.type === 'attachment');\n if (firstDoc) {\n const url = await getDocumentDownloadLink(this.endpoint, this.envelopeId, firstDoc.id);\n window.open(url, '_blank');\n }\n }\n break;\n\n case 'download-certificate':\n // TODO: Multiple certificate support\n {\n const firstCert = this.envelope.documents.find(doc => doc.type === 'certificate');\n if (firstCert) {\n const url = await getDocumentDownloadLink(this.endpoint, this.envelopeId, firstCert.id);\n window.open(url, '_blank');\n }\n }\n // saveCertificate(this.endpoint, this.envelope, this.envelope.certificate_document_id)\n // .then(() => {\n // this.envelopeUpdated?.emit({endpoint: this.endpoint, envelope: this.envelope, event: 'downloaded'});\n // })\n // .catch(e => {\n // console.log('Error downloading PDF', e);\n // });\n break;\n\n case 'download-all':\n saveEnvelopesAsZip(this.endpoint, [this.envelope])\n .then(() => {\n this.envelopeUpdated?.emit({endpoint: this.endpoint, envelope: this.envelope, event: 'downloaded'});\n })\n .catch(e => {\n console.log('Error downloading Zip', e);\n });\n break;\n }\n }\n\n render() {\n if (this.loading) {\n return (\n <Host>\n <verdocs-loader />\n </Host>\n );\n }\n\n if (this.showLoadError) {\n return (\n <Host>\n <verdocs-ok-dialog\n heading=\"Unable to View Envelope\"\n message={`Sorry, that envelope is not valid.`}\n buttonLabel=\"OK\"\n onNext={() => {\n this.showLoadError = false;\n }}\n />\n </Host>\n );\n }\n\n if (!this.envelope) {\n return (\n <Host>\n <img\n src=\"https://public-assets.verdocs.com/loading-placeholder.png\"\n style={{width: '612px', height: '792px', boxShadow: '0 0 10px 5px #0000000f', marginTop: '15px'}}\n alt=\"Placeholder page\"\n />\n </Host>\n );\n }\n\n const menuOptions: any[] = [{id: 'print', label: 'Print'}];\n\n if (userCanCancelEnvelope(this.endpoint.profile, this.envelope)) {\n menuOptions.push({id: 'cancel', label: 'Cancel'});\n }\n\n // Add download options to the menu\n const hasAttachments = this.envelope.documents.length > 0;\n const normalDocCount = this.envelope.documents.filter(doc => doc.type === 'attachment').length;\n const hasCertificate = this.envelope.documents.find(doc => doc.type === 'certificate') !== undefined;\n if (hasAttachments || hasCertificate) {\n menuOptions.push({label: ''});\n if (hasAttachments) {\n menuOptions.push({id: 'download-attachments', label: normalDocCount > 1 ? 'Download Documents' : 'Download Document'});\n }\n if (hasCertificate) {\n menuOptions.push({id: 'download-certificate', label: 'Download Certificate'});\n }\n if (hasAttachments && hasCertificate) {\n menuOptions.push({id: 'download-all', label: 'Download All Files'});\n }\n }\n\n return (\n <Host>\n <div id=\"verdocs-view-header\">\n <div class=\"inner\">\n <img src=\"https://verdocs.com/assets/white-logo.svg\" alt=\"Verdocs Logo\" class=\"logo\" />\n <div class=\"title\">{this.envelope.name}</div>\n <div style={{flex: '1'}} />\n <div style={{marginLeft: '10px'}} />\n <verdocs-dropdown options={menuOptions} onOptionSelected={e => this.handleOptionSelected(e)} />\n </div>\n </div>\n\n <div class=\"document\" style={{paddingTop: this.headerTargetId ? '70px' : '15px'}}>\n {(this.envelope?.documents || [])\n .filter(document => document.type !== 'certificate')\n .map(envelopeDocument => {\n const pageNumbers = integerSequence(1, envelopeDocument.pages);\n\n return (\n <Fragment>\n {pageNumbers.map(pageNumber => {\n const pageSize = envelopeDocument.page_sizes?.[pageNumber] || {width: 612, height: 792};\n\n return (\n <verdocs-envelope-document-page\n envelopeId={this.envelopeId}\n documentId={envelopeDocument.id}\n endpoint={this.endpoint}\n type=\"filled\"\n virtualWidth={pageSize.width}\n virtualHeight={pageSize.height}\n pageNumber={pageNumber}\n onPageRendered={e => this.handlePageRendered(e)}\n layers={[\n {name: 'page', type: 'canvas'},\n {name: 'controls', type: 'div'},\n ]}\n />\n );\n })}\n </Fragment>\n );\n })}\n </div>\n {this.showCancelDone && (\n <verdocs-ok-dialog\n heading=\"Cancelled\"\n message={`This envelope has been cancelled successfully.`}\n onNext={() => {\n this.showCancelDone = false;\n }}\n />\n )}\n {this.canceling && (\n <div class=\"loading-indicator\">\n <verdocs-loader />\n </div>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"iyEAAA,IAAMA,EAAsB,mgHAC5B,IAAAC,EAAeD,ECIf,IAAME,EAAe,+lC,IASRC,EAAgBC,EAAA,gCAJ7B,SAAAC,EAAAC,G,uGAUUC,KAAAC,KAAe,EAKfD,KAAAE,MAAgB,EAKhBF,KAAAG,UAAoB,qBAKpBH,KAAAI,SAAmB,wEAKnBJ,KAAAK,KAAuC,SAKvCL,KAAAM,MAAgB,MAKhBN,KAAAO,YAAsB,oBAKtBP,KAAAQ,UAA+B,KAK/BR,KAAAS,QAAoB,CAAC,eAAgB,cAAe,cAAe,oBAAqB,YAAa,kBAmBpGT,KAAAU,SAAW,GACXV,KAAAW,iBAA+B,KAC/BX,KAAAY,eAAiB,sBAAAC,OAAsBC,KAAKC,SAASC,SAAS,IAAIC,UAAU,EAAG,I,CAExFnB,EAAAoB,UAAAC,kBAAA,WACEnB,KAAKW,iBAAgBS,SAAA,GAAQpB,KAAKQ,WAAa,G,EAGjDV,EAAAoB,UAAAG,iBAAA,W,EAaAvB,EAAAoB,UAAAI,aAAA,WACEtB,KAAKuB,KAAKC,M,EAIZ1B,EAAAoB,UAAAO,cAAA,SAAcC,GACZ,GAAIA,EAAEC,OAAOC,QAAU,qBAAsB,CAC3CF,EAAEG,iBACF7B,KAAKsB,c,GAITxB,EAAAoB,UAAAY,WAAA,WACE9B,KAAK+B,KAAKP,KAAKxB,KAAKU,UACpBV,KAAKU,SAAW,E,EAGlBZ,EAAAoB,UAAAc,gBAAA,WACEhC,KAAK+B,KAAKP,KAAKxB,KAAKW,iB,EAGtBb,EAAAoB,UAAAe,OAAA,eAAAC,EAAAlC,K,4BACE,GAAIA,KAAKK,OAAS,SAAU,CAC1B,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
@@ -1,2 +1,2 @@
1
- var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var i,r=1,t=arguments.length;r<t;r++){i=arguments[r];for(var s in i)if(Object.prototype.hasOwnProperty.call(i,s))e[s]=i[s]}return e};return __assign.apply(this,arguments)};var __spreadArray=this&&this.__spreadArray||function(e,i,r){if(r||arguments.length===2)for(var t=0,s=i.length,o;t<s;t++){if(o||!(t in i)){if(!o)o=Array.prototype.slice.call(i,0,t);o[t]=i[t]}}return e.concat(o||Array.prototype.slice.call(i))};System.register(["./p-60387e15.system.js","@verdocs/js-sdk","./p-f29eb00a.system.js","./p-e0ac9edf.system.js","./p-21b1acec.system.js","./p-d738b5db.system.js","./p-2c5350ec.system.js"],(function(e){"use strict";var i,r,t,s,o,n,a,c;return{setters:[function(e){i=e.r;r=e.c;t=e.h;s=e.H;o=e.g},function(e){n=e.integerSequence},function(e){a=e.i},function(e){c=e.c},function(){},function(){},function(){}],execute:function(){var l='@-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-pagination{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;font-family:"Inter", "Barlow", sans-serif}verdocs-pagination .page-button{height:38px;display:-ms-flexbox;display:flex;-ms-flex:0 0 38px;flex:0 0 38px;cursor:pointer;font-size:16px;font-weight:600;border-radius:4px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:#33364b;border:1px solid #654dcb}verdocs-pagination .page-button svg{width:18px;height:18px}verdocs-pagination .page-button.selected{cursor:default;color:#ffffff;background:#654dcb}verdocs-pagination .ellipsis{width:38px;height:38px;display:-ms-flexbox;display:flex;-ms-flex:0 0 38px;flex:0 0 38px;line-height:32px;-ms-flex-pack:center;justify-content:center;color:#33364b}';var d=l;var f='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M18.75 19.5l-7.5-7.5 7.5-7.5m-6 15L5.25 12l7.5-7.5" /></svg>';var u='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M11.25 4.5l7.5 7.5-7.5 7.5m-6-15l7.5 7.5-7.5 7.5" /></svg>';var b=5;var p=function(e){var i=e.page,r=e.selected,s=e.onClick;var o;if(i==="first"){o=f}else if(i==="last"){o=u}else{o=String(i+1)}return t("div",{class:"page-button ".concat(i===r?"selected":""),onClick:function(){return s(i)},innerHTML:o})};var h=e("verdocs_pagination",function(){function e(e){i(this,e);this.selectPage=r(this,"selectPage",7);this.selectedPage=0;this.itemCount=1;this.perPage=10}e.prototype.handleSelectPage=function(e){var i;this.selectedPage=e;(i=this.selectPage)===null||i===void 0?void 0:i.emit({selectedPage:e})};e.prototype.render=function(){var e=this;var i=Math.max(0,this.selectedPage-2);var r=this.itemCount>0?Math.ceil(this.itemCount/this.perPage):0;var o=n(0,Math.ceil(this.itemCount/this.perPage)).slice(i,i+b);return t(s,{key:"9cb81ab797997f6bedf65126e759a329e01b5d86"},this.selectedPage>0&&t(p,{key:"a172567f4adbaa02644a3c285344c0de4d2e5a33",page:"first",selected:this.selectedPage,onClick:function(){return e.handleSelectPage(0)}}),i>0&&t("div",{key:"97833b23734e758e9ae5627b756fecad2371037c",class:"ellipsis"},"..."),o.map((function(i){return t(p,{page:i,selected:e.selectedPage,onClick:function(i){return e.handleSelectPage(+i)}})})),this.selectedPage<r-1&&t("div",{key:"20dc5aa9111118ce1df8177d64c6fecff1d497e2",class:"ellipsis"},"..."),this.selectedPage<r-1&&t(p,{key:"04b5d3fce4ba05f3acc2f24927c1bda6be7f34e7",page:"last",selected:this.selectedPage,onClick:function(){return e.handleSelectPage(r-1)}}))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());h.style=d;var v='@-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-quick-filter{position:relative;font-family:"Inter", "Barlow", sans-serif}verdocs-quick-filter .control{outline:0;height:34px;display:-ms-flexbox;display:flex;cursor:pointer;border-radius:4px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-webkit-box-sizing:border-box;box-sizing:border-box;background:#ffffff;-webkit-transition:all 100ms ease 0s;transition:all 100ms ease 0s;border:1px solid #cccccc}verdocs-quick-filter .title{padding:0 8px;font-size:14px;max-width:100%;overflow:hidden;color:#33364b;white-space:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;text-overflow:ellipsis}verdocs-quick-filter .title .prefix{display:inline;font-weight:700;margin:0 7px 0 0;color:#4c56cb}verdocs-quick-filter .arrow{width:32px;height:32px;border:none;outline:none;cursor:pointer;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;background:#ffffff;-webkit-transition:color 150ms ease 0s;transition:color 150ms ease 0s}verdocs-quick-filter .arrow svg{-webkit-transition:0.3s;transition:0.3s;fill:#cccccc}verdocs-quick-filter .separator{width:1px;display:block;margin-top:8px;margin-bottom:8px;-ms-flex-item-align:stretch;align-self:stretch;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#cccccc}verdocs-quick-filter .items{display:none;z-index:10000;position:absolute;border-radius:4px;background:#ffffff;-webkit-box-shadow:rgba(0, 0, 0, 0.1) 0 0 0 1px, rgba(0, 0, 0, 0.1) 0 4px 11px;box-shadow:rgba(0, 0, 0, 0.1) 0 0 0 1px, rgba(0, 0, 0, 0.1) 0 4px 11px}verdocs-quick-filter .items[data-show]{display:block}verdocs-quick-filter .option{width:100%;border:none;display:block;font-size:14px;text-align:left;background:none;padding:10px 20px;color:#1e2031}verdocs-quick-filter .option:hover{cursor:pointer;background:rgba(76, 86, 203, 0.2470588235)}verdocs-quick-filter .option[disabled]{color:#aaaaaa}verdocs-quick-filter .option[disabled]:hover{cursor:inherit;background:transparent;color:#aaaaaa}verdocs-quick-filter.open .items{display:block}verdocs-quick-filter.open .arrow svg{-webkit-transform:scaleY(-1);transform:scaleY(-1)}';var g=v;var x='<svg height="20" width="20" viewBox="0 0 20 20" aria-hidden="true" focusable="false" class="css-8mmkcg"><path d="M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"></path></svg>';var k=e("verdocs_quick_filter",function(){function e(e){i(this,e);this.optionSelected=r(this,"optionSelected",7);this.options=[];this.label="Filter";this.value="";this.placeholder="Select...";this.clickListenerSymbol=new AbortController}e.prototype.componentDidLoad=function(){this.popper=c(this.dropdownButton,this.dropdownMenu,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[-1,14]}}]});window.addEventListener("click",this.clickListener.bind(this),{signal:this.clickListenerSymbol.signal})};e.prototype.disconnectedCallback=function(){this.clickListenerSymbol.abort()};e.prototype.clickListener=function(e){var i=!(e.target==this.el||this.el.contains(e.target));if(i){this.hide()}};e.prototype.handleSelectOption=function(e,i){e.stopPropagation();this.optionSelected.emit(i);this.value=i.value;this.hide()};e.prototype.showDropdown=function(){var e,i;this.open=true;this.dropdownMenu.setAttribute("data-show","");this.dropdownMenu.removeAttribute("aria-hidden");(e=this.popper)===null||e===void 0?void 0:e.setOptions((function(e){return __assign(__assign({},e),{modifiers:__spreadArray(__spreadArray([],e.modifiers,true),[{name:"eventListeners",enabled:true}],false)})})).catch((function(){}));(i=this.popper)===null||i===void 0?void 0:i.update().catch((function(){}))};e.prototype.handleHideDropdown=function(e){var i,r;if(((i=e===null||e===void 0?void 0:e.target)===null||i===void 0?void 0:i.localName)==="button"&&((r=e===null||e===void 0?void 0:e.target)===null||r===void 0?void 0:r.className)==="arrow"){return}this.hide()};e.prototype.toggleDropdown=function(e){e.stopPropagation();if(this.open){this.hide()}else{this.showDropdown()}};e.prototype.hide=function(){var e;this.open=false;this.dropdownMenu.removeAttribute("data-show");this.dropdownMenu.setAttribute("aria-hidden","true");(e=this.popper)===null||e===void 0?void 0:e.setOptions((function(e){return __assign(__assign({},e),{modifiers:__spreadArray(__spreadArray([],e.modifiers,true),[{name:"eventListeners",enabled:false}],false)})})).catch((function(){}))};e.prototype.render=function(){var e=this;var i,r,o;var n=(i=this.options)===null||i===void 0?void 0:i.find((function(i){return i.value===e.value}));var c=(r=this.options)===null||r===void 0?void 0:r.reduce((function(e,i){return e.label.length>i.label.length?e:i}));var l=a((c===null||c===void 0?void 0:c.label)||"FILLER","14px Inter, Barlow, sans-serif");var d=a(this.label,"14px Inter, Barlow, sans-serif");var f="".concat(l+d+40,"px");return t(s,{key:"2775a9460418249e5830b3acc29bc501dfc0b7e9",class:{open:!!this.open},style:{minWidth:f,display:"inline-block"}},t("div",{key:"a0d32bee5bf3a83860d1ee34b70dd08e14ff6f5a",class:"control",onClick:function(i){return e.toggleDropdown(i)},onBlur:function(i){return e.handleHideDropdown(i)}},t("div",{key:"e28fc8c51bd4913814770bfa3eed9aec685fcdc7",class:"title",ref:function(i){return e.dropdownButton=i}},t("span",{key:"56f45a29290ed821c2260b07e34c76ad6f4b3008",class:"prefix"},this.label,":"),n?n.label:this.placeholder),t("div",{key:"dcc1f197621169c83f7c935bb06f60f992ac3a58",style:{flex:"1"}}),t("div",{key:"059cede12c8b2c1bca6b53f7e1f01b424dd70882",class:"separator"}),t("div",{key:"722b64600dca7b946044a60700b042d61774dabb",class:"arrow",innerHTML:x,"aria-label":"Open Menu"})),t("div",{key:"3988d0fd9076c4bc1bfb9d45d67f9354022a15cd",class:"items","aria-hidden":!this.open,ref:function(i){return e.dropdownMenu=i},style:{minWidth:f}},(o=this.options)===null||o===void 0?void 0:o.map((function(i){return i.label?t("button",{onClick:function(r){return e.handleSelectOption(r,i)},class:"option ".concat(i.value===e.value?"selected":""),disabled:i.disabled},i.label):t("div",{class:"separator"})}))))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());k.style=g}}}));
2
- //# sourceMappingURL=p-5a639d78.system.entry.js.map
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var i,r=1,t=arguments.length;r<t;r++){i=arguments[r];for(var s in i)if(Object.prototype.hasOwnProperty.call(i,s))e[s]=i[s]}return e};return __assign.apply(this,arguments)};var __spreadArray=this&&this.__spreadArray||function(e,i,r){if(r||arguments.length===2)for(var t=0,s=i.length,o;t<s;t++){if(o||!(t in i)){if(!o)o=Array.prototype.slice.call(i,0,t);o[t]=i[t]}}return e.concat(o||Array.prototype.slice.call(i))};System.register(["./p-60387e15.system.js","@verdocs/js-sdk","./p-f29eb00a.system.js","./p-e0ac9edf.system.js","./p-21b1acec.system.js","./p-d738b5db.system.js","./p-2c5350ec.system.js"],(function(e){"use strict";var i,r,t,s,o,n,a,c;return{setters:[function(e){i=e.r;r=e.c;t=e.h;s=e.H;o=e.g},function(e){n=e.integerSequence},function(e){a=e.i},function(e){c=e.c},function(){},function(){},function(){}],execute:function(){var l='@-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-pagination{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;font-family:"Inter", "Barlow", sans-serif}verdocs-pagination .page-button{height:38px;display:-ms-flexbox;display:flex;-ms-flex:0 0 38px;flex:0 0 38px;cursor:pointer;font-size:16px;font-weight:600;border-radius:4px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:#33364b;border:1px solid #654dcb}verdocs-pagination .page-button svg{width:18px;height:18px}verdocs-pagination .page-button.selected{cursor:default;color:#ffffff;background:#654dcb}verdocs-pagination .ellipsis{width:38px;height:38px;display:-ms-flexbox;display:flex;-ms-flex:0 0 38px;flex:0 0 38px;line-height:32px;-ms-flex-pack:center;justify-content:center;color:#33364b}';var d=l;var f='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M18.75 19.5l-7.5-7.5 7.5-7.5m-6 15L5.25 12l7.5-7.5" /></svg>';var u='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M11.25 4.5l7.5 7.5-7.5 7.5m-6-15l7.5 7.5-7.5 7.5" /></svg>';var b=5;var p=function(e){var i=e.page,r=e.selected,s=e.onClick;var o;if(i==="first"){o=f}else if(i==="last"){o=u}else{o=String(i+1)}return t("div",{class:"page-button ".concat(i===r?"selected":""),onClick:function(){return s(i)},innerHTML:o})};var h=e("verdocs_pagination",function(){function e(e){i(this,e);this.selectPage=r(this,"selectPage",7);this.selectedPage=0;this.itemCount=1;this.perPage=10}e.prototype.handleSelectPage=function(e){var i;this.selectedPage=e;(i=this.selectPage)===null||i===void 0?void 0:i.emit({selectedPage:e})};e.prototype.render=function(){var e=this;var i=Math.max(0,this.selectedPage-2);var r=this.itemCount>0?Math.ceil(this.itemCount/this.perPage):0;var o=n(0,Math.ceil(this.itemCount/this.perPage)).slice(i,i+b);return t(s,{key:"b914afe290065b1f65b3632a1e205a0138d4ca96"},this.selectedPage>0&&t(p,{key:"06d4c575361cffc6299409c66557208fef8180e9",page:"first",selected:this.selectedPage,onClick:function(){return e.handleSelectPage(0)}}),i>0&&t("div",{key:"14afa9724ff8159c20c372821fff58a98b721bc7",class:"ellipsis"},"..."),o.map((function(i){return t(p,{page:i,selected:e.selectedPage,onClick:function(i){return e.handleSelectPage(+i)}})})),this.selectedPage<r-1&&t("div",{key:"0b22a68cafaf3beda898442422a584cc9da811d9",class:"ellipsis"},"..."),this.selectedPage<r-1&&t(p,{key:"56bfdb75c0a6bb0aab32aa61860051517fcf360b",page:"last",selected:this.selectedPage,onClick:function(){return e.handleSelectPage(r-1)}}))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());h.style=d;var v='@-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-quick-filter{position:relative;font-family:"Inter", "Barlow", sans-serif}verdocs-quick-filter .control{outline:0;height:34px;display:-ms-flexbox;display:flex;cursor:pointer;border-radius:4px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-webkit-box-sizing:border-box;box-sizing:border-box;background:#ffffff;-webkit-transition:all 100ms ease 0s;transition:all 100ms ease 0s;border:1px solid #cccccc}verdocs-quick-filter .title{padding:0 8px;font-size:14px;max-width:100%;overflow:hidden;color:#33364b;white-space:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;text-overflow:ellipsis}verdocs-quick-filter .title .prefix{display:inline;font-weight:700;margin:0 7px 0 0;color:#4c56cb}verdocs-quick-filter .arrow{width:32px;height:32px;border:none;outline:none;cursor:pointer;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;background:#ffffff;-webkit-transition:color 150ms ease 0s;transition:color 150ms ease 0s}verdocs-quick-filter .arrow svg{-webkit-transition:0.3s;transition:0.3s;fill:#cccccc}verdocs-quick-filter .separator{width:1px;display:block;margin-top:8px;margin-bottom:8px;-ms-flex-item-align:stretch;align-self:stretch;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#cccccc}verdocs-quick-filter .items{display:none;z-index:10000;position:absolute;border-radius:4px;background:#ffffff;-webkit-box-shadow:rgba(0, 0, 0, 0.1) 0 0 0 1px, rgba(0, 0, 0, 0.1) 0 4px 11px;box-shadow:rgba(0, 0, 0, 0.1) 0 0 0 1px, rgba(0, 0, 0, 0.1) 0 4px 11px}verdocs-quick-filter .items[data-show]{display:block}verdocs-quick-filter .option{width:100%;border:none;display:block;font-size:14px;text-align:left;background:none;padding:10px 20px;color:#1e2031}verdocs-quick-filter .option:hover{cursor:pointer;background:rgba(76, 86, 203, 0.2470588235)}verdocs-quick-filter .option[disabled]{color:#aaaaaa}verdocs-quick-filter .option[disabled]:hover{cursor:inherit;background:transparent;color:#aaaaaa}verdocs-quick-filter.open .items{display:block}verdocs-quick-filter.open .arrow svg{-webkit-transform:scaleY(-1);transform:scaleY(-1)}';var g=v;var x='<svg height="20" width="20" viewBox="0 0 20 20" aria-hidden="true" focusable="false" class="css-8mmkcg"><path d="M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"></path></svg>';var k=e("verdocs_quick_filter",function(){function e(e){i(this,e);this.optionSelected=r(this,"optionSelected",7);this.options=[];this.label="Filter";this.value="";this.placeholder="Select...";this.clickListenerSymbol=new AbortController}e.prototype.componentDidLoad=function(){this.popper=c(this.dropdownButton,this.dropdownMenu,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[-1,14]}}]});window.addEventListener("click",this.clickListener.bind(this),{signal:this.clickListenerSymbol.signal})};e.prototype.disconnectedCallback=function(){this.clickListenerSymbol.abort()};e.prototype.clickListener=function(e){var i=!(e.target==this.el||this.el.contains(e.target));if(i){this.hide()}};e.prototype.handleSelectOption=function(e,i){e.stopPropagation();this.optionSelected.emit(i);this.value=i.value;this.hide()};e.prototype.showDropdown=function(){var e,i;this.open=true;this.dropdownMenu.setAttribute("data-show","");this.dropdownMenu.removeAttribute("aria-hidden");(e=this.popper)===null||e===void 0?void 0:e.setOptions((function(e){return __assign(__assign({},e),{modifiers:__spreadArray(__spreadArray([],e.modifiers,true),[{name:"eventListeners",enabled:true}],false)})})).catch((function(){}));(i=this.popper)===null||i===void 0?void 0:i.update().catch((function(){}))};e.prototype.handleHideDropdown=function(e){var i,r;if(((i=e===null||e===void 0?void 0:e.target)===null||i===void 0?void 0:i.localName)==="button"&&((r=e===null||e===void 0?void 0:e.target)===null||r===void 0?void 0:r.className)==="arrow"){return}this.hide()};e.prototype.toggleDropdown=function(e){e.stopPropagation();if(this.open){this.hide()}else{this.showDropdown()}};e.prototype.hide=function(){var e;this.open=false;this.dropdownMenu.removeAttribute("data-show");this.dropdownMenu.setAttribute("aria-hidden","true");(e=this.popper)===null||e===void 0?void 0:e.setOptions((function(e){return __assign(__assign({},e),{modifiers:__spreadArray(__spreadArray([],e.modifiers,true),[{name:"eventListeners",enabled:false}],false)})})).catch((function(){}))};e.prototype.render=function(){var e=this;var i,r,o;var n=(i=this.options)===null||i===void 0?void 0:i.find((function(i){return i.value===e.value}));var c=(r=this.options)===null||r===void 0?void 0:r.reduce((function(e,i){return e.label.length>i.label.length?e:i}));var l=a((c===null||c===void 0?void 0:c.label)||"FILLER","14px Inter, Barlow, sans-serif");var d=a(this.label,"14px Inter, Barlow, sans-serif");var f="".concat(l+d+40,"px");return t(s,{key:"2775a9460418249e5830b3acc29bc501dfc0b7e9",class:{open:!!this.open},style:{minWidth:f,display:"inline-block"}},t("div",{key:"a0d32bee5bf3a83860d1ee34b70dd08e14ff6f5a",class:"control",onClick:function(i){return e.toggleDropdown(i)},onBlur:function(i){return e.handleHideDropdown(i)}},t("div",{key:"e28fc8c51bd4913814770bfa3eed9aec685fcdc7",class:"title",ref:function(i){return e.dropdownButton=i}},t("span",{key:"56f45a29290ed821c2260b07e34c76ad6f4b3008",class:"prefix"},this.label,":"),n?n.label:this.placeholder),t("div",{key:"dcc1f197621169c83f7c935bb06f60f992ac3a58",style:{flex:"1"}}),t("div",{key:"059cede12c8b2c1bca6b53f7e1f01b424dd70882",class:"separator"}),t("div",{key:"722b64600dca7b946044a60700b042d61774dabb",class:"arrow",innerHTML:x,"aria-label":"Open Menu"})),t("div",{key:"3988d0fd9076c4bc1bfb9d45d67f9354022a15cd",class:"items","aria-hidden":!this.open,ref:function(i){return e.dropdownMenu=i},style:{minWidth:f}},(o=this.options)===null||o===void 0?void 0:o.map((function(i){return i.label?t("button",{onClick:function(r){return e.handleSelectOption(r,i)},class:"option ".concat(i.value===e.value?"selected":""),disabled:i.disabled},i.label):t("div",{class:"separator"})}))))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());k.style=g}}}));
2
+ //# sourceMappingURL=p-248ffe5c.system.entry.js.map