@justifi/webcomponents 6.1.0-rc.2 → 6.1.0-rc.3

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 (776) hide show
  1. package/dist/cjs/{Api-CwTLkFY4.js → Api-DqzbA2qk.js} +1 -1
  2. package/dist/cjs/{Business-DCRzZf0w.js → Business-DWHy_-z9.js} +299 -9
  3. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  4. package/dist/cjs/{badge-BmOSt4gS.js → badge-BJVdpSU-.js} +1 -1
  5. package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +132 -0
  6. package/dist/cjs/bank-account-form.cjs.entry.js +6 -6
  7. package/dist/cjs/{business-additional-questions-schema-DNbSH3E-.js → business-additional-questions-schema-CetDMUp7.js} +27 -5
  8. package/dist/cjs/business-details-core.cjs.entry.js +4 -4
  9. package/dist/cjs/{business-form-options-CMII7nIK.js → business-form-options-e9UFw4P-.js} +1 -1
  10. package/dist/cjs/business-identity-schema-Cd0tvfJr.js +101 -0
  11. package/dist/cjs/{business.service-Dkhqyggm.js → business.service-Bv9o99Ll.js} +2 -2
  12. package/dist/cjs/{button-7c2RN2yp.js → button-_YJuE8cy.js} +1 -1
  13. package/dist/cjs/card-form.cjs.entry.js +6 -6
  14. package/dist/cjs/{check-pkg-version-DUDlLDCJ.js → check-pkg-version-CadxBsjl.js} +3 -3
  15. package/dist/cjs/{checkout.service-LwZVVgP5.js → checkout.service-dLB93w3Z.js} +2 -2
  16. package/dist/cjs/{checkout.store-C3f3E24L.js → checkout.store-DC4yVxDj.js} +2 -3
  17. package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -12
  18. package/dist/cjs/{terminal-orders-list-params-state-C4c8UZtP.js → checkouts-list-params-state-ARjo40Y9.js} +1 -1
  19. package/dist/cjs/{checkouts-table-BQUhZZd_.js → checkouts-table-C102WCfy.js} +2 -2
  20. package/dist/cjs/{config-state-B_gyIchD.js → config-state-BeZM7X7J.js} +1 -1
  21. package/dist/cjs/country-config-MCOhn8o3.js +68 -0
  22. package/dist/cjs/{custom-popper_2.cjs.entry.js → custom-popper.cjs.entry.js} +3 -23
  23. package/dist/cjs/{dispute.service-927Gzb0N.js → dispute.service-BmAAnNky.js} +2 -2
  24. package/dist/cjs/form-alert_5.cjs.entry.js +25 -15
  25. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  26. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  27. package/dist/cjs/{form-control-error-text-DD0dHGu8.js → form-control-error-text-DJzNQrEz.js} +1 -1
  28. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  29. package/dist/cjs/{form-control-help-text-2QwKi78M.js → form-control-help-text-DII6UDeq.js} +1 -1
  30. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  31. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +6 -6
  32. package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
  33. package/dist/cjs/form-control-number-masked_3.cjs.entry.js +119 -0
  34. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  35. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  36. package/dist/cjs/{form-control-select_2.cjs.entry.js → form-control-select_3.cjs.entry.js} +25 -6
  37. package/dist/cjs/{form-input-masks-DgXd0f4V.js → form-input-masks-BnNFJ3IJ.js} +9 -4
  38. package/dist/cjs/{get-business-o5jPq_ME.js → get-business-D9ZHyPem.js} +1 -1
  39. package/dist/cjs/{get-payment-details-BSxp1HX0.js → get-payment-details-BHPHzSkH.js} +2 -2
  40. package/dist/cjs/{get-subaccounts-B31f95PR.js → get-subaccounts-Bw76aYu0.js} +3 -3
  41. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
  42. package/dist/cjs/{header-1-DMsp0XM7.js → header-1-Da7oKhXY.js} +1 -1
  43. package/dist/cjs/{header-3-BSvFq_IF.js → header-3-uBM_CzcP.js} +1 -1
  44. package/dist/cjs/hidden-input_2.cjs.entry.js +8 -8
  45. package/dist/cjs/{index-Dyzl8Hn6.js → index-CaAefsWD.js} +42 -31
  46. package/dist/cjs/{index-D1Ba20gi.js → index-D-CfIyoF.js} +1 -1
  47. package/dist/cjs/{index.esm-BleZSAc0.js → index.esm-ByC0D4sJ.js} +18 -17
  48. package/dist/cjs/{input-handlers-DYl_0IwC.js → input-handlers-D6QMwPTB.js} +2 -2
  49. package/dist/cjs/{insurance-state-uWOl6jJN.js → insurance-state-KJzYGtVr.js} +2 -2
  50. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +127 -70
  51. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +23 -24
  52. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
  53. package/dist/cjs/justifi-apple-pay.cjs.entry.js +9 -9
  54. package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +25 -26
  55. package/dist/cjs/justifi-business-details.cjs.entry.js +10 -12
  56. package/dist/cjs/justifi-business-form.cjs.entry.js +25 -21
  57. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +15 -7
  58. package/dist/cjs/justifi-checkout-summary_7.cjs.entry.js +18 -20
  59. package/dist/cjs/justifi-checkout.cjs.entry.js +16 -15
  60. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +7 -9
  61. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +13 -15
  62. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  63. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  64. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
  65. package/dist/cjs/justifi-dispute-management.cjs.entry.js +9 -11
  66. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +14 -16
  67. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -10
  68. package/dist/cjs/justifi-order-terminals.cjs.entry.js +13 -15
  69. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +28 -19
  70. package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -12
  71. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +39 -24
  72. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -11
  73. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +12 -14
  74. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +6 -6
  75. package/dist/cjs/justifi-payments-list.cjs.entry.js +13 -15
  76. package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -11
  77. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +12 -14
  78. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +6 -6
  79. package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -16
  80. package/dist/cjs/justifi-refund-payment.cjs.entry.js +13 -15
  81. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +2 -2
  82. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +11 -13
  83. package/dist/cjs/justifi-skeleton.cjs.entry.js +4 -4
  84. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +8 -10
  85. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +11 -13
  86. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +7 -9
  87. package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -15
  88. package/dist/cjs/loader.cjs.js +2 -2
  89. package/dist/cjs/{package-CFCy2fBx.js → package-CVxkAS_m.js} +1 -1
  90. package/dist/cjs/pagination-menu.cjs.entry.js +4 -4
  91. package/dist/cjs/payment-details-core.cjs.entry.js +14 -14
  92. package/dist/cjs/payment-method-option.cjs.entry.js +3 -3
  93. package/dist/cjs/{payment.service-DUq-W7tS.js → payment.service-DODmonNs.js} +2 -2
  94. package/dist/cjs/payments-list-core.cjs.entry.js +11 -13
  95. package/dist/cjs/{payments-list-params-state-C4c8UZtP.js → payments-list-params-state-ARjo40Y9.js} +1 -1
  96. package/dist/cjs/{payments-status-3iIQkoov.js → payments-status-5IzqwLep.js} +2 -2
  97. package/dist/cjs/{payments-table-BSHUQhM-.js → payments-table-BcZ6U6p8.js} +23 -3
  98. package/dist/cjs/payout-details-core.cjs.entry.js +10 -10
  99. package/dist/cjs/{payout.service-DoKMr8Xw.js → payout.service-Do8DxBxe.js} +2 -2
  100. package/dist/cjs/payouts-list-core.cjs.entry.js +11 -13
  101. package/dist/cjs/{payouts-list-params-state-C4c8UZtP.js → payouts-list-params-state-ARjo40Y9.js} +1 -1
  102. package/dist/cjs/{payouts-status-DoQbxIms.js → payouts-status-D38A6UrI.js} +2 -2
  103. package/dist/cjs/{payouts-table-BD_Fhz_j.js → payouts-table-Cn_cCCOY.js} +2 -2
  104. package/dist/cjs/{schema-validations-jek_iZ9W.js → schema-validations-0mjPveQ0.js} +46 -7
  105. package/dist/cjs/{skeleton-CuIMC98G.js → skeleton-DlPP4i_w.js} +1 -1
  106. package/dist/cjs/{spinner-CMZXdrPe.js → spinner-BNWG01hP.js} +1 -1
  107. package/dist/cjs/{styled-host-2KXbjOFw.js → styled-host-DSpt9LtB.js} +1 -1
  108. package/dist/cjs/{table-DlQCUVag.js → table-CAWBqvW5.js} +2 -2
  109. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  110. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +10 -12
  111. package/dist/cjs/{checkouts-list-params-state-C4c8UZtP.js → terminal-orders-list-params-state-ARjo40Y9.js} +1 -1
  112. package/dist/cjs/{terminal-orders-table-t6XxNy_K.js → terminal-orders-table-BUA4LcEc.js} +4 -4
  113. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  114. package/dist/cjs/{terminal.service-Iyje71vN.js → terminal.service-bxQnc1JY.js} +2 -2
  115. package/dist/cjs/terminals-list-core.cjs.entry.js +10 -12
  116. package/dist/cjs/terminals-list-params-state-ARjo40Y9.js +22 -0
  117. package/dist/cjs/{terminals-table-BTdKRiBN.js → terminals-table-C2_M7SWl.js} +2 -2
  118. package/dist/cjs/{utils-FFP5ZHyE.js → utils-C6mfHWv-.js} +1 -1
  119. package/dist/cjs/webcomponents.cjs.js +3 -3
  120. package/dist/collection/api/BankAccount.js +4 -0
  121. package/dist/collection/api/Business.js +16 -1
  122. package/dist/collection/collection-manifest.json +4 -1
  123. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +0 -1
  124. package/dist/collection/components/business-details/business-details-core.js +0 -1
  125. package/dist/collection/components/business-details/business-details.js +4 -4
  126. package/dist/collection/components/business-details/core-info-details/core-info-details.js +0 -1
  127. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +0 -1
  128. package/dist/collection/components/business-details/owner-details/owner-details.js +0 -1
  129. package/dist/collection/components/business-details/representative-details/representative-details.js +0 -1
  130. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -2
  131. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +36 -5
  132. package/dist/collection/components/business-forms/business-form/business-form.js +13 -9
  133. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +43 -7
  134. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +29 -8
  135. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +30 -11
  136. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +39 -17
  137. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +49 -8
  138. package/dist/collection/components/business-forms/owner-form/owner-form.js +38 -14
  139. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +2 -4
  140. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +7 -7
  141. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +3 -5
  142. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +88 -0
  143. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +8 -8
  144. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +50 -0
  145. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +40 -12
  146. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +32 -7
  147. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-documents-on-file.js +2 -2
  148. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +51 -13
  149. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +32 -7
  150. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +32 -9
  151. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +32 -7
  152. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +47 -9
  153. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +35 -8
  154. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +32 -7
  155. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +101 -0
  156. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +15 -16
  157. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +37 -14
  158. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +32 -7
  159. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +46 -29
  160. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +9 -11
  161. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +41 -15
  162. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +7 -7
  163. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +7 -7
  164. package/dist/collection/components/business-forms/payment-provisioning/test/mockBusiness.js +52 -0
  165. package/dist/collection/components/business-forms/schemas/business-address-schema.js +41 -19
  166. package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +74 -39
  167. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +27 -4
  168. package/dist/collection/components/business-forms/schemas/business-form-schema.js +7 -4
  169. package/dist/collection/components/business-forms/schemas/business-identity-schema.js +53 -24
  170. package/dist/collection/components/business-forms/schemas/schema-validations.js +41 -4
  171. package/dist/collection/components/business-forms/utils/country-config.js +47 -0
  172. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  173. package/dist/collection/components/checkout/billing-form/billing-form.js +8 -8
  174. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  175. package/dist/collection/components/checkout/checkout.js +17 -16
  176. package/dist/collection/components/checkout/save-new-payment-method.js +2 -2
  177. package/dist/collection/components/checkout/saved-payment-method.js +3 -4
  178. package/dist/collection/components/checkouts-list/checkouts-list-core.js +3 -5
  179. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +5 -5
  180. package/dist/collection/components/checkouts-list/checkouts-list.js +6 -6
  181. package/dist/collection/components/config-provider/config-provider.js +3 -3
  182. package/dist/collection/components/dispute-management/dispute-management-core.js +5 -6
  183. package/dist/collection/components/dispute-management/dispute-management.js +5 -5
  184. package/dist/collection/components/dispute-management/dispute-notification.js +5 -6
  185. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +4 -4
  186. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +4 -4
  187. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +4 -4
  188. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +2 -5
  189. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +6 -7
  190. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +4 -4
  191. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +4 -4
  192. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +4 -4
  193. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +4 -4
  194. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +4 -4
  195. package/dist/collection/components/filters/table-filters-menu.js +3 -4
  196. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -2
  197. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +4 -4
  198. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +26 -26
  199. package/dist/collection/components/modular-checkout/modular-checkout.js +5 -5
  200. package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +10 -10
  201. package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +3 -3
  202. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  203. package/dist/collection/components/modular-checkout/sub-components/billing-form-full.js +2 -2
  204. package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +3 -3
  205. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  206. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +9 -10
  207. package/dist/collection/components/modular-checkout/sub-components/sezzle-payment-method.js +1 -1
  208. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  209. package/dist/collection/components/order-terminals/order-terminals.js +9 -9
  210. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +10 -10
  211. package/dist/collection/components/payment-details/payment-details-core.js +8 -9
  212. package/dist/collection/components/payment-details/payment-details.js +4 -4
  213. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +6 -6
  214. package/dist/collection/components/payments-list/payments-list-core.js +3 -4
  215. package/dist/collection/components/payments-list/payments-list-filters.js +12 -12
  216. package/dist/collection/components/payments-list/payments-list.js +6 -6
  217. package/dist/collection/components/payments-list/payments-table.js +21 -1
  218. package/dist/collection/components/payout-details/payout-details-core.js +3 -5
  219. package/dist/collection/components/payout-details/payout-details.js +4 -4
  220. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +6 -6
  221. package/dist/collection/components/payouts-list/payouts-list-core.js +3 -6
  222. package/dist/collection/components/payouts-list/payouts-list-filters.js +6 -6
  223. package/dist/collection/components/payouts-list/payouts-list.js +6 -6
  224. package/dist/collection/components/refund-payment/refund-payment.js +7 -7
  225. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +3 -4
  226. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +10 -10
  227. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +6 -6
  228. package/dist/collection/components/terminals-list/terminals-list-core.js +3 -5
  229. package/dist/collection/components/terminals-list/terminals-list-filters.js +7 -7
  230. package/dist/collection/components/terminals-list/terminals-list.js +6 -6
  231. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +20 -20
  232. package/dist/collection/store/checkout.store.js +1 -2
  233. package/dist/collection/ui-components/custom-popper/custom-popper.js +5 -7
  234. package/dist/collection/ui-components/details/details.js +2 -2
  235. package/dist/collection/ui-components/form/form-control-checkbox.js +14 -15
  236. package/dist/collection/ui-components/form/form-control-date.js +17 -18
  237. package/dist/collection/ui-components/form/form-control-file-v2.js +13 -14
  238. package/dist/collection/ui-components/form/form-control-file.js +16 -17
  239. package/dist/collection/ui-components/form/form-control-monetary.js +15 -17
  240. package/dist/collection/ui-components/form/form-control-number-masked.js +16 -17
  241. package/dist/collection/ui-components/form/form-control-number.js +14 -15
  242. package/dist/collection/ui-components/form/form-control-radio.js +16 -17
  243. package/dist/collection/ui-components/form/form-control-select.js +14 -16
  244. package/dist/collection/ui-components/form/form-control-text.js +16 -18
  245. package/dist/collection/ui-components/form/form-control-textarea.js +16 -18
  246. package/dist/collection/ui-components/form/form-helpers/form-alert/form-alert.js +4 -4
  247. package/dist/collection/ui-components/form/form-helpers/form-control-help-text/form-control-help-text.js +4 -4
  248. package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +2 -2
  249. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  250. package/dist/collection/ui-components/form/iframe-input.js +9 -9
  251. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -5
  252. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +13 -14
  253. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +6 -6
  254. package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +10 -10
  255. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +9 -10
  256. package/dist/collection/utils/country-codes.js +5 -0
  257. package/dist/collection/utils/form-input-masks.js +8 -0
  258. package/dist/collection/utils/province-options.js +20 -0
  259. package/dist/docs.json +1118 -141
  260. package/dist/esm/{Api-D4tj-h4P.js → Api-DLf3ihCB.js} +2 -2
  261. package/dist/esm/{Business-BCoP0TAV.js → Business-B5rtFhtR.js} +290 -3
  262. package/dist/esm/{Refund-Bc5By0lb.js → Refund-BeI1WGfx.js} +1 -1
  263. package/dist/esm/additional-questions-details_5.entry.js +4 -4
  264. package/dist/esm/{badge-ChwzCNAF.js → badge-CkfrkCoy.js} +2 -2
  265. package/dist/esm/bank-account-document-form-inputs_6.entry.js +125 -0
  266. package/dist/esm/bank-account-form.entry.js +8 -8
  267. package/dist/esm/{business-additional-questions-schema-C6NRHWEL.js → business-additional-questions-schema-DSvdNuI1.js} +26 -5
  268. package/dist/esm/business-details-core.entry.js +5 -5
  269. package/dist/esm/{business-form-options-CgssATyg.js → business-form-options-D6s5H4RI.js} +2 -2
  270. package/dist/esm/business-identity-schema-mN4VhA1v.js +94 -0
  271. package/dist/esm/{business.service-CsbtEDNi.js → business.service-BIALik8Z.js} +3 -3
  272. package/dist/esm/{button-SAIS_5os.js → button-CuZAKl_x.js} +2 -2
  273. package/dist/esm/card-form.entry.js +8 -8
  274. package/dist/esm/{check-pkg-version-B_Pl1uAE.js → check-pkg-version-Bk5bgulF.js} +4 -4
  275. package/dist/esm/{checkout.service-BCkQ9pOA.js → checkout.service-DZDZBIGQ.js} +3 -3
  276. package/dist/esm/{checkout.store-DBvS7cVB.js → checkout.store-DwJGKabu.js} +2 -3
  277. package/dist/esm/checkouts-list-core.entry.js +13 -15
  278. package/dist/esm/{checkouts-list-params-state-C2_GlMKR.js → checkouts-list-params-state-BY5996_y.js} +1 -1
  279. package/dist/esm/{checkouts-table-CItEo0DU.js → checkouts-table-59DpP7zM.js} +4 -4
  280. package/dist/esm/{config-state-Blo0ywwc.js → config-state-C83RkI9h.js} +1 -1
  281. package/dist/esm/country-config-BQ4D46Lb.js +64 -0
  282. package/dist/esm/{custom-popper_2.entry.js → custom-popper.entry.js} +4 -23
  283. package/dist/esm/{dispute.service-CyLtJREK.js → dispute.service-ByJy64X7.js} +3 -3
  284. package/dist/esm/form-alert_5.entry.js +25 -15
  285. package/dist/esm/form-control-checkbox.entry.js +6 -6
  286. package/dist/esm/form-control-date.entry.js +5 -5
  287. package/dist/esm/{form-control-error-text-IXJJ4JpV.js → form-control-error-text-CjrxZorl.js} +2 -2
  288. package/dist/esm/form-control-file-v2_2.entry.js +6 -6
  289. package/dist/esm/{form-control-help-text-CuhIsM3v.js → form-control-help-text-CMUgRhUf.js} +2 -2
  290. package/dist/esm/form-control-help-text.entry.js +1 -1
  291. package/dist/esm/form-control-monetary-provisioning.entry.js +7 -7
  292. package/dist/esm/form-control-monetary.entry.js +7 -7
  293. package/dist/esm/form-control-number-masked_3.entry.js +115 -0
  294. package/dist/esm/form-control-number.entry.js +6 -6
  295. package/dist/esm/form-control-radio.entry.js +4 -4
  296. package/dist/esm/{form-control-select_2.entry.js → form-control-select_3.entry.js} +26 -8
  297. package/dist/esm/{form-input-masks-B-iV5cYd.js → form-input-masks-CVaOFfrI.js} +9 -3
  298. package/dist/esm/{get-business-Crb6P-iI.js → get-business-Xt7B5dSo.js} +1 -1
  299. package/dist/esm/{get-payment-details-BuT0QNOo.js → get-payment-details-B00HoaFm.js} +3 -3
  300. package/dist/esm/{get-subaccounts-VjY6-x_9.js → get-subaccounts-C_yzcZq_.js} +4 -4
  301. package/dist/esm/gross-payment-chart-core.entry.js +6 -6
  302. package/dist/esm/{header-1-zXsamUS3.js → header-1-BukynbFR.js} +2 -2
  303. package/dist/esm/{header-3-DVtaUAlf.js → header-3-D87MAyMK.js} +2 -2
  304. package/dist/esm/hidden-input_2.entry.js +9 -9
  305. package/dist/esm/{index-ZfXl6Xrm.js → index-NOsb-hYl.js} +1 -1
  306. package/dist/esm/{index-qipqIMyC.js → index-_b8l4IX7.js} +42 -31
  307. package/dist/esm/{index.esm-cYgKOXtz.js → index.esm-IWS0494Y.js} +18 -17
  308. package/dist/esm/{input-handlers-CX6mSvOM.js → input-handlers-D3y0TzH9.js} +1 -1
  309. package/dist/esm/{insurance-state-Dh9f36Qh.js → insurance-state-BjY1QRXI.js} +3 -3
  310. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +130 -73
  311. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +26 -27
  312. package/dist/esm/justifi-additional-statement_8.entry.js +11 -11
  313. package/dist/esm/justifi-apple-pay.entry.js +11 -11
  314. package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +27 -28
  315. package/dist/esm/justifi-business-details.entry.js +13 -15
  316. package/dist/esm/justifi-business-form.entry.js +28 -24
  317. package/dist/esm/justifi-business-representative-form-inputs.entry.js +16 -8
  318. package/dist/esm/justifi-checkout-summary_7.entry.js +21 -23
  319. package/dist/esm/justifi-checkout.entry.js +19 -18
  320. package/dist/esm/justifi-checkouts-list-filters.entry.js +10 -12
  321. package/dist/esm/justifi-checkouts-list.entry.js +16 -18
  322. package/dist/esm/justifi-config-provider.entry.js +3 -3
  323. package/dist/esm/justifi-details.entry.js +3 -3
  324. package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
  325. package/dist/esm/justifi-dispute-management.entry.js +11 -13
  326. package/dist/esm/justifi-dispute-notification_3.entry.js +17 -19
  327. package/dist/esm/justifi-gross-payment-chart.entry.js +11 -13
  328. package/dist/esm/justifi-order-terminals.entry.js +16 -18
  329. package/dist/esm/justifi-owner-form_3.entry.js +31 -22
  330. package/dist/esm/justifi-payment-details.entry.js +13 -15
  331. package/dist/esm/justifi-payment-provisioning-core.entry.js +40 -25
  332. package/dist/esm/justifi-payment-provisioning.entry.js +11 -13
  333. package/dist/esm/justifi-payment-transactions-list.entry.js +15 -17
  334. package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
  335. package/dist/esm/justifi-payments-list.entry.js +16 -18
  336. package/dist/esm/justifi-payout-details.entry.js +12 -14
  337. package/dist/esm/justifi-payout-transactions-list.entry.js +15 -17
  338. package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
  339. package/dist/esm/justifi-payouts-list.entry.js +17 -19
  340. package/dist/esm/justifi-refund-payment.entry.js +16 -18
  341. package/dist/esm/justifi-saved-payment-method.entry.js +3 -3
  342. package/dist/esm/justifi-season-interruption-insurance.entry.js +14 -16
  343. package/dist/esm/justifi-skeleton.entry.js +5 -5
  344. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +11 -13
  345. package/dist/esm/justifi-terminal-orders-list.entry.js +14 -16
  346. package/dist/esm/justifi-terminals-list-filters.entry.js +10 -12
  347. package/dist/esm/justifi-terminals-list.entry.js +16 -18
  348. package/dist/esm/loader.js +3 -3
  349. package/dist/esm/{package-pXjOPQhG.js → package-BRhnhmpB.js} +1 -1
  350. package/dist/esm/pagination-menu.entry.js +5 -5
  351. package/dist/esm/{parts-RvUQ__Pq.js → parts-CA_TyBed.js} +1 -1
  352. package/dist/esm/payment-details-core.entry.js +16 -16
  353. package/dist/esm/payment-method-option.entry.js +4 -4
  354. package/dist/esm/{payment.service-QJEmd6Nl.js → payment.service-B_NytmNz.js} +3 -3
  355. package/dist/esm/payments-list-core.entry.js +14 -16
  356. package/dist/esm/{payments-list-params-state-C2_GlMKR.js → payments-list-params-state-BY5996_y.js} +1 -1
  357. package/dist/esm/{payments-status-DDafc8Yr.js → payments-status-BWv1l1-e.js} +2 -2
  358. package/dist/esm/{payments-table-De3Jb6rY.js → payments-table-BSk36N1O.js} +25 -5
  359. package/dist/esm/payout-details-core.entry.js +12 -12
  360. package/dist/esm/{payout.service-XxyEr0rj.js → payout.service-BJQVlc_Z.js} +3 -3
  361. package/dist/esm/payouts-list-core.entry.js +14 -16
  362. package/dist/esm/{payouts-list-params-state-C2_GlMKR.js → payouts-list-params-state-BY5996_y.js} +1 -1
  363. package/dist/esm/{payouts-status-u1eSRz3Q.js → payouts-status-BujJlH_r.js} +2 -2
  364. package/dist/esm/{payouts-table-BO-MCzXj.js → payouts-table-5N7OylTW.js} +4 -4
  365. package/dist/esm/{schema-validations-DcR1ujuX.js → schema-validations-BFoU1cR8.js} +42 -7
  366. package/dist/esm/{skeleton-DtpkgjZ6.js → skeleton-C161KeYG.js} +2 -2
  367. package/dist/esm/{spinner-CIXUVK4F.js → spinner-UiInIFXW.js} +2 -2
  368. package/dist/esm/{styled-host-CbizlfAU.js → styled-host-hSGxxyFZ.js} +1 -1
  369. package/dist/esm/{table-DcRHK_sm.js → table-9ewYPAZH.js} +3 -3
  370. package/dist/esm/table-filters-menu.entry.js +4 -4
  371. package/dist/esm/terminal-orders-list-core.entry.js +13 -15
  372. package/dist/esm/{terminal-orders-list-params-state-C2_GlMKR.js → terminal-orders-list-params-state-BY5996_y.js} +1 -1
  373. package/dist/esm/{terminal-orders-table-9nsnrAq8.js → terminal-orders-table-BcziGGSF.js} +7 -7
  374. package/dist/esm/terminal-quantity-selector.entry.js +3 -3
  375. package/dist/esm/{terminal.service-D2oETGnk.js → terminal.service-B9MOFa2c.js} +3 -3
  376. package/dist/esm/terminals-list-core.entry.js +13 -15
  377. package/dist/esm/terminals-list-params-state-BY5996_y.js +16 -0
  378. package/dist/esm/{terminals-table-C6NO2m-t.js → terminals-table-BoFlvdHS.js} +4 -4
  379. package/dist/esm/{utils-BscIVFn8.js → utils-DeZftIgK.js} +1 -1
  380. package/dist/esm/{utils-_ckvHjSW.js → utils-fntGABrK.js} +2 -2
  381. package/dist/esm/webcomponents.js +4 -4
  382. package/dist/module/Business.js +290 -3
  383. package/dist/module/additional-questions-details2.js +1 -1
  384. package/dist/module/additional-statement.js +2 -2
  385. package/dist/module/bank-account-billing-form-simple.js +1 -1
  386. package/dist/module/bank-account-document-inputs.js +3 -3
  387. package/dist/module/bank-account-form-inputs-canada.d.ts +11 -0
  388. package/dist/module/bank-account-form-inputs-canada.js +6 -0
  389. package/dist/module/bank-account-form-inputs-canada2.js +68 -0
  390. package/dist/module/bank-account-form-inputs2.js +10 -3
  391. package/dist/module/bank-account-form.js +2 -2
  392. package/dist/module/bank-account-read-only-value.d.ts +11 -0
  393. package/dist/module/bank-account-read-only-value.js +6 -0
  394. package/dist/module/bank-account-read-only-value2.js +33 -0
  395. package/dist/module/bank-account.js +2 -2
  396. package/dist/module/billing-form-full.js +1 -1
  397. package/dist/module/business-additional-questions-form-step-core.js +2 -2
  398. package/dist/module/business-additional-questions-form-step.js +1 -1
  399. package/dist/module/business-address-schema.js +40 -20
  400. package/dist/module/business-bank-account-form-step-core.js +104 -51
  401. package/dist/module/business-bank-account-form-step.js +18 -5
  402. package/dist/module/business-core-info-form-step-core.js +24 -9
  403. package/dist/module/business-core-info-form-step.js +2 -1
  404. package/dist/module/business-core-info-schema.js +26 -5
  405. package/dist/module/business-core-info.js +13 -5
  406. package/dist/module/business-details-core2.js +1 -1
  407. package/dist/module/business-identity-schema.js +52 -25
  408. package/dist/module/business-owners-form-step-core.js +22 -15
  409. package/dist/module/business-owners-form-step.js +22 -15
  410. package/dist/module/business-representative-form-inputs.js +34 -17
  411. package/dist/module/business-representative-form-step-core.js +31 -20
  412. package/dist/module/business-representative-form-step.js +24 -17
  413. package/dist/module/business-representative.js +36 -18
  414. package/dist/module/business-terms-conditions-form-step.js +1 -1
  415. package/dist/module/button.js +1 -1
  416. package/dist/module/cancellation-policy.js +2 -2
  417. package/dist/module/card-billing-form-simple.js +1 -1
  418. package/dist/module/card-form.js +2 -2
  419. package/dist/module/card-form2.js +2 -2
  420. package/dist/module/checkout.store.js +1 -2
  421. package/dist/module/checkouts-list-core2.js +3 -3
  422. package/dist/module/country-config.js +64 -0
  423. package/dist/module/custom-popper2.js +3 -3
  424. package/dist/module/customer-details.js +2 -2
  425. package/dist/module/dispute-management-core.js +2 -2
  426. package/dist/module/dispute-notification.js +2 -2
  427. package/dist/module/dispute-response-core.js +5 -5
  428. package/dist/module/dispute-response.js +2 -2
  429. package/dist/module/duplicate-charge.js +2 -2
  430. package/dist/module/electronic-evidence.js +2 -2
  431. package/dist/module/form-address-fields.js +65 -0
  432. package/dist/module/form-control-checkbox2.js +3 -3
  433. package/dist/module/form-control-date2.js +3 -3
  434. package/dist/module/form-control-file-v22.js +2 -2
  435. package/dist/module/form-control-file2.js +3 -3
  436. package/dist/module/form-control-monetary-provisioning2.js +3 -3
  437. package/dist/module/form-control-monetary2.js +4 -4
  438. package/dist/module/form-control-number-masked2.js +3 -3
  439. package/dist/module/form-control-number.js +3 -3
  440. package/dist/module/form-control-radio2.js +3 -3
  441. package/dist/module/form-control-select2.js +3 -3
  442. package/dist/module/form-control-text2.js +4 -4
  443. package/dist/module/form-control-textarea2.js +4 -4
  444. package/dist/module/form-input-masks.js +9 -3
  445. package/dist/module/form.js +18 -17
  446. package/dist/module/get-business.js +1 -1
  447. package/dist/module/gross-payment-chart-core2.js +2 -2
  448. package/dist/module/hidden-input2.js +1 -1
  449. package/dist/module/identity-address-form.js +17 -15
  450. package/dist/module/iframe-input2.js +3 -3
  451. package/dist/module/input-handlers.js +1 -1
  452. package/dist/module/justifi-apple-pay.js +2 -2
  453. package/dist/module/justifi-business-form.js +41 -29
  454. package/dist/module/justifi-button2.js +2 -2
  455. package/dist/module/justifi-checkout.js +7 -5
  456. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  457. package/dist/module/justifi-checkouts-list.js +1 -1
  458. package/dist/module/justifi-dispute-management.js +1 -1
  459. package/dist/module/justifi-form-address-fields.d.ts +11 -0
  460. package/dist/module/justifi-form-address-fields.js +6 -0
  461. package/dist/module/justifi-header2.js +1 -1
  462. package/dist/module/justifi-order-terminals.js +3 -3
  463. package/dist/module/justifi-payment-provisioning.js +67 -49
  464. package/dist/module/justifi-payment-transactions-list.js +1 -1
  465. package/dist/module/justifi-payments-list-filters.js +2 -2
  466. package/dist/module/justifi-payments-list.js +1 -1
  467. package/dist/module/justifi-payout-transactions-list.js +1 -1
  468. package/dist/module/justifi-payouts-list-filters.js +2 -2
  469. package/dist/module/justifi-payouts-list.js +1 -1
  470. package/dist/module/justifi-saved-payment-method.js +2 -2
  471. package/dist/module/justifi-skeleton.js +2 -2
  472. package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
  473. package/dist/module/justifi-terminal-orders-list.js +1 -1
  474. package/dist/module/justifi-terminals-list-filters.js +1 -1
  475. package/dist/module/justifi-terminals-list.js +1 -1
  476. package/dist/module/legal-address-details2.js +1 -1
  477. package/dist/module/legal-address-form-step-core.js +28 -21
  478. package/dist/module/legal-address-form-step.js +16 -9
  479. package/dist/module/legal-address-form.js +17 -14
  480. package/dist/module/modular-checkout.js +1 -1
  481. package/dist/module/owner-form-core2.js +27 -19
  482. package/dist/module/owner-form-inputs2.js +34 -15
  483. package/dist/module/owner-form.js +21 -14
  484. package/dist/module/package.js +1 -1
  485. package/dist/module/pagination-menu2.js +3 -3
  486. package/dist/module/parts.js +1 -1
  487. package/dist/module/payment-details-core2.js +9 -9
  488. package/dist/module/payment-method-option.js +2 -2
  489. package/dist/module/payment-provisioning-core.js +106 -71
  490. package/dist/module/payment-provisioning-form-buttons.js +3 -3
  491. package/dist/module/payment-provisioning-form-steps.js +76 -55
  492. package/dist/module/payments-list-core2.js +23 -3
  493. package/dist/module/payout-details-core2.js +5 -5
  494. package/dist/module/payouts-list-core2.js +4 -4
  495. package/dist/module/product-or-service.js +2 -2
  496. package/dist/module/refund-policy.js +2 -2
  497. package/dist/module/save-new-payment-method.js +1 -1
  498. package/dist/module/schema-validations.js +41 -6
  499. package/dist/module/sezzle-payment-method.js +1 -1
  500. package/dist/module/shipping-details.js +2 -2
  501. package/dist/module/summary.js +1 -1
  502. package/dist/module/table-filters-menu2.js +2 -2
  503. package/dist/module/terminal-orders-list-core2.js +2 -2
  504. package/dist/module/terminal-quantity-selector2.js +2 -2
  505. package/dist/module/terminals-list-core2.js +3 -3
  506. package/dist/module/tokenize-payment-method.js +1 -1
  507. package/dist/types/api/BankAccount.d.ts +6 -0
  508. package/dist/types/api/Business.d.ts +9 -0
  509. package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +3 -0
  510. package/dist/types/components/business-forms/business-form/business-form.d.ts +2 -0
  511. package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +4 -1
  512. package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +2 -0
  513. package/dist/types/components/business-forms/owner-form/identity-address/identity-address-form.d.ts +2 -0
  514. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +2 -0
  515. package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +3 -0
  516. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +2 -0
  517. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.d.ts +7 -0
  518. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.d.ts +5 -0
  519. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +5 -0
  520. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +2 -0
  521. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +3 -0
  522. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +2 -0
  523. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +2 -0
  524. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +2 -0
  525. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +3 -0
  526. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +2 -0
  527. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +2 -0
  528. package/dist/types/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.d.ts +8 -0
  529. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +2 -0
  530. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +2 -0
  531. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +4 -2
  532. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +2 -0
  533. package/dist/types/components/business-forms/payment-provisioning/test/mockBusiness.d.ts +12 -0
  534. package/dist/types/components/business-forms/schemas/business-address-schema.d.ts +54 -2
  535. package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +14 -16
  536. package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +67 -3
  537. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +164 -6
  538. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +122 -2
  539. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +5 -0
  540. package/dist/types/components/payments-list/payments-table.d.ts +5 -2
  541. package/dist/types/components.d.ts +111 -0
  542. package/dist/types/stencil-public-runtime.d.ts +22 -6
  543. package/dist/types/store/checkout.store.d.ts +0 -1
  544. package/dist/types/utils/country-codes.d.ts +4 -0
  545. package/dist/types/utils/form-input-masks.d.ts +1 -0
  546. package/dist/types/utils/province-options.d.ts +5 -0
  547. package/dist/webcomponents/p-0254c06c.entry.js +1 -0
  548. package/dist/webcomponents/p-047fe97f.entry.js +1 -0
  549. package/dist/webcomponents/p-04ca6ff0.entry.js +1 -0
  550. package/dist/webcomponents/p-09d53b03.entry.js +1 -0
  551. package/dist/webcomponents/p-0c5e2fed.entry.js +1 -0
  552. package/dist/webcomponents/p-0ea48603.entry.js +1 -0
  553. package/dist/webcomponents/p-17e9d5c0.entry.js +1 -0
  554. package/dist/webcomponents/p-1ab4d6aa.entry.js +1 -0
  555. package/dist/webcomponents/p-1cf42bc9.entry.js +1 -0
  556. package/dist/webcomponents/p-1e7f4b4f.entry.js +1 -0
  557. package/dist/webcomponents/{p-27fc3ef0.entry.js → p-22defde6.entry.js} +4 -4
  558. package/dist/webcomponents/{p-7c5cd118.entry.js → p-242208d9.entry.js} +1 -1
  559. package/dist/webcomponents/p-31ac0c3d.entry.js +1 -0
  560. package/dist/webcomponents/p-36e21b78.entry.js +1 -0
  561. package/dist/webcomponents/p-3a77a97c.entry.js +1 -0
  562. package/dist/webcomponents/p-40938820.entry.js +1 -0
  563. package/dist/webcomponents/p-40dc0c3c.entry.js +1 -0
  564. package/dist/webcomponents/p-42763479.entry.js +1 -0
  565. package/dist/webcomponents/p-430203b0.entry.js +1 -0
  566. package/dist/webcomponents/p-46d2d042.entry.js +1 -0
  567. package/dist/webcomponents/p-485516a1.entry.js +1 -0
  568. package/dist/webcomponents/p-4fb58ee6.entry.js +1 -0
  569. package/dist/webcomponents/p-54995a3d.entry.js +1 -0
  570. package/dist/webcomponents/p-56617fdd.entry.js +1 -0
  571. package/dist/webcomponents/p-592a45f6.entry.js +1 -0
  572. package/dist/webcomponents/p-5a044ca5.entry.js +1 -0
  573. package/dist/webcomponents/p-5ec18584.entry.js +1 -0
  574. package/dist/webcomponents/p-6122dc79.entry.js +1 -0
  575. package/dist/webcomponents/p-62858ba5.entry.js +1 -0
  576. package/dist/webcomponents/p-62b5e6cf.entry.js +1 -0
  577. package/dist/webcomponents/p-67dab4d9.entry.js +1 -0
  578. package/dist/webcomponents/p-6b791b1d.entry.js +1 -0
  579. package/dist/webcomponents/{p-a71a5e64.entry.js → p-6ea75d39.entry.js} +1 -1
  580. package/dist/webcomponents/p-6ebf8f11.entry.js +1 -0
  581. package/dist/webcomponents/p-6fdac295.entry.js +1 -0
  582. package/dist/webcomponents/p-724cf90f.entry.js +1 -0
  583. package/dist/webcomponents/p-7ecca5fe.entry.js +1 -0
  584. package/dist/webcomponents/p-7ecf9bd0.entry.js +1 -0
  585. package/dist/webcomponents/p-850dd606.entry.js +1 -0
  586. package/dist/webcomponents/p-85af9d78.entry.js +1 -0
  587. package/dist/webcomponents/p-931003fc.entry.js +1 -0
  588. package/dist/webcomponents/p-9367e7e6.entry.js +1 -0
  589. package/dist/webcomponents/p-9c114674.entry.js +1 -0
  590. package/dist/webcomponents/p-9c267692.entry.js +1 -0
  591. package/dist/webcomponents/p-B5rtFhtR.js +1 -0
  592. package/dist/webcomponents/{p-c4Mh3ZZ_.js → p-BPDMo6us.js} +1 -1
  593. package/dist/webcomponents/p-BRhnhmpB.js +1 -0
  594. package/dist/webcomponents/{p-BB5-CJF-.js → p-BaM0JBLn.js} +1 -1
  595. package/dist/webcomponents/{p-CaxjN6Uo.js → p-BdREtifE.js} +1 -1
  596. package/dist/webcomponents/p-BgFM_jvF.js +1 -0
  597. package/dist/webcomponents/p-BqbXuOZP.js +1 -0
  598. package/dist/webcomponents/p-BwpdCtUc.js +1 -0
  599. package/dist/webcomponents/p-C6g4MbnB.js +1 -0
  600. package/dist/webcomponents/{p-1ydcg9ti.js → p-C77ElQ41.js} +1 -1
  601. package/dist/webcomponents/{p-RvUQ__Pq.js → p-CA_TyBed.js} +1 -1
  602. package/dist/webcomponents/p-CE-MNrID.js +1 -0
  603. package/dist/webcomponents/p-CMpATPXy.js +1 -0
  604. package/dist/webcomponents/{p-yH3TC3ZQ.js → p-CPpUGsw5.js} +1 -1
  605. package/dist/webcomponents/p-CQUZeo9r.js +1 -0
  606. package/dist/webcomponents/p-CSeo7WDO.js +1 -0
  607. package/dist/webcomponents/p-CTJ3moi4.js +1 -0
  608. package/dist/webcomponents/p-CVaOFfrI.js +1 -0
  609. package/dist/webcomponents/p-CYNcSTQA.js +1 -0
  610. package/dist/webcomponents/p-CevVA9qy.js +1 -0
  611. package/dist/webcomponents/p-CkiX8OGy.js +1 -0
  612. package/dist/webcomponents/{p-D--yCspA.js → p-CtWnJFtW.js} +1 -1
  613. package/dist/webcomponents/p-CycBoHSW.js +1 -0
  614. package/dist/webcomponents/p-D-RVXHwG.js +1 -0
  615. package/dist/webcomponents/{p-BIPdn2VU.js → p-D1Na2I0C.js} +1 -1
  616. package/dist/webcomponents/{p-BdLLGV9t.js → p-D2hzOOMf.js} +1 -1
  617. package/dist/webcomponents/p-D5lmImiz.js +1 -0
  618. package/dist/webcomponents/p-DMf85Fkr.js +1 -0
  619. package/dist/webcomponents/p-DNPS-Ypi.js +1 -0
  620. package/dist/webcomponents/p-DQ5V5-Jy.js +1 -0
  621. package/dist/webcomponents/{p-CLQx9p9q.js → p-DTwFW2k_.js} +1 -1
  622. package/dist/webcomponents/{p-BZ7C9duj.js → p-DWGKeoot.js} +1 -1
  623. package/dist/webcomponents/p-DapORSs4.js +1 -0
  624. package/dist/webcomponents/p-DcPNd9_D.js +1 -0
  625. package/dist/webcomponents/p-DfKxeSrC.js +1 -0
  626. package/dist/webcomponents/{p-CR9D6mKt.js → p-DiJD6Iqx.js} +1 -1
  627. package/dist/webcomponents/{p-D-JYHdJ7.js → p-Dkujm7_O.js} +1 -1
  628. package/dist/webcomponents/p-Dv1Fyrn3.js +1 -0
  629. package/dist/webcomponents/p-DxVCqvBt.js +1 -0
  630. package/dist/webcomponents/p-DzWLLt4t.js +1 -0
  631. package/dist/webcomponents/{p-CzPUMw00.js → p-JSXyHheQ.js} +1 -1
  632. package/dist/webcomponents/p-LO0pl3n2.js +1 -0
  633. package/dist/webcomponents/{p-BUa0YOaw.js → p-M5r2kSbf.js} +1 -1
  634. package/dist/webcomponents/{p-C_3N7nqh.js → p-PdQT2QcR.js} +1 -1
  635. package/dist/webcomponents/p-_b8l4IX7.js +2 -0
  636. package/dist/webcomponents/p-a2817869.entry.js +1 -0
  637. package/dist/webcomponents/p-a291a90c.entry.js +1 -0
  638. package/dist/webcomponents/p-b0bc03e6.entry.js +1 -0
  639. package/dist/webcomponents/{p-1b7926f6.entry.js → p-b17cb15d.entry.js} +1 -1
  640. package/dist/webcomponents/p-b46fe458.entry.js +1 -0
  641. package/dist/webcomponents/{p-3d37045d.entry.js → p-b59221a9.entry.js} +1 -1
  642. package/dist/webcomponents/{p-d34befd7.entry.js → p-c1f10a84.entry.js} +1 -1
  643. package/dist/webcomponents/p-c2cb70c8.entry.js +1 -0
  644. package/dist/webcomponents/{p-2abfee08.entry.js → p-c540fe9d.entry.js} +1 -1
  645. package/dist/webcomponents/{p-8975bf93.entry.js → p-c6093716.entry.js} +1 -1
  646. package/dist/webcomponents/p-c6e43493.entry.js +1 -0
  647. package/dist/webcomponents/{p-0801324e.entry.js → p-c7390115.entry.js} +1 -1
  648. package/dist/webcomponents/p-c780cc91.entry.js +1 -0
  649. package/dist/webcomponents/p-c9598246.entry.js +1 -0
  650. package/dist/webcomponents/p-c972a599.entry.js +1 -0
  651. package/dist/webcomponents/p-cc1d8649.entry.js +1 -0
  652. package/dist/webcomponents/p-ce4895ca.entry.js +1 -0
  653. package/dist/webcomponents/p-ce67282b.entry.js +1 -0
  654. package/dist/webcomponents/p-cef5c6e9.entry.js +1 -0
  655. package/dist/webcomponents/p-d21fa0c9.entry.js +1 -0
  656. package/dist/webcomponents/p-d236f152.entry.js +1 -0
  657. package/dist/webcomponents/p-d6ac11fc.entry.js +1 -0
  658. package/dist/webcomponents/p-e55ce6ad.entry.js +1 -0
  659. package/dist/webcomponents/p-f02bd076.entry.js +1 -0
  660. package/dist/webcomponents/{p-fUtq2xDs.js → p-fVyCeQNq.js} +1 -1
  661. package/dist/webcomponents/{p-DyOgQlh2.js → p-g2ubqhtv.js} +1 -1
  662. package/dist/webcomponents/{p-DsAwPf2y.js → p-hj8k0lRi.js} +1 -1
  663. package/dist/webcomponents/p-lPeK9y_X.js +1 -0
  664. package/dist/webcomponents/p-qUCDGWNE.js +1 -0
  665. package/dist/webcomponents/p-sCHf--Vc.js +1 -0
  666. package/dist/webcomponents/{p-BHf9IqGw.js → p-xWrhxNNk.js} +1 -1
  667. package/dist/webcomponents/webcomponents.esm.js +1 -1
  668. package/package.json +1 -1
  669. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +0 -112
  670. package/dist/cjs/business-identity-schema-CclzWSOn.js +0 -51
  671. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +0 -107
  672. package/dist/cjs/helpers-B5OCqlIM.js +0 -35
  673. package/dist/cjs/state-options-CIT9xdTz.js +0 -246
  674. package/dist/cjs/terminals-list-params-state-C4c8UZtP.js +0 -22
  675. package/dist/collection/components/modular-checkout/sub-components/plaid-payment-method.test.js +0 -125
  676. package/dist/esm/bank-account-document-form-inputs_4.entry.js +0 -107
  677. package/dist/esm/business-identity-schema-D8n5dyLX.js +0 -48
  678. package/dist/esm/form-control-number-masked_2.entry.js +0 -104
  679. package/dist/esm/helpers-Mu7LQT-w.js +0 -29
  680. package/dist/esm/state-options-BX8GieXu.js +0 -244
  681. package/dist/esm/terminals-list-params-state-C2_GlMKR.js +0 -16
  682. package/dist/module/helpers.js +0 -29
  683. package/dist/module/state-options.js +0 -244
  684. package/dist/types/components/modular-checkout/sub-components/plaid-payment-method.test.d.ts +0 -1
  685. package/dist/webcomponents/p-06b6b61e.entry.js +0 -1
  686. package/dist/webcomponents/p-10278c48.entry.js +0 -1
  687. package/dist/webcomponents/p-19ccbeee.entry.js +0 -1
  688. package/dist/webcomponents/p-1b3b6956.entry.js +0 -1
  689. package/dist/webcomponents/p-1c433962.entry.js +0 -1
  690. package/dist/webcomponents/p-1f9f6bdc.entry.js +0 -1
  691. package/dist/webcomponents/p-2246aa69.entry.js +0 -1
  692. package/dist/webcomponents/p-246ef4ff.entry.js +0 -1
  693. package/dist/webcomponents/p-30147031.entry.js +0 -1
  694. package/dist/webcomponents/p-3546a5aa.entry.js +0 -1
  695. package/dist/webcomponents/p-3621a429.entry.js +0 -1
  696. package/dist/webcomponents/p-3c1d950d.entry.js +0 -1
  697. package/dist/webcomponents/p-406ba650.entry.js +0 -1
  698. package/dist/webcomponents/p-4332962a.entry.js +0 -1
  699. package/dist/webcomponents/p-4466d28d.entry.js +0 -1
  700. package/dist/webcomponents/p-44d1341c.entry.js +0 -1
  701. package/dist/webcomponents/p-46db49dd.entry.js +0 -1
  702. package/dist/webcomponents/p-4d5c71c4.entry.js +0 -1
  703. package/dist/webcomponents/p-4ea83bfd.entry.js +0 -1
  704. package/dist/webcomponents/p-558f7967.entry.js +0 -1
  705. package/dist/webcomponents/p-5c477f08.entry.js +0 -1
  706. package/dist/webcomponents/p-629c1d75.entry.js +0 -1
  707. package/dist/webcomponents/p-68329f16.entry.js +0 -1
  708. package/dist/webcomponents/p-6fe79f16.entry.js +0 -1
  709. package/dist/webcomponents/p-718f8b2c.entry.js +0 -1
  710. package/dist/webcomponents/p-73f88870.entry.js +0 -1
  711. package/dist/webcomponents/p-760a5b4f.entry.js +0 -1
  712. package/dist/webcomponents/p-779e4467.entry.js +0 -1
  713. package/dist/webcomponents/p-7aeb20d2.entry.js +0 -1
  714. package/dist/webcomponents/p-7ef3cb23.entry.js +0 -1
  715. package/dist/webcomponents/p-84043580.entry.js +0 -1
  716. package/dist/webcomponents/p-868ed3b6.entry.js +0 -1
  717. package/dist/webcomponents/p-87f598ef.entry.js +0 -1
  718. package/dist/webcomponents/p-906fdf0c.entry.js +0 -1
  719. package/dist/webcomponents/p-90e43440.entry.js +0 -1
  720. package/dist/webcomponents/p-914e168d.entry.js +0 -1
  721. package/dist/webcomponents/p-91c1e2ac.entry.js +0 -1
  722. package/dist/webcomponents/p-95348ff6.entry.js +0 -1
  723. package/dist/webcomponents/p-9f04cac4.entry.js +0 -1
  724. package/dist/webcomponents/p-B-iV5cYd.js +0 -1
  725. package/dist/webcomponents/p-B4idKqyn.js +0 -1
  726. package/dist/webcomponents/p-BX8GieXu.js +0 -1
  727. package/dist/webcomponents/p-BY2p6Sxk.js +0 -1
  728. package/dist/webcomponents/p-BguBT6Hn.js +0 -1
  729. package/dist/webcomponents/p-BlJnA265.js +0 -1
  730. package/dist/webcomponents/p-Bp_QFeog.js +0 -1
  731. package/dist/webcomponents/p-Bvp7uul3.js +0 -1
  732. package/dist/webcomponents/p-C1xGBPma.js +0 -1
  733. package/dist/webcomponents/p-C3n7-tlg.js +0 -1
  734. package/dist/webcomponents/p-CPVN4dXS.js +0 -1
  735. package/dist/webcomponents/p-CQeex56P.js +0 -1
  736. package/dist/webcomponents/p-CU4XQ3fO.js +0 -1
  737. package/dist/webcomponents/p-CYBR4K2p.js +0 -1
  738. package/dist/webcomponents/p-CpKvg1ok.js +0 -1
  739. package/dist/webcomponents/p-CrQgyTRz.js +0 -1
  740. package/dist/webcomponents/p-CxzFvTgf.js +0 -1
  741. package/dist/webcomponents/p-D6XirF21.js +0 -1
  742. package/dist/webcomponents/p-DCMrHeJI.js +0 -1
  743. package/dist/webcomponents/p-DH8F0bsw.js +0 -1
  744. package/dist/webcomponents/p-DSP8qjHL.js +0 -1
  745. package/dist/webcomponents/p-DbX0g1WF.js +0 -1
  746. package/dist/webcomponents/p-De8UloOS.js +0 -1
  747. package/dist/webcomponents/p-Dt-vy9Le.js +0 -1
  748. package/dist/webcomponents/p-DvZcI6pC.js +0 -1
  749. package/dist/webcomponents/p-DyDHaG6n.js +0 -1
  750. package/dist/webcomponents/p-IG_KR8zP.js +0 -1
  751. package/dist/webcomponents/p-PgEzcvI6.js +0 -1
  752. package/dist/webcomponents/p-Xv8DuU3Y.js +0 -1
  753. package/dist/webcomponents/p-a57c1400.entry.js +0 -1
  754. package/dist/webcomponents/p-a90b8b93.entry.js +0 -1
  755. package/dist/webcomponents/p-b4e673fe.entry.js +0 -1
  756. package/dist/webcomponents/p-bc902ec2.entry.js +0 -1
  757. package/dist/webcomponents/p-bf82201a.entry.js +0 -1
  758. package/dist/webcomponents/p-c16c0cbc.entry.js +0 -1
  759. package/dist/webcomponents/p-c685fc33.entry.js +0 -1
  760. package/dist/webcomponents/p-d0f93668.entry.js +0 -1
  761. package/dist/webcomponents/p-d3f5ff95.entry.js +0 -1
  762. package/dist/webcomponents/p-df7f36aa.entry.js +0 -1
  763. package/dist/webcomponents/p-e035a92e.entry.js +0 -1
  764. package/dist/webcomponents/p-e2a38ad0.entry.js +0 -1
  765. package/dist/webcomponents/p-e628a0c8.entry.js +0 -1
  766. package/dist/webcomponents/p-e6516014.entry.js +0 -1
  767. package/dist/webcomponents/p-e6e96be2.entry.js +0 -1
  768. package/dist/webcomponents/p-e79338f9.entry.js +0 -1
  769. package/dist/webcomponents/p-eafd179b.entry.js +0 -1
  770. package/dist/webcomponents/p-f5c3f489.entry.js +0 -1
  771. package/dist/webcomponents/p-f6cf3e2b.entry.js +0 -1
  772. package/dist/webcomponents/p-ffe01f1b.entry.js +0 -1
  773. package/dist/webcomponents/p-oGKW57R8.js +0 -1
  774. package/dist/webcomponents/p-pXjOPQhG.js +0 -1
  775. package/dist/webcomponents/p-qipqIMyC.js +0 -2
  776. package/dist/webcomponents/p-xY5RkFuA.js +0 -1
@@ -14,7 +14,22 @@ import { v as tableHeadCell, a8 as getAlternateTableCellPart } from './parts.js'
14
14
  import { o as onQueryParamsChange, g as getRequestParams } from './payments-list-params-state.js';
15
15
  import { d as defineCustomElement$1 } from './pagination-menu2.js';
16
16
 
17
- const defaultColumnsKeys = 'created_at,amount,status,payment_type,description,payers_name,last_four_digits';
17
+ const mapCardBrandToDisplayName = (brand) => {
18
+ if (!brand)
19
+ return 'N/A';
20
+ const brandMap = {
21
+ 'visa': 'VISA',
22
+ 'mastercard': 'Mastercard',
23
+ 'american_express': 'American Express',
24
+ 'discover': 'Discover',
25
+ 'diners_club': 'Diners Club',
26
+ 'jcb': 'JCB',
27
+ 'china_unionpay': 'China UnionPay',
28
+ 'unknown': 'Unknown'
29
+ };
30
+ return brandMap[brand.toLowerCase()] || brand;
31
+ };
32
+ const defaultColumnsKeys = 'created_at,amount,status,payment_type,description,payers_name,last_four_digits,card_brand';
18
33
  const paymentTableColumns = {
19
34
  created_at: () => (h("th", { part: tableHeadCell, scope: "col", title: "The date and time each payment was made" }, "Date")),
20
35
  amount: () => (h("th", { part: tableHeadCell, scope: "col", title: "The dollar amount of each payment" }, "Amount")),
@@ -23,6 +38,7 @@ const paymentTableColumns = {
23
38
  description: () => (h("th", { part: tableHeadCell, scope: "col", title: "The payment description, if you provided one" }, "Description")),
24
39
  payers_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The name associated with the payment method" }, "Account Holder")),
25
40
  last_four_digits: () => (h("th", { part: tableHeadCell, scope: "col", title: "The brand and last 4 digits of the payment method" }, "Payment Method")),
41
+ card_brand: () => (h("th", { part: tableHeadCell, scope: "col", title: "The brand of the payment method" }, "Card Brand")),
26
42
  };
27
43
  const paymentTableCells = {
28
44
  created_at: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, h("div", { class: "fw-bold" }, convertToLocal(payment.created_at, { showDisplayDate: true })), h("div", { class: "fw-bold" }, convertToLocal(payment.created_at, { showTime: true })))),
@@ -32,6 +48,10 @@ const paymentTableCells = {
32
48
  description: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.description)),
33
49
  payers_name: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.payers_name)),
34
50
  last_four_digits: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.last_four_digits)),
51
+ card_brand: (payment, index) => {
52
+ var _a, _b;
53
+ return (h("td", { part: getAlternateTableCellPart(index) }, mapCardBrandToDisplayName(((_a = payment.payment_method.card) === null || _a === void 0 ? void 0 : _a.brand) || ((_b = payment.payment_method.bank_account) === null || _b === void 0 ? void 0 : _b.brand))));
54
+ },
35
55
  };
36
56
 
37
57
  const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore extends HTMLElement {
@@ -118,7 +138,7 @@ const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore
118
138
  return !this.showEmptyState && !this.showErrorState && !this.loading;
119
139
  }
120
140
  render() {
121
- return (h(TableWrapper, { key: '0f667b8996650351ee636d548437217696ba8845' }, h(TableComponent, { key: 'ea49b5f4a53b03525a960954df711f39ee1ec41d' }, h(TableHead, { key: '7e06f612e6aa80267abba505c5b44506a907ae1a' }, h(TableHeadRow, { key: '561827555ab274f70fe4e2e08442689b82f8b2c9' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: 'a1f724d553ca43fbe20aeeb1bcbedf87e7d5b917' }, h(TableLoadingState, { key: '27c9f9e459857cf208f9bcb1a5a81f02fcac0850', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '546e87c7198e6b7efaf1dde4dba0e2bc9dd9e4a7', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: 'cbb35d379ac52943549b58128af24f682b53254f', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '4b8de6a6841bd6f087f8819febd3136742e535eb' }, h(TableFootRow, { key: 'cb2f446cd73c72e551378d73d5fb7089bcf9b8a0' }, h(TableFootCell, { key: '01098f6891794529ddfc1d7b1303706313694316', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: 'a907422b1d6246570d14862478154465c4ad59c9', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
141
+ return (h(TableWrapper, { key: '16623ffd64fb8c608f44daa44597f823ccd179a5' }, h(TableComponent, { key: '19933513ac4ae5f75a30e8a255ac0e53d1cb5c87' }, h(TableHead, { key: '4ca9504f2d3f98d1fe198c7524d1d80aae7ee169' }, h(TableHeadRow, { key: '497a03b10bf1fd4fbab5e132a26a4f59d0f0e947' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: 'd3b321c2647c28b672c92c7e6a35d1ecf5ef4ffe' }, h(TableLoadingState, { key: 'f203ce04080f5bc06eca7a1236b22b90281cf920', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '7d0db001613b7e1fcc23ffa93ae7f61f0d96814a', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '7dad16e0ed9131547334624ccfe378926771caa7', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'f20e35a27f36703aa6c81e71da2b990a36074335' }, h(TableFootRow, { key: '34d9bada6b39ff6f7ce8a12e13c8276e54358758' }, h(TableFootCell, { key: 'cf868546ef932a43c6b820afd8eeb7c31b87ba2f', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '206704c8b7990ed504c41113a188aa61d6d4c6a8', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
122
142
  }
123
143
  static get watchers() { return {
124
144
  "pagingParams": ["updateOnPropChange"],
@@ -126,7 +146,7 @@ const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore
126
146
  "columns": ["updateOnPropChange"]
127
147
  }; }
128
148
  }, [256, "payments-list-core", {
129
- "getPayments": [16, "get-payments"],
149
+ "getPayments": [16],
130
150
  "columns": [1],
131
151
  "payments": [32],
132
152
  "paymentsTable": [32],
@@ -64,17 +64,17 @@ const PayoutDetailsCore = /*@__PURE__*/ proxyCustomElement(class PayoutDetailsCo
64
64
  }
65
65
  render() {
66
66
  var _a;
67
- return (h(StyledHost, { key: '142cd93a5538d48542c001dfaf8ecf0a8f0649e1' }, this.loading && h(PayoutDetailsLoading, { key: 'e4a301d09a48776c7cbc3c9b606e42558748301b' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: '65c7a12cf23056d1940d08b0c3ff96368c601720', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: 'ef299affbf2facfb03f4af8f7d8933fb7cc0dac5', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (h(Badge, { variant: BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: '585d7d174f20f6b49e3fce34e0e236a89b90d083', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '6066bfdaef670375ae97453d84422228d2a5eead', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '7e526cbd6e31ca6139c8f31e7946749a59905fea', title: "ID", value: this.payout.id }), h("div", { key: 'eeeab1a03a0097c3c1be036d6f3f2a72dfb376dc', class: "m-4" }, h(Button, { key: 'ac90d236d37a925c157b99e1c348128bb0835060', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '3d01f52695bb407cba4a2166ebbd90d09580cbe9', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'ec7727a7c9a93bd51ae670f20c1453538676a95c', sectionTitle: "Details" }), h("div", { key: '469fad5f27810729811fba91c4a4275d27cbf18e', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '5f32a3e8631fdd2d047f5ccd933e200322d50de2', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '807284a840687b7257176366ff06f5150ba4a0ad', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '908464c42582f596e114c18f873ec3b3eac332ed', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '736b86cfb1cbfaad58e042e6a936db4237e5fbb7', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '919453e082a6f8534df07f3fd2cd0ffc6bf81539', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '7b033d532fa94ddb0a6e53861d126a50601f8bdf', sectionTitle: "Account" }), h("div", { key: '373c6745a0ab57d21fa88e9a470e63bd8c0ad999', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'ea140c2b46fd503a85c97ec9cd5859fa8c0fc8e3', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: 'd94a8db9bdc0f5ab359e3cb7b9c0cfb1002db550', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '5317a5bef89080a7e70732025ab030674fcb79c3', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: 'f46e83995276c83361933381bc620336ef44f166', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '933aee12e24e152a5a8628f303b7c7e9709baf64', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
68
- h(DetailSectionTitle, { key: '1e5233f88f9254c0a5525032470273e2f58ed59c', sectionTitle: 'Metadata' }),
69
- h("div", { key: '63678c1f4eb207a4aced6f132e95c7cd646da9a3', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '7e5095e9be051524e8ab17ffe380b1315c5f7c98', metadata: this.payout.metadata }))
67
+ return (h(StyledHost, { key: '5568a561f38c1d899171163d23b029766adb0e8a' }, this.loading && h(PayoutDetailsLoading, { key: '1c17be181850fde8e996b526d76c0452e7353e16' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'd507119400ed8885a0b0f3061f54c82cd2d151ca', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '2d6192cc947a78b0566401b07b661b5116378798', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (h(Badge, { variant: BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: 'd25b191987931a853b16d40b819c5e88ca3bba70', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: 'a669dae8e5699ca83326a799e07f5b9efb673850', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '2952d01e2d98ca87ad2a8f1349144dd8a0d6d87e', title: "ID", value: this.payout.id }), h("div", { key: '376886d0c0dfee789825f007f7bf17847a0e4f74', class: "m-4" }, h(Button, { key: '2ceae9f29c2b07efeba427a97a8ed79cac27c736', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: 'be5844790b248357d9d919830ee54f159f24268e', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '3a450675b1811d87cd61692f7a36443d56412e7b', sectionTitle: "Details" }), h("div", { key: 'c6fe4e20c5b7607cb7f7472a3f41245b1cccdf5c', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'aaa0e5d6d2d764e5b4ee430a21d94891cea55dd6', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '92f7534cc1cd4463ff9f4187dec79520bc728d38', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: 'd25daac9ecd7de9b3e379fbc6baeaba5f7c7db96', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: 'a648fbfdae282870dd7471d8e6fe414ca3e225d6', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '4720bfeae9fcb545aaa84b373bdea0000ab803ae', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '54d6f97ad54c2018d873062d15c63143ad899c4f', sectionTitle: "Account" }), h("div", { key: 'f46ec5329dc9a5301345fbff79cb95eada27c7d7', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '4b0432e3b43a54591bbcd007372d63359738e7f0', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: 'c4f24ea424336b398b73268869e42aa5efaba22c', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: 'a7735eff20bcd14399af5da2a1f83b308a5a7d1d', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '8f111b1b61509802d2fe743ca1b7f6197e5fd50b', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '85dd7ec442ac9dafe7b87bf7b036088166acd7ab', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
68
+ h(DetailSectionTitle, { key: '42bd46da966657dafe6db564829b6ecf41c0195e', sectionTitle: 'Metadata' }),
69
+ h("div", { key: '41124e965bdc0d0429f16e7693894bfa6c62c9df', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '718b728f4aaab7092530ed52de11348b8e68a2f6', metadata: this.payout.metadata }))
70
70
  ])))));
71
71
  }
72
72
  static get watchers() { return {
73
73
  "getPayout": ["getPayoutWatcher"]
74
74
  }; }
75
75
  }, [256, "payout-details-core", {
76
- "getPayout": [16, "get-payout"],
77
- "getPayoutCSV": [16, "get-payout-c-s-v"],
76
+ "getPayout": [16],
77
+ "getPayoutCSV": [16],
78
78
  "payout": [32],
79
79
  "loading": [32],
80
80
  "errorMessage": [32]
@@ -173,7 +173,7 @@ const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore e
173
173
  return !this.showEmptyState && !this.showErrorState && !this.loading;
174
174
  }
175
175
  render() {
176
- return (h(TableWrapper, { key: '503793db2fd72d3854bfa1eba2051bc822000a1a' }, h(TableComponent, { key: '1db195f7f1206bef7236ccd814c464c61b12f3d3' }, h(TableHead, { key: 'a61137a34fddf3f854102ec7a2964f127d7555f9' }, h(TableHeadRow, { key: '3d3c330e5758ccb4aa14bb7b5ae993d8d2c1718e' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'a483803ea8dd9db844f36f9f8c7a89e81d7322b4' }, h(TableLoadingState, { key: '10bee5e971e10b0313b9b411c292f8f65bf1cf82', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'c8ec9f17a98baa81b4b1830eb8d0bfad45cc8ee1', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: '94cd786053173ce22f797b0da263488cab9b5139', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '533bb1571ae70a03f60d13d5742296f425512919' }, h(TableFootRow, { key: '15924c92e5c9f2202066ebfa02aebc2c52fccee3' }, h(TableFootCell, { key: '48bd284c90d4ac044b5fd5f323c90fab5e9fdb5d', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: 'cfc4bc6b077267ced59bf8b2519ee0354e676560', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
176
+ return (h(TableWrapper, { key: '59994e4906090071601b397325d5f7069b8d8a22' }, h(TableComponent, { key: 'ce036662e9f46e7694dbc10b943fc1214f75daa0' }, h(TableHead, { key: 'af54a1f5719de98f09e328c38656d2c0118e15c4' }, h(TableHeadRow, { key: '2820111563b25c714bf471d899e138b6a2b6a364' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: '133f14f906b44122d1bcfd24e03cda0056ace227' }, h(TableLoadingState, { key: 'b4332c9c89bbad2f06b2b69f533d3fcc70e6ec3d', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'd23e5d640e3fe1f38b6f437a96d0a5f6e7832c28', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: 'edf58fb04ebabdcb0678a551d7d87a236baba849', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '081f88093dda02c81346b9eda6c3105bc6c7c0f1' }, h(TableFootRow, { key: '1b579bb5c8feb1f388f3ad2c25543f5d8f6b154d' }, h(TableFootCell, { key: '6a6ac8031d15ed7e2fc158028bcc7b44901faca8', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: 'ef890187c152081d1daf8cc870a81d75db439128', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
177
177
  }
178
178
  static get watchers() { return {
179
179
  "pagingParams": ["updateOnPropChange"],
@@ -181,9 +181,9 @@ const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore e
181
181
  "getSubAccounts": ["updateOnPropChange"]
182
182
  }; }
183
183
  }, [256, "payouts-list-core", {
184
- "getPayouts": [16, "get-payouts"],
185
- "getSubAccounts": [16, "get-sub-accounts"],
186
- "getPayoutCSV": [16, "get-payout-c-s-v"],
184
+ "getPayouts": [16],
185
+ "getSubAccounts": [16],
186
+ "getPayoutCSV": [16],
187
187
  "columns": [1],
188
188
  "payouts": [32],
189
189
  "payoutsTable": [32],
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { c as create$3, a as create$6, F as FormController } from './form.js';
3
3
  import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
4
- import { _ as heading5 } from './parts.js';
4
+ import { $ as heading5 } from './parts.js';
5
5
  import { d as defineCustomElement$5 } from './custom-popper2.js';
6
6
  import { d as defineCustomElement$4 } from './form-control-date2.js';
7
7
  import { d as defineCustomElement$3 } from './form-control-file-v22.js';
@@ -41,7 +41,7 @@ const ProductOrService = /*@__PURE__*/ proxyCustomElement(class ProductOrService
41
41
  }
42
42
  render() {
43
43
  var _a, _b, _c;
44
- return (h("div", { key: 'c93f5bc2e64f5e2964eb033cb6c972283841876b' }, h("div", { key: '7986f459ba9cc0d7e896a418ba4bd9e51148d36f', class: "row gy-3" }, h("div", { key: 'ddf033f861a5b91961294600a5d6d7261937711c', class: "col-12" }, h("h2", { key: '2a33306859a2982fbb3457831c29a98cd3e86c4f', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '385212b08cbdcd4d610c806f1f9b5d18446a9831', class: "col-12" }, h("form-control-text", { key: '210a8c07288473e93737e93659dc91e7f813e306', 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: '5a52ad00db803d2ddd0afe6ee7cde4b907e1ad1a', class: "col-12" }, h("form-control-date", { key: '1bdef3f3391b4a97aa3e97aefac3e29b5520f620', 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: 'd4fc75d0f175914e2fbb134e6449e1d45742a9f3', class: "col-12" }, h("form-control-file-v2", { key: '62e1ae0f42103f49bc5c93427b62ad90570634f8', 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 })))));
44
+ return (h("div", { key: '3560b76ef6eb095e247058bd65138baca3270d26' }, h("div", { key: '340ff32d302a7c255f4e3d2f7c6e32ed42ecd812', class: "row gy-3" }, h("div", { key: '4dd1cd92df58c39920940715c74b1cdc19206ea5', class: "col-12" }, h("h2", { key: 'd5f577c5169664f1d84bf64bdc85758c5033be9e', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '4a3c80fe6e8714adb4f195cafd6d0fe419f0d392', class: "col-12" }, h("form-control-text", { key: '637118ed43962371b9232fce583f65ee810132ca', 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: '7a52049834ea6a7ec1805f3a2e9aa4b827c5dc7b', class: "col-12" }, h("form-control-date", { key: '8eefafabd31fe7a9be19de0d13a1cecb6f61c043', 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: 'b445d6ffb5866da1e94e64d87e4d120e1f1e8993', class: "col-12" }, h("form-control-file-v2", { key: 'db218fa96ddaf2383a7f053ca4115333657e916b', 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 })))));
45
45
  }
46
46
  }, [256, "justifi-product-or-service", {
47
47
  "disputeResponse": [8, "dispute-response"],
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { c as create$3, a as create$6, F as FormController } from './form.js';
3
3
  import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
4
- import { _ as heading5 } from './parts.js';
4
+ import { $ as heading5 } from './parts.js';
5
5
  import { d as defineCustomElement$5 } from './custom-popper2.js';
6
6
  import { d as defineCustomElement$4 } from './form-control-file-v22.js';
7
7
  import { d as defineCustomElement$3 } from './form-control-help-text2.js';
@@ -41,7 +41,7 @@ const RefundPolicy = /*@__PURE__*/ proxyCustomElement(class RefundPolicy extends
41
41
  }
42
42
  render() {
43
43
  var _a, _b, _c, _d;
44
- return (h("div", { key: 'a300941b5472ab2cfd1dd212fbab4b280c132f73' }, h("div", { key: '1f11681c815c4f0676da384884b758b1bd49f3d1', class: "row gy-3" }, h("div", { key: '56f1575a5e2c7da5d725ca224b5d64163de0fd23', class: "col-12" }, h("h2", { key: '9ccb22c016184f233d1096b66380473a8e62c269', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: 'e602ac3e5fe3cbd3d12910d66cc8d879295a9e4a', class: "col-12" }, h("form-control-textarea", { key: 'f6e6dae3ab7d383da16fa5308933a77cf63f11d8', 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: '8cdb3b28847683f5fd4594eb64522c899e5ef993', class: "col-12" }, h("form-control-textarea", { key: 'c8e4b7c760cbe8bb9cb30818b0c29f6012092649', 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: '95c376af4517e3ee23afd64d479a6ae051f03d72', class: "col-12" }, h("form-control-file-v2", { key: 'dc2ef0d5911dbab2d820bc46563bbb7218390501', 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: 'b9d6ffb85e987f5037e414dde26e72f5219c0ea8', class: "col-12" }, h("form-control-file-v2", { key: 'c6513b7a2f9d68c2df2be8c21da0d16e03a6a885', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
44
+ return (h("div", { key: '47624ab9ecb43e67c11b92a779f306c3dfdf2983' }, h("div", { key: 'ed48b88318c23510deb37d4dc0f573a656b9f52a', class: "row gy-3" }, h("div", { key: 'd95b83dd2996710485c66bd853bd5c06f52b69e2', class: "col-12" }, h("h2", { key: '38dfdfc96d1f082a05c10709cba186eb97efafa2', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '61ee95c2f40109d36dd9649f91ba92a2daae8fb6', class: "col-12" }, h("form-control-textarea", { key: 'cb8a8d8e695dd1c8b4db4471cfb052a9983f38d2', 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: '4f88c32fdb04ac20fbc69be497f7d1a65a7de46e', class: "col-12" }, h("form-control-textarea", { key: '4b6720ade82fa44869b86289ec8f29fb53be9dc1', 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: 'fc70d14e807749f441d0d25e86dc99dc3168eceb', class: "col-12" }, h("form-control-file-v2", { key: '46d8bd0af0da9693e0efffd24a43214b487b968e', 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: '0d3f4c43419df58245f4a2c6efca51052ec926f3', class: "col-12" }, h("form-control-file-v2", { key: '770130dfa0920d22681614a71091c60af5057b1d', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
45
45
  }
46
46
  }, [256, "justifi-refund-policy", {
47
47
  "disputeResponse": [8, "dispute-response"],
@@ -23,7 +23,7 @@ const SaveNewPaymentMethod = /*@__PURE__*/ proxyCustomElement(class SaveNewPayme
23
23
  };
24
24
  }
25
25
  render() {
26
- return (h(StyledHost, { key: '0ac7e7b80c9a00737eed4f9345020994eb5d92bf' }, h("form-control-checkbox", { key: '3396c0a413c3d498d7cdccc12ad97739d97f74c8', label: this.label || 'Save New Payment Method', name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
26
+ return (h(StyledHost, { key: '28c13afd8a8f21e5f67e362c19c6e6225838f472' }, h("form-control-checkbox", { key: '205ae5a43d5634c4ec1e692d3e3b123e6b3adc34', label: this.label || 'Save New Payment Method', name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
27
27
  }
28
28
  }, [257, "justifi-save-new-payment-method", {
29
29
  "label": [1],
@@ -1,6 +1,7 @@
1
1
  import { a as create$6 } from './form.js';
2
- import { S as StateOptions } from './state-options.js';
3
- import { c as businessClassificationOptions, a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions, b as bankAccountTypeOptions } from './business-form-options.js';
2
+ import { S as StateOptions, a as CountryCode } from './Business.js';
3
+ import { b as countryValidation } from './country-config.js';
4
+ import { a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions, b as bankAccountTypeOptions } from './business-form-options.js';
4
5
 
5
6
  const transformEmptyString = (value) => {
6
7
  return value === '' ? null : value;
@@ -43,9 +44,7 @@ const doingBusinessAsValidation = create$6()
43
44
  const websiteUrlValidation = create$6()
44
45
  .matches(urlRegex, 'Enter valid website url')
45
46
  .transform(transformEmptyString);
46
- const businessClassificationValidation = create$6()
47
- .oneOf(businessClassificationOptions.map((option) => option.value), 'Select business classification')
48
- .transform(transformEmptyString);
47
+ const businessClassificationValidation = create$6().transform(transformEmptyString);
49
48
  const industryValidation = create$6()
50
49
  .min(2, 'Industry must be at least 2 characters')
51
50
  .max(50, 'Industry must be less than 50 characters')
@@ -59,6 +58,42 @@ const taxIdValidation = create$6()
59
58
  return value !== '123456789';
60
59
  })
61
60
  .transform(transformEmptyString);
61
+ // Country-aware helpers (backward compatible)
62
+ const makePostalValidation = (country) => create$6()
63
+ .matches(countryValidation[country].postalRegex, 'Enter valid postal code')
64
+ .transform(transformEmptyString);
65
+ const makeIdentityNumberValidation = (country) => {
66
+ if (country === CountryCode.CAN) {
67
+ return create$6()
68
+ .matches(numbersOnlyRegex, 'Enter valid SIN')
69
+ .length(countryValidation[country].identityDigits, 'Enter valid SIN')
70
+ .test('not-repeat', 'Enter valid SIN', (value) => {
71
+ return !/^(\d)\1+$/.test(value);
72
+ })
73
+ .test('not-seq', 'Enter valid SIN', (value) => {
74
+ return value !== '123456789';
75
+ })
76
+ .transform(transformEmptyString);
77
+ }
78
+ // USA default (SSN)
79
+ return ssnValidation;
80
+ };
81
+ const makeTaxIdValidation = (country) => {
82
+ if (country === CountryCode.CAN) {
83
+ return create$6()
84
+ .matches(numbersOnlyRegex, 'Enter valid Business Number (BN)')
85
+ .length(countryValidation[country].taxIdDigits, 'Enter valid Business Number (BN)')
86
+ .test('not-repeat', 'Enter valid Business Number (BN)', (value) => {
87
+ return !/^(\d)\1+$/.test(value);
88
+ })
89
+ .test('not-seq', 'Enter valid Business Number (BN)', (value) => {
90
+ return value !== '123456789';
91
+ })
92
+ .transform(transformEmptyString);
93
+ }
94
+ // USA default
95
+ return taxIdValidation;
96
+ };
62
97
  const dateOfIncorporationValidation = create$6()
63
98
  .test('not-future', 'Date of incorporation cannot be in the future', (value) => {
64
99
  const inputDate = new Date(value);
@@ -183,4 +218,4 @@ const routingNumberValidation = create$6()
183
218
  })
184
219
  .transform(transformEmptyString);
185
220
 
186
- export { accountNumberValidation as A, accountTypeValidation as B, nicknameValidation as C, bankNameValidation as D, revenueValidation as a, recurringPaymentsPercentageValidation as b, postalValidation as c, stateValidation as d, cityValidation as e, lineOneValidation as f, dateOfIncorporationValidation as g, industryValidation as h, identityNameValidation as i, businessClassificationValidation as j, doingBusinessAsValidation as k, lineTwoValidation as l, phoneValidation as m, emailValidation as n, otherPaymentDetailsValidation as o, paymentVolumeValidation as p, websiteUrlValidation as q, recurringPaymentsValidation as r, seasonalBusinessValidation as s, taxIdValidation as t, businessNameValidation as u, ssnValidation as v, whenServiceReceivedValidation as w, dobValidation as x, identityTitleValidation as y, routingNumberValidation as z };
221
+ export { makeIdentityNumberValidation as A, makePostalValidation as B, accountNumberValidation as C, accountTypeValidation as D, nicknameValidation as E, bankNameValidation as F, numbersOnlyRegex as G, routingNumberValidation as H, revenueValidation as a, recurringPaymentsPercentageValidation as b, postalValidation as c, stateValidation as d, cityValidation as e, lineOneValidation as f, dateOfIncorporationValidation as g, industryValidation as h, identityNameValidation as i, businessClassificationValidation as j, doingBusinessAsValidation as k, lineTwoValidation as l, makeTaxIdValidation as m, phoneValidation as n, otherPaymentDetailsValidation as o, paymentVolumeValidation as p, emailValidation as q, recurringPaymentsValidation as r, seasonalBusinessValidation as s, websiteUrlValidation as t, businessNameValidation as u, taxIdValidation as v, whenServiceReceivedValidation as w, ssnValidation as x, dobValidation as y, identityTitleValidation as z };
@@ -70,7 +70,7 @@ const SezzlePaymentMethod = /*@__PURE__*/ proxyCustomElement(class SezzlePayment
70
70
  }
71
71
  render() {
72
72
  var _a, _b;
73
- if (!checkoutStore.bnplEnabled || checkoutStore.disableBnpl) {
73
+ if (!checkoutStore.bnplEnabled) {
74
74
  console.warn('justifi-sezzle-payment-method: BNPL is not enabled for this account.');
75
75
  return null;
76
76
  }
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { c as create$3, a as create$6, F as FormController } from './form.js';
3
3
  import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
4
- import { _ as heading5 } from './parts.js';
4
+ import { $ as heading5 } from './parts.js';
5
5
  import { d as defineCustomElement$7 } from './custom-popper2.js';
6
6
  import { d as defineCustomElement$6 } from './form-control-date2.js';
7
7
  import { d as defineCustomElement$5 } from './form-control-file-v22.js';
@@ -46,7 +46,7 @@ const ShippingDetails = /*@__PURE__*/ proxyCustomElement(class ShippingDetails e
46
46
  }
47
47
  render() {
48
48
  var _a, _b, _c, _d, _e;
49
- return (h("div", { key: '4556d3dbedce4833b63302f78f467ccf71cce02c' }, h("div", { key: '18569ca4c37bbf7b82a13db6c8ae878d0b2c12fa', class: "row gy-3" }, h("div", { key: '001f41285eda4237686861df1aaaad24836fbf7c', class: "col-12" }, h("h2", { key: '3193324c11f5ca7c81de99cd224e2f8a8d21a43d', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: 'e312e8aee070bee2b317dc7f6f9e616dc3cbd26e', class: "col-12" }, h("form-control-text", { key: '69a90af0a8c328b7e0eba67d39ac3f2f4ffd3439', 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: '5c4ca04204a7467918e2e130d6ee437a4c5db85b', class: "col-12" }, h("form-control-text", { key: '266415e75633d4d4b5062f56ec43d47e60e03aa1', 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: '90088259556bbfce03c87af029ea53efc4c394de', class: "col-12" }, h("form-control-date", { key: 'b5eaf92844540c4536f8296e8668ed7e826dfd1f', 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: '180c72ec5c37cb7bca2edbf3d158d4973c149084', class: "col-12" }, h("form-control-textarea", { key: '924cae54e30cba491dd4ce10bb514a7374a1d793', 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: 'b7f06251c0a03bec0b6622b9d05c7c55d7d6bb13', class: "col-12" }, h("form-control-file-v2", { key: '832da84ac1f4822ac882c03d60b169a2351ffb8e', 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 })))));
49
+ return (h("div", { key: '5d6f7387470632f1477d70e63884e7f220bbf3c3' }, h("div", { key: '33435f8d374285ea7da21ba19077ce6a7d64f877', class: "row gy-3" }, h("div", { key: 'dd9e36fcb5a920815b65f2da7ffaae6624762b2e', class: "col-12" }, h("h2", { key: 'fc9f218047ccbb8d36f9ae659cae8608c4a17c98', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '3837754c1ca9827c6eefe8bd015753e757f6ecce', class: "col-12" }, h("form-control-text", { key: 'f92430e331cdc1e548823ee50e19bf6a0138061c', 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: '4b75c4ba88d83560288e567f06d3aa8bd60c02d3', class: "col-12" }, h("form-control-text", { key: '9c20d40ec5e39b8eda0324f83c9bcc7ae0aaec97', 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: 'c2ea40c473883b76644794473b6a61b44a00a9fa', class: "col-12" }, h("form-control-date", { key: '8bb7a4f77956e6ad738bb216143bd81dd06c9b8a', 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: '0f488c098004accd493d17b43e9f5e03c8aa2e04', class: "col-12" }, h("form-control-textarea", { key: '06668e8e56aabab9d618b35c0b179476595a5af5', 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: 'c6c0191e78a0dad7d915ad146181c9c702b5f946', class: "col-12" }, h("form-control-file-v2", { key: '816cf6e130f8c986811c161499d9325d7dd5d7fc', 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 })))));
50
50
  }
51
51
  }, [256, "justifi-shipping-details", {
52
52
  "disputeResponse": [8, "dispute-response"],
@@ -16,7 +16,7 @@ const Summary = /*@__PURE__*/ proxyCustomElement(class Summary extends HTMLEleme
16
16
  this.__attachShadow();
17
17
  }
18
18
  render() {
19
- return (h(StyledHost, { key: '3161e6f6a196c79d684574cafbc90bcf741b2150' }, h("section", { key: '594b4485ed4fd9d7c1ee7f4556f071139f92ef0c' }, h("div", { key: '5c2d14677dda6fc7ddcb074d4887b839385dca3a' }, h("div", { key: 'fb850cd7e9c11741349710696dd4e6241c98e805', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: '959014d7fa2a9c97bae0c986313a604930c1e0f3' }, h("span", { key: '14ab0932a083568419b1c36c95f9072c73962b11', part: text }, "Total"), "\u00A0", h("span", { key: '08a9e00332253070ae984b77eb2a9bab88eb3472', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
19
+ return (h(StyledHost, { key: '486de82e23fb45c7dbe804e92687ee380643483e' }, h("section", { key: '45a41fb60275d5c50b994aa47bed8db6df231b77' }, h("div", { key: 'ea4d92fdce0182538a3f42e314c7e9a9bc8e75eb' }, h("div", { key: '35158706826e010c86f7fcb43da383c726fe595b', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: 'e2caeff8e0b4ba4a549cc256ab6df0ad44d3cebb' }, h("span", { key: '104c839b0a5c518d115fc34d66082c035e1b76ac', part: text }, "Total"), "\u00A0", h("span", { key: '79fac509d988600dd8c7e99f6c1be82956ea8219', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
20
20
  }
21
21
  }, [257, "justifi-checkout-summary"]);
22
22
  function defineCustomElement() {
@@ -31,14 +31,14 @@ const TableFiltersMenu = /*@__PURE__*/ proxyCustomElement(class TableFiltersMenu
31
31
  this.showClearButton = hasFilters(this.params);
32
32
  }
33
33
  render() {
34
- return (h("div", { key: 'db1619bbaa73d4102c684b2ca1b4897d1c36fa66', class: "d-flex gap-2" }, h("div", { key: '68f4538d4465aadbf20e322264e219ce7ca8078a', class: "dropdown pb-3" }, h("button", { key: 'cc1835756c1fa2a24a4bbc4ec2960caca0d24e75', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '14f88ecd195fcf3770cadd71659b00d4c117c460', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'd33a6875f30413f3a2f5b8d706cf0bf0e3d6620a', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '5923bb3684fc9f710a6686d9bf90a6d0f35a1818' })))), h("div", { key: 'eba66abc4ef60bf7603fd9459cf4040ed6105e8c' }, h(Button, { key: 'f5de28962ac56636904cee2a5e5d41204e07143c', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
34
+ return (h("div", { key: '666d19b7f8dfa697155195faf6cafed8e001a3a1', class: "d-flex gap-2" }, h("div", { key: 'e8c5ce6acf0e981e974ec7dac626fa1133de91b1', class: "dropdown pb-3" }, h("button", { key: '019fe2ecdeac0d436b343489de8c58c28299b3eb', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '1264bdb0fad73a14857cd08774c5965b36e8e7cc', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'a5474b3d320f0ef1ac44ce386a0fe06543c4dc56', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '2bcaecc2051576ef38accd6195f041859c94ed32' })))), h("div", { key: '5adfbe93c5ec7e7b953e33a92d197dd52f12291f' }, h(Button, { key: '60ae8725304a6fe6ef1e994deab0151c2c5bebd1', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
35
35
  }
36
36
  static get watchers() { return {
37
37
  "params": ["watchParamsHandler"]
38
38
  }; }
39
39
  }, [260, "table-filters-menu", {
40
40
  "params": [8],
41
- "clearParams": [16, "clear-params"],
41
+ "clearParams": [16],
42
42
  "anchorButton": [32],
43
43
  "menu": [32],
44
44
  "showClearButton": [32]
@@ -164,7 +164,7 @@ const TerminalOrdersListCore = /*@__PURE__*/ proxyCustomElement(class TerminalOr
164
164
  return !this.showEmptyState && !this.showErrorState && !this.loading;
165
165
  }
166
166
  render() {
167
- return (h(TableWrapper, { key: 'a8131df17851ab1468e025932371fa4b97ccc144' }, h(TableComponent, { key: '0fc81f64fb8a8f138f25c70522d046921edbd094' }, h(TableHead, { key: '7cc8be0184008cf08128eb1f241ab670538ecc65' }, h(TableHeadRow, { key: '5a7aa37a2b8f02469ca6c703e098da9431c0b45f' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: 'ff32aad8d5c4f319550d47ae1e0f77b617aa3d70' }, h(TableLoadingState, { key: 'dcc25430c77867a2c9639eba359c0d54cbacb73a', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '474ecda7420d595f49777f31910a380b48a8a1bc', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: 'd91e28581823ca91778159914157a003b011caaf', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '6dea4a93ab757d35916b9351e4e5fa7f76b4afd9' }, h(TableFootRow, { key: '5098c2d994bb0ba397bc94d7a0e9419b06e582a5' }, h(TableFootCell, { key: '5a8f90708691987f672cde0c102323225568d989', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '509e53f4c070fc9a8b479dc673c526417aceb5ef', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
167
+ return (h(TableWrapper, { key: '71743bd2440b3b00ecafe74ddf9a0f48a96dbe6c' }, h(TableComponent, { key: '942af2def8486e3ff6d9cb9244bd88061b48db90' }, h(TableHead, { key: '32bcb4a7c21292ab9742dc509b921bd2f3b5ff5e' }, h(TableHeadRow, { key: '978a80218e60edd29d8799130c98f4772b471586' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: 'ef5a80cbc4868cc75fdfc19d58a6cee8928546ef' }, h(TableLoadingState, { key: 'dd773a17e38a975dd3821a104bfad75d83ed907e', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '8a857149326cc110d2daf440875cd977b8f2e2d6', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '1c9dfccef7c8675539290f53d3b6c615261c713a', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '2ba8b5c118f45affadf0bdf6ec9d013d4ac98636' }, h(TableFootRow, { key: 'a756ee19c1f4c36975f65aec354a4480f5563ea4' }, h(TableFootCell, { key: '7549ac667748d24c2f581eb13a5e0cd65c17697b', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '98178188d80869e44ceade1e225655a1f2d62ceb', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
168
168
  }
169
169
  static get watchers() { return {
170
170
  "pagingParams": ["updateOnPropChange"],
@@ -172,7 +172,7 @@ const TerminalOrdersListCore = /*@__PURE__*/ proxyCustomElement(class TerminalOr
172
172
  "columns": ["updateOnPropChange"]
173
173
  }; }
174
174
  }, [256, "terminal-orders-list-core", {
175
- "getTerminalOrders": [16, "get-terminal-orders"],
175
+ "getTerminalOrders": [16],
176
176
  "columns": [1],
177
177
  "terminalOrders": [32],
178
178
  "terminalOrdersTable": [32],
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { q as card, Y as image, Z as buttonLink } from './parts.js';
2
+ import { q as card, Z as image, _ as buttonLink } from './parts.js';
3
3
  import { d as defineCustomElement$2 } from './custom-popper2.js';
4
4
  import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
5
5
 
@@ -26,7 +26,7 @@ const TerminalQuantitySelector = /*@__PURE__*/ proxyCustomElement(class Terminal
26
26
  };
27
27
  }
28
28
  render() {
29
- return (h("div", { key: '852621f3c36375e9c300201e4405c95501488c6d', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: '1695cd25eaf56619ef4cc39d81c11ca9b6a5cd45', class: "d-flex gap-3" }, h("div", { key: '9930b0bd8881bc70bc5bdb2b31428980ec83a49b', class: "d-flex align-items-center" }, h("img", { key: 'ac71b5e64fd9081e8dc9c962cac1e747f2234fc4', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '0d575087df793cdeaf7bc04744d60647ea7d563f', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: '35f18a705ee606a825c8ad7a6ebe449e6941e4e5', class: "row" }, h("div", { key: 'bf4f916904479fc7abf3167cacd9a655709a5048', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: '1a96f19f6f9732c5f8d9dbb2405de2d3f24b142d', helpText: this.description })), h("div", { key: 'af1ca75c5134c832d8f64b63833b7494c8c11ca5', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: '0d400a00a808c508ba870dc8e37d597581dd86ae', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: '4348aef4cf19c02c574242f82061087e74e82617', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: '75791dfdb7861bb7c1e4a2dc5376bceb12a19009', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
29
+ return (h("div", { key: 'f05ebce500fb462f6e92351386b14ea0f1968139', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: 'ebf32f2ac9ee978f08d4c146d6022fb0ad92774f', class: "d-flex gap-3" }, h("div", { key: 'adb4e21d7ea60318b9b977f9f5fe7f52261a1949', class: "d-flex align-items-center" }, h("img", { key: '6e64b6e9b56a651708529d14919ba97feeb44862', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: 'cd4bdf915458e857b8986a65e8127409782c73ae', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: 'f6f70ca349493eea14d08d71b156a45c0c0d6852', class: "row" }, h("div", { key: '45b80f642748e9ef52df59e79fd2133d7f6d42b4', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: 'f48f14c05bae0b817208d37b159b90fa52155b5c', helpText: this.description })), h("div", { key: '340152ebf444ecae6118d7b0411cbc892dae08dc', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: 'fb16cb533eb0b4b6f4826323ff181bda7925b672', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: '13ff697e39207f42e1e805169ebcf559b3b864a5', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: '248a028259b6bbf3eff7cd42aef9d492bb11d298', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
30
30
  }
31
31
  }, [256, "terminal-quantity-selector", {
32
32
  "modelName": [1, "model-name"],
@@ -182,7 +182,7 @@ const TerminalsListCore = /*@__PURE__*/ proxyCustomElement(class TerminalsListCo
182
182
  return !this.showEmptyState && !this.showErrorState && !this.loading;
183
183
  }
184
184
  render() {
185
- return (h(TableWrapper, { key: '27022f23dcede378c6a6d16bffb040aa6448f4be' }, h(TableComponent, { key: '5d369cf93698adb50b843f65c747672abeb74cb4' }, h(TableHead, { key: '21173a74ccb82d7c3278157dae4ef3d471dbee5f' }, h(TableHeadRow, { key: '43e425567500ff324fd6ed68647a9504df812bf6' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: '1151ee93144161308f8b27b0172acb32d2096d25' }, h(TableLoadingState, { key: '353fb24dfbd941e8bba6f62799e0feea42d05c53', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'daa19b965b5519e766ba8bbb63cfc4327128bf22', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: 'ee44061fa93cd20a59040a7b3faaeac10a925810', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '12cb09495ba8d416fd3593ccae4f205735226ecf' }, h(TableFootRow, { key: 'da2e2695e6101193db9f67a0a76ce1ce8abdc646' }, h(TableFootCell, { key: 'bffd81b4e90e668caa47813f96ab1a7764fa0f1b', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '61c268da3402e0675f54515617a6bd2d58834e17', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
185
+ return (h(TableWrapper, { key: 'cfe1ede487eed5a2723af6bc3df664b8a00803f8' }, h(TableComponent, { key: '7e14a73b25a1bd8fc929625baac78ad73b97f25a' }, h(TableHead, { key: 'e0e0f0b02883ea5568f8f9cef7efea7084421a2c' }, h(TableHeadRow, { key: 'fce520af31336e6ea90c47bc277f76f7e78f6708' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: '59b20605909357d3bf5967c6e23041c07b1b5823' }, h(TableLoadingState, { key: 'c838ebc2443a857aa706d0bf495a19eb00b5af0d', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'a2a8eaaa3e2cbb1d8e64dce0ca55a0741ee857d2', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '2d323895c034ae25d4e4b440f0cf98c4de20efdf', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'c9f5a05d1c661f7e0780ec161b0afa6a74d5cf8e' }, h(TableFootRow, { key: '888f97557066f6003e1b09acf47aa4a75f6ff59d' }, h(TableFootCell, { key: 'db634074f6a089b52f7df8ce55af6f8499e3ba72', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: 'a30886dd1354edd40d3818215e29ec57cf70c7c1', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
186
186
  }
187
187
  static get watchers() { return {
188
188
  "pagingParams": ["updateOnPropChange"],
@@ -191,8 +191,8 @@ const TerminalsListCore = /*@__PURE__*/ proxyCustomElement(class TerminalsListCo
191
191
  "columns": ["updateOnPropChange"]
192
192
  }; }
193
193
  }, [256, "terminals-list-core", {
194
- "getTerminals": [16, "get-terminals"],
195
- "getSubAccounts": [16, "get-sub-accounts"],
194
+ "getTerminals": [16],
195
+ "getSubAccounts": [16],
196
196
  "columns": [1],
197
197
  "terminals": [32],
198
198
  "terminalsTable": [32],
@@ -277,7 +277,7 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
277
277
  return paymentMethodType === PAYMENT_METHODS.NEW_CARD ? (h("justifi-card-form", { ref: (el) => (this.paymentMethodFormRef = el) })) : (h("justifi-bank-account-form", { ref: (el) => (this.paymentMethodFormRef = el) }));
278
278
  }
279
279
  render() {
280
- return (h(StyledHost, { key: '5fc5dad15215fe24b421f4d6c13355fb849b8a76' }, h("form", { key: '0e0330e5b11ee3ae0bef9e092fa2fb2a0a6af3e7' }, h("fieldset", { key: 'ee4c026ccda62a249e019a9e105e40ea465fc400' }, h("div", { key: '15a8a86fa5be8a545745260d76a8c3b2569d6a0e', class: "row gy-3" }, h("div", { key: 'bbbeed6ee96311394a876b4beb206e8e335184c2', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: 'da2a2009abe4348e25a5fc712557e81e9f6c4c1f', class: "col-12" }, h("justifi-button", { key: '050939c757999383226f281ee0eff1ec178be203', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
280
+ return (h(StyledHost, { key: '373ac317c7a4c4c808ca67e8bf63be28c5dd43b4' }, h("form", { key: 'da07764bca9a6af5baf6b3bf025c1abf9661e4b7' }, h("fieldset", { key: 'af277c0c07697969a2c83dcbac6017a596c22077' }, h("div", { key: '1dc0ea324a4ed69eceb240504f320f1c1dfcf6b3', class: "row gy-3" }, h("div", { key: 'feaaff69b06663e759864857f6d15eec2aa31819', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: '0dbee981688f541bfcf638c55698444f6a4eb9b4', class: "col-12" }, h("justifi-button", { key: '851dfb38a1a92c9990050dc17c55a693f3875afd', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
281
281
  }
282
282
  get host() { return this; }
283
283
  static get watchers() { return {
@@ -7,6 +7,8 @@ export interface IBankAccount {
7
7
  acct_last_four?: string;
8
8
  account_number_last4?: string;
9
9
  routing_number?: string;
10
+ institution_number?: string;
11
+ transit_number?: string;
10
12
  bank_name?: string;
11
13
  country?: string;
12
14
  currency?: string;
@@ -26,6 +28,8 @@ export declare class BankAccount implements IBankAccount {
26
28
  acct_last_four?: string;
27
29
  account_number_last4?: string;
28
30
  routing_number?: string;
31
+ institution_number?: string;
32
+ transit_number?: string;
29
33
  bank_name?: string;
30
34
  country?: string;
31
35
  currency?: string;
@@ -41,6 +45,8 @@ export declare class BankAccount implements IBankAccount {
41
45
  account_type: string;
42
46
  account_number: string;
43
47
  routing_number: string;
48
+ institution_number: string;
49
+ transit_number: string;
44
50
  bank_name: string;
45
51
  nickname: string;
46
52
  business_id: string;
@@ -1,6 +1,7 @@
1
1
  import { Identity } from './Identity';
2
2
  import { IDocument } from './Document';
3
3
  import { IBankAccount } from './BankAccount';
4
+ import { CountryCode } from '../utils/country-codes';
4
5
  export declare enum BusinessFormServerErrors {
5
6
  fetchData = "Error retrieving business data",
6
7
  patchData = "Error updating business data"
@@ -89,6 +90,7 @@ export interface ICoreBusinessInfo {
89
90
  doing_business_as?: string;
90
91
  industry?: string;
91
92
  tax_id?: string;
93
+ tax_id_last4?: string;
92
94
  website_url?: string;
93
95
  email?: string;
94
96
  phone?: string;
@@ -100,6 +102,7 @@ export declare class CoreBusinessInfo implements ICoreBusinessInfo {
100
102
  doing_business_as: string;
101
103
  industry: string;
102
104
  tax_id: string;
105
+ tax_id_last4: string;
103
106
  website_url: string;
104
107
  email: string;
105
108
  phone: string;
@@ -137,10 +140,12 @@ export interface IBusiness {
137
140
  product_categories: ProductCategories;
138
141
  representative?: Identity | null;
139
142
  tax_id: string;
143
+ tax_id_last4: string;
140
144
  terms_conditions_accepted: boolean;
141
145
  updated_at: string;
142
146
  website_url: string;
143
147
  date_of_incorporation?: string;
148
+ country_of_establishment?: CountryCode;
144
149
  }
145
150
  export declare class Business implements IBusiness {
146
151
  additional_questions: IAdditionalQuestions;
@@ -161,11 +166,13 @@ export declare class Business implements IBusiness {
161
166
  platform_account_id: string;
162
167
  representative?: Identity | null;
163
168
  tax_id: string;
169
+ tax_id_last4: string;
164
170
  terms_conditions_accepted: boolean;
165
171
  updated_at: string;
166
172
  website_url: string;
167
173
  date_of_incorporation?: string;
168
174
  product_categories: ProductCategories;
175
+ country_of_establishment?: CountryCode;
169
176
  constructor(business: IBusiness);
170
177
  get payload(): {
171
178
  additional_questions: {
@@ -220,8 +227,10 @@ export declare class Business implements IBusiness {
220
227
  title: string;
221
228
  };
222
229
  tax_id: string;
230
+ tax_id_last4: string;
223
231
  website_url: string;
224
232
  date_of_incorporation: string;
233
+ country_of_establishment: CountryCode;
225
234
  };
226
235
  }
227
236
  export interface IProductReadiness {
@@ -1,5 +1,6 @@
1
1
  import { FormController } from '../../../../ui-components/form/form';
2
2
  import { ICoreBusinessInfo } from '../../../../api/Business';
3
+ import { CountryCode } from '../../../../utils/country-codes';
3
4
  /**
4
5
  *
5
6
  * The difference between this component and business-core-info-details
@@ -9,8 +10,10 @@ import { ICoreBusinessInfo } from '../../../../api/Business';
9
10
  */
10
11
  export declare class BusinessCoreInfo {
11
12
  formController: FormController;
13
+ country: CountryCode;
12
14
  errors: any;
13
15
  coreInfo: ICoreBusinessInfo;
16
+ isEditingTaxId: boolean;
14
17
  constructor();
15
18
  componentDidLoad(): void;
16
19
  inputHandler(name: string, value: string): void;
@@ -1,11 +1,13 @@
1
1
  import { EventEmitter } from '../../../stencil-public-runtime';
2
2
  import { BusinessFormServerErrors, IBusiness } from '../../../api/Business';
3
3
  import JustifiAnalytics from '../../../api/Analytics';
4
+ import { CountryCode } from '../../../utils/country-codes';
4
5
  import { ComponentClickEvent, ComponentErrorEvent, ComponentSubmitEvent } from '../../../api/ComponentEvents';
5
6
  export declare class BusinessForm {
6
7
  isLoading: boolean;
7
8
  isSaving: boolean;
8
9
  errorMessage: BusinessFormServerErrors;
10
+ country: CountryCode;
9
11
  authToken: string;
10
12
  businessId: string;
11
13
  hideErrors?: boolean;
@@ -1,9 +1,12 @@
1
1
  import { FormController } from '../../../../components';
2
+ import { CountryCode } from '../../../../utils/country-codes';
2
3
  export declare class BusinessRepresentative {
3
4
  formController: FormController;
4
5
  errors: any;
5
6
  representative: any;
6
- get identificationNumberLabel(): "Update SSN (optional)" | "SSN";
7
+ country: CountryCode;
8
+ isEditingIdentification: boolean;
9
+ get identificationNumberLabel(): "SSN" | "SSN (optional)" | "SIN" | "SIN (optional)";
7
10
  componentDidLoad(): void;
8
11
  inputHandler: (name: string, value: string) => void;
9
12
  onAddressFormUpdate: (values: any) => void;
@@ -1,9 +1,11 @@
1
1
  import { FormController } from '../../../../components';
2
2
  import { IAddress } from '../../../../api/Business';
3
+ import { CountryCode } from '../../../../utils/country-codes';
3
4
  export declare class LegalAddressForm {
4
5
  formController: FormController;
5
6
  errors: any;
6
7
  legal_address: IAddress;
8
+ country: CountryCode;
7
9
  constructor();
8
10
  componentDidLoad(): void;
9
11
  inputHandler(name: string, value: string): void;
@@ -1,8 +1,10 @@
1
+ import { CountryCode } from '../../../../utils/country-codes';
1
2
  import { IAddress } from '../../../../api/Business';
2
3
  export declare class IdentityAddressForm {
3
4
  handleFormUpdate: (values: any) => void;
4
5
  errors: any;
5
6
  defaultValues: any;
7
+ country: CountryCode;
6
8
  address: IAddress;
7
9
  handleAddressChange(newValues: any): void;
8
10
  inputHandler: (name: string, value: string) => void;