@justifi/webcomponents 6.16.0-rc.2 → 6.16.0-rc.3
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.
- package/dist/cjs/{Analytics-CDE3KpL6.js → Analytics-C1FDYwxD.js} +2 -2
- package/dist/cjs/{Api-CaEn8pKs.js → Api-DzRWrqRx.js} +1 -1
- package/dist/cjs/additional-questions-form-step_15.cjs.entry.js +5 -5
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/{business.service-DIspRonp.js → business.service-D2D8ABMT.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{checkout.service-CM1Duar4.js → checkout.service-CVpXCi8z.js} +1 -1
- package/dist/cjs/{detect-duplicate-version-DyHHkx4J.js → detect-duplicate-version-Bd2jUlYF.js} +1 -1
- package/dist/cjs/dispute-notification_2.cjs.entry.js +5 -5
- package/dist/cjs/{event-types-DNCxVTir.js → event-types-DptyH3kd.js} +1 -1
- package/dist/cjs/form-alert_3.cjs.entry.js +1 -1
- package/dist/cjs/{get-subaccounts-8LeFCTm6.js → get-subaccounts-CgzPwTgf.js} +1 -1
- package/dist/cjs/justifi-apple-pay_12.cjs.entry.js +36 -18
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +5 -5
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +5 -5
- package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
- package/dist/cjs/justifi-billing-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-business-form.cjs.entry.js +6 -6
- package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkout.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -6
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payment-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payments-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payout-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-qr-terminal.cjs.entry.js +5 -5
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +6 -6
- package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +7 -7
- package/dist/cjs/{package-DGrVUpde.js → package-45W01-Af.js} +1 -1
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment.service-By7aeVkC.js → payment.service-Cbs38oOx.js} +1 -1
- package/dist/cjs/{payout.service-Dn0rXkmg.js → payout.service-DGEinO-8.js} +1 -1
- package/dist/cjs/{plaid.service-CjaugrzX.js → plaid.service-JISYtGYD.js} +1 -1
- package/dist/cjs/styled-host-BxbU-bI7.js +20 -0
- package/dist/cjs/{terminal.service-C0_r_A60.js → terminal.service-9sdCsY2z.js} +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-plaid-payment-method.js +12 -8
- package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +18 -2
- package/dist/collection/ui-components/styled-host/styled-host.js +10 -1
- package/dist/docs.json +1 -1
- package/dist/esm/{Analytics-tBzmPsnT.js → Analytics-C9VVBFjO.js} +2 -2
- package/dist/esm/{Api-BH6Wa9CT.js → Api-BSUerPjV.js} +1 -1
- package/dist/esm/additional-questions-form-step_15.entry.js +5 -5
- package/dist/esm/bank-account-form.entry.js +2 -2
- package/dist/esm/{business.service-XOnczlAa.js → business.service-DRzTONqj.js} +1 -1
- package/dist/esm/card-form.entry.js +2 -2
- package/dist/esm/{checkout.service-DvSxk9EZ.js → checkout.service-8sMLHuiA.js} +1 -1
- package/dist/esm/{detect-duplicate-version-BD3-8NL2.js → detect-duplicate-version-Dtfd-S4Z.js} +1 -1
- package/dist/esm/dispute-notification_2.entry.js +5 -5
- package/dist/esm/{event-types-CM5AGGBD.js → event-types-Dix82sNv.js} +1 -1
- package/dist/esm/form-alert_3.entry.js +1 -1
- package/dist/esm/{get-subaccounts-P-x_RqL5.js → get-subaccounts-DjD2utKp.js} +1 -1
- package/dist/esm/justifi-apple-pay_12.entry.js +37 -19
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +5 -5
- package/dist/esm/justifi-bank-account-form.entry.js +5 -5
- package/dist/esm/justifi-billing-form-full.entry.js +1 -1
- package/dist/esm/justifi-billing-form.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +6 -6
- package/dist/esm/justifi-business-form.entry.js +6 -6
- package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +5 -5
- package/dist/esm/justifi-checkout-qr-code.entry.js +4 -4
- package/dist/esm/justifi-checkout.entry.js +5 -5
- package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-checkouts-list.entry.js +7 -7
- package/dist/esm/justifi-dispute-management.entry.js +6 -6
- package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
- package/dist/esm/justifi-order-terminals.entry.js +7 -7
- package/dist/esm/justifi-payment-details.entry.js +6 -6
- package/dist/esm/justifi-payment-provisioning.entry.js +6 -6
- package/dist/esm/justifi-payment-transactions-list.entry.js +6 -6
- package/dist/esm/justifi-payments-list-filters.entry.js +1 -1
- package/dist/esm/justifi-payments-list.entry.js +6 -6
- package/dist/esm/justifi-payout-details.entry.js +6 -6
- package/dist/esm/justifi-payout-transactions-list.entry.js +6 -6
- package/dist/esm/justifi-payouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-payouts-list.entry.js +7 -7
- package/dist/esm/justifi-qr-terminal.entry.js +5 -5
- package/dist/esm/justifi-refund-payment.entry.js +6 -6
- package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
- package/dist/esm/justifi-skeleton.entry.js +1 -1
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +1 -1
- package/dist/esm/justifi-terminal-orders-list.entry.js +5 -5
- package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
- package/dist/esm/justifi-terminals-list.entry.js +7 -7
- package/dist/esm/{package-DhrQechy.js → package-C04splpj.js} +1 -1
- package/dist/esm/payment-method-option.entry.js +1 -1
- package/dist/esm/{payment.service-CBUnE4bP.js → payment.service-CLLAQ4ht.js} +1 -1
- package/dist/esm/{payout.service-DUYaYbeJ.js → payout.service-BZgKgDDq.js} +1 -1
- package/dist/esm/{plaid.service-Umm80G4q.js → plaid.service-CUoMQV-m.js} +1 -1
- package/dist/esm/styled-host-CXEpP1m_.js +18 -0
- package/dist/esm/{terminal.service-DeunLqmo.js → terminal.service-De58ZPM6.js} +1 -1
- package/dist/module/badge.js +1 -1
- package/dist/module/justifi-plaid-payment-method2.js +12 -9
- package/dist/module/justifi-tokenize-payment-method2.js +18 -2
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +1 -1
- package/dist/module/parts.js +1 -1
- package/dist/module/spinner.js +1 -1
- package/dist/module/styled-host.js +11 -2
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/types/components/tokenize-payment-method/justifi-tokenize-payment-method.d.ts +1 -0
- package/dist/webcomponents/p-12ee2546.entry.js +1 -0
- package/dist/webcomponents/{p-e5feca94.entry.js → p-1336c977.entry.js} +1 -1
- package/dist/webcomponents/p-1411a042.entry.js +1 -0
- package/dist/webcomponents/{p-51238f79.entry.js → p-19e638a1.entry.js} +1 -1
- package/dist/webcomponents/{p-e1fbadea.entry.js → p-2603928d.entry.js} +1 -1
- package/dist/webcomponents/p-266b3cf4.entry.js +1 -0
- package/dist/webcomponents/{p-b39c7414.entry.js → p-2a54e5d1.entry.js} +1 -1
- package/dist/webcomponents/{p-abebb03c.entry.js → p-303f8ffd.entry.js} +1 -1
- package/dist/webcomponents/{p-adaa1c98.entry.js → p-3c835c5d.entry.js} +1 -1
- package/dist/webcomponents/{p-511bc0b2.entry.js → p-599816a1.entry.js} +1 -1
- package/dist/webcomponents/p-5b9315b6.entry.js +1 -0
- package/dist/webcomponents/{p-ff67c8f7.entry.js → p-5de3f411.entry.js} +1 -1
- package/dist/webcomponents/{p-06ed3518.entry.js → p-73800780.entry.js} +1 -1
- package/dist/webcomponents/{p-d19d7d41.entry.js → p-8bb301a0.entry.js} +1 -1
- package/dist/webcomponents/{p-bd4d2924.entry.js → p-8de46fd1.entry.js} +1 -1
- package/dist/webcomponents/{p-5f20b0da.entry.js → p-92970d9d.entry.js} +1 -1
- package/dist/webcomponents/{p-5be775e8.entry.js → p-99111cd2.entry.js} +1 -1
- package/dist/webcomponents/p-9Lrj4zm8.js +1 -0
- package/dist/webcomponents/{p-357d14ee.entry.js → p-9a6ce4ed.entry.js} +1 -1
- package/dist/webcomponents/p-B-LmgMK4.js +1 -0
- package/dist/webcomponents/p-B1u-Iegl.js +1 -0
- package/dist/webcomponents/p-B8UcvRjv.js +1 -0
- package/dist/webcomponents/{p-DF7oFWnO.js → p-BJUSJGPP.js} +1 -1
- package/dist/webcomponents/p-C04splpj.js +1 -0
- package/dist/webcomponents/p-CZuwNeL1.js +1 -0
- package/dist/webcomponents/{p-CEHwp4sh.js → p-DON5-wIV.js} +1 -1
- package/dist/webcomponents/p-DTnmhThV.js +1 -0
- package/dist/webcomponents/{p-BKrZL95i.js → p-DWjkuM6f.js} +1 -1
- package/dist/webcomponents/{p-DCpGH4xL.js → p-Da0IToMr.js} +1 -1
- package/dist/webcomponents/{p-Bo7ndXwR.js → p-DgKsNl4p.js} +1 -1
- package/dist/webcomponents/{p-6f7756b7.entry.js → p-a19c4d51.entry.js} +1 -1
- package/dist/webcomponents/{p-12f5fdc0.entry.js → p-a3da15b6.entry.js} +1 -1
- package/dist/webcomponents/{p-2b5533a1.entry.js → p-a65ab079.entry.js} +1 -1
- package/dist/webcomponents/{p-fd1718e0.entry.js → p-a6b98663.entry.js} +1 -1
- package/dist/webcomponents/{p-b2b0303d.entry.js → p-ad842c42.entry.js} +1 -1
- package/dist/webcomponents/{p-a8f1c9b3.entry.js → p-ae41697b.entry.js} +1 -1
- package/dist/webcomponents/{p-deff4422.entry.js → p-aea1e9e4.entry.js} +1 -1
- package/dist/webcomponents/{p-6bfdc443.entry.js → p-b54c0942.entry.js} +1 -1
- package/dist/webcomponents/{p-521c534c.entry.js → p-b699d24b.entry.js} +1 -1
- package/dist/webcomponents/{p-3d02cb78.entry.js → p-b76b8634.entry.js} +1 -1
- package/dist/webcomponents/{p-2272a65b.entry.js → p-bebd8879.entry.js} +1 -1
- package/dist/webcomponents/{p-5331e011.entry.js → p-c96e25f9.entry.js} +1 -1
- package/dist/webcomponents/{p-5e196140.entry.js → p-d0a40e88.entry.js} +1 -1
- package/dist/webcomponents/p-d1361e3c.entry.js +1 -0
- package/dist/webcomponents/{p-d59d6c23.entry.js → p-d46ebc1c.entry.js} +1 -1
- package/dist/webcomponents/{p-a1ef7674.entry.js → p-dad1f6b9.entry.js} +1 -1
- package/dist/webcomponents/{p-91358854.entry.js → p-db854b84.entry.js} +1 -1
- package/dist/webcomponents/{p-28fb6b50.entry.js → p-dec8952b.entry.js} +1 -1
- package/dist/webcomponents/p-e3914845.entry.js +1 -0
- package/dist/webcomponents/{p-aba3b0dc.entry.js → p-e3f57bb1.entry.js} +1 -1
- package/dist/webcomponents/{p-89ed2d99.entry.js → p-e7c13d73.entry.js} +1 -1
- package/dist/webcomponents/{p-9c4ac3c5.entry.js → p-ee605f62.entry.js} +1 -1
- package/dist/webcomponents/{p-B6kC9tX2.js → p-rYB3onzC.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/styled-host-CW1WUnUq.js +0 -11
- package/dist/esm/styled-host-RvPhw8Gu.js +0 -9
- package/dist/webcomponents/p-05AWudQe.js +0 -1
- package/dist/webcomponents/p-4dabcfd6.entry.js +0 -1
- package/dist/webcomponents/p-63e02d42.entry.js +0 -1
- package/dist/webcomponents/p-80177bcb.entry.js +0 -1
- package/dist/webcomponents/p-9b930446.entry.js +0 -1
- package/dist/webcomponents/p-C8J9uVEs.js +0 -1
- package/dist/webcomponents/p-CEGSQXGU.js +0 -1
- package/dist/webcomponents/p-CKL24GQA.js +0 -1
- package/dist/webcomponents/p-CRaiEpKf.js +0 -1
- package/dist/webcomponents/p-DEfLsy2W.js +0 -1
- package/dist/webcomponents/p-DhrQechy.js +0 -1
- package/dist/webcomponents/p-e75d1756.entry.js +0 -1
- package/dist/webcomponents/p-f2c99647.entry.js +0 -1
package/dist/module/badge.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
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
|
-
|
|
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
|
-
|
|
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",
|
|
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",
|
|
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",
|
|
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
|
-
|
|
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: '
|
|
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 {
|
package/dist/module/package.js
CHANGED
|
@@ -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 {
|
|
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) {
|
package/dist/module/parts.js
CHANGED
|
@@ -107,4 +107,4 @@ const checkoutSummary = `checkout-summary`;
|
|
|
107
107
|
const filterMenu = `filter-menu`;
|
|
108
108
|
const filterParam = `filter-param`;
|
|
109
109
|
|
|
110
|
-
export {
|
|
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 };
|
package/dist/module/spinner.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
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..."))));
|