@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
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { f as formatCurrency } from './utils-CDaVtz_6.js';
|
|
2
2
|
import { a as DisputeStatus } from './Dispute-BH0Xfn-F.js';
|
|
3
|
+
import { c as createStore } from './index-B-fWxE5e.js';
|
|
4
|
+
import { P as PAYMENT_METHODS } from './index-DkoufM1t.js';
|
|
3
5
|
|
|
4
6
|
class Completion {
|
|
5
7
|
constructor(data) {
|
|
@@ -587,4 +589,406 @@ class RefundPayload {
|
|
|
587
589
|
}
|
|
588
590
|
}
|
|
589
591
|
|
|
590
|
-
|
|
592
|
+
var ApplePaySessionStatus;
|
|
593
|
+
(function (ApplePaySessionStatus) {
|
|
594
|
+
ApplePaySessionStatus["STATUS_SUCCESS"] = "STATUS_SUCCESS";
|
|
595
|
+
ApplePaySessionStatus["STATUS_FAILURE"] = "STATUS_FAILURE";
|
|
596
|
+
})(ApplePaySessionStatus || (ApplePaySessionStatus = {}));
|
|
597
|
+
var ApplePayButtonType;
|
|
598
|
+
(function (ApplePayButtonType) {
|
|
599
|
+
ApplePayButtonType["PLAIN"] = "plain";
|
|
600
|
+
ApplePayButtonType["BUY"] = "buy";
|
|
601
|
+
ApplePayButtonType["SET_UP"] = "set-up";
|
|
602
|
+
ApplePayButtonType["DONATE"] = "donate";
|
|
603
|
+
ApplePayButtonType["CHECK_OUT"] = "check-out";
|
|
604
|
+
ApplePayButtonType["BOOK"] = "book";
|
|
605
|
+
ApplePayButtonType["SUBSCRIBE"] = "subscribe";
|
|
606
|
+
})(ApplePayButtonType || (ApplePayButtonType = {}));
|
|
607
|
+
var ApplePayButtonStyle;
|
|
608
|
+
(function (ApplePayButtonStyle) {
|
|
609
|
+
ApplePayButtonStyle["BLACK"] = "black";
|
|
610
|
+
ApplePayButtonStyle["WHITE"] = "white";
|
|
611
|
+
ApplePayButtonStyle["WHITE_OUTLINE"] = "white-outline";
|
|
612
|
+
})(ApplePayButtonStyle || (ApplePayButtonStyle = {}));
|
|
613
|
+
var ApplePayMerchantCapability;
|
|
614
|
+
(function (ApplePayMerchantCapability) {
|
|
615
|
+
ApplePayMerchantCapability["SUPPORTS_3DS"] = "supports3DS";
|
|
616
|
+
ApplePayMerchantCapability["SUPPORTS_EMV"] = "supportsEMV";
|
|
617
|
+
ApplePayMerchantCapability["SUPPORTS_CREDIT"] = "supportsCredit";
|
|
618
|
+
ApplePayMerchantCapability["SUPPORTS_DEBIT"] = "supportsDebit";
|
|
619
|
+
})(ApplePayMerchantCapability || (ApplePayMerchantCapability = {}));
|
|
620
|
+
class ApplePayConfig {
|
|
621
|
+
constructor(data) {
|
|
622
|
+
this.merchantIdentifier = data.merchantIdentifier;
|
|
623
|
+
this.displayName = data.displayName;
|
|
624
|
+
this.initiative = data.initiative;
|
|
625
|
+
this.initiativeContext = data.initiativeContext;
|
|
626
|
+
this.buttonType = data.buttonType || ApplePayButtonType.PLAIN;
|
|
627
|
+
this.buttonStyle = data.buttonStyle || ApplePayButtonStyle.BLACK;
|
|
628
|
+
this.buttonLocale = data.buttonLocale || 'en-US';
|
|
629
|
+
}
|
|
630
|
+
get isValid() {
|
|
631
|
+
return !!(this.merchantIdentifier &&
|
|
632
|
+
this.displayName &&
|
|
633
|
+
this.initiative &&
|
|
634
|
+
this.initiativeContext);
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
class ApplePayPaymentRequest {
|
|
638
|
+
constructor(data) {
|
|
639
|
+
this.countryCode = data.countryCode;
|
|
640
|
+
this.currencyCode = data.currencyCode;
|
|
641
|
+
this.merchantCapabilities = data.merchantCapabilities;
|
|
642
|
+
this.supportedNetworks = data.supportedNetworks;
|
|
643
|
+
this.total = data.total;
|
|
644
|
+
this.lineItems = data.lineItems;
|
|
645
|
+
this.shippingMethods = data.shippingMethods;
|
|
646
|
+
this.applicationData = data.applicationData;
|
|
647
|
+
this.supportedCountries = data.supportedCountries;
|
|
648
|
+
}
|
|
649
|
+
get isValid() {
|
|
650
|
+
var _a, _b, _c, _d;
|
|
651
|
+
return !!(this.countryCode &&
|
|
652
|
+
this.currencyCode &&
|
|
653
|
+
((_a = this.merchantCapabilities) === null || _a === void 0 ? void 0 : _a.length) &&
|
|
654
|
+
((_b = this.supportedNetworks) === null || _b === void 0 ? void 0 : _b.length) &&
|
|
655
|
+
((_c = this.total) === null || _c === void 0 ? void 0 : _c.label) &&
|
|
656
|
+
((_d = this.total) === null || _d === void 0 ? void 0 : _d.amount));
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
class ApplePayHelpers {
|
|
660
|
+
static isApplePaySupported() {
|
|
661
|
+
var _a;
|
|
662
|
+
return (typeof window !== 'undefined' &&
|
|
663
|
+
'ApplePaySession' in window &&
|
|
664
|
+
((_a = window.ApplePaySession) === null || _a === void 0 ? void 0 : _a.supportsVersion(3)));
|
|
665
|
+
}
|
|
666
|
+
static canMakePayments() {
|
|
667
|
+
var _a;
|
|
668
|
+
if (!this.isApplePaySupported()) {
|
|
669
|
+
return false;
|
|
670
|
+
}
|
|
671
|
+
return ((_a = window.ApplePaySession) === null || _a === void 0 ? void 0 : _a.canMakePayments()) || false;
|
|
672
|
+
}
|
|
673
|
+
static async canMakePaymentsWithActiveCard(merchantIdentifier) {
|
|
674
|
+
var _a;
|
|
675
|
+
if (!this.isApplePaySupported()) {
|
|
676
|
+
return false;
|
|
677
|
+
}
|
|
678
|
+
try {
|
|
679
|
+
return ((await ((_a = window.ApplePaySession) === null || _a === void 0 ? void 0 : _a.canMakePaymentsWithActiveCard(merchantIdentifier))) || false);
|
|
680
|
+
}
|
|
681
|
+
catch (error) {
|
|
682
|
+
console.error('Error checking Apple Pay active card:', error);
|
|
683
|
+
return false;
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
static formatAmount(amount) {
|
|
687
|
+
return (amount / 100).toFixed(2);
|
|
688
|
+
}
|
|
689
|
+
static parseAmount(amount) {
|
|
690
|
+
return Math.round(parseFloat(amount) * 100);
|
|
691
|
+
}
|
|
692
|
+
static createLineItem(label, amount, type = 'final') {
|
|
693
|
+
return {
|
|
694
|
+
label,
|
|
695
|
+
amount: this.formatAmount(amount),
|
|
696
|
+
type,
|
|
697
|
+
};
|
|
698
|
+
}
|
|
699
|
+
static getDefaultSupportedNetworks() {
|
|
700
|
+
return ['amex', 'discover', 'masterCard', 'visa'];
|
|
701
|
+
}
|
|
702
|
+
static getDefaultMerchantCapabilities() {
|
|
703
|
+
return [
|
|
704
|
+
ApplePayMerchantCapability.SUPPORTS_3DS,
|
|
705
|
+
ApplePayMerchantCapability.SUPPORTS_EMV,
|
|
706
|
+
ApplePayMerchantCapability.SUPPORTS_CREDIT,
|
|
707
|
+
ApplePayMerchantCapability.SUPPORTS_DEBIT,
|
|
708
|
+
];
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
const initialState = {
|
|
713
|
+
accountId: '',
|
|
714
|
+
authToken: '',
|
|
715
|
+
billingFormFields: {
|
|
716
|
+
address_postal_code: '',
|
|
717
|
+
},
|
|
718
|
+
bnplEnabled: false,
|
|
719
|
+
applePayEnabled: false,
|
|
720
|
+
googlePayEnabled: false,
|
|
721
|
+
insuranceEnabled: false,
|
|
722
|
+
bnplProviderApiVersion: '',
|
|
723
|
+
bnplProviderCheckoutUrl: '',
|
|
724
|
+
bnplProviderClientId: '',
|
|
725
|
+
bnplProviderMode: '',
|
|
726
|
+
checkoutId: '',
|
|
727
|
+
checkoutLoaded: false,
|
|
728
|
+
bankAccountVerification: undefined,
|
|
729
|
+
disableBankAccount: false,
|
|
730
|
+
disableCreditCard: false,
|
|
731
|
+
disablePaymentMethodGroup: false,
|
|
732
|
+
paymentAmount: 0,
|
|
733
|
+
paymentCurrency: 'USD',
|
|
734
|
+
paymentDescription: '',
|
|
735
|
+
paymentMethodGroupId: undefined,
|
|
736
|
+
paymentMethods: [],
|
|
737
|
+
paymentToken: undefined,
|
|
738
|
+
savePaymentMethod: false,
|
|
739
|
+
selectedPaymentMethod: undefined,
|
|
740
|
+
totalAmount: 0,
|
|
741
|
+
plaidPublicToken: undefined,
|
|
742
|
+
plaidLinkTokenId: undefined,
|
|
743
|
+
};
|
|
744
|
+
const { state: checkoutStore, onChange } = createStore(initialState);
|
|
745
|
+
Object.keys(initialState).forEach((key) => {
|
|
746
|
+
// @ts-ignore
|
|
747
|
+
onChange(key, (newValue) => {
|
|
748
|
+
checkoutStore[key] = newValue;
|
|
749
|
+
});
|
|
750
|
+
});
|
|
751
|
+
// Helper: compute available payment methods based on store flags
|
|
752
|
+
function getAvailablePaymentMethodTypes() {
|
|
753
|
+
var _a;
|
|
754
|
+
const methods = [];
|
|
755
|
+
if (!checkoutStore.disablePaymentMethodGroup &&
|
|
756
|
+
((_a = checkoutStore.paymentMethods) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
757
|
+
const hasSavedCard = checkoutStore.paymentMethods.some((pm) => pm.type === PAYMENT_METHODS.SAVED_CARD);
|
|
758
|
+
const hasSavedBank = checkoutStore.paymentMethods.some((pm) => pm.type === PAYMENT_METHODS.SAVED_BANK_ACCOUNT);
|
|
759
|
+
if (hasSavedCard && !checkoutStore.disableCreditCard) {
|
|
760
|
+
methods.push(PAYMENT_METHODS.SAVED_CARD);
|
|
761
|
+
}
|
|
762
|
+
if (hasSavedBank && !checkoutStore.disableBankAccount) {
|
|
763
|
+
methods.push(PAYMENT_METHODS.SAVED_BANK_ACCOUNT);
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
if (!checkoutStore.disableCreditCard) {
|
|
767
|
+
methods.push(PAYMENT_METHODS.NEW_CARD);
|
|
768
|
+
}
|
|
769
|
+
if (!checkoutStore.disableBankAccount) {
|
|
770
|
+
methods.push(PAYMENT_METHODS.NEW_BANK_ACCOUNT);
|
|
771
|
+
}
|
|
772
|
+
if (checkoutStore.bnplEnabled) {
|
|
773
|
+
methods.push(PAYMENT_METHODS.SEZZLE);
|
|
774
|
+
}
|
|
775
|
+
if (checkoutStore.applePayEnabled) {
|
|
776
|
+
methods.push(PAYMENT_METHODS.APPLE_PAY);
|
|
777
|
+
}
|
|
778
|
+
if (checkoutStore.googlePayEnabled) {
|
|
779
|
+
methods.push(PAYMENT_METHODS.GOOGLE_PAY);
|
|
780
|
+
}
|
|
781
|
+
if (checkoutStore.bankAccountVerification === true &&
|
|
782
|
+
!checkoutStore.disableBankAccount) {
|
|
783
|
+
methods.push(PAYMENT_METHODS.PLAID);
|
|
784
|
+
}
|
|
785
|
+
return methods;
|
|
786
|
+
}
|
|
787
|
+
function getCheckoutState() {
|
|
788
|
+
var _a;
|
|
789
|
+
return {
|
|
790
|
+
selectedPaymentMethod: checkoutStore.selectedPaymentMethod,
|
|
791
|
+
paymentAmount: checkoutStore.paymentAmount,
|
|
792
|
+
totalAmount: checkoutStore.totalAmount,
|
|
793
|
+
paymentCurrency: checkoutStore.paymentCurrency,
|
|
794
|
+
paymentDescription: checkoutStore.paymentDescription,
|
|
795
|
+
savedPaymentMethods: checkoutStore.paymentMethods,
|
|
796
|
+
savePaymentMethod: checkoutStore.savePaymentMethod,
|
|
797
|
+
bnplEnabled: checkoutStore.bnplEnabled,
|
|
798
|
+
applePayEnabled: checkoutStore.applePayEnabled,
|
|
799
|
+
insuranceEnabled: checkoutStore.insuranceEnabled,
|
|
800
|
+
disableBankAccount: checkoutStore.disableBankAccount,
|
|
801
|
+
disableCreditCard: checkoutStore.disableCreditCard,
|
|
802
|
+
disablePaymentMethodGroup: checkoutStore.disablePaymentMethodGroup,
|
|
803
|
+
paymentToken: (_a = checkoutStore.paymentToken) !== null && _a !== void 0 ? _a : undefined,
|
|
804
|
+
};
|
|
805
|
+
}
|
|
806
|
+
function onAnyChange(callback) {
|
|
807
|
+
Object.keys(initialState).forEach((key) => {
|
|
808
|
+
// @ts-ignore - onChange is generically typed by stencil/store but not exported here
|
|
809
|
+
onChange(key, (newValue) => callback(key, newValue));
|
|
810
|
+
});
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
var GooglePayButtonType;
|
|
814
|
+
(function (GooglePayButtonType) {
|
|
815
|
+
GooglePayButtonType["PLAIN"] = "plain";
|
|
816
|
+
GooglePayButtonType["BUY"] = "buy";
|
|
817
|
+
GooglePayButtonType["BOOK"] = "book";
|
|
818
|
+
GooglePayButtonType["CHECKOUT"] = "checkout";
|
|
819
|
+
GooglePayButtonType["DONATE"] = "donate";
|
|
820
|
+
GooglePayButtonType["ORDER"] = "order";
|
|
821
|
+
GooglePayButtonType["PAY"] = "pay";
|
|
822
|
+
GooglePayButtonType["SUBSCRIBE"] = "subscribe";
|
|
823
|
+
})(GooglePayButtonType || (GooglePayButtonType = {}));
|
|
824
|
+
var GooglePayButtonStyle;
|
|
825
|
+
(function (GooglePayButtonStyle) {
|
|
826
|
+
GooglePayButtonStyle["BLACK"] = "black";
|
|
827
|
+
GooglePayButtonStyle["WHITE"] = "white";
|
|
828
|
+
})(GooglePayButtonStyle || (GooglePayButtonStyle = {}));
|
|
829
|
+
var GooglePayButtonSizeMode;
|
|
830
|
+
(function (GooglePayButtonSizeMode) {
|
|
831
|
+
GooglePayButtonSizeMode["STATIC"] = "static";
|
|
832
|
+
GooglePayButtonSizeMode["FILL"] = "fill";
|
|
833
|
+
})(GooglePayButtonSizeMode || (GooglePayButtonSizeMode = {}));
|
|
834
|
+
var GooglePayEnvironment;
|
|
835
|
+
(function (GooglePayEnvironment) {
|
|
836
|
+
GooglePayEnvironment["PRODUCTION"] = "PRODUCTION";
|
|
837
|
+
GooglePayEnvironment["TEST"] = "TEST";
|
|
838
|
+
})(GooglePayEnvironment || (GooglePayEnvironment = {}));
|
|
839
|
+
class GooglePayConfig {
|
|
840
|
+
constructor(data) {
|
|
841
|
+
this.environment = data.environment;
|
|
842
|
+
this.merchantId = data.merchantId;
|
|
843
|
+
this.merchantName = data.merchantName;
|
|
844
|
+
this.buttonType = data.buttonType || GooglePayButtonType.PLAIN;
|
|
845
|
+
this.buttonStyle = data.buttonStyle || GooglePayButtonStyle.BLACK;
|
|
846
|
+
this.buttonSizeMode = data.buttonSizeMode || GooglePayButtonSizeMode.STATIC;
|
|
847
|
+
this.buttonLocale = data.buttonLocale || 'en';
|
|
848
|
+
}
|
|
849
|
+
get isValid() {
|
|
850
|
+
return !!(this.environment && this.merchantName);
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
class GooglePayPaymentDataRequest {
|
|
854
|
+
constructor(data) {
|
|
855
|
+
this.apiVersion = data.apiVersion;
|
|
856
|
+
this.apiVersionMinor = data.apiVersionMinor;
|
|
857
|
+
this.allowedPaymentMethods = data.allowedPaymentMethods;
|
|
858
|
+
this.transactionInfo = data.transactionInfo;
|
|
859
|
+
this.merchantInfo = data.merchantInfo;
|
|
860
|
+
this.callbackIntents = data.callbackIntents;
|
|
861
|
+
this.shippingAddressRequired = data.shippingAddressRequired;
|
|
862
|
+
this.shippingAddressParameters = data.shippingAddressParameters;
|
|
863
|
+
this.emailRequired = data.emailRequired;
|
|
864
|
+
}
|
|
865
|
+
get isValid() {
|
|
866
|
+
var _a, _b, _c, _d;
|
|
867
|
+
const hasApiVersion = typeof this.apiVersion === 'number' && this.apiVersion > 0;
|
|
868
|
+
const hasApiVersionMinor = typeof this.apiVersionMinor === 'number' && this.apiVersionMinor >= 0;
|
|
869
|
+
const hasAllowedMethods = Array.isArray(this.allowedPaymentMethods) &&
|
|
870
|
+
this.allowedPaymentMethods.length > 0;
|
|
871
|
+
const hasTxnCountry = Boolean((_a = this.transactionInfo) === null || _a === void 0 ? void 0 : _a.countryCode);
|
|
872
|
+
const hasTxnCurrency = Boolean((_b = this.transactionInfo) === null || _b === void 0 ? void 0 : _b.currencyCode);
|
|
873
|
+
const hasTxnTotal = Boolean((_c = this.transactionInfo) === null || _c === void 0 ? void 0 : _c.totalPrice);
|
|
874
|
+
const hasMerchantName = Boolean((_d = this.merchantInfo) === null || _d === void 0 ? void 0 : _d.merchantName);
|
|
875
|
+
return (hasApiVersion &&
|
|
876
|
+
hasApiVersionMinor &&
|
|
877
|
+
hasAllowedMethods &&
|
|
878
|
+
hasTxnCountry &&
|
|
879
|
+
hasTxnCurrency &&
|
|
880
|
+
hasTxnTotal &&
|
|
881
|
+
hasMerchantName);
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
class GooglePayHelpers {
|
|
885
|
+
/**
|
|
886
|
+
* Check if Google Pay is supported in the current environment
|
|
887
|
+
*/
|
|
888
|
+
static isGooglePaySupported() {
|
|
889
|
+
return (typeof window !== 'undefined' &&
|
|
890
|
+
'google' in window &&
|
|
891
|
+
'payments' in window.google &&
|
|
892
|
+
'api' in window.google.payments);
|
|
893
|
+
}
|
|
894
|
+
/**
|
|
895
|
+
* Create a Google Pay client instance
|
|
896
|
+
*/
|
|
897
|
+
static createGooglePayClient(environment) {
|
|
898
|
+
if (!this.isGooglePaySupported()) {
|
|
899
|
+
return null;
|
|
900
|
+
}
|
|
901
|
+
try {
|
|
902
|
+
return new window.google.payments.api.PaymentsClient({
|
|
903
|
+
environment: environment === GooglePayEnvironment.PRODUCTION
|
|
904
|
+
? 'PRODUCTION'
|
|
905
|
+
: 'TEST',
|
|
906
|
+
});
|
|
907
|
+
}
|
|
908
|
+
catch (_error) {
|
|
909
|
+
return null;
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
/**
|
|
913
|
+
* Format amount for Google Pay (expects string in full currency units)
|
|
914
|
+
*/
|
|
915
|
+
static formatAmount(amount) {
|
|
916
|
+
return (amount / 100).toFixed(2);
|
|
917
|
+
}
|
|
918
|
+
/**
|
|
919
|
+
* Parse amount from Google Pay format to cents
|
|
920
|
+
*/
|
|
921
|
+
static parseAmount(amount) {
|
|
922
|
+
return Math.round(parseFloat(amount) * 100);
|
|
923
|
+
}
|
|
924
|
+
/**
|
|
925
|
+
* Create a line item for Google Pay
|
|
926
|
+
*/
|
|
927
|
+
static createLineItem(label, amount, type = 'LINE_ITEM') {
|
|
928
|
+
return {
|
|
929
|
+
label,
|
|
930
|
+
price: this.formatAmount(amount),
|
|
931
|
+
type,
|
|
932
|
+
};
|
|
933
|
+
}
|
|
934
|
+
/**
|
|
935
|
+
* Get default supported card networks
|
|
936
|
+
*/
|
|
937
|
+
static getDefaultSupportedNetworks() {
|
|
938
|
+
return ['VISA', 'MASTERCARD', 'AMEX', 'DISCOVER'];
|
|
939
|
+
}
|
|
940
|
+
/**
|
|
941
|
+
* Get default allowed authentication methods
|
|
942
|
+
*/
|
|
943
|
+
static getDefaultAuthMethods() {
|
|
944
|
+
return ['CRYPTOGRAM_3DS', 'PAN_ONLY'];
|
|
945
|
+
}
|
|
946
|
+
/**
|
|
947
|
+
* Create default card parameters
|
|
948
|
+
*/
|
|
949
|
+
static createDefaultCardParameters() {
|
|
950
|
+
return {
|
|
951
|
+
allowedAuthMethods: this.getDefaultAuthMethods(),
|
|
952
|
+
allowedCardNetworks: this.getDefaultSupportedNetworks(),
|
|
953
|
+
billingAddressRequired: false,
|
|
954
|
+
};
|
|
955
|
+
}
|
|
956
|
+
/**
|
|
957
|
+
* Create default tokenization specification
|
|
958
|
+
*/
|
|
959
|
+
static createTokenizationSpecification() {
|
|
960
|
+
return {
|
|
961
|
+
type: 'PAYMENT_GATEWAY',
|
|
962
|
+
parameters: {
|
|
963
|
+
gateway: 'justifi',
|
|
964
|
+
gatewayMerchantId: checkoutStore.accountId,
|
|
965
|
+
},
|
|
966
|
+
};
|
|
967
|
+
}
|
|
968
|
+
/**
|
|
969
|
+
* Create default payment method data
|
|
970
|
+
*/
|
|
971
|
+
static createPaymentMethodData() {
|
|
972
|
+
return {
|
|
973
|
+
type: 'CARD',
|
|
974
|
+
parameters: this.createDefaultCardParameters(),
|
|
975
|
+
tokenizationSpecification: this.createTokenizationSpecification(),
|
|
976
|
+
};
|
|
977
|
+
}
|
|
978
|
+
/**
|
|
979
|
+
* Create base payment data request check
|
|
980
|
+
*/
|
|
981
|
+
static createBasePaymentDataRequest() {
|
|
982
|
+
const base = {
|
|
983
|
+
apiVersion: 2,
|
|
984
|
+
apiVersionMinor: 0,
|
|
985
|
+
allowedPaymentMethods: [this.createPaymentMethodData()],
|
|
986
|
+
};
|
|
987
|
+
// For development and broader availability of the button, do not require an existing card
|
|
988
|
+
// This allows isReadyToPay to return true on supported browsers even without a saved payment method
|
|
989
|
+
base.existingPaymentMethodRequired = false;
|
|
990
|
+
return base;
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
export { ApplePayConfig as A, onChange as B, Checkout as C, onAnyChange as D, EntityDocumentType as E, getAvailablePaymentMethodTypes as F, GooglePayConfig as G, getCheckoutState as H, ICheckoutStatus as I, Payment as P, RefundReasons as R, SubAccount as S, TerminalOrderStatus as T, ICheckoutPaymentModeParam as a, TerminalOrderType as b, checkoutStore as c, ITerminalStatus as d, Payout as e, Terminal as f, PaymentStatuses as g, PaymentBalanceTransaction as h, PayoutBalanceTransaction as i, TerminalOrder as j, TerminalModel as k, RefundPayload as l, EntityDocumentStorage as m, EntityDocument as n, ApplePayHelpers as o, ApplePayPaymentRequest as p, ApplePaySessionStatus as q, ApplePayButtonStyle as r, ApplePayButtonType as s, ApplePayMerchantCapability as t, GooglePayHelpers as u, GooglePayPaymentDataRequest as v, GooglePayButtonSizeMode as w, GooglePayButtonStyle as x, GooglePayButtonType as y, GooglePayEnvironment as z };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-DwYM91AU.js';
|
|
2
|
-
import { c as DetailItem, D as DetailSectionTitle } from './utils-
|
|
2
|
+
import { c as DetailItem, D as DetailSectionTitle } from './utils-CgFsPVsv.js';
|
|
3
3
|
import { m as isEmptyObject, s as snakeCaseToHumanReadable, n as formatMediumDate } from './utils-CDaVtz_6.js';
|
|
4
|
-
import './parts-
|
|
4
|
+
import './parts-sA8HBfkI.js';
|
|
5
5
|
import './dinero-HXpYMWUU.js';
|
|
6
6
|
|
|
7
7
|
const AdditionalQuestionsDetails = class {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-DwYM91AU.js';
|
|
2
|
-
import {
|
|
2
|
+
import { L as badgeDark, M as badgeLight, N as badgeInfo, O as badgeWarning, P as badgeDanger, Q as badgeSuccess, R as badgeSecondary, S as badgePrimary, T as badge } from './parts-sA8HBfkI.js';
|
|
3
3
|
|
|
4
4
|
var BadgeVariant;
|
|
5
5
|
(function (BadgeVariant) {
|
|
@@ -2,24 +2,25 @@ import { r as registerInstance, h, H as Host, c as createEvent, g as getElement
|
|
|
2
2
|
import './config-state-C2NXATwF.js';
|
|
3
3
|
import './dinero-HXpYMWUU.js';
|
|
4
4
|
import './ComponentError-Cjcsf8ku.js';
|
|
5
|
-
import { E as EntityDocumentType } from './
|
|
5
|
+
import { E as EntityDocumentType } from './GooglePay-NNHE-OLJ.js';
|
|
6
6
|
import './Pagination-CLHwhyvu.js';
|
|
7
7
|
import './Business-B5rtFhtR.js';
|
|
8
8
|
import './Dispute-BH0Xfn-F.js';
|
|
9
9
|
import { a as bankAccountTypeOptions } from './business-form-options-D6s5H4RI.js';
|
|
10
10
|
import './event-types-XYgDHrVL.js';
|
|
11
11
|
import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
|
|
12
|
-
import {
|
|
12
|
+
import { G as text, a0 as card, J as heading2, ap as table, V as tableHeadCell, ay as tableCell, c as input, l as label, b as inputInvalid, X as inputDisabled, a as inputFocused, ah as buttonSecondary } from './parts-sA8HBfkI.js';
|
|
13
13
|
import { s as snakeCaseToHumanReadable, e as formatDate, d as formatTime } from './utils-CDaVtz_6.js';
|
|
14
|
-
import { S as Skeleton } from './skeleton-
|
|
14
|
+
import { S as Skeleton } from './skeleton-Dtt56Fl3.js';
|
|
15
15
|
import './event-types-CZfYo5-1.js';
|
|
16
|
-
import { F as FormControlErrorText } from './form-control-error-text-
|
|
16
|
+
import { F as FormControlErrorText } from './form-control-error-text-BZYykCDp.js';
|
|
17
17
|
import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers-D3y0TzH9.js';
|
|
18
18
|
import { P as PHONE_MASKS, I as IDENTITY_MASKS } from './form-input-masks-CVaOFfrI.js';
|
|
19
19
|
import { c as countryLabels } from './country-config-BQ4D46Lb.js';
|
|
20
20
|
import { c as makeGetIdentity, d as makePatchIdentity, e as makePostIdentity } from './payment-provisioning-actions-ONP8lDnV.js';
|
|
21
|
-
import { I as IdentityService } from './business.service-
|
|
21
|
+
import { I as IdentityService } from './business.service-BrUSam2T.js';
|
|
22
22
|
import './index-B-fWxE5e.js';
|
|
23
|
+
import './index-DkoufM1t.js';
|
|
23
24
|
import './utils-BeQLScSm.js';
|
|
24
25
|
import './Api-Dln8a6No.js';
|
|
25
26
|
|
|
@@ -121,10 +122,10 @@ const FileInput = class {
|
|
|
121
122
|
return part;
|
|
122
123
|
}
|
|
123
124
|
render() {
|
|
124
|
-
return (h(Host, { key: '
|
|
125
|
+
return (h(Host, { key: '95a6b4192008faa7a9e0e012dda864d3a62c15dd' }, h("div", { key: '34d5ffd4bc5ab846c1c60487bd6ffe14d5de620e', class: "form-group d-flex flex-column" }, h("div", { key: 'd6c2b6d31464540a698b711e01fc7d3da6fa5210', class: "d-flex align-items-start gap-2" }, h("label", { key: '64105650845148fe40ae8730de602eb90f4aa5b0', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '5683cd62fa425e340e68267091f188dbacad5d33', helpText: this.helpText })), 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: () => {
|
|
125
126
|
this.isFocused = false;
|
|
126
127
|
this.formControlBlur.emit();
|
|
127
|
-
} }), h(FormControlErrorText, { key: '
|
|
128
|
+
} }), h(FormControlErrorText, { key: '31b57ac83f65fddac21f749e5655a43b9d01c73e', errorText: this.errorText, name: this.name }))));
|
|
128
129
|
}
|
|
129
130
|
get el() { return getElement(this); }
|
|
130
131
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h, r as registerInstance, H as Host } from './index-DwYM91AU.js';
|
|
2
|
-
import { S as Skeleton } from './skeleton-
|
|
2
|
+
import { S as Skeleton } from './skeleton-Dtt56Fl3.js';
|
|
3
3
|
import { w as waitForConfig, c as configState } from './config-state-C2NXATwF.js';
|
|
4
4
|
import { b as generateTabId } from './utils-CDaVtz_6.js';
|
|
5
|
-
import './parts-
|
|
5
|
+
import './parts-sA8HBfkI.js';
|
|
6
6
|
import './index-B-fWxE5e.js';
|
|
7
7
|
import './dinero-HXpYMWUU.js';
|
|
8
8
|
|
|
@@ -46,10 +46,10 @@ const BankAccountForm = class {
|
|
|
46
46
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: '32cfa049dff176af26d2a4bcb86c440a99bc8668' }, h(BankAccountFormSkeleton, { key: '8382fc8ff7726e245245db06b01fdc253d43328e', isReady: this.isReady }), h("div", { key: '83f16d13bb8c338dd859a60a7bd63edbb8f703b6', class: "container-fluid p-0", style: {
|
|
50
50
|
opacity: this.isReady ? '1' : '0',
|
|
51
51
|
height: this.isReady ? 'auto' : '0',
|
|
52
|
-
} }, h("div", { key: '
|
|
52
|
+
} }, h("div", { key: 'ff5a4020f51e917874583036ef3b50d9496a393e', class: "row mb-3" }, h("iframe-input", { key: '334cd1bbdb23cb1d4ae5df1f89737913209fd1c1', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), h("div", { key: '65a00ea0fe1202240a2641b40d5f0455483746ff', class: "row" }, h("iframe-input", { key: 'c8dda20444c7f6494fad1377cc556676e1d7dc54', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h, F as Fragment, r as registerInstance, c as createEvent } from './index-DwYM91AU.js';
|
|
2
|
-
import { E as ErrorState } from './utils-
|
|
2
|
+
import { E as ErrorState } from './utils-CgFsPVsv.js';
|
|
3
3
|
import { S as StyledHost } from './styled-host-DhOcKWqZ.js';
|
|
4
4
|
import './event-types-CZfYo5-1.js';
|
|
5
|
-
import { S as Skeleton } from './skeleton-
|
|
6
|
-
import './parts-
|
|
5
|
+
import { S as Skeleton } from './skeleton-Dtt56Fl3.js';
|
|
6
|
+
import './parts-sA8HBfkI.js';
|
|
7
7
|
|
|
8
8
|
const BusinessDetailsLoading = () => {
|
|
9
9
|
const Block = () => (h("div", { class: "mt-5" }, h(Skeleton, { width: "40%", height: "1.5rem" }), h("hr", null), h("div", { class: "row g-3" }, h("div", { class: "col-12 col-md-6" }, h(Skeleton, null), h(Skeleton, null), h(Skeleton, null)), h("div", { class: "col-12 col-md-6" }, h(Skeleton, null), h(Skeleton, null), h(Skeleton, null)))));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-DwYM91AU.js';
|
|
2
|
-
import {
|
|
2
|
+
import { ah as buttonSecondary, ai as buttonPrimary, aj as buttonLoading } from './parts-sA8HBfkI.js';
|
|
3
3
|
|
|
4
4
|
const ButtonSpinner = () => (h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" }, h("span", { class: "visually-hidden" }, "Loading...")));
|
|
5
5
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h, r as registerInstance, H as Host } from './index-DwYM91AU.js';
|
|
2
|
-
import { S as Skeleton } from './skeleton-
|
|
2
|
+
import { S as Skeleton } from './skeleton-Dtt56Fl3.js';
|
|
3
3
|
import { w as waitForConfig, c as configState } from './config-state-C2NXATwF.js';
|
|
4
4
|
import { b as generateTabId } from './utils-CDaVtz_6.js';
|
|
5
|
-
import './parts-
|
|
5
|
+
import './parts-sA8HBfkI.js';
|
|
6
6
|
import './index-B-fWxE5e.js';
|
|
7
7
|
import './dinero-HXpYMWUU.js';
|
|
8
8
|
|
|
@@ -50,10 +50,10 @@ const CardForm = class {
|
|
|
50
50
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: '171cb8db5cce1778ef5f590c6b4d72f327c37bad' }, h(CardFormSkeleton, { key: '084ed0d409f1e747a95578060626d1704fefb783', isReady: this.isReady }), h("div", { key: 'ccf225f0f420a22cc1cffb1d7f9dc51fe92612ee', class: "container-fluid p-0", style: {
|
|
54
54
|
opacity: this.isReady ? '1' : '0',
|
|
55
55
|
height: this.isReady ? 'auto' : '0',
|
|
56
|
-
} }, h("div", { key: '
|
|
56
|
+
} }, h("div", { key: '7e7599c24e95a364f1011ed8f8ba2e387f4bc184', class: "mb-3" }, h("iframe-input", { key: '5ec2f426a232a8c1387e7e54f7321672e16a230c', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: 'bbf1284e4bd2213cf48eb64b88c5ecd5492c51e5', class: "d-flex align-items-start" }, h("div", { key: '70bf0e98c9c99913773ebcd5b6b9e88679779d6f', class: "flex-fill me-3" }, h("iframe-input", { key: 'b0ed2bbe9a63b83810fa170350cc28e777bc0509', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: '4d6592dc2f6dea2d2d4ddb8667681576817e6c98', class: "flex-fill me-3" }, h("iframe-input", { key: '34dabee2355d51ca1175af9a084188a6d44714df', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: 'c3afab4dea5e93edca3a0372d397afd8ef937de1', class: "flex-fill" }, h("iframe-input", { key: '0777691de3a8e12338a9c9b967ce3f20f675c6b3', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
59
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as packageJson } from './package-
|
|
1
|
+
import { p as packageJson } from './package-Dr8Z8wfP.js';
|
|
2
2
|
import { A as Api } from './Api-Dln8a6No.js';
|
|
3
3
|
import './ComponentError-Cjcsf8ku.js';
|
|
4
|
-
import './
|
|
4
|
+
import './GooglePay-NNHE-OLJ.js';
|
|
5
5
|
import './Pagination-CLHwhyvu.js';
|
|
6
6
|
import './Business-B5rtFhtR.js';
|
|
7
7
|
import './Dispute-BH0Xfn-F.js';
|
|
@@ -2,19 +2,20 @@ import { r as registerInstance, c as createEvent, h } from './index-DwYM91AU.js'
|
|
|
2
2
|
import './config-state-C2NXATwF.js';
|
|
3
3
|
import './dinero-HXpYMWUU.js';
|
|
4
4
|
import './ComponentError-Cjcsf8ku.js';
|
|
5
|
-
import './
|
|
5
|
+
import './GooglePay-NNHE-OLJ.js';
|
|
6
6
|
import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
|
|
7
7
|
import './Business-B5rtFhtR.js';
|
|
8
8
|
import './Dispute-BH0Xfn-F.js';
|
|
9
|
-
import { T as Table, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell, l as TableWrapper } from './table-
|
|
9
|
+
import { T as Table, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell, l as TableWrapper } from './table-1hqe6s5m.js';
|
|
10
10
|
import { T as TableClickActions } from './event-types-CZfYo5-1.js';
|
|
11
|
-
import { c as checkoutTableColumns, a as checkoutTableCells } from './checkouts-table-
|
|
11
|
+
import { c as checkoutTableColumns, a as checkoutTableCells } from './checkouts-table-CB4GdlcZ.js';
|
|
12
12
|
import { o as onQueryParamsChange, g as getRequestParams } from './checkouts-list-params-state-gllzDQAb.js';
|
|
13
13
|
import './index-B-fWxE5e.js';
|
|
14
14
|
import './utils-CDaVtz_6.js';
|
|
15
|
-
import './
|
|
16
|
-
import './
|
|
17
|
-
import './
|
|
15
|
+
import './index-DkoufM1t.js';
|
|
16
|
+
import './parts-sA8HBfkI.js';
|
|
17
|
+
import './spinner-DikooWuI.js';
|
|
18
|
+
import './badge-DtrH25ss.js';
|
|
18
19
|
|
|
19
20
|
const CheckoutsListCore = class {
|
|
20
21
|
constructor(hostRef) {
|
|
@@ -132,7 +133,7 @@ const CheckoutsListCore = class {
|
|
|
132
133
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
133
134
|
}
|
|
134
135
|
render() {
|
|
135
|
-
return (h(TableWrapper, { key: '
|
|
136
|
+
return (h(TableWrapper, { key: '408d4e9eab54491ce0cb775815c3e00eeb4854a3' }, h(TableComponent, { key: '52d68b140748feb5b20b01e9056a4f013dc6a4f2' }, h(TableHead, { key: '74d2ed3ab8629f60e5d789d160495dbdfa1d0109' }, h(TableHeadRow, { key: '216c56f85e307b622b682810973ec8fe05156173' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'c94508c4337cd1381a9caf8ade4f677ef2d62fe3' }, h(TableLoadingState, { key: '2d62155279ca151f77f33321c27c0d68822b1c15', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '4c4d9c73989dabd4213cfc994e74ce0873741de8', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '423a58df4dfa9e6b52fc41dd8d6f06c8d7cca16c', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'd1fbfca88fc702a4c0fae40586c946e3f75220af' }, h(TableFootRow, { key: '9d9c7862bc4d27d70a030d27cb735cb3654ea373' }, h(TableFootCell, { key: '53538be1d8eaf7b66b98476771f1f6d9552ab72d', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '2336a06ecf1eb14719881306ee878105d4b43926', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
136
137
|
}
|
|
137
138
|
static get watchers() { return {
|
|
138
139
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from './index-DwYM91AU.js';
|
|
2
2
|
import { d as formatTime, e as formatDate } from './utils-CDaVtz_6.js';
|
|
3
|
-
import { B as BadgeVariant, a as Badge } from './badge-
|
|
4
|
-
import {
|
|
3
|
+
import { B as BadgeVariant, a as Badge } from './badge-DtrH25ss.js';
|
|
4
|
+
import { V as tableHeadCell, W as getAlternateTableCellPart } from './parts-sA8HBfkI.js';
|
|
5
5
|
|
|
6
6
|
const MapCheckoutStatusToBadge = (status) => {
|
|
7
7
|
const statusToBadgeProps = {
|