@justifi/webcomponents 6.5.1-rc.5 → 6.7.0
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/LICENSE +21 -0
- package/dist/cjs/{Api-BeSnjEuW.js → Api-QUTWjGTy.js} +1 -1
- package/dist/cjs/{Refund-Blquw3jZ.js → GooglePay-BwiJ_80p.js} +416 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
- package/dist/cjs/{badge-_nY1l5Rq.js → badge-Cc87HAsf.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_8.cjs.entry.js +207 -0
- package/dist/cjs/bank-account-form.cjs.entry.js +5 -5
- package/dist/cjs/{business-additional-questions-schema-CE-z5qrr.js → business-additional-questions-schema-Y1mXnwUT.js} +1 -7
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{business-identity-schema-rMMiHyPz.js → business-identity-schema-D_OO0Suf.js} +1 -1
- package/dist/cjs/{business.service-DrBmfEbR.js → business.service-q93NsTG_.js} +2 -2
- package/dist/cjs/{button-CARQPDm-.js → button-fUPGXjU_.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +5 -5
- package/dist/cjs/{check-pkg-version-T54BeR4n.js → check-pkg-version-nSgWWvdw.js} +3 -3
- package/dist/cjs/{checkout.service-BEU6CI0t.js → checkout.service-CwelwhrT.js} +2 -2
- package/dist/cjs/checkouts-list-core.cjs.entry.js +9 -8
- package/dist/cjs/{checkouts-table-2fOlhkc4.js → checkouts-table-BBtqxG2F.js} +3 -3
- package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_2.cjs.entry.js} +22 -2
- package/dist/cjs/{dispute.service-c0CZxPpe.js → dispute.service-q5ha39uN.js} +2 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +7 -7
- 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 +5 -5
- package/dist/cjs/form-control-monetary.cjs.entry.js +6 -6
- package/dist/cjs/form-control-number-masked_3.cjs.entry.js +6 -6
- 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_3.cjs.entry.js → form-control-select_2.cjs.entry.js} +6 -25
- package/dist/cjs/{get-payment-details-D8UQRtX1.js → get-payment-details-DidIAK2i.js} +2 -2
- package/dist/cjs/{get-subaccounts-fKcKqvrx.js → get-subaccounts-BE_wcfM7.js} +3 -3
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
- 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 +28 -29
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +862 -29
- 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} +906 -260
- package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +5 -5
- package/dist/cjs/justifi-business-details.cjs.entry.js +9 -8
- package/dist/cjs/justifi-business-form.cjs.entry.js +14 -13
- package/dist/cjs/justifi-checkout.cjs.entry.js +17 -18
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +26 -12
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +13 -12
- package/dist/cjs/justifi-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +8 -7
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +14 -13
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -7
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +14 -13
- package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -9
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +8 -7
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +12 -11
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payments-list.cjs.entry.js +13 -12
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -9
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +12 -11
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -13
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +15 -14
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +12 -13
- package/dist/cjs/justifi-skeleton.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +14 -13
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +11 -10
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +10 -9
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -12
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{justifi-owner-form_3.cjs.entry.js → owner-form-core_2.cjs.entry.js} +7 -61
- package/dist/cjs/{package-JstJdxIu.js → package-B8gOzTFM.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +4 -4
- package/dist/cjs/{parts-Pb06tUMp.js → parts-BVbaniVM.js} +6 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +17 -16
- package/dist/cjs/payment-method-option.cjs.entry.js +2 -2
- package/dist/cjs/{payment.service-DXbR13Kq.js → payment.service-CyHFdJ7n.js} +2 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +10 -9
- package/dist/cjs/{payments-status-t4fVj8f9.js → payments-status-BP4u31jU.js} +1 -1
- package/dist/cjs/{payments-table-C6SCvqLD.js → payments-table-CWXVhECV.js} +3 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +10 -10
- package/dist/cjs/{payout.service-D0U6kzXJ.js → payout.service-Half-hdB.js} +2 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +10 -9
- package/dist/cjs/{payouts-status-pIO9qZG6.js → payouts-status-CM5Zy-0J.js} +1 -1
- package/dist/cjs/{payouts-table-CEnUtKNR.js → payouts-table-ZLTcfkUm.js} +3 -3
- package/dist/cjs/{schema-validations-BOiGVUHM.js → schema-validations-Bf2mk2xU.js} +0 -16
- 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 +9 -8
- package/dist/cjs/{terminal-orders-table-BByfBAEK.js → terminal-orders-table-DT53anT3.js} +6 -6
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-BqXeiERV.js → terminal.service-CFt55QNO.js} +2 -2
- package/dist/cjs/terminals-list-core.cjs.entry.js +9 -8
- package/dist/cjs/{terminals-table-EeeLeuDN.js → terminals-table-DahpSz98.js} +3 -3
- package/dist/cjs/{utils-Cjq3ZCad.js → utils-CMiA4X7s.js} +1 -1
- package/dist/cjs/{utils-Bab-tddY.js → utils-D4WPxuzW.js} +0 -7
- 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 +240 -0
- package/dist/collection/collection-manifest.json +2 -7
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +6 -7
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +7 -8
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +6 -7
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +7 -8
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +132 -3
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +335 -3
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-documents-on-file.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +133 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +186 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +129 -3
- package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +122 -3
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/business-forms/schemas/business-additional-questions-schema.js +1 -7
- package/dist/collection/components/business-forms/schemas/schema-validations.js +1 -14
- 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 +47 -8
- 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 +4 -3
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +10 -5
- 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/details/details.js +1 -1
- 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/pagination-menu/pagination-menu.js +3 -3
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/docs.json +3039 -3797
- package/dist/esm/{Api-DX-IWyBw.js → Api-Dln8a6No.js} +1 -1
- package/dist/esm/{Refund-BugCdfRo.js → GooglePay-NNHE-OLJ.js} +406 -2
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-Bgosx-DC.js → badge-DtrH25ss.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_8.entry.js +198 -0
- package/dist/esm/bank-account-form.entry.js +5 -5
- package/dist/esm/{business-additional-questions-schema-QFJEOHF5.js → business-additional-questions-schema-woG5-pgK.js} +1 -7
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-identity-schema-DB_Hhjld.js → business-identity-schema-B7VTDF4j.js} +2 -2
- package/dist/esm/{business.service-pWcc3kfX.js → business.service-BrUSam2T.js} +2 -2
- package/dist/esm/{button-DBmjN7Ra.js → button-Bpf3VX8Q.js} +1 -1
- package/dist/esm/card-form.entry.js +5 -5
- package/dist/esm/{check-pkg-version-C8hgGLFx.js → check-pkg-version-CmkUoEAo.js} +3 -3
- package/dist/esm/{checkout.service-B4xSV2-X.js → checkout.service-Bxt1qPaY.js} +2 -2
- package/dist/esm/checkouts-list-core.entry.js +9 -8
- package/dist/esm/{checkouts-table-lgbZpF1o.js → checkouts-table-CB4GdlcZ.js} +3 -3
- package/dist/esm/{custom-popper.entry.js → custom-popper_2.entry.js} +22 -3
- package/dist/esm/{dispute.service-3Kbbh1J9.js → dispute.service-DYRYxxaT.js} +2 -2
- package/dist/esm/form-alert_5.entry.js +7 -7
- 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-B5LSdUXI.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-BK9RNOf-.js → form-control-help-text-D-p66Yxr.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +5 -5
- package/dist/esm/form-control-monetary.entry.js +6 -6
- package/dist/esm/form-control-number-masked_3.entry.js +6 -6
- 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_3.entry.js → form-control-select_2.entry.js} +7 -25
- package/dist/esm/{get-payment-details-CakzKvOr.js → get-payment-details-BJ1PLhJZ.js} +1 -1
- package/dist/esm/{get-subaccounts-Cw1Adtmo.js → get-subaccounts-CzGHjlUF.js} +2 -2
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-CPF3S2CC.js → header-1-WwkF5F9y.js} +1 -1
- package/dist/esm/{header-3-Cah707hu.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-DRe0g_wf.js → insurance-state-C11WKZU6.js} +1 -1
- package/dist/esm/internal-tokenize-payment-method_7.entry.js +17 -18
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +863 -30
- 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} +789 -144
- package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +5 -5
- package/dist/esm/justifi-business-details.entry.js +9 -8
- package/dist/esm/justifi-business-form.entry.js +14 -13
- package/dist/esm/justifi-checkout.entry.js +10 -11
- package/dist/esm/justifi-checkouts-list-filters.entry.js +19 -5
- package/dist/esm/justifi-checkouts-list.entry.js +12 -11
- package/dist/esm/justifi-details.entry.js +3 -3
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +8 -7
- package/dist/esm/justifi-dispute-notification_3.entry.js +14 -13
- package/dist/esm/justifi-gross-payment-chart.entry.js +8 -7
- package/dist/esm/justifi-order-terminals.entry.js +11 -10
- package/dist/esm/justifi-payment-details.entry.js +10 -9
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +8 -7
- package/dist/esm/justifi-payment-transactions-list.entry.js +11 -10
- package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payments-list.entry.js +12 -11
- package/dist/esm/justifi-payout-details.entry.js +9 -8
- package/dist/esm/justifi-payout-transactions-list.entry.js +11 -10
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payouts-list.entry.js +13 -12
- package/dist/esm/justifi-refund-payment.entry.js +11 -10
- package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -10
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +6 -5
- package/dist/esm/justifi-terminal-orders-list.entry.js +10 -9
- package/dist/esm/justifi-terminals-list-filters.entry.js +5 -4
- package/dist/esm/justifi-terminals-list.entry.js +12 -11
- package/dist/esm/justifi-tokenize-payment-method.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{justifi-owner-form_3.entry.js → owner-form-core_2.entry.js} +8 -61
- package/dist/esm/{package-DEhd71m_.js → package-CsRppqXL.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +4 -4
- package/dist/esm/{parts-wtuY7MT2.js → parts-sA8HBfkI.js} +4 -1
- package/dist/esm/payment-details-core.entry.js +16 -15
- package/dist/esm/payment-method-option.entry.js +2 -2
- package/dist/esm/{payment.service-nExZY_sU.js → payment.service-BoGemgMw.js} +2 -2
- package/dist/esm/payments-list-core.entry.js +10 -9
- package/dist/esm/{payments-status-Dypl6WFL.js → payments-status-CADg1cD0.js} +1 -1
- package/dist/esm/{payments-table-CK9BRZEz.js → payments-table-C6zHWwGO.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +10 -10
- package/dist/esm/{payout.service-B9-JQqU6.js → payout.service-BSG50wqN.js} +2 -2
- package/dist/esm/payouts-list-core.entry.js +10 -9
- package/dist/esm/{payouts-status-hTCBgpLW.js → payouts-status-4VDQvaYV.js} +1 -1
- package/dist/esm/{payouts-table-Dd8IDBBX.js → payouts-table-BU5XbzB9.js} +3 -3
- package/dist/esm/{schema-validations-B5sfox_4.js → schema-validations-iamDi5JD.js} +2 -15
- package/dist/esm/{skeleton-BmRZRW5K.js → skeleton-Dtt56Fl3.js} +1 -1
- package/dist/esm/{spinner-tU4D9iak.js → spinner-DikooWuI.js} +1 -1
- package/dist/esm/{table-Cjq1A6mO.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 +9 -8
- package/dist/esm/{terminal-orders-table-DsrpmD9F.js → terminal-orders-table-BsVBelxB.js} +4 -4
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-DvFiKAKV.js → terminal.service-YKfi6Mr9.js} +2 -2
- package/dist/esm/terminals-list-core.entry.js +9 -8
- package/dist/esm/{terminals-table-D9okETJr.js → terminals-table-CXJTn-0I.js} +3 -3
- package/dist/esm/{utils-CIaHqjQt.js → utils-CDaVtz_6.js} +1 -7
- package/dist/esm/{utils-BX7Rjm1M.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-questions.js +2 -2
- 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 +3 -1
- package/dist/module/bank-account-form-inputs-canada2.js +1 -1
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form.js +3 -3
- package/dist/module/bank-account-read-only-value2.js +1 -1
- package/dist/module/bank-account.js +2 -2
- package/dist/module/business-additional-questions-form-step.js +107 -20
- package/dist/module/business-additional-questions-schema.js +1 -7
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-bank-account-form-step.js +445 -33
- package/dist/module/business-core-info-form-step.js +108 -20
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-core-info.js +2 -2
- package/dist/module/business-documents-on-file2.js +2 -2
- package/dist/module/business-identity-schema.js +1 -1
- package/dist/module/business-owners-form-step.js +137 -23
- package/dist/module/business-representative-form-inputs.js +2 -2
- package/dist/module/business-representative-form-step.js +106 -22
- package/dist/module/business-representative.js +3 -3
- package/dist/module/business-terms-conditions-form-step.js +3 -1
- 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 +3 -3
- 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 +5 -3
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/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-address-fields.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-monetary-provisioning2.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 +781 -0
- package/dist/module/gross-payment-chart-core2.js +2 -2
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/identity-address-form.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 +4 -2
- package/dist/module/justifi-payment-provisioning.js +51 -85
- package/dist/module/justifi-payment-transactions-list.js +4 -2
- 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 +4 -2
- package/dist/module/justifi-payouts-list-filters.js +4 -4
- package/dist/module/justifi-payouts-list.js +3 -1
- package/dist/module/justifi-radio-list-item2.js +1 -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 +3 -1
- 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/legal-address-form-step.js +95 -18
- package/dist/module/legal-address-form.js +2 -2
- package/dist/module/modular-checkout.js +46 -6
- package/dist/module/owner-form-core2.js +1 -1
- package/dist/module/owner-form-inputs2.js +3 -3
- package/dist/module/owner-form.js +2 -2
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +3 -3
- package/dist/module/parts.js +4 -1
- package/dist/module/payment-details-core2.js +11 -9
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment-provisioning-actions.js +1 -1
- package/dist/module/payment-provisioning-core.js +49 -85
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +49 -85
- package/dist/module/payment.service.js +2 -0
- package/dist/module/payments-list-core2.js +4 -2
- package/dist/module/payout-details-core2.js +4 -4
- package/dist/module/payout.service.js +2 -0
- package/dist/module/payouts-list-core2.js +4 -2
- 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/schema-validations.js +2 -15
- 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 +4 -2
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminal.service.js +2 -0
- package/dist/module/terminals-list-core2.js +5 -3
- package/dist/module/utils2.js +1 -7
- 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/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.d.ts +26 -2
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +42 -2
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +25 -2
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +21 -2
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +37 -2
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +24 -2
- package/dist/types/components/business-forms/schemas/business-additional-questions-schema.d.ts +0 -6
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +3 -21
- package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -3
- 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/tokenize-payment-method/tokenize-payment-method.d.ts +1 -1
- package/dist/types/components.d.ts +194 -282
- 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-04ec17bb.entry.js +1 -0
- package/dist/webcomponents/p-06cae9e2.entry.js +1 -0
- package/dist/webcomponents/p-06f81525.entry.js +1 -0
- package/dist/webcomponents/p-095cedc5.entry.js +1 -0
- package/dist/webcomponents/p-0b7c4ed5.entry.js +1 -0
- package/dist/webcomponents/p-0bb616fc.entry.js +1 -0
- package/dist/webcomponents/p-0e981c28.entry.js +1 -0
- package/dist/webcomponents/p-1575ca68.entry.js +1 -0
- package/dist/webcomponents/p-15ceeea7.entry.js +1 -0
- package/dist/webcomponents/{p-0ce046fd.entry.js → p-1a327b0e.entry.js} +1 -1
- package/dist/webcomponents/p-1e761d96.entry.js +1 -0
- package/dist/webcomponents/{p-1edec396.entry.js → p-20e85114.entry.js} +1 -1
- package/dist/webcomponents/p-368b37ad.entry.js +1 -0
- package/dist/webcomponents/p-36a0af30.entry.js +1 -0
- package/dist/webcomponents/p-3a3935a3.entry.js +1 -0
- package/dist/webcomponents/p-4d2589b2.entry.js +1 -0
- package/dist/webcomponents/{p-de35abb6.entry.js → p-50400c5e.entry.js} +1 -1
- package/dist/webcomponents/{p-fe862786.entry.js → p-511e80a4.entry.js} +1 -1
- package/dist/webcomponents/p-5996879d.entry.js +1 -0
- package/dist/webcomponents/p-5a748e49.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-cd10cd05.entry.js → p-725319f3.entry.js} +1 -1
- package/dist/webcomponents/p-74fea39c.entry.js +1 -0
- package/dist/webcomponents/p-77754a65.entry.js +1 -0
- package/dist/webcomponents/p-87988b4d.entry.js +1 -0
- package/dist/webcomponents/p-88a8741b.entry.js +1 -0
- package/dist/webcomponents/{p-4e23116c.entry.js → p-897b794b.entry.js} +3 -3
- 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-9c1aa22d.entry.js +1 -0
- package/dist/webcomponents/p-9e94c9ef.entry.js +1 -0
- package/dist/webcomponents/{p-BS7OgSQe.js → p-B09GVew-.js} +1 -1
- package/dist/webcomponents/{p-CFevTCAJ.js → p-B4xdk4mG.js} +1 -1
- package/dist/webcomponents/{p-BTzt8N0l.js → p-BMJe4lzg.js} +1 -1
- package/dist/webcomponents/{p-nrZ9yHcl.js → p-BhqSAzpT.js} +1 -1
- package/dist/webcomponents/p-BrRsgB8S.js +1 -0
- package/dist/webcomponents/{p-bolTb61p.js → p-C2Senazf.js} +1 -1
- package/dist/webcomponents/p-C9VmfRis.js +1 -0
- package/dist/webcomponents/{p-CkN7DFFn.js → p-CBbwdoSa.js} +1 -1
- package/dist/webcomponents/{p-MQxr_LMC.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-DkOiS6Zr.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-CsRppqXL.js +1 -0
- package/dist/webcomponents/p-CsgUIrv8.js +1 -0
- package/dist/webcomponents/p-D032AB34.js +1 -0
- package/dist/webcomponents/{p-KPmnq8xf.js → p-D6bKoyRc.js} +1 -1
- package/dist/webcomponents/p-DATDsXcA.js +1 -0
- package/dist/webcomponents/{p-C8QOezo8.js → p-DGGjRqDa.js} +1 -1
- package/dist/webcomponents/{p-C6wS5-M7.js → p-DISrhs4v.js} +1 -1
- package/dist/webcomponents/{p-D1WQG4I7.js → p-DOcRWTul.js} +1 -1
- package/dist/webcomponents/{p-BNqo3kt0.js → p-DUmUUj9r.js} +1 -1
- package/dist/webcomponents/p-DY_3dcgR.js +1 -0
- package/dist/webcomponents/{p-D_IJC4HG.js → p-Dit3fZpU.js} +1 -1
- package/dist/webcomponents/p-DkoufM1t.js +1 -0
- package/dist/webcomponents/{p-BCPutgAi.js → p-Dlrq1iZf.js} +1 -1
- package/dist/webcomponents/p-DmdEjScI.js +1 -0
- package/dist/webcomponents/{p-BitGlMSc.js → p-RTAZ4tdd.js} +1 -1
- package/dist/webcomponents/p-Ty7R7tsw.js +1 -0
- package/dist/webcomponents/{p-DOLBAxYf.js → p-U3nU15el.js} +1 -1
- package/dist/webcomponents/p-VRubcA-q.js +1 -0
- package/dist/webcomponents/{p-BydKIJVC.js → p-W9WWoLzT.js} +1 -1
- package/dist/webcomponents/p-a0b4c42b.entry.js +1 -0
- package/dist/webcomponents/p-aa145996.entry.js +1 -0
- package/dist/webcomponents/p-b0f0d53c.entry.js +1 -0
- package/dist/webcomponents/p-b2a0cbad.entry.js +1 -0
- package/dist/webcomponents/p-b5b49e86.entry.js +1 -0
- package/dist/webcomponents/p-c0bd4e9a.entry.js +1 -0
- package/dist/webcomponents/p-c4585b68.entry.js +1 -0
- package/dist/webcomponents/p-c920dc54.entry.js +1 -0
- package/dist/webcomponents/p-cdf1e61c.entry.js +1 -0
- package/dist/webcomponents/{p-0082f428.entry.js → p-d0c4b0ea.entry.js} +1 -1
- package/dist/webcomponents/p-d2981754.entry.js +1 -0
- package/dist/webcomponents/p-d9cdd873.entry.js +1 -0
- package/dist/webcomponents/p-e4335938.entry.js +1 -0
- package/dist/webcomponents/{p-c8f40375.entry.js → p-e805b011.entry.js} +1 -1
- package/dist/webcomponents/p-eada0422.entry.js +1 -0
- package/dist/webcomponents/p-ef04f334.entry.js +1 -0
- package/dist/webcomponents/p-f23428da.entry.js +1 -0
- package/dist/webcomponents/p-f30c939f.entry.js +1 -0
- package/dist/webcomponents/p-f5dd3fa4.entry.js +1 -0
- package/dist/webcomponents/{p-af48a6bb.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-fc8f55d7.entry.js +1 -0
- package/dist/webcomponents/p-fe43449c.entry.js +1 -0
- package/dist/webcomponents/p-fe73b09b.entry.js +1 -0
- package/dist/webcomponents/p-ff5981fb.entry.js +1 -0
- package/dist/webcomponents/p-giyZ3C4E.js +1 -0
- package/dist/webcomponents/p-sA8HBfkI.js +1 -0
- package/dist/webcomponents/{p-C8yN3uBj.js → p-yyedWKWX.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +17 -32
- package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +0 -132
- package/dist/cjs/checkout.store-BA6h-dp2.js +0 -107
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +0 -874
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +0 -34
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +0 -265
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +0 -466
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +0 -307
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +0 -380
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +0 -270
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +0 -276
- package/dist/esm/bank-account-document-form-inputs_6.entry.js +0 -125
- package/dist/esm/checkout.store-CaS_htQd.js +0 -101
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +0 -867
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +0 -32
- package/dist/module/business-additional-questions-form-step-core.js +0 -167
- package/dist/module/business-bank-account-form-step-core.js +0 -456
- package/dist/module/business-core-info-form-step-core.js +0 -173
- package/dist/module/business-owners-form-step-core.js +0 -231
- package/dist/module/business-representative-form-step-core.js +0 -171
- package/dist/module/justifi-additional-questions-form-step-core.d.ts +0 -11
- package/dist/module/justifi-additional-questions-form-step-core.js +0 -6
- package/dist/module/justifi-business-bank-account-form-step-core.d.ts +0 -11
- package/dist/module/justifi-business-bank-account-form-step-core.js +0 -6
- package/dist/module/justifi-business-core-info-form-step-core.d.ts +0 -11
- package/dist/module/justifi-business-core-info-form-step-core.js +0 -6
- package/dist/module/justifi-business-owners-form-step-core.d.ts +0 -11
- package/dist/module/justifi-business-owners-form-step-core.js +0 -6
- package/dist/module/justifi-business-representative-form-step-core.d.ts +0 -11
- package/dist/module/justifi-business-representative-form-step-core.js +0 -6
- package/dist/module/justifi-legal-address-form-step-core.d.ts +0 -11
- package/dist/module/justifi-legal-address-form-step-core.js +0 -6
- package/dist/module/legal-address-form-step-core.js +0 -154
- package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +0 -38
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +0 -52
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +0 -40
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +0 -37
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +0 -50
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +0 -38
- package/dist/webcomponents/p-04b23547.entry.js +0 -1
- package/dist/webcomponents/p-04ed045b.entry.js +0 -1
- package/dist/webcomponents/p-1193a1ac.entry.js +0 -1
- package/dist/webcomponents/p-159d8ae7.entry.js +0 -1
- package/dist/webcomponents/p-20608f0c.entry.js +0 -1
- package/dist/webcomponents/p-266a9aee.entry.js +0 -1
- package/dist/webcomponents/p-2bafa257.entry.js +0 -1
- package/dist/webcomponents/p-30f61f44.entry.js +0 -1
- package/dist/webcomponents/p-3101565c.entry.js +0 -1
- package/dist/webcomponents/p-34aa9298.entry.js +0 -1
- package/dist/webcomponents/p-3c38cec5.entry.js +0 -1
- package/dist/webcomponents/p-3c40eefe.entry.js +0 -1
- package/dist/webcomponents/p-42c3bda4.entry.js +0 -1
- package/dist/webcomponents/p-44a94dac.entry.js +0 -1
- package/dist/webcomponents/p-48d1bc83.entry.js +0 -1
- package/dist/webcomponents/p-4dcbc0af.entry.js +0 -1
- package/dist/webcomponents/p-58ae4f9e.entry.js +0 -1
- package/dist/webcomponents/p-5a3687bf.entry.js +0 -1
- package/dist/webcomponents/p-5c8c88c6.entry.js +0 -1
- package/dist/webcomponents/p-614b0adc.entry.js +0 -1
- package/dist/webcomponents/p-7081eb35.entry.js +0 -1
- package/dist/webcomponents/p-7128920a.entry.js +0 -1
- package/dist/webcomponents/p-7218c312.entry.js +0 -1
- package/dist/webcomponents/p-73388c68.entry.js +0 -1
- package/dist/webcomponents/p-77b76007.entry.js +0 -1
- package/dist/webcomponents/p-77bd4fb0.entry.js +0 -1
- package/dist/webcomponents/p-7a3d9c24.entry.js +0 -1
- package/dist/webcomponents/p-8b6b7e20.entry.js +0 -1
- package/dist/webcomponents/p-8c07d9f0.entry.js +0 -1
- package/dist/webcomponents/p-8cfda6c1.entry.js +0 -1
- package/dist/webcomponents/p-8fcd277c.entry.js +0 -1
- package/dist/webcomponents/p-90de8098.entry.js +0 -1
- package/dist/webcomponents/p-98b8028e.entry.js +0 -1
- package/dist/webcomponents/p-9efd1bce.entry.js +0 -1
- package/dist/webcomponents/p-9fef2496.entry.js +0 -1
- package/dist/webcomponents/p-B-0a8Xqm.js +0 -1
- package/dist/webcomponents/p-B4ZUYyNh.js +0 -1
- package/dist/webcomponents/p-Bli6WznP.js +0 -1
- package/dist/webcomponents/p-BojLBYsY.js +0 -1
- package/dist/webcomponents/p-BpaE8q5f.js +0 -1
- package/dist/webcomponents/p-Bqlcv3ZV.js +0 -1
- package/dist/webcomponents/p-BuCKkdLM.js +0 -1
- package/dist/webcomponents/p-C-2kW6Al.js +0 -1
- package/dist/webcomponents/p-CPtsjcdm.js +0 -1
- package/dist/webcomponents/p-Ch9cTPyq.js +0 -1
- package/dist/webcomponents/p-DCIW8z1f.js +0 -1
- package/dist/webcomponents/p-DEhd71m_.js +0 -1
- package/dist/webcomponents/p-DU8dqq9U.js +0 -1
- package/dist/webcomponents/p-a54b8901.entry.js +0 -1
- package/dist/webcomponents/p-a655b996.entry.js +0 -1
- package/dist/webcomponents/p-a7f8cacb.entry.js +0 -1
- package/dist/webcomponents/p-a9bd4e27.entry.js +0 -1
- package/dist/webcomponents/p-aec9185f.entry.js +0 -1
- package/dist/webcomponents/p-avgjSJ1d.js +0 -1
- package/dist/webcomponents/p-b24a2971.entry.js +0 -1
- package/dist/webcomponents/p-bf8cf72d.entry.js +0 -1
- package/dist/webcomponents/p-c364c76d.entry.js +0 -1
- package/dist/webcomponents/p-c3b71a1f.entry.js +0 -1
- package/dist/webcomponents/p-c7MCfTgE.js +0 -1
- package/dist/webcomponents/p-cfd858be.entry.js +0 -1
- package/dist/webcomponents/p-d1951301.entry.js +0 -1
- package/dist/webcomponents/p-d39598e4.entry.js +0 -1
- package/dist/webcomponents/p-dc0d3484.entry.js +0 -1
- package/dist/webcomponents/p-dgG_o6wN.js +0 -1
- package/dist/webcomponents/p-e47a2592.entry.js +0 -1
- package/dist/webcomponents/p-e6507b93.entry.js +0 -1
- package/dist/webcomponents/p-eb56ba9b.entry.js +0 -1
- package/dist/webcomponents/p-ed55d333.entry.js +0 -1
- package/dist/webcomponents/p-edcb84bf.entry.js +0 -1
- package/dist/webcomponents/p-f0957fca.entry.js +0 -1
- package/dist/webcomponents/p-f0fc86ce.entry.js +0 -1
- package/dist/webcomponents/p-f223fabb.entry.js +0 -1
- package/dist/webcomponents/p-f26db2e6.entry.js +0 -1
- package/dist/webcomponents/p-fab28b02.entry.js +0 -1
- package/dist/webcomponents/p-wtuY7MT2.js +0 -1
- package/dist/webcomponents/p-zNSPsvs3.js +0 -1
- package/docs/.eslintrc.cjs +0 -17
- package/docs/changelog/index.mdx +0 -17
- package/docs/entities/businessdetails/index.mdx +0 -158
- package/docs/entities/businessform/index.mdx +0 -241
- package/docs/entities/index.mdx +0 -19
- package/docs/entities/payment-provisioning/index.mdx +0 -131
- package/docs/frameworks/angular/index.mdx +0 -112
- package/docs/frameworks/index.mdx +0 -18
- package/docs/frameworks/react/index.mdx +0 -125
- package/docs/frameworks/vue/index.mdx +0 -102
- package/docs/helpers/PartsTable.js +0 -50
- package/docs/helpers/PartsTable.ts +0 -55
- package/docs/helpers/PropsTable.js +0 -56
- package/docs/helpers/PropsTable.ts +0 -63
- package/docs/helpers/index.js +0 -4
- package/docs/helpers/index.ts +0 -3
- package/docs/helpers/version.js +0 -32
- package/docs/helpers/version.ts +0 -32
- package/docs/introduction/index.mdx +0 -125
- package/docs/merchant-tools/checkouts-list/index.mdx +0 -107
- package/docs/merchant-tools/gross-payments-chart/index.mdx +0 -81
- package/docs/merchant-tools/index.mdx +0 -25
- package/docs/merchant-tools/order-terminals/index.mdx +0 -84
- package/docs/merchant-tools/payment-details/index.mdx +0 -130
- package/docs/merchant-tools/payment-transactions-list/index.mdx +0 -85
- package/docs/merchant-tools/payments-list/index.mdx +0 -111
- package/docs/merchant-tools/payout-details/index.mdx +0 -90
- package/docs/merchant-tools/payout-transactions-list/index.mdx +0 -84
- package/docs/merchant-tools/payouts-list/index.mdx +0 -94
- package/docs/merchant-tools/terminal-orders-list/index.mdx +0 -85
- package/docs/merchant-tools/terminals-list/index.mdx +0 -93
- package/docs/modular-checkout/complete-examples/index.mdx +0 -20
- package/docs/modular-checkout/docs/index.mdx +0 -32
- package/docs/modular-checkout/example/index.mdx +0 -25
- package/docs/modular-checkout/index.mdx +0 -25
- package/docs/modular-checkout/introduction/index.mdx +0 -100
- package/docs/modular-checkout/sub-components/apple-pay.mdx +0 -96
- package/docs/modular-checkout/sub-components/bank-account-form.mdx +0 -162
- package/docs/modular-checkout/sub-components/card-form.mdx +0 -177
- package/docs/modular-checkout/sub-components/index.mdx +0 -23
- package/docs/modular-checkout/sub-components/payment-method-options.mdx +0 -85
- package/docs/modular-checkout/sub-components/plaid-payment-method.mdx +0 -175
- package/docs/modular-checkout/sub-components/saved-payment-methods.mdx +0 -177
- package/docs/modular-checkout/sub-components/season-interruption-insurance.mdx +0 -219
- package/docs/modular-checkout/sub-components/sezzle-payment-method.mdx +0 -183
- package/docs/modular-checkout/sub-components/summary.mdx +0 -107
- package/docs/payment-facilitation/dispute-management/index.mdx +0 -98
- package/docs/payment-facilitation/index.mdx +0 -21
- package/docs/payment-facilitation/refund-payment/index.mdx +0 -229
- package/docs/payment-facilitation/tokenize-payment-method/index.mdx +0 -361
- package/docs/payment-facilitation/unified-fintech-checkout/342/204/242/index.mdx +0 -164
|
@@ -4,13 +4,15 @@ import './dinero.js';
|
|
|
4
4
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './Refund.js';
|
|
5
5
|
import { p as pagingDefaults } from './Pagination.js';
|
|
6
6
|
import './Business.js';
|
|
7
|
+
import './ApplePay.js';
|
|
8
|
+
import './GooglePay.js';
|
|
7
9
|
import './details.js';
|
|
8
10
|
import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
|
|
9
11
|
import { T as TableClickActions } from './event-types.js';
|
|
10
12
|
import './justifi-radio-list-item2.js';
|
|
11
13
|
import { e as convertToLocal } from './utils2.js';
|
|
12
14
|
import { M as MapPayoutStatusToBadge } from './payouts-status.js';
|
|
13
|
-
import { w as tableHeadCell,
|
|
15
|
+
import { w as tableHeadCell, ac as getAlternateTableCellPart } from './parts.js';
|
|
14
16
|
import { o as onQueryParamsChange, g as getRequestParams } from './payouts-list-params-state.js';
|
|
15
17
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
16
18
|
|
|
@@ -173,7 +175,7 @@ const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore e
|
|
|
173
175
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
174
176
|
}
|
|
175
177
|
render() {
|
|
176
|
-
return (h(TableWrapper, { key: '
|
|
178
|
+
return (h(TableWrapper, { key: '6a34e51911f4d507268a59e15a34f9c5d935989e' }, h(TableComponent, { key: '3936b7e479f3d7a2f8fadbc7db2a36124141044c' }, h(TableHead, { key: 'c537d591e4c03a7c5f5afa4bde930eb67093809e' }, h(TableHeadRow, { key: 'e3b2ea0a122d22893e657ebb13c198f6d1c7b47b' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: '3491e95b3c95e010635949ba07c5602eb7ae7d6c' }, h(TableLoadingState, { key: '87bf5cfb79b9546f0b70c3f681671c8baccf1253', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '587ab70585ce504cb63d27652707fa1d28ec5ec1', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: '26cb66316044265b486390ae1d05a253f90911e1', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.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: '5120d2473b31550907e1bdc0b4fff3084c8d3aed' }, h(TableFootRow, { key: '81a989720c8eb9439a959c7100956f33487cbeee' }, h(TableFootCell, { key: 'b3357b46b1f11e75b4c73c6de6d5c121b1c6710b', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: '73d8bedbb95826a43746b9ab08322c28e40a7f5d', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
177
179
|
}
|
|
178
180
|
static get watchers() { return {
|
|
179
181
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -41,7 +41,7 @@ const ProductOrService = /*@__PURE__*/ proxyCustomElement(class ProductOrService
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a, _b, _c;
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: 'cfa8c6c92bb2790dbaea1939e6acc7539fd848d7' }, h("div", { key: '63d38a0c614f932ef018791fb1388b3dc49c7e5c', class: "row gy-3" }, h("div", { key: '6140c07a8c354d9339509a00141fbc7a1de146f4', class: "col-12" }, h("h2", { key: '40c755fe0938930e0283c391df12c417850eecb4', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: 'b213783cf90bcc17522ab0367e530a48a2474270', class: "col-12" }, h("form-control-text", { key: 'b7977ccef55a4f616f1d7cd20cedad5af5187741', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '462085df8eedee334fbfa38d752803493515b39f', class: "col-12" }, h("form-control-date", { key: 'dca6d8369385607b2fa43882d864e42d4c0fec4c', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '74aeb86e75d1496f88f7286cab4cf8fcbd737f60', class: "col-12" }, h("form-control-file-v2", { key: '6872fb5a4a54ace55578dd0ba789ca7409799645', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
|
|
45
45
|
}
|
|
46
46
|
}, [256, "justifi-product-or-service", {
|
|
47
47
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -41,7 +41,7 @@ const RefundPolicy = /*@__PURE__*/ proxyCustomElement(class RefundPolicy extends
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a, _b, _c, _d;
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: 'd9234b27998495091ed3a8f6a68e8bd0ca273351' }, h("div", { key: '8456144a474b1cf7bfbcfd0bac0e24837376a0fd', class: "row gy-3" }, h("div", { key: 'f13612f184a140a4bd9b5ee18a31b0faad3da535', class: "col-12" }, h("h2", { key: 'dc5959ec45379faafa8dc973fcb652729c65a4ae', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: 'bcf9f262aa58d5a92d13477035bf8fea788c8738', class: "col-12" }, h("form-control-textarea", { key: '6f8676d9a2427b7a3d6cd5a1ba6533f9c21b986f', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: '9d5707337a5955d63eaca24b885bbdbfbf3f84d8', class: "col-12" }, h("form-control-textarea", { key: '4e7f13b79b895ddee0890519176b54ccaa092fa4', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: 'c02521ff9575fd1d0f430c6b5171457c5205a12f', class: "col-12" }, h("form-control-file-v2", { key: 'd5223c87347af2a02cb0748be32fffe29ac18137', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: '341f0fa04c29e33533cc8ec16b4364367124ce53', class: "col-12" }, h("form-control-file-v2", { key: '280dd38b7b4e5a29b6dd7f5fbc765f0e3b9cd765', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
|
|
45
45
|
}
|
|
46
46
|
}, [256, "justifi-refund-policy", {
|
|
47
47
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -23,7 +23,7 @@ const SaveNewPaymentMethod = /*@__PURE__*/ proxyCustomElement(class SaveNewPayme
|
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h(StyledHost, { key: '
|
|
26
|
+
return (h(StyledHost, { key: '7cc086e518b2defcea924398cd5957b44a893d94' }, h("form-control-checkbox", { key: '523dd82fe06f0c0a6d259a84f320c0a335261232', label: this.label || 'Save New Payment Method', name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
|
|
27
27
|
}
|
|
28
28
|
}, [257, "justifi-save-new-payment-method", {
|
|
29
29
|
"label": [1],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as create$6 } from './form.js';
|
|
2
2
|
import { S as StateOptions, a as CountryCode } from './Business.js';
|
|
3
3
|
import { b as countryValidation } from './country-config.js';
|
|
4
|
-
import { a as businessServiceReceivedOptions,
|
|
4
|
+
import { a as businessServiceReceivedOptions, b as bankAccountTypeOptions } from './business-form-options.js';
|
|
5
5
|
|
|
6
6
|
const transformEmptyString = (value) => {
|
|
7
7
|
return value === '' ? null : value;
|
|
@@ -178,19 +178,6 @@ const paymentVolumeValidation = create$6()
|
|
|
178
178
|
const whenServiceReceivedValidation = create$6()
|
|
179
179
|
.oneOf(businessServiceReceivedOptions.map((option) => option.value), 'Select when service is received')
|
|
180
180
|
.transform(transformEmptyString);
|
|
181
|
-
const recurringPaymentsValidation = create$6()
|
|
182
|
-
.oneOf(recurringPaymentsOptions.map((option) => option.value), 'Select recurring payments')
|
|
183
|
-
.transform(transformEmptyString);
|
|
184
|
-
const recurringPaymentsPercentageValidation = create$6()
|
|
185
|
-
.when('business_recurring_payments', {
|
|
186
|
-
is: (val) => val === 'Yes',
|
|
187
|
-
then: (schema) => schema.required('Enter recurring payments percentage'),
|
|
188
|
-
otherwise: (schema) => schema.nullable(),
|
|
189
|
-
})
|
|
190
|
-
.transform(transformEmptyString);
|
|
191
|
-
const seasonalBusinessValidation = create$6()
|
|
192
|
-
.oneOf(seasonalBusinessOptions.map((option) => option.value), 'Select seasonal business')
|
|
193
|
-
.transform(transformEmptyString);
|
|
194
181
|
const otherPaymentDetailsValidation = create$6().transform(transformEmptyString);
|
|
195
182
|
// Bank Account Validations
|
|
196
183
|
const bankNameValidation = create$6()
|
|
@@ -223,4 +210,4 @@ const routingNumberValidation = create$6()
|
|
|
223
210
|
})
|
|
224
211
|
.transform(transformEmptyString);
|
|
225
212
|
|
|
226
|
-
export {
|
|
213
|
+
export { accountTypeValidation as A, nicknameValidation as B, bankNameValidation as C, numbersOnlyRegex as D, routingNumberValidation as E, lineOneValidation as a, paymentVolumeValidation as b, cityValidation as c, dateOfIncorporationValidation as d, industryValidation as e, businessClassificationValidation as f, doingBusinessAsValidation as g, phoneValidation as h, identityNameValidation as i, emailValidation as j, websiteUrlValidation as k, lineTwoValidation as l, makeTaxIdValidation as m, businessNameValidation as n, otherPaymentDetailsValidation as o, postalValidation as p, ssnValidation as q, revenueValidation as r, stateValidation as s, taxIdValidation as t, dobValidation as u, identityTitleValidation as v, whenServiceReceivedValidation as w, makeIdentityNumberValidation as x, makePostalValidation as y, accountNumberValidation as z };
|
|
@@ -46,7 +46,7 @@ const ShippingDetails = /*@__PURE__*/ proxyCustomElement(class ShippingDetails e
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b, _c, _d, _e;
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: '6b71aa457f7e3ac9fd050deea342c6ca14c1d62f' }, h("div", { key: 'c6a309a59de4b6cf6f5ca1e3bfee3da1cdca543c', class: "row gy-3" }, h("div", { key: '1668c86989cec124c7d11d54b9dd6edf46c182d0', class: "col-12" }, h("h2", { key: 'e911f21be4aa8a369d427ae80989d8223693e3ba', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '025beda9984cb47518eccb04971470a46ad3d73b', class: "col-12" }, h("form-control-text", { key: 'ea8db703b0d94e5c2d8148cfaa97e6eb2a824e06', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '764cddd9b2b8156ab97d598fed23459f074006de', class: "col-12" }, h("form-control-text", { key: '4ce85b6b5c4ca79c2edaafbe3169bf049153cbfa', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '8e18b6159156b7d21dba344e2c1a22418b139e3e', class: "col-12" }, h("form-control-date", { key: 'd3a8ef184475150d07fea4f82e65800c5c259b47', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: 'ff23ee968b2b6f64eefd3453fcdb788034e166e0', class: "col-12" }, h("form-control-textarea", { key: '75bad71ceae6bab8de6d47175fda3bd27491bde0', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: 'c774e01b09f930e3656e4b194b386234a692fbbe', class: "col-12" }, h("form-control-file-v2", { key: '928f2195a67e1aac483ea70ff97c3e65e8dcfbe9', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
|
|
50
50
|
}
|
|
51
51
|
}, [256, "justifi-shipping-details", {
|
|
52
52
|
"disputeResponse": [8, "dispute-response"],
|
package/dist/module/summary.js
CHANGED
|
@@ -16,7 +16,7 @@ const Summary = /*@__PURE__*/ proxyCustomElement(class Summary extends HTMLEleme
|
|
|
16
16
|
this.__attachShadow();
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(StyledHost, { key: '
|
|
19
|
+
return (h(StyledHost, { key: '38b0a855a7ad68b4c979d045a41efa20937cf476' }, h("section", { key: 'bbe4a0d26a95b0abd108370070fb861311724df8' }, h("div", { key: 'f322ecda85700c1e232b3f620b672f4eef103e97' }, h("div", { key: 'e59c6b19e0f27f7ab99380ead3f734a7e45cc1f1', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: '2fae7125889051d87571d9fb7c42ad3646e3ce07' }, h("span", { key: '757941148dccea14941f6216f90af8721fbe6cb9', part: text }, "Total"), "\u00A0", h("span", { key: 'ee50f026f64df4f73e0f6b087470a2154f4d0b4b', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
|
|
20
20
|
}
|
|
21
21
|
}, [257, "justifi-checkout-summary"]);
|
|
22
22
|
function defineCustomElement() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { B as Button } from './button.js';
|
|
3
|
-
import {
|
|
3
|
+
import { aa as dropdownMenuButton, ab as dropdownMenu } from './parts.js';
|
|
4
4
|
import { d as defineCustomElement$1 } from './custom-popper2.js';
|
|
5
5
|
|
|
6
6
|
const hasFilters = (params) => {
|
|
@@ -31,7 +31,7 @@ const TableFiltersMenu = /*@__PURE__*/ proxyCustomElement(class TableFiltersMenu
|
|
|
31
31
|
this.showClearButton = hasFilters(this.params);
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: 'e205ff268a099beae125bbe8a85a6ae5e34924af', class: "d-flex gap-2" }, h("div", { key: 'e61fcbc31cfa97093771ad99b1f4bc088a2a6b98', class: "dropdown pb-3" }, h("button", { key: '3c4425f10ebb39b011d2783c5ef88ebbd34b8e65', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '03692eaae9d340c0f204f55e8c26b8353c4caa74', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'ed80b52e0cabbba44d09798b3b8bd4ab99d72659', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '6cc0bf4f7fd5fa16b431b21933b36f75035221c7' })))), h("div", { key: '13f401ce7926aaf678021ed7dc768b967987b0ec' }, h(Button, { key: 'd6a16f4e5b31e5602d6729e39fccfa4dbfdd8336', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
|
|
35
35
|
}
|
|
36
36
|
static get watchers() { return {
|
|
37
37
|
"params": ["watchParamsHandler"]
|
package/dist/module/table.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from '@stencil/core/internal/client';
|
|
2
|
-
import { v as table,
|
|
2
|
+
import { v as table, av as tableHead, aw as tableHeadRow, ax as tableRow, ay as tableFoot, az as tableFootRow, aA as tableFootCell, aB as tableEmpty, aC as tableError, x as tableCell } from './parts.js';
|
|
3
3
|
import { S as Spinner } from './spinner.js';
|
|
4
4
|
|
|
5
5
|
const TableWrapper = (props, children) => {
|
|
@@ -8,7 +8,9 @@ import './dinero.js';
|
|
|
8
8
|
import { f as TerminalOrderType } from './Refund.js';
|
|
9
9
|
import { p as pagingDefaults } from './Pagination.js';
|
|
10
10
|
import './Business.js';
|
|
11
|
-
import
|
|
11
|
+
import './ApplePay.js';
|
|
12
|
+
import './GooglePay.js';
|
|
13
|
+
import { w as tableHeadCell, ac as getAlternateTableCellPart } from './parts.js';
|
|
12
14
|
import { e as convertToLocal } from './utils2.js';
|
|
13
15
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
14
16
|
import { o as onQueryParamsChange, g as getRequestParams } from './terminal-orders-list-params-state.js';
|
|
@@ -164,7 +166,7 @@ const TerminalOrdersListCore = /*@__PURE__*/ proxyCustomElement(class TerminalOr
|
|
|
164
166
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
165
167
|
}
|
|
166
168
|
render() {
|
|
167
|
-
return (h(TableWrapper, { key: '
|
|
169
|
+
return (h(TableWrapper, { key: 'f4b0c2f36eae458a64d22414c1dd186324997710' }, h(TableComponent, { key: 'df2e3ca2bd333e6d1d8a9ebdc5a6ebd6ff1e39bf' }, h(TableHead, { key: '53dad354d406dc32acbef9a91998d39d011e3e49' }, h(TableHeadRow, { key: 'efd2ed2cac91229e49dd94a918d84adaece80795' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: '6d03c18481a802a6e95147a0d1e18fb0d7f88f51' }, h(TableLoadingState, { key: 'a07b5fe8086d006ba9b30eb1132699b327feee5f', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '62eea598812372209f82bdfb062eb84e089bb8cb', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '4ba4c76d959932caa38a42b3add0cfe36049a067', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.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: 'ba3336a12b83890e5b044f73f512c6340cdc75ce' }, h(TableFootRow, { key: 'e717fecb8311d3ac8958cb90b0eeb82e47774509' }, h(TableFootCell, { key: '3d337b1724912d11fb1c94d6f43fd8cd98759d33', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: 'e55efb324a7e7504a100dadb5c3876b13f260e65', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
168
170
|
}
|
|
169
171
|
static get watchers() { return {
|
|
170
172
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -26,7 +26,7 @@ const TerminalQuantitySelector = /*@__PURE__*/ proxyCustomElement(class Terminal
|
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h("div", { key: '
|
|
29
|
+
return (h("div", { key: '97a2cdecf25e0a8a53b9d174eca5292769dc97bf', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: 'db71faf86a5e5d98fa143ecfafcfd7e1dd9e8f3d', class: "d-flex gap-3" }, h("div", { key: 'efe24d41d83d5b14c7787d2b06d6d3609782ef93', class: "d-flex align-items-center" }, h("img", { key: '89a439a1e1e3403a426c8e332aa0a730d5edc388', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: 'a1222547e632526b51c11a10060b2b94e5ee639b', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: '69739f6543cfa8bc2379a8e5af56f8ecc700dcb1', class: "row" }, h("div", { key: 'e818b1b291c077366a6232c40ecf0d0a71cd9ba8', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: '8c036e4d31940065825aac9af9110bdcf32d5e0c', helpText: this.description })), h("div", { key: 'b9d3301e3eb2421ea0a19b57ec47e0699a36e68b', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: '5d476f607ef2ae79ba406ab9415055aa26da1d2e', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: '6931fcc7bbe5e57bc44d8e1582896c2d3e676a7b', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: 'b7d25687f5faf10bbeac701f70fe7078f5c3b71b', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
|
|
30
30
|
}
|
|
31
31
|
}, [256, "terminal-quantity-selector", {
|
|
32
32
|
"modelName": [1, "model-name"],
|
|
@@ -4,13 +4,15 @@ import './dinero.js';
|
|
|
4
4
|
import './Refund.js';
|
|
5
5
|
import { p as pagingDefaults } from './Pagination.js';
|
|
6
6
|
import './Business.js';
|
|
7
|
+
import './ApplePay.js';
|
|
8
|
+
import './GooglePay.js';
|
|
7
9
|
import './details.js';
|
|
8
10
|
import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
|
|
9
11
|
import { T as TableClickActions } from './event-types.js';
|
|
10
12
|
import './justifi-radio-list-item2.js';
|
|
11
13
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
12
|
-
import { w as tableHeadCell,
|
|
13
|
-
import {
|
|
14
|
+
import { w as tableHeadCell, ac as getAlternateTableCellPart } from './parts.js';
|
|
15
|
+
import { k as capitalFirstLetter } from './utils2.js';
|
|
14
16
|
import { o as onQueryParamsChange, g as getRequestParams } from './terminals-list-params-state.js';
|
|
15
17
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
16
18
|
|
|
@@ -187,7 +189,7 @@ const TerminalsListCore = /*@__PURE__*/ proxyCustomElement(class TerminalsListCo
|
|
|
187
189
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
188
190
|
}
|
|
189
191
|
render() {
|
|
190
|
-
return (h(TableWrapper, { key: '
|
|
192
|
+
return (h(TableWrapper, { key: '47a3ae5348a5ca8d0994043e1c17605c123dee97' }, h(TableComponent, { key: 'cf0e28bb98f00d52d546bb84c045d596ff5def31' }, h(TableHead, { key: '06a0c7685a42b513c5f1bf913e2d783630e946f3' }, h(TableHeadRow, { key: '0559e0bf9ee49cba9a769d91cbe6af5197ff6b45' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: '66c4756ef6c6eec274c77fc48c958c0611895cbd' }, h(TableLoadingState, { key: '7ad0e2e15fe356bd5b22f75843915b7decf3a1c1', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '4191da227f556b4d9ae55533261ab1f1eaf17c9a', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '2d6f63bb346c5d76f4966bc45899e6f380bf3283', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.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: '025a109c2fca7d00292f94507cb21ce40d6ab5fc' }, h(TableFootRow, { key: '7563a33f3b02210687e376f237bab6cc708626be' }, h(TableFootCell, { key: 'bbdbc7913fc93e76425db5b972645efed56652a1', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '7b0ccb15636e02cb8181e973637f56e9dd09fb2f', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
191
193
|
}
|
|
192
194
|
static get watchers() { return {
|
|
193
195
|
"pagingParams": ["updateOnPropChange"],
|
package/dist/module/utils2.js
CHANGED
|
@@ -22189,12 +22189,6 @@ function formatTime(dateString) {
|
|
|
22189
22189
|
const date = new Date(dateString);
|
|
22190
22190
|
return dateFnsExports.format(date, 'h:mmaaa');
|
|
22191
22191
|
}
|
|
22192
|
-
function formatTimeSeconds(dateString) {
|
|
22193
|
-
if (!dateString)
|
|
22194
|
-
return '';
|
|
22195
|
-
const date = new Date(dateString);
|
|
22196
|
-
return dateFnsExports.format(date, 'h:mm:ssaaa');
|
|
22197
|
-
}
|
|
22198
22192
|
const convertToUTC = (dateString, options) => {
|
|
22199
22193
|
const { setEndOfDay, setExactTime } = options;
|
|
22200
22194
|
if (!dateString)
|
|
@@ -22304,4 +22298,4 @@ function capitalizeFirstLetter(str) {
|
|
|
22304
22298
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
22305
22299
|
}
|
|
22306
22300
|
|
|
22307
|
-
export { formatDate as a,
|
|
22301
|
+
export { formatDate as a, formatTime as b, formatCurrency as c, convertToUTC as d, convertToLocal as e, formatMediumDate as f, generateId as g, capitalizeFirstLetter as h, isEmptyObject as i, generateTabId as j, capitalFirstLetter as k, formatDisplayDate as l, addAttribute as m, formatPhoneNumber as n, processHTML as p, removeAttribute as r, snakeCaseToHumanReadable as s };
|
|
@@ -58,6 +58,7 @@ export interface ICheckout {
|
|
|
58
58
|
insurance_payments?: boolean;
|
|
59
59
|
bank_account_verification?: boolean;
|
|
60
60
|
apple_payments?: boolean;
|
|
61
|
+
google_payments?: boolean;
|
|
61
62
|
};
|
|
62
63
|
bnpl?: IBnpl;
|
|
63
64
|
total_amount: number;
|
|
@@ -90,6 +91,7 @@ export declare class Checkout implements ICheckout {
|
|
|
90
91
|
insurance_payments?: boolean;
|
|
91
92
|
bank_account_verification?: boolean;
|
|
92
93
|
apple_payments?: boolean;
|
|
94
|
+
google_payments?: boolean;
|
|
93
95
|
};
|
|
94
96
|
bnpl?: IBnpl;
|
|
95
97
|
total_amount: number;
|
|
@@ -147,6 +149,9 @@ export type ILoadedEventResponse = {
|
|
|
147
149
|
export interface CheckoutsQueryParams {
|
|
148
150
|
status?: ICheckoutStatus;
|
|
149
151
|
payment_mode?: ICheckoutPaymentMode;
|
|
152
|
+
checkout_id?: string;
|
|
153
|
+
created_after?: string;
|
|
154
|
+
created_before?: string;
|
|
150
155
|
}
|
|
151
156
|
export type CardBrand = 'visa' | 'mastercard' | 'american_express' | 'discover' | 'jcb' | 'diners_club' | 'unionpay';
|
|
152
157
|
export type AccountType = 'checking' | 'savings';
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
import { PagingInfo } from './Pagination';
|
|
2
|
+
export declare enum GooglePayButtonType {
|
|
3
|
+
PLAIN = "plain",
|
|
4
|
+
BUY = "buy",
|
|
5
|
+
BOOK = "book",
|
|
6
|
+
CHECKOUT = "checkout",
|
|
7
|
+
DONATE = "donate",
|
|
8
|
+
ORDER = "order",
|
|
9
|
+
PAY = "pay",
|
|
10
|
+
SUBSCRIBE = "subscribe"
|
|
11
|
+
}
|
|
12
|
+
export declare enum GooglePayButtonStyle {
|
|
13
|
+
BLACK = "black",
|
|
14
|
+
WHITE = "white"
|
|
15
|
+
}
|
|
16
|
+
export declare enum GooglePayButtonSizeMode {
|
|
17
|
+
STATIC = "static",
|
|
18
|
+
FILL = "fill"
|
|
19
|
+
}
|
|
20
|
+
export declare enum GooglePayEnvironment {
|
|
21
|
+
PRODUCTION = "PRODUCTION",
|
|
22
|
+
TEST = "TEST"
|
|
23
|
+
}
|
|
24
|
+
export interface IGooglePayLineItem {
|
|
25
|
+
label: string;
|
|
26
|
+
price: string;
|
|
27
|
+
type: 'LINE_ITEM' | 'SUBTOTAL';
|
|
28
|
+
}
|
|
29
|
+
export interface IGooglePayMerchantInfo {
|
|
30
|
+
merchantId?: string;
|
|
31
|
+
merchantName: string;
|
|
32
|
+
}
|
|
33
|
+
export interface IGooglePayCardParameters {
|
|
34
|
+
allowedAuthMethods: string[];
|
|
35
|
+
allowedCardNetworks: string[];
|
|
36
|
+
billingAddressRequired?: boolean;
|
|
37
|
+
billingAddressParameters?: {
|
|
38
|
+
format?: 'FULL' | 'MIN';
|
|
39
|
+
phoneNumberRequired?: boolean;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export interface IGooglePayTokenizationSpecification {
|
|
43
|
+
type: 'PAYMENT_GATEWAY' | 'DIRECT';
|
|
44
|
+
parameters?: {
|
|
45
|
+
gateway?: string;
|
|
46
|
+
gatewayMerchantId?: string;
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export interface IGooglePayPaymentMethodData {
|
|
51
|
+
type: 'CARD';
|
|
52
|
+
parameters: IGooglePayCardParameters;
|
|
53
|
+
tokenizationSpecification: IGooglePayTokenizationSpecification;
|
|
54
|
+
}
|
|
55
|
+
export interface IGooglePayTransactionInfo {
|
|
56
|
+
displayItems?: IGooglePayLineItem[];
|
|
57
|
+
countryCode: string;
|
|
58
|
+
currencyCode: string;
|
|
59
|
+
totalPriceStatus: 'FINAL' | 'ESTIMATED' | 'NOT_CURRENTLY_KNOWN';
|
|
60
|
+
totalPrice: string;
|
|
61
|
+
totalPriceLabel?: string;
|
|
62
|
+
checkoutOption?: 'DEFAULT' | 'COMPLETE_IMMEDIATE_PURCHASE';
|
|
63
|
+
}
|
|
64
|
+
export interface IGooglePayPaymentDataRequest {
|
|
65
|
+
apiVersion: number;
|
|
66
|
+
apiVersionMinor: number;
|
|
67
|
+
allowedPaymentMethods: IGooglePayPaymentMethodData[];
|
|
68
|
+
transactionInfo: IGooglePayTransactionInfo;
|
|
69
|
+
merchantInfo: IGooglePayMerchantInfo;
|
|
70
|
+
callbackIntents?: string[];
|
|
71
|
+
shippingAddressRequired?: boolean;
|
|
72
|
+
shippingAddressParameters?: {
|
|
73
|
+
allowedCountryCodes?: string[];
|
|
74
|
+
phoneNumberRequired?: boolean;
|
|
75
|
+
};
|
|
76
|
+
emailRequired?: boolean;
|
|
77
|
+
}
|
|
78
|
+
export interface IGooglePayConfig {
|
|
79
|
+
environment: GooglePayEnvironment;
|
|
80
|
+
merchantId?: string;
|
|
81
|
+
merchantName: string;
|
|
82
|
+
buttonType?: GooglePayButtonType;
|
|
83
|
+
buttonStyle?: GooglePayButtonStyle;
|
|
84
|
+
buttonSizeMode?: GooglePayButtonSizeMode;
|
|
85
|
+
buttonLocale?: string;
|
|
86
|
+
}
|
|
87
|
+
export interface IGooglePayError {
|
|
88
|
+
code: string;
|
|
89
|
+
message: string;
|
|
90
|
+
}
|
|
91
|
+
export interface IGooglePayTokenData {
|
|
92
|
+
protocolVersion: string;
|
|
93
|
+
signature: string;
|
|
94
|
+
signedMessage: string;
|
|
95
|
+
}
|
|
96
|
+
export interface IGooglePayPaymentMethod {
|
|
97
|
+
type: string;
|
|
98
|
+
description: string;
|
|
99
|
+
info: {
|
|
100
|
+
cardNetwork: string;
|
|
101
|
+
cardDetails: string;
|
|
102
|
+
assuranceDetails?: {
|
|
103
|
+
accountVerified: boolean;
|
|
104
|
+
cardHolderAuthenticated: boolean;
|
|
105
|
+
};
|
|
106
|
+
billingAddress?: {
|
|
107
|
+
address1: string;
|
|
108
|
+
address2?: string;
|
|
109
|
+
address3?: string;
|
|
110
|
+
administrativeArea: string;
|
|
111
|
+
countryCode: string;
|
|
112
|
+
locality: string;
|
|
113
|
+
name: string;
|
|
114
|
+
postalCode: string;
|
|
115
|
+
sortingCode?: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
tokenizationData: IGooglePayTokenData;
|
|
119
|
+
}
|
|
120
|
+
export interface IGooglePayPaymentData {
|
|
121
|
+
apiVersion: number;
|
|
122
|
+
apiVersionMinor: number;
|
|
123
|
+
paymentMethodData: IGooglePayPaymentMethod;
|
|
124
|
+
email?: string;
|
|
125
|
+
shippingAddress?: {
|
|
126
|
+
address1: string;
|
|
127
|
+
address2?: string;
|
|
128
|
+
address3?: string;
|
|
129
|
+
administrativeArea: string;
|
|
130
|
+
countryCode: string;
|
|
131
|
+
locality: string;
|
|
132
|
+
name: string;
|
|
133
|
+
postalCode: string;
|
|
134
|
+
sortingCode?: string;
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
export interface IGooglePayClient {
|
|
138
|
+
isReadyToPay(request: {
|
|
139
|
+
apiVersion: number;
|
|
140
|
+
apiVersionMinor: number;
|
|
141
|
+
allowedPaymentMethods: IGooglePayPaymentMethodData[];
|
|
142
|
+
}): Promise<{
|
|
143
|
+
result: boolean;
|
|
144
|
+
paymentMethodPresent?: boolean;
|
|
145
|
+
}>;
|
|
146
|
+
loadPaymentData(request: IGooglePayPaymentDataRequest): Promise<IGooglePayPaymentData>;
|
|
147
|
+
createButton(options: {
|
|
148
|
+
onClick: () => void;
|
|
149
|
+
buttonType?: GooglePayButtonType;
|
|
150
|
+
buttonSizeMode?: GooglePayButtonSizeMode;
|
|
151
|
+
buttonColor?: GooglePayButtonStyle;
|
|
152
|
+
buttonLocale?: string;
|
|
153
|
+
}): HTMLElement;
|
|
154
|
+
prefetchPaymentData(request: IGooglePayPaymentDataRequest): void;
|
|
155
|
+
}
|
|
156
|
+
export interface IGooglePayTokenProcessRequest {
|
|
157
|
+
protocolVersion?: string;
|
|
158
|
+
signature: string;
|
|
159
|
+
intermediateSigningKey?: {
|
|
160
|
+
signedKey: string;
|
|
161
|
+
signatures: string[];
|
|
162
|
+
};
|
|
163
|
+
signedMessage?: string;
|
|
164
|
+
}
|
|
165
|
+
export interface IGooglePayTokenResponse {
|
|
166
|
+
id: string;
|
|
167
|
+
type: string;
|
|
168
|
+
page_info: PagingInfo | null;
|
|
169
|
+
data: {
|
|
170
|
+
account_id: string;
|
|
171
|
+
token: string;
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
export interface IGooglePayService {
|
|
175
|
+
processPayment(authToken: string, accountId: string, payload: IGooglePayTokenProcessRequest): Promise<{
|
|
176
|
+
success: boolean;
|
|
177
|
+
data: IGooglePayTokenResponse;
|
|
178
|
+
}>;
|
|
179
|
+
}
|
|
180
|
+
export declare class GooglePayConfig implements IGooglePayConfig {
|
|
181
|
+
environment: GooglePayEnvironment;
|
|
182
|
+
merchantId?: string;
|
|
183
|
+
merchantName: string;
|
|
184
|
+
buttonType?: GooglePayButtonType;
|
|
185
|
+
buttonStyle?: GooglePayButtonStyle;
|
|
186
|
+
buttonSizeMode?: GooglePayButtonSizeMode;
|
|
187
|
+
buttonLocale?: string;
|
|
188
|
+
constructor(data: IGooglePayConfig);
|
|
189
|
+
get isValid(): boolean;
|
|
190
|
+
}
|
|
191
|
+
export declare class GooglePayPaymentDataRequest implements IGooglePayPaymentDataRequest {
|
|
192
|
+
apiVersion: number;
|
|
193
|
+
apiVersionMinor: number;
|
|
194
|
+
allowedPaymentMethods: IGooglePayPaymentMethodData[];
|
|
195
|
+
transactionInfo: IGooglePayTransactionInfo;
|
|
196
|
+
merchantInfo: IGooglePayMerchantInfo;
|
|
197
|
+
callbackIntents?: string[];
|
|
198
|
+
shippingAddressRequired?: boolean;
|
|
199
|
+
shippingAddressParameters?: {
|
|
200
|
+
allowedCountryCodes?: string[];
|
|
201
|
+
phoneNumberRequired?: boolean;
|
|
202
|
+
};
|
|
203
|
+
emailRequired?: boolean;
|
|
204
|
+
constructor(data: IGooglePayPaymentDataRequest);
|
|
205
|
+
get isValid(): boolean;
|
|
206
|
+
}
|
|
207
|
+
export declare class GooglePayHelpers {
|
|
208
|
+
/**
|
|
209
|
+
* Check if Google Pay is supported in the current environment
|
|
210
|
+
*/
|
|
211
|
+
static isGooglePaySupported(): boolean;
|
|
212
|
+
/**
|
|
213
|
+
* Create a Google Pay client instance
|
|
214
|
+
*/
|
|
215
|
+
static createGooglePayClient(environment: GooglePayEnvironment): IGooglePayClient | null;
|
|
216
|
+
/**
|
|
217
|
+
* Format amount for Google Pay (expects string in full currency units)
|
|
218
|
+
*/
|
|
219
|
+
static formatAmount(amount: number): string;
|
|
220
|
+
/**
|
|
221
|
+
* Parse amount from Google Pay format to cents
|
|
222
|
+
*/
|
|
223
|
+
static parseAmount(amount: string): number;
|
|
224
|
+
/**
|
|
225
|
+
* Create a line item for Google Pay
|
|
226
|
+
*/
|
|
227
|
+
static createLineItem(label: string, amount: number, type?: 'LINE_ITEM' | 'SUBTOTAL'): IGooglePayLineItem;
|
|
228
|
+
/**
|
|
229
|
+
* Get default supported card networks
|
|
230
|
+
*/
|
|
231
|
+
static getDefaultSupportedNetworks(): string[];
|
|
232
|
+
/**
|
|
233
|
+
* Get default allowed authentication methods
|
|
234
|
+
*/
|
|
235
|
+
static getDefaultAuthMethods(): string[];
|
|
236
|
+
/**
|
|
237
|
+
* Create default card parameters
|
|
238
|
+
*/
|
|
239
|
+
static createDefaultCardParameters(): IGooglePayCardParameters;
|
|
240
|
+
/**
|
|
241
|
+
* Create default tokenization specification
|
|
242
|
+
*/
|
|
243
|
+
static createTokenizationSpecification(): IGooglePayTokenizationSpecification;
|
|
244
|
+
/**
|
|
245
|
+
* Create default payment method data
|
|
246
|
+
*/
|
|
247
|
+
static createPaymentMethodData(): IGooglePayPaymentMethodData;
|
|
248
|
+
/**
|
|
249
|
+
* Create base payment data request check
|
|
250
|
+
*/
|
|
251
|
+
static createBasePaymentDataRequest(): {
|
|
252
|
+
apiVersion: number;
|
|
253
|
+
apiVersionMinor: number;
|
|
254
|
+
allowedPaymentMethods: IGooglePayPaymentMethodData[];
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
declare global {
|
|
258
|
+
interface Window {
|
|
259
|
+
google?: {
|
|
260
|
+
payments?: {
|
|
261
|
+
api?: {
|
|
262
|
+
PaymentsClient: {
|
|
263
|
+
new (options: {
|
|
264
|
+
environment: 'PRODUCTION' | 'TEST';
|
|
265
|
+
}): IGooglePayClient;
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
}
|