@justifi/webcomponents 6.15.0-rc.2 → 6.16.0-rc.1

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 (501) hide show
  1. package/dist/cjs/{Analytics-COhunq0p.js → Analytics-jQsZxClw.js} +4 -4
  2. package/dist/cjs/{Api-Do6SaltY.js → Api-DqXlEWR1.js} +1 -1
  3. package/dist/cjs/{Business-oBifyXkW.js → Business-CNaz-VLa.js} +5 -1
  4. package/dist/cjs/{Plaid-D85oV9FN.js → Plaid-BcOAKDaU.js} +1 -1
  5. package/dist/cjs/additional-questions-form-step_15.cjs.entry.js +14 -14
  6. package/dist/cjs/additional-questions_4.cjs.entry.js +3 -3
  7. package/dist/cjs/additional-statement_8.cjs.entry.js +8 -8
  8. package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +15 -9
  9. package/dist/cjs/bank-account-document-form-inputs.cjs.entry.js +2 -2
  10. package/dist/cjs/bank-account-form.cjs.entry.js +68 -14
  11. package/dist/cjs/{business-form-options-CnlrfbQ6.js → business-form-options-BHBs_yiK.js} +1 -1
  12. package/dist/cjs/{business-identity-schema-hpDJFnB4.js → business-identity-schema-DuOIMFjG.js} +3 -3
  13. package/dist/cjs/{business.service-72YETCdB.js → business.service-Ca-olopC.js} +3 -3
  14. package/dist/cjs/card-form.cjs.entry.js +16 -12
  15. package/dist/cjs/{checkout-actions-BRQFQ6n-.js → checkout-actions-CQyGpVPe.js} +2 -2
  16. package/dist/cjs/{checkout.service-CPsXfx0Z.js → checkout.service-DBHPH2ji.js} +3 -3
  17. package/dist/cjs/{checkout.store-DaV9lvEQ.js → checkout.store-B5lTwvUV.js} +1 -0
  18. package/dist/cjs/{country-config-C1bWmF8P.js → country-config-CFC3KuVD.js} +25 -3
  19. package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
  20. package/dist/cjs/detect-duplicate-version-D8ZajVUT.js +29 -0
  21. package/dist/cjs/dispute-notification_2.cjs.entry.js +12 -12
  22. package/dist/cjs/{event-types-UHzCC7Ga.js → event-types-luy3xnYR.js} +3 -3
  23. package/dist/cjs/form-address-fields_3.cjs.entry.js +6 -6
  24. package/dist/cjs/form-alert_3.cjs.entry.js +116 -15
  25. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  26. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  27. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +1 -1
  28. package/dist/cjs/form-control-file.cjs.entry.js +2 -2
  29. package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
  30. package/dist/cjs/form-control-number_2.cjs.entry.js +6 -6
  31. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  32. package/dist/cjs/form-control-select_2.cjs.entry.js +22 -6
  33. package/dist/cjs/{get-business-BpaRbn5S.js → get-business-BVxtiSDs.js} +3 -3
  34. package/dist/cjs/{get-payment-details-Cmg8gWvo.js → get-payment-details-DR1GgpyX.js} +3 -3
  35. package/dist/cjs/{get-subaccounts-Bp7DOmM_.js → get-subaccounts-D11aTYj1.js} +4 -4
  36. package/dist/cjs/{input-handlers-_51J5q7J.js → input-handlers-v9h_2Ysi.js} +1 -1
  37. package/dist/cjs/internal-button.cjs.entry.js +1 -1
  38. package/dist/cjs/justifi-apple-pay_12.cjs.entry.js +52 -30
  39. package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +8 -8
  40. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +10 -9
  41. package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
  42. package/dist/cjs/justifi-business-details.cjs.entry.js +11 -11
  43. package/dist/cjs/justifi-business-form.cjs.entry.js +14 -14
  44. package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
  45. package/dist/cjs/justifi-card-form.cjs.entry.js +11 -8
  46. package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +7 -7
  47. package/dist/cjs/justifi-checkout.cjs.entry.js +12 -10
  48. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -4
  49. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +12 -12
  50. package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
  51. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +34 -21
  52. package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -12
  53. package/dist/cjs/justifi-payment-details.cjs.entry.js +18 -18
  54. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +10 -10
  55. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +10 -10
  56. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  57. package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -10
  58. package/dist/cjs/justifi-payout-details.cjs.entry.js +13 -13
  59. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +10 -10
  60. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
  61. package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -12
  62. package/dist/cjs/justifi-qr-terminal.cjs.entry.js +10 -10
  63. package/dist/cjs/justifi-refund-payment.cjs.entry.js +10 -10
  64. package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
  65. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +9 -9
  66. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +5 -5
  67. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
  68. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +3 -3
  69. package/dist/cjs/justifi-terminals-list.cjs.entry.js +11 -11
  70. package/dist/cjs/loader.cjs.js +1 -1
  71. package/dist/cjs/{package-G3Vs7Jx5.js → package-B414Jbra.js} +1 -3
  72. package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
  73. package/dist/cjs/{payment-provisioning-actions-DDooZhhk.js → payment-provisioning-actions-SVp7B8pR.js} +2 -2
  74. package/dist/cjs/payment-provisioning-form-buttons_2.cjs.entry.js +1 -1
  75. package/dist/cjs/{payment.service-CVwTrHEL.js → payment.service-CNTe8vrp.js} +3 -3
  76. package/dist/cjs/{payout.service-CL3VR0hN.js → payout.service-BmU3q9jO.js} +3 -3
  77. package/dist/cjs/{payouts-status-1IUtW-UQ.js → payouts-status-BvHeuy9v.js} +2 -2
  78. package/dist/cjs/{plaid.service-Cukg5wuY.js → plaid.service-d9LAwbnX.js} +3 -3
  79. package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
  80. package/dist/cjs/save-new-payment-method.cjs.entry.js +2 -2
  81. package/dist/cjs/{schema-validations-DehT309E.js → schema-validations-BDFa_oIq.js} +12 -5
  82. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  83. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  84. package/dist/cjs/{terminal.service-C0KG7BqL.js → terminal.service-BkQWZv9b.js} +3 -3
  85. package/dist/cjs/{utils-CBriZzRC.js → utils-BScgWJC5.js} +1 -1
  86. package/dist/cjs/utils-Ct_X5q0U.js +62 -0
  87. package/dist/cjs/webcomponents.cjs.js +1 -1
  88. package/dist/collection/api/Business.js +2 -0
  89. package/dist/collection/api/Checkout.js +1 -1
  90. package/dist/collection/collection-manifest.json +1 -1
  91. package/dist/collection/components/business-details/justifi-business-details.js +3 -3
  92. package/dist/collection/components/business-forms/business-form/justifi-business-form.js +2 -2
  93. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +3 -2
  94. package/dist/collection/components/business-forms/payment-provisioning/justifi-payment-provisioning.js +2 -2
  95. package/dist/collection/components/business-forms/schemas/schema-helpers.js +2 -1
  96. package/dist/collection/components/business-forms/schemas/schema-validations.js +8 -1
  97. package/dist/collection/components/business-forms/utils/country-config.js +3 -2
  98. package/dist/collection/components/business-forms/utils/helpers.js +3 -1
  99. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +90 -12
  100. package/dist/collection/components/checkout/billing-form/billing-form-full.js +6 -2
  101. package/dist/collection/components/checkout/billing-form/card-billing-form-simple.js +6 -2
  102. package/dist/collection/components/checkout/card-form/card-form.js +39 -11
  103. package/dist/collection/components/checkout/justifi-checkout.js +26 -4
  104. package/dist/collection/components/checkout/message-event-types.js +2 -0
  105. package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +1 -1
  106. package/dist/collection/components/checkout/save-new-payment-method/save-new-payment-method.js +1 -1
  107. package/dist/collection/components/checkout-qr-code/justifi-checkout-qr-code.js +2 -2
  108. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +4 -2
  109. package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +5 -5
  110. package/dist/collection/components/dispute-management/dispute-notification.js +2 -2
  111. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  112. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  113. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  114. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +3 -3
  115. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  116. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  117. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  118. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  119. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  120. package/dist/collection/components/dispute-management/justifi-dispute-management.js +3 -3
  121. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  122. package/dist/collection/components/gross-payment-chart/justifi-gross-payment-chart.js +2 -2
  123. package/dist/collection/components/insurance/season-interruption/justifi-season-interruption-insurance.js +2 -2
  124. package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +50 -12
  125. package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +7 -1
  126. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +3 -3
  127. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +33 -6
  128. package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
  129. package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
  130. package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +28 -3
  131. package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
  132. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  133. package/dist/collection/components/modular-checkout/sub-components/paypal/justifi-paypal.js +1 -1
  134. package/dist/collection/components/order-terminals/justifi-order-terminals.js +3 -3
  135. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  136. package/dist/collection/components/payment-details/justifi-payment-details.js +10 -10
  137. package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +3 -3
  138. package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
  139. package/dist/collection/components/payments-list/justifi-payments-list.js +3 -3
  140. package/dist/collection/components/payout-details/justifi-payout-details.js +5 -5
  141. package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +3 -3
  142. package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
  143. package/dist/collection/components/payouts-list/justifi-payouts-list.js +3 -3
  144. package/dist/collection/components/qr-terminal/justifi-qr-terminal.js +2 -2
  145. package/dist/collection/components/refund-payment/justifi-refund-payment.js +2 -2
  146. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
  147. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +4 -4
  148. package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
  149. package/dist/collection/components/terminals-list/justifi-terminals-list.js +3 -3
  150. package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +45 -6
  151. package/dist/collection/store/checkout.store.js +1 -0
  152. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  153. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  154. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  155. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  156. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  157. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  158. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  159. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  160. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  161. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  162. package/dist/collection/ui-components/form/form-control-text.js +37 -4
  163. package/dist/collection/ui-components/form/iframe-input.js +136 -14
  164. package/dist/collection/ui-components/form/utils.js +32 -0
  165. package/dist/collection/ui-components/internal-button.js +1 -1
  166. package/dist/collection/ui-components/radio-list-item.js +1 -1
  167. package/dist/collection/utils/detect-duplicate-version.js +24 -0
  168. package/dist/collection/utils/postal-code.js +19 -0
  169. package/dist/docs.json +287 -18
  170. package/dist/esm/{Analytics-3WmRTICF.js → Analytics-DihSSvAP.js} +4 -4
  171. package/dist/esm/{Api-83B3f28Q.js → Api-INJHjnya.js} +1 -1
  172. package/dist/esm/{Business-DaDqgDrb.js → Business-CTtGaVYs.js} +5 -1
  173. package/dist/esm/{Plaid-BP3xNxQF.js → Plaid-CRcTLeaz.js} +1 -1
  174. package/dist/esm/additional-questions-form-step_15.entry.js +14 -14
  175. package/dist/esm/additional-questions_4.entry.js +3 -3
  176. package/dist/esm/additional-statement_8.entry.js +8 -8
  177. package/dist/esm/bank-account-billing-form-simple_4.entry.js +15 -9
  178. package/dist/esm/bank-account-document-form-inputs.entry.js +2 -2
  179. package/dist/esm/bank-account-form.entry.js +68 -14
  180. package/dist/esm/{business-form-options-BxVQL9ar.js → business-form-options-DLRkVtee.js} +1 -1
  181. package/dist/esm/{business-identity-schema-BkmRlnQo.js → business-identity-schema-BLKCH6xV.js} +3 -3
  182. package/dist/esm/{business.service-CTqiKKy5.js → business.service-C8f7OSEu.js} +3 -3
  183. package/dist/esm/card-form.entry.js +16 -12
  184. package/dist/esm/{checkout-actions-0ftD0elo.js → checkout-actions-CWnrb317.js} +2 -2
  185. package/dist/esm/{checkout.service-wjFjBxIB.js → checkout.service-BYDkC7uy.js} +3 -3
  186. package/dist/esm/{checkout.store-B2mtQcB5.js → checkout.store-B8CGkx0o.js} +1 -0
  187. package/dist/esm/{country-config-CJwnhkdq.js → country-config-DJFj1v-Q.js} +24 -4
  188. package/dist/esm/custom-popper_2.entry.js +2 -2
  189. package/dist/esm/detect-duplicate-version-C4r1WAzO.js +27 -0
  190. package/dist/esm/dispute-notification_2.entry.js +12 -12
  191. package/dist/esm/{event-types-cqQHLwCy.js → event-types-S8CgMbPg.js} +3 -3
  192. package/dist/esm/form-address-fields_3.entry.js +6 -6
  193. package/dist/esm/form-alert_3.entry.js +116 -15
  194. package/dist/esm/form-control-checkbox.entry.js +2 -2
  195. package/dist/esm/form-control-date.entry.js +2 -2
  196. package/dist/esm/form-control-file-v2_2.entry.js +1 -1
  197. package/dist/esm/form-control-file.entry.js +2 -2
  198. package/dist/esm/form-control-monetary.entry.js +2 -2
  199. package/dist/esm/form-control-number_2.entry.js +6 -6
  200. package/dist/esm/form-control-radio.entry.js +2 -2
  201. package/dist/esm/form-control-select_2.entry.js +22 -6
  202. package/dist/esm/{get-business-BLCT-zfN.js → get-business-IZpxKRZM.js} +3 -3
  203. package/dist/esm/{get-payment-details-BokzuPGl.js → get-payment-details-DSI41Pq5.js} +3 -3
  204. package/dist/esm/{get-subaccounts-ClGG-LRZ.js → get-subaccounts-BHWiH8q9.js} +4 -4
  205. package/dist/esm/{input-handlers-Dfuc6aDW.js → input-handlers-Dm8jO-BT.js} +1 -1
  206. package/dist/esm/internal-button.entry.js +1 -1
  207. package/dist/esm/justifi-apple-pay_12.entry.js +52 -30
  208. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +8 -8
  209. package/dist/esm/justifi-bank-account-form.entry.js +10 -9
  210. package/dist/esm/justifi-billing-form-full.entry.js +1 -1
  211. package/dist/esm/justifi-business-details.entry.js +11 -11
  212. package/dist/esm/justifi-business-form.entry.js +14 -14
  213. package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
  214. package/dist/esm/justifi-card-form.entry.js +11 -8
  215. package/dist/esm/justifi-checkout-qr-code.entry.js +7 -7
  216. package/dist/esm/justifi-checkout.entry.js +12 -10
  217. package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -4
  218. package/dist/esm/justifi-checkouts-list.entry.js +12 -12
  219. package/dist/esm/justifi-dispute-management.entry.js +10 -10
  220. package/dist/esm/justifi-gross-payment-chart.entry.js +34 -21
  221. package/dist/esm/justifi-order-terminals.entry.js +12 -12
  222. package/dist/esm/justifi-payment-details.entry.js +18 -18
  223. package/dist/esm/justifi-payment-provisioning.entry.js +10 -10
  224. package/dist/esm/justifi-payment-transactions-list.entry.js +10 -10
  225. package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
  226. package/dist/esm/justifi-payments-list.entry.js +10 -10
  227. package/dist/esm/justifi-payout-details.entry.js +13 -13
  228. package/dist/esm/justifi-payout-transactions-list.entry.js +10 -10
  229. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
  230. package/dist/esm/justifi-payouts-list.entry.js +12 -12
  231. package/dist/esm/justifi-qr-terminal.entry.js +10 -10
  232. package/dist/esm/justifi-refund-payment.entry.js +10 -10
  233. package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
  234. package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -9
  235. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -5
  236. package/dist/esm/justifi-terminal-orders-list.entry.js +10 -10
  237. package/dist/esm/justifi-terminals-list-filters.entry.js +3 -3
  238. package/dist/esm/justifi-terminals-list.entry.js +11 -11
  239. package/dist/esm/loader.js +1 -1
  240. package/dist/esm/package-BQpbTebi.js +5 -0
  241. package/dist/esm/payment-method-option.entry.js +1 -1
  242. package/dist/esm/{payment-provisioning-actions-VRIPjnAQ.js → payment-provisioning-actions-VtleD509.js} +2 -2
  243. package/dist/esm/payment-provisioning-form-buttons_2.entry.js +1 -1
  244. package/dist/esm/{payment.service-D7uv5vym.js → payment.service-CQXRsu6Y.js} +3 -3
  245. package/dist/esm/{payout.service-BoSyqft1.js → payout.service-RRyWfpEK.js} +3 -3
  246. package/dist/esm/{payouts-status-CaiC5qpn.js → payouts-status-CnIf4XDi.js} +2 -2
  247. package/dist/esm/{plaid.service-DufQkxDk.js → plaid.service-Cg3E3Plo.js} +3 -3
  248. package/dist/esm/radio-list-item.entry.js +1 -1
  249. package/dist/esm/save-new-payment-method.entry.js +2 -2
  250. package/dist/esm/{schema-validations-8dbMCACI.js → schema-validations-8GJ34Do1.js} +12 -5
  251. package/dist/esm/table-filters-menu.entry.js +1 -1
  252. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  253. package/dist/esm/{terminal.service-BM2aebB6.js → terminal.service-Dy6D8bnl.js} +3 -3
  254. package/dist/esm/utils-Cpck08K0.js +59 -0
  255. package/dist/esm/{utils-YUOJKtjO.js → utils-DaPywmTI.js} +1 -1
  256. package/dist/esm/webcomponents.js +1 -1
  257. package/dist/module/Business.js +5 -1
  258. package/dist/module/Plaid.js +1 -1
  259. package/dist/module/additional-statement2.js +1 -1
  260. package/dist/module/bank-account-form2.js +65 -10
  261. package/dist/module/billing-form-full2.js +6 -2
  262. package/dist/module/cancellation-policy2.js +1 -1
  263. package/dist/module/card-billing-form-simple2.js +6 -2
  264. package/dist/module/card-form2.js +14 -9
  265. package/dist/module/checkout.store.js +1 -0
  266. package/dist/module/country-config.js +23 -3
  267. package/dist/module/custom-popper2.js +2 -2
  268. package/dist/module/customer-details2.js +1 -1
  269. package/dist/module/detect-duplicate-version.js +27 -0
  270. package/dist/module/dispute-notification2.js +2 -2
  271. package/dist/module/dispute-response2.js +3 -3
  272. package/dist/module/duplicate-charge2.js +1 -1
  273. package/dist/module/electronic-evidence2.js +1 -1
  274. package/dist/module/form-address-fields2.js +3 -3
  275. package/dist/module/form-control-checkbox2.js +2 -2
  276. package/dist/module/form-control-date2.js +2 -2
  277. package/dist/module/form-control-file-v22.js +1 -1
  278. package/dist/module/form-control-file2.js +2 -2
  279. package/dist/module/form-control-monetary2.js +2 -2
  280. package/dist/module/form-control-number-masked2.js +2 -2
  281. package/dist/module/form-control-number2.js +2 -2
  282. package/dist/module/form-control-radio2.js +2 -2
  283. package/dist/module/form-control-select2.js +2 -2
  284. package/dist/module/form-control-text2.js +21 -4
  285. package/dist/module/iframe-input2.js +119 -15
  286. package/dist/module/internal-button2.js +1 -1
  287. package/dist/module/justifi-apple-pay2.js +7 -1
  288. package/dist/module/justifi-bank-account-billing-form-simple.js +3 -3
  289. package/dist/module/justifi-bank-account-form.js +6 -4
  290. package/dist/module/justifi-billing-form-full.js +1 -1
  291. package/dist/module/justifi-business-details.js +3 -3
  292. package/dist/module/justifi-business-form.js +2 -2
  293. package/dist/module/justifi-card-billing-form-simple.js +1 -1
  294. package/dist/module/justifi-card-form.js +6 -3
  295. package/dist/module/justifi-checkout-qr-code2.js +2 -2
  296. package/dist/module/justifi-checkout-summary2.js +1 -1
  297. package/dist/module/justifi-checkout.js +7 -4
  298. package/dist/module/justifi-checkouts-list-filters.js +4 -2
  299. package/dist/module/justifi-checkouts-list.js +4 -4
  300. package/dist/module/justifi-dispute-management.js +3 -3
  301. package/dist/module/justifi-gross-payment-chart.js +28 -15
  302. package/dist/module/justifi-modular-checkout2.js +30 -12
  303. package/dist/module/justifi-order-terminals.js +3 -3
  304. package/dist/module/justifi-payment-details.js +10 -10
  305. package/dist/module/justifi-payment-provisioning.js +2 -2
  306. package/dist/module/justifi-payment-transactions-list.js +3 -3
  307. package/dist/module/justifi-payments-list-filters.js +2 -2
  308. package/dist/module/justifi-payments-list.js +3 -3
  309. package/dist/module/justifi-payout-details.js +5 -5
  310. package/dist/module/justifi-payout-transactions-list.js +3 -3
  311. package/dist/module/justifi-payouts-list-filters.js +2 -2
  312. package/dist/module/justifi-payouts-list.js +3 -3
  313. package/dist/module/justifi-paypal2.js +1 -1
  314. package/dist/module/justifi-qr-terminal.js +2 -2
  315. package/dist/module/justifi-refund-payment.js +2 -2
  316. package/dist/module/justifi-save-new-payment-method.js +1 -1
  317. package/dist/module/justifi-season-interruption-insurance.js +2 -2
  318. package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
  319. package/dist/module/justifi-terminal-orders-list.js +4 -4
  320. package/dist/module/justifi-terminals-list-filters.js +1 -1
  321. package/dist/module/justifi-terminals-list.js +3 -3
  322. package/dist/module/justifi-tokenize-payment-method2.js +9 -6
  323. package/dist/module/package.js +1 -3
  324. package/dist/module/payment-method-option.js +1 -1
  325. package/dist/module/product-or-service2.js +1 -1
  326. package/dist/module/radio-list-item2.js +1 -1
  327. package/dist/module/refund-policy2.js +1 -1
  328. package/dist/module/save-new-payment-method2.js +1 -1
  329. package/dist/module/schema-validations.js +10 -3
  330. package/dist/module/shipping-details2.js +1 -1
  331. package/dist/module/table-filters-menu2.js +1 -1
  332. package/dist/module/terminal-quantity-selector2.js +1 -1
  333. package/dist/module/utils4.js +33 -1
  334. package/dist/types/api/Business.d.ts +2 -0
  335. package/dist/types/api/Checkout.d.ts +7 -7
  336. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +8 -1
  337. package/dist/types/components/checkout/card-form/card-form.d.ts +5 -1
  338. package/dist/types/components/checkout/justifi-checkout.d.ts +2 -0
  339. package/dist/types/components/checkout/message-event-types.d.ts +2 -0
  340. package/dist/types/components/checkouts-list/justifi-checkouts-list.d.ts +1 -1
  341. package/dist/types/components/modular-checkout/justifi-modular-checkout.d.ts +9 -0
  342. package/dist/types/components/modular-checkout/sub-components/justifi-apple-pay.d.ts +1 -0
  343. package/dist/types/components/modular-checkout/sub-components/justifi-bank-account-form.d.ts +4 -1
  344. package/dist/types/components/modular-checkout/sub-components/justifi-card-form.d.ts +9 -0
  345. package/dist/types/components/tokenize-payment-method/justifi-tokenize-payment-method.d.ts +9 -0
  346. package/dist/types/components.d.ts +86 -4
  347. package/dist/types/store/checkout.store.d.ts +1 -0
  348. package/dist/types/ui-components/form/form-control-text.d.ts +1 -0
  349. package/dist/types/ui-components/form/iframe-input.d.ts +24 -0
  350. package/dist/types/ui-components/form/utils.d.ts +1 -0
  351. package/dist/types/utils/detect-duplicate-version.d.ts +7 -0
  352. package/dist/types/utils/postal-code.d.ts +3 -0
  353. package/dist/webcomponents/p-12daf522.entry.js +1 -0
  354. package/dist/webcomponents/p-1a1aef42.entry.js +1 -0
  355. package/dist/webcomponents/p-1ceb65cc.entry.js +1 -0
  356. package/dist/webcomponents/p-1ff1dcc5.entry.js +20 -0
  357. package/dist/webcomponents/{p-777470cb.entry.js → p-2272a65b.entry.js} +1 -1
  358. package/dist/webcomponents/{p-c4889a06.entry.js → p-2d25f1d1.entry.js} +1 -1
  359. package/dist/webcomponents/{p-c5424fda.entry.js → p-30ec1cd6.entry.js} +1 -1
  360. package/dist/webcomponents/p-357d14ee.entry.js +1 -0
  361. package/dist/webcomponents/{p-ead48010.entry.js → p-4450dbe9.entry.js} +1 -1
  362. package/dist/webcomponents/p-4c7e7880.entry.js +1 -0
  363. package/dist/webcomponents/p-4d85dd63.entry.js +1 -0
  364. package/dist/webcomponents/p-521c534c.entry.js +1 -0
  365. package/dist/webcomponents/p-5babaaa9.entry.js +1 -0
  366. package/dist/webcomponents/{p-1cdbe8c1.entry.js → p-5c889829.entry.js} +1 -1
  367. package/dist/webcomponents/{p-f5358a80.entry.js → p-5e8f26ec.entry.js} +1 -1
  368. package/dist/webcomponents/p-622c2af4.entry.js +1 -0
  369. package/dist/webcomponents/{p-9e3e2e32.entry.js → p-6aaf2758.entry.js} +1 -1
  370. package/dist/webcomponents/p-6bfdc443.entry.js +1 -0
  371. package/dist/webcomponents/{p-42021e67.entry.js → p-6f3b035b.entry.js} +1 -1
  372. package/dist/webcomponents/p-73af269e.entry.js +1 -0
  373. package/dist/webcomponents/{p-ced6f6f1.entry.js → p-7ff788f8.entry.js} +1 -1
  374. package/dist/webcomponents/{p-c3818a5a.entry.js → p-846ae5d5.entry.js} +1 -1
  375. package/dist/webcomponents/p-8758aec4.entry.js +1 -0
  376. package/dist/webcomponents/p-87f8d4e7.entry.js +1 -0
  377. package/dist/webcomponents/p-8c22ff9c.entry.js +1 -0
  378. package/dist/webcomponents/p-91358854.entry.js +1 -0
  379. package/dist/webcomponents/{p-f3682c72.entry.js → p-956707a2.entry.js} +1 -1
  380. package/dist/webcomponents/p-9c1863d5.entry.js +1 -0
  381. package/dist/webcomponents/p-BDtSw_d-.js +1 -0
  382. package/dist/webcomponents/{p-CIpBEUtx.js → p-BG8NxEUn.js} +1 -1
  383. package/dist/webcomponents/p-BKtKrQzN.js +1 -0
  384. package/dist/webcomponents/p-BQpbTebi.js +1 -0
  385. package/dist/webcomponents/{p-nbKvRcwU.js → p-Bh5BNj74.js} +1 -1
  386. package/dist/webcomponents/{p-CLq3Og7o.js → p-BhpaUYtS.js} +1 -1
  387. package/dist/webcomponents/{p-vIQBTQmc.js → p-BtiJJJwv.js} +1 -1
  388. package/dist/webcomponents/{p-DZQBPUfH.js → p-Bxc0NRj8.js} +1 -1
  389. package/dist/webcomponents/p-BzESNgd8.js +1 -0
  390. package/dist/webcomponents/p-C9p1gWAC.js +1 -0
  391. package/dist/webcomponents/p-CTtGaVYs.js +1 -0
  392. package/dist/webcomponents/p-CgOgijHy.js +1 -0
  393. package/dist/webcomponents/p-CkrzG0pB.js +1 -0
  394. package/dist/webcomponents/p-Cl6irPVE.js +1 -0
  395. package/dist/webcomponents/p-Cpck08K0.js +1 -0
  396. package/dist/webcomponents/{p-OReJ-ZQb.js → p-CtlBL-X6.js} +1 -1
  397. package/dist/webcomponents/p-Cy_sz0Tx.js +1 -0
  398. package/dist/webcomponents/p-D42DvqTW.js +1 -0
  399. package/dist/webcomponents/p-D7nyPi2Q.js +1 -0
  400. package/dist/webcomponents/p-DBudSN_h.js +1 -0
  401. package/dist/webcomponents/p-DMzYgqml.js +1 -0
  402. package/dist/webcomponents/{p-B0DHIvEj.js → p-DQmijfCN.js} +1 -1
  403. package/dist/webcomponents/p-Dqxyi-uK.js +1 -0
  404. package/dist/webcomponents/p-FsWkrvEF.js +1 -0
  405. package/dist/webcomponents/p-MLQyjvrV.js +1 -0
  406. package/dist/webcomponents/p-a095b86d.entry.js +1 -0
  407. package/dist/webcomponents/p-a1e1afa4.entry.js +1 -0
  408. package/dist/webcomponents/p-a2c4e99f.entry.js +1 -0
  409. package/dist/webcomponents/p-a8f1c9b3.entry.js +1 -0
  410. package/dist/webcomponents/{p-5d7b3d71.entry.js → p-b665841f.entry.js} +1 -1
  411. package/dist/webcomponents/p-b925d666.entry.js +1 -0
  412. package/dist/webcomponents/p-bc3e46af.entry.js +1 -0
  413. package/dist/webcomponents/p-c172decb.entry.js +1 -0
  414. package/dist/webcomponents/p-c9871158.entry.js +1 -0
  415. package/dist/webcomponents/p-d19d7d41.entry.js +1 -0
  416. package/dist/webcomponents/{p-6c94218c.entry.js → p-d35cde99.entry.js} +1 -1
  417. package/dist/webcomponents/{p-cb1cc88e.entry.js → p-d48f80d1.entry.js} +1 -1
  418. package/dist/webcomponents/{p-eb31024f.entry.js → p-dae31a59.entry.js} +1 -1
  419. package/dist/webcomponents/p-deff4422.entry.js +1 -0
  420. package/dist/webcomponents/{p-1365a46b.entry.js → p-e3c7b4e5.entry.js} +1 -1
  421. package/dist/webcomponents/{p-d98bc829.entry.js → p-e6d1e3e2.entry.js} +1 -1
  422. package/dist/webcomponents/{p-97c6593d.entry.js → p-ebae270b.entry.js} +1 -1
  423. package/dist/webcomponents/p-ebed68aa.entry.js +1 -0
  424. package/dist/webcomponents/{p-bf3866b3.entry.js → p-f0084d20.entry.js} +1 -1
  425. package/dist/webcomponents/p-f0da2ca5.entry.js +1 -0
  426. package/dist/webcomponents/p-f23d7d13.entry.js +1 -0
  427. package/dist/webcomponents/p-f2c99647.entry.js +1 -0
  428. package/dist/webcomponents/{p-e55216fb.entry.js → p-f39889f2.entry.js} +1 -1
  429. package/dist/webcomponents/p-f458928d.entry.js +1 -0
  430. package/dist/webcomponents/{p-0aa96018.entry.js → p-f5686720.entry.js} +1 -1
  431. package/dist/webcomponents/p-f681f747.entry.js +1 -0
  432. package/dist/webcomponents/{p-6eb65d23.entry.js → p-f6efd9e0.entry.js} +1 -1
  433. package/dist/webcomponents/{p-7002286e.entry.js → p-fa0427d5.entry.js} +1 -1
  434. package/dist/webcomponents/p-fb1f2fe8.entry.js +1 -0
  435. package/dist/webcomponents/p-fcc5af24.entry.js +1 -0
  436. package/dist/webcomponents/p-hdPjEOdB.js +1 -0
  437. package/dist/webcomponents/{p-CJEetAx7.js → p-l3JhjHLW.js} +1 -1
  438. package/dist/webcomponents/webcomponents.esm.js +1 -1
  439. package/package.json +2 -4
  440. package/dist/cjs/check-pkg-version-BxGoSXGD.js +0 -47
  441. package/dist/cjs/utils-DAyWinG2.js +0 -29
  442. package/dist/collection/utils/check-pkg-version.js +0 -42
  443. package/dist/esm/check-pkg-version-CmFl6VLH.js +0 -45
  444. package/dist/esm/package-CAVi_ne1.js +0 -7
  445. package/dist/esm/utils-BnjCmwMr.js +0 -27
  446. package/dist/module/check-pkg-version.js +0 -45
  447. package/dist/types/utils/check-pkg-version.d.ts +0 -1
  448. package/dist/webcomponents/p-0fbc806f.entry.js +0 -1
  449. package/dist/webcomponents/p-10787684.entry.js +0 -1
  450. package/dist/webcomponents/p-1fa62eba.entry.js +0 -1
  451. package/dist/webcomponents/p-25f70d5f.entry.js +0 -1
  452. package/dist/webcomponents/p-27igUlku.js +0 -1
  453. package/dist/webcomponents/p-36340e63.entry.js +0 -1
  454. package/dist/webcomponents/p-3642e189.entry.js +0 -1
  455. package/dist/webcomponents/p-388082cd.entry.js +0 -1
  456. package/dist/webcomponents/p-3f2fb856.entry.js +0 -1
  457. package/dist/webcomponents/p-4cad48c1.entry.js +0 -1
  458. package/dist/webcomponents/p-50c2b8f0.entry.js +0 -1
  459. package/dist/webcomponents/p-5842d4e8.entry.js +0 -1
  460. package/dist/webcomponents/p-5c89dcdf.entry.js +0 -1
  461. package/dist/webcomponents/p-5dcb1713.entry.js +0 -1
  462. package/dist/webcomponents/p-5f8c30b6.entry.js +0 -1
  463. package/dist/webcomponents/p-68e88747.entry.js +0 -1
  464. package/dist/webcomponents/p-6931a1f2.entry.js +0 -1
  465. package/dist/webcomponents/p-72bb4aff.entry.js +0 -1
  466. package/dist/webcomponents/p-74575a99.entry.js +0 -1
  467. package/dist/webcomponents/p-7c405573.entry.js +0 -1
  468. package/dist/webcomponents/p-825a7ee6.entry.js +0 -1
  469. package/dist/webcomponents/p-909a9828.entry.js +0 -20
  470. package/dist/webcomponents/p-955c06d3.entry.js +0 -1
  471. package/dist/webcomponents/p-9e9a2546.entry.js +0 -1
  472. package/dist/webcomponents/p-9f0ef3f3.entry.js +0 -1
  473. package/dist/webcomponents/p-BAKuMxC9.js +0 -1
  474. package/dist/webcomponents/p-BEL8sLz6.js +0 -1
  475. package/dist/webcomponents/p-BSxXlu9H.js +0 -1
  476. package/dist/webcomponents/p-BnjCmwMr.js +0 -1
  477. package/dist/webcomponents/p-CAVi_ne1.js +0 -1
  478. package/dist/webcomponents/p-CXsRwohv.js +0 -1
  479. package/dist/webcomponents/p-CawcnSoV.js +0 -1
  480. package/dist/webcomponents/p-CbyGKcz_.js +0 -1
  481. package/dist/webcomponents/p-Cy2N3vAg.js +0 -1
  482. package/dist/webcomponents/p-CyOXIqHo.js +0 -1
  483. package/dist/webcomponents/p-D6uhYbLo.js +0 -1
  484. package/dist/webcomponents/p-DN7VhlTn.js +0 -1
  485. package/dist/webcomponents/p-DNuxxP2B.js +0 -1
  486. package/dist/webcomponents/p-D_84NsmN.js +0 -1
  487. package/dist/webcomponents/p-DaDqgDrb.js +0 -1
  488. package/dist/webcomponents/p-Do9dxNjh.js +0 -1
  489. package/dist/webcomponents/p-Fpaf7CLD.js +0 -1
  490. package/dist/webcomponents/p-PdwJswAy.js +0 -1
  491. package/dist/webcomponents/p-acb0b66c.entry.js +0 -1
  492. package/dist/webcomponents/p-b23dfa13.entry.js +0 -1
  493. package/dist/webcomponents/p-b98ea26a.entry.js +0 -1
  494. package/dist/webcomponents/p-ca13117d.entry.js +0 -1
  495. package/dist/webcomponents/p-ca6c5365.entry.js +0 -1
  496. package/dist/webcomponents/p-d59676ea.entry.js +0 -1
  497. package/dist/webcomponents/p-ee7fe3a8.entry.js +0 -1
  498. package/dist/webcomponents/p-f0434a13.entry.js +0 -1
  499. package/dist/webcomponents/p-f9f0cb1f.entry.js +0 -1
  500. package/dist/webcomponents/p-fda6f27d.entry.js +0 -1
  501. package/dist/webcomponents/p-fdd087d4.entry.js +0 -1
@@ -98,7 +98,7 @@ const AdditionalStatement = class {
98
98
  }
99
99
  render() {
100
100
  var _a, _b;
101
- return (h("div", { key: 'd87892b31a560cf5089bb8b94403deda25c75132' }, h("div", { key: 'a083b417adafd62cd32827014eb8566c8d8e431e', class: "row gy-3" }, h("div", { key: '832973d1fd655582b7371dcb0906b5fed9d77727', class: "col-12" }, h("h2", { key: '339e84637eb3e2080bc08c06379b436ed66cdbf3', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: 'a8228b7e9d8fd51f491f279975ba380a0f6f6029', class: "col-12" }, h("form-control-textarea", { key: '966cd51de65c862e9371f2e013f9f666da5f049a', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: '3c21b60e1da1d208c16b4e4003242660f28f42e5', class: "col-12" }, h("form-control-file-v2", { key: 'f767738c5ebf8a63d403d48e971042aabdf91224', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
101
+ return (h("div", { key: '8dff14b5f29b28a18901b1eff60b3855d9094013' }, h("div", { key: '405d549adeb5150fd7ec834b699f83588892390e', class: "row gy-3" }, h("div", { key: 'a13e743d61fe9329e74b3a09712921cec6e253c2', class: "col-12" }, h("h2", { key: 'fbe30e865b8dbece987480e3ac804c3eabbf0746', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '921aa04960a0c30d9733bc0db71dee4fcd78af55', class: "col-12" }, h("form-control-textarea", { key: 'cc4a0136fa728cce0390e4d9dd456a7ad9095244', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: '0b35f4914c18432ca326a01c002710690c15d685', class: "col-12" }, h("form-control-file-v2", { key: '8c6a32df62ea4c217fad64fa1283033a85885076', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
102
102
  }
103
103
  };
104
104
 
@@ -132,7 +132,7 @@ const CancellationPolicy = class {
132
132
  }
133
133
  render() {
134
134
  var _a, _b, _c;
135
- return (h("div", { key: 'b2b9de71bee44157e6f62cab9a759ca3a6fc7c91' }, h("div", { key: 'b54a10355e8b0dd0da69e9c07abaf4376f759f4b', class: "row gy-3" }, h("div", { key: 'ed43e475ed87fa9658060f403187a063bec1813c', class: "col-12" }, h("h2", { key: '48e9d7955c066771d8c47b55abf4fc2498bcc11a', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '783da1c2a786ee85f412303583a778dd81331e8a', class: "col-12" }, h("form-control-textarea", { key: '04267a5b01060f577eb88810c83013e6cb2bc437', 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: '340db58f52fa708a40a1548b84411174f1b7ca85', class: "col-12" }, h("form-control-textarea", { key: 'a8dafe6142a2ce7409d7d7dd60637e819bb99b9e', 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: '7ff48beda50edb31c80d0bbe5fe7948ce214a493', class: "col-12" }, h("form-control-file-v2", { key: '2f3780f2036026f49db380d5201fc6a46d4b15c6', 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 })))));
135
+ return (h("div", { key: 'bd649d7bc48208dec588f5677f2c87897bc43b8b' }, h("div", { key: '63263cfe2db3bb2d6f53ddf3c01124a6f70e4994', class: "row gy-3" }, h("div", { key: '457bc4393385a88d9d815bd590425c65ebf63d7b', class: "col-12" }, h("h2", { key: '66eadc2605b0541fca47cb426c8cf5f373b003f8', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: 'dcdf62ecc017a197714207372104a355a42561f2', class: "col-12" }, h("form-control-textarea", { key: '06e2d122d0cb677e86fdf697d48d11db72c3a360', 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: 'e4b7de1e1820f7c59c7465784868ce4823244285', class: "col-12" }, h("form-control-textarea", { key: 'f57c5bd832f5bdf946341efe3ec0c594ebc27108', 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: '61e019cea906e3cb93952cf75fb01a6b9fc9cc66', class: "col-12" }, h("form-control-file-v2", { key: '62e0f7432ae9445aa9b19b467323f9ed7d9161f6', 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 })))));
136
136
  }
137
137
  };
138
138
 
@@ -167,7 +167,7 @@ const CustomerDetails = class {
167
167
  }
168
168
  render() {
169
169
  var _a, _b, _c, _d, _e;
170
- return (h("div", { key: '4217dd2605586a82ee34515e6c9b5a3ab6358b55' }, h("div", { key: '42eb8a48d1161d329bddf574c863c92376a4bbc9', class: "row gy-3" }, h("div", { key: '4d8d1267035ed1e81e6050d7e648ff80d369365d', class: "col-12" }, h("h2", { key: '923c89d2959dd09fdbb60cfbca0d0021697dc5b8', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '5b3daa86ad6ce05babf3efd0c3c4f3a3264b4c6c', class: "col-12" }, h("form-control-text", { key: 'bd6eae36d75ec77e8d652686f2f070bbead4e385', 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: '3f8f8ff8fcb8a8e41053e3f9b55152296cb91d3e', class: "col-12" }, h("form-control-text", { key: 'ddf390a5e37e99b8f99b7673b6b07f3851a759f4', 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: 'eed293a2acc46219bd33974f93affb3ca977fc57', class: "col-12" }, h("form-control-textarea", { key: '4f5e5b9cfc9aefe48c2c85bba3a3a308215c36b9', 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: '0ccfa871557435a96350e8ace59179611c01dc2c', class: "col-12" }, h("form-control-file-v2", { key: 'e9d35062a5011f4e72d60e85855efb0d7ceed8c1', 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: 'cb184b84ccc36bd51242dcb57c96ba2d85567e4a', class: "col-12" }, h("form-control-file-v2", { key: 'b7d1d427468cd0744001102e2c704e8ad65577b6', 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 })))));
170
+ return (h("div", { key: '66ed4497457aab5cd214c356b23067eb5ab977b9' }, h("div", { key: '00b2241580f26aed52fb8c0dca06ffb8e07c2303', class: "row gy-3" }, h("div", { key: '23fd971d66b3e753df7ec5e20b8155865307261f', class: "col-12" }, h("h2", { key: 'df3880ae4959e4fe6a5fa2e67287e4bb40b6fc75', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '1bd1010ba8c9bbdb4390e3d953a8cfc798a6745c', class: "col-12" }, h("form-control-text", { key: '170576aa6fbda10dcb3c3928cd8894df1f201223', 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: '39a99685a01018afa466fa214fd9f217b5682200', class: "col-12" }, h("form-control-text", { key: '8c99018cf0fe0c900512874be0261fb32578c803', 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: '6db37be2d5b9bef95c7e5e00a879847cbc89a9db', class: "col-12" }, h("form-control-textarea", { key: '48de189acf3dad170e1727b950cee28278eeabc9', 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: '9a85ca65d2a80c54617034af5350e7301dd475f5', class: "col-12" }, h("form-control-file-v2", { key: '0f6f2859e79998071e079bbb69fdb1b12e5b8c5d', 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: '8067bc3d834825f309fc3ed994b683233e2e9e90', class: "col-12" }, h("form-control-file-v2", { key: '97105708f4f6e668a6e62cb2f516969c79bedef7', 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 })))));
171
171
  }
172
172
  };
173
173
 
@@ -201,7 +201,7 @@ const DuplicateCharge = class {
201
201
  }
202
202
  render() {
203
203
  var _a, _b, _c;
204
- return (h("div", { key: '805b160927f30729b321ffbafc15fe78fed732c9' }, h("div", { key: 'fcc99471b08ea21905c1246849ec41e05194834f', class: "row gy-3" }, h("div", { key: 'f7259723ec39b5ae09aaa552a99f3a8a15b85fd8', class: "col-12" }, h("h2", { key: '5f0719c624bce5542364120568079fb6921c7d6f', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '718c50ebae8b6ca9c146d81f261dad5007945a33', class: "col-12" }, h("form-control-text", { key: '090a5f0e4ca359af300f655ad94296af1a28eef0', 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: '217b8e9b896412a1e74d138c20d6cc42760e7a54', class: "col-12" }, h("form-control-textarea", { key: 'd9ba9a25ccaa5848f17ec8f1dfde222c29624e06', 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: 'eb26362fb100e775339b4a64959521a1b7cad394', class: "col-12" }, h("form-control-file-v2", { key: '5753787dd59e736a7a2dea84268d93983cfdeae4', 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 })))));
204
+ return (h("div", { key: '40c441cca0667d42a17b2d030cd11499b5fd0971' }, h("div", { key: '9187708d76c4a631c8741e1ec60684fdb3b7c65f', class: "row gy-3" }, h("div", { key: '9a388c46052814718253a4333da1a3e010316e14', class: "col-12" }, h("h2", { key: '677c93c72112ac96e41e43080fba1d2750bc71de', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '475e5bd708aed12d866560dd12ddde92b8643f82', class: "col-12" }, h("form-control-text", { key: 'a47b1642e9ca1475d6165403d5589f874908b1c0', 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: '75890d7ba8e0e0f4117477f0c52f3af0a867f3b3', class: "col-12" }, h("form-control-textarea", { key: 'c86ae32a39e1ed3be449eb91efa8039ec78b18eb', 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: '81d2eb27f4350e57cc3e89170839816166339731', class: "col-12" }, h("form-control-file-v2", { key: 'a7456a1a8f3363d05361667d5d9a8e99c6581bf1', 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 })))));
205
205
  }
206
206
  };
207
207
 
@@ -234,7 +234,7 @@ const ElectronicEvidence = class {
234
234
  }
235
235
  render() {
236
236
  var _a, _b;
237
- return (h("div", { key: '1de8dc7fafbd3dba15344a817fd2c008929ab0bc' }, h("div", { key: 'dda3c4b88713e0e1b9fe25c2a4fe2d015889f2b3', class: "row gy-3" }, h("div", { key: '1638ff98ca047509306f9387e68ba83c9be5c885', class: "col-12" }, h("h2", { key: '9ee705b8558a88bd4eebe2448e2da655fbcf9bf3', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '71a392aa19784a1e25654791544fab6e9fd482a6', class: "col-12" }, h("form-control-text", { key: 'b2ef47161c0c73f010461f326f39f60efb140ae8', 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: '0341ecbd1404b29e223d508e937752ed67a5f9e2', class: "col-12" }, h("form-control-file-v2", { key: '00d8fd3c9bfded6f20ae8568aca1fd21564649df', 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 })))));
237
+ return (h("div", { key: '592472282564a406e318b5639e1f8e3f1aeb55bd' }, h("div", { key: '0e49a34f48905ede20c17d4e2a8e529a3aaad2b9', class: "row gy-3" }, h("div", { key: '9f15e709a8a31b6c2cf3ca43d543090a8dd8ca5d', class: "col-12" }, h("h2", { key: '3223ed0c95dd5d08b5d8a481dfdc57d65ee3ea2f', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: 'f82434ae90705238088c1e01625c1d674337f823', class: "col-12" }, h("form-control-text", { key: '81586970861191e628ba6d3d55d792081f868193', 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: '1ec47d1e437926e010e19f0352c6c237cb61aeaa', class: "col-12" }, h("form-control-file-v2", { key: '8ee1599fc2142dd269ccddd08ef60cb1a337122a', 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 })))));
238
238
  }
239
239
  };
240
240
 
@@ -268,7 +268,7 @@ const ProductOrService = class {
268
268
  }
269
269
  render() {
270
270
  var _a, _b, _c;
271
- return (h("div", { key: '3f2d1c2f4b0595e922712f8754ae1022b2d19261' }, h("div", { key: '0ab14085510225a4d00b352014ea72f4dc0a059a', class: "row gy-3" }, h("div", { key: '12271b714bf3e6b6756274674e3413018124fa4c', class: "col-12" }, h("h2", { key: '9b6175bf1eb88788b909be3f7a46337a75856306', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '912e647000393b9146329e7d4cca78ee15837621', class: "col-12" }, h("form-control-text", { key: '7b365315a58fdfa65fa7e1e6f009dc5c70c17d95', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '03d48b21fb83a4a4b07ed6f0f7b6f08a32c10ce5', class: "col-12" }, h("form-control-date", { key: 'fbd7c448acc69aa0012999f90d3b38f9374af933', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '74683fc2825cffa9403313b21d52a4ddb76db12e', class: "col-12" }, h("form-control-file-v2", { key: '7d3e5f2f96375d884a98e207c22d2b3115ed6e1b', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
271
+ return (h("div", { key: '466646e97a89d70914e592693918d5ea524504a8' }, h("div", { key: '78f02a847c7474733400f2d4e8a6712c9689402e', class: "row gy-3" }, h("div", { key: '0367c4de7453b26becfc2edfe7f5899e6b30f554', class: "col-12" }, h("h2", { key: '10490c7e30a1ec7c23cd47f80a905e21bb874b38', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: 'a18c64c22a5efe19c5b6603d0497a17a54ac6fa8', class: "col-12" }, h("form-control-text", { key: '7d35738871259b0b0bf83cbb6014062d09299a21', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '24a337727ad90599b1368c2c3fff6cea4c40d172', class: "col-12" }, h("form-control-date", { key: '5222da0eed927c2bc61baba87d8c004bfbf674e0', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '1f422eea9d59d4d01d333e25e2003ecb3954656d', class: "col-12" }, h("form-control-file-v2", { key: '8df9a14fc7311e1c47ca06c9a3a32ac09a291d4b', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
272
272
  }
273
273
  };
274
274
 
@@ -302,7 +302,7 @@ const RefundPolicy = class {
302
302
  }
303
303
  render() {
304
304
  var _a, _b, _c, _d;
305
- return (h("div", { key: '828ac1997382fa491920b9439099959ae5376c81' }, h("div", { key: '8d0453e4c2ec424a2010cfd01885cb4a03020d93', class: "row gy-3" }, h("div", { key: 'd15021ea6df4b3939d4564a84951ebadb50cc7cd', class: "col-12" }, h("h2", { key: '632eafab4924af0d433f28a3329877b98376ea27', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: 'cb55f0f106e68e9af4057a4496811db991f487d0', class: "col-12" }, h("form-control-textarea", { key: '1fdca1aea95757a0dac55b338355eeffd351c6cb', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: '6f6c35c4626a764e4119dc253aded2985ac6ffbc', class: "col-12" }, h("form-control-textarea", { key: '6c0fcba48cad9f8c3cc9ed6c35d6b0e1301f9c35', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: '1bf52c92c53313ab7542bfc1b2ed607e9d5db032', class: "col-12" }, h("form-control-file-v2", { key: '67b266e26d5568e3370b3f8aaad2c0d6450f67f6', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: '8994ee85c8a31fc709a0fa396d97e4da576e57c3', class: "col-12" }, h("form-control-file-v2", { key: 'c468b92349b6a92f02b6eef0dc06c71dfc924c4e', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
305
+ return (h("div", { key: 'ec311e40104fb629ea148d4bd4e3b75b7384c271' }, h("div", { key: 'b520aca75b00bf6f698c551cd51efcd8ae8cddca', class: "row gy-3" }, h("div", { key: '98c7a3ae28e9b9d8de6e9f860b26224ff83e5752', class: "col-12" }, h("h2", { key: '334c7e259e7e8ba1202252e6135e1ff960ea34d4', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: 'bb6783c720ca99ae968580610a3af79a86bf6dc3', class: "col-12" }, h("form-control-textarea", { key: '63fbdface8c0339b9989ddb2f9f0af427845118c', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: '0a138ff7a02788003437e0d7f07dbe59e4cb05a7', class: "col-12" }, h("form-control-textarea", { key: '9f2518ad7955096c93c74fd856514b68ef7d192a', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: '18922e3843fa6b445b3aaa384b341aae5b2b2443', class: "col-12" }, h("form-control-file-v2", { key: '0f34e5dd3901eb74bfd20d93eb9fe6087d808b5c', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: '42a5952ae76b7468bde8d2c3edd8bcb0bfde5cd6', class: "col-12" }, h("form-control-file-v2", { key: 'ad4297e944e1ac01f0f290595d70d12a9a05a93a', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
306
306
  }
307
307
  };
308
308
 
@@ -339,7 +339,7 @@ const ShippingDetails = class {
339
339
  }
340
340
  render() {
341
341
  var _a, _b, _c, _d, _e;
342
- return (h("div", { key: '0d7695711048ad14596ba44e364b45e3aa3d1e39' }, h("div", { key: 'e6911e35f66ef8aaa591f54e389d67c202af8172', class: "row gy-3" }, h("div", { key: 'd59ab2fe6318a27c4b38650e4e9d07b9c851041f', class: "col-12" }, h("h2", { key: 'b8a8634fe9dcf11c332dab0c1736732e579aeb59', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '5170b37a386805e194d8cf7c769ffdbac8db8fa2', class: "col-12" }, h("form-control-text", { key: '7bc3f59737fa075134e2bc476fa26d79ddc4e26b', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: 'ef41052d0eec68b02d04638ce7cfdbc1477c16eb', class: "col-12" }, h("form-control-text", { key: 'b88d31bed47cdf09e04a29122c1adf955bdc4d25', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '743dea4d8f59e62103403fa58936ca86d7bbf216', class: "col-12" }, h("form-control-date", { key: '4be255a38f91f9bf758428d780649d2775d22153', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '7b274a743a9ca8f3cb7b86facbe12b723b8695e4', class: "col-12" }, h("form-control-textarea", { key: '833a03ac489cfa6fe6991e14a079b104b7b86ddc', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: 'a1363e8014fe90442e1d0f6820bf2b9cf9966c90', class: "col-12" }, h("form-control-file-v2", { key: 'beb99c4b9e898265f8a904984172fb1a6a52cb49', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
342
+ return (h("div", { key: '6673b30e9af36cb2e560d0653776a42ab1777c22' }, h("div", { key: 'f687e69208f470a40699f870c4d09b04a0487faa', class: "row gy-3" }, h("div", { key: 'ffb1b65e29b6b912cefe862a2139e57f3d81087b', class: "col-12" }, h("h2", { key: '2cea703b6f228aa127bbdb6f8c97f3f79e05d351', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: 'fe2ae3034571b5ed2a8e5678ae5c32d84f750835', class: "col-12" }, h("form-control-text", { key: '3b5c43c4b8baa62a756cc2dd7edb54fc0c118ede', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '807d7e0860265cb629083bb026e812e4d2ac06ff', class: "col-12" }, h("form-control-text", { key: '5367ef8b37625d6e3ca42eb68eda5e142ff5d783', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '25e85572762af0d9964849d276dd18c5b8905d6e', class: "col-12" }, h("form-control-date", { key: '821d218825643775282742b0c63f8c803a6c47e5', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '376e527d339217b897f02f0de111ea9377539769', class: "col-12" }, h("form-control-textarea", { key: 'f0130e6c0a7ca54e20f6406fbe6276fa8cffbf61', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '74699370d18065f453e68449749d5481772c4c08', class: "col-12" }, h("form-control-file-v2", { key: '5d3f0d1a199b563c9ed433cb971f541a4cb54083', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
343
343
  }
344
344
  };
345
345
 
@@ -1,15 +1,15 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-CV0Pyo1O.js';
2
2
  import { c as create$3, F as FormController } from './index.esm-KCSohgHx.js';
3
- import { z as postalValidation, A as stateValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, v as identityNameValidation, B as checkoutBillingStateOptions } from './schema-validations-8dbMCACI.js';
3
+ import { z as postalValidation, A as stateValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, v as identityNameValidation, B as checkoutBillingStateOptions } from './schema-validations-8GJ34Do1.js';
4
4
  import { ak as billingForm } from './parts-Bu7gdOaV.js';
5
- import { c as checkoutStore, o as onChange } from './checkout.store-B2mtQcB5.js';
5
+ import { c as checkoutStore, o as onChange } from './checkout.store-B8CGkx0o.js';
6
6
  import { P as PAYMENT_METHODS } from './index-DEx8fQeW.js';
7
7
  import { H as Header3 } from './header-3-DNqRk_HO.js';
8
8
  import './event-types-CZfYo5-1.js';
9
+ import { n as normalizePostalCode } from './country-config-DJFj1v-Q.js';
9
10
  import './_commonjsHelpers-BFTU3MAI.js';
10
- import './country-config-CJwnhkdq.js';
11
- import './Business-DaDqgDrb.js';
12
- import './business-form-options-BxVQL9ar.js';
11
+ import './Business-CTtGaVYs.js';
12
+ import './business-form-options-DLRkVtee.js';
13
13
  import './index-3wWWWrhn.js';
14
14
 
15
15
  const fullBillingSchema = () => create$3({
@@ -137,7 +137,10 @@ const BillingFormFull = class {
137
137
  (_a = this.unsubscribeFromStore) === null || _a === void 0 ? void 0 : _a.call(this);
138
138
  }
139
139
  async getValues() {
140
- return this.formController.values.getValue();
140
+ const values = this.formController.values.getValue();
141
+ // checkoutStore values skip the input transform, so normalize on the way out.
142
+ return (values === null || values === void 0 ? void 0 : values.address_postal_code)
143
+ ? Object.assign(Object.assign({}, values), { address_postal_code: normalizePostalCode(values.address_postal_code) }) : values;
141
144
  }
142
145
  async validate() {
143
146
  const isValid = await this.formController.validate();
@@ -149,7 +152,7 @@ const BillingFormFull = class {
149
152
  return null;
150
153
  }
151
154
  const billingFormDefaultValue = this.formController.getInitialValues();
152
- return (h("div", { part: billingForm, class: "mt-4" }, h(Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", null, h("fieldset", null, this.legend && (h("legend", null, this.legend)), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-select", { name: 'address_state', label: 'State / Province', options: checkoutBillingStateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 })))))));
155
+ return (h("div", { part: billingForm, class: "mt-4" }, h(Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", null, h("fieldset", null, this.legend && (h("legend", null, this.legend)), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-select", { name: 'address_state', label: 'State / Province', options: checkoutBillingStateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, transformValue: normalizePostalCode, maxLength: 10 })))))));
153
156
  }
154
157
  };
155
158
 
@@ -182,7 +185,10 @@ const CardBillingFormSimple = class {
182
185
  (_a = this.unsubscribeFromStore) === null || _a === void 0 ? void 0 : _a.call(this);
183
186
  }
184
187
  async getValues() {
185
- return this.formController.values.getValue();
188
+ const values = this.formController.values.getValue();
189
+ // checkoutStore values skip the input transform, so normalize on the way out.
190
+ return (values === null || values === void 0 ? void 0 : values.address_postal_code)
191
+ ? Object.assign(Object.assign({}, values), { address_postal_code: normalizePostalCode(values.address_postal_code) }) : values;
186
192
  }
187
193
  async validate() {
188
194
  const isValid = await this.formController.validate();
@@ -191,7 +197,7 @@ const CardBillingFormSimple = class {
191
197
  }
192
198
  render() {
193
199
  const billingFormDefaultValue = this.formController.getInitialValues();
194
- return (h("div", { key: 'c2fa07fce39ab1b47c99539b312fdf84e782f4dc', part: billingForm }, h("form", { key: '3bd9fdcd20ca3c014472c5ea2438214ece25abc5' }, h("fieldset", { key: 'c06cc32d36e56acfcc0a0925d8c9d45040654a63' }, this.legend && (h("legend", { key: 'ec087f9940930a9efa8c6b5e92767032ba9b8b5e' }, this.legend)), h("div", { key: '003ecc05fde14a1f1a6727f73f78ddbb81678680', class: "row gy-3" }, h("div", { key: '2de4de749a16b5fd478284a0eda93122ff67f0af', class: "col-12" }, h("form-control-text", { key: '26c2b72da72e11a3d1561ace457259521bb5d74d', name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 })))))));
200
+ return (h("div", { key: 'afc6ba1fc118b81d3fd2963a86db38236c0871ac', part: billingForm }, h("form", { key: 'db49c3bdb2a243615704e42d9a2cedee6fbcc469' }, h("fieldset", { key: '9aa92c3a19f81f67e9be1a2a64b72975b96204d9' }, this.legend && (h("legend", { key: 'abdc6c1c28dc142ec7635871fa0b96f14de35c4e' }, this.legend)), h("div", { key: '19f69483b9fcd39d61cd8bdc20b8fa6ee80a5477', class: "row gy-3" }, h("div", { key: 'fff29f5a5920276125839cebeec10f8417b67805', class: "col-12" }, h("form-control-text", { key: 'd257c668d29a3c8f70ae125eff529a727cf7fcca', name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, transformValue: normalizePostalCode, maxLength: 10 })))))));
195
201
  }
196
202
  };
197
203
 
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, h } from './index-CV0Pyo1O.js';
2
2
  import './config-state-BKOsYBXZ.js';
3
3
  import './dinero-HXpYMWUU.js';
4
- import { E as EntityDocumentType } from './Plaid-BP3xNxQF.js';
4
+ import { E as EntityDocumentType } from './Plaid-CRcTLeaz.js';
5
5
  import './Pagination-CLHwhyvu.js';
6
- import './Business-DaDqgDrb.js';
6
+ import './Business-CTtGaVYs.js';
7
7
  import './index-3wWWWrhn.js';
8
8
  import './utils-D8J8OvxY.js';
9
9
 
@@ -2,17 +2,17 @@ import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js'
2
2
  import { S as Skeleton } from './skeleton-dbktEkFS.js';
3
3
  import { w as waitForConfig, c as configState } from './config-state-BKOsYBXZ.js';
4
4
  import { e as generateTabId } from './utils-D8J8OvxY.js';
5
- import { c as checkPkgVersion } from './check-pkg-version-CmFl6VLH.js';
6
- import { c as checkoutStore } from './checkout.store-B2mtQcB5.js';
7
- import { C as ComponentErrorSeverity, c as ComponentErrorMessages, b as ComponentErrorCodes } from './Plaid-BP3xNxQF.js';
5
+ import { d as detectDuplicateVersion } from './detect-duplicate-version-C4r1WAzO.js';
6
+ import { c as checkoutStore } from './checkout.store-B8CGkx0o.js';
7
+ import { C as ComponentErrorSeverity, c as ComponentErrorMessages, b as ComponentErrorCodes } from './Plaid-CRcTLeaz.js';
8
8
  import './Pagination-CLHwhyvu.js';
9
- import './Business-DaDqgDrb.js';
9
+ import './Business-CTtGaVYs.js';
10
10
  import { B as Button } from './button-CBzHAOFW.js';
11
11
  import './event-types-CZfYo5-1.js';
12
12
  import './parts-Bu7gdOaV.js';
13
13
  import './index-3wWWWrhn.js';
14
14
  import './dinero-HXpYMWUU.js';
15
- import './package-CAVi_ne1.js';
15
+ import './package-BQpbTebi.js';
16
16
  import './index-DEx8fQeW.js';
17
17
 
18
18
  const BankAccountFormSkeleton = () => {
@@ -24,9 +24,13 @@ const BankAccountForm = class {
24
24
  registerInstance(this, hostRef);
25
25
  this.errorEvent = createEvent(this, "error-event", 7);
26
26
  this.iframeState = 'loading';
27
+ this.showAccountNumberConfirmation = false;
27
28
  this.hasLoggedAchDisabledWarning = false;
29
+ this.loadedInputIds = new Set();
30
+ this.watchedInputIds = '';
28
31
  this.reloadIframes = () => {
29
32
  this.iframeState = 'loading';
33
+ this.loadedInputIds.clear();
30
34
  this.iframeElements.forEach((element) => element.reload());
31
35
  this.watchIframesLoad();
32
36
  };
@@ -35,12 +39,19 @@ const BankAccountForm = class {
35
39
  await waitForConfig();
36
40
  this.iframeOrigin = configState.iframeOrigin;
37
41
  this.tabId = generateTabId();
38
- checkPkgVersion();
42
+ detectDuplicateVersion();
39
43
  }
40
44
  componentDidRender() {
41
- if (this.loadAbortController || !this.iframeElements.every(Boolean)) {
45
+ if (this.iframeElements.length < this.expectedIframeCount) {
42
46
  return;
43
47
  }
48
+ // Re-watch when the rendered field set changes -- showAccountNumberConfirmation
49
+ // can flip on after the first watch already finished.
50
+ const inputIds = this.iframeElements.map((element) => element.inputId).join(',');
51
+ if (inputIds === this.watchedInputIds) {
52
+ return;
53
+ }
54
+ this.watchedInputIds = inputIds;
44
55
  this.watchIframesLoad();
45
56
  }
46
57
  disconnectedCallback() {
@@ -52,13 +63,24 @@ const BankAccountForm = class {
52
63
  }
53
64
  async validate() {
54
65
  if (this.isAchDisabledForCheckout()) {
55
- return false;
66
+ return { isValid: false };
67
+ }
68
+ const elements = this.iframeElements;
69
+ // A field that has not rendered yet cannot be validated -- fail closed
70
+ // rather than report a pass for a form that is not all there.
71
+ if (elements.length < this.expectedIframeCount) {
72
+ return { isValid: false };
56
73
  }
57
- const accountNumberIsValid = await this.accountNumberIframeElement.validate();
58
- const routingNumberIsValid = await this.routingNumberIframeElement.validate();
59
- return accountNumberIsValid && routingNumberIsValid;
74
+ // Sequential on purpose: the parent correlates iframe replies by eventType
75
+ // alone, with no request id, so concurrent validates would cross replies.
76
+ const results = [];
77
+ for (const element of elements) {
78
+ results.push(await element.validate());
79
+ }
80
+ return { isValid: results.every((result) => (result === null || result === void 0 ? void 0 : result.isValid) === true) };
60
81
  }
61
82
  async tokenize({ clientId, paymentMethodMetadata, account }) {
83
+ var _a, _b;
62
84
  if (this.isAchDisabledForCheckout()) {
63
85
  return {
64
86
  error: {
@@ -66,25 +88,54 @@ const BankAccountForm = class {
66
88
  },
67
89
  };
68
90
  }
91
+ // tokenize() is a public @Method: an integrator with their own submit button
92
+ // can reach it without validate(), so the mismatch check has to live here too.
93
+ if (this.showAccountNumberConfirmation) {
94
+ const confirmation = await ((_a = this.accountNumberConfirmationIframeElement) === null || _a === void 0 ? void 0 : _a.validate());
95
+ if ((confirmation === null || confirmation === void 0 ? void 0 : confirmation.isValid) !== true) {
96
+ return {
97
+ error: {
98
+ code: 'validation_error',
99
+ message: ((_b = confirmation === null || confirmation === void 0 ? void 0 : confirmation.error) === null || _b === void 0 ? void 0 : _b.message) ||
100
+ 'The entered value does not match the account number',
101
+ },
102
+ };
103
+ }
104
+ }
69
105
  const result = await this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
70
106
  return result;
71
107
  }
72
108
  get isReady() {
73
109
  return this.iframeState === 'ready';
74
110
  }
111
+ get expectedIframeCount() {
112
+ return this.showAccountNumberConfirmation ? 3 : 2;
113
+ }
75
114
  get iframeElements() {
76
115
  return [
77
116
  this.accountNumberIframeElement,
117
+ ...(this.showAccountNumberConfirmation
118
+ ? [this.accountNumberConfirmationIframeElement]
119
+ : []),
78
120
  this.routingNumberIframeElement,
79
- ];
121
+ ].filter(Boolean);
80
122
  }
81
123
  watchIframesLoad() {
82
124
  var _a;
83
125
  (_a = this.loadAbortController) === null || _a === void 0 ? void 0 : _a.abort();
84
126
  const { signal } = (this.loadAbortController = new AbortController());
85
- const pending = new Set(this.iframeElements.map((element) => element.inputId));
127
+ const pending = new Set(this.iframeElements
128
+ .filter((element) => !this.loadedInputIds.has(element.inputId))
129
+ .map((element) => element.inputId));
86
130
  const loaded = Promise.all(this.iframeElements.map((element) => (new Promise((resolve) => {
131
+ // iframeLoaded is a once: true listener, so an element that already
132
+ // loaded will never fire again on a re-watch.
133
+ if (this.loadedInputIds.has(element.inputId)) {
134
+ resolve();
135
+ return;
136
+ }
87
137
  element.addEventListener('iframeLoaded', () => {
138
+ this.loadedInputIds.add(element.inputId);
88
139
  pending.delete(element.inputId);
89
140
  resolve();
90
141
  }, { once: true, signal });
@@ -108,6 +159,9 @@ const BankAccountForm = class {
108
159
  return;
109
160
  this.iframeState = 'error';
110
161
  (_a = this.loadAbortController) === null || _a === void 0 ? void 0 : _a.abort();
162
+ if (pending.has('accountNumberConfirmation')) {
163
+ console.error('[bank-account-form] "Confirm Account Number" field failed to load.');
164
+ }
111
165
  this.errorEvent.emit({
112
166
  errorCode: ComponentErrorCodes.IFRAME_LOAD_ERROR,
113
167
  message: ComponentErrorMessages.IFRAME_LOAD_ERROR,
@@ -132,7 +186,7 @@ const BankAccountForm = class {
132
186
  return (h("div", null, this.iframeState === 'loading' && h(BankAccountFormSkeleton, null), this.iframeState === 'error' && this.renderIframeError(), h("hidden-input", null), h("div", { class: "container-fluid p-0", style: {
133
187
  opacity: this.isReady ? '1' : '0',
134
188
  height: this.isReady ? 'auto' : '0',
135
- } }, h("div", { class: "row mb-3" }, h("iframe-input", { inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), h("div", { class: "row" }, h("iframe-input", { inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
189
+ } }, h("div", { class: "row mb-3" }, h("iframe-input", { inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), this.showAccountNumberConfirmation && (h("div", { class: "row mb-3" }, h("iframe-input", { inputId: "accountNumberConfirmation", ref: (el) => (this.accountNumberConfirmationIframeElement = el), label: "Confirm Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumberConfirmation?tabId=${this.tabId}` }))), h("div", { class: "row" }, h("iframe-input", { inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
136
190
  }
137
191
  };
138
192
 
@@ -1,4 +1,4 @@
1
- import { a as BusinessClassification } from './Business-DaDqgDrb.js';
1
+ import { a as BusinessClassification } from './Business-CTtGaVYs.js';
2
2
 
3
3
  const businessClassificationOptions = [
4
4
  {
@@ -1,7 +1,7 @@
1
1
  import { c as create$3, a as create$6 } from './index.esm-KCSohgHx.js';
2
- import { m as makeTaxIdValidation, d as dateOfIncorporationValidation, i as industryValidation, b as businessClassificationValidation, a as doingBusinessAsValidation, p as phoneValidation, e as emailValidation, w as websiteUrlValidation, c as businessNameValidation, t as taxIdValidation, o as otherPaymentDetailsValidation, f as whenServiceReceivedValidation, r as revenueValidation, g as paymentVolumeValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, k as makePostalValidation, n as ownershipPercentageValidation, s as ssnValidation, q as dobValidation, u as identityTitleValidation, v as identityNameValidation, x as makeOwnershipPercentageValidation, y as makeIdentityNumberValidation } from './schema-validations-8dbMCACI.js';
3
- import { C as CountryCode } from './Business-DaDqgDrb.js';
4
- import { c as countryLabels } from './country-config-CJwnhkdq.js';
2
+ import { m as makeTaxIdValidation, d as dateOfIncorporationValidation, i as industryValidation, b as businessClassificationValidation, a as doingBusinessAsValidation, p as phoneValidation, e as emailValidation, w as websiteUrlValidation, c as businessNameValidation, t as taxIdValidation, o as otherPaymentDetailsValidation, f as whenServiceReceivedValidation, r as revenueValidation, g as paymentVolumeValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, k as makePostalValidation, n as ownershipPercentageValidation, s as ssnValidation, q as dobValidation, u as identityTitleValidation, v as identityNameValidation, x as makeOwnershipPercentageValidation, y as makeIdentityNumberValidation } from './schema-validations-8GJ34Do1.js';
3
+ import { C as CountryCode } from './Business-CTtGaVYs.js';
4
+ import { c as countryLabels } from './country-config-DJFj1v-Q.js';
5
5
 
6
6
  // Base schema (no country-specific rules for classification/tax id)
7
7
  const baseBusinessCoreInfoSchema = (allowOptionalFields) => {
@@ -1,7 +1,7 @@
1
- import { A as Api } from './Api-83B3f28Q.js';
2
- import './Plaid-BP3xNxQF.js';
1
+ import { A as Api } from './Api-INJHjnya.js';
2
+ import './Plaid-CRcTLeaz.js';
3
3
  import './Pagination-CLHwhyvu.js';
4
- import './Business-DaDqgDrb.js';
4
+ import './Business-CTtGaVYs.js';
5
5
 
6
6
  const api = Api();
7
7
  class BusinessService {
@@ -2,16 +2,16 @@ import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js'
2
2
  import { S as Skeleton } from './skeleton-dbktEkFS.js';
3
3
  import { w as waitForConfig, c as configState } from './config-state-BKOsYBXZ.js';
4
4
  import { e as generateTabId } from './utils-D8J8OvxY.js';
5
- import { c as checkPkgVersion } from './check-pkg-version-CmFl6VLH.js';
6
- import { C as ComponentErrorSeverity, c as ComponentErrorMessages, b as ComponentErrorCodes } from './Plaid-BP3xNxQF.js';
5
+ import { d as detectDuplicateVersion } from './detect-duplicate-version-C4r1WAzO.js';
6
+ import { C as ComponentErrorSeverity, c as ComponentErrorMessages, b as ComponentErrorCodes } from './Plaid-CRcTLeaz.js';
7
7
  import './Pagination-CLHwhyvu.js';
8
- import './Business-DaDqgDrb.js';
8
+ import './Business-CTtGaVYs.js';
9
9
  import { B as Button } from './button-CBzHAOFW.js';
10
10
  import './event-types-CZfYo5-1.js';
11
11
  import './parts-Bu7gdOaV.js';
12
12
  import './index-3wWWWrhn.js';
13
13
  import './dinero-HXpYMWUU.js';
14
- import './package-CAVi_ne1.js';
14
+ import './package-BQpbTebi.js';
15
15
 
16
16
  const CardFormSkeleton = () => {
17
17
  return (h("div", { class: "container-fluid p-0" }, h("div", { class: "mb-3" }, h(Skeleton, { height: "18px", width: "100px" }), h(Skeleton, { height: "36px" })), h("div", { class: "row" }, h("div", { class: "col-4 align-content-end" }, h(Skeleton, { height: "18px", width: "80px" }), h(Skeleton, { height: "36px" })), h("div", { class: "col-4 align-content-end" }, h(Skeleton, { height: "36px" })), h("div", { class: "col-4 align-content-end" }, h(Skeleton, { height: "18px", width: "30px" }), h(Skeleton, { height: "36px" })))));
@@ -22,6 +22,8 @@ const CardForm = class {
22
22
  registerInstance(this, hostRef);
23
23
  this.errorEvent = createEvent(this, "error-event", 7);
24
24
  this.iframeState = 'loading';
25
+ /** Mask the card number to its last four digits when the field blurs. */
26
+ this.maskCardNumber = false;
25
27
  this.reloadIframes = () => {
26
28
  this.iframeState = 'loading';
27
29
  this.iframeElements.forEach((element) => element.reload());
@@ -32,7 +34,7 @@ const CardForm = class {
32
34
  await waitForConfig();
33
35
  this.iframeOrigin = configState.iframeOrigin;
34
36
  this.tabId = generateTabId();
35
- checkPkgVersion();
37
+ detectDuplicateVersion();
36
38
  }
37
39
  componentDidLoad() {
38
40
  this.watchIframesLoad();
@@ -42,11 +44,13 @@ const CardForm = class {
42
44
  (_a = this.loadAbortController) === null || _a === void 0 ? void 0 : _a.abort();
43
45
  }
44
46
  async validate() {
45
- const cardNumberIsValid = await this.cardNumberIframeElement.validate();
46
- const expirationMonthIsValid = await this.expirationMonthIframeElement.validate();
47
- const expirationYearIsValid = await this.expirationYearIframeElement.validate();
48
- const cvvIsValid = await this.cvvIframeElement.validate();
49
- return cardNumberIsValid && expirationMonthIsValid && expirationYearIsValid && cvvIsValid;
47
+ // Sequential on purpose: the parent correlates iframe replies by eventType
48
+ // alone, with no request id, so concurrent validates would cross replies.
49
+ const results = [];
50
+ for (const element of this.iframeElements) {
51
+ results.push(await element.validate());
52
+ }
53
+ return { isValid: results.every((result) => (result === null || result === void 0 ? void 0 : result.isValid) === true) };
50
54
  }
51
55
  async tokenize({ clientId, paymentMethodMetadata, account, }) {
52
56
  const result = await this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
@@ -107,10 +111,10 @@ const CardForm = class {
107
111
  return (h("div", null, h("form-alert", { text: ComponentErrorMessages.IFRAME_LOAD_ERROR, hideAlert: false }), h(Button, { variant: "link", clickHandler: this.reloadIframes, "aria-label": "Reload payment form", type: "button" }, "Try again")));
108
112
  }
109
113
  render() {
110
- return (h("div", { key: 'a6630edeb25e19b72a6ad2588a28003ee53bda91' }, this.iframeState === 'loading' && h(CardFormSkeleton, { key: '346df12a8dcfa70ff35381491c10550a44dee1c1' }), this.iframeState === 'error' && this.renderIframeError(), h("hidden-input", { key: 'e63dfbd08d05c929d7f25257a0832d68246aa037' }), h("div", { key: '3cffef99661c7fc1289581c3c43cf7f2c2ec4558', class: "container-fluid p-0", style: {
114
+ return (h("div", { key: '6f1adaa489228ab15ee8803f5e8d94b4f38df172' }, this.iframeState === 'loading' && h(CardFormSkeleton, { key: '01f38bf843e382d8fb34e59011a603e3a0955847' }), this.iframeState === 'error' && this.renderIframeError(), h("hidden-input", { key: 'd4fe8201e7df2ffd00cf76314da60dfa375d0c92' }), h("div", { key: 'be021b08ea0cb9bbd4e4dbb9258fb1e4cf0715b7', class: "container-fluid p-0", style: {
111
115
  opacity: this.isReady ? '1' : '0',
112
116
  height: this.isReady ? 'auto' : '0',
113
- } }, h("div", { key: '493e63b1e26542e502fb028192a2ed1479d85c8d', class: "mb-3" }, h("iframe-input", { key: '337b63edc91e78baa975bbfa067e17bd29a5b704', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: '04628f41b2c78cbb68bcabfe7809c047dc394c50', class: "row" }, h("div", { key: '9ea7675dcab4ad6f6bce214b79527569ffc272b9', class: "col-4 align-content-end" }, h("iframe-input", { key: 'ab7f0c3e68848a048104a6644b2617e9b8b94e35', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: 'a24a31ef92175734aa8d5a6be241ddb37f94e4d2', class: "col-4 align-content-end" }, h("iframe-input", { key: '623fffa1cdc854b629314fc125b476d2541f2290', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: 'ab7737e03a1d6ccad1e70e575cea100040de70fd', class: "col-4 align-content-end" }, h("iframe-input", { key: 'b755098bc225d91125a70bcb2cae933e4cd08f2d', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
117
+ } }, h("div", { key: '5771c79e70cc49c15d170d0f3f820e4d04ab203a', class: "mb-3" }, h("iframe-input", { key: 'f24efbd4677be8bd07c9cf3cd0bf77df7b98993e', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", maskCardNumber: this.maskCardNumber, iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: '1d5923d02dbd23551cab1f8bb5d4ef3b5534f152', class: "row" }, h("div", { key: '1db376daa12621f2f17113a96ab693bfaae2fc38', class: "col-4 align-content-end" }, h("iframe-input", { key: '5cb8c4796ea7f609fecd0919709f70c52ae9c55c', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: '0cc0c04b35174c56097f687d2f843f874ed7fee0', class: "col-4 align-content-end" }, h("iframe-input", { key: '79cb809ad28c53c276903ddc5ece50b07fabfd56', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: 'e04d26f47245b1f4977e57e456b12f630b8c63cd', class: "col-4 align-content-end" }, h("iframe-input", { key: '6e5e2dabbf28725e7e2499455bff1b34f6aefcf9', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
114
118
  }
115
119
  };
116
120
 
@@ -1,5 +1,5 @@
1
- import { C as ComponentErrorSeverity } from './Plaid-BP3xNxQF.js';
2
- import { g as getErrorCode, a as getErrorMessage } from './utils-YUOJKtjO.js';
1
+ import { C as ComponentErrorSeverity } from './Plaid-CRcTLeaz.js';
2
+ import { g as getErrorCode, a as getErrorMessage } from './utils-DaPywmTI.js';
3
3
 
4
4
  const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
5
5
  var _a;
@@ -1,7 +1,7 @@
1
- import { A as Api } from './Api-83B3f28Q.js';
2
- import './Plaid-BP3xNxQF.js';
1
+ import { A as Api } from './Api-INJHjnya.js';
2
+ import './Plaid-CRcTLeaz.js';
3
3
  import './Pagination-CLHwhyvu.js';
4
- import './Business-DaDqgDrb.js';
4
+ import './Business-CTtGaVYs.js';
5
5
 
6
6
  const api = Api();
7
7
  class CheckoutService {
@@ -27,6 +27,7 @@ const initialState = {
27
27
  disableBankAccount: false,
28
28
  disableCreditCard: false,
29
29
  disablePaymentMethodGroup: false,
30
+ maskCardNumber: false,
30
31
  paymentAmount: 0,
31
32
  paymentCurrency: 'USD',
32
33
  paymentDescription: '',
@@ -1,4 +1,4 @@
1
- import { S as StateOptions } from './Business-DaDqgDrb.js';
1
+ import { S as StateOptions } from './Business-CTtGaVYs.js';
2
2
 
3
3
  const ProvinceOptions = [
4
4
  {
@@ -20,6 +20,26 @@ const ProvinceOptions = [
20
20
  { label: 'Yukon', value: 'YT' },
21
21
  ];
22
22
 
23
+ // Canada Post addressing guidelines: a postal code is six characters in the form
24
+ // "ANA NAN", with a single space between the Forward Sortation Area and the Local
25
+ // Delivery Unit. The first character of the FSA identifies one of 18 geographic
26
+ // areas, so D, F, I, O, Q, U, W and Z never appear there.
27
+ // https://www.canadapost-postescanada.ca/cpc/en/support/articles/addressing-guidelines/postal-codes.page
28
+ const US_ZIP_REGEX = /^\d{5}(-\d{4})?$/;
29
+ const CA_OR_US_POSTAL_REGEX = /^([ABCEGHJKLMNPRSTVXY]\d[A-Z] \d[A-Z]\d|\d{5}(-\d{4})?)$/i;
30
+ // Opening alpha-numeric-alpha is what distinguishes a Canadian code from a US ZIP.
31
+ const CA_SHAPE = /^[A-Z]\d[A-Z]/;
32
+ const normalizePostalCode = (value) => {
33
+ if (!value)
34
+ return value;
35
+ const upper = value.toUpperCase();
36
+ // A US ZIP (or a typo) keeps its characters — only the case is normalized.
37
+ if (!CA_SHAPE.test(upper))
38
+ return upper;
39
+ const compact = upper.replace(/[\s-]/g, '');
40
+ return compact.length > 3 ? `${compact.slice(0, 3)} ${compact.slice(3)}` : compact;
41
+ };
42
+
23
43
  const countryLabels = {
24
44
  USA: {
25
45
  stateLabel: 'State',
@@ -57,15 +77,15 @@ const countryOptions = {
57
77
  };
58
78
  const countryValidation = {
59
79
  USA: {
60
- postalRegex: /^[0-9]{5}(-[0-9]{4})?$/,
80
+ postalRegex: US_ZIP_REGEX,
61
81
  identityDigits: 9,
62
82
  taxIdDigits: 9,
63
83
  },
64
84
  CAN: {
65
- postalRegex: /^([A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d|[0-9]{5}(-[0-9]{4})?)$/,
85
+ postalRegex: CA_OR_US_POSTAL_REGEX,
66
86
  identityDigits: 9,
67
87
  taxIdDigits: 9,
68
88
  },
69
89
  };
70
90
 
71
- export { ProvinceOptions as P, countryValidation as a, countryOptions as b, countryLabels as c };
91
+ export { CA_OR_US_POSTAL_REGEX as C, ProvinceOptions as P, countryValidation as a, countryOptions as b, countryLabels as c, normalizePostalCode as n };
@@ -1901,7 +1901,7 @@ const CustomPopper = class {
1901
1901
  this.hideEvent.emit();
1902
1902
  }
1903
1903
  render() {
1904
- return (h("div", { key: '673bffd40c2c3ca346f45a3eb6cf0eacb1bc0420' }, h("style", { key: '1a22ba743c813e67a72db15bbb8847c5e5f5407f' }, `
1904
+ return (h("div", { key: '1af0c9c11ffd5c3d0b7a1505e1730e68a8a52c88' }, h("style", { key: '6d16cbe171506d3ed398bbf051da1e1023648f7f' }, `
1905
1905
  .popper-content {
1906
1906
  display: none;
1907
1907
  }
@@ -1909,7 +1909,7 @@ const CustomPopper = class {
1909
1909
  display: block;
1910
1910
  z-index: 1030;
1911
1911
  }
1912
- `), h("div", { key: '0626834e4395eb59afda87b93653f47e9641b79a', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '26895f103accf6acce333928c2100c55dcdd1f5d' }))));
1912
+ `), h("div", { key: 'fb4e6914fe3ef58e986baa320887b2b5c77b1e6b', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: 'a4e4db117f4cae28e84e7b9cd7f810a8d27e50ad' }))));
1913
1913
  }
1914
1914
  static get watchers() { return {
1915
1915
  "anchorRef": ["onAnchorRefChange"]