@justifi/webcomponents 6.10.3 → 6.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (498) hide show
  1. package/dist/cjs/{Plaid-B_UkFjIV.js → Plaid-DR9WDZ98.js} +1 -1
  2. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  3. package/dist/cjs/{badge-Cl6qJPK_.js → badge-GBNtUypt.js} +1 -1
  4. package/dist/cjs/bank-account-document-form-inputs_9.cjs.entry.js +11 -17
  5. package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
  6. package/dist/cjs/business-details-core.cjs.entry.js +3 -3
  7. package/dist/cjs/{business.service-Kplx8w_D.js → business.service-mliLE8kX.js} +1 -1
  8. package/dist/cjs/button-CR9Rl1-o.js +43 -0
  9. package/dist/cjs/card-form.cjs.entry.js +2 -2
  10. package/dist/cjs/{check-pkg-version-DpY7PKYF.js → check-pkg-version-Di4JmtKX.js} +2 -2
  11. package/dist/cjs/{checkout.service-B2toaeKY.js → checkout.service-Cok0vRot.js} +1 -1
  12. package/dist/cjs/checkouts-list-core.cjs.entry.js +6 -6
  13. package/dist/cjs/{checkouts-table-CXgizBib.js → checkouts-table-CCxrsy0x.js} +2 -2
  14. package/dist/cjs/custom-popper_2.cjs.entry.js +3 -3
  15. package/dist/cjs/{dispute.service-C4n1SOsu.js → dispute.service-DEH_I2G9.js} +1 -1
  16. package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
  17. package/dist/cjs/form-control-checkbox.cjs.entry.js +3 -3
  18. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  19. package/dist/cjs/{form-control-error-text-6-HeM6bw.js → form-control-error-text-BO58Y6zF.js} +1 -1
  20. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  21. package/dist/cjs/{form-control-help-text-D0LaZkGk.js → form-control-help-text-BdbTxD5g.js} +1 -1
  22. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
  23. package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
  24. package/dist/cjs/form-control-number-masked_3.cjs.entry.js +4 -4
  25. package/dist/cjs/form-control-number_3.cjs.entry.js +6 -6
  26. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  27. package/dist/cjs/form-control-select_2.cjs.entry.js +6 -6
  28. package/dist/cjs/{get-payment-details-Atcodhcd.js → get-payment-details-DNpOyUyR.js} +1 -1
  29. package/dist/cjs/{get-subaccounts-BUyf9EhG.js → get-subaccounts-BQW_RPW5.js} +1 -1
  30. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
  31. package/dist/cjs/{header-1-BOijdmPN.js → header-1-CsBQoo1f.js} +1 -1
  32. package/dist/cjs/{header-3-FeTJjrR1.js → header-3-DCYJhPro.js} +1 -1
  33. package/dist/cjs/hidden-input_2.cjs.entry.js +7 -7
  34. package/dist/cjs/{insurance-state-DIV_moDI.js → insurance-state-Xe2auE-N.js} +1 -1
  35. package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +12 -12
  36. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +75 -67
  37. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
  38. package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +19 -17
  39. package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +2 -2
  40. package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
  41. package/dist/cjs/justifi-business-form.cjs.entry.js +8 -8
  42. package/dist/cjs/justifi-checkout.cjs.entry.js +4 -4
  43. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -5
  44. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +9 -9
  45. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  46. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  47. package/dist/cjs/justifi-dispute-management.cjs.entry.js +5 -5
  48. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +11 -11
  49. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
  50. package/dist/cjs/justifi-order-terminals.cjs.entry.js +8 -8
  51. package/dist/cjs/justifi-payment-details.cjs.entry.js +7 -7
  52. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
  53. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +4 -4
  54. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +8 -8
  55. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -4
  56. package/dist/cjs/justifi-payments-list.cjs.entry.js +9 -9
  57. package/dist/cjs/justifi-payout-details.cjs.entry.js +6 -6
  58. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +8 -8
  59. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +5 -5
  60. package/dist/cjs/justifi-payouts-list.cjs.entry.js +10 -10
  61. package/dist/cjs/justifi-refund-payment.cjs.entry.js +8 -8
  62. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
  63. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +6 -6
  64. package/dist/cjs/justifi-skeleton.cjs.entry.js +3 -3
  65. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +10 -6
  66. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +7 -7
  67. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +5 -3
  68. package/dist/cjs/justifi-terminals-list.cjs.entry.js +9 -9
  69. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +1 -1
  70. package/dist/cjs/loader.cjs.js +1 -1
  71. package/dist/cjs/{package-C7-boC1U.js → package-D8NG-zuY.js} +1 -1
  72. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  73. package/dist/cjs/{parts-C0AyF3nd.js → parts-BXshb_S-.js} +19 -70
  74. package/dist/cjs/payment-details-core.cjs.entry.js +14 -14
  75. package/dist/cjs/payment-method-option.cjs.entry.js +2 -2
  76. package/dist/cjs/{payment-provisioning-loading-CbcFPETB.js → payment-provisioning-loading-tM9WWmxv.js} +1 -1
  77. package/dist/cjs/{payment.service-CxSGTv_O.js → payment.service-Dl9UExDw.js} +1 -1
  78. package/dist/cjs/payments-list-core.cjs.entry.js +8 -8
  79. package/dist/cjs/{payments-status-EZ95BQex.js → payments-status-Bj_bCKUP.js} +1 -1
  80. package/dist/cjs/{payments-table-D5Hw3JDe.js → payments-table-CUxpxNnc.js} +2 -2
  81. package/dist/cjs/payout-details-core.cjs.entry.js +9 -9
  82. package/dist/cjs/{payout.service-CO2wDM6M.js → payout.service-kaFewwx4.js} +1 -1
  83. package/dist/cjs/payouts-list-core.cjs.entry.js +8 -8
  84. package/dist/cjs/{payouts-status-D1IbE3-c.js → payouts-status-DXZ5fl4v.js} +1 -1
  85. package/dist/cjs/{payouts-table-DmVthJLU.js → payouts-table-Dex2W8r1.js} +2 -2
  86. package/dist/cjs/plaid.service-CK1ouCBC.js +43 -0
  87. package/dist/cjs/{skeleton-C9Aio7v_.js → skeleton-DvRCiQlA.js} +1 -1
  88. package/dist/cjs/{spinner-oLSXKwxU.js → spinner-C6ZGOB2P.js} +1 -1
  89. package/dist/cjs/{table-CEW0_wq-.js → table-DjbNv28p.js} +2 -2
  90. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  91. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +7 -7
  92. package/dist/cjs/{terminal-orders-table-DPHz95-0.js → terminal-orders-table-07fV7wGh.js} +3 -3
  93. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  94. package/dist/cjs/{terminal.service-CUVwCH-a.js → terminal.service-UUoIe0IR.js} +1 -1
  95. package/dist/cjs/terminals-list-core.cjs.entry.js +7 -7
  96. package/dist/cjs/{terminals-table-C6rm50Mk.js → terminals-table-DmnAuog5.js} +2 -2
  97. package/dist/cjs/{utils-Vwo0VR7n.js → utils-8RGQVADu.js} +1 -1
  98. package/dist/cjs/webcomponents.cjs.js +1 -1
  99. package/dist/collection/api/Terminal.js +1 -1
  100. package/dist/collection/api/services/apple-pay.service.js +1 -1
  101. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +71 -64
  102. package/dist/collection/components/business-forms/payment-provisioning/plaid-verification/plaid-verification.js +1 -8
  103. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +24 -4
  104. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  105. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  106. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  107. package/dist/collection/components/dispute-management/dispute-notification.js +2 -2
  108. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  109. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  110. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  111. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  112. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  113. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  114. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  115. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  116. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  117. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  118. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  119. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  120. package/dist/collection/components/modular-checkout/modular-checkout.js +1 -1
  121. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  122. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  123. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  124. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  125. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  126. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  127. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  128. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  129. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  130. package/dist/collection/components/payments-list/payments-list-filters.js +4 -4
  131. package/dist/collection/components/payments-list/payments-list.js +1 -1
  132. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  133. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  134. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  135. package/dist/collection/components/payouts-list/payouts-list-filters.js +4 -4
  136. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  137. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  138. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +27 -5
  139. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  140. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  141. package/dist/collection/components/terminals-list/terminals-list-filters.js +42 -2
  142. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  143. package/dist/collection/components/tokenize-payment-method/internal-tokenize-payment-method.js +1 -1
  144. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
  145. package/dist/collection/styles/parts.js +8 -40
  146. package/dist/collection/ui-components/button.js +27 -3
  147. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  148. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  149. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  150. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  151. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  152. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  153. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  154. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  155. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  156. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  157. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  158. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  159. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  160. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  161. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  162. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  163. package/dist/docs.json +117 -16
  164. package/dist/esm/{Plaid-Cmyilr-q.js → Plaid-DOdR_CNb.js} +1 -1
  165. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  166. package/dist/esm/{badge-AZ7Z3PKH.js → badge-guwZ0VTf.js} +1 -1
  167. package/dist/esm/bank-account-document-form-inputs_9.entry.js +10 -16
  168. package/dist/esm/bank-account-form.entry.js +2 -2
  169. package/dist/esm/business-details-core.entry.js +3 -3
  170. package/dist/esm/{business.service-CS-wQJoN.js → business.service-DSolii9Q.js} +1 -1
  171. package/dist/esm/button-CdXktiZq.js +41 -0
  172. package/dist/esm/card-form.entry.js +2 -2
  173. package/dist/esm/{check-pkg-version-DKbeTbtv.js → check-pkg-version-Dn83YYz_.js} +2 -2
  174. package/dist/esm/{checkout.service-BcQ_onZq.js → checkout.service-BTXHVtxI.js} +1 -1
  175. package/dist/esm/checkouts-list-core.entry.js +6 -6
  176. package/dist/esm/{checkouts-table-C5aYyqpX.js → checkouts-table-Bf6gjMf8.js} +2 -2
  177. package/dist/esm/custom-popper_2.entry.js +3 -3
  178. package/dist/esm/{dispute.service-B_oe0uFV.js → dispute.service-CpDEYnHy.js} +1 -1
  179. package/dist/esm/form-alert_5.entry.js +1 -1
  180. package/dist/esm/form-control-checkbox.entry.js +3 -3
  181. package/dist/esm/form-control-date.entry.js +4 -4
  182. package/dist/esm/{form-control-error-text-xEskXF-M.js → form-control-error-text-JYoDicr0.js} +1 -1
  183. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  184. package/dist/esm/{form-control-help-text-Dgnv4IId.js → form-control-help-text-DxL7yVgi.js} +1 -1
  185. package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
  186. package/dist/esm/form-control-monetary.entry.js +5 -5
  187. package/dist/esm/form-control-number-masked_3.entry.js +4 -4
  188. package/dist/esm/form-control-number_3.entry.js +6 -6
  189. package/dist/esm/form-control-radio.entry.js +3 -3
  190. package/dist/esm/form-control-select_2.entry.js +6 -6
  191. package/dist/esm/{get-payment-details-BdewJSTH.js → get-payment-details-VEzqfeuZ.js} +1 -1
  192. package/dist/esm/{get-subaccounts-BFALCYFr.js → get-subaccounts-DUdsxExJ.js} +1 -1
  193. package/dist/esm/gross-payment-chart-core.entry.js +4 -4
  194. package/dist/esm/{header-1-xlSavD5o.js → header-1-CU8Erek9.js} +1 -1
  195. package/dist/esm/{header-3-egutsoDI.js → header-3-BwJ-9MsW.js} +1 -1
  196. package/dist/esm/hidden-input_2.entry.js +7 -7
  197. package/dist/esm/{insurance-state-jZTKdt60.js → insurance-state-gsU4kKgc.js} +1 -1
  198. package/dist/esm/internal-tokenize-payment-method_7.entry.js +12 -12
  199. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +75 -67
  200. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  201. package/dist/esm/justifi-apple-pay_8.entry.js +16 -14
  202. package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +2 -2
  203. package/dist/esm/justifi-business-details.entry.js +6 -6
  204. package/dist/esm/justifi-business-form.entry.js +8 -8
  205. package/dist/esm/justifi-checkout.entry.js +4 -4
  206. package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -5
  207. package/dist/esm/justifi-checkouts-list.entry.js +9 -9
  208. package/dist/esm/justifi-details.entry.js +2 -2
  209. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  210. package/dist/esm/justifi-dispute-management.entry.js +5 -5
  211. package/dist/esm/justifi-dispute-notification_3.entry.js +11 -11
  212. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  213. package/dist/esm/justifi-order-terminals.entry.js +8 -8
  214. package/dist/esm/justifi-payment-details.entry.js +7 -7
  215. package/dist/esm/justifi-payment-provisioning-core.entry.js +4 -4
  216. package/dist/esm/justifi-payment-provisioning.entry.js +4 -4
  217. package/dist/esm/justifi-payment-transactions-list.entry.js +8 -8
  218. package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
  219. package/dist/esm/justifi-payments-list.entry.js +9 -9
  220. package/dist/esm/justifi-payout-details.entry.js +6 -6
  221. package/dist/esm/justifi-payout-transactions-list.entry.js +8 -8
  222. package/dist/esm/justifi-payouts-list-filters.entry.js +5 -5
  223. package/dist/esm/justifi-payouts-list.entry.js +10 -10
  224. package/dist/esm/justifi-refund-payment.entry.js +8 -8
  225. package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
  226. package/dist/esm/justifi-season-interruption-insurance.entry.js +6 -6
  227. package/dist/esm/justifi-skeleton.entry.js +3 -3
  228. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +10 -6
  229. package/dist/esm/justifi-terminal-orders-list.entry.js +7 -7
  230. package/dist/esm/justifi-terminals-list-filters.entry.js +5 -3
  231. package/dist/esm/justifi-terminals-list.entry.js +9 -9
  232. package/dist/esm/justifi-tokenize-payment-method.entry.js +1 -1
  233. package/dist/esm/loader.js +1 -1
  234. package/dist/esm/{package-C2WozQkF.js → package-qNXIkzDE.js} +1 -1
  235. package/dist/esm/pagination-menu.entry.js +1 -1
  236. package/dist/esm/parts-D3V9AE6o.js +110 -0
  237. package/dist/esm/payment-details-core.entry.js +14 -14
  238. package/dist/esm/payment-method-option.entry.js +2 -2
  239. package/dist/esm/{payment-provisioning-loading-D_VKtlLm.js → payment-provisioning-loading-CQfDKCwy.js} +1 -1
  240. package/dist/esm/{payment.service-Nvz1TYZB.js → payment.service-BjU4B__W.js} +1 -1
  241. package/dist/esm/payments-list-core.entry.js +8 -8
  242. package/dist/esm/{payments-status-D4XkcfLU.js → payments-status-DT4VNKKg.js} +1 -1
  243. package/dist/esm/{payments-table-BDaiD836.js → payments-table-BJ1F2ZZU.js} +2 -2
  244. package/dist/esm/payout-details-core.entry.js +9 -9
  245. package/dist/esm/{payout.service-tTxsxoqF.js → payout.service-CzCd8AaC.js} +1 -1
  246. package/dist/esm/payouts-list-core.entry.js +8 -8
  247. package/dist/esm/{payouts-status-BR1vd6-D.js → payouts-status-LTNE_gQc.js} +1 -1
  248. package/dist/esm/{payouts-table-B4nuJlpC.js → payouts-table-Yp2d9OgA.js} +2 -2
  249. package/dist/esm/plaid.service-D61Eq14d.js +41 -0
  250. package/dist/esm/{skeleton-C162KC3u.js → skeleton-CV6EpBqb.js} +1 -1
  251. package/dist/esm/{spinner-BfjGGaND.js → spinner-CG3aWl8K.js} +1 -1
  252. package/dist/esm/{table-hHARNoRM.js → table-DZ6rurWg.js} +2 -2
  253. package/dist/esm/table-filters-menu.entry.js +3 -3
  254. package/dist/esm/terminal-orders-list-core.entry.js +7 -7
  255. package/dist/esm/{terminal-orders-table-B-xs6ocO.js → terminal-orders-table-CJg6dKsL.js} +3 -3
  256. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  257. package/dist/esm/{terminal.service-Dv1-CZ4Y.js → terminal.service-BBdRhDxm.js} +1 -1
  258. package/dist/esm/terminals-list-core.entry.js +7 -7
  259. package/dist/esm/{terminals-table-CnKH-UOw.js → terminals-table-iGSICJeZ.js} +2 -2
  260. package/dist/esm/{utils-BSpK1eMX.js → utils-DUArY3am.js} +1 -1
  261. package/dist/esm/webcomponents.js +1 -1
  262. package/dist/module/Plaid.js +1 -1
  263. package/dist/module/additional-statement.js +2 -2
  264. package/dist/module/apple-pay.js +1 -1
  265. package/dist/module/bank-account.js +2 -2
  266. package/dist/module/business-bank-account-form-step.js +71 -64
  267. package/dist/module/button.js +27 -3
  268. package/dist/module/cancellation-policy.js +2 -2
  269. package/dist/module/card-form2.js +2 -2
  270. package/dist/module/checkout.store.js +1 -1
  271. package/dist/module/checkouts-list-core2.js +1 -1
  272. package/dist/module/custom-popper2.js +2 -2
  273. package/dist/module/customer-details.js +2 -2
  274. package/dist/module/dispute-management-core.js +1 -1
  275. package/dist/module/dispute-notification.js +2 -2
  276. package/dist/module/dispute-response-core.js +1 -1
  277. package/dist/module/dispute-response.js +1 -1
  278. package/dist/module/duplicate-charge.js +2 -2
  279. package/dist/module/electronic-evidence.js +2 -2
  280. package/dist/module/form-control-date2.js +2 -2
  281. package/dist/module/form-control-file-v22.js +1 -1
  282. package/dist/module/form-control-file2.js +2 -2
  283. package/dist/module/form-control-monetary2.js +2 -2
  284. package/dist/module/form-control-number-masked2.js +2 -2
  285. package/dist/module/form-control-number2.js +2 -2
  286. package/dist/module/form-control-radio2.js +2 -2
  287. package/dist/module/form-control-select2.js +2 -2
  288. package/dist/module/form-control-text2.js +2 -2
  289. package/dist/module/form-control-textarea2.js +2 -2
  290. package/dist/module/gross-payment-chart-core2.js +1 -1
  291. package/dist/module/hidden-input2.js +1 -1
  292. package/dist/module/iframe-input2.js +3 -3
  293. package/dist/module/internal-tokenize-payment-method2.js +1 -1
  294. package/dist/module/justifi-button2.js +1 -1
  295. package/dist/module/justifi-checkout.js +1 -1
  296. package/dist/module/justifi-checkouts-list-filters.js +6 -4
  297. package/dist/module/justifi-checkouts-list.js +1 -1
  298. package/dist/module/justifi-dispute-management.js +1 -1
  299. package/dist/module/justifi-header2.js +1 -1
  300. package/dist/module/justifi-order-terminals.js +2 -2
  301. package/dist/module/justifi-payment-transactions-list.js +2 -2
  302. package/dist/module/justifi-payments-list-filters.js +4 -4
  303. package/dist/module/justifi-payments-list.js +1 -1
  304. package/dist/module/justifi-payout-transactions-list.js +2 -2
  305. package/dist/module/justifi-payouts-list-filters.js +4 -4
  306. package/dist/module/justifi-payouts-list.js +1 -1
  307. package/dist/module/justifi-skeleton.js +1 -1
  308. package/dist/module/justifi-terminal-orders-list-filters.js +22 -12
  309. package/dist/module/justifi-terminal-orders-list.js +1 -1
  310. package/dist/module/justifi-terminals-list-filters.js +6 -2
  311. package/dist/module/justifi-terminals-list.js +1 -1
  312. package/dist/module/justifi-tokenize-payment-method.js +1 -1
  313. package/dist/module/modular-checkout.js +2 -2
  314. package/dist/module/package.js +1 -1
  315. package/dist/module/parts.js +10 -41
  316. package/dist/module/payment-details-core2.js +8 -8
  317. package/dist/module/payment-method-option.js +1 -1
  318. package/dist/module/payments-list-core2.js +2 -2
  319. package/dist/module/payout-details-core2.js +3 -3
  320. package/dist/module/payouts-list-core2.js +2 -2
  321. package/dist/module/plaid-payment-method.js +3 -2
  322. package/dist/module/plaid-verification2.js +1 -8
  323. package/dist/module/product-or-service.js +2 -2
  324. package/dist/module/refund-policy.js +2 -2
  325. package/dist/module/shipping-details.js +2 -2
  326. package/dist/module/summary.js +1 -1
  327. package/dist/module/table-filters-menu2.js +2 -2
  328. package/dist/module/table.js +1 -1
  329. package/dist/module/terminal-orders-list-core2.js +2 -2
  330. package/dist/module/terminal-quantity-selector2.js +1 -1
  331. package/dist/module/terminals-list-core2.js +2 -2
  332. package/dist/types/api/Checkout.d.ts +1 -0
  333. package/dist/types/api/Terminal.d.ts +3 -1
  334. package/dist/types/api/TerminalOrder.d.ts +1 -0
  335. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +10 -3
  336. package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +1 -0
  337. package/dist/types/components/terminal-orders-list/terminal-orders-list-filters.d.ts +2 -0
  338. package/dist/types/components/terminals-list/terminals-list-filters.d.ts +2 -0
  339. package/dist/types/components.d.ts +8 -0
  340. package/dist/types/styles/parts.d.ts +8 -35
  341. package/dist/types/ui-components/button.d.ts +2 -1
  342. package/dist/webcomponents/{p-DqtDbB8E.js → p--UanYWb-.js} +1 -1
  343. package/dist/webcomponents/p-03b913e8.entry.js +1 -0
  344. package/dist/webcomponents/{p-e89d0f36.entry.js → p-12b662e3.entry.js} +1 -1
  345. package/dist/webcomponents/{p-9d69ae9f.entry.js → p-132c8d4c.entry.js} +2 -2
  346. package/dist/webcomponents/{p-ff4d485f.entry.js → p-15919744.entry.js} +1 -1
  347. package/dist/webcomponents/{p-6f2b0469.entry.js → p-19e82b02.entry.js} +1 -1
  348. package/dist/webcomponents/{p-eaa9cb8e.entry.js → p-19f22078.entry.js} +1 -1
  349. package/dist/webcomponents/{p-6d565cd6.entry.js → p-1ddbbba8.entry.js} +1 -1
  350. package/dist/webcomponents/p-1fc96f35.entry.js +1 -0
  351. package/dist/webcomponents/{p-11402020.entry.js → p-251f6c90.entry.js} +1 -1
  352. package/dist/webcomponents/p-2758d129.entry.js +1 -0
  353. package/dist/webcomponents/p-2V38oZhe.js +1 -0
  354. package/dist/webcomponents/p-2xM1wp0u.js +1 -0
  355. package/dist/webcomponents/p-320aac60.entry.js +1 -0
  356. package/dist/webcomponents/{p-cb09959d.entry.js → p-337fb232.entry.js} +1 -1
  357. package/dist/webcomponents/p-3490ede8.entry.js +1 -0
  358. package/dist/webcomponents/{p-393c9065.entry.js → p-368d8543.entry.js} +1 -1
  359. package/dist/webcomponents/{p-d246e573.entry.js → p-3bf56699.entry.js} +1 -1
  360. package/dist/webcomponents/p-3cd30c7a.entry.js +1 -0
  361. package/dist/webcomponents/{p-c6a9410d.entry.js → p-3f9c7b04.entry.js} +1 -1
  362. package/dist/webcomponents/p-426fd524.entry.js +1 -0
  363. package/dist/webcomponents/{p-540e2ef2.entry.js → p-4ae0227a.entry.js} +1 -1
  364. package/dist/webcomponents/p-50a34a13.entry.js +1 -0
  365. package/dist/webcomponents/{p-d35b09bf.entry.js → p-5148f836.entry.js} +1 -1
  366. package/dist/webcomponents/{p-cb9abd2c.entry.js → p-541da1ed.entry.js} +1 -1
  367. package/dist/webcomponents/{p-7e3030c2.entry.js → p-55605664.entry.js} +1 -1
  368. package/dist/webcomponents/p-55b478bc.entry.js +1 -0
  369. package/dist/webcomponents/{p-5206cd09.entry.js → p-57e09f09.entry.js} +1 -1
  370. package/dist/webcomponents/p-5b4dfe0e.entry.js +1 -0
  371. package/dist/webcomponents/p-5c70a772.entry.js +1 -0
  372. package/dist/webcomponents/{p-150a622a.entry.js → p-60df1c18.entry.js} +1 -1
  373. package/dist/webcomponents/p-6Nv8l5n8.js +1 -0
  374. package/dist/webcomponents/{p-c72c5b99.entry.js → p-6cdea3ef.entry.js} +1 -1
  375. package/dist/webcomponents/p-7703ada7.entry.js +1 -0
  376. package/dist/webcomponents/{p-e3d03faf.entry.js → p-77d0f2e2.entry.js} +1 -1
  377. package/dist/webcomponents/{p-7e14f6ac.entry.js → p-7cb910cf.entry.js} +1 -1
  378. package/dist/webcomponents/p-8ed651b1.entry.js +1 -0
  379. package/dist/webcomponents/{p-1cd7cdbf.entry.js → p-97e27e4a.entry.js} +1 -1
  380. package/dist/webcomponents/p-9ed5d349.entry.js +1 -0
  381. package/dist/webcomponents/p-BPpqjhPu.js +1 -0
  382. package/dist/webcomponents/p-BU9iZ8OM.js +1 -0
  383. package/dist/webcomponents/p-BXT1uJVr.js +1 -0
  384. package/dist/webcomponents/p-BYLHkONM.js +1 -0
  385. package/dist/webcomponents/{p-HfLk4CG0.js → p-BrcAwFqw.js} +1 -1
  386. package/dist/webcomponents/p-C0tps2ph.js +1 -0
  387. package/dist/webcomponents/{p-CGJ_mnry.js → p-C5CtnV8A.js} +1 -1
  388. package/dist/webcomponents/{p-DYEXDs2k.js → p-CMLfjWil.js} +1 -1
  389. package/dist/webcomponents/p-COZ-9O53.js +1 -0
  390. package/dist/webcomponents/p-C_WlV7F_.js +1 -0
  391. package/dist/webcomponents/{p-5mt2ek0H.js → p-Csh7hxly.js} +1 -1
  392. package/dist/webcomponents/{p-CIh-k9yP.js → p-D-cvuqv1.js} +1 -1
  393. package/dist/webcomponents/p-D3V9AE6o.js +1 -0
  394. package/dist/webcomponents/p-DSmuL_bZ.js +1 -0
  395. package/dist/webcomponents/{p-B_KHnbK8.js → p-DdR4lBzU.js} +1 -1
  396. package/dist/webcomponents/{p-6V4e6Fb_.js → p-DnZY6aQX.js} +1 -1
  397. package/dist/webcomponents/p-DzeWzcho.js +1 -0
  398. package/dist/webcomponents/{p-CkX7qWsc.js → p-ERB63T7J.js} +1 -1
  399. package/dist/webcomponents/p-FcERM7LF.js +1 -0
  400. package/dist/webcomponents/{p-CemnnRdZ.js → p-XxcNbSyO.js} +1 -1
  401. package/dist/webcomponents/p-_BHErKTQ.js +1 -0
  402. package/dist/webcomponents/p-a109b3a1.entry.js +1 -0
  403. package/dist/webcomponents/{p-00ba4cf6.entry.js → p-a5db7147.entry.js} +1 -1
  404. package/dist/webcomponents/p-b08bca2b.entry.js +1 -0
  405. package/dist/webcomponents/p-b2c237c6.entry.js +1 -0
  406. package/dist/webcomponents/p-b2d5f105.entry.js +1 -0
  407. package/dist/webcomponents/p-b8fc6dff.entry.js +1 -0
  408. package/dist/webcomponents/p-c595d3fb.entry.js +1 -0
  409. package/dist/webcomponents/{p-c9ea1b77.entry.js → p-c751bb5f.entry.js} +1 -1
  410. package/dist/webcomponents/{p-6c503a00.entry.js → p-c9f94919.entry.js} +1 -1
  411. package/dist/webcomponents/{p-a105de67.entry.js → p-ca307ba0.entry.js} +1 -1
  412. package/dist/webcomponents/p-ca7e369f.entry.js +1 -0
  413. package/dist/webcomponents/{p-b0e83a6e.entry.js → p-cab4c787.entry.js} +1 -1
  414. package/dist/webcomponents/p-cd220f6c.entry.js +1 -0
  415. package/dist/webcomponents/{p-39d11c59.entry.js → p-cd2c2256.entry.js} +1 -1
  416. package/dist/webcomponents/p-cd7a4048.entry.js +1 -0
  417. package/dist/webcomponents/p-d5d8ccd9.entry.js +1 -0
  418. package/dist/webcomponents/p-e646422f.entry.js +1 -0
  419. package/dist/webcomponents/p-e72d05b1.entry.js +1 -0
  420. package/dist/webcomponents/p-e86c713b.entry.js +1 -0
  421. package/dist/webcomponents/p-e9d7f988.entry.js +1 -0
  422. package/dist/webcomponents/p-ef98982e.entry.js +1 -0
  423. package/dist/webcomponents/p-f1562dab.entry.js +1 -0
  424. package/dist/webcomponents/p-f23b4474.entry.js +1 -0
  425. package/dist/webcomponents/{p-808bf425.entry.js → p-f4074e9a.entry.js} +1 -1
  426. package/dist/webcomponents/p-f44008d9.entry.js +1 -0
  427. package/dist/webcomponents/{p-154efb83.entry.js → p-f657995a.entry.js} +1 -1
  428. package/dist/webcomponents/p-fa3b5072.entry.js +1 -0
  429. package/dist/webcomponents/p-fb58eb13.entry.js +1 -0
  430. package/dist/webcomponents/{p-fbfe6211.entry.js → p-fff25a5f.entry.js} +1 -1
  431. package/dist/webcomponents/p-o83Uy7sW.js +1 -0
  432. package/dist/webcomponents/p-qNXIkzDE.js +1 -0
  433. package/dist/webcomponents/{p-BHA4oSi3.js → p-rgpO5xc3.js} +1 -1
  434. package/dist/webcomponents/p-t6eP44Li.js +1 -0
  435. package/dist/webcomponents/{p-DyJ1zSHJ.js → p-vIYW-hye.js} +1 -1
  436. package/dist/webcomponents/p-xvmoHDSy.js +1 -0
  437. package/dist/webcomponents/{p-DX6fcx_0.js → p-zGGZEiGQ.js} +1 -1
  438. package/dist/webcomponents/webcomponents.esm.js +1 -1
  439. package/package.json +4 -2
  440. package/dist/cjs/button-Cr3iHpyf.js +0 -19
  441. package/dist/cjs/plaid-icon-DiZrP1DM.js +0 -46
  442. package/dist/esm/button-DOkTCYSa.js +0 -17
  443. package/dist/esm/parts-C4FLe2pT.js +0 -141
  444. package/dist/esm/plaid-icon-B7a1QC7F.js +0 -43
  445. package/dist/module/plaid-icon.js +0 -3
  446. package/dist/webcomponents/p--Kvji7o2.js +0 -1
  447. package/dist/webcomponents/p-02dfdc6f.entry.js +0 -1
  448. package/dist/webcomponents/p-05d11c40.entry.js +0 -1
  449. package/dist/webcomponents/p-0f1c100d.entry.js +0 -1
  450. package/dist/webcomponents/p-163055e3.entry.js +0 -1
  451. package/dist/webcomponents/p-19f1e643.entry.js +0 -1
  452. package/dist/webcomponents/p-1b973781.entry.js +0 -1
  453. package/dist/webcomponents/p-21b5240d.entry.js +0 -1
  454. package/dist/webcomponents/p-2d39358b.entry.js +0 -1
  455. package/dist/webcomponents/p-35d1be0f.entry.js +0 -1
  456. package/dist/webcomponents/p-402ba9aa.entry.js +0 -1
  457. package/dist/webcomponents/p-52dc271f.entry.js +0 -1
  458. package/dist/webcomponents/p-5862236f.entry.js +0 -1
  459. package/dist/webcomponents/p-62f9c008.entry.js +0 -1
  460. package/dist/webcomponents/p-69c2bbcf.entry.js +0 -1
  461. package/dist/webcomponents/p-7bf586ca.entry.js +0 -1
  462. package/dist/webcomponents/p-7f3dcd42.entry.js +0 -1
  463. package/dist/webcomponents/p-88c6713a.entry.js +0 -1
  464. package/dist/webcomponents/p-88d6068d.entry.js +0 -1
  465. package/dist/webcomponents/p-8Wa_-5QM.js +0 -1
  466. package/dist/webcomponents/p-8a42d4fe.entry.js +0 -1
  467. package/dist/webcomponents/p-8c55dac0.entry.js +0 -1
  468. package/dist/webcomponents/p-8e631781.entry.js +0 -1
  469. package/dist/webcomponents/p-9a11f17b.entry.js +0 -1
  470. package/dist/webcomponents/p-9dedad17.entry.js +0 -1
  471. package/dist/webcomponents/p-BiNakvsa.js +0 -1
  472. package/dist/webcomponents/p-BoO2BHR_.js +0 -1
  473. package/dist/webcomponents/p-BtFe5yQU.js +0 -1
  474. package/dist/webcomponents/p-C2WozQkF.js +0 -1
  475. package/dist/webcomponents/p-C3kbpEIZ.js +0 -1
  476. package/dist/webcomponents/p-C4FLe2pT.js +0 -1
  477. package/dist/webcomponents/p-CI11WF1E.js +0 -1
  478. package/dist/webcomponents/p-CJZ09QNH.js +0 -1
  479. package/dist/webcomponents/p-DAZtHA62.js +0 -1
  480. package/dist/webcomponents/p-DFiTyYE9.js +0 -1
  481. package/dist/webcomponents/p-DO4RBao8.js +0 -1
  482. package/dist/webcomponents/p-DqVU8ohH.js +0 -1
  483. package/dist/webcomponents/p-DsT0m0mo.js +0 -1
  484. package/dist/webcomponents/p-DyETkJs3.js +0 -1
  485. package/dist/webcomponents/p-EaBIgUj8.js +0 -1
  486. package/dist/webcomponents/p-Jz9qdPhR.js +0 -1
  487. package/dist/webcomponents/p-a2b016a7.entry.js +0 -1
  488. package/dist/webcomponents/p-a959ca16.entry.js +0 -1
  489. package/dist/webcomponents/p-b54bf8da.entry.js +0 -1
  490. package/dist/webcomponents/p-bcba5950.entry.js +0 -1
  491. package/dist/webcomponents/p-c0592f5f.entry.js +0 -1
  492. package/dist/webcomponents/p-c6aee723.entry.js +0 -1
  493. package/dist/webcomponents/p-c7930f9a.entry.js +0 -1
  494. package/dist/webcomponents/p-e71e4c49.entry.js +0 -1
  495. package/dist/webcomponents/p-e817f8fc.entry.js +0 -1
  496. package/dist/webcomponents/p-e8cd3097.entry.js +0 -1
  497. package/dist/webcomponents/p-eEJMJXTG.js +0 -1
  498. package/dist/webcomponents/p-f55a6397.entry.js +0 -1
@@ -1,29 +1,29 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-CV0Pyo1O.js';
2
2
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
3
3
  import { m as makeGetBusiness, b as makePatchBusiness, f as makePostBankAccount, g as makePostDocumentRecord } from './payment-provisioning-actions-CBvplwPf.js';
4
- import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService } from './business.service-CS-wQJoN.js';
4
+ import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService } from './business.service-DSolii9Q.js';
5
5
  import { a as additionalQuestionsSchema, c as businessCoreInfoSchemaCAN, b as businessCoreInfoSchemaUSA } from './business-additional-questions-schema-DKudYaoE.js';
6
6
  import { F as FormController, c as create$3, a as create$6, b as create$8, d as create$7 } from './index.esm-BHdVU4hV.js';
7
7
  import { A as AdditionalQuestions, C as CountryCode, e as CoreBusinessInfo, R as Representative, f as Address } from './Business-BcNb9bVO.js';
8
8
  import { C as CURRENCY_MASK, P as PHONE_MASKS } from './form-input-masks-CVaOFfrI.js';
9
- import { J as heading2, a4 as buttonLink, am as buttonSecondary, $ as label, Y as inputDisabled, aG as alert } from './parts-C4FLe2pT.js';
10
- import { P as PaymentProvisioningLoading } from './payment-provisioning-loading-D_VKtlLm.js';
9
+ import { b as heading2, a2 as buttonSecondary, E as buttonLink, z as label, w as inputDisabled, am as alert } from './parts-D3V9AE6o.js';
10
+ import { P as PaymentProvisioningLoading } from './payment-provisioning-loading-CQfDKCwy.js';
11
11
  import { b as businessServiceReceivedOptions, c as businessClassificationOptions } from './business-form-options-DRalxlqN.js';
12
12
  import { a as BusinessFormStep, B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
13
13
  import './config-state-kKn89dp1.js';
14
14
  import './dinero-HXpYMWUU.js';
15
- import { E as EntityDocumentType, p as EntityDocumentStorage, q as EntityDocument } from './Plaid-Cmyilr-q.js';
15
+ import { E as EntityDocumentType, p as EntityDocumentStorage, q as EntityDocument } from './Plaid-DOdR_CNb.js';
16
16
  import './Pagination-CLHwhyvu.js';
17
17
  import './Dispute-BH0Xfn-F.js';
18
18
  import { A as accountNumberValidation, B as accountTypeValidation, v as identityNameValidation, C as nicknameValidation, D as bankNameValidation, E as numbersOnlyRegex, F as routingNumberValidation } from './schema-validations-v6WGlZkq.js';
19
- import { B as Button } from './button-DOkTCYSa.js';
19
+ import { B as Button } from './button-CdXktiZq.js';
20
20
  import './event-types-CZfYo5-1.js';
21
21
  import { c as countryLabels } from './country-config-P042rrI3.js';
22
22
  import { d as identitySchemaByCountry, e as addressSchemaByCountry } from './business-identity-schema-CFhSc0cA.js';
23
23
  import { A as Api } from './Api-CLZVsXZg.js';
24
24
  import './utils-BeQLScSm.js';
25
25
  import './_commonjsHelpers-BFTU3MAI.js';
26
- import './skeleton-C162KC3u.js';
26
+ import './skeleton-CV6EpBqb.js';
27
27
  import './index-cDVGjRkU.js';
28
28
  import './utils-7bp92NC7.js';
29
29
 
@@ -280,22 +280,20 @@ const BusinessBankAccountFormStep = class {
280
280
  this.existingDocuments = [];
281
281
  this.documentData = new EntityDocumentStorage();
282
282
  this.isLoading = false;
283
- this.isAddingNewBankAccount = true;
283
+ this.viewMode = 'manual';
284
284
  this.bankAccountVerification = false;
285
285
  this.platformAccountId = null;
286
- this.usePlaidVerification = true;
287
286
  this.getSchema = () => {
288
287
  const schema = bankAccountSchemaByCountry[this.country];
289
288
  return schema(this.allowOptionalFields, this.existingDocuments);
290
289
  };
291
290
  this.initializeFormController = () => {
292
291
  this.formController = new FormController(this.getSchema());
293
- if (this.isAddingNewBankAccount) {
294
- // Clear form when adding a new bank account
295
- this.formController.setInitialValues({ business_id: this.businessId });
292
+ if (this.viewMode === 'readonly') {
293
+ this.formController.setInitialValues(Object.assign({}, this.bankAccount));
296
294
  }
297
295
  else {
298
- this.formController.setInitialValues(Object.assign({}, this.bankAccount));
296
+ this.formController.setInitialValues({ business_id: this.businessId });
299
297
  }
300
298
  this.formController.errors.subscribe(errors => {
301
299
  this.errors = Object.assign({}, errors);
@@ -314,20 +312,8 @@ const BusinessBankAccountFormStep = class {
314
312
  this.isLoading = true;
315
313
  this.getBusiness({
316
314
  onSuccess: (response) => {
317
- if (response.data.bank_accounts.length > 0) {
318
- // Get the latest bank account (last in array)
319
- const bankAccounts = response.data.bank_accounts;
320
- const latestBankAccount = bankAccounts[bankAccounts.length - 1];
321
- this.bankAccount = new BankAccount(latestBankAccount);
322
- this.isAddingNewBankAccount = false;
323
- }
324
- else {
325
- this.bankAccount = new BankAccount({});
326
- this.bankAccount.business_id = this.businessId;
327
- }
328
- this.existingDocuments = response.data.documents;
329
- this.bankAccountVerification = response.data.settings.bank_account_verification === true;
330
- this.platformAccountId = response.data.platform_account_id;
315
+ this.processBusinessResponse(response.data);
316
+ this.determineViewMode();
331
317
  },
332
318
  onError: ({ error, code, severity }) => {
333
319
  this.errorEvent.emit({
@@ -343,24 +329,20 @@ const BusinessBankAccountFormStep = class {
343
329
  });
344
330
  };
345
331
  this.handleChangeBankAccount = () => {
346
- this.isAddingNewBankAccount = true;
332
+ this.viewMode = this.plaidAvailable ? 'plaid' : 'manual';
347
333
  this.documentData = new EntityDocumentStorage();
348
- // Reset to Plaid if available when changing bank account
349
- this.usePlaidVerification = this.bankAccountVerification && !!this.platformAccountId;
350
334
  this.initializeFormController();
351
335
  };
352
336
  this.handleCancel = () => {
353
- this.isAddingNewBankAccount = false;
337
+ this.viewMode = this.existingBankAccount ? 'readonly' : 'plaid';
354
338
  this.documentData = new EntityDocumentStorage();
355
- // Reset toggle state when canceling
356
- this.usePlaidVerification = true;
357
339
  this.initializeFormController();
358
340
  };
359
341
  this.handleToggleToManualEntry = () => {
360
- this.usePlaidVerification = false;
342
+ this.viewMode = 'manual';
361
343
  };
362
344
  this.handleToggleToPlaidVerification = () => {
363
- this.usePlaidVerification = true;
345
+ this.viewMode = 'plaid';
364
346
  };
365
347
  this.handleSaveBankAccount = async () => {
366
348
  this.formController.validateAndSubmit(() => {
@@ -437,12 +419,10 @@ const BusinessBankAccountFormStep = class {
437
419
  this.formLoading.emit(newValue);
438
420
  }
439
421
  async validateAndSubmit({ onSuccess }) {
440
- if (this.existingBankAccount && !this.isAddingNewBankAccount) {
441
- // If a bank account already exists and we're not adding a new one, skip bank account posting; proceed directly to document upload
422
+ if (this.viewMode === 'readonly') {
442
423
  this.sendData(onSuccess);
443
424
  }
444
425
  else {
445
- // If bank account is new, validate form inputs (bank account fields), then proceed
446
426
  this.formController.validateAndSubmit(() => this.sendData(onSuccess));
447
427
  }
448
428
  }
@@ -491,24 +471,48 @@ const BusinessBankAccountFormStep = class {
491
471
  var _a;
492
472
  return !!((_a = this.bankAccount) === null || _a === void 0 ? void 0 : _a.id);
493
473
  }
494
- get showReadOnlyView() {
495
- return this.existingBankAccount && !this.isAddingNewBankAccount;
474
+ get plaidAvailable() {
475
+ return this.bankAccountVerification && !!this.platformAccountId;
476
+ }
477
+ get showCancel() {
478
+ return this.bankAccountVerification || this.existingBankAccount;
479
+ }
480
+ processBusinessResponse(data) {
481
+ const { bank_accounts, documents, settings, platform_account_id } = data;
482
+ if (bank_accounts.length > 0) {
483
+ this.bankAccount = new BankAccount(bank_accounts[bank_accounts.length - 1]);
484
+ }
485
+ else {
486
+ this.bankAccount = new BankAccount({});
487
+ this.bankAccount.business_id = this.businessId;
488
+ }
489
+ this.existingDocuments = documents;
490
+ this.bankAccountVerification = settings.bank_account_verification === true;
491
+ this.platformAccountId = platform_account_id;
492
+ }
493
+ determineViewMode() {
494
+ if (this.existingBankAccount) {
495
+ this.viewMode = 'readonly';
496
+ }
497
+ else if (this.plaidAvailable) {
498
+ this.viewMode = 'plaid';
499
+ }
500
+ else {
501
+ this.viewMode = 'manual';
502
+ }
496
503
  }
497
504
  async sendData(onSuccess) {
498
505
  try {
499
- // Post bank account data if we're adding a new bank account
500
- const bankAccountPosted = this.isAddingNewBankAccount ? await this.postBankAccountData() : true;
501
- if (!bankAccountPosted) {
502
- return;
506
+ if (this.viewMode === 'manual') {
507
+ const bankAccountPosted = await this.postBankAccountData();
508
+ if (!bankAccountPosted)
509
+ return;
503
510
  }
504
- // Post documents only after bank account was successfully created
505
511
  const documentsUploaded = await this.postBusinessDocuments();
506
- if (!documentsUploaded) {
512
+ if (!documentsUploaded)
507
513
  return;
508
- }
509
- // Refresh bank account data after successful save
510
- if (this.isAddingNewBankAccount) {
511
- this.isAddingNewBankAccount = false;
514
+ if (this.viewMode === 'manual') {
515
+ this.viewMode = 'readonly';
512
516
  await this.refreshBankAccountData();
513
517
  }
514
518
  onSuccess();
@@ -553,17 +557,8 @@ const BusinessBankAccountFormStep = class {
553
557
  this.isLoading = true;
554
558
  this.getBusiness({
555
559
  onSuccess: (response) => {
556
- const { data } = response;
557
- const { bank_accounts, documents, settings, platform_account_id } = data;
558
- if (bank_accounts.length > 0) {
559
- // Get the latest bank account (last in array)
560
- const bankAccounts = bank_accounts;
561
- const latestBankAccount = bankAccounts[bankAccounts.length - 1];
562
- this.bankAccount = new BankAccount(latestBankAccount);
563
- }
564
- this.existingDocuments = documents;
565
- this.bankAccountVerification = settings.bank_account_verification === true;
566
- this.platformAccountId = platform_account_id;
560
+ this.processBusinessResponse(response.data);
561
+ this.determineViewMode();
567
562
  this.initializeFormController();
568
563
  },
569
564
  onError: ({ error, code, severity }) => {
@@ -601,17 +596,30 @@ const BusinessBankAccountFormStep = class {
601
596
  this.isLoading = false;
602
597
  }
603
598
  }
599
+ renderBankAccountInputs(disabled) {
600
+ const defaultValue = this.formController.getInitialValues();
601
+ return this.country === CountryCode.CAN ? (h("bank-account-form-inputs-canada", { defaultValue: defaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: disabled })) : (h("bank-account-form-inputs", { defaultValue: defaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: disabled }));
602
+ }
603
+ renderReadonlyView() {
604
+ return (h("div", null, this.renderBankAccountInputs(true), h("div", { class: "mt-3" }, h(Button, { variant: "secondary", type: "button", onClick: this.handleChangeBankAccount, disabled: this.isLoading, part: buttonSecondary }, "Change Bank Account"))));
605
+ }
606
+ renderPlaidView() {
607
+ return (h("div", { class: "mt-3" }, h("plaid-verification", { authToken: this.authToken, accountId: this.platformAccountId, businessId: this.businessId, onPlaidVerificationSuccess: () => {
608
+ this.viewMode = 'readonly';
609
+ this.refreshBankAccountData();
610
+ } }), h("div", { class: "mt-3" }, h(Button, { type: "button", variant: "link", className: "p-0", onClick: this.handleToggleToManualEntry, disabled: this.isLoading, part: buttonLink }, "Enter bank details manually (document upload required)"))));
611
+ }
612
+ renderManualEntryView() {
613
+ return (h("div", null, this.plaidAvailable && (h("div", { class: "mb-3" }, h(Button, { type: "button", variant: "secondary", onClick: this.handleToggleToPlaidVerification, disabled: this.isLoading, part: buttonSecondary }, "Link bank account with Plaid instead"))), this.renderBankAccountInputs(false), h("div", { class: "mt-3 d-flex gap-2" }, this.showCancel && (h(Button, { variant: "secondary", type: "button", onClick: this.handleCancel, disabled: this.isLoading, part: buttonSecondary }, "Cancel")), h(Button, { variant: "primary", type: "button", onClick: this.handleSaveBankAccount, disabled: this.isLoading, isLoading: this.isLoading }, "Save Bank Account"))));
614
+ }
615
+ renderDocumentUploads() {
616
+ return (h("fieldset", { class: "mt-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Document Uploads"), h("form-control-tooltip", { helpText: "One document (voided check or bank statement) is required for underwriting purposes. It needs to visibly show the name tied to the account and the account number. Various file formats such as PDF, DOC, DOCX, JPEG are accepted. Multiple files can be uploaded for each document category." })), h("hr", { class: "mt-2" }), h("business-documents-on-file", { documents: this.existingDocuments, isLoading: this.isLoading }), h("bank-account-document-form-inputs", { inputHandler: this.inputHandler, errors: this.errors, storeFiles: this.storeFiles })));
617
+ }
604
618
  render() {
605
- const bankAccountDefaultValue = this.formController.getInitialValues();
606
- const shouldShowPlaidVerification = this.bankAccountVerification && this.platformAccountId;
607
619
  if (this.isLoading) {
608
620
  return h(PaymentProvisioningLoading, null);
609
621
  }
610
- return (h("form", null, h("fieldset", { class: "mb-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Bank Account Info"), h("form-control-tooltip", { helpText: "This direct deposit account is the designated bank account where incoming funds will be deposited. The name of this account must match the registered business name exactly. We are not able to accept personal accounts unless your business is a registered sole proprietorship." })), h("hr", { class: "mt-2" }), shouldShowPlaidVerification && this.usePlaidVerification && !this.showReadOnlyView && (h("div", { class: "mt-3" }, h("plaid-verification", { authToken: this.authToken, accountId: this.platformAccountId, businessId: this.businessId, onPlaidVerificationSuccess: () => {
611
- // Refresh bank account data after successful Plaid verification
612
- this.isAddingNewBankAccount = false;
613
- this.refreshBankAccountData();
614
- } }), h("div", { class: "mt-3" }, h(Button, { type: "button", variant: "link", onClick: this.handleToggleToManualEntry, disabled: this.isLoading, part: buttonLink }, "Enter bank details manually (document upload required)")))), (!this.usePlaidVerification || this.showReadOnlyView) && (h("div", null, shouldShowPlaidVerification && !this.usePlaidVerification && !this.showReadOnlyView && (h("div", { class: "mb-3" }, h(Button, { type: "button", variant: "secondary", onClick: this.handleToggleToPlaidVerification, disabled: this.isLoading, part: buttonSecondary }, "Link bank account with Plaid instead"))), this.country === CountryCode.CAN ? (h("bank-account-form-inputs-canada", { defaultValue: bankAccountDefaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: this.showReadOnlyView })) : (h("bank-account-form-inputs", { defaultValue: bankAccountDefaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: this.showReadOnlyView })))), this.showReadOnlyView && (h("div", { class: "mt-3" }, h(Button, { variant: "secondary", type: "button", onClick: this.handleChangeBankAccount, disabled: this.isLoading, part: buttonSecondary }, "Change Bank Account"))), (!this.existingBankAccount || this.isAddingNewBankAccount) && !this.usePlaidVerification && (h("div", { class: "mt-3 d-flex gap-2" }, this.isAddingNewBankAccount && (h(Button, { variant: "secondary", type: "button", onClick: this.handleCancel, disabled: this.isLoading, part: buttonSecondary }, "Cancel")), h(Button, { variant: "primary", type: "button", onClick: this.handleSaveBankAccount, disabled: this.isLoading, isLoading: this.isLoading }, "Save Bank Account")))), (!this.usePlaidVerification || this.showReadOnlyView) && (h("fieldset", { class: "mt-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Document Uploads"), h("form-control-tooltip", { helpText: "One document (voided check or bank statement) is required for underwriting purposes. It needs to visibly show the name tied to the account and the account number. Various file formats such as PDF, DOC, DOCX, JPEG are accepted. Multiple files can be uploaded for each document category." })), h("hr", { class: "mt-2" }), h("business-documents-on-file", { documents: this.existingDocuments, isLoading: this.isLoading }), h("bank-account-document-form-inputs", { inputHandler: this.inputHandler, errors: this.errors, storeFiles: this.storeFiles })))));
622
+ return (h("form", null, h("fieldset", { class: "mb-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Bank Account Info"), h("form-control-tooltip", { helpText: "This direct deposit account is the designated bank account where incoming funds will be deposited. The name of this account must match the registered business name exactly. We are not able to accept personal accounts unless your business is a registered sole proprietorship." })), h("hr", { class: "mt-2" }), this.viewMode === 'readonly' && this.renderReadonlyView(), this.viewMode === 'plaid' && this.renderPlaidView(), this.viewMode === 'manual' && this.renderManualEntryView()), this.viewMode !== 'plaid' && this.renderDocumentUploads()));
615
623
  }
616
624
  static get watchers() { return {
617
625
  "authToken": ["propChanged"],
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h } from './index-CV0Pyo1O.js';
2
2
  import { c as create$3, a as create$6, F as FormController } from './index.esm-BHdVU4hV.js';
3
- import { au as heading5 } from './parts-C4FLe2pT.js';
3
+ import { aa as heading5 } from './parts-D3V9AE6o.js';
4
4
  import './_commonjsHelpers-BFTU3MAI.js';
5
5
 
6
6
  const AdditionalStatementSchema = create$3({
@@ -98,7 +98,7 @@ const AdditionalStatement = class {
98
98
  }
99
99
  render() {
100
100
  var _a, _b;
101
- return (h("div", { key: 'd52503cf5815f53c655754d07b1bc1cc7401d07f' }, h("div", { key: 'b7c4c06c3bd77afbd5cd9f96158eaf3161425f0b', class: "row gy-3" }, h("div", { key: '33836b54b773763a8657afc90331cc67045d4b71', class: "col-12" }, h("h2", { key: 'fef897d53f97e665210ead7210041dcf5ce816a1', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '26afd31b03e4d399e4c6032ea9c1bdee54d830be', class: "col-12" }, h("form-control-textarea", { key: '4fd907f2de7d8239d9665583d88b656aa0e0a311', 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: '7775cf2e4ee5d27a1c703a9bd3710f6ec2b2f09f', class: "col-12" }, h("form-control-file-v2", { key: '7155276e45b54d1c70ba37a778d8ebc69a626b8f', 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: '4c6f6740b3ad7c063f3275dad9d74feb360b36a7' }, h("div", { key: '4eeb3d2aae2df266e95ea80ed97bf00b63fe2952', class: "row gy-3" }, h("div", { key: 'ca0c7efc3186ba84e648fd2432fd36862ca7e704', class: "col-12" }, h("h2", { key: '26236264d2dd37545092b15b8164b109b9738bfe', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '84e74149369dcfab9f31dd2a079044911b8af9f4', class: "col-12" }, h("form-control-textarea", { key: '1aa5ffee7bcf19d56b34708cdac36bcda9bb4d03', 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: '7145211db8aaaba540670c7d67cf2d1075f1fc69', class: "col-12" }, h("form-control-file-v2", { key: '64b82123ff0697fdca198363417582bb6079fbbe', 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: '7e324ceb101b39f115b802eaaba72bc1244d944f' }, h("div", { key: '09051fac8c49c6ffc52e37d5027a353a8e4fe8ae', class: "row gy-3" }, h("div", { key: '6c8c50593dca3155a708ec25f3189be54df3e3b9', class: "col-12" }, h("h2", { key: 'bdffa3a4ea564d715c377ffe2b97c7ec59600ed5', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '376a234708050ff8079db49dd42e28eabbd2d5ce', class: "col-12" }, h("form-control-textarea", { key: '2b6a803b276cf3c73e2a3745cd09c9b797265127', 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: '52d22aae6cca0dd3215d545957d130564ae673e5', class: "col-12" }, h("form-control-textarea", { key: '170191a065345416f68bb0abfa72b59318c65ed6', 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: 'cb5e7e12104574a061139fd882c9da41e8ffadbb', class: "col-12" }, h("form-control-file-v2", { key: '7c09d5592ac3584e134f8a1a3d0aeca0c2cf4373', 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: 'f9b93b3dd8c73dcf878c3a4ff0bf1644a853b7bb' }, h("div", { key: '520759d6b31b86035d1e60a9c8b1353e764291ef', class: "row gy-3" }, h("div", { key: '3afe7011e77eb9c864e8b26e93edccc917f42658', class: "col-12" }, h("h2", { key: '57fe3c49c3d2634525c2d6c6dc04031ff73a8a3f', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: 'dd6b7bb8a608940d213e55224de3410f51c5b78d', class: "col-12" }, h("form-control-textarea", { key: '05596adee9001ca673e0c61ffa1245ea45ae944d', 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: '75dca392cfee3a5c571acb0ed1526623be0eb7e8', class: "col-12" }, h("form-control-textarea", { key: '9bf96784519d39c9961b2741da358b0112275c71', 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: 'd9995887e3791f54730d84a598869dce7cabd8b4', class: "col-12" }, h("form-control-file-v2", { key: '40fb6492e3db57e1d9b5b77d37229579bee4de5e', 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: '2a284179b0e885a49328aea3de640ac89a721a50' }, h("div", { key: 'aa7da787c2438af27988aa66ee14a980f3b06b9b', class: "row gy-3" }, h("div", { key: '7866c966658406e25a7a96f8b625dff4cd01fae9', class: "col-12" }, h("h2", { key: '16232b46708a785c70fb1160d45f71457517f146', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: 'fa470479d54a9c68543f01f5aa8168b31345c558', class: "col-12" }, h("form-control-text", { key: 'b0908d5cf478b70081ae376f52f37539cfe6cd4f', 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: 'a74a0dc1a29526fc24a4ed85b51152679f6cf557', class: "col-12" }, h("form-control-text", { key: 'e212808991ff68e64ef07fe216b30d9ef53f1876', 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: '588cd9e061aeb50c7b1a427cf961a594b20543e2', class: "col-12" }, h("form-control-textarea", { key: '03792e2bd58e6f83605bd6d8694ecd52c69f7bf9', 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: 'e82bcb4a124a371349a61446ed80bfc2ddff6447', class: "col-12" }, h("form-control-file-v2", { key: '177fd69a1d5fd956e875651f28f3b52673ca7b3b', 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: '0e1b09ec74a570e5eae6378c0789147b2a8a9f41', class: "col-12" }, h("form-control-file-v2", { key: '07eaaa242425f54482c5bf1c45bbb64b7b0eb032', 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: 'ac1c08881bf4f5288aa6841d3f87ba1d8e9dd6e4' }, h("div", { key: '148296af222d038e8e9ab3e318d210b7638074d2', class: "row gy-3" }, h("div", { key: 'e3e3635454797465b08b0df10023f66899d8dd04', class: "col-12" }, h("h2", { key: 'd65767d3d3b091afc8b9b4798e639214ede14726', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '258f8dadcb6aec223c1a039ee0100ed91d0b2896', class: "col-12" }, h("form-control-text", { key: 'e2206e72a7603ca15ea1d6a70593667e1eaf5132', 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: '792028d6ae5ee85765b91188e20330489cfd7bb3', class: "col-12" }, h("form-control-text", { key: 'a7288afe499a39a6c78bf8b1fe5f5e1a5bc6af27', 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: '82f8bfaa81e727226e013e94712928a5cdb03841', class: "col-12" }, h("form-control-textarea", { key: 'bd2410564783f6ae8acf1d1fb820bcbe4aea3aa5', 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: '84442373f62efaf5a1e14623d61eff0bc81f6751', class: "col-12" }, h("form-control-file-v2", { key: '4575df27d749c4520fa55d7f1fc901296ec2ed45', 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: 'f1c9f81104d1e080be993d0af29343c5d540cb43', class: "col-12" }, h("form-control-file-v2", { key: '8b8e4eefba1e84551645229204108bfe007012cf', 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: 'bfd32a0d9ae4fb268939513d5206912e6e60b499' }, h("div", { key: '2c41e7c7b33d711a7a4c76c4a3fccb569e9e9a44', class: "row gy-3" }, h("div", { key: '5cc774a79845c5899c1d34e402db5876cbf3e438', class: "col-12" }, h("h2", { key: '4f26c3cd1e6035100d9837bfbc9e8fda96b4b04e', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: 'e8f259b79ad4b0378ba9608499407e1f5506e962', class: "col-12" }, h("form-control-text", { key: 'abe5a8f45e4839d6c22e7a43b2561148226fa3f9', 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: '73f01e8f48b828b4469bd9a12ed20373e3a68ffe', class: "col-12" }, h("form-control-textarea", { key: '9d2779988e2fc60c4284a874b512a214a2f84831', 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: '77393e15774fbce72f9051414a8d92c07a7b8a00', class: "col-12" }, h("form-control-file-v2", { key: 'c89b9fe51f969e0eeaf34a0a1d5aa3e94374d26d', 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: '3a6188603e8cfdd1b24db55703f63b2199dc9e71' }, h("div", { key: '68cac9c229db9641e3f71e42e9f96d4b6437e9b9', class: "row gy-3" }, h("div", { key: '2060793e27c759d8fdf21765fcfbf0253ca9a016', class: "col-12" }, h("h2", { key: '21fb843b28af8fe9cfc2ef4aa297541fb3d9d61b', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '9743e65ce74307e5d4544c46f2507f4815d0a413', class: "col-12" }, h("form-control-text", { key: '213e56620c428e214d3b937a45fee4a0c2116caf', 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: 'ca7963f7cbc63caece9d0ff91fd6ae04a45bc9a7', class: "col-12" }, h("form-control-textarea", { key: '9edf3135b2cbbc61017fa1fd74f06da34982c4d6', 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: 'e0fe338e2bec5bc1889eeb72f8138f2f0fce497b', class: "col-12" }, h("form-control-file-v2", { key: '86851806bb69be1da6334376a44da6cddfa013e7', 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: '6d2edd78d7560d7f4c1b649b6682d9565642a471' }, h("div", { key: '943bb135558ddd1b77584348e1dc7a78eea9bf95', class: "row gy-3" }, h("div", { key: '114e921a4f2cfdb130c9a8fde298a8ffe2744662', class: "col-12" }, h("h2", { key: 'd2e5515b640557162bb8856fdc1bbd778b4cdab1', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '99e45755978c66b8ba8bd4ac3c57015900fc4aaf', class: "col-12" }, h("form-control-text", { key: 'f2d9724bfdd36297a72240d0709b777acc41566d', 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: 'fedc63aa2a66f0b65dd10bdb80973031813a5106', class: "col-12" }, h("form-control-file-v2", { key: '4c83a23b83af34e14575673377a1ed5ec6af0c63', 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: '2938a2cebbc08938a88af9848f674727c2925473' }, h("div", { key: 'fc85fd26921d9ffc0ed547bd4c4facb40cfbcd5f', class: "row gy-3" }, h("div", { key: 'b737248f4ffc77483816c80192b3b957ed899f67', class: "col-12" }, h("h2", { key: '4ee8776884ba4527e4ab6acf9255bc24ceda264c', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '6343a2a36120fd60a46c4a0d72096db778298d43', class: "col-12" }, h("form-control-text", { key: '26d4b151d39d0fcc100fa4494a5efca07905d152', 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: 'd9f2a4a6c66c32765a36378669b02faecbca070c', class: "col-12" }, h("form-control-file-v2", { key: 'f3284b4fc35f68e1120960e4728f0e8f472920fa', 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: '39e0aa0809a7f31075914992db63b4692e90c8f7' }, h("div", { key: '22ac8468a1f393d953674eb9df6ad8b8b841c809', class: "row gy-3" }, h("div", { key: 'b1f46f086d396273166299dd8bd529e79107f13a', class: "col-12" }, h("h2", { key: 'e1fdc1f37af032ae5f5616339e314185d9934f3d', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '1a23b1efc62e0d3b9d024794839fd471a50386ff', class: "col-12" }, h("form-control-text", { key: '309456cdc1d555c6a650701fbea26e86f6c361e8', 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: 'd4ca284ae38f394ee2ab89133648bf8948ccd4db', class: "col-12" }, h("form-control-date", { key: 'af3d48ac5b43ece0163f6ea35f5da50894790167', 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: 'fd55750e38937249a235870dd447efa9be17f19b', class: "col-12" }, h("form-control-file-v2", { key: 'c8c8bd2bb80a4dfc4b28907433673ed60bfedf8d', 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: '05fccd72cd4c7d22cd23e8f14518f0e70dacb3e5' }, h("div", { key: '464b6335fb494bbd13a4eb8ab8be0e73b7658a6b', class: "row gy-3" }, h("div", { key: '446a4650edee4c7b5caa8709afce2826484d1f28', class: "col-12" }, h("h2", { key: 'f2414eb4ea879136177702367591cb45542a6cdb', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '5ce3d90815b48a94f7aadc104aa02d3c04ef423d', class: "col-12" }, h("form-control-text", { key: '721d1376342972cb9a2a932c7a710231435905a5', 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: 'f3580d06b1e390c3f769177091aa93b9b82e5b26', class: "col-12" }, h("form-control-date", { key: '9166a295b843c890100a41d33d38c69aaaa69950', 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: 'd67631887c3178f05ae85112f71bcefb5807496c', class: "col-12" }, h("form-control-file-v2", { key: '8e9f0b2a8ffb264e3d89a36a452477a72482eb8a', 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: '7cee5ba256884cd7c605ecf15bb053491638d152' }, h("div", { key: '532fbf2796589fa07689891b645689251775fdd4', class: "row gy-3" }, h("div", { key: '3b09609d869fc9e88759cedb6dcf1f8a568e0d93', class: "col-12" }, h("h2", { key: '0322bce2a6c761e4c49f5c0fd7a200b3255c5dee', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '260dec4ba14d062998001f13ed26108b0eb45e56', class: "col-12" }, h("form-control-textarea", { key: '0ed21b81a6a708708179b3a163bb816b9d0a497e', 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: '2c1877075ada904c565f4556c7fe00021d85b137', class: "col-12" }, h("form-control-textarea", { key: '58b3c47e543a2f7a82010b47772b22329de8ed0e', 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: '990fe61c90b2be5d198d31fb0c5165fbbcc8d96e', class: "col-12" }, h("form-control-file-v2", { key: '6f725675ab78150e3005754475577f96d796a0d0', 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: '65eb12d67c8d84e55bc590454222b0cb8c17512f', class: "col-12" }, h("form-control-file-v2", { key: 'f8dae47642c8c41c079180075f89ebc9ca7812a7', 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: 'b0b610c20e194b94743d99212e2efffef56520f9' }, h("div", { key: '0a17bc79f6a07aba4cf9e5f5ef0ee4a6d484bf51', class: "row gy-3" }, h("div", { key: '517679d918a832bdf8b21554cc9e4121c304cdff', class: "col-12" }, h("h2", { key: 'c49dfd3f5072031b1ff07e51df4149548e79d83a', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '5d7af624762783c0151d31e4c9600381b8a8fa3a', class: "col-12" }, h("form-control-textarea", { key: 'fb4ca818378fa6d674ba7c389f906145b9d11627', 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: '0591b80676048c52034b0571ac94a1daad70f102', class: "col-12" }, h("form-control-textarea", { key: '1ce0a48f04f12a8d4bc91d01e90dd6caa32018af', 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: 'd02a401923e4c38427cff3245767441ef4b9f779', class: "col-12" }, h("form-control-file-v2", { key: '772aefaf3e0a54768ef9163df0de8ba6cfdb28b5', 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: 'd113a7eacf5a4aee4132baed5fd6a76bd670ba30', class: "col-12" }, h("form-control-file-v2", { key: '8a3c5f1d006e97ff6bb385a76818a325686ff1de', 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: '42e223f71b2bbb47452c42ef5fa3461c33fb1f05' }, h("div", { key: '202b32fe04059d34bbcc422a4d8a426148fffa4c', class: "row gy-3" }, h("div", { key: '4508298a411269d447989c859b9f916f3d288c38', class: "col-12" }, h("h2", { key: '732705ee8f3e8d3ebce839e33b7ef3a5ca108224', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: 'c373e96c63ed7398315f000250749fed7ee6b2ef', class: "col-12" }, h("form-control-text", { key: '7e4ce2f7ad55c07f4c67b8f80940e94d76d16f43', 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: '08e2067843ce83058c73c4673c88b8d1968d81a0', class: "col-12" }, h("form-control-text", { key: '5ed369c9064edd5fafc3c3a0142bcace1c3beaee', 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: 'fcfe5349a3f9d61039c61de7b1f70e517d479b09', class: "col-12" }, h("form-control-date", { key: 'fecafa215e1f4c042e54f34db584503fed7fbe35', 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: 'd87378a61c76bf5fb331f02fe6960abbed4d3d59', class: "col-12" }, h("form-control-textarea", { key: '1acffdfd447400ef9627359c0a892b93d4ba1a1c', 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: '28ebefe8f6db158dc76ca9b8ab86f12a7a968b82', class: "col-12" }, h("form-control-file-v2", { key: '7f4ba4acd413eb070a6126f43ab4bb77f3ac12ba', 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: '180df6d9062459eec271f148828a2dd57f18d271' }, h("div", { key: '406e8870df739225b547ada975dbd83085ea97d2', class: "row gy-3" }, h("div", { key: '44c088ffe6b0eb7cbe072069821de8c9d3e1892d', class: "col-12" }, h("h2", { key: '208bc93626a900b414ce3df5a8c3d7dfc5d1d75a', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '27cf473cefd457cc3c802cef99ace1584881bf16', class: "col-12" }, h("form-control-text", { key: '6dfa9be914863103a6362c6b9efd81c5be99b0f2', 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: '7b6f0e1d14698442a98df75f5635cbafc8172ddb', class: "col-12" }, h("form-control-text", { key: 'a5424f340602b3a1b3ccbe38a14ac36d0a6a74d2', 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: '1c956a0ef4ca9d3fbc61af14bcb6bca058aed8f7', class: "col-12" }, h("form-control-date", { key: '32c52e9178e9f54ef4f4695ffae0c124e025d354', 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: '34eed46e9dce3dffa3b8547ee2e601927a6b239b', class: "col-12" }, h("form-control-textarea", { key: 'f873c9a4c9d4518e35d76a61000d99e26e25f4a4', 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: '025fb202955938d89d6990eac237b1be66cf1945', class: "col-12" }, h("form-control-file-v2", { key: '135edc3fcaef1a07dde5c175a11b8c3f833b93c9', 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,29 +1,29 @@
1
1
  import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-CV0Pyo1O.js';
2
2
  import { A as Api } from './Api-CLZVsXZg.js';
3
- import { A as ApplePayConfig, r as ApplePayHelpers, s as ApplePayPaymentRequest, t as ApplePaySessionStatus, u as ApplePayButtonStyle, v as ApplePayButtonType, w as ApplePayMerchantCapability, I as ICheckoutStatus, m as PLAID_ERROR_SEVERITY, n as PLAID_ERROR_MESSAGES, o as PlaidErrorCodes } from './Plaid-Cmyilr-q.js';
3
+ import { A as ApplePayConfig, r as ApplePayHelpers, s as ApplePayPaymentRequest, t as ApplePaySessionStatus, u as ApplePayButtonStyle, v as ApplePayButtonType, w as ApplePayMerchantCapability, I as ICheckoutStatus, m as PLAID_ERROR_SEVERITY, n as PLAID_ERROR_MESSAGES, o as PlaidErrorCodes } from './Plaid-DOdR_CNb.js';
4
4
  import { S as StyledHost } from './styled-host-D6byRazK.js';
5
5
  import './event-types-CZfYo5-1.js';
6
- import { S as Skeleton } from './skeleton-C162KC3u.js';
6
+ import { S as Skeleton } from './skeleton-CV6EpBqb.js';
7
7
  import { c as checkoutStore, o as onAnyChange, g as getAvailablePaymentMethodTypes, a as getCheckoutState, b as onChange } from './checkout.store-iNkW80yV.js';
8
- import { H as text, u as radioListItem } from './parts-C4FLe2pT.js';
8
+ import { t as text, r as radioListItem } from './parts-D3V9AE6o.js';
9
9
  import { f as formatCurrency } from './utils-7bp92NC7.js';
10
10
  import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
11
- import { H as Header1 } from './header-1-xlSavD5o.js';
12
- import { H as Header2, b as insuranceValuesOn, h as hasInsuranceValueChanged, i as insuranceValues } from './insurance-state-jZTKdt60.js';
13
- import { H as Header3 } from './header-3-egutsoDI.js';
14
- import { J as JustifiAnalytics, c as checkPkgVersion } from './check-pkg-version-DKbeTbtv.js';
11
+ import { H as Header1 } from './header-1-CU8Erek9.js';
12
+ import { H as Header2, b as insuranceValuesOn, h as hasInsuranceValueChanged, i as insuranceValues } from './insurance-state-gsU4kKgc.js';
13
+ import { H as Header3 } from './header-3-BwJ-9MsW.js';
14
+ import { J as JustifiAnalytics, c as checkPkgVersion } from './check-pkg-version-Dn83YYz_.js';
15
15
  import './dinero-HXpYMWUU.js';
16
16
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes, b as ComponentErrorMessages } from './ComponentError-Cjcsf8ku.js';
17
17
  import './Pagination-CLHwhyvu.js';
18
18
  import './Business-BcNb9bVO.js';
19
19
  import './Dispute-BH0Xfn-F.js';
20
20
  import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
21
- import { C as CheckoutService } from './checkout.service-BcQ_onZq.js';
22
- import { P as PlaidService, p as plaidIconSvg } from './plaid-icon-B7a1QC7F.js';
21
+ import { C as CheckoutService } from './checkout.service-BTXHVtxI.js';
22
+ import { P as PlaidService } from './plaid.service-D61Eq14d.js';
23
23
  import { P as PAYMENT_METHODS, a as PaymentMethod, b as PAYMENT_MODE } from './index-DkoufM1t.js';
24
24
  import { C as CardBrandLabels } from './payment-method-option-utils-lUHAQVFl.js';
25
25
  import './index-cDVGjRkU.js';
26
- import './package-C2WozQkF.js';
26
+ import './package-qNXIkzDE.js';
27
27
 
28
28
  // Centralized error codes for Apple Pay service
29
29
  var ApplePayServiceErrorCode;
@@ -60,7 +60,7 @@ class ApplePayService {
60
60
  'Sub-Account': accountId,
61
61
  },
62
62
  body: {
63
- domain: window.location.host,
63
+ domain: window.location.hostname,
64
64
  display_name: this.applePayConfig.displayName
65
65
  }
66
66
  });
@@ -709,7 +709,7 @@ const Summary = class {
709
709
  registerInstance(this, hostRef);
710
710
  }
711
711
  render() {
712
- return (h(StyledHost, { key: '13d4dd7fbc2335e2af7c24066800e0642df0cd77' }, h("section", { key: '456cc598f5cf08e55b0c24ff23945b327df5fb66' }, h("div", { key: '37143e2b5157cfb973189335e357f39e78fbb7a1' }, h("div", { key: 'f4d34254b589f631e5cf7f49cab4d37933a7b1a0', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: '7d4f4bad72a2c637eafd95ab7dc73f5881ed4906' }, h("span", { key: '37b639cd520e87d73246f5d68a294fa2919376cd', part: text }, "Total"), "\u00A0", h("span", { key: '0ace5f0a3f53dd016d3d3167879364be20f407e4', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
712
+ return (h(StyledHost, { key: '74b2a1ebf22f1f7e7cb0cfbbbba8a3f8cd528a6b' }, h("section", { key: '6ea0bd41680b937c0ff88aa0f73c1ac4bccee9b9' }, h("div", { key: '6ca013f92dbaf076bda9a65c98acdf5c8192b22a' }, h("div", { key: '62f166bdc0b47e8cda03ee4d549736aaf336727e', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: 'c681ecba3bbceac71993833f8861393dc5751b4c' }, h("span", { key: '46eaedc091f44c2d3bad94cb6a05098385be8ebc', part: text }, "Total"), "\u00A0", h("span", { key: 'ad70de1a38c2c7625562cee3a745a6a61235f4cf', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
713
713
  }
714
714
  };
715
715
 
@@ -852,7 +852,7 @@ const Header = class {
852
852
  }
853
853
  render() {
854
854
  const HeaderComponent = this.levels[this.level];
855
- return (h(StyledHost, { key: '1fc31aaf9d222d4f53e4ca546fd323389f4154c3' }, h(HeaderComponent, { key: '6bc979a358b5a93159d378db2452b57133ed3aaa', text: this.text, class: this.class })));
855
+ return (h(StyledHost, { key: 'c1e23a5b492761bc527abc1bd59145dcd40b429f' }, h(HeaderComponent, { key: 'f7865a78f1671fdc7844805ef241188b5855afbf', text: this.text, class: this.class })));
856
856
  }
857
857
  };
858
858
 
@@ -1311,11 +1311,13 @@ const ModularCheckout = class {
1311
1311
  });
1312
1312
  }
1313
1313
  render() {
1314
- return h(Host, { key: 'ee341d8d78767a80e2627ea5244ba46ca63cd8df' });
1314
+ return h(Host, { key: 'dc4f1c1a2e9cc32100415e732817d4aaec063d89' });
1315
1315
  }
1316
1316
  get hostEl() { return getElement(this); }
1317
1317
  };
1318
1318
 
1319
+ const plaidIconSvg = 'data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjQ4IiB2aWV3Qm94PSIwIDAgMjggMjkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgY2xhc3M9ImNzcy0xcmRhajhtIj48ZyBmaWxsPSIjMTExIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yNS43NjI5IDI2LjI2MjhMMjggMTcuNTMwOUwyNC45NjkxIDE0LjUwMDFMMjcuOTk5OSAxMS40NjkxTDI1Ljc2MjggMi43MzcwNkwxNy4wMzA5IDAuNUwxNC4wMDAxIDMuNTMxTDEwLjk2OSAwLjUwMDE0TDIuMjM3MDYgMi43MzczNEwwIDExLjQ2OTFMMy4wMzEyOCAxNC40OTk5TDAuMDAwMTQgMTcuNTMxTDIuMjM3MiAyNi4yNjI5TDEwLjk2OTEgMjguNUwxNC4wMDAxIDI1LjQ2OUwxNy4wMzEgMjguNDk5OUwyNS43NjI5IDI2LjI2MjhaTTE1LjczMjEgMjMuNzM3MUwxOC42MTg2IDIwLjg1MDVMMjIuMjkxMiAyNC41MjMzTDE3LjY5NTYgMjUuNzAwN0wxNS43MzIxIDIzLjczNzFaTTExLjExMzYgOS44ODE1NEwxNC4wMDAzIDYuOTk1MDJMMTYuODg2OCA5Ljg4MTRMMTQuMDAwMSAxMi43Njc5TDExLjExMzYgOS44ODE1NFpNMTIuMjY4MiAxNC41TDkuMzgxNTQgMTcuMzg2NUw2LjQ5NTAyIDE0LjVMOS4zODE1NCAxMS42MTM1TDEyLjI2ODIgMTQuNVpNMTguNjE4NyAxMS42MTMzTDIxLjUwNTMgMTQuNUwxOC42MTg2IDE3LjM4NjVMMTUuNzMyMSAxNC41TDE4LjYxODcgMTEuNjEzM1pNMTYuODg2NyAxOS4xMTg2TDE0LjAwMDEgMjIuMDA1MUwxMS4xMTM1IDE5LjExODVMMTQuMDAwMSAxNi4yMzE5TDE2Ljg4NjcgMTkuMTE4NlpNMTAuMzA0NCAyNS43MDA3TDUuNzA4NjQgMjQuNTIzM0w5LjM4MTU0IDIwLjg1MDRMMTIuMjY4MiAyMy43MzcxTDEwLjMwNDQgMjUuNzAwN1pNNC43NjMwOCAxNi4yMzE5TDcuNjQ5NiAxOS4xMTg1TDMuOTc2NyAyMi43OTE0TDIuNzk5MyAxOC4xOTU3TDQuNzYzMDggMTYuMjMxOVpNMy45NzY3IDYuMjA4MzZMNy42NDk3NCA5Ljg4MTRMNC43NjMwOCAxMi43NjgxTDIuNzk5MyAxMC44MDQxTDMuOTc2NyA2LjIwODM2Wk0xMi4yNjgzIDUuMjYyOTRMOS4zODE2OCA4LjE0OTZMNS43MDg5MiA0LjQ3NjdMMTAuMzA0NyAzLjI5OTNMMTIuMjY4MyA1LjI2Mjk0Wk0xNy42OTU5IDMuMjk5M0wyMi4yOTE1IDQuNDc2N0wxOC42MTg2IDguMTQ5NDZMMTUuNzMyMSA1LjI2Mjk0TDE3LjY5NTkgMy4yOTkzWk0yMy4yMzcyIDEyLjc2ODFMMjAuMzUwNSA5Ljg4MTRMMjQuMDIzMyA2LjIwODc4TDI1LjIwMDcgMTAuODA0NkwyMy4yMzcyIDEyLjc2ODFaTTI0LjAyMzMgMjIuNzkxNEwyMC4zNTA1IDE5LjExODZMMjMuMjM3MiAxNi4yMzIxTDI1LjIwMDcgMTguMTk1N0wyNC4wMjMzIDIyLjc5MTRaIj48L3BhdGg+PC9nPjwvc3ZnPgo=';
1320
+
1319
1321
  const PlaidPaymentMethod = class {
1320
1322
  constructor(hostRef) {
1321
1323
  registerInstance(this, hostRef);
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, h } from './index-CV0Pyo1O.js';
2
2
  import { c as create$3, F as FormController } from './index.esm-BHdVU4hV.js';
3
3
  import { y as postalValidation, z as stateValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, v as identityNameValidation } from './schema-validations-v6WGlZkq.js';
4
- import { at as billingForm } from './parts-C4FLe2pT.js';
4
+ import { a9 as billingForm } from './parts-D3V9AE6o.js';
5
5
  import { S as StyledHost } from './styled-host-D6byRazK.js';
6
6
  import './event-types-CZfYo5-1.js';
7
- import { H as Header3 } from './header-3-egutsoDI.js';
7
+ import { H as Header3 } from './header-3-BwJ-9MsW.js';
8
8
  import { S as StateOptions } from './Business-BcNb9bVO.js';
9
9
  import './_commonjsHelpers-BFTU3MAI.js';
10
10
  import './country-config-P042rrI3.js';
@@ -1,21 +1,21 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
2
- import { E as ErrorState } from './utils-BSpK1eMX.js';
3
- import { B as BusinessService } from './business.service-CS-wQJoN.js';
2
+ import { E as ErrorState } from './utils-DUArY3am.js';
3
+ import { B as BusinessService } from './business.service-DSolii9Q.js';
4
4
  import { m as makeGetBusiness } from './get-business-BtJWpVs_.js';
5
5
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
6
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-DKbeTbtv.js';
7
- import './parts-C4FLe2pT.js';
6
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dn83YYz_.js';
7
+ import './parts-D3V9AE6o.js';
8
8
  import './Api-CLZVsXZg.js';
9
9
  import './config-state-kKn89dp1.js';
10
10
  import './index-cDVGjRkU.js';
11
11
  import './utils-7bp92NC7.js';
12
12
  import './dinero-HXpYMWUU.js';
13
- import './Plaid-Cmyilr-q.js';
13
+ import './Plaid-DOdR_CNb.js';
14
14
  import './Dispute-BH0Xfn-F.js';
15
15
  import './Pagination-CLHwhyvu.js';
16
16
  import './Business-BcNb9bVO.js';
17
17
  import './utils-BeQLScSm.js';
18
- import './package-C2WozQkF.js';
18
+ import './package-qNXIkzDE.js';
19
19
 
20
20
  const BusinessDetails = class {
21
21
  constructor(hostRef) {
@@ -5,28 +5,28 @@ import { i as identitySchemaUSA, a as addressSchemaUSA, b as identitySchemaCAN,
5
5
  import './config-state-kKn89dp1.js';
6
6
  import './dinero-HXpYMWUU.js';
7
7
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
8
- import './Plaid-Cmyilr-q.js';
8
+ import './Plaid-DOdR_CNb.js';
9
9
  import './Pagination-CLHwhyvu.js';
10
10
  import { C as CountryCode, B as Business, b as BusinessFormServerErrors } from './Business-BcNb9bVO.js';
11
11
  import './Dispute-BH0Xfn-F.js';
12
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-DKbeTbtv.js';
13
- import { B as Button } from './button-DOkTCYSa.js';
12
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dn83YYz_.js';
13
+ import { B as Button } from './button-CdXktiZq.js';
14
14
  import { S as StyledHost } from './styled-host-D6byRazK.js';
15
- import { H as Header1 } from './header-1-xlSavD5o.js';
15
+ import { H as Header1 } from './header-1-CU8Erek9.js';
16
16
  import './event-types-CZfYo5-1.js';
17
- import { S as Skeleton } from './skeleton-C162KC3u.js';
17
+ import { S as Skeleton } from './skeleton-CV6EpBqb.js';
18
18
  import { B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
19
19
  import { m as makeGetBusiness, b as makePatchBusiness } from './payment-provisioning-actions-CBvplwPf.js';
20
- import { B as BusinessService } from './business.service-CS-wQJoN.js';
20
+ import { B as BusinessService } from './business.service-DSolii9Q.js';
21
21
  import './_commonjsHelpers-BFTU3MAI.js';
22
22
  import './schema-validations-v6WGlZkq.js';
23
23
  import './country-config-P042rrI3.js';
24
24
  import './business-form-options-DRalxlqN.js';
25
25
  import './index-cDVGjRkU.js';
26
26
  import './utils-7bp92NC7.js';
27
- import './package-C2WozQkF.js';
27
+ import './package-qNXIkzDE.js';
28
28
  import './Api-CLZVsXZg.js';
29
- import './parts-C4FLe2pT.js';
29
+ import './parts-D3V9AE6o.js';
30
30
  import './utils-BeQLScSm.js';
31
31
 
32
32
  const businessFormSchemaUSA = create$3(Object.assign(Object.assign({}, businessCoreInfoSchemaUSA().fields), { legal_address: addressSchemaUSA(), additional_questions: additionalQuestionsSchema(), representative: identitySchemaUSA('representative') }));
@@ -1,18 +1,18 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
2
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-DKbeTbtv.js';
2
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dn83YYz_.js';
3
3
  import { c as checkoutStore } from './checkout.store-iNkW80yV.js';
4
- import { c as checkoutSummary } from './parts-C4FLe2pT.js';
4
+ import { c as checkoutSummary } from './parts-D3V9AE6o.js';
5
5
  import { S as StyledHost } from './styled-host-D6byRazK.js';
6
6
  import './event-types-CZfYo5-1.js';
7
7
  import { P as PAYMENT_METHODS } from './index-DkoufM1t.js';
8
- import './package-C2WozQkF.js';
8
+ import './package-qNXIkzDE.js';
9
9
  import './Api-CLZVsXZg.js';
10
10
  import './config-state-kKn89dp1.js';
11
11
  import './index-cDVGjRkU.js';
12
12
  import './utils-7bp92NC7.js';
13
13
  import './dinero-HXpYMWUU.js';
14
14
  import './ComponentError-Cjcsf8ku.js';
15
- import './Plaid-Cmyilr-q.js';
15
+ import './Plaid-DOdR_CNb.js';
16
16
  import './Dispute-BH0Xfn-F.js';
17
17
  import './Pagination-CLHwhyvu.js';
18
18
  import './Business-BcNb9bVO.js';