@justifi/webcomponents 6.0.0-rc.4 → 6.0.0-rc.6
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-y2G49jOh.js} +1 -1
- package/dist/cjs/{Refund-CqWNG8sx.js → Refund-BVZHsa6Z.js} +5 -4
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-CMmPvqtE.js → badge-CcJ9H85-.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +8 -8
- package/dist/cjs/bank-account-form.cjs.entry.js +6 -6
- package/dist/cjs/business-details-core.cjs.entry.js +4 -4
- package/dist/cjs/{business.service-C3BdUPlm.js → business.service-D5IhSyRJ.js} +2 -2
- package/dist/cjs/{button-CfVQSysQ.js → button-DsHDMHaa.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +6 -6
- package/dist/cjs/{check-pkg-version-BNVGE27p.js → check-pkg-version-V7aKSlBk.js} +9 -3
- package/dist/cjs/{checkout.service-B0ZmvWwI.js → checkout.service-4aS641tN.js} +2 -2
- package/dist/cjs/{checkout.store-CV_fuGQw.js → checkout.store-Ctwy9ahZ.js} +5 -2
- package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -10
- 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-B_gpjGhs.js} +2 -2
- 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-64ciJH0r.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 +5 -5
- 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-DE5xUUpt.js} +2 -2
- package/dist/cjs/{get-subaccounts-CwCH5rC8.js → get-subaccounts-CH477rHs.js} +3 -3
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
- 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/{insurance-state-Cyva9u6S.js → insurance-state-d2thhXUX.js} +2 -2
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +6 -6
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +7 -7
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/justifi-apple-pay.cjs.entry.js +781 -0
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +20 -20
- package/dist/cjs/justifi-business-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-business-form.cjs.entry.js +12 -12
- 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 +16 -45
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +13 -13
- 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 +9 -9
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +14 -14
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -8
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -12
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payments-list.cjs.entry.js +13 -13
- package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -14
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +12 -12
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +15 -11
- package/dist/cjs/justifi-skeleton.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +8 -8
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +11 -11
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -13
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-BKILqyp3.js → package-Dg5ELZpu.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +14 -14
- package/dist/cjs/payment-method-option.cjs.entry.js +3 -3
- package/dist/cjs/{payment.service-1H0VC3LV.js → payment.service--kzMop3L.js} +2 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +11 -11
- 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-DFRtk-T9.js} +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +10 -10
- package/dist/cjs/{payout.service-CIZFU-hV.js → payout.service-D3omzNG_.js} +2 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +11 -11
- 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-DE3t0x93.js} +2 -2
- 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 +10 -10
- 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-B1LJitwE.js} +4 -4
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-DUlyMTrX.js → terminal.service-BOvYfpQW.js} +2 -2
- package/dist/cjs/terminals-list-core.cjs.entry.js +10 -10
- package/dist/cjs/terminals-list-params-state-Cewmin_p.js +22 -0
- package/dist/cjs/{terminals-table-C2BNRUS5.js → terminals-table-DYt7exFQ.js} +2 -2
- package/dist/cjs/{utils-Df-pajL7.js → utils-Bzyj4qWe.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +3 -3
- package/dist/collection/api/ApplePay.js +119 -0
- package/dist/collection/api/Payment.js +3 -2
- package/dist/collection/api/services/apple-pay.service.js +293 -0
- 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 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +7 -44
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -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 +153 -118
- package/dist/collection/components/modular-checkout/sub-components/apple-pay-skeleton.js +10 -0
- package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +515 -0
- 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 +864 -0
- package/dist/collection/components/modular-checkout/sub-components/plaid-payment-method.test.js +123 -0
- package/dist/collection/components/modular-checkout/sub-components/saved-payment-methods.js +11 -5
- package/dist/collection/components/modular-checkout/sub-components/sezzle-payment-method.js +3 -2
- 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 +65 -37
- package/dist/collection/store/checkout.store.js +4 -1
- package/dist/collection/ui-components/apple-pay-button.js +146 -0
- 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 +2 -2
- 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-skeleton.js +1 -1
- package/dist/collection/utils/check-pkg-version.js +6 -0
- package/dist/docs.json +964 -235
- package/dist/esm/{Api-N_veT2p6.js → Api-C1I68Tfr.js} +1 -1
- package/dist/esm/{Refund-Di6J0oN2.js → Refund-kKW8S1h6.js} +4 -3
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-D_mzXSCQ.js → badge-DSYSJcRy.js} +2 -2
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +9 -9
- package/dist/esm/bank-account-form.entry.js +7 -7
- package/dist/esm/business-details-core.entry.js +5 -5
- package/dist/esm/{business.service-Bdvhdc_d.js → business.service-B3wlBl1x.js} +2 -2
- package/dist/esm/{button-CeR8qVS3.js → button-CpllL0At.js} +2 -2
- package/dist/esm/card-form.entry.js +7 -7
- package/dist/esm/{check-pkg-version-CaWUVat7.js → check-pkg-version-DFYosyo9.js} +9 -3
- package/dist/esm/{checkout.service-XgGFa7H8.js → checkout.service-KDp7tISm.js} +2 -2
- package/dist/esm/{checkout.store-B60siz2l.js → checkout.store-sQSQqMAD.js} +5 -2
- 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-CFZYoYjn.js → checkouts-table-QOdiLpak.js} +3 -3
- package/dist/esm/{config-state-BrllxiM0.js → config-state-DZeVYerv.js} +1 -1
- package/dist/esm/custom-popper_2.entry.js +4 -4
- package/dist/esm/{dispute.service-CKPcmwhH.js → dispute.service-DEZEPwn-.js} +2 -2
- package/dist/esm/form-alert_5.entry.js +2 -2
- package/dist/esm/form-control-checkbox.entry.js +6 -6
- package/dist/esm/form-control-date.entry.js +5 -5
- package/dist/esm/{form-control-error-text-D3ZwkOv-.js → form-control-error-text-R7U07nTg.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +6 -6
- package/dist/esm/{form-control-help-text-C39ZW65w.js → form-control-help-text-CRLH-2f7.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +4 -4
- package/dist/esm/form-control-monetary.entry.js +6 -6
- package/dist/esm/form-control-number-masked_2.entry.js +5 -5
- package/dist/esm/form-control-number.entry.js +6 -6
- package/dist/esm/form-control-radio.entry.js +4 -4
- package/dist/esm/form-control-select_2.entry.js +7 -7
- package/dist/esm/{get-payment-details-Dt-dr16k.js → get-payment-details-CYASKLT7.js} +2 -2
- package/dist/esm/{get-subaccounts-BsoVLANw.js → get-subaccounts-E0PYy_pc.js} +3 -3
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-E-hEi3wF.js → header-1-3M9If0gM.js} +2 -2
- package/dist/esm/{header-3-Dm7M85kz.js → header-3-CWa41YWq.js} +2 -2
- package/dist/esm/hidden-input_2.entry.js +9 -9
- 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/{insurance-state-CB4l8sOv.js → insurance-state-CTalqbNa.js} +3 -3
- 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 +10 -10
- package/dist/esm/justifi-apple-pay.entry.js +779 -0
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +21 -21
- 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 +2 -2
- package/dist/esm/justifi-checkout-summary_7.entry.js +1414 -0
- package/dist/esm/justifi-checkout.entry.js +17 -46
- 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 +3 -3
- package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +9 -9
- 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 +4 -4
- package/dist/esm/justifi-payment-provisioning.entry.js +8 -8
- 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 +3 -3
- package/dist/esm/justifi-season-interruption-insurance.entry.js +16 -12
- package/dist/esm/justifi-skeleton.entry.js +5 -5
- 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-BF-uL8B4.js → package-uY_jN8Gg.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +2 -2
- package/dist/esm/{parts-CfF8KKwx.js → parts-RvUQ__Pq.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +15 -15
- package/dist/esm/payment-method-option.entry.js +4 -4
- package/dist/esm/{payment.service-BWO84KlP.js → payment.service-uJpJaX2Z.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-XoZrlbiZ.js → payments-status-5orNU2Rd.js} +2 -2
- package/dist/esm/{payments-table-Dh4P9mTb.js → payments-table-B0uyodyJ.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +11 -11
- package/dist/esm/{payout.service-Cld6TS5W.js → payout.service-ClUgtbbb.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-Qm2jZG1-.js → payouts-status-CZPwa2AE.js} +2 -2
- package/dist/esm/{payouts-table-DMVAZp-r.js → payouts-table-CaCSX_0q.js} +3 -3
- package/dist/esm/{skeleton-DrHwsgs_.js → skeleton-qMb0_Cjy.js} +2 -2
- package/dist/esm/{spinner-XBq6mVJW.js → spinner-DUzyWLhj.js} +2 -2
- package/dist/esm/{styled-host-B_XBaM7z.js → styled-host-CTAGIN84.js} +1 -1
- package/dist/esm/{table-qqt2Ew5y.js → table-Br3n9Xu-.js} +3 -3
- package/dist/esm/table-filters-menu.entry.js +4 -4
- 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-BN4Co4T8.js → terminal-orders-table-DPtof5Zb.js} +5 -5
- package/dist/esm/terminal-quantity-selector.entry.js +3 -3
- package/dist/esm/{terminal.service-DmYCUQcA.js → terminal.service-ClNtE3e-.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-C8LczeG_.js → terminals-table-ClkR_jrC.js} +3 -3
- package/dist/esm/{utils-kWaZhFAd.js → utils-Dg6gMUTv.js} +2 -2
- 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 +4 -3
- 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 +2 -2
- package/dist/module/bank-account.js +2 -2
- package/dist/module/business-bank-account-form-step-core.js +1 -1
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-billing-form-simple.js +1 -1
- package/dist/module/card-form.js +2 -2
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout.store.js +4 -1
- 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 +2 -2
- 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/get-payment-details.js +1 -1
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/justifi-apple-pay.d.ts +11 -0
- package/dist/module/justifi-apple-pay.js +817 -0
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-checkout.js +51 -76
- package/dist/module/justifi-checkouts-list-filters.js +2 -2
- package/dist/module/justifi-checkouts-list.js +2 -2
- 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 +2 -2
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +2 -2
- package/dist/module/justifi-payout-details.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +2 -2
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +2 -2
- 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-refund-payment.js +1 -1
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +4 -0
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/module/justifi-terminal-orders-list.js +2 -2
- package/dist/module/justifi-terminals-list-filters.js +2 -2
- package/dist/module/justifi-terminals-list.js +2 -2
- package/dist/module/modular-checkout.js +149 -97
- 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 +693 -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 +1 -1
- package/dist/module/saved-payment-methods.js +11 -5
- package/dist/module/sezzle-payment-method.js +3 -2
- 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 +2 -2
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +1 -1
- package/dist/module/tokenize-payment-method.js +47 -38
- package/dist/types/api/ApplePay.d.ts +196 -0
- package/dist/types/api/Checkout.d.ts +4 -0
- package/dist/types/api/Payment.d.ts +3 -4
- package/dist/types/api/services/apple-pay.service.d.ts +55 -0
- package/dist/types/api/services/plaid.service.d.ts +12 -0
- package/dist/types/components/checkout/checkout.d.ts +1 -7
- package/dist/types/components/modular-checkout/ModularCheckout.d.ts +23 -0
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +6 -3
- package/dist/types/components/modular-checkout/sub-components/apple-pay-skeleton.d.ts +6 -0
- package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +38 -0
- package/dist/types/components/modular-checkout/sub-components/plaid-payment-method.d.ts +80 -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/tokenize-payment-method/tokenize-payment-method.d.ts +7 -5
- package/dist/types/components.d.ts +159 -3
- package/dist/types/store/checkout.store.d.ts +5 -1
- package/dist/types/ui-components/apple-pay-button.d.ts +17 -0
- package/dist/webcomponents/{p-56980ef3.entry.js → p-040e8524.entry.js} +1 -1
- package/dist/webcomponents/{p-DD74a16D.js → p-0mMX1Zv4.js} +1 -1
- package/dist/webcomponents/{p-29b6f15a.entry.js → p-14ff3155.entry.js} +1 -1
- package/dist/webcomponents/{p-904a95e5.entry.js → p-15705e8a.entry.js} +1 -1
- package/dist/webcomponents/p-16f94e08.entry.js +1 -0
- package/dist/webcomponents/p-1c5be37e.entry.js +1 -0
- package/dist/webcomponents/p-255b28fb.entry.js +1 -0
- package/dist/webcomponents/p-26a8b07c.entry.js +1 -0
- package/dist/webcomponents/p-26ce3346.entry.js +1 -0
- package/dist/webcomponents/{p-79055216.entry.js → p-28618e6f.entry.js} +1 -1
- package/dist/webcomponents/{p-518a9519.entry.js → p-2de08ab2.entry.js} +1 -1
- package/dist/webcomponents/p-30c1f265.entry.js +1 -0
- package/dist/webcomponents/p-3aecd2cd.entry.js +1 -0
- package/dist/webcomponents/{p-f4f3cae8.entry.js → p-3bf63d1e.entry.js} +1 -1
- package/dist/webcomponents/p-3c5d92d9.entry.js +1 -0
- package/dist/webcomponents/{p-a0573ecc.entry.js → p-3e025b84.entry.js} +1 -1
- package/dist/webcomponents/{p-413236be.entry.js → p-3e4db664.entry.js} +1 -1
- package/dist/webcomponents/p-3e667b07.entry.js +1 -0
- package/dist/webcomponents/{p-0b790fa4.entry.js → p-4213d10e.entry.js} +4 -4
- package/dist/webcomponents/{p-a8205044.entry.js → p-44450a94.entry.js} +1 -1
- package/dist/webcomponents/p-4723f35b.entry.js +1 -0
- package/dist/webcomponents/{p-d075bd72.entry.js → p-51801ae5.entry.js} +1 -1
- package/dist/webcomponents/p-52098283.entry.js +1 -0
- package/dist/webcomponents/{p-ab308ee3.entry.js → p-54ca3070.entry.js} +1 -1
- package/dist/webcomponents/p-5580e6ca.entry.js +1 -0
- package/dist/webcomponents/p-57dde36e.entry.js +1 -0
- package/dist/webcomponents/p-5bc6f5ca.entry.js +1 -0
- package/dist/webcomponents/p-5f87add5.entry.js +1 -0
- package/dist/webcomponents/{p-f7e62bfa.entry.js → p-60206d9c.entry.js} +1 -1
- package/dist/webcomponents/{p-6e18d13f.entry.js → p-613421d4.entry.js} +1 -1
- package/dist/webcomponents/{p-3d85d046.entry.js → p-6255c685.entry.js} +1 -1
- package/dist/webcomponents/p-7089fb85.entry.js +1 -0
- package/dist/webcomponents/{p-48bccf3b.entry.js → p-70f51444.entry.js} +1 -1
- package/dist/webcomponents/p-72dda22b.entry.js +1 -0
- package/dist/webcomponents/{p-b0bfa20f.entry.js → p-7cf87637.entry.js} +1 -1
- package/dist/webcomponents/p-87884ca5.entry.js +1 -0
- package/dist/webcomponents/p-88905a54.entry.js +1 -0
- package/dist/webcomponents/p-8990707a.entry.js +1 -0
- package/dist/webcomponents/p-8b7cbdbf.entry.js +1 -0
- package/dist/webcomponents/p-8cca8903.entry.js +1 -0
- package/dist/webcomponents/{p-15777cfe.entry.js → p-8ff839a4.entry.js} +1 -1
- package/dist/webcomponents/{p-724b0361.entry.js → p-90a1ba6a.entry.js} +1 -1
- package/dist/webcomponents/{p-57143978.entry.js → p-95cbb655.entry.js} +1 -1
- package/dist/webcomponents/{p-befda39d.entry.js → p-97c0dde4.entry.js} +1 -1
- package/dist/webcomponents/p-9846b23d.entry.js +1 -0
- package/dist/webcomponents/p-98cffba9.entry.js +1 -0
- package/dist/webcomponents/{p-738e0511.entry.js → p-9a2c044f.entry.js} +1 -1
- package/dist/webcomponents/p-9f0b1bea.entry.js +1 -0
- package/dist/webcomponents/p-9f5c9e41.entry.js +1 -0
- package/dist/webcomponents/p-B5Rc83j1.js +1 -0
- package/dist/webcomponents/p-B71k50jz.js +1 -0
- package/dist/webcomponents/p-B8iBcmNu.js +1 -0
- package/dist/webcomponents/p-BEPUC3Po.js +1 -0
- package/dist/webcomponents/p-BP7op0vq.js +1 -0
- package/dist/webcomponents/{p-I8XpD1TX.js → p-BPtcGAzB.js} +1 -1
- package/dist/webcomponents/p-BQ2TIFoY.js +1 -0
- package/dist/webcomponents/{p-BTkXk7ol.js → p-BRLwUSZk.js} +1 -1
- package/dist/webcomponents/p-BSt6p1oq.js +1 -0
- package/dist/webcomponents/p-BY1mRAvj.js +1 -0
- package/dist/webcomponents/{p-YND5pTuF.js → p-Bb-6bNcq.js} +1 -1
- package/dist/webcomponents/p-BbZwa5UI.js +1 -0
- package/dist/webcomponents/p-BfM6X7lF.js +1 -0
- package/dist/webcomponents/{p-kpoIU4v_.js → p-Bn7inNWG.js} +1 -1
- package/dist/webcomponents/{p-DWUnL_zj.js → p-Bu1jU017.js} +1 -1
- package/dist/webcomponents/{p-BeszVz87.js → p-C5id7s_l.js} +1 -1
- package/dist/webcomponents/{p-Bz164TKZ.js → p-CB0mCq1M.js} +1 -1
- package/dist/webcomponents/p-CaAVuW6B.js +1 -0
- package/dist/webcomponents/p-CpaS1Lex.js +1 -0
- package/dist/webcomponents/{p-Bpcb3SsP.js → p-CvG-itHC.js} +1 -1
- package/dist/webcomponents/{p-BySyDTv5.js → p-D2_iJUrZ.js} +1 -1
- package/dist/webcomponents/p-DAED83Ew.js +1 -0
- package/dist/webcomponents/p-DD0Mvpeu.js +1 -0
- package/dist/webcomponents/p-DDUmOl3v.js +1 -0
- package/dist/webcomponents/{p-Dvxpy_P1.js → p-DGmp4ErD.js} +1 -1
- package/dist/webcomponents/p-DIDloHpm.js +1 -0
- package/dist/webcomponents/{p-DO3INvI2.js → p-DNo0OPOP.js} +1 -1
- package/dist/webcomponents/{p-CsNubTqD.js → p-DVBbk00Z.js} +1 -1
- package/dist/webcomponents/{p-Bb6FBEPP.js → p-Dc1CS9Mi.js} +1 -1
- 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-CfF8KKwx.js → p-RvUQ__Pq.js} +1 -1
- package/dist/webcomponents/p-a1d3bb81.entry.js +1 -0
- package/dist/webcomponents/p-a347d1b1.entry.js +1 -0
- package/dist/webcomponents/p-a9957ca5.entry.js +1 -0
- package/dist/webcomponents/{p-463ae23a.entry.js → p-abbf14b5.entry.js} +1 -1
- package/dist/webcomponents/p-abd0e71f.entry.js +1 -0
- package/dist/webcomponents/{p-BbYVgLcf.js → p-b21ncS7l.js} +1 -1
- package/dist/webcomponents/{p-DWOKxG7j.js → p-bjogwLgt.js} +1 -1
- package/dist/webcomponents/p-c2bceb15.entry.js +1 -0
- package/dist/webcomponents/p-c44325f8.entry.js +1 -0
- package/dist/webcomponents/p-c874ca2b.entry.js +1 -0
- package/dist/webcomponents/p-caac63bf.entry.js +1 -0
- package/dist/webcomponents/p-cbc96430.entry.js +1 -0
- package/dist/webcomponents/{p-5e10aa65.entry.js → p-d46dbb83.entry.js} +1 -1
- package/dist/webcomponents/p-d72e8541.entry.js +1 -0
- package/dist/webcomponents/{p-14d66df2.entry.js → p-dc1efbab.entry.js} +1 -1
- package/dist/webcomponents/p-eP3fmhta.js +1 -0
- package/dist/webcomponents/{p-9c5b0b94.entry.js → p-ecd9f0e9.entry.js} +1 -1
- package/dist/webcomponents/p-f13ae573.entry.js +1 -0
- package/dist/webcomponents/{p-c5b48e8d.entry.js → p-f1cba43c.entry.js} +1 -1
- package/dist/webcomponents/p-f4c4c248.entry.js +1 -0
- package/dist/webcomponents/p-f680e617.entry.js +1 -0
- package/dist/webcomponents/{p-98579723.entry.js → p-fb228106.entry.js} +1 -1
- package/dist/webcomponents/{p-f4645aef.entry.js → p-fd4ffaa2.entry.js} +1 -1
- package/dist/webcomponents/{p-BisQ61nK.js → p-qWQmu-fb.js} +1 -1
- package/dist/webcomponents/p-sw5RO19U.js +1 -0
- package/dist/webcomponents/p-uY_jN8Gg.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/justifi-checkout-summary_6.cjs.entry.js +0 -698
- package/dist/cjs/terminals-list-params-state-BNbT1fuJ.js +0 -22
- package/dist/esm/justifi-checkout-summary_6.entry.js +0 -691
- package/dist/esm/terminals-list-params-state-SMXQIZTt.js +0 -16
- package/dist/webcomponents/p-0cab7d5d.entry.js +0 -1
- package/dist/webcomponents/p-0e287092.entry.js +0 -1
- package/dist/webcomponents/p-145bb9c4.entry.js +0 -1
- package/dist/webcomponents/p-1975406a.entry.js +0 -1
- package/dist/webcomponents/p-1ffbf771.entry.js +0 -1
- package/dist/webcomponents/p-2a59547b.entry.js +0 -1
- package/dist/webcomponents/p-2da63719.entry.js +0 -1
- package/dist/webcomponents/p-35bbfbf8.entry.js +0 -1
- package/dist/webcomponents/p-43d693a3.entry.js +0 -1
- package/dist/webcomponents/p-4ae2a0b9.entry.js +0 -1
- package/dist/webcomponents/p-4b795b77.entry.js +0 -1
- package/dist/webcomponents/p-53c81d62.entry.js +0 -1
- package/dist/webcomponents/p-5477c449.entry.js +0 -1
- package/dist/webcomponents/p-5rVtZ2GJ.js +0 -1
- package/dist/webcomponents/p-614fcef6.entry.js +0 -1
- package/dist/webcomponents/p-70ff3b10.entry.js +0 -1
- package/dist/webcomponents/p-739d6f13.entry.js +0 -1
- package/dist/webcomponents/p-7WIgS5RM.js +0 -1
- package/dist/webcomponents/p-7b9008f1.entry.js +0 -1
- package/dist/webcomponents/p-84ce3bae.entry.js +0 -1
- package/dist/webcomponents/p-8a5e168d.entry.js +0 -1
- package/dist/webcomponents/p-8f31a0c5.entry.js +0 -1
- package/dist/webcomponents/p-9ccd19f5.entry.js +0 -1
- package/dist/webcomponents/p-9f289c31.entry.js +0 -1
- package/dist/webcomponents/p-BC8YDY7M.js +0 -1
- package/dist/webcomponents/p-BF-uL8B4.js +0 -1
- package/dist/webcomponents/p-BVD7g3cE.js +0 -1
- package/dist/webcomponents/p-Bt388eye.js +0 -1
- package/dist/webcomponents/p-C1fMfnu0.js +0 -1
- package/dist/webcomponents/p-CCME-fyU.js +0 -1
- package/dist/webcomponents/p-CLwzqWk2.js +0 -1
- package/dist/webcomponents/p-CVQyw7ao.js +0 -1
- package/dist/webcomponents/p-C_CXv7AN.js +0 -1
- package/dist/webcomponents/p-CwZKT93w.js +0 -1
- package/dist/webcomponents/p-D599ZMGU.js +0 -1
- package/dist/webcomponents/p-DaDsBt65.js +0 -1
- package/dist/webcomponents/p-JgbsbAhz.js +0 -1
- package/dist/webcomponents/p-UD2JhYS2.js +0 -1
- package/dist/webcomponents/p-WEguiGt1.js +0 -1
- package/dist/webcomponents/p-a33ea645.entry.js +0 -1
- package/dist/webcomponents/p-b93377a7.entry.js +0 -1
- package/dist/webcomponents/p-ba018d57.entry.js +0 -1
- package/dist/webcomponents/p-bafe873d.entry.js +0 -1
- package/dist/webcomponents/p-be06d86a.entry.js +0 -1
- package/dist/webcomponents/p-c5dabaf4.entry.js +0 -1
- package/dist/webcomponents/p-cea8e40e.entry.js +0 -1
- package/dist/webcomponents/p-d7720819.entry.js +0 -1
- package/dist/webcomponents/p-df4f2af9.entry.js +0 -1
- package/dist/webcomponents/p-e1ba5735.entry.js +0 -1
- package/dist/webcomponents/p-e2267656.entry.js +0 -1
- package/dist/webcomponents/p-e4e30e84.entry.js +0 -1
- package/dist/webcomponents/p-e81c5d79.entry.js +0 -1
- package/dist/webcomponents/p-f200cbda.entry.js +0 -1
- package/dist/webcomponents/p-f7345d66.entry.js +0 -1
- package/dist/webcomponents/p-fd39af50.entry.js +0 -1
- package/dist/webcomponents/p-pska2q1M.js +0 -1
- package/dist/webcomponents/p-qMrd7_Gp.js +0 -1
- package/dist/webcomponents/p-vRhNRfmB.js +0 -1
- package/dist/webcomponents/p-zrUQD0Wr.js +0 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { Skeleton } from "../../../ui-components";
|
|
3
|
+
const ApplePaySkeleton = (props) => {
|
|
4
|
+
const { isReady } = props;
|
|
5
|
+
if (isReady) {
|
|
6
|
+
return null;
|
|
7
|
+
}
|
|
8
|
+
return (h("div", { class: 'container-fluid p-0' }, h("div", { class: 'row mb-3' }, h("div", { class: 'col-12 align-content-center' }, h(Skeleton, { height: '44px', width: '100%', styles: { borderRadius: "8px" } })))));
|
|
9
|
+
};
|
|
10
|
+
export default ApplePaySkeleton;
|
|
@@ -0,0 +1,515 @@
|
|
|
1
|
+
import { h, } from "@stencil/core";
|
|
2
|
+
import { ApplePayService } from "../../../api/services/apple-pay.service";
|
|
3
|
+
import { ApplePayButtonType, ApplePayButtonStyle, ApplePayHelpers, } from "../../../api/ApplePay";
|
|
4
|
+
import { StyledHost } from "../../../ui-components";
|
|
5
|
+
import ApplePaySkeleton from "./apple-pay-skeleton";
|
|
6
|
+
import { ApplePayButton } from "../../../ui-components/apple-pay-button";
|
|
7
|
+
import { checkoutStore, onChange } from "../../../store/checkout.store";
|
|
8
|
+
export class ApplePay {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.countryCode = "US";
|
|
11
|
+
this.merchantIdentifier = "merchant.com.staging-justifi.checkout-dev";
|
|
12
|
+
this.merchantDisplayName = "JustiFi Checkout";
|
|
13
|
+
this.initiativeContext = "dev-checkout.justifi-staging.com";
|
|
14
|
+
this.buttonType = ApplePayButtonType.PLAIN;
|
|
15
|
+
this.buttonStyle = ApplePayButtonStyle.BLACK;
|
|
16
|
+
this.disabled = false;
|
|
17
|
+
this.showSkeleton = true;
|
|
18
|
+
this.isLoading = true;
|
|
19
|
+
this.isProcessing = false;
|
|
20
|
+
this.isAvailable = false;
|
|
21
|
+
this.canMakePayments = false;
|
|
22
|
+
this.error = null;
|
|
23
|
+
this.handleApplePayClick = async () => {
|
|
24
|
+
var _a;
|
|
25
|
+
if (this.isProcessing || this.disabled || !this.isAvailable) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
try {
|
|
29
|
+
this.isProcessing = true;
|
|
30
|
+
this.error = null;
|
|
31
|
+
this.applePayStarted.emit();
|
|
32
|
+
const paymentRequest = {
|
|
33
|
+
countryCode: this.countryCode,
|
|
34
|
+
currencyCode: checkoutStore.paymentCurrency,
|
|
35
|
+
merchantCapabilities: ApplePayHelpers.getDefaultMerchantCapabilities(),
|
|
36
|
+
supportedNetworks: ApplePayHelpers.getDefaultSupportedNetworks(),
|
|
37
|
+
total: ApplePayHelpers.createLineItem(checkoutStore.paymentDescription, checkoutStore.paymentAmount),
|
|
38
|
+
};
|
|
39
|
+
const result = await this.applePayService.startPaymentSession(paymentRequest, checkoutStore.authToken, checkoutStore.accountId);
|
|
40
|
+
if (result.success) {
|
|
41
|
+
this.applePayCompleted.emit({
|
|
42
|
+
success: true,
|
|
43
|
+
token: result.token,
|
|
44
|
+
paymentMethodId: result.paymentMethodId,
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
this.applePayCompleted.emit({
|
|
49
|
+
success: false,
|
|
50
|
+
error: result.error,
|
|
51
|
+
});
|
|
52
|
+
this.applePayError.emit({
|
|
53
|
+
error: ((_a = result.error) === null || _a === void 0 ? void 0 : _a.message) || "Payment failed",
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
catch (error) {
|
|
58
|
+
console.error("Apple Pay payment error:", error);
|
|
59
|
+
const errorMessage = error instanceof Error ? error.message : "Payment failed";
|
|
60
|
+
this.error = errorMessage;
|
|
61
|
+
this.applePayError.emit({ error: errorMessage });
|
|
62
|
+
this.applePayCompleted.emit({
|
|
63
|
+
success: false,
|
|
64
|
+
error: errorMessage,
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
finally {
|
|
68
|
+
this.isProcessing = false;
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
componentWillLoad() {
|
|
73
|
+
this.applePayService = new ApplePayService();
|
|
74
|
+
this.initializeApplePay();
|
|
75
|
+
}
|
|
76
|
+
componentDidLoad() {
|
|
77
|
+
onChange("paymentAmount", () => {
|
|
78
|
+
this.initializeApplePay();
|
|
79
|
+
});
|
|
80
|
+
onChange("authToken", () => {
|
|
81
|
+
this.initializeApplePay();
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
watchPropsChange() {
|
|
85
|
+
this.initializeApplePay();
|
|
86
|
+
}
|
|
87
|
+
async initializeApplePay() {
|
|
88
|
+
try {
|
|
89
|
+
this.isLoading = true;
|
|
90
|
+
this.error = null;
|
|
91
|
+
if (!checkoutStore.paymentAmount) {
|
|
92
|
+
this.error = "Missing required Apple Pay configuration";
|
|
93
|
+
this.isLoading = false;
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
this.isAvailable = ApplePayHelpers.isApplePaySupported();
|
|
97
|
+
this.canMakePayments = ApplePayHelpers.canMakePayments();
|
|
98
|
+
if (!this.isAvailable) {
|
|
99
|
+
this.error = "Apple Pay is not supported on this device";
|
|
100
|
+
this.isLoading = false;
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
if (!this.canMakePayments) {
|
|
104
|
+
this.error = "Apple Pay is not available";
|
|
105
|
+
this.isLoading = false;
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
const applePayConfig = {
|
|
109
|
+
merchantIdentifier: this.merchantIdentifier,
|
|
110
|
+
displayName: this.merchantDisplayName,
|
|
111
|
+
initiative: "web",
|
|
112
|
+
initiativeContext: this.initiativeContext,
|
|
113
|
+
buttonType: this.buttonType,
|
|
114
|
+
buttonStyle: this.buttonStyle,
|
|
115
|
+
};
|
|
116
|
+
this.applePayService.initialize(applePayConfig);
|
|
117
|
+
const hasActiveCard = await this.applePayService.canMakePaymentsWithActiveCard();
|
|
118
|
+
if (!hasActiveCard) {
|
|
119
|
+
console.warn("No Apple Pay cards available, but continuing...");
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
catch (error) {
|
|
123
|
+
console.error("Apple Pay initialization error:", error);
|
|
124
|
+
this.error =
|
|
125
|
+
error instanceof Error
|
|
126
|
+
? error.message
|
|
127
|
+
: "Failed to initialize Apple Pay";
|
|
128
|
+
}
|
|
129
|
+
finally {
|
|
130
|
+
this.isLoading = false;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
async isSupported() {
|
|
134
|
+
return this.isAvailable && this.canMakePayments;
|
|
135
|
+
}
|
|
136
|
+
async getPaymentMethods() {
|
|
137
|
+
if (!this.isAvailable) {
|
|
138
|
+
return [];
|
|
139
|
+
}
|
|
140
|
+
return ApplePayHelpers.getDefaultSupportedNetworks();
|
|
141
|
+
}
|
|
142
|
+
async abort() {
|
|
143
|
+
this.applePayService.abortPaymentSession();
|
|
144
|
+
this.isProcessing = false;
|
|
145
|
+
this.applePayCancelled.emit();
|
|
146
|
+
}
|
|
147
|
+
render() {
|
|
148
|
+
const isReady = !this.isLoading &&
|
|
149
|
+
this.isAvailable &&
|
|
150
|
+
this.canMakePayments &&
|
|
151
|
+
!this.error;
|
|
152
|
+
return (h(StyledHost, { key: 'd07bd5b228a761fe021830823b410805b44c6829' }, h("script", { key: '59ca72df49c6210c3122df6328e3b9798ff3440f', async: true, src: 'https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js' }), h("div", { key: '69010db6e3e59ffb1ad9d7cc5af0680934c61207', class: 'apple-pay-container' }, h(ApplePaySkeleton, { key: 'f25d2ae58d6730c9dbf9a02ac14cf5800e3ca6ed', isReady: isReady }), !this.isLoading && this.error && (h("div", { key: '0460b10f967df69f04984c17b6b1641db3dfd582', class: 'apple-pay-error', role: 'alert' }, h("span", { key: 'a194317367175498c098c522cc2ee77ae0848e25', class: 'error-icon' }, "\u26A0\uFE0F"), h("span", { key: '8eb5cb96fb00f2deb9b76796d09979d488f5d922', class: 'error-message' }, this.error))), !this.isLoading && !this.error && !this.isAvailable && (h("div", { key: '97fd0863a893a98b01b9886dc94a088cb87419e4', class: 'apple-pay-unavailable' }, h("span", { key: 'fde1d32be78fc35024bea1c4f81b02a9d792b41e', class: 'unavailable-message' }, "Apple Pay is not available on this device"))), !this.isLoading &&
|
|
153
|
+
!this.error &&
|
|
154
|
+
this.isAvailable &&
|
|
155
|
+
this.canMakePayments && (h(ApplePayButton, { key: '1e445d7b72f378f7bac6f62e069a526f1d9ae9ba', buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick }))), h("style", { key: 'd552fd4b0726a63ed9a242b3b2204dc6339ef590' }, `
|
|
156
|
+
.apple-pay-container {
|
|
157
|
+
width: 100%;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.apple-pay-error {
|
|
161
|
+
display: flex;
|
|
162
|
+
align-items: center;
|
|
163
|
+
gap: 8px;
|
|
164
|
+
padding: 12px;
|
|
165
|
+
background: #fef2f2;
|
|
166
|
+
border: 1px solid #fecaca;
|
|
167
|
+
border-radius: 8px;
|
|
168
|
+
color: #dc2626;
|
|
169
|
+
font-size: 14px;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.apple-pay-unavailable {
|
|
173
|
+
display: flex;
|
|
174
|
+
align-items: center;
|
|
175
|
+
justify-content: center;
|
|
176
|
+
padding: 12px;
|
|
177
|
+
background: #f9fafb;
|
|
178
|
+
border: 1px solid #e5e7eb;
|
|
179
|
+
border-radius: 8px;
|
|
180
|
+
color: #6b7280;
|
|
181
|
+
font-size: 14px;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.error-icon {
|
|
185
|
+
font-size: 16px;
|
|
186
|
+
}
|
|
187
|
+
`)));
|
|
188
|
+
}
|
|
189
|
+
static get is() { return "justifi-apple-pay"; }
|
|
190
|
+
static get encapsulation() { return "shadow"; }
|
|
191
|
+
static get properties() {
|
|
192
|
+
return {
|
|
193
|
+
"countryCode": {
|
|
194
|
+
"type": "string",
|
|
195
|
+
"attribute": "country-code",
|
|
196
|
+
"mutable": false,
|
|
197
|
+
"complexType": {
|
|
198
|
+
"original": "string",
|
|
199
|
+
"resolved": "string",
|
|
200
|
+
"references": {}
|
|
201
|
+
},
|
|
202
|
+
"required": false,
|
|
203
|
+
"optional": false,
|
|
204
|
+
"docs": {
|
|
205
|
+
"tags": [],
|
|
206
|
+
"text": ""
|
|
207
|
+
},
|
|
208
|
+
"getter": false,
|
|
209
|
+
"setter": false,
|
|
210
|
+
"reflect": false,
|
|
211
|
+
"defaultValue": "\"US\""
|
|
212
|
+
},
|
|
213
|
+
"merchantIdentifier": {
|
|
214
|
+
"type": "string",
|
|
215
|
+
"attribute": "merchant-identifier",
|
|
216
|
+
"mutable": false,
|
|
217
|
+
"complexType": {
|
|
218
|
+
"original": "string",
|
|
219
|
+
"resolved": "string",
|
|
220
|
+
"references": {}
|
|
221
|
+
},
|
|
222
|
+
"required": false,
|
|
223
|
+
"optional": false,
|
|
224
|
+
"docs": {
|
|
225
|
+
"tags": [],
|
|
226
|
+
"text": ""
|
|
227
|
+
},
|
|
228
|
+
"getter": false,
|
|
229
|
+
"setter": false,
|
|
230
|
+
"reflect": false,
|
|
231
|
+
"defaultValue": "\"merchant.com.staging-justifi.checkout-dev\""
|
|
232
|
+
},
|
|
233
|
+
"merchantDisplayName": {
|
|
234
|
+
"type": "string",
|
|
235
|
+
"attribute": "merchant-display-name",
|
|
236
|
+
"mutable": false,
|
|
237
|
+
"complexType": {
|
|
238
|
+
"original": "string",
|
|
239
|
+
"resolved": "string",
|
|
240
|
+
"references": {}
|
|
241
|
+
},
|
|
242
|
+
"required": false,
|
|
243
|
+
"optional": false,
|
|
244
|
+
"docs": {
|
|
245
|
+
"tags": [],
|
|
246
|
+
"text": ""
|
|
247
|
+
},
|
|
248
|
+
"getter": false,
|
|
249
|
+
"setter": false,
|
|
250
|
+
"reflect": false,
|
|
251
|
+
"defaultValue": "\"JustiFi Checkout\""
|
|
252
|
+
},
|
|
253
|
+
"initiativeContext": {
|
|
254
|
+
"type": "string",
|
|
255
|
+
"attribute": "initiative-context",
|
|
256
|
+
"mutable": false,
|
|
257
|
+
"complexType": {
|
|
258
|
+
"original": "string",
|
|
259
|
+
"resolved": "string",
|
|
260
|
+
"references": {}
|
|
261
|
+
},
|
|
262
|
+
"required": false,
|
|
263
|
+
"optional": false,
|
|
264
|
+
"docs": {
|
|
265
|
+
"tags": [],
|
|
266
|
+
"text": ""
|
|
267
|
+
},
|
|
268
|
+
"getter": false,
|
|
269
|
+
"setter": false,
|
|
270
|
+
"reflect": false,
|
|
271
|
+
"defaultValue": "\"dev-checkout.justifi-staging.com\""
|
|
272
|
+
},
|
|
273
|
+
"buttonType": {
|
|
274
|
+
"type": "string",
|
|
275
|
+
"attribute": "button-type",
|
|
276
|
+
"mutable": false,
|
|
277
|
+
"complexType": {
|
|
278
|
+
"original": "ApplePayButtonType",
|
|
279
|
+
"resolved": "ApplePayButtonType.BOOK | ApplePayButtonType.BUY | ApplePayButtonType.CHECK_OUT | ApplePayButtonType.DONATE | ApplePayButtonType.PLAIN | ApplePayButtonType.SET_UP | ApplePayButtonType.SUBSCRIBE",
|
|
280
|
+
"references": {
|
|
281
|
+
"ApplePayButtonType": {
|
|
282
|
+
"location": "import",
|
|
283
|
+
"path": "../../../api/ApplePay",
|
|
284
|
+
"id": "src/api/ApplePay.ts::ApplePayButtonType"
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
"required": false,
|
|
289
|
+
"optional": false,
|
|
290
|
+
"docs": {
|
|
291
|
+
"tags": [],
|
|
292
|
+
"text": ""
|
|
293
|
+
},
|
|
294
|
+
"getter": false,
|
|
295
|
+
"setter": false,
|
|
296
|
+
"reflect": false,
|
|
297
|
+
"defaultValue": "ApplePayButtonType.PLAIN"
|
|
298
|
+
},
|
|
299
|
+
"buttonStyle": {
|
|
300
|
+
"type": "string",
|
|
301
|
+
"attribute": "button-style",
|
|
302
|
+
"mutable": false,
|
|
303
|
+
"complexType": {
|
|
304
|
+
"original": "ApplePayButtonStyle",
|
|
305
|
+
"resolved": "ApplePayButtonStyle.BLACK | ApplePayButtonStyle.WHITE | ApplePayButtonStyle.WHITE_OUTLINE",
|
|
306
|
+
"references": {
|
|
307
|
+
"ApplePayButtonStyle": {
|
|
308
|
+
"location": "import",
|
|
309
|
+
"path": "../../../api/ApplePay",
|
|
310
|
+
"id": "src/api/ApplePay.ts::ApplePayButtonStyle"
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"required": false,
|
|
315
|
+
"optional": false,
|
|
316
|
+
"docs": {
|
|
317
|
+
"tags": [],
|
|
318
|
+
"text": ""
|
|
319
|
+
},
|
|
320
|
+
"getter": false,
|
|
321
|
+
"setter": false,
|
|
322
|
+
"reflect": false,
|
|
323
|
+
"defaultValue": "ApplePayButtonStyle.BLACK"
|
|
324
|
+
},
|
|
325
|
+
"disabled": {
|
|
326
|
+
"type": "boolean",
|
|
327
|
+
"attribute": "disabled",
|
|
328
|
+
"mutable": false,
|
|
329
|
+
"complexType": {
|
|
330
|
+
"original": "boolean",
|
|
331
|
+
"resolved": "boolean",
|
|
332
|
+
"references": {}
|
|
333
|
+
},
|
|
334
|
+
"required": false,
|
|
335
|
+
"optional": false,
|
|
336
|
+
"docs": {
|
|
337
|
+
"tags": [],
|
|
338
|
+
"text": ""
|
|
339
|
+
},
|
|
340
|
+
"getter": false,
|
|
341
|
+
"setter": false,
|
|
342
|
+
"reflect": false,
|
|
343
|
+
"defaultValue": "false"
|
|
344
|
+
},
|
|
345
|
+
"showSkeleton": {
|
|
346
|
+
"type": "boolean",
|
|
347
|
+
"attribute": "show-skeleton",
|
|
348
|
+
"mutable": false,
|
|
349
|
+
"complexType": {
|
|
350
|
+
"original": "boolean",
|
|
351
|
+
"resolved": "boolean",
|
|
352
|
+
"references": {}
|
|
353
|
+
},
|
|
354
|
+
"required": false,
|
|
355
|
+
"optional": false,
|
|
356
|
+
"docs": {
|
|
357
|
+
"tags": [],
|
|
358
|
+
"text": ""
|
|
359
|
+
},
|
|
360
|
+
"getter": false,
|
|
361
|
+
"setter": false,
|
|
362
|
+
"reflect": false,
|
|
363
|
+
"defaultValue": "true"
|
|
364
|
+
}
|
|
365
|
+
};
|
|
366
|
+
}
|
|
367
|
+
static get states() {
|
|
368
|
+
return {
|
|
369
|
+
"isLoading": {},
|
|
370
|
+
"isProcessing": {},
|
|
371
|
+
"isAvailable": {},
|
|
372
|
+
"canMakePayments": {},
|
|
373
|
+
"error": {}
|
|
374
|
+
};
|
|
375
|
+
}
|
|
376
|
+
static get events() {
|
|
377
|
+
return [{
|
|
378
|
+
"method": "applePayStarted",
|
|
379
|
+
"name": "applePayStarted",
|
|
380
|
+
"bubbles": true,
|
|
381
|
+
"cancelable": true,
|
|
382
|
+
"composed": true,
|
|
383
|
+
"docs": {
|
|
384
|
+
"tags": [],
|
|
385
|
+
"text": ""
|
|
386
|
+
},
|
|
387
|
+
"complexType": {
|
|
388
|
+
"original": "void",
|
|
389
|
+
"resolved": "void",
|
|
390
|
+
"references": {}
|
|
391
|
+
}
|
|
392
|
+
}, {
|
|
393
|
+
"method": "applePayCompleted",
|
|
394
|
+
"name": "applePayCompleted",
|
|
395
|
+
"bubbles": true,
|
|
396
|
+
"cancelable": true,
|
|
397
|
+
"composed": true,
|
|
398
|
+
"docs": {
|
|
399
|
+
"tags": [],
|
|
400
|
+
"text": ""
|
|
401
|
+
},
|
|
402
|
+
"complexType": {
|
|
403
|
+
"original": "{\n success: boolean;\n token?: IApplePayToken;\n paymentMethodId?: string;\n error?: any;\n }",
|
|
404
|
+
"resolved": "{ success: boolean; token?: IApplePayToken; paymentMethodId?: string; error?: any; }",
|
|
405
|
+
"references": {
|
|
406
|
+
"IApplePayToken": {
|
|
407
|
+
"location": "import",
|
|
408
|
+
"path": "../../../api/ApplePay",
|
|
409
|
+
"id": "src/api/ApplePay.ts::IApplePayToken"
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
}, {
|
|
414
|
+
"method": "applePayCancelled",
|
|
415
|
+
"name": "applePayCancelled",
|
|
416
|
+
"bubbles": true,
|
|
417
|
+
"cancelable": true,
|
|
418
|
+
"composed": true,
|
|
419
|
+
"docs": {
|
|
420
|
+
"tags": [],
|
|
421
|
+
"text": ""
|
|
422
|
+
},
|
|
423
|
+
"complexType": {
|
|
424
|
+
"original": "void",
|
|
425
|
+
"resolved": "void",
|
|
426
|
+
"references": {}
|
|
427
|
+
}
|
|
428
|
+
}, {
|
|
429
|
+
"method": "applePayError",
|
|
430
|
+
"name": "applePayError",
|
|
431
|
+
"bubbles": true,
|
|
432
|
+
"cancelable": true,
|
|
433
|
+
"composed": true,
|
|
434
|
+
"docs": {
|
|
435
|
+
"tags": [],
|
|
436
|
+
"text": ""
|
|
437
|
+
},
|
|
438
|
+
"complexType": {
|
|
439
|
+
"original": "{ error: string }",
|
|
440
|
+
"resolved": "{ error: string; }",
|
|
441
|
+
"references": {}
|
|
442
|
+
}
|
|
443
|
+
}];
|
|
444
|
+
}
|
|
445
|
+
static get methods() {
|
|
446
|
+
return {
|
|
447
|
+
"isSupported": {
|
|
448
|
+
"complexType": {
|
|
449
|
+
"signature": "() => Promise<boolean>",
|
|
450
|
+
"parameters": [],
|
|
451
|
+
"references": {
|
|
452
|
+
"Promise": {
|
|
453
|
+
"location": "global",
|
|
454
|
+
"id": "global::Promise"
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
"return": "Promise<boolean>"
|
|
458
|
+
},
|
|
459
|
+
"docs": {
|
|
460
|
+
"text": "",
|
|
461
|
+
"tags": []
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
"getPaymentMethods": {
|
|
465
|
+
"complexType": {
|
|
466
|
+
"signature": "() => Promise<string[]>",
|
|
467
|
+
"parameters": [],
|
|
468
|
+
"references": {
|
|
469
|
+
"Promise": {
|
|
470
|
+
"location": "global",
|
|
471
|
+
"id": "global::Promise"
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
"return": "Promise<string[]>"
|
|
475
|
+
},
|
|
476
|
+
"docs": {
|
|
477
|
+
"text": "",
|
|
478
|
+
"tags": []
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
"abort": {
|
|
482
|
+
"complexType": {
|
|
483
|
+
"signature": "() => Promise<void>",
|
|
484
|
+
"parameters": [],
|
|
485
|
+
"references": {
|
|
486
|
+
"Promise": {
|
|
487
|
+
"location": "global",
|
|
488
|
+
"id": "global::Promise"
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
"return": "Promise<void>"
|
|
492
|
+
},
|
|
493
|
+
"docs": {
|
|
494
|
+
"text": "",
|
|
495
|
+
"tags": []
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
};
|
|
499
|
+
}
|
|
500
|
+
static get watchers() {
|
|
501
|
+
return [{
|
|
502
|
+
"propName": "merchantIdentifier",
|
|
503
|
+
"methodName": "watchPropsChange"
|
|
504
|
+
}, {
|
|
505
|
+
"propName": "buttonType",
|
|
506
|
+
"methodName": "watchPropsChange"
|
|
507
|
+
}, {
|
|
508
|
+
"propName": "buttonStyle",
|
|
509
|
+
"methodName": "watchPropsChange"
|
|
510
|
+
}, {
|
|
511
|
+
"propName": "disabled",
|
|
512
|
+
"methodName": "watchPropsChange"
|
|
513
|
+
}];
|
|
514
|
+
}
|
|
515
|
+
}
|
|
@@ -32,7 +32,7 @@ export class BankAccountBillingFormSimple {
|
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
34
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
35
|
-
return (h(StyledHost, { key: '
|
|
35
|
+
return (h(StyledHost, { key: '81a8511265b4813817b4cf183aa176b464645e85' }, h("div", { key: '7dddd3ec7822077268c73da7d0f34a691ddde1cb', part: billingForm, class: "mt-4" }, h("form", { key: '1c9000a4b022209129cf511d79a77cf3dc44b77e' }, h("fieldset", { key: '134c349c5745197b5ebb79b31748bf480e1cab7a' }, this.legend && (h("legend", { key: 'fb8e12086fd6fb51f7456d8fc6e82a9184514d4f' }, this.legend)), h("div", { key: 'a49ae2d182e442efbe44aae7c2e0a4e40dabe7d7', class: "row gy-3" }, h("div", { key: '2be4b2aab266d0fc17f32237693dea8578c7545d', class: "col-12" }, h("form-control-text", { key: '92d1b3b05ba04212e46feecfd886f7dcc912e4fe', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler }))))))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "justifi-bank-account-billing-form-simple"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
|
@@ -40,10 +40,10 @@ export class BankAccountForm {
|
|
|
40
40
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h(StyledHost, { key: '
|
|
43
|
+
return (h(StyledHost, { key: 'f7b088f8dd8a977f3843183fb444f28862644fb3' }, h(BankAccountFormSkeleton, { key: '63179b2a1616ac98e9647bc8a6cf8f32cf159c24', isReady: this.isReady }), h("hidden-input", { key: 'bc2427c6ae7ca231f444cac83789682c5b7f252b' }), h("div", { key: 'd7b8ad011f441f35130a8836d5a9998aeed5ef6f', class: "container-fluid p-0", style: {
|
|
44
44
|
opacity: this.isReady ? '1' : '0',
|
|
45
45
|
height: this.isReady ? 'auto' : '0',
|
|
46
|
-
} }, h("div", { key: '
|
|
46
|
+
} }, h("div", { key: '87c14b39416411432109fa477a45905824986a5d', class: "row mb-3" }, h("iframe-input", { key: 'aa63db40e7dcff302c804b6f772a8903ac53a588', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '683ff288ff835321c364b4af64524dbf183da030', class: "row" }, h("iframe-input", { key: '46653b74876dfc02916b7d2842ab793b8658e8b2', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "justifi-bank-account-form"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js
CHANGED
|
@@ -33,7 +33,7 @@ export class CardBillingFormSimple {
|
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
35
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
36
|
-
return (h(StyledHost, { key: '
|
|
36
|
+
return (h(StyledHost, { key: 'a88ea2aa0b1cc2fccda7c169aad9c061e106ecfe' }, h("div", { key: '414df056d92819bf646886ca8e15f2ed10e6ab18', part: billingForm }, h("form", { key: 'c11f6eb5c7c5c1ecbeb8cc8f644a3b3ba72254c7' }, h("fieldset", { key: 'dd69c65ff7f36da3954c01ca2401e8ede6799f14' }, this.legend && (h("legend", { key: '25a86a61452b84237cc58c047916de22c35b764d' }, this.legend)), h("div", { key: '2fa8445fcf4ac0500f357d92480f18ccac655689', class: "row gy-3" }, h("div", { key: 'b7ac75fcab43435a03ad919757541f74661ce5b4', class: "col-12" }, h("form-control-text", { key: 'fd9e84c9605edf1a987c7243409eb0182f79a803', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))))))));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "justifi-card-billing-form-simple"; }
|
|
39
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -44,10 +44,10 @@ export class JustifiCardForm {
|
|
|
44
44
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h(StyledHost, { key: '
|
|
47
|
+
return (h(StyledHost, { key: '75938c15dce1b5b078773f28c689c8f7d4ad5059' }, h(CardFormSkeleton, { key: 'fa27e1cb7262b012e69c6c88580bfa432edb13f0', isReady: this.isReady }), h("hidden-input", { key: '305afc644870ea4c5e11ade42e6f8b5504b0a299' }), h("div", { key: 'fc87adbea2130fd4334f2f7a8dbc666ad9b84f76', class: "container-fluid p-0", style: {
|
|
48
48
|
opacity: this.isReady ? '1' : '0',
|
|
49
49
|
height: this.isReady ? 'auto' : '0',
|
|
50
|
-
} }, h("div", { key: '
|
|
50
|
+
} }, h("div", { key: 'b426b711813d401e181c833c06f440adc2998f4a', class: "mb-3" }, h("iframe-input", { key: '1c81cac902a472ffe841340de40c8aa80688d908', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '370fb4bd7951ea6948b57923141842da07575bd3', class: "row" }, h("div", { key: '7912c07831d685c0f30d103537933c4ec0e41726', class: "col-4 align-content-end" }, h("iframe-input", { key: 'a892fead0333523eecd1a6e02fb6cd3807e1b0ad', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '699f614dcada9748525afe53cd461a5dd4f96847', class: "col-4 align-content-end" }, h("iframe-input", { key: '0c65a7fbb4bf1fa35fc645de62723f8d130217de', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'b25d6322892f5a3313db2592193552f34e364103', class: "col-4 align-content-end" }, h("iframe-input", { key: '279646b3bfa68f8e03d0118e2de86668471f5821', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "justifi-card-form"; }
|
|
53
53
|
static get encapsulation() { return "shadow"; }
|
|
@@ -3,7 +3,7 @@ import { radioListItem } from "../../../styles/parts";
|
|
|
3
3
|
import { StyledHost } from "../../../ui-components";
|
|
4
4
|
export class PaymentMethodOption {
|
|
5
5
|
render() {
|
|
6
|
-
return (h(StyledHost, { key: '
|
|
6
|
+
return (h(StyledHost, { key: '2348e1f435417c0d5379133d3a648760637cbf41', class: "payment-method" }, h("div", { key: '7fbc5c47891a86bead7e62b8df3fad972b91b3f0', class: "radio-list-item p-3", part: radioListItem, onClick: this.clickHandler, hidden: this.radioButtonHidden }, h("form-control-radio", { key: 'de7b2236e04dc2b8a0dc7e0434c4de66f612366a', name: "paymentMethodType", value: this.paymentMethodOptionId, checked: this.isSelected, label: this.label }))));
|
|
7
7
|
}
|
|
8
8
|
static get is() { return "payment-method-option"; }
|
|
9
9
|
static get encapsulation() { return "shadow"; }
|