@hubsync/esign-web-sdk 6.9.5 → 6.9.6

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 (220) hide show
  1. package/dist/cjs/verdocs-adopt-signature-dialog_8.cjs.entry.js +1 -1
  2. package/dist/cjs/verdocs-button_3.cjs.entry.js +1 -1
  3. package/dist/cjs/verdocs-date-input.cjs.entry.js +1 -1
  4. package/dist/cjs/verdocs-download-dialog_4.cjs.entry.js +2 -2
  5. package/dist/cjs/verdocs-dropdown.cjs.entry.js +1 -1
  6. package/dist/cjs/verdocs-multiselect.cjs.entry.js +1 -1
  7. package/dist/cjs/verdocs-organization-card_2.cjs.entry.js +1 -1
  8. package/dist/cjs/verdocs-pagination_2.cjs.entry.js +1 -1
  9. package/dist/cjs/verdocs-signature-dialog.cjs.entry.js +1 -1
  10. package/dist/cjs/verdocs-tabs.cjs.entry.js +1 -1
  11. package/dist/cjs/verdocs-tabs.entry.cjs.js.map +1 -1
  12. package/dist/cjs/verdocs-template-card.cjs.entry.js +1 -1
  13. package/dist/cjs/verdocs-toggle.cjs.entry.js +1 -1
  14. package/dist/collection/components/controls/verdocs-date-input/verdocs-date-input.css +2 -2
  15. package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.css +1 -1
  16. package/dist/collection/components/controls/verdocs-multiselect/verdocs-multiselect.css +2 -2
  17. package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.css +1 -1
  18. package/dist/collection/components/controls/verdocs-pagination/verdocs-pagination.css +2 -2
  19. package/dist/collection/components/controls/verdocs-tabs/verdocs-tabs.css +1 -1
  20. package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.css +2 -2
  21. package/dist/collection/components/controls/verdocs-toggle/verdocs-toggle.css +2 -2
  22. package/dist/collection/components/dialogs/verdocs-delegate-dialog/verdocs-delegate-dialog.css +1 -1
  23. package/dist/collection/components/dialogs/verdocs-download-dialog/verdocs-download-dialog.css +1 -1
  24. package/dist/collection/components/dialogs/verdocs-question-dialog/verdocs-question-dialog.css +1 -1
  25. package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.css +1 -1
  26. package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.css +1 -1
  27. package/dist/components/{p-CD24uAWY.js → p-B655WZZx.js} +4 -4
  28. package/dist/components/{p-CD24uAWY.js.map → p-B655WZZx.js.map} +1 -1
  29. package/dist/components/{p-5374ZOPB.js → p-B9-7bLf1.js} +3 -3
  30. package/dist/components/{p-5374ZOPB.js.map → p-B9-7bLf1.js.map} +1 -1
  31. package/dist/components/{p-D1TqIILD.js → p-BAMSjBQv.js} +4 -4
  32. package/dist/components/{p-D1TqIILD.js.map → p-BAMSjBQv.js.map} +1 -1
  33. package/dist/components/{p-IJa78J36.js → p-BGOLa_zC.js} +4 -4
  34. package/dist/components/{p-IJa78J36.js.map → p-BGOLa_zC.js.map} +1 -1
  35. package/dist/components/{p-CXtKkJRG.js → p-CW35CqVu.js} +15 -15
  36. package/dist/components/{p-CXtKkJRG.js.map → p-CW35CqVu.js.map} +1 -1
  37. package/dist/components/{p-Y8b066ow.js → p-CZmZll8j.js} +3 -3
  38. package/dist/components/{p-Y8b066ow.js.map → p-CZmZll8j.js.map} +1 -1
  39. package/dist/components/{p--qy4LrSt.js → p-CcIN7yIE.js} +3 -3
  40. package/dist/components/{p--qy4LrSt.js.map → p-CcIN7yIE.js.map} +1 -1
  41. package/dist/components/{p-Dlm5bUxv.js → p-Cg2vZnQZ.js} +3 -3
  42. package/dist/components/{p-Dlm5bUxv.js.map → p-Cg2vZnQZ.js.map} +1 -1
  43. package/dist/components/{p-2sD6OXzl.js → p-CoX-UPik.js} +4 -4
  44. package/dist/components/{p-2sD6OXzl.js.map → p-CoX-UPik.js.map} +1 -1
  45. package/dist/components/{p-CErFd8ng.js → p-CvLZdSB1.js} +3 -3
  46. package/dist/components/{p-CErFd8ng.js.map → p-CvLZdSB1.js.map} +1 -1
  47. package/dist/components/{p-BCiVZnf0.js → p-CvxkuxX3.js} +3 -3
  48. package/dist/components/{p-BCiVZnf0.js.map → p-CvxkuxX3.js.map} +1 -1
  49. package/dist/components/{p-DmEzMnt3.js → p-D7H5IOY_.js} +3 -3
  50. package/dist/components/{p-DmEzMnt3.js.map → p-D7H5IOY_.js.map} +1 -1
  51. package/dist/components/{p-CzvUUEq1.js → p-D8dpI_YL.js} +3 -3
  52. package/dist/components/{p-CzvUUEq1.js.map → p-D8dpI_YL.js.map} +1 -1
  53. package/dist/components/{p-CPIwQCo_.js → p-D8mSsBn8.js} +4 -4
  54. package/dist/components/{p-CPIwQCo_.js.map → p-D8mSsBn8.js.map} +1 -1
  55. package/dist/components/{p-1oPQs4-S.js → p-DE8OCZyM.js} +3 -3
  56. package/dist/components/{p-1oPQs4-S.js.map → p-DE8OCZyM.js.map} +1 -1
  57. package/dist/components/{p-C02BWoNV.js → p-DH2bIBiL.js} +4 -4
  58. package/dist/components/{p-C02BWoNV.js.map → p-DH2bIBiL.js.map} +1 -1
  59. package/dist/components/{p-CzOyAhn6.js → p-DdMGzViT.js} +14 -14
  60. package/dist/components/{p-CzOyAhn6.js.map → p-DdMGzViT.js.map} +1 -1
  61. package/dist/components/{p-RN0C-eM1.js → p-Dg5_Z8EB.js} +3 -3
  62. package/dist/components/{p-RN0C-eM1.js.map → p-Dg5_Z8EB.js.map} +1 -1
  63. package/dist/components/{p-BWc1JSha.js → p-DnknHA5F.js} +3 -3
  64. package/dist/components/{p-BWc1JSha.js.map → p-DnknHA5F.js.map} +1 -1
  65. package/dist/components/{p-BihWiABu.js → p-Dolz_jo3.js} +4 -4
  66. package/dist/components/{p-BihWiABu.js.map → p-Dolz_jo3.js.map} +1 -1
  67. package/dist/components/{p-BVu-nE_L.js → p-DpVavzPM.js} +4 -4
  68. package/dist/components/{p-BVu-nE_L.js.map → p-DpVavzPM.js.map} +1 -1
  69. package/dist/components/{p-CNUChcIz.js → p-Droj2g4F.js} +15 -15
  70. package/dist/components/{p-CNUChcIz.js.map → p-Droj2g4F.js.map} +1 -1
  71. package/dist/components/{p-BUaaBFra.js → p-DukBB28M.js} +4 -4
  72. package/dist/components/{p-BUaaBFra.js.map → p-DukBB28M.js.map} +1 -1
  73. package/dist/components/{p-tvraq_IT.js → p-DxFWl2gi.js} +3 -3
  74. package/dist/components/{p-tvraq_IT.js.map → p-DxFWl2gi.js.map} +1 -1
  75. package/dist/components/{p-CYpup873.js → p-FQV-PIF2.js} +5 -5
  76. package/dist/components/{p-CYpup873.js.map → p-FQV-PIF2.js.map} +1 -1
  77. package/dist/components/{p-7dtIf4QF.js → p-I2UaGmFI.js} +4 -4
  78. package/dist/components/{p-7dtIf4QF.js.map → p-I2UaGmFI.js.map} +1 -1
  79. package/dist/components/{p-Cli5nWln.js → p-hSMRF_eR.js} +4 -4
  80. package/dist/components/{p-Cli5nWln.js.map → p-hSMRF_eR.js.map} +1 -1
  81. package/dist/components/{p-PGFRj24l.js → p-l9RpNccF.js} +3 -3
  82. package/dist/components/{p-PGFRj24l.js.map → p-l9RpNccF.js.map} +1 -1
  83. package/dist/components/{p-6scipSAA.js → p-wu7PgH6H.js} +3 -3
  84. package/dist/components/{p-6scipSAA.js.map → p-wu7PgH6H.js.map} +1 -1
  85. package/dist/components/verdocs-adopt-signature-dialog.js +1 -1
  86. package/dist/components/verdocs-auth.js +1 -1
  87. package/dist/components/verdocs-build.js +17 -17
  88. package/dist/components/verdocs-date-input.js +1 -1
  89. package/dist/components/verdocs-delegate-dialog.js +1 -1
  90. package/dist/components/verdocs-download-dialog.js +1 -1
  91. package/dist/components/verdocs-dropdown.js +1 -1
  92. package/dist/components/verdocs-envelope-sidebar.js +3 -3
  93. package/dist/components/verdocs-envelope-update-recipient.js +1 -1
  94. package/dist/components/verdocs-envelopes-list.js +3 -3
  95. package/dist/components/verdocs-field-attachment.js +1 -1
  96. package/dist/components/verdocs-field-checkbox.js +1 -1
  97. package/dist/components/verdocs-field-date.js +1 -1
  98. package/dist/components/verdocs-field-dropdown.js +1 -1
  99. package/dist/components/verdocs-field-initial.js +1 -1
  100. package/dist/components/verdocs-field-payment.js +2 -2
  101. package/dist/components/verdocs-field-radio.js +1 -1
  102. package/dist/components/verdocs-field-signature.js +1 -1
  103. package/dist/components/verdocs-field-textarea.js +1 -1
  104. package/dist/components/verdocs-field-textbox.js +1 -1
  105. package/dist/components/verdocs-field-timestamp.js +1 -1
  106. package/dist/components/verdocs-initial-dialog.js +1 -1
  107. package/dist/components/verdocs-kba-dialog.js +1 -1
  108. package/dist/components/verdocs-multiselect.js +1 -1
  109. package/dist/components/verdocs-organization-card.js +1 -1
  110. package/dist/components/verdocs-otp-dialog.js +1 -1
  111. package/dist/components/verdocs-pagination.js +1 -1
  112. package/dist/components/verdocs-passcode-dialog.js +1 -1
  113. package/dist/components/verdocs-preview.js +1 -1
  114. package/dist/components/verdocs-question-dialog.js +1 -1
  115. package/dist/components/verdocs-sign-footer.js +1 -1
  116. package/dist/components/verdocs-sign.js +11 -11
  117. package/dist/components/verdocs-signature-dialog.js +2 -2
  118. package/dist/components/verdocs-tabs.js +1 -1
  119. package/dist/components/verdocs-tabs.js.map +1 -1
  120. package/dist/components/verdocs-template-card.js +1 -1
  121. package/dist/components/verdocs-template-document-page.js +1 -1
  122. package/dist/components/verdocs-template-field-properties.js +1 -1
  123. package/dist/components/verdocs-template-fields.js +1 -1
  124. package/dist/components/verdocs-template-role-properties.js +1 -1
  125. package/dist/components/verdocs-template-roles.js +1 -1
  126. package/dist/components/verdocs-template-settings.js +1 -1
  127. package/dist/components/verdocs-templates-list.js +3 -3
  128. package/dist/components/verdocs-text-input.js +1 -1
  129. package/dist/components/verdocs-toggle.js +1 -1
  130. package/dist/components/verdocs-view.js +1 -1
  131. package/dist/esm/verdocs-adopt-signature-dialog_8.entry.js +1 -1
  132. package/dist/esm/verdocs-button_3.entry.js +1 -1
  133. package/dist/esm/verdocs-date-input.entry.js +1 -1
  134. package/dist/esm/verdocs-download-dialog_4.entry.js +2 -2
  135. package/dist/esm/verdocs-dropdown.entry.js +1 -1
  136. package/dist/esm/verdocs-multiselect.entry.js +1 -1
  137. package/dist/esm/verdocs-organization-card_2.entry.js +1 -1
  138. package/dist/esm/verdocs-pagination_2.entry.js +1 -1
  139. package/dist/esm/verdocs-signature-dialog.entry.js +1 -1
  140. package/dist/esm/verdocs-tabs.entry.js +1 -1
  141. package/dist/esm/verdocs-tabs.entry.js.map +1 -1
  142. package/dist/esm/verdocs-template-card.entry.js +1 -1
  143. package/dist/esm/verdocs-toggle.entry.js +1 -1
  144. package/dist/esm-es5/verdocs-adopt-signature-dialog_8.entry.js +1 -1
  145. package/dist/esm-es5/verdocs-button_3.entry.js +1 -1
  146. package/dist/esm-es5/verdocs-date-input.entry.js +1 -1
  147. package/dist/esm-es5/verdocs-download-dialog_4.entry.js +1 -1
  148. package/dist/esm-es5/verdocs-dropdown.entry.js +1 -1
  149. package/dist/esm-es5/verdocs-multiselect.entry.js +1 -1
  150. package/dist/esm-es5/verdocs-organization-card_2.entry.js +1 -1
  151. package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
  152. package/dist/esm-es5/verdocs-signature-dialog.entry.js +1 -1
  153. package/dist/esm-es5/verdocs-tabs.entry.js +1 -1
  154. package/dist/esm-es5/verdocs-tabs.entry.js.map +1 -1
  155. package/dist/esm-es5/verdocs-template-card.entry.js +1 -1
  156. package/dist/esm-es5/verdocs-toggle.entry.js +1 -1
  157. package/dist/verdocs-web-sdk/{p-fd923850.entry.js → p-042e510b.entry.js} +2 -2
  158. package/dist/verdocs-web-sdk/{p-a7c30b1f.system.entry.js → p-06418aa4.system.entry.js} +2 -2
  159. package/dist/verdocs-web-sdk/{p-178ccb4a.entry.js → p-0a05d55b.entry.js} +2 -2
  160. package/dist/verdocs-web-sdk/{p-c67291e0.entry.js → p-0ef67e84.entry.js} +2 -2
  161. package/dist/verdocs-web-sdk/{p-3295f0be.system.entry.js → p-185d0d83.system.entry.js} +2 -2
  162. package/dist/verdocs-web-sdk/{p-83de45ef.entry.js → p-393f3ba5.entry.js} +2 -2
  163. package/dist/verdocs-web-sdk/{p-ea856630.entry.js → p-3c056583.entry.js} +2 -2
  164. package/dist/verdocs-web-sdk/{p-49731815.system.entry.js → p-3d56819c.system.entry.js} +2 -2
  165. package/dist/verdocs-web-sdk/{p-69e35ea8.system.entry.js → p-47afca04.system.entry.js} +2 -2
  166. package/dist/verdocs-web-sdk/{p-CCv1s4sj.system.js.map → p-4nwyoVqs.system.js.map} +1 -1
  167. package/dist/verdocs-web-sdk/{p-385f358e.system.entry.js → p-5246eae9.system.entry.js} +2 -2
  168. package/dist/verdocs-web-sdk/{p-b679a2bf.entry.js → p-58e8b659.entry.js} +2 -2
  169. package/dist/verdocs-web-sdk/{p-a17208b8.entry.js → p-61653f26.entry.js} +2 -2
  170. package/dist/verdocs-web-sdk/{p-db8022ec.system.entry.js → p-6603e081.system.entry.js} +2 -2
  171. package/dist/verdocs-web-sdk/{p-609d7eea.entry.js → p-6a489478.entry.js} +2 -2
  172. package/dist/verdocs-web-sdk/{p-6dd3761c.system.entry.js → p-6df98ac4.system.entry.js} +2 -2
  173. package/dist/verdocs-web-sdk/{p-c08ce3c6.entry.js → p-863d6ee2.entry.js} +2 -2
  174. package/dist/verdocs-web-sdk/{p-dde291ad.system.entry.js → p-8b1a7fa9.system.entry.js} +2 -2
  175. package/dist/verdocs-web-sdk/{p-dec135a0.system.entry.js → p-90278f70.system.entry.js} +2 -2
  176. package/dist/verdocs-web-sdk/p-B8zpaHu-.system.js +1 -1
  177. package/dist/verdocs-web-sdk/{p-2hgsbd4f.system.js.map → p-BFLgPsT0.system.js.map} +1 -1
  178. package/dist/verdocs-web-sdk/{p-CLuBOka9.system.js.map → p-BQldQblv.system.js.map} +1 -1
  179. package/dist/verdocs-web-sdk/{p-H6g35dUh.system.js.map → p-BfKXoZO4.system.js.map} +1 -1
  180. package/dist/verdocs-web-sdk/{p-Bv9MatfP.system.js.map → p-C7n9aj58.system.js.map} +1 -1
  181. package/dist/verdocs-web-sdk/{p-CY7jihMi.system.js.map → p-CXpd32cV.system.js.map} +1 -1
  182. package/dist/verdocs-web-sdk/{p-BeE5Q83E.system.js.map → p-CZyag-FJ.system.js.map} +1 -1
  183. package/dist/verdocs-web-sdk/{p-DB8RlxBv.system.js.map → p-CbwELqke.system.js.map} +1 -1
  184. package/dist/verdocs-web-sdk/{p-WuQj-RUN.system.js.map → p-Cka1JuAr.system.js.map} +1 -1
  185. package/dist/verdocs-web-sdk/{p-COoeV-vc.system.js.map → p-Cq9KnBua.system.js.map} +1 -1
  186. package/dist/verdocs-web-sdk/{p-q1vuOWen.system.js.map → p-MoANGFzv.system.js.map} +1 -1
  187. package/dist/verdocs-web-sdk/{p-dfe92a5e.entry.js → p-a63632b6.entry.js} +2 -2
  188. package/dist/verdocs-web-sdk/{p-32de42ae.system.entry.js → p-b64ef4d1.system.entry.js} +2 -2
  189. package/dist/verdocs-web-sdk/{p-7c428e43.system.entry.js → p-babf7fed.system.entry.js} +2 -2
  190. package/dist/verdocs-web-sdk/{p-cce576df.system.entry.js → p-cf879144.system.entry.js} +2 -2
  191. package/dist/verdocs-web-sdk/{p-048d4433.entry.js → p-f6135d2b.entry.js} +2 -2
  192. package/dist/verdocs-web-sdk/{p-7781021f.entry.js → p-f8aaf5bd.entry.js} +2 -2
  193. package/dist/verdocs-web-sdk/{p-DmRpCqAw.system.js.map → p-m63CCpXo.system.js.map} +1 -1
  194. package/dist/verdocs-web-sdk/verdocs-tabs.entry.esm.js.map +1 -1
  195. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  196. package/package.json +1 -1
  197. /package/dist/verdocs-web-sdk/{p-fd923850.entry.js.map → p-042e510b.entry.js.map} +0 -0
  198. /package/dist/verdocs-web-sdk/{p-a7c30b1f.system.entry.js.map → p-06418aa4.system.entry.js.map} +0 -0
  199. /package/dist/verdocs-web-sdk/{p-178ccb4a.entry.js.map → p-0a05d55b.entry.js.map} +0 -0
  200. /package/dist/verdocs-web-sdk/{p-c67291e0.entry.js.map → p-0ef67e84.entry.js.map} +0 -0
  201. /package/dist/verdocs-web-sdk/{p-3295f0be.system.entry.js.map → p-185d0d83.system.entry.js.map} +0 -0
  202. /package/dist/verdocs-web-sdk/{p-83de45ef.entry.js.map → p-393f3ba5.entry.js.map} +0 -0
  203. /package/dist/verdocs-web-sdk/{p-ea856630.entry.js.map → p-3c056583.entry.js.map} +0 -0
  204. /package/dist/verdocs-web-sdk/{p-49731815.system.entry.js.map → p-3d56819c.system.entry.js.map} +0 -0
  205. /package/dist/verdocs-web-sdk/{p-69e35ea8.system.entry.js.map → p-47afca04.system.entry.js.map} +0 -0
  206. /package/dist/verdocs-web-sdk/{p-385f358e.system.entry.js.map → p-5246eae9.system.entry.js.map} +0 -0
  207. /package/dist/verdocs-web-sdk/{p-b679a2bf.entry.js.map → p-58e8b659.entry.js.map} +0 -0
  208. /package/dist/verdocs-web-sdk/{p-a17208b8.entry.js.map → p-61653f26.entry.js.map} +0 -0
  209. /package/dist/verdocs-web-sdk/{p-db8022ec.system.entry.js.map → p-6603e081.system.entry.js.map} +0 -0
  210. /package/dist/verdocs-web-sdk/{p-609d7eea.entry.js.map → p-6a489478.entry.js.map} +0 -0
  211. /package/dist/verdocs-web-sdk/{p-6dd3761c.system.entry.js.map → p-6df98ac4.system.entry.js.map} +0 -0
  212. /package/dist/verdocs-web-sdk/{p-c08ce3c6.entry.js.map → p-863d6ee2.entry.js.map} +0 -0
  213. /package/dist/verdocs-web-sdk/{p-dde291ad.system.entry.js.map → p-8b1a7fa9.system.entry.js.map} +0 -0
  214. /package/dist/verdocs-web-sdk/{p-dec135a0.system.entry.js.map → p-90278f70.system.entry.js.map} +0 -0
  215. /package/dist/verdocs-web-sdk/{p-dfe92a5e.entry.js.map → p-a63632b6.entry.js.map} +0 -0
  216. /package/dist/verdocs-web-sdk/{p-32de42ae.system.entry.js.map → p-b64ef4d1.system.entry.js.map} +0 -0
  217. /package/dist/verdocs-web-sdk/{p-7c428e43.system.entry.js.map → p-babf7fed.system.entry.js.map} +0 -0
  218. /package/dist/verdocs-web-sdk/{p-cce576df.system.entry.js.map → p-cf879144.system.entry.js.map} +0 -0
  219. /package/dist/verdocs-web-sdk/{p-048d4433.entry.js.map → p-f6135d2b.entry.js.map} +0 -0
  220. /package/dist/verdocs-web-sdk/{p-7781021f.entry.js.map → p-f8aaf5bd.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as registerInstance,h,H as Host}from"./index-BIRwgFLv.js";var verdocsTemplateCardCss='verdocs-template-card{font-family:"Inter", "Barlow", sans-serif;width:320px;height:320px;display:-ms-flexbox;display:flex;padding:25px;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-direction:column;flex-direction:column;background-color:#ffffff;-webkit-box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05);box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05)}verdocs-template-card .thumbnail{width:272px;height:158px;-o-object-fit:cover;object-fit:cover;margin-bottom:22px;-o-object-position:-20% 0;object-position:-20% 0}verdocs-template-card .name{font-size:18px;font-weight:700;margin-bottom:7px}verdocs-template-card .org-name{font-size:14px;font-weight:700;margin-bottom:6px}verdocs-template-card hr{width:100%;margin-bottom:17px;background-color:#aeb4bf}verdocs-template-card .controls{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;text-align:center;font-size:16px}verdocs-template-card .controls .control{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;margin-right:8px;-ms-flex-align:start;align-items:flex-start;border-right:1px solid #aeb4bf}verdocs-template-card .controls .control.secondary{-ms-flex-pack:center;justify-content:center}verdocs-template-card .controls .control svg{fill:#aeb4bf;height:16px;max-width:16px;margin:0 8px -2px 0}verdocs-template-card .additional-controls svg{margin-right:0;fill:#654dcb}';var ActionsIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg>';var EmailIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"/></svg>';var PagesIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4H8c-1.1 0-1.99.9-1.99 2L6 21c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V11l-6-6zM8 21V7h6v5h5v9H8z"/></svg>';var StarIcon='<svg width="31" height="29" viewBox="0 0 31 29" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_31553_1553)"><path d="M30.886 11.4917C30.8916 11.0917 30.753 10.7034 30.4962 10.3993C30.2394 10.0953 29.882 9.8964 29.4908 9.83995L29.5182 9.65005L29.4908 9.83995L21.0938 8.60261L17.3412 0.912551C17.2067 0.638179 16.9992 0.407285 16.7421 0.245866C16.485 0.0844465 16.1885 -0.00111389 15.886 -0.00111389C15.5835 -0.00111389 15.287 0.0844465 15.0299 0.245866C14.7728 0.407285 14.5653 0.638179 14.4308 0.912551L10.6781 8.60261L2.28121 9.8392C1.89206 9.89475 1.53611 10.0916 1.2796 10.3931C1.02308 10.6945 0.88348 11.08 0.886776 11.4779C0.886447 11.6961 0.929977 11.912 1.01472 12.1125C1.09946 12.3131 1.22363 12.4941 1.37968 12.6445L7.45563 18.5744L6.01943 27.0241C6.00289 27.1258 5.99449 27.2287 5.99435 27.3317C5.99313 27.7717 6.16395 28.1943 6.4695 28.5071C6.77505 28.82 7.19045 28.9976 7.62496 29.0013C7.88846 29.0008 8.14779 28.9345 8.37992 28.8083L15.8883 24.8217L23.3967 28.8114C23.6287 28.9361 23.8873 29.0015 24.15 29.002C24.5752 28.9998 24.9832 28.8318 25.2893 28.5329C25.4452 28.3832 25.5695 28.2029 25.6544 28.003C25.7392 27.8031 25.783 27.5878 25.783 27.3702C25.7827 27.2731 25.7743 27.176 25.7579 27.0803L24.3209 18.6296L30.3931 12.7022C30.7094 12.3809 30.8867 11.9454 30.886 11.4917ZM22.0759 17.53L21.9437 17.3916L22.0759 17.53C22.0072 17.5977 21.9525 17.6787 21.9152 17.7681C21.8779 17.8575 21.8587 17.9536 21.8587 18.0506L21.8693 18.1737L23.2037 26.0237L16.2164 22.3148C16.1136 22.2602 15.9994 22.2317 15.8833 22.2317C15.7673 22.2317 15.653 22.2602 15.5503 22.3148L8.57132 26.0245L9.90651 18.1745L9.91712 18.0506C9.91696 17.9536 9.89768 17.8576 9.86038 17.7682C9.82308 17.6788 9.76851 17.5978 9.6999 17.53L4.05538 11.9724L11.8576 10.8258C11.9725 10.8088 12.0816 10.7638 12.1755 10.6947C12.2695 10.6256 12.3454 10.5344 12.3969 10.429L15.886 3.27721L19.3797 10.429C19.4313 10.5344 19.5074 10.6256 19.6014 10.6948C19.6955 10.7639 19.8047 10.8088 19.9197 10.8258L27.7197 11.9747L22.0759 17.53Z" fill="#ADB6BD"/></g><defs><clipPath id="clip0_31553_1553"><rect width="30" height="29" fill="white" transform="translate(0.886719)"/></clipPath></defs></svg>';var VerdocsTemplateCard=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){var e,a,t,o;return h(Host,{key:"7884bd4dfaf70cc312256386c0f8a90651401df8"},h("span",{key:"4c3183500b6efcbb73a5917c56623c62503555b5",class:"name"},this.template.name),h("span",{key:"ca3bd706769d72fbb25a5e8ae19ed25ef7592521",class:"org-name"},((e=this.template.organization)===null||e===void 0?void 0:e.name)||"Public"),h("hr",{key:"33a2eeba3fceaf813d7f04c9a6fd357d9c41f177"}),h("div",{key:"c2814d0d907084ea15dad6b6c25fa0ef85e35561",class:"controls"},h("div",{key:"118f420140acf1fcea907e9c01685d0831675aa5",class:"control"},h("span",{key:"db28ba367924647678ebf34e832bbffbb28fc8e8",class:"icon",innerHTML:StarIcon}),h("span",{key:"3ef06b3d596c44e91cb40cf62ed7d84ffb1f957e",class:"value"},this.template.star_counter)),h("div",{key:"90d9f95e9006ad113e81e7126bb0f34328086627",class:"control secondary"},h("span",{key:"7ef5e850922cf0d1344e0a9409e21ca6c5099af1",class:"icon",innerHTML:PagesIcon}),h("span",{key:"e3da96d537734cbaac9c44a558f1c7f3d2f844de",class:"value"},((o=(t=(a=this.template)===null||a===void 0?void 0:a.documents)===null||t===void 0?void 0:t[0])===null||o===void 0?void 0:o.pages)||1)),h("div",{key:"0f0f7943033830845e2af8ae52198b6a564ff8ee",class:"control secondary"},h("span",{key:"7f7227c12666555fdc1c99584a99e0e980779954",class:"icon",innerHTML:EmailIcon}),h("span",{key:"c5fd8dfdf7dd4a5c52709c9d7d53788414f24be1",class:"value"},this.template.counter)),h("span",{key:"d96d0dfcb9730d5eab719a3d6b0e1b538719de6d",class:"additional-controls",innerHTML:ActionsIcon})))};return e}();VerdocsTemplateCard.style=verdocsTemplateCardCss;export{VerdocsTemplateCard as verdocs_template_card};
1
+ import{r as registerInstance,h,H as Host}from"./index-BIRwgFLv.js";var verdocsTemplateCardCss='verdocs-template-card{font-family:"Inter", "Barlow", sans-serif;width:320px;height:320px;display:-ms-flexbox;display:flex;padding:25px;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-direction:column;flex-direction:column;background-color:#ffffff;-webkit-box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05);box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05)}verdocs-template-card .thumbnail{width:272px;height:158px;-o-object-fit:cover;object-fit:cover;margin-bottom:22px;-o-object-position:-20% 0;object-position:-20% 0}verdocs-template-card .name{font-size:18px;font-weight:700;margin-bottom:7px}verdocs-template-card .org-name{font-size:14px;font-weight:700;margin-bottom:6px}verdocs-template-card hr{width:100%;margin-bottom:17px;background-color:#aeb4bf}verdocs-template-card .controls{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;text-align:center;font-size:16px}verdocs-template-card .controls .control{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;margin-right:8px;-ms-flex-align:start;align-items:flex-start;border-right:1px solid #aeb4bf}verdocs-template-card .controls .control.secondary{-ms-flex-pack:center;justify-content:center}verdocs-template-card .controls .control svg{fill:#aeb4bf;height:16px;max-width:16px;margin:0 8px -2px 0}verdocs-template-card .additional-controls svg{margin-right:0;fill:#003380}';var ActionsIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg>';var EmailIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"/></svg>';var PagesIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4H8c-1.1 0-1.99.9-1.99 2L6 21c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V11l-6-6zM8 21V7h6v5h5v9H8z"/></svg>';var StarIcon='<svg width="31" height="29" viewBox="0 0 31 29" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_31553_1553)"><path d="M30.886 11.4917C30.8916 11.0917 30.753 10.7034 30.4962 10.3993C30.2394 10.0953 29.882 9.8964 29.4908 9.83995L29.5182 9.65005L29.4908 9.83995L21.0938 8.60261L17.3412 0.912551C17.2067 0.638179 16.9992 0.407285 16.7421 0.245866C16.485 0.0844465 16.1885 -0.00111389 15.886 -0.00111389C15.5835 -0.00111389 15.287 0.0844465 15.0299 0.245866C14.7728 0.407285 14.5653 0.638179 14.4308 0.912551L10.6781 8.60261L2.28121 9.8392C1.89206 9.89475 1.53611 10.0916 1.2796 10.3931C1.02308 10.6945 0.88348 11.08 0.886776 11.4779C0.886447 11.6961 0.929977 11.912 1.01472 12.1125C1.09946 12.3131 1.22363 12.4941 1.37968 12.6445L7.45563 18.5744L6.01943 27.0241C6.00289 27.1258 5.99449 27.2287 5.99435 27.3317C5.99313 27.7717 6.16395 28.1943 6.4695 28.5071C6.77505 28.82 7.19045 28.9976 7.62496 29.0013C7.88846 29.0008 8.14779 28.9345 8.37992 28.8083L15.8883 24.8217L23.3967 28.8114C23.6287 28.9361 23.8873 29.0015 24.15 29.002C24.5752 28.9998 24.9832 28.8318 25.2893 28.5329C25.4452 28.3832 25.5695 28.2029 25.6544 28.003C25.7392 27.8031 25.783 27.5878 25.783 27.3702C25.7827 27.2731 25.7743 27.176 25.7579 27.0803L24.3209 18.6296L30.3931 12.7022C30.7094 12.3809 30.8867 11.9454 30.886 11.4917ZM22.0759 17.53L21.9437 17.3916L22.0759 17.53C22.0072 17.5977 21.9525 17.6787 21.9152 17.7681C21.8779 17.8575 21.8587 17.9536 21.8587 18.0506L21.8693 18.1737L23.2037 26.0237L16.2164 22.3148C16.1136 22.2602 15.9994 22.2317 15.8833 22.2317C15.7673 22.2317 15.653 22.2602 15.5503 22.3148L8.57132 26.0245L9.90651 18.1745L9.91712 18.0506C9.91696 17.9536 9.89768 17.8576 9.86038 17.7682C9.82308 17.6788 9.76851 17.5978 9.6999 17.53L4.05538 11.9724L11.8576 10.8258C11.9725 10.8088 12.0816 10.7638 12.1755 10.6947C12.2695 10.6256 12.3454 10.5344 12.3969 10.429L15.886 3.27721L19.3797 10.429C19.4313 10.5344 19.5074 10.6256 19.6014 10.6948C19.6955 10.7639 19.8047 10.8088 19.9197 10.8258L27.7197 11.9747L22.0759 17.53Z" fill="#ADB6BD"/></g><defs><clipPath id="clip0_31553_1553"><rect width="30" height="29" fill="white" transform="translate(0.886719)"/></clipPath></defs></svg>';var VerdocsTemplateCard=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){var e,a,t,o;return h(Host,{key:"7884bd4dfaf70cc312256386c0f8a90651401df8"},h("span",{key:"4c3183500b6efcbb73a5917c56623c62503555b5",class:"name"},this.template.name),h("span",{key:"ca3bd706769d72fbb25a5e8ae19ed25ef7592521",class:"org-name"},((e=this.template.organization)===null||e===void 0?void 0:e.name)||"Public"),h("hr",{key:"33a2eeba3fceaf813d7f04c9a6fd357d9c41f177"}),h("div",{key:"c2814d0d907084ea15dad6b6c25fa0ef85e35561",class:"controls"},h("div",{key:"118f420140acf1fcea907e9c01685d0831675aa5",class:"control"},h("span",{key:"db28ba367924647678ebf34e832bbffbb28fc8e8",class:"icon",innerHTML:StarIcon}),h("span",{key:"3ef06b3d596c44e91cb40cf62ed7d84ffb1f957e",class:"value"},this.template.star_counter)),h("div",{key:"90d9f95e9006ad113e81e7126bb0f34328086627",class:"control secondary"},h("span",{key:"7ef5e850922cf0d1344e0a9409e21ca6c5099af1",class:"icon",innerHTML:PagesIcon}),h("span",{key:"e3da96d537734cbaac9c44a558f1c7f3d2f844de",class:"value"},((o=(t=(a=this.template)===null||a===void 0?void 0:a.documents)===null||t===void 0?void 0:t[0])===null||o===void 0?void 0:o.pages)||1)),h("div",{key:"0f0f7943033830845e2af8ae52198b6a564ff8ee",class:"control secondary"},h("span",{key:"7f7227c12666555fdc1c99584a99e0e980779954",class:"icon",innerHTML:EmailIcon}),h("span",{key:"c5fd8dfdf7dd4a5c52709c9d7d53788414f24be1",class:"value"},this.template.counter)),h("span",{key:"d96d0dfcb9730d5eab719a3d6b0e1b538719de6d",class:"additional-controls",innerHTML:ActionsIcon})))};return e}();VerdocsTemplateCard.style=verdocsTemplateCardCss;export{VerdocsTemplateCard as verdocs_template_card};
2
2
  //# sourceMappingURL=verdocs-template-card.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as registerInstance,h}from"./index-BIRwgFLv.js";var verdocsToggleCss='verdocs-toggle{font-family:"Inter", "Barlow", sans-serif}verdocs-toggle .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#f5f5fa}verdocs-toggle .label{font-size:24px;font-weight:700;color:#33354c;-ms-flex-item-align:center;align-self:center;margin-right:27px;font-family:sans-serif}verdocs-toggle .buttons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}verdocs-toggle .buttons button{width:60px;height:60px;border:2px solid #654dcb;border-radius:5px;cursor:pointer}verdocs-toggle .buttons button:not(:last-child){margin-right:11px}verdocs-toggle .buttons svg{width:30px;height:30px}verdocs-toggle .buttons button:hover{background-color:#654dcb;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .buttons button:hover svg{fill:#f5f5fa;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected{background-color:#707ae5;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected svg{fill:#ffffff;-webkit-transition:0.25s;transition:0.25s}';var VerdocsToggle=function(){function e(e){registerInstance(this,e);this.selectedOption=0}e.prototype.componentWillLoad=function(){var e;console.log("verdocs-toggle componentWillLoad",this.options);this.selectedOption=((e=this.options)===null||e===void 0?void 0:e.defaultSelection)||0};e.prototype.render=function(){var e=this;return h("div",{key:"7485d894feb67041d4e21b393733508d07ef11fd",class:"container"},h("span",{key:"89511ad3f7b70c46c3981fef93816396e41eb717",class:"label"},"".concat(this.options.label,":")),h("div",{key:"090efe730dfc6dd43f521bc95da73b9554afef1d",class:"buttons"},this.options.buttons.map((function(o,t){return h("button",{id:o.id,key:o.id,innerHTML:o.icon,class:t===e.selectedOption?"selected":"",onClick:function(){console.log("clicked",t);e.selectedOption=t}})}))))};return e}();VerdocsToggle.style=verdocsToggleCss;export{VerdocsToggle as verdocs_toggle};
1
+ import{r as registerInstance,h}from"./index-BIRwgFLv.js";var verdocsToggleCss='verdocs-toggle{font-family:"Inter", "Barlow", sans-serif}verdocs-toggle .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#f5f5fa}verdocs-toggle .label{font-size:24px;font-weight:700;color:#33354c;-ms-flex-item-align:center;align-self:center;margin-right:27px;font-family:sans-serif}verdocs-toggle .buttons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}verdocs-toggle .buttons button{width:60px;height:60px;border:2px solid #003380;border-radius:5px;cursor:pointer}verdocs-toggle .buttons button:not(:last-child){margin-right:11px}verdocs-toggle .buttons svg{width:30px;height:30px}verdocs-toggle .buttons button:hover{background-color:#003380;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .buttons button:hover svg{fill:#f5f5fa;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected{background-color:#707ae5;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected svg{fill:#ffffff;-webkit-transition:0.25s;transition:0.25s}';var VerdocsToggle=function(){function e(e){registerInstance(this,e);this.selectedOption=0}e.prototype.componentWillLoad=function(){var e;console.log("verdocs-toggle componentWillLoad",this.options);this.selectedOption=((e=this.options)===null||e===void 0?void 0:e.defaultSelection)||0};e.prototype.render=function(){var e=this;return h("div",{key:"7485d894feb67041d4e21b393733508d07ef11fd",class:"container"},h("span",{key:"89511ad3f7b70c46c3981fef93816396e41eb717",class:"label"},"".concat(this.options.label,":")),h("div",{key:"090efe730dfc6dd43f521bc95da73b9554afef1d",class:"buttons"},this.options.buttons.map((function(o,t){return h("button",{id:o.id,key:o.id,innerHTML:o.icon,class:t===e.selectedOption?"selected":"",onClick:function(){console.log("clicked",t);e.selectedOption=t}})}))))};return e}();VerdocsToggle.style=verdocsToggleCss;export{VerdocsToggle as verdocs_toggle};
2
2
  //# sourceMappingURL=verdocs-toggle.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,c as s,h as t,H as a}from"./p-BIRwgFLv.js";const o='verdocs-tabs{gap:10px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-direction:row;flex-direction:row;font-family:"Inter", "Barlow", sans-serif}verdocs-tabs .tab{display:-ms-flexbox;display:flex;color:#111111;cursor:pointer;font-size:14px;font-weight:400;padding:5px 10px;-ms-flex-align:center;align-items:center;text-transform:none;-ms-flex-pack:center;justify-content:center;border-bottom:4px solid transparent}verdocs-tabs .tab:focus{border:none;outline:none}verdocs-tabs .tab.active{color:#000000;font-weight:500;border-bottom:4px solid #654dcb}verdocs-tabs .tab.disabled{color:#aaaaaa;cursor:default}';const r=class{constructor(t){e(this,t);this.selectTab=s(this,"selectTab");this.tabs=[];this.selectedTab=0}handleSelectTab(e){var s;(s=this.selectTab)===null||s===void 0?void 0:s.emit({tab:this.tabs[e],index:e})}render(){return t(a,{key:"b78818a23892499517726f89f5cce6af6b7f42e1"},this.tabs.map(((e,s)=>t("div",{class:`tab ${s===this.selectedTab?"active":""} ${e.disabled?"disabled":""}`,onClick:e.disabled?()=>{}:()=>this.handleSelectTab(s)},e.label))),t("div",{key:"2105eefb878bc7237bd9c46d8533085d580b94f8",class:"flex flex-1"}),t("slot",{key:"c477b2f6880442e15bc3bc95f67dec12f1134074"},t("div",{key:"c6481423137eb98ee64cc9afedea6d43eca89b75"})))}};r.style=o;export{r as verdocs_tabs};
2
- //# sourceMappingURL=p-fd923850.entry.js.map
1
+ import{r as e,c as s,h as t,H as a}from"./p-BIRwgFLv.js";const o='verdocs-tabs{gap:10px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-direction:row;flex-direction:row;font-family:"Inter", "Barlow", sans-serif}verdocs-tabs .tab{display:-ms-flexbox;display:flex;color:#111111;cursor:pointer;font-size:14px;font-weight:400;padding:5px 10px;-ms-flex-align:center;align-items:center;text-transform:none;-ms-flex-pack:center;justify-content:center;border-bottom:4px solid transparent}verdocs-tabs .tab:focus{border:none;outline:none}verdocs-tabs .tab.active{color:#000000;font-weight:500;border-bottom:4px solid #003380}verdocs-tabs .tab.disabled{color:#aaaaaa;cursor:default}';const r=class{constructor(t){e(this,t);this.selectTab=s(this,"selectTab");this.tabs=[];this.selectedTab=0}handleSelectTab(e){var s;(s=this.selectTab)===null||s===void 0?void 0:s.emit({tab:this.tabs[e],index:e})}render(){return t(a,{key:"b78818a23892499517726f89f5cce6af6b7f42e1"},this.tabs.map(((e,s)=>t("div",{class:`tab ${s===this.selectedTab?"active":""} ${e.disabled?"disabled":""}`,onClick:e.disabled?()=>{}:()=>this.handleSelectTab(s)},e.label))),t("div",{key:"2105eefb878bc7237bd9c46d8533085d580b94f8",class:"flex flex-1"}),t("slot",{key:"c477b2f6880442e15bc3bc95f67dec12f1134074"},t("div",{key:"c6481423137eb98ee64cc9afedea6d43eca89b75"})))}};r.style=o;export{r as verdocs_tabs};
2
+ //# sourceMappingURL=p-042e510b.entry.js.map
@@ -1,2 +1,2 @@
1
- System.register(["./p-BO6MZhlp.system.js"],(function(t){"use strict";var e,o;return{setters:[function(t){e=t.r;o=t.h}],execute:function(){var s='verdocs-toggle{font-family:"Inter", "Barlow", sans-serif}verdocs-toggle .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#f5f5fa}verdocs-toggle .label{font-size:24px;font-weight:700;color:#33354c;-ms-flex-item-align:center;align-self:center;margin-right:27px;font-family:sans-serif}verdocs-toggle .buttons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}verdocs-toggle .buttons button{width:60px;height:60px;border:2px solid #654dcb;border-radius:5px;cursor:pointer}verdocs-toggle .buttons button:not(:last-child){margin-right:11px}verdocs-toggle .buttons svg{width:30px;height:30px}verdocs-toggle .buttons button:hover{background-color:#654dcb;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .buttons button:hover svg{fill:#f5f5fa;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected{background-color:#707ae5;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected svg{fill:#ffffff;-webkit-transition:0.25s;transition:0.25s}';var n=t("verdocs_toggle",function(){function t(t){e(this,t);this.selectedOption=0}t.prototype.componentWillLoad=function(){var t;console.log("verdocs-toggle componentWillLoad",this.options);this.selectedOption=((t=this.options)===null||t===void 0?void 0:t.defaultSelection)||0};t.prototype.render=function(){var t=this;return o("div",{key:"7485d894feb67041d4e21b393733508d07ef11fd",class:"container"},o("span",{key:"89511ad3f7b70c46c3981fef93816396e41eb717",class:"label"},"".concat(this.options.label,":")),o("div",{key:"090efe730dfc6dd43f521bc95da73b9554afef1d",class:"buttons"},this.options.buttons.map((function(e,s){return o("button",{id:e.id,key:e.id,innerHTML:e.icon,class:s===t.selectedOption?"selected":"",onClick:function(){console.log("clicked",s);t.selectedOption=s}})}))))};return t}());n.style=s}}}));
2
- //# sourceMappingURL=p-a7c30b1f.system.entry.js.map
1
+ System.register(["./p-BO6MZhlp.system.js"],(function(t){"use strict";var e,o;return{setters:[function(t){e=t.r;o=t.h}],execute:function(){var s='verdocs-toggle{font-family:"Inter", "Barlow", sans-serif}verdocs-toggle .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#f5f5fa}verdocs-toggle .label{font-size:24px;font-weight:700;color:#33354c;-ms-flex-item-align:center;align-self:center;margin-right:27px;font-family:sans-serif}verdocs-toggle .buttons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}verdocs-toggle .buttons button{width:60px;height:60px;border:2px solid #003380;border-radius:5px;cursor:pointer}verdocs-toggle .buttons button:not(:last-child){margin-right:11px}verdocs-toggle .buttons svg{width:30px;height:30px}verdocs-toggle .buttons button:hover{background-color:#003380;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .buttons button:hover svg{fill:#f5f5fa;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected{background-color:#707ae5;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected svg{fill:#ffffff;-webkit-transition:0.25s;transition:0.25s}';var n=t("verdocs_toggle",function(){function t(t){e(this,t);this.selectedOption=0}t.prototype.componentWillLoad=function(){var t;console.log("verdocs-toggle componentWillLoad",this.options);this.selectedOption=((t=this.options)===null||t===void 0?void 0:t.defaultSelection)||0};t.prototype.render=function(){var t=this;return o("div",{key:"7485d894feb67041d4e21b393733508d07ef11fd",class:"container"},o("span",{key:"89511ad3f7b70c46c3981fef93816396e41eb717",class:"label"},"".concat(this.options.label,":")),o("div",{key:"090efe730dfc6dd43f521bc95da73b9554afef1d",class:"buttons"},this.options.buttons.map((function(e,s){return o("button",{id:e.id,key:e.id,innerHTML:e.icon,class:s===t.selectedOption?"selected":"",onClick:function(){console.log("clicked",s);t.selectedOption=s}})}))))};return t}());n.style=s}}}));
2
+ //# sourceMappingURL=p-06418aa4.system.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as e,H as i,g as o}from"./p-BIRwgFLv.js";import{A as s,l as a}from"./p-CjPsvAbb.js";import{V as r}from"./p-D97GxsI-.js";import"./p-BFTU3MAI.js";const c='verdocs-text-input{font-family:"Inter", "Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0 0 10px 0;display:block}verdocs-text-input .input-element{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #707ae5;border-radius:4px;background:#ffffff;color:#000;width:100%;font-size:16px;height:34px;padding:0 9px;outline:none}verdocs-text-input .input-element:disabled{cursor:not-allowed;background:#aeb4bf;border:1px solid #33364b}verdocs-text-input .input-element::-webkit-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-moz-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:focus{outline:1px solid #7d88ff}verdocs-text-input .input-label{display:block;color:#555570;font-weight:700;font-size:14px;margin:0 0 4px 0}verdocs-text-input .required{color:red;margin-left:2px;display:inline-block}verdocs-text-input [data-lastpass-icon-root]{display:none !important}verdocs-text-input .input-container{position:relative}verdocs-text-input .clear{top:7px;right:5px;width:18px;height:18px;fill:#cccccc;position:absolute}verdocs-text-input .clear:hover{fill:#720101;cursor:pointer}verdocs-text-input .copy{top:7px;right:5px;width:18px;height:18px;fill:#cccccc;position:absolute}verdocs-text-input .copy:hover{fill:#654dcb;cursor:pointer}verdocs-text-input .toggle-pw{top:5px;right:7px;width:18px;height:18px;stroke:#cccccc;position:absolute}verdocs-text-input .toggle-pw:hover{fill:#654dcb;cursor:pointer}verdocs-text-input.clearable .input-element,verdocs-text-input.copyable .input-element{padding-right:32px}';const p=class{constructor(e){t(this,e);this.picker=null;this.value="";this.label="";this.placeholder="";this.helpText="";this.disabled=false;this.required=false;this.showingPw=false;this.focused=false;this.containerId=`verdocs-date-input-${Math.random().toString(36).substring(2,11)}`}async focusField(){var t;this.focused=true;(t=this.picker)===null||t===void 0?void 0:t.show();setTimeout((()=>{this.focused=false}),500)}componentDidLoad(){this.picker=new s(`#${this.containerId}`,{locale:a,isMobile:true,autoClose:true,onShow:()=>this.focused=true,onHide:()=>this.focused=false,onSelect:({date:t,formattedDate:e})=>{const i=new CustomEvent("input",{detail:{date:t,formattedDate:e}});this.hostEl.dispatchEvent(i)}})}copyToClipboard(){this.inputEl.select();navigator.clipboard.writeText(this.value).then((()=>r("Copied!"))).catch((t=>console.log("Error copying to clipboard",t)))}render(){return e(i,{key:"a71872f25c3fbfdb8837f546340edd2324f141f9",class:`input-field`},e("label",{key:"68b0b363d48c045f6a6124467c81e3c8af7f6321"},this.label&&e("div",{key:"6cfe44246b5776315772da522b27482c362df563",class:"input-label"},this.label+":",this.required&&e("span",{key:"9c02382715b89aa7c8f1c4efd6e9e1e54cec6692",class:"required"},"*")),e("div",{key:"56e31da5bc7c6206a9f1045ad6317f6b95ca2206",class:"input-container"},e("input",{key:"bdca818f5c8df445d9e63c6597cc75d0634096f1",type:"text",value:this.value,required:this.required,class:"input-element","data-lpignore":"true",id:this.containerId,disabled:this.disabled,placeholder:this.placeholder,ref:t=>this.inputEl=t,onInput:t=>this.value=t.target.value})),this.helpText&&e("verdocs-help-icon",{key:"712354ce917bb818033fa6cd95dc2bf50daf678f",text:this.helpText})))}get hostEl(){return o(this)}};p.style=c;export{p as verdocs_date_input};
2
- //# sourceMappingURL=p-178ccb4a.entry.js.map
1
+ import{r as t,h as e,H as i,g as o}from"./p-BIRwgFLv.js";import{A as s,l as a}from"./p-CjPsvAbb.js";import{V as r}from"./p-D97GxsI-.js";import"./p-BFTU3MAI.js";const c='verdocs-text-input{font-family:"Inter", "Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0 0 10px 0;display:block}verdocs-text-input .input-element{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #707ae5;border-radius:4px;background:#ffffff;color:#000;width:100%;font-size:16px;height:34px;padding:0 9px;outline:none}verdocs-text-input .input-element:disabled{cursor:not-allowed;background:#aeb4bf;border:1px solid #33364b}verdocs-text-input .input-element::-webkit-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-moz-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:focus{outline:1px solid #7d88ff}verdocs-text-input .input-label{display:block;color:#555570;font-weight:700;font-size:14px;margin:0 0 4px 0}verdocs-text-input .required{color:red;margin-left:2px;display:inline-block}verdocs-text-input [data-lastpass-icon-root]{display:none !important}verdocs-text-input .input-container{position:relative}verdocs-text-input .clear{top:7px;right:5px;width:18px;height:18px;fill:#cccccc;position:absolute}verdocs-text-input .clear:hover{fill:#720101;cursor:pointer}verdocs-text-input .copy{top:7px;right:5px;width:18px;height:18px;fill:#cccccc;position:absolute}verdocs-text-input .copy:hover{fill:#003380;cursor:pointer}verdocs-text-input .toggle-pw{top:5px;right:7px;width:18px;height:18px;stroke:#cccccc;position:absolute}verdocs-text-input .toggle-pw:hover{fill:#003380;cursor:pointer}verdocs-text-input.clearable .input-element,verdocs-text-input.copyable .input-element{padding-right:32px}';const p=class{constructor(e){t(this,e);this.picker=null;this.value="";this.label="";this.placeholder="";this.helpText="";this.disabled=false;this.required=false;this.showingPw=false;this.focused=false;this.containerId=`verdocs-date-input-${Math.random().toString(36).substring(2,11)}`}async focusField(){var t;this.focused=true;(t=this.picker)===null||t===void 0?void 0:t.show();setTimeout((()=>{this.focused=false}),500)}componentDidLoad(){this.picker=new s(`#${this.containerId}`,{locale:a,isMobile:true,autoClose:true,onShow:()=>this.focused=true,onHide:()=>this.focused=false,onSelect:({date:t,formattedDate:e})=>{const i=new CustomEvent("input",{detail:{date:t,formattedDate:e}});this.hostEl.dispatchEvent(i)}})}copyToClipboard(){this.inputEl.select();navigator.clipboard.writeText(this.value).then((()=>r("Copied!"))).catch((t=>console.log("Error copying to clipboard",t)))}render(){return e(i,{key:"a71872f25c3fbfdb8837f546340edd2324f141f9",class:`input-field`},e("label",{key:"68b0b363d48c045f6a6124467c81e3c8af7f6321"},this.label&&e("div",{key:"6cfe44246b5776315772da522b27482c362df563",class:"input-label"},this.label+":",this.required&&e("span",{key:"9c02382715b89aa7c8f1c4efd6e9e1e54cec6692",class:"required"},"*")),e("div",{key:"56e31da5bc7c6206a9f1045ad6317f6b95ca2206",class:"input-container"},e("input",{key:"bdca818f5c8df445d9e63c6597cc75d0634096f1",type:"text",value:this.value,required:this.required,class:"input-element","data-lpignore":"true",id:this.containerId,disabled:this.disabled,placeholder:this.placeholder,ref:t=>this.inputEl=t,onInput:t=>this.value=t.target.value})),this.helpText&&e("verdocs-help-icon",{key:"712354ce917bb818033fa6cd95dc2bf50daf678f",text:this.helpText})))}get hostEl(){return o(this)}};p.style=c;export{p as verdocs_date_input};
2
+ //# sourceMappingURL=p-0a05d55b.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as i,h as e}from"./p-BIRwgFLv.js";const s='verdocs-signature-dialog{font-family:"Inter", "Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-signature-dialog .content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-signature-dialog canvas{background:#ffffff;width:300px;height:79px;max-width:100%;margin:20px auto;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0 0 6px 0 rgba(0, 0, 0, 0.1215686275);box-shadow:0 0 6px 0 rgba(0, 0, 0, 0.1215686275)}verdocs-signature-dialog .disclaimer{padding:8px 0;font-size:11px;line-height:14px;text-align:justify;color:rgba(0, 0, 0, 0.54)}verdocs-signature-dialog .tabs{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;margin:-20px -20px 0 -20px;border-bottom:1px solid #eeeeee}verdocs-signature-dialog .tabs .tab{-ms-flex:1;flex:1;gap:4px;display:-ms-flexbox;display:flex;cursor:pointer;font-size:12px;font-weight:500;padding:6px 10px;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}verdocs-signature-dialog .tabs .tab.active{background:#f9f5fe;border-bottom:2px solid #707ae5}verdocs-signature-dialog .tabs .tab:hover{color:#55bc81}verdocs-signature-dialog .tabs .tab .icon{width:16px;height:16px}verdocs-signature-dialog .type{display:none;height:100px;margin-top:20px;-ms-flex-direction:column;flex-direction:column}verdocs-signature-dialog .type.active{display:-ms-flexbox;display:flex}verdocs-signature-dialog .draw{height:100px;display:none;margin-top:20px;-ms-flex-direction:column;flex-direction:column}verdocs-signature-dialog .draw.active{display:-ms-flexbox;display:flex}verdocs-signature-dialog .draw .draw-instructions{font-size:13px;color:rgba(0, 0, 0, 0.6);margin-bottom:8px;text-align:center}verdocs-signature-dialog .draw canvas{cursor:crosshair;-ms-touch-action:none;touch-action:none}verdocs-signature-dialog .draw .draw-actions{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin-top:12px}verdocs-signature-dialog .draw .draw-actions .clear-button{border:1px solid #d0d0d0;background-color:#ffffff;color:#333333;padding:6px 16px;font-size:13px;cursor:pointer;border-radius:4px;-webkit-transition:all 0.2s ease;transition:all 0.2s ease}verdocs-signature-dialog .draw .draw-actions .clear-button:hover:not(:disabled){background-color:#f5f5f5;border-color:#b0b0b0}verdocs-signature-dialog .draw .draw-actions .clear-button:disabled{opacity:0.5;cursor:not-allowed}verdocs-signature-dialog .upload{height:100px;display:none;margin-top:20px;-ms-flex-direction:column;flex-direction:column}verdocs-signature-dialog .upload.active{display:-ms-flexbox;display:flex}verdocs-signature-dialog .upload .upload-instructions{font-size:13px;color:rgba(0, 0, 0, 0.6);margin-bottom:8px;text-align:center}verdocs-signature-dialog .upload .upload-actions{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;gap:12px;margin-top:8px}verdocs-signature-dialog .upload .upload-actions .upload-button{border:1px solid #55bc81;background-color:#55bc81;color:#ffffff;padding:8px 20px;font-size:13px;cursor:pointer;border-radius:4px;-webkit-transition:all 0.2s ease;transition:all 0.2s ease}verdocs-signature-dialog .upload .upload-actions .upload-button:hover{background-color:rgb(62.7594936709, 159.2405063291, 103.9746835443);border-color:rgb(62.7594936709, 159.2405063291, 103.9746835443)}verdocs-signature-dialog .upload .upload-actions .clear-button{border:1px solid #d0d0d0;background-color:#ffffff;color:#333333;padding:8px 16px;font-size:13px;cursor:pointer;border-radius:4px;-webkit-transition:all 0.2s ease;transition:all 0.2s ease}verdocs-signature-dialog .upload .upload-actions .clear-button:hover:not(:disabled){background-color:#f5f5f5;border-color:#b0b0b0}verdocs-signature-dialog .upload .upload-actions .clear-button:disabled{opacity:0.5;cursor:not-allowed}verdocs-signature-dialog .upload .upload-filename{font-size:12px;color:rgba(0, 0, 0, 0.6);text-align:center;margin-top:8px;font-style:italic}verdocs-signature-dialog{}verdocs-signature-dialog .buttons{gap:20px;display:-ms-flexbox;display:flex;margin-top:14px;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:end;justify-content:flex-end}verdocs-signature-dialog .buttons button{-ms-flex:1;flex:1;border:0;height:38px;display:-ms-flexbox;display:flex;color:#ffffff;font-size:14px;cursor:pointer;-ms-flex-align:center;align-items:center;border-radius:6px;-ms-flex-pack:center;justify-content:center}verdocs-signature-dialog .buttons button.cancel{background-color:#654dcb}verdocs-signature-dialog .buttons button.proceed{background-color:#55bc81}verdocs-signature-dialog .buttons button:disabled{background-color:#6c727f}';const a=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10 8h.01"/><path d="M12 12h.01"/><path d="M14 8h.01"/><path d="M16 12h.01"/><path d="M18 8h.01"/><path d="M6 8h.01"/><path d="M7 16h10"/><path d="M8 12h.01"/><rect width="20" height="16" x="2" y="4" rx="2"/></svg>`;const o=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z"/><path d="m15 5 4 4"/></svg>`;const d=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21"/><path d="m14 19.5 3-3 3 3"/><path d="M17 22v-5.5"/><circle cx="9" cy="9" r="2"/></svg>`;const n=class{constructor(e){t(this,e);this.next=i(this,"next");this.exit=i(this,"exit");this.name="";this.fontLoaded=false;this.enteredName="";this.mode="type";this.isDrawing=false;this.hasDrawnSignature=false;this.hasUploadedImage=false;this.uploadedFileName="";this.currentStroke=[];this.allStrokes=[];this.lastPoint=null;this.uploadedImage=null;this.handlePointerDown=t=>{t.preventDefault();if(!this.canvasElement||!this.drawingContext){return}this.isDrawing=true;this.hasDrawnSignature=true;const i=this.getCanvasCoordinates(t);this.currentStroke=[i];this.lastPoint=i;this.drawingContext.beginPath();this.drawingContext.moveTo(i.x,i.y);this.canvasElement.setPointerCapture(t.pointerId)};this.handlePointerMove=t=>{t.preventDefault();if(!this.isDrawing||!this.drawingContext||!this.lastPoint){return}const i=this.getCanvasCoordinates(t);this.currentStroke.push(i);const e={x:(this.lastPoint.x+i.x)/2,y:(this.lastPoint.y+i.y)/2};this.drawingContext.quadraticCurveTo(this.lastPoint.x,this.lastPoint.y,e.x,e.y);this.drawingContext.stroke();this.lastPoint=i};this.handlePointerUp=t=>{t.preventDefault();if(!this.isDrawing||!this.drawingContext){return}if(this.lastPoint&&this.currentStroke.length>0){this.drawingContext.lineTo(this.lastPoint.x,this.lastPoint.y);this.drawingContext.stroke()}if(this.currentStroke.length>0){this.allStrokes.push([...this.currentStroke])}this.isDrawing=false;this.currentStroke=[];this.lastPoint=null;if(this.canvasElement){this.canvasElement.releasePointerCapture(t.pointerId)}};this.handlePointerCancel=t=>{this.isDrawing=false;this.currentStroke=[];this.lastPoint=null;if(this.canvasElement){this.canvasElement.releasePointerCapture(t.pointerId)}};this.handleSelectFile=t=>{var i;t.stopPropagation();t.preventDefault();(i=this.fileInputElement)===null||i===void 0?void 0:i.click()};this.handleFileChange=t=>{var i;const e=t.target;const s=(i=e.files)===null||i===void 0?void 0:i[0];if(!s){return}if(!s.type.startsWith("image/png")){alert("Please select a PNG image file.");e.value="";return}const a=new FileReader;a.onload=t=>{var i;const a=new Image;a.onload=()=>{this.uploadedImage=a;this.uploadedFileName=s.name;this.hasUploadedImage=true;this.drawUploadedImage()};a.onerror=()=>{alert("Failed to load image. Please try a different file.");e.value=""};a.src=(i=t.target)===null||i===void 0?void 0:i.result};a.onerror=()=>{alert("Failed to read file. Please try again.");e.value=""};a.readAsDataURL(s)};this.handleClearUpload=t=>{t.stopPropagation();t.preventDefault();this.uploadedImage=null;this.uploadedFileName="";this.hasUploadedImage=false;if(this.fileInputElement){this.fileInputElement.value=""}if(this.canvasElement){const t=this.canvasElement.getContext("2d");if(t){t.clearRect(0,0,this.canvasElement.width,this.canvasElement.height)}}}}componentWillLoad(){this.enteredName=this.name;const t=new FontFace("Dancing Script","url(https://fonts.gstatic.com/s/dancingscript/v19/If2cXTr6YS-zF4S-kcSWSVi_sxjsohD9F50Ruu7BMSo3Sup6hNX6plRP.woff)");t.load().then((t=>{document.fonts.add(t);this.fontLoaded=true}))}componentDidLoad(){this.redrawSignature();this.setupDrawingCanvas()}componentDidUpdate(){this.redrawSignature();this.setupDrawingCanvas();if(this.mode==="upload"&&this.hasUploadedImage){this.drawUploadedImage()}if(this.mode==="draw"&&this.allStrokes.length>0){this.redrawDrawnSignature()}}redrawSignature(){if(!this.canvasElement||this.mode!=="type"){return}const t=this.canvasElement.width;const i=this.canvasElement.getContext("2d");i.clearRect(0,0,this.canvasElement.width,this.canvasElement.height);let e=100;do{e-=2;i.font=`${e}px Dancing Script`}while(i.measureText(this.enteredName).width>t-32);i.textAlign="center";i.textBaseline="middle";i.font=`${e}px Dancing Script`;i.fillText(this.enteredName,this.canvasElement.width/2,this.canvasElement.height/2)}redrawDrawnSignature(){if(!this.canvasElement||!this.drawingContext||this.allStrokes.length===0){return}this.drawingContext.clearRect(0,0,this.canvasElement.width,this.canvasElement.height);for(const t of this.allStrokes){if(t.length===0){continue}this.drawingContext.beginPath();this.drawingContext.moveTo(t[0].x,t[0].y);for(let i=1;i<t.length;i++){const e=t[i];const s=t[i-1];const a={x:(s.x+e.x)/2,y:(s.y+e.y)/2};this.drawingContext.quadraticCurveTo(s.x,s.y,a.x,a.y)}if(t.length>1){const i=t[t.length-1];this.drawingContext.lineTo(i.x,i.y)}this.drawingContext.stroke()}}handleNameChange(t){this.enteredName=t.target.value}handleCancel(t){t.stopPropagation();t.preventDefault();this.exit.emit()}handleAdopt(t){t.stopPropagation();t.preventDefault();const i=this.canvasElement.toDataURL("image/png");this.next.emit(i)}isAdoptButtonDisabled(){switch(this.mode){case"type":return!this.enteredName||this.enteredName.trim().length===0;case"draw":return!this.hasDrawnSignature||this.allStrokes.length===0;case"upload":return!this.hasUploadedImage;default:return true}}setupDrawingCanvas(){if(!this.canvasElement){return}if(this.mode==="draw"){const t=this.canvasElement.getContext("2d");if(t&&t!==this.drawingContext){this.drawingContext=t;this.drawingContext.strokeStyle="#000000";this.drawingContext.lineWidth=2;this.drawingContext.lineCap="round";this.drawingContext.lineJoin="round";if(this.allStrokes.length===0){this.drawingContext.clearRect(0,0,this.canvasElement.width,this.canvasElement.height)}}}if(this.mode!=="draw"&&this.drawingContext){this.drawingContext=null;this.currentStroke=[];this.lastPoint=null}}clearDrawingCanvas(){if(!this.canvasElement||!this.drawingContext){return}this.drawingContext.clearRect(0,0,this.canvasElement.width,this.canvasElement.height);this.currentStroke=[];this.allStrokes=[];this.lastPoint=null;this.hasDrawnSignature=false}handleClearDrawing(t){t.stopPropagation();t.preventDefault();this.clearDrawingCanvas()}getCanvasCoordinates(t){if(!this.canvasElement){return{x:0,y:0}}const i=this.canvasElement.getBoundingClientRect();const e=this.canvasElement.width/i.width;const s=this.canvasElement.height/i.height;return{x:(t.clientX-i.left)*e,y:(t.clientY-i.top)*s}}drawUploadedImage(){if(!this.canvasElement||!this.uploadedImage){return}const t=this.canvasElement.getContext("2d");if(!t){return}t.clearRect(0,0,this.canvasElement.width,this.canvasElement.height);const i=this.canvasElement.width;const e=this.canvasElement.height;const s=this.uploadedImage.width;const a=this.uploadedImage.height;const o=10;const d=i-o*2;const n=e-o*2;const r=d/s;const c=n/a;const l=Math.min(r,c);const h=s*l;const f=a*l;const u=(i-h)/2;const p=(e-f)/2;t.drawImage(this.uploadedImage,u,p,h,f)}render(){return e("verdocs-dialog",{key:"0b429c1bfa33dcb68c723632c9d41e804c1c9d4b"},e("div",{key:"25757ea5b5681d01e8ec795fca09c76f58765892",slot:"heading",class:"heading"},e("div",{key:"420d55c208a4a459de8d4f13f87549210425cadd",class:"icon"},e("svg",{key:"81dc9fc0cafbbdd3a528b8d3d30a3bbd4d1e60ac",width:"22",height:"19",viewBox:"0 0 22 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("g",{key:"e7ad29bdf97453171ac57e02512196b96f560a97","clip-path":"url(#clip0_34208_4881)"},e("path",{key:"3ffd7f641d18d97318c601f58e1b07593c8b9253",d:"M3.125 0.75C1.88398 0.75 0.875 1.75898 0.875 3V16.5C0.875 17.741 1.88398 18.75 3.125 18.75H12.125C13.366 18.75 14.375 17.741 14.375 16.5V15.8215C14.2801 15.8602 14.1852 15.8918 14.0867 15.9164L11.9738 16.4437C11.8684 16.4684 11.7629 16.4859 11.6574 16.493C11.6258 16.4965 11.5941 16.5 11.5625 16.5H9.3125C9.09805 16.5 8.90469 16.3805 8.80977 16.1906L8.50039 15.5684C8.44062 15.4488 8.32109 15.375 8.19102 15.375C8.06094 15.375 7.93789 15.4488 7.88164 15.5684L7.57227 16.1906C7.47031 16.398 7.24883 16.5211 7.02031 16.5C6.7918 16.4789 6.59492 16.3207 6.53164 16.1027L5.9375 14.1445L5.59297 15.2977C5.37852 16.0113 4.72109 16.5 3.97578 16.5H3.6875C3.37812 16.5 3.125 16.2469 3.125 15.9375C3.125 15.6281 3.37812 15.375 3.6875 15.375H3.97578C4.22539 15.375 4.44336 15.2133 4.51367 14.9742L5.0375 13.234C5.15703 12.8367 5.52266 12.5625 5.9375 12.5625C6.35234 12.5625 6.71797 12.8367 6.8375 13.234L7.24531 14.591C7.50547 14.373 7.83594 14.25 8.1875 14.25C8.74648 14.25 9.25625 14.5664 9.50586 15.0656L9.66055 15.375H9.97344C9.86445 15.0656 9.84336 14.7281 9.92422 14.3977L10.4516 12.2848C10.55 11.8875 10.7539 11.5289 11.0422 11.2406L14.375 7.90781V6.375H9.875C9.25273 6.375 8.75 5.87227 8.75 5.25V0.75H3.125ZM9.875 0.75V5.25H14.375L9.875 0.75ZM20.2039 5.66133C19.6555 5.11289 18.766 5.11289 18.2141 5.66133L17.1805 6.69492L19.6766 9.19102L20.7102 8.15742C21.2586 7.60898 21.2586 6.71953 20.7102 6.16758L20.2039 5.66133ZM11.8402 12.0352C11.6961 12.1793 11.5941 12.3586 11.5449 12.559L11.0176 14.6719C10.9684 14.8652 11.0246 15.0656 11.1652 15.2063C11.3059 15.3469 11.5062 15.4031 11.6996 15.3539L13.8125 14.8266C14.0094 14.7773 14.1922 14.6754 14.3363 14.5312L18.8785 9.98555L16.3824 7.48945L11.8402 12.0352Z",fill:"white"})),e("defs",{key:"40470a753022575342a62e03f355259ad2236dfd"},e("clipPath",{key:"fd8e87dfd3a0600ea8b00bcdea231c443db263e5",id:"clip0_34208_4881"},e("path",{key:"d37762121ab1516b637e23e68123181861f3430b",d:"M0.875 0.75H21.125V18.75H0.875V0.75Z",fill:"white"}))))),e("div",{key:"8aa8a867add1f97217926df053936afe94b72ffb",class:"title"},"Adopt Signature")),e("div",{key:"7c7ce2c4827272f4b6c42c103f78d79a9aab834a",slot:"content",class:"content"},e("div",{key:"f2f7ce37214d1f739f9a2444e65038ee2425dc01",class:"tabs"},e("div",{key:"ae94a1a76c04ffda86c9a300c0cb4ae2f967929c",class:{tab:true,active:this.mode==="type"},onClick:()=>this.mode="type"},e("div",{key:"50ae13bf5f04376c4e5842dc9752c30f383c213d",innerHTML:a,class:"icon"}),e("div",{key:"b7a2dedbead1f59695106a73c4683f40369dadc6"},"Type")),e("div",{key:"253b9d4506f901f8466eb593b80e99cbec7726c8",class:{tab:true,active:this.mode==="draw"},onClick:()=>this.mode="draw"},e("div",{key:"d9f5dbe36f7fa6052c7a3edad8ff471cb0738879",innerHTML:o,class:"icon"}),e("div",{key:"72e1ca881be3af547e0673733d39e771f9547bf4"},"Draw")),e("div",{key:"7d280ad986b9203c1c824942f620c7ac673a7974",class:{tab:true,active:this.mode==="upload"},onClick:()=>this.mode="upload"},e("div",{key:"673faa7a093acc843b4e67fb707c222ed22a7f33",innerHTML:d,class:"icon"}),e("div",{key:"3b5019ec93318c864a16712a4819ea528f1d6094"},"Upload"))),e("div",{key:"714cc6316f22bf01eeddf50cd1140333dde7240f",class:{type:true,active:this.mode==="type"}},e("verdocs-text-input",{key:"c986c98996c53f950b4b68369c19b0c897d13369",label:"Full Name",value:this.enteredName,placeholder:"Full Name...",description:"As shown on driver's license or govt. ID card.",onInput:t=>this.handleNameChange(t),onClick:t=>t.stopPropagation()})),e("div",{key:"78c8bd98c799038d87a99c749ca95641a501f875",class:{draw:true,active:this.mode==="draw"}},e("div",{key:"8542a85b7bb331c3e2df482ac49c5442e24deeaa",class:"draw-instructions"},"Draw your signature below using your mouse or finger"),e("div",{key:"3950ea157e7be7a82cee715eb7abff1a44c5e680",class:"draw-actions"},e("button",{key:"c0824acb635bbd01bd6084b1b8c5421834a3b9e8",class:"clear-button",onClick:t=>this.handleClearDrawing(t),disabled:!this.hasDrawnSignature},"Clear"))),e("div",{key:"da28e645bf706d21669062b1b348d2f4c65db574",class:{upload:true,active:this.mode==="upload"}},e("div",{key:"33432f5f771a961cbd04a1a459ab3e1c436a3796",class:"upload-instructions"},"Upload a PNG image of your signature"),e("input",{key:"5272fc359e5ea2c9d08444a6dee7939af0c85ee9",ref:t=>this.fileInputElement=t,type:"file",accept:"image/png",onChange:this.handleFileChange,style:{display:"none"}}),e("div",{key:"c8a861ccac56394d5d2b412b261a0fa7abc08c6f",class:"upload-actions"},e("button",{key:"20130f1880990ead83064dc586cc98d1303e9f82",class:"upload-button",onClick:this.handleSelectFile},this.hasUploadedImage?"Change Image":"Select PNG File"),this.hasUploadedImage&&e("button",{key:"441f205d01eadc47add35a2fe07bfd550c47aaeb",class:"clear-button",onClick:this.handleClearUpload},"Clear")),this.uploadedFileName&&e("div",{key:"3d724075c22a178c440db88464cc7c1197ce74a3",class:"upload-filename"},this.uploadedFileName)),e("canvas",{key:"f9bbe470d83ca03666e87455b4c4f73865afff28",ref:t=>this.canvasElement=t,width:"300",height:"79",onPointerDown:this.handlePointerDown,onPointerMove:this.handlePointerMove,onPointerUp:this.handlePointerUp,onPointerCancel:this.handlePointerCancel,style:{touchAction:"none",cursor:"crosshair"}}),e("div",{key:"8e309f8f6b19b76e892c9320172e0f2a8db10e9c",class:"disclaimer"},"By clicking Adopt, I agree that the signature will be the electronic representation of my signature for all purposes when I (or my agent) use them on documents, including legally binding contracts — just the same as a pen-and-paper signature or initial.")),e("div",{key:"107dd5abf82744aadd7dc551b648488d444eb33c",class:"footer",slot:"footer"},e("div",{key:"f10d17289c2884bd8602d4637ce60d8345310c82",class:"buttons"},e("button",{key:"761f72f1a011c5dbf2d3a8f0491ddae4b6f5b924",class:"cancel",onClick:t=>this.handleCancel(t)},"Cancel"),e("button",{key:"8f93fa813735bda38eef39694986501e7a70067a",class:"proceed",onClick:t=>this.handleAdopt(t),disabled:this.isAdoptButtonDisabled()},"Adopt & Sign"))))}};n.style=s;export{n as verdocs_signature_dialog};
2
- //# sourceMappingURL=p-c67291e0.entry.js.map
1
+ import{r as t,c as i,h as e}from"./p-BIRwgFLv.js";const s='verdocs-signature-dialog{font-family:"Inter", "Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-signature-dialog .content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-signature-dialog canvas{background:#ffffff;width:300px;height:79px;max-width:100%;margin:20px auto;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0 0 6px 0 rgba(0, 0, 0, 0.1215686275);box-shadow:0 0 6px 0 rgba(0, 0, 0, 0.1215686275)}verdocs-signature-dialog .disclaimer{padding:8px 0;font-size:11px;line-height:14px;text-align:justify;color:rgba(0, 0, 0, 0.54)}verdocs-signature-dialog .tabs{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;margin:-20px -20px 0 -20px;border-bottom:1px solid #eeeeee}verdocs-signature-dialog .tabs .tab{-ms-flex:1;flex:1;gap:4px;display:-ms-flexbox;display:flex;cursor:pointer;font-size:12px;font-weight:500;padding:6px 10px;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}verdocs-signature-dialog .tabs .tab.active{background:#f9f5fe;border-bottom:2px solid #707ae5}verdocs-signature-dialog .tabs .tab:hover{color:#55bc81}verdocs-signature-dialog .tabs .tab .icon{width:16px;height:16px}verdocs-signature-dialog .type{display:none;height:100px;margin-top:20px;-ms-flex-direction:column;flex-direction:column}verdocs-signature-dialog .type.active{display:-ms-flexbox;display:flex}verdocs-signature-dialog .draw{height:100px;display:none;margin-top:20px;-ms-flex-direction:column;flex-direction:column}verdocs-signature-dialog .draw.active{display:-ms-flexbox;display:flex}verdocs-signature-dialog .draw .draw-instructions{font-size:13px;color:rgba(0, 0, 0, 0.6);margin-bottom:8px;text-align:center}verdocs-signature-dialog .draw canvas{cursor:crosshair;-ms-touch-action:none;touch-action:none}verdocs-signature-dialog .draw .draw-actions{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin-top:12px}verdocs-signature-dialog .draw .draw-actions .clear-button{border:1px solid #d0d0d0;background-color:#ffffff;color:#333333;padding:6px 16px;font-size:13px;cursor:pointer;border-radius:4px;-webkit-transition:all 0.2s ease;transition:all 0.2s ease}verdocs-signature-dialog .draw .draw-actions .clear-button:hover:not(:disabled){background-color:#f5f5f5;border-color:#b0b0b0}verdocs-signature-dialog .draw .draw-actions .clear-button:disabled{opacity:0.5;cursor:not-allowed}verdocs-signature-dialog .upload{height:100px;display:none;margin-top:20px;-ms-flex-direction:column;flex-direction:column}verdocs-signature-dialog .upload.active{display:-ms-flexbox;display:flex}verdocs-signature-dialog .upload .upload-instructions{font-size:13px;color:rgba(0, 0, 0, 0.6);margin-bottom:8px;text-align:center}verdocs-signature-dialog .upload .upload-actions{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;gap:12px;margin-top:8px}verdocs-signature-dialog .upload .upload-actions .upload-button{border:1px solid #55bc81;background-color:#55bc81;color:#ffffff;padding:8px 20px;font-size:13px;cursor:pointer;border-radius:4px;-webkit-transition:all 0.2s ease;transition:all 0.2s ease}verdocs-signature-dialog .upload .upload-actions .upload-button:hover{background-color:rgb(62.7594936709, 159.2405063291, 103.9746835443);border-color:rgb(62.7594936709, 159.2405063291, 103.9746835443)}verdocs-signature-dialog .upload .upload-actions .clear-button{border:1px solid #d0d0d0;background-color:#ffffff;color:#333333;padding:8px 16px;font-size:13px;cursor:pointer;border-radius:4px;-webkit-transition:all 0.2s ease;transition:all 0.2s ease}verdocs-signature-dialog .upload .upload-actions .clear-button:hover:not(:disabled){background-color:#f5f5f5;border-color:#b0b0b0}verdocs-signature-dialog .upload .upload-actions .clear-button:disabled{opacity:0.5;cursor:not-allowed}verdocs-signature-dialog .upload .upload-filename{font-size:12px;color:rgba(0, 0, 0, 0.6);text-align:center;margin-top:8px;font-style:italic}verdocs-signature-dialog{}verdocs-signature-dialog .buttons{gap:20px;display:-ms-flexbox;display:flex;margin-top:14px;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:end;justify-content:flex-end}verdocs-signature-dialog .buttons button{-ms-flex:1;flex:1;border:0;height:38px;display:-ms-flexbox;display:flex;color:#ffffff;font-size:14px;cursor:pointer;-ms-flex-align:center;align-items:center;border-radius:6px;-ms-flex-pack:center;justify-content:center}verdocs-signature-dialog .buttons button.cancel{background-color:#003380}verdocs-signature-dialog .buttons button.proceed{background-color:#55bc81}verdocs-signature-dialog .buttons button:disabled{background-color:#6c727f}';const a=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10 8h.01"/><path d="M12 12h.01"/><path d="M14 8h.01"/><path d="M16 12h.01"/><path d="M18 8h.01"/><path d="M6 8h.01"/><path d="M7 16h10"/><path d="M8 12h.01"/><rect width="20" height="16" x="2" y="4" rx="2"/></svg>`;const o=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z"/><path d="m15 5 4 4"/></svg>`;const d=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21"/><path d="m14 19.5 3-3 3 3"/><path d="M17 22v-5.5"/><circle cx="9" cy="9" r="2"/></svg>`;const n=class{constructor(e){t(this,e);this.next=i(this,"next");this.exit=i(this,"exit");this.name="";this.fontLoaded=false;this.enteredName="";this.mode="type";this.isDrawing=false;this.hasDrawnSignature=false;this.hasUploadedImage=false;this.uploadedFileName="";this.currentStroke=[];this.allStrokes=[];this.lastPoint=null;this.uploadedImage=null;this.handlePointerDown=t=>{t.preventDefault();if(!this.canvasElement||!this.drawingContext){return}this.isDrawing=true;this.hasDrawnSignature=true;const i=this.getCanvasCoordinates(t);this.currentStroke=[i];this.lastPoint=i;this.drawingContext.beginPath();this.drawingContext.moveTo(i.x,i.y);this.canvasElement.setPointerCapture(t.pointerId)};this.handlePointerMove=t=>{t.preventDefault();if(!this.isDrawing||!this.drawingContext||!this.lastPoint){return}const i=this.getCanvasCoordinates(t);this.currentStroke.push(i);const e={x:(this.lastPoint.x+i.x)/2,y:(this.lastPoint.y+i.y)/2};this.drawingContext.quadraticCurveTo(this.lastPoint.x,this.lastPoint.y,e.x,e.y);this.drawingContext.stroke();this.lastPoint=i};this.handlePointerUp=t=>{t.preventDefault();if(!this.isDrawing||!this.drawingContext){return}if(this.lastPoint&&this.currentStroke.length>0){this.drawingContext.lineTo(this.lastPoint.x,this.lastPoint.y);this.drawingContext.stroke()}if(this.currentStroke.length>0){this.allStrokes.push([...this.currentStroke])}this.isDrawing=false;this.currentStroke=[];this.lastPoint=null;if(this.canvasElement){this.canvasElement.releasePointerCapture(t.pointerId)}};this.handlePointerCancel=t=>{this.isDrawing=false;this.currentStroke=[];this.lastPoint=null;if(this.canvasElement){this.canvasElement.releasePointerCapture(t.pointerId)}};this.handleSelectFile=t=>{var i;t.stopPropagation();t.preventDefault();(i=this.fileInputElement)===null||i===void 0?void 0:i.click()};this.handleFileChange=t=>{var i;const e=t.target;const s=(i=e.files)===null||i===void 0?void 0:i[0];if(!s){return}if(!s.type.startsWith("image/png")){alert("Please select a PNG image file.");e.value="";return}const a=new FileReader;a.onload=t=>{var i;const a=new Image;a.onload=()=>{this.uploadedImage=a;this.uploadedFileName=s.name;this.hasUploadedImage=true;this.drawUploadedImage()};a.onerror=()=>{alert("Failed to load image. Please try a different file.");e.value=""};a.src=(i=t.target)===null||i===void 0?void 0:i.result};a.onerror=()=>{alert("Failed to read file. Please try again.");e.value=""};a.readAsDataURL(s)};this.handleClearUpload=t=>{t.stopPropagation();t.preventDefault();this.uploadedImage=null;this.uploadedFileName="";this.hasUploadedImage=false;if(this.fileInputElement){this.fileInputElement.value=""}if(this.canvasElement){const t=this.canvasElement.getContext("2d");if(t){t.clearRect(0,0,this.canvasElement.width,this.canvasElement.height)}}}}componentWillLoad(){this.enteredName=this.name;const t=new FontFace("Dancing Script","url(https://fonts.gstatic.com/s/dancingscript/v19/If2cXTr6YS-zF4S-kcSWSVi_sxjsohD9F50Ruu7BMSo3Sup6hNX6plRP.woff)");t.load().then((t=>{document.fonts.add(t);this.fontLoaded=true}))}componentDidLoad(){this.redrawSignature();this.setupDrawingCanvas()}componentDidUpdate(){this.redrawSignature();this.setupDrawingCanvas();if(this.mode==="upload"&&this.hasUploadedImage){this.drawUploadedImage()}if(this.mode==="draw"&&this.allStrokes.length>0){this.redrawDrawnSignature()}}redrawSignature(){if(!this.canvasElement||this.mode!=="type"){return}const t=this.canvasElement.width;const i=this.canvasElement.getContext("2d");i.clearRect(0,0,this.canvasElement.width,this.canvasElement.height);let e=100;do{e-=2;i.font=`${e}px Dancing Script`}while(i.measureText(this.enteredName).width>t-32);i.textAlign="center";i.textBaseline="middle";i.font=`${e}px Dancing Script`;i.fillText(this.enteredName,this.canvasElement.width/2,this.canvasElement.height/2)}redrawDrawnSignature(){if(!this.canvasElement||!this.drawingContext||this.allStrokes.length===0){return}this.drawingContext.clearRect(0,0,this.canvasElement.width,this.canvasElement.height);for(const t of this.allStrokes){if(t.length===0){continue}this.drawingContext.beginPath();this.drawingContext.moveTo(t[0].x,t[0].y);for(let i=1;i<t.length;i++){const e=t[i];const s=t[i-1];const a={x:(s.x+e.x)/2,y:(s.y+e.y)/2};this.drawingContext.quadraticCurveTo(s.x,s.y,a.x,a.y)}if(t.length>1){const i=t[t.length-1];this.drawingContext.lineTo(i.x,i.y)}this.drawingContext.stroke()}}handleNameChange(t){this.enteredName=t.target.value}handleCancel(t){t.stopPropagation();t.preventDefault();this.exit.emit()}handleAdopt(t){t.stopPropagation();t.preventDefault();const i=this.canvasElement.toDataURL("image/png");this.next.emit(i)}isAdoptButtonDisabled(){switch(this.mode){case"type":return!this.enteredName||this.enteredName.trim().length===0;case"draw":return!this.hasDrawnSignature||this.allStrokes.length===0;case"upload":return!this.hasUploadedImage;default:return true}}setupDrawingCanvas(){if(!this.canvasElement){return}if(this.mode==="draw"){const t=this.canvasElement.getContext("2d");if(t&&t!==this.drawingContext){this.drawingContext=t;this.drawingContext.strokeStyle="#000000";this.drawingContext.lineWidth=2;this.drawingContext.lineCap="round";this.drawingContext.lineJoin="round";if(this.allStrokes.length===0){this.drawingContext.clearRect(0,0,this.canvasElement.width,this.canvasElement.height)}}}if(this.mode!=="draw"&&this.drawingContext){this.drawingContext=null;this.currentStroke=[];this.lastPoint=null}}clearDrawingCanvas(){if(!this.canvasElement||!this.drawingContext){return}this.drawingContext.clearRect(0,0,this.canvasElement.width,this.canvasElement.height);this.currentStroke=[];this.allStrokes=[];this.lastPoint=null;this.hasDrawnSignature=false}handleClearDrawing(t){t.stopPropagation();t.preventDefault();this.clearDrawingCanvas()}getCanvasCoordinates(t){if(!this.canvasElement){return{x:0,y:0}}const i=this.canvasElement.getBoundingClientRect();const e=this.canvasElement.width/i.width;const s=this.canvasElement.height/i.height;return{x:(t.clientX-i.left)*e,y:(t.clientY-i.top)*s}}drawUploadedImage(){if(!this.canvasElement||!this.uploadedImage){return}const t=this.canvasElement.getContext("2d");if(!t){return}t.clearRect(0,0,this.canvasElement.width,this.canvasElement.height);const i=this.canvasElement.width;const e=this.canvasElement.height;const s=this.uploadedImage.width;const a=this.uploadedImage.height;const o=10;const d=i-o*2;const n=e-o*2;const r=d/s;const c=n/a;const l=Math.min(r,c);const h=s*l;const f=a*l;const u=(i-h)/2;const p=(e-f)/2;t.drawImage(this.uploadedImage,u,p,h,f)}render(){return e("verdocs-dialog",{key:"0b429c1bfa33dcb68c723632c9d41e804c1c9d4b"},e("div",{key:"25757ea5b5681d01e8ec795fca09c76f58765892",slot:"heading",class:"heading"},e("div",{key:"420d55c208a4a459de8d4f13f87549210425cadd",class:"icon"},e("svg",{key:"81dc9fc0cafbbdd3a528b8d3d30a3bbd4d1e60ac",width:"22",height:"19",viewBox:"0 0 22 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("g",{key:"e7ad29bdf97453171ac57e02512196b96f560a97","clip-path":"url(#clip0_34208_4881)"},e("path",{key:"3ffd7f641d18d97318c601f58e1b07593c8b9253",d:"M3.125 0.75C1.88398 0.75 0.875 1.75898 0.875 3V16.5C0.875 17.741 1.88398 18.75 3.125 18.75H12.125C13.366 18.75 14.375 17.741 14.375 16.5V15.8215C14.2801 15.8602 14.1852 15.8918 14.0867 15.9164L11.9738 16.4437C11.8684 16.4684 11.7629 16.4859 11.6574 16.493C11.6258 16.4965 11.5941 16.5 11.5625 16.5H9.3125C9.09805 16.5 8.90469 16.3805 8.80977 16.1906L8.50039 15.5684C8.44062 15.4488 8.32109 15.375 8.19102 15.375C8.06094 15.375 7.93789 15.4488 7.88164 15.5684L7.57227 16.1906C7.47031 16.398 7.24883 16.5211 7.02031 16.5C6.7918 16.4789 6.59492 16.3207 6.53164 16.1027L5.9375 14.1445L5.59297 15.2977C5.37852 16.0113 4.72109 16.5 3.97578 16.5H3.6875C3.37812 16.5 3.125 16.2469 3.125 15.9375C3.125 15.6281 3.37812 15.375 3.6875 15.375H3.97578C4.22539 15.375 4.44336 15.2133 4.51367 14.9742L5.0375 13.234C5.15703 12.8367 5.52266 12.5625 5.9375 12.5625C6.35234 12.5625 6.71797 12.8367 6.8375 13.234L7.24531 14.591C7.50547 14.373 7.83594 14.25 8.1875 14.25C8.74648 14.25 9.25625 14.5664 9.50586 15.0656L9.66055 15.375H9.97344C9.86445 15.0656 9.84336 14.7281 9.92422 14.3977L10.4516 12.2848C10.55 11.8875 10.7539 11.5289 11.0422 11.2406L14.375 7.90781V6.375H9.875C9.25273 6.375 8.75 5.87227 8.75 5.25V0.75H3.125ZM9.875 0.75V5.25H14.375L9.875 0.75ZM20.2039 5.66133C19.6555 5.11289 18.766 5.11289 18.2141 5.66133L17.1805 6.69492L19.6766 9.19102L20.7102 8.15742C21.2586 7.60898 21.2586 6.71953 20.7102 6.16758L20.2039 5.66133ZM11.8402 12.0352C11.6961 12.1793 11.5941 12.3586 11.5449 12.559L11.0176 14.6719C10.9684 14.8652 11.0246 15.0656 11.1652 15.2063C11.3059 15.3469 11.5062 15.4031 11.6996 15.3539L13.8125 14.8266C14.0094 14.7773 14.1922 14.6754 14.3363 14.5312L18.8785 9.98555L16.3824 7.48945L11.8402 12.0352Z",fill:"white"})),e("defs",{key:"40470a753022575342a62e03f355259ad2236dfd"},e("clipPath",{key:"fd8e87dfd3a0600ea8b00bcdea231c443db263e5",id:"clip0_34208_4881"},e("path",{key:"d37762121ab1516b637e23e68123181861f3430b",d:"M0.875 0.75H21.125V18.75H0.875V0.75Z",fill:"white"}))))),e("div",{key:"8aa8a867add1f97217926df053936afe94b72ffb",class:"title"},"Adopt Signature")),e("div",{key:"7c7ce2c4827272f4b6c42c103f78d79a9aab834a",slot:"content",class:"content"},e("div",{key:"f2f7ce37214d1f739f9a2444e65038ee2425dc01",class:"tabs"},e("div",{key:"ae94a1a76c04ffda86c9a300c0cb4ae2f967929c",class:{tab:true,active:this.mode==="type"},onClick:()=>this.mode="type"},e("div",{key:"50ae13bf5f04376c4e5842dc9752c30f383c213d",innerHTML:a,class:"icon"}),e("div",{key:"b7a2dedbead1f59695106a73c4683f40369dadc6"},"Type")),e("div",{key:"253b9d4506f901f8466eb593b80e99cbec7726c8",class:{tab:true,active:this.mode==="draw"},onClick:()=>this.mode="draw"},e("div",{key:"d9f5dbe36f7fa6052c7a3edad8ff471cb0738879",innerHTML:o,class:"icon"}),e("div",{key:"72e1ca881be3af547e0673733d39e771f9547bf4"},"Draw")),e("div",{key:"7d280ad986b9203c1c824942f620c7ac673a7974",class:{tab:true,active:this.mode==="upload"},onClick:()=>this.mode="upload"},e("div",{key:"673faa7a093acc843b4e67fb707c222ed22a7f33",innerHTML:d,class:"icon"}),e("div",{key:"3b5019ec93318c864a16712a4819ea528f1d6094"},"Upload"))),e("div",{key:"714cc6316f22bf01eeddf50cd1140333dde7240f",class:{type:true,active:this.mode==="type"}},e("verdocs-text-input",{key:"c986c98996c53f950b4b68369c19b0c897d13369",label:"Full Name",value:this.enteredName,placeholder:"Full Name...",description:"As shown on driver's license or govt. ID card.",onInput:t=>this.handleNameChange(t),onClick:t=>t.stopPropagation()})),e("div",{key:"78c8bd98c799038d87a99c749ca95641a501f875",class:{draw:true,active:this.mode==="draw"}},e("div",{key:"8542a85b7bb331c3e2df482ac49c5442e24deeaa",class:"draw-instructions"},"Draw your signature below using your mouse or finger"),e("div",{key:"3950ea157e7be7a82cee715eb7abff1a44c5e680",class:"draw-actions"},e("button",{key:"c0824acb635bbd01bd6084b1b8c5421834a3b9e8",class:"clear-button",onClick:t=>this.handleClearDrawing(t),disabled:!this.hasDrawnSignature},"Clear"))),e("div",{key:"da28e645bf706d21669062b1b348d2f4c65db574",class:{upload:true,active:this.mode==="upload"}},e("div",{key:"33432f5f771a961cbd04a1a459ab3e1c436a3796",class:"upload-instructions"},"Upload a PNG image of your signature"),e("input",{key:"5272fc359e5ea2c9d08444a6dee7939af0c85ee9",ref:t=>this.fileInputElement=t,type:"file",accept:"image/png",onChange:this.handleFileChange,style:{display:"none"}}),e("div",{key:"c8a861ccac56394d5d2b412b261a0fa7abc08c6f",class:"upload-actions"},e("button",{key:"20130f1880990ead83064dc586cc98d1303e9f82",class:"upload-button",onClick:this.handleSelectFile},this.hasUploadedImage?"Change Image":"Select PNG File"),this.hasUploadedImage&&e("button",{key:"441f205d01eadc47add35a2fe07bfd550c47aaeb",class:"clear-button",onClick:this.handleClearUpload},"Clear")),this.uploadedFileName&&e("div",{key:"3d724075c22a178c440db88464cc7c1197ce74a3",class:"upload-filename"},this.uploadedFileName)),e("canvas",{key:"f9bbe470d83ca03666e87455b4c4f73865afff28",ref:t=>this.canvasElement=t,width:"300",height:"79",onPointerDown:this.handlePointerDown,onPointerMove:this.handlePointerMove,onPointerUp:this.handlePointerUp,onPointerCancel:this.handlePointerCancel,style:{touchAction:"none",cursor:"crosshair"}}),e("div",{key:"8e309f8f6b19b76e892c9320172e0f2a8db10e9c",class:"disclaimer"},"By clicking Adopt, I agree that the signature will be the electronic representation of my signature for all purposes when I (or my agent) use them on documents, including legally binding contracts — just the same as a pen-and-paper signature or initial.")),e("div",{key:"107dd5abf82744aadd7dc551b648488d444eb33c",class:"footer",slot:"footer"},e("div",{key:"f10d17289c2884bd8602d4637ce60d8345310c82",class:"buttons"},e("button",{key:"761f72f1a011c5dbf2d3a8f0491ddae4b6f5b924",class:"cancel",onClick:t=>this.handleCancel(t)},"Cancel"),e("button",{key:"8f93fa813735bda38eef39694986501e7a70067a",class:"proceed",onClick:t=>this.handleAdopt(t),disabled:this.isAdoptButtonDisabled()},"Adopt & Sign"))))}};n.style=s;export{n as verdocs_signature_dialog};
2
+ //# sourceMappingURL=p-0ef67e84.entry.js.map
@@ -1,2 +1,2 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function o(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function c(t){try{s(n.next(t))}catch(t){r(t)}}function a(t){try{s(n["throw"](t))}catch(t){r(t)}}function s(t){t.done?i(t.value):o(t.value).then(c,a)}s((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,o,r,c=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return c.next=a(0),c["throw"]=a(1),c["return"]=a(2),typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function a(t){return function(e){return s([t,e])}}function s(a){if(n)throw new TypeError("Generator is already executing.");while(c&&(c=0,a[0]&&(i=0)),i)try{if(n=1,o&&(r=a[0]&2?o["return"]:a[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;if(o=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;o=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){i.label=a[1];break}if(a[0]===6&&i.label<r[1]){i.label=r[1];r=a;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(a);break}if(r[2])i.ops.pop();i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t];o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-BO6MZhlp.system.js","./p-C06jLDFm.system.js","./p-Dj475wLP.system.js","./p-Bzy18UgU.system.js"],(function(t){"use strict";var e,i,n,o,r,c,a;return{setters:[function(t){e=t.r;i=t.h;n=t.H;o=t.g},function(t){r=t.A;c=t.l},function(t){a=t.V},null],execute:function(){var s='verdocs-text-input{font-family:"Inter", "Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0 0 10px 0;display:block}verdocs-text-input .input-element{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #707ae5;border-radius:4px;background:#ffffff;color:#000;width:100%;font-size:16px;height:34px;padding:0 9px;outline:none}verdocs-text-input .input-element:disabled{cursor:not-allowed;background:#aeb4bf;border:1px solid #33364b}verdocs-text-input .input-element::-webkit-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-moz-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:focus{outline:1px solid #7d88ff}verdocs-text-input .input-label{display:block;color:#555570;font-weight:700;font-size:14px;margin:0 0 4px 0}verdocs-text-input .required{color:red;margin-left:2px;display:inline-block}verdocs-text-input [data-lastpass-icon-root]{display:none !important}verdocs-text-input .input-container{position:relative}verdocs-text-input .clear{top:7px;right:5px;width:18px;height:18px;fill:#cccccc;position:absolute}verdocs-text-input .clear:hover{fill:#720101;cursor:pointer}verdocs-text-input .copy{top:7px;right:5px;width:18px;height:18px;fill:#cccccc;position:absolute}verdocs-text-input .copy:hover{fill:#654dcb;cursor:pointer}verdocs-text-input .toggle-pw{top:5px;right:7px;width:18px;height:18px;stroke:#cccccc;position:absolute}verdocs-text-input .toggle-pw:hover{fill:#654dcb;cursor:pointer}verdocs-text-input.clearable .input-element,verdocs-text-input.copyable .input-element{padding-right:32px}';var u=t("verdocs_date_input",function(){function t(t){e(this,t);this.picker=null;this.value="";this.label="";this.placeholder="";this.helpText="";this.disabled=false;this.required=false;this.showingPw=false;this.focused=false;this.containerId="verdocs-date-input-".concat(Math.random().toString(36).substring(2,11))}t.prototype.focusField=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){this.focused=true;(t=this.picker)===null||t===void 0?void 0:t.show();setTimeout((function(){e.focused=false}),500);return[2]}))}))};t.prototype.componentDidLoad=function(){var t=this;this.picker=new r("#".concat(this.containerId),{locale:c,isMobile:true,autoClose:true,onShow:function(){return t.focused=true},onHide:function(){return t.focused=false},onSelect:function(e){var i=e.date,n=e.formattedDate;var o=new CustomEvent("input",{detail:{date:i,formattedDate:n}});t.hostEl.dispatchEvent(o)}})};t.prototype.copyToClipboard=function(){this.inputEl.select();navigator.clipboard.writeText(this.value).then((function(){return a("Copied!")})).catch((function(t){return console.log("Error copying to clipboard",t)}))};t.prototype.render=function(){var t=this;return i(n,{key:"a71872f25c3fbfdb8837f546340edd2324f141f9",class:"input-field"},i("label",{key:"68b0b363d48c045f6a6124467c81e3c8af7f6321"},this.label&&i("div",{key:"6cfe44246b5776315772da522b27482c362df563",class:"input-label"},this.label+":",this.required&&i("span",{key:"9c02382715b89aa7c8f1c4efd6e9e1e54cec6692",class:"required"},"*")),i("div",{key:"56e31da5bc7c6206a9f1045ad6317f6b95ca2206",class:"input-container"},i("input",{key:"bdca818f5c8df445d9e63c6597cc75d0634096f1",type:"text",value:this.value,required:this.required,class:"input-element","data-lpignore":"true",id:this.containerId,disabled:this.disabled,placeholder:this.placeholder,ref:function(e){return t.inputEl=e},onInput:function(e){return t.value=e.target.value}})),this.helpText&&i("verdocs-help-icon",{key:"712354ce917bb818033fa6cd95dc2bf50daf678f",text:this.helpText})))};Object.defineProperty(t.prototype,"hostEl",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());u.style=s}}}));
2
- //# sourceMappingURL=p-3295f0be.system.entry.js.map
1
+ var __awaiter=this&&this.__awaiter||function(t,e,i,n){function o(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function c(t){try{s(n.next(t))}catch(t){r(t)}}function a(t){try{s(n["throw"](t))}catch(t){r(t)}}function s(t){t.done?i(t.value):o(t.value).then(c,a)}s((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,o,r,c=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return c.next=a(0),c["throw"]=a(1),c["return"]=a(2),typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function a(t){return function(e){return s([t,e])}}function s(a){if(n)throw new TypeError("Generator is already executing.");while(c&&(c=0,a[0]&&(i=0)),i)try{if(n=1,o&&(r=a[0]&2?o["return"]:a[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;if(o=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;o=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){i.label=a[1];break}if(a[0]===6&&i.label<r[1]){i.label=r[1];r=a;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(a);break}if(r[2])i.ops.pop();i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t];o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-BO6MZhlp.system.js","./p-C06jLDFm.system.js","./p-Dj475wLP.system.js","./p-Bzy18UgU.system.js"],(function(t){"use strict";var e,i,n,o,r,c,a;return{setters:[function(t){e=t.r;i=t.h;n=t.H;o=t.g},function(t){r=t.A;c=t.l},function(t){a=t.V},null],execute:function(){var s='verdocs-text-input{font-family:"Inter", "Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0 0 10px 0;display:block}verdocs-text-input .input-element{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #707ae5;border-radius:4px;background:#ffffff;color:#000;width:100%;font-size:16px;height:34px;padding:0 9px;outline:none}verdocs-text-input .input-element:disabled{cursor:not-allowed;background:#aeb4bf;border:1px solid #33364b}verdocs-text-input .input-element::-webkit-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-moz-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:focus{outline:1px solid #7d88ff}verdocs-text-input .input-label{display:block;color:#555570;font-weight:700;font-size:14px;margin:0 0 4px 0}verdocs-text-input .required{color:red;margin-left:2px;display:inline-block}verdocs-text-input [data-lastpass-icon-root]{display:none !important}verdocs-text-input .input-container{position:relative}verdocs-text-input .clear{top:7px;right:5px;width:18px;height:18px;fill:#cccccc;position:absolute}verdocs-text-input .clear:hover{fill:#720101;cursor:pointer}verdocs-text-input .copy{top:7px;right:5px;width:18px;height:18px;fill:#cccccc;position:absolute}verdocs-text-input .copy:hover{fill:#003380;cursor:pointer}verdocs-text-input .toggle-pw{top:5px;right:7px;width:18px;height:18px;stroke:#cccccc;position:absolute}verdocs-text-input .toggle-pw:hover{fill:#003380;cursor:pointer}verdocs-text-input.clearable .input-element,verdocs-text-input.copyable .input-element{padding-right:32px}';var u=t("verdocs_date_input",function(){function t(t){e(this,t);this.picker=null;this.value="";this.label="";this.placeholder="";this.helpText="";this.disabled=false;this.required=false;this.showingPw=false;this.focused=false;this.containerId="verdocs-date-input-".concat(Math.random().toString(36).substring(2,11))}t.prototype.focusField=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){this.focused=true;(t=this.picker)===null||t===void 0?void 0:t.show();setTimeout((function(){e.focused=false}),500);return[2]}))}))};t.prototype.componentDidLoad=function(){var t=this;this.picker=new r("#".concat(this.containerId),{locale:c,isMobile:true,autoClose:true,onShow:function(){return t.focused=true},onHide:function(){return t.focused=false},onSelect:function(e){var i=e.date,n=e.formattedDate;var o=new CustomEvent("input",{detail:{date:i,formattedDate:n}});t.hostEl.dispatchEvent(o)}})};t.prototype.copyToClipboard=function(){this.inputEl.select();navigator.clipboard.writeText(this.value).then((function(){return a("Copied!")})).catch((function(t){return console.log("Error copying to clipboard",t)}))};t.prototype.render=function(){var t=this;return i(n,{key:"a71872f25c3fbfdb8837f546340edd2324f141f9",class:"input-field"},i("label",{key:"68b0b363d48c045f6a6124467c81e3c8af7f6321"},this.label&&i("div",{key:"6cfe44246b5776315772da522b27482c362df563",class:"input-label"},this.label+":",this.required&&i("span",{key:"9c02382715b89aa7c8f1c4efd6e9e1e54cec6692",class:"required"},"*")),i("div",{key:"56e31da5bc7c6206a9f1045ad6317f6b95ca2206",class:"input-container"},i("input",{key:"bdca818f5c8df445d9e63c6597cc75d0634096f1",type:"text",value:this.value,required:this.required,class:"input-element","data-lpignore":"true",id:this.containerId,disabled:this.disabled,placeholder:this.placeholder,ref:function(e){return t.inputEl=e},onInput:function(e){return t.value=e.target.value}})),this.helpText&&i("verdocs-help-icon",{key:"712354ce917bb818033fa6cd95dc2bf50daf678f",text:this.helpText})))};Object.defineProperty(t.prototype,"hostEl",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());u.style=s}}}));
2
+ //# sourceMappingURL=p-185d0d83.system.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,c as i,h as s,H as t,g as o}from"./p-BIRwgFLv.js";import{integerSequence as r}from"@verdocs/js-sdk";import{b as n}from"./p-D-UAsibj.js";import{c as l}from"./p-BfP9ezJQ.js";import"./p-dzBXqXlK.js";import"./p-BqoC0yeA.js";const a='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}';const c=`<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>`;const d=`<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>`;const f=5;const p=({page:e,selected:i,onClick:t})=>{let o;if(e==="first"){o=c}else if(e==="last"){o=d}else{o=String(e+1)}return s("div",{class:`page-button ${e===i?"selected":""}`,onClick:()=>t(e),innerHTML:o})};const h=class n{constructor(s){e(this,s);this.selectPage=i(this,"selectPage");this.selectedPage=0;this.itemCount=1;this.perPage=10}handleSelectPage(e){var i;this.selectedPage=e;(i=this.selectPage)===null||i===void 0?void 0:i.emit({selectedPage:e})}render(){const e=Math.max(0,this.selectedPage-2);const i=this.itemCount>0?Math.ceil(this.itemCount/this.perPage):0;const o=r(0,Math.ceil(this.itemCount/this.perPage)).slice(e,e+f);return s(t,{key:"2ce45159b092a0283f247e7098931fcd34eebb99"},this.selectedPage>0&&s(p,{key:"0bec38eb497b2feef1c98fd73b682f997d68ac5b",page:"first",selected:this.selectedPage,onClick:()=>this.handleSelectPage(0)}),e>0&&s("div",{key:"706e4de3571b6b3883df226d300cfb9ae358c8b3",class:"ellipsis"},"..."),o.map((e=>s(p,{page:e,selected:this.selectedPage,onClick:e=>this.handleSelectPage(+e)}))),this.selectedPage<i-1&&s("div",{key:"9249824a3700ec561f6707e2a8fc4ebbf2362633",class:"ellipsis"},"..."),this.selectedPage<i-1&&s(p,{key:"d1051af6279d1e864ea39cfd087c7295739e2619",page:"last",selected:this.selectedPage,onClick:()=>this.handleSelectPage(i-1)}))}get el(){return o(this)}};h.style=a;const b='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)}';const 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>`;const v=class{constructor(s){e(this,s);this.optionSelected=i(this,"optionSelected");this.options=[];this.label="Filter";this.value="";this.placeholder="Select...";this.clickListenerSymbol=new AbortController}componentDidLoad(){this.popper=l(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})}disconnectedCallback(){this.clickListenerSymbol.abort()}clickListener(e){const i=!(e.target==this.el||this.el.contains(e.target));if(i){this.hide()}}handleSelectOption(e,i){e.stopPropagation();this.optionSelected.emit(i);this.value=i.value;this.hide()}showDropdown(){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((e=>({...e,modifiers:[...e.modifiers,{name:"eventListeners",enabled:true}]}))).catch((()=>{}));(i=this.popper)===null||i===void 0?void 0:i.update().catch((()=>{}))}handleHideDropdown(e){var i,s;if(((i=e===null||e===void 0?void 0:e.target)===null||i===void 0?void 0:i.localName)==="button"&&((s=e===null||e===void 0?void 0:e.target)===null||s===void 0?void 0:s.className)==="arrow"){return}this.hide()}toggleDropdown(e){e.stopPropagation();if(this.open){this.hide()}else{this.showDropdown()}}hide(){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((e=>({...e,modifiers:[...e.modifiers,{name:"eventListeners",enabled:false}]}))).catch((()=>{}))}render(){var e,i,o;const r=(e=this.options)===null||e===void 0?void 0:e.find((e=>e.value===this.value));const l=(i=this.options)===null||i===void 0?void 0:i.reduce(((e,i)=>e.label.length>i.label.length?e:i));const a=n((l===null||l===void 0?void 0:l.label)||"FILLER","14px Inter, Barlow, sans-serif");const c=n(this.label,"14px Inter, Barlow, sans-serif");const d=`${a+c+40}px`;return s(t,{key:"1c36fa8fc641b1ea151674355b821055a3b4cc30",class:{open:!!this.open},style:{minWidth:d,display:"inline-block"}},s("div",{key:"ed2bf8915fdd7edb695d52e53db76797a12bc33f",class:"control",onClick:e=>this.toggleDropdown(e),onBlur:e=>this.handleHideDropdown(e)},s("div",{key:"0dd12d9a579fe290bd4e4becd3c0ed64c4484283",class:"title",ref:e=>this.dropdownButton=e},s("span",{key:"cf826e7133f800846d17e50200777f3d5fb1e61e",class:"prefix"},this.label,":"),r?r.label:this.placeholder),s("div",{key:"333f6a9b3d788f280e03b53a87256b37c5428642",style:{flex:"1"}}),s("div",{key:"901cf0e9924f257d8e2499e9233f209a3665206c",class:"separator"}),s("div",{key:"0bab9931c19151fd63452e18c0f4ddb9ec76863a",class:"arrow",innerHTML:x,"aria-label":"Open Menu"})),s("div",{key:"ee83f08945fa61bf413ab231f55c0e34a0ae75c8",class:"items","aria-hidden":!this.open,ref:e=>this.dropdownMenu=e,style:{minWidth:d}},(o=this.options)===null||o===void 0?void 0:o.map((e=>e.label?s("button",{onClick:i=>this.handleSelectOption(i,e),class:`option ${e.value===this.value?"selected":""}`,disabled:e.disabled},e.label):s("div",{class:"separator"})))))}get el(){return o(this)}};v.style=b;export{h as verdocs_pagination,v as verdocs_quick_filter};
2
- //# sourceMappingURL=p-83de45ef.entry.js.map
1
+ import{r as e,c as i,h as s,H as t,g as o}from"./p-BIRwgFLv.js";import{integerSequence as r}from"@verdocs/js-sdk";import{b as n}from"./p-D-UAsibj.js";import{c as l}from"./p-BfP9ezJQ.js";import"./p-dzBXqXlK.js";import"./p-BqoC0yeA.js";const a='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 #003380}verdocs-pagination .page-button svg{width:18px;height:18px}verdocs-pagination .page-button.selected{cursor:default;color:#ffffff;background:#003380}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}';const c=`<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>`;const d=`<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>`;const f=5;const p=({page:e,selected:i,onClick:t})=>{let o;if(e==="first"){o=c}else if(e==="last"){o=d}else{o=String(e+1)}return s("div",{class:`page-button ${e===i?"selected":""}`,onClick:()=>t(e),innerHTML:o})};const h=class n{constructor(s){e(this,s);this.selectPage=i(this,"selectPage");this.selectedPage=0;this.itemCount=1;this.perPage=10}handleSelectPage(e){var i;this.selectedPage=e;(i=this.selectPage)===null||i===void 0?void 0:i.emit({selectedPage:e})}render(){const e=Math.max(0,this.selectedPage-2);const i=this.itemCount>0?Math.ceil(this.itemCount/this.perPage):0;const o=r(0,Math.ceil(this.itemCount/this.perPage)).slice(e,e+f);return s(t,{key:"2ce45159b092a0283f247e7098931fcd34eebb99"},this.selectedPage>0&&s(p,{key:"0bec38eb497b2feef1c98fd73b682f997d68ac5b",page:"first",selected:this.selectedPage,onClick:()=>this.handleSelectPage(0)}),e>0&&s("div",{key:"706e4de3571b6b3883df226d300cfb9ae358c8b3",class:"ellipsis"},"..."),o.map((e=>s(p,{page:e,selected:this.selectedPage,onClick:e=>this.handleSelectPage(+e)}))),this.selectedPage<i-1&&s("div",{key:"9249824a3700ec561f6707e2a8fc4ebbf2362633",class:"ellipsis"},"..."),this.selectedPage<i-1&&s(p,{key:"d1051af6279d1e864ea39cfd087c7295739e2619",page:"last",selected:this.selectedPage,onClick:()=>this.handleSelectPage(i-1)}))}get el(){return o(this)}};h.style=a;const b='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)}';const 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>`;const v=class{constructor(s){e(this,s);this.optionSelected=i(this,"optionSelected");this.options=[];this.label="Filter";this.value="";this.placeholder="Select...";this.clickListenerSymbol=new AbortController}componentDidLoad(){this.popper=l(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})}disconnectedCallback(){this.clickListenerSymbol.abort()}clickListener(e){const i=!(e.target==this.el||this.el.contains(e.target));if(i){this.hide()}}handleSelectOption(e,i){e.stopPropagation();this.optionSelected.emit(i);this.value=i.value;this.hide()}showDropdown(){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((e=>({...e,modifiers:[...e.modifiers,{name:"eventListeners",enabled:true}]}))).catch((()=>{}));(i=this.popper)===null||i===void 0?void 0:i.update().catch((()=>{}))}handleHideDropdown(e){var i,s;if(((i=e===null||e===void 0?void 0:e.target)===null||i===void 0?void 0:i.localName)==="button"&&((s=e===null||e===void 0?void 0:e.target)===null||s===void 0?void 0:s.className)==="arrow"){return}this.hide()}toggleDropdown(e){e.stopPropagation();if(this.open){this.hide()}else{this.showDropdown()}}hide(){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((e=>({...e,modifiers:[...e.modifiers,{name:"eventListeners",enabled:false}]}))).catch((()=>{}))}render(){var e,i,o;const r=(e=this.options)===null||e===void 0?void 0:e.find((e=>e.value===this.value));const l=(i=this.options)===null||i===void 0?void 0:i.reduce(((e,i)=>e.label.length>i.label.length?e:i));const a=n((l===null||l===void 0?void 0:l.label)||"FILLER","14px Inter, Barlow, sans-serif");const c=n(this.label,"14px Inter, Barlow, sans-serif");const d=`${a+c+40}px`;return s(t,{key:"1c36fa8fc641b1ea151674355b821055a3b4cc30",class:{open:!!this.open},style:{minWidth:d,display:"inline-block"}},s("div",{key:"ed2bf8915fdd7edb695d52e53db76797a12bc33f",class:"control",onClick:e=>this.toggleDropdown(e),onBlur:e=>this.handleHideDropdown(e)},s("div",{key:"0dd12d9a579fe290bd4e4becd3c0ed64c4484283",class:"title",ref:e=>this.dropdownButton=e},s("span",{key:"cf826e7133f800846d17e50200777f3d5fb1e61e",class:"prefix"},this.label,":"),r?r.label:this.placeholder),s("div",{key:"333f6a9b3d788f280e03b53a87256b37c5428642",style:{flex:"1"}}),s("div",{key:"901cf0e9924f257d8e2499e9233f209a3665206c",class:"separator"}),s("div",{key:"0bab9931c19151fd63452e18c0f4ddb9ec76863a",class:"arrow",innerHTML:x,"aria-label":"Open Menu"})),s("div",{key:"ee83f08945fa61bf413ab231f55c0e34a0ae75c8",class:"items","aria-hidden":!this.open,ref:e=>this.dropdownMenu=e,style:{minWidth:d}},(o=this.options)===null||o===void 0?void 0:o.map((e=>e.label?s("button",{onClick:i=>this.handleSelectOption(i,e),class:`option ${e.value===this.value?"selected":""}`,disabled:e.disabled},e.label):s("div",{class:"separator"})))))}get el(){return o(this)}};v.style=b;export{h as verdocs_pagination,v as verdocs_quick_filter};
2
+ //# sourceMappingURL=p-393f3ba5.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as o,h as e}from"./p-BIRwgFLv.js";const t='verdocs-toggle{font-family:"Inter", "Barlow", sans-serif}verdocs-toggle .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#f5f5fa}verdocs-toggle .label{font-size:24px;font-weight:700;color:#33354c;-ms-flex-item-align:center;align-self:center;margin-right:27px;font-family:sans-serif}verdocs-toggle .buttons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}verdocs-toggle .buttons button{width:60px;height:60px;border:2px solid #654dcb;border-radius:5px;cursor:pointer}verdocs-toggle .buttons button:not(:last-child){margin-right:11px}verdocs-toggle .buttons svg{width:30px;height:30px}verdocs-toggle .buttons button:hover{background-color:#654dcb;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .buttons button:hover svg{fill:#f5f5fa;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected{background-color:#707ae5;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected svg{fill:#ffffff;-webkit-transition:0.25s;transition:0.25s}';const s=class{constructor(e){o(this,e);this.selectedOption=0}componentWillLoad(){var o;console.log("verdocs-toggle componentWillLoad",this.options);this.selectedOption=((o=this.options)===null||o===void 0?void 0:o.defaultSelection)||0}render(){return e("div",{key:"7485d894feb67041d4e21b393733508d07ef11fd",class:"container"},e("span",{key:"89511ad3f7b70c46c3981fef93816396e41eb717",class:"label"},`${this.options.label}:`),e("div",{key:"090efe730dfc6dd43f521bc95da73b9554afef1d",class:"buttons"},this.options.buttons.map(((o,t)=>e("button",{id:o.id,key:o.id,innerHTML:o.icon,class:t===this.selectedOption?"selected":"",onClick:()=>{console.log("clicked",t);this.selectedOption=t}})))))}};s.style=t;export{s as verdocs_toggle};
2
- //# sourceMappingURL=p-ea856630.entry.js.map
1
+ import{r as o,h as e}from"./p-BIRwgFLv.js";const t='verdocs-toggle{font-family:"Inter", "Barlow", sans-serif}verdocs-toggle .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#f5f5fa}verdocs-toggle .label{font-size:24px;font-weight:700;color:#33354c;-ms-flex-item-align:center;align-self:center;margin-right:27px;font-family:sans-serif}verdocs-toggle .buttons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}verdocs-toggle .buttons button{width:60px;height:60px;border:2px solid #003380;border-radius:5px;cursor:pointer}verdocs-toggle .buttons button:not(:last-child){margin-right:11px}verdocs-toggle .buttons svg{width:30px;height:30px}verdocs-toggle .buttons button:hover{background-color:#003380;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .buttons button:hover svg{fill:#f5f5fa;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected{background-color:#707ae5;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected svg{fill:#ffffff;-webkit-transition:0.25s;transition:0.25s}';const s=class{constructor(e){o(this,e);this.selectedOption=0}componentWillLoad(){var o;console.log("verdocs-toggle componentWillLoad",this.options);this.selectedOption=((o=this.options)===null||o===void 0?void 0:o.defaultSelection)||0}render(){return e("div",{key:"7485d894feb67041d4e21b393733508d07ef11fd",class:"container"},e("span",{key:"89511ad3f7b70c46c3981fef93816396e41eb717",class:"label"},`${this.options.label}:`),e("div",{key:"090efe730dfc6dd43f521bc95da73b9554afef1d",class:"buttons"},this.options.buttons.map(((o,t)=>e("button",{id:o.id,key:o.id,innerHTML:o.icon,class:t===this.selectedOption?"selected":"",onClick:()=>{console.log("clicked",t);this.selectedOption=t}})))))}};s.style=t;export{s as verdocs_toggle};
2
+ //# sourceMappingURL=p-3c056583.entry.js.map
@@ -1,2 +1,2 @@
1
- System.register(["./p-BO6MZhlp.system.js"],(function(e){"use strict";var a,t,c;return{setters:[function(e){a=e.r;t=e.h;c=e.H}],execute:function(){var o='verdocs-template-card{font-family:"Inter", "Barlow", sans-serif;width:320px;height:320px;display:-ms-flexbox;display:flex;padding:25px;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-direction:column;flex-direction:column;background-color:#ffffff;-webkit-box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05);box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05)}verdocs-template-card .thumbnail{width:272px;height:158px;-o-object-fit:cover;object-fit:cover;margin-bottom:22px;-o-object-position:-20% 0;object-position:-20% 0}verdocs-template-card .name{font-size:18px;font-weight:700;margin-bottom:7px}verdocs-template-card .org-name{font-size:14px;font-weight:700;margin-bottom:6px}verdocs-template-card hr{width:100%;margin-bottom:17px;background-color:#aeb4bf}verdocs-template-card .controls{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;text-align:center;font-size:16px}verdocs-template-card .controls .control{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;margin-right:8px;-ms-flex-align:start;align-items:flex-start;border-right:1px solid #aeb4bf}verdocs-template-card .controls .control.secondary{-ms-flex-pack:center;justify-content:center}verdocs-template-card .controls .control svg{fill:#aeb4bf;height:16px;max-width:16px;margin:0 8px -2px 0}verdocs-template-card .additional-controls svg{margin-right:0;fill:#654dcb}';var s='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg>';var i='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"/></svg>';var l='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4H8c-1.1 0-1.99.9-1.99 2L6 21c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V11l-6-6zM8 21V7h6v5h5v9H8z"/></svg>';var d='<svg width="31" height="29" viewBox="0 0 31 29" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_31553_1553)"><path d="M30.886 11.4917C30.8916 11.0917 30.753 10.7034 30.4962 10.3993C30.2394 10.0953 29.882 9.8964 29.4908 9.83995L29.5182 9.65005L29.4908 9.83995L21.0938 8.60261L17.3412 0.912551C17.2067 0.638179 16.9992 0.407285 16.7421 0.245866C16.485 0.0844465 16.1885 -0.00111389 15.886 -0.00111389C15.5835 -0.00111389 15.287 0.0844465 15.0299 0.245866C14.7728 0.407285 14.5653 0.638179 14.4308 0.912551L10.6781 8.60261L2.28121 9.8392C1.89206 9.89475 1.53611 10.0916 1.2796 10.3931C1.02308 10.6945 0.88348 11.08 0.886776 11.4779C0.886447 11.6961 0.929977 11.912 1.01472 12.1125C1.09946 12.3131 1.22363 12.4941 1.37968 12.6445L7.45563 18.5744L6.01943 27.0241C6.00289 27.1258 5.99449 27.2287 5.99435 27.3317C5.99313 27.7717 6.16395 28.1943 6.4695 28.5071C6.77505 28.82 7.19045 28.9976 7.62496 29.0013C7.88846 29.0008 8.14779 28.9345 8.37992 28.8083L15.8883 24.8217L23.3967 28.8114C23.6287 28.9361 23.8873 29.0015 24.15 29.002C24.5752 28.9998 24.9832 28.8318 25.2893 28.5329C25.4452 28.3832 25.5695 28.2029 25.6544 28.003C25.7392 27.8031 25.783 27.5878 25.783 27.3702C25.7827 27.2731 25.7743 27.176 25.7579 27.0803L24.3209 18.6296L30.3931 12.7022C30.7094 12.3809 30.8867 11.9454 30.886 11.4917ZM22.0759 17.53L21.9437 17.3916L22.0759 17.53C22.0072 17.5977 21.9525 17.6787 21.9152 17.7681C21.8779 17.8575 21.8587 17.9536 21.8587 18.0506L21.8693 18.1737L23.2037 26.0237L16.2164 22.3148C16.1136 22.2602 15.9994 22.2317 15.8833 22.2317C15.7673 22.2317 15.653 22.2602 15.5503 22.3148L8.57132 26.0245L9.90651 18.1745L9.91712 18.0506C9.91696 17.9536 9.89768 17.8576 9.86038 17.7682C9.82308 17.6788 9.76851 17.5978 9.6999 17.53L4.05538 11.9724L11.8576 10.8258C11.9725 10.8088 12.0816 10.7638 12.1755 10.6947C12.2695 10.6256 12.3454 10.5344 12.3969 10.429L15.886 3.27721L19.3797 10.429C19.4313 10.5344 19.5074 10.6256 19.6014 10.6948C19.6955 10.7639 19.8047 10.8088 19.9197 10.8258L27.7197 11.9747L22.0759 17.53Z" fill="#ADB6BD"/></g><defs><clipPath id="clip0_31553_1553"><rect width="30" height="29" fill="white" transform="translate(0.886719)"/></clipPath></defs></svg>';var n=e("verdocs_template_card",function(){function e(e){a(this,e)}e.prototype.render=function(){var e,a,o,n;return t(c,{key:"7884bd4dfaf70cc312256386c0f8a90651401df8"},t("span",{key:"4c3183500b6efcbb73a5917c56623c62503555b5",class:"name"},this.template.name),t("span",{key:"ca3bd706769d72fbb25a5e8ae19ed25ef7592521",class:"org-name"},((e=this.template.organization)===null||e===void 0?void 0:e.name)||"Public"),t("hr",{key:"33a2eeba3fceaf813d7f04c9a6fd357d9c41f177"}),t("div",{key:"c2814d0d907084ea15dad6b6c25fa0ef85e35561",class:"controls"},t("div",{key:"118f420140acf1fcea907e9c01685d0831675aa5",class:"control"},t("span",{key:"db28ba367924647678ebf34e832bbffbb28fc8e8",class:"icon",innerHTML:d}),t("span",{key:"3ef06b3d596c44e91cb40cf62ed7d84ffb1f957e",class:"value"},this.template.star_counter)),t("div",{key:"90d9f95e9006ad113e81e7126bb0f34328086627",class:"control secondary"},t("span",{key:"7ef5e850922cf0d1344e0a9409e21ca6c5099af1",class:"icon",innerHTML:l}),t("span",{key:"e3da96d537734cbaac9c44a558f1c7f3d2f844de",class:"value"},((n=(o=(a=this.template)===null||a===void 0?void 0:a.documents)===null||o===void 0?void 0:o[0])===null||n===void 0?void 0:n.pages)||1)),t("div",{key:"0f0f7943033830845e2af8ae52198b6a564ff8ee",class:"control secondary"},t("span",{key:"7f7227c12666555fdc1c99584a99e0e980779954",class:"icon",innerHTML:i}),t("span",{key:"c5fd8dfdf7dd4a5c52709c9d7d53788414f24be1",class:"value"},this.template.counter)),t("span",{key:"d96d0dfcb9730d5eab719a3d6b0e1b538719de6d",class:"additional-controls",innerHTML:s})))};return e}());n.style=o}}}));
2
- //# sourceMappingURL=p-49731815.system.entry.js.map
1
+ System.register(["./p-BO6MZhlp.system.js"],(function(e){"use strict";var a,t,c;return{setters:[function(e){a=e.r;t=e.h;c=e.H}],execute:function(){var o='verdocs-template-card{font-family:"Inter", "Barlow", sans-serif;width:320px;height:320px;display:-ms-flexbox;display:flex;padding:25px;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-direction:column;flex-direction:column;background-color:#ffffff;-webkit-box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05);box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05)}verdocs-template-card .thumbnail{width:272px;height:158px;-o-object-fit:cover;object-fit:cover;margin-bottom:22px;-o-object-position:-20% 0;object-position:-20% 0}verdocs-template-card .name{font-size:18px;font-weight:700;margin-bottom:7px}verdocs-template-card .org-name{font-size:14px;font-weight:700;margin-bottom:6px}verdocs-template-card hr{width:100%;margin-bottom:17px;background-color:#aeb4bf}verdocs-template-card .controls{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;text-align:center;font-size:16px}verdocs-template-card .controls .control{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;margin-right:8px;-ms-flex-align:start;align-items:flex-start;border-right:1px solid #aeb4bf}verdocs-template-card .controls .control.secondary{-ms-flex-pack:center;justify-content:center}verdocs-template-card .controls .control svg{fill:#aeb4bf;height:16px;max-width:16px;margin:0 8px -2px 0}verdocs-template-card .additional-controls svg{margin-right:0;fill:#003380}';var s='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg>';var i='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"/></svg>';var l='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4H8c-1.1 0-1.99.9-1.99 2L6 21c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V11l-6-6zM8 21V7h6v5h5v9H8z"/></svg>';var d='<svg width="31" height="29" viewBox="0 0 31 29" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_31553_1553)"><path d="M30.886 11.4917C30.8916 11.0917 30.753 10.7034 30.4962 10.3993C30.2394 10.0953 29.882 9.8964 29.4908 9.83995L29.5182 9.65005L29.4908 9.83995L21.0938 8.60261L17.3412 0.912551C17.2067 0.638179 16.9992 0.407285 16.7421 0.245866C16.485 0.0844465 16.1885 -0.00111389 15.886 -0.00111389C15.5835 -0.00111389 15.287 0.0844465 15.0299 0.245866C14.7728 0.407285 14.5653 0.638179 14.4308 0.912551L10.6781 8.60261L2.28121 9.8392C1.89206 9.89475 1.53611 10.0916 1.2796 10.3931C1.02308 10.6945 0.88348 11.08 0.886776 11.4779C0.886447 11.6961 0.929977 11.912 1.01472 12.1125C1.09946 12.3131 1.22363 12.4941 1.37968 12.6445L7.45563 18.5744L6.01943 27.0241C6.00289 27.1258 5.99449 27.2287 5.99435 27.3317C5.99313 27.7717 6.16395 28.1943 6.4695 28.5071C6.77505 28.82 7.19045 28.9976 7.62496 29.0013C7.88846 29.0008 8.14779 28.9345 8.37992 28.8083L15.8883 24.8217L23.3967 28.8114C23.6287 28.9361 23.8873 29.0015 24.15 29.002C24.5752 28.9998 24.9832 28.8318 25.2893 28.5329C25.4452 28.3832 25.5695 28.2029 25.6544 28.003C25.7392 27.8031 25.783 27.5878 25.783 27.3702C25.7827 27.2731 25.7743 27.176 25.7579 27.0803L24.3209 18.6296L30.3931 12.7022C30.7094 12.3809 30.8867 11.9454 30.886 11.4917ZM22.0759 17.53L21.9437 17.3916L22.0759 17.53C22.0072 17.5977 21.9525 17.6787 21.9152 17.7681C21.8779 17.8575 21.8587 17.9536 21.8587 18.0506L21.8693 18.1737L23.2037 26.0237L16.2164 22.3148C16.1136 22.2602 15.9994 22.2317 15.8833 22.2317C15.7673 22.2317 15.653 22.2602 15.5503 22.3148L8.57132 26.0245L9.90651 18.1745L9.91712 18.0506C9.91696 17.9536 9.89768 17.8576 9.86038 17.7682C9.82308 17.6788 9.76851 17.5978 9.6999 17.53L4.05538 11.9724L11.8576 10.8258C11.9725 10.8088 12.0816 10.7638 12.1755 10.6947C12.2695 10.6256 12.3454 10.5344 12.3969 10.429L15.886 3.27721L19.3797 10.429C19.4313 10.5344 19.5074 10.6256 19.6014 10.6948C19.6955 10.7639 19.8047 10.8088 19.9197 10.8258L27.7197 11.9747L22.0759 17.53Z" fill="#ADB6BD"/></g><defs><clipPath id="clip0_31553_1553"><rect width="30" height="29" fill="white" transform="translate(0.886719)"/></clipPath></defs></svg>';var n=e("verdocs_template_card",function(){function e(e){a(this,e)}e.prototype.render=function(){var e,a,o,n;return t(c,{key:"7884bd4dfaf70cc312256386c0f8a90651401df8"},t("span",{key:"4c3183500b6efcbb73a5917c56623c62503555b5",class:"name"},this.template.name),t("span",{key:"ca3bd706769d72fbb25a5e8ae19ed25ef7592521",class:"org-name"},((e=this.template.organization)===null||e===void 0?void 0:e.name)||"Public"),t("hr",{key:"33a2eeba3fceaf813d7f04c9a6fd357d9c41f177"}),t("div",{key:"c2814d0d907084ea15dad6b6c25fa0ef85e35561",class:"controls"},t("div",{key:"118f420140acf1fcea907e9c01685d0831675aa5",class:"control"},t("span",{key:"db28ba367924647678ebf34e832bbffbb28fc8e8",class:"icon",innerHTML:d}),t("span",{key:"3ef06b3d596c44e91cb40cf62ed7d84ffb1f957e",class:"value"},this.template.star_counter)),t("div",{key:"90d9f95e9006ad113e81e7126bb0f34328086627",class:"control secondary"},t("span",{key:"7ef5e850922cf0d1344e0a9409e21ca6c5099af1",class:"icon",innerHTML:l}),t("span",{key:"e3da96d537734cbaac9c44a558f1c7f3d2f844de",class:"value"},((n=(o=(a=this.template)===null||a===void 0?void 0:a.documents)===null||o===void 0?void 0:o[0])===null||n===void 0?void 0:n.pages)||1)),t("div",{key:"0f0f7943033830845e2af8ae52198b6a564ff8ee",class:"control secondary"},t("span",{key:"7f7227c12666555fdc1c99584a99e0e980779954",class:"icon",innerHTML:i}),t("span",{key:"c5fd8dfdf7dd4a5c52709c9d7d53788414f24be1",class:"value"},this.template.counter)),t("span",{key:"d96d0dfcb9730d5eab719a3d6b0e1b538719de6d",class:"additional-controls",innerHTML:s})))};return e}());n.style=o}}}));
2
+ //# sourceMappingURL=p-3d56819c.system.entry.js.map
@@ -1,2 +1,2 @@
1
- System.register(["./p-BO6MZhlp.system.js","./p-DzZgjFK8.system.js","./p-Dj475wLP.system.js"],(function(t){"use strict";var o,e,n,i,r,s;return{setters:[function(t){o=t.r;e=t.h;n=t.H;i=t.g},function(t){r=t.c},function(t){s=t.V}],execute:function(){var c='verdocs-button button{font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif);-ms-flex-pack:center;justify-content:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;font-weight:500;cursor:pointer;margin:0;width:100%}verdocs-button button:disabled{cursor:inherit;pointer-events:none}verdocs-button button .icon{margin:0 12px}verdocs-button button .icon svg{fill:#ffffff;display:block}verdocs-button button .button-label{padding:0 12px}verdocs-button button.xsmall{height:26px;font-size:12px}verdocs-button button.xsmall .icon{margin:0 3px}verdocs-button button.xsmall .icon svg{margin:2px 0 0 0;height:18px}verdocs-button button.xsmall .button-label{padding:0 4px}verdocs-button button.small{height:34px;font-size:13px}verdocs-button button.small .icon{margin:0 4px}verdocs-button button.small .icon svg{margin:2px 0 0 0;height:20px}verdocs-button button.small .button-label{padding:0 4px}verdocs-button button.normal{height:44px;font-size:14px}verdocs-button button.normal .icon.start{margin:0 4px 0 8px}verdocs-button button.normal .icon.end{margin:0 8px 0 4px}verdocs-button button.normal .icon svg{margin:2px 0 0 0;height:22px}verdocs-button button.normal .button-label{padding:0 10px}verdocs-button button.medium{height:52px;font-size:16px}verdocs-button button.medium .icon.start{margin:0 0 0 18px}verdocs-button button.medium .icon.end{margin:0 18px 0 0}verdocs-button button.medium .icon svg{margin:2px 0 0 0;height:26px}verdocs-button button.medium .button-label{padding:0 20px}verdocs-button button.large{height:60px;font-size:20px}verdocs-button button.large .icon.start{margin:0 0 0 24px}verdocs-button button.large .icon.end{margin:0 24px 0 0}verdocs-button button.large .icon svg{margin:2px 0 0 0;height:32px}verdocs-button button.large .button-label{padding:0 34px}verdocs-button button.standard{background:#55bc81;border-radius:4px;outline:none;border:none;color:white}verdocs-button button.standard:disabled{background-color:#999999;cursor:default}verdocs-button button.standard:active:not([disabled]){-webkit-filter:brightness(110%);filter:brightness(110%)}verdocs-button button.text{color:#4c56cb;background:transparent;font-weight:500;padding:0 4px;outline:none;border:none}verdocs-button button.text:disabled{color:#999999}verdocs-button button.text:active:not([disabled]){-webkit-filter:brightness(130%);filter:brightness(130%)}verdocs-button button.text .icon svg{fill:#4c56cb}verdocs-button button.outline{border:1px solid #4c56cb;color:#4c56cb;outline:none;background:transparent;border-radius:4px;padding:0 20px}verdocs-button button.outline:disabled{color:#999999;border:1px solid #999999}verdocs-button button.outline:active{background:#4c56cb;color:white}verdocs-button button.outline .icon svg{fill:#4c56cb}';var a=t("verdocs_button",function(){function t(t){o(this,t);this.startIcon=null;this.endIcon=null;this.size="normal";this.type="button";this.variant="standard";this.disabled=false}t.prototype.render=function(){return e("button",{key:"f008c987a265f5a41ee490c1f28122b580c57d1a",disabled:this.disabled,type:this.type,class:"".concat(this.variant," ").concat(this.size," ").concat(this.type)},this.startIcon?e("span",{class:"icon start",innerHTML:this.startIcon}):null,e("span",{key:"ddce37342395bd9cf6abd0a9d4df6407a2059f5c",class:"button-label"},this.label),this.endIcon?e("span",{class:"icon end",innerHTML:this.endIcon}):null)};return t}());a.style=c;var d='verdocs-help-icon{font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif);display:inline-block;opacity:0.3;position:relative}verdocs-help-icon:hover{opacity:1}verdocs-help-icon .icon{display:inline-block}verdocs-help-icon .tooltip{display:none;min-width:200px;-webkit-box-shadow:0 0 10px 1px #999999;box-shadow:0 0 10px 1px #999999;background:#ffffff;color:#33364b;max-width:240px;font-weight:500;position:absolute;padding:5px 10px;font-size:12px;border-radius:4px;z-index:10005}verdocs-help-icon .tooltip .arrow,verdocs-help-icon .tooltip .arrow::before{position:absolute;width:8px;height:8px;background:inherit}verdocs-help-icon .tooltip .arrow{visibility:hidden;top:-4px}verdocs-help-icon .tooltip .arrow::before{visibility:visible;content:"";-webkit-transform:rotate(45deg);transform:rotate(45deg)}verdocs-help-icon .tooltip[data-show]{display:block}verdocs-help-icon .tooltip[data-popper-placement^=top]>.arrow{bottom:-4px}verdocs-help-icon .tooltip[data-popper-placement^=bottom]>.arrow{top:-4px}verdocs-help-icon .tooltip[data-popper-placement^=left]>.arrow{right:-4px}verdocs-help-icon .tooltip[data-popper-placement^=right]>.arrow{left:-4px}';var l='<svg xmlns="http://www.w3.org/2000/svg" height="24" width="24" fill="#5c6575"><path d="M11.925 18q.55 0 .938-.387.387-.388.387-.938 0-.55-.387-.925-.388-.375-.938-.375-.55 0-.925.375t-.375.925q0 .55.375.938.375.387.925.387Zm-.95-3.85h1.95q0-.8.2-1.287.2-.488 1.025-1.288.65-.625 1.025-1.213.375-.587.375-1.437 0-1.425-1.025-2.175Q13.5 6 12.1 6q-1.425 0-2.35.775t-1.275 1.85l1.775.7q.125-.45.55-.975.425-.525 1.275-.525.725 0 1.1.412.375.413.375.888 0 .475-.287.9-.288.425-.713.775-1.075.95-1.325 1.475-.25.525-.25 1.875ZM12 22.2q-2.125 0-3.988-.8-1.862-.8-3.237-2.175Q3.4 17.85 2.6 15.988 1.8 14.125 1.8 12t.8-3.988q.8-1.862 2.175-3.237Q6.15 3.4 8.012 2.6 9.875 1.8 12 1.8t3.988.8q1.862.8 3.237 2.175Q20.6 6.15 21.4 8.012q.8 1.863.8 3.988t-.8 3.988q-.8 1.862-2.175 3.237Q17.85 20.6 15.988 21.4q-1.863.8-3.988.8Zm0-2.275q3.325 0 5.625-2.3t2.3-5.625q0-3.325-2.3-5.625T12 4.075q-3.325 0-5.625 2.3T4.075 12q0 3.325 2.3 5.625t5.625 2.3ZM12 12Z"/></svg>';var p=t("verdocs_help_icon",function(){function t(t){o(this,t);this.text="";this.icon=l;this.containerId="verdocs-help-icon-".concat(Math.random().toString(36).substring(2,11))}t.prototype.componentDidLoad=function(){this.popperInstance=r(this.iconEl,this.tooltipEl,{})};t.prototype.disconnectedCallback=function(){if(this.popperInstance){this.popperInstance.destroy();this.popperInstance=null}};t.prototype.show=function(){var t,o;(t=this.tooltipEl)===null||t===void 0?void 0:t.setAttribute("data-show","");(o=this.popperInstance)===null||o===void 0?void 0:o.update().catch((function(){}))};t.prototype.hide=function(){var t;(t=this.tooltipEl)===null||t===void 0?void 0:t.removeAttribute("data-show")};t.prototype.render=function(){var t=this;return e(n,{key:"76fe1c6da6defbcbfb76828262052e1cd8374cc8",class:{}},e("div",{key:"d7b111dc735399e2b8dd00949c70c2437db9b15e","aria-describedby":this.containerId,class:"icon",innerHTML:this.icon,onMouseEnter:function(){return t.show()},onFocus:function(){return t.show()},onMouseLeave:function(){return t.hide()},onBlur:function(){return t.hide()},ref:function(o){return t.iconEl=o}}),e("div",{key:"4f82290c4f5659c5fa049b175eb8e51d5b45fa0f",id:this.containerId,role:"tooltip",class:"tooltip","data-popper-placement":"bottom",ref:function(o){return t.tooltipEl=o}},e("span",{key:"b78df86bb13feec33dd4c6f197ae608a5ac589c5",innerHTML:this.text}),e("div",{key:"74a251acec67901234b69f815159d26e41d197cd","data-popper-arrow":"true",class:"arrow"})))};return t}());p.style=d;var u='verdocs-text-input{font-family:"Inter", "Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0 0 10px 0;display:block}verdocs-text-input .input-element{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid rgba(112, 122, 229, 0.3725490196);border-radius:4px;background:#ffffff;color:#000;width:100%;font-size:16px;height:34px;padding:0 9px;outline:none}verdocs-text-input .input-element:disabled{cursor:not-allowed;background:#aeb4bf;border:1px solid #33364b}verdocs-text-input .input-element::-webkit-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-moz-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:focus{outline:1px solid #7d88ff}verdocs-text-input .input-label{display:block;color:#555570;font-weight:600;font-size:13px;margin:0 0 2px 0}verdocs-text-input .required{color:red;margin-left:2px;display:inline-block}verdocs-text-input .description{font-size:11px;margin:0 0 0 4px;color:rgba(0, 0, 0, 0.54)}verdocs-text-input [data-lastpass-icon-root]{display:none !important}verdocs-text-input .input-container{position:relative}verdocs-text-input .clear{top:7px;right:5px;width:18px;height:18px;fill:#cccccc;position:absolute}verdocs-text-input .clear:hover{fill:#720101;cursor:pointer}verdocs-text-input .copy{top:7px;right:5px;width:18px;height:18px;fill:#cccccc;position:absolute}verdocs-text-input .copy:hover{fill:#654dcb;cursor:pointer}verdocs-text-input .toggle-pw{top:5px;right:7px;width:18px;height:18px;stroke:#cccccc;position:absolute}verdocs-text-input .toggle-pw:hover{fill:#654dcb;cursor:pointer}verdocs-text-input.clearable .input-element,verdocs-text-input.copyable .input-element{padding-right:32px}';var b='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 122.881 122.88"><g><path fill-rule="evenodd" clip-rule="evenodd" d="M61.44,0c33.933,0,61.441,27.507,61.441,61.439 c0,33.933-27.508,61.44-61.441,61.44C27.508,122.88,0,95.372,0,61.439C0,27.507,27.508,0,61.44,0L61.44,0z M81.719,36.226 c1.363-1.363,3.572-1.363,4.936,0c1.363,1.363,1.363,3.573,0,4.936L66.375,61.439l20.279,20.278c1.363,1.363,1.363,3.573,0,4.937 c-1.363,1.362-3.572,1.362-4.936,0L61.44,66.376L41.162,86.654c-1.362,1.362-3.573,1.362-4.936,0c-1.363-1.363-1.363-3.573,0-4.937 l20.278-20.278L36.226,41.162c-1.363-1.363-1.363-3.573,0-4.936c1.363-1.363,3.573-1.363,4.936,0L61.44,56.504L81.719,36.226 L81.719,36.226z"/></g></svg>';var h='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M15.988 3.012A2.25 2.25 0 0118 5.25v6.5A2.25 2.25 0 0115.75 14H13.5V7A2.5 2.5 0 0011 4.5H8.128a2.252 2.252 0 011.884-1.488A2.25 2.25 0 0112.25 1h1.5a2.25 2.25 0 012.238 2.012zM11.5 3.25a.75.75 0 01.75-.75h1.5a.75.75 0 01.75.75v.25h-3v-.25z" clip-rule="evenodd" /><path fill-rule="evenodd" d="M2 7a1 1 0 011-1h8a1 1 0 011 1v10a1 1 0 01-1 1H3a1 1 0 01-1-1V7zm2 3.25a.75.75 0 01.75-.75h4.5a.75.75 0 010 1.5h-4.5a.75.75 0 01-.75-.75zm0 3.5a.75.75 0 01.75-.75h4.5a.75.75 0 010 1.5h-4.5a.75.75 0 01-.75-.75z" clip-rule="evenodd" /></svg>';var v='<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="M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z" /><path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z" /></svg>';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="M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.522 10.522 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88" /></svg>';var x=t("verdocs_text_input",function(){function t(t){o(this,t);this.value="";this.label="";this.placeholder="";this.description="";this.autocomplete="";this.helpText="";this.clearable=false;this.copyable=false;this.type="text";this.disabled=false;this.required=false;this.showingPw=false}t.prototype.copyToClipboard=function(){this.inputEl.select();navigator.clipboard.writeText(this.value).then((function(){return s("Copied!")})).catch((function(t){return console.log("Error copying to clipboard",t)}))};t.prototype.render=function(){var t=this;return e(n,{key:"6f4e8d98d5a9d14a7c682049ec93aa52c5285bd8",class:"input-field ".concat(this.clearable?"clearable":""," ").concat(this.copyable?"copyable":"")},e("label",{key:"a6c10b17867d6b4aab15f09a9c7d772dac6c9e52"},this.label&&e("div",{key:"243ded93f339db47edbcb0e102c0948108b07ee1",class:"input-label"},this.label+":",this.required&&e("span",{key:"2c292aa9cf10533655bda64fd3c2b35eea8b65db",class:"required"},"*")),e("div",{key:"c4fbce8150872ba78ec45b7bd6222fd596adf7c4",class:"input-container"},e("input",{key:"ef1550b86aeb4b30bc2cce3852686436bd42da95",type:this.type==="password"&&this.showingPw?"text":this.type,value:this.value,required:this.required,class:"input-element","data-lpignore":"true",disabled:this.disabled,placeholder:this.placeholder,autoComplete:this.autocomplete,ref:function(o){return t.inputEl=o},onInput:function(o){return t.value=o.target.value}}),this.description&&e("div",{key:"230d1b7bd274b58824cc6293fff654794b42674b",class:"description"},this.description),this.clearable&&this.value&&e("span",{key:"fc58c10b50577031e2bddec0730b292d0db881f8",innerHTML:b,class:"clear",onClick:function(){setTimeout((function(){var o;t.value="";(o=t.inputEl)===null||o===void 0?void 0:o.setAttribute("value","");setTimeout((function(){var o,e;(o=t.inputEl)===null||o===void 0?void 0:o.dispatchEvent(new window.Event("focusout"));(e=t.inputEl)===null||e===void 0?void 0:e.blur()}),50)}),50)}}),this.type==="password"&&e("span",{key:"835f2b3b1d75b3656d02d20530718539dd88c698",innerHTML:this.showingPw?v:f,class:"toggle-pw",onClick:function(){t.showingPw=!t.showingPw}}),!this.clearable&&this.copyable&&this.value&&e("span",{key:"d36792466c8e15d163a1c297e71c0a2690465e00",innerHTML:h,class:"copy",onClick:function(){return t.copyToClipboard()}})),this.helpText&&e("verdocs-help-icon",{key:"70fc904c768e025f9c2a9b61729992802ee3d0e2",text:this.helpText})))};Object.defineProperty(t.prototype,"hostEl",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());x.style=u}}}));
2
- //# sourceMappingURL=p-69e35ea8.system.entry.js.map
1
+ System.register(["./p-BO6MZhlp.system.js","./p-DzZgjFK8.system.js","./p-Dj475wLP.system.js"],(function(t){"use strict";var o,e,n,i,r,s;return{setters:[function(t){o=t.r;e=t.h;n=t.H;i=t.g},function(t){r=t.c},function(t){s=t.V}],execute:function(){var c='verdocs-button button{font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif);-ms-flex-pack:center;justify-content:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;font-weight:500;cursor:pointer;margin:0;width:100%}verdocs-button button:disabled{cursor:inherit;pointer-events:none}verdocs-button button .icon{margin:0 12px}verdocs-button button .icon svg{fill:#ffffff;display:block}verdocs-button button .button-label{padding:0 12px}verdocs-button button.xsmall{height:26px;font-size:12px}verdocs-button button.xsmall .icon{margin:0 3px}verdocs-button button.xsmall .icon svg{margin:2px 0 0 0;height:18px}verdocs-button button.xsmall .button-label{padding:0 4px}verdocs-button button.small{height:34px;font-size:13px}verdocs-button button.small .icon{margin:0 4px}verdocs-button button.small .icon svg{margin:2px 0 0 0;height:20px}verdocs-button button.small .button-label{padding:0 4px}verdocs-button button.normal{height:44px;font-size:14px}verdocs-button button.normal .icon.start{margin:0 4px 0 8px}verdocs-button button.normal .icon.end{margin:0 8px 0 4px}verdocs-button button.normal .icon svg{margin:2px 0 0 0;height:22px}verdocs-button button.normal .button-label{padding:0 10px}verdocs-button button.medium{height:52px;font-size:16px}verdocs-button button.medium .icon.start{margin:0 0 0 18px}verdocs-button button.medium .icon.end{margin:0 18px 0 0}verdocs-button button.medium .icon svg{margin:2px 0 0 0;height:26px}verdocs-button button.medium .button-label{padding:0 20px}verdocs-button button.large{height:60px;font-size:20px}verdocs-button button.large .icon.start{margin:0 0 0 24px}verdocs-button button.large .icon.end{margin:0 24px 0 0}verdocs-button button.large .icon svg{margin:2px 0 0 0;height:32px}verdocs-button button.large .button-label{padding:0 34px}verdocs-button button.standard{background:#55bc81;border-radius:4px;outline:none;border:none;color:white}verdocs-button button.standard:disabled{background-color:#999999;cursor:default}verdocs-button button.standard:active:not([disabled]){-webkit-filter:brightness(110%);filter:brightness(110%)}verdocs-button button.text{color:#4c56cb;background:transparent;font-weight:500;padding:0 4px;outline:none;border:none}verdocs-button button.text:disabled{color:#999999}verdocs-button button.text:active:not([disabled]){-webkit-filter:brightness(130%);filter:brightness(130%)}verdocs-button button.text .icon svg{fill:#4c56cb}verdocs-button button.outline{border:1px solid #4c56cb;color:#4c56cb;outline:none;background:transparent;border-radius:4px;padding:0 20px}verdocs-button button.outline:disabled{color:#999999;border:1px solid #999999}verdocs-button button.outline:active{background:#4c56cb;color:white}verdocs-button button.outline .icon svg{fill:#4c56cb}';var a=t("verdocs_button",function(){function t(t){o(this,t);this.startIcon=null;this.endIcon=null;this.size="normal";this.type="button";this.variant="standard";this.disabled=false}t.prototype.render=function(){return e("button",{key:"f008c987a265f5a41ee490c1f28122b580c57d1a",disabled:this.disabled,type:this.type,class:"".concat(this.variant," ").concat(this.size," ").concat(this.type)},this.startIcon?e("span",{class:"icon start",innerHTML:this.startIcon}):null,e("span",{key:"ddce37342395bd9cf6abd0a9d4df6407a2059f5c",class:"button-label"},this.label),this.endIcon?e("span",{class:"icon end",innerHTML:this.endIcon}):null)};return t}());a.style=c;var d='verdocs-help-icon{font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif);display:inline-block;opacity:0.3;position:relative}verdocs-help-icon:hover{opacity:1}verdocs-help-icon .icon{display:inline-block}verdocs-help-icon .tooltip{display:none;min-width:200px;-webkit-box-shadow:0 0 10px 1px #999999;box-shadow:0 0 10px 1px #999999;background:#ffffff;color:#33364b;max-width:240px;font-weight:500;position:absolute;padding:5px 10px;font-size:12px;border-radius:4px;z-index:10005}verdocs-help-icon .tooltip .arrow,verdocs-help-icon .tooltip .arrow::before{position:absolute;width:8px;height:8px;background:inherit}verdocs-help-icon .tooltip .arrow{visibility:hidden;top:-4px}verdocs-help-icon .tooltip .arrow::before{visibility:visible;content:"";-webkit-transform:rotate(45deg);transform:rotate(45deg)}verdocs-help-icon .tooltip[data-show]{display:block}verdocs-help-icon .tooltip[data-popper-placement^=top]>.arrow{bottom:-4px}verdocs-help-icon .tooltip[data-popper-placement^=bottom]>.arrow{top:-4px}verdocs-help-icon .tooltip[data-popper-placement^=left]>.arrow{right:-4px}verdocs-help-icon .tooltip[data-popper-placement^=right]>.arrow{left:-4px}';var l='<svg xmlns="http://www.w3.org/2000/svg" height="24" width="24" fill="#5c6575"><path d="M11.925 18q.55 0 .938-.387.387-.388.387-.938 0-.55-.387-.925-.388-.375-.938-.375-.55 0-.925.375t-.375.925q0 .55.375.938.375.387.925.387Zm-.95-3.85h1.95q0-.8.2-1.287.2-.488 1.025-1.288.65-.625 1.025-1.213.375-.587.375-1.437 0-1.425-1.025-2.175Q13.5 6 12.1 6q-1.425 0-2.35.775t-1.275 1.85l1.775.7q.125-.45.55-.975.425-.525 1.275-.525.725 0 1.1.412.375.413.375.888 0 .475-.287.9-.288.425-.713.775-1.075.95-1.325 1.475-.25.525-.25 1.875ZM12 22.2q-2.125 0-3.988-.8-1.862-.8-3.237-2.175Q3.4 17.85 2.6 15.988 1.8 14.125 1.8 12t.8-3.988q.8-1.862 2.175-3.237Q6.15 3.4 8.012 2.6 9.875 1.8 12 1.8t3.988.8q1.862.8 3.237 2.175Q20.6 6.15 21.4 8.012q.8 1.863.8 3.988t-.8 3.988q-.8 1.862-2.175 3.237Q17.85 20.6 15.988 21.4q-1.863.8-3.988.8Zm0-2.275q3.325 0 5.625-2.3t2.3-5.625q0-3.325-2.3-5.625T12 4.075q-3.325 0-5.625 2.3T4.075 12q0 3.325 2.3 5.625t5.625 2.3ZM12 12Z"/></svg>';var p=t("verdocs_help_icon",function(){function t(t){o(this,t);this.text="";this.icon=l;this.containerId="verdocs-help-icon-".concat(Math.random().toString(36).substring(2,11))}t.prototype.componentDidLoad=function(){this.popperInstance=r(this.iconEl,this.tooltipEl,{})};t.prototype.disconnectedCallback=function(){if(this.popperInstance){this.popperInstance.destroy();this.popperInstance=null}};t.prototype.show=function(){var t,o;(t=this.tooltipEl)===null||t===void 0?void 0:t.setAttribute("data-show","");(o=this.popperInstance)===null||o===void 0?void 0:o.update().catch((function(){}))};t.prototype.hide=function(){var t;(t=this.tooltipEl)===null||t===void 0?void 0:t.removeAttribute("data-show")};t.prototype.render=function(){var t=this;return e(n,{key:"76fe1c6da6defbcbfb76828262052e1cd8374cc8",class:{}},e("div",{key:"d7b111dc735399e2b8dd00949c70c2437db9b15e","aria-describedby":this.containerId,class:"icon",innerHTML:this.icon,onMouseEnter:function(){return t.show()},onFocus:function(){return t.show()},onMouseLeave:function(){return t.hide()},onBlur:function(){return t.hide()},ref:function(o){return t.iconEl=o}}),e("div",{key:"4f82290c4f5659c5fa049b175eb8e51d5b45fa0f",id:this.containerId,role:"tooltip",class:"tooltip","data-popper-placement":"bottom",ref:function(o){return t.tooltipEl=o}},e("span",{key:"b78df86bb13feec33dd4c6f197ae608a5ac589c5",innerHTML:this.text}),e("div",{key:"74a251acec67901234b69f815159d26e41d197cd","data-popper-arrow":"true",class:"arrow"})))};return t}());p.style=d;var u='verdocs-text-input{font-family:"Inter", "Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0 0 10px 0;display:block}verdocs-text-input .input-element{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid rgba(112, 122, 229, 0.3725490196);border-radius:4px;background:#ffffff;color:#000;width:100%;font-size:16px;height:34px;padding:0 9px;outline:none}verdocs-text-input .input-element:disabled{cursor:not-allowed;background:#aeb4bf;border:1px solid #33364b}verdocs-text-input .input-element::-webkit-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-moz-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:focus{outline:1px solid #7d88ff}verdocs-text-input .input-label{display:block;color:#555570;font-weight:600;font-size:13px;margin:0 0 2px 0}verdocs-text-input .required{color:red;margin-left:2px;display:inline-block}verdocs-text-input .description{font-size:11px;margin:0 0 0 4px;color:rgba(0, 0, 0, 0.54)}verdocs-text-input [data-lastpass-icon-root]{display:none !important}verdocs-text-input .input-container{position:relative}verdocs-text-input .clear{top:7px;right:5px;width:18px;height:18px;fill:#cccccc;position:absolute}verdocs-text-input .clear:hover{fill:#720101;cursor:pointer}verdocs-text-input .copy{top:7px;right:5px;width:18px;height:18px;fill:#cccccc;position:absolute}verdocs-text-input .copy:hover{fill:#003380;cursor:pointer}verdocs-text-input .toggle-pw{top:5px;right:7px;width:18px;height:18px;stroke:#cccccc;position:absolute}verdocs-text-input .toggle-pw:hover{fill:#003380;cursor:pointer}verdocs-text-input.clearable .input-element,verdocs-text-input.copyable .input-element{padding-right:32px}';var b='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 122.881 122.88"><g><path fill-rule="evenodd" clip-rule="evenodd" d="M61.44,0c33.933,0,61.441,27.507,61.441,61.439 c0,33.933-27.508,61.44-61.441,61.44C27.508,122.88,0,95.372,0,61.439C0,27.507,27.508,0,61.44,0L61.44,0z M81.719,36.226 c1.363-1.363,3.572-1.363,4.936,0c1.363,1.363,1.363,3.573,0,4.936L66.375,61.439l20.279,20.278c1.363,1.363,1.363,3.573,0,4.937 c-1.363,1.362-3.572,1.362-4.936,0L61.44,66.376L41.162,86.654c-1.362,1.362-3.573,1.362-4.936,0c-1.363-1.363-1.363-3.573,0-4.937 l20.278-20.278L36.226,41.162c-1.363-1.363-1.363-3.573,0-4.936c1.363-1.363,3.573-1.363,4.936,0L61.44,56.504L81.719,36.226 L81.719,36.226z"/></g></svg>';var h='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M15.988 3.012A2.25 2.25 0 0118 5.25v6.5A2.25 2.25 0 0115.75 14H13.5V7A2.5 2.5 0 0011 4.5H8.128a2.252 2.252 0 011.884-1.488A2.25 2.25 0 0112.25 1h1.5a2.25 2.25 0 012.238 2.012zM11.5 3.25a.75.75 0 01.75-.75h1.5a.75.75 0 01.75.75v.25h-3v-.25z" clip-rule="evenodd" /><path fill-rule="evenodd" d="M2 7a1 1 0 011-1h8a1 1 0 011 1v10a1 1 0 01-1 1H3a1 1 0 01-1-1V7zm2 3.25a.75.75 0 01.75-.75h4.5a.75.75 0 010 1.5h-4.5a.75.75 0 01-.75-.75zm0 3.5a.75.75 0 01.75-.75h4.5a.75.75 0 010 1.5h-4.5a.75.75 0 01-.75-.75z" clip-rule="evenodd" /></svg>';var v='<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="M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z" /><path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z" /></svg>';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="M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.522 10.522 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88" /></svg>';var x=t("verdocs_text_input",function(){function t(t){o(this,t);this.value="";this.label="";this.placeholder="";this.description="";this.autocomplete="";this.helpText="";this.clearable=false;this.copyable=false;this.type="text";this.disabled=false;this.required=false;this.showingPw=false}t.prototype.copyToClipboard=function(){this.inputEl.select();navigator.clipboard.writeText(this.value).then((function(){return s("Copied!")})).catch((function(t){return console.log("Error copying to clipboard",t)}))};t.prototype.render=function(){var t=this;return e(n,{key:"6f4e8d98d5a9d14a7c682049ec93aa52c5285bd8",class:"input-field ".concat(this.clearable?"clearable":""," ").concat(this.copyable?"copyable":"")},e("label",{key:"a6c10b17867d6b4aab15f09a9c7d772dac6c9e52"},this.label&&e("div",{key:"243ded93f339db47edbcb0e102c0948108b07ee1",class:"input-label"},this.label+":",this.required&&e("span",{key:"2c292aa9cf10533655bda64fd3c2b35eea8b65db",class:"required"},"*")),e("div",{key:"c4fbce8150872ba78ec45b7bd6222fd596adf7c4",class:"input-container"},e("input",{key:"ef1550b86aeb4b30bc2cce3852686436bd42da95",type:this.type==="password"&&this.showingPw?"text":this.type,value:this.value,required:this.required,class:"input-element","data-lpignore":"true",disabled:this.disabled,placeholder:this.placeholder,autoComplete:this.autocomplete,ref:function(o){return t.inputEl=o},onInput:function(o){return t.value=o.target.value}}),this.description&&e("div",{key:"230d1b7bd274b58824cc6293fff654794b42674b",class:"description"},this.description),this.clearable&&this.value&&e("span",{key:"fc58c10b50577031e2bddec0730b292d0db881f8",innerHTML:b,class:"clear",onClick:function(){setTimeout((function(){var o;t.value="";(o=t.inputEl)===null||o===void 0?void 0:o.setAttribute("value","");setTimeout((function(){var o,e;(o=t.inputEl)===null||o===void 0?void 0:o.dispatchEvent(new window.Event("focusout"));(e=t.inputEl)===null||e===void 0?void 0:e.blur()}),50)}),50)}}),this.type==="password"&&e("span",{key:"835f2b3b1d75b3656d02d20530718539dd88c698",innerHTML:this.showingPw?v:f,class:"toggle-pw",onClick:function(){t.showingPw=!t.showingPw}}),!this.clearable&&this.copyable&&this.value&&e("span",{key:"d36792466c8e15d163a1c297e71c0a2690465e00",innerHTML:h,class:"copy",onClick:function(){return t.copyToClipboard()}})),this.helpText&&e("verdocs-help-icon",{key:"70fc904c768e025f9c2a9b61729992802ee3d0e2",text:this.helpText})))};Object.defineProperty(t.prototype,"hostEl",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());x.style=u}}}));
2
+ //# sourceMappingURL=p-47afca04.system.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"p-CCv1s4sj.system.js","sources":["src/components/controls/verdocs-tabs/verdocs-tabs.scss?tag=verdocs-tabs","src/components/controls/verdocs-tabs/verdocs-tabs.tsx"],"sourcesContent":["@import '../../../theme.scss';\n\nverdocs-tabs {\n gap: 10px;\n display: flex;\n flex-wrap: wrap;\n flex-direction: row;\n font-family: $primary-font;\n\n .tab {\n display: flex;\n color: #111111;\n cursor: pointer;\n font-size: 14px;\n font-weight: 400;\n padding: 5px 10px;\n align-items: center;\n text-transform: none;\n justify-content: center;\n border-bottom: 4px solid transparent;\n\n &:focus {\n border: none;\n outline: none;\n }\n\n &.active {\n color: #000000;\n font-weight: 500;\n border-bottom: 4px solid #654dcb;\n }\n\n &.disabled {\n color: #aaaaaa;\n cursor: default;\n }\n }\n}\n","import {Component, Prop, Host, h, Event, EventEmitter} from '@stencil/core';\n\nexport interface ITab {\n id?: string;\n label: string;\n disabled?: boolean;\n // TODO: Tooltips?\n}\n\n/**\n * Display a simple row of selectable tabs. This is a controlled element.\n * The parent must adjust selectedTab as selection events are fired.\n *\n * ```ts\n * <verdocs-tabs tabs={[...tabs]} />\n * ```\n */\n@Component({\n tag: 'verdocs-tabs',\n styleUrl: 'verdocs-tabs.scss',\n})\nexport class VerdocsTabs {\n /**\n * The tabs to display\n */\n @Prop() tabs: ITab[] = [];\n\n /**\n * The index of the tab to show selected.\n */\n @Prop() selectedTab: number = 0;\n\n /**\n * Event fired when the user clicks a template to view it. Typically the host application will use this to navigate\n * to the template preview. This is also fired when the user selects \"Preview/Send\" fropm the dropdown menu.\n */\n @Event({composed: true}) selectTab: EventEmitter<{tab: ITab; index: number}>;\n\n handleSelectTab(index: number) {\n this.selectTab?.emit({tab: this.tabs[index], index});\n }\n\n render() {\n return (\n <Host>\n {this.tabs.map((tab, index) => (\n <div class={`tab ${index === this.selectedTab ? 'active' : ''} ${tab.disabled ? 'disabled' : ''}`} onClick={tab.disabled ? () => {} : () => this.handleSelectTab(index)}>\n {tab.label}\n </div>\n ))}\n\n <div class=\"flex flex-1\" />\n\n <slot>\n <div />\n </slot>\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;MAAA,MAAM,cAAc,GAAG,goBAAgoB;;YCqB1oB,WAAW,2BAAA,MAAA;MAJxB,IAAA,WAAA,CAAA,OAAA,EAAA;;;MAKE;;MAEG;MACK,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;MAEzB;;MAEG;MACK,QAAA,IAAW,CAAA,WAAA,GAAW,CAAC;MA6BhC;MArBC,IAAA,eAAe,CAAC,KAAa,EAAA;;MAC3B,QAAA,CAAA,EAAA,GAAA,IAAI,CAAC,SAAS,0CAAE,IAAI,CAAC,EAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,KAAK,EAAC,CAAC;;UAGtD,MAAM,GAAA;MACJ,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACF,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,KAAK,MACxB,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAE,CAAA,IAAA,EAAO,KAAK,KAAK,IAAI,CAAC,WAAW,GAAG,QAAQ,GAAG,EAAE,CAAI,CAAA,EAAA,GAAG,CAAC,QAAQ,GAAG,UAAU,GAAG,EAAE,CAAE,CAAA,EAAE,OAAO,EAAE,GAAG,CAAC,QAAQ,GAAG,MAAK,GAAG,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,IACpK,GAAG,CAAC,KAAK,CACN,CACP,CAAC,EAEF,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,aAAa,EAAG,CAAA,EAE3B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACE,CAAO,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACF,CACF;;;;;;;;;;;"}
1
+ {"version":3,"file":"p-4nwyoVqs.system.js","sources":["src/components/controls/verdocs-tabs/verdocs-tabs.scss?tag=verdocs-tabs","src/components/controls/verdocs-tabs/verdocs-tabs.tsx"],"sourcesContent":["@import '../../../theme.scss';\n\nverdocs-tabs {\n gap: 10px;\n display: flex;\n flex-wrap: wrap;\n flex-direction: row;\n font-family: $primary-font;\n\n .tab {\n display: flex;\n color: #111111;\n cursor: pointer;\n font-size: 14px;\n font-weight: 400;\n padding: 5px 10px;\n align-items: center;\n text-transform: none;\n justify-content: center;\n border-bottom: 4px solid transparent;\n\n &:focus {\n border: none;\n outline: none;\n }\n\n &.active {\n color: #000000;\n font-weight: 500;\n border-bottom: 4px solid #003380;\n }\n\n &.disabled {\n color: #aaaaaa;\n cursor: default;\n }\n }\n}\n","import {Component, Prop, Host, h, Event, EventEmitter} from '@stencil/core';\n\nexport interface ITab {\n id?: string;\n label: string;\n disabled?: boolean;\n // TODO: Tooltips?\n}\n\n/**\n * Display a simple row of selectable tabs. This is a controlled element.\n * The parent must adjust selectedTab as selection events are fired.\n *\n * ```ts\n * <verdocs-tabs tabs={[...tabs]} />\n * ```\n */\n@Component({\n tag: 'verdocs-tabs',\n styleUrl: 'verdocs-tabs.scss',\n})\nexport class VerdocsTabs {\n /**\n * The tabs to display\n */\n @Prop() tabs: ITab[] = [];\n\n /**\n * The index of the tab to show selected.\n */\n @Prop() selectedTab: number = 0;\n\n /**\n * Event fired when the user clicks a template to view it. Typically the host application will use this to navigate\n * to the template preview. This is also fired when the user selects \"Preview/Send\" fropm the dropdown menu.\n */\n @Event({composed: true}) selectTab: EventEmitter<{tab: ITab; index: number}>;\n\n handleSelectTab(index: number) {\n this.selectTab?.emit({tab: this.tabs[index], index});\n }\n\n render() {\n return (\n <Host>\n {this.tabs.map((tab, index) => (\n <div class={`tab ${index === this.selectedTab ? 'active' : ''} ${tab.disabled ? 'disabled' : ''}`} onClick={tab.disabled ? () => {} : () => this.handleSelectTab(index)}>\n {tab.label}\n </div>\n ))}\n\n <div class=\"flex flex-1\" />\n\n <slot>\n <div />\n </slot>\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;MAAA,MAAM,cAAc,GAAG,goBAAgoB;;YCqB1oB,WAAW,2BAAA,MAAA;MAJxB,IAAA,WAAA,CAAA,OAAA,EAAA;;;MAKE;;MAEG;MACK,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;MAEzB;;MAEG;MACK,QAAA,IAAW,CAAA,WAAA,GAAW,CAAC;MA6BhC;MArBC,IAAA,eAAe,CAAC,KAAa,EAAA;;MAC3B,QAAA,CAAA,EAAA,GAAA,IAAI,CAAC,SAAS,0CAAE,IAAI,CAAC,EAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,KAAK,EAAC,CAAC;;UAGtD,MAAM,GAAA;MACJ,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACF,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,KAAK,MACxB,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAE,CAAA,IAAA,EAAO,KAAK,KAAK,IAAI,CAAC,WAAW,GAAG,QAAQ,GAAG,EAAE,CAAI,CAAA,EAAA,GAAG,CAAC,QAAQ,GAAG,UAAU,GAAG,EAAE,CAAE,CAAA,EAAE,OAAO,EAAE,GAAG,CAAC,QAAQ,GAAG,MAAK,GAAG,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,IACpK,GAAG,CAAC,KAAK,CACN,CACP,CAAC,EAEF,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,aAAa,EAAG,CAAA,EAE3B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACE,CAAO,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACF,CACF;;;;;;;;;;;"}
@@ -1,2 +1,2 @@
1
- System.register(["./p-BO6MZhlp.system.js","@verdocs/js-sdk"],(function(o){"use strict";var r,e,n,t,d,i;return{setters:[function(o){r=o.r;e=o.c;n=o.h;t=o.H;d=o.g},function(o){i=o.randomString}],execute:function(){var s='verdocs-dropdown{height:26px;display:block;position:relative;font-family:"Inter", "Barlow", sans-serif}verdocs-dropdown .arrow{height:26px;padding:0 4px;background:#fff;cursor:pointer;border-radius:4px;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;border:1px solid #cccccc;-ms-flex-pack:center;justify-content:center}verdocs-dropdown .arrow svg{fill:#55bc81;-webkit-transition:0.3s;transition:0.3s}verdocs-dropdown.open .arrow{background:#4c56cb;border:1px solid #707ae5}verdocs-dropdown.open .arrow svg{-webkit-transform:scaleY(-1);transform:scaleY(-1);fill:#fff}#verdocs-dropdown-menu-items{width:200px;z-index:10000;position:absolute;border-radius:5px;background:#33354c;border:1px solid #654dcb}.verdocs-dropdown-menu-separator{height:1px;margin-top:5px;padding-top:5px;border-top:1px solid rgba(255, 255, 255, 0.3725490196)}.verdocs-dropdown-menu-option{width:100%;color:#fff;border:none;display:block;text-align:left;background:none;text-wrap:nowrap;padding:10px 20px}.verdocs-dropdown-menu-option:hover{cursor:pointer;background:#55bc81}.verdocs-dropdown-menu-option[disabled]{color:#aaaaaa}.verdocs-dropdown-menu-option[disabled]:hover{cursor:inherit;background:transparent;color:#aaaaaa}';var a='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#50BE80"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M7 10l5 5 5-5H7z"/></svg>';var c=o("verdocs_dropdown",function(){function o(o){r(this,o);this.optionSelected=e(this,"optionSelected");this.options=[];this.containerId="verdocs-send-".concat(Math.random().toString(36).substring(2,11));this.showPicker=false}o.prototype.handleSelectOption=function(o,r){var e;o.stopPropagation();(e=this.optionSelected)===null||e===void 0?void 0:e.emit(r);this.showPicker=false};o.prototype.toggle=function(){this.showPicker=!this.showPicker};o.prototype.render=function(){var o=this;var r="verdocs-dropdown-".concat(i(8));return n(t,{key:"5b5977db34f3403485577d48abded1413ae747b3"},n("button",{key:"602cee4a041ed8c312a2af9681370b917334c00f",class:"arrow",innerHTML:a,"aria-label":"Open Menu",id:r,onClick:function(){return o.showPicker=!o.showPicker}}),this.showPicker&&n("verdocs-portal",{key:"852ced3bafef243933090dd1556aaa9c9b579a62",anchor:r,onClickAway:function(){return o.showPicker=false},id:"verdocs-dropdown-menu-items"},this.options.map((function(r){if(!r.label){return n("div",{class:"verdocs-dropdown-menu-separator"})}else{return n("button",{class:"verdocs-dropdown-menu-option",disabled:r.disabled||false,onClick:function(e){return o.handleSelectOption(e,r)}},r.label)}}))))};Object.defineProperty(o.prototype,"el",{get:function(){return d(this)},enumerable:false,configurable:true});return o}());c.style=s}}}));
2
- //# sourceMappingURL=p-385f358e.system.entry.js.map
1
+ System.register(["./p-BO6MZhlp.system.js","@verdocs/js-sdk"],(function(o){"use strict";var r,e,n,t,d,i;return{setters:[function(o){r=o.r;e=o.c;n=o.h;t=o.H;d=o.g},function(o){i=o.randomString}],execute:function(){var s='verdocs-dropdown{height:26px;display:block;position:relative;font-family:"Inter", "Barlow", sans-serif}verdocs-dropdown .arrow{height:26px;padding:0 4px;background:#fff;cursor:pointer;border-radius:4px;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;border:1px solid #cccccc;-ms-flex-pack:center;justify-content:center}verdocs-dropdown .arrow svg{fill:#55bc81;-webkit-transition:0.3s;transition:0.3s}verdocs-dropdown.open .arrow{background:#4c56cb;border:1px solid #707ae5}verdocs-dropdown.open .arrow svg{-webkit-transform:scaleY(-1);transform:scaleY(-1);fill:#fff}#verdocs-dropdown-menu-items{width:200px;z-index:10000;position:absolute;border-radius:5px;background:#33354c;border:1px solid #003380}.verdocs-dropdown-menu-separator{height:1px;margin-top:5px;padding-top:5px;border-top:1px solid rgba(255, 255, 255, 0.3725490196)}.verdocs-dropdown-menu-option{width:100%;color:#fff;border:none;display:block;text-align:left;background:none;text-wrap:nowrap;padding:10px 20px}.verdocs-dropdown-menu-option:hover{cursor:pointer;background:#55bc81}.verdocs-dropdown-menu-option[disabled]{color:#aaaaaa}.verdocs-dropdown-menu-option[disabled]:hover{cursor:inherit;background:transparent;color:#aaaaaa}';var a='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#50BE80"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M7 10l5 5 5-5H7z"/></svg>';var c=o("verdocs_dropdown",function(){function o(o){r(this,o);this.optionSelected=e(this,"optionSelected");this.options=[];this.containerId="verdocs-send-".concat(Math.random().toString(36).substring(2,11));this.showPicker=false}o.prototype.handleSelectOption=function(o,r){var e;o.stopPropagation();(e=this.optionSelected)===null||e===void 0?void 0:e.emit(r);this.showPicker=false};o.prototype.toggle=function(){this.showPicker=!this.showPicker};o.prototype.render=function(){var o=this;var r="verdocs-dropdown-".concat(i(8));return n(t,{key:"5b5977db34f3403485577d48abded1413ae747b3"},n("button",{key:"602cee4a041ed8c312a2af9681370b917334c00f",class:"arrow",innerHTML:a,"aria-label":"Open Menu",id:r,onClick:function(){return o.showPicker=!o.showPicker}}),this.showPicker&&n("verdocs-portal",{key:"852ced3bafef243933090dd1556aaa9c9b579a62",anchor:r,onClickAway:function(){return o.showPicker=false},id:"verdocs-dropdown-menu-items"},this.options.map((function(r){if(!r.label){return n("div",{class:"verdocs-dropdown-menu-separator"})}else{return n("button",{class:"verdocs-dropdown-menu-option",disabled:r.disabled||false,onClick:function(e){return o.handleSelectOption(e,r)}},r.label)}}))))};Object.defineProperty(o.prototype,"el",{get:function(){return d(this)},enumerable:false,configurable:true});return o}());c.style=s}}}));
2
+ //# sourceMappingURL=p-5246eae9.system.entry.js.map