@justifi/webcomponents 5.4.4 → 5.6.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 (872) hide show
  1. package/dist/cjs/Api-KMweahmp.js +74 -0
  2. package/dist/cjs/{Business-d88b77fd.js → Business-DyiDiIuO.js} +1 -1
  3. package/dist/cjs/{Checkout-5352009d.js → Checkout-RAGvjVPj.js} +1 -1
  4. package/dist/cjs/{ComponentError-233ac749.js → ComponentError-C4MdBBMe.js} +1 -0
  5. package/dist/cjs/{Payment-bccd8f7d.js → Payment-CQCmj3Ck.js} +2 -2
  6. package/dist/cjs/{SubAccount-2a302ead.js → Refund-CpurRc4w.js} +104 -1
  7. package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +10 -0
  8. package/dist/cjs/additional-questions-details_5.cjs.entry.js +5 -11
  9. package/dist/cjs/{badge-364e6311.js → badge-DwSZ83Bm.js} +2 -2
  10. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +25 -43
  11. package/dist/cjs/bank-account-form_9.cjs.entry.js +93 -97
  12. package/dist/cjs/{business-additional-questions-schema-8568cb79.js → business-additional-questions-schema-mzZ2gYHQ.js} +2 -2
  13. package/dist/cjs/business-details-core.cjs.entry.js +6 -10
  14. package/dist/cjs/{business-form-options-62e9c8ab.js → business-form-options-BCj0efiD.js} +1 -1
  15. package/dist/cjs/{business-identity-schema-518ab6eb.js → business-identity-schema-dt0zCW0R.js} +2 -2
  16. package/dist/cjs/{business.service-6e8a29a2.js → business.service-Crmkeulk.js} +23 -8
  17. package/dist/cjs/{button-4a9fd41e.js → button-Cp4u5YgP.js} +2 -2
  18. package/dist/cjs/{check-pkg-version-e6dcbeb7.js → check-pkg-version-C4d9pl8G.js} +3 -3
  19. package/dist/cjs/{checkout.service-0a7835dc.js → checkout.service-DP9FnXBx.js} +13 -10
  20. package/dist/cjs/checkouts-list-core.cjs.entry.js +25 -31
  21. package/dist/cjs/{payments-list-params-state-442d9944.js → checkouts-list-params-state-DX4jg37H.js} +1 -1
  22. package/dist/cjs/{checkouts-table-8a1b49ff.js → checkouts-table-nsXjlcI1.js} +4 -4
  23. package/dist/cjs/custom-popper_4.cjs.entry.js +27 -52
  24. package/dist/cjs/{dispute.service-6efc7d7f.js → dispute.service-F-M8EJxq.js} +20 -11
  25. package/dist/cjs/{event-types-5a6ce2b0.js → event-types-CjInBN20.js} +3 -3
  26. package/dist/cjs/form-alert_5.cjs.entry.js +10 -19
  27. package/dist/cjs/form-control-checkbox.cjs.entry.js +9 -18
  28. package/dist/cjs/form-control-date.cjs.entry.js +9 -19
  29. package/dist/cjs/{form-control-error-text-3cff9b7b.js → form-control-error-text-NbHDc1JL.js} +2 -2
  30. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +11 -30
  31. package/dist/cjs/{form-control-help-text-94ffed2c.js → form-control-help-text-bc3qGHAG.js} +2 -2
  32. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -5
  33. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +13 -22
  34. package/dist/cjs/form-control-monetary.cjs.entry.js +13 -22
  35. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +12 -25
  36. package/dist/cjs/form-control-number.cjs.entry.js +9 -18
  37. package/dist/cjs/form-control-radio.cjs.entry.js +7 -17
  38. package/dist/cjs/{get-business-d8f5db51.js → get-business-BBzGEPBG.js} +3 -3
  39. package/dist/cjs/get-payment-details-DQyJtwTw.js +42 -0
  40. package/dist/cjs/get-payout-csv-Jr_0DmmY.js +24 -0
  41. package/dist/cjs/{get-subaccounts-ae5b35a8.js → get-subaccounts-zwxhG-O3.js} +11 -10
  42. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +262 -270
  43. package/dist/cjs/{header-1-43b2b905.js → header-1-kwWMtg3s.js} +2 -2
  44. package/dist/cjs/{header-3-eb250a04.js → header-3-CNWIH9ZU.js} +2 -2
  45. package/dist/cjs/{helpers-602962eb.js → helpers-B5OCqlIM.js} +1 -1
  46. package/dist/cjs/{iframe-input-styles-state-d0de0b24.js → iframe-input-styles-state-jHHRvqzM.js} +2 -2
  47. package/dist/cjs/iframe-input.cjs.entry.js +1640 -0
  48. package/dist/cjs/{index-750475a3.js → index-1MT3Z4XI.js} +1 -1
  49. package/dist/cjs/{index-5b9a3b5f.js → index-BRQfozbS.js} +460 -271
  50. package/dist/cjs/{index-d2d0b181.js → index-DzQdh5ij.js} +4 -5
  51. package/dist/cjs/index.esm-CVuJLXJZ.js +11807 -0
  52. package/dist/cjs/{input-handlers-cff032bb.js → input-handlers-DYl_0IwC.js} +1 -1
  53. package/dist/cjs/{insurance-state-71f8b653.js → insurance-state-DbXkNYds.js} +3 -3
  54. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +64 -94
  55. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +36 -86
  56. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +36 -54
  57. package/dist/cjs/justifi-business-details.cjs.entry.js +16 -20
  58. package/dist/cjs/justifi-business-form.cjs.entry.js +34 -38
  59. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +6 -11
  60. package/dist/cjs/justifi-checkout-core.cjs.entry.js +31 -34
  61. package/dist/cjs/justifi-checkout.cjs.entry.js +23 -29
  62. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +15 -18
  63. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +25 -30
  64. package/dist/cjs/justifi-details.cjs.entry.js +3 -6
  65. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +5 -11
  66. package/dist/cjs/justifi-dispute-management.cjs.entry.js +19 -23
  67. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +38 -52
  68. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +13 -16
  69. package/dist/cjs/justifi-order-terminals.cjs.entry.js +29 -37
  70. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +29 -52
  71. package/dist/cjs/justifi-payment-details.cjs.entry.js +24 -52
  72. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +15 -23
  73. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +15 -16
  74. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +195 -0
  75. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +11 -17
  76. package/dist/cjs/justifi-payments-list.cjs.entry.js +25 -29
  77. package/dist/cjs/justifi-payout-details.cjs.entry.js +24 -28
  78. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +203 -0
  79. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +9 -12
  80. package/dist/cjs/justifi-payouts-list.cjs.entry.js +29 -34
  81. package/dist/cjs/justifi-refund-payment.cjs.entry.js +189 -69
  82. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +10 -27
  83. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +24 -35
  84. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +24 -26
  85. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +29 -29
  86. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +21 -25
  87. package/dist/cjs/justifi-terminals-list.cjs.entry.js +26 -31
  88. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +24 -28
  89. package/dist/cjs/loader.cjs.js +3 -5
  90. package/dist/cjs/lodash-CvSCBJ_8.js +17216 -0
  91. package/dist/cjs/package-S6wVKDKx.js +9 -0
  92. package/dist/cjs/pagination-menu.cjs.entry.js +3 -5
  93. package/dist/cjs/{parts-5ca90f9a.js → parts-D_uKOPFe.js} +3 -1
  94. package/dist/cjs/payment-details-core.cjs.entry.js +19 -22
  95. package/dist/cjs/{payment-provisioning-actions-382ab48c.js → payment-provisioning-actions-BkWSDJQQ.js} +2 -2
  96. package/dist/cjs/payment.service-BstXaxH5.js +27 -0
  97. package/dist/cjs/payments-list-core.cjs.entry.js +25 -30
  98. package/dist/cjs/{terminal-orders-list-params-state-c419078f.js → payments-list-params-state-DX4jg37H.js} +1 -1
  99. package/dist/cjs/{payments-status-075aad0a.js → payments-status-CQq7KrHL.js} +2 -2
  100. package/dist/cjs/{payments-table-a076755a.js → payments-table-ClOxMnZ8.js} +4 -4
  101. package/dist/cjs/payout-details-core.cjs.entry.js +14 -18
  102. package/dist/cjs/payout.service-DWOtnFdn.js +34 -0
  103. package/dist/cjs/payouts-list-core.cjs.entry.js +26 -33
  104. package/dist/cjs/{checkouts-list-params-state-644d3639.js → payouts-list-params-state-DX4jg37H.js} +1 -1
  105. package/dist/cjs/{payouts-status-ced97c2b.js → payouts-status-BdfV3jvX.js} +2 -2
  106. package/dist/cjs/{payouts-table-aedce326.js → payouts-table-Bo3pLf4Z.js} +4 -4
  107. package/dist/cjs/{schema-validations-a7cefbdf.js → schema-validations-p4OCdblz.js} +4 -4
  108. package/dist/cjs/{skeleton-e8aa41d0.js → skeleton-BXVndBVC.js} +2 -2
  109. package/dist/cjs/{spinner-580453f2.js → spinner-CSH2OUiV.js} +2 -2
  110. package/dist/cjs/{styled-host-94309bab.js → styled-host-CzJ8Ux1t.js} +2 -3
  111. package/dist/cjs/table-filters-menu.cjs.entry.js +4 -10
  112. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +24 -29
  113. package/dist/cjs/{payouts-list-params-state-033b76d6.js → terminal-orders-list-params-state-DX4jg37H.js} +1 -1
  114. package/dist/cjs/{terminal-orders-table-3b247193.js → terminal-orders-table-CXmVc7uU.js} +35 -5
  115. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +6 -12
  116. package/dist/cjs/{terminal.service-ab62c344.js → terminal.service-ghxwDinY.js} +11 -11
  117. package/dist/cjs/terminals-list-core.cjs.entry.js +25 -31
  118. package/dist/cjs/terminals-list-params-state-DX4jg37H.js +22 -0
  119. package/dist/cjs/{terminals-table-594643fd.js → terminals-table-vYbTPOpy.js} +4 -4
  120. package/dist/cjs/utils-DmZ8Dia3.js +23987 -0
  121. package/dist/cjs/{utils-f8714daa.js → utils-DxbncJhj.js} +2 -2
  122. package/dist/cjs/{utils-7a478c37.js → utils-l0veqT9y.js} +1 -1
  123. package/dist/cjs/webcomponents.cjs.js +7 -7
  124. package/dist/collection/actions/payment/get-payment-details.js +5 -2
  125. package/dist/collection/actions/payment/get-payment-transactions.js +34 -0
  126. package/dist/collection/actions/payout/get-payout-transactions.js +34 -0
  127. package/dist/collection/actions/refund/refund-actions.js +31 -0
  128. package/dist/collection/api/Api.js +32 -13
  129. package/dist/collection/api/ComponentError.js +1 -0
  130. package/dist/collection/api/PaymentBalanceTransaction.js +45 -0
  131. package/dist/collection/api/PayoutBalanceTransaction.js +35 -0
  132. package/dist/collection/api/Refund.js +32 -0
  133. package/dist/collection/api/TerminalOrder.js +3 -0
  134. package/dist/collection/api/index.js +3 -0
  135. package/dist/collection/api/services/analytics.service.js +1 -1
  136. package/dist/collection/api/services/business.service.js +22 -7
  137. package/dist/collection/api/services/checkout.service.js +6 -3
  138. package/dist/collection/api/services/dispute.service.js +13 -4
  139. package/dist/collection/api/services/insurance.service.js +8 -2
  140. package/dist/collection/api/services/payment.service.js +7 -3
  141. package/dist/collection/api/services/payout.service.js +8 -3
  142. package/dist/collection/api/services/provision.service.js +4 -1
  143. package/dist/collection/api/services/refund.service.js +10 -0
  144. package/dist/collection/api/services/reports.service.js +1 -1
  145. package/dist/collection/api/services/subaccounts.service.js +1 -1
  146. package/dist/collection/api/services/terminal.service.js +4 -4
  147. package/dist/collection/api/services/terminal_orders.service.js +5 -1
  148. package/dist/collection/collection-manifest.json +5 -5
  149. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +4 -4
  150. package/dist/collection/components/business-details/business-details-core.js +4 -3
  151. package/dist/collection/components/business-details/business-details.js +6 -8
  152. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +4 -4
  153. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +4 -4
  154. package/dist/collection/components/business-details/owner-details/owner-details.js +4 -4
  155. package/dist/collection/components/business-details/representative-details/representative-details.js +4 -4
  156. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +4 -2
  157. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +4 -2
  158. package/dist/collection/components/business-forms/business-form/business-form.js +20 -13
  159. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +6 -4
  160. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +4 -3
  161. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +11 -7
  162. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +34 -22
  163. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +10 -6
  164. package/dist/collection/components/business-forms/owner-form/owner-form.js +22 -19
  165. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +15 -11
  166. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +9 -10
  167. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +11 -8
  168. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +13 -10
  169. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +23 -16
  170. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +9 -12
  171. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-documents-on-file.js +6 -2
  172. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +17 -12
  173. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +9 -10
  174. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +20 -14
  175. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +9 -10
  176. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +10 -6
  177. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +14 -10
  178. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +9 -10
  179. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +31 -21
  180. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +14 -10
  181. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +9 -10
  182. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +24 -16
  183. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +20 -14
  184. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +21 -12
  185. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +12 -8
  186. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +13 -13
  187. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +3 -2
  188. package/dist/collection/components/checkout/billing-form/billing-form-schema.js +21 -0
  189. package/dist/collection/components/checkout/billing-form/billing-form.js +203 -0
  190. package/dist/collection/components/checkout/card-form/card-form.js +5 -4
  191. package/dist/collection/components/checkout/checkout-core.js +88 -37
  192. package/dist/collection/components/checkout/checkout.js +70 -28
  193. package/dist/collection/components/checkout/new-payment-method.js +110 -30
  194. package/dist/collection/components/checkout/payment-method-options.js +91 -36
  195. package/dist/collection/components/checkout/saved-payment-method.js +7 -4
  196. package/dist/collection/components/checkout/sezzle-payment-method.js +19 -15
  197. package/dist/collection/components/checkouts-list/checkouts-list-core.js +17 -14
  198. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +7 -5
  199. package/dist/collection/components/checkouts-list/checkouts-list.js +16 -12
  200. package/dist/collection/components/dispute-management/dispute-management-core.js +11 -8
  201. package/dist/collection/components/dispute-management/dispute-management.js +12 -9
  202. package/dist/collection/components/dispute-management/dispute-notification.js +11 -9
  203. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +10 -9
  204. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +10 -8
  205. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +10 -8
  206. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +21 -14
  207. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +16 -13
  208. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +10 -8
  209. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +10 -8
  210. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +10 -8
  211. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +10 -8
  212. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +10 -8
  213. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +5 -4
  214. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +7 -6
  215. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +44 -30
  216. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +40 -32
  217. package/dist/collection/components/order-terminals/order-terminals.js +19 -14
  218. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +19 -13
  219. package/dist/collection/components/payment-details/payment-details-core.js +13 -12
  220. package/dist/collection/components/payment-details/payment-details.js +29 -6
  221. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +248 -0
  222. package/dist/collection/components/payment-transactions-list/payment-transactions-table.js +45 -0
  223. package/dist/collection/components/payments-list/payments-list-core.js +12 -11
  224. package/dist/collection/components/payments-list/payments-list-filters.js +17 -12
  225. package/dist/collection/components/payments-list/payments-list.js +16 -11
  226. package/dist/collection/components/payout-details/payout-details-core.js +11 -8
  227. package/dist/collection/components/payout-details/payout-details.js +11 -9
  228. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +250 -0
  229. package/dist/collection/components/payout-transactions-list/payout-transactions-table.js +47 -0
  230. package/dist/collection/components/payouts-list/payouts-list-core.js +21 -16
  231. package/dist/collection/components/payouts-list/payouts-list-filters.js +8 -6
  232. package/dist/collection/components/payouts-list/payouts-list.js +16 -13
  233. package/dist/collection/components/refund-payment/refund-loading.js +6 -0
  234. package/dist/collection/components/refund-payment/refund-payment-schema.js +26 -11
  235. package/dist/collection/components/refund-payment/refund-payment.js +157 -57
  236. package/dist/collection/components/terminal-orders-list/terminal-order-status.js +15 -0
  237. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +12 -11
  238. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +18 -11
  239. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +16 -11
  240. package/dist/collection/components/terminal-orders-list/terminal-orders-table.js +11 -1
  241. package/dist/collection/components/terminals-list/terminals-list-core.js +17 -14
  242. package/dist/collection/components/terminals-list/terminals-list-filters.js +10 -7
  243. package/dist/collection/components/terminals-list/terminals-list.js +16 -12
  244. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +71 -19
  245. package/dist/collection/styles/parts.js +2 -1
  246. package/dist/collection/ui-components/custom-popper/custom-popper.js +19 -8
  247. package/dist/collection/ui-components/details/details.js +3 -4
  248. package/dist/collection/ui-components/filters/table-filters-menu.js +8 -7
  249. package/dist/collection/ui-components/form/form-control-checkbox.js +25 -17
  250. package/dist/collection/ui-components/form/form-control-date.js +32 -21
  251. package/dist/collection/ui-components/form/form-control-file-v2.js +23 -18
  252. package/dist/collection/ui-components/form/form-control-file.js +28 -21
  253. package/dist/collection/ui-components/form/form-control-monetary.js +35 -23
  254. package/dist/collection/ui-components/form/form-control-number-masked.js +28 -19
  255. package/dist/collection/ui-components/form/form-control-number.js +25 -17
  256. package/dist/collection/ui-components/form/form-control-radio.js +28 -19
  257. package/dist/collection/ui-components/form/form-control-select.js +29 -19
  258. package/dist/collection/ui-components/form/form-control-text.js +32 -21
  259. package/dist/collection/ui-components/form/form-control-textarea.js +32 -21
  260. package/dist/collection/ui-components/form/form-helpers/form-alert/form-alert.js +6 -6
  261. package/dist/collection/ui-components/form/form-helpers/form-control-help-text/form-control-help-text.js +6 -6
  262. package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +3 -6
  263. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  264. package/dist/collection/ui-components/form/iframe-input.js +14 -12
  265. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +6 -0
  266. package/dist/collection/utils/utils.js +8 -0
  267. package/dist/docs.d.ts +8 -0
  268. package/dist/docs.json +2216 -947
  269. package/dist/esm/Api-C9CDE-UM.js +72 -0
  270. package/dist/esm/{Business-0855931c.js → Business-D6XNzizo.js} +2 -2
  271. package/dist/esm/{Checkout-18d8bf94.js → Checkout-Dfpql997.js} +1 -1
  272. package/dist/esm/{ComponentError-c61dce41.js → ComponentError-SdntD1xf.js} +2 -1
  273. package/dist/esm/{Document-1907c0d4.js → Document-Ct-uNz2r.js} +1 -1
  274. package/dist/esm/{Payment-806af354.js → Payment-BADkZFaz.js} +2 -2
  275. package/dist/esm/{SubAccount-7520271c.js → Refund-DOvd7RJp.js} +102 -2
  276. package/dist/esm/_commonjsHelpers-BFTU3MAI.js +7 -0
  277. package/dist/esm/additional-questions-details_5.entry.js +5 -9
  278. package/dist/esm/{badge-1be14e8c.js → badge-D5PvLnZT.js} +3 -3
  279. package/dist/esm/bank-account-document-form-inputs_4.entry.js +25 -41
  280. package/dist/esm/bank-account-form_9.entry.js +91 -93
  281. package/dist/esm/{business-additional-questions-schema-56308a54.js → business-additional-questions-schema-W6okG5Xu.js} +2 -2
  282. package/dist/esm/business-details-core.entry.js +6 -8
  283. package/dist/esm/{business-form-options-86a13078.js → business-form-options-Bn05PRR4.js} +1 -1
  284. package/dist/esm/{business-identity-schema-24fcc4ef.js → business-identity-schema-lqdJS3MT.js} +2 -2
  285. package/dist/esm/{business.service-999196a4.js → business.service-B136meVo.js} +23 -8
  286. package/dist/esm/{button-fcee4da7.js → button-wgHJf7hN.js} +2 -2
  287. package/dist/esm/{check-pkg-version-47fc35a7.js → check-pkg-version-iIBw3nCc.js} +3 -3
  288. package/dist/esm/{checkout.service-e38e477f.js → checkout.service-92ld4w-G.js} +13 -10
  289. package/dist/esm/checkouts-list-core.entry.js +25 -29
  290. package/dist/esm/{checkouts-list-params-state-7bdf00bd.js → checkouts-list-params-state-qgJxi6iW.js} +1 -1
  291. package/dist/esm/{checkouts-table-39a031a0.js → checkouts-table-DQfjKgR-.js} +4 -4
  292. package/dist/esm/custom-popper_4.entry.js +27 -50
  293. package/dist/esm/{dispute.service-7ba6d5a4.js → dispute.service-H2Oaq2af.js} +20 -11
  294. package/dist/esm/{event-types-1bc52f1f.js → event-types-Dv-I6YqZ.js} +3 -3
  295. package/dist/esm/form-alert_5.entry.js +10 -17
  296. package/dist/esm/form-control-checkbox.entry.js +9 -16
  297. package/dist/esm/form-control-date.entry.js +9 -17
  298. package/dist/esm/{form-control-error-text-176d20d8.js → form-control-error-text-nyeinPVQ.js} +2 -2
  299. package/dist/esm/form-control-file-v2_2.entry.js +11 -28
  300. package/dist/esm/{form-control-help-text-83764e14.js → form-control-help-text-QhxeQeTV.js} +2 -2
  301. package/dist/esm/form-control-help-text.entry.js +1 -3
  302. package/dist/esm/form-control-monetary-provisioning.entry.js +13 -20
  303. package/dist/esm/form-control-monetary.entry.js +13 -20
  304. package/dist/esm/form-control-number-masked_2.entry.js +12 -23
  305. package/dist/esm/form-control-number.entry.js +9 -16
  306. package/dist/esm/form-control-radio.entry.js +7 -15
  307. package/dist/esm/{get-business-b7511690.js → get-business-B3c5gg1D.js} +3 -3
  308. package/dist/esm/get-payment-details-Bzh5t6A8.js +40 -0
  309. package/dist/esm/get-payout-csv-bM3pZLKB.js +22 -0
  310. package/dist/esm/{get-subaccounts-3c6b9e84.js → get-subaccounts-BB3Sqb3H.js} +10 -9
  311. package/dist/esm/gross-payment-chart-core.entry.js +262 -268
  312. package/dist/esm/{header-1-215a146f.js → header-1-DNg4xuR6.js} +2 -2
  313. package/dist/esm/{header-3-afd16f23.js → header-3-BD_mh7vB.js} +2 -2
  314. package/dist/esm/{helpers-96ea3464.js → helpers-Mu7LQT-w.js} +2 -2
  315. package/dist/esm/{iframe-input-styles-state-ff730fe5.js → iframe-input-styles-state-DeH54Fkx.js} +3 -3
  316. package/dist/esm/iframe-input.entry.js +1638 -0
  317. package/dist/esm/{index-a47fdc7f.js → index-4sfb1rKO.js} +4 -5
  318. package/dist/esm/{index-d9a73ce3.js → index-Ce_F4E0f.js} +1 -1
  319. package/dist/esm/{index-29fcfdf5.js → index-D4-FKsCU.js} +459 -250
  320. package/dist/esm/index.esm-BCNUj0Dx.js +11801 -0
  321. package/dist/esm/{input-handlers-270ac806.js → input-handlers-CX6mSvOM.js} +1 -1
  322. package/dist/esm/{insurance-state-d2df8e88.js → insurance-state-CXUWRQQk.js} +3 -3
  323. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +64 -92
  324. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +36 -84
  325. package/dist/esm/justifi-additional-statement_8.entry.js +36 -52
  326. package/dist/esm/justifi-business-details.entry.js +16 -18
  327. package/dist/esm/justifi-business-form.entry.js +34 -36
  328. package/dist/esm/justifi-business-representative-form-inputs.entry.js +6 -9
  329. package/dist/esm/justifi-checkout-core.entry.js +31 -32
  330. package/dist/esm/justifi-checkout.entry.js +23 -27
  331. package/dist/esm/justifi-checkouts-list-filters.entry.js +15 -16
  332. package/dist/esm/justifi-checkouts-list.entry.js +25 -28
  333. package/dist/esm/justifi-details.entry.js +3 -4
  334. package/dist/esm/justifi-dispute-management-core.entry.js +5 -9
  335. package/dist/esm/justifi-dispute-management.entry.js +19 -21
  336. package/dist/esm/justifi-dispute-notification_3.entry.js +38 -50
  337. package/dist/esm/justifi-gross-payment-chart.entry.js +13 -14
  338. package/dist/esm/justifi-order-terminals.entry.js +26 -32
  339. package/dist/esm/justifi-owner-form_3.entry.js +29 -50
  340. package/dist/esm/justifi-payment-details.entry.js +22 -48
  341. package/dist/esm/justifi-payment-provisioning-core.entry.js +15 -21
  342. package/dist/esm/justifi-payment-provisioning.entry.js +15 -14
  343. package/dist/esm/justifi-payment-transactions-list.entry.js +193 -0
  344. package/dist/esm/justifi-payments-list-filters.entry.js +11 -15
  345. package/dist/esm/justifi-payments-list.entry.js +25 -27
  346. package/dist/esm/justifi-payout-details.entry.js +21 -23
  347. package/dist/esm/justifi-payout-transactions-list.entry.js +201 -0
  348. package/dist/esm/justifi-payouts-list-filters.entry.js +9 -10
  349. package/dist/esm/justifi-payouts-list.entry.js +27 -30
  350. package/dist/esm/justifi-refund-payment.entry.js +189 -67
  351. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +10 -25
  352. package/dist/esm/justifi-season-interruption-insurance.entry.js +24 -33
  353. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +19 -19
  354. package/dist/esm/justifi-terminal-orders-list.entry.js +28 -26
  355. package/dist/esm/justifi-terminals-list-filters.entry.js +17 -19
  356. package/dist/esm/justifi-terminals-list.entry.js +25 -28
  357. package/dist/esm/justifi-tokenize-payment-method.entry.js +24 -26
  358. package/dist/esm/loader.js +4 -4
  359. package/dist/esm/lodash-BqWxUrkh.js +17214 -0
  360. package/dist/esm/package-DGWLSvML.js +7 -0
  361. package/dist/esm/pagination-menu.entry.js +3 -3
  362. package/dist/esm/{parts-fd740f54.js → parts-6ctk_bhj.js} +3 -2
  363. package/dist/esm/payment-details-core.entry.js +19 -20
  364. package/dist/esm/{payment-provisioning-actions-beadac34.js → payment-provisioning-actions-CZYFFdTf.js} +3 -3
  365. package/dist/esm/payment.service-CeGn-K_X.js +25 -0
  366. package/dist/esm/payments-list-core.entry.js +25 -28
  367. package/dist/esm/{payments-list-params-state-d05b24aa.js → payments-list-params-state-qgJxi6iW.js} +1 -1
  368. package/dist/esm/{payments-status-74d22728.js → payments-status-nKLMqTrO.js} +2 -2
  369. package/dist/esm/{payments-table-8134f5e1.js → payments-table-BrvZHeak.js} +4 -4
  370. package/dist/esm/payout-details-core.entry.js +14 -16
  371. package/dist/esm/payout.service-dukCI9Kl.js +32 -0
  372. package/dist/esm/payouts-list-core.entry.js +26 -31
  373. package/dist/esm/{payouts-list-params-state-ebcee300.js → payouts-list-params-state-qgJxi6iW.js} +1 -1
  374. package/dist/esm/{payouts-status-29d31099.js → payouts-status-tVJFGPCs.js} +2 -2
  375. package/dist/esm/{payouts-table-c1ced46a.js → payouts-table-CgfTp9tE.js} +4 -4
  376. package/dist/esm/{schema-validations-5af4266a.js → schema-validations-BsbYeDDR.js} +5 -5
  377. package/dist/esm/{skeleton-ab3f676e.js → skeleton-D8dsThNX.js} +2 -2
  378. package/dist/esm/{spinner-27479716.js → spinner-BVJ-upD0.js} +2 -2
  379. package/dist/esm/{styled-host-32228b45.js → styled-host-D594Ui4d.js} +2 -3
  380. package/dist/esm/table-filters-menu.entry.js +4 -8
  381. package/dist/esm/terminal-orders-list-core.entry.js +24 -27
  382. package/dist/esm/{terminal-orders-list-params-state-8fec0a0b.js → terminal-orders-list-params-state-qgJxi6iW.js} +1 -1
  383. package/dist/esm/{terminal-orders-table-93e84d25.js → terminal-orders-table-CgioW1d8.js} +35 -5
  384. package/dist/esm/terminal-quantity-selector.entry.js +6 -10
  385. package/dist/esm/{terminal.service-d173566d.js → terminal.service-L0EoPXUE.js} +11 -11
  386. package/dist/esm/terminals-list-core.entry.js +25 -29
  387. package/dist/esm/terminals-list-params-state-qgJxi6iW.js +16 -0
  388. package/dist/esm/{terminals-table-ff24bf27.js → terminals-table-D7LKwR85.js} +4 -4
  389. package/dist/esm/{utils-96d9c205.js → utils-1z8cNzLu.js} +2 -2
  390. package/dist/esm/utils-BWcTxbSg.js +23969 -0
  391. package/dist/esm/{utils-fd99b806.js → utils-Dccsn9BY.js} +2 -2
  392. package/dist/esm/webcomponents.js +6 -5
  393. package/dist/module/Api.js +32 -76
  394. package/dist/module/Business.js +2 -2
  395. package/dist/module/ComponentError.js +2 -1
  396. package/dist/module/Document.js +1 -1
  397. package/dist/module/{SubAccount.js → Refund.js} +101 -1
  398. package/dist/module/_commonjsHelpers.js +7 -0
  399. package/dist/module/additional-questions-details2.js +1 -2
  400. package/dist/module/additional-questions.js +2 -3
  401. package/dist/module/additional-statement.js +6 -9
  402. package/dist/module/badge.js +1 -1
  403. package/dist/module/bank-account-document-inputs.js +4 -6
  404. package/dist/module/bank-account-form-inputs2.js +1 -5
  405. package/dist/module/bank-account-form2.js +0 -1
  406. package/dist/module/billing-form.js +122 -4
  407. package/dist/module/business-additional-questions-form-step-core.js +7 -11
  408. package/dist/module/business-additional-questions-form-step.js +1 -6
  409. package/dist/module/business-additional-questions-schema.js +1 -1
  410. package/dist/module/business-address-schema.js +1 -1
  411. package/dist/module/business-bank-account-form-step-core.js +13 -18
  412. package/dist/module/business-bank-account-form-step.js +3 -9
  413. package/dist/module/business-core-info-form-step-core.js +6 -11
  414. package/dist/module/business-core-info-form-step.js +1 -6
  415. package/dist/module/business-core-info-schema.js +1 -1
  416. package/dist/module/business-core-info.js +2 -3
  417. package/dist/module/business-details-core2.js +1 -3
  418. package/dist/module/business-documents-on-file2.js +1 -1
  419. package/dist/module/business-form-options.js +1 -1
  420. package/dist/module/business-identity-schema.js +1 -1
  421. package/dist/module/business-owners-form-step-core.js +5 -11
  422. package/dist/module/business-owners-form-step.js +1 -6
  423. package/dist/module/business-representative-form-inputs.js +1 -4
  424. package/dist/module/business-representative-form-step-core.js +5 -9
  425. package/dist/module/business-representative-form-step.js +1 -6
  426. package/dist/module/business-representative.js +3 -4
  427. package/dist/module/business-terms-conditions-form-step.js +6 -12
  428. package/dist/module/business.service.js +22 -7
  429. package/dist/module/button.js +1 -1
  430. package/dist/module/cancellation-policy.js +6 -8
  431. package/dist/module/card-form2.js +2 -3
  432. package/dist/module/check-pkg-version.js +1 -1
  433. package/dist/module/checkout-core.js +57 -69
  434. package/dist/module/checkout.service.js +7 -4
  435. package/dist/module/checkouts-list-core2.js +12 -17
  436. package/dist/module/custom-popper2.js +13 -16
  437. package/dist/module/customer-details.js +6 -8
  438. package/dist/module/details.js +0 -1
  439. package/dist/module/dispute-management-core.js +4 -8
  440. package/dist/module/dispute-notification.js +3 -6
  441. package/dist/module/dispute-response-actions.js +16 -7
  442. package/dist/module/dispute-response-core.js +12 -16
  443. package/dist/module/dispute-response.js +6 -12
  444. package/dist/module/duplicate-charge.js +6 -8
  445. package/dist/module/electronic-evidence.js +5 -7
  446. package/dist/module/event-types2.js +21 -61
  447. package/dist/module/event-types3.js +61 -21
  448. package/dist/module/form-alert2.js +1 -3
  449. package/dist/module/form-control-checkbox2.js +6 -13
  450. package/dist/module/form-control-date2.js +6 -14
  451. package/dist/module/form-control-file-v22.js +2 -10
  452. package/dist/module/form-control-file2.js +5 -15
  453. package/dist/module/form-control-help-text.js +1 -1
  454. package/dist/module/form-control-help-text2.js +30 -9
  455. package/dist/module/form-control-help-text3.js +9 -32
  456. package/dist/module/form-control-monetary-provisioning2.js +8 -15
  457. package/dist/module/form-control-monetary2.js +9 -17
  458. package/dist/module/form-control-number-masked2.js +4 -12
  459. package/dist/module/form-control-number.js +6 -13
  460. package/dist/module/form-control-radio2.js +6 -14
  461. package/dist/module/form-control-select2.js +5 -13
  462. package/dist/module/form-control-text2.js +5 -14
  463. package/dist/module/form-control-textarea2.js +7 -16
  464. package/dist/module/form-control-tooltip2.js +0 -3
  465. package/dist/module/form.js +9773 -903
  466. package/dist/module/generic-info-details2.js +0 -1
  467. package/dist/module/get-business.js +2 -2
  468. package/dist/module/get-payment-details.js +40 -0
  469. package/dist/module/get-payout-csv.js +3 -27
  470. package/dist/module/get-subaccounts.js +5 -4
  471. package/dist/module/gross-payment-chart-core2.js +257 -264
  472. package/dist/module/helpers.js +1 -1
  473. package/dist/module/hidden-input2.js +3 -3
  474. package/dist/module/identity-address-form.js +2 -5
  475. package/dist/module/iframe-input-styles-state.js +2 -2
  476. package/dist/module/iframe-input2.js +1481 -1478
  477. package/dist/module/index.js +1 -1
  478. package/dist/module/index2.js +3 -4
  479. package/dist/module/index3.js +1 -1
  480. package/dist/module/{billing-form.d.ts → justifi-billing-form.d.ts} +4 -4
  481. package/dist/module/justifi-billing-form.js +6 -0
  482. package/dist/module/justifi-business-details.js +1 -5
  483. package/dist/module/justifi-business-form.js +7 -10
  484. package/dist/module/justifi-checkout.js +47 -62
  485. package/dist/module/justifi-checkouts-list-filters.js +4 -5
  486. package/dist/module/justifi-checkouts-list.js +8 -11
  487. package/dist/module/justifi-dispute-management.js +6 -9
  488. package/dist/module/justifi-gross-payment-chart.js +4 -7
  489. package/dist/module/justifi-order-terminals.js +6 -13
  490. package/dist/module/justifi-payment-details.js +6 -38
  491. package/dist/module/justifi-payment-provisioning.js +5 -6
  492. package/dist/module/justifi-payment-transactions-list.d.ts +11 -0
  493. package/dist/module/justifi-payment-transactions-list.js +229 -0
  494. package/dist/module/justifi-payments-list-filters.js +6 -11
  495. package/dist/module/justifi-payments-list.js +8 -10
  496. package/dist/module/justifi-payout-details.js +8 -10
  497. package/dist/module/justifi-payout-transactions-list.d.ts +11 -0
  498. package/dist/module/justifi-payout-transactions-list.js +237 -0
  499. package/dist/module/justifi-payouts-list-filters.js +4 -6
  500. package/dist/module/justifi-payouts-list.js +10 -13
  501. package/dist/module/justifi-refund-payment.js +184 -61
  502. package/dist/module/justifi-season-interruption-insurance.js +13 -23
  503. package/dist/module/justifi-terminal-orders-list-filters.js +8 -9
  504. package/dist/module/justifi-terminal-orders-list.js +13 -11
  505. package/dist/module/justifi-terminals-list-filters.js +6 -8
  506. package/dist/module/justifi-terminals-list.js +8 -11
  507. package/dist/module/justifi-tokenize-payment-method.js +46 -58
  508. package/dist/module/legal-address-details2.js +1 -2
  509. package/dist/module/legal-address-form-step-core.js +6 -10
  510. package/dist/module/legal-address-form-step.js +1 -6
  511. package/dist/module/legal-address-form.js +1 -3
  512. package/dist/module/lodash.js +17201 -17191
  513. package/dist/module/new-payment-method.js +43 -55
  514. package/dist/module/owner-details2.js +0 -1
  515. package/dist/module/owner-form-core2.js +8 -18
  516. package/dist/module/owner-form-inputs2.js +1 -4
  517. package/dist/module/owner-form.js +1 -11
  518. package/dist/module/package.js +3 -77
  519. package/dist/module/pagination-menu2.js +1 -1
  520. package/dist/module/parts.js +3 -2
  521. package/dist/module/payment-details-core2.js +11 -13
  522. package/dist/module/payment-method-options.js +43 -61
  523. package/dist/module/payment-provisioning-actions.js +2 -2
  524. package/dist/module/payment-provisioning-core.js +8 -14
  525. package/dist/module/payment-provisioning-form-buttons.js +2 -8
  526. package/dist/module/payment-provisioning-form-steps.js +2 -7
  527. package/dist/module/payment.service.js +8 -4
  528. package/dist/module/payments-list-core2.js +10 -14
  529. package/dist/module/payout-details-core2.js +6 -9
  530. package/dist/module/payout.service.js +32 -0
  531. package/dist/module/payouts-list-core2.js +14 -20
  532. package/dist/module/product-or-service.js +5 -7
  533. package/dist/module/refund-policy.js +6 -8
  534. package/dist/module/representative-details2.js +0 -1
  535. package/dist/module/saved-payment-method.js +4 -6
  536. package/dist/module/schema-validations.js +2 -2
  537. package/dist/module/season-interruption-insurance-core.js +4 -20
  538. package/dist/module/sezzle-payment-method.js +3 -12
  539. package/dist/module/shipping-details.js +6 -8
  540. package/dist/module/spinner.js +1 -1
  541. package/dist/module/styled-host.js +1 -2
  542. package/dist/module/table-filters-menu2.js +3 -7
  543. package/dist/module/terminal-orders-list-core2.js +35 -15
  544. package/dist/module/terminal-quantity-selector2.js +4 -8
  545. package/dist/module/terminal.service.js +5 -5
  546. package/dist/module/terminals-list-core2.js +12 -17
  547. package/dist/module/utils.js +1 -1
  548. package/dist/module/utils2.js +23787 -3819
  549. package/dist/module/utils4.js +2 -2
  550. package/dist/types/actions/payment/get-payment-details.d.ts +4 -2
  551. package/dist/types/actions/payment/get-payment-transactions.d.ts +11 -0
  552. package/dist/types/actions/payout/get-payout-transactions.d.ts +10 -0
  553. package/dist/types/actions/refund/refund-actions.d.ts +12 -0
  554. package/dist/types/api/Api.d.ts +30 -5
  555. package/dist/types/api/ComponentError.d.ts +2 -1
  556. package/dist/types/api/Payment.d.ts +1 -11
  557. package/dist/types/api/PaymentBalanceTransaction.d.ts +42 -0
  558. package/dist/types/api/PayoutBalanceTransaction.d.ts +46 -0
  559. package/dist/types/api/Refund.d.ts +45 -0
  560. package/dist/types/api/TerminalOrder.d.ts +4 -1
  561. package/dist/types/api/index.d.ts +3 -0
  562. package/dist/types/api/services/payment.service.d.ts +4 -2
  563. package/dist/types/api/services/payout.service.d.ts +3 -1
  564. package/dist/types/api/services/refund.service.d.ts +7 -0
  565. package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +1 -1
  566. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +3 -3
  567. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +1 -1
  568. package/dist/types/components/checkout/{billing-forms → billing-form}/billing-form-schema.d.ts +1 -11
  569. package/dist/types/components/checkout/{billing-forms/billing-form → billing-form}/billing-form.d.ts +8 -6
  570. package/dist/types/components/checkout/checkout-core.d.ts +6 -2
  571. package/dist/types/components/checkout/checkout.d.ts +6 -2
  572. package/dist/types/components/checkout/new-payment-method.d.ts +7 -3
  573. package/dist/types/components/checkout/payment-method-options.d.ts +6 -2
  574. package/dist/types/components/payment-details/payment-details.d.ts +1 -0
  575. package/dist/types/components/payment-transactions-list/payment-transactions-list.d.ts +32 -0
  576. package/dist/types/components/payment-transactions-list/payment-transactions-table.d.ts +43 -0
  577. package/dist/types/components/payout-transactions-list/payout-transactions-list.d.ts +33 -0
  578. package/dist/types/components/payout-transactions-list/payout-transactions-table.d.ts +45 -0
  579. package/dist/types/components/refund-payment/refund-loading.d.ts +1 -0
  580. package/dist/types/components/refund-payment/refund-payment-schema.d.ts +6 -6
  581. package/dist/types/components/refund-payment/refund-payment.d.ts +18 -12
  582. package/dist/types/components/terminal-orders-list/terminal-orders-list-filters.d.ts +1 -1
  583. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +4 -0
  584. package/dist/types/components.d.ts +123 -74
  585. package/dist/types/stencil-public-runtime.d.ts +28 -0
  586. package/dist/types/styles/parts.d.ts +6 -5
  587. package/dist/types/ui-components/form/form-control-monetary.d.ts +1 -1
  588. package/dist/types/utils/utils.d.ts +1 -0
  589. package/dist/webcomponents/p-009c6766.entry.js +1 -0
  590. package/dist/webcomponents/p-048ed3f0.entry.js +1 -0
  591. package/dist/webcomponents/p-0764cfde.entry.js +1 -0
  592. package/dist/webcomponents/p-08dcbb41.entry.js +1 -0
  593. package/dist/webcomponents/p-0b0e44c4.entry.js +1 -0
  594. package/dist/webcomponents/p-0b1bbf91.entry.js +1 -0
  595. package/dist/webcomponents/p-0c9c8d6f.entry.js +1 -0
  596. package/dist/webcomponents/p-103692ef.entry.js +1 -0
  597. package/dist/webcomponents/p-103deee0.entry.js +1 -0
  598. package/dist/webcomponents/p-10ad134d.entry.js +1 -0
  599. package/dist/webcomponents/p-175a913f.entry.js +1 -0
  600. package/dist/webcomponents/p-1c2bedfe.entry.js +1 -0
  601. package/dist/webcomponents/p-1ydcg9ti.js +1 -0
  602. package/dist/webcomponents/p-36656ed1.entry.js +1 -0
  603. package/dist/webcomponents/p-3678f5fb.entry.js +1 -0
  604. package/dist/webcomponents/p-3b1f69fd.entry.js +1 -0
  605. package/dist/webcomponents/p-405f135e.entry.js +1 -0
  606. package/dist/webcomponents/p-40614f67.entry.js +1 -0
  607. package/dist/webcomponents/p-41a0b83c.entry.js +1 -0
  608. package/dist/webcomponents/p-4361ae88.entry.js +1 -0
  609. package/dist/webcomponents/p-487514c2.entry.js +1 -0
  610. package/dist/webcomponents/p-4994c980.entry.js +1 -0
  611. package/dist/webcomponents/p-4c4cc0ad.entry.js +20 -0
  612. package/dist/webcomponents/p-4d5b8876.entry.js +1 -0
  613. package/dist/webcomponents/p-529bf046.entry.js +1 -0
  614. package/dist/webcomponents/p-5321c7d5.entry.js +1 -0
  615. package/dist/webcomponents/p-54aa7e86.entry.js +1 -0
  616. package/dist/webcomponents/p-5aeOUdhX.js +1 -0
  617. package/dist/webcomponents/p-601669bb.entry.js +1 -0
  618. package/dist/webcomponents/p-63c835b9.entry.js +1 -0
  619. package/dist/webcomponents/p-656ec7b6.entry.js +1 -0
  620. package/dist/webcomponents/p-6ctk_bhj.js +1 -0
  621. package/dist/webcomponents/p-6d36d6a7.entry.js +1 -0
  622. package/dist/webcomponents/p-76e7c283.entry.js +1 -0
  623. package/dist/webcomponents/p-81a1be23.entry.js +1 -0
  624. package/dist/webcomponents/p-81d682ba.entry.js +1 -0
  625. package/dist/webcomponents/p-85681d97.entry.js +1 -0
  626. package/dist/webcomponents/p-88539215.entry.js +1 -0
  627. package/dist/webcomponents/p-896e4fb2.entry.js +1 -0
  628. package/dist/webcomponents/p-8bc32c27.entry.js +1 -0
  629. package/dist/webcomponents/p-8d4d2ac3.entry.js +1 -0
  630. package/dist/webcomponents/p-9349d32e.entry.js +1 -0
  631. package/dist/webcomponents/p-938e0dbc.entry.js +1 -0
  632. package/dist/webcomponents/p-94d81903.entry.js +1 -0
  633. package/dist/webcomponents/p-9767500b.entry.js +1 -0
  634. package/dist/webcomponents/p-9cf5ed80.entry.js +1 -0
  635. package/dist/webcomponents/p-AVaenhw9.js +1 -0
  636. package/dist/webcomponents/p-B2H14Naw.js +1 -0
  637. package/dist/webcomponents/p-B4iBNBBM.js +1 -0
  638. package/dist/webcomponents/p-BAXE_ZfF.js +1 -0
  639. package/dist/webcomponents/p-BBsCnePk.js +1 -0
  640. package/dist/webcomponents/p-BFTU3MAI.js +1 -0
  641. package/dist/webcomponents/p-BHbsXXRt.js +1 -0
  642. package/dist/webcomponents/p-BLdGqrQH.js +1 -0
  643. package/dist/webcomponents/p-BODr6HXb.js +1 -0
  644. package/dist/webcomponents/p-Bde7dY9t.js +9 -0
  645. package/dist/webcomponents/{p-1366a019.js → p-BjB_yKBJ.js} +1 -1
  646. package/dist/webcomponents/p-BoPxMyJA.js +1 -0
  647. package/dist/webcomponents/{p-5d1d2fd7.js → p-BrvbVMVq.js} +1 -1
  648. package/dist/webcomponents/p-BupmNfQ5.js +1 -0
  649. package/dist/webcomponents/p-BvWS8buZ.js +1 -0
  650. package/dist/webcomponents/{p-ca6cdfe6.js → p-BwgcVN7d.js} +1 -1
  651. package/dist/webcomponents/p-BxGoUIgN.js +1 -0
  652. package/dist/webcomponents/{p-3f5e6602.js → p-Bxs6fi7a.js} +1 -1
  653. package/dist/webcomponents/p-C3uv9u0l.js +1 -0
  654. package/dist/webcomponents/{p-87f8c596.js → p-C5RuuShs.js} +1 -1
  655. package/dist/webcomponents/p-CCN8wTYX.js +1 -0
  656. package/dist/webcomponents/p-CG9te8PM.js +1 -0
  657. package/dist/webcomponents/p-CGz3XHQc.js +1 -0
  658. package/dist/webcomponents/p-CRgzzPY4.js +1 -0
  659. package/dist/webcomponents/p-CZLIteZz.js +1 -0
  660. package/dist/webcomponents/p-C_9TcvwA.js +1 -0
  661. package/dist/webcomponents/p-CbZjB3qJ.js +1 -0
  662. package/dist/webcomponents/p-CfbB7agn.js +1 -0
  663. package/dist/webcomponents/{p-4cc3c7f9.js → p-CgS6VBEy.js} +1 -1
  664. package/dist/webcomponents/p-CpTwq2jw.js +1 -0
  665. package/dist/webcomponents/{p-61f0a2ce.js → p-Ct-uNz2r.js} +1 -1
  666. package/dist/webcomponents/p-Cy4aIACq.js +1 -0
  667. package/dist/webcomponents/p-D4-FKsCU.js +2 -0
  668. package/dist/webcomponents/{p-12074378.js → p-D5q9gEvl.js} +1 -1
  669. package/dist/webcomponents/p-D5wGYrfz.js +1 -0
  670. package/dist/webcomponents/{p-701a13ca.js → p-D6mhG0dV.js} +1 -1
  671. package/dist/webcomponents/p-DArbkdtn.js +1 -0
  672. package/dist/webcomponents/{p-a5579f53.js → p-DBfKxfCX.js} +1 -1
  673. package/dist/webcomponents/p-DEa8EbZW.js +1 -0
  674. package/dist/webcomponents/p-DGWLSvML.js +1 -0
  675. package/dist/webcomponents/p-DPC4A7AZ.js +1 -0
  676. package/dist/webcomponents/p-DVnVdicA.js +1 -0
  677. package/dist/webcomponents/p-DavDfnxI.js +1 -0
  678. package/dist/webcomponents/{p-70be104e.js → p-DgQyL5KO.js} +1 -1
  679. package/dist/webcomponents/p-DmBEzYCU.js +1 -0
  680. package/dist/webcomponents/p-Dt-vy9Le.js +1 -0
  681. package/dist/webcomponents/p-EbYREopN.js +1 -0
  682. package/dist/webcomponents/{p-c9b78275.js → p-IA90llLO.js} +1 -1
  683. package/dist/webcomponents/p-NI7Keg2H.js +1 -0
  684. package/dist/webcomponents/{p-9dd8685c.js → p-SdntD1xf.js} +1 -1
  685. package/dist/webcomponents/p-XazJ9qLe.js +1 -0
  686. package/dist/webcomponents/p-Xql8Xhsx.js +1 -0
  687. package/dist/webcomponents/p-a4e7d24f.entry.js +1 -0
  688. package/dist/webcomponents/p-a78bf0f7.entry.js +1 -0
  689. package/dist/webcomponents/p-a83bf2c0.entry.js +1 -0
  690. package/dist/webcomponents/p-b15d6c77.entry.js +1 -0
  691. package/dist/webcomponents/p-b5dd55b1.entry.js +1 -0
  692. package/dist/webcomponents/p-b8096d2b.entry.js +1 -0
  693. package/dist/webcomponents/p-bbc56c17.entry.js +1 -0
  694. package/dist/webcomponents/p-bc3d56a7.entry.js +1 -0
  695. package/dist/webcomponents/p-bf83ba04.entry.js +1 -0
  696. package/dist/webcomponents/p-bplwtwD3.js +1 -0
  697. package/dist/webcomponents/p-c5b66da3.entry.js +1 -0
  698. package/dist/webcomponents/p-c7dc7184.entry.js +1 -0
  699. package/dist/webcomponents/p-cb8b91ea.entry.js +1 -0
  700. package/dist/webcomponents/p-d7ea4db7.entry.js +1 -0
  701. package/dist/webcomponents/p-dadb97e1.entry.js +1 -0
  702. package/dist/webcomponents/p-dafac427.entry.js +1 -0
  703. package/dist/webcomponents/p-dca205de.entry.js +1 -0
  704. package/dist/webcomponents/p-df3fb523.entry.js +1 -0
  705. package/dist/webcomponents/p-f-9W4QBD.js +1 -0
  706. package/dist/webcomponents/p-f604d6ea.entry.js +1 -0
  707. package/dist/webcomponents/p-ffbf35a4.entry.js +1 -0
  708. package/dist/webcomponents/{p-bfe9748b.js → p-lvlr3zXn.js} +1 -1
  709. package/dist/webcomponents/p-obi7kkCX.js +1 -0
  710. package/dist/webcomponents/webcomponents.esm.js +1 -1
  711. package/package.json +6 -7
  712. package/dist/cjs/Api-83d93333.js +0 -118
  713. package/dist/cjs/billing-form_3.cjs.entry.js +0 -1733
  714. package/dist/cjs/get-payout-csv-7607c71e.js +0 -49
  715. package/dist/cjs/index.esm-544c08fd.js +0 -2937
  716. package/dist/cjs/lodash-dbf6a6a4.js +0 -17206
  717. package/dist/cjs/package-5a9f02b2.js +0 -83
  718. package/dist/cjs/payment.service-537e049d.js +0 -23
  719. package/dist/cjs/terminals-list-params-state-236f06f6.js +0 -22
  720. package/dist/cjs/utils-4120664c.js +0 -4018
  721. package/dist/collection/components/checkout/billing-forms/billing-form/billing-form.js +0 -137
  722. package/dist/collection/components/checkout/billing-forms/billing-form-schema.js +0 -26
  723. package/dist/collection/components/checkout/billing-forms/billing-form-wrapper.js +0 -183
  724. package/dist/collection/components/checkout/billing-forms/postal-form/postal-form.js +0 -136
  725. package/dist/esm/Api-52242eb0.js +0 -116
  726. package/dist/esm/billing-form_3.entry.js +0 -1727
  727. package/dist/esm/get-payout-csv-fa34f40b.js +0 -46
  728. package/dist/esm/index.esm-feedf26f.js +0 -2931
  729. package/dist/esm/lodash-faeb5a52.js +0 -17204
  730. package/dist/esm/package-c8466624.js +0 -81
  731. package/dist/esm/payment.service-af5bd8be.js +0 -21
  732. package/dist/esm/terminals-list-params-state-e4b2ec23.js +0 -16
  733. package/dist/esm/utils-ec50661e.js +0 -4001
  734. package/dist/loader/package.json +0 -11
  735. package/dist/module/billing-form-schema.js +0 -16
  736. package/dist/module/billing-form-wrapper.js +0 -114
  737. package/dist/module/billing-form2.js +0 -90
  738. package/dist/module/justifi-billing-form-wrapper.d.ts +0 -11
  739. package/dist/module/justifi-billing-form-wrapper.js +0 -6
  740. package/dist/module/postal-form.d.ts +0 -11
  741. package/dist/module/postal-form.js +0 -6
  742. package/dist/module/postal-form2.js +0 -83
  743. package/dist/types/components/checkout/billing-forms/billing-form-wrapper.d.ts +0 -19
  744. package/dist/types/components/checkout/billing-forms/postal-form/postal-form.d.ts +0 -20
  745. package/dist/webcomponents/p-01033194.js +0 -1
  746. package/dist/webcomponents/p-04d6b37e.entry.js +0 -1
  747. package/dist/webcomponents/p-092515e0.js +0 -1
  748. package/dist/webcomponents/p-0b61d4d3.entry.js +0 -1
  749. package/dist/webcomponents/p-0c7ec110.entry.js +0 -1
  750. package/dist/webcomponents/p-0f0020e1.entry.js +0 -1
  751. package/dist/webcomponents/p-0fa216eb.entry.js +0 -1
  752. package/dist/webcomponents/p-1361d8eb.entry.js +0 -1
  753. package/dist/webcomponents/p-13717638.entry.js +0 -1
  754. package/dist/webcomponents/p-142bfae3.js +0 -1
  755. package/dist/webcomponents/p-1cfa5df9.entry.js +0 -1
  756. package/dist/webcomponents/p-1ff8810b.js +0 -1
  757. package/dist/webcomponents/p-2123c150.js +0 -1
  758. package/dist/webcomponents/p-21def20b.entry.js +0 -1
  759. package/dist/webcomponents/p-23cd76af.entry.js +0 -1
  760. package/dist/webcomponents/p-25b82529.entry.js +0 -1
  761. package/dist/webcomponents/p-27546fa9.entry.js +0 -1
  762. package/dist/webcomponents/p-275c3dc9.js +0 -1
  763. package/dist/webcomponents/p-2783e363.js +0 -2
  764. package/dist/webcomponents/p-290fa30d.entry.js +0 -1
  765. package/dist/webcomponents/p-2a9d7f6b.js +0 -1
  766. package/dist/webcomponents/p-2aad7e3b.entry.js +0 -1
  767. package/dist/webcomponents/p-2b8aaa7d.entry.js +0 -1
  768. package/dist/webcomponents/p-3075b7e1.entry.js +0 -1
  769. package/dist/webcomponents/p-31dcaeaf.entry.js +0 -1
  770. package/dist/webcomponents/p-35c296fc.entry.js +0 -1
  771. package/dist/webcomponents/p-373a19fe.entry.js +0 -1
  772. package/dist/webcomponents/p-375657fe.entry.js +0 -1
  773. package/dist/webcomponents/p-3cc7527a.entry.js +0 -1
  774. package/dist/webcomponents/p-3cf317d3.entry.js +0 -1
  775. package/dist/webcomponents/p-407d6d29.entry.js +0 -1
  776. package/dist/webcomponents/p-4451de8d.entry.js +0 -1
  777. package/dist/webcomponents/p-4f7432c3.entry.js +0 -1
  778. package/dist/webcomponents/p-536497fe.entry.js +0 -1
  779. package/dist/webcomponents/p-536fb8e2.js +0 -1
  780. package/dist/webcomponents/p-537bce77.js +0 -1
  781. package/dist/webcomponents/p-54556fc6.js +0 -1
  782. package/dist/webcomponents/p-56c7fc8d.js +0 -1
  783. package/dist/webcomponents/p-58ee6ce9.js +0 -1
  784. package/dist/webcomponents/p-5a541d35.js +0 -1
  785. package/dist/webcomponents/p-5a9d7ca0.entry.js +0 -1
  786. package/dist/webcomponents/p-5b76dbe1.entry.js +0 -1
  787. package/dist/webcomponents/p-5f6b4bc9.js +0 -1
  788. package/dist/webcomponents/p-645db2cb.entry.js +0 -1
  789. package/dist/webcomponents/p-673c1bca.js +0 -1
  790. package/dist/webcomponents/p-753d983c.entry.js +0 -1
  791. package/dist/webcomponents/p-76549a24.js +0 -1
  792. package/dist/webcomponents/p-7d85af5c.js +0 -1
  793. package/dist/webcomponents/p-7e8732f7.entry.js +0 -1
  794. package/dist/webcomponents/p-81a6c3e2.entry.js +0 -1
  795. package/dist/webcomponents/p-829480e7.entry.js +0 -1
  796. package/dist/webcomponents/p-86605101.js +0 -1
  797. package/dist/webcomponents/p-87a4fb5b.js +0 -1
  798. package/dist/webcomponents/p-927cb6df.js +0 -1
  799. package/dist/webcomponents/p-94e4f1f1.entry.js +0 -1
  800. package/dist/webcomponents/p-96c23cda.entry.js +0 -1
  801. package/dist/webcomponents/p-9a9732e1.js +0 -1
  802. package/dist/webcomponents/p-9fecad5a.js +0 -1
  803. package/dist/webcomponents/p-a3cced75.entry.js +0 -1
  804. package/dist/webcomponents/p-a5f5cc2e.entry.js +0 -1
  805. package/dist/webcomponents/p-a8c69f51.entry.js +0 -1
  806. package/dist/webcomponents/p-ab45511e.js +0 -1
  807. package/dist/webcomponents/p-ad713ab6.entry.js +0 -1
  808. package/dist/webcomponents/p-adecb91a.entry.js +0 -1
  809. package/dist/webcomponents/p-ae7edce5.js +0 -1
  810. package/dist/webcomponents/p-ae891abb.entry.js +0 -1
  811. package/dist/webcomponents/p-af3315b5.entry.js +0 -1
  812. package/dist/webcomponents/p-b218af87.entry.js +0 -1
  813. package/dist/webcomponents/p-b50ca848.entry.js +0 -1
  814. package/dist/webcomponents/p-b84ee6d8.js +0 -1
  815. package/dist/webcomponents/p-b8664571.entry.js +0 -1
  816. package/dist/webcomponents/p-bb4b3f79.entry.js +0 -1
  817. package/dist/webcomponents/p-beec0b60.js +0 -1
  818. package/dist/webcomponents/p-bf12999f.js +0 -1
  819. package/dist/webcomponents/p-bf195b35.js +0 -1
  820. package/dist/webcomponents/p-bfc2d88a.js +0 -1
  821. package/dist/webcomponents/p-c6be72b0.js +0 -10
  822. package/dist/webcomponents/p-c8b78136.js +0 -1
  823. package/dist/webcomponents/p-cbad44b7.js +0 -1
  824. package/dist/webcomponents/p-cc2f75a3.entry.js +0 -1
  825. package/dist/webcomponents/p-ccb9ee53.js +0 -1
  826. package/dist/webcomponents/p-cd93c62b.entry.js +0 -19
  827. package/dist/webcomponents/p-d757fcf5.js +0 -1
  828. package/dist/webcomponents/p-dbc1a95b.js +0 -1
  829. package/dist/webcomponents/p-dd2938d3.entry.js +0 -1
  830. package/dist/webcomponents/p-de03d0f8.js +0 -1
  831. package/dist/webcomponents/p-dec18cc4.js +0 -1
  832. package/dist/webcomponents/p-e1ae5e80.entry.js +0 -1
  833. package/dist/webcomponents/p-e3855f51.entry.js +0 -1
  834. package/dist/webcomponents/p-e73be1b9.entry.js +0 -1
  835. package/dist/webcomponents/p-e9867f8b.entry.js +0 -1
  836. package/dist/webcomponents/p-ef1db3da.entry.js +0 -1
  837. package/dist/webcomponents/p-f13b2991.entry.js +0 -1
  838. package/dist/webcomponents/p-f20466f7.entry.js +0 -1
  839. package/dist/webcomponents/p-f20b6ce1.js +0 -1
  840. package/dist/webcomponents/p-f4739d31.js +0 -1
  841. package/dist/webcomponents/p-f4aeb100.js +0 -1
  842. package/dist/webcomponents/p-f8fccf44.js +0 -1
  843. package/dist/webcomponents/p-f930504f.entry.js +0 -1
  844. package/dist/webcomponents/p-faa35b47.entry.js +0 -1
  845. package/dist/webcomponents/p-fb2db8da.entry.js +0 -1
  846. package/dist/webcomponents/p-fca89e9b.entry.js +0 -1
  847. /package/dist/cjs/{Dispute-eb6bad54.js → Dispute-CruQTF6_.js} +0 -0
  848. /package/dist/cjs/{Document-0b828345.js → Document-rXGBUaOh.js} +0 -0
  849. /package/dist/cjs/{Pagination-0da8f095.js → Pagination-Dediz133.js} +0 -0
  850. /package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -0
  851. /package/dist/cjs/{event-types-8edaabbb.js → event-types-BWQT2lwu.js} +0 -0
  852. /package/dist/cjs/{event-types-180a85a9.js → event-types-DNOUef41.js} +0 -0
  853. /package/dist/cjs/{form-input-masks-0879c139.js → form-input-masks-DgXd0f4V.js} +0 -0
  854. /package/dist/cjs/{state-options-4fbcb48a.js → state-options-CIT9xdTz.js} +0 -0
  855. /package/dist/cjs/{utils-bc03ca40.js → utils-DAyWinG2.js} +0 -0
  856. /package/dist/esm/{Dispute-5fd28ec9.js → Dispute-7MWRbTXI.js} +0 -0
  857. /package/dist/esm/{Pagination-afc8f96d.js → Pagination-CLHwhyvu.js} +0 -0
  858. /package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
  859. /package/dist/esm/{event-types-07cdb9a0.js → event-types-Bg2SZArf.js} +0 -0
  860. /package/dist/esm/{event-types-5c87de02.js → event-types-XYgDHrVL.js} +0 -0
  861. /package/dist/esm/{form-input-masks-0e18300f.js → form-input-masks-B-iV5cYd.js} +0 -0
  862. /package/dist/esm/{state-options-a356fb11.js → state-options-BX8GieXu.js} +0 -0
  863. /package/dist/esm/{utils-20cdf321.js → utils-BnjCmwMr.js} +0 -0
  864. /package/dist/webcomponents/{p-abdbcd8e.js → p-7MWRbTXI.js} +0 -0
  865. /package/dist/webcomponents/{p-525db3e8.js → p-B-iV5cYd.js} +0 -0
  866. /package/dist/webcomponents/{p-6078a370.js → p-BX8GieXu.js} +0 -0
  867. /package/dist/webcomponents/{p-667ebd79.js → p-Bg2SZArf.js} +0 -0
  868. /package/dist/webcomponents/{p-e3c22aa9.js → p-BnjCmwMr.js} +0 -0
  869. /package/dist/webcomponents/{p-56f6ce4c.js → p-CLHwhyvu.js} +0 -0
  870. /package/dist/webcomponents/{p-1ad5995e.js → p-Ce_F4E0f.js} +0 -0
  871. /package/dist/webcomponents/{p-e1255160.js → p-DQuL1Twl.js} +0 -0
  872. /package/dist/webcomponents/{p-73f9be7c.js → p-XYgDHrVL.js} +0 -0
@@ -1,6 +1,7 @@
1
- import { r as registerInstance, h } from './index-29fcfdf5.js';
2
- import { c as create$3, a as create$6, F as FormController } from './index.esm-feedf26f.js';
3
- import { B as heading5 } from './parts-fd740f54.js';
1
+ import { r as registerInstance, h } from './index-D4-FKsCU.js';
2
+ import { c as create$3, a as create$6, F as FormController } from './index.esm-BCNUj0Dx.js';
3
+ import { af as heading5 } from './parts-6ctk_bhj.js';
4
+ import './_commonjsHelpers-BFTU3MAI.js';
4
5
 
5
6
  const AdditionalStatementSchema = create$3({
6
7
  additional_statement: create$6().nullable(),
@@ -77,16 +78,13 @@ const fileInputHandler = (e, documentState) => {
77
78
  const AdditionalStatement = class {
78
79
  constructor(hostRef) {
79
80
  registerInstance(this, hostRef);
80
- this.inputHandler = (name, value) => {
81
- this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
82
- };
83
- this.disputeResponse = undefined;
84
81
  this.documentErrors = {};
85
- this.form = undefined;
86
82
  this.errors = {};
87
83
  this.acceptedTerms = false;
88
- this.acceptedTermsErrorText = undefined;
89
84
  this.documents = { uncategorized_file: [] };
85
+ this.inputHandler = (name, value) => {
86
+ this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
87
+ };
90
88
  }
91
89
  async validateAndSubmit(onSuccess) {
92
90
  const documentList = Object.values(this.documents).flat();
@@ -103,7 +101,7 @@ const AdditionalStatement = class {
103
101
  }
104
102
  render() {
105
103
  var _a, _b;
106
- return (h("div", { key: 'cc4be19078bc6ed3b622f6d9db17c5565d575ddb' }, h("div", { key: 'ae78d8f0a216a417a4c6e2778dd8f36315386437', class: "row gy-3" }, h("div", { key: '065645b98b1a7b5a0bcd2ef55e48bec65a2de082', class: "col-12" }, h("h2", { key: '0728e424e28b970bc3454951841b65d3ef843a95', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '900d5630440472414e43b4ae194c941a73ef46c0', class: "col-12" }, h("form-control-textarea", { key: '0c3e4926570187d4f84f1061c731365441f6f302', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: '2a9a2f41348f30baeb1082a0d5715f823c112c89', class: "col-12" }, h("form-control-file-v2", { key: 'b47d9a681874b19eed4974bce7dd850d882ae435', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
104
+ return (h("div", { key: '5e572a30ed53b4fbcf3808ba545ce2fdf5b988aa' }, h("div", { key: '90870dc58e0eab72e64ae03bdaa25bb1749d8e23', class: "row gy-3" }, h("div", { key: 'cc3b6f19687d02e047744e8a53d22a2f91a8b968', class: "col-12" }, h("h2", { key: '230c20dc3f75e48afa4008369374fd8c175cb7ea', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '7b49c8012cfc07c44399969f8505db786389b38b', class: "col-12" }, h("form-control-textarea", { key: '349a8a2ebda338e170c90266801ae93b6f9482ea', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: '01cd368a2278c5de462f0998a50ba4ca5889be26', class: "col-12" }, h("form-control-file-v2", { key: 'f95d0b78704f9a1fd154003edbbffb062659ae27', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
107
105
  }
108
106
  };
109
107
 
@@ -115,14 +113,12 @@ const CancellationPolicySchema = create$3({
115
113
  const CancellationPolicy = class {
116
114
  constructor(hostRef) {
117
115
  registerInstance(this, hostRef);
118
- this.inputHandler = (name, value) => {
119
- this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
120
- };
121
- this.disputeResponse = undefined;
122
116
  this.documentErrors = {};
123
- this.form = undefined;
124
117
  this.errors = {};
125
118
  this.documents = { cancellation_policy: [] };
119
+ this.inputHandler = (name, value) => {
120
+ this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
121
+ };
126
122
  }
127
123
  async validateAndSubmit(onSuccess) {
128
124
  const documentList = Object.values(this.documents).flat();
@@ -139,7 +135,7 @@ const CancellationPolicy = class {
139
135
  }
140
136
  render() {
141
137
  var _a, _b, _c;
142
- return (h("div", { key: '7b4cf555fd1fbfcc99aea27f60a507daa36f6ee6' }, h("div", { key: '0751a543b921a2fa8bb25e68e71c1cba6cc5229f', class: "row gy-3" }, h("div", { key: '9e4043494f5804e92af66b0f4595137f741e9556', class: "col-12" }, h("h2", { key: 'a078ec09adb7197ac0e5260ca220d868e746773c', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '814cacdfbc107e848dcf42bacb744f8b7819c248', class: "col-12" }, h("form-control-textarea", { key: 'aa867ea4cfc3d7c436e481a829a1ec779f3281d8', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: 'b8a6851094599ed3683f3c14f18305ff0a8ed557', class: "col-12" }, h("form-control-textarea", { key: '8292b5808ad9af2f36a4306cf0bd67b9183cc144', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: 'ee80c2f43bc56563221fcd892130c2ff6e492dcd', class: "col-12" }, h("form-control-file-v2", { key: '4ddc23ba32d324552c16fd20aff18e117cb22831', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
138
+ return (h("div", { key: '6dc5100426e8e4124d19a375250f85f8e15b28d4' }, h("div", { key: 'fb950108be5fd4096a7717c88943938261787f99', class: "row gy-3" }, h("div", { key: '08f85a06288e19939a16d3fa52ef3b3199c56f36', class: "col-12" }, h("h2", { key: 'a585b93921814b1ffbb95c6f9c1de37d4104049b', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '3b7c620518006738d2e36863b62a72142f167733', class: "col-12" }, h("form-control-textarea", { key: '70a76160b0d29648a9e0598dd5b867a382935e03', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: 'e06d4c794bad47e366ca702e764307fdab5e33a8', class: "col-12" }, h("form-control-textarea", { key: '1b783920c5a5b94bff60d4b061cc7cc6666cc184', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: '3cb3371c1d3727e55140ea60a0cff96bc0f42702', class: "col-12" }, h("form-control-file-v2", { key: '738a456bf4653240180963fa7e5ab20a7a4add7c', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
143
139
  }
144
140
  };
145
141
 
@@ -152,14 +148,12 @@ const CustomerDetailsSchema = create$3({
152
148
  const CustomerDetails = class {
153
149
  constructor(hostRef) {
154
150
  registerInstance(this, hostRef);
155
- this.inputHandler = (name, value) => {
156
- this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
157
- };
158
- this.disputeResponse = undefined;
159
151
  this.documentErrors = {};
160
- this.form = undefined;
161
152
  this.errors = {};
162
153
  this.documents = { customer_signature: [], customer_communication: [] };
154
+ this.inputHandler = (name, value) => {
155
+ this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
156
+ };
163
157
  }
164
158
  async validateAndSubmit(onSuccess) {
165
159
  const documentList = Object.values(this.documents).flat();
@@ -176,7 +170,7 @@ const CustomerDetails = class {
176
170
  }
177
171
  render() {
178
172
  var _a, _b, _c, _d, _e;
179
- return (h("div", { key: 'b7f6a56dd2c1ed9c489c9af51be7cc51645c798d' }, h("div", { key: 'a3c9a1fb87739dfb1c02ec651663ed27b75a3b39', class: "row gy-3" }, h("div", { key: 'b0a978ee641386f8bddf52787b39371a5279be68', class: "col-12" }, h("h2", { key: '51d722637868f1b380d7065edcc7ee8421eeeacc', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '5b4843b8391cf38b3322d9a4995d02cd81af95e2', class: "col-12" }, h("form-control-text", { key: '5c8725f1893aad3007552a72f928143b3a2cac57', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: '20529807f6b93411a2dbcf6cf0894b084d2e854f', class: "col-12" }, h("form-control-text", { key: '22c89513e4744a745f91602a8311c64c9a7840ad', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '728c483456c7fd97d54368b9d0bf0a046ee1e169', class: "col-12" }, h("form-control-textarea", { key: '128222a80fd9e716dc20de70d3bf33b42fc147ab', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: 'e55c1e358c4fe57f118d13b07b6109a1d97d6c8b', class: "col-12" }, h("form-control-file-v2", { key: '00a057cfb9b9813004634dda61e047d5ac14e623', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: '3389590c63a5d3044e2470d7243e67ef57697682', class: "col-12" }, h("form-control-file-v2", { key: '3eea18b33b3203e599bbf0ac94c687b2ecb321fa', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
173
+ return (h("div", { key: '70e29d650d5304522f927c15b4eb5e62e203c5e0' }, h("div", { key: 'f50422b29cb2a4f3bca911ced94dc681adb3fc41', class: "row gy-3" }, h("div", { key: 'f29816d9281ea4c4db5018d3b7edb1600569357a', class: "col-12" }, h("h2", { key: 'a2889c95c293bf0bbf97c16e4486e307ca87729c', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '9cd45719434a1740f67b73c13fd08e0fe562168e', class: "col-12" }, h("form-control-text", { key: '5a30a3aef7fbe2d3013c46e43a437724dae41213', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: '9812e1f9f6df949b9f15b2c3f28857db7dcf5cb7', class: "col-12" }, h("form-control-text", { key: '10b146053a399039e8dbd42c3cab53b4b55c0ec3', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '2742a0922a223bd60d6e3d08a55190742ecf5112', class: "col-12" }, h("form-control-textarea", { key: '41491e238c75716520d747cbf9f1bcc329a2d686', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: '71074f31e565c24107b91b04d9aa16da77ba618c', class: "col-12" }, h("form-control-file-v2", { key: '17f70cf96927b01e65430e13c2d21209e9170603', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: 'ec696695191e68c7ceb0cc41f99f9e53f2d59da1', class: "col-12" }, h("form-control-file-v2", { key: '562ff8b3819f536d491f2e2e55a85a55fcda0e1c', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
180
174
  }
181
175
  };
182
176
 
@@ -188,14 +182,12 @@ const DuplicateChargeSchema = create$3({
188
182
  const DuplicateCharge = class {
189
183
  constructor(hostRef) {
190
184
  registerInstance(this, hostRef);
191
- this.inputHandler = (name, value) => {
192
- this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
193
- };
194
- this.disputeResponse = undefined;
195
185
  this.documentErrors = {};
196
- this.form = undefined;
197
186
  this.errors = {};
198
187
  this.documents = { duplicate_charge_documentation: [] };
188
+ this.inputHandler = (name, value) => {
189
+ this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
190
+ };
199
191
  }
200
192
  async validateAndSubmit(onSuccess) {
201
193
  const documentList = Object.values(this.documents).flat();
@@ -212,7 +204,7 @@ const DuplicateCharge = class {
212
204
  }
213
205
  render() {
214
206
  var _a, _b, _c;
215
- return (h("div", { key: 'eb4f8764416b3f82bb2ca4052816c55abf7a10e0' }, h("div", { key: '6e7c5c9e25cc508d253fb4506588670d5edb6d3a', class: "row gy-3" }, h("div", { key: '76afe1f271b1aeb530f8bfbadfa16b39833abff0', class: "col-12" }, h("h2", { key: '5e311a49194c20250ec12cf1872f46af1219627d', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '6e3a0d4e88f8464f1bdefb580626fd5d37af6c76', class: "col-12" }, h("form-control-text", { key: 'd5fd0e4706df1f246395ef0e1825b9c25456e713', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: '01a17763a76e14e05ae84cbadd12f1eb7b8da4dc', class: "col-12" }, h("form-control-textarea", { key: '9dde7a1922f55d31b983626f1279a222c6dface6', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: '736b812a5178f6340e981c98920849a39778b788', class: "col-12" }, h("form-control-file-v2", { key: '8df332685d9b4b23f48fae76b2d46c93e5ca3d40', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
207
+ return (h("div", { key: '0b0d73b396b32f29fa389d3981d48c3f30f96fd7' }, h("div", { key: '2fd16a4cf964c863a59789a2be60d94b27a95de8', class: "row gy-3" }, h("div", { key: '48c15f7db3285caa9164d815615b82a84283fbfe', class: "col-12" }, h("h2", { key: '397b3026311bf57588b172146fc9822f99ede63e', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: 'c825b6efd428bee298b9b0ddf2265378cf999de9', class: "col-12" }, h("form-control-text", { key: 'b43283087a10826bf8e582a1e863ed4982b5c000', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: '66d5cefa16c341f5c523eaa46de5c11f5b16e619', class: "col-12" }, h("form-control-textarea", { key: 'f83573136fc2ce108f186f9434f46a3f157bd102', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: 'cc47dc1d9dbac962d27494b5ff3fef572c98c7b4', class: "col-12" }, h("form-control-file-v2", { key: '3cf06b6d61edd6ac96d02b12639d040f698b2526', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
216
208
  }
217
209
  };
218
210
 
@@ -223,14 +215,12 @@ const ElectronicEvidenceSchema = create$3({
223
215
  const ElectronicEvidence = class {
224
216
  constructor(hostRef) {
225
217
  registerInstance(this, hostRef);
226
- this.inputHandler = (name, value) => {
227
- this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
228
- };
229
- this.disputeResponse = undefined;
230
218
  this.documentErrors = {};
231
- this.form = undefined;
232
219
  this.errors = {};
233
220
  this.documents = { activity_log: [] };
221
+ this.inputHandler = (name, value) => {
222
+ this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
223
+ };
234
224
  }
235
225
  async validateAndSubmit(onSuccess) {
236
226
  const documentList = Object.values(this.documents).flat();
@@ -247,7 +237,7 @@ const ElectronicEvidence = class {
247
237
  }
248
238
  render() {
249
239
  var _a, _b;
250
- return (h("div", { key: 'e6ddcb39f751386da5613108a8dde54a6f299a54' }, h("div", { key: '085db2253e1330617bd26326faa3fcf19c84b890', class: "row gy-3" }, h("div", { key: '5d0652116e282ed5e9cae11e1330f261652e9de4', class: "col-12" }, h("h2", { key: '5606230417d4cdb4218f6fb7af319712add4ecc7', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: 'ed8db92b69aca3c4661d1e84e07ecbbeb5b33b87', class: "col-12" }, h("form-control-text", { key: 'c7b4edb8172f30cd559544d1cb925861ae8fdcb2', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: '077c0d5c6b5a7fd6fba2add6b6d4bfe50d3ae7d6', class: "col-12" }, h("form-control-file-v2", { key: 'ea44784a843b2d35b53caf0412a07056d68c11c3', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
240
+ return (h("div", { key: '1a4a1d78529c48b8f32029a3efa05b4430c6d271' }, h("div", { key: '593d167f4e6b610ac3cdb8a04b4eee30a1cb4f91', class: "row gy-3" }, h("div", { key: '39440c3a2802b823c85f251c4393ba76bad287c0', class: "col-12" }, h("h2", { key: 'f5ec8cce1bbadb772ac6dbe668cf54187d2690d7', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: 'b9020a773c45a8f59a31ffef44b32253fdb4a551', class: "col-12" }, h("form-control-text", { key: '56122eafb7f138f4472a5818cddd32cb0e17fc7e', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: '0737f585271838dd60ab9ee1e6ac83d0c6362b96', class: "col-12" }, h("form-control-file-v2", { key: '63590d574ee151cbf82638002dfe513cea471035', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
251
241
  }
252
242
  };
253
243
 
@@ -259,14 +249,12 @@ const ProductOrServiceSchema = create$3({
259
249
  const ProductOrService = class {
260
250
  constructor(hostRef) {
261
251
  registerInstance(this, hostRef);
262
- this.inputHandler = (name, value) => {
263
- this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
264
- };
265
- this.disputeResponse = undefined;
266
252
  this.documentErrors = {};
267
- this.form = undefined;
268
253
  this.errors = {};
269
254
  this.documents = { service_documentation: [] };
255
+ this.inputHandler = (name, value) => {
256
+ this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
257
+ };
270
258
  }
271
259
  async validateAndSubmit(onSuccess) {
272
260
  const documentList = Object.values(this.documents).flat();
@@ -283,7 +271,7 @@ const ProductOrService = class {
283
271
  }
284
272
  render() {
285
273
  var _a, _b, _c;
286
- return (h("div", { key: '8d3c718760c63f8ff57e02979bc16220a1fe1bef' }, h("div", { key: '9e01588d0a7ecdf25649e06eeb488eceec28f369', class: "row gy-3" }, h("div", { key: 'a596d8b3cb35c20b6131cafaf58ce4b7d8112f47', class: "col-12" }, h("h2", { key: 'f85ef842a4134424368eddd1fb937b603f24cd93', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '2248cf9d4604d9ad01257849662fbe003b06b008', class: "col-12" }, h("form-control-text", { key: '15a7ea5b0bc3544ca9cc261690a8fbc41d3acf14', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '55dd1964d4674196a13a319620c9333410899ede', class: "col-12" }, h("form-control-date", { key: '528b504c7a73d0ff9e43d92c0cc2ca75bef3f700', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '2551b98489d545825da7418957267128e5629419', class: "col-12" }, h("form-control-file-v2", { key: '93acee274f248630fba1d9a1b130bfa7404b075b', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
274
+ return (h("div", { key: '0e2648d399af18f7959bed2e0fff56fd63b541df' }, h("div", { key: '4322c227617147721ab7cf33a5e75a09bc370a0c', class: "row gy-3" }, h("div", { key: 'e2bc9f0642356a864e7fa323262ead13d4825fdc', class: "col-12" }, h("h2", { key: '88af660c9add83da7edc7758d4645db796c80fdf', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: 'dcfb0f64e1b611eb8d53f97950d5922f7358a64c', class: "col-12" }, h("form-control-text", { key: '42959d4b7c03d14fdef29a656a5f18d0d89d3b2e', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '1f4173e79f10a6ac32b860ecbd62fe5c612cc5b2', class: "col-12" }, h("form-control-date", { key: '6e8bab228b3a23655cbf71fe6dc72a850b38947c', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '2e32f65cc5388302d067fb1a8db34e3e529435c2', class: "col-12" }, h("form-control-file-v2", { key: 'f9fb2ac0c6a2f37a7584eeda2460702b1e0d6cc0', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
287
275
  }
288
276
  };
289
277
 
@@ -295,14 +283,12 @@ const RefundPolicySchema = create$3({
295
283
  const RefundPolicy = class {
296
284
  constructor(hostRef) {
297
285
  registerInstance(this, hostRef);
298
- this.inputHandler = (name, value) => {
299
- this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
300
- };
301
- this.disputeResponse = undefined;
302
286
  this.documentErrors = {};
303
- this.form = undefined;
304
287
  this.errors = {};
305
288
  this.documents = { refund_policy: [], receipt: [] };
289
+ this.inputHandler = (name, value) => {
290
+ this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
291
+ };
306
292
  }
307
293
  async validateAndSubmit(onSuccess) {
308
294
  const documentList = Object.values(this.documents).flat();
@@ -319,7 +305,7 @@ const RefundPolicy = class {
319
305
  }
320
306
  render() {
321
307
  var _a, _b, _c, _d;
322
- return (h("div", { key: '5090f71dfc35c4ecf7a49d566b42d5ed926d7188' }, h("div", { key: 'd7533084b67a246236698cbc08c129104611db39', class: "row gy-3" }, h("div", { key: 'aa88ebc88a55fc241f65e20b9bf1ec26b90100f2', class: "col-12" }, h("h2", { key: '5216145cce452bedaa470f0dbb12f416e02bd065', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '95617388997edf7c450ae4907b4637e387a4f856', class: "col-12" }, h("form-control-textarea", { key: '1f7617d2d2ad73a5146a26a93e624fd235a86d4b', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: 'dea5e70fac18452bec1db04cb2a647e12b1c20ed', class: "col-12" }, h("form-control-textarea", { key: '21189989b1acc035b65aa7cdf97f8c2b7f8f6ec5', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: 'af9fe5c50b4a3b08bd61ba125f8dea9384b40ed1', class: "col-12" }, h("form-control-file-v2", { key: 'ca725cb13d208ab585b58e792e4172153be6d2ae', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: 'b81ce0ce44cb79e04d10ab7ccd3da8d4e3172b47', class: "col-12" }, h("form-control-file-v2", { key: 'f990cd794f8ed0f1912644fd727e77fc3ca61957', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
308
+ return (h("div", { key: '882eb01880bcfdde30abe10465fecd7390654ed6' }, h("div", { key: 'de2f238310e4b80976888d147e90047688ad5ada', class: "row gy-3" }, h("div", { key: '305af62aa762ae6abff0678998132e8f56707550', class: "col-12" }, h("h2", { key: '6e224996b82639c426d129bfd28633f3d3839f6f', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: 'b2b8d444c594bf92d04fed6640230745c5fb49ba', class: "col-12" }, h("form-control-textarea", { key: 'f75c6c360c485ac5253164be5d4941d859deb902', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: '1788d1e6ba1ddbe82795ce1a41b901a81c055f6d', class: "col-12" }, h("form-control-textarea", { key: 'f47fac9b8e0d6b9766311b13c760129bb6335ddd', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: 'd96552fee8b4cdddf31148b2d3783a4e1dfb031b', class: "col-12" }, h("form-control-file-v2", { key: '3c6c06201ef3a730aed41ab6b8cb62d5ee8d8128', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: 'ec2271dd9646596df3106f56c6e96f618196046a', class: "col-12" }, h("form-control-file-v2", { key: '48f956f2580187fc7baecc5426d5ed0a1050150b', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
323
309
  }
324
310
  };
325
311
 
@@ -333,15 +319,13 @@ const ShippingDetailsSchema = create$3({
333
319
  const ShippingDetails = class {
334
320
  constructor(hostRef) {
335
321
  registerInstance(this, hostRef);
336
- this.inputHandler = (name, value) => {
337
- this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
338
- };
339
- this.disputeResponse = undefined;
340
322
  this.documentErrors = {};
341
- this.form = undefined;
342
323
  this.errors = {};
343
324
  this.documents = { shipping_documentation: [] };
344
325
  this.documentList = [];
326
+ this.inputHandler = (name, value) => {
327
+ this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
328
+ };
345
329
  }
346
330
  async validateAndSubmit(onSuccess) {
347
331
  const documentList = Object.values(this.documents).flat();
@@ -358,7 +342,7 @@ const ShippingDetails = class {
358
342
  }
359
343
  render() {
360
344
  var _a, _b, _c, _d, _e;
361
- return (h("div", { key: 'beacff494e22ff1601a3e64d77436be84b314c7c' }, h("div", { key: 'a095d517c3df9961c773f745961da2bbefc82b0c', class: "row gy-3" }, h("div", { key: '4cb4467983bea92caabc945ecda46caff69e84c8', class: "col-12" }, h("h2", { key: 'b55e940dd7276b8ddf3e67e2e1c611b26c353d15', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '3f1358ffc89880c669a2b72f382baf8898fe785d', class: "col-12" }, h("form-control-text", { key: '8557d28a5b80e7a0acac01691211ac824122f5c0', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '68e3c12692ff193c98446b3952a3e10432d1737a', class: "col-12" }, h("form-control-text", { key: '05813d683d66aae6758480786ebbf9e3cb5c2a19', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '26c57ad3b9a7812eadf135d1c03d6a52b0208c5d', class: "col-12" }, h("form-control-date", { key: '3dd3a3c458ef8aa72572aac96bd1ada68faacf88', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '598a58691b626c53fd31fe4558d5aa4539471f52', class: "col-12" }, h("form-control-textarea", { key: '18c24b65e26e4bdd3a2306d62bc6337c8eb76bc5', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '643b8bdea3bf3588217b0faad353a487f5f4e53f', class: "col-12" }, h("form-control-file-v2", { key: '3dcb020413c5c85b0b9fc726ba7e674eb42d7926', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
345
+ return (h("div", { key: '90641cea619de697d7a90e6e397790f79ceb9376' }, h("div", { key: '52d939e26bd26e99240d100897a530b89553e727', class: "row gy-3" }, h("div", { key: '01755fbca3430bd3066377e9481038370c49b2d8', class: "col-12" }, h("h2", { key: 'd273fbe6ff8b7815ba5c2369748a3a20548b0a4d', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '595f4e63dff85591713a4c895acb6628c8ef8214', class: "col-12" }, h("form-control-text", { key: '958169d07544237a72facdc016d4d12ac64a4c48', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '1d3020a30f95c5ced652871a635aba0152bbc4e3', class: "col-12" }, h("form-control-text", { key: '088af20353ec2efcb65a4e597a1fb4aec23cfcbb', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '536ee74c42d326d7f7f698274c846bfebf0d34dd', class: "col-12" }, h("form-control-date", { key: '71ef44bd4c810a567162b7fe92199eceff9be470', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '8887e0daf44be31486563e85cd989eef1da5f5ce', class: "col-12" }, h("form-control-textarea", { key: 'c34093bc4ee65f4fb092c377a98e01cd69bdbc7c', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '469a5d8c7e28fa2ad430f104f08f387448f70048', class: "col-12" }, h("form-control-file-v2", { key: 'a2b6c6c0c1cf32430582b97efe6bcc1d4c47147d', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
362
346
  }
363
347
  };
364
348
 
@@ -1,25 +1,23 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-29fcfdf5.js';
2
- import { E as ErrorState } from './utils-96d9c205.js';
3
- import { B as BusinessService } from './business.service-999196a4.js';
4
- import { m as makeGetBusiness } from './get-business-b7511690.js';
5
- import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError-c61dce41.js';
6
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-47fc35a7.js';
7
- import './parts-fd740f54.js';
8
- import './Api-52242eb0.js';
9
- import './Business-0855931c.js';
10
- import './helpers-96ea3464.js';
11
- import './state-options-a356fb11.js';
12
- import './utils-fd99b806.js';
13
- import './package-c8466624.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-D4-FKsCU.js';
2
+ import { E as ErrorState } from './utils-1z8cNzLu.js';
3
+ import { B as BusinessService } from './business.service-B136meVo.js';
4
+ import { m as makeGetBusiness } from './get-business-B3c5gg1D.js';
5
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-SdntD1xf.js';
6
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-iIBw3nCc.js';
7
+ import './parts-6ctk_bhj.js';
8
+ import './Api-C9CDE-UM.js';
9
+ import './utils-BWcTxbSg.js';
10
+ import './_commonjsHelpers-BFTU3MAI.js';
11
+ import './Business-D6XNzizo.js';
12
+ import './helpers-Mu7LQT-w.js';
13
+ import './state-options-BX8GieXu.js';
14
+ import './utils-Dccsn9BY.js';
15
+ import './package-DGWLSvML.js';
14
16
 
15
17
  const BusinessDetails = class {
16
18
  constructor(hostRef) {
17
19
  registerInstance(this, hostRef);
18
- this.errorEvent = createEvent(this, "error-event", 7);
19
- this.businessId = undefined;
20
- this.authToken = undefined;
21
- this.errorMessage = undefined;
22
- this.getBusiness = undefined;
20
+ this.errorEvent = createEvent(this, "error-event");
23
21
  }
24
22
  componentWillLoad() {
25
23
  checkPkgVersion();
@@ -1,29 +1,30 @@
1
- import { h, r as registerInstance, c as createEvent } from './index-29fcfdf5.js';
2
- import { c as create$3, F as FormController } from './index.esm-feedf26f.js';
3
- import { b as businessCoreInfoSchema, a as additionalQuestionsSchema } from './business-additional-questions-schema-56308a54.js';
4
- import { a as addressSchema, i as identitySchema } from './business-identity-schema-24fcc4ef.js';
5
- import { A as Api } from './Api-52242eb0.js';
6
- import './ComponentError-c61dce41.js';
7
- import './Checkout-18d8bf94.js';
8
- import './Pagination-afc8f96d.js';
9
- import './Payment-806af354.js';
10
- import './SubAccount-7520271c.js';
11
- import './Document-1907c0d4.js';
12
- import { B as Business, a as BusinessFormServerErrors } from './Business-0855931c.js';
13
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-47fc35a7.js';
14
- import { B as Button } from './button-fcee4da7.js';
15
- import { S as StyledHost } from './styled-host-32228b45.js';
16
- import { H as Header1 } from './header-1-215a146f.js';
17
- import { S as Skeleton } from './skeleton-ab3f676e.js';
18
- import { B as BusinessFormClickActions } from './event-types-5c87de02.js';
19
- import './schema-validations-5af4266a.js';
20
- import './state-options-a356fb11.js';
21
- import './business-form-options-86a13078.js';
22
- import './utils-ec50661e.js';
23
- import './Dispute-5fd28ec9.js';
24
- import './helpers-96ea3464.js';
25
- import './package-c8466624.js';
26
- import './parts-fd740f54.js';
1
+ import { h, r as registerInstance, c as createEvent } from './index-D4-FKsCU.js';
2
+ import { c as create$3, F as FormController } from './index.esm-BCNUj0Dx.js';
3
+ import { b as businessCoreInfoSchema, a as additionalQuestionsSchema } from './business-additional-questions-schema-W6okG5Xu.js';
4
+ import { i as identitySchema, a as addressSchema } from './business-identity-schema-lqdJS3MT.js';
5
+ import { A as Api } from './Api-C9CDE-UM.js';
6
+ import './ComponentError-SdntD1xf.js';
7
+ import './Checkout-Dfpql997.js';
8
+ import './Pagination-CLHwhyvu.js';
9
+ import './Payment-BADkZFaz.js';
10
+ import './Refund-DOvd7RJp.js';
11
+ import './Document-Ct-uNz2r.js';
12
+ import { B as Business, b as BusinessFormServerErrors } from './Business-D6XNzizo.js';
13
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-iIBw3nCc.js';
14
+ import { B as Button } from './button-wgHJf7hN.js';
15
+ import { S as StyledHost } from './styled-host-D594Ui4d.js';
16
+ import { H as Header1 } from './header-1-DNg4xuR6.js';
17
+ import { S as Skeleton } from './skeleton-D8dsThNX.js';
18
+ import { B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
19
+ import './_commonjsHelpers-BFTU3MAI.js';
20
+ import './schema-validations-BsbYeDDR.js';
21
+ import './state-options-BX8GieXu.js';
22
+ import './business-form-options-Bn05PRR4.js';
23
+ import './utils-BWcTxbSg.js';
24
+ import './Dispute-7MWRbTXI.js';
25
+ import './helpers-Mu7LQT-w.js';
26
+ import './package-DGWLSvML.js';
27
+ import './parts-6ctk_bhj.js';
27
28
 
28
29
  const businessFormSchema = create$3(Object.assign(Object.assign({}, businessCoreInfoSchema().fields), { legal_address: addressSchema(), additional_questions: additionalQuestionsSchema(), representative: identitySchema('representative') }));
29
30
 
@@ -50,8 +51,13 @@ const BusinessFormLoading = () => {
50
51
  const BusinessForm = class {
51
52
  constructor(hostRef) {
52
53
  registerInstance(this, hostRef);
53
- this.submitEvent = createEvent(this, "submit-event", 7);
54
- this.clickEvent = createEvent(this, "click-event", 7);
54
+ this.submitEvent = createEvent(this, "submit-event");
55
+ this.clickEvent = createEvent(this, "click-event");
56
+ this.hideErrors = false;
57
+ this.formTitle = 'Business Information';
58
+ this.removeTitle = false;
59
+ this.isLoading = false;
60
+ this.isSaving = false;
55
61
  this.instantiateBusiness = (data) => {
56
62
  const business = new Business(data);
57
63
  this.formController.setInitialValues(Object.assign({}, business));
@@ -89,14 +95,6 @@ const BusinessForm = class {
89
95
  event.preventDefault();
90
96
  this.formController.validateAndSubmit(this.sendData);
91
97
  };
92
- this.authToken = undefined;
93
- this.businessId = undefined;
94
- this.hideErrors = false;
95
- this.formTitle = 'Business Information';
96
- this.removeTitle = false;
97
- this.isLoading = false;
98
- this.isSaving = false;
99
- this.errorMessage = undefined;
100
98
  }
101
99
  componentWillLoad() {
102
100
  checkPkgVersion();
@@ -1,9 +1,9 @@
1
- import { r as registerInstance, h } from './index-29fcfdf5.js';
2
- import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers-270ac806.js';
3
- import { P as PHONE_MASKS, S as SSN_MASK } from './form-input-masks-0e18300f.js';
4
- import { h as heading2 } from './parts-fd740f54.js';
5
- import './helpers-96ea3464.js';
6
- import './state-options-a356fb11.js';
1
+ import { r as registerInstance, h } from './index-D4-FKsCU.js';
2
+ import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers-CX6mSvOM.js';
3
+ import { P as PHONE_MASKS, S as SSN_MASK } from './form-input-masks-B-iV5cYd.js';
4
+ import { H as heading2 } from './parts-6ctk_bhj.js';
5
+ import './helpers-Mu7LQT-w.js';
6
+ import './state-options-BX8GieXu.js';
7
7
 
8
8
  const RepresentativeFormInputs = class {
9
9
  constructor(hostRef) {
@@ -14,9 +14,6 @@ const RepresentativeFormInputs = class {
14
14
  this.onAddressFormUpdate = (values) => {
15
15
  updateAddressFormValues(this.formController, Object.assign(Object.assign({}, this.formController.values.getValue().address), values));
16
16
  };
17
- this.representativeDefaultValue = undefined;
18
- this.errors = undefined;
19
- this.formController = undefined;
20
17
  }
21
18
  render() {
22
19
  var _a, _b, _c, _d, _e, _f, _g;
@@ -1,21 +1,26 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
2
- import { f as formatCurrency } from './utils-ec50661e.js';
3
- import { C as Checkout } from './Checkout-18d8bf94.js';
4
- import { a as ComponentErrorSeverity } from './ComponentError-c61dce41.js';
5
- import { i as insuranceValuesOn, v as validateInsuranceValues, H as Header2, a as insuranceValues } from './insurance-state-d2df8e88.js';
6
- import { B as Button } from './button-fcee4da7.js';
7
- import { S as StyledHost } from './styled-host-32228b45.js';
8
- import { t as text, a0 as checkoutSummary } from './parts-fd740f54.js';
9
- import { S as Skeleton } from './skeleton-ab3f676e.js';
10
- import { H as Header3 } from './header-3-afd16f23.js';
11
- import './index-a47fdc7f.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-D4-FKsCU.js';
2
+ import { f as formatCurrency } from './utils-BWcTxbSg.js';
3
+ import { C as Checkout } from './Checkout-Dfpql997.js';
4
+ import { C as ComponentErrorSeverity } from './ComponentError-SdntD1xf.js';
5
+ import { v as validateInsuranceValues, i as insuranceValuesOn, a as insuranceValues, H as Header2 } from './insurance-state-CXUWRQQk.js';
6
+ import { B as Button } from './button-wgHJf7hN.js';
7
+ import { S as StyledHost } from './styled-host-D594Ui4d.js';
8
+ import { E as text, V as checkoutSummary } from './parts-6ctk_bhj.js';
9
+ import { S as Skeleton } from './skeleton-D8dsThNX.js';
10
+ import { H as Header3 } from './header-3-BD_mh7vB.js';
11
+ import './_commonjsHelpers-BFTU3MAI.js';
12
+ import './index-4sfb1rKO.js';
12
13
 
13
14
  const CheckoutCore = class {
14
15
  constructor(hostRef) {
15
16
  registerInstance(this, hostRef);
16
- this.submitEvent = createEvent(this, "submit-event", 7);
17
- this.errorEvent = createEvent(this, "error-event", 7);
18
- this.loaded = createEvent(this, "loaded", 7);
17
+ this.submitEvent = createEvent(this, "submit-event");
18
+ this.errorEvent = createEvent(this, "error-event");
19
+ this.loaded = createEvent(this, "loaded");
20
+ this.hasLoadedFonts = false;
21
+ this.renderState = 'loading';
22
+ this.creatingNewPaymentMethod = false;
23
+ this.insuranceToggled = false;
19
24
  this.completeCheckout = async (payment) => {
20
25
  this.complete({
21
26
  payment,
@@ -36,26 +41,20 @@ const CheckoutCore = class {
36
41
  });
37
42
  this.renderState = 'error';
38
43
  };
39
- this.authToken = undefined;
40
- this.getCheckout = undefined;
41
- this.complete = undefined;
42
- this.checkoutId = undefined;
43
- this.iframeOrigin = undefined;
44
- this.disableCreditCard = undefined;
45
- this.disableBankAccount = undefined;
46
- this.disableBnpl = undefined;
47
- this.disablePaymentMethodGroup = undefined;
48
- this.hideCardBillingForm = undefined;
49
- this.hasLoadedFonts = false;
50
- this.checkout = undefined;
51
- this.serverError = undefined;
52
- this.renderState = 'loading';
53
- this.creatingNewPaymentMethod = false;
54
- this.insuranceToggled = false;
55
44
  }
56
45
  async fillBillingForm(fields) {
57
46
  this.paymentMethodOptionsRef.fillBillingForm(fields);
58
47
  }
48
+ async validate() {
49
+ const insuranceValidation = validateInsuranceValues();
50
+ const { isValid } = await this.paymentMethodOptionsRef.validate();
51
+ if (!insuranceValidation.isValid || !isValid) {
52
+ return { isValid: false };
53
+ }
54
+ else {
55
+ return { isValid: true };
56
+ }
57
+ }
59
58
  componentWillLoad() {
60
59
  if (this.getCheckout) {
61
60
  this.fetchData();
@@ -126,14 +125,14 @@ const CheckoutCore = class {
126
125
  }
127
126
  get paymentType() {
128
127
  var _a, _b, _c, _d, _e;
129
- return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "300px" })), h("div", { class: this.isLoading && 'visually-hidden' }, 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, 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, iframeOrigin: this.iframeOrigin }))));
128
+ return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "300px" })), h("div", { class: this.isLoading && 'visually-hidden' }, 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, iframeOrigin: this.iframeOrigin }))));
130
129
  }
131
130
  get summary() {
132
131
  var _a, _b;
133
132
  return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "24px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("div", { part: text }, (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_description), h("div", null, h("span", { part: text }, "Total"), "\u00A0", h("span", { part: text }, formatCurrency(+((_b = this.checkout) === null || _b === void 0 ? void 0 : _b.total_amount)))))));
134
133
  }
135
134
  render() {
136
- return (h(StyledHost, { key: '5a3131312064d08358320f15562cd3130f125c4c' }, h("div", { key: 'a048e80b026c9cebbed53fac3acffb3db49599c2', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '2c99697464195f90d96cc58ad68d2fd6147b80b1', class: "col-12", part: checkoutSummary }, h(Header2, { key: '1b49acf33c004c11554825f5cb1341a3224c452c', text: "Summary", class: "fs-5 fw-bold pb-3" }), this.summary), h("div", { key: 'f7513e8c9cb88f77cddae02c299e66435863ba72', class: "col-12" }, h("slot", { key: '0ae73bf9497ac5d458a816ede988f6176cdbc30f', name: "insurance" })), h("div", { key: '4395884ff39c9e2919af1cc8328a66aa409f5389', class: "col-12 mt-4" }, h(Header2, { key: '26b5631b8c3fc3f8bd2cf8c6b5fb14db49e5e187', text: "Payment", class: "fs-5 fw-bold pb-3" }), h(Header3, { key: 'abb63414930c847d1db7680e81bed30af974344a', text: "Select payment type", class: "fs-6 fw-bold lh-lg" }), h("div", { key: 'fdbbbfa789f092d9f90ad15f755d529d399e2bc4', class: "d-flex flex-column" }, this.paymentType)), h("div", { key: 'a0d8329b680e6a30da5d5a11b51e2e1018068674', class: "col-12" }, h("div", { key: '40f932b56cdd2e68bf2a1e023939d3ce7764eedb', class: "d-flex justify-content-end" }, h(Button, { key: 'c98e7e15f6258a700c3dc96003048f3b5c84e582', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
135
+ return (h(StyledHost, { key: 'f02d0164b3e051bef6898d28efc52c3eb957b0ea' }, h("div", { key: '457c53bd60d22b1c31693f657ba68e37c92e6004', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '80a64216626921e9ea1162aaadcbcd39e646b8f6', class: "col-12", part: checkoutSummary }, h(Header2, { key: '6c26edfa8e55efa4e6dce35bc6a033049d3274a9', text: "Summary", class: "fs-5 fw-bold pb-3" }), this.summary), h("div", { key: '871352bbea880434c1f1206a185116beeb583225', class: "col-12" }, h("slot", { key: '7c1f22eee6502bb3921d6b887408df94a62eda4b', name: "insurance" })), h("div", { key: 'c47495deecf30222832850b904db0187cfe914cd', class: "col-12 mt-4" }, h(Header2, { key: 'f4b8b52bce3f002948918edc9fe319f2e6688673', text: "Payment", class: "fs-5 fw-bold pb-3" }), h(Header3, { key: '3013b9ac43206948e1fd1e2a3c58c8b99e8c71d2', text: "Select payment type", class: "fs-6 fw-bold lh-lg" }), h("div", { key: 'f7820a1754a6885572e44bd58c3cf819a6d5c3cf', class: "d-flex flex-column" }, this.paymentType)), h("div", { key: '54368dbcbf70067aca7f275db6dccf890b46408a', class: "col-12" }, h("div", { key: 'd7fda8916e810961613921eb1d7c5d04c1051fb5', class: "d-flex justify-content-end" }, h(Button, { key: '347e5a5abde014dc3222a7603603d35547c09671', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
137
136
  }
138
137
  };
139
138
 
@@ -1,17 +1,18 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
2
- import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError-c61dce41.js';
3
- import { g as getErrorMessage, a as getErrorCode } from './utils-fd99b806.js';
4
- import { C as CheckoutService } from './checkout.service-e38e477f.js';
5
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-47fc35a7.js';
6
- import './Api-52242eb0.js';
7
- import './Checkout-18d8bf94.js';
8
- import './utils-ec50661e.js';
9
- import './Pagination-afc8f96d.js';
10
- import './Payment-806af354.js';
11
- import './Dispute-5fd28ec9.js';
12
- import './SubAccount-7520271c.js';
13
- import './Document-1907c0d4.js';
14
- import './package-c8466624.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-D4-FKsCU.js';
2
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-SdntD1xf.js';
3
+ import { g as getErrorCode, a as getErrorMessage } from './utils-Dccsn9BY.js';
4
+ import { C as CheckoutService } from './checkout.service-92ld4w-G.js';
5
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-iIBw3nCc.js';
6
+ import './Api-C9CDE-UM.js';
7
+ import './utils-BWcTxbSg.js';
8
+ import './_commonjsHelpers-BFTU3MAI.js';
9
+ import './Checkout-Dfpql997.js';
10
+ import './Pagination-CLHwhyvu.js';
11
+ import './Payment-BADkZFaz.js';
12
+ import './Dispute-7MWRbTXI.js';
13
+ import './Refund-DOvd7RJp.js';
14
+ import './Document-Ct-uNz2r.js';
15
+ import './package-DGWLSvML.js';
15
16
 
16
17
  const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
17
18
  var _a;
@@ -70,18 +71,9 @@ const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ pa
70
71
  const Checkout = class {
71
72
  constructor(hostRef) {
72
73
  registerInstance(this, hostRef);
73
- this.errorEvent = createEvent(this, "error-event", 7);
74
- this.loadedEvent = createEvent(this, "loaded", 7);
75
- this.authToken = undefined;
76
- this.checkoutId = undefined;
77
- this.disableCreditCard = undefined;
78
- this.disableBankAccount = undefined;
79
- this.disableBnpl = undefined;
80
- this.disablePaymentMethodGroup = undefined;
81
- this.hideCardBillingForm = undefined;
74
+ this.errorEvent = createEvent(this, "error-event");
75
+ this.loadedEvent = createEvent(this, "loaded");
82
76
  this.iframeOrigin = "https://components.justifi.ai";
83
- this.getCheckout = undefined;
84
- this.complete = undefined;
85
77
  this.errorMessage = '';
86
78
  }
87
79
  componentWillLoad() {
@@ -119,12 +111,16 @@ const Checkout = class {
119
111
  async fillBillingForm(fields) {
120
112
  this.checkoutCoreRef.fillBillingForm(fields);
121
113
  }
114
+ async validate() {
115
+ const { isValid } = await this.checkoutCoreRef.validate();
116
+ return { isValid };
117
+ }
122
118
  render() {
123
- return (h("justifi-checkout-core", { key: '4c752a401d34aae940f947600aa81961be1d6d8e', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, iframeOrigin: this.iframeOrigin, ref: el => {
119
+ return (h("justifi-checkout-core", { key: '5d7045778d53e02d85627ea6f945d45599e6d090', 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, iframeOrigin: this.iframeOrigin, ref: el => {
124
120
  if (el) {
125
121
  this.checkoutCoreRef = el;
126
122
  }
127
- } }, h("div", { key: 'a67422cd23e1895f192abb352d328ea9874566e8', slot: "insurance" }, h("slot", { key: '937902933052abb1dae89271bc85ddd93b86a904', name: "insurance" }))));
123
+ } }, h("div", { key: '4a5badd7e9f77de58dafb09405cd563014f0e6e2', slot: "insurance" }, h("slot", { key: 'b0067d049fe5ed9bb7b35c8614a28e967872599b', name: "insurance" }))));
128
124
  }
129
125
  static get watchers() { return {
130
126
  "authToken": ["propChanged"],