@justifi/webcomponents 6.14.4-rc.2 → 6.14.4

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 (447) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/{Analytics-DahOCpJB.js → Analytics-CMv0MKQ4.js} +3 -3
  3. package/dist/cjs/{Api-B4fSXAdi.js → Api-ChUqJ75C.js} +2 -2
  4. package/dist/cjs/{Plaid-CbaU5Arm.js → Plaid-B2o4c_Ej.js} +2 -0
  5. package/dist/cjs/additional-questions-form-step_15.cjs.entry.js +9 -9
  6. package/dist/cjs/{additional-questions_5.cjs.entry.js → additional-questions_4.cjs.entry.js} +0 -16
  7. package/dist/cjs/additional-statement_8.cjs.entry.js +8 -8
  8. package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +2 -2
  9. package/dist/cjs/bank-account-document-form-inputs.cjs.entry.js +3 -3
  10. package/dist/cjs/bank-account-form.cjs.entry.js +77 -27
  11. package/dist/cjs/{business.service-BAjtyKsg.js → business.service-BSoN1ENP.js} +2 -2
  12. package/dist/cjs/card-form.cjs.entry.js +79 -26
  13. package/dist/cjs/{check-pkg-version-DR4Ghb6-.js → check-pkg-version-mt-o0WFo.js} +1 -1
  14. package/dist/cjs/{checkout-actions-Cm38ZPqN.js → checkout-actions-VCJi-q4z.js} +2 -2
  15. package/dist/cjs/{checkout.service-DyL8PSeF.js → checkout.service-BDUrLWyA.js} +2 -2
  16. package/dist/cjs/{checkout.store-CZHrIuaP.js → checkout.store-DOa1-SjA.js} +18 -4
  17. package/dist/cjs/{payments-list-params-state-vGJZ6Oe2.js → checkouts-list-params-state-DDpRrUTY.js} +1 -1
  18. package/dist/cjs/{config-state-BIgGhhe9.js → config-state-C1YMiFpR.js} +1 -1
  19. package/dist/cjs/dispute-notification_2.cjs.entry.js +12 -12
  20. package/dist/cjs/{event-types-DyRIxSSS.js → event-types-DlZRGu3q.js} +2 -2
  21. package/dist/cjs/{hidden-input_2.cjs.entry.js → form-alert_3.cjs.entry.js} +34 -12
  22. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  23. package/dist/cjs/form-control-select_2.cjs.entry.js +2 -2
  24. package/dist/cjs/{get-business-B3Jf5X7U.js → get-business-BBDsPv-b.js} +2 -2
  25. package/dist/cjs/{get-payment-details-Q9lHwr8Y.js → get-payment-details-BYZeUFAB.js} +3 -3
  26. package/dist/cjs/{get-subaccounts-Csq0SIVV.js → get-subaccounts-w4iQAASi.js} +4 -4
  27. package/dist/cjs/{index-W-zoNiyM.js → index-DDrfAj-j.js} +21 -15
  28. package/dist/cjs/{insurance-state-B-XQRmMs.js → insurance-state-CHQD1ZGw.js} +1 -1
  29. package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +22 -26
  30. package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +7 -7
  31. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +7 -7
  32. package/dist/cjs/justifi-business-details.cjs.entry.js +10 -10
  33. package/dist/cjs/justifi-business-form.cjs.entry.js +10 -10
  34. package/dist/cjs/justifi-card-form.cjs.entry.js +7 -7
  35. package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +7 -7
  36. package/dist/cjs/justifi-checkout.cjs.entry.js +10 -15
  37. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
  38. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +13 -13
  39. package/dist/cjs/justifi-config-provider.cjs.entry.js +2 -2
  40. package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
  41. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -8
  42. package/dist/cjs/justifi-order-terminals.cjs.entry.js +11 -11
  43. package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -10
  44. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +10 -10
  45. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +9 -9
  46. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  47. package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -10
  48. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -10
  49. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +9 -9
  50. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
  51. package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -12
  52. package/dist/cjs/justifi-qr-terminal.cjs.entry.js +10 -10
  53. package/dist/cjs/justifi-refund-payment.cjs.entry.js +12 -12
  54. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -10
  55. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +4 -4
  56. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +9 -9
  57. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +4 -4
  58. package/dist/cjs/justifi-terminals-list.cjs.entry.js +11 -11
  59. package/dist/cjs/loader.cjs.js +1 -1
  60. package/dist/cjs/{package-DkLJAjev.js → package-V2lnhWch.js} +1 -1
  61. package/dist/cjs/{payment-provisioning-actions-DeURi9ZW.js → payment-provisioning-actions-CIsDrh8k.js} +2 -2
  62. package/dist/cjs/{payment.service-CBMsLP9b.js → payment.service-CUuADjYH.js} +2 -2
  63. package/dist/cjs/{checkouts-list-params-state-vGJZ6Oe2.js → payments-list-params-state-DDpRrUTY.js} +1 -1
  64. package/dist/cjs/{payout.service-BAturpCC.js → payout.service-D_gucuzq.js} +2 -2
  65. package/dist/cjs/{payouts-list-params-state-vGJZ6Oe2.js → payouts-list-params-state-DDpRrUTY.js} +1 -1
  66. package/dist/cjs/{payouts-status-BKO9VMJ_.js → payouts-status-DVU5138C.js} +2 -2
  67. package/dist/cjs/{plaid.service-DJ42fz7B.js → plaid.service-DIPjzg_M.js} +2 -2
  68. package/dist/cjs/save-new-payment-method.cjs.entry.js +2 -2
  69. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  70. package/dist/cjs/{terminal-orders-list-params-state-vGJZ6Oe2.js → terminal-orders-list-params-state-DDpRrUTY.js} +1 -1
  71. package/dist/cjs/{terminal.service-C4ksBqBo.js → terminal.service-DVxXWBU7.js} +2 -2
  72. package/dist/cjs/terminals-list-params-state-DDpRrUTY.js +22 -0
  73. package/dist/cjs/{utils-8zgGi717.js → utils-WrOn06xB.js} +1 -1
  74. package/dist/cjs/webcomponents.cjs.js +1 -1
  75. package/dist/collection/api/ComponentError.js +2 -0
  76. package/dist/collection/collection-manifest.json +2 -2
  77. package/dist/collection/components/checkout/bank-account-form/bank-account-form-skeleton.js +1 -5
  78. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +93 -19
  79. package/dist/collection/components/checkout/card-form/card-form-skeleton.js +1 -5
  80. package/dist/collection/components/checkout/card-form/card-form.js +96 -19
  81. package/dist/collection/components/checkout/justifi-checkout.js +2 -7
  82. package/dist/collection/components/checkout/test/use-bridged-fake-timers.js +14 -0
  83. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
  84. package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +2 -2
  85. package/dist/collection/components/dispute-management/dispute-notification.js +2 -2
  86. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  87. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  88. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  89. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  90. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  91. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  92. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  93. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  94. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  95. package/dist/collection/components/dispute-management/justifi-dispute-management.js +1 -1
  96. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  97. package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +8 -5
  98. package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +1 -8
  99. package/dist/collection/components/refund-payment/justifi-refund-payment.js +2 -2
  100. package/dist/collection/store/checkout.store.js +17 -3
  101. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  102. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  103. package/dist/collection/ui-components/form/iframe-input.js +26 -3
  104. package/dist/docs.json +100 -18
  105. package/dist/esm/{Analytics-WT1A3bAb.js → Analytics-C8-CZjVs.js} +4 -4
  106. package/dist/esm/{Api-DoxYyzWs.js → Api-BmZr64rt.js} +2 -2
  107. package/dist/esm/{Business-BcNb9bVO.js → Business-DaDqgDrb.js} +1 -1
  108. package/dist/esm/{Plaid-D389VmvK.js → Plaid-DJ-4YL0_.js} +2 -0
  109. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  110. package/dist/esm/additional-questions-form-step_15.entry.js +19 -19
  111. package/dist/esm/{additional-questions_5.entry.js → additional-questions_4.entry.js} +5 -20
  112. package/dist/esm/additional-statement_8.entry.js +9 -9
  113. package/dist/esm/{badge-Dlcl9qdm.js → badge-B7QMpafx.js} +1 -1
  114. package/dist/esm/bank-account-billing-form-simple_4.entry.js +8 -8
  115. package/dist/esm/bank-account-document-form-inputs.entry.js +4 -4
  116. package/dist/esm/bank-account-form.entry.js +80 -30
  117. package/dist/esm/bank-account-read-only-value.entry.js +1 -1
  118. package/dist/esm/{business-form-options-DXjZp4Rl.js → business-form-options-BxVQL9ar.js} +1 -1
  119. package/dist/esm/{business-identity-schema-CXfLi-Wi.js → business-identity-schema-BkmRlnQo.js} +3 -3
  120. package/dist/esm/{business.service-DhBcj7ui.js → business.service-BTTf2CSv.js} +3 -3
  121. package/dist/esm/{button-BvzOzV4l.js → button-CBzHAOFW.js} +1 -1
  122. package/dist/esm/card-form.entry.js +82 -29
  123. package/dist/esm/{check-pkg-version-BL_f_mbi.js → check-pkg-version-B697jYyG.js} +1 -1
  124. package/dist/esm/{checkout-actions-Bmn6v-SS.js → checkout-actions-DhL8YxrK.js} +2 -2
  125. package/dist/esm/{checkout.service-NUZlIPnJ.js → checkout.service-B3BXVtHv.js} +3 -3
  126. package/dist/esm/{checkout.store-DibfdUMm.js → checkout.store-B6amfNq_.js} +18 -4
  127. package/dist/esm/{checkouts-list-params-state-CiGfmyWW.js → checkouts-list-params-state-DfRLZrOO.js} +1 -1
  128. package/dist/esm/{config-state-kKn89dp1.js → config-state-BKOsYBXZ.js} +1 -1
  129. package/dist/esm/{country-config-CEJVOOGe.js → country-config-CJwnhkdq.js} +1 -1
  130. package/dist/esm/custom-popper_2.entry.js +1 -1
  131. package/dist/esm/dispute-notification_2.entry.js +16 -16
  132. package/dist/esm/{event-types-CXLixpiw.js → event-types-DEIzZDtB.js} +3 -3
  133. package/dist/esm/form-address-fields_3.entry.js +4 -4
  134. package/dist/esm/{hidden-input_2.entry.js → form-alert_3.entry.js} +29 -8
  135. package/dist/esm/form-control-checkbox.entry.js +5 -5
  136. package/dist/esm/form-control-date.entry.js +2 -2
  137. package/dist/esm/{form-control-error-text-Di9QePY5.js → form-control-error-text-FyanxO4T.js} +1 -1
  138. package/dist/esm/form-control-file-v2_2.entry.js +2 -2
  139. package/dist/esm/form-control-file.entry.js +2 -2
  140. package/dist/esm/{form-control-help-text-DGMpMuAm.js → form-control-help-text-DxvEdU36.js} +1 -1
  141. package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
  142. package/dist/esm/form-control-monetary.entry.js +3 -3
  143. package/dist/esm/form-control-number_2.entry.js +7 -7
  144. package/dist/esm/form-control-radio.entry.js +1 -1
  145. package/dist/esm/form-control-select_2.entry.js +4 -4
  146. package/dist/esm/{get-business-CDr7VlTq.js → get-business-BSyOONF0.js} +3 -3
  147. package/dist/esm/{get-payment-details-CpM_upcS.js → get-payment-details-CoGzqJ6o.js} +4 -4
  148. package/dist/esm/{get-subaccounts-Dnf1EKn1.js → get-subaccounts-CnKtCpiU.js} +5 -5
  149. package/dist/esm/{header-1-evYxFIGN.js → header-1-BI0o3rMW.js} +1 -1
  150. package/dist/esm/{header-3-BUDap2xY.js → header-3-DNqRk_HO.js} +1 -1
  151. package/dist/esm/{index-cDVGjRkU.js → index-3wWWWrhn.js} +21 -15
  152. package/dist/esm/{input-handlers-1lVyzImK.js → input-handlers-Dfuc6aDW.js} +1 -1
  153. package/dist/esm/{insurance-state-C5OZqDCT.js → insurance-state-DM0VaTpH.js} +2 -2
  154. package/dist/esm/internal-button.entry.js +2 -2
  155. package/dist/esm/justifi-apple-pay_11.entry.js +27 -31
  156. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +8 -8
  157. package/dist/esm/justifi-bank-account-form.entry.js +8 -8
  158. package/dist/esm/justifi-business-details.entry.js +14 -14
  159. package/dist/esm/justifi-business-form.entry.js +19 -19
  160. package/dist/esm/justifi-card-form.entry.js +8 -8
  161. package/dist/esm/justifi-checkout-qr-code.entry.js +8 -8
  162. package/dist/esm/justifi-checkout.entry.js +12 -17
  163. package/dist/esm/justifi-checkouts-list-filters.entry.js +8 -8
  164. package/dist/esm/justifi-checkouts-list.entry.js +18 -18
  165. package/dist/esm/justifi-config-provider.entry.js +2 -2
  166. package/dist/esm/justifi-details.entry.js +2 -2
  167. package/dist/esm/justifi-dispute-management.entry.js +11 -11
  168. package/dist/esm/justifi-gross-payment-chart.entry.js +12 -12
  169. package/dist/esm/justifi-order-terminals.entry.js +14 -14
  170. package/dist/esm/justifi-payment-details.entry.js +16 -16
  171. package/dist/esm/justifi-payment-provisioning.entry.js +15 -15
  172. package/dist/esm/justifi-payment-transactions-list.entry.js +13 -13
  173. package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
  174. package/dist/esm/justifi-payments-list.entry.js +16 -16
  175. package/dist/esm/justifi-payout-details.entry.js +16 -16
  176. package/dist/esm/justifi-payout-transactions-list.entry.js +13 -13
  177. package/dist/esm/justifi-payouts-list-filters.entry.js +6 -6
  178. package/dist/esm/justifi-payouts-list.entry.js +17 -17
  179. package/dist/esm/justifi-qr-terminal.entry.js +11 -11
  180. package/dist/esm/justifi-refund-payment.entry.js +16 -16
  181. package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
  182. package/dist/esm/justifi-season-interruption-insurance.entry.js +13 -13
  183. package/dist/esm/justifi-skeleton.entry.js +2 -2
  184. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +6 -6
  185. package/dist/esm/justifi-terminal-orders-list.entry.js +14 -14
  186. package/dist/esm/justifi-terminals-list-filters.entry.js +6 -6
  187. package/dist/esm/justifi-terminals-list.entry.js +16 -16
  188. package/dist/esm/loader.js +1 -1
  189. package/dist/esm/{package-CrTWHVKE.js → package-DlhPMNzz.js} +1 -1
  190. package/dist/esm/pagination-menu.entry.js +1 -1
  191. package/dist/esm/{parts-CPKMvyV_.js → parts-Bu7gdOaV.js} +1 -1
  192. package/dist/esm/payment-method-option.entry.js +1 -1
  193. package/dist/esm/{payment-provisioning-actions-BJYx_JgF.js → payment-provisioning-actions-DJKGndr3.js} +2 -2
  194. package/dist/esm/payment-provisioning-form-buttons_2.entry.js +3 -3
  195. package/dist/esm/{payment-provisioning-loading-Dve2xQA4.js → payment-provisioning-loading-BxHRVFDi.js} +1 -1
  196. package/dist/esm/{payment.service-UBuViC7e.js → payment.service-Ciw1eGvT.js} +3 -3
  197. package/dist/esm/{payments-list-params-state-CiGfmyWW.js → payments-list-params-state-DfRLZrOO.js} +1 -1
  198. package/dist/esm/{payments-status-BlVUt4C1.js → payments-status-If2fvwlv.js} +1 -1
  199. package/dist/esm/{payout.service-CV2uYm-0.js → payout.service-2jjZOOvC.js} +3 -3
  200. package/dist/esm/{payouts-list-params-state-CiGfmyWW.js → payouts-list-params-state-DfRLZrOO.js} +1 -1
  201. package/dist/esm/{payouts-status-BnB9006T.js → payouts-status-C0nijel1.js} +3 -3
  202. package/dist/esm/{plaid.service-B0mFmUgQ.js → plaid.service-CuAL_uL3.js} +3 -3
  203. package/dist/esm/radio-list-item.entry.js +1 -1
  204. package/dist/esm/save-new-payment-method.entry.js +2 -2
  205. package/dist/esm/{schema-validations-DJilm-Nh.js → schema-validations-8dbMCACI.js} +3 -3
  206. package/dist/esm/{skeleton-BEHo2ypu.js → skeleton-dbktEkFS.js} +1 -1
  207. package/dist/esm/{spinner-DIiQZd6_.js → spinner-EZmqiSfd.js} +1 -1
  208. package/dist/esm/{table-DqGfsdys.js → table-CD17nv9n.js} +2 -2
  209. package/dist/esm/table-filters-menu.entry.js +3 -3
  210. package/dist/esm/{terminal-orders-list-params-state-CiGfmyWW.js → terminal-orders-list-params-state-DfRLZrOO.js} +1 -1
  211. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  212. package/dist/esm/{terminal.service-ClKFvbFw.js → terminal.service-Di5Ma4sp.js} +3 -3
  213. package/dist/esm/terminals-list-params-state-DfRLZrOO.js +16 -0
  214. package/dist/esm/{utils-CX6puxwf.js → utils-BFduyAPr.js} +1 -1
  215. package/dist/esm/{utils-BdBZQD1G.js → utils-D6LKoG0M.js} +1 -1
  216. package/dist/esm/webcomponents.js +1 -1
  217. package/dist/module/Plaid.js +2 -0
  218. package/dist/module/additional-statement2.js +1 -1
  219. package/dist/module/bank-account-form2.js +84 -25
  220. package/dist/module/business-bank-account-form-step2.js +1 -1
  221. package/dist/module/business-core-info-form-step2.js +1 -1
  222. package/dist/module/business-core-info2.js +1 -1
  223. package/dist/module/business-documents-on-file2.js +1 -1
  224. package/dist/module/business-owners-form-step2.js +1 -1
  225. package/dist/module/business-representative-form-inputs2.js +1 -1
  226. package/dist/module/business-representative2.js +1 -1
  227. package/dist/module/button.js +1 -1
  228. package/dist/module/cancellation-policy2.js +1 -1
  229. package/dist/module/card-form2.js +87 -25
  230. package/dist/module/checkout.store.js +17 -3
  231. package/dist/module/customer-details2.js +1 -1
  232. package/dist/module/dispute-notification2.js +3 -3
  233. package/dist/module/dispute-response2.js +2 -2
  234. package/dist/module/document-upload-list2.js +1 -1
  235. package/dist/module/duplicate-charge2.js +1 -1
  236. package/dist/module/electronic-evidence2.js +1 -1
  237. package/dist/module/form-alert2.js +1 -1
  238. package/dist/module/form-control-checkbox2.js +3 -3
  239. package/dist/module/form-control-select2.js +2 -2
  240. package/dist/module/header-3.js +1 -1
  241. package/dist/module/iframe-input2.js +11 -4
  242. package/dist/module/index3.js +21 -15
  243. package/dist/module/justifi-apple-pay2.js +1 -8
  244. package/dist/module/justifi-bank-account-form.js +8 -2
  245. package/dist/module/justifi-card-form.js +8 -2
  246. package/dist/module/justifi-checkout.js +22 -21
  247. package/dist/module/justifi-checkouts-list-filters.js +2 -2
  248. package/dist/module/justifi-checkouts-list.js +3 -3
  249. package/dist/module/justifi-dispute-management.js +1 -1
  250. package/dist/module/justifi-modular-checkout2.js +8 -5
  251. package/dist/module/justifi-order-terminals.js +1 -1
  252. package/dist/module/justifi-payment-transactions-list.js +1 -1
  253. package/dist/module/justifi-payments-list.js +1 -1
  254. package/dist/module/justifi-payout-transactions-list.js +1 -1
  255. package/dist/module/justifi-payouts-list.js +1 -1
  256. package/dist/module/justifi-refund-payment.js +2 -2
  257. package/dist/module/justifi-terminal-orders-list.js +1 -1
  258. package/dist/module/justifi-terminals-list.js +1 -1
  259. package/dist/module/justifi-tokenize-payment-method2.js +20 -14
  260. package/dist/module/owner-form-inputs2.js +1 -1
  261. package/dist/module/owner-form2.js +1 -1
  262. package/dist/module/package.js +1 -1
  263. package/dist/module/parts.js +1 -1
  264. package/dist/module/plaid-verification2.js +1 -1
  265. package/dist/module/product-or-service2.js +1 -1
  266. package/dist/module/refund-policy2.js +1 -1
  267. package/dist/module/shipping-details2.js +1 -1
  268. package/dist/module/table-filters-menu2.js +1 -1
  269. package/dist/module/table.js +1 -1
  270. package/dist/module/terminal-quantity-selector2.js +1 -1
  271. package/dist/types/api/ComponentError.d.ts +2 -0
  272. package/dist/types/components/checkout/bank-account-form/bank-account-form-skeleton.d.ts +1 -4
  273. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +11 -1
  274. package/dist/types/components/checkout/card-form/card-form-skeleton.d.ts +1 -4
  275. package/dist/types/components/checkout/card-form/card-form.d.ts +12 -2
  276. package/dist/types/components/checkout/test/use-bridged-fake-timers.d.ts +1 -0
  277. package/dist/types/components/modular-checkout/justifi-modular-checkout.d.ts +1 -0
  278. package/dist/types/components/modular-checkout/sub-components/justifi-apple-pay.d.ts +0 -1
  279. package/dist/types/components.d.ts +33 -0
  280. package/dist/types/store/checkout.store.d.ts +1 -3
  281. package/dist/types/ui-components/form/iframe-input.d.ts +2 -0
  282. package/dist/webcomponents/{p-c1ada405.entry.js → p-003cd0b9.entry.js} +1 -1
  283. package/dist/webcomponents/p-041a22dd.entry.js +1 -0
  284. package/dist/webcomponents/{p-ec6978cb.entry.js → p-0464be7b.entry.js} +1 -1
  285. package/dist/webcomponents/p-0ae95f48.entry.js +1 -0
  286. package/dist/webcomponents/p-0c2848c8.entry.js +1 -0
  287. package/dist/webcomponents/{p-26fe714a.entry.js → p-11294ee2.entry.js} +1 -1
  288. package/dist/webcomponents/{p-b46f303d.entry.js → p-1255176f.entry.js} +1 -1
  289. package/dist/webcomponents/{p-1cff91b7.entry.js → p-15934f30.entry.js} +1 -1
  290. package/dist/webcomponents/p-19721f28.entry.js +1 -0
  291. package/dist/webcomponents/{p-2ba48cf1.entry.js → p-1a1591e3.entry.js} +1 -1
  292. package/dist/webcomponents/{p-0a4fcb15.entry.js → p-1cdbe8c1.entry.js} +1 -1
  293. package/dist/webcomponents/{p-debc4768.entry.js → p-2139497d.entry.js} +1 -1
  294. package/dist/webcomponents/{p-f8734760.entry.js → p-34a4924b.entry.js} +1 -1
  295. package/dist/webcomponents/p-359e35b5.entry.js +1 -0
  296. package/dist/webcomponents/{p-8fd18ce2.entry.js → p-36d7033b.entry.js} +1 -1
  297. package/dist/webcomponents/{p-dc0cc4aa.entry.js → p-3ef039ec.entry.js} +1 -1
  298. package/dist/webcomponents/p-40332723.entry.js +1 -0
  299. package/dist/webcomponents/{p-65c3288f.entry.js → p-465e9e1c.entry.js} +1 -1
  300. package/dist/webcomponents/{p-b03e361e.entry.js → p-49e40ebe.entry.js} +1 -1
  301. package/dist/webcomponents/{p-5a58f606.entry.js → p-4d60d249.entry.js} +1 -1
  302. package/dist/webcomponents/p-546e5799.entry.js +1 -0
  303. package/dist/webcomponents/{p-2dfdecbb.entry.js → p-558677a7.entry.js} +1 -1
  304. package/dist/webcomponents/{p-f953fd60.entry.js → p-568b81a2.entry.js} +1 -1
  305. package/dist/webcomponents/{p-BS8j0DWf.js → p-5_w3jWjY.js} +1 -1
  306. package/dist/webcomponents/{p-73deced9.entry.js → p-61eae8cd.entry.js} +1 -1
  307. package/dist/webcomponents/p-63ed941e.entry.js +1 -0
  308. package/dist/webcomponents/p-661f50a9.entry.js +1 -0
  309. package/dist/webcomponents/p-6f34fa90.entry.js +1 -0
  310. package/dist/webcomponents/{p-e020f003.entry.js → p-6f88f836.entry.js} +1 -1
  311. package/dist/webcomponents/{p-9399f4f1.entry.js → p-715df6a8.entry.js} +1 -1
  312. package/dist/webcomponents/p-73f97f6a.entry.js +1 -0
  313. package/dist/webcomponents/{p-06d3d9b6.entry.js → p-74de23d8.entry.js} +1 -1
  314. package/dist/webcomponents/{p-6f5d9579.entry.js → p-8507bd99.entry.js} +1 -1
  315. package/dist/webcomponents/p-851a5865.entry.js +1 -0
  316. package/dist/webcomponents/p-8bf07094.entry.js +1 -0
  317. package/dist/webcomponents/p-8fO8CrtQ.js +1 -0
  318. package/dist/webcomponents/p-9c506058.entry.js +1 -0
  319. package/dist/webcomponents/{p-c1209de0.entry.js → p-9f3b1212.entry.js} +1 -1
  320. package/dist/webcomponents/p-B-Ik8b-s.js +1 -0
  321. package/dist/webcomponents/p-B4Xi-t8v.js +1 -0
  322. package/dist/webcomponents/{p-DVJaoI_m.js → p-B4vLfYnZ.js} +1 -1
  323. package/dist/webcomponents/p-BAB1lPu0.js +1 -0
  324. package/dist/webcomponents/p-BLhz_ggG.js +1 -0
  325. package/dist/webcomponents/p-BTuqVZ6O.js +1 -0
  326. package/dist/webcomponents/{p-Cu7hgXL1.js → p-Bh6Q8AqQ.js} +1 -1
  327. package/dist/webcomponents/{p-D1_eip6x.js → p-Bi_GCMx0.js} +1 -1
  328. package/dist/webcomponents/{p-C7lKXwUt.js → p-BpFSR2PV.js} +1 -1
  329. package/dist/webcomponents/{p-CB69z5Eh.js → p-BsnuluAl.js} +1 -1
  330. package/dist/webcomponents/{p-CPKMvyV_.js → p-Bu7gdOaV.js} +1 -1
  331. package/dist/webcomponents/p-BzjgvHHT.js +1 -0
  332. package/dist/webcomponents/{p-DfL-8Yvt.js → p-C1x6dkgs.js} +1 -1
  333. package/dist/webcomponents/p-CArdj6i_.js +1 -0
  334. package/dist/webcomponents/p-CGnRD4wF.js +1 -0
  335. package/dist/webcomponents/p-CLZcevBz.js +1 -0
  336. package/dist/webcomponents/p-CMvr3y5s.js +1 -0
  337. package/dist/webcomponents/{p-CHo7TfsM.js → p-CU2Dwa94.js} +1 -1
  338. package/dist/webcomponents/p-CZk3i5Tu.js +1 -0
  339. package/dist/webcomponents/p-CaLXuYmg.js +1 -0
  340. package/dist/webcomponents/{p-DPA5TKvQ.js → p-CawcnSoV.js} +1 -1
  341. package/dist/webcomponents/p-CbyGKcz_.js +1 -0
  342. package/dist/webcomponents/{p-CvFpXdzD.js → p-CfYe14W-.js} +1 -1
  343. package/dist/webcomponents/p-Chs1q3Hw.js +1 -0
  344. package/dist/webcomponents/{p-B9fbqJSf.js → p-Co3Rtlnu.js} +1 -1
  345. package/dist/webcomponents/p-CumGHL0N.js +1 -0
  346. package/dist/webcomponents/p-D1H6VUbM.js +1 -0
  347. package/dist/webcomponents/p-D437Px2O.js +1 -0
  348. package/dist/webcomponents/p-DCwSevh5.js +1 -0
  349. package/dist/webcomponents/p-DD9-ceDZ.js +1 -0
  350. package/dist/webcomponents/p-DNuxxP2B.js +1 -0
  351. package/dist/webcomponents/p-DNxN6bjU.js +1 -0
  352. package/dist/webcomponents/p-DUtecvro.js +1 -0
  353. package/dist/webcomponents/{p-BICxxa69.js → p-DZr0wLGh.js} +1 -1
  354. package/dist/webcomponents/{p-BcNb9bVO.js → p-DaDqgDrb.js} +1 -1
  355. package/dist/webcomponents/p-DgTOxu8x.js +1 -0
  356. package/dist/webcomponents/p-Dl0CAW76.js +1 -0
  357. package/dist/webcomponents/p-DlhPMNzz.js +1 -0
  358. package/dist/webcomponents/{p-DHB_XJ12.js → p-Do9dxNjh.js} +1 -1
  359. package/dist/webcomponents/{p-BGD3uog3.js → p-DwLofzXZ.js} +1 -1
  360. package/dist/webcomponents/{p-CHw7tICr.js → p-Dz8KJn2G.js} +1 -1
  361. package/dist/webcomponents/p-MPer3Rw7.js +1 -0
  362. package/dist/webcomponents/{p-BBSnDYJw.js → p-OReJ-ZQb.js} +1 -1
  363. package/dist/webcomponents/{p-33070a71.entry.js → p-a0515894.entry.js} +1 -1
  364. package/dist/webcomponents/{p-76ded81e.entry.js → p-a14d3d7d.entry.js} +1 -1
  365. package/dist/webcomponents/{p-2599e169.entry.js → p-a6f68a03.entry.js} +1 -1
  366. package/dist/webcomponents/{p-49c13952.entry.js → p-af0c6421.entry.js} +1 -1
  367. package/dist/webcomponents/p-b140a8b8.entry.js +1 -0
  368. package/dist/webcomponents/{p-528eef2d.entry.js → p-b17fabdc.entry.js} +1 -1
  369. package/dist/webcomponents/{p-db09f306.entry.js → p-b2129553.entry.js} +1 -1
  370. package/dist/webcomponents/{p-605bd107.entry.js → p-b39dd96b.entry.js} +1 -1
  371. package/dist/webcomponents/{p-8476b45a.entry.js → p-b4d216cf.entry.js} +1 -1
  372. package/dist/webcomponents/{p-e1e91bbb.entry.js → p-b8d46fc5.entry.js} +1 -1
  373. package/dist/webcomponents/{p-53d775b9.entry.js → p-b945fa49.entry.js} +1 -1
  374. package/dist/webcomponents/{p-75b5d6ac.entry.js → p-b9b5d046.entry.js} +1 -1
  375. package/dist/webcomponents/p-bc435cae.entry.js +1 -0
  376. package/dist/webcomponents/{p-52b25165.entry.js → p-bd46911b.entry.js} +1 -1
  377. package/dist/webcomponents/p-bf3866b3.entry.js +1 -0
  378. package/dist/webcomponents/p-c4799285.entry.js +1 -0
  379. package/dist/webcomponents/p-cb5d2198.entry.js +1 -0
  380. package/dist/webcomponents/p-cb977890.entry.js +1 -0
  381. package/dist/webcomponents/{p-58e8d646.entry.js → p-d6122124.entry.js} +1 -1
  382. package/dist/webcomponents/{p-67a444f7.entry.js → p-db71a012.entry.js} +1 -1
  383. package/dist/webcomponents/p-dd2654f5.entry.js +1 -0
  384. package/dist/webcomponents/{p-14a03ad0.entry.js → p-de8c6cd4.entry.js} +1 -1
  385. package/dist/webcomponents/p-eBK-iWrz.js +1 -0
  386. package/dist/webcomponents/{p-9735a37b.entry.js → p-ee78df81.entry.js} +1 -1
  387. package/dist/webcomponents/p-f0083ace.entry.js +1 -0
  388. package/dist/webcomponents/{p-eccc1fc6.entry.js → p-f6941969.entry.js} +1 -1
  389. package/dist/webcomponents/p-f9d0b34d.entry.js +1 -0
  390. package/dist/webcomponents/{p-396ed502.entry.js → p-fbd08a2e.entry.js} +4 -4
  391. package/dist/webcomponents/p-x2oNTAWh.js +1 -0
  392. package/dist/webcomponents/webcomponents.esm.js +1 -1
  393. package/package.json +15 -15
  394. package/dist/cjs/terminals-list-params-state-vGJZ6Oe2.js +0 -22
  395. package/dist/esm/terminals-list-params-state-CiGfmyWW.js +0 -16
  396. package/dist/webcomponents/p-0f2a1ac9.entry.js +0 -1
  397. package/dist/webcomponents/p-1b51dea9.entry.js +0 -1
  398. package/dist/webcomponents/p-1de248b1.entry.js +0 -1
  399. package/dist/webcomponents/p-1e3f096f.entry.js +0 -1
  400. package/dist/webcomponents/p-25215ee7.entry.js +0 -1
  401. package/dist/webcomponents/p-6fe329d6.entry.js +0 -1
  402. package/dist/webcomponents/p-7d61e758.entry.js +0 -1
  403. package/dist/webcomponents/p-7dfe47bf.entry.js +0 -1
  404. package/dist/webcomponents/p-86e0ac37.entry.js +0 -1
  405. package/dist/webcomponents/p-8fabef40.entry.js +0 -1
  406. package/dist/webcomponents/p-925ca097.entry.js +0 -1
  407. package/dist/webcomponents/p-9cc293aa.entry.js +0 -1
  408. package/dist/webcomponents/p-AMVhBsGv.js +0 -1
  409. package/dist/webcomponents/p-AyLerOda.js +0 -1
  410. package/dist/webcomponents/p-B5gBiARs.js +0 -1
  411. package/dist/webcomponents/p-BPTtWj7E.js +0 -1
  412. package/dist/webcomponents/p-B_i1R4O_.js +0 -1
  413. package/dist/webcomponents/p-BmrZbyuT.js +0 -1
  414. package/dist/webcomponents/p-BwPS3971.js +0 -1
  415. package/dist/webcomponents/p-C-Jgmek8.js +0 -1
  416. package/dist/webcomponents/p-C6o0liMT.js +0 -1
  417. package/dist/webcomponents/p-CXIRxyAr.js +0 -1
  418. package/dist/webcomponents/p-CXZRiaUw.js +0 -1
  419. package/dist/webcomponents/p-Ce_W43gc.js +0 -1
  420. package/dist/webcomponents/p-CpGEMRkH.js +0 -1
  421. package/dist/webcomponents/p-CqiVXthx.js +0 -1
  422. package/dist/webcomponents/p-CrTWHVKE.js +0 -1
  423. package/dist/webcomponents/p-D8GTwl9v.js +0 -1
  424. package/dist/webcomponents/p-DMB1dln7.js +0 -1
  425. package/dist/webcomponents/p-DSclFZ32.js +0 -1
  426. package/dist/webcomponents/p-DYHjzFnJ.js +0 -1
  427. package/dist/webcomponents/p-Dm07nLGs.js +0 -1
  428. package/dist/webcomponents/p-Dsm1jN-a.js +0 -1
  429. package/dist/webcomponents/p-Dw63wyhO.js +0 -1
  430. package/dist/webcomponents/p-DyPk4BJt.js +0 -1
  431. package/dist/webcomponents/p-ECg6MX8R.js +0 -1
  432. package/dist/webcomponents/p-Sr5nnVDM.js +0 -1
  433. package/dist/webcomponents/p-Xf0jRfzp.js +0 -1
  434. package/dist/webcomponents/p-a55fe1c2.entry.js +0 -1
  435. package/dist/webcomponents/p-a7c7898d.entry.js +0 -1
  436. package/dist/webcomponents/p-aa3f1d88.entry.js +0 -1
  437. package/dist/webcomponents/p-b2c4f61b.entry.js +0 -1
  438. package/dist/webcomponents/p-b8fcb871.entry.js +0 -1
  439. package/dist/webcomponents/p-ca9886fd.entry.js +0 -1
  440. package/dist/webcomponents/p-d2c8cc7d.entry.js +0 -1
  441. package/dist/webcomponents/p-e3021e22.entry.js +0 -1
  442. package/dist/webcomponents/p-e704d652.entry.js +0 -1
  443. package/dist/webcomponents/p-e7cfee5a.entry.js +0 -1
  444. package/dist/webcomponents/p-fd9b4f83.entry.js +0 -1
  445. package/dist/webcomponents/p-jIDKmNHy.js +0 -1
  446. package/dist/webcomponents/p-rpFC83GL.js +0 -1
  447. package/dist/webcomponents/p-uZ5KAseb.js +0 -1
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var Api = require('./Api-B4fSXAdi.js');
4
- require('./Plaid-CbaU5Arm.js');
3
+ var Api = require('./Api-ChUqJ75C.js');
4
+ require('./Plaid-B2o4c_Ej.js');
5
5
  require('./Pagination-Dediz133.js');
6
6
  require('./Business-oBifyXkW.js');
7
7
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-W-zoNiyM.js');
3
+ var index = require('./index-DDrfAj-j.js');
4
4
  var index$1 = require('./index-CajjbB9t.js');
5
5
 
6
6
  const initialState = {
@@ -106,10 +106,24 @@ function getCheckoutState() {
106
106
  };
107
107
  }
108
108
  function onAnyChange(callback) {
109
- Object.keys(initialState).forEach((key) => {
110
- // @ts-ignore - onChange is generically typed by stencil/store but not exported here
111
- onChange(key, (newValue) => callback(key, newValue));
109
+ let pending = false;
110
+ let active = true;
111
+ const unsubscribe = Object.keys(initialState).map((key) => {
112
+ return onChange(key, () => {
113
+ if (pending || !active)
114
+ return;
115
+ pending = true;
116
+ queueMicrotask(() => {
117
+ pending = false;
118
+ if (active)
119
+ callback();
120
+ });
121
+ });
112
122
  });
123
+ return () => {
124
+ active = false;
125
+ unsubscribe.forEach((off) => off());
126
+ };
113
127
  }
114
128
 
115
129
  exports.checkoutStore = checkoutStore;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-W-zoNiyM.js');
3
+ var index = require('./index-DDrfAj-j.js');
4
4
 
5
5
  const filterParamsInitialState = {};
6
6
  const propsParamsInitialState = {};
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-W-zoNiyM.js');
3
+ var index = require('./index-DDrfAj-j.js');
4
4
 
5
5
  const initialState = {
6
6
  apiOrigin: "https://wc-proxy.justifi.ai",
@@ -6,16 +6,16 @@ var parts = require('./parts-BXshb_S-.js');
6
6
  var button = require('./button-CR9Rl1-o.js');
7
7
  var skeleton = require('./skeleton-DvRCiQlA.js');
8
8
  require('./event-types-YOY5TKUN.js');
9
- var Plaid = require('./Plaid-CbaU5Arm.js');
10
- var utils = require('./utils-8zgGi717.js');
11
- var eventTypes = require('./event-types-DyRIxSSS.js');
12
- var checkPkgVersion = require('./check-pkg-version-DR4Ghb6-.js');
13
- var Analytics = require('./Analytics-DahOCpJB.js');
9
+ var Plaid = require('./Plaid-B2o4c_Ej.js');
10
+ var utils = require('./utils-WrOn06xB.js');
11
+ var eventTypes = require('./event-types-DlZRGu3q.js');
12
+ var checkPkgVersion = require('./check-pkg-version-mt-o0WFo.js');
13
+ var Analytics = require('./Analytics-CMv0MKQ4.js');
14
14
  require('./dinero-BwNN_k7x.js');
15
- require('./Api-B4fSXAdi.js');
16
- require('./config-state-BIgGhhe9.js');
17
- require('./index-W-zoNiyM.js');
18
- require('./package-DkLJAjev.js');
15
+ require('./Api-ChUqJ75C.js');
16
+ require('./config-state-C1YMiFpR.js');
17
+ require('./index-DDrfAj-j.js');
18
+ require('./package-V2lnhWch.js');
19
19
  require('./Pagination-Dediz133.js');
20
20
  require('./Business-oBifyXkW.js');
21
21
 
@@ -152,8 +152,8 @@ const DisputeNotification = class {
152
152
  }
153
153
  render() {
154
154
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
155
- return (index.h("div", { key: '325018c414e82b5c1bc7d9c5aa444b5a9d4e83d6', class: "dispute-notification-root" }, this.isLoading && (index.h("div", { key: 'deffb8ef248e32962aca084a564e83aa5f222b0a', style: { marginBottom: '8px' } }, index.h(skeleton.Skeleton, { key: '6f6c630b3122b1b2fd480470f5df7683f19de612', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), index.h(skeleton.Skeleton, { key: '11f46711fed1094496c64551f084351c08f598be', height: '18px', styles: { marginBottom: '8px' } }), index.h(skeleton.Skeleton, { key: 'fc7e2eac76e1cbc329147f3da39a8c28c51a7b6a', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && this.isDueDatePassed() && (index.h("div", { key: '0ef159acf9fe5b12dc0dcddab6b7583e5fc9a799', part: parts.text }, index.h("h1", { key: 'db263006990c5b4cf178f7f81650ad7602765532', class: "h4", part: parts.heading4 }, "The due date (", (_b = this.dispute) === null || _b === void 0 ? void 0 :
156
- _b.due_date, ") for this dispute has passed"), index.h("p", { key: '185c6f952ef46e3aec625cab73c943b3046ef6b4' }, "You can no longer submit evidence to counter this dispute."))), ((_c = this.dispute) === null || _c === void 0 ? void 0 : _c.needsResponse) && !this.isDueDatePassed() && (index.h("div", { key: 'd4536104addc500277fbde990b7b33ba8ff54c7e', part: parts.text }, index.h("h1", { key: '198138cc6541c0aeeae458e2de1e3ae0c695328d', class: "h4", part: parts.heading4 }, "This payment is disputed"), index.h("p", { key: '6902ce5e3e94ab7f71ee6d0c6a7604ef97f0e740' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), index.h("h2", { key: 'f49d1ac855365480edc61e0af117230e2f3dbe1f', class: "h5" }, "Dispute details"), index.h("div", { key: 'f3868a098dbc4a613d676b8580c053527f9d5fad', class: "d-table gap-2" }, index.h("div", { key: '7699bc619b652ffe1c77cf6e5e0dac967679b1e6', class: "d-table-row gap-2" }, index.h("span", { key: '9de67b45877120f54f724f1efe7b3f4d4b035d30', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), index.h("span", { key: 'bfd79f86b5b81daf2a34f5874fcff03a05d1e64d', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, utils$1.formatCurrency((_d = this.dispute) === null || _d === void 0 ? void 0 : _d.amount))), index.h("div", { key: '0e57d56172859eb5857a1930cb837569157026d9', class: "d-table-row gap-2" }, index.h("span", { key: '0b615bd8f9a9add7d18d50be4f4f644707576de2', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), index.h("span", { key: '46288c67be32fe2d95fea88f5b0148f22552a2c9', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_e = this.dispute) === null || _e === void 0 ? void 0 : _e.reason)), index.h("div", { key: 'c68280b0f36280804fb6231236d942174c189456', class: "d-table-row gap-2" }, index.h("span", { key: 'ed3f145aa0f2c949b80d7033e4ecb818a4a4fa68', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Due Date"), index.h("span", { key: '4c4530acbc570fb13b5f53947714bd250ff99cab', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_f = this.dispute) === null || _f === void 0 ? void 0 : _f.due_date))), index.h("div", { key: '3244bb6bdbed2b4e28c479c2d4db2d0ae152f2f0', class: "d-flex gap-2 mt-4 justify-content-end" }, index.h(button.Button, { key: '3716a28cec93e70690ad96bfc0c5f3b7b56f8ecb', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), index.h(button.Button, { key: '7f326ed6f298c9f1091b160c63e386864329190e', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.underReview) && (index.h("div", { key: 'd705ae48c1f30b904ac31bbdbab9e955868f51e1', part: parts.text }, index.h("h1", { key: '712cebef3699a8c2a97bcb69ae68e0b491090c88', class: "h4", part: parts.heading4 }, "This payment is disputed and under review"), index.h("p", { key: 'ca95b2c8bdc6083a3fbb1dd63c6bdaa4699ae2a7' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_h = this.dispute) === null || _h === void 0 ? void 0 : _h.won) && (index.h("div", { key: 'c0cb4c8342aa4f022d76e95123a047b7b707f562', part: parts.text }, index.h("h1", { key: '797966d237d4b46eb1b880deb7fa21746f5b3b1e', class: "h4", part: parts.heading4 }, "This payment was disputed"), index.h("p", { key: '2f9eed1a5f34f772206112488af22aa8b35c07b6' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_j = this.dispute) === null || _j === void 0 ? void 0 : _j.lost) && (index.h("div", { key: '9a90af51218ed921e27519363995f12e29713bfd', part: parts.text }, index.h("h1", { key: '736ee5cf8f65d780d4812e24ea9050dcc0d109a4', class: "h4", part: parts.heading4 }, "This payment was disputed"), index.h("p", { key: '9ca83087b028e1078bcc2cd0b552e8f5379932d1' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
155
+ return (index.h("div", { key: '55685c8b421d48fb041862b2ae2ff0605a3a0b7f', class: "dispute-notification-root" }, this.isLoading && (index.h("div", { key: '93fba7164eea0a00231f2f762a1370fe2ba4ca52', style: { marginBottom: '8px' } }, index.h(skeleton.Skeleton, { key: 'db8ca80547c4e022ee9cbb59b51cf1d199a65f0c', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), index.h(skeleton.Skeleton, { key: '15c884a6bbfcab6e89d9eb36cfcdc14a0505c25a', height: '18px', styles: { marginBottom: '8px' } }), index.h(skeleton.Skeleton, { key: '61474f21b3f82c1cff6455c7d87c0474a4c5ebdd', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && this.isDueDatePassed() && (index.h("div", { key: '724f8896f7985469d457d5dea5936dc8ef0b30c0', part: parts.text }, index.h("h1", { key: 'd4e86227300211d8ab792e8ae128912166957b02', class: "h4", part: parts.heading4 }, "The due date (", (_b = this.dispute) === null || _b === void 0 ? void 0 :
156
+ _b.due_date, ") for this dispute has passed"), index.h("p", { key: '40e2fff6dadd6426d847cbc7164a72bb137ee44d' }, "You can no longer submit evidence to counter this dispute."))), ((_c = this.dispute) === null || _c === void 0 ? void 0 : _c.needsResponse) && !this.isDueDatePassed() && (index.h("div", { key: '1efebe3baa295271c793faaba07b9d62a7f19e93', part: parts.text }, index.h("h1", { key: 'a6e10b6d4e8f01aacefb8d3cd5244eecbbb251e6', class: "h4", part: parts.heading4 }, "This payment is disputed"), index.h("p", { key: 'fb99d2061fcae2a6b59a1121340bb141f8a2bcb2' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), index.h("h2", { key: '5e6a34864d24df666ab69291e98dc569946933ad', class: "h5" }, "Dispute details"), index.h("div", { key: '6a189bf2c84fad8024d60da7c6972917e8768fa9', class: "d-table gap-2" }, index.h("div", { key: '1d76955da64391406f2cf082d473fac4da8f6be9', class: "d-table-row gap-2" }, index.h("span", { key: '7dcc2947c8e2ba7e388dde66ec426b9d95e87938', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), index.h("span", { key: 'b45cdeebd1ee9f0b6e4a023a41e496c28c265c64', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, utils$1.formatCurrency((_d = this.dispute) === null || _d === void 0 ? void 0 : _d.amount))), index.h("div", { key: 'd33fd1331385a3b8bad3f44bb8d0d92c7d9fb3eb', class: "d-table-row gap-2" }, index.h("span", { key: 'd4a5c2fae926b736c6516522b32965c1f55d7623', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), index.h("span", { key: '034868aa10b8179e485f2cc497adcf9caaca123d', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_e = this.dispute) === null || _e === void 0 ? void 0 : _e.reason)), index.h("div", { key: '8b56d8237d8039f90ec9141cc94e0147bc0e49bd', class: "d-table-row gap-2" }, index.h("span", { key: 'f301c07b7ceb2f54f642e764a61b359445962d17', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Due Date"), index.h("span", { key: '3c7478dd78c2cd58b9eee3a3b30b0816ab8011bc', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_f = this.dispute) === null || _f === void 0 ? void 0 : _f.due_date))), index.h("div", { key: '1c912ca4428f444d4dd4f27584a8a64099524539', class: "d-flex gap-2 mt-4 justify-content-end" }, index.h(button.Button, { key: 'd15adbc5be96fbfe0545e87c57e1fe34449d4c8f', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), index.h(button.Button, { key: '0d7b4a74b52210106929114bb8d7db76eeadedd6', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.underReview) && (index.h("div", { key: '8f1e958c5601d937d71da120e908acdb9b303367', part: parts.text }, index.h("h1", { key: '67012e992b666b145bff9cf70011a0de88452e1e', class: "h4", part: parts.heading4 }, "This payment is disputed and under review"), index.h("p", { key: 'fda8d98bffac5daf67574aabc854e58b5a754de0' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_h = this.dispute) === null || _h === void 0 ? void 0 : _h.won) && (index.h("div", { key: '8c3699f761f941114b4fa91cad166c78def3dc00', part: parts.text }, index.h("h1", { key: '411280747b719b85240bde3ab052ba4bd43437e3', class: "h4", part: parts.heading4 }, "This payment was disputed"), index.h("p", { key: '82edec3d96009d23454f6ac63651b6763b4b22a4' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_j = this.dispute) === null || _j === void 0 ? void 0 : _j.lost) && (index.h("div", { key: '68416771d44d09201b630d7b25952894ce4a096c', part: parts.text }, index.h("h1", { key: 'dcaf92df776e75aa78762c07fdbb750f1933311a', class: "h4", part: parts.heading4 }, "This payment was disputed"), index.h("p", { key: '811fcf0b3a9f38fcf857998a672286e5c5ae0a9a' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
157
157
  }
158
158
  };
159
159
 
@@ -354,7 +354,7 @@ const DisputeResponse = class {
354
354
  return this.currentStep === 0;
355
355
  }
356
356
  render() {
357
- return (index.h("div", { key: '7f9c8d56cfb86cea73ab2f299b83ff0de28f5c3e', class: "dispute-response-root" }, index.h("div", { key: 'a805bf54df79453127557bf651c3d776a381241f', class: "row gy-3" }, index.h("div", { key: '2e6bc9cbe369e0ea5d200bc0934b4cad50f3c76f', class: "col-12" }, index.h("h1", { key: '9876e9c87c6dfb405e7bad46d64fdb40ad048142', class: "h4", part: parts.heading4 }, "Counter dispute")), index.h("div", { key: '045028232da5331c7041ad222c4e98364674ace3', class: "col-12" }, this.currentStepComponent), index.h("div", { key: '0455c4856a44340ce25c1c4c8f776abb197f919f', class: "col-12" }, index.h("div", { key: '5b990cc1d41b3a7152d727c941e9758ed70f75a1', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (index.h(button.Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (index.h(button.Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (index.h(button.Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (index.h(button.Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next")))))));
357
+ return (index.h("div", { key: '50c96cb107115c27ff993ed7288a58cd801ef936', class: "dispute-response-root" }, index.h("div", { key: '0ebe2541c4245c6371d3aa8cdfb58b3f92f2d96e', class: "row gy-3" }, index.h("div", { key: '78feb00f6f5b8fb96ceacba2e7bcda1342f8a244', class: "col-12" }, index.h("h1", { key: 'a86ab0cd63ebb945a69982ea05607ae4eadc1cf8', class: "h4", part: parts.heading4 }, "Counter dispute")), index.h("div", { key: 'f9a5e9cad90d03ae773aaeb2e72049b453d05472', class: "col-12" }, this.currentStepComponent), index.h("div", { key: '838c642fdf957bf0e3fd8d4ef4c4abc79c2d6f61', class: "col-12" }, index.h("div", { key: '6b8af6fa4face4debee72950e86e3bc9461406da', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (index.h(button.Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (index.h(button.Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (index.h(button.Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (index.h(button.Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next")))))));
358
358
  }
359
359
  static get watchers() { return {
360
360
  "disputeId": ["propChanged"],
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var Api = require('./Api-B4fSXAdi.js');
4
- require('./Plaid-CbaU5Arm.js');
3
+ var Api = require('./Api-ChUqJ75C.js');
4
+ require('./Plaid-B2o4c_Ej.js');
5
5
  require('./Pagination-Dediz133.js');
6
6
  require('./Business-oBifyXkW.js');
7
7
 
@@ -1,13 +1,28 @@
1
1
  'use strict';
2
2
 
3
- var index$1 = require('./index-p7cvUYAE.js');
4
- var index = require('./index-W-zoNiyM.js');
3
+ var index = require('./index-p7cvUYAE.js');
5
4
  var parts = require('./parts-BXshb_S-.js');
5
+ var index$1 = require('./index-DDrfAj-j.js');
6
6
  var _commonjsHelpers = require('./_commonjsHelpers-BJu3ubxk.js');
7
7
  var formControlErrorText = require('./form-control-error-text-BO58Y6zF.js');
8
- var _package = require('./package-DkLJAjev.js');
8
+ var _package = require('./package-V2lnhWch.js');
9
9
 
10
- const iframeInputStylesStore = index.createStore({
10
+ const FormAlert = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ }
14
+ render() {
15
+ if (!this.text) {
16
+ return null;
17
+ }
18
+ if (this.hideAlert) {
19
+ return null;
20
+ }
21
+ return (index.h("div", { class: 'alert alert-danger d-flex align-items-center', role: 'alert', part: parts.alertDanger }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", fill: "currentColor", class: "bi bi-exclamation-triangle-fill flex-shrink-0 me-2", viewBox: "0 0 16 16", role: "img", "aria-label": "Warning:" }, index.h("path", { d: "M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z" })), index.h("div", null, this.text)));
22
+ }
23
+ };
24
+
25
+ const iframeInputStylesStore = index$1.createStore({
11
26
  focused: {
12
27
  boxShadow: '',
13
28
  border: '',
@@ -29,7 +44,7 @@ const { state: iframeInputStyles, set: iframeInputStylesSet, } = iframeInputStyl
29
44
 
30
45
  const HiddenInput = class {
31
46
  constructor(hostRef) {
32
- index$1.registerInstance(this, hostRef);
47
+ index.registerInstance(this, hostRef);
33
48
  this.isFocused = false;
34
49
  this.errorText = '';
35
50
  }
@@ -114,7 +129,7 @@ const HiddenInput = class {
114
129
  return parts.input;
115
130
  }
116
131
  render() {
117
- return (index$1.h(index$1.Host, { key: 'c3b2f0cb5160d888b3ecbaca95285749c0b71002' }, index$1.h("input", { key: 'f6d0ad00733d086dfa09b646f7599d60f91e5f50', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
132
+ return (index.h(index.Host, { key: 'c3b2f0cb5160d888b3ecbaca95285749c0b71002' }, index.h("input", { key: 'f6d0ad00733d086dfa09b646f7599d60f91e5f50', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
118
133
  }
119
134
  };
120
135
 
@@ -1658,8 +1673,8 @@ const MessageEventType = {
1658
1673
 
1659
1674
  const IframeInput = class {
1660
1675
  constructor(hostRef) {
1661
- index$1.registerInstance(this, hostRef);
1662
- this.iframeLoaded = index$1.createEvent(this, "iframeLoaded", 7);
1676
+ index.registerInstance(this, hostRef);
1677
+ this.iframeLoaded = index.createEvent(this, "iframeLoaded", 7);
1663
1678
  this.isFocused = false;
1664
1679
  this.isValid = true;
1665
1680
  this.dispatchMessageEvent = (event) => {
@@ -1693,6 +1708,9 @@ const IframeInput = class {
1693
1708
  componentVersion: _package.packageJson.version,
1694
1709
  });
1695
1710
  }
1711
+ async reload() {
1712
+ this.iframeElement.src = this.iframeSrc;
1713
+ }
1696
1714
  initializeFrameCommunicationService() {
1697
1715
  var _a;
1698
1716
  this.frameService = new FrameCommunicationService(this.iframeElement, this.iframeOrigin);
@@ -1728,11 +1746,14 @@ const IframeInput = class {
1728
1746
  const params = new URLSearchParams(encodedObject).toString();
1729
1747
  return params;
1730
1748
  }
1749
+ get iframeSrc() {
1750
+ return `${this.iframeOrigin}?${this.urlParams}`;
1751
+ }
1731
1752
  render() {
1732
- return (index$1.h(index$1.Host, { key: '60e76f1a33ddd4ea5b89cd31a1b6906ff53c5ddb', class: "form-group d-flex flex-column" }, index$1.h("div", { key: '5fdef33ae8deb616929478d06fddc01b97233f0a', style: {
1753
+ return (index.h(index.Host, { key: 'ec85f26f88845957744034690b1ab0342009485c', class: "form-group d-flex flex-column" }, index.h("div", { key: 'e4b29dedfa037218b984bbcd00d3aed3bf6987bd', style: {
1733
1754
  visibility: this.iframeLoaded ? 'visible' : 'hidden',
1734
1755
  height: this.iframeLoaded ? 'auto' : '0',
1735
- } }, index$1.h("label", { key: 'e37adecf5024d4c77561d3ca269f49c398fc8fd7', class: "form-label", htmlFor: "", part: parts.label }, this.label || ''), index$1.h("div", { key: '206a703cd84d713155aa754576410f495b4329fe', class: `p-0 d-flex form-control ${this.isValid ? '' : 'is-invalid'}`, part: this.part, style: Object.assign(Object.assign({}, this.style), { overflow: 'hidden' }) }, index$1.h("iframe", { key: '214ecd5b4fa9d075b91ea73b9edd09fdfa0cdf12', id: this.inputId, name: this.inputId, src: `${this.iframeOrigin}?${this.urlParams}`, ref: el => {
1756
+ } }, index.h("label", { key: '9e9539cc47e48b835dac8a0510899e6a2a25b46b', class: "form-label", htmlFor: "", part: parts.label }, this.label || ''), index.h("div", { key: '45b0ef6167e59c542b7e72e9dbdb76c9d29bcfb1', class: `p-0 d-flex form-control ${this.isValid ? '' : 'is-invalid'}`, part: this.part, style: Object.assign(Object.assign({}, this.style), { overflow: 'hidden' }) }, index.h("iframe", { key: 'f52a24114c2e6de9cb110b20db28782125f3db9f', id: this.inputId, name: this.inputId, src: this.iframeSrc, ref: el => {
1736
1757
  this.iframeElement = el;
1737
1758
  this.initializeFrameCommunicationService();
1738
1759
  }, width: "100%", onLoad: () => {
@@ -1742,10 +1763,11 @@ const IframeInput = class {
1742
1763
  this.iframeLoaded.emit();
1743
1764
  }
1744
1765
  }, this.iframeElement);
1745
- } })), index$1.h(formControlErrorText.FormControlErrorText, { key: 'bec41e86a063eacb8f1f741b446c64db540d9e4d', errorText: this.errorText, name: this.inputId }))));
1766
+ } })), index.h(formControlErrorText.FormControlErrorText, { key: '6cec57e9a2d5ef4901302087e270255248cde0f1', errorText: this.errorText, name: this.inputId }))));
1746
1767
  }
1747
- get el() { return index$1.getElement(this); }
1768
+ get el() { return index.getElement(this); }
1748
1769
  };
1749
1770
 
1771
+ exports.form_alert = FormAlert;
1750
1772
  exports.hidden_input = HiddenInput;
1751
1773
  exports.iframe_input = IframeInput;
@@ -42,10 +42,10 @@ const FormControlCheckbox = class {
42
42
  return parts.inputCheckbox;
43
43
  }
44
44
  render() {
45
- return (index.h(index.Host, { key: 'dc2fdbd7fd92a0205b15e4b302458d8f0d775b35' }, index.h("div", { key: 'f32f7d5cb559282cece071f3623bdab80998bc04', class: 'form-group d-flex flex-column' }, index.h("div", { key: '5481439484b97ad733a0051f1722a5c3ed45778d', class: "form-check" }, index.h("input", { key: '9e96a563e5b0b1a9589dff7eb4f3eb3038d4918b', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
45
+ return (index.h(index.Host, { key: 'c125c58c5883ba06b2a671551340b0ee316308af' }, index.h("div", { key: 'fd4b904ef4f20c357ef3aa9ce8b69b452f62bc0e', class: 'form-group d-flex flex-column' }, index.h("div", { key: 'b787782fcd23cbb044df6ea95a441fd71045815a', class: "form-check" }, index.h("input", { key: '72e4b3bed060f8b93fa53b254f6d492082270e62', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
46
46
  this.isFocused = false;
47
47
  this.formControlBlur.emit();
48
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), index.h("label", { key: '11a27a415d7741d8a29dde8d1fd029c2e143f235', class: "form-check-label", htmlFor: this.name, part: parts.label }, this.label)), index.h(formControlHelpText.FormControlHelpText, { key: '3e0ef15182200a48d3cf3142c3511a0ad8095db3', helpText: this.helpText, name: this.name }), index.h(formControlErrorText.FormControlErrorText, { key: 'e85175ea76f6073d7ee813a3f2d8eaecc044601a', errorText: this.errorText, name: this.name }))));
48
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), index.h("label", { key: '8a17ab6e5144bb06486c1e74035576b5ce473621', class: "form-check-label", htmlFor: this.name, part: parts.label }, this.label)), index.h(formControlHelpText.FormControlHelpText, { key: 'd0be5c8bf0cd51bf2251a5d780538d2e053163cb', helpText: this.helpText, name: this.name }), index.h(formControlErrorText.FormControlErrorText, { key: 'ebffb11e0e2fa1dd2846d389604856fc04943b55', errorText: this.errorText, name: this.name }))));
49
49
  }
50
50
  };
51
51
 
@@ -42,10 +42,10 @@ const FormControlSelect = class {
42
42
  }
43
43
  render() {
44
44
  var _a;
45
- return (index.h(index.Host, { key: 'bf6556107b1f272aa6bc4f89cb0f2a889f8b9d1d' }, index.h("div", { key: 'be1644d78987676c9af452831e25c3effc31a67c', class: "form-group d-flex flex-column" }, index.h("div", { key: '62eaea4bdbee959d6e785c00c4f41f642c0a16af', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '641ada798c78ca0c649ec76029c157069636838b', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '3a04fe21799a54e402e8afead34b60898c804af4', helpText: this.helpText })), index.h("select", { key: '54188864be36aed540647275cd84eae738eb633f', ref: el => (this.selectElement = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
45
+ return (index.h(index.Host, { key: '181f9882efa122d1158475b03c5d91b6a596a029' }, index.h("div", { key: 'ab62345c08da6d3d33fa110937c936758e065eb3', class: "form-group d-flex flex-column" }, index.h("div", { key: 'a4cd1468d4c57b63ee25f25cca6f42ea08b70ef4', class: "d-flex align-items-start gap-2" }, index.h("label", { key: 'ebb6e16b2e11a3623c3152eb8e1b51412fa4d1ae', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '5d5d414a90927659661b6a2e167056c938e9c5a7', helpText: this.helpText })), index.h("select", { key: '8105c889f7fdb9376848c6057ccd58b9c62841a4', ref: el => (this.selectElement = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
46
46
  this.isFocused = false;
47
47
  this.formControlBlur.emit();
48
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (index.h("option", { value: option.value }, option.label)))), index.h(formControlErrorText.FormControlErrorText, { key: '387753bf79494f44a91858175af74d48a9e9c051', errorText: this.errorText, name: this.name }))));
48
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (index.h("option", { value: option.value }, option.label)))), index.h(formControlErrorText.FormControlErrorText, { key: '061a26387560f0b8085e83e1c373a43340146469', errorText: this.errorText, name: this.name }))));
49
49
  }
50
50
  static get watchers() { return {
51
51
  "defaultValue": ["handleDefaultValueChange"]
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var Business = require('./Business-oBifyXkW.js');
4
- var Plaid = require('./Plaid-CbaU5Arm.js');
5
- var utils = require('./utils-8zgGi717.js');
4
+ var Plaid = require('./Plaid-B2o4c_Ej.js');
5
+ var utils = require('./utils-WrOn06xB.js');
6
6
 
7
7
  const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError, final }) => {
8
8
  var _a;
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- require('./config-state-BIgGhhe9.js');
3
+ require('./config-state-C1YMiFpR.js');
4
4
  require('./dinero-BwNN_k7x.js');
5
- var Plaid = require('./Plaid-CbaU5Arm.js');
5
+ var Plaid = require('./Plaid-B2o4c_Ej.js');
6
6
  require('./Pagination-Dediz133.js');
7
7
  require('./Business-oBifyXkW.js');
8
- var utils = require('./utils-8zgGi717.js');
8
+ var utils = require('./utils-WrOn06xB.js');
9
9
 
10
10
  const makeGetPaymentDetails = ({ id, authToken, service }) => async ({ onSuccess, onError, final }) => {
11
11
  var _a;
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var Api = require('./Api-B4fSXAdi.js');
4
- var Plaid = require('./Plaid-CbaU5Arm.js');
3
+ var Api = require('./Api-ChUqJ75C.js');
4
+ var Plaid = require('./Plaid-B2o4c_Ej.js');
5
5
  require('./Pagination-Dediz133.js');
6
6
  require('./Business-oBifyXkW.js');
7
- require('./config-state-BIgGhhe9.js');
7
+ require('./config-state-C1YMiFpR.js');
8
8
  require('./dinero-BwNN_k7x.js');
9
- var utils = require('./utils-8zgGi717.js');
9
+ var utils = require('./utils-WrOn06xB.js');
10
10
 
11
11
  const api = Api.Api();
12
12
  class SubAccountService {
@@ -2,15 +2,18 @@
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
4
 
5
- const appendToMap = (map, propName, value) => {
5
+ const appendToMap = (map, refsByValue, propName, value) => {
6
+ let ref = refsByValue.get(value);
7
+ if (!ref) {
8
+ ref = new WeakRef(value);
9
+ refsByValue.set(value, ref);
10
+ }
6
11
  let refs = map.get(propName);
7
12
  if (!refs) {
8
- refs = [];
13
+ refs = new Set();
9
14
  map.set(propName, refs);
10
15
  }
11
- if (!refs.some((ref) => ref.deref() === value)) {
12
- refs.push(new WeakRef(value));
13
- }
16
+ refs.add(ref);
14
17
  };
15
18
  const debounce = (fn, ms) => {
16
19
  let timeoutId;
@@ -36,13 +39,15 @@ const debounce = (fn, ms) => {
36
39
  */
37
40
  const isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;
38
41
  const cleanupElements = debounce((map) => {
39
- for (let key of map.keys()) {
40
- const refs = map.get(key).filter((ref) => {
42
+ map.forEach((refs, key) => {
43
+ const nextRefs = new Set();
44
+ refs.forEach((ref) => {
41
45
  const elm = ref.deref();
42
- return elm && isConnected(elm);
46
+ if (elm && isConnected(elm))
47
+ nextRefs.add(ref);
43
48
  });
44
- map.set(key, refs);
45
- }
49
+ map.set(key, nextRefs);
50
+ });
46
51
  }, 2_000);
47
52
  const core = index.StencilCore;
48
53
  const forceUpdate = core.forceUpdate;
@@ -55,23 +60,24 @@ const stencilSubscription = () => {
55
60
  }
56
61
  const ensureForceUpdate = forceUpdate;
57
62
  const ensureGetRenderingRef = getRenderingRef;
63
+ const refsByElement = new WeakMap();
58
64
  const elmsToUpdate = new Map();
59
65
  return {
60
66
  dispose: () => elmsToUpdate.clear(),
61
67
  get: (propName) => {
62
68
  const elm = ensureGetRenderingRef();
63
69
  if (elm) {
64
- appendToMap(elmsToUpdate, propName, elm);
70
+ appendToMap(elmsToUpdate, refsByElement, propName, elm);
65
71
  }
66
72
  },
67
73
  set: (propName) => {
68
74
  const refs = elmsToUpdate.get(propName);
69
75
  if (refs) {
70
- const nextRefs = refs.filter((ref) => {
76
+ const nextRefs = new Set();
77
+ refs.forEach((ref) => {
71
78
  const elm = ref.deref();
72
- if (!elm)
73
- return false;
74
- return ensureForceUpdate(elm);
79
+ if (elm && ensureForceUpdate(elm))
80
+ nextRefs.add(ref);
75
81
  });
76
82
  elmsToUpdate.set(propName, nextRefs);
77
83
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
4
  var parts = require('./parts-BXshb_S-.js');
5
- var index$1 = require('./index-W-zoNiyM.js');
5
+ var index$1 = require('./index-DDrfAj-j.js');
6
6
 
7
7
  const Header2 = (props) => {
8
8
  return index.h("h2", { class: `header-2 ${props === null || props === void 0 ? void 0 : props.class}`, part: parts.heading2 }, props.text);
@@ -1,31 +1,31 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
- var Api = require('./Api-B4fSXAdi.js');
5
- var Plaid = require('./Plaid-CbaU5Arm.js');
4
+ var Api = require('./Api-ChUqJ75C.js');
5
+ var Plaid = require('./Plaid-B2o4c_Ej.js');
6
6
  var styledHost = require('./styled-host-CW1WUnUq.js');
7
7
  require('./event-types-YOY5TKUN.js');
8
8
  var skeleton = require('./skeleton-DvRCiQlA.js');
9
- var checkout_store = require('./checkout.store-CZHrIuaP.js');
9
+ var checkout_store = require('./checkout.store-DOa1-SjA.js');
10
10
  var parts = require('./parts-BXshb_S-.js');
11
11
  var utils = require('./utils-DB4XHlAU.js');
12
- var configState = require('./config-state-BIgGhhe9.js');
12
+ var configState = require('./config-state-C1YMiFpR.js');
13
13
  var header1 = require('./header-1-CsBQoo1f.js');
14
- var insuranceState = require('./insurance-state-B-XQRmMs.js');
14
+ var insuranceState = require('./insurance-state-CHQD1ZGw.js');
15
15
  var header3 = require('./header-3-DCYJhPro.js');
16
- var Analytics = require('./Analytics-DahOCpJB.js');
17
- var checkPkgVersion = require('./check-pkg-version-DR4Ghb6-.js');
16
+ var Analytics = require('./Analytics-CMv0MKQ4.js');
17
+ var checkPkgVersion = require('./check-pkg-version-mt-o0WFo.js');
18
18
  require('./dinero-BwNN_k7x.js');
19
19
  require('./Pagination-Dediz133.js');
20
20
  require('./Business-oBifyXkW.js');
21
- var checkoutActions = require('./checkout-actions-Cm38ZPqN.js');
22
- var checkout_service = require('./checkout.service-DyL8PSeF.js');
23
- var plaid_service = require('./plaid.service-DJ42fz7B.js');
21
+ var checkoutActions = require('./checkout-actions-VCJi-q4z.js');
22
+ var checkout_service = require('./checkout.service-BDUrLWyA.js');
23
+ var plaid_service = require('./plaid.service-DIPjzg_M.js');
24
24
  var index$1 = require('./index-CajjbB9t.js');
25
25
  var paymentMethodOptionUtils = require('./payment-method-option-utils-WYHIHy-l.js');
26
- require('./package-DkLJAjev.js');
27
- require('./index-W-zoNiyM.js');
28
- require('./utils-8zgGi717.js');
26
+ require('./package-V2lnhWch.js');
27
+ require('./index-DDrfAj-j.js');
28
+ require('./utils-WrOn06xB.js');
29
29
 
30
30
  const JustifiRadioListItem = class {
31
31
  constructor(hostRef) {
@@ -566,7 +566,7 @@ const JustifiApplePay = class {
566
566
  this.error = null;
567
567
  this.applePayStarted.emit();
568
568
  const paymentRequest = {
569
- countryCode: this.countryCodeForCurrency(checkout_store.checkoutStore.paymentCurrency),
569
+ countryCode: this.countryCode,
570
570
  currencyCode: checkout_store.checkoutStore.paymentCurrency,
571
571
  merchantCapabilities: [
572
572
  Plaid.ApplePayMerchantCapability.SUPPORTS_3DS,
@@ -576,7 +576,6 @@ const JustifiApplePay = class {
576
576
  supportedNetworks: Plaid.ApplePayHelpers.getDefaultSupportedNetworks(),
577
577
  total: Plaid.ApplePayHelpers.createLineItem(checkout_store.checkoutStore.paymentDescription, checkout_store.checkoutStore.paymentAmount),
578
578
  };
579
- console.log("=== Apple Pay Payment Request ===", paymentRequest);
580
579
  const result = await this.applePayService.startPaymentSession(paymentRequest, checkout_store.checkoutStore.authToken, checkout_store.checkoutStore.accountId);
581
580
  if (result.success) {
582
581
  this.applePayCompleted.emit({
@@ -631,12 +630,6 @@ const JustifiApplePay = class {
631
630
  });
632
631
  }
633
632
  }
634
- countryCodeForCurrency(currency) {
635
- if (currency.toLowerCase() == "cad") {
636
- return "CA";
637
- }
638
- return "US";
639
- }
640
633
  loadApplePaySDK() {
641
634
  if (this.sdkLoaded)
642
635
  return;
@@ -995,6 +988,7 @@ const JustifiModularCheckout = class {
995
988
  };
996
989
  }
997
990
  connectedCallback() {
991
+ var _a;
998
992
  this.observer = new MutationObserver(() => {
999
993
  this.queryFormRefs();
1000
994
  this.setupApplePayListeners(); // set up again listeners when DOM changes
@@ -1012,8 +1006,8 @@ const JustifiModularCheckout = class {
1012
1006
  };
1013
1007
  this.getCheckout = checkoutActions.makeGetCheckout(config);
1014
1008
  this.completeCheckout = checkoutActions.makeCheckoutComplete(config);
1015
- // Emit checkout-changed whenever any store key changes
1016
- checkout_store.onAnyChange(() => {
1009
+ (_a = this.unsubscribeCheckoutChanges) === null || _a === void 0 ? void 0 : _a.call(this);
1010
+ this.unsubscribeCheckoutChanges = checkout_store.onAnyChange(() => {
1017
1011
  this.emitCheckoutChanged();
1018
1012
  });
1019
1013
  }
@@ -1036,8 +1030,10 @@ const JustifiModularCheckout = class {
1036
1030
  this.setupGooglePayListeners();
1037
1031
  }
1038
1032
  disconnectedCallback() {
1039
- var _a;
1040
- (_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
1033
+ var _a, _b;
1034
+ (_a = this.unsubscribeCheckoutChanges) === null || _a === void 0 ? void 0 : _a.call(this);
1035
+ this.unsubscribeCheckoutChanges = undefined;
1036
+ (_b = this.observer) === null || _b === void 0 ? void 0 : _b.disconnect();
1041
1037
  this.removeApplePayListeners();
1042
1038
  this.removeGooglePayListeners();
1043
1039
  }
@@ -1372,7 +1368,7 @@ const JustifiModularCheckout = class {
1372
1368
  });
1373
1369
  }
1374
1370
  render() {
1375
- return index.h(index.Host, { key: '545e1cb07252ba0dc78fa980bd17ee5572559f6c' });
1371
+ return index.h(index.Host, { key: '95cee2812d5dfb7593acad24a259cc075f195334' });
1376
1372
  }
1377
1373
  get hostEl() { return index.getElement(this); }
1378
1374
  };
@@ -1,19 +1,19 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
- var Analytics = require('./Analytics-DahOCpJB.js');
5
- var checkPkgVersion = require('./check-pkg-version-DR4Ghb6-.js');
6
- var configState = require('./config-state-BIgGhhe9.js');
4
+ var Analytics = require('./Analytics-CMv0MKQ4.js');
5
+ var checkPkgVersion = require('./check-pkg-version-mt-o0WFo.js');
6
+ var configState = require('./config-state-C1YMiFpR.js');
7
7
  var styledHost = require('./styled-host-CW1WUnUq.js');
8
8
  require('./event-types-YOY5TKUN.js');
9
- require('./package-DkLJAjev.js');
10
- require('./Api-B4fSXAdi.js');
9
+ require('./package-V2lnhWch.js');
10
+ require('./Api-ChUqJ75C.js');
11
11
  require('./utils-DB4XHlAU.js');
12
12
  require('./dinero-BwNN_k7x.js');
13
- require('./Plaid-CbaU5Arm.js');
13
+ require('./Plaid-B2o4c_Ej.js');
14
14
  require('./Pagination-Dediz133.js');
15
15
  require('./Business-oBifyXkW.js');
16
- require('./index-W-zoNiyM.js');
16
+ require('./index-DDrfAj-j.js');
17
17
 
18
18
  const JustifiBankAccountBillingFormSimple = class {
19
19
  constructor(hostRef) {
@@ -1,19 +1,19 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
- var checkPkgVersion = require('./check-pkg-version-DR4Ghb6-.js');
5
- var Analytics = require('./Analytics-DahOCpJB.js');
6
- var configState = require('./config-state-BIgGhhe9.js');
4
+ var checkPkgVersion = require('./check-pkg-version-mt-o0WFo.js');
5
+ var Analytics = require('./Analytics-CMv0MKQ4.js');
6
+ var configState = require('./config-state-C1YMiFpR.js');
7
7
  var styledHost = require('./styled-host-CW1WUnUq.js');
8
8
  require('./event-types-YOY5TKUN.js');
9
- require('./package-DkLJAjev.js');
10
- require('./Api-B4fSXAdi.js');
9
+ require('./package-V2lnhWch.js');
10
+ require('./Api-ChUqJ75C.js');
11
11
  require('./utils-DB4XHlAU.js');
12
12
  require('./dinero-BwNN_k7x.js');
13
- require('./Plaid-CbaU5Arm.js');
13
+ require('./Plaid-B2o4c_Ej.js');
14
14
  require('./Pagination-Dediz133.js');
15
15
  require('./Business-oBifyXkW.js');
16
- require('./index-W-zoNiyM.js');
16
+ require('./index-DDrfAj-j.js');
17
17
 
18
18
  const JustifiBankAccountForm = class {
19
19
  constructor(hostRef) {
@@ -2,24 +2,24 @@
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
4
  var utils = require('./utils-8RGQVADu.js');
5
- var business_service = require('./business.service-BAjtyKsg.js');
6
- var getBusiness = require('./get-business-B3Jf5X7U.js');
7
- var Plaid = require('./Plaid-CbaU5Arm.js');
8
- var Analytics = require('./Analytics-DahOCpJB.js');
9
- var checkPkgVersion = require('./check-pkg-version-DR4Ghb6-.js');
5
+ var business_service = require('./business.service-BSoN1ENP.js');
6
+ var getBusiness = require('./get-business-BBDsPv-b.js');
7
+ var Plaid = require('./Plaid-B2o4c_Ej.js');
8
+ var Analytics = require('./Analytics-CMv0MKQ4.js');
9
+ var checkPkgVersion = require('./check-pkg-version-mt-o0WFo.js');
10
10
  var styledHost = require('./styled-host-CW1WUnUq.js');
11
11
  require('./event-types-YOY5TKUN.js');
12
12
  var skeleton = require('./skeleton-DvRCiQlA.js');
13
13
  require('./parts-BXshb_S-.js');
14
- require('./Api-B4fSXAdi.js');
15
- require('./config-state-BIgGhhe9.js');
16
- require('./index-W-zoNiyM.js');
14
+ require('./Api-ChUqJ75C.js');
15
+ require('./config-state-C1YMiFpR.js');
16
+ require('./index-DDrfAj-j.js');
17
17
  require('./utils-DB4XHlAU.js');
18
18
  require('./dinero-BwNN_k7x.js');
19
- require('./package-DkLJAjev.js');
19
+ require('./package-V2lnhWch.js');
20
20
  require('./Pagination-Dediz133.js');
21
21
  require('./Business-oBifyXkW.js');
22
- require('./utils-8zgGi717.js');
22
+ require('./utils-WrOn06xB.js');
23
23
 
24
24
  const BusinessDetailsLoading = () => {
25
25
  const Block = () => (index.h("div", { class: "mt-5" }, index.h(skeleton.Skeleton, { width: "40%", height: "1.5rem" }), index.h("hr", null), index.h("div", { class: "row g-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null)), index.h("div", { class: "col-12 col-md-6" }, index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null)))));