@justifi/webcomponents 6.1.0-rc.3 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (801) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/{Api-DqzbA2qk.js → Api-CjtvTD2_.js} +2 -2
  3. package/dist/cjs/{Business-DWHy_-z9.js → Business-DCRzZf0w.js} +9 -299
  4. package/dist/cjs/{Refund-BPSBtjQC.js → Refund-BnhHNKLz.js} +4 -3
  5. package/dist/cjs/additional-questions-details_5.cjs.entry.js +14 -13
  6. package/dist/cjs/{badge-BJVdpSU-.js → badge-CE3ss_OU.js} +2 -2
  7. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +112 -0
  8. package/dist/cjs/bank-account-form.cjs.entry.js +8 -8
  9. package/dist/cjs/{business-additional-questions-schema-CetDMUp7.js → business-additional-questions-schema-b8P-0T0O.js} +4 -26
  10. package/dist/cjs/business-details-core.cjs.entry.js +5 -5
  11. package/dist/cjs/{business-form-options-e9UFw4P-.js → business-form-options-CMII7nIK.js} +1 -1
  12. package/dist/cjs/business-identity-schema-aFUle0C9.js +51 -0
  13. package/dist/cjs/{business.service-Bv9o99Ll.js → business.service-Cj_NUZsr.js} +3 -3
  14. package/dist/cjs/{button-_YJuE8cy.js → button-gPNZ9XRn.js} +2 -2
  15. package/dist/cjs/card-form.cjs.entry.js +8 -8
  16. package/dist/cjs/{check-pkg-version-CadxBsjl.js → check-pkg-version-C7b-OLb5.js} +4 -4
  17. package/dist/cjs/{checkout.service-dLB93w3Z.js → checkout.service-Bc8L9ixO.js} +3 -3
  18. package/dist/cjs/{checkout.store-DC4yVxDj.js → checkout.store-Bswr7kNY.js} +5 -1
  19. package/dist/cjs/checkouts-list-core.cjs.entry.js +15 -13
  20. package/dist/cjs/{terminal-orders-list-params-state-ARjo40Y9.js → checkouts-list-params-state-BYpq-c6X.js} +1 -1
  21. package/dist/cjs/{checkouts-table-C102WCfy.js → checkouts-table-C5AHeIr0.js} +4 -4
  22. package/dist/cjs/{config-state-BeZM7X7J.js → config-state-C7babhLh.js} +1 -1
  23. package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_2.cjs.entry.js} +23 -3
  24. package/dist/cjs/{dispute.service-BmAAnNky.js → dispute.service-DhO_tuDc.js} +3 -3
  25. package/dist/cjs/form-alert_5.cjs.entry.js +17 -27
  26. package/dist/cjs/form-control-checkbox.cjs.entry.js +6 -6
  27. package/dist/cjs/form-control-date.cjs.entry.js +5 -5
  28. package/dist/cjs/{form-control-error-text-DJzNQrEz.js → form-control-error-text-BnMWn8U_.js} +2 -2
  29. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +6 -6
  30. package/dist/cjs/{form-control-help-text-DII6UDeq.js → form-control-help-text-DEi5vSjN.js} +2 -2
  31. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  32. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +7 -7
  33. package/dist/cjs/form-control-monetary.cjs.entry.js +7 -7
  34. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +107 -0
  35. package/dist/cjs/form-control-number.cjs.entry.js +6 -6
  36. package/dist/cjs/form-control-radio.cjs.entry.js +4 -4
  37. package/dist/cjs/{form-control-select_3.cjs.entry.js → form-control-select_2.cjs.entry.js} +7 -26
  38. package/dist/cjs/{form-input-masks-BnNFJ3IJ.js → form-input-masks-DgXd0f4V.js} +4 -9
  39. package/dist/cjs/{get-business-D9ZHyPem.js → get-business-o5jPq_ME.js} +1 -1
  40. package/dist/cjs/{get-payment-details-BHPHzSkH.js → get-payment-details-BinT-ZEP.js} +3 -3
  41. package/dist/cjs/{get-subaccounts-Bw76aYu0.js → get-subaccounts-BoTVdl7v.js} +4 -4
  42. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +26 -17
  43. package/dist/cjs/{header-1-Da7oKhXY.js → header-1-D3r87SC6.js} +2 -2
  44. package/dist/cjs/{header-3-uBM_CzcP.js → header-3-BFQJJgBb.js} +2 -2
  45. package/dist/cjs/helpers-B5OCqlIM.js +35 -0
  46. package/dist/cjs/hidden-input_2.cjs.entry.js +9 -9
  47. package/dist/cjs/{index-CaAefsWD.js → index-Bhtk1qkX.js} +5 -2
  48. package/dist/cjs/{index-D-CfIyoF.js → index-CWM5ions.js} +1 -1
  49. package/dist/cjs/{input-handlers-D6QMwPTB.js → input-handlers-DYl_0IwC.js} +2 -2
  50. package/dist/cjs/{insurance-state-KJzYGtVr.js → insurance-state-JbqYvJN3.js} +3 -3
  51. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +72 -129
  52. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +26 -25
  53. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
  54. package/dist/cjs/{justifi-checkout-summary_7.cjs.entry.js → justifi-apple-pay_8.cjs.entry.js} +898 -25
  55. package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +32 -31
  56. package/dist/cjs/justifi-business-details.cjs.entry.js +15 -13
  57. package/dist/cjs/justifi-business-form.cjs.entry.js +23 -27
  58. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +8 -16
  59. package/dist/cjs/justifi-checkout.cjs.entry.js +16 -14
  60. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +12 -10
  61. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +18 -16
  62. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  63. package/dist/cjs/justifi-details.cjs.entry.js +4 -4
  64. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
  65. package/dist/cjs/justifi-dispute-management.cjs.entry.js +13 -11
  66. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +19 -17
  67. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +13 -11
  68. package/dist/cjs/justifi-order-terminals.cjs.entry.js +18 -16
  69. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +21 -30
  70. package/dist/cjs/justifi-payment-details.cjs.entry.js +23 -14
  71. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +25 -40
  72. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +13 -11
  73. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +17 -15
  74. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +8 -8
  75. package/dist/cjs/justifi-payments-list.cjs.entry.js +18 -16
  76. package/dist/cjs/justifi-payout-details.cjs.entry.js +16 -13
  77. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +17 -15
  78. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +8 -8
  79. package/dist/cjs/justifi-payouts-list.cjs.entry.js +19 -17
  80. package/dist/cjs/justifi-refund-payment.cjs.entry.js +17 -15
  81. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +3 -3
  82. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +16 -14
  83. package/dist/cjs/justifi-skeleton.cjs.entry.js +5 -5
  84. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +13 -11
  85. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +16 -14
  86. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +14 -11
  87. package/dist/cjs/justifi-terminals-list.cjs.entry.js +18 -16
  88. package/dist/cjs/loader.cjs.js +2 -2
  89. package/dist/cjs/{package-CVxkAS_m.js → package-BHmdO9eK.js} +1 -1
  90. package/dist/cjs/pagination-menu.cjs.entry.js +5 -5
  91. package/dist/cjs/{parts-9jMf1erK.js → parts-Pb06tUMp.js} +2 -0
  92. package/dist/cjs/payment-details-core.cjs.entry.js +34 -16
  93. package/dist/cjs/payment-method-option.cjs.entry.js +4 -4
  94. package/dist/cjs/{payment.service-DODmonNs.js → payment.service-C9thkR4g.js} +3 -3
  95. package/dist/cjs/payments-list-core.cjs.entry.js +16 -14
  96. package/dist/cjs/{payments-list-params-state-ARjo40Y9.js → payments-list-params-state-BYpq-c6X.js} +1 -1
  97. package/dist/cjs/{payments-status-5IzqwLep.js → payments-status-CnNXcRLO.js} +21 -3
  98. package/dist/cjs/{payments-table-BcZ6U6p8.js → payments-table-BGuCOPTJ.js} +4 -4
  99. package/dist/cjs/payout-details-core.cjs.entry.js +25 -12
  100. package/dist/cjs/{payout.service-Do8DxBxe.js → payout.service-CGZxpQMq.js} +3 -3
  101. package/dist/cjs/payouts-list-core.cjs.entry.js +16 -14
  102. package/dist/cjs/{checkouts-list-params-state-ARjo40Y9.js → payouts-list-params-state-BYpq-c6X.js} +1 -1
  103. package/dist/cjs/{payouts-status-D38A6UrI.js → payouts-status-2na6MMgV.js} +2 -2
  104. package/dist/cjs/{payouts-table-Cn_cCCOY.js → payouts-table-DXekpbYc.js} +4 -4
  105. package/dist/cjs/{schema-validations-0mjPveQ0.js → schema-validations-Bj7eYNO8.js} +6 -45
  106. package/dist/cjs/{skeleton-DlPP4i_w.js → skeleton-BvdAh448.js} +2 -2
  107. package/dist/cjs/{spinner-BNWG01hP.js → spinner-Rt52JMa2.js} +2 -2
  108. package/dist/cjs/state-options-CIT9xdTz.js +246 -0
  109. package/dist/cjs/{styled-host-DSpt9LtB.js → styled-host-BSooSIhA.js} +1 -1
  110. package/dist/cjs/{table-CAWBqvW5.js → table-Ccg4k90C.js} +3 -3
  111. package/dist/cjs/table-filters-menu.cjs.entry.js +4 -4
  112. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +15 -13
  113. package/dist/cjs/{payouts-list-params-state-ARjo40Y9.js → terminal-orders-list-params-state-BYpq-c6X.js} +1 -1
  114. package/dist/cjs/{terminal-orders-table-BUA4LcEc.js → terminal-orders-table-7ew1vCKk.js} +7 -7
  115. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +3 -3
  116. package/dist/cjs/{terminal.service-bxQnc1JY.js → terminal.service-BkKxH-k4.js} +3 -3
  117. package/dist/cjs/terminals-list-core.cjs.entry.js +15 -13
  118. package/dist/cjs/terminals-list-params-state-BYpq-c6X.js +22 -0
  119. package/dist/cjs/{terminals-table-C2_M7SWl.js → terminals-table-ByYs-pH7.js} +9 -4
  120. package/dist/cjs/{utils-ChCUZgUy.js → utils-Bab-tddY.js} +4 -0
  121. package/dist/cjs/{utils-C6mfHWv-.js → utils-CUcA4G_O.js} +5 -5
  122. package/dist/cjs/webcomponents.cjs.js +3 -3
  123. package/dist/collection/api/BankAccount.js +0 -4
  124. package/dist/collection/api/Business.js +1 -16
  125. package/dist/collection/api/Terminal.js +1 -0
  126. package/dist/collection/api/services/apple-pay.service.js +3 -0
  127. package/dist/collection/collection-manifest.json +3 -6
  128. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -1
  129. package/dist/collection/components/business-details/owner-details/owner-details.js +9 -8
  130. package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
  131. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +6 -7
  132. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +4 -36
  133. package/dist/collection/components/business-forms/business-form/business-form.js +2 -6
  134. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +9 -46
  135. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +10 -32
  136. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +6 -26
  137. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +3 -29
  138. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +6 -48
  139. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -26
  140. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  141. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
  142. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -2
  143. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +5 -36
  144. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -26
  145. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +7 -47
  146. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -26
  147. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +1 -26
  148. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -26
  149. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +4 -43
  150. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +4 -33
  151. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -26
  152. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
  153. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +10 -35
  154. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -26
  155. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +20 -39
  156. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  157. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +6 -34
  158. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  159. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  160. package/dist/collection/components/business-forms/schemas/business-address-schema.js +19 -41
  161. package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +39 -74
  162. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +4 -27
  163. package/dist/collection/components/business-forms/schemas/business-form-schema.js +4 -7
  164. package/dist/collection/components/business-forms/schemas/business-identity-schema.js +24 -53
  165. package/dist/collection/components/business-forms/schemas/schema-validations.js +4 -41
  166. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  167. package/dist/collection/components/checkout/billing-form/billing-form.js +3 -2
  168. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  169. package/dist/collection/components/checkout/checkout.js +2 -2
  170. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  171. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  172. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  173. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  174. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  175. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  176. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  177. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  178. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  179. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  180. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  181. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  182. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  183. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  184. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  185. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  186. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  187. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  188. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  189. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  190. package/dist/collection/components/modular-checkout/modular-checkout.js +10 -8
  191. package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +49 -2
  192. package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
  193. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  194. package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
  195. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  196. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  197. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  198. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  199. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  200. package/dist/collection/components/payment-details/payment-details-core.js +19 -9
  201. package/dist/collection/components/payment-details/payment-details.js +28 -1
  202. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  203. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  204. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  205. package/dist/collection/components/payments-list/payments-list.js +1 -1
  206. package/dist/collection/components/payments-list/payments-status.js +19 -1
  207. package/dist/collection/components/payout-details/payout-details-core.js +57 -4
  208. package/dist/collection/components/payout-details/payout-details.js +22 -1
  209. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  210. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  211. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  212. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  213. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  214. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  215. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  216. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  217. package/dist/collection/components/terminals-list/terminals-list-filters.js +4 -3
  218. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  219. package/dist/collection/components/terminals-list/terminals-status.js +5 -0
  220. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +4 -3
  221. package/dist/collection/store/checkout.store.js +4 -0
  222. package/dist/collection/styles/parts.js +1 -1
  223. package/dist/collection/ui-components/apple-pay-button.js +6 -8
  224. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  225. package/dist/collection/ui-components/details/details.js +1 -1
  226. package/dist/collection/ui-components/details/utils.js +4 -4
  227. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  228. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  229. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  230. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  231. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  232. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  233. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  234. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  235. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  236. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  237. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  238. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  239. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  240. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -3
  241. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  242. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  243. package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
  244. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  245. package/dist/collection/utils/form-input-masks.js +0 -8
  246. package/dist/collection/utils/utils.js +4 -0
  247. package/dist/docs.json +330 -1140
  248. package/dist/esm/{Api-DLf3ihCB.js → Api-DhiA2e_P.js} +2 -2
  249. package/dist/esm/{Business-B5rtFhtR.js → Business-BCoP0TAV.js} +3 -290
  250. package/dist/esm/{Refund-BeI1WGfx.js → Refund-B-iOTRxz.js} +3 -2
  251. package/dist/esm/additional-questions-details_5.entry.js +14 -13
  252. package/dist/esm/{badge-CkfrkCoy.js → badge-CtdO-tEY.js} +2 -2
  253. package/dist/esm/bank-account-document-form-inputs_4.entry.js +107 -0
  254. package/dist/esm/bank-account-form.entry.js +8 -8
  255. package/dist/esm/{business-additional-questions-schema-DSvdNuI1.js → business-additional-questions-schema-9FAJSx_D.js} +5 -26
  256. package/dist/esm/business-details-core.entry.js +5 -5
  257. package/dist/esm/{business-form-options-D6s5H4RI.js → business-form-options-CgssATyg.js} +2 -2
  258. package/dist/esm/business-identity-schema-CDJzknbg.js +48 -0
  259. package/dist/esm/{business.service-BIALik8Z.js → business.service-D55OVyco.js} +3 -3
  260. package/dist/esm/{button-CuZAKl_x.js → button-DtTaQHMK.js} +2 -2
  261. package/dist/esm/card-form.entry.js +8 -8
  262. package/dist/esm/{check-pkg-version-Bk5bgulF.js → check-pkg-version-xM0uWxbL.js} +4 -4
  263. package/dist/esm/{checkout.service-DZDZBIGQ.js → checkout.service-fwbqSq8g.js} +3 -3
  264. package/dist/esm/{checkout.store-DwJGKabu.js → checkout.store-4nUf2OuT.js} +5 -1
  265. package/dist/esm/checkouts-list-core.entry.js +15 -13
  266. package/dist/esm/{checkouts-list-params-state-BY5996_y.js → checkouts-list-params-state-C_fug9R3.js} +1 -1
  267. package/dist/esm/{checkouts-table-59DpP7zM.js → checkouts-table-B6gGDtOr.js} +4 -4
  268. package/dist/esm/{config-state-C83RkI9h.js → config-state-DiHV-4QK.js} +1 -1
  269. package/dist/esm/{custom-popper.entry.js → custom-popper_2.entry.js} +23 -4
  270. package/dist/esm/{dispute.service-ByJy64X7.js → dispute.service-Cdq3_yRo.js} +3 -3
  271. package/dist/esm/form-alert_5.entry.js +16 -26
  272. package/dist/esm/form-control-checkbox.entry.js +6 -6
  273. package/dist/esm/form-control-date.entry.js +5 -5
  274. package/dist/esm/{form-control-error-text-CjrxZorl.js → form-control-error-text-bprS-t9d.js} +2 -2
  275. package/dist/esm/form-control-file-v2_2.entry.js +6 -6
  276. package/dist/esm/{form-control-help-text-CMUgRhUf.js → form-control-help-text-Bvnp-IAG.js} +2 -2
  277. package/dist/esm/form-control-help-text.entry.js +1 -1
  278. package/dist/esm/form-control-monetary-provisioning.entry.js +7 -7
  279. package/dist/esm/form-control-monetary.entry.js +7 -7
  280. package/dist/esm/form-control-number-masked_2.entry.js +104 -0
  281. package/dist/esm/form-control-number.entry.js +6 -6
  282. package/dist/esm/form-control-radio.entry.js +4 -4
  283. package/dist/esm/{form-control-select_3.entry.js → form-control-select_2.entry.js} +8 -26
  284. package/dist/esm/{form-input-masks-CVaOFfrI.js → form-input-masks-B-iV5cYd.js} +3 -9
  285. package/dist/esm/{get-business-Xt7B5dSo.js → get-business-Crb6P-iI.js} +1 -1
  286. package/dist/esm/{get-payment-details-B00HoaFm.js → get-payment-details-sGoWyAat.js} +3 -3
  287. package/dist/esm/{get-subaccounts-C_yzcZq_.js → get-subaccounts-BsJSlShO.js} +4 -4
  288. package/dist/esm/gross-payment-chart-core.entry.js +26 -17
  289. package/dist/esm/{header-1-BukynbFR.js → header-1-C1Hnxki8.js} +2 -2
  290. package/dist/esm/{header-3-D87MAyMK.js → header-3-Bq8fpjm-.js} +2 -2
  291. package/dist/esm/helpers-Mu7LQT-w.js +29 -0
  292. package/dist/esm/hidden-input_2.entry.js +9 -9
  293. package/dist/esm/{index-NOsb-hYl.js → index-DJ9G-4S-.js} +1 -1
  294. package/dist/esm/{index-_b8l4IX7.js → index-DOjVAAtq.js} +5 -2
  295. package/dist/esm/{input-handlers-D3y0TzH9.js → input-handlers-CX6mSvOM.js} +1 -1
  296. package/dist/esm/{insurance-state-BjY1QRXI.js → insurance-state-CVme82j7.js} +3 -3
  297. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +73 -130
  298. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +26 -25
  299. package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
  300. package/dist/esm/{justifi-checkout-summary_7.entry.js → justifi-apple-pay_8.entry.js} +898 -26
  301. package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +31 -30
  302. package/dist/esm/justifi-business-details.entry.js +15 -13
  303. package/dist/esm/justifi-business-form.entry.js +23 -27
  304. package/dist/esm/justifi-business-representative-form-inputs.entry.js +8 -16
  305. package/dist/esm/justifi-checkout.entry.js +16 -14
  306. package/dist/esm/justifi-checkouts-list-filters.entry.js +12 -10
  307. package/dist/esm/justifi-checkouts-list.entry.js +18 -16
  308. package/dist/esm/justifi-config-provider.entry.js +3 -3
  309. package/dist/esm/justifi-details.entry.js +4 -4
  310. package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
  311. package/dist/esm/justifi-dispute-management.entry.js +13 -11
  312. package/dist/esm/justifi-dispute-notification_3.entry.js +19 -17
  313. package/dist/esm/justifi-gross-payment-chart.entry.js +13 -11
  314. package/dist/esm/justifi-order-terminals.entry.js +18 -16
  315. package/dist/esm/justifi-owner-form_3.entry.js +21 -30
  316. package/dist/esm/justifi-payment-details.entry.js +23 -14
  317. package/dist/esm/justifi-payment-provisioning-core.entry.js +25 -40
  318. package/dist/esm/justifi-payment-provisioning.entry.js +13 -11
  319. package/dist/esm/justifi-payment-transactions-list.entry.js +17 -15
  320. package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
  321. package/dist/esm/justifi-payments-list.entry.js +18 -16
  322. package/dist/esm/justifi-payout-details.entry.js +16 -13
  323. package/dist/esm/justifi-payout-transactions-list.entry.js +17 -15
  324. package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
  325. package/dist/esm/justifi-payouts-list.entry.js +19 -17
  326. package/dist/esm/justifi-refund-payment.entry.js +17 -15
  327. package/dist/esm/justifi-saved-payment-method.entry.js +3 -3
  328. package/dist/esm/justifi-season-interruption-insurance.entry.js +16 -14
  329. package/dist/esm/justifi-skeleton.entry.js +5 -5
  330. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +13 -11
  331. package/dist/esm/justifi-terminal-orders-list.entry.js +16 -14
  332. package/dist/esm/justifi-terminals-list-filters.entry.js +14 -11
  333. package/dist/esm/justifi-terminals-list.entry.js +18 -16
  334. package/dist/esm/loader.js +3 -3
  335. package/dist/esm/{package-BRhnhmpB.js → package-DL-q4EcN.js} +1 -1
  336. package/dist/esm/pagination-menu.entry.js +5 -5
  337. package/dist/esm/{parts-CA_TyBed.js → parts-xDbRW9xn.js} +2 -1
  338. package/dist/esm/payment-details-core.entry.js +34 -16
  339. package/dist/esm/payment-method-option.entry.js +4 -4
  340. package/dist/esm/{payment.service-B_NytmNz.js → payment.service-BoQ1MW1k.js} +3 -3
  341. package/dist/esm/payments-list-core.entry.js +16 -14
  342. package/dist/esm/{payments-list-params-state-BY5996_y.js → payments-list-params-state-C_fug9R3.js} +1 -1
  343. package/dist/esm/{payments-status-BWv1l1-e.js → payments-status-cvtVmtY5.js} +22 -4
  344. package/dist/esm/{payments-table-BSk36N1O.js → payments-table-D_BlyU1F.js} +4 -4
  345. package/dist/esm/payout-details-core.entry.js +25 -12
  346. package/dist/esm/{payout.service-BJQVlc_Z.js → payout.service-xcBdom3q.js} +3 -3
  347. package/dist/esm/payouts-list-core.entry.js +16 -14
  348. package/dist/esm/{payouts-list-params-state-BY5996_y.js → payouts-list-params-state-C_fug9R3.js} +1 -1
  349. package/dist/esm/{payouts-status-BujJlH_r.js → payouts-status-D-vjrqBb.js} +2 -2
  350. package/dist/esm/{payouts-table-5N7OylTW.js → payouts-table-Clj8YGLV.js} +4 -4
  351. package/dist/esm/{schema-validations-BFoU1cR8.js → schema-validations-B9dmY7ME.js} +6 -41
  352. package/dist/esm/{skeleton-C161KeYG.js → skeleton-B8EUwt4b.js} +2 -2
  353. package/dist/esm/{spinner-UiInIFXW.js → spinner-CYXkn1fh.js} +2 -2
  354. package/dist/esm/state-options-BX8GieXu.js +244 -0
  355. package/dist/esm/{styled-host-hSGxxyFZ.js → styled-host-OalOsPBp.js} +1 -1
  356. package/dist/esm/{table-9ewYPAZH.js → table-Bj20uWfu.js} +3 -3
  357. package/dist/esm/table-filters-menu.entry.js +4 -4
  358. package/dist/esm/terminal-orders-list-core.entry.js +15 -13
  359. package/dist/esm/{terminal-orders-list-params-state-BY5996_y.js → terminal-orders-list-params-state-C_fug9R3.js} +1 -1
  360. package/dist/esm/{terminal-orders-table-BcziGGSF.js → terminal-orders-table-DzBpIW8i.js} +7 -7
  361. package/dist/esm/terminal-quantity-selector.entry.js +3 -3
  362. package/dist/esm/{terminal.service-B9MOFa2c.js → terminal.service-l6zTIPZ3.js} +3 -3
  363. package/dist/esm/terminals-list-core.entry.js +15 -13
  364. package/dist/esm/terminals-list-params-state-C_fug9R3.js +16 -0
  365. package/dist/esm/{terminals-table-BoFlvdHS.js → terminals-table-BMS5tazC.js} +9 -4
  366. package/dist/esm/{utils-DeZftIgK.js → utils-BOijEGPV.js} +4 -1
  367. package/dist/esm/{utils-fntGABrK.js → utils-DRwofES0.js} +5 -5
  368. package/dist/esm/webcomponents.js +4 -4
  369. package/dist/module/Business.js +3 -290
  370. package/dist/module/Refund.js +2 -1
  371. package/dist/module/additional-questions-details2.js +1 -1
  372. package/dist/module/additional-questions.js +2 -2
  373. package/dist/module/additional-statement.js +1 -1
  374. package/dist/{esm/justifi-apple-pay.entry.js → module/apple-pay.js} +73 -31
  375. package/dist/module/badge.js +1 -1
  376. package/dist/module/bank-account-billing-form-simple.js +2 -2
  377. package/dist/module/bank-account-document-inputs.js +1 -1
  378. package/dist/module/bank-account-form-inputs2.js +2 -9
  379. package/dist/module/bank-account-form.js +3 -3
  380. package/dist/module/bank-account.js +2 -2
  381. package/dist/module/billing-form-full.js +2 -2
  382. package/dist/module/billing-form.js +3 -2
  383. package/dist/module/business-additional-questions-form-step.js +1 -1
  384. package/dist/module/business-address-schema.js +20 -40
  385. package/dist/module/business-bank-account-form-step-core.js +49 -102
  386. package/dist/module/business-bank-account-form-step.js +5 -18
  387. package/dist/module/business-core-info-form-step-core.js +7 -22
  388. package/dist/module/business-core-info-form-step.js +1 -2
  389. package/dist/module/business-core-info-schema.js +5 -26
  390. package/dist/module/business-core-info.js +4 -12
  391. package/dist/module/business-documents-on-file2.js +1 -1
  392. package/dist/module/business-identity-schema.js +25 -52
  393. package/dist/module/business-owners-form-step-core.js +13 -20
  394. package/dist/module/business-owners-form-step.js +15 -22
  395. package/dist/module/business-representative-form-inputs.js +17 -34
  396. package/dist/module/business-representative-form-step-core.js +18 -29
  397. package/dist/module/business-representative-form-step.js +17 -24
  398. package/dist/module/business-representative.js +19 -37
  399. package/dist/module/business-terms-conditions-form-step.js +1 -1
  400. package/dist/module/button.js +1 -1
  401. package/dist/module/cancellation-policy.js +1 -1
  402. package/dist/module/card-billing-form-simple.js +2 -2
  403. package/dist/module/card-form.js +3 -3
  404. package/dist/module/card-form2.js +2 -2
  405. package/dist/module/checkout.store.js +4 -0
  406. package/dist/module/checkouts-list-core2.js +2 -2
  407. package/dist/module/custom-popper2.js +2 -2
  408. package/dist/module/customer-details.js +1 -1
  409. package/dist/module/details.js +1 -1
  410. package/dist/module/dispute-management-core.js +1 -1
  411. package/dist/module/dispute-notification.js +1 -1
  412. package/dist/module/dispute-response-core.js +1 -1
  413. package/dist/module/dispute-response.js +1 -1
  414. package/dist/module/duplicate-charge.js +1 -1
  415. package/dist/module/electronic-evidence.js +1 -1
  416. package/dist/module/form-alert2.js +1 -1
  417. package/dist/module/form-control-checkbox2.js +3 -3
  418. package/dist/module/form-control-date2.js +3 -3
  419. package/dist/module/form-control-error-text.js +1 -1
  420. package/dist/module/form-control-file-v22.js +1 -1
  421. package/dist/module/form-control-file2.js +3 -3
  422. package/dist/module/form-control-monetary-provisioning2.js +3 -3
  423. package/dist/module/form-control-monetary2.js +3 -3
  424. package/dist/module/form-control-number-masked2.js +3 -3
  425. package/dist/module/form-control-number.js +3 -3
  426. package/dist/module/form-control-radio2.js +3 -3
  427. package/dist/module/form-control-select2.js +3 -3
  428. package/dist/module/form-control-text2.js +3 -3
  429. package/dist/module/form-control-textarea2.js +3 -3
  430. package/dist/module/form-control-tooltip2.js +1 -1
  431. package/dist/module/form-input-masks.js +3 -9
  432. package/dist/module/get-business.js +1 -1
  433. package/dist/module/gross-payment-chart-core2.js +22 -13
  434. package/dist/module/header-3.js +1 -1
  435. package/dist/module/helpers.js +29 -0
  436. package/dist/module/hidden-input2.js +2 -2
  437. package/dist/module/identity-address-form.js +14 -16
  438. package/dist/module/iframe-input2.js +4 -4
  439. package/dist/module/input-handlers.js +1 -1
  440. package/dist/module/justifi-apple-pay.js +1 -904
  441. package/dist/module/justifi-business-form.js +29 -41
  442. package/dist/module/justifi-button2.js +1 -1
  443. package/dist/module/justifi-checkout.js +27 -21
  444. package/dist/module/justifi-checkouts-list-filters.js +2 -2
  445. package/dist/module/justifi-checkouts-list.js +2 -2
  446. package/dist/module/justifi-dispute-management.js +1 -1
  447. package/dist/module/justifi-header2.js +1 -1
  448. package/dist/module/justifi-order-terminals.js +5 -5
  449. package/dist/module/justifi-payment-details.js +8 -1
  450. package/dist/module/justifi-payment-provisioning.js +49 -67
  451. package/dist/module/justifi-payment-transactions-list.js +3 -3
  452. package/dist/module/justifi-payments-list-filters.js +3 -3
  453. package/dist/module/justifi-payments-list.js +1 -1
  454. package/dist/module/justifi-payout-details.js +4 -2
  455. package/dist/module/justifi-payout-transactions-list.js +3 -3
  456. package/dist/module/justifi-payouts-list-filters.js +3 -3
  457. package/dist/module/justifi-payouts-list.js +2 -2
  458. package/dist/module/justifi-radio-list-item2.js +1 -1
  459. package/dist/module/justifi-refund-payment.js +1 -1
  460. package/dist/module/justifi-saved-payment-method.js +1 -1
  461. package/dist/module/justifi-season-interruption-insurance.js +2 -2
  462. package/dist/module/justifi-skeleton.js +1 -1
  463. package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
  464. package/dist/module/justifi-terminal-orders-list.js +2 -2
  465. package/dist/module/justifi-terminals-list-filters.js +5 -4
  466. package/dist/module/justifi-terminals-list.js +2 -2
  467. package/dist/module/legal-address-form-step-core.js +19 -26
  468. package/dist/module/legal-address-form-step.js +9 -16
  469. package/dist/module/legal-address-form.js +15 -18
  470. package/dist/module/modular-checkout.js +7 -6
  471. package/dist/module/owner-details2.js +8 -7
  472. package/dist/module/owner-form-core2.js +16 -24
  473. package/dist/module/owner-form-inputs2.js +15 -34
  474. package/dist/module/owner-form.js +13 -20
  475. package/dist/module/package.js +1 -1
  476. package/dist/module/pagination-menu2.js +4 -4
  477. package/dist/module/parts.js +2 -1
  478. package/dist/module/payment-details-core2.js +22 -9
  479. package/dist/module/payment-method-option.js +1 -1
  480. package/dist/module/payment-provisioning-core.js +69 -104
  481. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  482. package/dist/module/payment-provisioning-form-steps.js +54 -75
  483. package/dist/module/payments-list-core2.js +2 -2
  484. package/dist/module/payments-status.js +20 -2
  485. package/dist/module/payout-details-core2.js +18 -4
  486. package/dist/module/payouts-list-core2.js +2 -2
  487. package/dist/module/product-or-service.js +1 -1
  488. package/dist/module/refund-policy.js +1 -1
  489. package/dist/module/representative-details2.js +1 -1
  490. package/dist/module/save-new-payment-method.js +1 -1
  491. package/dist/module/schema-validations.js +6 -41
  492. package/dist/module/shipping-details.js +1 -1
  493. package/dist/module/spinner.js +1 -1
  494. package/dist/module/state-options.js +244 -0
  495. package/dist/module/summary.js +1 -1
  496. package/dist/module/table-filters-menu2.js +2 -2
  497. package/dist/module/table.js +1 -1
  498. package/dist/module/terminal-orders-list-core2.js +3 -3
  499. package/dist/module/terminal-quantity-selector2.js +2 -2
  500. package/dist/module/terminals-list-core2.js +8 -3
  501. package/dist/module/tokenize-payment-method.js +1 -1
  502. package/dist/module/utils.js +4 -4
  503. package/dist/module/utils2.js +4 -1
  504. package/dist/types/api/BankAccount.d.ts +0 -6
  505. package/dist/types/api/Business.d.ts +0 -9
  506. package/dist/types/api/Checkout.d.ts +2 -0
  507. package/dist/types/api/ComponentEvents.d.ts +4 -0
  508. package/dist/types/api/Terminal.d.ts +2 -1
  509. package/dist/types/components/business-details/owner-details/owner-details.d.ts +1 -1
  510. package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +0 -3
  511. package/dist/types/components/business-forms/business-form/business-form.d.ts +0 -2
  512. package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +1 -4
  513. package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +0 -2
  514. package/dist/types/components/business-forms/owner-form/identity-address/identity-address-form.d.ts +0 -2
  515. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +0 -2
  516. package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +0 -3
  517. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +0 -2
  518. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +0 -5
  519. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +0 -2
  520. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +0 -3
  521. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +0 -2
  522. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +0 -2
  523. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +0 -2
  524. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +0 -3
  525. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +0 -2
  526. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +0 -2
  527. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +0 -2
  528. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +0 -2
  529. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +2 -4
  530. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +0 -2
  531. package/dist/types/components/business-forms/schemas/business-address-schema.d.ts +2 -54
  532. package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +16 -14
  533. package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +3 -67
  534. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +7 -165
  535. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +2 -122
  536. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -5
  537. package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +2 -0
  538. package/dist/types/components/payment-details/payment-details-core.d.ts +3 -1
  539. package/dist/types/components/payment-details/payment-details.d.ts +3 -1
  540. package/dist/types/components/payments-list/payments-status.d.ts +12 -0
  541. package/dist/types/components/payout-details/payout-details-core.d.ts +5 -1
  542. package/dist/types/components/payout-details/payout-details.d.ts +1 -0
  543. package/dist/types/components.d.ts +48 -121
  544. package/dist/types/stencil-public-runtime.d.ts +20 -10
  545. package/dist/types/store/checkout.store.d.ts +1 -0
  546. package/dist/types/styles/parts.d.ts +1 -1
  547. package/dist/types/ui-components/details/utils.d.ts +3 -2
  548. package/dist/types/utils/form-input-masks.d.ts +0 -1
  549. package/dist/types/utils/utils.d.ts +1 -0
  550. package/dist/webcomponents/p-0217783c.entry.js +20 -0
  551. package/dist/webcomponents/p-0256af65.entry.js +1 -0
  552. package/dist/webcomponents/p-0af5269e.entry.js +1 -0
  553. package/dist/webcomponents/p-0cac8468.entry.js +1 -0
  554. package/dist/webcomponents/{p-b59221a9.entry.js → p-0cf71cbd.entry.js} +1 -1
  555. package/dist/webcomponents/p-0eb69f41.entry.js +1 -0
  556. package/dist/webcomponents/p-0f47f052.entry.js +1 -0
  557. package/dist/webcomponents/p-0fgTPVV0.js +1 -0
  558. package/dist/webcomponents/{p-C77ElQ41.js → p-1ydcg9ti.js} +1 -1
  559. package/dist/webcomponents/p-28a3bf32.entry.js +1 -0
  560. package/dist/webcomponents/p-2b568e8e.entry.js +1 -0
  561. package/dist/webcomponents/p-2d300faa.entry.js +1 -0
  562. package/dist/webcomponents/{p-6ea75d39.entry.js → p-2f40f708.entry.js} +1 -1
  563. package/dist/webcomponents/p-30856338.entry.js +1 -0
  564. package/dist/webcomponents/p-328117e4.entry.js +1 -0
  565. package/dist/webcomponents/p-32978110.entry.js +1 -0
  566. package/dist/webcomponents/{p-c7390115.entry.js → p-37a93597.entry.js} +1 -1
  567. package/dist/webcomponents/p-47997bc2.entry.js +1 -0
  568. package/dist/webcomponents/p-50701f16.entry.js +1 -0
  569. package/dist/webcomponents/p-5235230f.entry.js +1 -0
  570. package/dist/webcomponents/p-526b7442.entry.js +1 -0
  571. package/dist/webcomponents/p-5aae36f3.entry.js +1 -0
  572. package/dist/webcomponents/p-5b5d7a8f.entry.js +1 -0
  573. package/dist/webcomponents/p-5bd3d86e.entry.js +1 -0
  574. package/dist/webcomponents/p-66db858a.entry.js +1 -0
  575. package/dist/webcomponents/p-720a2324.entry.js +1 -0
  576. package/dist/webcomponents/p-78cb62a8.entry.js +1 -0
  577. package/dist/webcomponents/p-7c8deca8.entry.js +1 -0
  578. package/dist/webcomponents/p-7dc9ef8a.entry.js +1 -0
  579. package/dist/webcomponents/p-84551ee4.entry.js +1 -0
  580. package/dist/webcomponents/p-854b3db0.entry.js +1 -0
  581. package/dist/webcomponents/p-85a2eac6.entry.js +1 -0
  582. package/dist/webcomponents/p-8663e8bd.entry.js +1 -0
  583. package/dist/webcomponents/p-89f6ad8f.entry.js +1 -0
  584. package/dist/webcomponents/p-8S_ROmnq.js +1 -0
  585. package/dist/webcomponents/p-8ca21fab.entry.js +1 -0
  586. package/dist/webcomponents/p-8cebc84b.entry.js +1 -0
  587. package/dist/webcomponents/p-8f8dfd4b.entry.js +1 -0
  588. package/dist/webcomponents/p-94237472.entry.js +1 -0
  589. package/dist/webcomponents/p-9ad7d724.entry.js +1 -0
  590. package/dist/webcomponents/p-B-iV5cYd.js +1 -0
  591. package/dist/webcomponents/p-B6IWa9Ph.js +1 -0
  592. package/dist/webcomponents/{p-BdREtifE.js → p-BBx_EQqR.js} +1 -1
  593. package/dist/webcomponents/p-BX8GieXu.js +1 -0
  594. package/dist/webcomponents/{p-xWrhxNNk.js → p-Bgnhf5c9.js} +1 -1
  595. package/dist/webcomponents/{p-DTwFW2k_.js → p-BhCH9S0e.js} +1 -1
  596. package/dist/webcomponents/p-BjNuRWXK.js +1 -0
  597. package/dist/webcomponents/p-BlJnA265.js +1 -0
  598. package/dist/webcomponents/p-BoQ6_4Ks.js +1 -0
  599. package/dist/webcomponents/{p-DWGKeoot.js → p-C0wTyoTh.js} +1 -1
  600. package/dist/webcomponents/p-C2JJBtMc.js +1 -0
  601. package/dist/webcomponents/{p-g2ubqhtv.js → p-C8k7a6D-.js} +1 -1
  602. package/dist/webcomponents/{p-BPDMo6us.js → p-C98BC5W5.js} +1 -1
  603. package/dist/webcomponents/p-C9EQ459H.js +1 -0
  604. package/dist/webcomponents/p-C9iide2W.js +1 -0
  605. package/dist/webcomponents/p-CCLgieAN.js +1 -0
  606. package/dist/webcomponents/p-CCmDcLao.js +1 -0
  607. package/dist/webcomponents/{p-qUCDGWNE.js → p-CEk3bv0x.js} +1 -1
  608. package/dist/webcomponents/p-CH8Y3GSr.js +1 -0
  609. package/dist/webcomponents/{p-D2hzOOMf.js → p-ClvhB3WW.js} +1 -1
  610. package/dist/webcomponents/{p-JSXyHheQ.js → p-CmBCj61h.js} +1 -1
  611. package/dist/webcomponents/p-D0Peuz-m.js +1 -0
  612. package/dist/webcomponents/{p-BaM0JBLn.js → p-D5Jb9OcR.js} +1 -1
  613. package/dist/webcomponents/p-D6BImiVi.js +1 -0
  614. package/dist/webcomponents/p-DGsXKF67.js +1 -0
  615. package/dist/webcomponents/p-DH8F0bsw.js +1 -0
  616. package/dist/webcomponents/p-DL-q4EcN.js +1 -0
  617. package/dist/webcomponents/{p-_b8l4IX7.js → p-DOjVAAtq.js} +2 -2
  618. package/dist/webcomponents/p-DQZ5VHTZ.js +1 -0
  619. package/dist/webcomponents/p-DWn9BiNn.js +1 -0
  620. package/dist/webcomponents/{p-hj8k0lRi.js → p-DdMxswn1.js} +1 -1
  621. package/dist/webcomponents/{p-M5r2kSbf.js → p-DdZLLkQ5.js} +1 -1
  622. package/dist/webcomponents/p-DfV3dFDB.js +1 -0
  623. package/dist/webcomponents/p-Dieke6TH.js +1 -0
  624. package/dist/webcomponents/p-Dt-vy9Le.js +1 -0
  625. package/dist/webcomponents/p-NAjz1Xfo.js +1 -0
  626. package/dist/webcomponents/p-NwmOm8Pg.js +1 -0
  627. package/dist/webcomponents/p-PSJOKMWp.js +1 -0
  628. package/dist/webcomponents/p-RQzxYnz_.js +1 -0
  629. package/dist/webcomponents/p-T2yENPvU.js +1 -0
  630. package/dist/webcomponents/{p-b46fe458.entry.js → p-a4846316.entry.js} +1 -1
  631. package/dist/webcomponents/p-a5c70eee.entry.js +1 -0
  632. package/dist/webcomponents/p-a6tcNl_T.js +1 -0
  633. package/dist/webcomponents/p-aa14cc74.entry.js +1 -0
  634. package/dist/webcomponents/p-ae7054bf.entry.js +1 -0
  635. package/dist/webcomponents/p-ae8ae5bb.entry.js +1 -0
  636. package/dist/webcomponents/{p-fVyCeQNq.js → p-au49QgoI.js} +1 -1
  637. package/dist/webcomponents/p-b095c781.entry.js +1 -0
  638. package/dist/webcomponents/p-b36adce3.entry.js +1 -0
  639. package/dist/webcomponents/{p-b17cb15d.entry.js → p-b608add9.entry.js} +1 -1
  640. package/dist/webcomponents/p-b612d870.entry.js +1 -0
  641. package/dist/webcomponents/p-baf0d3e7.entry.js +1 -0
  642. package/dist/webcomponents/p-bb53e2e9.entry.js +1 -0
  643. package/dist/webcomponents/p-be05d450.entry.js +1 -0
  644. package/dist/webcomponents/p-c089fb5f.entry.js +1 -0
  645. package/dist/webcomponents/p-ce652ff9.entry.js +1 -0
  646. package/dist/webcomponents/{p-c1f10a84.entry.js → p-cff5dd60.entry.js} +1 -1
  647. package/dist/webcomponents/p-d0a2035f.entry.js +1 -0
  648. package/dist/webcomponents/p-d1bceac6.entry.js +1 -0
  649. package/dist/webcomponents/p-d37d752e.entry.js +1 -0
  650. package/dist/webcomponents/p-d4476052.entry.js +1 -0
  651. package/dist/webcomponents/p-d7f91c48.entry.js +1 -0
  652. package/dist/webcomponents/p-d84f0122.entry.js +1 -0
  653. package/dist/webcomponents/p-e55a161f.entry.js +1 -0
  654. package/dist/webcomponents/p-e6be4e19.entry.js +1 -0
  655. package/dist/webcomponents/p-ec9514f8.entry.js +1 -0
  656. package/dist/webcomponents/p-f11a74c3.entry.js +1 -0
  657. package/dist/webcomponents/p-f705fc49.entry.js +1 -0
  658. package/dist/webcomponents/p-f930acaa.entry.js +1 -0
  659. package/dist/webcomponents/p-fe8c2243.entry.js +1 -0
  660. package/dist/webcomponents/p-fedfe376.entry.js +1 -0
  661. package/dist/webcomponents/p-ffefa09c.entry.js +1 -0
  662. package/dist/webcomponents/p-h5pyZngT.js +1 -0
  663. package/dist/webcomponents/p-hbWSMN3O.js +1 -0
  664. package/dist/webcomponents/p-lKnUT24T.js +1 -0
  665. package/dist/webcomponents/p-tYuXMkCd.js +1 -0
  666. package/dist/webcomponents/p-wQgEEOq_.js +1 -0
  667. package/dist/webcomponents/p-xDbRW9xn.js +1 -0
  668. package/dist/webcomponents/{p-CPpUGsw5.js → p-yH3TC3ZQ.js} +1 -1
  669. package/dist/webcomponents/webcomponents.esm.js +1 -1
  670. package/package.json +13 -13
  671. package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +0 -132
  672. package/dist/cjs/business-identity-schema-Cd0tvfJr.js +0 -101
  673. package/dist/cjs/country-config-MCOhn8o3.js +0 -68
  674. package/dist/cjs/form-control-number-masked_3.cjs.entry.js +0 -119
  675. package/dist/cjs/justifi-apple-pay.cjs.entry.js +0 -876
  676. package/dist/cjs/terminals-list-params-state-ARjo40Y9.js +0 -22
  677. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +0 -88
  678. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +0 -50
  679. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +0 -101
  680. package/dist/collection/components/business-forms/payment-provisioning/test/mockBusiness.js +0 -52
  681. package/dist/collection/components/business-forms/utils/country-config.js +0 -47
  682. package/dist/collection/utils/country-codes.js +0 -5
  683. package/dist/collection/utils/province-options.js +0 -20
  684. package/dist/esm/bank-account-document-form-inputs_6.entry.js +0 -125
  685. package/dist/esm/business-identity-schema-mN4VhA1v.js +0 -94
  686. package/dist/esm/country-config-BQ4D46Lb.js +0 -64
  687. package/dist/esm/form-control-number-masked_3.entry.js +0 -115
  688. package/dist/esm/terminals-list-params-state-BY5996_y.js +0 -16
  689. package/dist/module/bank-account-form-inputs-canada.d.ts +0 -11
  690. package/dist/module/bank-account-form-inputs-canada.js +0 -6
  691. package/dist/module/bank-account-form-inputs-canada2.js +0 -68
  692. package/dist/module/bank-account-read-only-value.d.ts +0 -11
  693. package/dist/module/bank-account-read-only-value.js +0 -6
  694. package/dist/module/bank-account-read-only-value2.js +0 -33
  695. package/dist/module/country-config.js +0 -64
  696. package/dist/module/form-address-fields.js +0 -65
  697. package/dist/module/justifi-form-address-fields.d.ts +0 -11
  698. package/dist/module/justifi-form-address-fields.js +0 -6
  699. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.d.ts +0 -7
  700. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.d.ts +0 -5
  701. package/dist/types/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.d.ts +0 -8
  702. package/dist/types/components/business-forms/payment-provisioning/test/mockBusiness.d.ts +0 -12
  703. package/dist/types/utils/country-codes.d.ts +0 -4
  704. package/dist/types/utils/province-options.d.ts +0 -5
  705. package/dist/webcomponents/p-0254c06c.entry.js +0 -1
  706. package/dist/webcomponents/p-047fe97f.entry.js +0 -1
  707. package/dist/webcomponents/p-04ca6ff0.entry.js +0 -1
  708. package/dist/webcomponents/p-09d53b03.entry.js +0 -1
  709. package/dist/webcomponents/p-0c5e2fed.entry.js +0 -1
  710. package/dist/webcomponents/p-0ea48603.entry.js +0 -1
  711. package/dist/webcomponents/p-17e9d5c0.entry.js +0 -1
  712. package/dist/webcomponents/p-1ab4d6aa.entry.js +0 -1
  713. package/dist/webcomponents/p-1cf42bc9.entry.js +0 -1
  714. package/dist/webcomponents/p-1e7f4b4f.entry.js +0 -1
  715. package/dist/webcomponents/p-22defde6.entry.js +0 -20
  716. package/dist/webcomponents/p-242208d9.entry.js +0 -1
  717. package/dist/webcomponents/p-31ac0c3d.entry.js +0 -1
  718. package/dist/webcomponents/p-36e21b78.entry.js +0 -1
  719. package/dist/webcomponents/p-3a77a97c.entry.js +0 -1
  720. package/dist/webcomponents/p-40938820.entry.js +0 -1
  721. package/dist/webcomponents/p-40dc0c3c.entry.js +0 -1
  722. package/dist/webcomponents/p-42763479.entry.js +0 -1
  723. package/dist/webcomponents/p-430203b0.entry.js +0 -1
  724. package/dist/webcomponents/p-46d2d042.entry.js +0 -1
  725. package/dist/webcomponents/p-485516a1.entry.js +0 -1
  726. package/dist/webcomponents/p-4fb58ee6.entry.js +0 -1
  727. package/dist/webcomponents/p-54995a3d.entry.js +0 -1
  728. package/dist/webcomponents/p-56617fdd.entry.js +0 -1
  729. package/dist/webcomponents/p-592a45f6.entry.js +0 -1
  730. package/dist/webcomponents/p-5a044ca5.entry.js +0 -1
  731. package/dist/webcomponents/p-5ec18584.entry.js +0 -1
  732. package/dist/webcomponents/p-6122dc79.entry.js +0 -1
  733. package/dist/webcomponents/p-62858ba5.entry.js +0 -1
  734. package/dist/webcomponents/p-62b5e6cf.entry.js +0 -1
  735. package/dist/webcomponents/p-67dab4d9.entry.js +0 -1
  736. package/dist/webcomponents/p-6b791b1d.entry.js +0 -1
  737. package/dist/webcomponents/p-6ebf8f11.entry.js +0 -1
  738. package/dist/webcomponents/p-6fdac295.entry.js +0 -1
  739. package/dist/webcomponents/p-724cf90f.entry.js +0 -1
  740. package/dist/webcomponents/p-7ecca5fe.entry.js +0 -1
  741. package/dist/webcomponents/p-7ecf9bd0.entry.js +0 -1
  742. package/dist/webcomponents/p-850dd606.entry.js +0 -1
  743. package/dist/webcomponents/p-85af9d78.entry.js +0 -1
  744. package/dist/webcomponents/p-931003fc.entry.js +0 -1
  745. package/dist/webcomponents/p-9367e7e6.entry.js +0 -1
  746. package/dist/webcomponents/p-9c114674.entry.js +0 -1
  747. package/dist/webcomponents/p-9c267692.entry.js +0 -1
  748. package/dist/webcomponents/p-B5rtFhtR.js +0 -1
  749. package/dist/webcomponents/p-BRhnhmpB.js +0 -1
  750. package/dist/webcomponents/p-BgFM_jvF.js +0 -1
  751. package/dist/webcomponents/p-BqbXuOZP.js +0 -1
  752. package/dist/webcomponents/p-BwpdCtUc.js +0 -1
  753. package/dist/webcomponents/p-C6g4MbnB.js +0 -1
  754. package/dist/webcomponents/p-CA_TyBed.js +0 -1
  755. package/dist/webcomponents/p-CE-MNrID.js +0 -1
  756. package/dist/webcomponents/p-CMpATPXy.js +0 -1
  757. package/dist/webcomponents/p-CQUZeo9r.js +0 -1
  758. package/dist/webcomponents/p-CSeo7WDO.js +0 -1
  759. package/dist/webcomponents/p-CTJ3moi4.js +0 -1
  760. package/dist/webcomponents/p-CVaOFfrI.js +0 -1
  761. package/dist/webcomponents/p-CYNcSTQA.js +0 -1
  762. package/dist/webcomponents/p-CevVA9qy.js +0 -1
  763. package/dist/webcomponents/p-CkiX8OGy.js +0 -1
  764. package/dist/webcomponents/p-CtWnJFtW.js +0 -1
  765. package/dist/webcomponents/p-CycBoHSW.js +0 -1
  766. package/dist/webcomponents/p-D-RVXHwG.js +0 -1
  767. package/dist/webcomponents/p-D1Na2I0C.js +0 -1
  768. package/dist/webcomponents/p-D5lmImiz.js +0 -1
  769. package/dist/webcomponents/p-DMf85Fkr.js +0 -1
  770. package/dist/webcomponents/p-DNPS-Ypi.js +0 -1
  771. package/dist/webcomponents/p-DQ5V5-Jy.js +0 -1
  772. package/dist/webcomponents/p-DapORSs4.js +0 -1
  773. package/dist/webcomponents/p-DcPNd9_D.js +0 -1
  774. package/dist/webcomponents/p-DfKxeSrC.js +0 -1
  775. package/dist/webcomponents/p-Dkujm7_O.js +0 -1
  776. package/dist/webcomponents/p-Dv1Fyrn3.js +0 -1
  777. package/dist/webcomponents/p-DxVCqvBt.js +0 -1
  778. package/dist/webcomponents/p-DzWLLt4t.js +0 -1
  779. package/dist/webcomponents/p-LO0pl3n2.js +0 -1
  780. package/dist/webcomponents/p-PdQT2QcR.js +0 -1
  781. package/dist/webcomponents/p-a2817869.entry.js +0 -1
  782. package/dist/webcomponents/p-a291a90c.entry.js +0 -1
  783. package/dist/webcomponents/p-b0bc03e6.entry.js +0 -1
  784. package/dist/webcomponents/p-c2cb70c8.entry.js +0 -1
  785. package/dist/webcomponents/p-c540fe9d.entry.js +0 -1
  786. package/dist/webcomponents/p-c6093716.entry.js +0 -1
  787. package/dist/webcomponents/p-c6e43493.entry.js +0 -1
  788. package/dist/webcomponents/p-c780cc91.entry.js +0 -1
  789. package/dist/webcomponents/p-c9598246.entry.js +0 -1
  790. package/dist/webcomponents/p-c972a599.entry.js +0 -1
  791. package/dist/webcomponents/p-cc1d8649.entry.js +0 -1
  792. package/dist/webcomponents/p-ce4895ca.entry.js +0 -1
  793. package/dist/webcomponents/p-ce67282b.entry.js +0 -1
  794. package/dist/webcomponents/p-cef5c6e9.entry.js +0 -1
  795. package/dist/webcomponents/p-d21fa0c9.entry.js +0 -1
  796. package/dist/webcomponents/p-d236f152.entry.js +0 -1
  797. package/dist/webcomponents/p-d6ac11fc.entry.js +0 -1
  798. package/dist/webcomponents/p-e55ce6ad.entry.js +0 -1
  799. package/dist/webcomponents/p-f02bd076.entry.js +0 -1
  800. package/dist/webcomponents/p-lPeK9y_X.js +0 -1
  801. package/dist/webcomponents/p-sCHf--Vc.js +0 -1
@@ -1,13 +1,12 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { d as makeGetIdentity, e as makePatchIdentity, f as makePostIdentity } from './payment-provisioning-actions.js';
3
3
  import { I as IdentityService } from './business.service.js';
4
- import { d as defineCustomElement$a } from './custom-popper2.js';
5
- import { d as defineCustomElement$9 } from './form-control-date2.js';
6
- import { d as defineCustomElement$8 } from './form-control-number-masked2.js';
7
- import { d as defineCustomElement$7 } from './form-control-select2.js';
8
- import { d as defineCustomElement$6 } from './form-control-text2.js';
9
- import { d as defineCustomElement$5 } from './form-control-tooltip2.js';
10
- import { d as defineCustomElement$4 } from './form-address-fields.js';
4
+ import { d as defineCustomElement$9 } from './custom-popper2.js';
5
+ import { d as defineCustomElement$8 } from './form-control-date2.js';
6
+ import { d as defineCustomElement$7 } from './form-control-number-masked2.js';
7
+ import { d as defineCustomElement$6 } from './form-control-select2.js';
8
+ import { d as defineCustomElement$5 } from './form-control-text2.js';
9
+ import { d as defineCustomElement$4 } from './form-control-tooltip2.js';
11
10
  import { d as defineCustomElement$3 } from './identity-address-form.js';
12
11
  import { d as defineCustomElement$2 } from './owner-form-core2.js';
13
12
  import { d as defineCustomElement$1 } from './owner-form-inputs2.js';
@@ -52,7 +51,7 @@ const BusinessOwnerForm = /*@__PURE__*/ proxyCustomElement(class BusinessOwnerFo
52
51
  });
53
52
  }
54
53
  render() {
55
- return (h("owner-form-core", { key: '84af0e74910def3f34aa4a6ce9d1f501faf6f5c5', ownerId: this.ownerId, businessId: this.businessId, getOwner: this.getOwner, patchOwner: this.patchOwner, postOwner: this.postOwner, allowOptionalFields: this.allowOptionalFields, removeOwner: this.removeOwner, newFormOpen: this.newFormOpen, ownersLength: this.ownersLength, country: this.country, ref: ref => this.coreComponent = ref }));
54
+ return (h("owner-form-core", { key: '07ad7cd2bb38442dc591c9e3421223294690ee8c', ownerId: this.ownerId, businessId: this.businessId, getOwner: this.getOwner, patchOwner: this.patchOwner, postOwner: this.postOwner, allowOptionalFields: this.allowOptionalFields, removeOwner: this.removeOwner, newFormOpen: this.newFormOpen, ownersLength: this.ownersLength, ref: ref => this.coreComponent = ref }));
56
55
  }
57
56
  }, [256, "justifi-owner-form", {
58
57
  "authToken": [1, "auth-token"],
@@ -62,7 +61,6 @@ const BusinessOwnerForm = /*@__PURE__*/ proxyCustomElement(class BusinessOwnerFo
62
61
  "removeOwner": [16],
63
62
  "newFormOpen": [4, "new-form-open"],
64
63
  "ownersLength": [2, "owners-length"],
65
- "country": [1],
66
64
  "getOwner": [32],
67
65
  "patchOwner": [32],
68
66
  "postOwner": [32],
@@ -74,7 +72,7 @@ function defineCustomElement() {
74
72
  if (typeof customElements === "undefined") {
75
73
  return;
76
74
  }
77
- const components = ["justifi-owner-form", "custom-popper", "form-control-date", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-form-address-fields", "justifi-identity-address-form", "owner-form-core", "owner-form-inputs"];
75
+ const components = ["justifi-owner-form", "custom-popper", "form-control-date", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-identity-address-form", "owner-form-core", "owner-form-inputs"];
78
76
  components.forEach(tagName => { switch (tagName) {
79
77
  case "justifi-owner-form":
80
78
  if (!customElements.get(tagName)) {
@@ -82,36 +80,31 @@ function defineCustomElement() {
82
80
  }
83
81
  break;
84
82
  case "custom-popper":
85
- if (!customElements.get(tagName)) {
86
- defineCustomElement$a();
87
- }
88
- break;
89
- case "form-control-date":
90
83
  if (!customElements.get(tagName)) {
91
84
  defineCustomElement$9();
92
85
  }
93
86
  break;
94
- case "form-control-number-masked":
87
+ case "form-control-date":
95
88
  if (!customElements.get(tagName)) {
96
89
  defineCustomElement$8();
97
90
  }
98
91
  break;
99
- case "form-control-select":
92
+ case "form-control-number-masked":
100
93
  if (!customElements.get(tagName)) {
101
94
  defineCustomElement$7();
102
95
  }
103
96
  break;
104
- case "form-control-text":
97
+ case "form-control-select":
105
98
  if (!customElements.get(tagName)) {
106
99
  defineCustomElement$6();
107
100
  }
108
101
  break;
109
- case "form-control-tooltip":
102
+ case "form-control-text":
110
103
  if (!customElements.get(tagName)) {
111
104
  defineCustomElement$5();
112
105
  }
113
106
  break;
114
- case "justifi-form-address-fields":
107
+ case "form-control-tooltip":
115
108
  if (!customElements.get(tagName)) {
116
109
  defineCustomElement$4();
117
110
  }
@@ -1,5 +1,5 @@
1
1
  const name = "@justifi/webcomponents";
2
- const version = "6.1.0-rc.3";
2
+ const version = "6.1.0";
3
3
  var webcomponentsPackageJson = {
4
4
  name: name,
5
5
  version: version};
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { E as ExtendedPagingDefaults } from './Pagination.js';
3
- import { x as paginationButton, y as paginationButtonDisabled, z as paginationButtonIconPrevious, A as paginationButtonText, B as paginationButtonIconNext } from './parts.js';
3
+ import { y as paginationButton, z as paginationButtonDisabled, A as paginationButtonIconPrevious, B as paginationButtonText, C as paginationButtonIconNext } from './parts.js';
4
4
 
5
5
  const PaginationMenu = /*@__PURE__*/ proxyCustomElement(class PaginationMenu extends HTMLElement {
6
6
  constructor(registerHost) {
@@ -12,13 +12,13 @@ const PaginationMenu = /*@__PURE__*/ proxyCustomElement(class PaginationMenu ext
12
12
  this.params = {};
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: 'f693a04edac1a2bd63651fbe55a42fba3d0099ea' }, h("nav", { key: '0165bf5d91b4e43a909e3d41022496b651c0487d', "aria-label": "Table pagination", class: "d-flex justify-content-end gap-3" }, h("ul", { key: 'bd00933217b4e7b0e09a56cf67d2a2c6f804c554', class: "pagination m-0" }, h("li", { key: '1e3a9be0e7c424064a161124d0601673a25f0c7e', class: `page-item ${this.paging.has_previous ? '' : ' disabled'}` }, h("button", { key: 'c372b1a9cc07a88ff2fa1680d84a85bf46ace8b6', class: "page-link", onClick: (e) => {
15
+ return (h(Host, { key: '7b821154b627026ef8624af6e4759e2176004676' }, h("nav", { key: '7990aee285d0cc3e6f83cb59bb216439e5364df5', "aria-label": "Table pagination", class: "d-flex justify-content-end gap-3" }, h("ul", { key: '02c68163934ce1aabf4abd607cc28e549e20ebe1', class: "pagination m-0" }, h("li", { key: 'aab661ae85fc61eecd230d058f135483796769c0', class: `page-item ${this.paging.has_previous ? '' : ' disabled'}` }, h("button", { key: 'ef42a41831a9890186c333418b161877761674e1', class: "page-link", onClick: (e) => {
16
16
  e.preventDefault();
17
17
  this.paging.handleClickPrevious(this.paging.start_cursor);
18
- }, part: this.paging.has_previous ? paginationButton : paginationButtonDisabled }, h("span", { key: '0efdb7a795b32af71632f1191282ba65754c4b38', class: "me-1", part: paginationButtonIconPrevious }, "\u00AB"), h("span", { key: '73096ba1281792353e2ee35797b4d7ee97796a2b', part: paginationButtonText }, "Previous"))), h("li", { key: '6e1518f3b3e33ba5eec16b2a6748c4dc1919c0b9', class: `page-item ${this.paging.has_next ? '' : ' disabled'}` }, h("button", { key: 'c760c1580585fa2e3dce831dcf3114604be0f7bd', class: "page-link", onClick: (e) => {
18
+ }, part: this.paging.has_previous ? paginationButton : paginationButtonDisabled }, h("span", { key: 'a898a92687e4a5fec37d9dab4208430260a9f274', class: "me-1", part: paginationButtonIconPrevious }, "\u00AB"), h("span", { key: 'ecc2eeedc064d405ad178b9a98ed088e12f1b2fb', part: paginationButtonText }, "Previous"))), h("li", { key: '56569cd9f9803ead8b1180e2f982a98d7009be1f', class: `page-item ${this.paging.has_next ? '' : ' disabled'}` }, h("button", { key: 'c39d389ab89609e8ce11b3dd81eb5c4a50d3521f', class: "page-link", onClick: (e) => {
19
19
  e.preventDefault();
20
20
  this.paging.handleClickNext(this.paging.end_cursor);
21
- }, part: this.paging.has_next ? paginationButton : paginationButtonDisabled }, h("span", { key: '941e3ffd68b5c68fdf6b9839ed5a542bb8f2481e', part: paginationButtonText }, "Next"), h("span", { key: '8b76bde8e9dbdfdb9d527818afcb0d512cda947a', class: "ms-1", part: paginationButtonIconNext }, "\u00BB")))))));
21
+ }, part: this.paging.has_next ? paginationButton : paginationButtonDisabled }, h("span", { key: '6a01458a048a524931b03df6a964fa4a0ac403ac', part: paginationButtonText }, "Next"), h("span", { key: 'f4cb3d084647c00dff30b99f751180564463443f', class: "ms-1", part: paginationButtonIconNext }, "\u00BB")))))));
22
22
  }
23
23
  }, [256, "pagination-menu", {
24
24
  "paging": [16],
@@ -11,6 +11,7 @@ const heading2 = `heading-2 ${heading}`;
11
11
  const heading3 = `heading-3 ${heading}`;
12
12
  const heading4 = `heading-4 ${heading}`;
13
13
  const heading5 = `heading-5 ${heading}`;
14
+ const link = `link text ${fontFamily}`;
14
15
  // Button
15
16
  const button = `button ${text}`;
16
17
  const buttonPrimary = `button-primary ${button}`;
@@ -128,4 +129,4 @@ const orderTypeTerminalOrdersListFilterParam = `${terminalOrdersListFilterParam}
128
129
  const createdAfterTerminalOrdersListFilterParam = `${terminalOrdersListFilterParam} created-after-terminal-orders-list-filter-param`;
129
130
  const createdBeforeTerminalOrdersListFilterParam = `${terminalOrdersListFilterParam} created-before-terminal-orders-list-filter-param`;
130
131
 
131
- export { heading5 as $, paginationButtonText as A, paginationButtonIconNext as B, loadingSpinner as C, badgeDark as D, badgeLight as E, badgeInfo as F, badgeWarning as G, badgeDanger as H, badgeSuccess as I, badgeSecondary as J, badgePrimary as K, badge as L, alertDanger as M, inputCheckboxInvalid as N, inputCheckboxCheckedFocused as O, inputCheckboxFocused as P, inputCheckboxChecked as Q, inputCheckbox as R, inputAdornment as S, inputGroup as T, inputInvalidAndFocused as U, billingForm as V, heading3 as W, buttonSecondary as X, heading4 as Y, image as Z, buttonLink as _, heading1 as a, buttonPrimary as a0, buttonLoading as a1, checkoutSummary as a2, checkoutsListFilterMenu as a3, statusCheckoutsListFilterParam as a4, paymentModeCheckoutsListFilterParam as a5, dropdownMenuButton as a6, dropdownMenu as a7, getAlternateTableCellPart as a8, paymentsListFilterMenu as a9, paymentIdPaymentsListFilterParam as aa, terminalIdPaymentsListFilterParam as ab, paymentStatusPaymentsListFilterParam as ac, createdAfterPaymentsListFilterParam as ad, createdBeforePaymentsListFilterParam as ae, payoutsListFilterMenu as af, createdAfterPayoutsListFilterParam as ag, createdBeforePayoutsListFilterParam as ah, terminalOrdersListFilterMenu as ai, orderStatusTerminalOrdersListFilterParam as aj, orderTypeTerminalOrdersListFilterParam as ak, createdAfterTerminalOrdersListFilterParam as al, createdBeforeTerminalOrdersListFilterParam as am, terminalsListFilterMenu as an, terminalIdTerminalsListFilterParam as ao, terminalOrderIdTerminalsListFilterParam as ap, terminalStatusTerminalsListFilterParam as aq, tableHead as ar, tableHeadRow as as, tableRow as at, tableFoot as au, tableFootRow as av, tableFootCell as aw, tableEmpty as ax, tableError as ay, inputInvalid as b, inputDisabled as c, inputFocused as d, tooltipIcon as e, tooltip as f, tooltipInner as g, heading2 as h, input as i, textDanger as j, inputRadioInvalid as k, label as l, inputRadioCheckedFocused as m, inputRadioChecked as n, inputRadioFocused as o, inputRadio as p, card as q, radioListItem as r, skeleton as s, text as t, table as u, tableHeadCell as v, tableCell as w, paginationButton as x, paginationButtonDisabled as y, paginationButtonIconPrevious as z };
132
+ export { heading5 as $, paginationButtonIconPrevious as A, paginationButtonText as B, paginationButtonIconNext as C, loadingSpinner as D, badgeDark as E, badgeLight as F, badgeInfo as G, badgeWarning as H, badgeDanger as I, badgeSuccess as J, badgeSecondary as K, badgePrimary as L, badge as M, alertDanger as N, inputCheckboxInvalid as O, inputCheckboxCheckedFocused as P, inputCheckboxFocused as Q, inputCheckboxChecked as R, inputCheckbox as S, inputAdornment as T, inputGroup as U, inputInvalidAndFocused as V, billingForm as W, heading3 as X, heading4 as Y, image as Z, buttonLink as _, heading1 as a, buttonSecondary as a0, buttonPrimary as a1, buttonLoading as a2, checkoutSummary as a3, checkoutsListFilterMenu as a4, statusCheckoutsListFilterParam as a5, paymentModeCheckoutsListFilterParam as a6, dropdownMenuButton as a7, dropdownMenu as a8, getAlternateTableCellPart as a9, paymentsListFilterMenu as aa, paymentIdPaymentsListFilterParam as ab, terminalIdPaymentsListFilterParam as ac, paymentStatusPaymentsListFilterParam as ad, createdAfterPaymentsListFilterParam as ae, createdBeforePaymentsListFilterParam as af, payoutsListFilterMenu as ag, createdAfterPayoutsListFilterParam as ah, createdBeforePayoutsListFilterParam as ai, terminalOrdersListFilterMenu as aj, orderStatusTerminalOrdersListFilterParam as ak, orderTypeTerminalOrdersListFilterParam as al, createdAfterTerminalOrdersListFilterParam as am, createdBeforeTerminalOrdersListFilterParam as an, terminalsListFilterMenu as ao, terminalIdTerminalsListFilterParam as ap, terminalOrderIdTerminalsListFilterParam as aq, terminalStatusTerminalsListFilterParam as ar, tableHead as as, tableHeadRow as at, tableRow as au, tableFoot as av, tableFootRow as aw, tableFootCell as ax, tableEmpty as ay, tableError as az, label as b, inputInvalid as c, inputDisabled as d, inputFocused as e, tooltipIcon as f, tooltip as g, heading2 as h, input as i, tooltipInner as j, textDanger as k, link as l, inputRadioInvalid as m, inputRadioCheckedFocused as n, inputRadioChecked as o, inputRadioFocused as p, inputRadio as q, radioListItem as r, skeleton as s, text as t, card as u, table as v, tableHeadCell as w, tableCell as x, paginationButton as y, paginationButtonDisabled as z };
@@ -1,6 +1,10 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
+ import './config-state.js';
2
3
  import { a as formatDate, d as formatTime, s as snakeCaseToHumanReadable } from './utils2.js';
3
- import { M as MapPaymentStatusToBadge } from './payments-status.js';
4
+ import { e as PaymentStatuses, b as DisputeStatus } from './Refund.js';
5
+ import './Pagination.js';
6
+ import './Business.js';
7
+ import { P as PaymentStatusBadge, M as MapPaymentStatusToBadge } from './payments-status.js';
4
8
  import { E as ErrorState, b as EntityHeadInfo, c as EntityHeadInfoItem, D as DetailSectionTitle, a as DetailItem, C as CodeBlock } from './utils.js';
5
9
  import { S as StyledHost } from './styled-host.js';
6
10
  import { d as defineCustomElement$1 } from './details.js';
@@ -48,17 +52,26 @@ const PaymentDetailsCore = /*@__PURE__*/ proxyCustomElement(class PaymentDetails
48
52
  },
49
53
  });
50
54
  }
55
+ get PaymentStatus() {
56
+ if (this.payment.status === PaymentStatuses.disputed) {
57
+ const disputeWasLost = this.payment.disputes.some((dispute) => dispute.status === DisputeStatus.lost);
58
+ if (disputeWasLost) {
59
+ return PaymentStatusBadge.DISPUTE_LOST;
60
+ }
61
+ }
62
+ return this.payment.status;
63
+ }
51
64
  render() {
52
- return (h(StyledHost, { key: '25ed5c9e906407f662ef7ebbaa25f2213e5cccc9' }, this.loading && h(PaymentDetailsLoading, { key: 'b5c123d3ed3e0f652c381cb55203155e12274d22' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
53
- this.payment && (h("justifi-details", { key: 'baf306757436e341879261f25890f32e84506f6e', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '59ffd1cefafce8bdb5f61967705539a13c5a9874', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPaymentStatusToBadge(this.payment.status), this.payment.expedited ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : null)), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: '0c1eb1feda928bae7a99de1b01263521e321c4f7', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: 'd5e18d093518c6f100b60ad024b6767e6309b1f8', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: 'd70449e817bf505f1c9c2784ef1a59e5223c3393', title: "ID", value: this.payment.id })), h("div", { key: '16b88c7204b8bd5216bfd6e53e29d8feea7a1e5d', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'eb6f996248478b0508f429e6924da3a9adfd9f09', sectionTitle: "Details" }), h("div", { key: 'cf3f17085930ac40cebefe920704284f747a1042', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '56897b69bc9ef5b51156ef4e77f24537b8b72df7', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '36e9ac617d83ac03361724525f4833a1795aa93f', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'a7c47250572be737b7f609f4cc70fd920562f620', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: 'bdd0df4024cbe8f7d8bee2f201b3d9a79fc61d2c', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '2c03f3bfaabb5fb37358adcb72d7f9eb880dfcc4', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: 'c4ad1d92e7c4429a0093f60b4c94682f8bd8daec', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '8c7f1531e67e1647b2ca1b0690bcdea8351e32cb', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'f58f18b2b550efdf8e6ffc31f2c6807dafec3755', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: 'b3ca89e74ae93e27bdf58de8b0d29cf21ce1c7c2', title: "Description", value: this.payment.description }), h(DetailItem, { key: '58e1993dee67555d69fb20c560953a7de5658ee2', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
54
- h(DetailSectionTitle, { key: '0e9b3abf65e6592cc5cbed82c5a183f6d05c8fc2', sectionTitle: "Payment Method" }),
55
- h("div", { key: '91fc3faffc6bd2a0c515229efa03a6c1a59c555c', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'f67dfc71504d76159689766c25180dcf2e531409', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: 'e78c847e0a48544592303b7548bbc72b7c6495c9', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '160a4fd630c256c53bb7379ecec7985f8e78c42f', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: 'd3317e6b4186113d1376ded0ccdaed2af2735f38', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: 'd6aaf539523dabf5b79070b9512438a8c043e0e6', title: "Cardholder", value: this.payment.payment_method.payersName }))
65
+ return (h(StyledHost, { key: 'c21bde055f6cb0d1e799150a6aeec78b5448b203' }, this.loading && h(PaymentDetailsLoading, { key: '8b53bcbfff07473d7b12c3fb4b203c941d8a3136' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
66
+ this.payment && (h("justifi-details", { key: 'c669a7e7e44cf5db639b8177e2d0df0c34f26222', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: 'aae0305936b35e19c39af04d42bbb5cd7f350d7d', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPaymentStatusToBadge(this.PaymentStatus), this.payment.expedited ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : null)), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: '4074322623130af0a21f407a43f5752e6f0b8101', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: 'c787517c0f383a06b2cc1b3824c61e756c885fb1', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '82752b93e9d2540c2afa444b7bd9c76f225c3997', title: "ID", value: this.payment.id })), h("div", { key: '334cd65d0f811491aa947da7462d021beb534b56', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '7ee3ab127b13c4d862308501f3acc2891a23a88f', sectionTitle: "Details" }), h("div", { key: '238557ff12daf46bb9c99cc134d8e5e8f67c24ed', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '819e68fe8d51e59c0ce120225091799d1b1d9d53', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: 'd63890fffdbc61e83366a7692fd00aebfe61ffd5', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'c0f584a18c91c5b0b841847f226952eef89690ca', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: '7f20a671d48f48f78fd6fcec95152d274bdb0a3e', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '981e31e166e7780df1dbbdacf1c3ce61a761d7b3', title: "Status", value: MapPaymentStatusToBadge(this.PaymentStatus) }), h(DetailItem, { key: 'e7fdc5fccdb259fb8dc0fb224b9384fe3a172b5a', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '112221995807f5e5468807e0a4e9395146ec771d', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'fa330af63e96fe2888c783332908c43e7f66a29f', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: 'd154d77d74c5b56e8139a28a9220cc60799000d9', title: "Description", value: this.payment.description }), h(DetailItem, { key: '68788fd77e8805d2d58e3cf1aaff3776795a7431', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
67
+ h(DetailSectionTitle, { key: '28ccc458f7ec0c60c3d750e3d8db3317f130e1c6', sectionTitle: "Payment Method" }),
68
+ h("div", { key: 'd163947b967270345b7be3dd8815d8a40bc18c22', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '7fdeabbc64c747218da6cab078995866bebc67fb', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: 'ec2ed7eb523de4c0f64d877bb48f6e02bb2a0e14', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '3c7e7903935e04d8368716887c90a19bb4c3612a', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '77042c02c0ed83d6dc443a8995a1a22c97663c83', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '689a092cfeea4642b9ccaf9846a1ba4ce1de38ca', title: "Cardholder", value: this.payment.payment_method.payersName }))
56
69
  ], this.payment.payment_method.bank_account && [
57
- h(DetailSectionTitle, { key: '17de969fc0e95f5ab2afdbdb0d486f2d0fdd7b65', sectionTitle: "Payment Method" }),
58
- h("div", { key: '796fba5c17545a37996a2b197721f64031e8e0e3', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '5144c207cedc0aa80b9252d216857eba2477bf7a', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '9b06231a073e33adcaca4bc09db654ef65c3738f', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '880c481c9677b629406e90cd13c672850fc5b762', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '3d59ecf1db015154b33a141f445d0f1d9671e7e0', title: "Account Owner", value: this.payment.payment_method.payersName }))
70
+ h(DetailSectionTitle, { key: 'd6369d2d90896916dbffb50f0ebd52014340b8de', sectionTitle: "Payment Method" }),
71
+ h("div", { key: 'dc7a48fbca9ad84b70aaee854d161a0c9f2751f1', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '2b3786ff126a4a53a2ccc9669890ad1df71f111f', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '0114e2d9b6311c8786a8710358d1e6d15785f7f2', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '5926ccc059ce8351c3342b129c42c51ae761ef68', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: 'cf9c5fe4c93e50bd4bceb7d972d9a0b80a976baa', title: "Account Owner", value: this.payment.payment_method.payersName }))
59
72
  ], this.payment.metadata && [
60
- h(DetailSectionTitle, { key: '7597a4e86d8cda118144a80499a98dd9aa67c442', sectionTitle: 'Metadata' }),
61
- h("div", { key: '421c20438ef533975a22796dc4fd10a7fa9fce1d', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '268c3efaa09969a1c8cdddb1faeccc48e7a90701', metadata: this.payment.metadata }))
73
+ h(DetailSectionTitle, { key: '55a4e72b93c9b8bd780026649e69f8f8813012f3', sectionTitle: 'Metadata' }),
74
+ h("div", { key: 'a555d84696123a99f484b27c185f8affe0de34ae', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'f15b235765c9728a048118195465c2f8dc1760f8', metadata: this.payment.metadata }))
62
75
  ])))));
63
76
  }
64
77
  static get watchers() { return {
@@ -16,7 +16,7 @@ const PaymentMethodOption$1 = /*@__PURE__*/ proxyCustomElement(class PaymentMeth
16
16
  this.__attachShadow();
17
17
  }
18
18
  render() {
19
- return (h(StyledHost, { key: 'c3edf1e3223d8d4bbd1b0433bb3546bdb59f0d5e', class: "payment-method" }, h("div", { key: 'e7f8815636cd256758e951d92f89890ee04564c3', class: "radio-list-item p-3", part: radioListItem, onClick: this.clickHandler, hidden: this.radioButtonHidden }, h("form-control-radio", { key: 'f560ddcc9789e9915c8186d3212efe82b9e1d802', name: "paymentMethodType", value: this.paymentMethodOptionId, checked: this.isSelected, label: this.label }))));
19
+ return (h(StyledHost, { key: '1b2afde467e7df3ac661951843ad81fd93878585', class: "payment-method" }, h("div", { key: '1671afdd9d7ceb16836af9453a001ecaa2b6bab4', class: "radio-list-item p-3", part: radioListItem, onClick: this.clickHandler, hidden: this.radioButtonHidden }, h("form-control-radio", { key: '3d1a48f478c9504b63c81ff2665ebff2fb19c862', name: "paymentMethodType", value: this.paymentMethodOptionId, checked: this.isSelected, label: this.label }))));
20
20
  }
21
21
  }, [257, "payment-method-option", {
22
22
  "paymentMethodOptionId": [1, "payment-method-option-id"],
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Refund.js';
3
- import { a as CountryCode, b as Business, e as checkProvisioningStatus } from './Business.js';
3
+ import { c as checkProvisioningStatus } from './helpers.js';
4
4
  import { t as text } from './parts.js';
5
5
  import { S as StyledHost } from './styled-host.js';
6
6
  import { H as Header1 } from './header-1.js';
@@ -8,33 +8,30 @@ import './details.js';
8
8
  import './event-types.js';
9
9
  import './justifi-radio-list-item2.js';
10
10
  import { a as BusinessFormClickActions } from './event-types2.js';
11
- import { d as defineCustomElement$z } from './bank-account-document-inputs.js';
12
- import { d as defineCustomElement$y } from './bank-account-form-inputs2.js';
13
- import { d as defineCustomElement$x } from './bank-account-form-inputs-canada2.js';
14
- import { d as defineCustomElement$w } from './bank-account-read-only-value2.js';
15
- import { d as defineCustomElement$v } from './business-documents-on-file2.js';
16
- import { d as defineCustomElement$u } from './custom-popper2.js';
17
- import { d as defineCustomElement$t } from './form-control-checkbox2.js';
18
- import { d as defineCustomElement$s } from './form-control-date2.js';
19
- import { d as defineCustomElement$r } from './form-control-file2.js';
20
- import { d as defineCustomElement$q } from './form-control-monetary-provisioning2.js';
21
- import { d as defineCustomElement$p } from './form-control-number-masked2.js';
22
- import { d as defineCustomElement$o } from './form-control-select2.js';
23
- import { d as defineCustomElement$n } from './form-control-text2.js';
24
- import { d as defineCustomElement$m } from './form-control-tooltip2.js';
25
- import { d as defineCustomElement$l } from './business-additional-questions-form-step.js';
26
- import { d as defineCustomElement$k } from './business-additional-questions-form-step-core.js';
27
- import { d as defineCustomElement$j } from './business-bank-account-form-step.js';
28
- import { d as defineCustomElement$i } from './business-bank-account-form-step-core.js';
29
- import { d as defineCustomElement$h } from './business-core-info-form-step.js';
30
- import { d as defineCustomElement$g } from './business-core-info-form-step-core.js';
31
- import { d as defineCustomElement$f } from './business-owners-form-step.js';
32
- import { d as defineCustomElement$e } from './business-owners-form-step-core.js';
33
- import { d as defineCustomElement$d } from './business-representative-form-inputs.js';
34
- import { d as defineCustomElement$c } from './business-representative-form-step.js';
35
- import { d as defineCustomElement$b } from './business-representative-form-step-core.js';
36
- import { d as defineCustomElement$a } from './business-terms-conditions-form-step.js';
37
- import { d as defineCustomElement$9 } from './form-address-fields.js';
11
+ import { d as defineCustomElement$w } from './bank-account-document-inputs.js';
12
+ import { d as defineCustomElement$v } from './bank-account-form-inputs2.js';
13
+ import { d as defineCustomElement$u } from './business-documents-on-file2.js';
14
+ import { d as defineCustomElement$t } from './custom-popper2.js';
15
+ import { d as defineCustomElement$s } from './form-control-checkbox2.js';
16
+ import { d as defineCustomElement$r } from './form-control-date2.js';
17
+ import { d as defineCustomElement$q } from './form-control-file2.js';
18
+ import { d as defineCustomElement$p } from './form-control-monetary-provisioning2.js';
19
+ import { d as defineCustomElement$o } from './form-control-number-masked2.js';
20
+ import { d as defineCustomElement$n } from './form-control-select2.js';
21
+ import { d as defineCustomElement$m } from './form-control-text2.js';
22
+ import { d as defineCustomElement$l } from './form-control-tooltip2.js';
23
+ import { d as defineCustomElement$k } from './business-additional-questions-form-step.js';
24
+ import { d as defineCustomElement$j } from './business-additional-questions-form-step-core.js';
25
+ import { d as defineCustomElement$i } from './business-bank-account-form-step.js';
26
+ import { d as defineCustomElement$h } from './business-bank-account-form-step-core.js';
27
+ import { d as defineCustomElement$g } from './business-core-info-form-step.js';
28
+ import { d as defineCustomElement$f } from './business-core-info-form-step-core.js';
29
+ import { d as defineCustomElement$e } from './business-owners-form-step.js';
30
+ import { d as defineCustomElement$d } from './business-owners-form-step-core.js';
31
+ import { d as defineCustomElement$c } from './business-representative-form-inputs.js';
32
+ import { d as defineCustomElement$b } from './business-representative-form-step.js';
33
+ import { d as defineCustomElement$a } from './business-representative-form-step-core.js';
34
+ import { d as defineCustomElement$9 } from './business-terms-conditions-form-step.js';
38
35
  import { d as defineCustomElement$8 } from './identity-address-form.js';
39
36
  import { d as defineCustomElement$7 } from './legal-address-form-step.js';
40
37
  import { d as defineCustomElement$6 } from './legal-address-form-step-core.js';
@@ -56,33 +53,26 @@ const PaymentProvisioningCore = /*@__PURE__*/ proxyCustomElement(class PaymentPr
56
53
  this.loading = false;
57
54
  this.businessProvisioned = false;
58
55
  this.currentStep = 0;
59
- this.country = CountryCode.USA;
60
56
  this.allowOptionalFields = false;
61
57
  this.setBusinessProvisioned = () => {
62
- return new Promise((resolve) => {
63
- this.getBusiness({
64
- onSuccess: (response) => {
65
- const business = new Business(response.data);
66
- this.businessProvisioned = checkProvisioningStatus(business);
67
- this.country = business.country_of_establishment;
68
- if (this.businessProvisioned) {
69
- this.errorEvent.emit({
70
- message: 'A request to provision payments for this business has already been submitted.',
71
- errorCode: ComponentErrorCodes.PROVISIONING_REQUESTED,
72
- severity: ComponentErrorSeverity.INFO,
73
- });
74
- }
75
- resolve();
76
- },
77
- onError: ({ error, code, severity }) => {
58
+ this.getBusiness({
59
+ onSuccess: (response) => {
60
+ this.businessProvisioned = checkProvisioningStatus(response.data);
61
+ if (this.businessProvisioned) {
78
62
  this.errorEvent.emit({
79
- message: error,
80
- errorCode: code,
81
- severity: severity
63
+ message: 'A request to provision payments for this business has already been submitted.',
64
+ errorCode: ComponentErrorCodes.PROVISIONING_REQUESTED,
65
+ severity: ComponentErrorSeverity.INFO,
82
66
  });
83
- resolve();
84
67
  }
85
- });
68
+ },
69
+ onError: ({ error, code, severity }) => {
70
+ this.errorEvent.emit({
71
+ message: error,
72
+ errorCode: code,
73
+ severity: severity
74
+ });
75
+ }
86
76
  });
87
77
  };
88
78
  this.postProvisioningData = () => {
@@ -121,18 +111,9 @@ const PaymentProvisioningCore = /*@__PURE__*/ proxyCustomElement(class PaymentPr
121
111
  handleFormCompleted() {
122
112
  this.postProvisioningData();
123
113
  }
124
- async componentWillLoad() {
125
- if (this.getBusiness)
126
- await this.setBusinessProvisioned();
127
- this.refs = [
128
- this.coreInfoRef,
129
- this.legalAddressRef,
130
- this.additionalQuestionsRef,
131
- this.representativeRef,
132
- this.ownersRef,
133
- this.bankAccountRef,
134
- this.termsRef,
135
- ];
114
+ componentWillLoad() {
115
+ this.getBusiness && this.setBusinessProvisioned();
116
+ this.refs = [this.coreInfoRef, this.legalAddressRef, this.additionalQuestionsRef, this.representativeRef, this.ownersRef, this.bankAccountRef, this.termsRef];
136
117
  }
137
118
  get businessEndpoint() {
138
119
  return `entities/business/${this.businessId}`;
@@ -150,7 +131,7 @@ const PaymentProvisioningCore = /*@__PURE__*/ proxyCustomElement(class PaymentPr
150
131
  this.loading = event.detail;
151
132
  }
152
133
  render() {
153
- return (h(StyledHost, { key: 'f7206f7fa5c0b2052b524737e86b622f92dcd07e' }, h("div", { key: '65cd3a37191f1bdef3380b1c5ceebc260b846b6a', class: 'row gap-3' }, h(Header1, { key: '05fd7dff0691a80ad7c1dc9152a5fd4d851a292d', text: this.formTitle }), h("justifi-payment-provisioning-form-steps", { key: '57f9b35aa0a1fa2205a43cb90c274fa211f7c359', businessId: this.businessId, authToken: this.authToken, refs: this.refs, currentStep: this.currentStep, allowOptionalFields: this.allowOptionalFields, country: this.country, handleFormLoading: this.handleFormLoading }), h("div", { key: '94fd88a0aa9114677a2a1325e14bd059a08b6d72', class: 'd-flex justify-content-between align-items-center' }, h("div", { key: 'bb0ba1762a15c92dbb71f98722b01b1b0324ebcf', class: 'd-flex align-items-center', part: text }, this.stepCounter), h("justifi-payment-provisioning-form-buttons", { key: 'a3cab2c2c655a1bc6d1771c7b759e2b0adc971b0', currentStep: this.currentStep, totalSteps: this.totalSteps, formLoading: this.loading, formDisabled: this.formDisabled, previousStepButtonOnClick: this.previousStepButtonOnClick, nextStepButtonOnClick: this.nextStepButtonOnClick })))));
134
+ return (h(StyledHost, { key: '621b616a3b9d5be0fcc1180dcdb0db6a89ec5aa2' }, h("div", { key: 'b51c6814bb81a6cdc6cd0c5ede4d485582f154ee', class: 'row gap-3' }, h(Header1, { key: '7c03561b4c2b0cfc237d6b933aeffe532f35b626', text: this.formTitle }), h("justifi-payment-provisioning-form-steps", { key: 'b616b52cc9a0057f27ddbae1356710cee05c60fa', businessId: this.businessId, authToken: this.authToken, refs: this.refs, currentStep: this.currentStep, allowOptionalFields: this.allowOptionalFields, handleFormLoading: this.handleFormLoading }), h("div", { key: '2447bad174b5d32d253e821e76ebb32fb9ec50e3', class: 'd-flex justify-content-between align-items-center' }, h("div", { key: 'd746b5275ae0866a8619f67fe00217916153ea0a', class: 'd-flex align-items-center', part: text }, this.stepCounter), h("justifi-payment-provisioning-form-buttons", { key: 'add808398005b6076d91788cc220ab6620f3ddfc', currentStep: this.currentStep, totalSteps: this.totalSteps, formLoading: this.loading, formDisabled: this.formDisabled, previousStepButtonOnClick: this.previousStepButtonOnClick, nextStepButtonOnClick: this.nextStepButtonOnClick })))));
154
135
  }
155
136
  }, [256, "justifi-payment-provisioning-core", {
156
137
  "businessId": [1, "business-id"],
@@ -162,14 +143,13 @@ const PaymentProvisioningCore = /*@__PURE__*/ proxyCustomElement(class PaymentPr
162
143
  "loading": [32],
163
144
  "businessProvisioned": [32],
164
145
  "currentStep": [32],
165
- "errorMessage": [32],
166
- "country": [32]
146
+ "errorMessage": [32]
167
147
  }, [[0, "formCompleted", "handleFormCompleted"], [0, "formLoading", "handleFormLoading"]]]);
168
148
  function defineCustomElement() {
169
149
  if (typeof customElements === "undefined") {
170
150
  return;
171
151
  }
172
- const components = ["justifi-payment-provisioning-core", "bank-account-document-form-inputs", "bank-account-form-inputs", "bank-account-form-inputs-canada", "bank-account-read-only-value", "business-documents-on-file", "custom-popper", "form-control-checkbox", "form-control-date", "form-control-file", "form-control-monetary-provisioning", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-additional-questions-form-step", "justifi-additional-questions-form-step-core", "justifi-business-bank-account-form-step", "justifi-business-bank-account-form-step-core", "justifi-business-core-info-form-step", "justifi-business-core-info-form-step-core", "justifi-business-owners-form-step", "justifi-business-owners-form-step-core", "justifi-business-representative-form-inputs", "justifi-business-representative-form-step", "justifi-business-representative-form-step-core", "justifi-business-terms-conditions-form-step", "justifi-form-address-fields", "justifi-identity-address-form", "justifi-legal-address-form-step", "justifi-legal-address-form-step-core", "justifi-owner-form", "justifi-payment-provisioning-form-buttons", "justifi-payment-provisioning-form-steps", "owner-form-core", "owner-form-inputs"];
152
+ const components = ["justifi-payment-provisioning-core", "bank-account-document-form-inputs", "bank-account-form-inputs", "business-documents-on-file", "custom-popper", "form-control-checkbox", "form-control-date", "form-control-file", "form-control-monetary-provisioning", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-additional-questions-form-step", "justifi-additional-questions-form-step-core", "justifi-business-bank-account-form-step", "justifi-business-bank-account-form-step-core", "justifi-business-core-info-form-step", "justifi-business-core-info-form-step-core", "justifi-business-owners-form-step", "justifi-business-owners-form-step-core", "justifi-business-representative-form-inputs", "justifi-business-representative-form-step", "justifi-business-representative-form-step-core", "justifi-business-terms-conditions-form-step", "justifi-identity-address-form", "justifi-legal-address-form-step", "justifi-legal-address-form-step-core", "justifi-owner-form", "justifi-payment-provisioning-form-buttons", "justifi-payment-provisioning-form-steps", "owner-form-core", "owner-form-inputs"];
173
153
  components.forEach(tagName => { switch (tagName) {
174
154
  case "justifi-payment-provisioning-core":
175
155
  if (!customElements.get(tagName)) {
@@ -177,136 +157,121 @@ function defineCustomElement() {
177
157
  }
178
158
  break;
179
159
  case "bank-account-document-form-inputs":
180
- if (!customElements.get(tagName)) {
181
- defineCustomElement$z();
182
- }
183
- break;
184
- case "bank-account-form-inputs":
185
- if (!customElements.get(tagName)) {
186
- defineCustomElement$y();
187
- }
188
- break;
189
- case "bank-account-form-inputs-canada":
190
- if (!customElements.get(tagName)) {
191
- defineCustomElement$x();
192
- }
193
- break;
194
- case "bank-account-read-only-value":
195
160
  if (!customElements.get(tagName)) {
196
161
  defineCustomElement$w();
197
162
  }
198
163
  break;
199
- case "business-documents-on-file":
164
+ case "bank-account-form-inputs":
200
165
  if (!customElements.get(tagName)) {
201
166
  defineCustomElement$v();
202
167
  }
203
168
  break;
204
- case "custom-popper":
169
+ case "business-documents-on-file":
205
170
  if (!customElements.get(tagName)) {
206
171
  defineCustomElement$u();
207
172
  }
208
173
  break;
209
- case "form-control-checkbox":
174
+ case "custom-popper":
210
175
  if (!customElements.get(tagName)) {
211
176
  defineCustomElement$t();
212
177
  }
213
178
  break;
214
- case "form-control-date":
179
+ case "form-control-checkbox":
215
180
  if (!customElements.get(tagName)) {
216
181
  defineCustomElement$s();
217
182
  }
218
183
  break;
219
- case "form-control-file":
184
+ case "form-control-date":
220
185
  if (!customElements.get(tagName)) {
221
186
  defineCustomElement$r();
222
187
  }
223
188
  break;
224
- case "form-control-monetary-provisioning":
189
+ case "form-control-file":
225
190
  if (!customElements.get(tagName)) {
226
191
  defineCustomElement$q();
227
192
  }
228
193
  break;
229
- case "form-control-number-masked":
194
+ case "form-control-monetary-provisioning":
230
195
  if (!customElements.get(tagName)) {
231
196
  defineCustomElement$p();
232
197
  }
233
198
  break;
234
- case "form-control-select":
199
+ case "form-control-number-masked":
235
200
  if (!customElements.get(tagName)) {
236
201
  defineCustomElement$o();
237
202
  }
238
203
  break;
239
- case "form-control-text":
204
+ case "form-control-select":
240
205
  if (!customElements.get(tagName)) {
241
206
  defineCustomElement$n();
242
207
  }
243
208
  break;
244
- case "form-control-tooltip":
209
+ case "form-control-text":
245
210
  if (!customElements.get(tagName)) {
246
211
  defineCustomElement$m();
247
212
  }
248
213
  break;
249
- case "justifi-additional-questions-form-step":
214
+ case "form-control-tooltip":
250
215
  if (!customElements.get(tagName)) {
251
216
  defineCustomElement$l();
252
217
  }
253
218
  break;
254
- case "justifi-additional-questions-form-step-core":
219
+ case "justifi-additional-questions-form-step":
255
220
  if (!customElements.get(tagName)) {
256
221
  defineCustomElement$k();
257
222
  }
258
223
  break;
259
- case "justifi-business-bank-account-form-step":
224
+ case "justifi-additional-questions-form-step-core":
260
225
  if (!customElements.get(tagName)) {
261
226
  defineCustomElement$j();
262
227
  }
263
228
  break;
264
- case "justifi-business-bank-account-form-step-core":
229
+ case "justifi-business-bank-account-form-step":
265
230
  if (!customElements.get(tagName)) {
266
231
  defineCustomElement$i();
267
232
  }
268
233
  break;
269
- case "justifi-business-core-info-form-step":
234
+ case "justifi-business-bank-account-form-step-core":
270
235
  if (!customElements.get(tagName)) {
271
236
  defineCustomElement$h();
272
237
  }
273
238
  break;
274
- case "justifi-business-core-info-form-step-core":
239
+ case "justifi-business-core-info-form-step":
275
240
  if (!customElements.get(tagName)) {
276
241
  defineCustomElement$g();
277
242
  }
278
243
  break;
279
- case "justifi-business-owners-form-step":
244
+ case "justifi-business-core-info-form-step-core":
280
245
  if (!customElements.get(tagName)) {
281
246
  defineCustomElement$f();
282
247
  }
283
248
  break;
284
- case "justifi-business-owners-form-step-core":
249
+ case "justifi-business-owners-form-step":
285
250
  if (!customElements.get(tagName)) {
286
251
  defineCustomElement$e();
287
252
  }
288
253
  break;
289
- case "justifi-business-representative-form-inputs":
254
+ case "justifi-business-owners-form-step-core":
290
255
  if (!customElements.get(tagName)) {
291
256
  defineCustomElement$d();
292
257
  }
293
258
  break;
294
- case "justifi-business-representative-form-step":
259
+ case "justifi-business-representative-form-inputs":
295
260
  if (!customElements.get(tagName)) {
296
261
  defineCustomElement$c();
297
262
  }
298
263
  break;
299
- case "justifi-business-representative-form-step-core":
264
+ case "justifi-business-representative-form-step":
300
265
  if (!customElements.get(tagName)) {
301
266
  defineCustomElement$b();
302
267
  }
303
268
  break;
304
- case "justifi-business-terms-conditions-form-step":
269
+ case "justifi-business-representative-form-step-core":
305
270
  if (!customElements.get(tagName)) {
306
271
  defineCustomElement$a();
307
272
  }
308
273
  break;
309
- case "justifi-form-address-fields":
274
+ case "justifi-business-terms-conditions-form-step":
310
275
  if (!customElements.get(tagName)) {
311
276
  defineCustomElement$9();
312
277
  }
@@ -23,7 +23,7 @@ const PaymentProvisioningFormButtons = /*@__PURE__*/ proxyCustomElement(class Pa
23
23
  return this.currentStep === this.totalSteps;
24
24
  }
25
25
  render() {
26
- return (h("div", { key: 'ad959d93323ee66a154d5addbabd0cd0351f5d5f', class: 'd-flex gap-2' }, h(Button, { key: '6f77f6c7ee080a1a2525ec92107881adfef3afcb', variant: "secondary", type: "button", onClick: () => this.previousStepButtonOnClick(), disabled: this.formDisabled, hidden: !this.showPreviousStepButton }, "Previous"), h(Button, { key: '6edac397291014bde05eed8f64ca6a543f951a44', variant: "primary", type: "button", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.nextStep), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showNextStepButton }, "Next"), h(Button, { key: 'ba2f0c103c2b54e9047aee927ed8afb8e5361f66', variant: "primary", type: "submit", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.submit), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showSubmitButton }, "Submit")));
26
+ return (h("div", { key: '5869ed8c350e3a1ae5fe62dcd04493f432eecff7', class: 'd-flex gap-2' }, h(Button, { key: 'b1e8c2fff97e9a053d715860a43ddd78c99b255a', variant: "secondary", type: "button", onClick: () => this.previousStepButtonOnClick(), disabled: this.formDisabled, hidden: !this.showPreviousStepButton }, "Previous"), h(Button, { key: '8696fe4f0bde5434e51f05f67b39a8e5b2f550bf', variant: "primary", type: "button", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.nextStep), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showNextStepButton }, "Next"), h(Button, { key: 'b1750a849d60244bdb3cf82690c6cbd15b6e1110', variant: "primary", type: "submit", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.submit), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showSubmitButton }, "Submit")));
27
27
  }
28
28
  }, [256, "justifi-payment-provisioning-form-buttons", {
29
29
  "currentStep": [2, "current-step"],