@justifi/webcomponents 6.6.0 → 6.7.1
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/{Refund-BX0mjsAQ.js → GooglePay-BwiJ_80p.js} +415 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-_nY1l5Rq.js → badge-Cc87HAsf.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_8.cjs.entry.js +9 -8
- package/dist/cjs/bank-account-form.cjs.entry.js +4 -4
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{business.service-Dffp64u6.js → business.service-q93NsTG_.js} +1 -1
- package/dist/cjs/{button-CARQPDm-.js → button-fUPGXjU_.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +4 -4
- package/dist/cjs/{check-pkg-version-DZC7jOGP.js → check-pkg-version-cLAIX_H6.js} +2 -2
- package/dist/cjs/{checkout.service-C1HcsrjQ.js → checkout.service-CwelwhrT.js} +1 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +8 -7
- package/dist/cjs/{checkouts-table-Bgqkaez4.js → checkouts-table-BBtqxG2F.js} +2 -2
- package/dist/cjs/custom-popper_2.cjs.entry.js +3 -3
- package/dist/cjs/{dispute.service-CJsWYMYk.js → dispute.service-q5ha39uN.js} +1 -1
- 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-mhOq2Edp.js → form-control-error-text-Dg_65HGK.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-BoRpAoX6.js → form-control-help-text-tB5u1-5M.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_3.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-BblcGN2B.js → get-payment-details-DidIAK2i.js} +2 -2
- package/dist/cjs/{get-subaccounts-z4dNQDjx.js → get-subaccounts-BE_wcfM7.js} +2 -2
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
- package/dist/cjs/{header-1-CBO8uDuZ.js → header-1-Bqejh9no.js} +1 -1
- package/dist/cjs/{header-3-CPWtI1t0.js → header-3-DQ649Me2.js} +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +7 -7
- package/dist/cjs/{index-C2ITzalN.js → index-CajjbB9t.js} +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{insurance-state-BMHITXoD.js → insurance-state-DsGnIHMM.js} +1 -1
- package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +25 -26
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +12 -11
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/{justifi-apple-pay_7.cjs.entry.js → justifi-apple-pay_8.cjs.entry.js} +905 -258
- package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +4 -4
- package/dist/cjs/justifi-business-details.cjs.entry.js +7 -6
- package/dist/cjs/justifi-business-form.cjs.entry.js +9 -8
- package/dist/cjs/justifi-checkout.cjs.entry.js +15 -16
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +26 -12
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +11 -10
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -5
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +12 -11
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -5
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -11
- package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -7
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -4
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +10 -9
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -10
- package/dist/cjs/justifi-payout-details.cjs.entry.js +8 -7
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +10 -9
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -11
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +13 -12
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -11
- package/dist/cjs/justifi-skeleton.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +13 -12
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +9 -8
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +9 -8
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +11 -10
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/owner-form-core_2.cjs.entry.js +2 -2
- package/dist/cjs/{package-CkO7M9IQ.js → package-C9E_BIbT.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-Pb06tUMp.js → parts-BVbaniVM.js} +6 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +16 -15
- package/dist/cjs/payment-method-option.cjs.entry.js +2 -2
- package/dist/cjs/{payment.service-BZatGHKc.js → payment.service-CyHFdJ7n.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +9 -8
- package/dist/cjs/{payments-status-t4fVj8f9.js → payments-status-BP4u31jU.js} +1 -1
- package/dist/cjs/{payments-table-CaJt-yMH.js → payments-table-CWXVhECV.js} +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +9 -9
- package/dist/cjs/{payout.service-DbgLWhwh.js → payout.service-Half-hdB.js} +1 -1
- package/dist/cjs/payouts-list-core.cjs.entry.js +9 -8
- package/dist/cjs/{payouts-status-pIO9qZG6.js → payouts-status-CM5Zy-0J.js} +1 -1
- package/dist/cjs/{payouts-table-DZv0WnTS.js → payouts-table-ZLTcfkUm.js} +2 -2
- package/dist/cjs/{skeleton-BF3HGL9X.js → skeleton-B8dzxFFr.js} +1 -1
- package/dist/cjs/{spinner-BBdv3Iq1.js → spinner-jHyLNCGO.js} +1 -1
- package/dist/cjs/{table-CfBpaApw.js → table-CrtpRwGN.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +8 -7
- package/dist/cjs/{terminal-orders-table-F-ZFUBwH.js → terminal-orders-table-DT53anT3.js} +5 -5
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-KC8wBTJJ.js → terminal.service-CFt55QNO.js} +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +8 -7
- package/dist/cjs/{terminals-table-D7sf_DBN.js → terminals-table-DahpSz98.js} +2 -2
- package/dist/cjs/{utils-Cjq3ZCad.js → utils-CMiA4X7s.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/GooglePay.js +181 -0
- package/dist/collection/api/index.js +2 -0
- package/dist/collection/api/services/google-pay.service.js +241 -0
- package/dist/collection/collection-manifest.json +1 -0
- 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 +2 -2
- 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 +72 -2
- 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 +2 -2
- 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/modular-checkout/ModularCheckout.js +1 -0
- package/dist/collection/components/modular-checkout/modular-checkout.js +44 -6
- 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/google-pay-skeleton.js +10 -0
- package/dist/collection/components/modular-checkout/sub-components/google-pay.js +609 -0
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- 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/internal-tokenize-payment-method.js +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
- package/dist/collection/store/checkout.store.js +4 -0
- package/dist/collection/styles/parts.js +3 -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/google-pay-button.js +251 -0
- 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/docs.json +727 -102
- package/dist/esm/{Refund-DDWRtCuX.js → GooglePay-NNHE-OLJ.js} +405 -1
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{badge-BWd10d-w.js → badge-DtrH25ss.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_8.entry.js +8 -7
- package/dist/esm/bank-account-form.entry.js +4 -4
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business.service-CmSijtcP.js → business.service-BrUSam2T.js} +1 -1
- package/dist/esm/{button-BDwVDLs-.js → button-Bpf3VX8Q.js} +1 -1
- package/dist/esm/card-form.entry.js +4 -4
- package/dist/esm/{check-pkg-version-B83yUQEx.js → check-pkg-version-o2X_8wJ4.js} +2 -2
- package/dist/esm/{checkout.service-E60GnrZv.js → checkout.service-Bxt1qPaY.js} +1 -1
- package/dist/esm/checkouts-list-core.entry.js +8 -7
- package/dist/esm/{checkouts-table-BVWL1wN9.js → checkouts-table-CB4GdlcZ.js} +2 -2
- package/dist/esm/custom-popper_2.entry.js +3 -3
- package/dist/esm/{dispute.service-CAZJigrO.js → dispute.service-DYRYxxaT.js} +1 -1
- 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-BYooqu0N.js → form-control-error-text-BZYykCDp.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-CF1UA5Sl.js → form-control-help-text-D-p66Yxr.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +5 -5
- package/dist/esm/form-control-number-masked_3.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-Dg5WRkOM.js → get-payment-details-BJ1PLhJZ.js} +1 -1
- package/dist/esm/{get-subaccounts-CbxzednA.js → get-subaccounts-CzGHjlUF.js} +1 -1
- package/dist/esm/gross-payment-chart-core.entry.js +4 -4
- package/dist/esm/{header-1-CzkA4zNY.js → header-1-WwkF5F9y.js} +1 -1
- package/dist/esm/{header-3-eIE1RpMN.js → header-3-C5jS39cE.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/{index-DCIW8z1f.js → index-DkoufM1t.js} +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/{insurance-state-By2QaBZo.js → insurance-state-C11WKZU6.js} +1 -1
- package/dist/esm/internal-tokenize-payment-method_7.entry.js +14 -15
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +6 -5
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/{justifi-apple-pay_7.entry.js → justifi-apple-pay_8.entry.js} +788 -142
- package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +4 -4
- package/dist/esm/justifi-business-details.entry.js +7 -6
- package/dist/esm/justifi-business-form.entry.js +9 -8
- package/dist/esm/justifi-checkout.entry.js +8 -9
- package/dist/esm/justifi-checkouts-list-filters.entry.js +19 -5
- package/dist/esm/justifi-checkouts-list.entry.js +10 -9
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +6 -5
- package/dist/esm/justifi-dispute-notification_3.entry.js +12 -11
- package/dist/esm/justifi-gross-payment-chart.entry.js +6 -5
- package/dist/esm/justifi-order-terminals.entry.js +9 -8
- package/dist/esm/justifi-payment-details.entry.js +8 -7
- package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +5 -4
- package/dist/esm/justifi-payment-transactions-list.entry.js +9 -8
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +10 -9
- package/dist/esm/justifi-payout-details.entry.js +7 -6
- package/dist/esm/justifi-payout-transactions-list.entry.js +9 -8
- package/dist/esm/justifi-payouts-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payouts-list.entry.js +11 -10
- package/dist/esm/justifi-refund-payment.entry.js +9 -8
- package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +7 -8
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -4
- package/dist/esm/justifi-terminal-orders-list.entry.js +8 -7
- package/dist/esm/justifi-terminals-list-filters.entry.js +4 -3
- package/dist/esm/justifi-terminals-list.entry.js +10 -9
- package/dist/esm/justifi-tokenize-payment-method.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/owner-form-core_2.entry.js +2 -2
- package/dist/esm/{package-CdVle3mx.js → package-Dr8Z8wfP.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-QmGrQis7.js → parts-sA8HBfkI.js} +4 -1
- package/dist/esm/payment-details-core.entry.js +15 -14
- package/dist/esm/payment-method-option.entry.js +2 -2
- package/dist/esm/{payment.service-CWc5BPv-.js → payment.service-BoGemgMw.js} +1 -1
- package/dist/esm/payments-list-core.entry.js +9 -8
- package/dist/esm/{payments-status-BdCVusHE.js → payments-status-CADg1cD0.js} +1 -1
- package/dist/esm/{payments-table-9rC3BvV0.js → payments-table-C6zHWwGO.js} +2 -2
- package/dist/esm/payout-details-core.entry.js +9 -9
- package/dist/esm/{payout.service-iBVqRzf_.js → payout.service-BSG50wqN.js} +1 -1
- package/dist/esm/payouts-list-core.entry.js +9 -8
- package/dist/esm/{payouts-status-DhowllYh.js → payouts-status-4VDQvaYV.js} +1 -1
- package/dist/esm/{payouts-table-Ci_J6mmU.js → payouts-table-BU5XbzB9.js} +2 -2
- package/dist/esm/{skeleton-BX70wCwq.js → skeleton-Dtt56Fl3.js} +1 -1
- package/dist/esm/{spinner-CcDNFgNu.js → spinner-DikooWuI.js} +1 -1
- package/dist/esm/{table-KZoMaoUh.js → table-1hqe6s5m.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +8 -7
- package/dist/esm/{terminal-orders-table-BGiWS5cM.js → terminal-orders-table-BsVBelxB.js} +3 -3
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-CxSKhtwB.js → terminal.service-YKfi6Mr9.js} +1 -1
- package/dist/esm/terminals-list-core.entry.js +8 -7
- package/dist/esm/{terminals-table-DROFEdyn.js → terminals-table-CXJTn-0I.js} +2 -2
- package/dist/esm/{utils-C1PX_3uA.js → utils-CgFsPVsv.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +2 -0
- package/dist/module/ApplePay.js +121 -0
- package/dist/module/GooglePay.js +184 -0
- package/dist/module/ModularCheckout.js +1 -0
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/apple-pay.js +1 -120
- package/dist/module/bank-account-billing-form-simple.js +1 -1
- package/dist/module/bank-account-document-inputs.js +2 -0
- 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.js +2 -0
- package/dist/module/business-terms-conditions-form-step.js +2 -0
- package/dist/module/business.service.js +2 -0
- 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.service.js +2 -0
- package/dist/module/checkout.store.js +4 -0
- package/dist/module/checkouts-list-core2.js +4 -2
- 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 +2 -2
- package/dist/module/dispute-response-actions.js +2 -0
- 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 +2 -0
- package/dist/module/get-subaccounts.js +2 -0
- package/dist/module/google-pay.js +782 -0
- 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/internal-tokenize-payment-method2.js +3 -1
- package/dist/module/justifi-business-form.js +2 -0
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-checkout.js +46 -40
- package/dist/module/justifi-checkouts-list-filters.js +37 -8
- package/dist/module/justifi-checkouts-list.js +3 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-google-pay.d.ts +11 -0
- package/dist/module/justifi-google-pay.js +6 -0
- package/dist/module/justifi-gross-payment-chart.js +2 -0
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-order-terminals.js +3 -1
- package/dist/module/justifi-payment-provisioning.js +2 -0
- package/dist/module/justifi-payment-transactions-list.js +5 -3
- package/dist/module/justifi-payments-list-filters.js +4 -4
- package/dist/module/justifi-payments-list.js +3 -1
- package/dist/module/justifi-payout-details.js +2 -0
- package/dist/module/justifi-payout-transactions-list.js +5 -3
- package/dist/module/justifi-payouts-list-filters.js +4 -4
- package/dist/module/justifi-payouts-list.js +3 -1
- package/dist/module/justifi-refund-payment.js +2 -0
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +2 -0
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +6 -4
- package/dist/module/justifi-terminal-orders-list.js +3 -1
- package/dist/module/justifi-terminals-list-filters.js +4 -2
- package/dist/module/justifi-terminals-list.js +3 -1
- package/dist/module/justifi-tokenize-payment-method.js +1 -1
- package/dist/module/modular-checkout.js +46 -6
- package/dist/module/package.js +1 -1
- package/dist/module/parts.js +4 -1
- package/dist/module/payment-details-core2.js +10 -8
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment.service.js +2 -0
- package/dist/module/payments-list-core2.js +5 -3
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payout.service.js +2 -0
- package/dist/module/payouts-list-core2.js +5 -3
- package/dist/module/plaid.service.js +2 -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/shipping-details.js +1 -1
- package/dist/module/summary.js +1 -1
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/table.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +5 -3
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminal.service.js +2 -0
- package/dist/module/terminals-list-core2.js +4 -2
- package/dist/module/utils2.js +1 -1
- package/dist/types/api/Checkout.d.ts +5 -0
- package/dist/types/api/GooglePay.d.ts +271 -0
- package/dist/types/api/index.d.ts +2 -0
- package/dist/types/api/services/google-pay.service.d.ts +60 -0
- package/dist/types/components/checkout/checkout.d.ts +1 -0
- package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +5 -0
- package/dist/types/components/modular-checkout/ModularCheckout.d.ts +2 -1
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +5 -0
- package/dist/types/components/modular-checkout/sub-components/google-pay-skeleton.d.ts +6 -0
- package/dist/types/components/modular-checkout/sub-components/google-pay.d.ts +59 -0
- package/dist/types/components.d.ts +146 -0
- package/dist/types/store/checkout.store.d.ts +1 -0
- package/dist/types/styles/parts.d.ts +3 -0
- package/dist/types/ui-components/google-pay-button.d.ts +18 -0
- package/dist/webcomponents/index.esm.js +1 -1
- package/dist/webcomponents/p-016b3e4c.entry.js +1 -0
- package/dist/webcomponents/{p-fdcb24aa.entry.js → p-062fcfd5.entry.js} +1 -1
- package/dist/webcomponents/p-06cae9e2.entry.js +1 -0
- package/dist/webcomponents/p-06f81525.entry.js +1 -0
- package/dist/webcomponents/{p-3482ab40.entry.js → p-0b7c4ed5.entry.js} +1 -1
- package/dist/webcomponents/{p-9c7c60f3.entry.js → p-0bb616fc.entry.js} +1 -1
- package/dist/webcomponents/p-1575ca68.entry.js +1 -0
- package/dist/webcomponents/{p-8740871d.entry.js → p-1a327b0e.entry.js} +1 -1
- package/dist/webcomponents/p-1df660a9.entry.js +1 -0
- package/dist/webcomponents/p-1e761d96.entry.js +1 -0
- package/dist/webcomponents/{p-0eb7abed.entry.js → p-20e85114.entry.js} +1 -1
- package/dist/webcomponents/p-262e4b23.entry.js +1 -0
- package/dist/webcomponents/p-296bd0b6.entry.js +1 -0
- package/dist/webcomponents/{p-5490e39c.entry.js → p-368b37ad.entry.js} +1 -1
- package/dist/webcomponents/{p-d41ad7a8.entry.js → p-36a0af30.entry.js} +1 -1
- package/dist/webcomponents/p-3a3935a3.entry.js +1 -0
- package/dist/webcomponents/p-3fb1cf2b.entry.js +1 -0
- package/dist/webcomponents/p-3fbe8ac3.entry.js +1 -0
- package/dist/webcomponents/p-4d2589b2.entry.js +1 -0
- package/dist/webcomponents/p-4dc358aa.entry.js +1 -0
- package/dist/webcomponents/{p-99c1059c.entry.js → p-511e80a4.entry.js} +1 -1
- package/dist/webcomponents/p-5996879d.entry.js +1 -0
- package/dist/webcomponents/p-5a7207c0.entry.js +1 -0
- package/dist/webcomponents/p-5a748e49.entry.js +1 -0
- package/dist/webcomponents/p-5e6f2128.entry.js +1 -0
- package/dist/webcomponents/p-6454626a.entry.js +1 -0
- package/dist/webcomponents/p-66713269.entry.js +1 -0
- package/dist/webcomponents/p-679b36b5.entry.js +1 -0
- package/dist/webcomponents/{p-c9920e22.entry.js → p-725319f3.entry.js} +1 -1
- package/dist/webcomponents/p-77754a65.entry.js +1 -0
- package/dist/webcomponents/p-7bb7aaca.entry.js +1 -0
- package/dist/webcomponents/p-8884e000.entry.js +1 -0
- package/dist/webcomponents/p-88a8741b.entry.js +1 -0
- package/dist/webcomponents/{p-c3a625ec.entry.js → p-897b794b.entry.js} +4 -4
- package/dist/webcomponents/p-899b981b.entry.js +1 -0
- package/dist/webcomponents/p-8c4b502d.entry.js +1 -0
- package/dist/webcomponents/p-8df30672.entry.js +1 -0
- package/dist/webcomponents/p-911b3d63.entry.js +1 -0
- package/dist/webcomponents/p-97b8bf5c.entry.js +1 -0
- package/dist/webcomponents/p-9b74a642.entry.js +1 -0
- package/dist/webcomponents/p-9b8aee30.entry.js +1 -0
- package/dist/webcomponents/p-9e94c9ef.entry.js +1 -0
- package/dist/webcomponents/{p-B69TWr1K.js → p-B4xdk4mG.js} +1 -1
- package/dist/webcomponents/{p-MFnmyvti.js → p-BEu9YFnf.js} +1 -1
- package/dist/webcomponents/{p-gcRtE71H.js → p-BMJe4lzg.js} +1 -1
- package/dist/webcomponents/p-BhqSAzpT.js +1 -0
- package/dist/webcomponents/p-BrRsgB8S.js +1 -0
- package/dist/webcomponents/{p-DUQxAYW4.js → p-C2Senazf.js} +1 -1
- package/dist/webcomponents/p-C9VmfRis.js +1 -0
- package/dist/webcomponents/{p-BDRSfgZJ.js → p-CBbwdoSa.js} +1 -1
- package/dist/webcomponents/{p-C0FpWzgU.js → p-CCxsFwC4.js} +1 -1
- package/dist/webcomponents/p-CK_XkZku.js +1 -0
- package/dist/webcomponents/p-CQGIjIgZ.js +1 -0
- package/dist/webcomponents/{p-Qmo430x1.js → p-CV8xqdt6.js} +1 -1
- package/dist/webcomponents/p-CZ3F1ZAT.js +1 -0
- package/dist/webcomponents/p-CgiDds_u.js +1 -0
- package/dist/webcomponents/p-CsgUIrv8.js +1 -0
- package/dist/webcomponents/{p-BIzMmHpn.js → p-D6bKoyRc.js} +1 -1
- package/dist/webcomponents/{p-E8uzhk39.js → p-DATDsXcA.js} +1 -1
- package/dist/webcomponents/{p-H_emngUs.js → p-DGGjRqDa.js} +1 -1
- package/dist/webcomponents/{p-CJ4viNrp.js → p-DUmUUj9r.js} +1 -1
- package/dist/webcomponents/p-DY_3dcgR.js +1 -0
- package/dist/webcomponents/{p-DircQtPA.js → p-Dit3fZpU.js} +1 -1
- package/dist/webcomponents/p-DkoufM1t.js +1 -0
- package/dist/webcomponents/{p-DcHTywGe.js → p-Dlrq1iZf.js} +1 -1
- package/dist/webcomponents/p-DmdEjScI.js +1 -0
- package/dist/webcomponents/p-Dr8Z8wfP.js +1 -0
- package/dist/webcomponents/p-RTAZ4tdd.js +1 -0
- package/dist/webcomponents/p-Ty7R7tsw.js +1 -0
- package/dist/webcomponents/{p-CYz0Hubu.js → p-U3nU15el.js} +1 -1
- package/dist/webcomponents/{p-CjfgyxBN.js → p-VRubcA-q.js} +1 -1
- package/dist/webcomponents/{p-KS3Bf_2D.js → p-W9WWoLzT.js} +1 -1
- package/dist/webcomponents/p-a0b4c42b.entry.js +1 -0
- package/dist/webcomponents/p-abcb4945.entry.js +1 -0
- package/dist/webcomponents/p-ad3a73af.entry.js +1 -0
- package/dist/webcomponents/p-b0f0d53c.entry.js +1 -0
- package/dist/webcomponents/p-c8a5a2a9.entry.js +1 -0
- package/dist/webcomponents/p-c920dc54.entry.js +1 -0
- package/dist/webcomponents/p-ca0d1c6c.entry.js +1 -0
- package/dist/webcomponents/p-cbd52897.entry.js +1 -0
- package/dist/webcomponents/p-cc0c722c.entry.js +1 -0
- package/dist/webcomponents/p-cc2a1c7c.entry.js +1 -0
- package/dist/webcomponents/{p-b31bf32a.entry.js → p-cdf1e61c.entry.js} +1 -1
- package/dist/webcomponents/p-cf644e46.entry.js +1 -0
- package/dist/webcomponents/{p-d79f9a54.entry.js → p-d0c4b0ea.entry.js} +1 -1
- package/dist/webcomponents/p-d5765545.entry.js +1 -0
- package/dist/webcomponents/p-def84700.entry.js +1 -0
- package/dist/webcomponents/p-e2d33311.entry.js +1 -0
- package/dist/webcomponents/{p-dd0c456f.entry.js → p-e4335938.entry.js} +1 -1
- package/dist/webcomponents/{p-c8bd7e0d.entry.js → p-e805b011.entry.js} +1 -1
- package/dist/webcomponents/p-f30c939f.entry.js +1 -0
- package/dist/webcomponents/{p-50308873.entry.js → p-f99403d8.entry.js} +1 -1
- package/dist/webcomponents/p-fb644da6.entry.js +1 -0
- package/dist/webcomponents/p-fc4b27ec.entry.js +1 -0
- package/dist/webcomponents/p-fe43449c.entry.js +1 -0
- package/dist/webcomponents/p-sA8HBfkI.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/checkout.store-BA6h-dp2.js +0 -107
- package/dist/esm/checkout.store-CaS_htQd.js +0 -101
- package/dist/webcomponents/p-0867547d.entry.js +0 -1
- package/dist/webcomponents/p-091d6a7e.entry.js +0 -1
- package/dist/webcomponents/p-0d4bea62.entry.js +0 -1
- package/dist/webcomponents/p-1634262a.entry.js +0 -1
- package/dist/webcomponents/p-1a4d0ad6.entry.js +0 -1
- package/dist/webcomponents/p-25e3cb85.entry.js +0 -1
- package/dist/webcomponents/p-278988e8.entry.js +0 -1
- package/dist/webcomponents/p-3b5a9e94.entry.js +0 -1
- package/dist/webcomponents/p-44efe4ca.entry.js +0 -1
- package/dist/webcomponents/p-49a0ef9d.entry.js +0 -1
- package/dist/webcomponents/p-4bff1285.entry.js +0 -1
- package/dist/webcomponents/p-4d87be74.entry.js +0 -1
- package/dist/webcomponents/p-51107c8f.entry.js +0 -1
- package/dist/webcomponents/p-51d7b9f7.entry.js +0 -1
- package/dist/webcomponents/p-5c60ba00.entry.js +0 -1
- package/dist/webcomponents/p-5d56a293.entry.js +0 -1
- package/dist/webcomponents/p-654d91d7.entry.js +0 -1
- package/dist/webcomponents/p-68c2ce90.entry.js +0 -1
- package/dist/webcomponents/p-69b0be17.entry.js +0 -1
- package/dist/webcomponents/p-6e99cd4c.entry.js +0 -1
- package/dist/webcomponents/p-7e4bfba1.entry.js +0 -1
- package/dist/webcomponents/p-87d23cf8.entry.js +0 -1
- package/dist/webcomponents/p-9065f077.entry.js +0 -1
- package/dist/webcomponents/p-908f6b79.entry.js +0 -1
- package/dist/webcomponents/p-93d98b07.entry.js +0 -1
- package/dist/webcomponents/p-94b2d6a1.entry.js +0 -1
- package/dist/webcomponents/p-980db13b.entry.js +0 -1
- package/dist/webcomponents/p-B10U2_Sw.js +0 -1
- package/dist/webcomponents/p-BqXh8qSb.js +0 -1
- package/dist/webcomponents/p-CA9okQxT.js +0 -1
- package/dist/webcomponents/p-CMTxbXEr.js +0 -1
- package/dist/webcomponents/p-CdVle3mx.js +0 -1
- package/dist/webcomponents/p-CiMKKjGV.js +0 -1
- package/dist/webcomponents/p-CjxyejYl.js +0 -1
- package/dist/webcomponents/p-CpP3EZBK.js +0 -1
- package/dist/webcomponents/p-DCIW8z1f.js +0 -1
- package/dist/webcomponents/p-DQKNMVh7.js +0 -1
- package/dist/webcomponents/p-DU8dqq9U.js +0 -1
- package/dist/webcomponents/p-Dp2W4Eq3.js +0 -1
- package/dist/webcomponents/p-GenVH2BR.js +0 -1
- package/dist/webcomponents/p-InCWAej0.js +0 -1
- package/dist/webcomponents/p-QmGrQis7.js +0 -1
- package/dist/webcomponents/p-VodztElu.js +0 -1
- package/dist/webcomponents/p-a4a647bd.entry.js +0 -1
- package/dist/webcomponents/p-abcbfb22.entry.js +0 -1
- package/dist/webcomponents/p-af29e819.entry.js +0 -1
- package/dist/webcomponents/p-b6286d7b.entry.js +0 -1
- package/dist/webcomponents/p-b8c816fe.entry.js +0 -1
- package/dist/webcomponents/p-bcec4201.entry.js +0 -1
- package/dist/webcomponents/p-c6ee5aa7.entry.js +0 -1
- package/dist/webcomponents/p-c900ccca.entry.js +0 -1
- package/dist/webcomponents/p-ca3733e5.entry.js +0 -1
- package/dist/webcomponents/p-cb61af93.entry.js +0 -1
- package/dist/webcomponents/p-d29ce58e.entry.js +0 -1
- package/dist/webcomponents/p-d34f5a20.entry.js +0 -1
- package/dist/webcomponents/p-d8ec7cfc.entry.js +0 -1
- package/dist/webcomponents/p-dda50611.entry.js +0 -1
- package/dist/webcomponents/p-df7e2530.entry.js +0 -1
- package/dist/webcomponents/p-e4a43e31.entry.js +0 -1
- package/dist/webcomponents/p-ea75759b.entry.js +0 -1
- package/dist/webcomponents/p-edcb6de1.entry.js +0 -1
- package/dist/webcomponents/p-faaba66d.entry.js +0 -1
- package/dist/webcomponents/p-fc680b08.entry.js +0 -1
- package/dist/webcomponents/p-fcaaed23.entry.js +0 -1
- package/dist/webcomponents/p-fefc4dea.entry.js +0 -1
- package/dist/webcomponents/p-ff1bc3de.entry.js +0 -1
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var utils = require('./utils-D4WPxuzW.js');
|
|
4
4
|
var Dispute = require('./Dispute-CruQTF6_.js');
|
|
5
|
+
var index = require('./index-mmd0OhmD.js');
|
|
6
|
+
var index$1 = require('./index-CajjbB9t.js');
|
|
5
7
|
|
|
6
8
|
class Completion {
|
|
7
9
|
constructor(data) {
|
|
@@ -589,9 +591,417 @@ class RefundPayload {
|
|
|
589
591
|
}
|
|
590
592
|
}
|
|
591
593
|
|
|
594
|
+
exports.ApplePaySessionStatus = void 0;
|
|
595
|
+
(function (ApplePaySessionStatus) {
|
|
596
|
+
ApplePaySessionStatus["STATUS_SUCCESS"] = "STATUS_SUCCESS";
|
|
597
|
+
ApplePaySessionStatus["STATUS_FAILURE"] = "STATUS_FAILURE";
|
|
598
|
+
})(exports.ApplePaySessionStatus || (exports.ApplePaySessionStatus = {}));
|
|
599
|
+
exports.ApplePayButtonType = void 0;
|
|
600
|
+
(function (ApplePayButtonType) {
|
|
601
|
+
ApplePayButtonType["PLAIN"] = "plain";
|
|
602
|
+
ApplePayButtonType["BUY"] = "buy";
|
|
603
|
+
ApplePayButtonType["SET_UP"] = "set-up";
|
|
604
|
+
ApplePayButtonType["DONATE"] = "donate";
|
|
605
|
+
ApplePayButtonType["CHECK_OUT"] = "check-out";
|
|
606
|
+
ApplePayButtonType["BOOK"] = "book";
|
|
607
|
+
ApplePayButtonType["SUBSCRIBE"] = "subscribe";
|
|
608
|
+
})(exports.ApplePayButtonType || (exports.ApplePayButtonType = {}));
|
|
609
|
+
exports.ApplePayButtonStyle = void 0;
|
|
610
|
+
(function (ApplePayButtonStyle) {
|
|
611
|
+
ApplePayButtonStyle["BLACK"] = "black";
|
|
612
|
+
ApplePayButtonStyle["WHITE"] = "white";
|
|
613
|
+
ApplePayButtonStyle["WHITE_OUTLINE"] = "white-outline";
|
|
614
|
+
})(exports.ApplePayButtonStyle || (exports.ApplePayButtonStyle = {}));
|
|
615
|
+
exports.ApplePayMerchantCapability = void 0;
|
|
616
|
+
(function (ApplePayMerchantCapability) {
|
|
617
|
+
ApplePayMerchantCapability["SUPPORTS_3DS"] = "supports3DS";
|
|
618
|
+
ApplePayMerchantCapability["SUPPORTS_EMV"] = "supportsEMV";
|
|
619
|
+
ApplePayMerchantCapability["SUPPORTS_CREDIT"] = "supportsCredit";
|
|
620
|
+
ApplePayMerchantCapability["SUPPORTS_DEBIT"] = "supportsDebit";
|
|
621
|
+
})(exports.ApplePayMerchantCapability || (exports.ApplePayMerchantCapability = {}));
|
|
622
|
+
class ApplePayConfig {
|
|
623
|
+
constructor(data) {
|
|
624
|
+
this.merchantIdentifier = data.merchantIdentifier;
|
|
625
|
+
this.displayName = data.displayName;
|
|
626
|
+
this.initiative = data.initiative;
|
|
627
|
+
this.initiativeContext = data.initiativeContext;
|
|
628
|
+
this.buttonType = data.buttonType || exports.ApplePayButtonType.PLAIN;
|
|
629
|
+
this.buttonStyle = data.buttonStyle || exports.ApplePayButtonStyle.BLACK;
|
|
630
|
+
this.buttonLocale = data.buttonLocale || 'en-US';
|
|
631
|
+
}
|
|
632
|
+
get isValid() {
|
|
633
|
+
return !!(this.merchantIdentifier &&
|
|
634
|
+
this.displayName &&
|
|
635
|
+
this.initiative &&
|
|
636
|
+
this.initiativeContext);
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
class ApplePayPaymentRequest {
|
|
640
|
+
constructor(data) {
|
|
641
|
+
this.countryCode = data.countryCode;
|
|
642
|
+
this.currencyCode = data.currencyCode;
|
|
643
|
+
this.merchantCapabilities = data.merchantCapabilities;
|
|
644
|
+
this.supportedNetworks = data.supportedNetworks;
|
|
645
|
+
this.total = data.total;
|
|
646
|
+
this.lineItems = data.lineItems;
|
|
647
|
+
this.shippingMethods = data.shippingMethods;
|
|
648
|
+
this.applicationData = data.applicationData;
|
|
649
|
+
this.supportedCountries = data.supportedCountries;
|
|
650
|
+
}
|
|
651
|
+
get isValid() {
|
|
652
|
+
var _a, _b, _c, _d;
|
|
653
|
+
return !!(this.countryCode &&
|
|
654
|
+
this.currencyCode &&
|
|
655
|
+
((_a = this.merchantCapabilities) === null || _a === void 0 ? void 0 : _a.length) &&
|
|
656
|
+
((_b = this.supportedNetworks) === null || _b === void 0 ? void 0 : _b.length) &&
|
|
657
|
+
((_c = this.total) === null || _c === void 0 ? void 0 : _c.label) &&
|
|
658
|
+
((_d = this.total) === null || _d === void 0 ? void 0 : _d.amount));
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
class ApplePayHelpers {
|
|
662
|
+
static isApplePaySupported() {
|
|
663
|
+
var _a;
|
|
664
|
+
return (typeof window !== 'undefined' &&
|
|
665
|
+
'ApplePaySession' in window &&
|
|
666
|
+
((_a = window.ApplePaySession) === null || _a === void 0 ? void 0 : _a.supportsVersion(3)));
|
|
667
|
+
}
|
|
668
|
+
static canMakePayments() {
|
|
669
|
+
var _a;
|
|
670
|
+
if (!this.isApplePaySupported()) {
|
|
671
|
+
return false;
|
|
672
|
+
}
|
|
673
|
+
return ((_a = window.ApplePaySession) === null || _a === void 0 ? void 0 : _a.canMakePayments()) || false;
|
|
674
|
+
}
|
|
675
|
+
static async canMakePaymentsWithActiveCard(merchantIdentifier) {
|
|
676
|
+
var _a;
|
|
677
|
+
if (!this.isApplePaySupported()) {
|
|
678
|
+
return false;
|
|
679
|
+
}
|
|
680
|
+
try {
|
|
681
|
+
return ((await ((_a = window.ApplePaySession) === null || _a === void 0 ? void 0 : _a.canMakePaymentsWithActiveCard(merchantIdentifier))) || false);
|
|
682
|
+
}
|
|
683
|
+
catch (error) {
|
|
684
|
+
console.error('Error checking Apple Pay active card:', error);
|
|
685
|
+
return false;
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
static formatAmount(amount) {
|
|
689
|
+
return (amount / 100).toFixed(2);
|
|
690
|
+
}
|
|
691
|
+
static parseAmount(amount) {
|
|
692
|
+
return Math.round(parseFloat(amount) * 100);
|
|
693
|
+
}
|
|
694
|
+
static createLineItem(label, amount, type = 'final') {
|
|
695
|
+
return {
|
|
696
|
+
label,
|
|
697
|
+
amount: this.formatAmount(amount),
|
|
698
|
+
type,
|
|
699
|
+
};
|
|
700
|
+
}
|
|
701
|
+
static getDefaultSupportedNetworks() {
|
|
702
|
+
return ['amex', 'discover', 'masterCard', 'visa'];
|
|
703
|
+
}
|
|
704
|
+
static getDefaultMerchantCapabilities() {
|
|
705
|
+
return [
|
|
706
|
+
exports.ApplePayMerchantCapability.SUPPORTS_3DS,
|
|
707
|
+
exports.ApplePayMerchantCapability.SUPPORTS_EMV,
|
|
708
|
+
exports.ApplePayMerchantCapability.SUPPORTS_CREDIT,
|
|
709
|
+
exports.ApplePayMerchantCapability.SUPPORTS_DEBIT,
|
|
710
|
+
];
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
const initialState = {
|
|
715
|
+
accountId: '',
|
|
716
|
+
authToken: '',
|
|
717
|
+
billingFormFields: {
|
|
718
|
+
address_postal_code: '',
|
|
719
|
+
},
|
|
720
|
+
bnplEnabled: false,
|
|
721
|
+
applePayEnabled: false,
|
|
722
|
+
googlePayEnabled: false,
|
|
723
|
+
insuranceEnabled: false,
|
|
724
|
+
bnplProviderApiVersion: '',
|
|
725
|
+
bnplProviderCheckoutUrl: '',
|
|
726
|
+
bnplProviderClientId: '',
|
|
727
|
+
bnplProviderMode: '',
|
|
728
|
+
checkoutId: '',
|
|
729
|
+
checkoutLoaded: false,
|
|
730
|
+
bankAccountVerification: undefined,
|
|
731
|
+
disableBankAccount: false,
|
|
732
|
+
disableCreditCard: false,
|
|
733
|
+
disablePaymentMethodGroup: false,
|
|
734
|
+
paymentAmount: 0,
|
|
735
|
+
paymentCurrency: 'USD',
|
|
736
|
+
paymentDescription: '',
|
|
737
|
+
paymentMethodGroupId: undefined,
|
|
738
|
+
paymentMethods: [],
|
|
739
|
+
paymentToken: undefined,
|
|
740
|
+
savePaymentMethod: false,
|
|
741
|
+
selectedPaymentMethod: undefined,
|
|
742
|
+
totalAmount: 0,
|
|
743
|
+
plaidPublicToken: undefined,
|
|
744
|
+
plaidLinkTokenId: undefined,
|
|
745
|
+
};
|
|
746
|
+
const { state: checkoutStore, onChange } = index.createStore(initialState);
|
|
747
|
+
Object.keys(initialState).forEach((key) => {
|
|
748
|
+
// @ts-ignore
|
|
749
|
+
onChange(key, (newValue) => {
|
|
750
|
+
checkoutStore[key] = newValue;
|
|
751
|
+
});
|
|
752
|
+
});
|
|
753
|
+
// Helper: compute available payment methods based on store flags
|
|
754
|
+
function getAvailablePaymentMethodTypes() {
|
|
755
|
+
var _a;
|
|
756
|
+
const methods = [];
|
|
757
|
+
if (!checkoutStore.disablePaymentMethodGroup &&
|
|
758
|
+
((_a = checkoutStore.paymentMethods) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
759
|
+
const hasSavedCard = checkoutStore.paymentMethods.some((pm) => pm.type === index$1.PAYMENT_METHODS.SAVED_CARD);
|
|
760
|
+
const hasSavedBank = checkoutStore.paymentMethods.some((pm) => pm.type === index$1.PAYMENT_METHODS.SAVED_BANK_ACCOUNT);
|
|
761
|
+
if (hasSavedCard && !checkoutStore.disableCreditCard) {
|
|
762
|
+
methods.push(index$1.PAYMENT_METHODS.SAVED_CARD);
|
|
763
|
+
}
|
|
764
|
+
if (hasSavedBank && !checkoutStore.disableBankAccount) {
|
|
765
|
+
methods.push(index$1.PAYMENT_METHODS.SAVED_BANK_ACCOUNT);
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
if (!checkoutStore.disableCreditCard) {
|
|
769
|
+
methods.push(index$1.PAYMENT_METHODS.NEW_CARD);
|
|
770
|
+
}
|
|
771
|
+
if (!checkoutStore.disableBankAccount) {
|
|
772
|
+
methods.push(index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT);
|
|
773
|
+
}
|
|
774
|
+
if (checkoutStore.bnplEnabled) {
|
|
775
|
+
methods.push(index$1.PAYMENT_METHODS.SEZZLE);
|
|
776
|
+
}
|
|
777
|
+
if (checkoutStore.applePayEnabled) {
|
|
778
|
+
methods.push(index$1.PAYMENT_METHODS.APPLE_PAY);
|
|
779
|
+
}
|
|
780
|
+
if (checkoutStore.googlePayEnabled) {
|
|
781
|
+
methods.push(index$1.PAYMENT_METHODS.GOOGLE_PAY);
|
|
782
|
+
}
|
|
783
|
+
if (checkoutStore.bankAccountVerification === true &&
|
|
784
|
+
!checkoutStore.disableBankAccount) {
|
|
785
|
+
methods.push(index$1.PAYMENT_METHODS.PLAID);
|
|
786
|
+
}
|
|
787
|
+
return methods;
|
|
788
|
+
}
|
|
789
|
+
function getCheckoutState() {
|
|
790
|
+
var _a;
|
|
791
|
+
return {
|
|
792
|
+
selectedPaymentMethod: checkoutStore.selectedPaymentMethod,
|
|
793
|
+
paymentAmount: checkoutStore.paymentAmount,
|
|
794
|
+
totalAmount: checkoutStore.totalAmount,
|
|
795
|
+
paymentCurrency: checkoutStore.paymentCurrency,
|
|
796
|
+
paymentDescription: checkoutStore.paymentDescription,
|
|
797
|
+
savedPaymentMethods: checkoutStore.paymentMethods,
|
|
798
|
+
savePaymentMethod: checkoutStore.savePaymentMethod,
|
|
799
|
+
bnplEnabled: checkoutStore.bnplEnabled,
|
|
800
|
+
applePayEnabled: checkoutStore.applePayEnabled,
|
|
801
|
+
insuranceEnabled: checkoutStore.insuranceEnabled,
|
|
802
|
+
disableBankAccount: checkoutStore.disableBankAccount,
|
|
803
|
+
disableCreditCard: checkoutStore.disableCreditCard,
|
|
804
|
+
disablePaymentMethodGroup: checkoutStore.disablePaymentMethodGroup,
|
|
805
|
+
paymentToken: (_a = checkoutStore.paymentToken) !== null && _a !== void 0 ? _a : undefined,
|
|
806
|
+
};
|
|
807
|
+
}
|
|
808
|
+
function onAnyChange(callback) {
|
|
809
|
+
Object.keys(initialState).forEach((key) => {
|
|
810
|
+
// @ts-ignore - onChange is generically typed by stencil/store but not exported here
|
|
811
|
+
onChange(key, (newValue) => callback(key, newValue));
|
|
812
|
+
});
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
exports.GooglePayButtonType = void 0;
|
|
816
|
+
(function (GooglePayButtonType) {
|
|
817
|
+
GooglePayButtonType["PLAIN"] = "plain";
|
|
818
|
+
GooglePayButtonType["BUY"] = "buy";
|
|
819
|
+
GooglePayButtonType["BOOK"] = "book";
|
|
820
|
+
GooglePayButtonType["CHECKOUT"] = "checkout";
|
|
821
|
+
GooglePayButtonType["DONATE"] = "donate";
|
|
822
|
+
GooglePayButtonType["ORDER"] = "order";
|
|
823
|
+
GooglePayButtonType["PAY"] = "pay";
|
|
824
|
+
GooglePayButtonType["SUBSCRIBE"] = "subscribe";
|
|
825
|
+
})(exports.GooglePayButtonType || (exports.GooglePayButtonType = {}));
|
|
826
|
+
exports.GooglePayButtonStyle = void 0;
|
|
827
|
+
(function (GooglePayButtonStyle) {
|
|
828
|
+
GooglePayButtonStyle["BLACK"] = "black";
|
|
829
|
+
GooglePayButtonStyle["WHITE"] = "white";
|
|
830
|
+
})(exports.GooglePayButtonStyle || (exports.GooglePayButtonStyle = {}));
|
|
831
|
+
exports.GooglePayButtonSizeMode = void 0;
|
|
832
|
+
(function (GooglePayButtonSizeMode) {
|
|
833
|
+
GooglePayButtonSizeMode["STATIC"] = "static";
|
|
834
|
+
GooglePayButtonSizeMode["FILL"] = "fill";
|
|
835
|
+
})(exports.GooglePayButtonSizeMode || (exports.GooglePayButtonSizeMode = {}));
|
|
836
|
+
exports.GooglePayEnvironment = void 0;
|
|
837
|
+
(function (GooglePayEnvironment) {
|
|
838
|
+
GooglePayEnvironment["PRODUCTION"] = "PRODUCTION";
|
|
839
|
+
GooglePayEnvironment["TEST"] = "TEST";
|
|
840
|
+
})(exports.GooglePayEnvironment || (exports.GooglePayEnvironment = {}));
|
|
841
|
+
class GooglePayConfig {
|
|
842
|
+
constructor(data) {
|
|
843
|
+
this.environment = data.environment;
|
|
844
|
+
this.merchantId = data.merchantId;
|
|
845
|
+
this.merchantName = data.merchantName;
|
|
846
|
+
this.buttonType = data.buttonType || exports.GooglePayButtonType.PLAIN;
|
|
847
|
+
this.buttonStyle = data.buttonStyle || exports.GooglePayButtonStyle.BLACK;
|
|
848
|
+
this.buttonSizeMode = data.buttonSizeMode || exports.GooglePayButtonSizeMode.STATIC;
|
|
849
|
+
this.buttonLocale = data.buttonLocale || 'en';
|
|
850
|
+
}
|
|
851
|
+
get isValid() {
|
|
852
|
+
return !!(this.environment && this.merchantName);
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
class GooglePayPaymentDataRequest {
|
|
856
|
+
constructor(data) {
|
|
857
|
+
this.apiVersion = data.apiVersion;
|
|
858
|
+
this.apiVersionMinor = data.apiVersionMinor;
|
|
859
|
+
this.allowedPaymentMethods = data.allowedPaymentMethods;
|
|
860
|
+
this.transactionInfo = data.transactionInfo;
|
|
861
|
+
this.merchantInfo = data.merchantInfo;
|
|
862
|
+
this.callbackIntents = data.callbackIntents;
|
|
863
|
+
this.shippingAddressRequired = data.shippingAddressRequired;
|
|
864
|
+
this.shippingAddressParameters = data.shippingAddressParameters;
|
|
865
|
+
this.emailRequired = data.emailRequired;
|
|
866
|
+
}
|
|
867
|
+
get isValid() {
|
|
868
|
+
var _a, _b, _c, _d;
|
|
869
|
+
const hasApiVersion = typeof this.apiVersion === 'number' && this.apiVersion > 0;
|
|
870
|
+
const hasApiVersionMinor = typeof this.apiVersionMinor === 'number' && this.apiVersionMinor >= 0;
|
|
871
|
+
const hasAllowedMethods = Array.isArray(this.allowedPaymentMethods) &&
|
|
872
|
+
this.allowedPaymentMethods.length > 0;
|
|
873
|
+
const hasTxnCountry = Boolean((_a = this.transactionInfo) === null || _a === void 0 ? void 0 : _a.countryCode);
|
|
874
|
+
const hasTxnCurrency = Boolean((_b = this.transactionInfo) === null || _b === void 0 ? void 0 : _b.currencyCode);
|
|
875
|
+
const hasTxnTotal = Boolean((_c = this.transactionInfo) === null || _c === void 0 ? void 0 : _c.totalPrice);
|
|
876
|
+
const hasMerchantName = Boolean((_d = this.merchantInfo) === null || _d === void 0 ? void 0 : _d.merchantName);
|
|
877
|
+
return (hasApiVersion &&
|
|
878
|
+
hasApiVersionMinor &&
|
|
879
|
+
hasAllowedMethods &&
|
|
880
|
+
hasTxnCountry &&
|
|
881
|
+
hasTxnCurrency &&
|
|
882
|
+
hasTxnTotal &&
|
|
883
|
+
hasMerchantName);
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
class GooglePayHelpers {
|
|
887
|
+
/**
|
|
888
|
+
* Check if Google Pay is supported in the current environment
|
|
889
|
+
*/
|
|
890
|
+
static isGooglePaySupported() {
|
|
891
|
+
return (typeof window !== 'undefined' &&
|
|
892
|
+
'google' in window &&
|
|
893
|
+
'payments' in window.google &&
|
|
894
|
+
'api' in window.google.payments);
|
|
895
|
+
}
|
|
896
|
+
/**
|
|
897
|
+
* Create a Google Pay client instance
|
|
898
|
+
*/
|
|
899
|
+
static createGooglePayClient(environment) {
|
|
900
|
+
if (!this.isGooglePaySupported()) {
|
|
901
|
+
return null;
|
|
902
|
+
}
|
|
903
|
+
try {
|
|
904
|
+
return new window.google.payments.api.PaymentsClient({
|
|
905
|
+
environment: environment === exports.GooglePayEnvironment.PRODUCTION
|
|
906
|
+
? 'PRODUCTION'
|
|
907
|
+
: 'TEST',
|
|
908
|
+
});
|
|
909
|
+
}
|
|
910
|
+
catch (_error) {
|
|
911
|
+
return null;
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
/**
|
|
915
|
+
* Format amount for Google Pay (expects string in full currency units)
|
|
916
|
+
*/
|
|
917
|
+
static formatAmount(amount) {
|
|
918
|
+
return (amount / 100).toFixed(2);
|
|
919
|
+
}
|
|
920
|
+
/**
|
|
921
|
+
* Parse amount from Google Pay format to cents
|
|
922
|
+
*/
|
|
923
|
+
static parseAmount(amount) {
|
|
924
|
+
return Math.round(parseFloat(amount) * 100);
|
|
925
|
+
}
|
|
926
|
+
/**
|
|
927
|
+
* Create a line item for Google Pay
|
|
928
|
+
*/
|
|
929
|
+
static createLineItem(label, amount, type = 'LINE_ITEM') {
|
|
930
|
+
return {
|
|
931
|
+
label,
|
|
932
|
+
price: this.formatAmount(amount),
|
|
933
|
+
type,
|
|
934
|
+
};
|
|
935
|
+
}
|
|
936
|
+
/**
|
|
937
|
+
* Get default supported card networks
|
|
938
|
+
*/
|
|
939
|
+
static getDefaultSupportedNetworks() {
|
|
940
|
+
return ['VISA', 'MASTERCARD', 'AMEX', 'DISCOVER'];
|
|
941
|
+
}
|
|
942
|
+
/**
|
|
943
|
+
* Get default allowed authentication methods
|
|
944
|
+
*/
|
|
945
|
+
static getDefaultAuthMethods() {
|
|
946
|
+
return ['CRYPTOGRAM_3DS', 'PAN_ONLY'];
|
|
947
|
+
}
|
|
948
|
+
/**
|
|
949
|
+
* Create default card parameters
|
|
950
|
+
*/
|
|
951
|
+
static createDefaultCardParameters() {
|
|
952
|
+
return {
|
|
953
|
+
allowedAuthMethods: this.getDefaultAuthMethods(),
|
|
954
|
+
allowedCardNetworks: this.getDefaultSupportedNetworks(),
|
|
955
|
+
billingAddressRequired: false,
|
|
956
|
+
};
|
|
957
|
+
}
|
|
958
|
+
/**
|
|
959
|
+
* Create default tokenization specification
|
|
960
|
+
*/
|
|
961
|
+
static createTokenizationSpecification() {
|
|
962
|
+
return {
|
|
963
|
+
type: 'PAYMENT_GATEWAY',
|
|
964
|
+
parameters: {
|
|
965
|
+
gateway: 'justifi',
|
|
966
|
+
gatewayMerchantId: checkoutStore.accountId,
|
|
967
|
+
},
|
|
968
|
+
};
|
|
969
|
+
}
|
|
970
|
+
/**
|
|
971
|
+
* Create default payment method data
|
|
972
|
+
*/
|
|
973
|
+
static createPaymentMethodData() {
|
|
974
|
+
return {
|
|
975
|
+
type: 'CARD',
|
|
976
|
+
parameters: this.createDefaultCardParameters(),
|
|
977
|
+
tokenizationSpecification: this.createTokenizationSpecification(),
|
|
978
|
+
};
|
|
979
|
+
}
|
|
980
|
+
/**
|
|
981
|
+
* Create base payment data request check
|
|
982
|
+
*/
|
|
983
|
+
static createBasePaymentDataRequest() {
|
|
984
|
+
const base = {
|
|
985
|
+
apiVersion: 2,
|
|
986
|
+
apiVersionMinor: 0,
|
|
987
|
+
allowedPaymentMethods: [this.createPaymentMethodData()],
|
|
988
|
+
};
|
|
989
|
+
// For development and broader availability of the button, do not require an existing card
|
|
990
|
+
// This allows isReadyToPay to return true on supported browsers even without a saved payment method
|
|
991
|
+
base.existingPaymentMethodRequired = false;
|
|
992
|
+
return base;
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
exports.ApplePayConfig = ApplePayConfig;
|
|
997
|
+
exports.ApplePayHelpers = ApplePayHelpers;
|
|
998
|
+
exports.ApplePayPaymentRequest = ApplePayPaymentRequest;
|
|
592
999
|
exports.Checkout = Checkout;
|
|
593
1000
|
exports.EntityDocument = EntityDocument;
|
|
594
1001
|
exports.EntityDocumentStorage = EntityDocumentStorage;
|
|
1002
|
+
exports.GooglePayConfig = GooglePayConfig;
|
|
1003
|
+
exports.GooglePayHelpers = GooglePayHelpers;
|
|
1004
|
+
exports.GooglePayPaymentDataRequest = GooglePayPaymentDataRequest;
|
|
595
1005
|
exports.Payment = Payment;
|
|
596
1006
|
exports.PaymentBalanceTransaction = PaymentBalanceTransaction;
|
|
597
1007
|
exports.Payout = Payout;
|
|
@@ -601,3 +1011,8 @@ exports.SubAccount = SubAccount;
|
|
|
601
1011
|
exports.Terminal = Terminal;
|
|
602
1012
|
exports.TerminalModel = TerminalModel;
|
|
603
1013
|
exports.TerminalOrder = TerminalOrder;
|
|
1014
|
+
exports.checkoutStore = checkoutStore;
|
|
1015
|
+
exports.getAvailablePaymentMethodTypes = getAvailablePaymentMethodTypes;
|
|
1016
|
+
exports.getCheckoutState = getCheckoutState;
|
|
1017
|
+
exports.onAnyChange = onAnyChange;
|
|
1018
|
+
exports.onChange = onChange;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BhI7cJcE.js');
|
|
4
|
-
var utils$1 = require('./utils-
|
|
4
|
+
var utils$1 = require('./utils-CMiA4X7s.js');
|
|
5
5
|
var utils = require('./utils-D4WPxuzW.js');
|
|
6
|
-
require('./parts-
|
|
6
|
+
require('./parts-BVbaniVM.js');
|
|
7
7
|
require('./dinero-BwNN_k7x.js');
|
|
8
8
|
|
|
9
9
|
const AdditionalQuestionsDetails = class {
|
|
@@ -4,24 +4,25 @@ var index = require('./index-BhI7cJcE.js');
|
|
|
4
4
|
require('./config-state-CYoBVAca.js');
|
|
5
5
|
require('./dinero-BwNN_k7x.js');
|
|
6
6
|
require('./ComponentError-D4OLnOkg.js');
|
|
7
|
-
var
|
|
7
|
+
var GooglePay = require('./GooglePay-BwiJ_80p.js');
|
|
8
8
|
require('./Pagination-Dediz133.js');
|
|
9
9
|
require('./Business-DWHy_-z9.js');
|
|
10
10
|
require('./Dispute-CruQTF6_.js');
|
|
11
11
|
var businessFormOptions = require('./business-form-options-e9UFw4P-.js');
|
|
12
12
|
require('./event-types-DNOUef41.js');
|
|
13
13
|
var utils = require('./utils-DAyWinG2.js');
|
|
14
|
-
var parts = require('./parts-
|
|
14
|
+
var parts = require('./parts-BVbaniVM.js');
|
|
15
15
|
var utils$1 = require('./utils-D4WPxuzW.js');
|
|
16
|
-
var skeleton = require('./skeleton-
|
|
16
|
+
var skeleton = require('./skeleton-B8dzxFFr.js');
|
|
17
17
|
require('./event-types-YOY5TKUN.js');
|
|
18
|
-
var formControlErrorText = require('./form-control-error-text-
|
|
18
|
+
var formControlErrorText = require('./form-control-error-text-Dg_65HGK.js');
|
|
19
19
|
var inputHandlers = require('./input-handlers-D6QMwPTB.js');
|
|
20
20
|
var formInputMasks = require('./form-input-masks-BnNFJ3IJ.js');
|
|
21
21
|
var countryConfig = require('./country-config-MCOhn8o3.js');
|
|
22
22
|
var paymentProvisioningActions = require('./payment-provisioning-actions-CZVlnRA0.js');
|
|
23
|
-
var business_service = require('./business.service-
|
|
23
|
+
var business_service = require('./business.service-q93NsTG_.js');
|
|
24
24
|
require('./index-mmd0OhmD.js');
|
|
25
|
+
require('./index-CajjbB9t.js');
|
|
25
26
|
require('./utils-DvUQQLmR.js');
|
|
26
27
|
require('./Api-QUTWjGTy.js');
|
|
27
28
|
|
|
@@ -30,7 +31,7 @@ const BankAccountDocumentFormInputs = class {
|
|
|
30
31
|
index.registerInstance(this, hostRef);
|
|
31
32
|
}
|
|
32
33
|
render() {
|
|
33
|
-
return (index.h("div", { key: '86e292154357fdee7348377c1c640135bdab2bea', class: "row gy-3" }, index.h("div", { key: 'f35d977767de04b8d2be2886dcdb6158aa39e582', class: "col-12" }, index.h("form-control-file", { key: 'f78667ccdc39d1337f806a77e24b14ef9d59467e', name: "voided_check", label: "Voided Check", documentType:
|
|
34
|
+
return (index.h("div", { key: '86e292154357fdee7348377c1c640135bdab2bea', class: "row gy-3" }, index.h("div", { key: 'f35d977767de04b8d2be2886dcdb6158aa39e582', class: "col-12" }, index.h("form-control-file", { key: 'f78667ccdc39d1337f806a77e24b14ef9d59467e', name: "voided_check", label: "Voided Check", documentType: GooglePay.EntityDocumentType.voidedCheck, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["voided_check"], multiple: true })), index.h("div", { key: 'caaee3e795369cf8ba6e3c1bbe2fae7421b2ac80', class: "col-12" }, index.h("form-control-file", { key: '67bbe7631b48b4f851a33d63949b8e77d3b1c82d', name: "bank_statement", label: "Bank Statement", documentType: GooglePay.EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
|
|
34
35
|
}
|
|
35
36
|
};
|
|
36
37
|
|
|
@@ -123,10 +124,10 @@ const FileInput = class {
|
|
|
123
124
|
return part;
|
|
124
125
|
}
|
|
125
126
|
render() {
|
|
126
|
-
return (index.h(index.Host, { key: '
|
|
127
|
+
return (index.h(index.Host, { key: '95a6b4192008faa7a9e0e012dda864d3a62c15dd' }, index.h("div", { key: '34d5ffd4bc5ab846c1c60487bd6ffe14d5de620e', class: "form-group d-flex flex-column" }, index.h("div", { key: 'd6c2b6d31464540a698b711e01fc7d3da6fa5210', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '64105650845148fe40ae8730de602eb90f4aa5b0', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '5683cd62fa425e340e68267091f188dbacad5d33', helpText: this.helpText })), index.h("input", { key: 'dec6fca61cc0a50f3604e25990326faec0498fe2', 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: () => {
|
|
127
128
|
this.isFocused = false;
|
|
128
129
|
this.formControlBlur.emit();
|
|
129
|
-
} }), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
130
|
+
} }), index.h(formControlErrorText.FormControlErrorText, { key: '31b57ac83f65fddac21f749e5655a43b9d01c73e', errorText: this.errorText, name: this.name }))));
|
|
130
131
|
}
|
|
131
132
|
get el() { return index.getElement(this); }
|
|
132
133
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BhI7cJcE.js');
|
|
4
|
-
var skeleton = require('./skeleton-
|
|
4
|
+
var skeleton = require('./skeleton-B8dzxFFr.js');
|
|
5
5
|
var configState = require('./config-state-CYoBVAca.js');
|
|
6
6
|
var utils = require('./utils-D4WPxuzW.js');
|
|
7
|
-
require('./parts-
|
|
7
|
+
require('./parts-BVbaniVM.js');
|
|
8
8
|
require('./index-mmd0OhmD.js');
|
|
9
9
|
require('./dinero-BwNN_k7x.js');
|
|
10
10
|
|
|
@@ -48,10 +48,10 @@ const BankAccountForm = class {
|
|
|
48
48
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (index.h(index.Host, { key: '
|
|
51
|
+
return (index.h(index.Host, { key: '32cfa049dff176af26d2a4bcb86c440a99bc8668' }, index.h(BankAccountFormSkeleton, { key: '8382fc8ff7726e245245db06b01fdc253d43328e', isReady: this.isReady }), index.h("div", { key: '83f16d13bb8c338dd859a60a7bd63edbb8f703b6', class: "container-fluid p-0", style: {
|
|
52
52
|
opacity: this.isReady ? '1' : '0',
|
|
53
53
|
height: this.isReady ? 'auto' : '0',
|
|
54
|
-
} }, index.h("div", { key: '
|
|
54
|
+
} }, index.h("div", { key: 'ff5a4020f51e917874583036ef3b50d9496a393e', class: "row mb-3" }, index.h("iframe-input", { key: '334cd1bbdb23cb1d4ae5df1f89737913209fd1c1', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), index.h("div", { key: '65a00ea0fe1202240a2641b40d5f0455483746ff', class: "row" }, index.h("iframe-input", { key: 'c8dda20444c7f6494fad1377cc556676e1d7dc54', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BhI7cJcE.js');
|
|
4
|
-
var utils = require('./utils-
|
|
4
|
+
var utils = require('./utils-CMiA4X7s.js');
|
|
5
5
|
var styledHost = require('./styled-host-D5g7INLE.js');
|
|
6
6
|
require('./event-types-YOY5TKUN.js');
|
|
7
|
-
var skeleton = require('./skeleton-
|
|
8
|
-
require('./parts-
|
|
7
|
+
var skeleton = require('./skeleton-B8dzxFFr.js');
|
|
8
|
+
require('./parts-BVbaniVM.js');
|
|
9
9
|
|
|
10
10
|
const BusinessDetailsLoading = () => {
|
|
11
11
|
const Block = () => (index.h("div", { class: "mt-5" }, index.h(skeleton.Skeleton, { width: "40%", height: "1.5rem" }), index.h("hr", null), index.h("div", { class: "row g-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null)), index.h("div", { class: "col-12 col-md-6" }, index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null)))));
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var Api = require('./Api-QUTWjGTy.js');
|
|
4
4
|
require('./ComponentError-D4OLnOkg.js');
|
|
5
|
-
require('./
|
|
5
|
+
require('./GooglePay-BwiJ_80p.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
7
|
require('./Business-DWHy_-z9.js');
|
|
8
8
|
require('./Dispute-CruQTF6_.js');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BhI7cJcE.js');
|
|
4
|
-
var parts = require('./parts-
|
|
4
|
+
var parts = require('./parts-BVbaniVM.js');
|
|
5
5
|
|
|
6
6
|
const ButtonSpinner = () => (index.h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" }, index.h("span", { class: "visually-hidden" }, "Loading...")));
|
|
7
7
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BhI7cJcE.js');
|
|
4
|
-
var skeleton = require('./skeleton-
|
|
4
|
+
var skeleton = require('./skeleton-B8dzxFFr.js');
|
|
5
5
|
var configState = require('./config-state-CYoBVAca.js');
|
|
6
6
|
var utils = require('./utils-D4WPxuzW.js');
|
|
7
|
-
require('./parts-
|
|
7
|
+
require('./parts-BVbaniVM.js');
|
|
8
8
|
require('./index-mmd0OhmD.js');
|
|
9
9
|
require('./dinero-BwNN_k7x.js');
|
|
10
10
|
|
|
@@ -52,10 +52,10 @@ const CardForm = class {
|
|
|
52
52
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (index.h(index.Host, { key: '
|
|
55
|
+
return (index.h(index.Host, { key: '171cb8db5cce1778ef5f590c6b4d72f327c37bad' }, index.h(CardFormSkeleton, { key: '084ed0d409f1e747a95578060626d1704fefb783', isReady: this.isReady }), index.h("div", { key: 'ccf225f0f420a22cc1cffb1d7f9dc51fe92612ee', class: "container-fluid p-0", style: {
|
|
56
56
|
opacity: this.isReady ? '1' : '0',
|
|
57
57
|
height: this.isReady ? 'auto' : '0',
|
|
58
|
-
} }, index.h("div", { key: '
|
|
58
|
+
} }, index.h("div", { key: '7e7599c24e95a364f1011ed8f8ba2e387f4bc184', class: "mb-3" }, index.h("iframe-input", { key: '5ec2f426a232a8c1387e7e54f7321672e16a230c', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), index.h("div", { key: 'bbf1284e4bd2213cf48eb64b88c5ecd5492c51e5', class: "d-flex align-items-start" }, index.h("div", { key: '70bf0e98c9c99913773ebcd5b6b9e88679779d6f', class: "flex-fill me-3" }, index.h("iframe-input", { key: 'b0ed2bbe9a63b83810fa170350cc28e777bc0509', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), index.h("div", { key: '4d6592dc2f6dea2d2d4ddb8667681576817e6c98', class: "flex-fill me-3" }, index.h("iframe-input", { key: '34dabee2355d51ca1175af9a084188a6d44714df', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), index.h("div", { key: 'c3afab4dea5e93edca3a0372d397afd8ef937de1', class: "flex-fill" }, index.h("iframe-input", { key: '0777691de3a8e12338a9c9b967ce3f20f675c6b3', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _package = require('./package-
|
|
3
|
+
var _package = require('./package-C9E_BIbT.js');
|
|
4
4
|
var Api = require('./Api-QUTWjGTy.js');
|
|
5
5
|
require('./ComponentError-D4OLnOkg.js');
|
|
6
|
-
require('./
|
|
6
|
+
require('./GooglePay-BwiJ_80p.js');
|
|
7
7
|
require('./Pagination-Dediz133.js');
|
|
8
8
|
require('./Business-DWHy_-z9.js');
|
|
9
9
|
require('./Dispute-CruQTF6_.js');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var Api = require('./Api-QUTWjGTy.js');
|
|
4
4
|
require('./ComponentError-D4OLnOkg.js');
|
|
5
|
-
require('./
|
|
5
|
+
require('./GooglePay-BwiJ_80p.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
7
|
require('./Business-DWHy_-z9.js');
|
|
8
8
|
require('./Dispute-CruQTF6_.js');
|