@justifi/webcomponents 6.0.0-rc.2 → 6.0.0-rc.20
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/{Api-CPuq_15r.js → Api-DyimBzKT.js} +2 -2
- package/dist/cjs/{Refund-CqWNG8sx.js → Refund-BefKONu4.js} +6 -3
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
- package/dist/cjs/{badge-CMmPvqtE.js → badge-CcJ9H85-.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +9 -9
- package/dist/cjs/bank-account-form.cjs.entry.js +9 -6
- package/dist/cjs/business-details-core.cjs.entry.js +4 -4
- package/dist/cjs/{business.service-C3BdUPlm.js → business.service-BB6zl4Gc.js} +2 -2
- package/dist/cjs/{button-CfVQSysQ.js → button-DsHDMHaa.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +9 -6
- package/dist/cjs/{check-pkg-version-BfmeLSXP.js → check-pkg-version-DS_8EVX4.js} +9 -3
- package/dist/cjs/{checkout.service-B0ZmvWwI.js → checkout.service-B-R80p4f.js} +2 -2
- package/dist/cjs/checkout.store-DJEc-So8.js +91 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +11 -11
- package/dist/cjs/{payments-list-params-state-BNbT1fuJ.js → checkouts-list-params-state-Cewmin_p.js} +1 -1
- package/dist/cjs/{checkouts-table-UN5gPpQ_.js → checkouts-table-DjMdEiEW.js} +3 -3
- package/dist/cjs/{config-state-5xZf-jax.js → config-state-BBOZIS8x.js} +1 -1
- package/dist/cjs/custom-popper_2.cjs.entry.js +3 -3
- package/dist/cjs/{dispute.service-DsPEAcDn.js → dispute.service-B5tITFAh.js} +2 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-HM0zQerh.js → form-control-error-text-B-P5UDhm.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-5KIUw1IP.js → form-control-help-text-JoZjhb9m.js} +1 -1
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +6 -6
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/form-control-select_2.cjs.entry.js +6 -6
- package/dist/cjs/{get-payment-details-DtCXaIMx.js → get-payment-details-BfgRmNL4.js} +2 -2
- package/dist/cjs/{get-subaccounts-CwCH5rC8.js → get-subaccounts-Bnfv2tEN.js} +3 -3
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
- package/dist/cjs/{header-1-DD41iNlG.js → header-1-DRA3f4Jh.js} +1 -1
- package/dist/cjs/{header-3-D9Wa0IfT.js → header-3-sOdOpfx3.js} +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +8 -8
- package/dist/cjs/{index-Yd9aLenr.js → index-B32W0A3m.js} +1 -1
- package/dist/cjs/{index-dm_GlYlb.js → index-C9hBD-32.js} +2 -2
- package/dist/cjs/index-D-dD-aC2.js +30 -0
- package/dist/cjs/index.cjs.js +8 -0
- package/dist/cjs/{insurance-state-Cyva9u6S.js → insurance-state-d2thhXUX.js} +2 -2
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +7 -7
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +8 -8
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/justifi-apple-pay.cjs.entry.js +189 -150
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +24 -22
- package/dist/cjs/justifi-business-details.cjs.entry.js +10 -10
- package/dist/cjs/justifi-business-form.cjs.entry.js +13 -13
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-summary_7.cjs.entry.js +1422 -0
- package/dist/cjs/justifi-checkout.cjs.entry.js +26 -48
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +8 -8
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -14
- package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -15
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +9 -9
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +13 -13
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-details.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +13 -13
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payments-list.cjs.entry.js +14 -14
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +13 -13
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -15
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +13 -13
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +17 -12
- package/dist/cjs/justifi-skeleton.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +9 -9
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +8 -8
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +14 -14
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-CuNDvHTB.js → package-XG0rW7xm.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +15 -15
- package/dist/cjs/payment-method-option.cjs.entry.js +3 -3
- package/dist/cjs/{payment.service-1H0VC3LV.js → payment.service-aR96UW5e.js} +2 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +12 -12
- package/dist/cjs/{payouts-list-params-state-BNbT1fuJ.js → payments-list-params-state-Cewmin_p.js} +1 -1
- package/dist/cjs/{payments-status-PB63klt3.js → payments-status-DXRh_ekP.js} +2 -2
- package/dist/cjs/{payments-table-quF0NnsS.js → payments-table-BE8u0-i0.js} +3 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +11 -11
- package/dist/cjs/{payout.service-CIZFU-hV.js → payout.service-6Cl_yXXQ.js} +2 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +12 -12
- package/dist/cjs/{checkouts-list-params-state-BNbT1fuJ.js → payouts-list-params-state-Cewmin_p.js} +1 -1
- package/dist/cjs/{payouts-status-Bk1JFzbP.js → payouts-status-DxTQZv3i.js} +2 -2
- package/dist/cjs/{payouts-table-D_CCTR_k.js → payouts-table-BbydhJUr.js} +3 -3
- package/dist/cjs/{skeleton-x-GSs3xk.js → skeleton-C7DQRD6r.js} +1 -1
- package/dist/cjs/{spinner-Kb1BFvnL.js → spinner-jmeA44Ee.js} +1 -1
- package/dist/cjs/{styled-host-CqQYxX-w.js → styled-host-BfVJlAsJ.js} +1 -1
- package/dist/cjs/{table-BJVUhh3s.js → table-Ccdrt0v_.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +11 -11
- package/dist/cjs/{terminal-orders-list-params-state-BNbT1fuJ.js → terminal-orders-list-params-state-Cewmin_p.js} +1 -1
- package/dist/cjs/{terminal-orders-table-0O5jtzYj.js → terminal-orders-table-B4HjERrK.js} +5 -5
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-DUlyMTrX.js → terminal.service-D1FAYZzd.js} +2 -2
- package/dist/cjs/terminals-list-core.cjs.entry.js +11 -11
- package/dist/cjs/terminals-list-params-state-Cewmin_p.js +22 -0
- package/dist/cjs/{terminals-table-C2BNRUS5.js → terminals-table-C79Xc4FI.js} +3 -3
- package/dist/cjs/{utils-Df-pajL7.js → utils-Bzyj4qWe.js} +1 -1
- package/dist/cjs/{utils-BaGF9XIe.js → utils-ChCUZgUy.js} +6 -0
- package/dist/cjs/webcomponents.cjs.js +3 -3
- package/dist/collection/api/Payment.js +5 -2
- package/dist/collection/api/index.js +1 -2
- package/dist/collection/api/services/apple-pay.service.js +112 -70
- package/dist/collection/api/services/plaid.service.js +20 -0
- package/dist/collection/assets/plaid-icon.svg +1 -0
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +6 -3
- package/dist/collection/components/checkout/card-form/card-form.js +6 -3
- package/dist/collection/components/checkout/checkout.js +17 -39
- package/dist/collection/components/checkout/save-new-payment-method.js +26 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +4 -0
- package/dist/collection/components/modular-checkout/ModularCheckout.js +28 -0
- package/dist/collection/components/modular-checkout/modular-checkout.js +233 -206
- package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +65 -110
- package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/plaid-payment-method.js +853 -0
- package/dist/collection/components/modular-checkout/sub-components/plaid-payment-method.test.js +125 -0
- package/dist/collection/components/modular-checkout/sub-components/saved-payment-methods.js +7 -5
- package/dist/collection/components/modular-checkout/sub-components/sezzle-payment-method.js +25 -8
- package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +1 -1
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +8 -8
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +3 -3
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +82 -34
- package/dist/collection/index.js +1 -0
- package/dist/collection/store/checkout.store.js +48 -2
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +5 -5
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +4 -4
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/collection/utils/check-pkg-version.js +6 -0
- package/dist/collection/utils/utils.js +5 -0
- package/dist/docs.json +492 -105
- package/dist/esm/{Api-N_veT2p6.js → Api-DAWuvzbl.js} +2 -2
- package/dist/esm/{Refund-Di6J0oN2.js → Refund-CVh70dXA.js} +7 -4
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-D4ZXPFjL.js → badge-DSYSJcRy.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +9 -9
- package/dist/esm/bank-account-form.entry.js +9 -6
- package/dist/esm/business-details-core.entry.js +4 -4
- package/dist/esm/{business.service-Bdvhdc_d.js → business.service-cQrH5BqF.js} +2 -2
- package/dist/esm/{button-C0wLsDP3.js → button-CpllL0At.js} +1 -1
- package/dist/esm/card-form.entry.js +9 -6
- package/dist/esm/{check-pkg-version-BuYkk-jV.js → check-pkg-version-DhRpS7Qc.js} +9 -3
- package/dist/esm/{checkout.service-XgGFa7H8.js → checkout.service-Bbgi1I6V.js} +2 -2
- package/dist/esm/checkout.store-OD-OX5On.js +86 -0
- package/dist/esm/checkouts-list-core.entry.js +11 -11
- package/dist/esm/{checkouts-list-params-state-SMXQIZTt.js → checkouts-list-params-state-D8tzsGR_.js} +1 -1
- package/dist/esm/{checkouts-table-DjGKtqoc.js → checkouts-table-Ddf2I-Ul.js} +3 -3
- package/dist/esm/{config-state-BrllxiM0.js → config-state-DZeVYerv.js} +1 -1
- package/dist/esm/custom-popper_2.entry.js +3 -3
- package/dist/esm/{dispute.service-CKPcmwhH.js → dispute.service-CrZsNDW8.js} +2 -2
- package/dist/esm/form-alert_5.entry.js +1 -1
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-Bzfs_rxk.js → form-control-error-text-R7U07nTg.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-ueLctOBN.js → form-control-help-text-CRLH-2f7.js} +1 -1
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +6 -6
- package/dist/esm/form-control-number-masked_2.entry.js +4 -4
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/form-control-select_2.entry.js +6 -6
- package/dist/esm/{get-payment-details-Dt-dr16k.js → get-payment-details-0VzpMNY9.js} +2 -2
- package/dist/esm/{get-subaccounts-BsoVLANw.js → get-subaccounts-9UMbyFiT.js} +3 -3
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-BMKEv9y6.js → header-1-3M9If0gM.js} +1 -1
- package/dist/esm/{header-3-C3t3m27b.js → header-3-CWa41YWq.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +8 -8
- package/dist/esm/{index-B9me4yN2.js → index-B_KxSZIF.js} +1 -1
- package/dist/esm/{index-kpoIU4v_.js → index-Bn7inNWG.js} +2 -2
- package/dist/esm/index-CbL73B6U.js +30 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/{insurance-state-d4hjThzE.js → insurance-state-CTalqbNa.js} +2 -2
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +7 -7
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +8 -8
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-apple-pay.entry.js +189 -150
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +24 -22
- package/dist/esm/justifi-business-details.entry.js +10 -10
- package/dist/esm/justifi-business-form.entry.js +13 -13
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-summary_7.entry.js +1414 -0
- package/dist/esm/justifi-checkout.entry.js +26 -48
- package/dist/esm/justifi-checkouts-list-filters.entry.js +8 -8
- package/dist/esm/justifi-checkouts-list.entry.js +14 -14
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +10 -10
- package/dist/esm/justifi-dispute-notification_3.entry.js +15 -15
- package/dist/esm/justifi-gross-payment-chart.entry.js +9 -9
- package/dist/esm/justifi-order-terminals.entry.js +13 -13
- package/dist/esm/justifi-owner-form_3.entry.js +8 -8
- package/dist/esm/justifi-payment-details.entry.js +11 -11
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +9 -9
- package/dist/esm/justifi-payment-transactions-list.entry.js +13 -13
- package/dist/esm/justifi-payments-list-filters.entry.js +7 -7
- package/dist/esm/justifi-payments-list.entry.js +14 -14
- package/dist/esm/justifi-payout-details.entry.js +10 -10
- package/dist/esm/justifi-payout-transactions-list.entry.js +13 -13
- package/dist/esm/justifi-payouts-list-filters.entry.js +7 -7
- package/dist/esm/justifi-payouts-list.entry.js +15 -15
- package/dist/esm/justifi-refund-payment.entry.js +13 -13
- package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +17 -12
- package/dist/esm/justifi-skeleton.entry.js +4 -4
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +9 -9
- package/dist/esm/justifi-terminal-orders-list.entry.js +12 -12
- package/dist/esm/justifi-terminals-list-filters.entry.js +8 -8
- package/dist/esm/justifi-terminals-list.entry.js +14 -14
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-C60pS6qh.js → package-BF0mIfcQ.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/payment-details-core.entry.js +15 -15
- package/dist/esm/payment-method-option.entry.js +3 -3
- package/dist/esm/{payment.service-BWO84KlP.js → payment.service-TxyxCg0E.js} +2 -2
- package/dist/esm/payments-list-core.entry.js +12 -12
- package/dist/esm/{payments-list-params-state-SMXQIZTt.js → payments-list-params-state-D8tzsGR_.js} +1 -1
- package/dist/esm/{payments-status-1yRdTNeS.js → payments-status-5orNU2Rd.js} +2 -2
- package/dist/esm/{payments-table-8RADYkma.js → payments-table-gkJV5GNK.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +11 -11
- package/dist/esm/{payout.service-Cld6TS5W.js → payout.service-BOwZ4wWh.js} +2 -2
- package/dist/esm/payouts-list-core.entry.js +12 -12
- package/dist/esm/{payouts-list-params-state-SMXQIZTt.js → payouts-list-params-state-D8tzsGR_.js} +1 -1
- package/dist/esm/{payouts-status-BqsQVtBp.js → payouts-status-CZPwa2AE.js} +2 -2
- package/dist/esm/{payouts-table-DPw7yIx8.js → payouts-table-0PtktGRd.js} +3 -3
- package/dist/esm/{skeleton-BmTjpTYa.js → skeleton-qMb0_Cjy.js} +1 -1
- package/dist/esm/{spinner-YGDOI-CS.js → spinner-DUzyWLhj.js} +1 -1
- package/dist/esm/{styled-host-B_XBaM7z.js → styled-host-CTAGIN84.js} +1 -1
- package/dist/esm/{table-ybHxxc9f.js → table-Br3n9Xu-.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +11 -11
- package/dist/esm/{terminal-orders-list-params-state-SMXQIZTt.js → terminal-orders-list-params-state-D8tzsGR_.js} +1 -1
- package/dist/esm/{terminal-orders-table-D-xP5WuM.js → terminal-orders-table-DTBSIMlJ.js} +5 -5
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-DmYCUQcA.js → terminal.service-E6dZlM43.js} +2 -2
- package/dist/esm/terminals-list-core.entry.js +11 -11
- package/dist/esm/terminals-list-params-state-D8tzsGR_.js +16 -0
- package/dist/esm/{terminals-table-DVAPCgEr.js → terminals-table-TGUKTi7I.js} +3 -3
- package/dist/esm/{utils-lb8p1Exq.js → utils-BscIVFn8.js} +6 -1
- package/dist/esm/{utils-DG5aMFmf.js → utils-Dg6gMUTv.js} +1 -1
- package/dist/esm/webcomponents.js +4 -4
- package/dist/module/Analytics.js +6 -0
- package/dist/module/ModularCheckout.js +30 -0
- package/dist/module/Refund.js +5 -2
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/bank-account-billing-form-simple.js +1 -1
- package/dist/module/bank-account-form.js +5 -2
- package/dist/module/bank-account.js +2 -2
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-billing-form-simple.js +1 -1
- package/dist/module/card-form.js +5 -2
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout.store.js +49 -2
- package/dist/module/checkouts-list-core2.js +1 -1
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +1 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +3 -3
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/gross-payment-chart-core2.js +2 -2
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/index.js +1 -0
- package/dist/module/justifi-apple-pay.js +175 -153
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-checkout.js +63 -75
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-order-terminals.js +2 -2
- package/dist/module/justifi-payment-transactions-list.js +1 -1
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-plaid-payment-method.d.ts +11 -0
- package/dist/module/justifi-plaid-payment-method.js +6 -0
- package/dist/module/justifi-radio-list-item2.js +2 -2
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +5 -1
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/modular-checkout.js +184 -162
- package/dist/module/package.js +1 -1
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-option.js +1 -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 +635 -0
- package/dist/module/plaid.service.js +26 -0
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/save-new-payment-method.js +3 -1
- package/dist/module/saved-payment-methods.js +7 -5
- package/dist/module/sezzle-payment-method.js +14 -22
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/summary.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +2 -2
- package/dist/module/tokenize-payment-method.js +45 -34
- package/dist/module/utils2.js +6 -1
- package/dist/types/api/ApplePay.d.ts +2 -2
- package/dist/types/api/Checkout.d.ts +9 -14
- package/dist/types/api/Payment.d.ts +4 -3
- package/dist/types/api/index.d.ts +2 -2
- package/dist/types/api/services/apple-pay.service.d.ts +5 -15
- package/dist/types/api/services/plaid.service.d.ts +12 -0
- package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +1 -0
- package/dist/types/components/checkout/card-form/card-form.d.ts +1 -0
- package/dist/types/components/checkout/checkout.d.ts +6 -7
- package/dist/types/components/checkout/save-new-payment-method.d.ts +1 -0
- package/dist/types/components/modular-checkout/ModularCheckout.d.ts +31 -0
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +8 -8
- package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +2 -4
- package/dist/types/components/modular-checkout/sub-components/plaid-payment-method.d.ts +79 -0
- package/dist/types/components/modular-checkout/sub-components/plaid-payment-method.test.d.ts +1 -0
- package/dist/types/components/modular-checkout/sub-components/saved-payment-methods.d.ts +1 -1
- package/dist/types/components/modular-checkout/sub-components/sezzle-payment-method.d.ts +1 -1
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +8 -6
- package/dist/types/components.d.ts +70 -27
- package/dist/types/index.d.ts +3 -0
- package/dist/types/store/checkout.store.d.ts +16 -3
- package/dist/types/ui-components/form/form-control-radio.d.ts +1 -1
- package/dist/types/ui-components/shadow-dom-components/justifi-radio-list-item.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/webcomponents/index.esm.js +1 -0
- package/dist/webcomponents/p-054193e4.entry.js +1 -0
- package/dist/webcomponents/{p-BhdBpAn9.js → p-0Om7jLBs.js} +1 -1
- package/dist/webcomponents/p-0e80830f.entry.js +1 -0
- package/dist/webcomponents/{p-0aa78c58.entry.js → p-12175e07.entry.js} +1 -1
- package/dist/webcomponents/{p-fbaf62a5.entry.js → p-13c21c47.entry.js} +1 -1
- package/dist/webcomponents/p-20733148.entry.js +1 -0
- package/dist/webcomponents/{p-4a79c737.entry.js → p-225ed545.entry.js} +1 -1
- package/dist/webcomponents/p-2550e845.entry.js +1 -0
- package/dist/webcomponents/p-2ae3613e.entry.js +1 -0
- package/dist/webcomponents/{p-bfc38bc2.entry.js → p-319b4126.entry.js} +1 -1
- package/dist/webcomponents/{p-08a5cc2f.entry.js → p-431ba789.entry.js} +1 -1
- package/dist/webcomponents/{p-4c994761.entry.js → p-44450a94.entry.js} +1 -1
- package/dist/webcomponents/p-45e8185c.entry.js +1 -0
- package/dist/webcomponents/{p-dc245644.entry.js → p-46b6142b.entry.js} +4 -4
- package/dist/webcomponents/p-4e1653c2.entry.js +1 -0
- package/dist/webcomponents/p-53739e78.entry.js +1 -0
- package/dist/webcomponents/p-559be51b.entry.js +1 -0
- package/dist/webcomponents/p-58c766c8.entry.js +1 -0
- package/dist/webcomponents/{p-5ad70aae.entry.js → p-613421d4.entry.js} +1 -1
- package/dist/webcomponents/p-62a4a2c2.entry.js +1 -0
- package/dist/webcomponents/p-654d85ca.entry.js +1 -0
- package/dist/webcomponents/p-65ed60bf.entry.js +1 -0
- package/dist/webcomponents/{p-ea1b161a.entry.js → p-664501b7.entry.js} +1 -1
- package/dist/webcomponents/p-6c7f08c8.entry.js +1 -0
- package/dist/webcomponents/p-6cf48f04.entry.js +1 -0
- package/dist/webcomponents/{p-03c7cee8.entry.js → p-70f51444.entry.js} +1 -1
- package/dist/webcomponents/p-778e9fe9.entry.js +1 -0
- package/dist/webcomponents/p-7922acee.entry.js +1 -0
- package/dist/webcomponents/p-7c463a59.entry.js +1 -0
- package/dist/webcomponents/{p-c6860f60.entry.js → p-7cf87637.entry.js} +1 -1
- package/dist/webcomponents/p-7fcbccc7.entry.js +1 -0
- package/dist/webcomponents/{p-I8XpD1TX.js → p-7s1gsXM5.js} +1 -1
- package/dist/webcomponents/{p-b04cc606.entry.js → p-80331983.entry.js} +1 -1
- package/dist/webcomponents/{p-76a95d07.entry.js → p-8687e5d6.entry.js} +1 -1
- package/dist/webcomponents/p-87acb5ec.entry.js +1 -0
- package/dist/webcomponents/{p-7288473f.entry.js → p-8c95827f.entry.js} +1 -1
- package/dist/webcomponents/{p-55b7bdba.entry.js → p-8e0228df.entry.js} +1 -1
- package/dist/webcomponents/{p-a406bf1a.entry.js → p-8ff839a4.entry.js} +1 -1
- package/dist/webcomponents/p-927ecf5d.entry.js +1 -0
- package/dist/webcomponents/p-93ed5490.entry.js +1 -0
- package/dist/webcomponents/p-95a3e104.entry.js +1 -0
- package/dist/webcomponents/{p-a9d2dd5e.entry.js → p-95cbb655.entry.js} +1 -1
- package/dist/webcomponents/{p-2169c3d1.entry.js → p-95e33bcc.entry.js} +1 -1
- package/dist/webcomponents/{p-4cf9168d.entry.js → p-988ae9e9.entry.js} +1 -1
- package/dist/webcomponents/{p-e8a198fa.entry.js → p-9be67b19.entry.js} +1 -1
- package/dist/webcomponents/p-9c1d5a55.entry.js +1 -0
- package/dist/webcomponents/p-9c621697.entry.js +1 -0
- package/dist/webcomponents/p-9ed62efb.entry.js +1 -0
- package/dist/webcomponents/p-B71k50jz.js +1 -0
- package/dist/webcomponents/p-BF0mIfcQ.js +1 -0
- package/dist/webcomponents/p-BF4U0yVj.js +1 -0
- package/dist/webcomponents/{p-zdIeCUeh.js → p-BHf9IqGw.js} +1 -1
- package/dist/webcomponents/p-BQ2TIFoY.js +1 -0
- package/dist/webcomponents/p-BSt6p1oq.js +1 -0
- package/dist/webcomponents/p-BY1mRAvj.js +1 -0
- package/dist/webcomponents/{p-nWGo6sHu.js → p-Bb-6bNcq.js} +1 -1
- package/dist/webcomponents/p-BbZwa5UI.js +1 -0
- package/dist/webcomponents/p-BdKWuCys.js +1 -0
- package/dist/webcomponents/{p-BZzESzqz.js → p-BfM6X7lF.js} +1 -1
- package/dist/webcomponents/p-BjVfIXWC.js +1 -0
- package/dist/webcomponents/{p-kpoIU4v_.js → p-Bn7inNWG.js} +1 -1
- package/dist/webcomponents/{p-wyEq9Pa1.js → p-BsGE9UDv.js} +1 -1
- package/dist/webcomponents/{p-CP_tg-uH.js → p-C5id7s_l.js} +1 -1
- package/dist/webcomponents/{p-DBsw4qpn.js → p-CAJnQLZF.js} +1 -1
- package/dist/webcomponents/{p-HAk7yBNq.js → p-CB0mCq1M.js} +1 -1
- package/dist/webcomponents/p-CItulios.js +1 -0
- package/dist/webcomponents/p-CaAVuW6B.js +1 -0
- package/dist/webcomponents/p-Cb0FhuyU.js +1 -0
- package/dist/webcomponents/p-CbL73B6U.js +1 -0
- package/dist/webcomponents/p-CpaS1Lex.js +1 -0
- package/dist/webcomponents/p-DD0Mvpeu.js +1 -0
- package/dist/webcomponents/p-DDUmOl3v.js +1 -0
- package/dist/webcomponents/p-DIDloHpm.js +1 -0
- package/dist/webcomponents/{p-UD2JhYS2.js → p-DK2sRMlx.js} +1 -1
- package/dist/webcomponents/{p-DuXN7Akd.js → p-DNo0OPOP.js} +1 -1
- package/dist/webcomponents/{p-BUadwxkh.js → p-DRXvcLy9.js} +1 -1
- package/dist/webcomponents/p-Da3idOSV.js +1 -0
- package/dist/webcomponents/p-Dgflaz6J.js +1 -0
- package/dist/webcomponents/{p-9y5MOK55.js → p-DhGNCW2f.js} +1 -1
- package/dist/webcomponents/p-DsZZxRXY.js +1 -0
- package/dist/webcomponents/{p-CRFzwZW6.js → p-DxqCFDtF.js} +1 -1
- package/dist/webcomponents/p-ED_TzwCp.js +1 -0
- package/dist/webcomponents/p-JyHlIFWl.js +1 -0
- package/dist/webcomponents/{p-D9Sv4eV5.js → p-VSSGd2zP.js} +1 -1
- package/dist/webcomponents/{p-DWUnL_zj.js → p-Wh1V0gvF.js} +1 -1
- package/dist/webcomponents/{p-c62e23c1.entry.js → p-a5114207.entry.js} +1 -1
- package/dist/webcomponents/p-a54281e8.entry.js +1 -0
- package/dist/webcomponents/{p-ab308ee3.entry.js → p-a7ac285c.entry.js} +1 -1
- package/dist/webcomponents/{p-463ae23a.entry.js → p-abbf14b5.entry.js} +1 -1
- package/dist/webcomponents/{p-1b892b3a.entry.js → p-bf2df971.entry.js} +1 -1
- package/dist/webcomponents/p-cff8ae71.entry.js +1 -0
- package/dist/webcomponents/p-d031ad31.entry.js +1 -0
- package/dist/webcomponents/{p-5e10aa65.entry.js → p-d46dbb83.entry.js} +1 -1
- package/dist/webcomponents/p-d5d271d3.entry.js +1 -0
- package/dist/webcomponents/p-d8f9f287.entry.js +1 -0
- package/dist/webcomponents/{p-92efb3f2.entry.js → p-d9d371e1.entry.js} +1 -1
- package/dist/webcomponents/p-dba55699.entry.js +1 -0
- package/dist/webcomponents/p-e5282f6c.entry.js +1 -0
- package/dist/webcomponents/p-e7b66120.entry.js +1 -0
- package/dist/webcomponents/p-e9a5c837.entry.js +1 -0
- package/dist/webcomponents/p-eP3fmhta.js +1 -0
- package/dist/webcomponents/{p-5afbfafb.entry.js → p-eb2d9e5b.entry.js} +1 -1
- package/dist/webcomponents/p-ed53b213.entry.js +1 -0
- package/dist/webcomponents/{p-afc83e27.entry.js → p-f1cba43c.entry.js} +1 -1
- package/dist/webcomponents/p-f499a8de.entry.js +1 -0
- package/dist/webcomponents/p-f680e617.entry.js +1 -0
- package/dist/webcomponents/p-fa31c907.entry.js +1 -0
- package/dist/webcomponents/p-ff685149.entry.js +1 -0
- package/dist/webcomponents/p-sw5RO19U.js +1 -0
- package/dist/webcomponents/p-z-5r0gWn.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/checkout.store-Cn3Jj5gi.js +0 -40
- package/dist/cjs/justifi-checkout-summary_6.cjs.entry.js +0 -785
- package/dist/cjs/terminals-list-params-state-BNbT1fuJ.js +0 -22
- package/dist/esm/checkout.store-OAv_iY1u.js +0 -37
- package/dist/esm/justifi-checkout-summary_6.entry.js +0 -778
- package/dist/esm/terminals-list-params-state-SMXQIZTt.js +0 -16
- package/dist/webcomponents/p-0aee6da6.entry.js +0 -1
- package/dist/webcomponents/p-0e64cd09.entry.js +0 -1
- package/dist/webcomponents/p-1202181b.entry.js +0 -1
- package/dist/webcomponents/p-1246b999.entry.js +0 -1
- package/dist/webcomponents/p-12c312a0.entry.js +0 -1
- package/dist/webcomponents/p-1a83d9f2.entry.js +0 -1
- package/dist/webcomponents/p-1c0c1d7b.entry.js +0 -1
- package/dist/webcomponents/p-1e206c92.entry.js +0 -1
- package/dist/webcomponents/p-281e36be.entry.js +0 -1
- package/dist/webcomponents/p-2988e82c.entry.js +0 -1
- package/dist/webcomponents/p-2a0a907d.entry.js +0 -1
- package/dist/webcomponents/p-32cc081a.entry.js +0 -1
- package/dist/webcomponents/p-387bcdee.entry.js +0 -1
- package/dist/webcomponents/p-41416b5f.entry.js +0 -1
- package/dist/webcomponents/p-42994618.entry.js +0 -1
- package/dist/webcomponents/p-5510b57c.entry.js +0 -1
- package/dist/webcomponents/p-59e8f027.entry.js +0 -1
- package/dist/webcomponents/p-5a5f07be.entry.js +0 -1
- package/dist/webcomponents/p-5acd6add.entry.js +0 -1
- package/dist/webcomponents/p-5rVtZ2GJ.js +0 -1
- package/dist/webcomponents/p-6974a44c.entry.js +0 -1
- package/dist/webcomponents/p-6f2b41f5.entry.js +0 -1
- package/dist/webcomponents/p-6f9755cc.entry.js +0 -1
- package/dist/webcomponents/p-7WIgS5RM.js +0 -1
- package/dist/webcomponents/p-7b9fa1fb.entry.js +0 -1
- package/dist/webcomponents/p-98939b74.entry.js +0 -1
- package/dist/webcomponents/p-BVD7g3cE.js +0 -1
- package/dist/webcomponents/p-BXKEChoo.js +0 -1
- package/dist/webcomponents/p-Bb6FBEPP.js +0 -1
- package/dist/webcomponents/p-BmFoKOM3.js +0 -1
- package/dist/webcomponents/p-Bpcb3SsP.js +0 -1
- package/dist/webcomponents/p-Bt388eye.js +0 -1
- package/dist/webcomponents/p-BtOB_CaO.js +0 -1
- package/dist/webcomponents/p-BySyDTv5.js +0 -1
- package/dist/webcomponents/p-C0AHrswP.js +0 -1
- package/dist/webcomponents/p-C60pS6qh.js +0 -1
- package/dist/webcomponents/p-CLwzqWk2.js +0 -1
- package/dist/webcomponents/p-CVQyw7ao.js +0 -1
- package/dist/webcomponents/p-D48iERjQ.js +0 -1
- package/dist/webcomponents/p-D7eeJWA-.js +0 -1
- package/dist/webcomponents/p-DD74a16D.js +0 -1
- package/dist/webcomponents/p-DKRXPZKS.js +0 -1
- package/dist/webcomponents/p-DOd8HaWV.js +0 -1
- package/dist/webcomponents/p-DaDsBt65.js +0 -1
- package/dist/webcomponents/p-DcE8SQPv.js +0 -1
- package/dist/webcomponents/p-Drz6LnIw.js +0 -1
- package/dist/webcomponents/p-WEguiGt1.js +0 -1
- package/dist/webcomponents/p-a1a8f6bd.entry.js +0 -1
- package/dist/webcomponents/p-a70bc148.entry.js +0 -1
- package/dist/webcomponents/p-b41d2b8f.entry.js +0 -1
- package/dist/webcomponents/p-b8f63e28.entry.js +0 -1
- package/dist/webcomponents/p-ba84c3bd.entry.js +0 -1
- package/dist/webcomponents/p-c7e5245a.entry.js +0 -1
- package/dist/webcomponents/p-cabaf013.entry.js +0 -1
- package/dist/webcomponents/p-cbfc8269.entry.js +0 -1
- package/dist/webcomponents/p-cf16498f.entry.js +0 -1
- package/dist/webcomponents/p-d014a155.entry.js +0 -1
- package/dist/webcomponents/p-e6ca1872.entry.js +0 -1
- package/dist/webcomponents/p-eff0b0e9.entry.js +0 -1
- package/dist/webcomponents/p-f3be7b2b.entry.js +0 -1
- package/dist/webcomponents/p-f787bc18.entry.js +0 -1
- package/dist/webcomponents/p-fb1904d2.entry.js +0 -1
- package/dist/webcomponents/p-fcb6e870.entry.js +0 -1
- package/dist/webcomponents/p-pska2q1M.js +0 -1
|
@@ -2,8 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { StyledHost } from "../../ui-components";
|
|
3
3
|
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
4
4
|
import JustifiAnalytics from "../../api/Analytics";
|
|
5
|
-
import { PaymentMethodTypes } from "../../api
|
|
6
|
-
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api";
|
|
5
|
+
import { ComponentErrorCodes, ComponentErrorSeverity, PaymentMethodTypes } from "../../api";
|
|
7
6
|
import { checkoutStore } from "../../store/checkout.store";
|
|
8
7
|
// Constants
|
|
9
8
|
const PAYMENT_METHOD_TYPE_LABELS = {
|
|
@@ -18,14 +17,12 @@ const ERROR_MESSAGES = {
|
|
|
18
17
|
};
|
|
19
18
|
export class TokenizePaymentMethod {
|
|
20
19
|
constructor() {
|
|
21
|
-
this.isLoading = false;
|
|
22
20
|
this.computedHideSubmitButton = false;
|
|
21
|
+
this.isLoading = false;
|
|
23
22
|
this.submitButtonText = 'Submit';
|
|
24
23
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
this.analytics = new JustifiAnalytics(this);
|
|
28
|
-
this.validateRequiredProps();
|
|
24
|
+
paymentMethodsChanged() {
|
|
25
|
+
this.setDefaultSelectedPaymentMethod();
|
|
29
26
|
}
|
|
30
27
|
connectedCallback() {
|
|
31
28
|
this.setDefaultSelectedPaymentMethod();
|
|
@@ -34,12 +31,17 @@ export class TokenizePaymentMethod {
|
|
|
34
31
|
disconnectedCallback() {
|
|
35
32
|
var _a;
|
|
36
33
|
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
34
|
+
if (this.unsubscribeFromStore) {
|
|
35
|
+
this.unsubscribeFromStore();
|
|
36
|
+
}
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
componentWillLoad() {
|
|
39
|
+
checkPkgVersion();
|
|
40
|
+
this.analytics = new JustifiAnalytics(this);
|
|
40
41
|
}
|
|
41
42
|
handleRadioClick(event) {
|
|
42
|
-
this.
|
|
43
|
+
this.selectedPaymentMethod = event.detail;
|
|
44
|
+
checkoutStore.selectedPaymentMethod = { type: event.detail };
|
|
43
45
|
}
|
|
44
46
|
async fillBillingForm(fields) {
|
|
45
47
|
var _a;
|
|
@@ -47,6 +49,7 @@ export class TokenizePaymentMethod {
|
|
|
47
49
|
}
|
|
48
50
|
async tokenizePaymentMethod(event) {
|
|
49
51
|
event === null || event === void 0 ? void 0 : event.preventDefault();
|
|
52
|
+
this.validateRequiredProps();
|
|
50
53
|
this.isLoading = true;
|
|
51
54
|
try {
|
|
52
55
|
const validation = await this.validate();
|
|
@@ -89,11 +92,27 @@ export class TokenizePaymentMethod {
|
|
|
89
92
|
this.billingFormRef.validate(),
|
|
90
93
|
this.paymentMethodFormRef.validate(),
|
|
91
94
|
]);
|
|
92
|
-
|
|
95
|
+
const result = {
|
|
93
96
|
isValid: billingValidation.isValid && paymentMethodValidation.isValid,
|
|
94
97
|
errors: Object.assign(Object.assign({}, billingValidation.errors), paymentMethodValidation.errors),
|
|
95
98
|
};
|
|
99
|
+
return result;
|
|
96
100
|
}
|
|
101
|
+
async tokenize() {
|
|
102
|
+
try {
|
|
103
|
+
const billingFormFieldValues = await this.billingFormRef.getValues();
|
|
104
|
+
const config = {
|
|
105
|
+
clientId: this.authToken || checkoutStore.authToken,
|
|
106
|
+
account: this.accountId || checkoutStore.accountId,
|
|
107
|
+
paymentMethodMetadata: this.buildPaymentMethodMetadata(billingFormFieldValues),
|
|
108
|
+
};
|
|
109
|
+
return await this.paymentMethodFormRef.tokenize(config);
|
|
110
|
+
}
|
|
111
|
+
catch (error) {
|
|
112
|
+
return error;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
// 9. Local methods
|
|
97
116
|
validateRequiredProps() {
|
|
98
117
|
if (!this.authToken && !checkoutStore.authToken) {
|
|
99
118
|
this.emitError({
|
|
@@ -109,14 +128,16 @@ export class TokenizePaymentMethod {
|
|
|
109
128
|
}
|
|
110
129
|
}
|
|
111
130
|
setDefaultSelectedPaymentMethod() {
|
|
112
|
-
if (this.
|
|
131
|
+
if (this.selectedPaymentMethod) {
|
|
113
132
|
return;
|
|
114
133
|
}
|
|
115
134
|
if (!this.disableCreditCard) {
|
|
116
|
-
this.
|
|
135
|
+
this.selectedPaymentMethod = PaymentMethodTypes.card;
|
|
136
|
+
checkoutStore.selectedPaymentMethod = { type: PaymentMethodTypes.card };
|
|
117
137
|
}
|
|
118
138
|
else if (!this.disableBankAccount) {
|
|
119
|
-
this.
|
|
139
|
+
this.selectedPaymentMethod = PaymentMethodTypes.bankAccount;
|
|
140
|
+
checkoutStore.selectedPaymentMethod = { type: PaymentMethodTypes.bankAccount };
|
|
120
141
|
}
|
|
121
142
|
}
|
|
122
143
|
setComputedHideSubmitButton() {
|
|
@@ -182,7 +203,8 @@ export class TokenizePaymentMethod {
|
|
|
182
203
|
},
|
|
183
204
|
};
|
|
184
205
|
}
|
|
185
|
-
|
|
206
|
+
const result = await this.performTokenization();
|
|
207
|
+
return result;
|
|
186
208
|
}
|
|
187
209
|
catch (error) {
|
|
188
210
|
return { error };
|
|
@@ -200,20 +222,6 @@ export class TokenizePaymentMethod {
|
|
|
200
222
|
data: tokenizeResponseData,
|
|
201
223
|
};
|
|
202
224
|
}
|
|
203
|
-
async tokenize() {
|
|
204
|
-
try {
|
|
205
|
-
const billingFormFieldValues = await this.billingFormRef.getValues();
|
|
206
|
-
const config = {
|
|
207
|
-
clientId: this.authToken || checkoutStore.authToken,
|
|
208
|
-
account: this.accountId || checkoutStore.accountId,
|
|
209
|
-
paymentMethodMetadata: this.buildPaymentMethodMetadata(billingFormFieldValues),
|
|
210
|
-
};
|
|
211
|
-
return await this.paymentMethodFormRef.tokenize(config);
|
|
212
|
-
}
|
|
213
|
-
catch (error) {
|
|
214
|
-
return error;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
225
|
buildPaymentMethodMetadata(billingFormFieldValues) {
|
|
218
226
|
return this.shouldSavePaymentMethod
|
|
219
227
|
? Object.assign(Object.assign({}, billingFormFieldValues), { payment_method_group_id: this.paymentMethodGroupID }) : Object.assign({}, billingFormFieldValues);
|
|
@@ -228,17 +236,17 @@ export class TokenizePaymentMethod {
|
|
|
228
236
|
return this.disableCreditCard || this.disableBankAccount;
|
|
229
237
|
}
|
|
230
238
|
renderPaymentMethodOption(paymentMethodType) {
|
|
231
|
-
const isSelected = this.
|
|
239
|
+
const isSelected = this.selectedPaymentMethod === paymentMethodType && checkoutStore.selectedPaymentMethod.id === undefined;
|
|
232
240
|
return (h("div", { class: "payment-method" }, h("justifi-radio-list-item", { name: "paymentMethodType", value: paymentMethodType, checked: isSelected, label: PAYMENT_METHOD_TYPE_LABELS[paymentMethodType], hidden: this.shouldHideRadioInput }), isSelected && this.renderSelectedPaymentMethodForm(paymentMethodType)));
|
|
233
241
|
}
|
|
234
242
|
renderSelectedPaymentMethodForm(paymentMethodId) {
|
|
235
|
-
return (h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(paymentMethodId), h("div", { class: "mt-4" }, h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el), hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodId })), h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupID })));
|
|
243
|
+
return (h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(paymentMethodId), h("div", { class: "mt-4" }, h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el), hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodId })), h("div", { class: "mt-4" }, h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupID, label: this.savePaymentMethodLabel }))));
|
|
236
244
|
}
|
|
237
245
|
renderPaymentMethodForm(paymentMethodId) {
|
|
238
246
|
return paymentMethodId === PaymentMethodTypes.card ? (h("justifi-card-form", { ref: (el) => (this.paymentMethodFormRef = el) })) : (h("justifi-bank-account-form", { ref: (el) => (this.paymentMethodFormRef = el) }));
|
|
239
247
|
}
|
|
240
248
|
render() {
|
|
241
|
-
return (h(StyledHost, { key: '
|
|
249
|
+
return (h(StyledHost, { key: '27acb4552c8e2431792108448608c039baa705c6' }, h("form", { key: '914d43a641bbc484da9399d9d7b938215666862b' }, h("fieldset", { key: '4df90b4279eaa9c02268074c1d4c630c75e54f26' }, h("div", { key: 'b4b8895c7e5b9a3e615d357e2a6fdba5c245decb', class: "row gy-3" }, h("div", { key: '10ecdd6afffef324179fabcab340e4290c22f594', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: '3327294952c67643c9c77178f801bbbba09fd511', class: "col-12" }, h("justifi-button", { key: '6de96d2c0065f676e696433f8ef6438527830437', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
|
|
242
250
|
}
|
|
243
251
|
static get is() { return "justifi-tokenize-payment-method"; }
|
|
244
252
|
static get properties() {
|
|
@@ -414,14 +422,33 @@ export class TokenizePaymentMethod {
|
|
|
414
422
|
"setter": false,
|
|
415
423
|
"reflect": false,
|
|
416
424
|
"defaultValue": "'Submit'"
|
|
425
|
+
},
|
|
426
|
+
"savePaymentMethodLabel": {
|
|
427
|
+
"type": "string",
|
|
428
|
+
"attribute": "save-payment-method-label",
|
|
429
|
+
"mutable": false,
|
|
430
|
+
"complexType": {
|
|
431
|
+
"original": "string",
|
|
432
|
+
"resolved": "string",
|
|
433
|
+
"references": {}
|
|
434
|
+
},
|
|
435
|
+
"required": false,
|
|
436
|
+
"optional": true,
|
|
437
|
+
"docs": {
|
|
438
|
+
"tags": [],
|
|
439
|
+
"text": ""
|
|
440
|
+
},
|
|
441
|
+
"getter": false,
|
|
442
|
+
"setter": false,
|
|
443
|
+
"reflect": false
|
|
417
444
|
}
|
|
418
445
|
};
|
|
419
446
|
}
|
|
420
447
|
static get states() {
|
|
421
448
|
return {
|
|
449
|
+
"computedHideSubmitButton": {},
|
|
422
450
|
"isLoading": {},
|
|
423
|
-
"
|
|
424
|
-
"computedHideSubmitButton": {}
|
|
451
|
+
"selectedPaymentMethod": {}
|
|
425
452
|
};
|
|
426
453
|
}
|
|
427
454
|
static get events() {
|
|
@@ -552,6 +579,27 @@ export class TokenizePaymentMethod {
|
|
|
552
579
|
"text": "",
|
|
553
580
|
"tags": []
|
|
554
581
|
}
|
|
582
|
+
},
|
|
583
|
+
"tokenize": {
|
|
584
|
+
"complexType": {
|
|
585
|
+
"signature": "() => Promise<any>",
|
|
586
|
+
"parameters": [],
|
|
587
|
+
"references": {
|
|
588
|
+
"Promise": {
|
|
589
|
+
"location": "global",
|
|
590
|
+
"id": "global::Promise"
|
|
591
|
+
},
|
|
592
|
+
"TokenizeConfig": {
|
|
593
|
+
"location": "global",
|
|
594
|
+
"id": "global::TokenizeConfig"
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
"return": "Promise<any>"
|
|
598
|
+
},
|
|
599
|
+
"docs": {
|
|
600
|
+
"text": "",
|
|
601
|
+
"tags": []
|
|
602
|
+
}
|
|
555
603
|
}
|
|
556
604
|
};
|
|
557
605
|
}
|
package/dist/collection/index.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { createStore } from "@stencil/store";
|
|
2
|
+
import { PaymentMethodTypes } from "../api";
|
|
3
|
+
import { PAYMENT_METHODS } from "../components/modular-checkout/ModularCheckout";
|
|
2
4
|
const initialState = {
|
|
3
5
|
accountId: '',
|
|
4
6
|
authToken: '',
|
|
@@ -6,11 +8,14 @@ const initialState = {
|
|
|
6
8
|
address_postal_code: '',
|
|
7
9
|
},
|
|
8
10
|
bnplEnabled: false,
|
|
11
|
+
insuranceEnabled: false,
|
|
9
12
|
bnplProviderApiVersion: '',
|
|
10
13
|
bnplProviderCheckoutUrl: '',
|
|
11
14
|
bnplProviderClientId: '',
|
|
12
15
|
bnplProviderMode: '',
|
|
13
16
|
checkoutId: '',
|
|
17
|
+
checkoutLoaded: false,
|
|
18
|
+
bankAccountVerification: undefined,
|
|
14
19
|
disableBankAccount: false,
|
|
15
20
|
disableBnpl: false,
|
|
16
21
|
disableCreditCard: false,
|
|
@@ -22,8 +27,10 @@ const initialState = {
|
|
|
22
27
|
paymentMethods: [],
|
|
23
28
|
paymentToken: undefined,
|
|
24
29
|
savePaymentMethod: false,
|
|
25
|
-
selectedPaymentMethod:
|
|
30
|
+
selectedPaymentMethod: { type: PaymentMethodTypes.card },
|
|
26
31
|
totalAmount: 0,
|
|
32
|
+
plaidPublicToken: undefined,
|
|
33
|
+
plaidLinkTokenId: undefined,
|
|
27
34
|
};
|
|
28
35
|
const { state: checkoutStore, onChange } = createStore(initialState);
|
|
29
36
|
Object.keys(initialState).forEach((key) => {
|
|
@@ -32,4 +39,43 @@ Object.keys(initialState).forEach((key) => {
|
|
|
32
39
|
checkoutStore[key] = newValue;
|
|
33
40
|
});
|
|
34
41
|
});
|
|
35
|
-
|
|
42
|
+
// Helper: compute available payment methods based on store flags
|
|
43
|
+
export function getAvailablePaymentMethodTypes() {
|
|
44
|
+
var _a;
|
|
45
|
+
const methods = [];
|
|
46
|
+
if (!checkoutStore.disablePaymentMethodGroup &&
|
|
47
|
+
((_a = checkoutStore.paymentMethods) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
48
|
+
const hasSavedCard = checkoutStore.paymentMethods.some((pm) => pm.type === 'card');
|
|
49
|
+
const hasSavedBank = checkoutStore.paymentMethods.some((pm) => pm.type === 'bank_account');
|
|
50
|
+
if (hasSavedCard && !checkoutStore.disableCreditCard) {
|
|
51
|
+
methods.push(PAYMENT_METHODS.SAVED_CARD);
|
|
52
|
+
}
|
|
53
|
+
if (hasSavedBank && !checkoutStore.disableBankAccount) {
|
|
54
|
+
methods.push(PAYMENT_METHODS.SAVED_BANK_ACCOUNT);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
if (!checkoutStore.disableCreditCard) {
|
|
58
|
+
methods.push(PAYMENT_METHODS.NEW_CARD);
|
|
59
|
+
}
|
|
60
|
+
if (!checkoutStore.disableBankAccount) {
|
|
61
|
+
methods.push(PAYMENT_METHODS.NEW_BANK_ACCOUNT);
|
|
62
|
+
}
|
|
63
|
+
if (checkoutStore.bnplEnabled && !checkoutStore.disableBnpl) {
|
|
64
|
+
methods.push(PAYMENT_METHODS.SEZZLE);
|
|
65
|
+
}
|
|
66
|
+
if (checkoutStore.bankAccountVerification === true &&
|
|
67
|
+
!checkoutStore.disableBankAccount) {
|
|
68
|
+
methods.push(PAYMENT_METHODS.PLAID);
|
|
69
|
+
}
|
|
70
|
+
return methods;
|
|
71
|
+
}
|
|
72
|
+
export function isNewCardSelected() {
|
|
73
|
+
return checkoutStore.selectedPaymentMethod.type === PaymentMethodTypes.card;
|
|
74
|
+
}
|
|
75
|
+
export { checkoutStore as checkoutStore, onChange };
|
|
76
|
+
export function onAnyChange(callback) {
|
|
77
|
+
Object.keys(initialState).forEach((key) => {
|
|
78
|
+
// @ts-ignore - onChange is generically typed by stencil/store but not exported here
|
|
79
|
+
onChange(key, (newValue) => callback(key, newValue));
|
|
80
|
+
});
|
|
81
|
+
}
|
|
@@ -80,7 +80,7 @@ export class CustomPopper {
|
|
|
80
80
|
this.hideEvent.emit();
|
|
81
81
|
}
|
|
82
82
|
render() {
|
|
83
|
-
return (h("div", { key: '
|
|
83
|
+
return (h("div", { key: '6249f59c6bcced199fe4d509988644633d783b6b' }, h("style", { key: '9d6a47ff5b927ebfb318b7d0852678f7ade406ca' }, `
|
|
84
84
|
.popper-content {
|
|
85
85
|
display: none;
|
|
86
86
|
}
|
|
@@ -88,7 +88,7 @@ export class CustomPopper {
|
|
|
88
88
|
display: block;
|
|
89
89
|
z-index: 1030;
|
|
90
90
|
}
|
|
91
|
-
`), h("div", { key: '
|
|
91
|
+
`), h("div", { key: '311f13edc07bc1aea0569fb6c92fbbc241704529', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '93e806d8db16cd7c1b29ce6b6bec784c8126ab67' }))));
|
|
92
92
|
}
|
|
93
93
|
static get is() { return "custom-popper"; }
|
|
94
94
|
static get properties() {
|
|
@@ -31,10 +31,10 @@ export class CheckboxInput {
|
|
|
31
31
|
return inputCheckbox;
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: 'cb4fce894bdb9a24689e6a8b4078727b00001b3a' }, h("div", { key: 'da4671582783f5ebace5105434e484d816215f9e', class: 'form-group d-flex flex-column' }, h("div", { key: 'b8cd2036001fa732528391b6dbf1d0ae53043579', class: "form-check" }, h("input", { key: 'ae87dba4cdf3786e3c9a48c466deb9ef622cb5a9', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
35
35
|
this.isFocused = false;
|
|
36
36
|
this.formControlBlur.emit();
|
|
37
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '
|
|
37
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: 'bd2521e5b1af0a415f0780ee9708ff3c59707bcb', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: '29ac1320b027c81203fd4f5f424a25dd83bfbb80', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: 'a9206d48a18006459f7ae079413e7a5cc528aab5', errorText: this.errorText, name: this.name }))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "form-control-checkbox"; }
|
|
40
40
|
static get properties() {
|
|
@@ -42,10 +42,10 @@ export class DateInput {
|
|
|
42
42
|
return part;
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '2e4a67de83ef5dcd64ff15e1f6fbc125db0d121d' }, h("div", { key: 'e73d09d041e2152e88917ac65f8a5b5bb7949df4', class: "form-group d-flex flex-column" }, h("div", { key: '7c0e2d8be29956e61aaa37bc4575efc595382ce7', class: "d-flex gap-2" }, h("label", { key: '1d3692f53203455abacb1addb300549d5d47d8e6', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'e16354b0813c63cd2b21b4185fdd33c0159d9ee3', helpText: this.helpText })), h("input", { key: 'bf559dea1bf215276a69833a0d5ff78502043669', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
46
46
|
this.isFocused = false;
|
|
47
47
|
this.formControlBlur.emit();
|
|
48
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '
|
|
48
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: 'df02643ac9a15c675726ccba1bfb2ec45ed2c4bc', errorText: this.errorText, name: this.name }))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "form-control-date"; }
|
|
51
51
|
static get properties() {
|
|
@@ -2,7 +2,7 @@ import { Host, h, } from "@stencil/core";
|
|
|
2
2
|
import { FormControlErrorText } from "./form-helpers/form-control-error-text";
|
|
3
3
|
export class FileInput {
|
|
4
4
|
render() {
|
|
5
|
-
return (h(Host, { key: '
|
|
5
|
+
return (h(Host, { key: '151b13500f5bc11102f13e9e8aba583f5535458f', exportparts: "label,input,input-invalid" }, h("div", { key: 'aa24b590885e67c0dae7bbf10a46e111cbb108ac', class: "form-group d-flex flex-column" }, h("div", { key: 'a6da0c166f60904ac32eef2e9ebb77c472bb7180', class: "d-flex align-items-start gap-2" }, h("label", { key: '24ddc6dc7f49b1be6a8a8d81c829c11f8c76b9e0', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '5d058f5f8029abce0a75c86a2de3b11d3c26a8f6', helpText: this.helpText })), h("input", { key: 'c807436e93a21ad7c1fd942cfb295d51bf30a9b7', type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onBlur: () => this.formControlBlur.emit(), onChange: () => this.errorText = "" }), h(FormControlErrorText, { key: '59abec5b8a6660de5c3aa09d5341b53bc53b3dea', errorText: this.errorText, name: this.name }))));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "form-control-file-v2"; }
|
|
8
8
|
static get properties() {
|
|
@@ -37,10 +37,10 @@ export class FileInput {
|
|
|
37
37
|
return part;
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: '3f6adbe90fc89972562f658958433d77ca9ad67c' }, h("div", { key: '522ea5f78109a2717e8b016c16d29c9444ebf0c2', class: "form-group d-flex flex-column" }, h("div", { key: '39647185cf2b6fbe4317aa5ae609a971161974a7', class: "d-flex align-items-start gap-2" }, h("label", { key: '18d7f1e782c74bfd9a1aad52c70d451e2d7ebdd5', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '3eab40969bc7d68b195093f7671244a2c1a0f537', helpText: this.helpText })), h("input", { key: '0acb164fc09a23fd8a8937222f527052bb02248e', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
41
41
|
this.isFocused = false;
|
|
42
42
|
this.formControlBlur.emit();
|
|
43
|
-
} }), h(FormControlErrorText, { key: '
|
|
43
|
+
} }), h(FormControlErrorText, { key: '03689848a01a3844dcf4480d5f997a3a52338ea1', errorText: this.errorText, name: this.name }))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "form-control-file"; }
|
|
46
46
|
static get properties() {
|
|
@@ -42,10 +42,10 @@ export class MonetaryInput {
|
|
|
42
42
|
return input;
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: 'fdd31eca7047ab022668fd4ad9ebbde3ec691508' }, h("div", { key: 'fda274a4e96edc22bb99e699faaa91b37b95a856', class: "form-group d-flex flex-column" }, h("label", { key: '72e259579224953c92c9df1f7e32cda7344019ac', part: label, class: "form-label", htmlFor: this.name }, this.label), h(FormControlHelpText, { key: 'f548c208758806082639372954d1634cd7202570', name: this.name, helpText: this.helpText }), h("div", { key: '3365f9842f780d2ce8903a798fdf71df7673aae7', class: "input-group" }, h("span", { key: 'c6f8169b97667ee821ba79aec2ea2e1b0d35e3f6', class: "input-group-text", part: inputAdornment }, "$"), h("input", { key: 'd8995e95fd187dda908dbacba511547c13bb4b27', ref: el => this.formControl = el, id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
46
46
|
this.isFocused = false;
|
|
47
47
|
this.formControlBlur.emit();
|
|
48
|
-
}, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), h(FormControlErrorText, { key: '
|
|
48
|
+
}, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), h(FormControlErrorText, { key: '00127c5cdce079d88a8b902c16d960201ff3bce1', errorText: this.errorText, name: this.name }))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "form-control-monetary"; }
|
|
51
51
|
static get properties() {
|
|
@@ -61,10 +61,10 @@ export class NumberInputMasked {
|
|
|
61
61
|
return input;
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
return (h(Host, { key: '
|
|
64
|
+
return (h(Host, { key: 'cd0a23e4a4b1d7b39448e0770c5681aa319fe376' }, h("div", { key: 'fdaeea5b68035edc6885d7e3e5106d6c4962325f', class: "form-group d-flex flex-column" }, h("div", { key: '46379bb141130c88d0b09c1382a9f34758808b8c', class: "d-flex align-items-start gap-2" }, h("label", { key: '5a191a9c22d82d58354fa297d78f51c4cd0ec36b', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '9a8c580ee3b69902a30bca5aa79309be15d0c51d', helpText: this.helpText })), h("input", { key: '03bec84295380c4c86cc4c1b9ff6609ddf15c7b8', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => (this.isFocused = true), onBlur: () => {
|
|
65
65
|
this.isFocused = false;
|
|
66
66
|
this.formControlBlur.emit();
|
|
67
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '
|
|
67
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '55e523b3be538bccd3a438edf109acbb7de3fce9', errorText: this.errorText, name: this.name }))));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "form-control-number-masked"; }
|
|
70
70
|
static get properties() {
|
|
@@ -36,10 +36,10 @@ export class NumberInput {
|
|
|
36
36
|
return input;
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '7d3590c5616114610038d95cf45e3aa1f6fca08f' }, h("div", { key: '231c16a61a76aa7501df035639a7c2de474a2578', class: 'form-group d-flex flex-column' }, h("label", { key: 'c6736b7830e68c4ebfad4e954510fa7e6f839772', part: label, class: "form-label", htmlFor: this.name }, this.label), h("input", { key: '739a6c3f50a684da033e5a2669bb661cd50836a9', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
40
40
|
this.isFocused = false;
|
|
41
41
|
this.formControlBlur.emit();
|
|
42
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h(FormControlHelpText, { key: '
|
|
42
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h(FormControlHelpText, { key: '456c71cb54cf15bf17b2bcf95140d47db9002bce', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '55aa4e9d84f0236e9a1b0e27b174f385de2b9537', errorText: this.errorText, name: this.name }))));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "form-control-number"; }
|
|
45
45
|
static get properties() {
|
|
@@ -26,21 +26,21 @@ export class RadioInput {
|
|
|
26
26
|
return inputRadio;
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: '15657fdcd58d4971b8a25d32b458ff652203af29', class: 'form-group d-flex flex-column' }, h("div", { key: 'f50498d959e589a759fdf34a88ffdd2d423a3c7b', class: "form-check" }, h("input", { key: 'ac09f7a9de18b042302373d755565524170578aa', ref: el => (this.radioElement = el), type: "radio", id: `${this.name}-${this.value}`, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
30
30
|
this.isFocused = false;
|
|
31
31
|
this.formControlBlur.emit();
|
|
32
|
-
}, onChange: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value, checked: this.checked }), h("label", { key: '
|
|
32
|
+
}, onChange: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value, checked: this.checked }), h("label", { key: 'a9a890749f5106772e6e849d3ffde7cad8c7b744', class: "form-check-label", htmlFor: `${this.name}-${this.value}`, part: label }, this.label)), h("form-control-help-text", { key: 'b85b9fa72868f1b70d7e2cf37e5b831762c2c448', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: 'c2658161f4564fac4ec33acf48a23fd4cc656615', errorText: this.errorText, name: this.name })));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "form-control-radio"; }
|
|
35
35
|
static get properties() {
|
|
36
36
|
return {
|
|
37
37
|
"label": {
|
|
38
|
-
"type": "
|
|
38
|
+
"type": "any",
|
|
39
39
|
"attribute": "label",
|
|
40
40
|
"mutable": false,
|
|
41
41
|
"complexType": {
|
|
42
|
-
"original": "
|
|
43
|
-
"resolved": "
|
|
42
|
+
"original": "any",
|
|
43
|
+
"resolved": "any",
|
|
44
44
|
"references": {}
|
|
45
45
|
},
|
|
46
46
|
"required": false,
|
|
@@ -35,10 +35,10 @@ export class SelectInput {
|
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
37
|
var _a;
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: 'a7428cd8a89414d877dafe9948f5652f28c36a5f' }, h("div", { key: 'c9d5d5d2f8a6292484d3606d883dbb9d168aa316', class: "form-group d-flex flex-column" }, h("div", { key: 'c1aba6560934b966de02e9afef77428c6060eefb', class: "d-flex align-items-start gap-2" }, h("label", { key: '5fbbb09c3955ff3285b006f24c3873082394d39c', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'f756a05a8273ab6fd65205bb5c32cd34c30a9db3', helpText: this.helpText })), h("select", { key: 'ffd0fa461d3c35da5595e705a7c4068066d8f971', ref: el => (this.selectElement = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
39
39
|
this.isFocused = false;
|
|
40
40
|
this.formControlBlur.emit();
|
|
41
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (h("option", { value: option.value }, option.label)))), h(FormControlErrorText, { key: '
|
|
41
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (h("option", { value: option.value }, option.label)))), h(FormControlErrorText, { key: '6ee60bb236ccf7cea7bc8ccf946a363d2cd26906', errorText: this.errorText, name: this.name }))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "form-control-select"; }
|
|
44
44
|
static get properties() {
|
|
@@ -36,10 +36,10 @@ export class TextInput {
|
|
|
36
36
|
return input;
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '71473077484c65dce4e3311db05a194f642a37c8' }, h("div", { key: 'fbceee0b9fae4f05e1310a97c009fa5a97866ea4', class: "form-group d-flex flex-column" }, h("div", { key: 'c5b6cc944e8a1a7aafe136e67e5f37772f364cd6', class: "d-flex align-items-start gap-2" }, h("label", { key: '029a560a612b7e00f4d67c7adc2b5bdffa85cb53', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '3d8b3a41a599dc2f59171befb532c0cd219adba5', helpText: this.helpText })), h("input", { key: '2510c95b50bb26d00fb2975e38fde9efb7a6986e', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
40
40
|
this.isFocused = false;
|
|
41
41
|
this.formControlBlur.emit();
|
|
42
|
-
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '
|
|
42
|
+
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: 'feff4a3d104ea6f74a8d7049f79b8c2850b308a9', errorText: this.errorText, name: this.name }))));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "form-control-text"; }
|
|
45
45
|
static get properties() {
|
|
@@ -38,10 +38,10 @@ export class TextInput {
|
|
|
38
38
|
return input;
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: 'b4cdee53e150296601582bd17a74e7bff12c1867' }, h("div", { key: '198dd6fc463200a2445bd08934a15a0423ba4778', class: "form-group d-flex flex-column" }, h("label", { key: '73624f9fa6f506bb184bf461b60717f1aac87fdc', part: label, class: "form-label", htmlFor: this.name }, this.label), h("textarea", { key: '4aa0e8ef05e13f8c4c60c73e3312fd8d19d1b442', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
42
42
|
this.isFocused = false;
|
|
43
43
|
this.formControlBlur.emit();
|
|
44
|
-
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), h("form-control-help-text", { key: '
|
|
44
|
+
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), h("form-control-help-text", { key: 'e54de23fbe76cfc9f1a9e88d71737b23b84d0ea4', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '7ec33f817f34514cf2c8acdb2bb1647de433aad7', errorText: this.errorText, name: this.name }))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "form-control-textarea"; }
|
|
47
47
|
static get properties() {
|
|
@@ -73,7 +73,7 @@ export class HiddenInput {
|
|
|
73
73
|
return input;
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
|
-
return (h(Host, { key: '
|
|
76
|
+
return (h(Host, { key: 'bf8fcd89cdc8fcd1bfd8b9af5a7211c877e482ba' }, h("input", { key: 'f202d9252b60195b193a8203f750730fcf2e271b', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "hidden-input"; }
|
|
79
79
|
static get states() {
|
|
@@ -77,10 +77,10 @@ export class IframeInput {
|
|
|
77
77
|
return params;
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
|
-
return (h(Host, { key: '
|
|
80
|
+
return (h(Host, { key: 'c8a36a456afdfd883ae2ad8e05de98d307615b4c', class: "form-group d-flex flex-column" }, h("div", { key: '580cdd90dd76289f78b688fcdb1486ecb7fe6c5a', style: {
|
|
81
81
|
visibility: this.iframeLoaded ? 'visible' : 'hidden',
|
|
82
82
|
height: this.iframeLoaded ? 'auto' : '0',
|
|
83
|
-
} }, h("label", { key: '
|
|
83
|
+
} }, h("label", { key: '7df8c29c720b5edf85553e5667c14eeb0ad6e2b6', class: "form-label", htmlFor: "", part: label }, this.label || ''), h("div", { key: '3caeb47ddf3940e1b1a7fe08d8bd50b8123eb2c5', class: `p-0 d-flex form-control ${this.isValid ? '' : 'is-invalid'}`, part: this.part, style: Object.assign(Object.assign({}, this.style), { overflow: 'hidden' }) }, h("iframe", { key: '2fdff0682753d32292431a8d62d30a1647fa62ef', id: this.inputId, name: this.inputId, src: `${this.iframeOrigin}?${this.urlParams}`, ref: el => {
|
|
84
84
|
this.iframeElement = el;
|
|
85
85
|
this.initializeFrameCommunicationService();
|
|
86
86
|
}, width: "100%", onLoad: () => {
|
|
@@ -90,7 +90,7 @@ export class IframeInput {
|
|
|
90
90
|
this.iframeLoaded.emit();
|
|
91
91
|
}
|
|
92
92
|
}, this.iframeElement);
|
|
93
|
-
} })), h(FormControlErrorText, { key: '
|
|
93
|
+
} })), h(FormControlErrorText, { key: '075ca2ca25623703280fda84ff119e4820f9a5cb', errorText: this.errorText, name: this.inputId }))));
|
|
94
94
|
}
|
|
95
95
|
static get is() { return "iframe-input"; }
|
|
96
96
|
static get properties() {
|
|
@@ -7,7 +7,7 @@ export class JustifiButton {
|
|
|
7
7
|
this.type = 'button';
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(StyledHost, { key: '
|
|
10
|
+
return (h(StyledHost, { key: '48098276e0808052803f0d16df68ba23d529c4ab' }, h(Button, { key: 'c62e8d2d9208dc180180b4283edea991c5a93c57', variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, class: this.class, type: this.type, disabled: this.disabled, style: this.customStyle }, this.text)));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "justifi-button"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,7 +14,7 @@ export class Header {
|
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
16
|
const HeaderComponent = this.levels[this.level];
|
|
17
|
-
return (h(StyledHost, { key: '
|
|
17
|
+
return (h(StyledHost, { key: 'eb3651b698897193d34a6c6456cd57dd0bd0bc43' }, h(HeaderComponent, { key: '39caee687f93d3d4d90e62d9fbcae318eaa8022e', text: this.text, class: this.class })));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "justifi-header"; }
|
|
20
20
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,7 +10,7 @@ export class JustifiRadioListItem {
|
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(StyledHost, { key: '
|
|
13
|
+
return (h(StyledHost, { key: '1ae40f787970160e38b72f917bda96f480d2a890' }, h("div", { key: '2130596c8294cc38365e6126806735da0f93ef4a', class: `radio-list-item p-3 ${this.class || ''}`, part: radioListItem, onClick: this.handleClick, hidden: this.hidden }, h("form-control-radio", { key: '7d5524f518430f2bfd1c9863f354318929353cfb', name: this.name, value: this.value, checked: this.checked, label: this.label, inputHandler: () => null }))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "justifi-radio-list-item"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -55,12 +55,12 @@ export class JustifiRadioListItem {
|
|
|
55
55
|
"reflect": false
|
|
56
56
|
},
|
|
57
57
|
"label": {
|
|
58
|
-
"type": "
|
|
58
|
+
"type": "any",
|
|
59
59
|
"attribute": "label",
|
|
60
60
|
"mutable": false,
|
|
61
61
|
"complexType": {
|
|
62
|
-
"original": "
|
|
63
|
-
"resolved": "
|
|
62
|
+
"original": "any",
|
|
63
|
+
"resolved": "any",
|
|
64
64
|
"references": {}
|
|
65
65
|
},
|
|
66
66
|
"required": true,
|
|
@@ -3,7 +3,7 @@ import { StyledHost } from "../styled-host/styled-host";
|
|
|
3
3
|
import { Skeleton } from "../skeleton";
|
|
4
4
|
export class JustifiSkeleton {
|
|
5
5
|
render() {
|
|
6
|
-
return (h(StyledHost, { key: '
|
|
6
|
+
return (h(StyledHost, { key: 'c995981caeae785829f1ef75454b2759243e8adb' }, h(Skeleton, { key: '9c63cf385499820bb1acd3503e126363485684f6', component: this.component, height: this.height, width: this.width, className: this.class, styles: this.customStyle })));
|
|
7
7
|
}
|
|
8
8
|
static get is() { return "justifi-skeleton"; }
|
|
9
9
|
static get encapsulation() { return "shadow"; }
|