@justifi/webcomponents 5.7.3-rc-01 → 5.7.3-rc-02

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 (456) hide show
  1. package/dist/cjs/{Checkout-BsYZoJ0a.js → Checkout-BTgAlgVL.js} +3 -3
  2. package/dist/cjs/{Refund-BDFOEJv_.js → Refund-BFE-2OxN.js} +56 -0
  3. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +3 -4
  4. package/dist/cjs/{justifi-bank-account-form.cjs.entry.js → bank-account-form.cjs.entry.js} +8 -30
  5. package/dist/cjs/{business-additional-questions-schema-CHOaeZot.js → business-additional-questions-schema-e3GCIHk5.js} +6 -6
  6. package/dist/cjs/{business-identity-schema-DmpEndsx.js → business-identity-schema-Diqj_WVQ.js} +10 -10
  7. package/dist/cjs/{business.service-ev-3rHag.js → business.service-DNoCHqtI.js} +2 -3
  8. package/dist/cjs/{justifi-card-form.cjs.entry.js → card-form.cjs.entry.js} +9 -31
  9. package/dist/cjs/{Analytics-DYN4hp2b.js → check-pkg-version-CgQ8N_ta.js} +22 -23
  10. package/dist/cjs/{checkout.service-D4hTYr1i.js → checkout.service-C3R0uykH.js} +2 -3
  11. package/dist/cjs/checkouts-list-core.cjs.entry.js +2 -3
  12. package/dist/cjs/{custom-popper_4.cjs.entry.js → custom-popper_2.cjs.entry.js} +0 -100
  13. package/dist/cjs/{dispute.service-Dru9NStj.js → dispute.service-CaA-mq-i.js} +2 -3
  14. package/dist/cjs/form-control-select_2.cjs.entry.js +105 -0
  15. package/dist/cjs/{get-payment-details-AOibpML7.js → get-payment-details-CnPsEZA8.js} +2 -3
  16. package/dist/cjs/{get-subaccounts-Dw7CbPDi.js → get-subaccounts-CgOAdXG4.js} +2 -3
  17. package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
  18. package/dist/cjs/{form-CWW8IM-X.js → index.esm-CVuJLXJZ.js} +10022 -10022
  19. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +49 -23
  20. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +9 -10
  21. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +34 -34
  22. package/dist/cjs/justifi-bank-account-form_4.cjs.entry.js +234 -0
  23. package/dist/cjs/{justifi-billing-information-form.cjs.entry.js → justifi-billing-information-form_2.cjs.entry.js} +58 -6
  24. package/dist/cjs/justifi-business-details.cjs.entry.js +7 -8
  25. package/dist/cjs/justifi-business-form.cjs.entry.js +13 -14
  26. package/dist/cjs/justifi-checkout-core.cjs.entry.js +1 -1
  27. package/dist/cjs/{justifi-modular-checkout.cjs.entry.js → justifi-checkout-summary_2.cjs.entry.js} +23 -11
  28. package/dist/cjs/justifi-checkout.cjs.entry.js +92 -48
  29. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -3
  30. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +8 -9
  31. package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -8
  32. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +7 -8
  33. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -7
  34. package/dist/cjs/justifi-new-payment-method.cjs.entry.js +99 -0
  35. package/dist/cjs/justifi-order-terminals.cjs.entry.js +8 -9
  36. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -8
  37. package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -9
  38. package/dist/cjs/justifi-payment-method-options_3.cjs.entry.js +166 -0
  39. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -8
  40. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -8
  41. package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -8
  42. package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -8
  43. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -8
  44. package/dist/cjs/justifi-payouts-list.cjs.entry.js +8 -9
  45. package/dist/cjs/justifi-refund-payment.cjs.entry.js +15 -16
  46. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +32 -0
  47. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +2 -2
  48. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -8
  49. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +2 -3
  50. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +7 -8
  51. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -3
  52. package/dist/cjs/justifi-terminals-list.cjs.entry.js +8 -9
  53. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +6 -7
  54. package/dist/cjs/loader.cjs.js +1 -1
  55. package/dist/cjs/{package-DF9mLjoQ.js → package-wSbEFwqE.js} +1 -1
  56. package/dist/cjs/{payment.service-rsnscZu7.js → payment.service-C-HKmIG6.js} +2 -3
  57. package/dist/cjs/payments-list-core.cjs.entry.js +2 -3
  58. package/dist/cjs/{payout.service-BnmI3X4n.js → payout.service-BHU3EPR2.js} +2 -3
  59. package/dist/cjs/payouts-list-core.cjs.entry.js +2 -3
  60. package/dist/cjs/{schema-validations-C0BNwMBi.js → schema-validations-BSeMee-o.js} +31 -54
  61. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -4
  62. package/dist/cjs/{terminal-orders-table-OxMHSAJ1.js → terminal-orders-table-C3KZTeE5.js} +2 -3
  63. package/dist/cjs/{terminal.service--PPaq5xS.js → terminal.service-Bc1YJWi0.js} +2 -3
  64. package/dist/cjs/terminals-list-core.cjs.entry.js +2 -3
  65. package/dist/cjs/webcomponents.cjs.js +1 -1
  66. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +1 -1
  67. package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +36 -8
  68. package/dist/collection/components/business-forms/schemas/schema-validations.js +1 -47
  69. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  70. package/dist/collection/components/checkout/billing-form/billing-form.js +2 -5
  71. package/dist/collection/components/checkout/checkout.js +102 -37
  72. package/dist/collection/components/checkout/new-payment-method.js +2 -2
  73. package/dist/collection/components/checkout/payment-method-options.js +37 -26
  74. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  75. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  76. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +2 -2
  77. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -2
  78. package/dist/collection/components/modular-checkout/modular-checkout.js +2 -2
  79. package/dist/docs.json +177 -203
  80. package/dist/esm/{Checkout-CV6qgU0r.js → Checkout-CH19cJxH.js} +3 -3
  81. package/dist/esm/{Refund-CwUn_GFj.js → Refund-BKe90wSq.js} +55 -1
  82. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  83. package/dist/esm/{badge-D_Q0kAPD.js → badge-BoemLewg.js} +1 -1
  84. package/dist/esm/bank-account-document-form-inputs_4.entry.js +5 -6
  85. package/dist/{module/bank-account-form2.js → esm/bank-account-form.entry.js} +12 -36
  86. package/dist/esm/{business-additional-questions-schema-0lssJqN7.js → business-additional-questions-schema-uQlQ8fXQ.js} +2 -2
  87. package/dist/esm/business-details-core.entry.js +3 -3
  88. package/dist/esm/{business-identity-schema-Bel1K5mu.js → business-identity-schema-BsrgqgDl.js} +2 -2
  89. package/dist/esm/{business.service-BM8hLxHS.js → business.service-wY8gOZQr.js} +2 -3
  90. package/dist/esm/{button-BVAxQPpP.js → button-BcLzheaP.js} +1 -1
  91. package/dist/esm/{justifi-card-form.entry.js → card-form.entry.js} +12 -34
  92. package/dist/esm/{Analytics-DR277kvb.js → check-pkg-version-BmebRZ4u.js} +22 -23
  93. package/dist/esm/{checkout.service-CuCgG9hv.js → checkout.service-Ci9Zkxiz.js} +2 -3
  94. package/dist/esm/checkouts-list-core.entry.js +7 -8
  95. package/dist/esm/{checkouts-table-Cc6U-0md.js → checkouts-table-ub2cX2KR.js} +2 -2
  96. package/dist/esm/{custom-popper_4.entry.js → custom-popper_2.entry.js} +3 -101
  97. package/dist/esm/{dispute.service-rB4Hq6ot.js → dispute.service-D3IjL7Z8.js} +2 -3
  98. package/dist/esm/form-alert_5.entry.js +1 -1
  99. package/dist/esm/form-control-checkbox.entry.js +3 -3
  100. package/dist/esm/form-control-date.entry.js +2 -2
  101. package/dist/esm/{form-control-error-text-_SAT-ts2.js → form-control-error-text-C4vfc3el.js} +1 -1
  102. package/dist/esm/form-control-file-v2_2.entry.js +2 -2
  103. package/dist/esm/{form-control-help-text-Cjeu_VrV.js → form-control-help-text-Dsr1zpTw.js} +1 -1
  104. package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
  105. package/dist/esm/form-control-monetary.entry.js +3 -3
  106. package/dist/esm/form-control-number-masked_2.entry.js +2 -2
  107. package/dist/esm/form-control-number.entry.js +3 -3
  108. package/dist/esm/form-control-radio.entry.js +1 -1
  109. package/dist/esm/form-control-select_2.entry.js +102 -0
  110. package/dist/esm/{get-payment-details-DtkGDTwo.js → get-payment-details-CmVKt1jR.js} +2 -3
  111. package/dist/esm/{get-subaccounts-C-ENQBmY.js → get-subaccounts-BRX7HFGO.js} +2 -3
  112. package/dist/esm/gross-payment-chart-core.entry.js +3 -3
  113. package/dist/esm/{header-1-5FIT-wD7.js → header-1-CmImLcLi.js} +1 -1
  114. package/dist/esm/{header-3-Ce9WLWBm.js → header-3-BMoxz2Hr.js} +1 -1
  115. package/dist/esm/hidden-input_2.entry.js +3 -3
  116. package/dist/esm/{form-BjGUIqxU.js → index.esm-BCNUj0Dx.js} +10022 -10022
  117. package/dist/esm/{insurance-state-BcwZy_5w.js → insurance-state-DMexHdvO.js} +1 -1
  118. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +43 -17
  119. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +6 -7
  120. package/dist/esm/justifi-additional-statement_8.entry.js +2 -2
  121. package/dist/esm/justifi-bank-account-form_4.entry.js +229 -0
  122. package/dist/esm/justifi-billing-information-form_2.entry.js +100 -0
  123. package/dist/esm/justifi-business-details.entry.js +7 -8
  124. package/dist/esm/justifi-business-form.entry.js +13 -14
  125. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  126. package/dist/esm/justifi-checkout-core.entry.js +7 -7
  127. package/dist/esm/{justifi-modular-checkout.entry.js → justifi-checkout-summary_2.entry.js} +22 -11
  128. package/dist/esm/justifi-checkout.entry.js +91 -47
  129. package/dist/esm/justifi-checkouts-list-filters.entry.js +3 -4
  130. package/dist/esm/justifi-checkouts-list.entry.js +10 -11
  131. package/dist/esm/justifi-details.entry.js +2 -2
  132. package/dist/esm/justifi-dispute-management.entry.js +5 -6
  133. package/dist/esm/justifi-dispute-notification_3.entry.js +8 -9
  134. package/dist/esm/justifi-gross-payment-chart.entry.js +6 -7
  135. package/dist/esm/justifi-new-payment-method.entry.js +97 -0
  136. package/dist/esm/justifi-order-terminals.entry.js +8 -9
  137. package/dist/esm/justifi-owner-form_3.entry.js +8 -9
  138. package/dist/esm/justifi-payment-details.entry.js +8 -9
  139. package/dist/esm/justifi-payment-method-options_3.entry.js +162 -0
  140. package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
  141. package/dist/esm/justifi-payment-provisioning.entry.js +5 -6
  142. package/dist/esm/justifi-payment-transactions-list.entry.js +8 -9
  143. package/dist/esm/justifi-payments-list-filters.entry.js +1 -1
  144. package/dist/esm/justifi-payments-list.entry.js +9 -10
  145. package/dist/esm/justifi-payout-details.entry.js +7 -8
  146. package/dist/esm/justifi-payout-transactions-list.entry.js +8 -9
  147. package/dist/esm/justifi-payouts-list-filters.entry.js +1 -1
  148. package/dist/esm/justifi-payouts-list.entry.js +10 -11
  149. package/dist/esm/justifi-refund-payment.entry.js +10 -11
  150. package/dist/esm/justifi-saved-payment-method.entry.js +30 -0
  151. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +5 -5
  152. package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -6
  153. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +3 -4
  154. package/dist/esm/justifi-terminal-orders-list.entry.js +7 -8
  155. package/dist/esm/justifi-terminals-list-filters.entry.js +3 -4
  156. package/dist/esm/justifi-terminals-list.entry.js +9 -10
  157. package/dist/esm/justifi-tokenize-payment-method.entry.js +6 -7
  158. package/dist/esm/loader.js +1 -1
  159. package/dist/esm/{package-CyXXks-Q.js → package-CJdXAC5R.js} +1 -1
  160. package/dist/esm/pagination-menu.entry.js +1 -1
  161. package/dist/esm/{parts-_6eQgwfE.js → parts-C71Mxtso.js} +1 -1
  162. package/dist/esm/payment-details-core.entry.js +5 -5
  163. package/dist/esm/{payment.service-DoUv1QsX.js → payment.service-ddFQWXPn.js} +2 -3
  164. package/dist/esm/payments-list-core.entry.js +8 -9
  165. package/dist/esm/{payments-status-BeL2gi3P.js → payments-status-DvsFQolO.js} +1 -1
  166. package/dist/esm/{payments-table-MrDAlH2o.js → payments-table-CCKeaI5x.js} +2 -2
  167. package/dist/esm/payout-details-core.entry.js +6 -6
  168. package/dist/esm/{payout.service-B_Fm08zQ.js → payout.service-Ws4Pebcz.js} +2 -3
  169. package/dist/esm/payouts-list-core.entry.js +8 -9
  170. package/dist/esm/{payouts-status-BxbhUjA3.js → payouts-status-BkM4Gvme.js} +1 -1
  171. package/dist/esm/{payouts-table-HoX3UYIj.js → payouts-table-CqBOvPOo.js} +2 -2
  172. package/dist/esm/{schema-validations-DYV7urvw.js → schema-validations-DLWfpHyI.js} +2 -23
  173. package/dist/esm/{skeleton-CPNYhX-V.js → skeleton-BVM4XTj9.js} +1 -1
  174. package/dist/esm/{spinner-Cl-6YJPf.js → spinner-BsxFRVXW.js} +1 -1
  175. package/dist/esm/{table-RCk8zh4L.js → table-DxdC1lXb.js} +2 -2
  176. package/dist/esm/table-filters-menu.entry.js +2 -2
  177. package/dist/esm/terminal-orders-list-core.entry.js +7 -8
  178. package/dist/esm/{terminal-orders-table-DxHLNkx_.js → terminal-orders-table-DV7nRYuE.js} +4 -5
  179. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  180. package/dist/esm/{terminal.service-2VkdfNas.js → terminal.service-DH8gRG1H.js} +2 -3
  181. package/dist/esm/terminals-list-core.entry.js +7 -8
  182. package/dist/esm/{terminals-table-v-LOevYA.js → terminals-table-DUHel128.js} +2 -2
  183. package/dist/esm/{utils-1WrbuHVR.js → utils-B-aPFy3u.js} +1 -1
  184. package/dist/esm/webcomponents.js +1 -1
  185. package/dist/module/Analytics.js +0 -1
  186. package/dist/module/Refund.js +55 -1
  187. package/dist/module/bank-account-document-inputs.js +1 -2
  188. package/dist/module/bank-account-form.js +83 -1
  189. package/dist/{esm/justifi-bank-account-form.entry.js → module/bank-account.js} +44 -27
  190. package/dist/module/billing-form.js +25 -19
  191. package/dist/{esm/justifi-billing-information-form.entry.js → module/billing-form2.js} +61 -19
  192. package/dist/module/business-bank-account-form-step-core.js +37 -11
  193. package/dist/module/business-bank-account-form-step.js +0 -1
  194. package/dist/module/business-terms-conditions-form-step.js +1 -2
  195. package/dist/module/business.service.js +0 -1
  196. package/dist/module/button.js +1 -1
  197. package/dist/module/card-form.js +91 -1
  198. package/dist/module/card-form2.js +30 -15
  199. package/dist/module/checkout.service.js +0 -1
  200. package/dist/module/checkouts-list-core2.js +0 -1
  201. package/dist/module/dispute-response-actions.js +0 -1
  202. package/dist/module/form.js +1 -1
  203. package/dist/module/get-payment-details.js +0 -1
  204. package/dist/module/get-subaccounts.js +0 -1
  205. package/dist/module/header-3.js +8 -0
  206. package/dist/module/justifi-bank-account-form.js +1 -98
  207. package/dist/module/justifi-billing-information-form.js +1 -89
  208. package/dist/module/justifi-business-form.js +0 -1
  209. package/dist/module/justifi-card-form.js +1 -106
  210. package/dist/module/justifi-checkout-core.js +201 -1
  211. package/dist/module/justifi-checkout-summary.js +1 -32
  212. package/dist/module/justifi-checkout.js +104 -109
  213. package/dist/module/justifi-checkouts-list-filters.js +0 -1
  214. package/dist/module/justifi-checkouts-list.js +0 -1
  215. package/dist/module/justifi-gross-payment-chart.js +0 -1
  216. package/dist/module/justifi-modular-checkout.js +1 -214
  217. package/dist/module/justifi-new-payment-method.js +214 -1
  218. package/dist/module/justifi-order-terminals.js +2 -3
  219. package/dist/module/justifi-payment-provisioning.js +0 -1
  220. package/dist/module/justifi-payment-transactions-list.js +1 -2
  221. package/dist/module/justifi-payments-list.js +0 -1
  222. package/dist/module/justifi-payout-details.js +0 -1
  223. package/dist/module/justifi-payout-transactions-list.js +1 -2
  224. package/dist/module/justifi-payouts-list.js +0 -1
  225. package/dist/module/justifi-postal-code-form.js +1 -81
  226. package/dist/module/justifi-refund-payment.js +1 -2
  227. package/dist/module/justifi-saved-payment-method.js +57 -1
  228. package/dist/module/justifi-saved-payment-methods.js +1 -53
  229. package/dist/module/justifi-season-interruption-insurance.js +2 -4
  230. package/dist/module/justifi-sezzle-payment-method.js +1 -108
  231. package/dist/module/justifi-terminal-orders-list-filters.js +0 -1
  232. package/dist/module/justifi-terminal-orders-list.js +1 -2
  233. package/dist/module/justifi-terminals-list-filters.js +0 -1
  234. package/dist/module/justifi-terminals-list.js +1 -2
  235. package/dist/module/justifi-tokenize-payment-method.js +8 -75
  236. package/dist/module/modular-checkout.js +269 -0
  237. package/dist/module/package.js +1 -1
  238. package/dist/module/parts.js +1 -1
  239. package/dist/module/payment-method-options.js +27 -100
  240. package/dist/module/payment.service.js +0 -1
  241. package/dist/module/payments-list-core2.js +0 -1
  242. package/dist/module/payout.service.js +0 -1
  243. package/dist/module/payouts-list-core2.js +0 -1
  244. package/dist/module/postal-code-form.js +83 -0
  245. package/dist/module/save-new-payment-method.js +1 -1
  246. package/dist/module/saved-payment-methods.js +55 -0
  247. package/dist/module/schema-validations.js +2 -23
  248. package/dist/module/season-interruption-insurance-core.js +2 -2
  249. package/dist/{esm/justifi-sezzle-payment-method.entry.js → module/sezzle-payment-method.js} +46 -14
  250. package/dist/module/summary.js +34 -0
  251. package/dist/module/terminal-orders-list-core2.js +0 -1
  252. package/dist/module/terminal.service.js +0 -1
  253. package/dist/module/terminals-list-core2.js +0 -1
  254. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -7
  255. package/dist/types/components/checkout/checkout.d.ts +19 -9
  256. package/dist/types/components/checkout/payment-method-options.d.ts +2 -1
  257. package/dist/types/components/modular-checkout/modular-checkout.d.ts +1 -1
  258. package/dist/types/components.d.ts +5 -1
  259. package/dist/webcomponents/p-07e8c50a.entry.js +1 -0
  260. package/dist/webcomponents/{p-be51c7c5.entry.js → p-0d038c74.entry.js} +1 -1
  261. package/dist/webcomponents/p-0d24f707.entry.js +1 -0
  262. package/dist/webcomponents/p-0f07e5d2.entry.js +1 -0
  263. package/dist/webcomponents/{p-ff223825.entry.js → p-114d2d7e.entry.js} +1 -1
  264. package/dist/webcomponents/p-16c567ac.entry.js +1 -0
  265. package/dist/webcomponents/{p-20d7db42.entry.js → p-1debe4fc.entry.js} +1 -1
  266. package/dist/webcomponents/p-1tXUo5Ef.js +1 -0
  267. package/dist/webcomponents/{p-ce291c6a.entry.js → p-20ac139f.entry.js} +1 -1
  268. package/dist/webcomponents/{p-b3e6d27c.entry.js → p-28190487.entry.js} +1 -1
  269. package/dist/webcomponents/p-30b1b0d4.entry.js +1 -0
  270. package/dist/webcomponents/{p-1d64d86b.entry.js → p-31b3575b.entry.js} +1 -1
  271. package/dist/webcomponents/p-32d41de6.entry.js +1 -0
  272. package/dist/webcomponents/p-3523e4d2.entry.js +1 -0
  273. package/dist/webcomponents/p-3c172b0a.entry.js +1 -0
  274. package/dist/webcomponents/{p-5ea3cfca.entry.js → p-498ef7fe.entry.js} +1 -1
  275. package/dist/webcomponents/p-4cdc323c.entry.js +1 -0
  276. package/dist/webcomponents/p-54487455.entry.js +1 -0
  277. package/dist/webcomponents/p-55b2ccd4.entry.js +1 -0
  278. package/dist/webcomponents/p-56368e10.entry.js +1 -0
  279. package/dist/webcomponents/{p-712220f9.entry.js → p-62308de3.entry.js} +1 -1
  280. package/dist/webcomponents/p-655e9c99.entry.js +1 -0
  281. package/dist/webcomponents/p-6ae0dad9.entry.js +1 -0
  282. package/dist/webcomponents/p-6ed72565.entry.js +1 -0
  283. package/dist/webcomponents/{p-8532c68c.entry.js → p-7982b38b.entry.js} +1 -1
  284. package/dist/webcomponents/p-7efbe6e6.entry.js +1 -0
  285. package/dist/webcomponents/p-803b249d.entry.js +1 -0
  286. package/dist/webcomponents/p-819c5da9.entry.js +1 -0
  287. package/dist/webcomponents/p-85b73bd5.entry.js +1 -0
  288. package/dist/webcomponents/p-8a2d963a.entry.js +1 -0
  289. package/dist/webcomponents/p-90521984.entry.js +1 -0
  290. package/dist/webcomponents/p-93564eb7.entry.js +1 -0
  291. package/dist/webcomponents/p-95aada97.entry.js +1 -0
  292. package/dist/webcomponents/{p-df2ad580.entry.js → p-9a4b9734.entry.js} +1 -1
  293. package/dist/webcomponents/{p-BSUCBhkJ.js → p-B1jCcGW-.js} +1 -1
  294. package/dist/webcomponents/{p-CwHYDF33.js → p-BRvTM0jE.js} +1 -1
  295. package/dist/webcomponents/p-BZAglFez.js +1 -0
  296. package/dist/webcomponents/p-BdTK0wi9.js +1 -0
  297. package/dist/webcomponents/p-BeOlrj_S.js +1 -0
  298. package/dist/webcomponents/p-BjIcn6FF.js +1 -0
  299. package/dist/webcomponents/{p-B7VsiIW-.js → p-BvkP2v3x.js} +1 -1
  300. package/dist/webcomponents/{p-_6eQgwfE.js → p-C71Mxtso.js} +1 -1
  301. package/dist/webcomponents/{p-Ctw40vkk.js → p-C8EG4ZSX.js} +1 -1
  302. package/dist/webcomponents/p-C8rAwXW9.js +1 -0
  303. package/dist/webcomponents/p-CA9D3qnA.js +1 -0
  304. package/dist/webcomponents/p-CFpYbRwn.js +1 -0
  305. package/dist/webcomponents/p-CGCMYhyV.js +1 -0
  306. package/dist/webcomponents/p-CJdXAC5R.js +1 -0
  307. package/dist/webcomponents/p-CO90ONTY.js +1 -0
  308. package/dist/webcomponents/{p-Dw6NWKHn.js → p-Cl-Q3cHB.js} +1 -1
  309. package/dist/webcomponents/p-DFPGAF4g.js +1 -0
  310. package/dist/webcomponents/p-DHP6oxsO.js +1 -0
  311. package/dist/webcomponents/{p-D3SYNGyb.js → p-DLr6u3Be.js} +1 -1
  312. package/dist/webcomponents/p-DT6jDcoi.js +1 -0
  313. package/dist/webcomponents/p-DVnVdicA.js +1 -0
  314. package/dist/webcomponents/p-DX1Drndq.js +1 -0
  315. package/dist/webcomponents/p-Db-JSm6-.js +1 -0
  316. package/dist/webcomponents/p-Dc10zfEZ.js +1 -0
  317. package/dist/webcomponents/p-Dw516k9e.js +1 -0
  318. package/dist/webcomponents/p-DwxSNAz7.js +1 -0
  319. package/dist/webcomponents/{p-CnnRWu7z.js → p-Fa3dQnb9.js} +1 -1
  320. package/dist/webcomponents/p-IrS5pxMU.js +1 -0
  321. package/dist/webcomponents/p-JOSiCHl7.js +1 -0
  322. package/dist/webcomponents/p-RadC5UjV.js +1 -0
  323. package/dist/webcomponents/p-SuXHDcwL.js +1 -0
  324. package/dist/webcomponents/p-_P2I6GdZ.js +1 -0
  325. package/dist/webcomponents/p-a3245777.entry.js +1 -0
  326. package/dist/webcomponents/{p-f7e24a51.entry.js → p-a8f1165e.entry.js} +1 -1
  327. package/dist/webcomponents/p-abcde13f.entry.js +1 -0
  328. package/dist/webcomponents/{p-e563df65.entry.js → p-b0c7f45a.entry.js} +1 -1
  329. package/dist/webcomponents/p-b122d960.entry.js +1 -0
  330. package/dist/webcomponents/{p-f71b1ff0.entry.js → p-badf50e2.entry.js} +1 -1
  331. package/dist/webcomponents/p-be676a47.entry.js +1 -0
  332. package/dist/webcomponents/p-bf9afbe6.entry.js +1 -0
  333. package/dist/webcomponents/p-c1dabcc9.entry.js +20 -0
  334. package/dist/webcomponents/p-c4989fc1.entry.js +1 -0
  335. package/dist/webcomponents/p-c6f6cca0.entry.js +1 -0
  336. package/dist/webcomponents/{p-d82b509a.entry.js → p-cbfb26e2.entry.js} +1 -1
  337. package/dist/webcomponents/p-cc26a8fa.entry.js +1 -0
  338. package/dist/webcomponents/p-cc5dfa3d.entry.js +1 -0
  339. package/dist/webcomponents/{p-ef9dcfe1.entry.js → p-cc7d0b8c.entry.js} +1 -1
  340. package/dist/webcomponents/p-d039c1ea.entry.js +1 -0
  341. package/dist/webcomponents/p-d5f95784.entry.js +1 -0
  342. package/dist/webcomponents/p-d6tXI5Iw.js +1 -0
  343. package/dist/webcomponents/p-dad85acd.entry.js +1 -0
  344. package/dist/webcomponents/{p-3edd5ebd.entry.js → p-db13afe8.entry.js} +1 -1
  345. package/dist/webcomponents/{p-9a17fd5a.entry.js → p-dd5c8738.entry.js} +1 -1
  346. package/dist/webcomponents/{p-6b229318.entry.js → p-e2ac6f48.entry.js} +1 -1
  347. package/dist/webcomponents/{p-1ac365b4.entry.js → p-e2adbafd.entry.js} +1 -1
  348. package/dist/webcomponents/p-ea883d7c.entry.js +1 -0
  349. package/dist/webcomponents/{p-15c63931.entry.js → p-ed8eb110.entry.js} +1 -1
  350. package/dist/webcomponents/{p-e8294f7e.entry.js → p-f0a849be.entry.js} +1 -1
  351. package/dist/webcomponents/p-f165c5fc.entry.js +1 -0
  352. package/dist/webcomponents/p-f1dcc9c2.entry.js +1 -0
  353. package/dist/webcomponents/p-f21e1351.entry.js +1 -0
  354. package/dist/webcomponents/p-f2d283e5.entry.js +1 -0
  355. package/dist/webcomponents/p-f55f054a.entry.js +1 -0
  356. package/dist/webcomponents/p-f7ae2df8.entry.js +1 -0
  357. package/dist/webcomponents/p-f7ef66ba.entry.js +1 -0
  358. package/dist/webcomponents/p-f8750427.entry.js +1 -0
  359. package/dist/webcomponents/p-fa781ff0.entry.js +1 -0
  360. package/dist/webcomponents/p-fe5b7b4c.entry.js +1 -0
  361. package/dist/webcomponents/{p-CqVelcDt.js → p-kfHhaHAJ.js} +1 -1
  362. package/dist/webcomponents/webcomponents.esm.js +1 -1
  363. package/package.json +1 -1
  364. package/dist/cjs/Document-rXGBUaOh.js +0 -58
  365. package/dist/cjs/bank-account-form_7.cjs.entry.js +0 -411
  366. package/dist/cjs/billing-form-schema-oZ4GROWP.js +0 -26
  367. package/dist/cjs/justifi-checkout-summary.cjs.entry.js +0 -21
  368. package/dist/cjs/justifi-postal-code-form.cjs.entry.js +0 -50
  369. package/dist/cjs/justifi-saved-payment-methods.cjs.entry.js +0 -31
  370. package/dist/cjs/justifi-sezzle-payment-method.cjs.entry.js +0 -80
  371. package/dist/esm/Document-Ct-uNz2r.js +0 -55
  372. package/dist/esm/bank-account-form_7.entry.js +0 -403
  373. package/dist/esm/billing-form-schema-PFvYpvy4.js +0 -24
  374. package/dist/esm/justifi-checkout-summary.entry.js +0 -19
  375. package/dist/esm/justifi-postal-code-form.entry.js +0 -48
  376. package/dist/esm/justifi-saved-payment-methods.entry.js +0 -29
  377. package/dist/module/Document.js +0 -55
  378. package/dist/module/checkout-actions.js +0 -58
  379. package/dist/module/checkout-core.js +0 -268
  380. package/dist/module/new-payment-method.js +0 -204
  381. package/dist/module/saved-payment-method.js +0 -59
  382. package/dist/webcomponents/p-00900e52.entry.js +0 -1
  383. package/dist/webcomponents/p-025ae692.entry.js +0 -1
  384. package/dist/webcomponents/p-02e26641.entry.js +0 -1
  385. package/dist/webcomponents/p-04c91ec1.entry.js +0 -1
  386. package/dist/webcomponents/p-0d5e93b3.entry.js +0 -1
  387. package/dist/webcomponents/p-19b5f93a.entry.js +0 -1
  388. package/dist/webcomponents/p-25b310f0.entry.js +0 -1
  389. package/dist/webcomponents/p-271b131d.entry.js +0 -1
  390. package/dist/webcomponents/p-2882b4e9.entry.js +0 -1
  391. package/dist/webcomponents/p-2a08ba01.entry.js +0 -1
  392. package/dist/webcomponents/p-2f027626.entry.js +0 -1
  393. package/dist/webcomponents/p-2fa36c0e.entry.js +0 -1
  394. package/dist/webcomponents/p-379584fb.entry.js +0 -1
  395. package/dist/webcomponents/p-39f31e23.entry.js +0 -1
  396. package/dist/webcomponents/p-3b6888c5.entry.js +0 -1
  397. package/dist/webcomponents/p-3d62f9a5.entry.js +0 -1
  398. package/dist/webcomponents/p-4232760b.entry.js +0 -1
  399. package/dist/webcomponents/p-4be4f7b4.entry.js +0 -1
  400. package/dist/webcomponents/p-531738ae.entry.js +0 -1
  401. package/dist/webcomponents/p-54019e68.entry.js +0 -1
  402. package/dist/webcomponents/p-584ba20d.entry.js +0 -1
  403. package/dist/webcomponents/p-5bc6f1e6.entry.js +0 -20
  404. package/dist/webcomponents/p-5bfbb0f8.entry.js +0 -1
  405. package/dist/webcomponents/p-5da3ba38.entry.js +0 -1
  406. package/dist/webcomponents/p-5f9dbaff.entry.js +0 -1
  407. package/dist/webcomponents/p-6fc1ace5.entry.js +0 -1
  408. package/dist/webcomponents/p-716d41f2.entry.js +0 -1
  409. package/dist/webcomponents/p-7253f1ea.entry.js +0 -1
  410. package/dist/webcomponents/p-80b662de.entry.js +0 -1
  411. package/dist/webcomponents/p-82164a5e.entry.js +0 -1
  412. package/dist/webcomponents/p-8590c5df.entry.js +0 -1
  413. package/dist/webcomponents/p-8e555a6e.entry.js +0 -1
  414. package/dist/webcomponents/p-96f89c69.entry.js +0 -1
  415. package/dist/webcomponents/p-98a39544.entry.js +0 -1
  416. package/dist/webcomponents/p-9a9f9c57.entry.js +0 -1
  417. package/dist/webcomponents/p-B4MIwTdb.js +0 -1
  418. package/dist/webcomponents/p-B8Ovjy6S.js +0 -1
  419. package/dist/webcomponents/p-BE5Nvydk.js +0 -1
  420. package/dist/webcomponents/p-BGHVK-vQ.js +0 -1
  421. package/dist/webcomponents/p-BPCw4WEY.js +0 -1
  422. package/dist/webcomponents/p-BhLPwu1L.js +0 -1
  423. package/dist/webcomponents/p-Bond4qGX.js +0 -1
  424. package/dist/webcomponents/p-BpEw7AJl.js +0 -1
  425. package/dist/webcomponents/p-C-WgCIei.js +0 -1
  426. package/dist/webcomponents/p-CCpqJxzB.js +0 -1
  427. package/dist/webcomponents/p-CLpgfEbx.js +0 -1
  428. package/dist/webcomponents/p-CRYPNa2o.js +0 -1
  429. package/dist/webcomponents/p-CeNlJX4-.js +0 -1
  430. package/dist/webcomponents/p-Ct-uNz2r.js +0 -1
  431. package/dist/webcomponents/p-CvChBLtI.js +0 -1
  432. package/dist/webcomponents/p-CyXXks-Q.js +0 -1
  433. package/dist/webcomponents/p-Czro_9VO.js +0 -1
  434. package/dist/webcomponents/p-D7js9xfx.js +0 -1
  435. package/dist/webcomponents/p-DOB09NZD.js +0 -1
  436. package/dist/webcomponents/p-DUdzWNqB.js +0 -1
  437. package/dist/webcomponents/p-DaS3t0DL.js +0 -1
  438. package/dist/webcomponents/p-Dge4w7_c.js +0 -1
  439. package/dist/webcomponents/p-DkWBoLsd.js +0 -1
  440. package/dist/webcomponents/p-DknV-QPT.js +0 -1
  441. package/dist/webcomponents/p-DuiQuWNq.js +0 -1
  442. package/dist/webcomponents/p-DzPrenCi.js +0 -1
  443. package/dist/webcomponents/p-YDuIVoos.js +0 -1
  444. package/dist/webcomponents/p-a2db11b5.entry.js +0 -1
  445. package/dist/webcomponents/p-a31913e3.entry.js +0 -1
  446. package/dist/webcomponents/p-a4d457e9.entry.js +0 -1
  447. package/dist/webcomponents/p-b8ee41c1.entry.js +0 -1
  448. package/dist/webcomponents/p-bde749ac.entry.js +0 -1
  449. package/dist/webcomponents/p-bf16b11c.entry.js +0 -1
  450. package/dist/webcomponents/p-d9b06582.entry.js +0 -1
  451. package/dist/webcomponents/p-dbc02ba8.entry.js +0 -1
  452. package/dist/webcomponents/p-dcad0df5.entry.js +0 -1
  453. package/dist/webcomponents/p-e03630ec.entry.js +0 -1
  454. package/dist/webcomponents/p-e07sVz4Z.js +0 -1
  455. package/dist/webcomponents/p-ec9bb3f6.entry.js +0 -1
  456. package/dist/webcomponents/p-ecf6a315.entry.js +0 -1
@@ -1,19 +1,37 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-2GwnTbNA.js');
4
- var billingFormSchema = require('./billing-form-schema-oZ4GROWP.js');
4
+ var index_esm = require('./index.esm-CVuJLXJZ.js');
5
+ var schemaValidations = require('./schema-validations-BSeMee-o.js');
5
6
  var parts = require('./parts-9jMf1erK.js');
6
7
  var utils = require('./utils-DAyWinG2.js');
7
8
  var stateOptions = require('./state-options-CIT9xdTz.js');
8
- var form = require('./form-CWW8IM-X.js');
9
9
  var styledHost = require('./styled-host-IMxk64cc.js');
10
10
  require('./event-types-YOY5TKUN.js');
11
- require('./schema-validations-C0BNwMBi.js');
11
+ require('./_commonjsHelpers-BJu3ubxk.js');
12
12
  require('./business-form-options-CMII7nIK.js');
13
13
  require('./Business-DCRzZf0w.js');
14
14
  require('./helpers-B5OCqlIM.js');
15
- require('./Document-rXGBUaOh.js');
16
- require('./_commonjsHelpers-BJu3ubxk.js');
15
+
16
+ const billingFormSchema = (postalOnly) => {
17
+ const fullBillingForm = index_esm.create$3({
18
+ name: schemaValidations.identityNameValidation.required('Enter full name'),
19
+ address_line1: schemaValidations.lineOneValidation.required('Enter street address'),
20
+ address_line2: schemaValidations.lineTwoValidation.nullable(),
21
+ address_city: schemaValidations.cityValidation.required('Enter city'),
22
+ address_state: schemaValidations.stateValidation.required('Select state'),
23
+ address_postal_code: schemaValidations.postalValidation.required('Enter postal code'),
24
+ });
25
+ const postalForm = index_esm.create$3({
26
+ name: schemaValidations.identityNameValidation.nullable(),
27
+ address_line1: schemaValidations.lineOneValidation.nullable(),
28
+ address_line2: schemaValidations.lineTwoValidation.nullable(),
29
+ address_city: schemaValidations.cityValidation.nullable(),
30
+ address_state: schemaValidations.stateValidation.nullable(),
31
+ address_postal_code: schemaValidations.postalValidation.required('Enter postal code'),
32
+ });
33
+ return postalOnly ? postalForm : fullBillingForm;
34
+ };
17
35
 
18
36
  const BillingInformationForm = class {
19
37
  constructor(hostRef) {
@@ -24,7 +42,7 @@ const BillingInformationForm = class {
24
42
  };
25
43
  }
26
44
  componentWillLoad() {
27
- this.formController = new form.FormController(billingFormSchema.billingFormSchema());
45
+ this.formController = new index_esm.FormController(billingFormSchema());
28
46
  }
29
47
  componentDidLoad() {
30
48
  this.formController.values.subscribe(values => this.billingInfo = Object.assign({}, values));
@@ -48,4 +66,38 @@ const BillingInformationForm = class {
48
66
  }
49
67
  };
50
68
 
69
+ const PostalCodeForm = class {
70
+ constructor(hostRef) {
71
+ index.registerInstance(this, hostRef);
72
+ this.errors = {};
73
+ this.inputHandler = (name, value) => {
74
+ this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
75
+ };
76
+ }
77
+ componentWillLoad() {
78
+ this.formController = new index_esm.FormController(billingFormSchema(true));
79
+ }
80
+ componentDidLoad() {
81
+ this.formController.values.subscribe(values => this.billingInfo = Object.assign({}, values));
82
+ this.formController.errors.subscribe(errors => {
83
+ this.errors = Object.assign({}, errors);
84
+ });
85
+ }
86
+ async getValues() {
87
+ return this.formController.values.getValue();
88
+ }
89
+ async fill(fields) {
90
+ this.formController.setInitialValues(fields);
91
+ }
92
+ async validate() {
93
+ let isValid = await this.formController.validate();
94
+ return { isValid: isValid };
95
+ }
96
+ render() {
97
+ const billingFormDefaultValue = this.formController.getInitialValues();
98
+ return (index.h(styledHost.StyledHost, { key: 'e5cdb9b21be1e5f4ee6fd21a2d919b2d9271b163' }, index.h("form", { key: '29c0a3edaad9877d50ecc9e4424ca2f5e667dc30' }, index.h("form-control-text", { key: '00e8688c8a8e9b91df5089e2fb97c8b71673a3fd', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: utils.numberOnlyHandler }))));
99
+ }
100
+ };
101
+
51
102
  exports.justifi_billing_information_form = BillingInformationForm;
103
+ exports.justifi_postal_code_form = PostalCodeForm;
@@ -2,27 +2,26 @@
2
2
 
3
3
  var index = require('./index-2GwnTbNA.js');
4
4
  var utils = require('./utils-bn0fXuc-.js');
5
- var business_service = require('./business.service-ev-3rHag.js');
5
+ var business_service = require('./business.service-DNoCHqtI.js');
6
6
  var getBusiness = require('./get-business-BiEc-jdH.js');
7
7
  var ComponentError = require('./ComponentError-CEv9ltwy.js');
8
- var Analytics = require('./Analytics-DYN4hp2b.js');
8
+ var checkPkgVersion = require('./check-pkg-version-CgQ8N_ta.js');
9
9
  require('./parts-9jMf1erK.js');
10
10
  require('./Api-BTdkb3Zh.js');
11
11
  require('./config-state-BTfJl-LU.js');
12
12
  require('./index-DEMVrrsF.js');
13
13
  require('./utils-qOon0GWm.js');
14
14
  require('./_commonjsHelpers-BJu3ubxk.js');
15
- require('./Checkout-BsYZoJ0a.js');
15
+ require('./Checkout-BTgAlgVL.js');
16
16
  require('./Pagination-Dediz133.js');
17
17
  require('./Payment-D5UynU2f.js');
18
18
  require('./Dispute-CruQTF6_.js');
19
- require('./Refund-BDFOEJv_.js');
20
- require('./Document-rXGBUaOh.js');
19
+ require('./Refund-BFE-2OxN.js');
21
20
  require('./Business-DCRzZf0w.js');
22
21
  require('./helpers-B5OCqlIM.js');
23
22
  require('./state-options-CIT9xdTz.js');
24
23
  require('./utils-IGCnjtqc.js');
25
- require('./package-DF9mLjoQ.js');
24
+ require('./package-wSbEFwqE.js');
26
25
 
27
26
  const BusinessDetails = class {
28
27
  constructor(hostRef) {
@@ -35,8 +34,8 @@ const BusinessDetails = class {
35
34
  };
36
35
  }
37
36
  componentWillLoad() {
38
- Analytics.checkPkgVersion();
39
- this.analytics = new Analytics.JustifiAnalytics(this);
37
+ checkPkgVersion.checkPkgVersion();
38
+ this.analytics = new checkPkgVersion.JustifiAnalytics(this);
40
39
  this.initializeGetBusiness();
41
40
  }
42
41
  disconnectedCallback() {
@@ -1,20 +1,19 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-2GwnTbNA.js');
4
- var form = require('./form-CWW8IM-X.js');
5
- var businessAdditionalQuestionsSchema = require('./business-additional-questions-schema-CHOaeZot.js');
6
- var businessIdentitySchema = require('./business-identity-schema-DmpEndsx.js');
4
+ var index_esm = require('./index.esm-CVuJLXJZ.js');
5
+ var businessAdditionalQuestionsSchema = require('./business-additional-questions-schema-e3GCIHk5.js');
6
+ var businessIdentitySchema = require('./business-identity-schema-Diqj_WVQ.js');
7
7
  require('./config-state-BTfJl-LU.js');
8
8
  require('./utils-qOon0GWm.js');
9
9
  var ComponentError = require('./ComponentError-CEv9ltwy.js');
10
- require('./Checkout-BsYZoJ0a.js');
10
+ require('./Checkout-BTgAlgVL.js');
11
11
  require('./Pagination-Dediz133.js');
12
12
  require('./Payment-D5UynU2f.js');
13
- require('./Refund-BDFOEJv_.js');
14
- require('./Document-rXGBUaOh.js');
13
+ require('./Refund-BFE-2OxN.js');
15
14
  var Business = require('./Business-DCRzZf0w.js');
16
15
  require('./Dispute-CruQTF6_.js');
17
- var Analytics = require('./Analytics-DYN4hp2b.js');
16
+ var checkPkgVersion = require('./check-pkg-version-CgQ8N_ta.js');
18
17
  var button = require('./button-CCZd8WSY.js');
19
18
  var styledHost = require('./styled-host-IMxk64cc.js');
20
19
  var header1 = require('./header-1--wdCXxjA.js');
@@ -22,19 +21,19 @@ require('./event-types-YOY5TKUN.js');
22
21
  var skeleton = require('./skeleton-ByLavxr1.js');
23
22
  var eventTypes = require('./event-types-DNOUef41.js');
24
23
  var paymentProvisioningActions = require('./payment-provisioning-actions-SNMCdsyF.js');
25
- var business_service = require('./business.service-ev-3rHag.js');
24
+ var business_service = require('./business.service-DNoCHqtI.js');
26
25
  require('./_commonjsHelpers-BJu3ubxk.js');
27
- require('./schema-validations-C0BNwMBi.js');
26
+ require('./schema-validations-BSeMee-o.js');
28
27
  require('./state-options-CIT9xdTz.js');
29
28
  require('./business-form-options-CMII7nIK.js');
30
29
  require('./index-DEMVrrsF.js');
31
30
  require('./helpers-B5OCqlIM.js');
32
- require('./package-DF9mLjoQ.js');
31
+ require('./package-wSbEFwqE.js');
33
32
  require('./Api-BTdkb3Zh.js');
34
33
  require('./parts-9jMf1erK.js');
35
34
  require('./utils-IGCnjtqc.js');
36
35
 
37
- const businessFormSchema = form.create$3(Object.assign(Object.assign({}, businessAdditionalQuestionsSchema.businessCoreInfoSchema().fields), { legal_address: businessIdentitySchema.addressSchema(), additional_questions: businessAdditionalQuestionsSchema.additionalQuestionsSchema(), representative: businessIdentitySchema.identitySchema('representative') }));
36
+ 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') }));
38
37
 
39
38
  const FormBlock = () => (index.h("div", { class: "row gap-3" },
40
39
  index.h("div", { class: "col-12" },
@@ -96,9 +95,9 @@ const BusinessForm = class {
96
95
  };
97
96
  }
98
97
  componentWillLoad() {
99
- Analytics.checkPkgVersion();
100
- this.analytics = new Analytics.JustifiAnalytics(this);
101
- this.formController = new form.FormController(businessFormSchema);
98
+ checkPkgVersion.checkPkgVersion();
99
+ this.analytics = new checkPkgVersion.JustifiAnalytics(this);
100
+ this.formController = new index_esm.FormController(businessFormSchema);
102
101
  this.initializeApi();
103
102
  }
104
103
  disconnectedCallback() {
@@ -2,7 +2,7 @@
2
2
 
3
3
  var index = require('./index-2GwnTbNA.js');
4
4
  var utils = require('./utils-qOon0GWm.js');
5
- var Checkout = require('./Checkout-BsYZoJ0a.js');
5
+ var Checkout = require('./Checkout-BTgAlgVL.js');
6
6
  var ComponentError = require('./ComponentError-CEv9ltwy.js');
7
7
  var insuranceState = require('./insurance-state-BmAF1Sef.js');
8
8
  var button = require('./button-CCZd8WSY.js');
@@ -1,28 +1,39 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-2GwnTbNA.js');
4
+ var parts = require('./parts-9jMf1erK.js');
5
+ var utils = require('./utils-qOon0GWm.js');
4
6
  var checkout_store = require('./checkout.store-osqdxFMq.js');
5
- var Analytics = require('./Analytics-DYN4hp2b.js');
7
+ var styledHost = require('./styled-host-IMxk64cc.js');
8
+ require('./event-types-YOY5TKUN.js');
9
+ var checkPkgVersion = require('./check-pkg-version-CgQ8N_ta.js');
6
10
  require('./config-state-BTfJl-LU.js');
7
- require('./utils-qOon0GWm.js');
8
11
  var ComponentError = require('./ComponentError-CEv9ltwy.js');
9
- require('./Checkout-BsYZoJ0a.js');
12
+ require('./Checkout-BTgAlgVL.js');
10
13
  require('./Pagination-Dediz133.js');
11
14
  require('./Payment-D5UynU2f.js');
12
- require('./Refund-BDFOEJv_.js');
13
- require('./Document-rXGBUaOh.js');
15
+ require('./Refund-BFE-2OxN.js');
14
16
  require('./Business-DCRzZf0w.js');
15
17
  require('./Dispute-CruQTF6_.js');
16
18
  var checkoutActions = require('./checkout-actions-CRbQgLn0.js');
17
- var checkout_service = require('./checkout.service-D4hTYr1i.js');
19
+ var checkout_service = require('./checkout.service-C3R0uykH.js');
20
+ require('./_commonjsHelpers-BJu3ubxk.js');
18
21
  require('./index-DEMVrrsF.js');
19
- require('./package-DF9mLjoQ.js');
22
+ require('./package-wSbEFwqE.js');
20
23
  require('./Api-BTdkb3Zh.js');
21
- require('./_commonjsHelpers-BJu3ubxk.js');
22
24
  require('./helpers-B5OCqlIM.js');
23
25
  require('./state-options-CIT9xdTz.js');
24
26
  require('./utils-IGCnjtqc.js');
25
27
 
28
+ const Summary = class {
29
+ constructor(hostRef) {
30
+ index.registerInstance(this, hostRef);
31
+ }
32
+ render() {
33
+ return (index.h(styledHost.StyledHost, { key: '9a2eea1693287ad73dfedd3ddc24e949e9d75148' }, index.h("section", { key: '1943be6cef0c4a1c830ddfc14d893c3906482534' }, index.h("div", { key: 'cf3f41d3dd3c9829d93d7e56e3d2dfabbd99ccef' }, index.h("div", { key: 'b5bc944a5310252dc0720e3e7d709f1a57f898c8', part: parts.text }, checkout_store.state === null || checkout_store.state === void 0 ? void 0 : checkout_store.state.paymentDescription), index.h("div", { key: 'dbe53880d7c3ff8d4513a570e1b024f1e2f43028' }, index.h("span", { key: 'd8986a9265463d8f9d7f62598cc4ec3203081c09', part: parts.text }, "Total"), "\u00A0", index.h("span", { key: '32cbc6e259fdee2c71ad72fcf59ab157704c4758', part: parts.text }, utils.formatCurrency(+(checkout_store.state === null || checkout_store.state === void 0 ? void 0 : checkout_store.state.totalAmount))))))));
34
+ }
35
+ };
36
+
26
37
  const CheckoutWrapper = class {
27
38
  constructor(hostRef) {
28
39
  index.registerInstance(this, hostRef);
@@ -48,8 +59,8 @@ const CheckoutWrapper = class {
48
59
  this.completeCheckout = checkoutActions.makeCheckoutComplete(config);
49
60
  }
50
61
  componentWillLoad() {
51
- this.analytics = new Analytics.JustifiAnalytics(this);
52
- Analytics.checkPkgVersion();
62
+ this.analytics = new checkPkgVersion.JustifiAnalytics(this);
63
+ checkPkgVersion.checkPkgVersion();
53
64
  checkout_store.state.authToken = this.authToken;
54
65
  checkout_store.state.accountId = this.accountId;
55
66
  this.fetchCheckout();
@@ -197,9 +208,10 @@ const CheckoutWrapper = class {
197
208
  });
198
209
  }
199
210
  render() {
200
- return (index.h(index.Host, { key: '12db8b2a4ea3308772604d50e9223e48dda0f26f' }));
211
+ return (index.h(index.Host, { key: '8e15946406121bf7ac6a37f225a96728413ff334' }));
201
212
  }
202
213
  get hostEl() { return index.getElement(this); }
203
214
  };
204
215
 
216
+ exports.justifi_checkout_summary = Summary;
205
217
  exports.justifi_modular_checkout = CheckoutWrapper;
@@ -2,33 +2,73 @@
2
2
 
3
3
  var index = require('./index-2GwnTbNA.js');
4
4
  var checkoutActions = require('./checkout-actions-CRbQgLn0.js');
5
- var checkout_service = require('./checkout.service-D4hTYr1i.js');
6
- var ComponentError = require('./ComponentError-CEv9ltwy.js');
7
- var Analytics = require('./Analytics-DYN4hp2b.js');
8
- var checkout_store = require('./checkout.store-osqdxFMq.js');
9
- require('./utils-IGCnjtqc.js');
10
- require('./Api-BTdkb3Zh.js');
5
+ var checkout_service = require('./checkout.service-C3R0uykH.js');
6
+ var checkPkgVersion = require('./check-pkg-version-CgQ8N_ta.js');
11
7
  require('./config-state-BTfJl-LU.js');
12
- require('./index-DEMVrrsF.js');
13
8
  require('./utils-qOon0GWm.js');
14
- require('./_commonjsHelpers-BJu3ubxk.js');
15
- require('./Checkout-BsYZoJ0a.js');
9
+ require('./ComponentError-CEv9ltwy.js');
10
+ var Checkout$1 = require('./Checkout-BTgAlgVL.js');
16
11
  require('./Pagination-Dediz133.js');
17
12
  require('./Payment-D5UynU2f.js');
18
- require('./Dispute-CruQTF6_.js');
19
- require('./Refund-BDFOEJv_.js');
20
- require('./Document-rXGBUaOh.js');
13
+ require('./Refund-BFE-2OxN.js');
21
14
  require('./Business-DCRzZf0w.js');
15
+ require('./Dispute-CruQTF6_.js');
16
+ var checkout_store = require('./checkout.store-osqdxFMq.js');
17
+ var button = require('./button-CCZd8WSY.js');
18
+ var styledHost = require('./styled-host-IMxk64cc.js');
19
+ var skeleton = require('./skeleton-ByLavxr1.js');
20
+ var parts = require('./parts-9jMf1erK.js');
21
+ var insuranceState = require('./insurance-state-BmAF1Sef.js');
22
+ var header3 = require('./header-3-DxUQJ7TT.js');
23
+ require('./event-types-YOY5TKUN.js');
24
+ require('./utils-IGCnjtqc.js');
25
+ require('./Api-BTdkb3Zh.js');
26
+ require('./package-wSbEFwqE.js');
27
+ require('./index-DEMVrrsF.js');
28
+ require('./_commonjsHelpers-BJu3ubxk.js');
22
29
  require('./helpers-B5OCqlIM.js');
23
30
  require('./state-options-CIT9xdTz.js');
24
- require('./package-DF9mLjoQ.js');
25
31
 
26
32
  const Checkout = class {
27
33
  constructor(hostRef) {
28
34
  index.registerInstance(this, hostRef);
29
35
  this.errorEvent = index.createEvent(this, "error-event");
36
+ this.submitEvent = index.createEvent(this, "submit-event");
30
37
  this.loadedEvent = index.createEvent(this, "loaded");
31
38
  this.errorMessage = '';
39
+ this.insuranceToggled = false;
40
+ this.renderState = 'loading';
41
+ this.fetchData = () => {
42
+ this.renderState = 'loading';
43
+ const actionsConfig = {
44
+ authToken: this.authToken,
45
+ checkoutId: this.checkoutId,
46
+ service: new checkout_service.CheckoutService()
47
+ };
48
+ const getCheckout = checkoutActions.makeGetCheckout(actionsConfig);
49
+ getCheckout({
50
+ onSuccess: ({ checkout }) => {
51
+ this.checkout = new Checkout$1.Checkout(checkout);
52
+ const { status } = this.checkout;
53
+ this.loadedEvent.emit({ checkout_status: status });
54
+ this.renderState = 'success';
55
+ },
56
+ onError: ({ error, code, severity }) => {
57
+ this.serverError = error;
58
+ this.renderState = 'error';
59
+ this.errorEvent.emit({
60
+ errorCode: code,
61
+ message: error,
62
+ severity,
63
+ });
64
+ }
65
+ });
66
+ };
67
+ }
68
+ propChanged() {
69
+ checkout_store.state.authToken = this.authToken;
70
+ checkout_store.state.checkoutId = this.checkoutId;
71
+ this.fetchData();
32
72
  }
33
73
  connectedCallback() {
34
74
  if (this.authToken && this.checkoutId) {
@@ -37,54 +77,58 @@ const Checkout = class {
37
77
  }
38
78
  }
39
79
  componentWillLoad() {
40
- Analytics.checkPkgVersion();
41
- this.analytics = new Analytics.JustifiAnalytics(this);
42
- this.initializeGetCheckout();
80
+ checkPkgVersion.checkPkgVersion();
81
+ this.analytics = new checkPkgVersion.JustifiAnalytics(this);
82
+ this.fetchData();
83
+ // Refresh the checkout data when insurance is added or removed
84
+ insuranceState.insuranceValuesOn('set', (key) => {
85
+ const value = insuranceState.insuranceValues[key];
86
+ if (value !== undefined) {
87
+ this.insuranceToggled = value;
88
+ this.fetchData();
89
+ }
90
+ });
43
91
  }
44
92
  disconnectedCallback() {
45
93
  var _a;
46
94
  (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
47
95
  }
48
96
  ;
49
- initializeGetCheckout() {
50
- if (this.authToken && this.checkoutId) {
51
- this.getCheckout = checkoutActions.makeGetCheckout({
52
- authToken: this.authToken,
53
- checkoutId: this.checkoutId,
54
- service: new checkout_service.CheckoutService()
55
- });
56
- this.complete = checkoutActions.makeCheckoutComplete({
57
- authToken: this.authToken,
58
- checkoutId: this.checkoutId,
59
- service: new checkout_service.CheckoutService()
60
- });
61
- }
62
- else {
63
- this.errorEvent.emit({
64
- message: 'auth-token and checkout-id are required',
65
- errorCode: ComponentError.ComponentErrorCodes.MISSING_PROPS,
66
- severity: ComponentError.ComponentErrorSeverity.ERROR,
67
- });
68
- }
97
+ async submit(_event) {
98
+ // calls the submitCheckout method on the checkout wrapper
99
+ this.modularCheckoutRef.submitCheckout();
69
100
  }
70
- propChanged() {
71
- checkout_store.state.authToken = this.authToken;
72
- checkout_store.state.checkoutId = this.checkoutId;
73
- this.initializeGetCheckout();
101
+ get isLoading() {
102
+ return this.renderState === 'loading';
103
+ }
104
+ get summary() {
105
+ return (index.h("section", null, index.h("div", { class: !this.isLoading && 'visually-hidden' }, index.h(skeleton.Skeleton, { height: "24px" })), index.h("justifi-checkout-summary", null)));
106
+ }
107
+ get paymentTypeHeader() {
108
+ const showPaymentTypeHeader = !this.disableCreditCard && !this.disableBankAccount;
109
+ if (!showPaymentTypeHeader)
110
+ return null;
111
+ return (index.h(header3.Header3, { text: "Select payment type", class: "fs-6 fw-bold lh-lg" }));
112
+ }
113
+ get paymentType() {
114
+ var _a, _b, _c, _d, _e;
115
+ return (index.h("section", null, index.h("div", { class: !this.isLoading && 'visually-hidden' }, index.h(skeleton.Skeleton, { height: "300px" })), index.h("div", { class: this.isLoading && 'visually-hidden' }, index.h("justifi-payment-method-options", { ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": !this.disableBnpl, paymentMethodGroupId: (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_method_group_id, "show-saved-payment-methods": !this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, bnpl: (_b = this.checkout) === null || _b === void 0 ? void 0 : _b.bnpl, authToken: this.authToken, "account-id": (_c = this.checkout) === null || _c === void 0 ? void 0 : _c.account_id, savedPaymentMethods: ((_d = this.checkout) === null || _d === void 0 ? void 0 : _d.payment_methods) || [], paymentAmount: (_e = this.checkout) === null || _e === void 0 ? void 0 : _e.payment_amount, insuranceToggled: this.insuranceToggled }))));
74
116
  }
75
117
  async fillBillingForm(fields) {
76
- this.checkoutCoreRef.fillBillingForm(fields);
118
+ this.paymentMethodOptionsRef.fillBillingForm(fields);
77
119
  }
78
120
  async validate() {
79
- const { isValid } = await this.checkoutCoreRef.validate();
80
- return { isValid };
121
+ const insuranceValidation = insuranceState.validateInsuranceValues();
122
+ const { isValid } = await this.paymentMethodOptionsRef.validate();
123
+ if (!insuranceValidation.isValid || !isValid) {
124
+ return { isValid: false };
125
+ }
126
+ else {
127
+ return { isValid: true };
128
+ }
81
129
  }
82
130
  render() {
83
- return (index.h("justifi-checkout-core", { key: '3aaf3ff84469870995456a56ac4c2b5806a23802', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, ref: el => {
84
- if (el) {
85
- this.checkoutCoreRef = el;
86
- }
87
- } }, index.h("div", { key: 'ce9694f701ae7123a4ee5fbae76e9bbef1f7250c', slot: "insurance" }, index.h("slot", { key: '2049b12cfc42cc42c46be83e6305317e97ae5cba', name: "insurance" }))));
131
+ return (index.h(styledHost.StyledHost, { key: '1a7978a2b2ae5f483ded09e8c2b49a1c3bee1dc1' }, index.h("justifi-modular-checkout", { key: '4da7015d6634fa1f703b88cd153bc55db256476a', ref: (el) => (this.modularCheckoutRef = el), authToken: this.authToken, checkoutId: this.checkoutId }, index.h("div", { key: 'e3560a86e3634836bab94ad424850dfb72789674', class: "row gy-3 jfi-checkout-core" }, index.h("div", { key: '31bde37f031dc3b18fe1da5f2a30d615aa3d079f', class: "col-12", part: parts.checkoutSummary }, index.h(insuranceState.Header2, { key: 'd46cd4136ad4f0cac076e866f8fe095510a6361d', text: "Summary", class: "fs-5 fw-bold pb-3" }), this.summary), index.h("div", { key: 'efbba765415361bea56bc20d511640da23708c6a', class: "col-12" }, index.h("slot", { key: 'ca4d2531fb55c15ea1326921fb90d6a7cd14e579', name: "insurance" })), index.h("div", { key: '58b01f658771ef6be037713add40e7ff03361dc3', class: "col-12 mt-4" }, index.h(insuranceState.Header2, { key: '990723c85b6adf8eaa0711017d023d9103e1b8f2', text: "Payment", class: "fs-5 fw-bold pb-3" }), this.paymentTypeHeader, index.h("div", { key: 'dcc79ad150a87e7c67a78ff50b94585562d64d11', class: "d-flex flex-column" }, this.paymentType)), index.h("div", { key: '592f0c0d86c9f1bf9c56f82e8cdcfdcc12e7c5c4', class: "col-12" }, index.h("div", { key: '8130711b909ffca43c37b4eacab515c8a7acb77c', class: "d-flex justify-content-end" }, index.h(button.Button, { key: '7da0c99ff8438b22f6cf6a3f2d3bfc5d32a97ad2', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay")))))));
88
132
  }
89
133
  static get watchers() { return {
90
134
  "authToken": ["propChanged"],
@@ -4,11 +4,10 @@ var index = require('./index-2GwnTbNA.js');
4
4
  require('./config-state-BTfJl-LU.js');
5
5
  require('./utils-qOon0GWm.js');
6
6
  require('./ComponentError-CEv9ltwy.js');
7
- var Checkout = require('./Checkout-BsYZoJ0a.js');
7
+ var Checkout = require('./Checkout-BTgAlgVL.js');
8
8
  require('./Pagination-Dediz133.js');
9
9
  require('./Payment-D5UynU2f.js');
10
- require('./Refund-BDFOEJv_.js');
11
- require('./Document-rXGBUaOh.js');
10
+ require('./Refund-BFE-2OxN.js');
12
11
  require('./Business-DCRzZf0w.js');
13
12
  require('./Dispute-CruQTF6_.js');
14
13
  var checkoutsListParamsState = require('./checkouts-list-params-state-fVsfZZ5G.js');
@@ -4,17 +4,16 @@ var index = require('./index-2GwnTbNA.js');
4
4
  require('./config-state-BTfJl-LU.js');
5
5
  require('./utils-qOon0GWm.js');
6
6
  var ComponentError = require('./ComponentError-CEv9ltwy.js');
7
- var Checkout = require('./Checkout-BsYZoJ0a.js');
7
+ var Checkout = require('./Checkout-BTgAlgVL.js');
8
8
  require('./Pagination-Dediz133.js');
9
9
  require('./Payment-D5UynU2f.js');
10
- require('./Refund-BDFOEJv_.js');
11
- require('./Document-rXGBUaOh.js');
10
+ require('./Refund-BFE-2OxN.js');
12
11
  require('./Business-DCRzZf0w.js');
13
12
  require('./Dispute-CruQTF6_.js');
14
13
  var utils = require('./utils-IGCnjtqc.js');
15
- var Analytics = require('./Analytics-DYN4hp2b.js');
16
- var checkout_service = require('./checkout.service-D4hTYr1i.js');
17
- var getSubaccounts = require('./get-subaccounts-Dw7CbPDi.js');
14
+ var checkPkgVersion = require('./check-pkg-version-CgQ8N_ta.js');
15
+ var checkout_service = require('./checkout.service-C3R0uykH.js');
16
+ var getSubaccounts = require('./get-subaccounts-CgOAdXG4.js');
18
17
  var styledHost = require('./styled-host-IMxk64cc.js');
19
18
  require('./event-types-YOY5TKUN.js');
20
19
  var checkoutsTable = require('./checkouts-table-C1Jv_A7m.js');
@@ -22,7 +21,7 @@ require('./index-DEMVrrsF.js');
22
21
  require('./_commonjsHelpers-BJu3ubxk.js');
23
22
  require('./helpers-B5OCqlIM.js');
24
23
  require('./state-options-CIT9xdTz.js');
25
- require('./package-DF9mLjoQ.js');
24
+ require('./package-wSbEFwqE.js');
26
25
  require('./Api-BTdkb3Zh.js');
27
26
  require('./badge-sO_Hcamo.js');
28
27
  require('./parts-9jMf1erK.js');
@@ -68,8 +67,8 @@ const CheckoutsList = class {
68
67
  };
69
68
  }
70
69
  componentWillLoad() {
71
- Analytics.checkPkgVersion();
72
- this.analytics = new Analytics.JustifiAnalytics(this);
70
+ checkPkgVersion.checkPkgVersion();
71
+ this.analytics = new checkPkgVersion.JustifiAnalytics(this);
73
72
  this.initializeGetData();
74
73
  }
75
74
  disconnectedCallback() {
@@ -2,21 +2,20 @@
2
2
 
3
3
  var index = require('./index-2GwnTbNA.js');
4
4
  var ComponentError = require('./ComponentError-CEv9ltwy.js');
5
- var Analytics = require('./Analytics-DYN4hp2b.js');
5
+ var checkPkgVersion = require('./check-pkg-version-CgQ8N_ta.js');
6
6
  var Dispute = require('./Dispute-CruQTF6_.js');
7
7
  var utils = require('./utils-IGCnjtqc.js');
8
- var dispute_service = require('./dispute.service-Dru9NStj.js');
9
- require('./package-DF9mLjoQ.js');
8
+ var dispute_service = require('./dispute.service-CaA-mq-i.js');
9
+ require('./package-wSbEFwqE.js');
10
10
  require('./Api-BTdkb3Zh.js');
11
11
  require('./config-state-BTfJl-LU.js');
12
12
  require('./index-DEMVrrsF.js');
13
13
  require('./utils-qOon0GWm.js');
14
14
  require('./_commonjsHelpers-BJu3ubxk.js');
15
- require('./Checkout-BsYZoJ0a.js');
15
+ require('./Checkout-BTgAlgVL.js');
16
16
  require('./Pagination-Dediz133.js');
17
17
  require('./Payment-D5UynU2f.js');
18
- require('./Refund-BDFOEJv_.js');
19
- require('./Document-rXGBUaOh.js');
18
+ require('./Refund-BFE-2OxN.js');
20
19
  require('./Business-DCRzZf0w.js');
21
20
  require('./helpers-B5OCqlIM.js');
22
21
  require('./state-options-CIT9xdTz.js');
@@ -61,8 +60,8 @@ const DisputeManagement = class {
61
60
  };
62
61
  }
63
62
  componentWillLoad() {
64
- Analytics.checkPkgVersion();
65
- this.analytics = new Analytics.JustifiAnalytics(this);
63
+ checkPkgVersion.checkPkgVersion();
64
+ this.analytics = new checkPkgVersion.JustifiAnalytics(this);
66
65
  this.initializeGetDispute();
67
66
  }
68
67
  disconnectedCallback() {
@@ -9,23 +9,22 @@ var skeleton = require('./skeleton-ByLavxr1.js');
9
9
  require('./event-types-YOY5TKUN.js');
10
10
  var ComponentError = require('./ComponentError-CEv9ltwy.js');
11
11
  var utils = require('./utils-IGCnjtqc.js');
12
- var dispute_service = require('./dispute.service-Dru9NStj.js');
12
+ var dispute_service = require('./dispute.service-CaA-mq-i.js');
13
13
  var eventTypes = require('./event-types-BWQT2lwu.js');
14
- var Analytics = require('./Analytics-DYN4hp2b.js');
14
+ var checkPkgVersion = require('./check-pkg-version-CgQ8N_ta.js');
15
15
  require('./_commonjsHelpers-BJu3ubxk.js');
16
16
  require('./Api-BTdkb3Zh.js');
17
17
  require('./config-state-BTfJl-LU.js');
18
18
  require('./index-DEMVrrsF.js');
19
- require('./Checkout-BsYZoJ0a.js');
19
+ require('./Checkout-BTgAlgVL.js');
20
20
  require('./Pagination-Dediz133.js');
21
21
  require('./Payment-D5UynU2f.js');
22
22
  require('./Dispute-CruQTF6_.js');
23
- require('./Refund-BDFOEJv_.js');
24
- require('./Document-rXGBUaOh.js');
23
+ require('./Refund-BFE-2OxN.js');
25
24
  require('./Business-DCRzZf0w.js');
26
25
  require('./helpers-B5OCqlIM.js');
27
26
  require('./state-options-CIT9xdTz.js');
28
- require('./package-DF9mLjoQ.js');
27
+ require('./package-wSbEFwqE.js');
29
28
 
30
29
  const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
31
30
  var _a;
@@ -162,8 +161,8 @@ const DisputeResponse = class {
162
161
  };
163
162
  }
164
163
  componentWillLoad() {
165
- Analytics.checkPkgVersion();
166
- this.analytics = new Analytics.JustifiAnalytics(this);
164
+ checkPkgVersion.checkPkgVersion();
165
+ this.analytics = new checkPkgVersion.JustifiAnalytics(this);
167
166
  this.initializeDisputeServiceMethods();
168
167
  }
169
168
  disconnectedCallback() {
@@ -3,16 +3,15 @@
3
3
  var index = require('./index-2GwnTbNA.js');
4
4
  var Api = require('./Api-BTdkb3Zh.js');
5
5
  var ComponentError = require('./ComponentError-CEv9ltwy.js');
6
- require('./Checkout-BsYZoJ0a.js');
6
+ require('./Checkout-BTgAlgVL.js');
7
7
  require('./Pagination-Dediz133.js');
8
8
  require('./Payment-D5UynU2f.js');
9
- require('./Refund-BDFOEJv_.js');
10
- require('./Document-rXGBUaOh.js');
9
+ require('./Refund-BFE-2OxN.js');
11
10
  require('./Business-DCRzZf0w.js');
12
11
  require('./Dispute-CruQTF6_.js');
13
12
  var utils = require('./utils-IGCnjtqc.js');
14
13
  var utils$1 = require('./utils-bn0fXuc-.js');
15
- var Analytics = require('./Analytics-DYN4hp2b.js');
14
+ var checkPkgVersion = require('./check-pkg-version-CgQ8N_ta.js');
16
15
  require('./config-state-BTfJl-LU.js');
17
16
  require('./index-DEMVrrsF.js');
18
17
  require('./utils-qOon0GWm.js');
@@ -20,7 +19,7 @@ require('./_commonjsHelpers-BJu3ubxk.js');
20
19
  require('./helpers-B5OCqlIM.js');
21
20
  require('./state-options-CIT9xdTz.js');
22
21
  require('./parts-9jMf1erK.js');
23
- require('./package-DF9mLjoQ.js');
22
+ require('./package-wSbEFwqE.js');
24
23
 
25
24
  const api = Api.Api();
26
25
  class ReportsService {
@@ -69,8 +68,8 @@ const GrossPaymentChart = class {
69
68
  };
70
69
  }
71
70
  componentWillLoad() {
72
- Analytics.checkPkgVersion();
73
- this.analytics = new Analytics.JustifiAnalytics(this);
71
+ checkPkgVersion.checkPkgVersion();
72
+ this.analytics = new checkPkgVersion.JustifiAnalytics(this);
74
73
  this.initializeGetGrossPayment();
75
74
  }
76
75
  disconnectedCallback() {