@justifi/webcomponents 6.10.2 → 6.10.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.
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-Cl6qJPK_.js → badge-Bd6H9TX2.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_9.cjs.entry.js +7 -13
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/button-DAbSQPoU.js +43 -0
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-axrC8Ato.js → check-pkg-version-Mv0ez8Cf.js} +1 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +5 -5
- package/dist/cjs/{checkouts-table-CXgizBib.js → checkouts-table-KuNixae0.js} +2 -2
- package/dist/cjs/custom-popper_2.cjs.entry.js +1 -1
- package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
- package/dist/cjs/form-control-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/{form-control-error-text-6-HeM6bw.js → form-control-error-text-C4Wqr79O.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +2 -2
- package/dist/cjs/{form-control-help-text-D0LaZkGk.js → form-control-help-text-Bo9d_mCH.js} +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +3 -3
- package/dist/cjs/form-control-number-masked_3.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number_3.cjs.entry.js +4 -4
- package/dist/cjs/form-control-radio.cjs.entry.js +1 -1
- package/dist/cjs/form-control-select_2.cjs.entry.js +2 -2
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
- package/dist/cjs/{header-1-BOijdmPN.js → header-1-DR-eAlp1.js} +1 -1
- package/dist/cjs/{header-3-FeTJjrR1.js → header-3-kgnQtxEu.js} +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +3 -3
- package/dist/cjs/{insurance-state-DIV_moDI.js → insurance-state-CRhLwPxQ.js} +1 -1
- package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +5 -5
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +73 -65
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +1 -1
- package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +26 -19
- package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-business-form.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkout.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +5 -5
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +5 -5
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +5 -5
- 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 +4 -4
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +5 -5
- package/dist/cjs/justifi-saved-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 +2 -2
- 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 +5 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-CAxc3X25.js → package-OpgJzVo3.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-C0AyF3nd.js → parts-WjOn_TIy.js} +16 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +5 -5
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment-provisioning-loading-CbcFPETB.js → payment-provisioning-loading-BHAFHTuI.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +6 -6
- package/dist/cjs/{payments-status-EZ95BQex.js → payments-status-BngaUiWA.js} +1 -1
- package/dist/cjs/{payments-table-D5Hw3JDe.js → payments-table-DFOF8yrM.js} +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +9 -9
- package/dist/cjs/payouts-list-core.cjs.entry.js +6 -6
- package/dist/cjs/{payouts-status-D1IbE3-c.js → payouts-status-CP5T9uAc.js} +1 -1
- package/dist/cjs/{payouts-table-DmVthJLU.js → payouts-table-CHNRLZ3K.js} +2 -2
- package/dist/cjs/plaid.service-DvbLnuph.js +43 -0
- package/dist/cjs/{skeleton-C9Aio7v_.js → skeleton-BfN_sjaY.js} +1 -1
- package/dist/cjs/{spinner-oLSXKwxU.js → spinner-51BOfCoS.js} +1 -1
- package/dist/cjs/{table-CEW0_wq-.js → table-CimkSek7.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +2 -2
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +5 -5
- package/dist/cjs/{terminal-orders-table-DPHz95-0.js → terminal-orders-table-DDLvv83x.js} +2 -2
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +5 -5
- package/dist/cjs/{terminals-table-C6rm50Mk.js → terminals-table-BU73whCF.js} +2 -2
- package/dist/cjs/{utils-Vwo0VR7n.js → utils-CowQ4GdN.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +71 -64
- package/dist/collection/components/business-forms/payment-provisioning/plaid-verification/plaid-verification.js +1 -8
- package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +14 -9
- package/dist/collection/components/payout-details/payout-details-core.js +3 -3
- package/dist/collection/styles/parts.js +7 -0
- package/dist/collection/ui-components/button.js +27 -3
- package/dist/docs.json +14 -14
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{badge-AZ7Z3PKH.js → badge-BfWXAKIJ.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_9.entry.js +6 -12
- package/dist/esm/bank-account-form.entry.js +2 -2
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/button-DoF-zpiW.js +41 -0
- package/dist/esm/card-form.entry.js +2 -2
- package/dist/esm/{check-pkg-version-BVLXSZXz.js → check-pkg-version-QOngucT4.js} +1 -1
- package/dist/esm/checkouts-list-core.entry.js +5 -5
- package/dist/esm/{checkouts-table-C5aYyqpX.js → checkouts-table-XjFiAWCw.js} +2 -2
- package/dist/esm/custom-popper_2.entry.js +1 -1
- package/dist/esm/form-alert_5.entry.js +1 -1
- package/dist/esm/form-control-checkbox.entry.js +3 -3
- package/dist/esm/form-control-date.entry.js +2 -2
- package/dist/esm/{form-control-error-text-xEskXF-M.js → form-control-error-text-D5B0Wy4Q.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +2 -2
- package/dist/esm/{form-control-help-text-Dgnv4IId.js → form-control-help-text-XuRclELV.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +3 -3
- package/dist/esm/form-control-number-masked_3.entry.js +2 -2
- package/dist/esm/form-control-number_3.entry.js +4 -4
- package/dist/esm/form-control-radio.entry.js +1 -1
- package/dist/esm/form-control-select_2.entry.js +2 -2
- package/dist/esm/gross-payment-chart-core.entry.js +3 -3
- package/dist/esm/{header-1-xlSavD5o.js → header-1-BIaO3iDb.js} +1 -1
- package/dist/esm/{header-3-egutsoDI.js → header-3-UswhFvUr.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +3 -3
- package/dist/esm/{insurance-state-jZTKdt60.js → insurance-state-MpA7uaXF.js} +1 -1
- package/dist/esm/internal-tokenize-payment-method_7.entry.js +5 -5
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +73 -65
- package/dist/esm/justifi-additional-statement_8.entry.js +1 -1
- package/dist/esm/justifi-apple-pay_8.entry.js +23 -16
- package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +2 -2
- package/dist/esm/justifi-business-details.entry.js +4 -4
- package/dist/esm/justifi-business-form.entry.js +6 -6
- package/dist/esm/justifi-checkout.entry.js +3 -3
- package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-checkouts-list.entry.js +5 -5
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +2 -2
- package/dist/esm/justifi-dispute-notification_3.entry.js +5 -5
- package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
- package/dist/esm/justifi-order-terminals.entry.js +4 -4
- package/dist/esm/justifi-payment-details.entry.js +4 -4
- package/dist/esm/justifi-payment-provisioning-core.entry.js +4 -4
- package/dist/esm/justifi-payment-provisioning.entry.js +2 -2
- package/dist/esm/justifi-payment-transactions-list.entry.js +5 -5
- 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 +4 -4
- package/dist/esm/justifi-payout-transactions-list.entry.js +5 -5
- package/dist/esm/justifi-payouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-payouts-list.entry.js +6 -6
- package/dist/esm/justifi-refund-payment.entry.js +5 -5
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
- package/dist/esm/justifi-skeleton.entry.js +2 -2
- 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 +5 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-Bjv3eJBk.js → package-Cc6518FT.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-C4FLe2pT.js → parts-c8J1gsDg.js} +9 -1
- package/dist/esm/payment-details-core.entry.js +5 -5
- package/dist/esm/payment-method-option.entry.js +1 -1
- package/dist/esm/{payment-provisioning-loading-D_VKtlLm.js → payment-provisioning-loading-DRFgrvp1.js} +1 -1
- package/dist/esm/payments-list-core.entry.js +6 -6
- package/dist/esm/{payments-status-D4XkcfLU.js → payments-status-Dkt38hpB.js} +1 -1
- package/dist/esm/{payments-table-BDaiD836.js → payments-table-ghXGJ-N6.js} +2 -2
- package/dist/esm/payout-details-core.entry.js +9 -9
- package/dist/esm/payouts-list-core.entry.js +6 -6
- package/dist/esm/{payouts-status-BR1vd6-D.js → payouts-status-B4iry-1w.js} +1 -1
- package/dist/esm/{payouts-table-B4nuJlpC.js → payouts-table-CBsTdL9_.js} +2 -2
- package/dist/esm/plaid.service-C59iS7tB.js +41 -0
- package/dist/esm/{skeleton-C162KC3u.js → skeleton-DzBAY0bs.js} +1 -1
- package/dist/esm/{spinner-BfjGGaND.js → spinner-DQpyMqKv.js} +1 -1
- package/dist/esm/{table-hHARNoRM.js → table-BwxLvetJ.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +2 -2
- package/dist/esm/terminal-orders-list-core.entry.js +5 -5
- package/dist/esm/{terminal-orders-table-B-xs6ocO.js → terminal-orders-table-Cy0qV96Y.js} +2 -2
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/terminals-list-core.entry.js +5 -5
- package/dist/esm/{terminals-table-CnKH-UOw.js → terminals-table-BQQs_JoR.js} +2 -2
- package/dist/esm/{utils-BSpK1eMX.js → utils-BGbtbDiV.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/apple-pay.js +13 -8
- package/dist/module/business-bank-account-form-step.js +71 -64
- package/dist/module/button.js +27 -3
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/checkout.store.js +1 -1
- package/dist/module/checkouts-list-core2.js +1 -1
- package/dist/module/customer-details.js +1 -1
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- package/dist/module/justifi-checkout.js +1 -1
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-order-terminals.js +1 -1
- package/dist/module/justifi-payment-transactions-list.js +1 -1
- package/dist/module/justifi-payments-list-filters.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/modular-checkout.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/parts.js +9 -1
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/plaid-payment-method.js +3 -2
- package/dist/module/plaid-verification2.js +1 -8
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/table.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +1 -1
- package/dist/module/terminals-list-core2.js +1 -1
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +10 -3
- package/dist/types/styles/parts.d.ts +7 -0
- package/dist/types/ui-components/button.d.ts +2 -1
- package/dist/webcomponents/{p-52dc271f.entry.js → p-01a84bc8.entry.js} +1 -1
- package/dist/webcomponents/p-02cf51ab.entry.js +1 -0
- package/dist/webcomponents/p-0559b9c1.entry.js +1 -0
- package/dist/webcomponents/{p-b61080bd.entry.js → p-06af9f9f.entry.js} +1 -1
- package/dist/webcomponents/{p-8e631781.entry.js → p-09401e56.entry.js} +1 -1
- package/dist/webcomponents/{p-05d11c40.entry.js → p-2531ee6c.entry.js} +1 -1
- package/dist/webcomponents/{p-8a42d4fe.entry.js → p-27518699.entry.js} +1 -1
- package/dist/webcomponents/{p-282134de.entry.js → p-277bc549.entry.js} +1 -1
- package/dist/webcomponents/{p-1b973781.entry.js → p-2b60c926.entry.js} +1 -1
- package/dist/webcomponents/{p-ec933218.entry.js → p-319ac08d.entry.js} +1 -1
- package/dist/webcomponents/p-32bf8202.entry.js +1 -0
- package/dist/webcomponents/p-3469a272.entry.js +1 -0
- package/dist/webcomponents/{p-19f1e643.entry.js → p-37407a7f.entry.js} +1 -1
- package/dist/webcomponents/{p-b54bf8da.entry.js → p-392c431d.entry.js} +1 -1
- package/dist/webcomponents/{p-11402020.entry.js → p-3cfc202a.entry.js} +1 -1
- package/dist/webcomponents/{p-BqpQa748.js → p-3kNggPyP.js} +1 -1
- package/dist/webcomponents/{p-6486555d.entry.js → p-43c70ddf.entry.js} +1 -1
- package/dist/webcomponents/{p-bcba5950.entry.js → p-4556535d.entry.js} +1 -1
- package/dist/webcomponents/{p-402ba9aa.entry.js → p-559ff95b.entry.js} +1 -1
- package/dist/webcomponents/p-56362fb6.entry.js +1 -0
- package/dist/webcomponents/{p-c7930f9a.entry.js → p-5895654d.entry.js} +1 -1
- package/dist/webcomponents/{p-154efb83.entry.js → p-5d4e607a.entry.js} +1 -1
- package/dist/webcomponents/{p-c72c5b99.entry.js → p-5d5e26f7.entry.js} +1 -1
- package/dist/webcomponents/{p-643f1616.entry.js → p-64d78daf.entry.js} +1 -1
- package/dist/webcomponents/{p-d36725a3.entry.js → p-654573c2.entry.js} +1 -1
- package/dist/webcomponents/p-6986bd9d.entry.js +1 -0
- package/dist/webcomponents/{p-0f1c100d.entry.js → p-6b6195c9.entry.js} +1 -1
- package/dist/webcomponents/{p-a105de67.entry.js → p-6b6d8263.entry.js} +1 -1
- package/dist/webcomponents/p-71b6fdd9.entry.js +1 -0
- package/dist/webcomponents/p-77CuiIig.js +1 -0
- package/dist/webcomponents/{p-c6aee723.entry.js → p-79975b5d.entry.js} +1 -1
- package/dist/webcomponents/{p-808bf425.entry.js → p-79d76cd4.entry.js} +1 -1
- package/dist/webcomponents/{p-2d39358b.entry.js → p-81b3f90f.entry.js} +1 -1
- package/dist/webcomponents/{p-e8f9b081.entry.js → p-91bf7445.entry.js} +1 -1
- package/dist/webcomponents/{p-c0592f5f.entry.js → p-91ee58e0.entry.js} +1 -1
- package/dist/webcomponents/{p-f1b99b0d.entry.js → p-941eac67.entry.js} +1 -1
- package/dist/webcomponents/{p-8dc8ad9a.entry.js → p-9438f755.entry.js} +1 -1
- package/dist/webcomponents/{p-d7bd9d76.entry.js → p-95b78da8.entry.js} +1 -1
- package/dist/webcomponents/{p-9a11f17b.entry.js → p-98a1b12a.entry.js} +1 -1
- package/dist/webcomponents/{p-5206cd09.entry.js → p-9eeaf2f9.entry.js} +1 -1
- package/dist/webcomponents/p-BBNT9yj5.js +1 -0
- package/dist/webcomponents/p-BMqYkvp1.js +1 -0
- package/dist/webcomponents/p-BnVuFEgH.js +1 -0
- package/dist/webcomponents/{p-DAZtHA62.js → p-BylxH1fV.js} +1 -1
- package/dist/webcomponents/{p-DyJ1zSHJ.js → p-C47u26qr.js} +1 -1
- package/dist/webcomponents/{p-CIh-k9yP.js → p-CMq8FpAG.js} +1 -1
- package/dist/webcomponents/{p-CGJ_mnry.js → p-CV5ZI_qC.js} +1 -1
- package/dist/webcomponents/{p-DsT0m0mo.js → p-CVa33GsE.js} +1 -1
- package/dist/webcomponents/p-CVkk7TvR.js +1 -0
- package/dist/webcomponents/p-Cc6518FT.js +1 -0
- package/dist/webcomponents/p-CmRrs0bo.js +1 -0
- package/dist/webcomponents/p-CmYy5XDp.js +1 -0
- package/dist/webcomponents/p-CncaMWc8.js +1 -0
- package/dist/webcomponents/{p-CJZ09QNH.js → p-CtxSp8dd.js} +1 -1
- package/dist/webcomponents/{p-5mt2ek0H.js → p-DL3PPUGZ.js} +1 -1
- package/dist/webcomponents/p-DmrpBh4P.js +1 -0
- package/dist/webcomponents/p-DrSNQm-e.js +1 -0
- package/dist/webcomponents/{p-HfLk4CG0.js → p-DvptzT44.js} +1 -1
- package/dist/webcomponents/{p-C3kbpEIZ.js → p-PtJwUDIK.js} +1 -1
- package/dist/webcomponents/p-a0134f5a.entry.js +1 -0
- package/dist/webcomponents/{p-cb9abd2c.entry.js → p-a6d56b36.entry.js} +1 -1
- package/dist/webcomponents/{p-c6a9410d.entry.js → p-a75bc18b.entry.js} +1 -1
- package/dist/webcomponents/{p-21620dd2.entry.js → p-abc769fa.entry.js} +1 -1
- package/dist/webcomponents/{p-4fc5ffda.entry.js → p-b3675b20.entry.js} +1 -1
- package/dist/webcomponents/{p-DYEXDs2k.js → p-b4MDVEve.js} +1 -1
- package/dist/webcomponents/{p-e71e4c49.entry.js → p-b9248f88.entry.js} +1 -1
- package/dist/webcomponents/p-bafe9deb.entry.js +1 -0
- package/dist/webcomponents/p-bb4da414.entry.js +1 -0
- package/dist/webcomponents/{p-4ebaafe3.entry.js → p-c5540693.entry.js} +1 -1
- package/dist/webcomponents/p-c8J1gsDg.js +1 -0
- package/dist/webcomponents/{p-9d69ae9f.entry.js → p-d07748fa.entry.js} +4 -4
- package/dist/webcomponents/{p-5862236f.entry.js → p-d0abe57d.entry.js} +1 -1
- package/dist/webcomponents/p-d47909f1.entry.js +1 -0
- package/dist/webcomponents/p-d6bf1592.entry.js +1 -0
- package/dist/webcomponents/{p-fbfe6211.entry.js → p-dbf2ba9e.entry.js} +1 -1
- package/dist/webcomponents/{p-7e14f6ac.entry.js → p-df110446.entry.js} +1 -1
- package/dist/webcomponents/{p-540e2ef2.entry.js → p-e0cca91e.entry.js} +1 -1
- package/dist/webcomponents/{p-479e4baf.entry.js → p-e4ef4a19.entry.js} +1 -1
- package/dist/webcomponents/{p-ff4d485f.entry.js → p-ec9f527d.entry.js} +1 -1
- package/dist/webcomponents/{p-7f3dcd42.entry.js → p-ee06f2fa.entry.js} +1 -1
- package/dist/webcomponents/{p-88c6713a.entry.js → p-f01cdb9f.entry.js} +1 -1
- package/dist/webcomponents/{p-eeee370f.entry.js → p-f2110cd2.entry.js} +1 -1
- package/dist/webcomponents/p-f9f0a5c8.entry.js +1 -0
- package/dist/webcomponents/{p-e89d0f36.entry.js → p-fa876b02.entry.js} +1 -1
- package/dist/webcomponents/{p-7e3030c2.entry.js → p-fe0feef1.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +4 -2
- package/dist/cjs/button-Cr3iHpyf.js +0 -19
- package/dist/cjs/plaid-icon-DiZrP1DM.js +0 -46
- package/dist/esm/button-DOkTCYSa.js +0 -17
- package/dist/esm/plaid-icon-B7a1QC7F.js +0 -43
- package/dist/module/plaid-icon.js +0 -3
- package/dist/webcomponents/p--Kvji7o2.js +0 -1
- package/dist/webcomponents/p-0588173b.entry.js +0 -1
- package/dist/webcomponents/p-1a4d5f16.entry.js +0 -1
- package/dist/webcomponents/p-21b5240d.entry.js +0 -1
- package/dist/webcomponents/p-35d1be0f.entry.js +0 -1
- package/dist/webcomponents/p-4d6031dd.entry.js +0 -1
- package/dist/webcomponents/p-62f9c008.entry.js +0 -1
- package/dist/webcomponents/p-6c503a00.entry.js +0 -1
- package/dist/webcomponents/p-6d565cd6.entry.js +0 -1
- package/dist/webcomponents/p-7318981d.entry.js +0 -1
- package/dist/webcomponents/p-7d122d5b.entry.js +0 -1
- package/dist/webcomponents/p-7dc5995e.entry.js +0 -1
- package/dist/webcomponents/p-8c55dac0.entry.js +0 -1
- package/dist/webcomponents/p-Bjv3eJBk.js +0 -1
- package/dist/webcomponents/p-BoO2BHR_.js +0 -1
- package/dist/webcomponents/p-BtFe5yQU.js +0 -1
- package/dist/webcomponents/p-C4FLe2pT.js +0 -1
- package/dist/webcomponents/p-CI11WF1E.js +0 -1
- package/dist/webcomponents/p-DFiTyYE9.js +0 -1
- package/dist/webcomponents/p-DO4RBao8.js +0 -1
- package/dist/webcomponents/p-DqVU8ohH.js +0 -1
- package/dist/webcomponents/p-DyETkJs3.js +0 -1
- package/dist/webcomponents/p-EaBIgUj8.js +0 -1
- package/dist/webcomponents/p-Jz9qdPhR.js +0 -1
- package/dist/webcomponents/p-ccb0a84a.entry.js +0 -1
|
@@ -16,22 +16,20 @@ export class BusinessBankAccountFormStep {
|
|
|
16
16
|
this.existingDocuments = [];
|
|
17
17
|
this.documentData = new EntityDocumentStorage();
|
|
18
18
|
this.isLoading = false;
|
|
19
|
-
this.
|
|
19
|
+
this.viewMode = 'manual';
|
|
20
20
|
this.bankAccountVerification = false;
|
|
21
21
|
this.platformAccountId = null;
|
|
22
|
-
this.usePlaidVerification = true;
|
|
23
22
|
this.getSchema = () => {
|
|
24
23
|
const schema = bankAccountSchemaByCountry[this.country];
|
|
25
24
|
return schema(this.allowOptionalFields, this.existingDocuments);
|
|
26
25
|
};
|
|
27
26
|
this.initializeFormController = () => {
|
|
28
27
|
this.formController = new FormController(this.getSchema());
|
|
29
|
-
if (this.
|
|
30
|
-
|
|
31
|
-
this.formController.setInitialValues({ business_id: this.businessId });
|
|
28
|
+
if (this.viewMode === 'readonly') {
|
|
29
|
+
this.formController.setInitialValues(Object.assign({}, this.bankAccount));
|
|
32
30
|
}
|
|
33
31
|
else {
|
|
34
|
-
this.formController.setInitialValues(
|
|
32
|
+
this.formController.setInitialValues({ business_id: this.businessId });
|
|
35
33
|
}
|
|
36
34
|
this.formController.errors.subscribe(errors => {
|
|
37
35
|
this.errors = Object.assign({}, errors);
|
|
@@ -50,20 +48,8 @@ export class BusinessBankAccountFormStep {
|
|
|
50
48
|
this.isLoading = true;
|
|
51
49
|
this.getBusiness({
|
|
52
50
|
onSuccess: (response) => {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
const bankAccounts = response.data.bank_accounts;
|
|
56
|
-
const latestBankAccount = bankAccounts[bankAccounts.length - 1];
|
|
57
|
-
this.bankAccount = new BankAccount(latestBankAccount);
|
|
58
|
-
this.isAddingNewBankAccount = false;
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
this.bankAccount = new BankAccount({});
|
|
62
|
-
this.bankAccount.business_id = this.businessId;
|
|
63
|
-
}
|
|
64
|
-
this.existingDocuments = response.data.documents;
|
|
65
|
-
this.bankAccountVerification = response.data.settings.bank_account_verification === true;
|
|
66
|
-
this.platformAccountId = response.data.platform_account_id;
|
|
51
|
+
this.processBusinessResponse(response.data);
|
|
52
|
+
this.determineViewMode();
|
|
67
53
|
},
|
|
68
54
|
onError: ({ error, code, severity }) => {
|
|
69
55
|
this.errorEvent.emit({
|
|
@@ -79,24 +65,20 @@ export class BusinessBankAccountFormStep {
|
|
|
79
65
|
});
|
|
80
66
|
};
|
|
81
67
|
this.handleChangeBankAccount = () => {
|
|
82
|
-
this.
|
|
68
|
+
this.viewMode = this.plaidAvailable ? 'plaid' : 'manual';
|
|
83
69
|
this.documentData = new EntityDocumentStorage();
|
|
84
|
-
// Reset to Plaid if available when changing bank account
|
|
85
|
-
this.usePlaidVerification = this.bankAccountVerification && !!this.platformAccountId;
|
|
86
70
|
this.initializeFormController();
|
|
87
71
|
};
|
|
88
72
|
this.handleCancel = () => {
|
|
89
|
-
this.
|
|
73
|
+
this.viewMode = this.existingBankAccount ? 'readonly' : 'plaid';
|
|
90
74
|
this.documentData = new EntityDocumentStorage();
|
|
91
|
-
// Reset toggle state when canceling
|
|
92
|
-
this.usePlaidVerification = true;
|
|
93
75
|
this.initializeFormController();
|
|
94
76
|
};
|
|
95
77
|
this.handleToggleToManualEntry = () => {
|
|
96
|
-
this.
|
|
78
|
+
this.viewMode = 'manual';
|
|
97
79
|
};
|
|
98
80
|
this.handleToggleToPlaidVerification = () => {
|
|
99
|
-
this.
|
|
81
|
+
this.viewMode = 'plaid';
|
|
100
82
|
};
|
|
101
83
|
this.handleSaveBankAccount = async () => {
|
|
102
84
|
this.formController.validateAndSubmit(() => {
|
|
@@ -173,12 +155,10 @@ export class BusinessBankAccountFormStep {
|
|
|
173
155
|
this.formLoading.emit(newValue);
|
|
174
156
|
}
|
|
175
157
|
async validateAndSubmit({ onSuccess }) {
|
|
176
|
-
if (this.
|
|
177
|
-
// If a bank account already exists and we're not adding a new one, skip bank account posting; proceed directly to document upload
|
|
158
|
+
if (this.viewMode === 'readonly') {
|
|
178
159
|
this.sendData(onSuccess);
|
|
179
160
|
}
|
|
180
161
|
else {
|
|
181
|
-
// If bank account is new, validate form inputs (bank account fields), then proceed
|
|
182
162
|
this.formController.validateAndSubmit(() => this.sendData(onSuccess));
|
|
183
163
|
}
|
|
184
164
|
}
|
|
@@ -227,24 +207,48 @@ export class BusinessBankAccountFormStep {
|
|
|
227
207
|
var _a;
|
|
228
208
|
return !!((_a = this.bankAccount) === null || _a === void 0 ? void 0 : _a.id);
|
|
229
209
|
}
|
|
230
|
-
get
|
|
231
|
-
return this.
|
|
210
|
+
get plaidAvailable() {
|
|
211
|
+
return this.bankAccountVerification && !!this.platformAccountId;
|
|
212
|
+
}
|
|
213
|
+
get showCancel() {
|
|
214
|
+
return this.bankAccountVerification || this.existingBankAccount;
|
|
215
|
+
}
|
|
216
|
+
processBusinessResponse(data) {
|
|
217
|
+
const { bank_accounts, documents, settings, platform_account_id } = data;
|
|
218
|
+
if (bank_accounts.length > 0) {
|
|
219
|
+
this.bankAccount = new BankAccount(bank_accounts[bank_accounts.length - 1]);
|
|
220
|
+
}
|
|
221
|
+
else {
|
|
222
|
+
this.bankAccount = new BankAccount({});
|
|
223
|
+
this.bankAccount.business_id = this.businessId;
|
|
224
|
+
}
|
|
225
|
+
this.existingDocuments = documents;
|
|
226
|
+
this.bankAccountVerification = settings.bank_account_verification === true;
|
|
227
|
+
this.platformAccountId = platform_account_id;
|
|
228
|
+
}
|
|
229
|
+
determineViewMode() {
|
|
230
|
+
if (this.existingBankAccount) {
|
|
231
|
+
this.viewMode = 'readonly';
|
|
232
|
+
}
|
|
233
|
+
else if (this.plaidAvailable) {
|
|
234
|
+
this.viewMode = 'plaid';
|
|
235
|
+
}
|
|
236
|
+
else {
|
|
237
|
+
this.viewMode = 'manual';
|
|
238
|
+
}
|
|
232
239
|
}
|
|
233
240
|
async sendData(onSuccess) {
|
|
234
241
|
try {
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
242
|
+
if (this.viewMode === 'manual') {
|
|
243
|
+
const bankAccountPosted = await this.postBankAccountData();
|
|
244
|
+
if (!bankAccountPosted)
|
|
245
|
+
return;
|
|
239
246
|
}
|
|
240
|
-
// Post documents only after bank account was successfully created
|
|
241
247
|
const documentsUploaded = await this.postBusinessDocuments();
|
|
242
|
-
if (!documentsUploaded)
|
|
248
|
+
if (!documentsUploaded)
|
|
243
249
|
return;
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
if (this.isAddingNewBankAccount) {
|
|
247
|
-
this.isAddingNewBankAccount = false;
|
|
250
|
+
if (this.viewMode === 'manual') {
|
|
251
|
+
this.viewMode = 'readonly';
|
|
248
252
|
await this.refreshBankAccountData();
|
|
249
253
|
}
|
|
250
254
|
onSuccess();
|
|
@@ -289,17 +293,8 @@ export class BusinessBankAccountFormStep {
|
|
|
289
293
|
this.isLoading = true;
|
|
290
294
|
this.getBusiness({
|
|
291
295
|
onSuccess: (response) => {
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
if (bank_accounts.length > 0) {
|
|
295
|
-
// Get the latest bank account (last in array)
|
|
296
|
-
const bankAccounts = bank_accounts;
|
|
297
|
-
const latestBankAccount = bankAccounts[bankAccounts.length - 1];
|
|
298
|
-
this.bankAccount = new BankAccount(latestBankAccount);
|
|
299
|
-
}
|
|
300
|
-
this.existingDocuments = documents;
|
|
301
|
-
this.bankAccountVerification = settings.bank_account_verification === true;
|
|
302
|
-
this.platformAccountId = platform_account_id;
|
|
296
|
+
this.processBusinessResponse(response.data);
|
|
297
|
+
this.determineViewMode();
|
|
303
298
|
this.initializeFormController();
|
|
304
299
|
},
|
|
305
300
|
onError: ({ error, code, severity }) => {
|
|
@@ -337,17 +332,30 @@ export class BusinessBankAccountFormStep {
|
|
|
337
332
|
this.isLoading = false;
|
|
338
333
|
}
|
|
339
334
|
}
|
|
335
|
+
renderBankAccountInputs(disabled) {
|
|
336
|
+
const defaultValue = this.formController.getInitialValues();
|
|
337
|
+
return this.country === CountryCode.CAN ? (h("bank-account-form-inputs-canada", { defaultValue: defaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: disabled })) : (h("bank-account-form-inputs", { defaultValue: defaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: disabled }));
|
|
338
|
+
}
|
|
339
|
+
renderReadonlyView() {
|
|
340
|
+
return (h("div", null, this.renderBankAccountInputs(true), h("div", { class: "mt-3" }, h(Button, { variant: "secondary", type: "button", onClick: this.handleChangeBankAccount, disabled: this.isLoading, part: buttonSecondary }, "Change Bank Account"))));
|
|
341
|
+
}
|
|
342
|
+
renderPlaidView() {
|
|
343
|
+
return (h("div", { class: "mt-3" }, h("plaid-verification", { authToken: this.authToken, accountId: this.platformAccountId, businessId: this.businessId, onPlaidVerificationSuccess: () => {
|
|
344
|
+
this.viewMode = 'readonly';
|
|
345
|
+
this.refreshBankAccountData();
|
|
346
|
+
} }), h("div", { class: "mt-3" }, h(Button, { type: "button", variant: "link", className: "p-0", onClick: this.handleToggleToManualEntry, disabled: this.isLoading, part: buttonLink }, "Enter bank details manually (document upload required)"))));
|
|
347
|
+
}
|
|
348
|
+
renderManualEntryView() {
|
|
349
|
+
return (h("div", null, this.plaidAvailable && (h("div", { class: "mb-3" }, h(Button, { type: "button", variant: "secondary", onClick: this.handleToggleToPlaidVerification, disabled: this.isLoading, part: buttonSecondary }, "Link bank account with Plaid instead"))), this.renderBankAccountInputs(false), h("div", { class: "mt-3 d-flex gap-2" }, this.showCancel && (h(Button, { variant: "secondary", type: "button", onClick: this.handleCancel, disabled: this.isLoading, part: buttonSecondary }, "Cancel")), h(Button, { variant: "primary", type: "button", onClick: this.handleSaveBankAccount, disabled: this.isLoading, isLoading: this.isLoading }, "Save Bank Account"))));
|
|
350
|
+
}
|
|
351
|
+
renderDocumentUploads() {
|
|
352
|
+
return (h("fieldset", { class: "mt-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Document Uploads"), h("form-control-tooltip", { helpText: "One document (voided check or bank statement) is required for underwriting purposes. It needs to visibly show the name tied to the account and the account number. Various file formats such as PDF, DOC, DOCX, JPEG are accepted. Multiple files can be uploaded for each document category." })), h("hr", { class: "mt-2" }), h("business-documents-on-file", { documents: this.existingDocuments, isLoading: this.isLoading }), h("bank-account-document-form-inputs", { inputHandler: this.inputHandler, errors: this.errors, storeFiles: this.storeFiles })));
|
|
353
|
+
}
|
|
340
354
|
render() {
|
|
341
|
-
const bankAccountDefaultValue = this.formController.getInitialValues();
|
|
342
|
-
const shouldShowPlaidVerification = this.bankAccountVerification && this.platformAccountId;
|
|
343
355
|
if (this.isLoading) {
|
|
344
356
|
return h(PaymentProvisioningLoading, null);
|
|
345
357
|
}
|
|
346
|
-
return (h("form", null, h("fieldset", { class: "mb-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Bank Account Info"), h("form-control-tooltip", { helpText: "This direct deposit account is the designated bank account where incoming funds will be deposited. The name of this account must match the registered business name exactly. We are not able to accept personal accounts unless your business is a registered sole proprietorship." })), h("hr", { class: "mt-2" }),
|
|
347
|
-
// Refresh bank account data after successful Plaid verification
|
|
348
|
-
this.isAddingNewBankAccount = false;
|
|
349
|
-
this.refreshBankAccountData();
|
|
350
|
-
} }), h("div", { class: "mt-3" }, h(Button, { type: "button", variant: "link", onClick: this.handleToggleToManualEntry, disabled: this.isLoading, part: buttonLink }, "Enter bank details manually (document upload required)")))), (!this.usePlaidVerification || this.showReadOnlyView) && (h("div", null, shouldShowPlaidVerification && !this.usePlaidVerification && !this.showReadOnlyView && (h("div", { class: "mb-3" }, h(Button, { type: "button", variant: "secondary", onClick: this.handleToggleToPlaidVerification, disabled: this.isLoading, part: buttonSecondary }, "Link bank account with Plaid instead"))), this.country === CountryCode.CAN ? (h("bank-account-form-inputs-canada", { defaultValue: bankAccountDefaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: this.showReadOnlyView })) : (h("bank-account-form-inputs", { defaultValue: bankAccountDefaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: this.showReadOnlyView })))), this.showReadOnlyView && (h("div", { class: "mt-3" }, h(Button, { variant: "secondary", type: "button", onClick: this.handleChangeBankAccount, disabled: this.isLoading, part: buttonSecondary }, "Change Bank Account"))), (!this.existingBankAccount || this.isAddingNewBankAccount) && !this.usePlaidVerification && (h("div", { class: "mt-3 d-flex gap-2" }, this.isAddingNewBankAccount && (h(Button, { variant: "secondary", type: "button", onClick: this.handleCancel, disabled: this.isLoading, part: buttonSecondary }, "Cancel")), h(Button, { variant: "primary", type: "button", onClick: this.handleSaveBankAccount, disabled: this.isLoading, isLoading: this.isLoading }, "Save Bank Account")))), (!this.usePlaidVerification || this.showReadOnlyView) && (h("fieldset", { class: "mt-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Document Uploads"), h("form-control-tooltip", { helpText: "One document (voided check or bank statement) is required for underwriting purposes. It needs to visibly show the name tied to the account and the account number. Various file formats such as PDF, DOC, DOCX, JPEG are accepted. Multiple files can be uploaded for each document category." })), h("hr", { class: "mt-2" }), h("business-documents-on-file", { documents: this.existingDocuments, isLoading: this.isLoading }), h("bank-account-document-form-inputs", { inputHandler: this.inputHandler, errors: this.errors, storeFiles: this.storeFiles })))));
|
|
358
|
+
return (h("form", null, h("fieldset", { class: "mb-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Bank Account Info"), h("form-control-tooltip", { helpText: "This direct deposit account is the designated bank account where incoming funds will be deposited. The name of this account must match the registered business name exactly. We are not able to accept personal accounts unless your business is a registered sole proprietorship." })), h("hr", { class: "mt-2" }), this.viewMode === 'readonly' && this.renderReadonlyView(), this.viewMode === 'plaid' && this.renderPlaidView(), this.viewMode === 'manual' && this.renderManualEntryView()), this.viewMode !== 'plaid' && this.renderDocumentUploads()));
|
|
351
359
|
}
|
|
352
360
|
static get is() { return "justifi-business-bank-account-form-step"; }
|
|
353
361
|
static get properties() {
|
|
@@ -444,14 +452,13 @@ export class BusinessBankAccountFormStep {
|
|
|
444
452
|
"existingDocuments": {},
|
|
445
453
|
"documentData": {},
|
|
446
454
|
"isLoading": {},
|
|
447
|
-
"
|
|
455
|
+
"viewMode": {},
|
|
448
456
|
"getBusiness": {},
|
|
449
457
|
"postBankAccount": {},
|
|
450
458
|
"postDocumentRecord": {},
|
|
451
459
|
"postDocument": {},
|
|
452
460
|
"bankAccountVerification": {},
|
|
453
|
-
"platformAccountId": {}
|
|
454
|
-
"usePlaidVerification": {}
|
|
461
|
+
"platformAccountId": {}
|
|
455
462
|
};
|
|
456
463
|
}
|
|
457
464
|
static get events() {
|
|
@@ -3,7 +3,6 @@ import { Button, StyledHost } from "../../../../ui-components";
|
|
|
3
3
|
import { PlaidService } from "../../../../api/services/plaid.service";
|
|
4
4
|
import { ComponentErrorSeverity } from "../../../../api/ComponentError";
|
|
5
5
|
import { PlaidErrorCodes, PLAID_ERROR_MESSAGES, PLAID_ERROR_SEVERITY, } from "../../../../api/Plaid";
|
|
6
|
-
import plaidLogoSvg from "../../../../assets/plaid-icon.svg";
|
|
7
6
|
import { buttonPrimary } from "../../../../styles/parts";
|
|
8
7
|
export class PlaidVerification {
|
|
9
8
|
constructor() {
|
|
@@ -309,13 +308,7 @@ export class PlaidVerification {
|
|
|
309
308
|
}
|
|
310
309
|
return null;
|
|
311
310
|
};
|
|
312
|
-
const plaidLogo = (h("
|
|
313
|
-
display: 'inline',
|
|
314
|
-
width: '20px',
|
|
315
|
-
height: '20px',
|
|
316
|
-
marginLeft: '5px',
|
|
317
|
-
marginTop: '-2px',
|
|
318
|
-
} }));
|
|
311
|
+
const plaidLogo = (h("svg", { class: "plaid-logo-img", height: "20", width: "20", viewBox: "0 0 28 29", xmlns: "http://www.w3.org/2000/svg", style: { display: 'inline', marginLeft: '5px', marginRight: '5px', marginTop: '-2px' } }, h("g", { fill: "#fff", "fill-rule": "evenodd" }, h("path", { 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" }))));
|
|
319
312
|
return (h(StyledHost, null, h("script", { src: "https://cdn.plaid.com/link/v2/stable/link-initialize.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div", null, h("div", { class: "mb-3" }, h(Button, { variant: "primary", type: "button", onClick: (event) => { event.preventDefault(); this.openPlaidLink(); }, disabled: this.isLoading, part: buttonPrimary }, "Connect with Plaid ", plaidLogo, " (instant verification)")), renderErrorState(), renderStatusState())));
|
|
320
313
|
}
|
|
321
314
|
static get is() { return "plaid-verification"; }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, } from "@stencil/core";
|
|
2
|
-
import { ApplePayService } from "../../../api/services/apple-pay.service";
|
|
2
|
+
import { ApplePayService, ApplePayServiceErrorCode } from "../../../api/services/apple-pay.service";
|
|
3
3
|
import { ApplePayButtonType, ApplePayButtonStyle, ApplePayHelpers, ApplePayMerchantCapability, } from "../../../api/ApplePay";
|
|
4
4
|
import { StyledHost } from "../../../ui-components";
|
|
5
5
|
import ApplePaySkeleton from "./apple-pay-skeleton";
|
|
@@ -27,7 +27,7 @@ export class ApplePay {
|
|
|
27
27
|
this.isConfigValid = true;
|
|
28
28
|
this.error = null;
|
|
29
29
|
this.handleApplePayClick = async () => {
|
|
30
|
-
var _a, _b;
|
|
30
|
+
var _a, _b, _c;
|
|
31
31
|
if (this.isProcessing || this.disabled || !this.isAvailable) {
|
|
32
32
|
return;
|
|
33
33
|
}
|
|
@@ -66,13 +66,18 @@ export class ApplePay {
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
catch (error) {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
error
|
|
75
|
-
|
|
69
|
+
if (((_c = error === null || error === void 0 ? void 0 : error.error) === null || _c === void 0 ? void 0 : _c.code) === ApplePayServiceErrorCode.USER_CANCELLED) {
|
|
70
|
+
this.applePayCancelled.emit();
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
const errorMessage = error instanceof Error ? error.message : "Payment failed";
|
|
74
|
+
this.error = errorMessage;
|
|
75
|
+
this.applePayError.emit({ error: errorMessage, code: ApplePay.ErrorCode.PAYMENT_FAILED });
|
|
76
|
+
this.applePayCompleted.emit({
|
|
77
|
+
success: false,
|
|
78
|
+
error: errorMessage,
|
|
79
|
+
});
|
|
80
|
+
}
|
|
76
81
|
}
|
|
77
82
|
finally {
|
|
78
83
|
this.isProcessing = false;
|
|
@@ -64,9 +64,9 @@ export class PayoutDetailsCore {
|
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
66
|
var _a;
|
|
67
|
-
return (h(StyledHost, { key: '6720c8a6f5919d8f563cd9e21a93d64de0916060' }, this.loading && h(PayoutDetailsLoading, { key: '26214ad3e6d784f4810155addcf19b9e4b869269' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'fd810d7c04562bd4aa21681b9473bf32c84bb368', errorMessage: this.errorMessage }, h(EntityHeadInfo, { key: '2d379a2836fc98964b048a284eaa0d3b51f404fa', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (h(Badge, { variant: BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: '43b43e3c1d35bba3111c202310a2a96f1a916e9f', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '68203b090ad2aab3aaf0a2070a0a5b5a8f471fc0', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: 'd427383d0b66287d36ec142b3edfdf89d1ff53d6', title: "ID", value: this.payout.id }), h("div", { key: '172eaee1f1f66c361e366e8c1422d158c44991ca', class: "m-4" }, h(Button, { key: '
|
|
68
|
-
h(DetailSectionTitle, { key: '
|
|
69
|
-
h("div", { key: '
|
|
67
|
+
return (h(StyledHost, { key: '6720c8a6f5919d8f563cd9e21a93d64de0916060' }, this.loading && h(PayoutDetailsLoading, { key: '26214ad3e6d784f4810155addcf19b9e4b869269' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'fd810d7c04562bd4aa21681b9473bf32c84bb368', errorMessage: this.errorMessage }, h(EntityHeadInfo, { key: '2d379a2836fc98964b048a284eaa0d3b51f404fa', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (h(Badge, { variant: BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: '43b43e3c1d35bba3111c202310a2a96f1a916e9f', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '68203b090ad2aab3aaf0a2070a0a5b5a8f471fc0', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: 'd427383d0b66287d36ec142b3edfdf89d1ff53d6', title: "ID", value: this.payout.id }), h("div", { key: '172eaee1f1f66c361e366e8c1422d158c44991ca', class: "m-4" }, h(Button, { key: '59e3f95f23d29681bb36b297e954140d3e056474', variant: "outline-secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: 'a32accc21bcf9c8b7db906b62fc0dc179d126e10', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '46c8fa58f696bed5628a129b8c956aa3ccc7a8a9', sectionTitle: "Details" }), h("div", { key: '43cea4c35521d0ec45b2eb73f0ec3aa4cbe076bb', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'e19c95cbced986d7e0aa7dd5a59d0e3425c1a492', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'e64dbb1e230816f589600d97bece2aaecf7e3837', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '0009fb64dccd61d1941dc80c5613d54316e6e8fc', title: "Payout Method", value: this.formatMethod(this.payout.delivery_method) }), h(DetailItem, { key: '933746728601556d77e135f031d5bbce4227beb3', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: 'a2dac791b686fc7ca35da5a51a64c5e47fb94fa6', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: 'f2334d9d641f6f096a7fa4d3d04fe496c19fcf2d', sectionTitle: "Account" }), h("div", { key: 'f76e30ebbe32c0d37ebcf205371b5e40cd4be768', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '0878dca0ec871ce45a3bf548fd987596d98a2bb3', title: "ID", value: this.payout.account_id, onClick: this.enableRecordClick ? () => this.handleRecordClick(this.payout.account_id) : undefined }), h(DetailItem, { key: '7c751efac65871cdc8041cb0645cb11f30e9e188', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: 'e4a169e43cda405be68e07ec191e981f8fb32d13', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '7740bd18dca90ec0f64de729712a49e4c510056a', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: 'a7798c561869ebfa212b724af432f304654d4c3f', title: "Account Number", value: `**** ${this.payout.bank_account.account_number_last4}` })), this.payout.metadata && [
|
|
68
|
+
h(DetailSectionTitle, { key: '4e2a9585769fc5ebe1dc57e78781568bad07d004', sectionTitle: 'Metadata' }),
|
|
69
|
+
h("div", { key: '26258eaf4e250e200cf4515c283ef1fa6085fb88', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'fe30682ce11c5a7dc9d401ba7af42b1a33ce437f', metadata: this.payout.metadata }))
|
|
70
70
|
])))));
|
|
71
71
|
}
|
|
72
72
|
static get is() { return "payout-details-core"; }
|
|
@@ -20,7 +20,14 @@ export const button = `button ${text}`;
|
|
|
20
20
|
export const buttonPrimary = `button-primary ${button}`;
|
|
21
21
|
export const buttonSecondary = `button-secondary ${button}`;
|
|
22
22
|
export const buttonDanger = `button-danger ${button}`;
|
|
23
|
+
export const buttonSuccess = `button-success ${button}`;
|
|
24
|
+
export const buttonWarning = `button-warning ${button}`;
|
|
25
|
+
export const buttonInfo = `button-info ${button}`;
|
|
26
|
+
export const buttonLight = `button-light ${button}`;
|
|
27
|
+
export const buttonDark = `button-dark ${button}`;
|
|
23
28
|
export const buttonLink = `button-link ${button}`;
|
|
29
|
+
export const buttonOutlinePrimary = `button-outline-primary ${button}`;
|
|
30
|
+
export const buttonOutlineSecondary = `button-outline-secondary ${button}`;
|
|
24
31
|
export const buttonLoading = `button-loading`;
|
|
25
32
|
export const buttonDisabled = `button-disabled ${button}`;
|
|
26
33
|
// Input
|
|
@@ -1,13 +1,37 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s)
|
|
4
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
1
13
|
import { h } from "@stencil/core";
|
|
2
14
|
import { ButtonSpinner } from "./button-spinner";
|
|
3
|
-
import { buttonLoading, buttonPrimary, buttonSecondary } from "../styles/parts";
|
|
15
|
+
import { buttonLoading, buttonPrimary, buttonSecondary, buttonSuccess, buttonDanger, buttonWarning, buttonInfo, buttonLight, buttonDark, buttonLink, buttonOutlinePrimary, buttonOutlineSecondary, } from "../styles/parts";
|
|
4
16
|
export const Button = (props, children) => {
|
|
17
|
+
const { variant, isLoading, className, class: classProp, clickHandler } = props, rest = __rest(props, ["variant", "isLoading", "className", "class", "clickHandler"]);
|
|
5
18
|
const variantToButton = {
|
|
6
19
|
primary: buttonPrimary,
|
|
7
20
|
secondary: buttonSecondary,
|
|
21
|
+
success: buttonSuccess,
|
|
22
|
+
danger: buttonDanger,
|
|
23
|
+
warning: buttonWarning,
|
|
24
|
+
info: buttonInfo,
|
|
25
|
+
light: buttonLight,
|
|
26
|
+
dark: buttonDark,
|
|
27
|
+
link: buttonLink,
|
|
28
|
+
'outline-primary': buttonOutlinePrimary,
|
|
29
|
+
'outline-secondary': buttonOutlineSecondary,
|
|
8
30
|
};
|
|
9
31
|
const getCSSParts = () => {
|
|
10
|
-
return `${variantToButton[
|
|
32
|
+
return `${variantToButton[variant]} ${isLoading ? buttonLoading : ''}`;
|
|
11
33
|
};
|
|
12
|
-
|
|
34
|
+
const extraClasses = className || classProp || '';
|
|
35
|
+
const computedClass = `btn btn-${variant}${extraClasses ? ` ${extraClasses}` : ''}`;
|
|
36
|
+
return (h("button", Object.assign({ class: computedClass, onClick: clickHandler, part: getCSSParts() }, rest), isLoading ? ButtonSpinner() : children));
|
|
13
37
|
};
|
package/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-02-
|
|
2
|
+
"timestamp": "2026-02-19T16:24:51",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.38.3",
|
|
@@ -7590,25 +7590,22 @@
|
|
|
7590
7590
|
"justifi-payment-provisioning-form-steps"
|
|
7591
7591
|
],
|
|
7592
7592
|
"dependencies": [
|
|
7593
|
-
"form-control-tooltip",
|
|
7594
|
-
"plaid-verification",
|
|
7595
7593
|
"bank-account-form-inputs-canada",
|
|
7596
7594
|
"bank-account-form-inputs",
|
|
7595
|
+
"plaid-verification",
|
|
7596
|
+
"form-control-tooltip",
|
|
7597
7597
|
"business-documents-on-file",
|
|
7598
7598
|
"bank-account-document-form-inputs"
|
|
7599
7599
|
],
|
|
7600
7600
|
"dependencyGraph": {
|
|
7601
7601
|
"justifi-business-bank-account-form-step": [
|
|
7602
|
-
"form-control-tooltip",
|
|
7603
|
-
"plaid-verification",
|
|
7604
7602
|
"bank-account-form-inputs-canada",
|
|
7605
7603
|
"bank-account-form-inputs",
|
|
7604
|
+
"plaid-verification",
|
|
7605
|
+
"form-control-tooltip",
|
|
7606
7606
|
"business-documents-on-file",
|
|
7607
7607
|
"bank-account-document-form-inputs"
|
|
7608
7608
|
],
|
|
7609
|
-
"form-control-tooltip": [
|
|
7610
|
-
"custom-popper"
|
|
7611
|
-
],
|
|
7612
7609
|
"bank-account-form-inputs-canada": [
|
|
7613
7610
|
"bank-account-read-only-value",
|
|
7614
7611
|
"form-control-text",
|
|
@@ -7617,6 +7614,9 @@
|
|
|
7617
7614
|
"form-control-text": [
|
|
7618
7615
|
"form-control-tooltip"
|
|
7619
7616
|
],
|
|
7617
|
+
"form-control-tooltip": [
|
|
7618
|
+
"custom-popper"
|
|
7619
|
+
],
|
|
7620
7620
|
"form-control-select": [
|
|
7621
7621
|
"form-control-tooltip"
|
|
7622
7622
|
],
|
|
@@ -14744,10 +14744,10 @@
|
|
|
14744
14744
|
"justifi-identity-address-form"
|
|
14745
14745
|
],
|
|
14746
14746
|
"justifi-business-bank-account-form-step": [
|
|
14747
|
-
"form-control-tooltip",
|
|
14748
|
-
"plaid-verification",
|
|
14749
14747
|
"bank-account-form-inputs-canada",
|
|
14750
14748
|
"bank-account-form-inputs",
|
|
14749
|
+
"plaid-verification",
|
|
14750
|
+
"form-control-tooltip",
|
|
14751
14751
|
"business-documents-on-file",
|
|
14752
14752
|
"bank-account-document-form-inputs"
|
|
14753
14753
|
],
|
|
@@ -15099,10 +15099,10 @@
|
|
|
15099
15099
|
"justifi-identity-address-form"
|
|
15100
15100
|
],
|
|
15101
15101
|
"justifi-business-bank-account-form-step": [
|
|
15102
|
-
"form-control-tooltip",
|
|
15103
|
-
"plaid-verification",
|
|
15104
15102
|
"bank-account-form-inputs-canada",
|
|
15105
15103
|
"bank-account-form-inputs",
|
|
15104
|
+
"plaid-verification",
|
|
15105
|
+
"form-control-tooltip",
|
|
15106
15106
|
"business-documents-on-file",
|
|
15107
15107
|
"bank-account-document-form-inputs"
|
|
15108
15108
|
],
|
|
@@ -15591,10 +15591,10 @@
|
|
|
15591
15591
|
"justifi-identity-address-form"
|
|
15592
15592
|
],
|
|
15593
15593
|
"justifi-business-bank-account-form-step": [
|
|
15594
|
-
"form-control-tooltip",
|
|
15595
|
-
"plaid-verification",
|
|
15596
15594
|
"bank-account-form-inputs-canada",
|
|
15597
15595
|
"bank-account-form-inputs",
|
|
15596
|
+
"plaid-verification",
|
|
15597
|
+
"form-control-tooltip",
|
|
15598
15598
|
"business-documents-on-file",
|
|
15599
15599
|
"bank-account-document-form-inputs"
|
|
15600
15600
|
],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { c as DetailItem, D as DetailSectionTitle } from './utils-
|
|
2
|
+
import { c as DetailItem, D as DetailSectionTitle } from './utils-BGbtbDiV.js';
|
|
3
3
|
import { n as isEmptyObject, s as snakeCaseToHumanReadable, o as formatMediumDate } from './utils-7bp92NC7.js';
|
|
4
|
-
import './parts-
|
|
4
|
+
import './parts-c8J1gsDg.js';
|
|
5
5
|
import './dinero-HXpYMWUU.js';
|
|
6
6
|
|
|
7
7
|
const AdditionalQuestionsDetails = class {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { L as badgeDark, M as badgeLight, N as badgeInfo, O as badgeWarning, P as badgeDanger, Q as badgeSuccess, R as badgeSecondary, S as badgePrimary, T as badge } from './parts-
|
|
2
|
+
import { L as badgeDark, M as badgeLight, N as badgeInfo, O as badgeWarning, P as badgeDanger, Q as badgeSuccess, R as badgeSecondary, S as badgePrimary, T as badge } from './parts-c8J1gsDg.js';
|
|
3
3
|
|
|
4
4
|
var BadgeVariant;
|
|
5
5
|
(function (BadgeVariant) {
|
|
@@ -9,19 +9,19 @@ import './Dispute-BH0Xfn-F.js';
|
|
|
9
9
|
import { a as bankAccountTypeOptions } from './business-form-options-DRalxlqN.js';
|
|
10
10
|
import './event-types-XYgDHrVL.js';
|
|
11
11
|
import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
|
|
12
|
-
import { H as text, a5 as card, J as heading2,
|
|
12
|
+
import { H as text, a5 as card, J as heading2, aD as table, V as tableHeadCell, aM as tableCell, _ as input, $ as label, X as inputInvalid, Y as inputDisabled, Z as inputFocused, au as buttonSecondary, av as buttonPrimary } from './parts-c8J1gsDg.js';
|
|
13
13
|
import { s as snakeCaseToHumanReadable, e as formatDate, d as formatTime } from './utils-7bp92NC7.js';
|
|
14
|
-
import { S as Skeleton } from './skeleton-
|
|
14
|
+
import { S as Skeleton } from './skeleton-DzBAY0bs.js';
|
|
15
15
|
import './event-types-CZfYo5-1.js';
|
|
16
|
-
import { F as FormControlErrorText } from './form-control-error-text-
|
|
16
|
+
import { F as FormControlErrorText } from './form-control-error-text-D5B0Wy4Q.js';
|
|
17
17
|
import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers-1lVyzImK.js';
|
|
18
18
|
import { P as PHONE_MASKS, I as IDENTITY_MASKS } from './form-input-masks-CVaOFfrI.js';
|
|
19
19
|
import { c as countryLabels } from './country-config-P042rrI3.js';
|
|
20
20
|
import { c as makeGetIdentity, d as makePatchIdentity, e as makePostIdentity } from './payment-provisioning-actions-CBvplwPf.js';
|
|
21
21
|
import { I as IdentityService } from './business.service-CS-wQJoN.js';
|
|
22
|
-
import { B as Button } from './button-
|
|
22
|
+
import { B as Button } from './button-DoF-zpiW.js';
|
|
23
23
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
24
|
-
import { P as PlaidService
|
|
24
|
+
import { P as PlaidService } from './plaid.service-C59iS7tB.js';
|
|
25
25
|
import './index-cDVGjRkU.js';
|
|
26
26
|
import './utils-BeQLScSm.js';
|
|
27
27
|
import './Api-CLZVsXZg.js';
|
|
@@ -507,13 +507,7 @@ const PlaidVerification = class {
|
|
|
507
507
|
}
|
|
508
508
|
return null;
|
|
509
509
|
};
|
|
510
|
-
const plaidLogo = (h("
|
|
511
|
-
display: 'inline',
|
|
512
|
-
width: '20px',
|
|
513
|
-
height: '20px',
|
|
514
|
-
marginLeft: '5px',
|
|
515
|
-
marginTop: '-2px',
|
|
516
|
-
} }));
|
|
510
|
+
const plaidLogo = (h("svg", { class: "plaid-logo-img", height: "20", width: "20", viewBox: "0 0 28 29", xmlns: "http://www.w3.org/2000/svg", style: { display: 'inline', marginLeft: '5px', marginRight: '5px', marginTop: '-2px' } }, h("g", { fill: "#fff", "fill-rule": "evenodd" }, h("path", { 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" }))));
|
|
517
511
|
return (h(StyledHost, null, h("script", { src: "https://cdn.plaid.com/link/v2/stable/link-initialize.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div", null, h("div", { class: "mb-3" }, h(Button, { variant: "primary", type: "button", onClick: (event) => { event.preventDefault(); this.openPlaidLink(); }, disabled: this.isLoading, part: buttonPrimary }, "Connect with Plaid ", plaidLogo, " (instant verification)")), renderErrorState(), renderStatusState())));
|
|
518
512
|
}
|
|
519
513
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h, r as registerInstance, H as Host } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { S as Skeleton } from './skeleton-
|
|
2
|
+
import { S as Skeleton } from './skeleton-DzBAY0bs.js';
|
|
3
3
|
import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
|
|
4
4
|
import { b as generateTabId } from './utils-7bp92NC7.js';
|
|
5
|
-
import './parts-
|
|
5
|
+
import './parts-c8J1gsDg.js';
|
|
6
6
|
import './index-cDVGjRkU.js';
|
|
7
7
|
import './dinero-HXpYMWUU.js';
|
|
8
8
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h, F as Fragment, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { E as ErrorState } from './utils-
|
|
2
|
+
import { E as ErrorState } from './utils-BGbtbDiV.js';
|
|
3
3
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
4
4
|
import './event-types-CZfYo5-1.js';
|
|
5
|
-
import { S as Skeleton } from './skeleton-
|
|
6
|
-
import './parts-
|
|
5
|
+
import { S as Skeleton } from './skeleton-DzBAY0bs.js';
|
|
6
|
+
import './parts-c8J1gsDg.js';
|
|
7
7
|
|
|
8
8
|
const BusinessDetailsLoading = () => {
|
|
9
9
|
const Block = () => (h("div", { class: "mt-5" }, h(Skeleton, { width: "40%", height: "1.5rem" }), h("hr", null), h("div", { class: "row g-3" }, h("div", { class: "col-12 col-md-6" }, h(Skeleton, null), h(Skeleton, null), h(Skeleton, null)), h("div", { class: "col-12 col-md-6" }, h(Skeleton, null), h(Skeleton, null), h(Skeleton, null)))));
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { h } from './index-CV0Pyo1O.js';
|
|
2
|
+
import { am as buttonOutlineSecondary, an as buttonOutlinePrimary, a4 as buttonLink, ao as buttonDark, ap as buttonLight, aq as buttonInfo, ar as buttonWarning, as as buttonDanger, at as buttonSuccess, au as buttonSecondary, av as buttonPrimary, aw as buttonLoading } from './parts-c8J1gsDg.js';
|
|
3
|
+
|
|
4
|
+
const ButtonSpinner = () => (h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" }, h("span", { class: "visually-hidden" }, "Loading...")));
|
|
5
|
+
|
|
6
|
+
var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
7
|
+
var t = {};
|
|
8
|
+
for (var p in s)
|
|
9
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
10
|
+
t[p] = s[p];
|
|
11
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
12
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
13
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
14
|
+
t[p[i]] = s[p[i]];
|
|
15
|
+
}
|
|
16
|
+
return t;
|
|
17
|
+
};
|
|
18
|
+
const Button = (props, children) => {
|
|
19
|
+
const { variant, isLoading, className, class: classProp, clickHandler } = props, rest = __rest(props, ["variant", "isLoading", "className", "class", "clickHandler"]);
|
|
20
|
+
const variantToButton = {
|
|
21
|
+
primary: buttonPrimary,
|
|
22
|
+
secondary: buttonSecondary,
|
|
23
|
+
success: buttonSuccess,
|
|
24
|
+
danger: buttonDanger,
|
|
25
|
+
warning: buttonWarning,
|
|
26
|
+
info: buttonInfo,
|
|
27
|
+
light: buttonLight,
|
|
28
|
+
dark: buttonDark,
|
|
29
|
+
link: buttonLink,
|
|
30
|
+
'outline-primary': buttonOutlinePrimary,
|
|
31
|
+
'outline-secondary': buttonOutlineSecondary,
|
|
32
|
+
};
|
|
33
|
+
const getCSSParts = () => {
|
|
34
|
+
return `${variantToButton[variant]} ${isLoading ? buttonLoading : ''}`;
|
|
35
|
+
};
|
|
36
|
+
const extraClasses = className || classProp || '';
|
|
37
|
+
const computedClass = `btn btn-${variant}${extraClasses ? ` ${extraClasses}` : ''}`;
|
|
38
|
+
return (h("button", Object.assign({ class: computedClass, onClick: clickHandler, part: getCSSParts() }, rest), isLoading ? ButtonSpinner() : children));
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export { Button as B };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h, r as registerInstance, H as Host } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { S as Skeleton } from './skeleton-
|
|
2
|
+
import { S as Skeleton } from './skeleton-DzBAY0bs.js';
|
|
3
3
|
import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
|
|
4
4
|
import { b as generateTabId } from './utils-7bp92NC7.js';
|
|
5
|
-
import './parts-
|
|
5
|
+
import './parts-c8J1gsDg.js';
|
|
6
6
|
import './index-cDVGjRkU.js';
|
|
7
7
|
import './dinero-HXpYMWUU.js';
|
|
8
8
|
|