@justifi/webcomponents 6.16.0-rc.2 → 6.16.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 (189) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/{Analytics-CDE3KpL6.js → Analytics-BiltKWA1.js} +2 -2
  3. package/dist/cjs/{Api-CaEn8pKs.js → Api-w_3MKA4i.js} +1 -1
  4. package/dist/cjs/additional-questions-form-step_15.cjs.entry.js +5 -5
  5. package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
  6. package/dist/cjs/{business.service-DIspRonp.js → business.service-OC3N6Ih_.js} +1 -1
  7. package/dist/cjs/card-form.cjs.entry.js +2 -2
  8. package/dist/cjs/{checkout.service-CM1Duar4.js → checkout.service-WHoN6aeA.js} +1 -1
  9. package/dist/cjs/{detect-duplicate-version-DyHHkx4J.js → detect-duplicate-version-CNXbBY8q.js} +1 -1
  10. package/dist/cjs/dispute-notification_2.cjs.entry.js +5 -5
  11. package/dist/cjs/{event-types-DNCxVTir.js → event-types-Cai0mEQK.js} +1 -1
  12. package/dist/cjs/form-alert_3.cjs.entry.js +1 -1
  13. package/dist/cjs/{get-subaccounts-8LeFCTm6.js → get-subaccounts-CeCBRq_d.js} +1 -1
  14. package/dist/cjs/justifi-apple-pay_12.cjs.entry.js +36 -18
  15. package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +5 -5
  16. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +5 -5
  17. package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
  18. package/dist/cjs/justifi-billing-form.cjs.entry.js +1 -1
  19. package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
  20. package/dist/cjs/justifi-business-form.cjs.entry.js +6 -6
  21. package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
  22. package/dist/cjs/justifi-card-form.cjs.entry.js +5 -5
  23. package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +4 -4
  24. package/dist/cjs/justifi-checkout.cjs.entry.js +5 -5
  25. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
  26. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +7 -7
  27. package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -6
  28. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
  29. package/dist/cjs/justifi-order-terminals.cjs.entry.js +7 -7
  30. package/dist/cjs/justifi-payment-details.cjs.entry.js +6 -6
  31. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +6 -6
  32. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +6 -6
  33. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +1 -1
  34. package/dist/cjs/justifi-payments-list.cjs.entry.js +6 -6
  35. package/dist/cjs/justifi-payout-details.cjs.entry.js +6 -6
  36. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +6 -6
  37. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +1 -1
  38. package/dist/cjs/justifi-payouts-list.cjs.entry.js +7 -7
  39. package/dist/cjs/justifi-qr-terminal.cjs.entry.js +5 -5
  40. package/dist/cjs/justifi-refund-payment.cjs.entry.js +6 -6
  41. package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
  42. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
  43. package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
  44. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +1 -1
  45. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +5 -5
  46. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
  47. package/dist/cjs/justifi-terminals-list.cjs.entry.js +7 -7
  48. package/dist/cjs/{package-DGrVUpde.js → package-DnJ-D1hz.js} +1 -1
  49. package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
  50. package/dist/cjs/{payment.service-By7aeVkC.js → payment.service-8VwquZX4.js} +1 -1
  51. package/dist/cjs/{payout.service-Dn0rXkmg.js → payout.service-CfjxVIch.js} +1 -1
  52. package/dist/cjs/{plaid.service-CjaugrzX.js → plaid.service-C32Ot0be.js} +1 -1
  53. package/dist/cjs/styled-host-BxbU-bI7.js +20 -0
  54. package/dist/cjs/{terminal.service-C0_r_A60.js → terminal.service-CWCqdsOs.js} +1 -1
  55. package/dist/collection/components/modular-checkout/sub-components/justifi-plaid-payment-method.js +12 -8
  56. package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +18 -2
  57. package/dist/collection/ui-components/styled-host/styled-host.js +10 -1
  58. package/dist/docs.json +1 -1
  59. package/dist/esm/{Analytics-tBzmPsnT.js → Analytics-BRg-ot7B.js} +2 -2
  60. package/dist/esm/{Api-BH6Wa9CT.js → Api-IpJbOluD.js} +1 -1
  61. package/dist/esm/additional-questions-form-step_15.entry.js +5 -5
  62. package/dist/esm/bank-account-form.entry.js +2 -2
  63. package/dist/esm/{business.service-XOnczlAa.js → business.service-CUq26RAr.js} +1 -1
  64. package/dist/esm/card-form.entry.js +2 -2
  65. package/dist/esm/{checkout.service-DvSxk9EZ.js → checkout.service-CoV-isHr.js} +1 -1
  66. package/dist/esm/{detect-duplicate-version-BD3-8NL2.js → detect-duplicate-version-Buk1JhSy.js} +1 -1
  67. package/dist/esm/dispute-notification_2.entry.js +5 -5
  68. package/dist/esm/{event-types-CM5AGGBD.js → event-types-qSUHE7co.js} +1 -1
  69. package/dist/esm/form-alert_3.entry.js +1 -1
  70. package/dist/esm/{get-subaccounts-P-x_RqL5.js → get-subaccounts-Cvolc0kY.js} +1 -1
  71. package/dist/esm/justifi-apple-pay_12.entry.js +37 -19
  72. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +5 -5
  73. package/dist/esm/justifi-bank-account-form.entry.js +5 -5
  74. package/dist/esm/justifi-billing-form-full.entry.js +1 -1
  75. package/dist/esm/justifi-billing-form.entry.js +1 -1
  76. package/dist/esm/justifi-business-details.entry.js +6 -6
  77. package/dist/esm/justifi-business-form.entry.js +6 -6
  78. package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
  79. package/dist/esm/justifi-card-form.entry.js +5 -5
  80. package/dist/esm/justifi-checkout-qr-code.entry.js +4 -4
  81. package/dist/esm/justifi-checkout.entry.js +5 -5
  82. package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
  83. package/dist/esm/justifi-checkouts-list.entry.js +7 -7
  84. package/dist/esm/justifi-dispute-management.entry.js +6 -6
  85. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  86. package/dist/esm/justifi-order-terminals.entry.js +7 -7
  87. package/dist/esm/justifi-payment-details.entry.js +6 -6
  88. package/dist/esm/justifi-payment-provisioning.entry.js +6 -6
  89. package/dist/esm/justifi-payment-transactions-list.entry.js +6 -6
  90. package/dist/esm/justifi-payments-list-filters.entry.js +1 -1
  91. package/dist/esm/justifi-payments-list.entry.js +6 -6
  92. package/dist/esm/justifi-payout-details.entry.js +6 -6
  93. package/dist/esm/justifi-payout-transactions-list.entry.js +6 -6
  94. package/dist/esm/justifi-payouts-list-filters.entry.js +1 -1
  95. package/dist/esm/justifi-payouts-list.entry.js +7 -7
  96. package/dist/esm/justifi-qr-terminal.entry.js +5 -5
  97. package/dist/esm/justifi-refund-payment.entry.js +6 -6
  98. package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
  99. package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
  100. package/dist/esm/justifi-skeleton.entry.js +1 -1
  101. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +1 -1
  102. package/dist/esm/justifi-terminal-orders-list.entry.js +5 -5
  103. package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
  104. package/dist/esm/justifi-terminals-list.entry.js +7 -7
  105. package/dist/esm/{package-DhrQechy.js → package-Deobp59r.js} +1 -1
  106. package/dist/esm/payment-method-option.entry.js +1 -1
  107. package/dist/esm/{payment.service-CBUnE4bP.js → payment.service-Cw6qInd6.js} +1 -1
  108. package/dist/esm/{payout.service-DUYaYbeJ.js → payout.service-DOieTpcO.js} +1 -1
  109. package/dist/esm/{plaid.service-Umm80G4q.js → plaid.service-BMWf7Ieo.js} +1 -1
  110. package/dist/esm/styled-host-CXEpP1m_.js +18 -0
  111. package/dist/esm/{terminal.service-DeunLqmo.js → terminal.service-sR0ii2iZ.js} +1 -1
  112. package/dist/module/badge.js +1 -1
  113. package/dist/module/justifi-plaid-payment-method2.js +12 -9
  114. package/dist/module/justifi-tokenize-payment-method2.js +18 -2
  115. package/dist/module/package.js +1 -1
  116. package/dist/module/pagination-menu2.js +1 -1
  117. package/dist/module/parts.js +1 -1
  118. package/dist/module/spinner.js +1 -1
  119. package/dist/module/styled-host.js +11 -2
  120. package/dist/module/terminal-quantity-selector2.js +1 -1
  121. package/dist/types/components/tokenize-payment-method/justifi-tokenize-payment-method.d.ts +1 -0
  122. package/dist/webcomponents/{p-6f7756b7.entry.js → p-01f47ab2.entry.js} +1 -1
  123. package/dist/webcomponents/{p-5f20b0da.entry.js → p-027b4d63.entry.js} +1 -1
  124. package/dist/webcomponents/{p-12f5fdc0.entry.js → p-080a121b.entry.js} +1 -1
  125. package/dist/webcomponents/p-119fd3ce.entry.js +1 -0
  126. package/dist/webcomponents/p-1411a042.entry.js +1 -0
  127. package/dist/webcomponents/{p-e1fbadea.entry.js → p-1f83d0b1.entry.js} +1 -1
  128. package/dist/webcomponents/{p-89ed2d99.entry.js → p-2a01b6f6.entry.js} +1 -1
  129. package/dist/webcomponents/p-2e2dfaef.entry.js +1 -0
  130. package/dist/webcomponents/{p-63e02d42.entry.js → p-32c553c4.entry.js} +1 -1
  131. package/dist/webcomponents/{p-adaa1c98.entry.js → p-3902016f.entry.js} +1 -1
  132. package/dist/webcomponents/{p-5be775e8.entry.js → p-43cba173.entry.js} +1 -1
  133. package/dist/webcomponents/{p-bd4d2924.entry.js → p-445cc319.entry.js} +1 -1
  134. package/dist/webcomponents/p-4791e1d5.entry.js +1 -0
  135. package/dist/webcomponents/p-4b291405.entry.js +1 -0
  136. package/dist/webcomponents/{p-b39c7414.entry.js → p-4d1b2975.entry.js} +1 -1
  137. package/dist/webcomponents/{p-e5feca94.entry.js → p-62ad58a0.entry.js} +1 -1
  138. package/dist/webcomponents/p-7b401cf3.entry.js +1 -0
  139. package/dist/webcomponents/{p-d19d7d41.entry.js → p-8bb301a0.entry.js} +1 -1
  140. package/dist/webcomponents/{p-abebb03c.entry.js → p-8ff641ef.entry.js} +1 -1
  141. package/dist/webcomponents/{p-9c4ac3c5.entry.js → p-921b0976.entry.js} +1 -1
  142. package/dist/webcomponents/{p-357d14ee.entry.js → p-9a6ce4ed.entry.js} +1 -1
  143. package/dist/webcomponents/{p-CEGSQXGU.js → p-B4ZUdQg4.js} +1 -1
  144. package/dist/webcomponents/{p-B6kC9tX2.js → p-B85aBmeH.js} +1 -1
  145. package/dist/webcomponents/{p-Bo7ndXwR.js → p-BTeWJbG_.js} +1 -1
  146. package/dist/webcomponents/{p-DF7oFWnO.js → p-But70V31.js} +1 -1
  147. package/dist/webcomponents/p-BzLTI5Dx.js +1 -0
  148. package/dist/webcomponents/{p-CRaiEpKf.js → p-C9sMQVpY.js} +1 -1
  149. package/dist/webcomponents/{p-C8J9uVEs.js → p-CSFjBLVs.js} +1 -1
  150. package/dist/webcomponents/{p-BKrZL95i.js → p-CaMgPHyw.js} +1 -1
  151. package/dist/webcomponents/{p-CEHwp4sh.js → p-CiVEIyOt.js} +1 -1
  152. package/dist/webcomponents/p-CkyOiDKD.js +1 -0
  153. package/dist/webcomponents/p-DTnmhThV.js +1 -0
  154. package/dist/webcomponents/p-Deobp59r.js +1 -0
  155. package/dist/webcomponents/{p-DCpGH4xL.js → p-DohdDWHF.js} +1 -1
  156. package/dist/webcomponents/{p-2b5533a1.entry.js → p-a65ab079.entry.js} +1 -1
  157. package/dist/webcomponents/{p-511bc0b2.entry.js → p-a6695920.entry.js} +1 -1
  158. package/dist/webcomponents/{p-a8f1c9b3.entry.js → p-ae41697b.entry.js} +1 -1
  159. package/dist/webcomponents/{p-deff4422.entry.js → p-aea1e9e4.entry.js} +1 -1
  160. package/dist/webcomponents/p-b013685d.entry.js +1 -0
  161. package/dist/webcomponents/{p-6bfdc443.entry.js → p-b54c0942.entry.js} +1 -1
  162. package/dist/webcomponents/{p-521c534c.entry.js → p-b699d24b.entry.js} +1 -1
  163. package/dist/webcomponents/{p-3d02cb78.entry.js → p-ba40fffb.entry.js} +1 -1
  164. package/dist/webcomponents/{p-2272a65b.entry.js → p-bebd8879.entry.js} +1 -1
  165. package/dist/webcomponents/{p-5331e011.entry.js → p-d3e734d2.entry.js} +1 -1
  166. package/dist/webcomponents/{p-91358854.entry.js → p-db854b84.entry.js} +1 -1
  167. package/dist/webcomponents/{p-06ed3518.entry.js → p-dc31825e.entry.js} +1 -1
  168. package/dist/webcomponents/{p-28fb6b50.entry.js → p-dec8952b.entry.js} +1 -1
  169. package/dist/webcomponents/{p-fd1718e0.entry.js → p-df32a424.entry.js} +1 -1
  170. package/dist/webcomponents/{p-a1ef7674.entry.js → p-e637a15b.entry.js} +1 -1
  171. package/dist/webcomponents/{p-b2b0303d.entry.js → p-e87da85d.entry.js} +1 -1
  172. package/dist/webcomponents/{p-d59d6c23.entry.js → p-f0195acf.entry.js} +1 -1
  173. package/dist/webcomponents/{p-ff67c8f7.entry.js → p-f5e14a09.entry.js} +1 -1
  174. package/dist/webcomponents/{p-9b930446.entry.js → p-feae3963.entry.js} +1 -1
  175. package/dist/webcomponents/webcomponents.esm.js +1 -1
  176. package/package.json +14 -14
  177. package/dist/cjs/styled-host-CW1WUnUq.js +0 -11
  178. package/dist/esm/styled-host-RvPhw8Gu.js +0 -9
  179. package/dist/webcomponents/p-05AWudQe.js +0 -1
  180. package/dist/webcomponents/p-4dabcfd6.entry.js +0 -1
  181. package/dist/webcomponents/p-51238f79.entry.js +0 -1
  182. package/dist/webcomponents/p-5e196140.entry.js +0 -1
  183. package/dist/webcomponents/p-80177bcb.entry.js +0 -1
  184. package/dist/webcomponents/p-CKL24GQA.js +0 -1
  185. package/dist/webcomponents/p-DEfLsy2W.js +0 -1
  186. package/dist/webcomponents/p-DhrQechy.js +0 -1
  187. package/dist/webcomponents/p-aba3b0dc.entry.js +0 -1
  188. package/dist/webcomponents/p-e75d1756.entry.js +0 -1
  189. package/dist/webcomponents/p-f2c99647.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- import { A as Api } from './Api-BH6Wa9CT.js';
1
+ import { A as Api } from './Api-IpJbOluD.js';
2
2
  import './Plaid-CRcTLeaz.js';
3
3
  import './Pagination-CLHwhyvu.js';
4
4
  import './Business-CTtGaVYs.js';
@@ -1,5 +1,5 @@
1
1
  import { h } from '@stencil/core/internal/client';
2
- import { T as badgeDark, U as badgeLight, V as badgeInfo, W as badgeWarning, X as badgeDanger, Y as badgeSuccess, Z as badgeSecondary, _ as badgePrimary, $ as badge } from './parts.js';
2
+ import { U as badgeDark, V as badgeLight, W as badgeInfo, X as badgeWarning, Y as badgeDanger, Z as badgeSuccess, _ as badgeSecondary, $ as badgePrimary, a0 as badge } from './parts.js';
3
3
 
4
4
  var BadgeVariant;
5
5
  (function (BadgeVariant) {
@@ -1,5 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { c as checkoutStore, o as onChange } from './checkout.store.js';
3
+ import { N as image, l as label, k as textDanger, j as text } from './parts.js';
3
4
  import { S as StyledHost } from './styled-host.js';
4
5
  import './justifi-details2.js';
5
6
  import './event-types.js';
@@ -8,8 +9,6 @@ import { P as PlaidService } from './plaid.service.js';
8
9
  import { P as PLAID_ERROR_SEVERITY, a as PLAID_ERROR_MESSAGES, b as PlaidErrorCodes, C as ComponentErrorSeverity } from './Plaid.js';
9
10
  import { P as PAYMENT_METHODS } from './ModularCheckout.js';
10
11
 
11
- const plaidIconSvg = 'data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjQ4IiB2aWV3Qm94PSIwIDAgMjggMjkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgY2xhc3M9ImNzcy0xcmRhajhtIj48ZyBmaWxsPSIjMTExIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yNS43NjI5IDI2LjI2MjhMMjggMTcuNTMwOUwyNC45NjkxIDE0LjUwMDFMMjcuOTk5OSAxMS40NjkxTDI1Ljc2MjggMi43MzcwNkwxNy4wMzA5IDAuNUwxNC4wMDAxIDMuNTMxTDEwLjk2OSAwLjUwMDE0TDIuMjM3MDYgMi43MzczNEwwIDExLjQ2OTFMMy4wMzEyOCAxNC40OTk5TDAuMDAwMTQgMTcuNTMxTDIuMjM3MiAyNi4yNjI5TDEwLjk2OTEgMjguNUwxNC4wMDAxIDI1LjQ2OUwxNy4wMzEgMjguNDk5OUwyNS43NjI5IDI2LjI2MjhaTTE1LjczMjEgMjMuNzM3MUwxOC42MTg2IDIwLjg1MDVMMjIuMjkxMiAyNC41MjMzTDE3LjY5NTYgMjUuNzAwN0wxNS43MzIxIDIzLjczNzFaTTExLjExMzYgOS44ODE1NEwxNC4wMDAzIDYuOTk1MDJMMTYuODg2OCA5Ljg4MTRMMTQuMDAwMSAxMi43Njc5TDExLjExMzYgOS44ODE1NFpNMTIuMjY4MiAxNC41TDkuMzgxNTQgMTcuMzg2NUw2LjQ5NTAyIDE0LjVMOS4zODE1NCAxMS42MTM1TDEyLjI2ODIgMTQuNVpNMTguNjE4NyAxMS42MTMzTDIxLjUwNTMgMTQuNUwxOC42MTg2IDE3LjM4NjVMMTUuNzMyMSAxNC41TDE4LjYxODcgMTEuNjEzM1pNMTYuODg2NyAxOS4xMTg2TDE0LjAwMDEgMjIuMDA1MUwxMS4xMTM1IDE5LjExODVMMTQuMDAwMSAxNi4yMzE5TDE2Ljg4NjcgMTkuMTE4NlpNMTAuMzA0NCAyNS43MDA3TDUuNzA4NjQgMjQuNTIzM0w5LjM4MTU0IDIwLjg1MDRMMTIuMjY4MiAyMy43MzcxTDEwLjMwNDQgMjUuNzAwN1pNNC43NjMwOCAxNi4yMzE5TDcuNjQ5NiAxOS4xMTg1TDMuOTc2NyAyMi43OTE0TDIuNzk5MyAxOC4xOTU3TDQuNzYzMDggMTYuMjMxOVpNMy45NzY3IDYuMjA4MzZMNy42NDk3NCA5Ljg4MTRMNC43NjMwOCAxMi43NjgxTDIuNzk5MyAxMC44MDQxTDMuOTc2NyA2LjIwODM2Wk0xMi4yNjgzIDUuMjYyOTRMOS4zODE2OCA4LjE0OTZMNS43MDg5MiA0LjQ3NjdMMTAuMzA0NyAzLjI5OTNMMTIuMjY4MyA1LjI2Mjk0Wk0xNy42OTU5IDMuMjk5M0wyMi4yOTE1IDQuNDc2N0wxOC42MTg2IDguMTQ5NDZMMTUuNzMyMSA1LjI2Mjk0TDE3LjY5NTkgMy4yOTkzWk0yMy4yMzcyIDEyLjc2ODFMMjAuMzUwNSA5Ljg4MTRMMjQuMDIzMyA2LjIwODc4TDI1LjIwMDcgMTAuODA0NkwyMy4yMzcyIDEyLjc2ODFaTTI0LjAyMzMgMjIuNzkxNEwyMC4zNTA1IDE5LjExODZMMjMuMjM3MiAxNi4yMzIxTDI1LjIwMDcgMTguMTk1N0wyNC4wMjMzIDIyLjc5MTRaIj48L3BhdGg+PC9nPjwvc3ZnPgo=';
12
-
13
12
  const JustifiPlaidPaymentMethod = /*@__PURE__*/ proxyCustomElement(class JustifiPlaidPaymentMethod extends HTMLElement {
14
13
  constructor(registerHost) {
15
14
  super();
@@ -536,13 +535,16 @@ const JustifiPlaidPaymentMethod = /*@__PURE__*/ proxyCustomElement(class Justifi
536
535
  }
537
536
  return null;
538
537
  }
539
- const plaidLogo = (h("img", { class: "plaid-logo-img", src: plaidIconSvg, alt: "Plaid", title: "Plaid", style: {
538
+ // Inlined rather than an <img> so the mark inherits the surrounding text
539
+ // color via currentColor -- an <img> cannot, and the old asset's hardcoded
540
+ // #111 fill was invisible on dark themes.
541
+ const plaidLogo = (h("svg", { class: "plaid-logo-img", part: image, role: "img", "aria-label": "Plaid", viewBox: "0 0 28 29", xmlns: "http://www.w3.org/2000/svg", style: {
540
542
  display: 'inline',
541
543
  width: '20px',
542
544
  height: '20px',
543
545
  marginLeft: '5px',
544
546
  marginTop: '-2px',
545
- } }));
547
+ } }, h("title", null, "Plaid"), h("path", { fill: "currentColor", "fill-rule": "evenodd", d: "M25.7629 26.2628L28 17.5309L24.9691 14.5001L27.9999 11.4691L25.7628 2.73706L17.0309 0.5L14.0001 3.531L10.969 0.50014L2.23706 2.73734L0 11.4691L3.03128 14.4999L0.00014 17.531L2.2372 26.2629L10.9691 28.5L14.0001 25.469L17.031 28.4999L25.7629 26.2628ZM15.7321 23.7371L18.6186 20.8505L22.2912 24.5233L17.6956 25.7007L15.7321 23.7371ZM11.1136 9.88154L14.0003 6.99502L16.8868 9.8814L14.0001 12.7679L11.1136 9.88154ZM12.2682 14.5L9.38154 17.3865L6.49502 14.5L9.38154 11.6135L12.2682 14.5ZM18.6187 11.6133L21.5053 14.5L18.6186 17.3865L15.7321 14.5L18.6187 11.6133ZM16.8867 19.1186L14.0001 22.0051L11.1135 19.1185L14.0001 16.2319L16.8867 19.1186ZM10.3044 25.7007L5.70864 24.5233L9.38154 20.8504L12.2682 23.7371L10.3044 25.7007ZM4.76308 16.2319L7.6496 19.1185L3.9767 22.7914L2.7993 18.1957L4.76308 16.2319ZM3.9767 6.20836L7.64974 9.8814L4.76308 12.7681L2.7993 10.8041L3.9767 6.20836ZM12.2683 5.26294L9.38168 8.1496L5.70892 4.4767L10.3047 3.2993L12.2683 5.26294ZM17.6959 3.2993L22.2915 4.4767L18.6186 8.14946L15.7321 5.26294L17.6959 3.2993ZM23.2372 12.7681L20.3505 9.8814L24.0233 6.20878L25.2007 10.8046L23.2372 12.7681ZM24.0233 22.7914L20.3505 19.1186L23.2372 16.2321L25.2007 18.1957L24.0233 22.7914Z" })));
546
548
  const renderErrorState = () => {
547
549
  if (!this.error)
548
550
  return null;
@@ -551,23 +553,24 @@ const JustifiPlaidPaymentMethod = /*@__PURE__*/ proxyCustomElement(class Justifi
551
553
  : this.error.severity === ComponentErrorSeverity.WARNING
552
554
  ? 'text-warning'
553
555
  : 'text-info';
554
- return (h("div", { class: `${errorClass} mt-2` }, h("small", null, this.error.message), h("br", null), h("small", { class: "text-muted" }, this.error.userAction, this.error.retryable && this.retryCount < this.maxRetries && (h("span", null, " \u2022 Auto-retry in progress...")))));
556
+ const errorPart = this.error.severity === ComponentErrorSeverity.ERROR ? textDanger : text;
557
+ return (h("div", { class: "mt-2" }, h("div", { class: errorClass }, h("small", { part: errorPart }, this.error.message)), h("div", { class: "text-muted" }, h("small", { part: text }, this.error.userAction, this.error.retryable && this.retryCount < this.maxRetries && (h("span", null, " \u2022 Auto-retry in progress..."))))));
555
558
  };
556
559
  const renderStatusState = () => {
557
560
  if (this.error)
558
561
  return null;
559
562
  if (this.isAuthenticating) {
560
- return (h("div", { class: "text-info mt-2" }, h("small", null, "Connecting to your bank...")));
563
+ return (h("div", { class: "text-info mt-2" }, h("small", { part: text }, "Connecting to your bank...")));
561
564
  }
562
565
  if (this.publicToken) {
563
- return (h("div", { class: "text-success mt-2" }, h("small", null, "\u2713 Bank account connected successfully")));
566
+ return (h("div", { class: "text-success mt-2" }, h("small", { part: text }, "\u2713 Bank account connected successfully")));
564
567
  }
565
568
  if (this.isSelected && !this.publicToken && !this.error && !this.isAuthenticating) {
566
- return (h("div", { class: "text-muted mt-2" }, h("small", null, "Click to connect your bank account")));
569
+ return (h("div", { class: "text-muted mt-2" }, h("small", { part: text }, "Click to connect your bank account")));
567
570
  }
568
571
  return null;
569
572
  };
570
- return (h(StyledHost, { class: "payment-method" }, h("div", { title: "Pay with Plaid" }, h("div", { onClick: (event) => { event.preventDefault(); this.handleSelectionClick(); } }, "Pay with Bank Account ", plaidLogo, " "), renderErrorState(), renderStatusState())));
573
+ return (h(StyledHost, { class: "payment-method", exportparts: "label,text,color,font-family,text-danger,image" }, h("div", { title: "Pay with Plaid" }, h("div", { part: label, onClick: (event) => { event.preventDefault(); this.handleSelectionClick(); } }, "Pay with Bank Account ", plaidLogo, " "), renderErrorState(), renderStatusState())));
571
574
  }
572
575
  static get watchers() { return {
573
576
  "isSelected": ["onSelectionChange"]
@@ -71,6 +71,16 @@ const JustifiTokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class Just
71
71
  this.unsubscribeFromStore();
72
72
  }
73
73
  }
74
+ componentWillRender() {
75
+ // A cancelled wallet flow clears the store (modular-checkout's apple/google/
76
+ // paypal cancel handlers) without telling us. Local state still holds this
77
+ // component's option, and renderPaymentMethodOption keeps its radio checked
78
+ // on that basis — so re-claim the store, or submit reports "No payment
79
+ // method selected." while the radio plainly looks selected.
80
+ if (this.selectedPaymentMethod && !checkoutStore.selectedPaymentMethod) {
81
+ checkoutStore.selectedPaymentMethod = { type: this.selectedPaymentMethod };
82
+ }
83
+ }
74
84
  componentWillLoad() {
75
85
  detectDuplicateVersion();
76
86
  this.analytics = new JustifiAnalytics(this);
@@ -279,7 +289,13 @@ const JustifiTokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class Just
279
289
  return this.disableCreditCard || this.disableBankAccount;
280
290
  }
281
291
  renderPaymentMethodOption(paymentMethodType) {
282
- const isSelected = this.selectedPaymentMethod === paymentMethodType && checkoutStore.selectedPaymentMethod.id === undefined;
292
+ // Siblings (plaid, sezzle, wallets, saved methods) select themselves by
293
+ // writing the store, not by emitting radio-click, so local state alone
294
+ // would leave this radio checked next to theirs.
295
+ const storeSelection = checkoutStore.selectedPaymentMethod;
296
+ const claimedBySibling = !!storeSelection &&
297
+ (storeSelection.id !== undefined || storeSelection.type !== paymentMethodType);
298
+ const isSelected = this.selectedPaymentMethod === paymentMethodType && !claimedBySibling;
283
299
  return (h("div", { class: "payment-method" }, h("radio-list-item", { name: "paymentMethodType", value: paymentMethodType, checked: isSelected, label: PAYMENT_METHOD_TYPE_LABELS[paymentMethodType], hidden: this.shouldHideRadioInput }), isSelected && this.renderSelectedPaymentMethodForm(paymentMethodType)));
284
300
  }
285
301
  renderSelectedPaymentMethodForm(paymentMethodType) {
@@ -298,7 +314,7 @@ const JustifiTokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class Just
298
314
  }, showAccountNumberConfirmation: this.showAccountNumberConfirmation }));
299
315
  }
300
316
  render() {
301
- return (h(StyledHost, { key: 'd065263c69beef410298f14a3c8e595460149267' }, h("form", { key: 'cbf67700b366e26eb9a6aa1fe07afd3f7baf5c52' }, h("fieldset", { key: '3fd1ccefca659985eb2b90c1080c71c0f2ffe99a' }, h("div", { key: '7181cff13f4cc7aa6c00f4023757bac96625e87b', class: "row gy-3" }, h("div", { key: 'c04c382e858eab02206902d23e3921d15d2bfebc', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: '9faa4417ba3e5dba526103f8d92fd5a88ce2df7d', class: "col-12" }, h("internal-button", { key: 'e4fc2482631553212e5cf62b07f2f44f32239b75', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
317
+ return (h(StyledHost, { key: 'eff8f53ba9e7935822cb6848422bb0e86d5c762b' }, h("form", { key: 'a1af6ad70700565a46644a487109cb8be91a2a1e' }, h("fieldset", { key: '289038090f6a03feb2467b4da0be0231da4c9d58' }, h("div", { key: 'fc536a12ac5a2245dc2f458a5cb5eb42a0faa2c9', class: "row gy-3" }, h("div", { key: '42f5add1ed97ddca1b7f229f572f94c0f5eb990b', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: '34c980bab861d09c0bed6666409197a9067610a1', class: "col-12" }, h("internal-button", { key: '71800d244d727d42bb50acea662cc1d8ebb37775', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
302
318
  }
303
319
  get host() { return this; }
304
320
  static get watchers() { return {
@@ -1,4 +1,4 @@
1
- const version = "6.16.0-rc.2";
1
+ const version = "6.16.0";
2
2
  var webcomponentsPackageJson = {
3
3
  version: version};
4
4
 
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { E as ExtendedPagingDefaults } from './Pagination.js';
3
- import { N as paginationButton, O as paginationButtonDisabled, P as paginationButtonIconPrevious, Q as paginationButtonText, R as paginationButtonIconNext } from './parts.js';
3
+ import { O as paginationButton, P as paginationButtonDisabled, Q as paginationButtonIconPrevious, R as paginationButtonText, S as paginationButtonIconNext } from './parts.js';
4
4
 
5
5
  const PaginationMenu = /*@__PURE__*/ proxyCustomElement(class PaginationMenu extends HTMLElement {
6
6
  constructor(registerHost) {
@@ -107,4 +107,4 @@ const checkoutSummary = `checkout-summary`;
107
107
  const filterMenu = `filter-menu`;
108
108
  const filterParam = `filter-param`;
109
109
 
110
- export { badge as $, buttonPrimary as A, buttonSecondary as B, card as C, table as D, tableHeadCell as E, tableCell as F, alert as G, inputCheckboxInvalid as H, inputCheckboxCheckedFocused as I, inputCheckboxFocused as J, inputCheckboxChecked as K, inputCheckbox as L, heading4 as M, paginationButton as N, paginationButtonDisabled as O, paginationButtonIconPrevious as P, paginationButtonText as Q, paginationButtonIconNext as R, loadingSpinner as S, badgeDark as T, badgeLight as U, badgeInfo as V, badgeWarning as W, badgeDanger as X, badgeSuccess as Y, badgeSecondary as Z, badgePrimary as _, inputAdornment as a, image as a0, buttonLink as a1, heading5 as a2, buttonOutlineSecondary as a3, buttonOutlinePrimary as a4, buttonDark as a5, buttonLight as a6, buttonInfo as a7, buttonWarning as a8, buttonDanger as a9, buttonSuccess as aa, buttonLoading as ab, checkoutSummary as ac, filterMenu as ad, filterParam as ae, dropdownMenuButton as af, dropdownMenu as ag, getAlternateTableCellPart as ah, tableHead as ai, tableHeadRow as aj, tableRow as ak, tableFoot as al, tableFootRow as am, tableFootCell as an, tableEmpty as ao, tableError as ap, inputInvalid as b, inputDisabled as c, inputFocused as d, input as e, tooltip as f, tooltipInner as g, heading2 as h, inputGroup as i, text as j, textDanger as k, label as l, link as m, heading1 as n, inputRadioInvalid as o, inputRadioCheckedFocused as p, inputRadioChecked as q, inputRadioFocused as r, inputRadio as s, tooltipIcon as t, radioListItem as u, inputInvalidAndFocused as v, skeleton as w, billingForm as x, alertDanger as y, heading3 as z };
110
+ export { badgePrimary as $, buttonPrimary as A, buttonSecondary as B, card as C, table as D, tableHeadCell as E, tableCell as F, alert as G, inputCheckboxInvalid as H, inputCheckboxCheckedFocused as I, inputCheckboxFocused as J, inputCheckboxChecked as K, inputCheckbox as L, heading4 as M, image as N, paginationButton as O, paginationButtonDisabled as P, paginationButtonIconPrevious as Q, paginationButtonText as R, paginationButtonIconNext as S, loadingSpinner as T, badgeDark as U, badgeLight as V, badgeInfo as W, badgeWarning as X, badgeDanger as Y, badgeSuccess as Z, badgeSecondary as _, inputAdornment as a, badge as a0, buttonLink as a1, heading5 as a2, buttonOutlineSecondary as a3, buttonOutlinePrimary as a4, buttonDark as a5, buttonLight as a6, buttonInfo as a7, buttonWarning as a8, buttonDanger as a9, buttonSuccess as aa, buttonLoading as ab, checkoutSummary as ac, filterMenu as ad, filterParam as ae, dropdownMenuButton as af, dropdownMenu as ag, getAlternateTableCellPart as ah, tableHead as ai, tableHeadRow as aj, tableRow as ak, tableFoot as al, tableFootRow as am, tableFootCell as an, tableEmpty as ao, tableError as ap, inputInvalid as b, inputDisabled as c, inputFocused as d, input as e, tooltip as f, tooltipInner as g, heading2 as h, inputGroup as i, text as j, textDanger as k, label as l, link as m, heading1 as n, inputRadioInvalid as o, inputRadioCheckedFocused as p, inputRadioChecked as q, inputRadioFocused as r, inputRadio as s, tooltipIcon as t, radioListItem as u, inputInvalidAndFocused as v, skeleton as w, billingForm as x, alertDanger as y, heading3 as z };
@@ -1,5 +1,5 @@
1
1
  import { h } from '@stencil/core/internal/client';
2
- import { S as loadingSpinner } from './parts.js';
2
+ import { T as loadingSpinner } from './parts.js';
3
3
 
4
4
  const Spinner = () => {
5
5
  return (h("div", { class: "d-flex justify-content-center" }, h("div", { class: "spinner-border", role: "status", part: loadingSpinner }, h("span", { class: "visually-hidden" }, "Loading..."))));