@justifi/webcomponents 6.1.1 → 6.2.0-rc.2

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 (668) hide show
  1. package/dist/cjs/{Business-DCRzZf0w.js → Business-DWHy_-z9.js} +299 -9
  2. package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +132 -0
  3. package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
  4. package/dist/cjs/{business-additional-questions-schema-b8P-0T0O.js → business-additional-questions-schema-CetDMUp7.js} +26 -4
  5. package/dist/cjs/{business-form-options-CMII7nIK.js → business-form-options-e9UFw4P-.js} +1 -1
  6. package/dist/cjs/business-identity-schema-Cd0tvfJr.js +101 -0
  7. package/dist/cjs/{business.service-Cj_NUZsr.js → business.service-DRZurAMP.js} +1 -1
  8. package/dist/cjs/card-form.cjs.entry.js +2 -2
  9. package/dist/cjs/{check-pkg-version-CEZpYUNV.js → check-pkg-version-DHOBcjoo.js} +2 -2
  10. package/dist/cjs/{checkout.service-Bc8L9ixO.js → checkout.service-vZbSE3A3.js} +1 -1
  11. package/dist/cjs/checkouts-list-core.cjs.entry.js +2 -4
  12. package/dist/cjs/country-config-MCOhn8o3.js +68 -0
  13. package/dist/cjs/{custom-popper_2.cjs.entry.js → custom-popper.cjs.entry.js} +2 -22
  14. package/dist/cjs/{dispute.service-DhO_tuDc.js → dispute.service-DV9a61Tu.js} +1 -1
  15. package/dist/cjs/form-alert_5.cjs.entry.js +25 -15
  16. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  17. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  18. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  19. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
  20. package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
  21. package/dist/cjs/form-control-number-masked_3.cjs.entry.js +119 -0
  22. package/dist/cjs/form-control-number.cjs.entry.js +2 -2
  23. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  24. package/dist/cjs/{form-control-select_2.cjs.entry.js → form-control-select_3.cjs.entry.js} +23 -4
  25. package/dist/cjs/{form-input-masks-DgXd0f4V.js → form-input-masks-BnNFJ3IJ.js} +9 -4
  26. package/dist/cjs/{get-business-o5jPq_ME.js → get-business-D9ZHyPem.js} +1 -1
  27. package/dist/cjs/{get-payment-details-BinT-ZEP.js → get-payment-details-AYzxPu-X.js} +1 -1
  28. package/dist/cjs/{get-subaccounts-BoTVdl7v.js → get-subaccounts-C_KD197w.js} +1 -1
  29. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
  30. package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
  31. package/dist/cjs/{input-handlers-DYl_0IwC.js → input-handlers-D6QMwPTB.js} +2 -2
  32. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +121 -64
  33. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +17 -18
  34. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
  35. package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +8 -10
  36. package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +16 -17
  37. package/dist/cjs/justifi-business-details.cjs.entry.js +5 -7
  38. package/dist/cjs/justifi-business-form.cjs.entry.js +16 -12
  39. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +14 -6
  40. package/dist/cjs/justifi-checkout.cjs.entry.js +5 -7
  41. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -4
  42. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +6 -8
  43. package/dist/cjs/justifi-details.cjs.entry.js +1 -1
  44. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  45. package/dist/cjs/justifi-dispute-management.cjs.entry.js +5 -7
  46. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +7 -9
  47. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -5
  48. package/dist/cjs/justifi-order-terminals.cjs.entry.js +7 -9
  49. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +22 -13
  50. package/dist/cjs/justifi-payment-details.cjs.entry.js +5 -7
  51. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +36 -21
  52. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -7
  53. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +5 -7
  54. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  55. package/dist/cjs/justifi-payments-list.cjs.entry.js +5 -7
  56. package/dist/cjs/justifi-payout-details.cjs.entry.js +4 -6
  57. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +5 -7
  58. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
  59. package/dist/cjs/justifi-payouts-list.cjs.entry.js +6 -8
  60. package/dist/cjs/justifi-refund-payment.cjs.entry.js +5 -7
  61. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
  62. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -5
  63. package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
  64. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +3 -5
  65. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +5 -7
  66. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -4
  67. package/dist/cjs/justifi-terminals-list.cjs.entry.js +6 -8
  68. package/dist/cjs/loader.cjs.js +1 -1
  69. package/dist/cjs/{package-D2S7GRvh.js → package-BacF7Q_h.js} +1 -1
  70. package/dist/cjs/pagination-menu.cjs.entry.js +3 -3
  71. package/dist/cjs/payment-details-core.cjs.entry.js +9 -11
  72. package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
  73. package/dist/cjs/{payment.service-C9thkR4g.js → payment.service-1t60I69m.js} +1 -1
  74. package/dist/cjs/payments-list-core.cjs.entry.js +2 -4
  75. package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
  76. package/dist/cjs/{payout.service-CGZxpQMq.js → payout.service-CQEXfufW.js} +1 -1
  77. package/dist/cjs/payouts-list-core.cjs.entry.js +2 -4
  78. package/dist/cjs/{schema-validations-Bj7eYNO8.js → schema-validations-0mjPveQ0.js} +45 -6
  79. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  80. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -5
  81. package/dist/cjs/{terminal-orders-table-7ew1vCKk.js → terminal-orders-table-B4ZXHj3w.js} +1 -1
  82. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  83. package/dist/cjs/{terminal.service-BkKxH-k4.js → terminal.service-BlW-CJ67.js} +1 -1
  84. package/dist/cjs/terminals-list-core.cjs.entry.js +2 -4
  85. package/dist/cjs/webcomponents.cjs.js +1 -1
  86. package/dist/collection/api/BankAccount.js +4 -0
  87. package/dist/collection/api/Business.js +16 -1
  88. package/dist/collection/collection-manifest.json +4 -1
  89. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +7 -6
  90. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +36 -4
  91. package/dist/collection/components/business-forms/business-form/business-form.js +6 -2
  92. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +46 -9
  93. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +32 -10
  94. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +26 -6
  95. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +29 -3
  96. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +48 -6
  97. package/dist/collection/components/business-forms/owner-form/owner-form.js +26 -1
  98. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  99. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
  100. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +88 -0
  101. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +2 -1
  102. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +50 -0
  103. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +36 -5
  104. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +26 -1
  105. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +47 -7
  106. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +26 -1
  107. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +26 -1
  108. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +26 -1
  109. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +43 -4
  110. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +33 -4
  111. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +26 -1
  112. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +101 -0
  113. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
  114. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +35 -10
  115. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +26 -1
  116. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +39 -20
  117. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  118. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +34 -6
  119. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  120. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  121. package/dist/collection/components/business-forms/payment-provisioning/test/mockBusiness.js +52 -0
  122. package/dist/collection/components/business-forms/schemas/business-address-schema.js +41 -19
  123. package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +74 -39
  124. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +27 -4
  125. package/dist/collection/components/business-forms/schemas/business-form-schema.js +7 -4
  126. package/dist/collection/components/business-forms/schemas/business-identity-schema.js +53 -24
  127. package/dist/collection/components/business-forms/schemas/schema-validations.js +41 -4
  128. package/dist/collection/components/business-forms/utils/country-config.js +47 -0
  129. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  130. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  131. package/dist/collection/components/checkout/checkout.js +2 -2
  132. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  133. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  134. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  135. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  136. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  137. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  138. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  139. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  140. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  141. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  142. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  143. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  144. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  145. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  146. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  147. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  148. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  149. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  150. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  151. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  152. package/dist/collection/components/modular-checkout/modular-checkout.js +3 -4
  153. package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
  154. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  155. package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
  156. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  157. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  158. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  159. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  160. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  161. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  162. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  163. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  164. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  165. package/dist/collection/components/payments-list/payments-list.js +1 -1
  166. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  167. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  168. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  169. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  170. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  171. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  172. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  173. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  174. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  175. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  176. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  177. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +3 -4
  178. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  179. package/dist/collection/ui-components/details/details.js +1 -1
  180. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  181. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  182. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  183. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  184. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  185. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  186. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  187. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  188. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  189. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  190. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  191. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  192. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  193. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -3
  194. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  195. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  196. package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
  197. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  198. package/dist/collection/utils/country-codes.js +5 -0
  199. package/dist/collection/utils/form-input-masks.js +8 -0
  200. package/dist/collection/utils/province-options.js +20 -0
  201. package/dist/docs.json +1129 -147
  202. package/dist/esm/{Api-DhiA2e_P.js → Api-K9QH1Aki.js} +1 -1
  203. package/dist/esm/{Business-BCoP0TAV.js → Business-B5rtFhtR.js} +290 -3
  204. package/dist/esm/{Refund-B-iOTRxz.js → Refund-L_muwEAh.js} +1 -1
  205. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  206. package/dist/esm/{badge-CtdO-tEY.js → badge-B8fF98jp.js} +1 -1
  207. package/dist/esm/bank-account-document-form-inputs_6.entry.js +125 -0
  208. package/dist/esm/bank-account-form.entry.js +5 -5
  209. package/dist/esm/{business-additional-questions-schema-9FAJSx_D.js → business-additional-questions-schema-DSvdNuI1.js} +26 -5
  210. package/dist/esm/business-details-core.entry.js +3 -3
  211. package/dist/esm/{business-form-options-CgssATyg.js → business-form-options-D6s5H4RI.js} +2 -2
  212. package/dist/esm/business-identity-schema-mN4VhA1v.js +94 -0
  213. package/dist/esm/{business.service-D55OVyco.js → business.service-BJcGEUDH.js} +3 -3
  214. package/dist/esm/{button-DtTaQHMK.js → button-DZoLTGMB.js} +1 -1
  215. package/dist/esm/card-form.entry.js +5 -5
  216. package/dist/esm/{check-pkg-version-Ba95SWgY.js → check-pkg-version-D2zmagAo.js} +4 -4
  217. package/dist/esm/{checkout.service-fwbqSq8g.js → checkout.service-aymuZDC9.js} +3 -3
  218. package/dist/esm/checkouts-list-core.entry.js +9 -11
  219. package/dist/esm/{checkouts-table-B6gGDtOr.js → checkouts-table-B8k-Aylm.js} +3 -3
  220. package/dist/esm/country-config-BQ4D46Lb.js +64 -0
  221. package/dist/esm/{custom-popper_2.entry.js → custom-popper.entry.js} +3 -22
  222. package/dist/esm/{dispute.service-Cdq3_yRo.js → dispute.service-DiPbsswm.js} +3 -3
  223. package/dist/esm/form-alert_5.entry.js +25 -15
  224. package/dist/esm/form-control-checkbox.entry.js +5 -5
  225. package/dist/esm/form-control-date.entry.js +4 -4
  226. package/dist/esm/{form-control-error-text-bprS-t9d.js → form-control-error-text-BmD6bGbR.js} +1 -1
  227. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  228. package/dist/esm/{form-control-help-text-Bvnp-IAG.js → form-control-help-text-DbIhIcc6.js} +1 -1
  229. package/dist/esm/form-control-monetary-provisioning.entry.js +6 -6
  230. package/dist/esm/form-control-monetary.entry.js +6 -6
  231. package/dist/esm/form-control-number-masked_3.entry.js +115 -0
  232. package/dist/esm/form-control-number.entry.js +5 -5
  233. package/dist/esm/form-control-radio.entry.js +3 -3
  234. package/dist/esm/{form-control-select_2.entry.js → form-control-select_3.entry.js} +25 -7
  235. package/dist/esm/{form-input-masks-B-iV5cYd.js → form-input-masks-CVaOFfrI.js} +9 -3
  236. package/dist/esm/{get-business-Crb6P-iI.js → get-business-Xt7B5dSo.js} +1 -1
  237. package/dist/esm/{get-payment-details-sGoWyAat.js → get-payment-details-DcC5v85s.js} +2 -2
  238. package/dist/esm/{get-subaccounts-BsJSlShO.js → get-subaccounts-CMJMDwSP.js} +3 -3
  239. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  240. package/dist/esm/{header-1-C1Hnxki8.js → header-1-umkpdspt.js} +1 -1
  241. package/dist/esm/{header-3-Bq8fpjm-.js → header-3-CD5K5vCa.js} +1 -1
  242. package/dist/esm/hidden-input_2.entry.js +7 -7
  243. package/dist/esm/{input-handlers-CX6mSvOM.js → input-handlers-D3y0TzH9.js} +1 -1
  244. package/dist/esm/{insurance-state-CVme82j7.js → insurance-state-sR5DrCdu.js} +1 -1
  245. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +127 -70
  246. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +22 -23
  247. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  248. package/dist/esm/justifi-apple-pay_8.entry.js +16 -18
  249. package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +22 -23
  250. package/dist/esm/justifi-business-details.entry.js +10 -12
  251. package/dist/esm/justifi-business-form.entry.js +23 -19
  252. package/dist/esm/justifi-business-representative-form-inputs.entry.js +15 -7
  253. package/dist/esm/justifi-checkout.entry.js +9 -11
  254. package/dist/esm/justifi-checkouts-list-filters.entry.js +5 -7
  255. package/dist/esm/justifi-checkouts-list.entry.js +12 -14
  256. package/dist/esm/justifi-details.entry.js +3 -3
  257. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  258. package/dist/esm/justifi-dispute-management.entry.js +8 -10
  259. package/dist/esm/justifi-dispute-notification_3.entry.js +13 -15
  260. package/dist/esm/justifi-gross-payment-chart.entry.js +8 -10
  261. package/dist/esm/justifi-order-terminals.entry.js +12 -14
  262. package/dist/esm/justifi-owner-form_3.entry.js +27 -18
  263. package/dist/esm/justifi-payment-details.entry.js +10 -12
  264. package/dist/esm/justifi-payment-provisioning-core.entry.js +38 -23
  265. package/dist/esm/justifi-payment-provisioning.entry.js +8 -10
  266. package/dist/esm/justifi-payment-transactions-list.entry.js +11 -13
  267. package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
  268. package/dist/esm/justifi-payments-list.entry.js +12 -14
  269. package/dist/esm/justifi-payout-details.entry.js +9 -11
  270. package/dist/esm/justifi-payout-transactions-list.entry.js +11 -13
  271. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
  272. package/dist/esm/justifi-payouts-list.entry.js +13 -15
  273. package/dist/esm/justifi-refund-payment.entry.js +11 -13
  274. package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
  275. package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -11
  276. package/dist/esm/justifi-skeleton.entry.js +3 -3
  277. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +6 -8
  278. package/dist/esm/justifi-terminal-orders-list.entry.js +10 -12
  279. package/dist/esm/justifi-terminals-list-filters.entry.js +5 -7
  280. package/dist/esm/justifi-terminals-list.entry.js +12 -14
  281. package/dist/esm/loader.js +1 -1
  282. package/dist/esm/{package-Csfiax9X.js → package-C7cvPZSk.js} +1 -1
  283. package/dist/esm/pagination-menu.entry.js +4 -4
  284. package/dist/esm/{parts-xDbRW9xn.js → parts-Dj_zevuD.js} +1 -1
  285. package/dist/esm/payment-details-core.entry.js +16 -18
  286. package/dist/esm/payment-method-option.entry.js +2 -2
  287. package/dist/esm/{payment.service-BoQ1MW1k.js → payment.service-C0xnydJ8.js} +3 -3
  288. package/dist/esm/payments-list-core.entry.js +10 -12
  289. package/dist/esm/{payments-status-cvtVmtY5.js → payments-status-CzazNnFv.js} +1 -1
  290. package/dist/esm/{payments-table-D_BlyU1F.js → payments-table-BPKxBAJ0.js} +3 -3
  291. package/dist/esm/payout-details-core.entry.js +10 -10
  292. package/dist/esm/{payout.service-xcBdom3q.js → payout.service-Cl4yxnrx.js} +3 -3
  293. package/dist/esm/payouts-list-core.entry.js +10 -12
  294. package/dist/esm/{payouts-status-D-vjrqBb.js → payouts-status-rKlX41bK.js} +1 -1
  295. package/dist/esm/{payouts-table-Clj8YGLV.js → payouts-table-C6ZDcd_-.js} +3 -3
  296. package/dist/esm/{schema-validations-B9dmY7ME.js → schema-validations-BFoU1cR8.js} +41 -6
  297. package/dist/esm/{skeleton-B8EUwt4b.js → skeleton-BEoPu3My.js} +1 -1
  298. package/dist/esm/{spinner-CYXkn1fh.js → spinner-Ac-w5zWg.js} +1 -1
  299. package/dist/esm/{table-Bj20uWfu.js → table-BCwizIf9.js} +2 -2
  300. package/dist/esm/table-filters-menu.entry.js +3 -3
  301. package/dist/esm/terminal-orders-list-core.entry.js +9 -11
  302. package/dist/esm/{terminal-orders-table-DzBpIW8i.js → terminal-orders-table-BBQsoUh8.js} +5 -5
  303. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  304. package/dist/esm/{terminal.service-l6zTIPZ3.js → terminal.service-mwaS-Mbj.js} +3 -3
  305. package/dist/esm/terminals-list-core.entry.js +9 -11
  306. package/dist/esm/{terminals-table-BMS5tazC.js → terminals-table-ByiFdTfy.js} +3 -3
  307. package/dist/esm/{utils-BOijEGPV.js → utils-CIaHqjQt.js} +1 -1
  308. package/dist/esm/{utils-DRwofES0.js → utils-KBIYAa0D.js} +1 -1
  309. package/dist/esm/webcomponents.js +1 -1
  310. package/dist/module/Business.js +290 -3
  311. package/dist/module/additional-questions.js +2 -2
  312. package/dist/module/additional-statement.js +2 -2
  313. package/dist/module/bank-account-billing-form-simple.js +1 -1
  314. package/dist/module/bank-account-document-inputs.js +1 -1
  315. package/dist/module/bank-account-form-inputs-canada.d.ts +11 -0
  316. package/dist/module/bank-account-form-inputs-canada.js +6 -0
  317. package/dist/module/bank-account-form-inputs-canada2.js +68 -0
  318. package/dist/module/bank-account-form-inputs2.js +9 -2
  319. package/dist/module/bank-account-form.js +2 -2
  320. package/dist/module/bank-account-read-only-value.d.ts +11 -0
  321. package/dist/module/bank-account-read-only-value.js +6 -0
  322. package/dist/module/bank-account-read-only-value2.js +33 -0
  323. package/dist/module/bank-account.js +2 -2
  324. package/dist/module/billing-form-full.js +1 -1
  325. package/dist/module/business-additional-questions-form-step.js +1 -1
  326. package/dist/module/business-address-schema.js +40 -20
  327. package/dist/module/business-bank-account-form-step-core.js +101 -48
  328. package/dist/module/business-bank-account-form-step.js +18 -5
  329. package/dist/module/business-core-info-form-step-core.js +22 -7
  330. package/dist/module/business-core-info-form-step.js +2 -1
  331. package/dist/module/business-core-info-schema.js +26 -5
  332. package/dist/module/business-core-info.js +12 -4
  333. package/dist/module/business-identity-schema.js +52 -25
  334. package/dist/module/business-owners-form-step-core.js +20 -13
  335. package/dist/module/business-owners-form-step.js +22 -15
  336. package/dist/module/business-representative-form-inputs.js +34 -17
  337. package/dist/module/business-representative-form-step-core.js +29 -18
  338. package/dist/module/business-representative-form-step.js +24 -17
  339. package/dist/module/business-representative.js +37 -19
  340. package/dist/module/business-terms-conditions-form-step.js +1 -1
  341. package/dist/module/button.js +1 -1
  342. package/dist/module/cancellation-policy.js +2 -2
  343. package/dist/module/card-billing-form-simple.js +1 -1
  344. package/dist/module/card-form.js +2 -2
  345. package/dist/module/card-form2.js +2 -2
  346. package/dist/module/checkouts-list-core2.js +1 -1
  347. package/dist/module/country-config.js +64 -0
  348. package/dist/module/custom-popper2.js +2 -2
  349. package/dist/module/customer-details.js +2 -2
  350. package/dist/module/details.js +1 -1
  351. package/dist/module/dispute-management-core.js +1 -1
  352. package/dist/module/dispute-notification.js +2 -2
  353. package/dist/module/dispute-response-core.js +2 -2
  354. package/dist/module/dispute-response.js +1 -1
  355. package/dist/module/duplicate-charge.js +2 -2
  356. package/dist/module/electronic-evidence.js +2 -2
  357. package/dist/module/form-address-fields.js +65 -0
  358. package/dist/module/form-control-checkbox2.js +2 -2
  359. package/dist/module/form-control-date2.js +2 -2
  360. package/dist/module/form-control-file-v22.js +1 -1
  361. package/dist/module/form-control-file2.js +2 -2
  362. package/dist/module/form-control-monetary-provisioning2.js +2 -2
  363. package/dist/module/form-control-monetary2.js +2 -2
  364. package/dist/module/form-control-number-masked2.js +2 -2
  365. package/dist/module/form-control-number.js +2 -2
  366. package/dist/module/form-control-radio2.js +2 -2
  367. package/dist/module/form-control-select2.js +2 -2
  368. package/dist/module/form-control-text2.js +2 -2
  369. package/dist/module/form-control-textarea2.js +2 -2
  370. package/dist/module/form-input-masks.js +9 -3
  371. package/dist/module/get-business.js +1 -1
  372. package/dist/module/gross-payment-chart-core2.js +1 -1
  373. package/dist/module/hidden-input2.js +1 -1
  374. package/dist/module/identity-address-form.js +16 -14
  375. package/dist/module/iframe-input2.js +3 -3
  376. package/dist/module/input-handlers.js +1 -1
  377. package/dist/module/justifi-business-form.js +41 -29
  378. package/dist/module/justifi-button2.js +1 -1
  379. package/dist/module/justifi-checkout.js +2 -2
  380. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  381. package/dist/module/justifi-checkouts-list.js +1 -1
  382. package/dist/module/justifi-dispute-management.js +1 -1
  383. package/dist/module/justifi-form-address-fields.d.ts +11 -0
  384. package/dist/module/justifi-form-address-fields.js +6 -0
  385. package/dist/module/justifi-header2.js +1 -1
  386. package/dist/module/justifi-order-terminals.js +3 -3
  387. package/dist/module/justifi-payment-provisioning.js +67 -49
  388. package/dist/module/justifi-payment-transactions-list.js +1 -1
  389. package/dist/module/justifi-payments-list-filters.js +2 -2
  390. package/dist/module/justifi-payments-list.js +1 -1
  391. package/dist/module/justifi-payout-transactions-list.js +1 -1
  392. package/dist/module/justifi-payouts-list-filters.js +2 -2
  393. package/dist/module/justifi-payouts-list.js +1 -1
  394. package/dist/module/justifi-radio-list-item2.js +1 -1
  395. package/dist/module/justifi-saved-payment-method.js +1 -1
  396. package/dist/module/justifi-skeleton.js +1 -1
  397. package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
  398. package/dist/module/justifi-terminal-orders-list.js +1 -1
  399. package/dist/module/justifi-terminals-list-filters.js +1 -1
  400. package/dist/module/justifi-terminals-list.js +1 -1
  401. package/dist/module/legal-address-form-step-core.js +26 -19
  402. package/dist/module/legal-address-form-step.js +16 -9
  403. package/dist/module/legal-address-form.js +18 -15
  404. package/dist/module/modular-checkout.js +1 -1
  405. package/dist/module/owner-form-core2.js +23 -15
  406. package/dist/module/owner-form-inputs2.js +34 -15
  407. package/dist/module/owner-form.js +20 -13
  408. package/dist/module/package.js +1 -1
  409. package/dist/module/pagination-menu2.js +3 -3
  410. package/dist/module/parts.js +1 -1
  411. package/dist/module/payment-details-core2.js +8 -8
  412. package/dist/module/payment-method-option.js +1 -1
  413. package/dist/module/payment-provisioning-core.js +104 -69
  414. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  415. package/dist/module/payment-provisioning-form-steps.js +75 -54
  416. package/dist/module/payments-list-core2.js +1 -1
  417. package/dist/module/payout-details-core2.js +3 -3
  418. package/dist/module/payouts-list-core2.js +1 -1
  419. package/dist/module/product-or-service.js +2 -2
  420. package/dist/module/refund-policy.js +2 -2
  421. package/dist/module/save-new-payment-method.js +1 -1
  422. package/dist/module/schema-validations.js +41 -6
  423. package/dist/module/shipping-details.js +2 -2
  424. package/dist/module/summary.js +1 -1
  425. package/dist/module/table-filters-menu2.js +1 -1
  426. package/dist/module/terminal-orders-list-core2.js +1 -1
  427. package/dist/module/terminal-quantity-selector2.js +2 -2
  428. package/dist/module/terminals-list-core2.js +1 -1
  429. package/dist/module/tokenize-payment-method.js +1 -1
  430. package/dist/types/api/BankAccount.d.ts +6 -0
  431. package/dist/types/api/Business.d.ts +9 -0
  432. package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +3 -0
  433. package/dist/types/components/business-forms/business-form/business-form.d.ts +2 -0
  434. package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +4 -1
  435. package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +2 -0
  436. package/dist/types/components/business-forms/owner-form/identity-address/identity-address-form.d.ts +2 -0
  437. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +2 -0
  438. package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +3 -0
  439. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +2 -0
  440. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.d.ts +7 -0
  441. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.d.ts +5 -0
  442. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +5 -0
  443. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +2 -0
  444. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +3 -0
  445. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +2 -0
  446. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +2 -0
  447. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +2 -0
  448. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +3 -0
  449. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +2 -0
  450. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +2 -0
  451. package/dist/types/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.d.ts +8 -0
  452. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +2 -0
  453. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +2 -0
  454. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +4 -2
  455. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +2 -0
  456. package/dist/types/components/business-forms/payment-provisioning/test/mockBusiness.d.ts +12 -0
  457. package/dist/types/components/business-forms/schemas/business-address-schema.d.ts +54 -2
  458. package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +14 -16
  459. package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +67 -3
  460. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +165 -7
  461. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +122 -2
  462. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +5 -0
  463. package/dist/types/components.d.ts +119 -10
  464. package/dist/types/utils/country-codes.d.ts +4 -0
  465. package/dist/types/utils/form-input-masks.d.ts +1 -0
  466. package/dist/types/utils/province-options.d.ts +5 -0
  467. package/dist/webcomponents/p-005a79d5.entry.js +1 -0
  468. package/dist/webcomponents/p-07f7aaf6.entry.js +1 -0
  469. package/dist/webcomponents/p-0926c397.entry.js +1 -0
  470. package/dist/webcomponents/p-14e26a6c.entry.js +1 -0
  471. package/dist/webcomponents/{p-0eb69f41.entry.js → p-1c362f36.entry.js} +1 -1
  472. package/dist/webcomponents/{p-0217783c.entry.js → p-221ec54e.entry.js} +4 -4
  473. package/dist/webcomponents/p-24621c40.entry.js +1 -0
  474. package/dist/webcomponents/p-33bf5532.entry.js +1 -0
  475. package/dist/webcomponents/p-3467fa38.entry.js +1 -0
  476. package/dist/webcomponents/p-3af0b0ad.entry.js +1 -0
  477. package/dist/webcomponents/p-3b43f8c0.entry.js +1 -0
  478. package/dist/webcomponents/p-3f7703bf.entry.js +1 -0
  479. package/dist/webcomponents/p-4180a11b.entry.js +1 -0
  480. package/dist/webcomponents/p-4d243123.entry.js +1 -0
  481. package/dist/webcomponents/p-4d6e0ebe.entry.js +1 -0
  482. package/dist/webcomponents/p-5277f2a6.entry.js +1 -0
  483. package/dist/webcomponents/p-54cea29e.entry.js +1 -0
  484. package/dist/webcomponents/{p-7c8deca8.entry.js → p-580f3bb6.entry.js} +1 -1
  485. package/dist/webcomponents/p-641100ac.entry.js +1 -0
  486. package/dist/webcomponents/p-65090485.entry.js +1 -0
  487. package/dist/webcomponents/p-66833631.entry.js +1 -0
  488. package/dist/webcomponents/p-68aeb5bd.entry.js +1 -0
  489. package/dist/webcomponents/p-694b24e5.entry.js +1 -0
  490. package/dist/webcomponents/p-6a247ab5.entry.js +1 -0
  491. package/dist/webcomponents/p-6a910d9b.entry.js +1 -0
  492. package/dist/webcomponents/p-6d61092c.entry.js +1 -0
  493. package/dist/webcomponents/p-72f5e234.entry.js +1 -0
  494. package/dist/webcomponents/p-7498759d.entry.js +1 -0
  495. package/dist/webcomponents/p-82723f07.entry.js +1 -0
  496. package/dist/webcomponents/p-86372164.entry.js +1 -0
  497. package/dist/webcomponents/{p-b608add9.entry.js → p-8896ab68.entry.js} +1 -1
  498. package/dist/webcomponents/p-89052ce0.entry.js +1 -0
  499. package/dist/webcomponents/{p-ClvhB3WW.js → p-890S0Nwr.js} +1 -1
  500. package/dist/webcomponents/{p-37a93597.entry.js → p-8a156528.entry.js} +1 -1
  501. package/dist/webcomponents/p-8a68be8f.entry.js +1 -0
  502. package/dist/webcomponents/p-91b09245.entry.js +1 -0
  503. package/dist/webcomponents/p-9ce44689.entry.js +1 -0
  504. package/dist/webcomponents/p-B5rtFhtR.js +1 -0
  505. package/dist/webcomponents/{p-CEk3bv0x.js → p-B9MN_vv4.js} +1 -1
  506. package/dist/webcomponents/p-BIcS6lTe.js +1 -0
  507. package/dist/webcomponents/{p-BBx_EQqR.js → p-BRbqaU66.js} +1 -1
  508. package/dist/webcomponents/{p-Bgnhf5c9.js → p-BS7OgSQe.js} +1 -1
  509. package/dist/webcomponents/p-BT473_5I.js +1 -0
  510. package/dist/webcomponents/p-BXMAoCNA.js +1 -0
  511. package/dist/webcomponents/{p-B6IWa9Ph.js → p-BYrSeoci.js} +1 -1
  512. package/dist/webcomponents/{p-CCmDcLao.js → p-BdmYH_IK.js} +1 -1
  513. package/dist/webcomponents/p-BkaPXFTl.js +1 -0
  514. package/dist/webcomponents/{p-hbWSMN3O.js → p-Bm8T-MOQ.js} +1 -1
  515. package/dist/webcomponents/p-BwBb2Opu.js +1 -0
  516. package/dist/webcomponents/p-C6g4MbnB.js +1 -0
  517. package/dist/webcomponents/{p-1ydcg9ti.js → p-C77ElQ41.js} +1 -1
  518. package/dist/webcomponents/p-C7cvPZSk.js +1 -0
  519. package/dist/webcomponents/p-CJ9qo7_g.js +1 -0
  520. package/dist/webcomponents/{p-C98BC5W5.js → p-CPKSE7M4.js} +1 -1
  521. package/dist/webcomponents/{p-yH3TC3ZQ.js → p-CPpUGsw5.js} +1 -1
  522. package/dist/webcomponents/p-CQQ0H4Pb.js +1 -0
  523. package/dist/webcomponents/p-CTAOJGVx.js +1 -0
  524. package/dist/webcomponents/p-CVaOFfrI.js +1 -0
  525. package/dist/webcomponents/p-CVtpEQBE.js +1 -0
  526. package/dist/webcomponents/{p-l8F_7Ihw.js → p-CeSmGv6o.js} +1 -1
  527. package/dist/webcomponents/p-D9Yus-je.js +1 -0
  528. package/dist/webcomponents/p-DIdnZUSh.js +1 -0
  529. package/dist/webcomponents/{p-CH8Y3GSr.js → p-DSCBoCn-.js} +1 -1
  530. package/dist/webcomponents/p-DfKxeSrC.js +1 -0
  531. package/dist/webcomponents/{p-xDbRW9xn.js → p-Dj_zevuD.js} +1 -1
  532. package/dist/webcomponents/p-DqPvh0aN.js +1 -0
  533. package/dist/webcomponents/p-DxVCqvBt.js +1 -0
  534. package/dist/webcomponents/p-DxnXyWPn.js +1 -0
  535. package/dist/webcomponents/p-Dy3-IlQ3.js +1 -0
  536. package/dist/webcomponents/p-Dyk0thEr.js +1 -0
  537. package/dist/webcomponents/p-DzWLLt4t.js +1 -0
  538. package/dist/webcomponents/{p-CmBCj61h.js → p-F6TcNeK4.js} +1 -1
  539. package/dist/webcomponents/{p-au49QgoI.js → p-IYf7zn5J.js} +1 -1
  540. package/dist/webcomponents/{p-C0wTyoTh.js → p-UUJudj_5.js} +1 -1
  541. package/dist/webcomponents/{p-0cac8468.entry.js → p-a2344efb.entry.js} +1 -1
  542. package/dist/webcomponents/p-a42ec25b.entry.js +1 -0
  543. package/dist/webcomponents/p-a81f9fc3.entry.js +1 -0
  544. package/dist/webcomponents/p-b4b5dd24.entry.js +1 -0
  545. package/dist/webcomponents/p-b72794e3.entry.js +1 -0
  546. package/dist/webcomponents/p-be53e425.entry.js +1 -0
  547. package/dist/webcomponents/p-c4d919be.entry.js +1 -0
  548. package/dist/webcomponents/p-c4fb2fe8.entry.js +1 -0
  549. package/dist/webcomponents/p-c6e64ed5.entry.js +1 -0
  550. package/dist/webcomponents/p-c796f813.entry.js +1 -0
  551. package/dist/webcomponents/p-c8656d20.entry.js +1 -0
  552. package/dist/webcomponents/{p-0cf71cbd.entry.js → p-c8e94ab9.entry.js} +1 -1
  553. package/dist/webcomponents/p-c9bed02a.entry.js +1 -0
  554. package/dist/webcomponents/p-cca865be.entry.js +1 -0
  555. package/dist/webcomponents/p-cd108cae.entry.js +1 -0
  556. package/dist/webcomponents/p-cd20dc8f.entry.js +1 -0
  557. package/dist/webcomponents/p-cfd3035e.entry.js +1 -0
  558. package/dist/webcomponents/p-d1e99aac.entry.js +1 -0
  559. package/dist/webcomponents/p-d50f8328.entry.js +1 -0
  560. package/dist/webcomponents/p-d7558874.entry.js +1 -0
  561. package/dist/webcomponents/p-d8bef4b7.entry.js +1 -0
  562. package/dist/webcomponents/p-d8c2cea4.entry.js +1 -0
  563. package/dist/webcomponents/p-d8ef1d2b.entry.js +1 -0
  564. package/dist/webcomponents/p-e4e6f3b8.entry.js +1 -0
  565. package/dist/webcomponents/p-e60e7f6a.entry.js +1 -0
  566. package/dist/webcomponents/{p-2d9b817b.entry.js → p-ea746fa0.entry.js} +1 -1
  567. package/dist/webcomponents/p-f222426b.entry.js +1 -0
  568. package/dist/webcomponents/p-f72f67ef.entry.js +1 -0
  569. package/dist/webcomponents/p-fdf5a349.entry.js +1 -0
  570. package/dist/webcomponents/{p-C8k7a6D-.js → p-i--LPP1s.js} +1 -1
  571. package/dist/webcomponents/p-sCHf--Vc.js +1 -0
  572. package/dist/webcomponents/{p-DdZLLkQ5.js → p-ty1sI-fI.js} +1 -1
  573. package/dist/webcomponents/webcomponents.esm.js +1 -1
  574. package/package.json +13 -13
  575. package/LICENSE +0 -21
  576. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +0 -112
  577. package/dist/cjs/business-identity-schema-aFUle0C9.js +0 -51
  578. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +0 -107
  579. package/dist/cjs/helpers-B5OCqlIM.js +0 -35
  580. package/dist/cjs/state-options-CIT9xdTz.js +0 -246
  581. package/dist/esm/bank-account-document-form-inputs_4.entry.js +0 -107
  582. package/dist/esm/business-identity-schema-CDJzknbg.js +0 -48
  583. package/dist/esm/form-control-number-masked_2.entry.js +0 -104
  584. package/dist/esm/helpers-Mu7LQT-w.js +0 -29
  585. package/dist/esm/state-options-BX8GieXu.js +0 -244
  586. package/dist/module/helpers.js +0 -29
  587. package/dist/module/state-options.js +0 -244
  588. package/dist/webcomponents/p-000d6b5d.entry.js +0 -1
  589. package/dist/webcomponents/p-0256af65.entry.js +0 -1
  590. package/dist/webcomponents/p-0af5269e.entry.js +0 -1
  591. package/dist/webcomponents/p-0f16c00f.entry.js +0 -1
  592. package/dist/webcomponents/p-0f47f052.entry.js +0 -1
  593. package/dist/webcomponents/p-1872ee94.entry.js +0 -1
  594. package/dist/webcomponents/p-281ea1f6.entry.js +0 -1
  595. package/dist/webcomponents/p-2b568e8e.entry.js +0 -1
  596. package/dist/webcomponents/p-2d300faa.entry.js +0 -1
  597. package/dist/webcomponents/p-328117e4.entry.js +0 -1
  598. package/dist/webcomponents/p-32978110.entry.js +0 -1
  599. package/dist/webcomponents/p-40c3d17c.entry.js +0 -1
  600. package/dist/webcomponents/p-44ec2d88.entry.js +0 -1
  601. package/dist/webcomponents/p-44f9739e.entry.js +0 -1
  602. package/dist/webcomponents/p-47997bc2.entry.js +0 -1
  603. package/dist/webcomponents/p-50701f16.entry.js +0 -1
  604. package/dist/webcomponents/p-5235230f.entry.js +0 -1
  605. package/dist/webcomponents/p-526b7442.entry.js +0 -1
  606. package/dist/webcomponents/p-5aae36f3.entry.js +0 -1
  607. package/dist/webcomponents/p-5bd3d86e.entry.js +0 -1
  608. package/dist/webcomponents/p-5c0c35ac.entry.js +0 -1
  609. package/dist/webcomponents/p-78cb62a8.entry.js +0 -1
  610. package/dist/webcomponents/p-7dc9ef8a.entry.js +0 -1
  611. package/dist/webcomponents/p-7eb4b9b4.entry.js +0 -1
  612. package/dist/webcomponents/p-84551ee4.entry.js +0 -1
  613. package/dist/webcomponents/p-854b3db0.entry.js +0 -1
  614. package/dist/webcomponents/p-8663e8bd.entry.js +0 -1
  615. package/dist/webcomponents/p-8S_ROmnq.js +0 -1
  616. package/dist/webcomponents/p-8b3245c4.entry.js +0 -1
  617. package/dist/webcomponents/p-8ca21fab.entry.js +0 -1
  618. package/dist/webcomponents/p-8f8dfd4b.entry.js +0 -1
  619. package/dist/webcomponents/p-9365c7c2.entry.js +0 -1
  620. package/dist/webcomponents/p-9ad7d724.entry.js +0 -1
  621. package/dist/webcomponents/p-B-iV5cYd.js +0 -1
  622. package/dist/webcomponents/p-BX8GieXu.js +0 -1
  623. package/dist/webcomponents/p-BjNuRWXK.js +0 -1
  624. package/dist/webcomponents/p-BlJnA265.js +0 -1
  625. package/dist/webcomponents/p-BoQ6_4Ks.js +0 -1
  626. package/dist/webcomponents/p-C9EQ459H.js +0 -1
  627. package/dist/webcomponents/p-C9iide2W.js +0 -1
  628. package/dist/webcomponents/p-CCLgieAN.js +0 -1
  629. package/dist/webcomponents/p-Csfiax9X.js +0 -1
  630. package/dist/webcomponents/p-D0Peuz-m.js +0 -1
  631. package/dist/webcomponents/p-D6BImiVi.js +0 -1
  632. package/dist/webcomponents/p-DH8F0bsw.js +0 -1
  633. package/dist/webcomponents/p-DQZ5VHTZ.js +0 -1
  634. package/dist/webcomponents/p-DWn9BiNn.js +0 -1
  635. package/dist/webcomponents/p-DfV3dFDB.js +0 -1
  636. package/dist/webcomponents/p-Dt-vy9Le.js +0 -1
  637. package/dist/webcomponents/p-NAjz1Xfo.js +0 -1
  638. package/dist/webcomponents/p-PSJOKMWp.js +0 -1
  639. package/dist/webcomponents/p-RQzxYnz_.js +0 -1
  640. package/dist/webcomponents/p-T2yENPvU.js +0 -1
  641. package/dist/webcomponents/p-a10ae013.entry.js +0 -1
  642. package/dist/webcomponents/p-a8ad5f5c.entry.js +0 -1
  643. package/dist/webcomponents/p-a8e8d944.entry.js +0 -1
  644. package/dist/webcomponents/p-aa14cc74.entry.js +0 -1
  645. package/dist/webcomponents/p-ae8ae5bb.entry.js +0 -1
  646. package/dist/webcomponents/p-b3094b8f.entry.js +0 -1
  647. package/dist/webcomponents/p-baf0d3e7.entry.js +0 -1
  648. package/dist/webcomponents/p-bb53e2e9.entry.js +0 -1
  649. package/dist/webcomponents/p-bdf293f6.entry.js +0 -1
  650. package/dist/webcomponents/p-c089fb5f.entry.js +0 -1
  651. package/dist/webcomponents/p-c6dc30e2.entry.js +0 -1
  652. package/dist/webcomponents/p-d0a2035f.entry.js +0 -1
  653. package/dist/webcomponents/p-d1bceac6.entry.js +0 -1
  654. package/dist/webcomponents/p-d37d752e.entry.js +0 -1
  655. package/dist/webcomponents/p-d4476052.entry.js +0 -1
  656. package/dist/webcomponents/p-da1fb2a3.entry.js +0 -1
  657. package/dist/webcomponents/p-ddc0b742.entry.js +0 -1
  658. package/dist/webcomponents/p-e6011271.entry.js +0 -1
  659. package/dist/webcomponents/p-e6be4e19.entry.js +0 -1
  660. package/dist/webcomponents/p-eaefb320.entry.js +0 -1
  661. package/dist/webcomponents/p-ec9514f8.entry.js +0 -1
  662. package/dist/webcomponents/p-f11a74c3.entry.js +0 -1
  663. package/dist/webcomponents/p-f705fc49.entry.js +0 -1
  664. package/dist/webcomponents/p-fedfe376.entry.js +0 -1
  665. package/dist/webcomponents/p-ffefa09c.entry.js +0 -1
  666. package/dist/webcomponents/p-h5pyZngT.js +0 -1
  667. package/dist/webcomponents/p-tYuXMkCd.js +0 -1
  668. package/dist/webcomponents/p-wQgEEOq_.js +0 -1
@@ -1,13 +1,15 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { P as PHONE_MASKS, S as SSN_MASK } from './form-input-masks.js';
3
- import { d as deconstructDate } from './helpers.js';
4
- import { h as heading2 } from './parts.js';
5
- import { d as defineCustomElement$7 } from './custom-popper2.js';
6
- import { d as defineCustomElement$6 } from './form-control-date2.js';
7
- import { d as defineCustomElement$5 } from './form-control-number-masked2.js';
8
- import { d as defineCustomElement$4 } from './form-control-select2.js';
9
- import { d as defineCustomElement$3 } from './form-control-text2.js';
10
- import { d as defineCustomElement$2 } from './form-control-tooltip2.js';
2
+ import { P as PHONE_MASKS, I as IDENTITY_MASKS } from './form-input-masks.js';
3
+ import { d as deconstructDate } from './Business.js';
4
+ import { h as heading2, b as label, d as inputDisabled, Y as buttonSecondary } from './parts.js';
5
+ import { c as countryLabels } from './country-config.js';
6
+ import { d as defineCustomElement$8 } from './custom-popper2.js';
7
+ import { d as defineCustomElement$7 } from './form-control-date2.js';
8
+ import { d as defineCustomElement$6 } from './form-control-number-masked2.js';
9
+ import { d as defineCustomElement$5 } from './form-control-select2.js';
10
+ import { d as defineCustomElement$4 } from './form-control-text2.js';
11
+ import { d as defineCustomElement$3 } from './form-control-tooltip2.js';
12
+ import { d as defineCustomElement$2 } from './form-address-fields.js';
11
13
  import { d as defineCustomElement$1 } from './identity-address-form.js';
12
14
 
13
15
  const BusinessRepresentative = /*@__PURE__*/ proxyCustomElement(class BusinessRepresentative extends HTMLElement {
@@ -18,6 +20,7 @@ const BusinessRepresentative = /*@__PURE__*/ proxyCustomElement(class BusinessRe
18
20
  }
19
21
  this.errors = {};
20
22
  this.representative = {};
23
+ this.isEditingIdentification = false;
21
24
  this.inputHandler = (name, value) => {
22
25
  this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { representative: Object.assign(Object.assign({}, this.formController.values.getValue().representative), { [name]: value }) }));
23
26
  };
@@ -30,26 +33,36 @@ const BusinessRepresentative = /*@__PURE__*/ proxyCustomElement(class BusinessRe
30
33
  };
31
34
  }
32
35
  get identificationNumberLabel() {
33
- return this.representative.ssn_last4 ? 'Update SSN (optional)' : 'SSN';
36
+ var _a;
37
+ const label = countryLabels[this.country].idNumberLabel;
38
+ const labelOptional = countryLabels[this.country].idNumberLabelOptional;
39
+ return ((_a = this.representative) === null || _a === void 0 ? void 0 : _a.ssn_last4) ? labelOptional : label;
34
40
  }
35
41
  componentDidLoad() {
36
42
  this.formController.errors.subscribe(errors => (this.errors = Object.assign({}, errors.representative)));
37
43
  this.formController.values.subscribe(values => (this.representative = Object.assign({}, values.representative)));
38
44
  }
39
45
  render() {
46
+ var _a, _b;
40
47
  const representativeDefaultValue = this.formController.getInitialValues().representative;
41
- return (h(Host, { key: '88bd35928331776d5cbb7d085fd55a76fde1a084' }, h("fieldset", { key: '202c40f332352c2f4d3c8a136888c39c67379e5f' }, h("legend", { key: 'a0b5043b348b1d8632a6bf0fe2d4309a8132d1f7', part: heading2 }, "Representative"), h("div", { key: 'ba50c004e2b37f384dd8af63b1e0e397abadb9de', class: "row gy-3" }, h("div", { key: 'b85bf5fb0da9e8feae19dbebb0a911362e914601', class: "col-12 col-md-8" }, h("form-control-text", { key: '95f849c7c0ba0c67bdc0a55727e00755e03897ef', name: "name", label: "Full Name", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '074067a3ce960b678ea38d53b84adda24e60754c', class: "col-12 col-md-4" }, h("form-control-text", { key: '7ef397af32b7c0f79eeae1499bf3d3d147961c96', name: "title", label: "Title", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), h("div", { key: 'a26bfd8a0824aaa12c6ffa48ac58c2bccc7236ef', class: "col-12 col-md-6" }, h("form-control-text", { key: '39174c4b812462d1aa28824bca550e3f6e1d98b4', name: "email", label: "Email Address", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'ed0a2c52e4df0c43b2536dfd1ff3692a4e5716d9', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '07bdcc1dd2e1473b64218eb28c8cdcf1cdce2a91', name: "phone", label: "Phone Number", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '96092fd371ec82a8f8ebbf8bc4e3064768d4ad97', class: "col-12 col-md-4" }, h("form-control-date", { key: 'c24980f126c056aff139e897fdef9795905ea89b', name: "dob_full", label: "Birth Date", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: this.onDateOfBirthUpdate })), h("div", { key: '9d1695fa6e68bb4ae9a8184dcb5e15d588474ab8', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: '8d8a56c08fb06f1a54baf3ee3d6e31a684205290', name: "identification_number", label: this.identificationNumberLabel, defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK })), h("div", { key: '22fa5e16517e14ab031aa5e7e95ea77bd7b28986', class: "col-12" }, h("justifi-identity-address-form", { key: '4a990de739a0ae6fbf1f6a621ff7c0078517e970', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate }))))));
48
+ return (h(Host, { key: '1ce133c6cf1804607b661953bb9d952e6dfdede7' }, h("fieldset", { key: '759e0e7adc03c8814e09effd245e7c25f9fcf536' }, h("legend", { key: '625eb15226d9318075c57c7e13d6b8a04686f00f', part: heading2 }, "Representative"), h("div", { key: '8b11c10cd073c3ffcb7c52f97c463b91a5609afa', class: "row gy-3" }, h("div", { key: '35b0b9a741ee46dfc049ea5914dfa672e4bd64f3', class: "col-12 col-md-8" }, h("form-control-text", { key: '577cb8c5911c5a8364de282ca04e75b045d6de36', name: "name", label: "Full Name", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '3ebaa46f7045f1db417285fe3ef9c19310dbe0c6', class: "col-12 col-md-4" }, h("form-control-text", { key: '69eb59adf3da1d3d48b1d395badd4c76ac0d8383', name: "title", label: "Title", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), h("div", { key: 'd9ee1e3a4919e5d714f34ff1417677a48101166f', class: "col-12 col-md-6" }, h("form-control-text", { key: 'cc6c0e28dc815985be5309de33957fcd37f53b29', name: "email", label: "Email Address", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'd40a0a637c921ca6e8fa4aa347369c029c4569cb', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'ce15cd57570e34d14bc596c1b5f7e49d3f33ea36', name: "phone", label: "Phone Number", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '1504ac209231141b564412af3719b2ab6d84e553', class: "col-12 col-md-4" }, h("form-control-date", { key: '8fe92ed396ab947f439a04e2b67787725b393dcb', name: "dob_full", label: "Birth Date", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: this.onDateOfBirthUpdate })), h("div", { key: 'd8ee89f3f4124ebb222d99a9337db4be7ab7df61', class: "col-12 col-md-8" }, (!((_a = this.representative) === null || _a === void 0 ? void 0 : _a.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: this.identificationNumberLabel, defaultValue: this.isEditingIdentification ? '' : representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, this.identificationNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_b = this.representative) === null || _b === void 0 ? void 0 : _b.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
49
+ this.isEditingIdentification = true;
50
+ // Clear last4 and current value to force validation
51
+ this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { representative: Object.assign(Object.assign({}, this.formController.values.getValue().representative), { ssn_last4: null, identification_number: '' }) }));
52
+ } }, "Change"))))), h("div", { key: '54548bf9622fcc949ebd91db29cc8b877dd7652d', class: "col-12" }, h("justifi-identity-address-form", { key: '9925b7d70bceb8e3d1dafc9313673a5c8a0810a0', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
42
53
  }
43
54
  }, [256, "justifi-business-representative", {
44
- "formController": [16],
55
+ "formController": [8, "form-controller"],
56
+ "country": [1],
45
57
  "errors": [32],
46
- "representative": [32]
58
+ "representative": [32],
59
+ "isEditingIdentification": [32]
47
60
  }]);
48
61
  function defineCustomElement() {
49
62
  if (typeof customElements === "undefined") {
50
63
  return;
51
64
  }
52
- const components = ["justifi-business-representative", "custom-popper", "form-control-date", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-identity-address-form"];
65
+ const components = ["justifi-business-representative", "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"];
53
66
  components.forEach(tagName => { switch (tagName) {
54
67
  case "justifi-business-representative":
55
68
  if (!customElements.get(tagName)) {
@@ -58,30 +71,35 @@ function defineCustomElement() {
58
71
  break;
59
72
  case "custom-popper":
60
73
  if (!customElements.get(tagName)) {
61
- defineCustomElement$7();
74
+ defineCustomElement$8();
62
75
  }
63
76
  break;
64
77
  case "form-control-date":
65
78
  if (!customElements.get(tagName)) {
66
- defineCustomElement$6();
79
+ defineCustomElement$7();
67
80
  }
68
81
  break;
69
82
  case "form-control-number-masked":
70
83
  if (!customElements.get(tagName)) {
71
- defineCustomElement$5();
84
+ defineCustomElement$6();
72
85
  }
73
86
  break;
74
87
  case "form-control-select":
75
88
  if (!customElements.get(tagName)) {
76
- defineCustomElement$4();
89
+ defineCustomElement$5();
77
90
  }
78
91
  break;
79
92
  case "form-control-text":
80
93
  if (!customElements.get(tagName)) {
81
- defineCustomElement$3();
94
+ defineCustomElement$4();
82
95
  }
83
96
  break;
84
97
  case "form-control-tooltip":
98
+ if (!customElements.get(tagName)) {
99
+ defineCustomElement$3();
100
+ }
101
+ break;
102
+ case "justifi-form-address-fields":
85
103
  if (!customElements.get(tagName)) {
86
104
  defineCustomElement$2();
87
105
  }
@@ -131,7 +131,7 @@ const BusinessTermsConditionsFormStep = /*@__PURE__*/ proxyCustomElement(class B
131
131
  return (h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
132
132
  }
133
133
  render() {
134
- return (h("form", { key: '8cea6fff2e5b5cbfa7de6b3adfce238153599d1e' }, h("fieldset", { key: 'ef3c4ce5d0d03f1d048e072c6f7ac3da565ffb18' }, h("legend", { key: 'caa5fee86bd4b5c2a7204a76ae3533146526b9e1', part: heading2 }, "Terms and Conditions"), h("hr", { key: '5a72caeaf2dae8f57c0be09ca21feceb0793daf4' }), h("div", { key: 'e39700b83a10c479cf6d767c1af61ac8b480e4d5' }, h("p", { key: '2b8520977bedf73c295a387095724a561391b005' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: '706ec9ecfd4a0909583745f90b36eeb42fa5e690' }), h("div", { key: 'd915e2c49188b829b33b03f07cc8f1ccea99ee1d', class: "row-gy-3" }, h("div", { key: 'cbbc74e6b5e80bf54884a8f41eb94f6d5bcdb6dd', class: "col-12" }, h("form-control-checkbox", { key: 'f63aed196d33f1760dae8c5ac5487c0fbc7d4838', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
134
+ return (h("form", { key: '6fbccc271d16cbb87d8845b06b58fd461e18f770' }, h("fieldset", { key: 'ce5240753aefdb4aa92aa3ba5af4741466702ae6' }, h("legend", { key: '01a3a99f6d9dfe45ae12eb2a603ebc70a25747be', part: heading2 }, "Terms and Conditions"), h("hr", { key: 'b0209b2df034353f663cf4dde25fee51e2906dc4' }), h("div", { key: '1ed270526bc1f6d24d81c485ea6e9459607bac3e' }, h("p", { key: '8c98f939d4db12cad7169debc71fd0ad652cc724' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: '021ffcc28e65e59d8fb81a8a2507cac1ce0d448f' }), h("div", { key: 'e6181b2a5ad6b01be123962bf17282cb1f97fd30', class: "row-gy-3" }, h("div", { key: '82acd8dcfed625e051b93bb8845fb9d11b5e26ce', class: "col-12" }, h("form-control-checkbox", { key: 'c246a348366354dce60ec4dc00e3a4791281a584', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
135
135
  }
136
136
  }, [256, "justifi-business-terms-conditions-form-step", {
137
137
  "authToken": [1, "auth-token"],
@@ -1,5 +1,5 @@
1
1
  import { h } from '@stencil/core/internal/client';
2
- import { a0 as buttonSecondary, a1 as buttonPrimary, a2 as buttonLoading } from './parts.js';
2
+ import { Y as buttonSecondary, a1 as buttonPrimary, a2 as buttonLoading } from './parts.js';
3
3
 
4
4
  const ButtonSpinner = () => (h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" }, h("span", { class: "visually-hidden" }, "Loading...")));
5
5
 
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { c as create$3, a as create$6, F as FormController } from './form.js';
3
3
  import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
4
- import { $ as heading5 } from './parts.js';
4
+ import { a0 as heading5 } from './parts.js';
5
5
  import { d as defineCustomElement$5 } from './custom-popper2.js';
6
6
  import { d as defineCustomElement$4 } from './form-control-file-v22.js';
7
7
  import { d as defineCustomElement$3 } from './form-control-help-text2.js';
@@ -41,7 +41,7 @@ const CancellationPolicy = /*@__PURE__*/ proxyCustomElement(class CancellationPo
41
41
  }
42
42
  render() {
43
43
  var _a, _b, _c;
44
- return (h("div", { key: 'f3be140160f96c20a65cfe0eb0f32b0a36d6328d' }, h("div", { key: '72c6936c3b99f55493c0019a0ade1ab85dc6245e', class: "row gy-3" }, h("div", { key: 'dc369f250820762b0d2f70b776b12b4736dacf7d', class: "col-12" }, h("h2", { key: '1b657416345e0ffb7e1181e40f913919e50a514b', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: 'af2320dcc457a9b58bf50398dadedfedb8b65e04', class: "col-12" }, h("form-control-textarea", { key: '6366a3fb241515461a17102450db84e56c6d23ad', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: '0129cd6a72201be98e4654e232314262c81a0a3b', class: "col-12" }, h("form-control-textarea", { key: 'f2b4d61af6aaa2e13f19e412b8bfdf369ff33876', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: '18c38013f5ffaa3145d6e11b6cee27a77fb922aa', class: "col-12" }, h("form-control-file-v2", { key: 'b8412565744676cb05a8d59df609da8a1b183f77', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
44
+ return (h("div", { key: '37c63086ec0dece44992be20f44d0b0f06ce3996' }, h("div", { key: '0aab4b70d17ce769d847470b74cd2f0946845ed2', class: "row gy-3" }, h("div", { key: '7cacadffe3a11231d9791dd3b536686e7cc2d539', class: "col-12" }, h("h2", { key: '09c8227375b4231c4135a18d31667f069c5c847d', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '4636e5b456294e6493e09859cf4d001d7e7b6c1a', class: "col-12" }, h("form-control-textarea", { key: 'e5e7be99ae8b18016c28388e7d165321b7aae062', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: '0885ca69088851f240ae22b5106a9989b4321f96', class: "col-12" }, h("form-control-textarea", { key: '80ebcdae7bbf223109820735dacb4d2a8c1c8809', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: '3ddc4eaa4f086eee2758c2b53172a0f43622e741', class: "col-12" }, h("form-control-file-v2", { key: 'cb975ba4e455d2fc5959319a781a084b5af7b9f8', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
45
45
  }
46
46
  }, [256, "justifi-cancellation-policy", {
47
47
  "disputeResponse": [8, "dispute-response"],
@@ -45,7 +45,7 @@ const CardBillingFormSimple = /*@__PURE__*/ proxyCustomElement(class CardBilling
45
45
  }
46
46
  render() {
47
47
  const billingFormDefaultValue = this.formController.getInitialValues();
48
- return (h(StyledHost, { key: '26fd30b96e63f0adac380f70fae5cb4b80d9b36f' }, h("div", { key: '79558919d544889647d034bdc415f9b404d4a058', part: billingForm }, h("form", { key: '21b722098010050f4a22b1e3cc995090c50a9f74' }, h("fieldset", { key: 'f371a839f16363d8242a38469c78eba1759e46a7' }, this.legend && (h("legend", { key: '45b9d4d5b0dd502f5ebca9c357cdf6b75a16f9e1' }, this.legend)), h("div", { key: 'ae1c10a2bae0061dd2aa0645e7d1f8c8ed899444', class: "row gy-3" }, h("div", { key: 'cd99d74f2803336bd0b25c7a962ef95fa66079ba', class: "col-12" }, h("form-control-text", { key: '6ac34b703ae83a9e6c4c86b3c239795c5a7d0d57', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))))))));
48
+ return (h(StyledHost, { key: 'f1f3be2d16211cbb384246470a495076b8cc99bf' }, h("div", { key: 'aabd6ec4293a89fa65e65440bcc399a3c91ccbf6', part: billingForm }, h("form", { key: '4212a38db263ec874feba69b44aa4ca53c4b6971' }, h("fieldset", { key: 'a669e28f6cb8974b1a6a358809c6c1c88d8dc5cb' }, this.legend && (h("legend", { key: 'b01fa92477ad324a059474b86835ad984addd48f' }, this.legend)), h("div", { key: '6c1f9a93de580ce2d931aedae3083e015b8e5f07', class: "row gy-3" }, h("div", { key: 'bbc6ba15ce56756db54338cd114376d57a9c6546', class: "col-12" }, h("form-control-text", { key: '74848920343434f7677d8454b7bf0ec0e8055427', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))))))));
49
49
  }
50
50
  }, [257, "justifi-card-billing-form-simple", {
51
51
  "legend": [1025],
@@ -51,10 +51,10 @@ const CardForm$1 = /*@__PURE__*/ proxyCustomElement(class CardForm extends HTMLE
51
51
  return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
52
52
  }
53
53
  render() {
54
- return (h(Host, { key: '038d2c8e2f9fcd1015d7177c79afa8c4e5810486' }, h(CardFormSkeleton, { key: 'b231bb34f43670bb1d92597d2ab37a5ef2c742e1', isReady: this.isReady }), h("div", { key: 'ede0af7f1964c2241982bfed4ca71f229d9096a1', class: "container-fluid p-0", style: {
54
+ return (h(Host, { key: '663c1f9a452e8d33ccf001044c2f8b1ba041f80e' }, h(CardFormSkeleton, { key: '4c0c267f180ab6c16e0f524631b7fef3c212a2c5', isReady: this.isReady }), h("div", { key: '5ee9adfcb131adbc972ea9c1806886534185d462', class: "container-fluid p-0", style: {
55
55
  opacity: this.isReady ? '1' : '0',
56
56
  height: this.isReady ? 'auto' : '0',
57
- } }, h("div", { key: '7c895da0378cc512b152a6629160009b12fa47aa', class: "mb-3" }, h("iframe-input", { key: '7717e0cf984a83402c61bceece2077cda780510f', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: 'b28428997690059244e4da2cd5080af2fb44ca00', class: "d-flex align-items-start" }, h("div", { key: 'e2f11a9293e00ab5b950de51a41b3af266b8084a', class: "flex-fill me-3" }, h("iframe-input", { key: '16d798effe3e29a06d5714b742749a1ce9b40760', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: 'e75c69175bd23bc96192d17a4561a0118f640ebe', class: "flex-fill me-3" }, h("iframe-input", { key: '04d1c4fb7693e42a18984d9c102a5d799e7c1c3f', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: 'a2130dcbe8e72f156bc0434d47a26a8e287b1fce', class: "flex-fill" }, h("iframe-input", { key: '4709dcb93de9543be9a5143df0bdeaf66935bde3', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
57
+ } }, h("div", { key: 'f1c7b6b7b23870ba0d39d08e04c113f464be2ea9', class: "mb-3" }, h("iframe-input", { key: 'dcd776b12d26c6561d5b630c09783e0c9c71f658', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: 'f76687d1aad013195aec06f0fec3166aa0d0ba71', class: "d-flex align-items-start" }, h("div", { key: '8321d1eaa1c1fee49106ca8a88f31b723d69d328', class: "flex-fill me-3" }, h("iframe-input", { key: 'f3740ecace8a988bf87475861fc5383920044e15', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: '1b689045613f137cb4dfe41bae400dec27a93ae9', class: "flex-fill me-3" }, h("iframe-input", { key: '91d5b86f0de32c2635d3569dabd17230c1062c28', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: '78f69077b9cc4c55694ee0dc3cbf43cc09de74a3', class: "flex-fill" }, h("iframe-input", { key: 'af2bb37ec9a2386dac4ebc17f4296e280c865271', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
58
58
  }
59
59
  }, [256, "card-form", {
60
60
  "isReady": [32],
@@ -62,10 +62,10 @@ const JustifiCardForm = /*@__PURE__*/ proxyCustomElement(class JustifiCardForm e
62
62
  return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
63
63
  }
64
64
  render() {
65
- return (h(StyledHost, { key: '64d9bda2ce54aa06788509ae294bcb1eefdb173a' }, h(CardFormSkeleton, { key: 'a1f233464393512652fc37a31b769bb9f48f3797', isReady: this.isReady }), h("hidden-input", { key: '4405ec6e9a510f670a137d33c83a5ad38a19a0aa' }), h("div", { key: 'e704d33d8b3cbcd55798afb537b2b16d37d0077d', class: "container-fluid p-0", style: {
65
+ return (h(StyledHost, { key: 'def25049fc30e1755194750bad8ebff0c578dac2' }, h(CardFormSkeleton, { key: '81a0ec8218a76e51962fac0e8f628b243bd6d33e', isReady: this.isReady }), h("hidden-input", { key: '6145fba4b8164ff1cec1d1b5707063cdf26faa82' }), h("div", { key: 'febcd1d5dbbde0216d7286842f35d58984f3c292', class: "container-fluid p-0", style: {
66
66
  opacity: this.isReady ? '1' : '0',
67
67
  height: this.isReady ? 'auto' : '0',
68
- } }, h("div", { key: 'c519dafa0657af1372836a2a30301849f2e422b3', class: "mb-3" }, h("iframe-input", { key: '6c6a0154ed62e0e684784ff0f327e3bc282da10c', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '7efcb6e9fed504ea8f0470f55b8c48b7d82b537b', class: "row" }, h("div", { key: 'e216e57f82d04325cedeca9f3945285ab8675c7d', class: "col-4 align-content-end" }, h("iframe-input", { key: 'c3ffef01705152180c66adaf482e67a1d2f114e9', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '97666cb9d9e4b272c033913527c4b6a60b6067c5', class: "col-4 align-content-end" }, h("iframe-input", { key: '4d2f7f56f2a0d5717776c6ef164eef5f7dbc4d8d', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'ecc6fff75106b265a7cb00febef40a7b14651a0a', class: "col-4 align-content-end" }, h("iframe-input", { key: '9a756344f1d47f69c0702b57d15d66a658b57e3d', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
68
+ } }, h("div", { key: '6e305988144bd44753ab202b29de295cc3dd7b20', class: "mb-3" }, h("iframe-input", { key: '79348433ff2860a30d387b9a64c258a91c220363', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '11eee27f7aa34c120aed348acd1fc51e46b77628', class: "row" }, h("div", { key: '0bb1153c58433514b889fe20d9cf77c7b7f8b867', class: "col-4 align-content-end" }, h("iframe-input", { key: 'f07c79907822a83cbc29eb4748f952b1a2079990', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '6c2e81715c918978f688d00ae960f2673e092248', class: "col-4 align-content-end" }, h("iframe-input", { key: '96d3656d4a26f96889ab5c6569e0144a76293627', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'e186614da2a5ef5836e251ac1f8f247c18cff7e6', class: "col-4 align-content-end" }, h("iframe-input", { key: 'd9f6c2d2f669fde22b18845a47f5bdeb8a62abe7', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
69
69
  }
70
70
  }, [257, "justifi-card-form", {
71
71
  "isReady": [32],
@@ -178,7 +178,7 @@ const CheckoutsListCore = /*@__PURE__*/ proxyCustomElement(class CheckoutsListCo
178
178
  return !this.showEmptyState && !this.showErrorState && !this.loading;
179
179
  }
180
180
  render() {
181
- return (h(TableWrapper, { key: 'a39afbb74067a8ce3b4958f8509c6432d2e9acd4' }, h(TableComponent, { key: '912298a9c2b9f701b939bc224ff73d74c5451d55' }, h(TableHead, { key: 'dc14d0c44f7521360ccd76129c472825ded515cb' }, h(TableHeadRow, { key: '2dd9d8f52b56ce9e2fc1d4b50fa37143ee33e6cf' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '41f0ccf7b211593bb5a4396a5c6f5b1d6c5c7bc3' }, h(TableLoadingState, { key: 'e80fb55f7e4ae660a97c37fe710a17190164d132', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'cd1f4f3204d6ee3baa4d826b0081196716e4b5dd', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'cb54166a78e4ee8ea25f1905893763cdd8d3dd92', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'bf8bfd7790f5bfbcb43d1d656fcdcc5a5776df98' }, h(TableFootRow, { key: 'fb86e28f22e368cc78d55e165ced57b2a2076dca' }, h(TableFootCell, { key: 'c5e1254f49c06c4129565422cb68ab956f420f74', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '14ec42d778e22b4c8796a1895e3f7f90732da45b', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
181
+ return (h(TableWrapper, { key: 'a227a356ba08e39e4b60849d8615a5b1cd845739' }, h(TableComponent, { key: '51b96d4be5773975397eadfc6c3c0ec983bdb38f' }, h(TableHead, { key: '868cf524b90bcc2671fc487dc5c7f9c71756d24f' }, h(TableHeadRow, { key: '3bc7b727e4e3c8f0a61b55993c965779c0fac73b' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '06adebe1455360d37d3eed7a27af2698b35047b4' }, h(TableLoadingState, { key: '241f49bd2ed6d3548e286de8f75f1cc92ffae23f', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '9739415d15f73457aa5125c85be88566e70d233b', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '43b1fa74ba01c89b2d22fc238295c343bf6379b6', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '3a4b974a07bbe7d0fe246ad93724be2bec449166' }, h(TableFootRow, { key: '6ec16663674ea87026fc3400d164fa2d9907c35a' }, h(TableFootCell, { key: '1eb2943ba2e6885a1a520430eb257e7499553c80', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: 'd4719b9e2166d0577e620a5575303294127833a9', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
182
182
  }
183
183
  static get watchers() { return {
184
184
  "pagingParams": ["updateOnPropChange"],
@@ -0,0 +1,64 @@
1
+ import { S as StateOptions } from './Business.js';
2
+
3
+ const ProvinceOptions = [
4
+ {
5
+ label: 'Choose province',
6
+ value: '',
7
+ },
8
+ { label: 'Alberta', value: 'AB' },
9
+ { label: 'British Columbia', value: 'BC' },
10
+ { label: 'Manitoba', value: 'MB' },
11
+ { label: 'New Brunswick', value: 'NB' },
12
+ { label: 'Newfoundland and Labrador', value: 'NL' },
13
+ { label: 'Northwest Territories', value: 'NT' },
14
+ { label: 'Nova Scotia', value: 'NS' },
15
+ { label: 'Nunavut', value: 'NU' },
16
+ { label: 'Ontario', value: 'ON' },
17
+ { label: 'Prince Edward Island', value: 'PE' },
18
+ { label: 'Quebec', value: 'QC' },
19
+ { label: 'Saskatchewan', value: 'SK' },
20
+ { label: 'Yukon', value: 'YT' },
21
+ ];
22
+
23
+ const countryLabels = {
24
+ USA: {
25
+ stateLabel: 'State',
26
+ postalLabel: 'Zip Code',
27
+ idNumberLabel: 'SSN',
28
+ idNumberLabelOptional: 'SSN (optional)',
29
+ identityHelpText: 'Enter your full Social Security Number. It is required for Federal OFAC check.',
30
+ taxIdLabel: 'Tax ID (EIN or SSN)',
31
+ taxIdHelpText: "Employer Identification Numbers (EINs) are nine digits. The federal tax identification number/EIN issued to you by the IRS. It can be found on your tax returns. Enter value without dashes.",
32
+ },
33
+ CAN: {
34
+ stateLabel: 'Province',
35
+ postalLabel: 'Postal Code',
36
+ idNumberLabel: 'SIN',
37
+ idNumberLabelOptional: 'SIN (optional)',
38
+ identityHelpText: 'Enter your full Social Insurance Number.',
39
+ taxIdLabel: 'Business Number (BN)',
40
+ taxIdHelpText: 'Business Numbers (BN) are nine digits. Enter value without spaces or dashes.',
41
+ },
42
+ };
43
+ const countryOptions = {
44
+ USA: {
45
+ stateOptions: StateOptions,
46
+ },
47
+ CAN: {
48
+ stateOptions: ProvinceOptions,
49
+ },
50
+ };
51
+ const countryValidation = {
52
+ USA: {
53
+ postalRegex: /^[0-9]{5}(-[0-9]{4})?$/,
54
+ identityDigits: 9,
55
+ taxIdDigits: 9,
56
+ },
57
+ CAN: {
58
+ postalRegex: /^[A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d$/,
59
+ identityDigits: 9,
60
+ taxIdDigits: 9,
61
+ },
62
+ };
63
+
64
+ export { countryOptions as a, countryValidation as b, countryLabels as c };
@@ -1875,7 +1875,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
1875
1875
  this.hideEvent.emit();
1876
1876
  }
1877
1877
  render() {
1878
- return (h("div", { key: '1cffb3170b4f1335737dcbb025250d69c20a94b0' }, h("style", { key: '9e325676460e77d3c887934f2f9c685690731eb5' }, `
1878
+ return (h("div", { key: '3258d815eae7b31323a8c1bca81d46f51fa684de' }, h("style", { key: '4ef14405fc58db08baacc2d760484150eb9ba937' }, `
1879
1879
  .popper-content {
1880
1880
  display: none;
1881
1881
  }
@@ -1883,7 +1883,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
1883
1883
  display: block;
1884
1884
  z-index: 1030;
1885
1885
  }
1886
- `), h("div", { key: '4a519440ce0d71a71b99d64bae64be06d2ab9c2f', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '99aab485a231bd1f51ef0b5465e9e00e7c8178a6' }))));
1886
+ `), h("div", { key: '15e316884fbac8bb31d9ce1d60cf81d6346b13a1', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: 'c6ea5b2e88b6cad1e87d82310b8d74e5b4bb6b67' }))));
1887
1887
  }
1888
1888
  }, [260, "custom-popper", {
1889
1889
  "placement": [1],
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { c as create$3, a as create$6, F as FormController } from './form.js';
3
3
  import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
4
- import { $ as heading5 } from './parts.js';
4
+ import { a0 as heading5 } from './parts.js';
5
5
  import { d as defineCustomElement$6 } from './custom-popper2.js';
6
6
  import { d as defineCustomElement$5 } from './form-control-file-v22.js';
7
7
  import { d as defineCustomElement$4 } from './form-control-help-text2.js';
@@ -43,7 +43,7 @@ const CustomerDetails = /*@__PURE__*/ proxyCustomElement(class CustomerDetails e
43
43
  }
44
44
  render() {
45
45
  var _a, _b, _c, _d, _e;
46
- return (h("div", { key: '0712f857726a187d96acf7661994f262322660e8' }, h("div", { key: 'd162d3d251a64fb260f052daa18ad5aaefc947ef', class: "row gy-3" }, h("div", { key: 'b1e10245c1a1a55e67274144927398ca6d628794', class: "col-12" }, h("h2", { key: '3166f6d2419436011ac8adaf7188c10630ab237e', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '11ada832a6170259f355d1133a5c78bacdd4a5be', class: "col-12" }, h("form-control-text", { key: '0a69c2607434e17ae92a7c542e7245a59d95b638', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: '8d2a4b3fa5a84088b5178d1c1a06df51c5b219cf', class: "col-12" }, h("form-control-text", { key: '74f2eec855986ac45e4687487fc7e4b261626d10', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '5a8a8b151e1d695d5b6944b4fe98d61b1c5d36d2', class: "col-12" }, h("form-control-textarea", { key: 'ef6bf00d9e8c7f58f2d54ef314f3ab0eec3080f8', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: 'b1fcb7ba8bfd16258e1e0f15356735332803243c', class: "col-12" }, h("form-control-file-v2", { key: 'eea96693591cf044a825db953f50ac42e1e7165c', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: 'd7ec90bb479ad9dc06a7811065b532f10af0d838', class: "col-12" }, h("form-control-file-v2", { key: 'bf4a80a05d7dd6e58086b0fe5acc6f65cd697a38', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
46
+ return (h("div", { key: '858dcd8508a6ef974faf5b97c04cbd224cea93c0' }, h("div", { key: '7aef1bf1aaf5838e8f555b9f8680bc89f255d52c', class: "row gy-3" }, h("div", { key: 'f206b1c9958b39b242dfe2c899a0a98f16731dff', class: "col-12" }, h("h2", { key: '92916cf3952026ce406e52ac70be08cbb9c0e2a4', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: 'f80d3f7624484c70380035ad1bed0c292d7524b6', class: "col-12" }, h("form-control-text", { key: '1f762101dcda20301e4207e26e32d0d9808f141e', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: 'dc7b267094e7ff05194b96d5886788f56e31cae6', class: "col-12" }, h("form-control-text", { key: '64abb76bb8f9cf640bb4b367facb43355194db2d', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '8774802d03a56029ee6611820b077496c0032d9e', class: "col-12" }, h("form-control-textarea", { key: '2ffdd3ece9bbd6f7206508d96ba6a09e9b51e7e3', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: '481cc546dcf904bd2414c096aafe9b034be548c2', class: "col-12" }, h("form-control-file-v2", { key: '763c89f78cf205bdf5f30cce01d8d96debfd12b0', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: 'bf358ed8e708f439877de74f18cb488b3fe65ecd', class: "col-12" }, h("form-control-file-v2", { key: 'e4c72136e11514b2dddac44a584b343a1846b077', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
47
47
  }
48
48
  }, [256, "justifi-customer-details", {
49
49
  "disputeResponse": [8, "dispute-response"],
@@ -9,7 +9,7 @@ const Details = /*@__PURE__*/ proxyCustomElement(class Details extends HTMLEleme
9
9
  }
10
10
  }
11
11
  render() {
12
- return (h("div", { key: '3c1c4e729711c6676c176a5a04228ec7ebb7acfa' }, this.errorMessage ?
12
+ return (h("div", { key: '026afe404e83a58245d2c0d68b188a5b227933b4' }, this.errorMessage ?
13
13
  ErrorState(this.errorMessage)
14
14
  :
15
15
  h("main", { class: "p-2" }, h("slot", { name: "head-info" }), h("slot", { name: 'detail-sections' }))));
@@ -70,7 +70,7 @@ const DisputeManagementCore = /*@__PURE__*/ proxyCustomElement(class DisputeMana
70
70
  });
71
71
  }
72
72
  render() {
73
- return (h("div", { key: '7e16a29a9b82c993c35c075c857838b1ba9469ea' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
73
+ return (h("div", { key: 'd931098227eb3c8d2a1eb4dd10fd8ce93101f424' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
74
74
  }
75
75
  static get watchers() { return {
76
76
  "getDispute": ["updateOnPropChange"]
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { c as formatCurrency } from './utils2.js';
3
- import { t as text, Y as heading4 } from './parts.js';
3
+ import { t as text, Z as heading4 } from './parts.js';
4
4
  import { B as Button } from './button.js';
5
5
  import { S as StyledHost } from './styled-host.js';
6
6
  import { S as Skeleton } from './skeleton.js';
@@ -45,7 +45,7 @@ const DisputeNotification = /*@__PURE__*/ proxyCustomElement(class DisputeNotifi
45
45
  }
46
46
  render() {
47
47
  var _a, _b, _c, _d, _e, _f, _g;
48
- return (h(StyledHost, { key: 'ab36fe0292ebcc4d2f062898065c135b869be67a' }, this.isLoading && (h("div", { key: '8cff4628d911c7119b0f8d1612e99caad526746c', style: { marginBottom: '8px' } }, h(Skeleton, { key: 'ee3bce3019778f5e481ae26ada89e70090671b37', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: '242cbb756770f1545d09f5e79c539683158acaa6', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: '409e7d228cb414ed458959107ba5ba2fe38eed72', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: '8ba65861b311e2020f52ee38f0303b19c4b8b386', part: text }, h("h1", { key: '9f62e7a3144e50a0980d5e3ea2a1e078ec8e9d0b', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: '533af5d2cc8cba530812d247f60ad7a92e4a36a3' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: 'cf842a85853e34e3b1a38674d36bd0a4705ff5e0', class: "h5" }, "Dispute details"), h("div", { key: 'cd3bcc4861a2ba4a576638d9a0e86927ff4d7123', class: "d-table gap-2" }, h("div", { key: '1bd4ce368992bf9d6855a301e0b249c68a98471c', class: "d-table-row gap-2" }, h("span", { key: '18845a901fcd0bff4480b780bbcf35fc171f4b0b', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: '75533ed5fd445f69a4967a6625cab5badc5766a3', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_b = this.dispute) === null || _b === void 0 ? void 0 : _b.amount))), h("div", { key: '5c0974a223983b19150230544d4c3b4154747de2', class: "d-table-row gap-2" }, h("span", { key: '7d09c4fdbc0b5f38f15d78b3c325e256d29136dc', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '2379e217700a07a388650f7ca82ca5a420175dd9', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_c = this.dispute) === null || _c === void 0 ? void 0 : _c.reason)), h("div", { key: 'c4b5ad2e540d0ab61ff29b2913344ed055a56618', class: "d-table-row gap-2" }, h("span", { key: '2f32326e0067d8d8ac734ba9f16b6aee0e774cc2', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Due Date"), h("span", { key: '823b0d79ad2c77ef68c27300a5b8f539bfa66b30', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.due_date))), h("div", { key: '8a0cca3f006564da1feee39e06b3e322cd2773fc', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '07d7ba81e9353183148c9892ea8016537095b078', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '05d437f6711fae2398f865fdaeb6908327f8b68b', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: '4ca58f734515deb7c713c13a2f69f0f42d52f706' }, h("h1", { key: '65f92415880cc2fb39b7b2753df960ec10437455', class: "h4" }, "This payment is disputed and under review"), h("p", { key: '8129f146f956db43378b672f68a9edeec9374401' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (h("div", { key: '85acb2724f46424856bf4fc885bd1553539ce2be' }, h("h1", { key: '7ce9b3ed57a5c3cd904d1c706044091fbda3dc03', class: "h4" }, "This payment was disputed"), h("p", { key: '6a92fd3be617562d1ba10192ec508354a9450150' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.lost) && (h("div", { key: '8e45676c7909732bee12f707297987b927b9526c' }, h("h1", { key: 'f64abd54f60a63e0ff6888beecc74050e2f860db', class: "h4" }, "This payment was disputed"), h("p", { key: 'bd2e689d5de42468b67259573b8289835c4acc5e' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
48
+ return (h(StyledHost, { key: 'd268295bb070b948984332bd763407dd2abe8467' }, this.isLoading && (h("div", { key: 'e9083c5f4f8cb88a348dc5099be678cf0c44c6fd', style: { marginBottom: '8px' } }, h(Skeleton, { key: 'dd847619a087adcf9ca142bd705073b5bd2cbb38', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: 'abce0be539824cabcdc91cc1935acda2928738be', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: 'fd50de2ce4ff82a99bd9435438f8714173f07a63', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: '44d88a0e658669f0cb703e7a80008788957b4075', part: text }, h("h1", { key: 'cbcf492cd4cb236f8241a03e9a722650c4a86a33', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: 'c30d8f5246aaf75415e6334acc2d3ab53fb200c5' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '929bdc03a93e66cd95ad0985df42cee6e1448ee1', class: "h5" }, "Dispute details"), h("div", { key: '71ace963ec6035edfadb8e3391c2a025203ffb8b', class: "d-table gap-2" }, h("div", { key: '13feb89ef8720eb97fb58bb5a01c650339b044a0', class: "d-table-row gap-2" }, h("span", { key: 'f53edd37be55640f22d6fc8418c2c7a2fb68d4eb', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: 'ee91d5ecc2c3c921106fed6437b0122d87ffc590', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_b = this.dispute) === null || _b === void 0 ? void 0 : _b.amount))), h("div", { key: 'f8d03855088572719cc69eb70846baaca626873f', class: "d-table-row gap-2" }, h("span", { key: '1da829c98c3799d5f426078084d472fe21ea8714', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '66251cc54a379c54d1f10de9b63c3acc8441102e', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_c = this.dispute) === null || _c === void 0 ? void 0 : _c.reason)), h("div", { key: '75fb4722061c2ce1552aaf019cd55fe2e18d69bc', class: "d-table-row gap-2" }, h("span", { key: '0e1207c6ec9b5e0a1987c3dc27c7237b829c0e24', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Due Date"), h("span", { key: 'f59cee5df009fbe55a5afc7c862d127dcf9c39bc', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.due_date))), h("div", { key: '843db57269e37dc9a6fe870efaac3345acd69f8c', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '6bc8dc5a4d5b5fb3b4bd060f869cc154b5f38911', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: 'ece8a6e944501b889d9d881ae08181261aa630c1', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: '5801625ebc25850e4001d9961e20b9f589ba071a' }, h("h1", { key: '6a20320f19deea6e4cd2ad391ef6e3adf16d9272', class: "h4" }, "This payment is disputed and under review"), h("p", { key: '5fbfbe7a8c80674f1d65fa5f989a2db428dcce73' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (h("div", { key: '7531e3e361613accf7f6b6085ba94dbaafcb4915' }, h("h1", { key: '6f613bf334d77f89ff9fff4fb95bcb60b81154fd', class: "h4" }, "This payment was disputed"), h("p", { key: '148b60d2220cdd181cc4fa7692b524c1da049aea' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.lost) && (h("div", { key: '905c1f81c5d4d0e2dac524fa11cb7ae977bd8c35' }, h("h1", { key: 'de0004f4f08d07e3bbeb224e900c5f89d58f3ecd', class: "h4" }, "This payment was disputed"), h("p", { key: '40f37c79108a79989b7e5a6d2d90a855b37ea2a3' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
49
49
  }
50
50
  }, [257, "justifi-dispute-notification", {
51
51
  "dispute": [16],
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { D as DisputeManagementClickActions } from './event-types3.js';
3
- import { Y as heading4 } from './parts.js';
3
+ import { Z as heading4 } from './parts.js';
4
4
  import { B as Button } from './button.js';
5
5
  import { d as defineCustomElement$f } from './custom-popper2.js';
6
6
  import { d as defineCustomElement$e } from './form-control-date2.js';
@@ -180,7 +180,7 @@ const DisputeResponseCore = /*@__PURE__*/ proxyCustomElement(class DisputeRespon
180
180
  return this.currentStep === 0;
181
181
  }
182
182
  render() {
183
- return (h("div", { key: 'b57563a641ae4f1be39f5f64ca88132b92aff3bd', class: "row gy-3" }, h("div", { key: '72f86b4907aaa872db039783e06f38b5c9d26658', class: "col-12" }, h("h1", { key: '62c570a4c30831bbc805e8cbad8d9e5d1433f5a5', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '692d6386e5c4874a0c2585fca9ffd6194dc8ef85', class: "col-12" }, this.currentStepComponent), h("div", { key: 'a7b614f93994721ff45724cbb6ff42877ff55aeb', class: "col-12" }, h("div", { key: 'e6c66ca06f1eaab7baa10742246e0707d7ebd083', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
183
+ return (h("div", { key: 'f8aa436de4217a890cb2c30d3e27aae405c69275', class: "row gy-3" }, h("div", { key: 'a49685c530a74ddc0c001f7aaa93a88083d050fa', class: "col-12" }, h("h1", { key: '15344ecf9317a883ca035637b943435d51663ad6', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '84005717b34e9f4a346bbd21c43f849f8238b452', class: "col-12" }, this.currentStepComponent), h("div", { key: 'f210b5351166085cc1638b4170af6e20c50080f2', class: "col-12" }, h("div", { key: '8294937c85b26845a9b22d5fd7afcb0caa7dbad1', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
184
184
  }
185
185
  }, [256, "justifi-dispute-response-core", {
186
186
  "updateDisputeResponse": [16],
@@ -79,7 +79,7 @@ const DisputeResponse = /*@__PURE__*/ proxyCustomElement(class DisputeResponse e
79
79
  }
80
80
  }
81
81
  render() {
82
- return (h(StyledHost, { key: '62d1cf5247d9049fd5aa66d13c64ef1b16625f46' }, h("justifi-dispute-response-core", { key: 'b5903023092984d31135dcd037850d66acc860df', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
82
+ return (h(StyledHost, { key: '4a6fcddbe3275068b9699dfc5c60adeff77f2192' }, h("justifi-dispute-response-core", { key: '80bd93d2ec9c64695d8b1d8bb7a4b59b2418a14f', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
83
83
  }
84
84
  ;
85
85
  static get watchers() { return {
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { c as create$3, a as create$6, F as FormController } from './form.js';
3
3
  import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
4
- import { $ as heading5 } from './parts.js';
4
+ import { a0 as heading5 } from './parts.js';
5
5
  import { d as defineCustomElement$6 } from './custom-popper2.js';
6
6
  import { d as defineCustomElement$5 } from './form-control-file-v22.js';
7
7
  import { d as defineCustomElement$4 } from './form-control-help-text2.js';
@@ -42,7 +42,7 @@ const DuplicateCharge = /*@__PURE__*/ proxyCustomElement(class DuplicateCharge e
42
42
  }
43
43
  render() {
44
44
  var _a, _b, _c;
45
- return (h("div", { key: '6e23d7a8b0f34f768620c1d54dd6d8bf7c234820' }, h("div", { key: 'fd26483347d8aad82e94a0e83fa63f30e9053f34', class: "row gy-3" }, h("div", { key: '0d704dc675156249894d5884c0df5827a39be124', class: "col-12" }, h("h2", { key: '258aa245aa2ac48345461634fcebdcae9be6e0e9', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '47c4fba5c53955f942a7d0331449525c6ae8acc8', class: "col-12" }, h("form-control-text", { key: '4f0f59a2c592704283b96b796c7d3de162188d01', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: '3f5a763a99dd70c5e746f32386302649aa77d4db', class: "col-12" }, h("form-control-textarea", { key: '37f69391a2445294a429a49fd76ce9f243e012ba', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: '8bf4d091ff3b4e3ea0cddee8911c3c9fd7d00b46', class: "col-12" }, h("form-control-file-v2", { key: '06e2beb25aa5295a6de7dfb8f70d8f0828a17be8', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
45
+ return (h("div", { key: 'a2c44551e8089f9d9f30e99e93c146c160e78f45' }, h("div", { key: '9eb60cf652ebfbb37336a350552666b30bd87e1d', class: "row gy-3" }, h("div", { key: 'ec776dee0a386b87851aca4a275b5aec09f2f78a', class: "col-12" }, h("h2", { key: 'e6c60f82ded8750f7211ffa7b2790d8572bf67c7', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '6380b5a5be60a61d3bb2adcffad781388da2b6d2', class: "col-12" }, h("form-control-text", { key: 'b976b506913584ae88d35a30cfc42efb6a20a9e7', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: 'f9ae261fbe01a5f4de3491b8ac2c7a1cd59a184d', class: "col-12" }, h("form-control-textarea", { key: 'cd3bf73a8374411113068c310b14101e8d9ab7fe', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: 'f730411437abd1c6a5950e7a768390df2ea2102e', class: "col-12" }, h("form-control-file-v2", { key: '8021ee00e94803edf3eb27ec834e05353ba985d5', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
46
46
  }
47
47
  }, [256, "justifi-duplicate-charge", {
48
48
  "disputeResponse": [8, "dispute-response"],
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { c as create$3, a as create$6, F as FormController } from './form.js';
3
3
  import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
4
- import { $ as heading5 } from './parts.js';
4
+ import { a0 as heading5 } from './parts.js';
5
5
  import { d as defineCustomElement$4 } from './custom-popper2.js';
6
6
  import { d as defineCustomElement$3 } from './form-control-file-v22.js';
7
7
  import { d as defineCustomElement$2 } from './form-control-text2.js';
@@ -39,7 +39,7 @@ const ElectronicEvidence = /*@__PURE__*/ proxyCustomElement(class ElectronicEvid
39
39
  }
40
40
  render() {
41
41
  var _a, _b;
42
- return (h("div", { key: '84db9939ca198549d31db9faf6435ae9d23d58af' }, h("div", { key: '89b6b94293de6fdb64219c500ab7e9024d2a54a0', class: "row gy-3" }, h("div", { key: '78c1fdb5d5bcc1e0dde42facb67c75d378b7cd74', class: "col-12" }, h("h2", { key: '62fc16c71794e98be239ecd143534d7615bfac2e', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '6fc5dd09c140b3401e1c0223db460424ceb7579f', class: "col-12" }, h("form-control-text", { key: '43b195045d0b27f76884b7cccebad23900f9a228', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: '0286da4cae5f301e1aeebd7c43b38a9283ae5c6d', class: "col-12" }, h("form-control-file-v2", { key: 'd893e28129b4e1f25c5ed75de546ae8e03350b40', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
42
+ return (h("div", { key: 'b7ccea47ef4631e72192680468e9b5c370089766' }, h("div", { key: 'b33edf7018fe897a1b6d66edfbdf696fe4c4ad5d', class: "row gy-3" }, h("div", { key: '3f191923eb587c7efcdeec93afa830f7045e5ca5', class: "col-12" }, h("h2", { key: '6019125067e94159de463ff467f3a26a83efadb6', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '36169fba21ebe835eccbbdfa61665dbbf1922d22', class: "col-12" }, h("form-control-text", { key: '5cdd785662b43d8ac46b7ffa165fbf7b1d3008ae', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: 'b2b3fdabb36b09c369c887779519000b1f9eb40e', class: "col-12" }, h("form-control-file-v2", { key: 'f112588b597277444e3d826cd8d94f8699dafc22', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
43
43
  }
44
44
  }, [256, "justifi-electronic-evidence", {
45
45
  "disputeResponse": [8, "dispute-response"],
@@ -0,0 +1,65 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { a as CountryCode } from './Business.js';
3
+ import { n as numberOnlyHandler } from './utils3.js';
4
+ import { a as countryOptions, c as countryLabels } from './country-config.js';
5
+ import { d as defineCustomElement$4 } from './custom-popper2.js';
6
+ import { d as defineCustomElement$3 } from './form-control-select2.js';
7
+ import { d as defineCustomElement$2 } from './form-control-text2.js';
8
+ import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
9
+
10
+ const FormAddressFields = /*@__PURE__*/ proxyCustomElement(class FormAddressFields extends HTMLElement {
11
+ constructor(registerHost) {
12
+ super();
13
+ if (registerHost !== false) {
14
+ this.__registerHost();
15
+ }
16
+ this.country = CountryCode.USA;
17
+ }
18
+ render() {
19
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
20
+ const labels = countryLabels[this.country];
21
+ const options = countryOptions[this.country];
22
+ return (h(Host, { key: '429dd1250553f6d25f9db6d6c1379af0290718c6' }, h("div", { key: '91b9d7199bea1620c7614efd25c0421d3f85c19d', class: "row gy-3" }, h("div", { key: '13dd91b17d387ef9c8bc97b44a273f0984758a3a', class: "col-12" }, h("form-control-text", { key: '52ecc715696aed27a6f4329971e90e90ebb971fa', name: "line1", label: "Street Address", inputHandler: this.inputHandler, defaultValue: (_a = this.defaultValues) === null || _a === void 0 ? void 0 : _a.line1, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line1, helpText: "No PO Boxes." })), h("div", { key: '64bc39361d02b10c75dfc8389915ce192b9f7606', class: "col-12" }, h("form-control-text", { key: 'a835f2f9706664dd195daa5436fe49aea2c54968', name: "line2", label: "Address Line 2 (optional)", inputHandler: this.inputHandler, defaultValue: (_c = this.defaultValues) === null || _c === void 0 ? void 0 : _c.line2, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.line2 })), h("div", { key: 'ef9b02103d0d1469da092d8965d021b049e54cb5', class: "col-12" }, h("form-control-text", { key: '9263360f47c6e833a904aab2e8b30d4a35d50e75', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: (_e = this.defaultValues) === null || _e === void 0 ? void 0 : _e.city, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.city })), h("div", { key: '4609534e39659ed47350e68a64fee58616320da4', class: "col-12" }, h("form-control-select", { key: 'a7f94fa5ea2642cae82729951198771fd1f31380', name: "state", label: labels.stateLabel, options: options.stateOptions, inputHandler: this.inputHandler, defaultValue: (_g = this.defaultValues) === null || _g === void 0 ? void 0 : _g.state, errorText: (_h = this.errors) === null || _h === void 0 ? void 0 : _h.state })), h("div", { key: 'eadf0a6e2e2cfbe8e476ba8abb25eab4b2b005fb', class: "col-12" }, h("form-control-text", { key: '2708d2a47c8afccc470203775d494683f133174b', name: "postal_code", label: labels.postalLabel, inputHandler: this.inputHandler, defaultValue: (_j = this.defaultValues) === null || _j === void 0 ? void 0 : _j.postal_code, errorText: (_k = this.errors) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: this.country === CountryCode.USA ? 5 : 7, keyDownHandler: this.country === CountryCode.USA ? numberOnlyHandler : undefined })))));
23
+ }
24
+ }, [256, "justifi-form-address-fields", {
25
+ "country": [1],
26
+ "errors": [8],
27
+ "defaultValues": [8, "default-values"],
28
+ "inputHandler": [16]
29
+ }]);
30
+ function defineCustomElement() {
31
+ if (typeof customElements === "undefined") {
32
+ return;
33
+ }
34
+ const components = ["justifi-form-address-fields", "custom-popper", "form-control-select", "form-control-text", "form-control-tooltip"];
35
+ components.forEach(tagName => { switch (tagName) {
36
+ case "justifi-form-address-fields":
37
+ if (!customElements.get(tagName)) {
38
+ customElements.define(tagName, FormAddressFields);
39
+ }
40
+ break;
41
+ case "custom-popper":
42
+ if (!customElements.get(tagName)) {
43
+ defineCustomElement$4();
44
+ }
45
+ break;
46
+ case "form-control-select":
47
+ if (!customElements.get(tagName)) {
48
+ defineCustomElement$3();
49
+ }
50
+ break;
51
+ case "form-control-text":
52
+ if (!customElements.get(tagName)) {
53
+ defineCustomElement$2();
54
+ }
55
+ break;
56
+ case "form-control-tooltip":
57
+ if (!customElements.get(tagName)) {
58
+ defineCustomElement$1();
59
+ }
60
+ break;
61
+ } });
62
+ }
63
+ defineCustomElement();
64
+
65
+ export { FormAddressFields as F, defineCustomElement as d };
@@ -42,10 +42,10 @@ const CheckboxInput = /*@__PURE__*/ proxyCustomElement(class CheckboxInput exten
42
42
  return inputCheckbox;
43
43
  }
44
44
  render() {
45
- return (h(Host, { key: '5f005eb28eba876fdb960c1f2f1dcde88eb3301e' }, h("div", { key: '09ee456c7f4339129b7b8b6a3988e460729a1b63', class: 'form-group d-flex flex-column' }, h("div", { key: '37ed948a6a54b5274416183130718d4edb5a0438', class: "form-check" }, h("input", { key: 'd787cb203ba00e73e802b9d4fb19176b3b773ada', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
45
+ return (h(Host, { key: '5f017faf77fcd07141c04c973dfa5f152f58594b' }, h("div", { key: '4a6b586e30452418ab4b8f5d0495ac1efb70ab73', class: 'form-group d-flex flex-column' }, h("div", { key: 'bf63d72855f2c0ef4def2b129a9bd2313205fefd', class: "form-check" }, h("input", { key: '072795a8dfe2754692ecb8c82aaf6a62860b4bd0', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
46
46
  this.isFocused = false;
47
47
  this.formControlBlur.emit();
48
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '46548faac2cfe3d43ac71a68616ae3fb2d496d03', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: 'ac4d887f51e5a32bed3b57053f4fbdbff5bac22d', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '4e4274031280fe30b9b3c8089aa0b313ff2308c9', errorText: this.errorText, name: this.name }))));
48
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '1734511d48ce354ee9fd8545056f20f334152800', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: '0629fffb0838e03d4a8fe2e3bab2577342f1c7e8', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: 'b9ba3d370907e48ac3caafa4285181fe9a4e27c1', errorText: this.errorText, name: this.name }))));
49
49
  }
50
50
  }, [256, "form-control-checkbox", {
51
51
  "label": [1],