@justifi/webcomponents 4.20.1 → 4.21.0

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 (313) hide show
  1. package/dist/cjs/{Analytics-3c89cfb4.js → Analytics-880f5152.js} +1 -1
  2. package/dist/cjs/{Payment-1a8a8ca6.js → Payment-04a842f4.js} +15 -0
  3. package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
  4. package/dist/cjs/business-details-core.cjs.entry.js +1 -1
  5. package/dist/cjs/{business-form-types-6e1fcda3.js → business-form-types-719b7f52.js} +11 -0
  6. package/dist/cjs/{check-pkg-version-4fa0367d.js → check-pkg-version-54f7dfda.js} +1 -1
  7. package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_5.cjs.entry.js} +121 -2
  8. package/dist/cjs/form-control-checkbox_9.cjs.entry.js +51 -28
  9. package/dist/cjs/form-control-date_3.cjs.entry.js +47 -8
  10. package/dist/cjs/form-control-file.cjs.entry.js +1 -1
  11. package/dist/cjs/{form-control-monetary.cjs.entry.js → form-control-help-text_2.cjs.entry.js} +16 -1
  12. package/dist/cjs/form-control-number.cjs.entry.js +1 -1
  13. package/dist/cjs/{get-payout-csv-3a3260ec.js → get-payout-csv-a82b2c1c.js} +1 -1
  14. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +2 -2
  15. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +23 -11
  16. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +2 -2
  17. package/dist/cjs/justifi-billing-form_2.cjs.entry.js +2 -2
  18. package/dist/cjs/justifi-business-details.cjs.entry.js +3 -3
  19. package/dist/cjs/justifi-business-form.cjs.entry.js +6 -6
  20. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  21. package/dist/cjs/justifi-card-form.cjs.entry.js +3 -3
  22. package/dist/cjs/justifi-checkout-core.cjs.entry.js +3 -3
  23. package/dist/cjs/justifi-checkout.cjs.entry.js +6 -6
  24. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  25. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -3
  26. package/dist/cjs/justifi-new-payment-method_4.cjs.entry.js +6 -6
  27. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +2 -2
  28. package/dist/cjs/justifi-payment-details.cjs.entry.js +5 -5
  29. package/dist/cjs/justifi-payment-form.cjs.entry.js +9 -9
  30. package/dist/cjs/justifi-payment-method-form.cjs.entry.js +2 -2
  31. package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +2 -2
  32. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
  33. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +3 -3
  34. package/dist/cjs/justifi-payments-list.cjs.entry.js +5 -5
  35. package/dist/cjs/justifi-payout-details.cjs.entry.js +5 -5
  36. package/dist/cjs/justifi-payouts-list.cjs.entry.js +5 -5
  37. package/dist/cjs/justifi-refund-form.cjs.entry.js +3 -3
  38. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
  39. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
  40. package/dist/cjs/loader.cjs.js +1 -1
  41. package/dist/cjs/{package-3a9ac89d.js → package-cb1b1015.js} +1 -1
  42. package/dist/cjs/payment-details-core.cjs.entry.js +9 -9
  43. package/dist/cjs/{payment.service-47e2d84e.js → payment.service-6f79aad2.js} +1 -1
  44. package/dist/cjs/payments-list-core.cjs.entry.js +14 -14
  45. package/dist/cjs/payments-list-filters_2.cjs.entry.js +2 -2
  46. package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
  47. package/dist/cjs/payouts-list-core.cjs.entry.js +5 -5
  48. package/dist/cjs/styled-host-1adf46c3.js +14 -0
  49. package/dist/cjs/{utils-af1b60a9.js → utils-52fb7fa1.js} +13 -10
  50. package/dist/cjs/webcomponents.cjs.js +1 -1
  51. package/dist/collection/api/Payment.js +15 -0
  52. package/dist/collection/collection-manifest.json +1 -0
  53. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  54. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
  55. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +42 -2
  56. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  57. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +31 -3
  58. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +24 -1
  59. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  60. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +25 -3
  61. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
  62. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
  63. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +24 -1
  64. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  65. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +25 -2
  66. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +1 -1
  67. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/input-configurations.js +17 -17
  68. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +24 -1
  69. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  70. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +24 -2
  71. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +1 -1
  72. package/dist/collection/components/business-forms/utils/business-form-types.js +11 -0
  73. package/dist/collection/components/card-form/card-form.js +1 -1
  74. package/dist/collection/components/checkout/checkout-core.js +1 -1
  75. package/dist/collection/components/checkout/checkout.js +2 -2
  76. package/dist/collection/components/checkout/new-payment-method.js +1 -1
  77. package/dist/collection/components/checkout/payment-method-options.js +1 -1
  78. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  79. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  80. package/dist/collection/components/checkout/sezzle-payment-method.js +1 -1
  81. package/dist/collection/components/details/details.js +1 -1
  82. package/dist/collection/components/form/form-control-checkbox.js +1 -1
  83. package/dist/collection/components/form/form-control-date.js +80 -6
  84. package/dist/collection/components/form/form-control-file.js +1 -1
  85. package/dist/collection/components/form/form-control-monetary.js +1 -1
  86. package/dist/collection/components/form/form-control-number-masked.js +1 -1
  87. package/dist/collection/components/form/form-control-number.js +1 -1
  88. package/dist/collection/components/form/form-control-select.js +1 -1
  89. package/dist/collection/components/form/form-control-text.js +1 -1
  90. package/dist/collection/components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +63 -0
  91. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  92. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +2 -2
  93. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
  94. package/dist/collection/components/payment-details/payment-details-core.js +7 -7
  95. package/dist/collection/components/payment-form/payment-form.js +3 -3
  96. package/dist/collection/components/payment-form/payment-method-selector.js +1 -1
  97. package/dist/collection/components/payments-list/payments-list-core.js +11 -11
  98. package/dist/collection/components/payments-list/payments-list-filters.js +1 -1
  99. package/dist/collection/components/payout-details/payout-details-core.js +1 -1
  100. package/dist/collection/components/payouts-list/payouts-list-core.js +2 -2
  101. package/dist/collection/components/refund-form/refund-form.js +1 -1
  102. package/dist/collection/ui-components/custom-popper/custom-popper.js +8 -4
  103. package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
  104. package/dist/collection/utils/utils.js +13 -10
  105. package/dist/docs.json +628 -149
  106. package/dist/esm/{Analytics-b0f6936a.js → Analytics-3dde5a98.js} +1 -1
  107. package/dist/esm/{Payment-6bf26fe2.js → Payment-30790721.js} +15 -0
  108. package/dist/esm/additional-questions-details_5.entry.js +1 -1
  109. package/dist/esm/business-details-core.entry.js +1 -1
  110. package/dist/esm/{business-form-types-1bc5fe08.js → business-form-types-8fd61b0e.js} +12 -1
  111. package/dist/esm/{check-pkg-version-10cadb08.js → check-pkg-version-4d144b72.js} +1 -1
  112. package/dist/esm/{custom-popper.entry.js → custom-popper_5.entry.js} +119 -4
  113. package/dist/esm/form-control-checkbox_9.entry.js +51 -28
  114. package/dist/esm/form-control-date_3.entry.js +47 -8
  115. package/dist/esm/form-control-file.entry.js +1 -1
  116. package/dist/esm/{form-control-monetary.entry.js → form-control-help-text_2.entry.js} +17 -3
  117. package/dist/esm/form-control-number.entry.js +1 -1
  118. package/dist/esm/{get-payout-csv-93427146.js → get-payout-csv-d29146ee.js} +1 -1
  119. package/dist/esm/gross-payment-chart-core.entry.js +2 -2
  120. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +23 -11
  121. package/dist/esm/justifi-bank-account-form.entry.js +2 -2
  122. package/dist/esm/justifi-billing-form_2.entry.js +2 -2
  123. package/dist/esm/justifi-business-details.entry.js +3 -3
  124. package/dist/esm/justifi-business-form.entry.js +6 -6
  125. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  126. package/dist/esm/justifi-card-form.entry.js +3 -3
  127. package/dist/esm/justifi-checkout-core.entry.js +3 -3
  128. package/dist/esm/justifi-checkout.entry.js +6 -6
  129. package/dist/esm/justifi-details.entry.js +2 -2
  130. package/dist/esm/justifi-gross-payment-chart.entry.js +3 -3
  131. package/dist/esm/justifi-new-payment-method_4.entry.js +6 -6
  132. package/dist/esm/justifi-owner-form_3.entry.js +2 -2
  133. package/dist/esm/justifi-payment-details.entry.js +5 -5
  134. package/dist/esm/justifi-payment-form.entry.js +9 -9
  135. package/dist/esm/justifi-payment-method-form.entry.js +2 -2
  136. package/dist/esm/justifi-payment-method-selector.entry.js +2 -2
  137. package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
  138. package/dist/esm/justifi-payment-provisioning.entry.js +3 -3
  139. package/dist/esm/justifi-payments-list.entry.js +5 -5
  140. package/dist/esm/justifi-payout-details.entry.js +5 -5
  141. package/dist/esm/justifi-payouts-list.entry.js +5 -5
  142. package/dist/esm/justifi-refund-form.entry.js +3 -3
  143. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
  144. package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
  145. package/dist/esm/loader.js +1 -1
  146. package/dist/esm/{package-2ef16e2c.js → package-4ab64620.js} +1 -1
  147. package/dist/esm/payment-details-core.entry.js +9 -9
  148. package/dist/esm/{payment.service-21a3e2d3.js → payment.service-f9c3e9d7.js} +1 -1
  149. package/dist/esm/payments-list-core.entry.js +14 -14
  150. package/dist/esm/payments-list-filters_2.entry.js +2 -2
  151. package/dist/esm/payout-details-core.entry.js +3 -3
  152. package/dist/esm/payouts-list-core.entry.js +5 -5
  153. package/dist/esm/styled-host-e0ddb759.js +12 -0
  154. package/dist/esm/{utils-e66d8bca.js → utils-620f2d78.js} +13 -10
  155. package/dist/esm/webcomponents.js +1 -1
  156. package/dist/module/Payment.js +15 -0
  157. package/dist/module/additional-questions.js +22 -10
  158. package/dist/module/billing-form.js +13 -7
  159. package/dist/module/business-additional-questions-form-step-core.js +42 -11
  160. package/dist/module/business-additional-questions-form-step.js +23 -11
  161. package/dist/module/business-bank-account-form-step.js +23 -10
  162. package/dist/module/business-core-info-form-step-core.js +19 -10
  163. package/dist/module/business-core-info-form-step.js +16 -10
  164. package/dist/module/business-core-info.js +15 -9
  165. package/dist/module/business-document-upload-form-step.js +14 -5
  166. package/dist/module/business-document-upload-input-group.js +27 -21
  167. package/dist/module/business-form-types.js +12 -1
  168. package/dist/module/business-owners-form-step-core.js +20 -12
  169. package/dist/module/business-owners-form-step.js +16 -10
  170. package/dist/module/business-representative-form-inputs.js +16 -10
  171. package/dist/module/business-representative-form-step-core.js +19 -10
  172. package/dist/module/business-representative-form-step.js +16 -10
  173. package/dist/module/business-representative.js +15 -9
  174. package/dist/module/business-terms-conditions-form-step.js +4 -2
  175. package/dist/module/business-terms-conditions-text.js +1 -1
  176. package/dist/module/checkout-core.js +14 -8
  177. package/dist/module/custom-popper2.js +2 -2
  178. package/dist/module/details.js +1 -1
  179. package/dist/module/form-control-checkbox2.js +1 -1
  180. package/dist/module/form-control-date2.js +57 -10
  181. package/dist/module/form-control-file2.js +10 -4
  182. package/dist/module/form-control-monetary2.js +1 -1
  183. package/dist/module/form-control-number-masked2.js +10 -4
  184. package/dist/module/form-control-number.js +1 -1
  185. package/dist/module/form-control-select2.js +10 -4
  186. package/dist/module/form-control-text2.js +10 -4
  187. package/dist/module/form-control-tooltip.d.ts +11 -0
  188. package/dist/module/form-control-tooltip.js +6 -0
  189. package/dist/module/form-control-tooltip2.js +49 -0
  190. package/dist/module/gross-payment-chart-core2.js +1 -1
  191. package/dist/module/identity-address-form.js +14 -8
  192. package/dist/module/justifi-business-form.js +29 -17
  193. package/dist/module/justifi-card-form.js +1 -1
  194. package/dist/module/justifi-checkout.js +15 -9
  195. package/dist/module/justifi-payment-form.js +16 -10
  196. package/dist/module/justifi-payment-provisioning.js +30 -18
  197. package/dist/module/justifi-payments-list.js +7 -7
  198. package/dist/module/justifi-payouts-list.js +9 -3
  199. package/dist/module/justifi-refund-form.js +21 -9
  200. package/dist/module/justifi-season-interruption-insurance.js +1 -1
  201. package/dist/module/legal-address-form-step-core.js +17 -8
  202. package/dist/module/legal-address-form-step.js +14 -8
  203. package/dist/module/legal-address-form.js +13 -7
  204. package/dist/module/new-payment-method.js +14 -8
  205. package/dist/module/owner-form-core2.js +16 -10
  206. package/dist/module/owner-form-inputs2.js +16 -10
  207. package/dist/module/owner-form.js +15 -9
  208. package/dist/module/package.js +1 -1
  209. package/dist/module/payment-details-core2.js +7 -7
  210. package/dist/module/payment-method-options.js +14 -8
  211. package/dist/module/payment-method-selector.js +1 -1
  212. package/dist/module/payment-provisioning-core.js +31 -19
  213. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  214. package/dist/module/payment-provisioning-form-steps.js +30 -18
  215. package/dist/module/payments-list-core2.js +18 -18
  216. package/dist/module/payments-list-filters2.js +8 -8
  217. package/dist/module/payout-details-core2.js +1 -1
  218. package/dist/module/payouts-list-core2.js +11 -5
  219. package/dist/module/save-new-payment-method.js +1 -1
  220. package/dist/module/saved-payment-method.js +1 -1
  221. package/dist/module/season-interruption-insurance-core.js +2 -2
  222. package/dist/module/sezzle-payment-method.js +1 -1
  223. package/dist/module/styled-host.js +1 -1
  224. package/dist/module/table-filters-menu2.js +1 -1
  225. package/dist/module/utils2.js +13 -10
  226. package/dist/types/api/Payment.d.ts +7 -0
  227. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +4 -1
  228. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +2 -1
  229. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +2 -1
  230. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +2 -1
  231. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +2 -1
  232. package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +2 -1
  233. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +2 -1
  234. package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +2 -1
  235. package/dist/types/components/business-forms/utils/business-form-types.d.ts +15 -0
  236. package/dist/types/components/form/form-control-date.d.ts +5 -0
  237. package/dist/types/components/form/form-helpers/form-control-tooltip/form-control-tooltip.d.ts +8 -0
  238. package/dist/types/components.d.ts +39 -4
  239. package/dist/types/ui-components/custom-popper/custom-popper.d.ts +1 -1
  240. package/dist/types/utils/utils.d.ts +2 -2
  241. package/dist/webcomponents/{p-232016ba.entry.js → p-08d88fd2.entry.js} +1 -1
  242. package/dist/webcomponents/p-0c2d91a2.entry.js +1 -0
  243. package/dist/webcomponents/{p-034fc302.entry.js → p-11f01df5.entry.js} +1 -1
  244. package/dist/webcomponents/p-122c2a11.entry.js +1 -0
  245. package/dist/webcomponents/{p-1c04aacd.entry.js → p-1d29488a.entry.js} +1 -1
  246. package/dist/webcomponents/{p-1eee25f3.entry.js → p-1e178dd1.entry.js} +2 -2
  247. package/dist/webcomponents/p-1eb60948.entry.js +1 -0
  248. package/dist/webcomponents/{p-dc048c3c.entry.js → p-23f95a19.entry.js} +1 -1
  249. package/dist/webcomponents/{p-ce5fe369.entry.js → p-2874d4b2.entry.js} +1 -1
  250. package/dist/webcomponents/{p-430f81c6.entry.js → p-43dfda70.entry.js} +1 -1
  251. package/dist/webcomponents/{p-75139399.entry.js → p-55fe2cf2.entry.js} +1 -1
  252. package/dist/webcomponents/{p-d99a5f30.entry.js → p-5df26e65.entry.js} +1 -1
  253. package/dist/webcomponents/p-5e5e8a85.js +1 -0
  254. package/dist/webcomponents/{p-9add7d3e.entry.js → p-605614f2.entry.js} +1 -1
  255. package/dist/webcomponents/{p-d76002d5.entry.js → p-61514f78.entry.js} +1 -1
  256. package/dist/webcomponents/p-6962044f.entry.js +1 -0
  257. package/dist/webcomponents/{p-570a0f02.entry.js → p-6a9e908b.entry.js} +1 -1
  258. package/dist/webcomponents/p-6ba660f2.entry.js +1 -0
  259. package/dist/webcomponents/{p-35846553.js → p-6d4b585d.js} +1 -1
  260. package/dist/webcomponents/{p-538fd427.entry.js → p-6e258b5f.entry.js} +1 -1
  261. package/dist/webcomponents/p-74da98da.js +1 -0
  262. package/dist/webcomponents/{p-ad47f37c.entry.js → p-770f60f9.entry.js} +1 -1
  263. package/dist/webcomponents/{p-b91bcbfc.js → p-799ee8c3.js} +1 -1
  264. package/dist/webcomponents/p-7cb3854c.entry.js +1 -0
  265. package/dist/webcomponents/p-7fec2bcb.js +1 -0
  266. package/dist/webcomponents/{p-b14da2fd.entry.js → p-80730b71.entry.js} +1 -1
  267. package/dist/webcomponents/{p-37888614.entry.js → p-8f04747b.entry.js} +1 -1
  268. package/dist/webcomponents/{p-c64ce69d.entry.js → p-8f447993.entry.js} +1 -1
  269. package/dist/webcomponents/p-9a37eee5.entry.js +1 -0
  270. package/dist/webcomponents/{p-d9579cd6.entry.js → p-a1d037cb.entry.js} +1 -1
  271. package/dist/webcomponents/{p-056e75be.entry.js → p-a3265844.entry.js} +1 -1
  272. package/dist/webcomponents/{p-c740b6ca.entry.js → p-a680c982.entry.js} +1 -1
  273. package/dist/webcomponents/{p-e2c88817.entry.js → p-a765230f.entry.js} +1 -1
  274. package/dist/webcomponents/p-a76ece26.js +1 -0
  275. package/dist/webcomponents/p-b7b18954.entry.js +1 -0
  276. package/dist/webcomponents/{p-707bdf68.js → p-bc9ae56f.js} +1 -1
  277. package/dist/webcomponents/p-c241cc62.entry.js +1 -0
  278. package/dist/webcomponents/{p-5e2c9ec8.js → p-ca8e126f.js} +1 -1
  279. package/dist/webcomponents/{p-e31f0f3e.entry.js → p-cd74be05.entry.js} +1 -1
  280. package/dist/webcomponents/{p-57d7534f.entry.js → p-d0ffb01c.entry.js} +1 -1
  281. package/dist/webcomponents/p-da316a74.entry.js +1 -0
  282. package/dist/webcomponents/{p-fb7f7a8c.entry.js → p-db3d1d7d.entry.js} +1 -1
  283. package/dist/webcomponents/p-dee2a3f8.entry.js +1 -0
  284. package/dist/webcomponents/{p-7ff329b1.js → p-e56ade55.js} +1 -1
  285. package/dist/webcomponents/p-e927fd5c.entry.js +1 -0
  286. package/dist/webcomponents/p-f3e00572.entry.js +1 -0
  287. package/dist/webcomponents/p-f71a5975.entry.js +1 -0
  288. package/dist/webcomponents/{p-3c7fac29.entry.js → p-ffe27126.entry.js} +1 -1
  289. package/dist/webcomponents/webcomponents.esm.js +1 -1
  290. package/package.json +1 -1
  291. package/dist/cjs/form-control-error-text_4.cjs.entry.js +0 -118
  292. package/dist/cjs/styled-host-9e0b67b3.js +0 -14
  293. package/dist/esm/form-control-error-text_4.entry.js +0 -111
  294. package/dist/esm/styled-host-3171ae1f.js +0 -12
  295. package/dist/webcomponents/p-44055818.js +0 -1
  296. package/dist/webcomponents/p-59cf5391.entry.js +0 -1
  297. package/dist/webcomponents/p-60d3571e.entry.js +0 -1
  298. package/dist/webcomponents/p-6ac806ff.entry.js +0 -1
  299. package/dist/webcomponents/p-7771f64b.entry.js +0 -1
  300. package/dist/webcomponents/p-7ddfce86.entry.js +0 -1
  301. package/dist/webcomponents/p-8a7112a0.entry.js +0 -1
  302. package/dist/webcomponents/p-9b154d98.entry.js +0 -1
  303. package/dist/webcomponents/p-ab92abb1.entry.js +0 -1
  304. package/dist/webcomponents/p-aedb421f.entry.js +0 -1
  305. package/dist/webcomponents/p-bbed6107.entry.js +0 -1
  306. package/dist/webcomponents/p-bdc91c61.entry.js +0 -1
  307. package/dist/webcomponents/p-c1772671.entry.js +0 -1
  308. package/dist/webcomponents/p-d8355f91.entry.js +0 -1
  309. package/dist/webcomponents/p-d89bad72.js +0 -1
  310. package/dist/webcomponents/p-df21aaad.js +0 -1
  311. package/dist/webcomponents/p-f0866375.entry.js +0 -1
  312. package/dist/webcomponents/p-f2924369.js +0 -1
  313. package/dist/webcomponents/p-ffddac99.entry.js +0 -1
@@ -14,9 +14,16 @@ const DateInput = class {
14
14
  this.formControlBlur = index.createEvent(this, "formControlBlur", 7);
15
15
  this.handleFormControlInput = (event) => {
16
16
  const target = event.target;
17
- const name = target.getAttribute('name');
18
- this.inputHandler(name, target.value);
19
- this.formControlInput.emit({ name, value: target.value });
17
+ const localValue = target.value;
18
+ if (this.filterTimeZone) {
19
+ const utcDate = this.convertToUTC(localValue);
20
+ this.inputHandler(this.name, utcDate);
21
+ this.formControlInput.emit({ name: this.name, value: utcDate });
22
+ }
23
+ else {
24
+ this.inputHandler(this.name, localValue);
25
+ this.formControlInput.emit({ name: this.name, value: localValue });
26
+ }
20
27
  };
21
28
  this.name = undefined;
22
29
  this.label = undefined;
@@ -25,18 +32,50 @@ const DateInput = class {
25
32
  this.helpText = undefined;
26
33
  this.errorText = undefined;
27
34
  this.disabled = undefined;
35
+ this.filterTimeZone = false;
36
+ this.showTime = undefined;
28
37
  }
29
38
  handleDefaultValueChange(newValue) {
30
- this.updateInput(newValue);
39
+ if (this.filterTimeZone) {
40
+ this.updateInput(this.convertToLocal(newValue));
41
+ }
42
+ else {
43
+ this.updateInput(newValue);
44
+ }
45
+ }
46
+ get maxDate() {
47
+ if (!this.showTime) {
48
+ return new Date().toISOString().split('T')[0];
49
+ }
50
+ else {
51
+ return new Date().toISOString().slice(0, 16);
52
+ }
31
53
  }
32
54
  componentDidLoad() {
33
- this.updateInput(this.defaultValue);
55
+ if (this.filterTimeZone) {
56
+ this.updateInput(this.convertToLocal(this.defaultValue));
57
+ }
58
+ else {
59
+ this.updateInput(this.defaultValue);
60
+ }
34
61
  }
35
62
  updateInput(value) {
36
63
  this.dateInput.value = value;
37
64
  }
65
+ convertToUTC(value) {
66
+ const dateObj = new Date(value);
67
+ return new Date(dateObj.toUTCString()).toISOString();
68
+ }
69
+ convertToLocal(value) {
70
+ if (!value)
71
+ return value;
72
+ const date = new Date(value);
73
+ // Adjust the date to the local timezone
74
+ const localDate = new Date(date.getTime() - date.getTimezoneOffset() * 60000);
75
+ return this.showTime ? localDate.toISOString().slice(0, 16) : localDate.toISOString().split('T')[0];
76
+ }
38
77
  render() {
39
- return (index.h(index.Host, { key: 'dfbfc1ea5d7139a1c1d30c7bd84b33a9c22604cf', exportparts: "label,input,input-invalid" }, index.h("label", { key: '99a01781ecd1421fa439ad08f77d3f750a55eaee', part: "label", class: "form-label", htmlFor: this.name }, this.label), index.h("input", { key: 'd8db68d8a62e0f982c3aa7d4bd3a5cf7c2681db3', type: "date", ref: el => (this.dateInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), index.h("form-control-help-text", { key: '1ee2ccdc1e409c5427e39efe2929b830960edce9', helpText: this.helpText, name: this.name }), index.h("form-control-error-text", { key: '1db50cca364b4d059dac37243cf83bb4b11459cd', errorText: this.errorText, name: this.name })));
78
+ return (index.h(index.Host, { key: '2ee850cab24ab7d32cbd638299f59827b5b7e117', exportparts: "label,input,input-invalid" }, index.h("div", { key: 'cc898cb56cb32f86e9a9f2a8fb626c38394cf36f', class: "form-group d-flex flex-column" }, index.h("div", { key: 'de4f8f4da4d650eeced126625ddcad480714dc50', class: "d-flex gap-2" }, index.h("label", { key: '99a74827cb24033d33ce5e9b978c4ec7161590f4', part: "label", class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: 'c9b2278afb165b5fc37dea2546f41912edb21567', helpText: this.helpText })), index.h("input", { key: 'af22c6198cb66961a3b4acf8486fdf034d65108c', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), index.h("form-control-error-text", { key: 'cdb69d99d1736c8ba976170bb2baf28246939cfd', errorText: this.errorText, name: this.name }))));
40
79
  }
41
80
  static get watchers() { return {
42
81
  "defaultValue": ["handleDefaultValueChange"]
@@ -98,7 +137,7 @@ const NumberInputMasked = class {
98
137
  }
99
138
  }
100
139
  render() {
101
- return (index.h(index.Host, { key: 'e0a59308376055c019233f3d4649c9a37af963d2', exportparts: "label,input,input-invalid" }, index.h("div", { key: '52d9440421342fed6a4f97b57586a43d517ded7d', class: "form-group d-flex flex-column" }, index.h("label", { key: '8302a9fa1111d3b72600304cd0b1fb2c6239d895', part: "label", class: "form-label", htmlFor: this.name }, this.label), index.h("input", { key: '86653c7b7f4efb9609bae2ecf69bd5e396bd342b', ref: el => (this.textInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), index.h("form-control-help-text", { key: '71d4d44ff91d06229ccc22e70bc92e0a2050da90', helpText: this.helpText, name: this.name }), index.h("form-control-error-text", { key: 'b7d42462ae9165acbde68cf59da07eb956a91fd6', errorText: this.errorText, name: this.name }))));
140
+ return (index.h(index.Host, { key: 'ec5637a437fc6925f12ed0ff9653de16cebec6c8', exportparts: "label,input,input-invalid" }, index.h("div", { key: 'fa43aed393941aaa2c9aadf550e2528aca661c90', class: "form-group d-flex flex-column" }, index.h("div", { key: 'f97bc1662798dd0ac7a01050771f7e2d8b94d3c8', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '75b17b73150c1c1ef3ca0489aa1dac45b86583b8', part: "label", class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: 'd1c35542ebf2c49de0abb0488dff23aad8238eaf', helpText: this.helpText })), index.h("input", { key: '3573366640ca5525b12cf086c92c000a25bfaf8b', ref: el => (this.textInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), index.h("form-control-error-text", { key: 'db11bee11d3f1f33ac03e8ed0f8687f0b9fff9cf', errorText: this.errorText, name: this.name }))));
102
141
  }
103
142
  static get watchers() { return {
104
143
  "defaultValue": ["handleDefaultValueChange"]
@@ -122,7 +161,7 @@ const IdentityAddressForm = class {
122
161
  }
123
162
  render() {
124
163
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
125
- return (index.h(index.Host, { key: 'd090676d3bb1d9de9ae947ff25d94b5985ace914', exportparts: "label,input,input-invalid" }, index.h("div", { key: '64ddec6db508d27b709ad551f60fe58494631fe3', class: "row gy-3" }, index.h("div", { key: '7e0f89b7b8d5a466b89efad75498c5d1f2cac8ea', class: "col-12 col-md-8" }, index.h("form-control-text", { key: 'ea6055fb3457e28666b11b72173ad70b83a87659', name: "line1", label: "Street Address", defaultValue: (_a = this.defaultValues) === null || _a === void 0 ? void 0 : _a.line1, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line1, inputHandler: this.inputHandler })), index.h("div", { key: '5f6f456c573fb9318e58976decb67274b209fa23', class: "col-12 col-md-4" }, index.h("form-control-text", { key: '86fffd4641953d0445a7c24d332cda513121b65e', name: "line2", label: "Apartment, Suite, etc. (optional)", defaultValue: (_c = this.defaultValues) === null || _c === void 0 ? void 0 : _c.line2, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.line2, inputHandler: this.inputHandler })), index.h("div", { key: 'e06339cefebe37ae0629631fbc5101c9dbc040a6', class: "col-12" }, index.h("form-control-text", { key: 'd2af696b33092247b6741c8034aaf12ab51aa878', name: "city", label: "City", defaultValue: (_e = this.defaultValues) === null || _e === void 0 ? void 0 : _e.city, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.city, inputHandler: this.inputHandler })), index.h("div", { key: 'b655a66fb68f059fa91ae5f9f60fdebe0ae04fad', class: "col-12 col-md-6" }, index.h("form-control-select", { key: '50a65861a5a39daac199571c5a0273340556e476', name: "state", label: "State", defaultValue: (_g = this.defaultValues) === null || _g === void 0 ? void 0 : _g.state, options: stateOptions.StateOptions, errorText: (_h = this.errors) === null || _h === void 0 ? void 0 : _h.state, inputHandler: this.inputHandler })), index.h("div", { key: '30255517e0fa1ede35d7b2525625ebc389c44525', class: "col-12 col-md-6" }, index.h("form-control-text", { key: 'b7b0a773c7b2dbe05c4bf8e9fc7235a01bf36832', name: "postal_code", label: "Postal Code", defaultValue: (_j = this.defaultValues) === null || _j === void 0 ? void 0 : _j.postal_code, errorText: (_k = this.errors) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: utils.numberOnlyHandler, inputHandler: this.inputHandler })), index.h("div", { key: '804e9aa1ca7b4ae167ae64969107ad6352559ed7', class: "col-12" }, index.h("form-control-select", { key: '1aa3734e10502bc8f1732f386b60135b8a7d94a6', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: (_l = this.defaultValues) === null || _l === void 0 ? void 0 : _l.country, errorText: (_m = this.errors) === null || _m === void 0 ? void 0 : _m.country,
164
+ return (index.h(index.Host, { key: 'd090676d3bb1d9de9ae947ff25d94b5985ace914', exportparts: "label,input,input-invalid" }, index.h("div", { key: '64ddec6db508d27b709ad551f60fe58494631fe3', class: "row gy-3" }, index.h("div", { key: '7e0f89b7b8d5a466b89efad75498c5d1f2cac8ea', class: "col-12 col-md-8" }, index.h("form-control-text", { key: '0fdbbf48001fe60c5bf5e7a07d7b43186ca2f0eb', name: "line1", label: "Street Address", defaultValue: (_a = this.defaultValues) === null || _a === void 0 ? void 0 : _a.line1, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line1, inputHandler: this.inputHandler, helpText: "\u200B\u200BEnter your address exactly as stated on your driver's license. No PO Boxes." })), index.h("div", { key: '2b17a0fcd80dbea0703ac0291d5e509b0c14d9c8', class: "col-12 col-md-4" }, index.h("form-control-text", { key: 'ae29fceaf3af789789c86f545dab6a9d0e4c8429', name: "line2", label: "Apartment, Suite, etc. (optional)", defaultValue: (_c = this.defaultValues) === null || _c === void 0 ? void 0 : _c.line2, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.line2, inputHandler: this.inputHandler })), index.h("div", { key: '55ccf8053ec8e3c1f4534c47d8d23eeac3383d13', class: "col-12" }, index.h("form-control-text", { key: '3a3ca85cbf0514da6828e3f5a0bf0fd4b9e983c8', name: "city", label: "City", defaultValue: (_e = this.defaultValues) === null || _e === void 0 ? void 0 : _e.city, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.city, inputHandler: this.inputHandler })), index.h("div", { key: 'daf6e6031b8dfab6a3e0170f96cc2f0649ded7ce', class: "col-12 col-md-6" }, index.h("form-control-select", { key: '08791966d72817826f23c3d55ffe3cbaad0ac3bd', name: "state", label: "State", defaultValue: (_g = this.defaultValues) === null || _g === void 0 ? void 0 : _g.state, options: stateOptions.StateOptions, errorText: (_h = this.errors) === null || _h === void 0 ? void 0 : _h.state, inputHandler: this.inputHandler })), index.h("div", { key: 'c97882ae4c598f762ec32e9ff54b819077ba7193', class: "col-12 col-md-6" }, index.h("form-control-text", { key: '562ffc8ad8de252d009a284b7b61f978084034dd', name: "postal_code", label: "Postal Code", defaultValue: (_j = this.defaultValues) === null || _j === void 0 ? void 0 : _j.postal_code, errorText: (_k = this.errors) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: utils.numberOnlyHandler, inputHandler: this.inputHandler })), index.h("div", { key: '6fda38b6ab0618bd9c47ae51417f3b7e10148f53', class: "col-12" }, index.h("form-control-select", { key: 'df9ec4209e2c82ba05af0160cb74849c20110bae', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: (_l = this.defaultValues) === null || _l === void 0 ? void 0 : _l.country, errorText: (_m = this.errors) === null || _m === void 0 ? void 0 : _m.country,
126
165
  // just for now so we skip handling country specificities
127
166
  disabled: true })))));
128
167
  }
@@ -40,7 +40,7 @@ const FileInput = class {
40
40
  this.fileInput = this.el.querySelector('input');
41
41
  }
42
42
  render() {
43
- return (index.h(index.Host, { key: 'ed29128c1c4c811aa030697347adb88e0143b031', exportparts: "label,input,input-invalid" }, index.h("div", { key: '6c924bdbbccae8e98a382a92e54c5b9c288de8d4', class: "form-group d-flex flex-column" }, index.h("label", { key: 'dbacccea94e39815737683495e3df83b514b79af', part: "label", class: "form-label", htmlFor: this.name }, this.label), index.h("input", { key: 'a7eef53c9fff54eace8c6960b8c62a833d30bfa3', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: `input ${this.errorText ? 'input-invalid ' : ''}${this.disabled ? ' input-disabled' : ''}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onBlur: () => this.formControlBlur.emit() }), index.h("form-control-help-text", { key: 'a5abacb92bdb3fb59d0a2265114e858540f2c4b7', helpText: this.helpText, name: this.name }), index.h("form-control-error-text", { key: '6eeeef347237d363d3bc6616d58f19a7f0be7e3c', errorText: this.errorText, name: this.name }))));
43
+ return (index.h(index.Host, { key: 'e55c4e61544191f12bccce66ed922357090f6a12', exportparts: "label,input,input-invalid" }, index.h("div", { key: 'ec8dd08ef6d99ae26a82ff891b25ae2d3892aea1', class: "form-group d-flex flex-column" }, index.h("div", { key: '8430c4a605b4869e6bb4f206d5cbd1588c4e983d', class: "d-flex align-items-start gap-2" }, index.h("label", { key: 'e9519f7c08040964b5594961b6c26ce14bbc2681', part: "label", class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '67ec6c6453976e2e6442e82ab94f94a5d0d91bb2', helpText: this.helpText })), index.h("input", { key: 'a25d7f66085730bcb2a0f749f744f0f6bd9fa76e', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onBlur: () => this.formControlBlur.emit() }), index.h("form-control-error-text", { key: '96b42ba795d86098932c1aeaf4d868cfce17895d', errorText: this.errorText, name: this.name }))));
44
44
  }
45
45
  get el() { return index.getElement(this); }
46
46
  };
@@ -6,6 +6,20 @@ const index = require('./index-fb499e95.js');
6
6
  const index$1 = require('./index-750475a3.js');
7
7
  const formInputMasks = require('./form-input-masks-0879c139.js');
8
8
 
9
+ const FormControlHelpText = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.helpText = undefined;
13
+ this.name = undefined;
14
+ }
15
+ render() {
16
+ if (!this.helpText) {
17
+ return null;
18
+ }
19
+ return (index.h("small", { class: 'form-text text-muted', id: `form-help-text-${this.name}` }, this.helpText));
20
+ }
21
+ };
22
+
9
23
  const MonetaryInput = class {
10
24
  constructor(hostRef) {
11
25
  index.registerInstance(this, hostRef);
@@ -55,11 +69,12 @@ const MonetaryInput = class {
55
69
  (_a = this.imask) === null || _a === void 0 ? void 0 : _a.destroy();
56
70
  }
57
71
  render() {
58
- return (index.h(index.Host, { key: '8797b3aa5c6a30f472d51e2b9437b6158b0566fc', exportparts: "label,input,input-group-input,input-group-text,input-invalid" }, index.h("div", { key: '0d3e068cf104aec3f6250f5cd6c00a9342928fe8', class: "form-group d-flex flex-column" }, index.h("label", { key: '0e86db7c0d981bdae74c51dd75bf5579d07b4793', part: "label", class: "form-label", htmlFor: this.name }, this.label), index.h("div", { key: '8fc773de3995bb37e6fa00b34d8d9e2deaef4bbd', class: "input-group" }, index.h("span", { key: '83860eac764be9eeea31302d60525fb56af9dc1d', class: "input-group-text", part: "input-group-text" }, "$"), index.h("input", { key: 'b8c655c0b8eeb6ec328eeaed651773c293aa3100', ref: el => (this.textInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input input-group-input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), index.h("form-control-help-text", { key: 'b3f142b9c67a792a96b597bdaf91fd3abe1b7ce3', helpText: this.helpText, name: this.name }), index.h("form-control-error-text", { key: 'daefe97a15bde309c397a506de6cda9a0376323b', errorText: this.errorText, name: this.name }))));
72
+ return (index.h(index.Host, { key: '6c95f96829b6cacc9d3fa975e1b9e81fa2011360', exportparts: "label,input,input-group-input,input-group-text,input-invalid" }, index.h("div", { key: 'e8343e6439d4a52d21991f9071caebb94789afdf', class: "form-group d-flex flex-column" }, index.h("label", { key: '5bff3a49dc18c407a8df5c96fd65720531bad45c', part: "label", class: "form-label", htmlFor: this.name }, this.label), index.h("div", { key: '012e6cddda14b939c898df2c8422cd21f10e18fa', class: "input-group" }, index.h("span", { key: 'a7fa4827a93a925472271630a4667b64d1fa99c2', class: "input-group-text", part: "input-group-text" }, "$"), index.h("input", { key: 'd0e8c3f4e7466ab2115cbbe03bc9f81759f32c10', ref: el => (this.textInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input input-group-input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), index.h("form-control-help-text", { key: '62f6cbc7dad3127d5461b8d003e9cf0a991373ff', helpText: this.helpText, name: this.name }), index.h("form-control-error-text", { key: '465b5a31b6434b2afc40ff4cc6d29713e5840fe8', errorText: this.errorText, name: this.name }))));
59
73
  }
60
74
  static get watchers() { return {
61
75
  "defaultValue": ["handleDefaultValueChange"]
62
76
  }; }
63
77
  };
64
78
 
79
+ exports.form_control_help_text = FormControlHelpText;
65
80
  exports.form_control_monetary = MonetaryInput;
@@ -36,7 +36,7 @@ const NumberInput = class {
36
36
  this.updateInput(this.defaultValue);
37
37
  }
38
38
  render() {
39
- return (index.h(index.Host, { key: 'dd43d75b327c05e75b453b954346c6ffcd85a2f5', exportparts: 'label,input,input-invalid' }, index.h("div", { key: '5215f62251bd89be493ddffe46bf0c466b42e314', class: 'form-group d-flex flex-column' }, index.h("label", { key: 'f0409970f8d43bcdef92b81363cc24aa1bb691a0', part: "label", class: "form-label", htmlFor: this.name }, this.label), index.h("input", { key: '9c6a5899e64ba1a8af6af80c63b6a0895351da63', id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), index.h("form-control-help-text", { key: 'cd7b4a724427383cafc04137f6feca473695b020', helpText: this.helpText, name: this.name }), index.h("form-control-error-text", { key: '04748d3c5b1067b0312a2b7c36369e2a21a7215f', errorText: this.errorText, name: this.name }))));
39
+ return (index.h(index.Host, { key: '5f7a94160460fd8a92d740899a7418c98b3178d0', exportparts: 'label,input,input-invalid' }, index.h("div", { key: 'c8386c9c72a721d53d33d3894615f7d8f127b1bf', class: 'form-group d-flex flex-column' }, index.h("label", { key: '754f8714d1d0e42c977dace41e79d0e7b21c7e39', part: "label", class: "form-label", htmlFor: this.name }, this.label), index.h("input", { key: '4289872c0983d50ff89851aac2309b911e6348df', id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), index.h("form-control-help-text", { key: '0de80b8d728865b8978a7daaf54315dbf422dced', helpText: this.helpText, name: this.name }), index.h("form-control-error-text", { key: 'b0cd9a78aa4c44dc7103c5d6ceced7258b197f16', errorText: this.errorText, name: this.name }))));
40
40
  }
41
41
  get el() { return index.getElement(this); }
42
42
  static get watchers() { return {
@@ -2,7 +2,7 @@
2
2
 
3
3
  const Api = require('./Api-b98b256f.js');
4
4
  require('./Pagination-0da8f095.js');
5
- require('./Payment-1a8a8ca6.js');
5
+ require('./Payment-04a842f4.js');
6
6
  require('./Payout-a2dd7b01.js');
7
7
  const config = require('./config-05767cba.js');
8
8
  const ComponentError = require('./ComponentError-233ac749.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-fb499e95.js');
6
- const utils = require('./utils-af1b60a9.js');
6
+ const utils = require('./utils-52fb7fa1.js');
7
7
  const utils$1 = require('./utils-c1d2e426.js');
8
8
 
9
9
  /*!
@@ -11045,7 +11045,7 @@ const GrossPaymentChartCore = class {
11045
11045
  }
11046
11046
  }
11047
11047
  render() {
11048
- return (index.h(index.Host, { key: '463d7e132e647e1da6dc5ad5ea54abf95a60e715' }, this.loading && utils$1.LoadingState(), !this.errorMessage ? index.h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : utils$1.ErrorState(this.errorMessage)));
11048
+ return (index.h(index.Host, { key: 'aee0faee30a5c998410cdb28d52107ce2c0cb672' }, this.loading && utils$1.LoadingState(), !this.errorMessage ? index.h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : utils$1.ErrorState(this.errorMessage)));
11049
11049
  }
11050
11050
  static get watchers() { return {
11051
11051
  "getGrossPayment": ["propChanged"],
@@ -7,12 +7,12 @@ const ComponentError = require('./ComponentError-233ac749.js');
7
7
  const paymentProvisioningActions = require('./payment-provisioning-actions-06466dda.js');
8
8
  const business_service = require('./business.service-031c0084.js');
9
9
  const index_esm = require('./index.esm-52757963.js');
10
- const businessFormTypes = require('./business-form-types-6e1fcda3.js');
10
+ const businessFormTypes = require('./business-form-types-719b7f52.js');
11
11
  const schemaValidations = require('./schema-validations-0a7e46a3.js');
12
12
  const businessFormOptions = require('./business-form-options-5db0bd5e.js');
13
13
  const Api = require('./Api-b98b256f.js');
14
14
  require('./Pagination-0da8f095.js');
15
- require('./Payment-1a8a8ca6.js');
15
+ require('./Payment-04a842f4.js');
16
16
  require('./Payout-a2dd7b01.js');
17
17
  const config = require('./config-05767cba.js');
18
18
  const utils = require('./utils-ddacfc44.js');
@@ -64,7 +64,7 @@ const AdditionalQuestionsFormStep = class {
64
64
  }
65
65
  }
66
66
  render() {
67
- return (index.h("justifi-additional-questions-form-step-core", { key: 'ede8f1336c69d47c651a5b4b95ee2746aae3aa52', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
67
+ return (index.h("justifi-additional-questions-form-step-core", { key: '6ca8443cbe837d993be4381a9d650caaaf51f2df', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
68
68
  }
69
69
  static get watchers() { return {
70
70
  "authToken": ["propChanged"],
@@ -117,6 +117,7 @@ const BusinessBankAccountFormStep = class {
117
117
  constructor(hostRef) {
118
118
  index.registerInstance(this, hostRef);
119
119
  this.submitted = index.createEvent(this, "submitted", 7);
120
+ this.stepCompleted = index.createEvent(this, "form-step-completed", 7);
120
121
  this.formLoading = index.createEvent(this, "formLoading", 7);
121
122
  this.errorEvent = index.createEvent(this, "error-event", 7);
122
123
  this.fetchData = async () => {
@@ -196,10 +197,16 @@ const BusinessBankAccountFormStep = class {
196
197
  onSuccess();
197
198
  }
198
199
  this.submitted.emit({ data: response, metadata: { completedStep: businessFormTypes.BusinessFormStep.bankAccount } });
200
+ this.stepCompleted.emit({ data: response, formStep: businessFormTypes.BusinessFormStepV2.bankAccount });
199
201
  }
200
202
  async validateAndSubmit({ onSuccess }) {
201
- this.formDisabled ? onSuccess() :
203
+ if (this.formDisabled) {
204
+ this.stepCompleted.emit({ data: null, formStep: businessFormTypes.BusinessFormStepV2.bankAccount, metadata: 'no data submitted' });
205
+ onSuccess();
206
+ }
207
+ else {
202
208
  this.formController.validateAndSubmit(() => this.sendData(onSuccess));
209
+ }
203
210
  }
204
211
  ;
205
212
  componentWillLoad() {
@@ -217,7 +224,7 @@ const BusinessBankAccountFormStep = class {
217
224
  }
218
225
  render() {
219
226
  const bankAccountDefaultValue = this.formController.getInitialValues();
220
- return (index.h("form", { key: 'c2bdcd5ab6301d1a39e4d774df101281c41e2002' }, index.h("fieldset", { key: '7f6b607be5b7bc5fcd0dc1687adaa1ad00d7d2e9' }, index.h("legend", { key: '91b68746c65bb68f4fbd2eef151258e6915f8e35' }, "Bank Account Info"), index.h("hr", { key: '5eceedbf59faef10757c9e2b04d4dc4cd6b88a9b' }), index.h("div", { key: 'd3185db7fceb9851ccb44c1c89f8cbe5a37c24e0', class: "row gy-3" }, index.h("div", { key: '625caf0e9b93c244d94c69174ffff57126d39fa1', class: "col-12" }, index.h("form-control-text", { key: 'ddf3206b09047dfea56df850babe6c8f92ed33ee', name: "bank_name", label: "Bank Name", defaultValue: bankAccountDefaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: 'd7d498353eec8e1947ce748aa35cbee63e793817', class: "col-12" }, index.h("form-control-text", { key: 'a80050dcd088db0209c2e5da65b310d7fc7877f5', name: "nickname", label: "Nickname", defaultValue: bankAccountDefaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: 'ea5578470e0e4d0fd5b973807475a02c7764c9c8', class: "col-12" }, index.h("form-control-text", { key: 'dd8c77b43ddfca61cfd5ed39ce6e142654f18d9f', name: "account_owner_name", label: "Account Owner Name", defaultValue: bankAccountDefaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: 'cb3256226c5fdfa5ff2a02c456a6c384e06d16a6', class: "col-12" }, index.h("form-control-select", { key: 'a865f48350a0ae6b6a2a540dc2d54de72a8af074', name: "account_type", label: "Account Type", options: businessFormOptions.bankAccountTypeOptions, defaultValue: bankAccountDefaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: 'aa9062a25dade06db1f175d4233f2e5bb4e7ecd7', class: "col-12" }, index.h("form-control-text", { key: '1a87920e4df50178625446c770e4182d918664c7', name: "account_number", label: "Account Number", defaultValue: bankAccountDefaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, disabled: this.formDisabled })), index.h("div", { key: 'c72858a29aa1289b367c0eb89d6cc0eded23346d', class: "col-12" }, index.h("form-control-text", { key: 'b7fb93bcf16c01689245d5aca11142b013fe6adc', name: "routing_number", label: "Routing Number", defaultValue: bankAccountDefaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, disabled: this.formDisabled }))))));
227
+ return (index.h("form", { key: 'c19f52934f1fa591d71175d1a0a584c0e9d0bd92' }, index.h("fieldset", { key: '96c326422e38efe3413b282fcc2415355108992c' }, index.h("div", { key: '7a39297bc087e310ad28fbdd58e71b509c002132', class: "d-flex align-items-center gap-2" }, index.h("legend", { key: '81b0cc0fc84846e04f3efb1efc0c33c181a3399d', class: "mb-0" }, "Bank Account Info"), index.h("form-control-tooltip", { key: 'f24f0605251a59c7df3a01bfb5d01302e95b45ba', helpText: "The Direct Deposit Account is the business bank account where your funds will be deposited. The name of this account must match the registered business name exactly. We are not able to accept personal accounts unless your business is a registered sole proprietorship." })), index.h("hr", { key: '8386d2b17e191ca529a663ced0c430e71c3da4d6', class: "mt-2" }), index.h("div", { key: 'd5ddcc4c0b54320a0e1f1fd381dd41e8bdb86c2f', class: "row gy-3" }, index.h("div", { key: '29bd4e26bed9fef74ee79241d5dc6fd9a4d5954e', class: "col-12" }, index.h("form-control-text", { key: 'ac9781048b7dfb24da9565b058994ffd78053db9', name: "bank_name", label: "Bank Name", defaultValue: bankAccountDefaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: 'db9d13b0a62927b790bdcf5bc77ffa4fbadb227b', class: "col-12" }, index.h("form-control-text", { key: '41d192f0d9df09e62aa929642ca2ae40946f951e', name: "nickname", label: "Nickname", defaultValue: bankAccountDefaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: '2b37a20c6bb6f942ccf5b49e84a2d6d1669d9fd7', class: "col-12" }, index.h("form-control-text", { key: '0392b8d08a48ff27af80d6fa42959b90a713de4e', name: "account_owner_name", label: "Account Owner Name", defaultValue: bankAccountDefaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: '2a30485d70f0825e7e677b3f4b75caf4c601090e', class: "col-12" }, index.h("form-control-select", { key: '65cb43b080e47208bf83099cfec12cc8351281c6', name: "account_type", label: "Account Type", options: businessFormOptions.bankAccountTypeOptions, defaultValue: bankAccountDefaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: 'ab0c65f348486814ac14ed548ecaa25610e14d58', class: "col-12" }, index.h("form-control-text", { key: '3c08ce88f652bfe6ae64807beab30ed796cad6c3', name: "account_number", label: "Account Number", defaultValue: bankAccountDefaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, disabled: this.formDisabled, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." })), index.h("div", { key: 'f5314db551f6d4482f151b49d9db685b78223f2a', class: "col-12" }, index.h("form-control-text", { key: '1f204b3140c9fc4fe20519ebc082751c291ba816', name: "routing_number", label: "Routing Number", defaultValue: bankAccountDefaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, disabled: this.formDisabled, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." }))))));
221
228
  }
222
229
  };
223
230
 
@@ -262,7 +269,7 @@ const BusinessCoreInfoFormStep = class {
262
269
  }
263
270
  }
264
271
  render() {
265
- return (index.h("justifi-business-core-info-form-step-core", { key: '4ee53046d16fd42df4e09b10c338a740c22184ef', businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
272
+ return (index.h("justifi-business-core-info-form-step-core", { key: '8b034d8c728aef3683823a45083764a456d07545', businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
266
273
  }
267
274
  static get watchers() { return {
268
275
  "authToken": ["propChanged"],
@@ -296,6 +303,7 @@ const BusinessDocumentFormStep = class {
296
303
  constructor(hostRef) {
297
304
  index.registerInstance(this, hostRef);
298
305
  this.submitted = index.createEvent(this, "submitted", 7);
306
+ this.stepCompleted = index.createEvent(this, "form-step-completed", 7);
299
307
  this.formLoading = index.createEvent(this, "formLoading", 7);
300
308
  this.errorEvent = index.createEvent(this, "error-event", 7);
301
309
  this.inputHandler = (name, value) => {
@@ -385,6 +393,7 @@ const BusinessDocumentFormStep = class {
385
393
  }
386
394
  else {
387
395
  this.submitted.emit({ data: response, metadata: { completedStep: businessFormTypes.BusinessFormStep.documentUpload } });
396
+ this.stepCompleted.emit({ data: response, formStep: businessFormTypes.BusinessFormStepV2.documentUpload });
388
397
  return true;
389
398
  }
390
399
  };
@@ -398,6 +407,7 @@ const BusinessDocumentFormStep = class {
398
407
  try {
399
408
  const docArray = Object.values(this.documentData).flat();
400
409
  if (!docArray.length) {
410
+ this.stepCompleted.emit({ data: null, formStep: businessFormTypes.BusinessFormStepV2.documentUpload, metadata: 'no data submitted' });
401
411
  return onSuccess();
402
412
  }
403
413
  const documentRecords = docArray.map(docData => this.createDocumentRecord(docData));
@@ -467,7 +477,7 @@ const BusinessDocumentFormStep = class {
467
477
  return (index.h("justifi-business-document-upload-input-group", { paymentVolume: this.paymentVolume, inputHandler: this.inputHandler, storeFiles: this.storeFiles, errors: this.errors }));
468
478
  }
469
479
  render() {
470
- return (index.h("form", { key: '38bb9070ca04f773ec092ebb14ce8ad20f33d8cf' }, index.h("fieldset", { key: '9c736d11200bb9c5a37c1319f3bfb349b7a5e93f' }, index.h("legend", { key: '92ed2fb864e85e38532af364518c25ef4bd275a5' }, "Document Uploads"), index.h("p", { key: 'f5803df74a5d0bc4e544c6cc968333f2a3f77385' }, "Various file formats such as PDF, DOC, DOCX, JPEG, and others are accepted. Multiple files can be uploaded for each document category."), index.h("hr", { key: '0c696d1bdb614bdacb3cbadeee66c95149efda68' }), this.documentsOnFile, index.h("div", { key: '7919205dfda677526d810a9fa1507ed8a55eafb8', class: "d-flex flex-column" }, this.formInputs))));
480
+ return (index.h("form", { key: 'f240b37d159cbf3db19e4256f97ade622e88d41b' }, index.h("fieldset", { key: '0555c8a1747336af04b470f750343d231cebb7cc' }, index.h("div", { key: '7c46295e5997aba7f769324d52def17236babe7b', class: "d-flex align-items-center gap-2" }, index.h("legend", { key: '2a3fe8a3031a1923df6de8752438d595d935d8f6', class: "mb-0" }, "Document Uploads"), index.h("form-control-tooltip", { key: '6b3f02a801ff53a1c28ee30710980f5e2790ac5c', helpText: "Various file formats such as PDF, DOC, DOCX, JPEG, and others are accepted. Multiple files can be uploaded for each document category." })), index.h("hr", { key: 'ac1f9e460920d3654f9c079e8c3fc84ccf7369b4', class: "mt-2" }), this.documentsOnFile, index.h("div", { key: '444b0f875d460d6bdddc9183bc5c797d3828c127', class: "d-flex flex-column" }, this.formInputs))));
471
481
  }
472
482
  };
473
483
 
@@ -512,7 +522,7 @@ const BusinessOwnersFormStep = class {
512
522
  }
513
523
  }
514
524
  render() {
515
- return (index.h(index.Host, { key: '213a68fd3543eb912c6fed376128ba877ba75871' }, index.h("justifi-business-owners-form-step-core", { key: '5acee797bd35f5b60cadc5ddd50f560532dfe8b1', authToken: this.authToken, businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: (el) => this.coreComponent = el })));
525
+ return (index.h(index.Host, { key: '31bd33a08c9eb4a849db8898b3ec7e6fede7b843' }, index.h("justifi-business-owners-form-step-core", { key: '9e4c88686e1a5ebfd81ab5f1aebd21f58c4e6be5', authToken: this.authToken, businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: (el) => this.coreComponent = el })));
516
526
  }
517
527
  static get watchers() { return {
518
528
  "authToken": ["propChanged"],
@@ -561,7 +571,7 @@ const BusinessRepresentativeFormStep = class {
561
571
  }
562
572
  }
563
573
  render() {
564
- return (index.h("justifi-business-representative-form-step-core", { key: '866d8cf33d53eff562dac1d36898b4c5695bf39b', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
574
+ return (index.h("justifi-business-representative-form-step-core", { key: '934b6204cfe78ffe17b3f975de3eedb64398168d', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
565
575
  }
566
576
  static get watchers() { return {
567
577
  "authToken": ["propChanged"],
@@ -585,6 +595,7 @@ const BusinessTermsConditionsFormStep = class {
585
595
  constructor(hostRef) {
586
596
  index.registerInstance(this, hostRef);
587
597
  this.submitted = index.createEvent(this, "submitted", 7);
598
+ this.stepCompleted = index.createEvent(this, "form-step-completed", 7);
588
599
  this.formLoading = index.createEvent(this, "formLoading", 7);
589
600
  this.errorEvent = index.createEvent(this, "error-event", 7);
590
601
  this.fetchData = async () => {
@@ -670,6 +681,7 @@ const BusinessTermsConditionsFormStep = class {
670
681
  onSuccess();
671
682
  }
672
683
  this.submitted.emit({ data: response, metadata: { completedStep: businessFormTypes.BusinessFormStep.termsAndConditions } });
684
+ this.stepCompleted.emit({ data: response, formStep: businessFormTypes.BusinessFormStepV2.termsAndConditions });
673
685
  }
674
686
  async validateAndSubmit({ onSuccess }) {
675
687
  if (this.acceptedTermsBefore) {
@@ -687,7 +699,7 @@ const BusinessTermsConditionsFormStep = class {
687
699
  });
688
700
  }
689
701
  render() {
690
- return (index.h("form", { key: 'a292e2b1b69d152009000d9e7009e5ab07698bc8' }, index.h("fieldset", { key: '30843e9ed0029f64abcf076512af82974dd99598' }, index.h("legend", { key: '6453679a074056668bdd93cb91d2d725b73fb0da' }, "Terms and Conditions"), index.h("hr", { key: '6a44c1128e3dceb770b16533aa61fb5e81f5dda2' }), index.h("justifi-business-terms-conditions-text", { key: '714c9f81c1d1f91712a276259acf4eb6734b40d4' }), index.h("br", { key: '5e955908e53af5ade77fca9f2a47e8a9d10e7ad8' }), index.h("div", { key: '7c6ca9d2634c7cc6988292ffedf86b64c3865557', class: "row-gy-3" }, index.h("div", { key: 'e8f01c4bdcc07e0063e3b8f5f1acbabc9b3310f7', class: "col-12" }, index.h("form-control-checkbox", { key: 'e09eeb02dc30a9461e958bf43685d2c58f4a608f', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText }))))));
702
+ return (index.h("form", { key: '3f269771c368a23afd1c7b139b0fce416d18f161' }, index.h("fieldset", { key: 'a94a5bf100cb5a10b156b8cf94dc85f03cc1f6ae' }, index.h("legend", { key: 'facb4a29cebd5147fe3c35d336df04546b550d74' }, "Terms and Conditions"), index.h("hr", { key: '3dafaab7d2d35bf9a00f87da643f6e1efaa7b147' }), index.h("justifi-business-terms-conditions-text", { key: '60a1370c8b0d817d79130e8607f6d663c4648c78' }), index.h("br", { key: 'e72e81a34b31a00ebe3a0d01e24dc096df7bc2a9' }), index.h("div", { key: '676ed858195c1b90a9e4fdc22ba9654ff944dc93', class: "row-gy-3" }, index.h("div", { key: '20039587eb6144a05078799f6a41feb59f43dbd2', class: "col-12" }, index.h("form-control-checkbox", { key: 'fc8eaa81e530b55f24e2ec994b97b4c181af94b2', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText }))))));
691
703
  }
692
704
  };
693
705
 
@@ -732,7 +744,7 @@ const LegalAddressFormStep = class {
732
744
  }
733
745
  }
734
746
  render() {
735
- return (index.h("justifi-legal-address-form-step-core", { key: '7455b4950e2ca1121004943ad81537c583438738', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
747
+ return (index.h("justifi-legal-address-form-step-core", { key: '06ac5acac2cc9c167a86448b0e12d885d21361fb', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
736
748
  }
737
749
  static get watchers() { return {
738
750
  "authToken": ["propChanged"],
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-fb499e95.js');
6
6
  const config = require('./config-05767cba.js');
7
- const Analytics = require('./Analytics-3c89cfb4.js');
8
- require('./package-3a9ac89d.js');
7
+ const Analytics = require('./Analytics-880f5152.js');
8
+ require('./package-cb1b1015.js');
9
9
  require('./Api-b98b256f.js');
10
10
 
11
11
  const BankAccountForm = class {
@@ -7,7 +7,7 @@ const index_esm = require('./index.esm-52757963.js');
7
7
  const schemaValidations = require('./schema-validations-0a7e46a3.js');
8
8
  const stateOptions = require('./state-options-4fbcb48a.js');
9
9
  const utils = require('./utils-ddacfc44.js');
10
- const styledHost = require('./styled-host-9e0b67b3.js');
10
+ const styledHost = require('./styled-host-1adf46c3.js');
11
11
  require('./business-form-options-5db0bd5e.js');
12
12
  require('./Business-aa799fec.js');
13
13
  require('./helpers-602962eb.js');
@@ -73,7 +73,7 @@ const SaveNewPaymentMethod = class {
73
73
  this.checkboxChanged.emit(this.isChecked);
74
74
  }
75
75
  render() {
76
- return (index.h("div", { key: 'f22a132a518a98786c8486e08c9a65050f3c5ea0', class: "mt-4 form-check" }, index.h("input", { key: '6f1392f9dd29a9761f5942b0a40e05a899858ada', type: "checkbox", checked: this.isChecked, onChange: (event) => this.handleCheckboxChange(event), class: "form-check-input" }), index.h("label", { key: 'e6e5908ba70ece8ea19370a04104d88d17237fc7', class: "form-check-label" }, "Save new payment method")));
76
+ return (index.h("div", { key: 'dc65b5d53172a7d3b26f7a09ea98b865fcc4689a', class: "mt-4 form-check" }, index.h("input", { key: 'e4af44c05c9f45ffe6d2eb88199983725d421d7b', type: "checkbox", checked: this.isChecked, onChange: (event) => this.handleCheckboxChange(event), class: "form-check-input" }), index.h("label", { key: 'ad6aa82a60e4d2c6f73cda78a819e9f1590a598b', class: "form-check-label" }, "Save new payment method")));
77
77
  }
78
78
  };
79
79
 
@@ -8,13 +8,13 @@ const business_service = require('./business.service-031c0084.js');
8
8
  const Business = require('./Business-aa799fec.js');
9
9
  const ComponentError = require('./ComponentError-233ac749.js');
10
10
  const utils = require('./utils-7a478c37.js');
11
- const Analytics = require('./Analytics-3c89cfb4.js');
12
- const checkPkgVersion = require('./check-pkg-version-4fa0367d.js');
11
+ const Analytics = require('./Analytics-880f5152.js');
12
+ const checkPkgVersion = require('./check-pkg-version-54f7dfda.js');
13
13
  require('./config-05767cba.js');
14
14
  require('./Api-b98b256f.js');
15
15
  require('./helpers-602962eb.js');
16
16
  require('./state-options-4fbcb48a.js');
17
- require('./package-3a9ac89d.js');
17
+ require('./package-cb1b1015.js');
18
18
 
19
19
  const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
20
20
  var _a;
@@ -8,19 +8,19 @@ const businessAdditionalQuestionsSchema = require('./business-additional-questio
8
8
  const businessIdentitySchema = require('./business-identity-schema-503ecb77.js');
9
9
  const Api = require('./Api-b98b256f.js');
10
10
  require('./Pagination-0da8f095.js');
11
- require('./Payment-1a8a8ca6.js');
11
+ require('./Payment-04a842f4.js');
12
12
  require('./Payout-a2dd7b01.js');
13
13
  const config = require('./config-05767cba.js');
14
- const businessFormTypes = require('./business-form-types-6e1fcda3.js');
14
+ const businessFormTypes = require('./business-form-types-719b7f52.js');
15
15
  const Business = require('./Business-aa799fec.js');
16
- const Analytics = require('./Analytics-3c89cfb4.js');
17
- const styledHost = require('./styled-host-9e0b67b3.js');
18
- const checkPkgVersion = require('./check-pkg-version-4fa0367d.js');
16
+ const Analytics = require('./Analytics-880f5152.js');
17
+ const styledHost = require('./styled-host-1adf46c3.js');
18
+ const checkPkgVersion = require('./check-pkg-version-54f7dfda.js');
19
19
  require('./schema-validations-0a7e46a3.js');
20
20
  require('./state-options-4fbcb48a.js');
21
21
  require('./business-form-options-5db0bd5e.js');
22
22
  require('./helpers-602962eb.js');
23
- require('./package-3a9ac89d.js');
23
+ require('./package-cb1b1015.js');
24
24
 
25
25
  const businessFormSchema = index_esm.create$3(Object.assign(Object.assign({}, businessAdditionalQuestionsSchema.businessCoreInfoSchema().fields), { legal_address: businessIdentitySchema.addressSchema(), additional_questions: businessAdditionalQuestionsSchema.additionalQuestionsSchema(), representative: businessIdentitySchema.identitySchema('representative') }));
26
26
 
@@ -23,7 +23,7 @@ const RepresentativeFormInputs = class {
23
23
  }
24
24
  render() {
25
25
  var _a, _b, _c, _d, _e, _f, _g;
26
- return (index.h("form", { key: '8b46b3b30681c7e7f30395a2cac575a7bd7ac998' }, index.h("fieldset", { key: 'e6b8f2ebca22c295fd6897c0e8862200171c2b4d' }, index.h("legend", { key: '8f8f52240f5ccc3f5d43507681dc970b4260bb1b' }, "Representative"), index.h("hr", { key: '8b07c69a514534ab731e7c01b6ee4c7a0e59e06e' }), index.h("div", { key: '79f44ba9dcbcf9d010aed92e332f686ca7127285', class: 'row gy-3' }, index.h("div", { key: '2a1aeb5ddee1dafc40e108cfb2e9ed6f4d8bc183', class: 'col-12 col-md-8' }, index.h("form-control-text", { key: '6e089f2d4f734da266e94b38ec1435dc3f461d5f', name: 'name', label: 'Full Name', defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { key: 'c86421e524752e017180aef58e01229bf751e941', class: 'col-12 col-md-4' }, index.h("form-control-text", { key: 'ad8105f6d9a46397eb481666c19468376716544c', name: 'title', label: 'Title', defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler })), index.h("div", { key: '7775905e46c00337a98ab668c8453e14d27bfc4d', class: 'col-12 col-md-6' }, index.h("form-control-text", { key: 'e810f2395101a1e48d8d3ff66617ac82d0ec90b3', name: 'email', label: 'Email Address', defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: '66a91e85d1902e32668407e684774820c02dce67', class: 'col-12 col-md-6' }, index.h("form-control-number-masked", { key: 'aad97ca95c5b2ec728ea00916a46ff4b84661b96', name: 'phone', label: 'Phone Number', defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US })), index.h("div", { key: '3cd56ea0ac1e472e905c8113f6335868c39882f1', class: 'col-12 col-md-4' }, index.h("form-control-date", { key: '2f6d505220cacc08a80029ada089370f3841d9ed', name: 'dob_full', label: 'Birth Date', defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => inputHandlers.updateDateOfBirthFormValues(e, this.formController) })), index.h("div", { key: 'cf2df0af006a50d3533b798607025b4d6ee82ca0', class: 'col-12 col-md-8' }, index.h("form-control-number-masked", { key: '033e4264a1466d300891b2328c0bfaced7acb04d', name: 'identification_number', label: 'SSN', defaultValue: (_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: formInputMasks.SSN_MASK })), index.h("div", { key: '2dc7be12d65203da4d4e0bdd995256a7bdc5bf37', class: 'col-12' }, index.h("justifi-identity-address-form", { key: '47916ab24bf990be3541b72bfa2dc46cccca5a31', errors: this.errors.address, defaultValues: (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.address, handleFormUpdate: this.onAddressFormUpdate }))))));
26
+ return (index.h("form", { key: 'e60e25f358a68b95126f1b0238b754db71ffeb5e' }, index.h("fieldset", { key: 'ab9ca66102990e85694090847abda3842b4302e2' }, index.h("div", { key: '7fd390072a5b449efb1d18538da2a5ca985b7786', class: "d-flex align-items-center gap-2" }, index.h("legend", { key: '0fce87b8847777b8a2489684066a7f2ad28037a2', class: "mb-0" }, "Representative"), index.h("form-control-tooltip", { key: '685ab12d13997025ff840776a7868627d71c4ddf', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), index.h("hr", { key: '87c7bf398f56addcc816803ca4b0b8b6598f47f9', class: "mt-2" }), index.h("div", { key: '76f9606e68374f92810686b4ee1e65855bb724dd', class: "row gy-3" }, index.h("div", { key: '982dfe08aba4db2ed702aaff432bea4e527ab9cb', class: "col-12 col-md-8" }, index.h("form-control-text", { key: '4dfbde53299db25439a8be81187d7b3cb39d1026', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { key: '9d9428eb5a8269861170dfa3ec162f0b52581101', class: "col-12 col-md-4" }, index.h("form-control-text", { key: 'af3601d4dfa0ffbe0a83f467d88c34add95b57b6', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), index.h("div", { key: '9f56a922a12b5a8393effde4a7e5d3e62f29a8e6', class: "col-12 col-md-6" }, index.h("form-control-text", { key: 'cc784d334f4c4612686f62a613ac7910d680dba8', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: '4f63adab539a9f285985c440fcaf112ae81f7826', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: 'a170c6b9a6d553216adc41ac7603841b949b4b83', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US })), index.h("div", { key: '85ea5c9bc2b3992d44247991fda34a5142e50faa', class: "col-12 col-md-4" }, index.h("form-control-date", { key: '0e66f5255a6d159350ecd7d228ded18441b47d26', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => inputHandlers.updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), index.h("div", { key: 'e0dddceb3d489b9d92a19e983d2ef147c9127e68', class: "col-12 col-md-8" }, index.h("form-control-number-masked", { key: '0f95dd8c436a38377058bf6067d810d8bdcb7686', name: "identification_number", label: "SSN", defaultValue: (_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: formInputMasks.SSN_MASK, helpText: "Enter your full Social Security Number. It is required for Federal OFAC check." })), index.h("div", { key: '0fb3fea4773d72d787c50e18213379ca3aed5c9e', class: "col-12" }, index.h("justifi-identity-address-form", { key: 'fe9cf9cc527794376968d35cdd42bfd75e550cca', errors: this.errors.address, defaultValues: (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.address, handleFormUpdate: this.onAddressFormUpdate }))))));
27
27
  }
28
28
  };
29
29
 
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-fb499e95.js');
6
6
  const config = require('./config-05767cba.js');
7
- const Analytics = require('./Analytics-3c89cfb4.js');
8
- require('./package-3a9ac89d.js');
7
+ const Analytics = require('./Analytics-880f5152.js');
8
+ require('./package-cb1b1015.js');
9
9
  require('./Api-b98b256f.js');
10
10
 
11
11
  const CardForm = class {
@@ -69,7 +69,7 @@ const CardForm = class {
69
69
  return this.childRef.resize();
70
70
  }
71
71
  render() {
72
- return (index.h("justifi-payment-method-form", { key: '58843b8a47f35d716845de11f6a66d8960bc0776', ref: el => {
72
+ return (index.h("justifi-payment-method-form", { key: 'e31d3c703e1a0c3778ddeb88d118ea3ef88d0adf', ref: el => {
73
73
  if (el) {
74
74
  this.childRef = el;
75
75
  }
@@ -3,12 +3,12 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-fb499e95.js');
6
- const utils = require('./utils-af1b60a9.js');
6
+ const utils = require('./utils-52fb7fa1.js');
7
7
  const config = require('./config-05767cba.js');
8
8
  const ComponentError = require('./ComponentError-233ac749.js');
9
9
  const insuranceState = require('./insurance-state-80e24caf.js');
10
10
  const button = require('./button-3f400a66.js');
11
- const styledHost = require('./styled-host-9e0b67b3.js');
11
+ const styledHost = require('./styled-host-1adf46c3.js');
12
12
  const skeleton = require('./skeleton-748c5dde.js');
13
13
 
14
14
  class Checkout {
@@ -145,7 +145,7 @@ const CheckoutCore = class {
145
145
  return (index.h("section", null, index.h("div", { class: !this.isLoading && 'visually-hidden' }, index.h(skeleton.Skeleton, { height: "24px" })), index.h("div", { class: this.isLoading && 'visually-hidden' }, index.h("div", { class: "jfi-payment-description" }, (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_description), index.h("div", { class: "jfi-payment-total" }, index.h("span", { class: "jfi-payment-total-label" }, "Total"), "\u00A0", index.h("span", { class: "jfi-payment-total-amount" }, utils.formatCurrency(+((_b = this.checkout) === null || _b === void 0 ? void 0 : _b.total_amount)))))));
146
146
  }
147
147
  render() {
148
- return (index.h(styledHost.StyledHost, { key: 'e322f280a57bb0baab61174bca21f0a7e9afa3c1' }, index.h("div", { key: '4ad8cc4f6243de8ddc03fb184ac4e960a04280eb', class: "row gy-3 jfi-checkout-core" }, index.h("div", { key: '7f13e26b36790558c8eb455f4d5ab3d0952b4e62', class: "col-12" }, index.h("h2", { key: 'c5e4b6fc30f51821537915f3ce5d4830ed3f8da9', class: "fs-5 fw-bold pb-3 jfi-header" }, "Summary"), this.summary), index.h("div", { key: '164b7a2cc51d871ad4a92044d0f7240e376bd4b3', class: "col-12" }, index.h("slot", { key: 'a98b7c6a0bb9e4d1b102e832ee7aa43218432298', name: "insurance" })), index.h("div", { key: '415d3aac64b4190f54d785695c50a92ce02a76c2', class: "col-12 mt-4" }, index.h("h2", { key: '6d7f0df1165ec359877459a8bada855ef353c3b3', class: "fs-5 fw-bold pb-3 jfi-header" }, "Payment"), index.h("h3", { key: 'be8495d792cf065d2cbc7d3b46648c887951e313', class: "fs-6 fw-bold lh-lg" }, "Select payment type"), index.h("div", { key: '5c9d8baffb50b0b10e9911463f307581cad7619c', class: "d-flex flex-column" }, this.paymentType)), index.h("div", { key: '9351832b69a8e5285cae35534299b51193248719', class: "col-12" }, index.h("div", { key: '5b0e382836c858369caf93a287272922024ce72b', class: "d-flex justify-content-end" }, index.h(button.Button, { key: 'f76d37000f7b026e97f083e7cf817bed8f84f34f', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
148
+ return (index.h(styledHost.StyledHost, { key: '5f0d9ae550582f13376cc242bd8654e440f83219' }, index.h("div", { key: '6acd2acafa61be4a59b6ebbfdd7f14aac282d1dc', class: "row gy-3 jfi-checkout-core" }, index.h("div", { key: '23089c7a0e688fc44ab66dc46470f115bb430d0f', class: "col-12" }, index.h("h2", { key: '1888832c214484c0904135029f5f6bbdba356049', class: "fs-5 fw-bold pb-3 jfi-header" }, "Summary"), this.summary), index.h("div", { key: '47cac0b14213043a8b7c15127c17b51e92e6bef3', class: "col-12" }, index.h("slot", { key: '3548f92bee3b6b23bd74a8578601b1f1aac05960', name: "insurance" })), index.h("div", { key: 'ee3a5b2a7598ded7c88a17400e01b4dd8a4048bf', class: "col-12 mt-4" }, index.h("h2", { key: '65d196aa405f018a2f0c6606363a6d3fc0f957d6', class: "fs-5 fw-bold pb-3 jfi-header" }, "Payment"), index.h("h3", { key: '10b7613dec7240a342d147c11431a9217fd514e5', class: "fs-6 fw-bold lh-lg" }, "Select payment type"), index.h("div", { key: '29d3f1cca38f76f8cdee726cc779a0e0853124a2', class: "d-flex flex-column" }, this.paymentType)), index.h("div", { key: 'ebfdd182534f510887a8921d89054ae329d01cfd', class: "col-12" }, index.h("div", { key: '1a607695a7de0ef135e9ae2ee1ac63e174e71135', class: "d-flex justify-content-end" }, index.h(button.Button, { key: 'f3e9b863354b022f872b27434e1a020d03c6979e', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
149
149
  }
150
150
  };
151
151
  CheckoutCore.style = JustifiCheckoutCoreStyle0 + JustifiCheckoutCoreStyle1;
@@ -7,12 +7,12 @@ const ComponentError = require('./ComponentError-233ac749.js');
7
7
  const utils = require('./utils-7a478c37.js');
8
8
  const Api = require('./Api-b98b256f.js');
9
9
  require('./Pagination-0da8f095.js');
10
- require('./Payment-1a8a8ca6.js');
10
+ require('./Payment-04a842f4.js');
11
11
  require('./Payout-a2dd7b01.js');
12
12
  const config = require('./config-05767cba.js');
13
- const Analytics = require('./Analytics-3c89cfb4.js');
14
- const checkPkgVersion = require('./check-pkg-version-4fa0367d.js');
15
- require('./package-3a9ac89d.js');
13
+ const Analytics = require('./Analytics-880f5152.js');
14
+ const checkPkgVersion = require('./check-pkg-version-54f7dfda.js');
15
+ require('./package-cb1b1015.js');
16
16
 
17
17
  const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
18
18
  var _a;
@@ -137,11 +137,11 @@ const Checkout = class {
137
137
  this.checkoutCoreRef.fillBillingForm(fields);
138
138
  }
139
139
  render() {
140
- return (index.h("justifi-checkout-core", { key: 'ea50f0df79dae86294ccfdf2ec523f0fb81433e4', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, ref: el => {
140
+ return (index.h("justifi-checkout-core", { key: '24400b7f50a91d2c24e372a030fde6b0a1af9e66', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, ref: el => {
141
141
  if (el) {
142
142
  this.checkoutCoreRef = el;
143
143
  }
144
- } }, index.h("div", { key: '301247cf7c916ba1c6c5464e3c2f0226d0f6f041', slot: "insurance" }, index.h("slot", { key: 'a75ff85e5a6d954e7c0d3c24abac518a2765f889', name: "insurance" }))));
144
+ } }, index.h("div", { key: '0f530bd18cab94b2ab3707b22908198878d34a4a', slot: "insurance" }, index.h("slot", { key: '94d10781b8df51ab34df5e414e304537682d8c2c', name: "insurance" }))));
145
145
  }
146
146
  static get watchers() { return {
147
147
  "authToken": ["propChanged"],
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-fb499e95.js');
6
6
  const utils = require('./utils-c1d2e426.js');
7
- const styledHost = require('./styled-host-9e0b67b3.js');
7
+ const styledHost = require('./styled-host-1adf46c3.js');
8
8
 
9
9
  const Details = class {
10
10
  constructor(hostRef) {
@@ -12,7 +12,7 @@ const Details = class {
12
12
  this.errorMessage = undefined;
13
13
  }
14
14
  render() {
15
- return (index.h(styledHost.StyledHost, { key: '00b10fc4e459688ae06147ef1535f03609ec35e4', exportParts: 'detail-empty-state, detail-metadata-title, detail-metadata, detail-section, detail-section-title, \n detail-section-item-title, detail-section-item-data, detail-head, detail-title, detail-head-info' }, this.errorMessage ?
15
+ return (index.h(styledHost.StyledHost, { key: '067f67765c63376d98b996fded17eb6418832d92', exportParts: 'detail-empty-state, detail-metadata-title, detail-metadata, detail-section, detail-section-title, \n detail-section-item-title, detail-section-item-data, detail-head, detail-title, detail-head-info' }, this.errorMessage ?
16
16
  utils.ErrorState(this.errorMessage)
17
17
  :
18
18
  index.h("main", { class: "p-2" }, index.h("slot", { name: "head-info" }), index.h("slot", { name: 'detail-sections' }))));
@@ -8,9 +8,9 @@ const Api = require('./Api-b98b256f.js');
8
8
  const ComponentError = require('./ComponentError-233ac749.js');
9
9
  const utils = require('./utils-7a478c37.js');
10
10
  const utils$1 = require('./utils-c1d2e426.js');
11
- const Analytics = require('./Analytics-3c89cfb4.js');
12
- const checkPkgVersion = require('./check-pkg-version-4fa0367d.js');
13
- require('./package-3a9ac89d.js');
11
+ const Analytics = require('./Analytics-880f5152.js');
12
+ const checkPkgVersion = require('./check-pkg-version-54f7dfda.js');
13
+ require('./package-cb1b1015.js');
14
14
 
15
15
  class ReportsService {
16
16
  async fetchGrossVolumeChartData(accountId, authToken) {