@justifi/webcomponents 6.5.0 → 6.5.1-rc.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-Blquw3jZ.js → GooglePay-HXBAmTgL.js} +415 -0
- package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +8 -7
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/{business.service-DrBmfEbR.js → business.service-DMzf08nC.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-D06Nzj0h.js → check-pkg-version-DNFRhNcW.js} +2 -2
- package/dist/cjs/{checkout.service-BEU6CI0t.js → checkout.service-CHNHEsrp.js} +1 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +3 -2
- package/dist/cjs/custom-popper.cjs.entry.js +2 -2
- package/dist/cjs/{dispute.service-c0CZxPpe.js → dispute.service-B63kcFkU.js} +1 -1
- package/dist/cjs/form-alert_5.cjs.entry.js +6 -6
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number-masked_3.cjs.entry.js +4 -4
- package/dist/cjs/form-control-number.cjs.entry.js +2 -2
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/form-control-select_3.cjs.entry.js +4 -4
- package/dist/cjs/{get-payment-details-D8UQRtX1.js → get-payment-details-BN139jp0.js} +2 -2
- package/dist/cjs/{get-subaccounts-fKcKqvrx.js → get-subaccounts-IgHJX5J4.js} +2 -2
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/{index-C2ITzalN.js → index-CajjbB9t.js} +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +23 -24
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +6 -5
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +12 -11
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/{justifi-apple-pay_7.cjs.entry.js → justifi-apple-pay_8.cjs.entry.js} +903 -253
- package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-details.cjs.entry.js +5 -4
- package/dist/cjs/justifi-business-form.cjs.entry.js +5 -4
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout.cjs.entry.js +14 -15
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -9
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +8 -7
- package/dist/cjs/justifi-details.cjs.entry.js +1 -1
- 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 +9 -8
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -3
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +10 -9
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -6
- package/dist/cjs/justifi-payment-details.cjs.entry.js +6 -5
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +6 -5
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -6
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -6
- package/dist/cjs/justifi-payout-details.cjs.entry.js +6 -5
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -6
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +8 -7
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +10 -9
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -8
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +12 -11
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +7 -6
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +8 -7
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +8 -7
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-gCv25hzn.js → package-Z2EW-l1q.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +3 -3
- package/dist/cjs/payment-details-core.cjs.entry.js +11 -10
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment.service-DXbR13Kq.js → payment.service-eOZc1Qay.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +3 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{payout.service-D0U6kzXJ.js → payout.service-QVl5N-UV.js} +1 -1
- package/dist/cjs/payouts-list-core.cjs.entry.js +3 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +4 -3
- package/dist/cjs/{terminal-orders-table-BByfBAEK.js → terminal-orders-table-g2fwrh2P.js} +3 -3
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-BqXeiERV.js → terminal.service-BuSFyt0j.js} +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +3 -2
- 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 -1
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +7 -6
- 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 +8 -7
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +7 -6
- 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 +8 -7
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/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 +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +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 +46 -9
- 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 +3 -4
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +5 -10
- package/dist/collection/store/checkout.store.js +4 -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 +255 -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 +567 -119
- package/dist/esm/{Refund-BugCdfRo.js → GooglePay-9bPcqGZ9.js} +405 -1
- package/dist/esm/bank-account-document-form-inputs_6.entry.js +8 -7
- package/dist/esm/bank-account-form.entry.js +2 -2
- package/dist/esm/{business.service-pWcc3kfX.js → business.service-2j91Emgq.js} +1 -1
- package/dist/esm/card-form.entry.js +2 -2
- package/dist/esm/{check-pkg-version-AQP98jzk.js → check-pkg-version-B8HjTYV7.js} +2 -2
- package/dist/esm/{checkout.service-B4xSV2-X.js → checkout.service-D-dEMyXF.js} +1 -1
- package/dist/esm/checkouts-list-core.entry.js +3 -2
- package/dist/esm/custom-popper.entry.js +2 -2
- package/dist/esm/{dispute.service-3Kbbh1J9.js → dispute.service-DPumDIuV.js} +1 -1
- package/dist/esm/form-alert_5.entry.js +6 -6
- package/dist/esm/form-control-checkbox.entry.js +2 -2
- package/dist/esm/form-control-date.entry.js +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +3 -3
- package/dist/esm/form-control-monetary-provisioning.entry.js +2 -2
- package/dist/esm/form-control-monetary.entry.js +2 -2
- package/dist/esm/form-control-number-masked_3.entry.js +4 -4
- package/dist/esm/form-control-number.entry.js +2 -2
- package/dist/esm/form-control-radio.entry.js +2 -2
- package/dist/esm/form-control-select_3.entry.js +4 -4
- package/dist/esm/{get-payment-details-CakzKvOr.js → get-payment-details-CD_K6FQ3.js} +1 -1
- package/dist/esm/{get-subaccounts-Cw1Adtmo.js → get-subaccounts-D1eF6c0B.js} +1 -1
- package/dist/esm/gross-payment-chart-core.entry.js +1 -1
- package/dist/esm/hidden-input_2.entry.js +5 -5
- package/dist/esm/{index-DCIW8z1f.js → index-DkoufM1t.js} +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/internal-tokenize-payment-method_7.entry.js +12 -13
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +2 -1
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +12 -11
- package/dist/esm/justifi-additional-statement_8.entry.js +8 -8
- package/dist/esm/{justifi-apple-pay_7.entry.js → justifi-apple-pay_8.entry.js} +786 -137
- package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +2 -2
- package/dist/esm/justifi-business-details.entry.js +5 -4
- package/dist/esm/justifi-business-form.entry.js +5 -4
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/justifi-checkout.entry.js +7 -8
- package/dist/esm/justifi-checkouts-list-filters.entry.js +3 -2
- package/dist/esm/justifi-checkouts-list.entry.js +7 -6
- package/dist/esm/justifi-details.entry.js +1 -1
- 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 +9 -8
- package/dist/esm/justifi-gross-payment-chart.entry.js +4 -3
- package/dist/esm/justifi-order-terminals.entry.js +7 -6
- package/dist/esm/justifi-owner-form_3.entry.js +7 -6
- package/dist/esm/justifi-payment-details.entry.js +6 -5
- package/dist/esm/justifi-payment-provisioning-core.entry.js +1 -1
- package/dist/esm/justifi-payment-provisioning.entry.js +6 -5
- package/dist/esm/justifi-payment-transactions-list.entry.js +6 -5
- package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payments-list.entry.js +6 -5
- package/dist/esm/justifi-payout-details.entry.js +5 -4
- package/dist/esm/justifi-payout-transactions-list.entry.js +6 -5
- package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +7 -6
- package/dist/esm/justifi-refund-payment.entry.js +6 -5
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +4 -5
- package/dist/esm/justifi-skeleton.entry.js +1 -1
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +4 -3
- package/dist/esm/justifi-terminal-orders-list.entry.js +6 -5
- package/dist/esm/justifi-terminals-list-filters.entry.js +3 -2
- package/dist/esm/justifi-terminals-list.entry.js +7 -6
- package/dist/esm/justifi-tokenize-payment-method.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-DQf0KCJj.js → package-BGHeOtXW.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +3 -3
- package/dist/esm/payment-details-core.entry.js +10 -9
- package/dist/esm/payment-method-option.entry.js +1 -1
- package/dist/esm/{payment.service-nExZY_sU.js → payment.service-BreQSu6J.js} +1 -1
- package/dist/esm/payments-list-core.entry.js +3 -2
- package/dist/esm/payout-details-core.entry.js +3 -3
- package/dist/esm/{payout.service-B9-JQqU6.js → payout.service-DuqRe6oq.js} +1 -1
- package/dist/esm/payouts-list-core.entry.js +3 -2
- package/dist/esm/table-filters-menu.entry.js +1 -1
- package/dist/esm/terminal-orders-list-core.entry.js +4 -3
- package/dist/esm/{terminal-orders-table-DsrpmD9F.js → terminal-orders-table-DSo5x2D7.js} +1 -1
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-DvFiKAKV.js → terminal.service-CkzrYIA_.js} +1 -1
- package/dist/esm/terminals-list-core.entry.js +3 -2
- 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 +2 -2
- 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 +1 -1
- package/dist/module/business-bank-account-form-step-core.js +2 -0
- package/dist/module/business-bank-account-form-step.js +3 -1
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-core-info.js +2 -2
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-inputs.js +2 -2
- package/dist/module/business-representative-form-step.js +1 -1
- 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 +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 +3 -1
- 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 +785 -0
- package/dist/module/gross-payment-chart-core2.js +1 -1
- 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 +3 -1
- 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 +3 -1
- package/dist/module/justifi-payment-transactions-list.js +3 -1
- package/dist/module/justifi-payments-list-filters.js +2 -2
- 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 +3 -1
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- 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 +2 -0
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +4 -2
- package/dist/module/justifi-terminal-orders-list.js +3 -1
- package/dist/module/justifi-terminals-list-filters.js +3 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +3 -3
- package/dist/module/payment-details-core2.js +10 -8
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment-provisioning-core.js +1 -1
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +1 -1
- package/dist/module/payment.service.js +2 -0
- package/dist/module/payments-list-core2.js +3 -1
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payout.service.js +2 -0
- package/dist/module/payouts-list-core2.js +3 -1
- 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 +1 -1
- package/dist/module/terminal-orders-list-core2.js +3 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminal.service.js +2 -0
- package/dist/module/terminals-list-core2.js +3 -1
- package/dist/types/api/Checkout.d.ts +2 -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/schemas/business-form-schema.d.ts +3 -3
- package/dist/types/components/checkout/checkout.d.ts +1 -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 +160 -22
- package/dist/types/store/checkout.store.d.ts +1 -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-aec9185f.entry.js → p-03c8c754.entry.js} +1 -1
- package/dist/webcomponents/p-0772719b.entry.js +1 -0
- package/dist/webcomponents/p-0b64560d.entry.js +1 -0
- package/dist/webcomponents/p-0ca05626.entry.js +1 -0
- package/dist/webcomponents/p-136b29e3.entry.js +1 -0
- package/dist/webcomponents/p-13b55ca1.entry.js +1 -0
- package/dist/webcomponents/p-13bdb5ed.entry.js +1 -0
- package/dist/webcomponents/p-13ee296a.entry.js +1 -0
- package/dist/webcomponents/p-16812327.entry.js +1 -0
- package/dist/webcomponents/p-1989a253.entry.js +1 -0
- package/dist/webcomponents/{p-1193a1ac.entry.js → p-19dabeab.entry.js} +1 -1
- package/dist/webcomponents/p-1f196690.entry.js +1 -0
- package/dist/webcomponents/{p-800660f2.entry.js → p-270bf699.entry.js} +1 -1
- package/dist/webcomponents/p-2da4e6ca.entry.js +1 -0
- package/dist/webcomponents/p-2eb123a3.entry.js +1 -0
- package/dist/webcomponents/p-38e1ef4b.entry.js +1 -0
- package/dist/webcomponents/p-3ae12b98.entry.js +1 -0
- package/dist/webcomponents/{p-58ae4f9e.entry.js → p-3bacf834.entry.js} +1 -1
- package/dist/webcomponents/p-3c006a15.entry.js +1 -0
- package/dist/webcomponents/p-3d69b6b1.entry.js +1 -0
- package/dist/webcomponents/p-404b3f02.entry.js +1 -0
- package/dist/webcomponents/p-48cf806b.entry.js +1 -0
- package/dist/webcomponents/{p-e2e6c201.entry.js → p-48d1bc83.entry.js} +1 -1
- package/dist/webcomponents/p-499dc735.entry.js +1 -0
- package/dist/webcomponents/{p-af48a6bb.entry.js → p-4e71de94.entry.js} +1 -1
- package/dist/webcomponents/p-4f102cfd.entry.js +1 -0
- package/dist/webcomponents/p-7dbd0618.entry.js +1 -0
- package/dist/webcomponents/{p-1edec396.entry.js → p-86111a0a.entry.js} +1 -1
- package/dist/webcomponents/p-8b6b7e20.entry.js +1 -0
- package/dist/webcomponents/p-8fcd277c.entry.js +1 -0
- package/dist/webcomponents/p-90d1c943.entry.js +1 -0
- package/dist/webcomponents/p-914b590d.entry.js +1 -0
- package/dist/webcomponents/p-9a795f44.entry.js +1 -0
- package/dist/webcomponents/p-BGHeOtXW.js +1 -0
- package/dist/webcomponents/{p-CPtsjcdm.js → p-BKM7YeAB.js} +1 -1
- package/dist/webcomponents/p-BN1PYSFf.js +1 -0
- package/dist/webcomponents/p-BRbk6oSh.js +1 -0
- package/dist/webcomponents/{p-CFevTCAJ.js → p-BVwVhXcQ.js} +1 -1
- package/dist/webcomponents/p-BxtmTjqW.js +1 -0
- package/dist/webcomponents/p-CQrwlULd.js +1 -0
- package/dist/webcomponents/{p-B4ZUYyNh.js → p-CVhnuewz.js} +1 -1
- package/dist/webcomponents/{p-D_IJC4HG.js → p-Cmb6PRFh.js} +1 -1
- package/dist/webcomponents/p-DkoufM1t.js +1 -0
- package/dist/webcomponents/{p-BCPutgAi.js → p-Dy5btfGV.js} +1 -1
- package/dist/webcomponents/{p-LeyS3YJV.js → p-MdHYTSKO.js} +1 -1
- package/dist/webcomponents/p-a020c889.entry.js +1 -0
- package/dist/webcomponents/{p-0082f428.entry.js → p-a22d1078.entry.js} +1 -1
- package/dist/webcomponents/p-a6e816f6.entry.js +1 -0
- package/dist/webcomponents/p-a9f75a9e.entry.js +1 -0
- package/dist/webcomponents/{p-8681f258.entry.js → p-aaed4997.entry.js} +1 -1
- package/dist/webcomponents/p-ad9307c1.entry.js +1 -0
- package/dist/webcomponents/p-adddbcb7.entry.js +1 -0
- package/dist/webcomponents/p-af55fc0d.entry.js +1 -0
- package/dist/webcomponents/p-b3f8d5d4.entry.js +1 -0
- package/dist/webcomponents/p-b9d64d6b.entry.js +1 -0
- package/dist/webcomponents/p-ba0762f9.entry.js +1 -0
- package/dist/webcomponents/p-c14bc83f.entry.js +1 -0
- package/dist/webcomponents/p-c16dbe20.entry.js +1 -0
- package/dist/webcomponents/p-c249483e.entry.js +1 -0
- package/dist/webcomponents/p-c4044170.entry.js +1 -0
- package/dist/webcomponents/p-c41191e7.entry.js +1 -0
- package/dist/webcomponents/p-c621e7af.entry.js +1 -0
- package/dist/webcomponents/p-c88babbe.entry.js +1 -0
- package/dist/webcomponents/{p-f6ea74db.entry.js → p-cee402a5.entry.js} +1 -1
- package/dist/webcomponents/p-d2935214.entry.js +1 -0
- package/dist/webcomponents/p-dd0d0f96.entry.js +1 -0
- package/dist/webcomponents/p-def8124c.entry.js +1 -0
- package/dist/webcomponents/{p-2769f945.entry.js → p-e6507b93.entry.js} +1 -1
- package/dist/webcomponents/{p-ed55d333.entry.js → p-e7e5fee9.entry.js} +1 -1
- package/dist/webcomponents/p-ea18fcd9.entry.js +1 -0
- package/dist/webcomponents/p-ed9de6ed.entry.js +1 -0
- package/dist/webcomponents/p-ee122560.entry.js +1 -0
- package/dist/webcomponents/{p-4e23116c.entry.js → p-f2650bfc.entry.js} +1 -1
- package/dist/webcomponents/p-f4cb581f.entry.js +1 -0
- package/dist/webcomponents/p-f528da70.entry.js +1 -0
- package/dist/webcomponents/{p-9f70ce93.entry.js → p-fe862786.entry.js} +1 -1
- package/dist/webcomponents/p-fe8f8a7f.entry.js +1 -0
- package/dist/webcomponents/{p-C8QOezo8.js → p-t8p0WAW4.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +13 -13
- package/LICENSE +0 -21
- package/dist/cjs/checkout.store-BA6h-dp2.js +0 -107
- package/dist/esm/checkout.store-CaS_htQd.js +0 -101
- package/dist/webcomponents/p-159d8ae7.entry.js +0 -1
- package/dist/webcomponents/p-20a8b0c0.entry.js +0 -1
- package/dist/webcomponents/p-22f74666.entry.js +0 -1
- package/dist/webcomponents/p-25b382b8.entry.js +0 -1
- package/dist/webcomponents/p-30f61f44.entry.js +0 -1
- package/dist/webcomponents/p-3437ce38.entry.js +0 -1
- package/dist/webcomponents/p-34aa9298.entry.js +0 -1
- package/dist/webcomponents/p-36720116.entry.js +0 -1
- package/dist/webcomponents/p-39706e38.entry.js +0 -1
- package/dist/webcomponents/p-3c38cec5.entry.js +0 -1
- package/dist/webcomponents/p-42d756b8.entry.js +0 -1
- package/dist/webcomponents/p-44a94dac.entry.js +0 -1
- package/dist/webcomponents/p-45936490.entry.js +0 -1
- package/dist/webcomponents/p-4761e0aa.entry.js +0 -1
- package/dist/webcomponents/p-4baabba0.entry.js +0 -1
- package/dist/webcomponents/p-4dcbc0af.entry.js +0 -1
- package/dist/webcomponents/p-54ff9b59.entry.js +0 -1
- package/dist/webcomponents/p-5c8c88c6.entry.js +0 -1
- package/dist/webcomponents/p-66688508.entry.js +0 -1
- package/dist/webcomponents/p-7218c312.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-79d77eb9.entry.js +0 -1
- package/dist/webcomponents/p-7ee0bae1.entry.js +0 -1
- package/dist/webcomponents/p-80f5b2c8.entry.js +0 -1
- package/dist/webcomponents/p-84e2bd93.entry.js +0 -1
- package/dist/webcomponents/p-89518b26.entry.js +0 -1
- package/dist/webcomponents/p-8b944d09.entry.js +0 -1
- package/dist/webcomponents/p-942c8949.entry.js +0 -1
- package/dist/webcomponents/p-98b8028e.entry.js +0 -1
- package/dist/webcomponents/p-9e1f4231.entry.js +0 -1
- package/dist/webcomponents/p-BojLBYsY.js +0 -1
- package/dist/webcomponents/p-BpaE8q5f.js +0 -1
- package/dist/webcomponents/p-Ch9cTPyq.js +0 -1
- package/dist/webcomponents/p-DCIW8z1f.js +0 -1
- package/dist/webcomponents/p-DQf0KCJj.js +0 -1
- package/dist/webcomponents/p-DU8dqq9U.js +0 -1
- package/dist/webcomponents/p-MQxr_LMC.js +0 -1
- package/dist/webcomponents/p-a4540205.entry.js +0 -1
- package/dist/webcomponents/p-a655b996.entry.js +0 -1
- package/dist/webcomponents/p-ad5e488a.entry.js +0 -1
- package/dist/webcomponents/p-af236d05.entry.js +0 -1
- package/dist/webcomponents/p-af4e501d.entry.js +0 -1
- package/dist/webcomponents/p-b0e80802.entry.js +0 -1
- package/dist/webcomponents/p-b4d8a3f6.entry.js +0 -1
- package/dist/webcomponents/p-bf8cf72d.entry.js +0 -1
- package/dist/webcomponents/p-c3b71a1f.entry.js +0 -1
- package/dist/webcomponents/p-d2d69454.entry.js +0 -1
- package/dist/webcomponents/p-da26e869.entry.js +0 -1
- package/dist/webcomponents/p-daa534f1.entry.js +0 -1
- package/dist/webcomponents/p-dc0d3484.entry.js +0 -1
- package/dist/webcomponents/p-e91af879.entry.js +0 -1
- package/dist/webcomponents/p-eb56ba9b.entry.js +0 -1
- package/dist/webcomponents/p-ed006dd6.entry.js +0 -1
- package/dist/webcomponents/p-edcb84bf.entry.js +0 -1
- package/dist/webcomponents/p-efb2a58a.entry.js +0 -1
- package/dist/webcomponents/p-f91b79fb.entry.js +0 -1
- package/dist/webcomponents/p-fab28b02.entry.js +0 -1
|
@@ -4,6 +4,8 @@ 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';
|
|
@@ -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: 'bee53acd5042f8b59fa09d397d5589c88745ba9b' }, h(TableComponent, { key: '92d12baf31b5b952ba1f864eb4dc5cbcb09c41a7' }, h(TableHead, { key: '22e1e7429846d8e77d4bf71ef79240ab5afb6750' }, h(TableHeadRow, { key: '8a70165e7c8f5b9051d3199e1d92f38837903bc4' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'e04e9aaa5057edeefd7c6417bf2ded048f04fb4f' }, h(TableLoadingState, { key: '067e6ab1b3c0ce0d2f034b652843fb0cf7ea5a51', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '360a80957cba2429ebbe713894e732c435c6b788', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: 'fe7e5d8a2632e766b38b13cc8c965fad053c97ca', 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: '4efca907721c3df270b096f60d4acdda118d887e' }, h(TableFootRow, { key: '2b2c440c6c7cc7c31e45dfe213a28373a49b912b' }, h(TableFootCell, { key: 'b527603bf4741a36fd1326570b4c49fea6e1bb37', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: '5e2d2f225bb01f37281eb00bda7f03f77a4f11ea', 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: '0e2648d399af18f7959bed2e0fff56fd63b541df' }, h("div", { key: '4322c227617147721ab7cf33a5e75a09bc370a0c', class: "row gy-3" }, h("div", { key: 'e2bc9f0642356a864e7fa323262ead13d4825fdc', class: "col-12" }, h("h2", { key: '88af660c9add83da7edc7758d4645db796c80fdf', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: 'dcfb0f64e1b611eb8d53f97950d5922f7358a64c', class: "col-12" }, h("form-control-text", { key: '42959d4b7c03d14fdef29a656a5f18d0d89d3b2e', 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: '1f4173e79f10a6ac32b860ecbd62fe5c612cc5b2', class: "col-12" }, h("form-control-date", { key: '6e8bab228b3a23655cbf71fe6dc72a850b38947c', 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: '2e32f65cc5388302d067fb1a8db34e3e529435c2', class: "col-12" }, h("form-control-file-v2", { key: 'f9fb2ac0c6a2f37a7584eeda2460702b1e0d6cc0', 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: '882eb01880bcfdde30abe10465fecd7390654ed6' }, h("div", { key: 'de2f238310e4b80976888d147e90047688ad5ada', class: "row gy-3" }, h("div", { key: '305af62aa762ae6abff0678998132e8f56707550', class: "col-12" }, h("h2", { key: '6e224996b82639c426d129bfd28633f3d3839f6f', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: 'b2b8d444c594bf92d04fed6640230745c5fb49ba', class: "col-12" }, h("form-control-textarea", { key: 'f75c6c360c485ac5253164be5d4941d859deb902', 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: '1788d1e6ba1ddbe82795ce1a41b901a81c055f6d', class: "col-12" }, h("form-control-textarea", { key: 'f47fac9b8e0d6b9766311b13c760129bb6335ddd', 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: 'd96552fee8b4cdddf31148b2d3783a4e1dfb031b', class: "col-12" }, h("form-control-file-v2", { key: '3c6c06201ef3a730aed41ab6b8cb62d5ee8d8128', 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: 'ec2271dd9646596df3106f56c6e96f618196046a', class: "col-12" }, h("form-control-file-v2", { key: '48f956f2580187fc7baecc5426d5ed0a1050150b', 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: 'e9b32bca13108d83ee6ff3b23b16973ccad25faa' }, h("form-control-checkbox", { key: 'ab07bc95d88dc5e97ca8abc646ab3d286edacff8', 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],
|
|
@@ -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: '90641cea619de697d7a90e6e397790f79ceb9376' }, h("div", { key: '52d939e26bd26e99240d100897a530b89553e727', class: "row gy-3" }, h("div", { key: '01755fbca3430bd3066377e9481038370c49b2d8', class: "col-12" }, h("h2", { key: 'd273fbe6ff8b7815ba5c2369748a3a20548b0a4d', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '595f4e63dff85591713a4c895acb6628c8ef8214', class: "col-12" }, h("form-control-text", { key: '958169d07544237a72facdc016d4d12ac64a4c48', 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: '1d3020a30f95c5ced652871a635aba0152bbc4e3', class: "col-12" }, h("form-control-text", { key: '088af20353ec2efcb65a4e597a1fb4aec23cfcbb', 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: '536ee74c42d326d7f7f698274c846bfebf0d34dd', class: "col-12" }, h("form-control-date", { key: '71ef44bd4c810a567162b7fe92199eceff9be470', 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: '8887e0daf44be31486563e85cd989eef1da5f5ce', class: "col-12" }, h("form-control-textarea", { key: 'c34093bc4ee65f4fb092c377a98e01cd69bdbc7c', 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: '469a5d8c7e28fa2ad430f104f08f387448f70048', class: "col-12" }, h("form-control-file-v2", { key: 'a2b6c6c0c1cf32430582b97efe6bcc1d4c47147d', 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: '3ebaf90f9085614d44043d9b5ba7de3f926bf6f1' }, h("section", { key: '888ea6f17ece8e78b7ddf9302be5b1b355cd54c6' }, h("div", { key: 'bb7db155a31ceb9e824c5290b8fb8d8713622bdd' }, h("div", { key: 'dc954f18e824dabfb09fc727aeb87685020e2d1e', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: 'e7f6b12c142655fc967bd6a37e00193b9f743f84' }, h("span", { key: '25996f66626d428385422d72f5e2bba1a8301628', part: text }, "Total"), "\u00A0", h("span", { key: '958bd1242ac23e13e66b73563d2c6f73499d2574', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
|
|
20
20
|
}
|
|
21
21
|
}, [257, "justifi-checkout-summary"]);
|
|
22
22
|
function defineCustomElement() {
|
|
@@ -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: 'b270a6f9e52e45e958bb02e31569d4f56135ee25', class: "d-flex gap-2" }, h("div", { key: '76d9eef0672c27ec28a95bc062f946739a2c5dc7', class: "dropdown pb-3" }, h("button", { key: '3de6afb2c92bde835ae894e7548b3e07b86fb0bf', 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: 'de744460fb721b5949ca0cfcf6a751e4b6a008d0', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'c8b6d3e8e28b90fb3dedd80e71c7a8a0f30b6a8f', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '44e50fab6d4f6c7a76f90659cced1c61e94ec43d' })))), h("div", { key: 'b5ec37cc1f28005c2b87b14bd10b74e619012ce5' }, h(Button, { key: '5bae9de44fcdb6e015ac3311945bdcee1887e827', 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"]
|
|
@@ -8,6 +8,8 @@ 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 './ApplePay.js';
|
|
12
|
+
import './GooglePay.js';
|
|
11
13
|
import { w as tableHeadCell, a9 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';
|
|
@@ -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: '6d3a77b7aac03cad0f13586b44298b26a084b06f' }, h(TableComponent, { key: '69d003438f02e693471b3526b226734b8dad54ce' }, h(TableHead, { key: '24ba93e9eded23d4ecaf7d1935309710cd5826a9' }, h(TableHeadRow, { key: 'b4b41b0617db386f76d1f720fb236229dffb64d2' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: '52a8e8d5e9391b4393dc492d5f10002902dc2c69' }, h(TableLoadingState, { key: '6e6110209d6295d5d2295e2043a4383c238ec85f', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '079111a8e20e8a2f0807a8fbdeabb89b8df1982c', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '48d4545d97e20acaee32c95e5d74113b139f81d4', 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: '8a3de53e20022427a6b561e7ddcf16bdbc8db1ca' }, h(TableFootRow, { key: '28dfdbfb12ae0f47ce81f06267d1d1e046a4dc07' }, h(TableFootCell, { key: '160dabe28ed5d74ed063457916c748349245ae12', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '80108e4d09be795de2889ca7aea805a6bae9743a', 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: '92efdff96f60d512cb55ab42bf58c147ad401048', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: 'c8e0f4b183edbad94d156ab0f5d6541410a3c0e7', class: "d-flex gap-3" }, h("div", { key: '1dd62bb5e2fbb3569fbd946a328468354530d103', class: "d-flex align-items-center" }, h("img", { key: '0f59bb5d35a7f00f216732a2e72e895b6fa53285', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '83ae22d90dfa5153210021ce2bd755ab645a9ea1', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: 'bc28e1f2d18378e6d21a7f3101e62acda6a1265f', class: "row" }, h("div", { key: 'f6700b615935ec7331a9672267e11a876780f255', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: 'deb77216bb14a69cefbec0365ab6828229566b69', helpText: this.description })), h("div", { key: '5a7ee6f8e67673d5c8062fdfcb5db99fb3389e6c', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: '4ce40da430bff61ab70970c06b987a336494e26c', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: '8e75894d5b0df2b283758841a68b65402403aebf', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: 'acaf3f3688e37ffaf41eb31d1fec7e01c3bc319f', 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,6 +4,8 @@ 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';
|
|
@@ -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: 'c5141c3ebcbbb8598116b9977305043ca1f63324' }, h(TableComponent, { key: 'fc4c3d9e1b0429bb96e9ce944f22a31ba8fdbc53' }, h(TableHead, { key: 'a97290876f8eacb6a0645efbf95ffe10be4e49d9' }, h(TableHeadRow, { key: '4870bbd9fc764d37631143369e8c2c2d5d3b4049' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: 'cd872991d6a0df1ef19b5a591eb6ced2406eee84' }, h(TableLoadingState, { key: 'ae2b94dccfd300db6fdcb4641fa6428b3a933c22', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'ae90c4c8d3fadd40464f2c753c08cb54fe2e804c', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '3884e116fd694639542d2afed7fbc3b8a5866e1d', 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: '20631ff15eca22634c3282e51aaaf075dfdd953c' }, h(TableFootRow, { key: '67d32304559fb9fa5a48a5b02d251c6363b7d5ba' }, h(TableFootCell, { key: 'b755e8711195a00762ffe96d5ef2563e96b87969', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '3cb9c0e66098065669b644cac3ac5aa26228be9f', 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"],
|
|
@@ -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;
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { IGooglePayConfig, IGooglePayPaymentDataRequest, IGooglePayClient, IGooglePayError, IGooglePayPaymentData, GooglePayConfig, IGooglePayService, IGooglePayTokenProcessRequest, IGooglePayTokenResponse } from '../GooglePay';
|
|
2
|
+
export declare class GooglePayService implements IGooglePayService {
|
|
3
|
+
private googlePayConfig?;
|
|
4
|
+
private googlePayClient?;
|
|
5
|
+
private api;
|
|
6
|
+
/**
|
|
7
|
+
* Initialize Google Pay configuration
|
|
8
|
+
*/
|
|
9
|
+
initialize(googlePayConfig: IGooglePayConfig): void;
|
|
10
|
+
/**
|
|
11
|
+
* Process Google Pay payment via API
|
|
12
|
+
*/
|
|
13
|
+
processPayment(authToken: string, accountId: string, payload: IGooglePayTokenProcessRequest): Promise<{
|
|
14
|
+
success: boolean;
|
|
15
|
+
data: IGooglePayTokenResponse;
|
|
16
|
+
}>;
|
|
17
|
+
/**
|
|
18
|
+
* Check if Google Pay is available on this device/browser
|
|
19
|
+
*/
|
|
20
|
+
isAvailable(): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Check if the user can make payments with Google Pay
|
|
23
|
+
*/
|
|
24
|
+
canMakePayments(): Promise<boolean>;
|
|
25
|
+
/**
|
|
26
|
+
* Start Google Pay payment session
|
|
27
|
+
*/
|
|
28
|
+
startPaymentSession(paymentDataRequest: IGooglePayPaymentDataRequest, authToken: string, accountId: string): Promise<{
|
|
29
|
+
success: boolean;
|
|
30
|
+
paymentData?: IGooglePayPaymentData;
|
|
31
|
+
paymentMethodId?: string;
|
|
32
|
+
error?: IGooglePayError;
|
|
33
|
+
}>;
|
|
34
|
+
/**
|
|
35
|
+
* Create Google Pay button element
|
|
36
|
+
*/
|
|
37
|
+
createButton(options: {
|
|
38
|
+
onClick: () => void;
|
|
39
|
+
buttonType?: string;
|
|
40
|
+
buttonSizeMode?: string;
|
|
41
|
+
buttonColor?: string;
|
|
42
|
+
buttonLocale?: string;
|
|
43
|
+
}): HTMLElement | null;
|
|
44
|
+
/**
|
|
45
|
+
* Prefetch payment data for faster loading
|
|
46
|
+
*/
|
|
47
|
+
prefetchPaymentData(paymentDataRequest: IGooglePayPaymentDataRequest): void;
|
|
48
|
+
/**
|
|
49
|
+
* Create a basic payment data request
|
|
50
|
+
*/
|
|
51
|
+
static createPaymentDataRequest(amount: number, label: string, countryCode: string, currencyCode: string, merchantName: string): IGooglePayPaymentDataRequest;
|
|
52
|
+
/**
|
|
53
|
+
* Get current configuration
|
|
54
|
+
*/
|
|
55
|
+
getGooglePayConfig(): GooglePayConfig | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Get current Google Pay client
|
|
58
|
+
*/
|
|
59
|
+
getGooglePayClient(): IGooglePayClient | undefined;
|
|
60
|
+
}
|
|
@@ -24,8 +24,8 @@ export declare const businessFormSchemaUSA: import("yup").ObjectSchema<{
|
|
|
24
24
|
postal_code?: string;
|
|
25
25
|
};
|
|
26
26
|
title?: string;
|
|
27
|
-
ssn_last4?: string;
|
|
28
27
|
name?: string;
|
|
28
|
+
ssn_last4?: string;
|
|
29
29
|
email?: string;
|
|
30
30
|
phone?: string;
|
|
31
31
|
dob_full?: string;
|
|
@@ -107,8 +107,8 @@ export declare const businessFormSchemaCAN: import("yup").ObjectSchema<{
|
|
|
107
107
|
postal_code?: string;
|
|
108
108
|
};
|
|
109
109
|
title?: string;
|
|
110
|
-
ssn_last4?: string;
|
|
111
110
|
name?: string;
|
|
111
|
+
ssn_last4?: string;
|
|
112
112
|
email?: string;
|
|
113
113
|
phone?: string;
|
|
114
114
|
dob_full?: string;
|
|
@@ -190,8 +190,8 @@ export declare const businessFormSchema: import("yup").ObjectSchema<{
|
|
|
190
190
|
postal_code?: string;
|
|
191
191
|
};
|
|
192
192
|
title?: string;
|
|
193
|
-
ssn_last4?: string;
|
|
194
193
|
name?: string;
|
|
194
|
+
ssn_last4?: string;
|
|
195
195
|
email?: string;
|
|
196
196
|
phone?: string;
|
|
197
197
|
dob_full?: string;
|
|
@@ -11,6 +11,7 @@ export declare class Checkout {
|
|
|
11
11
|
tokenizePaymentMethodRef?: HTMLInternalTokenizePaymentMethodElement;
|
|
12
12
|
plaidPaymentMethodRef?: HTMLJustifiPlaidPaymentMethodElement;
|
|
13
13
|
sezzlePaymentMethodRef?: HTMLJustifiSezzlePaymentMethodElement;
|
|
14
|
+
googlePayRef?: HTMLJustifiGooglePayElement;
|
|
14
15
|
availablePaymentMethods: PAYMENT_METHODS[];
|
|
15
16
|
checkout: ICheckout;
|
|
16
17
|
complete: Function;
|
|
@@ -3,7 +3,8 @@ export type { CheckoutState } from '../../store/checkout.store';
|
|
|
3
3
|
export declare enum PAYMENT_MODE {
|
|
4
4
|
ECOM = "ecom",
|
|
5
5
|
BNPL = "bnpl",
|
|
6
|
-
APPLE_PAY = "apple_pay"
|
|
6
|
+
APPLE_PAY = "apple_pay",
|
|
7
|
+
GOOGLE_PAY = "google_pay"
|
|
7
8
|
}
|
|
8
9
|
export declare enum PAYMENT_METHOD_TYPES {
|
|
9
10
|
CARD = "card",
|
|
@@ -10,6 +10,7 @@ export declare class ModularCheckout {
|
|
|
10
10
|
private billingFormRef?;
|
|
11
11
|
private insuranceFormRef?;
|
|
12
12
|
private applePayRef?;
|
|
13
|
+
private googlePayRef?;
|
|
13
14
|
private getCheckout;
|
|
14
15
|
private completeCheckout;
|
|
15
16
|
private plaidService;
|
|
@@ -30,6 +31,10 @@ export declare class ModularCheckout {
|
|
|
30
31
|
private queryFormRefs;
|
|
31
32
|
private setupApplePayListeners;
|
|
32
33
|
private removeApplePayListeners;
|
|
34
|
+
private setupGooglePayListeners;
|
|
35
|
+
private removeGooglePayListeners;
|
|
36
|
+
private handleGooglePayCompleted;
|
|
37
|
+
private handleGooglePayCancelled;
|
|
33
38
|
private handleApplePayCompleted;
|
|
34
39
|
private handleApplePayError;
|
|
35
40
|
private handleApplePayCancelled;
|