@justifi/webcomponents 6.9.0 → 6.10.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/dist/cjs/{Api-CVbEWBG6.js → Api-Bukk55YZ.js} +1 -1
- package/dist/cjs/{Business-CB8EVrhD.js → Business-oBifyXkW.js} +3 -31
- package/dist/cjs/{Plaid-DxPvVu0H.js → Plaid-B_UkFjIV.js} +3 -295
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
- package/dist/cjs/{badge-xJttyTNv.js → badge-Cl6qJPK_.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_9.cjs.entry.js +16 -17
- package/dist/cjs/bank-account-form.cjs.entry.js +3 -3
- package/dist/cjs/{business-additional-questions-schema-Cnh6AXQU.js → business-additional-questions-schema-CI80eZLJ.js} +5 -5
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{business-form-options-B3CbEmdc.js → business-form-options-D_nM7NDk.js} +1 -1
- package/dist/cjs/{business-identity-schema-0jg2Thn9.js → business-identity-schema-DWWtSiUF.js} +3 -3
- package/dist/cjs/{business.service-zGEitIbP.js → business.service-Kplx8w_D.js} +3 -3
- package/dist/cjs/{button-BlYRmuPs.js → button-Cr3iHpyf.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +3 -3
- package/dist/cjs/{check-pkg-version-DYPDNKpa.js → check-pkg-version-DjlvidPw.js} +4 -4
- package/dist/cjs/{checkout.service-DT13pWxH.js → checkout.service-B2toaeKY.js} +3 -3
- package/dist/cjs/checkout.store-zTfjieKa.js +111 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +8 -9
- package/dist/cjs/{checkouts-table-sE8amz4g.js → checkouts-table-CXgizBib.js} +3 -3
- package/dist/cjs/{country-config-ETD-7Wb7.js → country-config-D7fss2oF.js} +1 -1
- package/dist/cjs/custom-popper_2.cjs.entry.js +3 -3
- package/dist/cjs/{dispute.service-GDUl1Wjs.js → dispute.service-C4n1SOsu.js} +3 -3
- package/dist/cjs/form-alert_5.cjs.entry.js +4 -4
- package/dist/cjs/form-control-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-DukLkr-1.js → form-control-error-text-6-HeM6bw.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-BylrKCQO.js → form-control-help-text-D0LaZkGk.js} +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
- 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_3.cjs.entry.js +13 -13
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
- package/dist/cjs/{get-business-CP0ALW9n.js → get-business-DF-XBH8G.js} +1 -1
- package/dist/cjs/{get-payment-details-IA5Toi7Z.js → get-payment-details-Atcodhcd.js} +2 -2
- package/dist/cjs/{get-subaccounts-DiGMPvU0.js → get-subaccounts-BUyf9EhG.js} +3 -3
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
- package/dist/cjs/{header-1-BHbPS-jr.js → header-1-BOijdmPN.js} +1 -1
- package/dist/cjs/{header-3-DEAkFNHs.js → header-3-FeTJjrR1.js} +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +7 -7
- package/dist/cjs/{index.esm-ByC0D4sJ.js → index.esm-C1ZPG85l.js} +18 -0
- package/dist/cjs/{input-handlers-gV1LyFy3.js → input-handlers-_51J5q7J.js} +1 -1
- package/dist/cjs/{insurance-state-C2diJME7.js → insurance-state-DIV_moDI.js} +1 -1
- package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +23 -22
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +26 -18
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +2 -2
- package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +209 -810
- package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +7 -7
- package/dist/cjs/justifi-business-details.cjs.entry.js +10 -11
- package/dist/cjs/justifi-business-form.cjs.entry.js +18 -19
- package/dist/cjs/justifi-checkout.cjs.entry.js +17 -16
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +4 -5
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +11 -12
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -8
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +10 -11
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -9
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -13
- package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +30 -24
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +11 -12
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +15 -4
- package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -13
- package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -10
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +11 -12
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +22 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +13 -14
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +12 -13
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +13 -12
- package/dist/cjs/justifi-skeleton.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +6 -7
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -11
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +5 -6
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -13
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-BvYokEHF.js → package-C5inXJfW.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-DtJdaXeM.js → parts-C0AyF3nd.js} +8 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +16 -17
- package/dist/cjs/payment-method-option.cjs.entry.js +2 -2
- package/dist/cjs/{payment-provisioning-actions-CZVlnRA0.js → payment-provisioning-actions-J6TGZZb9.js} +2 -0
- package/dist/cjs/{payment-provisioning-loading-hyJJ0bBW.js → payment-provisioning-loading-CbcFPETB.js} +1 -1
- package/dist/cjs/{payment.service-QODfB293.js → payment.service-CxSGTv_O.js} +3 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +11 -11
- package/dist/cjs/{payments-status-WKcRbqRT.js → payments-status-EZ95BQex.js} +1 -1
- package/dist/cjs/{payments-table-DayHhWCE.js → payments-table-D5Hw3JDe.js} +3 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +10 -10
- package/dist/cjs/{payout.service-k7GBuYzk.js → payout.service-CO2wDM6M.js} +3 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +10 -11
- package/dist/cjs/{payouts-status-DXeHIDMX.js → payouts-status-D1IbE3-c.js} +1 -1
- package/dist/cjs/{payouts-table-B1ShNA4P.js → payouts-table-DmVthJLU.js} +3 -3
- package/dist/cjs/{plaid-icon-DTpONc_Q.js → plaid-icon-DiZrP1DM.js} +3 -3
- package/dist/cjs/{schema-validations-BakyfJpE.js → schema-validations-_yWWnnaG.js} +4 -4
- package/dist/cjs/{skeleton-B-Otnf5t.js → skeleton-C9Aio7v_.js} +1 -1
- package/dist/cjs/{spinner-B1rgGfdc.js → spinner-oLSXKwxU.js} +1 -1
- package/dist/cjs/{table-CNGkG0a8.js → table-CEW0_wq-.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +2 -2
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +9 -10
- package/dist/cjs/{terminal-orders-table-Aj4dJNdG.js → terminal-orders-table-DPHz95-0.js} +5 -5
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-A90K3XNq.js → terminal.service-CUVwCH-a.js} +3 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +9 -10
- package/dist/cjs/{terminals-table-aQQov5qX.js → terminals-table-C6rm50Mk.js} +3 -3
- package/dist/cjs/{utils-D4WPxuzW.js → utils-BHi4j5rB.js} +28 -0
- package/dist/cjs/{utils-cLBudEdA.js → utils-Vwo0VR7n.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Business.js +3 -31
- package/dist/collection/api/index.js +0 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +10 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-actions.js +2 -0
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +23 -15
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/google-pay.js +112 -516
- 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 +2 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +71 -3
- 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 +35 -3
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/tokenize-payment-method/internal-tokenize-payment-method.js +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
- package/dist/collection/styles/parts.js +4 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.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-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/form.js +18 -0
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/collection/utils/utils.js +27 -0
- package/dist/docs.json +118 -441
- package/dist/esm/{Api-ohkSjyhl.js → Api-CLZVsXZg.js} +1 -1
- package/dist/esm/{Business-GgW1g7FQ.js → Business-BcNb9bVO.js} +3 -31
- package/dist/esm/{Plaid-CBrksnBN.js → Plaid-Cmyilr-q.js} +2 -286
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-C1EiQTzO.js → badge-AZ7Z3PKH.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_9.entry.js +16 -17
- package/dist/esm/bank-account-form.entry.js +3 -3
- package/dist/esm/{business-additional-questions-schema-CQ8CuEfQ.js → business-additional-questions-schema-DKudYaoE.js} +5 -5
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-form-options-DamBLV7N.js → business-form-options-DRalxlqN.js} +1 -1
- package/dist/esm/{business-identity-schema-BTyJz7M9.js → business-identity-schema-CFhSc0cA.js} +3 -3
- package/dist/esm/{business.service-BWm7Kqs4.js → business.service-CS-wQJoN.js} +3 -3
- package/dist/esm/{button-BcuzSsnr.js → button-DOkTCYSa.js} +1 -1
- package/dist/esm/card-form.entry.js +3 -3
- package/dist/esm/{check-pkg-version-DU70zoMs.js → check-pkg-version-wgHSN5sV.js} +4 -4
- package/dist/esm/{checkout.service-D4Mljqjr.js → checkout.service-BcQ_onZq.js} +3 -3
- package/dist/esm/checkout.store-iNkW80yV.js +105 -0
- package/dist/esm/checkouts-list-core.entry.js +8 -9
- package/dist/esm/{checkouts-table-BPrSrgLm.js → checkouts-table-C5aYyqpX.js} +3 -3
- package/dist/esm/{country-config-D-9YmU94.js → country-config-P042rrI3.js} +1 -1
- package/dist/esm/custom-popper_2.entry.js +3 -3
- package/dist/esm/{dispute.service-ZpqfPDC0.js → dispute.service-B_oe0uFV.js} +3 -3
- package/dist/esm/form-alert_5.entry.js +4 -4
- package/dist/esm/form-control-checkbox.entry.js +3 -3
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-BEfFiFoH.js → form-control-error-text-xEskXF-M.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-CC-MQWel.js → form-control-help-text-Dgnv4IId.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
- 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_3.entry.js +13 -13
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/form-control-select_2.entry.js +4 -4
- package/dist/esm/{get-business-BMB2IxN_.js → get-business-BtJWpVs_.js} +1 -1
- package/dist/esm/{get-payment-details-B71Qi6mF.js → get-payment-details-BdewJSTH.js} +2 -2
- package/dist/esm/{get-subaccounts-BYnEN5xd.js → get-subaccounts-BFALCYFr.js} +3 -3
- package/dist/esm/gross-payment-chart-core.entry.js +4 -4
- package/dist/esm/{header-1-BhMrVhZJ.js → header-1-xlSavD5o.js} +1 -1
- package/dist/esm/{header-3-D4YKnb9t.js → header-3-egutsoDI.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/{index.esm-IWS0494Y.js → index.esm-BHdVU4hV.js} +18 -0
- package/dist/esm/{input-handlers-CzWCJ849.js → input-handlers-1lVyzImK.js} +1 -1
- package/dist/esm/{insurance-state-DTR-V07V.js → insurance-state-jZTKdt60.js} +1 -1
- package/dist/esm/internal-tokenize-payment-method_7.entry.js +12 -11
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +26 -18
- package/dist/esm/justifi-additional-statement_8.entry.js +2 -2
- package/dist/esm/justifi-apple-pay_8.entry.js +113 -714
- package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +7 -7
- package/dist/esm/justifi-business-details.entry.js +10 -11
- package/dist/esm/justifi-business-form.entry.js +18 -19
- package/dist/esm/justifi-checkout.entry.js +9 -8
- package/dist/esm/justifi-checkouts-list-filters.entry.js +4 -5
- package/dist/esm/justifi-checkouts-list.entry.js +11 -12
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +7 -8
- package/dist/esm/justifi-dispute-notification_3.entry.js +10 -11
- package/dist/esm/justifi-gross-payment-chart.entry.js +8 -9
- package/dist/esm/justifi-order-terminals.entry.js +12 -13
- package/dist/esm/justifi-payment-details.entry.js +10 -11
- package/dist/esm/justifi-payment-provisioning-core.entry.js +5 -5
- package/dist/esm/justifi-payment-provisioning.entry.js +30 -24
- package/dist/esm/justifi-payment-transactions-list.entry.js +11 -12
- package/dist/esm/justifi-payments-list-filters.entry.js +15 -4
- package/dist/esm/justifi-payments-list.entry.js +12 -13
- package/dist/esm/justifi-payout-details.entry.js +9 -10
- package/dist/esm/justifi-payout-transactions-list.entry.js +11 -12
- package/dist/esm/justifi-payouts-list-filters.entry.js +22 -4
- package/dist/esm/justifi-payouts-list.entry.js +13 -14
- package/dist/esm/justifi-refund-payment.entry.js +12 -13
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +10 -9
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +6 -7
- package/dist/esm/justifi-terminal-orders-list.entry.js +10 -11
- package/dist/esm/justifi-terminals-list-filters.entry.js +5 -6
- package/dist/esm/justifi-terminals-list.entry.js +12 -13
- package/dist/esm/justifi-tokenize-payment-method.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-Cnc2WKdS.js → package-D4eE0MBI.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-fTIONWal.js → parts-C4FLe2pT.js} +5 -1
- package/dist/esm/payment-details-core.entry.js +16 -17
- package/dist/esm/payment-method-option.entry.js +2 -2
- package/dist/esm/{payment-provisioning-actions-ONP8lDnV.js → payment-provisioning-actions-CBvplwPf.js} +2 -0
- package/dist/esm/{payment-provisioning-loading-C5aC-7Xf.js → payment-provisioning-loading-D_VKtlLm.js} +1 -1
- package/dist/esm/{payment.service-C2lFq1yV.js → payment.service-Nvz1TYZB.js} +3 -3
- package/dist/esm/payments-list-core.entry.js +11 -11
- package/dist/esm/{payments-status-ChFodVw0.js → payments-status-D4XkcfLU.js} +1 -1
- package/dist/esm/{payments-table-DHYfybe9.js → payments-table-BDaiD836.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +10 -10
- package/dist/esm/{payout.service-ChupMPKT.js → payout.service-tTxsxoqF.js} +3 -3
- package/dist/esm/payouts-list-core.entry.js +10 -11
- package/dist/esm/{payouts-status-BFp0DBRt.js → payouts-status-BR1vd6-D.js} +1 -1
- package/dist/esm/{payouts-table-CPFbykKY.js → payouts-table-B4nuJlpC.js} +3 -3
- package/dist/esm/{plaid-icon-wJLd-2NX.js → plaid-icon-B7a1QC7F.js} +3 -3
- package/dist/esm/{schema-validations-CfHWzMvr.js → schema-validations-v6WGlZkq.js} +4 -4
- package/dist/esm/{skeleton-C0UU9Mei.js → skeleton-C162KC3u.js} +1 -1
- package/dist/esm/{spinner-CkUdH9X9.js → spinner-BfjGGaND.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +2 -2
- package/dist/esm/{table-DiZqpIWv.js → table-hHARNoRM.js} +2 -2
- package/dist/esm/terminal-orders-list-core.entry.js +9 -10
- package/dist/esm/{terminal-orders-table-BwGEq9On.js → terminal-orders-table-B-xs6ocO.js} +5 -5
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-DqibXFHt.js → terminal.service-Dv1-CZ4Y.js} +3 -3
- package/dist/esm/terminals-list-core.entry.js +9 -10
- package/dist/esm/{terminals-table-BeYpMiBC.js → terminals-table-CnKH-UOw.js} +3 -3
- package/dist/esm/{utils-CDaVtz_6.js → utils-7bp92NC7.js} +28 -1
- package/dist/esm/{utils-DBWsd4R9.js → utils-BSpK1eMX.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +0 -1
- package/dist/module/Business.js +3 -31
- package/dist/module/Plaid.js +1 -1
- package/dist/module/bank-account-document-inputs.js +0 -1
- package/dist/module/business-bank-account-form-step.js +1 -2
- package/dist/module/business-core-info-form-step.js +10 -1
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +0 -1
- package/dist/module/business.service.js +0 -1
- package/dist/module/checkout.service.js +0 -1
- package/dist/module/checkouts-list-core2.js +0 -1
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/dispute-response-actions.js +0 -1
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number2.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/form.js +18 -0
- package/dist/module/get-payment-details.js +0 -1
- package/dist/module/get-subaccounts.js +0 -1
- package/dist/module/google-pay.js +101 -722
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/internal-tokenize-payment-method2.js +1 -2
- package/dist/module/justifi-business-form.js +0 -1
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-checkouts-list-filters.js +0 -1
- package/dist/module/justifi-checkouts-list.js +1 -2
- package/dist/module/justifi-gross-payment-chart.js +0 -1
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-order-terminals.js +3 -4
- package/dist/module/justifi-payment-provisioning.js +23 -16
- package/dist/module/justifi-payment-transactions-list.js +2 -3
- package/dist/module/justifi-payments-list-filters.js +17 -3
- package/dist/module/justifi-payments-list.js +1 -2
- package/dist/module/justifi-payout-details.js +1 -2
- package/dist/module/justifi-payout-transactions-list.js +2 -3
- package/dist/module/justifi-payouts-list-filters.js +31 -7
- package/dist/module/justifi-payouts-list.js +2 -3
- package/dist/module/justifi-refund-payment.js +1 -2
- package/dist/module/justifi-season-interruption-insurance.js +1 -2
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +4 -5
- package/dist/module/justifi-terminal-orders-list.js +2 -3
- package/dist/module/justifi-terminals-list-filters.js +3 -4
- package/dist/module/justifi-terminals-list.js +2 -3
- package/dist/module/justifi-tokenize-payment-method.js +1 -1
- package/dist/module/modular-checkout.js +0 -1
- package/dist/module/package.js +1 -1
- package/dist/module/parts.js +5 -1
- package/dist/module/payment-details-core2.js +8 -9
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment-provisioning-actions.js +2 -0
- package/dist/module/payment.service.js +0 -1
- package/dist/module/payments-list-core2.js +2 -2
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payout.service.js +0 -1
- package/dist/module/payouts-list-core2.js +1 -2
- package/dist/module/plaid.service.js +0 -1
- package/dist/module/summary.js +1 -1
- package/dist/module/table.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +2 -3
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminal.service.js +0 -1
- package/dist/module/terminals-list-core2.js +2 -3
- package/dist/module/utils2.js +28 -1
- package/dist/types/api/Business.d.ts +10 -10
- package/dist/types/api/Payment.d.ts +3 -0
- package/dist/types/api/Payout.d.ts +1 -0
- package/dist/types/api/index.d.ts +0 -1
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +5 -5
- package/dist/types/components/modular-checkout/sub-components/google-pay.d.ts +18 -49
- package/dist/types/components/payments-list/payments-list-filters.d.ts +7 -0
- package/dist/types/components/payouts-list/payouts-list-filters.d.ts +5 -0
- package/dist/types/components.d.ts +20 -99
- package/dist/types/styles/parts.d.ts +4 -0
- package/dist/types/ui-components/form/form.d.ts +2 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/webcomponents/p--Kvji7o2.js +1 -0
- package/dist/webcomponents/p-05d11c40.entry.js +1 -0
- package/dist/webcomponents/p-0e21749b.entry.js +1 -0
- package/dist/webcomponents/p-0f1c100d.entry.js +1 -0
- package/dist/webcomponents/{p-ab89e764.entry.js → p-11402020.entry.js} +1 -1
- package/dist/webcomponents/p-12665340.entry.js +1 -0
- package/dist/webcomponents/{p-88eb0648.entry.js → p-154efb83.entry.js} +1 -1
- package/dist/webcomponents/p-19f1e643.entry.js +1 -0
- package/dist/webcomponents/p-1b973781.entry.js +1 -0
- package/dist/webcomponents/p-2438363d.entry.js +1 -0
- package/dist/webcomponents/{p-90240aa6.entry.js → p-2b679e5a.entry.js} +1 -1
- package/dist/webcomponents/p-2bbd810a.entry.js +1 -0
- package/dist/webcomponents/{p-3cc40df9.entry.js → p-2d39358b.entry.js} +1 -1
- package/dist/webcomponents/p-300002dd.entry.js +1 -0
- package/dist/webcomponents/p-38c1e9fa.entry.js +1 -0
- package/dist/webcomponents/p-3971d6b7.entry.js +1 -0
- package/dist/webcomponents/{p-0b9b50f8.entry.js → p-402ba9aa.entry.js} +1 -1
- package/dist/webcomponents/p-423b63ad.entry.js +1 -0
- package/dist/webcomponents/{p-33ceb1cf.entry.js → p-5206cd09.entry.js} +1 -1
- package/dist/webcomponents/{p-7a48659c.entry.js → p-52dc271f.entry.js} +1 -1
- package/dist/webcomponents/{p-6be6d4ec.entry.js → p-540e2ef2.entry.js} +1 -1
- package/dist/webcomponents/{p-y8av3w9x.js → p-55QcjheA.js} +1 -1
- package/dist/webcomponents/p-5862236f.entry.js +1 -0
- package/dist/webcomponents/p-5cee4e33.entry.js +1 -0
- package/dist/webcomponents/p-5d753fd4.entry.js +1 -0
- package/dist/webcomponents/{p-CBiNYzSf.js → p-5mt2ek0H.js} +1 -1
- package/dist/webcomponents/p-62f9c008.entry.js +1 -0
- package/dist/webcomponents/p-6V4e6Fb_.js +1 -0
- package/dist/webcomponents/p-6c503a00.entry.js +1 -0
- package/dist/webcomponents/p-6d565cd6.entry.js +1 -0
- package/dist/webcomponents/p-7769de83.entry.js +1 -0
- package/dist/webcomponents/{p-8f29877f.entry.js → p-7e14f6ac.entry.js} +1 -1
- package/dist/webcomponents/p-7f3dcd42.entry.js +1 -0
- package/dist/webcomponents/{p-3fc100b7.entry.js → p-808bf425.entry.js} +1 -1
- package/dist/webcomponents/p-8728065b.entry.js +1 -0
- package/dist/webcomponents/p-88c6713a.entry.js +1 -0
- package/dist/webcomponents/p-8Wa_-5QM.js +1 -0
- package/dist/webcomponents/p-8a42d4fe.entry.js +1 -0
- package/dist/webcomponents/p-8c55dac0.entry.js +1 -0
- package/dist/webcomponents/{p-3299c8c2.entry.js → p-8e631781.entry.js} +1 -1
- package/dist/webcomponents/p-979d22d0.entry.js +1 -0
- package/dist/webcomponents/p-9a11f17b.entry.js +1 -0
- package/dist/webcomponents/{p-4301e975.entry.js → p-9d69ae9f.entry.js} +3 -3
- package/dist/webcomponents/p-BHA4oSi3.js +1 -0
- package/dist/webcomponents/p-B_KHnbK8.js +1 -0
- package/dist/webcomponents/{p-GgW1g7FQ.js → p-BcNb9bVO.js} +1 -1
- package/dist/webcomponents/p-BiNakvsa.js +1 -0
- package/dist/webcomponents/p-BoO2BHR_.js +1 -0
- package/dist/webcomponents/p-BovgIz83.js +1 -0
- package/dist/webcomponents/{p-BZbvHgMz.js → p-Bt4GjEWL.js} +1 -1
- package/dist/webcomponents/p-BtFe5yQU.js +1 -0
- package/dist/webcomponents/{p--afWnVJc.js → p-C3kbpEIZ.js} +1 -1
- package/dist/webcomponents/p-C4FLe2pT.js +1 -0
- package/dist/webcomponents/p-C6o0liMT.js +1 -0
- package/dist/webcomponents/{p-ShBqgGPM.js → p-CGJ_mnry.js} +1 -1
- package/dist/webcomponents/p-CI11WF1E.js +1 -0
- package/dist/webcomponents/{p-Bfu8Pqrd.js → p-CIh-k9yP.js} +1 -1
- package/dist/webcomponents/{p-Tj4VxUWO.js → p-CJZ09QNH.js} +1 -1
- package/dist/webcomponents/{p-DiJD6Iqx.js → p-CKiAlBsU.js} +1 -1
- package/dist/webcomponents/{p-g0kDRH6Z.js → p-CMqX6btO.js} +1 -1
- package/dist/webcomponents/{p-DowKbhRa.js → p-CbTf_N6u.js} +1 -1
- package/dist/webcomponents/{p--cI8fPJx.js → p-CemnnRdZ.js} +1 -1
- package/dist/webcomponents/p-CkX7qWsc.js +1 -0
- package/dist/webcomponents/p-D4eE0MBI.js +1 -0
- package/dist/webcomponents/{p-Y-EhaLdV.js → p-D8EGHc_m.js} +1 -1
- package/dist/webcomponents/p-DAZtHA62.js +1 -0
- package/dist/webcomponents/{p-YiF4YKVz.js → p-DFiTyYE9.js} +1 -1
- package/dist/webcomponents/{p-lDnX3HTT.js → p-DO4RBao8.js} +1 -1
- package/dist/webcomponents/{p-DSlxs7BR.js → p-DYEXDs2k.js} +1 -1
- package/dist/webcomponents/p-Daew0gTO.js +1 -0
- package/dist/webcomponents/p-DqVU8ohH.js +1 -0
- package/dist/webcomponents/{p-CWyW004b.js → p-DqtDbB8E.js} +1 -1
- package/dist/webcomponents/p-DsT0m0mo.js +1 -0
- package/dist/webcomponents/p-DyETkJs3.js +1 -0
- package/dist/webcomponents/{p-D6D_29Tw.js → p-DyJ1zSHJ.js} +1 -1
- package/dist/webcomponents/p-EaBIgUj8.js +1 -0
- package/dist/webcomponents/{p-ygekUw3Q.js → p-HT_4DkD0.js} +1 -1
- package/dist/webcomponents/{p-B2v3zyF0.js → p-HfLk4CG0.js} +1 -1
- package/dist/webcomponents/{p-wSi5d4-j.js → p-Jz9qdPhR.js} +1 -1
- package/dist/webcomponents/{p-B09GVew-.js → p-MeSAYDNh.js} +1 -1
- package/dist/webcomponents/p-R0FDNhyd.js +1 -0
- package/dist/webcomponents/{p-B1AMrMly.js → p-_-2E_vYf.js} +1 -1
- package/dist/webcomponents/{p-5d13c0c0.entry.js → p-a105de67.entry.js} +1 -1
- package/dist/webcomponents/{p-f7128387.entry.js → p-afa2ebd9.entry.js} +1 -1
- package/dist/webcomponents/p-b4b540fa.entry.js +1 -0
- package/dist/webcomponents/p-b54bf8da.entry.js +1 -0
- package/dist/webcomponents/p-bcba5950.entry.js +1 -0
- package/dist/webcomponents/p-c0592f5f.entry.js +1 -0
- package/dist/webcomponents/p-c6a9410d.entry.js +1 -0
- package/dist/webcomponents/p-c6aee723.entry.js +1 -0
- package/dist/webcomponents/p-c725dc53.entry.js +1 -0
- package/dist/webcomponents/{p-5985f6af.entry.js → p-c72c5b99.entry.js} +1 -1
- package/dist/webcomponents/p-c7930f9a.entry.js +1 -0
- package/dist/webcomponents/{p-412ae576.entry.js → p-cb09959d.entry.js} +1 -1
- package/dist/webcomponents/p-d0813f21.entry.js +1 -0
- package/dist/webcomponents/p-d62da4f2.entry.js +1 -0
- package/dist/webcomponents/p-d766763a.entry.js +1 -0
- package/dist/webcomponents/{p-2e1e489f.entry.js → p-d9118b1e.entry.js} +1 -1
- package/dist/webcomponents/p-df61f19b.entry.js +1 -0
- package/dist/webcomponents/p-e2bc6c68.entry.js +1 -0
- package/dist/webcomponents/p-e71e4c49.entry.js +1 -0
- package/dist/webcomponents/{p-f90d7db1.entry.js → p-e89d0f36.entry.js} +1 -1
- package/dist/webcomponents/p-eEJMJXTG.js +1 -0
- package/dist/webcomponents/p-eb1251bf.entry.js +1 -0
- package/dist/webcomponents/p-ed4f8027.entry.js +1 -0
- package/dist/webcomponents/p-f18e90b1.entry.js +1 -0
- package/dist/webcomponents/{p-403b2248.entry.js → p-fbfe6211.entry.js} +1 -1
- package/dist/webcomponents/{p-f9af4ade.entry.js → p-ff4d485f.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/collection/api/GooglePay.js +0 -181
- package/dist/collection/api/services/google-pay.service.js +0 -241
- package/dist/collection/ui-components/google-pay-button.js +0 -251
- package/dist/module/GooglePay.js +0 -184
- package/dist/types/api/GooglePay.d.ts +0 -271
- package/dist/types/api/services/google-pay.service.d.ts +0 -60
- package/dist/types/ui-components/google-pay-button.d.ts +0 -18
- package/dist/webcomponents/p-0188cdac.entry.js +0 -1
- package/dist/webcomponents/p-0c2728c3.entry.js +0 -1
- package/dist/webcomponents/p-130473c3.entry.js +0 -1
- package/dist/webcomponents/p-1c044649.entry.js +0 -1
- package/dist/webcomponents/p-1c5d1853.entry.js +0 -1
- package/dist/webcomponents/p-1d610dba.entry.js +0 -1
- package/dist/webcomponents/p-2019fdfd.entry.js +0 -1
- package/dist/webcomponents/p-29d056ed.entry.js +0 -1
- package/dist/webcomponents/p-2e2494ef.entry.js +0 -1
- package/dist/webcomponents/p-36103b16.entry.js +0 -1
- package/dist/webcomponents/p-387c76a4.entry.js +0 -1
- package/dist/webcomponents/p-3f7cffdc.entry.js +0 -1
- package/dist/webcomponents/p-4ddee6a9.entry.js +0 -1
- package/dist/webcomponents/p-5087ce6d.entry.js +0 -1
- package/dist/webcomponents/p-55af29a1.entry.js +0 -1
- package/dist/webcomponents/p-5aA7gjr5.js +0 -1
- package/dist/webcomponents/p-5c8bf8a6.entry.js +0 -1
- package/dist/webcomponents/p-5dv0txs0.js +0 -1
- package/dist/webcomponents/p-6c4be54a.entry.js +0 -1
- package/dist/webcomponents/p-6f82657a.entry.js +0 -1
- package/dist/webcomponents/p-76919e48.entry.js +0 -1
- package/dist/webcomponents/p-88716a35.entry.js +0 -1
- package/dist/webcomponents/p-88735d18.entry.js +0 -1
- package/dist/webcomponents/p-9484af96.entry.js +0 -1
- package/dist/webcomponents/p-96e9f41b.entry.js +0 -1
- package/dist/webcomponents/p-9a215fc7.entry.js +0 -1
- package/dist/webcomponents/p-9d0b6f34.entry.js +0 -1
- package/dist/webcomponents/p-BRPbLfCN.js +0 -1
- package/dist/webcomponents/p-BRieSe65.js +0 -1
- package/dist/webcomponents/p-Bg7JIRrk.js +0 -1
- package/dist/webcomponents/p-By-Mu1IX.js +0 -1
- package/dist/webcomponents/p-C0dMwnDO.js +0 -1
- package/dist/webcomponents/p-C3dkSx6l.js +0 -1
- package/dist/webcomponents/p-Cf0Rt_Os.js +0 -1
- package/dist/webcomponents/p-CkYB1zGe.js +0 -1
- package/dist/webcomponents/p-Cnc2WKdS.js +0 -1
- package/dist/webcomponents/p-CsilKlYU.js +0 -1
- package/dist/webcomponents/p-CuaXkS6j.js +0 -1
- package/dist/webcomponents/p-DCwnBXF7.js +0 -1
- package/dist/webcomponents/p-DKemQxaE.js +0 -1
- package/dist/webcomponents/p-DmwvaeZd.js +0 -1
- package/dist/webcomponents/p-DqD32M9M.js +0 -1
- package/dist/webcomponents/p-MVBgKFOv.js +0 -1
- package/dist/webcomponents/p-a1dafcb9.entry.js +0 -1
- package/dist/webcomponents/p-a7907856.entry.js +0 -1
- package/dist/webcomponents/p-aONkyLLS.js +0 -1
- package/dist/webcomponents/p-aab50c09.entry.js +0 -1
- package/dist/webcomponents/p-bd0404bf.entry.js +0 -1
- package/dist/webcomponents/p-bdfc61b0.entry.js +0 -1
- package/dist/webcomponents/p-bf242a98.entry.js +0 -1
- package/dist/webcomponents/p-bf3a552e.entry.js +0 -1
- package/dist/webcomponents/p-c1d48f19.entry.js +0 -1
- package/dist/webcomponents/p-c835c19b.entry.js +0 -1
- package/dist/webcomponents/p-caadf62a.entry.js +0 -1
- package/dist/webcomponents/p-ccc26acf.entry.js +0 -1
- package/dist/webcomponents/p-d375e82b.entry.js +0 -1
- package/dist/webcomponents/p-d84e5a0e.entry.js +0 -1
- package/dist/webcomponents/p-def9b542.entry.js +0 -1
- package/dist/webcomponents/p-edb8dae3.entry.js +0 -1
- package/dist/webcomponents/p-f57cb5d1.entry.js +0 -1
- package/dist/webcomponents/p-f5d407af.entry.js +0 -1
- package/dist/webcomponents/p-f7dac1c8.entry.js +0 -1
- package/dist/webcomponents/p-fTIONWal.js +0 -1
- package/dist/webcomponents/p-m_Ly-YPk.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,B as t,a,w as n,N as o,d as i,b as r}from"./p-CV0Pyo1O.js";export{s as setNonce}from"./p-CV0Pyo1O.js";import{g as d}from"./p-DQuL1Twl.js";var l=e=>{const t=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return t.call(this,e);const a=t.call(this,!1),n=this.childNodes;if(e)for(let e=0;e<n.length;e++)2!==n[e].nodeType&&a.appendChild(n[e].cloneNode(!0));return a}};(()=>{t.isDev&&!t.isTesting&&a("Running in development mode."),t.cloneNodeFix&&l(i.prototype);const r=t.scriptDataOpts?n.document&&Array.from(n.document.querySelectorAll("script")).find((e=>new RegExp(`/${o}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===o)):null,s=import.meta.url,d=t.scriptDataOpts&&(r||{})["data-opts"]||{};return""!==s&&(d.resourcesUrl=new URL(".",s).href),e(d)})().then((async e=>(await d(),r(JSON.parse('[["p-1c5d1853",[[257,"justifi-payment-provisioning",{"businessId":[1,"business-id"],"authToken":[1,"auth-token"],"allowOptionalFields":[4,"allow-optional-fields"],"formTitle":[1,"form-title"],"postProvisioning":[32],"getBusiness":[32]},null,{"authToken":["propChanged"],"businessId":["propChanged"]}]]],["p-1d610dba",[[260,"justifi-checkout",{"authToken":[1,"auth-token"],"checkoutId":[1,"checkout-id"],"disableBankAccount":[4,"disable-bank-account"],"disableBnpl":[4,"disable-bnpl"],"disableCreditCard":[4,"disable-credit-card"],"disablePaymentMethodGroup":[4,"disable-payment-method-group"],"hideBankAccountBillingForm":[4,"hide-bank-account-billing-form"],"hideCardBillingForm":[4,"hide-card-billing-form"],"preCompleteHook":[16],"availablePaymentMethods":[32],"checkout":[32],"complete":[32],"errorMessage":[32],"insuranceToggled":[32],"isSubmitting":[32],"serverError":[32],"fillBillingForm":[64],"validate":[64]},[[0,"submit-event","checkoutComplete"],[0,"error-event","checkoutError"],[0,"checkout-changed","checkoutChanged"]],{"authToken":["propChanged"],"checkoutId":["propChanged"],"disableCreditCard":["propChanged"],"disableBankAccount":["propChanged"],"disablePaymentMethodGroup":["propChanged"]}]]],["p-5c8bf8a6",[[256,"justifi-dispute-management",{"disputeId":[1,"dispute-id"],"authToken":[1,"auth-token"],"getDispute":[32],"errorMessage":[32]},null,{"disputeId":["propChanged"],"authToken":["propChanged"]}]]],["p-412ae576",[[257,"justifi-tokenize-payment-method",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"disableBankAccount":[4,"disable-bank-account"],"disableCreditCard":[4,"disable-credit-card"],"hideBankAccountBillingForm":[4,"hide-bank-account-billing-form"],"hideCardBillingForm":[4,"hide-card-billing-form"],"hideSubmitButton":[4,"hide-submit-button"],"paymentMethodGroupId":[1,"payment-method-group-id"],"submitButtonText":[1,"submit-button-text"],"savePaymentMethodLabel":[1,"save-payment-method-label"],"tokenizePaymentMethod":[64],"fillBillingForm":[64],"validate":[64]}]]],["p-1c044649",[[257,"justifi-refund-payment",{"authToken":[1,"auth-token"],"accountId":[1,"account-id"],"paymentId":[1,"payment-id"],"hideSubmitButton":[4,"hide-submit-button"],"formController":[32],"refundPayload":[32],"displayAmount":[32],"errors":[32],"paymentLoading":[32],"refundLoading":[32],"submitDisabled":[32],"payment":[32],"refundPayment":[64]}]]],["p-2e2494ef",[[257,"justifi-order-terminals",{"businessId":[1,"business-id"],"authToken":[1,"auth-token"],"accountId":[1,"account-id"],"shipping":[4],"submitButtonText":[1,"submit-button-text"],"loading":[32],"submitting":[32],"error":[32],"business":[32],"terminalModels":[32],"orderLimit":[32],"order":[32],"totalQuantity":[32]}]]],["p-0c2728c3",[[257,"justifi-payments-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"columns":[1],"getPayments":[32],"errorMessage":[32]},null,{"accountId":["propChanged"],"authToken":["propChanged"]}]]],["p-6f82657a",[[257,"justifi-payout-details",{"payoutId":[1,"payout-id"],"authToken":[1,"auth-token"],"enableRecordClick":[4,"enable-record-click"],"getPayout":[32],"getPayoutCSV":[32],"errorMessage":[32]},null,{"payoutId":["propChanged"],"authToken":["propChanged"]}]]],["p-76919e48",[[257,"justifi-payouts-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"columns":[1],"getPayouts":[32],"getPayoutCSV":[32],"getSubAccounts":[32],"errorMessage":[32]},null,{"accountId":["propChanged"],"authToken":["propChanged"]}]]],["p-f57cb5d1",[[257,"justifi-season-interruption-insurance",{"authToken":[1,"auth-token"],"checkoutId":[1,"checkout-id"],"primaryIdentityFirstName":[1,"primary-identity-first-name"],"primaryIdentityLastName":[1,"primary-identity-last-name"],"primaryIdentityState":[1,"primary-identity-state"],"primaryIdentityPostalCode":[1,"primary-identity-postal-code"],"primaryIdentityCountry":[1,"primary-identity-country"],"primaryIdentityEmailAddress":[1,"primary-identity-email-address"],"policyAttributesInsurableAmount":[2,"policy-attributes-insurable-amount"],"policyAttributesStartDate":[1,"policy-attributes-start-date"],"policyAttributesEndDate":[1,"policy-attributes-end-date"],"coveredIdentityFirstName":[1,"covered-identity-first-name"],"coveredIdentityLastName":[1,"covered-identity-last-name"],"getQuote":[32],"toggleCoverage":[32],"quote":[32],"isLoading":[32],"accepted":[32],"validate":[64]}]]],["p-55af29a1",[[257,"justifi-terminal-orders-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"columns":[1],"getTerminalOrders":[32],"errorMessage":[32]}]]],["p-bf3a552e",[[257,"justifi-terminals-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"columns":[1],"getTerminals":[32],"getSubAccounts":[32],"errorMessage":[32]},null,{"accountId":["propChanged"],"authToken":["propChanged"]}]]],["p-5d13c0c0",[[256,"business-details-core",{"getBusiness":[16],"business":[32],"renderState":[32],"errorMessage":[32]}]]],["p-4ddee6a9",[[257,"justifi-business-details",{"businessId":[1,"business-id"],"authToken":[1,"auth-token"],"errorMessage":[32],"getBusiness":[32]}]]],["p-def9b542",[[256,"payment-details-core",{"getPaymentDetails":[16],"payment":[32],"loading":[32],"errorMessage":[32]},null,{"getPaymentDetails":["updateOnPropChange"]}]]],["p-29d056ed",[[256,"payout-details-core",{"getPayout":[16],"getPayoutCSV":[16],"enableRecordClick":[4,"enable-record-click"],"payout":[32],"loading":[32],"errorMessage":[32]},null,{"getPayout":["getPayoutWatcher"]}]]],["p-4301e975",[[256,"gross-payment-chart-core",{"getGrossPayment":[16],"grossVolumeReport":[32],"loading":[32],"errorMessage":[32]},null,{"getGrossPayment":["propChanged"],"grossVolumeReport":["grossVolumeReportChanged"]}]]],["p-3fc100b7",[[256,"form-control-tooltip",{"helpText":[1,"help-text"],"anchorIcon":[32],"tooltip":[32]},[[0,"showEvent","show"],[0,"hideEvent","hide"]]],[260,"custom-popper",{"placement":[1],"offset":[16],"strategy":[1],"trigger":[1],"anchorRef":[16],"isOpen":[32]},null,{"anchorRef":["onAnchorRefChange"]}]]],["p-6be6d4ec",[[256,"justifi-business-representative",{"formController":[16],"country":[1],"errors":[32],"representative":[32],"isEditingIdentification":[32]}],[256,"justifi-business-core-info",{"formController":[16],"country":[1],"errors":[32],"coreInfo":[32],"isEditingTaxId":[32]}],[256,"justifi-additional-questions",{"formController":[16],"errors":[32],"additional_questions":[32]}],[256,"justifi-legal-address-form",{"formController":[16],"country":[1],"errors":[32],"legal_address":[32]}],[256,"form-alert",{"text":[1],"hideAlert":[4,"hide-alert"]}]]],["p-3cc40df9",[[260,"table-filters-menu",{"params":[8],"clearParams":[16],"anchorButton":[32],"menu":[32],"showClearButton":[32]},[[0,"showEvent","show"],[0,"hideEvent","hide"]],{"params":["watchParamsHandler"]}]]],["p-c1d48f19",[[257,"justifi-saved-payment-methods"],[257,"justifi-apple-pay",{"countryCode":[1,"country-code"],"merchantIdentifier":[1,"merchant-identifier"],"merchantDisplayName":[1,"merchant-display-name"],"initiativeContext":[1,"initiative-context"],"buttonType":[1,"button-type"],"buttonStyle":[1,"button-style"],"disabled":[4],"showSkeleton":[4,"show-skeleton"],"width":[1],"height":[1],"isLoading":[32],"isProcessing":[32],"isAvailable":[32],"canMakePayments":[32],"isConfigValid":[32],"error":[32],"isSupported":[64],"getPaymentMethods":[64],"abort":[64]}],[257,"justifi-checkout-summary"],[257,"justifi-google-pay",{"buttonSizeMode":[1,"button-size-mode"],"buttonStyle":[1,"button-style"],"buttonType":[1,"button-type"],"countryCode":[1,"country-code"],"disabled":[4],"environment":[1],"merchantId":[1,"merchant-id"],"merchantName":[1,"merchant-name"],"showSkeleton":[4,"show-skeleton"],"canMakePayments":[32],"error":[32],"isAvailable":[32],"isLoading":[32],"isProcessing":[32],"getSupportedAuthMethods":[64],"getSupportedNetworks":[64],"handleSelectionClick":[64],"isSupported":[64],"prefetchPaymentData":[64]},null,{"merchantId":["watchConfigChange"],"environment":["watchConfigChange"]}],[257,"justifi-header",{"text":[1],"level":[1],"class":[1]}],[256,"justifi-modular-checkout",{"authToken":[1,"auth-token"],"checkoutId":[1,"checkout-id"],"preCompleteHook":[16],"setSelectedPaymentMethod":[64],"validate":[64],"submitCheckout":[64]}],[257,"justifi-plaid-payment-method",{"isAuthenticating":[32],"publicToken":[32],"linkToken":[32],"linkTokenId":[32],"error":[32],"plaidLink":[32],"isSelected":[32],"retryCount":[32],"isRetrying":[32],"resolvePaymentMethod":[64],"getPaymentToken":[64],"handleSelectionClick":[64],"setSelected":[64],"isCurrentlySelected":[64],"deselect":[64],"reset":[64],"isReadyForAuthentication":[64],"retry":[64],"getErrorInfo":[64]},null,{"isSelected":["onSelectionChange"]}],[257,"justifi-sezzle-payment-method",{"installmentPlan":[32],"sezzleCheckout":[32],"sezzlePromise":[32],"resolvePaymentMethod":[64],"handleSelectionClick":[64]}]]],["p-a7907856",[[256,"form-control-textarea",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[1,"default-value"],"maxLength":[2,"max-length"],"inputHandler":[16],"keyDownHandler":[16],"disabled":[4],"isFocused":[32]},null,{"defaultValue":["handleDefaultValueChange"]}],[256,"form-control-file-v2",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"multiple":[4],"inputHandler":[16],"disabled":[4],"files":[32]}]]],["p-f90d7db1",[[256,"form-control-date",{"name":[1],"label":[1],"inputHandler":[16],"defaultValue":[1,"default-value"],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"disabled":[4],"showTime":[4,"show-time"],"maxDate":[1,"max-date"],"isFocused":[32]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["p-8f29877f",[[256,"form-control-select",{"name":[8],"label":[1],"options":[16],"inputHandler":[16],"defaultValue":[1,"default-value"],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"disabled":[4],"isFocused":[32]},null,{"defaultValue":["handleDefaultValueChange"]}],[256,"form-control-text",{"name":[8],"label":[1],"inputHandler":[16],"defaultValue":[1,"default-value"],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"maxLength":[2,"max-length"],"keyDownHandler":[16],"disabled":[4],"isFocused":[32]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["p-a1dafcb9",[[257,"justifi-business-form",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"hideErrors":[4,"hide-errors"],"formTitle":[1,"form-title"],"removeTitle":[4,"remove-title"],"isLoading":[32],"isSaving":[32],"errorMessage":[32],"country":[32]}]]],["p-ccc26acf",[[257,"justifi-checkouts-list-filters",{"checkoutStatus":[1,"checkout-status"],"paymentMode":[1,"payment-mode"],"checkoutId":[1,"checkout-id"],"createdAfter":[1,"created-after"],"createdBefore":[1,"created-before"]}]]],["p-bd0404bf",[[257,"justifi-payments-list-filters",{"paymentId":[1,"payment-id"],"terminalId":[1,"terminal-id"],"paymentStatus":[1,"payment-status"],"createdAfter":[1,"created-after"],"createdBefore":[1,"created-before"]}]]],["p-0188cdac",[[257,"justifi-terminals-list-filters",{"terminalId":[1,"terminal-id"],"terminalOrderId":[1,"terminal-order-id"],"terminalStatus":[1,"terminal-status"],"createdAfter":[1,"created-after"],"createdBefore":[1,"created-before"]}]]],["p-bdfc61b0",[[257,"justifi-terminal-orders-list-filters",{"orderStatus":[1,"order-status"],"orderType":[1,"order-type"],"createdAfter":[1,"created-after"],"createdBefore":[1,"created-before"]}]]],["p-3f7cffdc",[[257,"justifi-payouts-list-filters",{"createdAfter":[1,"created-after"],"createdBefore":[1,"created-before"]}]]],["p-d375e82b",[[257,"justifi-checkouts-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"columns":[1],"subAccountId":[1,"sub-account-id"],"getCheckouts":[32],"getSubAccounts":[32],"errorMessage":[32]},null,{"accountId":["propChanged"],"authToken":["propChanged"],"subAccountId":["propChanged"]}]]],["p-edb8dae3",[[257,"justifi-payment-details",{"paymentId":[1,"payment-id"],"authToken":[1,"auth-token"],"getPaymentDetails":[32],"errorMessage":[32]},null,{"paymentId":["propChanged"],"authToken":["propChanged"]}]]],["p-5985f6af",[[256,"justifi-saved-payment-method",{"paymentMethodOption":[16],"isSelected":[4,"is-selected"],"resolvePaymentMethod":[64]}]]],["p-88716a35",[[257,"payment-method-option",{"paymentMethodOptionId":[1,"payment-method-option-id"],"isSelected":[4,"is-selected"],"clickHandler":[16],"radioButtonHidden":[4,"radio-button-hidden"],"label":[1]}]]],["p-33ceb1cf",[[256,"bank-account-form",{"isReady":[32],"iframeOrigin":[32],"tabId":[32],"validate":[64],"tokenize":[64]}]]],["p-403b2248",[[256,"card-form",{"isReady":[32],"iframeOrigin":[32],"tabId":[32],"validate":[64],"tokenize":[64]}]]],["p-5087ce6d",[[257,"justifi-gross-payment-chart",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"getGrossPayment":[32],"errorMessage":[32]},null,{"accountId":["propChanged"],"authToken":["propChanged"]}]]],["p-99065f37",[[256,"justifi-config-provider",{"apiOrigin":[1,"api-origin"],"iframeOrigin":[1,"iframe-origin"],"accountId":[1,"account-id"]}]]],["p-96e9f41b",[[257,"justifi-skeleton",{"component":[1],"height":[8],"width":[8],"class":[1],"customStyle":[16]}]]],["p-f7128387",[[256,"justifi-payment-provisioning-core",{"businessId":[1,"business-id"],"authToken":[1,"auth-token"],"allowOptionalFields":[4,"allow-optional-fields"],"formTitle":[1,"form-title"],"getBusiness":[16],"postProvisioning":[16],"loading":[32],"businessLoading":[32],"businessProvisioned":[32],"currentStep":[32],"errorMessage":[32],"country":[32]},[[0,"formCompleted","handleFormCompleted"],[0,"formLoading","handleFormLoading"]]]]],["p-393c9065",[[256,"justifi-dispute-management-core",{"getDispute":[16],"disputeId":[1,"dispute-id"],"authToken":[1,"auth-token"],"dispute":[32],"isLoading":[32],"showDisputeResponseForm":[32]},[[0,"click-event","disputeResponseHandler"],[0,"submit-event","disputeSubmittedHandler"]],{"getDispute":["updateOnPropChange"]}]]],["p-9484af96",[[256,"terminal-quantity-selector",{"modelName":[1,"model-name"],"imageUrl":[1,"image-url"],"description":[1],"helpUrl":[1,"help-url"],"limit":[2],"selectedQuantity":[32]}]]],["p-0b9b50f8",[[256,"pagination-menu",{"paging":[16],"params":[16]}]]],["p-6c4be54a",[[257,"justifi-payment-transactions-list",{"paymentId":[1,"payment-id"],"authToken":[1,"auth-token"],"columns":[1],"balanceTransactions":[32],"transactionsTable":[32],"isLoading":[32],"errorMessage":[32],"paging":[32],"pagingParams":[32]},null,{"pagingParams":["propChanged"],"paymentId":["propChanged"],"authToken":["propChanged"]}]]],["p-f7dac1c8",[[257,"justifi-payout-transactions-list",{"payoutId":[1,"payout-id"],"authToken":[1,"auth-token"],"columns":[1],"balanceTransactions":[32],"transactionsTable":[32],"isLoading":[32],"errorMessage":[32],"paging":[32],"pagingParams":[32]},null,{"pagingParams":["propChanged"],"payoutId":["propChanged"],"authToken":["propChanged"]}]]],["p-caadf62a",[[256,"checkouts-list-core",{"getCheckouts":[16],"getSubAccounts":[16],"columns":[1],"checkouts":[32],"checkoutsTable":[32],"subAccounts":[32],"loading":[32],"errorMessage":[32],"paging":[32],"pagingParams":[32]},null,{"pagingParams":["updateOnPropChange"],"getCheckouts":["updateOnPropChange"],"getSubAccounts":["updateOnPropChange"],"columns":["updateOnPropChange"]}]]],["p-f5d407af",[[256,"payments-list-core",{"getPayments":[16],"columns":[1],"payments":[32],"paymentsTable":[32],"loading":[32],"errorMessage":[32],"paging":[32],"pagingParams":[32]},null,{"pagingParams":["updateOnPropChange"],"getPayments":["updateOnPropChange"],"columns":["updateOnPropChange"]}]]],["p-d84e5a0e",[[256,"payouts-list-core",{"getPayouts":[16],"getSubAccounts":[16],"getPayoutCSV":[16],"columns":[1],"payouts":[32],"payoutsTable":[32],"subAccounts":[32],"loading":[32],"errorMessage":[32],"paging":[32],"pagingParams":[32]},null,{"pagingParams":["updateOnPropChange"],"getPayouts":["updateOnPropChange"],"getSubAccounts":["updateOnPropChange"]}]]],["p-387c76a4",[[256,"terminal-orders-list-core",{"getTerminalOrders":[16],"columns":[1],"terminalOrders":[32],"terminalOrdersTable":[32],"loading":[32],"errorMessage":[32],"paging":[32],"pagingParams":[32]},null,{"pagingParams":["updateOnPropChange"],"getTerminalOrders":["updateOnPropChange"],"columns":["updateOnPropChange"]}]]],["p-9d0b6f34",[[256,"terminals-list-core",{"getTerminals":[16],"getSubAccounts":[16],"columns":[1],"terminals":[32],"terminalsTable":[32],"subAccounts":[32],"loading":[32],"errorMessage":[32],"paging":[32],"pagingParams":[32]},null,{"pagingParams":["updateOnPropChange"],"getTerminals":["updateOnPropChange"],"getSubAccounts":["updateOnPropChange"],"columns":["updateOnPropChange"]}]]],["p-c835c19b",[[256,"form-control-monetary",{"name":[8],"label":[1],"inputHandler":[16],"defaultValue":[1,"default-value"],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"maxLength":[2,"max-length"],"keyDownHandler":[16],"disabled":[4],"isFocused":[32]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["p-bf242a98",[[256,"form-control-monetary-provisioning",{"label":[1],"name":[1],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[1,"default-value"],"inputHandler":[16],"maskOptions":[8,"mask-options"],"disabled":[4],"isFocused":[32]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["p-3299c8c2",[[260,"justifi-details",{"errorMessage":[1,"error-message"]}]]],["p-9a215fc7",[[257,"justifi-dispute-response",{"authToken":[1,"auth-token"],"disputeId":[1,"dispute-id"],"disputeResponse":[16],"apiOrigin":[1,"api-origin"],"updateDisputeResponse":[32],"submitDisputeResponse":[32],"createDisputeEvidence":[32],"errorMessage":[32]},null,{"accountId":["propChanged"],"authToken":["propChanged"]}],[257,"justifi-dispute-notification",{"dispute":[16],"authToken":[1,"auth-token"],"isLoading":[4,"is-loading"]}],[256,"justifi-dispute-response-core",{"updateDisputeResponse":[16],"submitDisputeResponse":[16],"createDisputeEvidence":[16],"disputeResponse":[8,"dispute-response"],"isLoading":[32],"documentList":[32],"documentErrors":[32],"currentStep":[32],"currentStepComponentRef":[32]}]]],["p-2019fdfd",[[256,"form-control-radio",{"label":[8],"name":[8],"value":[1],"helpText":[1,"help-text"],"inputHandler":[16],"disabled":[4],"errorText":[1,"error-text"],"checked":[4],"isFocused":[32]}]]],["p-7a48659c",[[256,"form-control-checkbox",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"checked":[4],"inputHandler":[16],"disabled":[4],"isFocused":[32]}]]],["p-f9af4ade",[[256,"additional-questions-details",{"additionalQuestions":[16]}],[256,"core-info-details",{"business":[16]}],[256,"legal-address-details",{"legalAddress":[16]}],[256,"owner-details",{"owners":[16]}],[256,"representative-details",{"representative":[16]}]]],["p-88eb0648",[[257,"justifi-billing-form-full",{"legend":[1025],"formController":[32],"billingInfo":[32],"errors":[32],"getValues":[64],"fill":[64],"validate":[64]}],[257,"justifi-bank-account-billing-form-simple",{"legend":[1025],"formController":[32],"billingInfo":[32],"errors":[32],"getValues":[64],"fill":[64],"validate":[64]}],[257,"justifi-card-billing-form-simple",{"legend":[1025],"formController":[32],"billingInfo":[32],"errors":[32],"getValues":[64],"fill":[64],"validate":[64]}]]],["p-90240aa6",[[256,"hidden-input",{"isFocused":[32],"errorText":[32]}],[256,"iframe-input",{"inputId":[1,"input-id"],"label":[1],"iframeOrigin":[1,"iframe-origin"],"isFocused":[32],"isValid":[32],"errorText":[32],"validate":[64],"tokenize":[64]}]]],["p-c7c79332",[[256,"form-control-help-text",{"helpText":[1,"help-text"],"name":[1]}]]],["p-2e1e489f",[[256,"justifi-identity-address-form",{"handleFormUpdate":[16],"errors":[8],"defaultValues":[8,"default-values"],"country":[1],"address":[32]},null,{"address":["handleAddressChange"]}],[256,"form-control-number-masked",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[1,"default-value"],"inputHandler":[16],"mask":[1],"disabled":[4],"isFocused":[32]},null,{"defaultValue":["handleDefaultValueChange"]}],[256,"justifi-form-address-fields",{"country":[1],"errors":[8],"defaultValues":[8,"default-values"],"inputHandler":[16]}]]],["p-130473c3",[[256,"owner-form-core",{"ownerId":[1,"owner-id"],"businessId":[1,"business-id"],"getOwner":[16],"patchOwner":[16],"postOwner":[16],"allowOptionalFields":[4,"allow-optional-fields"],"removeOwner":[16],"newFormOpen":[4,"new-form-open"],"ownersLength":[2,"owners-length"],"country":[1],"isLoading":[32],"formController":[32],"errors":[32],"owner":[32],"returnOwnerData":[64],"validate":[64],"submit":[64],"validateAndSubmit":[64]},null,{"isLoading":["loadingWatcher"]}],[256,"owner-form-inputs",{"ownerDefaultValue":[8,"owner-default-value"],"errors":[8],"formController":[16],"country":[1],"isEditingIdentification":[32]}],[256,"form-control-number",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[1,"default-value"],"inputHandler":[16],"disabled":[4],"isFocused":[32]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["p-36103b16",[[256,"internal-tokenize-payment-method",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"disableBankAccount":[4,"disable-bank-account"],"disableCreditCard":[4,"disable-credit-card"],"hideBankAccountBillingForm":[4,"hide-bank-account-billing-form"],"hideCardBillingForm":[4,"hide-card-billing-form"],"hideSubmitButton":[4,"hide-submit-button"],"paymentMethodGroupId":[1,"payment-method-group-id"],"submitButtonText":[1,"submit-button-text"],"savePaymentMethodLabel":[1,"save-payment-method-label"],"computedHideSubmitButton":[32],"isLoading":[32],"selectedPaymentMethod":[32],"fillBillingForm":[64],"tokenizePaymentMethod":[64],"validate":[64],"tokenize":[64]},[[0,"radio-click","handleRadioClick"]],{"disableCreditCard":["paymentMethodsChanged"],"disableBankAccount":["paymentMethodsChanged"]}],[256,"justifi-billing-form",{"legend":[1025],"hideCardBillingForm":[4,"hide-card-billing-form"],"hideBankAccountBillingForm":[4,"hide-bank-account-billing-form"],"paymentMethodType":[1,"payment-method-type"],"getValues":[64],"fill":[64],"validate":[64]}],[257,"justifi-bank-account-form",{"iframeOrigin":[32],"isReady":[32],"tabId":[32],"validate":[64],"tokenize":[64]}],[257,"justifi-card-form",{"isReady":[32],"iframeOrigin":[32],"tabId":[32],"validate":[64],"tokenize":[64]}],[257,"justifi-radio-list-item",{"name":[1],"value":[1],"label":[8],"checked":[4],"hidden":[4],"class":[1]}],[257,"justifi-save-new-payment-method",{"label":[1],"isChecked":[32]}],[257,"justifi-button",{"text":[1],"variant":[1],"isLoading":[4,"is-loading"],"clickHandler":[16],"disabled":[4],"type":[1],"class":[1],"customStyle":[1,"custom-style"]}]]],["p-ab89e764",[[256,"justifi-shipping-details",{"disputeResponse":[8,"dispute-response"],"documentErrors":[8,"document-errors"],"form":[32],"errors":[32],"documents":[32],"documentList":[32],"validateAndSubmit":[64]}],[256,"justifi-customer-details",{"disputeResponse":[8,"dispute-response"],"documentErrors":[8,"document-errors"],"form":[32],"errors":[32],"documents":[32],"validateAndSubmit":[64]}],[256,"justifi-duplicate-charge",{"disputeResponse":[8,"dispute-response"],"documentErrors":[8,"document-errors"],"form":[32],"errors":[32],"documents":[32],"validateAndSubmit":[64]}],[256,"justifi-additional-statement",{"disputeResponse":[8,"dispute-response"],"documentErrors":[8,"document-errors"],"form":[32],"errors":[32],"acceptedTerms":[32],"acceptedTermsErrorText":[32],"documents":[32],"validateAndSubmit":[64]}],[256,"justifi-cancellation-policy",{"disputeResponse":[8,"dispute-response"],"documentErrors":[8,"document-errors"],"form":[32],"errors":[32],"documents":[32],"validateAndSubmit":[64]}],[256,"justifi-product-or-service",{"disputeResponse":[8,"dispute-response"],"documentErrors":[8,"document-errors"],"form":[32],"errors":[32],"documents":[32],"validateAndSubmit":[64]}],[256,"justifi-refund-policy",{"disputeResponse":[8,"dispute-response"],"documentErrors":[8,"document-errors"],"form":[32],"errors":[32],"documents":[32],"validateAndSubmit":[64]}],[256,"justifi-electronic-evidence",{"disputeResponse":[8,"dispute-response"],"documentErrors":[8,"document-errors"],"form":[32],"errors":[32],"documents":[32],"validateAndSubmit":[64]}]]],["p-88735d18",[[256,"justifi-owner-form",{"authToken":[1,"auth-token"],"ownerId":[1,"owner-id"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"removeOwner":[16],"newFormOpen":[4,"new-form-open"],"ownersLength":[2,"owners-length"],"country":[1],"getOwner":[32],"patchOwner":[32],"postOwner":[32],"validate":[64],"submit":[64],"validateAndSubmit":[64]}],[256,"justifi-business-representative-form-inputs",{"representativeDefaultValue":[8,"representative-default-value"],"errors":[8],"formController":[16],"country":[1],"isEditingIdentification":[32]}],[256,"bank-account-form-inputs",{"defaultValue":[8,"default-value"],"errors":[8],"inputHandler":[16],"formDisabled":[4,"form-disabled"]}],[256,"bank-account-form-inputs-canada",{"defaultValue":[8,"default-value"],"errors":[8],"inputHandler":[16],"formDisabled":[4,"form-disabled"]}],[256,"bank-account-document-form-inputs",{"inputHandler":[16],"errors":[8],"storeFiles":[16]}],[256,"business-documents-on-file",{"documents":[8],"isLoading":[4,"is-loading"]}],[256,"plaid-verification",{"authToken":[1,"auth-token"],"accountId":[1,"account-id"],"businessId":[1,"business-id"],"linkToken":[32],"linkTokenId":[32],"plaidLink":[32],"isAuthenticating":[32],"isSuccess":[32],"error":[32],"isLoading":[32]}],[256,"form-control-file",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"multiple":[4],"documentType":[1,"document-type"],"inputHandler":[16],"disabled":[4],"files":[32],"fileString":[32],"isFocused":[32]}],[256,"bank-account-read-only-value",{"label":[1],"value":[1]}]]],["p-aab50c09",[[256,"justifi-payment-provisioning-form-steps",{"businessId":[1,"business-id"],"authToken":[1,"auth-token"],"refs":[16],"currentStep":[2,"current-step"],"allowOptionalFields":[4,"allow-optional-fields"],"country":[1],"handleFormLoading":[16]}],[256,"justifi-payment-provisioning-form-buttons",{"currentStep":[2,"current-step"],"totalSteps":[2,"total-steps"],"formLoading":[4,"form-loading"],"formDisabled":[4,"form-disabled"],"previousStepButtonOnClick":[16],"nextStepButtonOnClick":[16]}],[256,"justifi-business-owners-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"country":[1],"getBusiness":[32],"patchBusiness":[32],"ownersPayload":[32],"refs":[32],"newFormOpen":[32],"isLoading":[32],"representativeIsOwner":[32],"representative":[32],"validateAndSubmit":[64]},[[0,"ownerSubmitted","handleOwnerSubmit"]],{"authToken":["propChanged"],"businessId":["propChanged"],"ownersPayload":["ownersWatcher"]}],[256,"justifi-business-bank-account-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"country":[1],"formController":[32],"errors":[32],"bankAccount":[32],"existingDocuments":[32],"documentData":[32],"isLoading":[32],"isAddingNewBankAccount":[32],"getBusiness":[32],"postBankAccount":[32],"postDocumentRecord":[32],"postDocument":[32],"bankAccountVerification":[32],"platformAccountId":[32],"validateAndSubmit":[64]},null,{"authToken":["propChanged"],"businessId":["propChanged"],"isLoading":["watchHandler"]}],[256,"justifi-business-representative-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"country":[1],"getBusiness":[32],"patchBusiness":[32],"formController":[32],"errors":[32],"representative":[32],"isLoading":[32],"validateAndSubmit":[64]},null,{"authToken":["propChanged"],"businessId":["propChanged"]}],[256,"justifi-business-core-info-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"country":[1],"getBusiness":[32],"patchBusiness":[32],"formController":[32],"errors":[32],"coreInfo":[32],"isLoading":[32],"isEditingTaxId":[32],"validateAndSubmit":[64]},null,{"authToken":["propChanged"],"businessId":["propChanged"]}],[256,"justifi-additional-questions-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"getBusiness":[32],"patchBusiness":[32],"formController":[32],"errors":[32],"additional_questions":[32],"recurringPayments":[32],"isLoading":[32],"validateAndSubmit":[64]},null,{"authToken":["propChanged"],"businessId":["propChanged"],"additional_questions":["recurringPaymentsWatcher"]}],[256,"justifi-legal-address-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"country":[1],"getBusiness":[32],"patchBusiness":[32],"formController":[32],"errors":[32],"legal_address":[32],"isLoading":[32],"validateAndSubmit":[64]},null,{"authToken":["propChanged"],"businessId":["propChanged"]}],[256,"justifi-business-terms-conditions-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"formController":[32],"errors":[32],"acceptedTermsBefore":[32],"acceptedTerms":[32],"validateAndSubmit":[64]}]]]]'),e))));
|
|
1
|
+
import{p as e,B as t,a,w as n,N as o,d as i,b as r}from"./p-CV0Pyo1O.js";export{s as setNonce}from"./p-CV0Pyo1O.js";import{g as d}from"./p-DQuL1Twl.js";var l=e=>{const t=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return t.call(this,e);const a=t.call(this,!1),n=this.childNodes;if(e)for(let e=0;e<n.length;e++)2!==n[e].nodeType&&a.appendChild(n[e].cloneNode(!0));return a}};(()=>{t.isDev&&!t.isTesting&&a("Running in development mode."),t.cloneNodeFix&&l(i.prototype);const r=t.scriptDataOpts?n.document&&Array.from(n.document.querySelectorAll("script")).find((e=>new RegExp(`/${o}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===o)):null,s=import.meta.url,d=t.scriptDataOpts&&(r||{})["data-opts"]||{};return""!==s&&(d.resourcesUrl=new URL(".",s).href),e(d)})().then((async e=>(await d(),r(JSON.parse('[["p-b4b540fa",[[257,"justifi-payment-provisioning",{"businessId":[1,"business-id"],"authToken":[1,"auth-token"],"allowOptionalFields":[4,"allow-optional-fields"],"formTitle":[1,"form-title"],"postProvisioning":[32],"getBusiness":[32]},null,{"authToken":["propChanged"],"businessId":["propChanged"]}]]],["p-300002dd",[[260,"justifi-checkout",{"authToken":[1,"auth-token"],"checkoutId":[1,"checkout-id"],"disableBankAccount":[4,"disable-bank-account"],"disableBnpl":[4,"disable-bnpl"],"disableCreditCard":[4,"disable-credit-card"],"disablePaymentMethodGroup":[4,"disable-payment-method-group"],"hideBankAccountBillingForm":[4,"hide-bank-account-billing-form"],"hideCardBillingForm":[4,"hide-card-billing-form"],"preCompleteHook":[16],"availablePaymentMethods":[32],"checkout":[32],"complete":[32],"errorMessage":[32],"insuranceToggled":[32],"isSubmitting":[32],"serverError":[32],"fillBillingForm":[64],"validate":[64]},[[0,"submit-event","checkoutComplete"],[0,"error-event","checkoutError"],[0,"checkout-changed","checkoutChanged"]],{"authToken":["propChanged"],"checkoutId":["propChanged"],"disableCreditCard":["propChanged"],"disableBankAccount":["propChanged"],"disablePaymentMethodGroup":["propChanged"]}]]],["p-d766763a",[[256,"justifi-dispute-management",{"disputeId":[1,"dispute-id"],"authToken":[1,"auth-token"],"getDispute":[32],"errorMessage":[32]},null,{"disputeId":["propChanged"],"authToken":["propChanged"]}]]],["p-cb09959d",[[257,"justifi-tokenize-payment-method",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"disableBankAccount":[4,"disable-bank-account"],"disableCreditCard":[4,"disable-credit-card"],"hideBankAccountBillingForm":[4,"hide-bank-account-billing-form"],"hideCardBillingForm":[4,"hide-card-billing-form"],"hideSubmitButton":[4,"hide-submit-button"],"paymentMethodGroupId":[1,"payment-method-group-id"],"submitButtonText":[1,"submit-button-text"],"savePaymentMethodLabel":[1,"save-payment-method-label"],"tokenizePaymentMethod":[64],"fillBillingForm":[64],"validate":[64]}]]],["p-e2bc6c68",[[257,"justifi-refund-payment",{"authToken":[1,"auth-token"],"accountId":[1,"account-id"],"paymentId":[1,"payment-id"],"hideSubmitButton":[4,"hide-submit-button"],"formController":[32],"refundPayload":[32],"displayAmount":[32],"errors":[32],"paymentLoading":[32],"refundLoading":[32],"submitDisabled":[32],"payment":[32],"refundPayment":[64]}]]],["p-3971d6b7",[[257,"justifi-order-terminals",{"businessId":[1,"business-id"],"authToken":[1,"auth-token"],"accountId":[1,"account-id"],"shipping":[4],"submitButtonText":[1,"submit-button-text"],"loading":[32],"submitting":[32],"error":[32],"business":[32],"terminalModels":[32],"orderLimit":[32],"order":[32],"totalQuantity":[32]}]]],["p-5d753fd4",[[257,"justifi-payments-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"columns":[1],"getPayments":[32],"errorMessage":[32]},null,{"accountId":["propChanged"],"authToken":["propChanged"]}]]],["p-8728065b",[[257,"justifi-payout-details",{"payoutId":[1,"payout-id"],"authToken":[1,"auth-token"],"enableRecordClick":[4,"enable-record-click"],"getPayout":[32],"getPayoutCSV":[32],"errorMessage":[32]},null,{"payoutId":["propChanged"],"authToken":["propChanged"]}]]],["p-7769de83",[[257,"justifi-payouts-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"columns":[1],"getPayouts":[32],"getPayoutCSV":[32],"getSubAccounts":[32],"errorMessage":[32]},null,{"accountId":["propChanged"],"authToken":["propChanged"]}]]],["p-0e21749b",[[257,"justifi-season-interruption-insurance",{"authToken":[1,"auth-token"],"checkoutId":[1,"checkout-id"],"primaryIdentityFirstName":[1,"primary-identity-first-name"],"primaryIdentityLastName":[1,"primary-identity-last-name"],"primaryIdentityState":[1,"primary-identity-state"],"primaryIdentityPostalCode":[1,"primary-identity-postal-code"],"primaryIdentityCountry":[1,"primary-identity-country"],"primaryIdentityEmailAddress":[1,"primary-identity-email-address"],"policyAttributesInsurableAmount":[2,"policy-attributes-insurable-amount"],"policyAttributesStartDate":[1,"policy-attributes-start-date"],"policyAttributesEndDate":[1,"policy-attributes-end-date"],"coveredIdentityFirstName":[1,"covered-identity-first-name"],"coveredIdentityLastName":[1,"covered-identity-last-name"],"getQuote":[32],"toggleCoverage":[32],"quote":[32],"isLoading":[32],"accepted":[32],"validate":[64]}]]],["p-f18e90b1",[[257,"justifi-terminal-orders-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"columns":[1],"getTerminalOrders":[32],"errorMessage":[32]}]]],["p-eb1251bf",[[257,"justifi-terminals-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"columns":[1],"getTerminals":[32],"getSubAccounts":[32],"errorMessage":[32]},null,{"accountId":["propChanged"],"authToken":["propChanged"]}]]],["p-a105de67",[[256,"business-details-core",{"getBusiness":[16],"business":[32],"renderState":[32],"errorMessage":[32]}]]],["p-423b63ad",[[257,"justifi-business-details",{"businessId":[1,"business-id"],"authToken":[1,"auth-token"],"errorMessage":[32],"getBusiness":[32]}]]],["p-bcba5950",[[256,"payment-details-core",{"getPaymentDetails":[16],"payment":[32],"loading":[32],"errorMessage":[32]},null,{"getPaymentDetails":["updateOnPropChange"]}]]],["p-8c55dac0",[[256,"payout-details-core",{"getPayout":[16],"getPayoutCSV":[16],"enableRecordClick":[4,"enable-record-click"],"payout":[32],"loading":[32],"errorMessage":[32]},null,{"getPayout":["getPayoutWatcher"]}]]],["p-9d69ae9f",[[256,"gross-payment-chart-core",{"getGrossPayment":[16],"grossVolumeReport":[32],"loading":[32],"errorMessage":[32]},null,{"getGrossPayment":["propChanged"],"grossVolumeReport":["grossVolumeReportChanged"]}]]],["p-808bf425",[[256,"form-control-tooltip",{"helpText":[1,"help-text"],"anchorIcon":[32],"tooltip":[32]},[[0,"showEvent","show"],[0,"hideEvent","hide"]]],[260,"custom-popper",{"placement":[1],"offset":[16],"strategy":[1],"trigger":[1],"anchorRef":[16],"isOpen":[32]},null,{"anchorRef":["onAnchorRefChange"]}]]],["p-540e2ef2",[[256,"justifi-business-representative",{"formController":[16],"country":[1],"errors":[32],"representative":[32],"isEditingIdentification":[32]}],[256,"justifi-business-core-info",{"formController":[16],"country":[1],"errors":[32],"coreInfo":[32],"isEditingTaxId":[32]}],[256,"justifi-additional-questions",{"formController":[16],"errors":[32],"additional_questions":[32]}],[256,"justifi-legal-address-form",{"formController":[16],"country":[1],"errors":[32],"legal_address":[32]}],[256,"form-alert",{"text":[1],"hideAlert":[4,"hide-alert"]}]]],["p-2d39358b",[[260,"table-filters-menu",{"params":[8],"clearParams":[16],"anchorButton":[32],"menu":[32],"showClearButton":[32]},[[0,"showEvent","show"],[0,"hideEvent","hide"]],{"params":["watchParamsHandler"]}]]],["p-d0813f21",[[257,"justifi-saved-payment-methods"],[257,"justifi-apple-pay",{"countryCode":[1,"country-code"],"merchantIdentifier":[1,"merchant-identifier"],"merchantDisplayName":[1,"merchant-display-name"],"initiativeContext":[1,"initiative-context"],"buttonType":[1,"button-type"],"buttonStyle":[1,"button-style"],"disabled":[4],"showSkeleton":[4,"show-skeleton"],"width":[1],"height":[1],"isLoading":[32],"isProcessing":[32],"isAvailable":[32],"canMakePayments":[32],"isConfigValid":[32],"error":[32],"isSupported":[64],"getPaymentMethods":[64],"abort":[64]}],[257,"justifi-checkout-summary"],[257,"justifi-google-pay",{"environment":[1],"merchantName":[1,"merchant-name"],"iframeOrigin":[32],"iframeReady":[32],"sdkLoaded":[32],"isReadyToPay":[32]}],[257,"justifi-header",{"text":[1],"level":[1],"class":[1]}],[256,"justifi-modular-checkout",{"authToken":[1,"auth-token"],"checkoutId":[1,"checkout-id"],"preCompleteHook":[16],"setSelectedPaymentMethod":[64],"validate":[64],"submitCheckout":[64]}],[257,"justifi-plaid-payment-method",{"isAuthenticating":[32],"publicToken":[32],"linkToken":[32],"linkTokenId":[32],"error":[32],"plaidLink":[32],"isSelected":[32],"retryCount":[32],"isRetrying":[32],"resolvePaymentMethod":[64],"getPaymentToken":[64],"handleSelectionClick":[64],"setSelected":[64],"isCurrentlySelected":[64],"deselect":[64],"reset":[64],"isReadyForAuthentication":[64],"retry":[64],"getErrorInfo":[64]},null,{"isSelected":["onSelectionChange"]}],[257,"justifi-sezzle-payment-method",{"installmentPlan":[32],"sezzleCheckout":[32],"sezzlePromise":[32],"resolvePaymentMethod":[64],"handleSelectionClick":[64]}]]],["p-c6a9410d",[[256,"form-control-textarea",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[1,"default-value"],"maxLength":[2,"max-length"],"inputHandler":[16],"keyDownHandler":[16],"disabled":[4],"isFocused":[32]},null,{"defaultValue":["handleDefaultValueChange"]}],[256,"form-control-file-v2",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"multiple":[4],"inputHandler":[16],"disabled":[4],"files":[32]}]]],["p-e89d0f36",[[256,"form-control-date",{"name":[1],"label":[1],"inputHandler":[16],"defaultValue":[1,"default-value"],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"disabled":[4],"showTime":[4,"show-time"],"maxDate":[1,"max-date"],"isFocused":[32]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["p-7e14f6ac",[[256,"form-control-select",{"name":[8],"label":[1],"options":[16],"inputHandler":[16],"defaultValue":[1,"default-value"],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"disabled":[4],"isFocused":[32]},null,{"defaultValue":["handleDefaultValueChange"]}],[256,"form-control-text",{"name":[8],"label":[1],"inputHandler":[16],"defaultValue":[1,"default-value"],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"maxLength":[2,"max-length"],"keyDownHandler":[16],"disabled":[4],"isFocused":[32]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["p-2bbd810a",[[257,"justifi-business-form",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"hideErrors":[4,"hide-errors"],"formTitle":[1,"form-title"],"removeTitle":[4,"remove-title"],"isLoading":[32],"isSaving":[32],"errorMessage":[32],"country":[32]}]]],["p-0f1c100d",[[257,"justifi-checkouts-list-filters",{"checkoutStatus":[1,"checkout-status"],"paymentMode":[1,"payment-mode"],"checkoutId":[1,"checkout-id"],"createdAfter":[1,"created-after"],"createdBefore":[1,"created-before"]}]]],["p-7f3dcd42",[[257,"justifi-payments-list-filters",{"paymentId":[1,"payment-id"],"terminalId":[1,"terminal-id"],"paymentStatus":[1,"payment-status"],"paymentMode":[1,"payment-mode"],"checkoutId":[1,"checkout-id"],"accountHolder":[1,"account-holder"],"createdAfter":[1,"created-after"],"createdBefore":[1,"created-before"]}]]],["p-c0592f5f",[[257,"justifi-terminals-list-filters",{"terminalId":[1,"terminal-id"],"terminalOrderId":[1,"terminal-order-id"],"terminalStatus":[1,"terminal-status"],"createdAfter":[1,"created-after"],"createdBefore":[1,"created-before"]}]]],["p-8a42d4fe",[[257,"justifi-payouts-list-filters",{"status":[1],"createdAfter":[1,"created-after"],"createdBefore":[1,"created-before"]}]]],["p-9a11f17b",[[257,"justifi-terminal-orders-list-filters",{"orderStatus":[1,"order-status"],"orderType":[1,"order-type"],"createdAfter":[1,"created-after"],"createdBefore":[1,"created-before"]}]]],["p-ed4f8027",[[257,"justifi-checkouts-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"columns":[1],"subAccountId":[1,"sub-account-id"],"getCheckouts":[32],"getSubAccounts":[32],"errorMessage":[32]},null,{"accountId":["propChanged"],"authToken":["propChanged"],"subAccountId":["propChanged"]}]]],["p-979d22d0",[[257,"justifi-payment-details",{"paymentId":[1,"payment-id"],"authToken":[1,"auth-token"],"getPaymentDetails":[32],"errorMessage":[32]},null,{"paymentId":["propChanged"],"authToken":["propChanged"]}]]],["p-c72c5b99",[[256,"justifi-saved-payment-method",{"paymentMethodOption":[16],"isSelected":[4,"is-selected"],"resolvePaymentMethod":[64]}]]],["p-e71e4c49",[[257,"payment-method-option",{"paymentMethodOptionId":[1,"payment-method-option-id"],"isSelected":[4,"is-selected"],"clickHandler":[16],"radioButtonHidden":[4,"radio-button-hidden"],"label":[1]}]]],["p-5206cd09",[[256,"bank-account-form",{"isReady":[32],"iframeOrigin":[32],"tabId":[32],"validate":[64],"tokenize":[64]}]]],["p-fbfe6211",[[256,"card-form",{"isReady":[32],"iframeOrigin":[32],"tabId":[32],"validate":[64],"tokenize":[64]}]]],["p-df61f19b",[[257,"justifi-gross-payment-chart",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"getGrossPayment":[32],"errorMessage":[32]},null,{"accountId":["propChanged"],"authToken":["propChanged"]}]]],["p-99065f37",[[256,"justifi-config-provider",{"apiOrigin":[1,"api-origin"],"iframeOrigin":[1,"iframe-origin"],"accountId":[1,"account-id"]}]]],["p-b54bf8da",[[257,"justifi-skeleton",{"component":[1],"height":[8],"width":[8],"class":[1],"customStyle":[16]}]]],["p-afa2ebd9",[[256,"justifi-payment-provisioning-core",{"businessId":[1,"business-id"],"authToken":[1,"auth-token"],"allowOptionalFields":[4,"allow-optional-fields"],"formTitle":[1,"form-title"],"getBusiness":[16],"postProvisioning":[16],"loading":[32],"businessLoading":[32],"businessProvisioned":[32],"currentStep":[32],"errorMessage":[32],"country":[32]},[[0,"formCompleted","handleFormCompleted"],[0,"formLoading","handleFormLoading"]]]]],["p-393c9065",[[256,"justifi-dispute-management-core",{"getDispute":[16],"disputeId":[1,"dispute-id"],"authToken":[1,"auth-token"],"dispute":[32],"isLoading":[32],"showDisputeResponseForm":[32]},[[0,"click-event","disputeResponseHandler"],[0,"submit-event","disputeSubmittedHandler"]],{"getDispute":["updateOnPropChange"]}]]],["p-05d11c40",[[256,"terminal-quantity-selector",{"modelName":[1,"model-name"],"imageUrl":[1,"image-url"],"description":[1],"helpUrl":[1,"help-url"],"limit":[2],"selectedQuantity":[32]}]]],["p-402ba9aa",[[256,"pagination-menu",{"paging":[16],"params":[16]}]]],["p-5cee4e33",[[257,"justifi-payment-transactions-list",{"paymentId":[1,"payment-id"],"authToken":[1,"auth-token"],"columns":[1],"balanceTransactions":[32],"transactionsTable":[32],"isLoading":[32],"errorMessage":[32],"paging":[32],"pagingParams":[32]},null,{"pagingParams":["propChanged"],"paymentId":["propChanged"],"authToken":["propChanged"]}]]],["p-2438363d",[[257,"justifi-payout-transactions-list",{"payoutId":[1,"payout-id"],"authToken":[1,"auth-token"],"columns":[1],"balanceTransactions":[32],"transactionsTable":[32],"isLoading":[32],"errorMessage":[32],"paging":[32],"pagingParams":[32]},null,{"pagingParams":["propChanged"],"payoutId":["propChanged"],"authToken":["propChanged"]}]]],["p-6d565cd6",[[256,"checkouts-list-core",{"getCheckouts":[16],"getSubAccounts":[16],"columns":[1],"checkouts":[32],"checkoutsTable":[32],"subAccounts":[32],"loading":[32],"errorMessage":[32],"paging":[32],"pagingParams":[32]},null,{"pagingParams":["updateOnPropChange"],"getCheckouts":["updateOnPropChange"],"getSubAccounts":["updateOnPropChange"],"columns":["updateOnPropChange"]}]]],["p-62f9c008",[[256,"payments-list-core",{"getPayments":[16],"columns":[1],"payments":[32],"paymentsTable":[32],"loading":[32],"errorMessage":[32],"paging":[32],"pagingParams":[32]},null,{"pagingParams":["updateOnPropChange"],"getPayments":["updateOnPropChange"],"columns":["updateOnPropChange"]}]]],["p-c6aee723",[[256,"payouts-list-core",{"getPayouts":[16],"getSubAccounts":[16],"getPayoutCSV":[16],"columns":[1],"payouts":[32],"payoutsTable":[32],"subAccounts":[32],"loading":[32],"errorMessage":[32],"paging":[32],"pagingParams":[32]},null,{"pagingParams":["updateOnPropChange"],"getPayouts":["updateOnPropChange"],"getSubAccounts":["updateOnPropChange"]}]]],["p-5862236f",[[256,"terminal-orders-list-core",{"getTerminalOrders":[16],"columns":[1],"terminalOrders":[32],"terminalOrdersTable":[32],"loading":[32],"errorMessage":[32],"paging":[32],"pagingParams":[32]},null,{"pagingParams":["updateOnPropChange"],"getTerminalOrders":["updateOnPropChange"],"columns":["updateOnPropChange"]}]]],["p-6c503a00",[[256,"terminals-list-core",{"getTerminals":[16],"getSubAccounts":[16],"columns":[1],"terminals":[32],"terminalsTable":[32],"subAccounts":[32],"loading":[32],"errorMessage":[32],"paging":[32],"pagingParams":[32]},null,{"pagingParams":["updateOnPropChange"],"getTerminals":["updateOnPropChange"],"getSubAccounts":["updateOnPropChange"],"columns":["updateOnPropChange"]}]]],["p-c7930f9a",[[256,"form-control-monetary",{"name":[8],"label":[1],"inputHandler":[16],"defaultValue":[1,"default-value"],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"maxLength":[2,"max-length"],"keyDownHandler":[16],"disabled":[4],"isFocused":[32]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["p-88c6713a",[[256,"form-control-monetary-provisioning",{"label":[1],"name":[1],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[1,"default-value"],"inputHandler":[16],"maskOptions":[8,"mask-options"],"disabled":[4],"isFocused":[32]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["p-8e631781",[[260,"justifi-details",{"errorMessage":[1,"error-message"]}]]],["p-38c1e9fa",[[257,"justifi-dispute-response",{"authToken":[1,"auth-token"],"disputeId":[1,"dispute-id"],"disputeResponse":[16],"apiOrigin":[1,"api-origin"],"updateDisputeResponse":[32],"submitDisputeResponse":[32],"createDisputeEvidence":[32],"errorMessage":[32]},null,{"accountId":["propChanged"],"authToken":["propChanged"]}],[257,"justifi-dispute-notification",{"dispute":[16],"authToken":[1,"auth-token"],"isLoading":[4,"is-loading"]}],[256,"justifi-dispute-response-core",{"updateDisputeResponse":[16],"submitDisputeResponse":[16],"createDisputeEvidence":[16],"disputeResponse":[8,"dispute-response"],"isLoading":[32],"documentList":[32],"documentErrors":[32],"currentStep":[32],"currentStepComponentRef":[32]}]]],["p-1b973781",[[256,"form-control-radio",{"label":[8],"name":[8],"value":[1],"helpText":[1,"help-text"],"inputHandler":[16],"disabled":[4],"errorText":[1,"error-text"],"checked":[4],"isFocused":[32]}]]],["p-52dc271f",[[256,"form-control-checkbox",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"checked":[4],"inputHandler":[16],"disabled":[4],"isFocused":[32]}]]],["p-ff4d485f",[[256,"additional-questions-details",{"additionalQuestions":[16]}],[256,"core-info-details",{"business":[16]}],[256,"legal-address-details",{"legalAddress":[16]}],[256,"owner-details",{"owners":[16]}],[256,"representative-details",{"representative":[16]}]]],["p-154efb83",[[257,"justifi-billing-form-full",{"legend":[1025],"formController":[32],"billingInfo":[32],"errors":[32],"getValues":[64],"fill":[64],"validate":[64]}],[257,"justifi-bank-account-billing-form-simple",{"legend":[1025],"formController":[32],"billingInfo":[32],"errors":[32],"getValues":[64],"fill":[64],"validate":[64]}],[257,"justifi-card-billing-form-simple",{"legend":[1025],"formController":[32],"billingInfo":[32],"errors":[32],"getValues":[64],"fill":[64],"validate":[64]}]]],["p-2b679e5a",[[256,"hidden-input",{"isFocused":[32],"errorText":[32]}],[256,"iframe-input",{"inputId":[1,"input-id"],"label":[1],"iframeOrigin":[1,"iframe-origin"],"isFocused":[32],"isValid":[32],"errorText":[32],"validate":[64],"tokenize":[64]}]]],["p-c7c79332",[[256,"form-control-help-text",{"helpText":[1,"help-text"],"name":[1]}]]],["p-d9118b1e",[[256,"justifi-identity-address-form",{"handleFormUpdate":[16],"errors":[8],"defaultValues":[8,"default-values"],"country":[1],"address":[32]},null,{"address":["handleAddressChange"]}],[256,"form-control-number-masked",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[1,"default-value"],"inputHandler":[16],"mask":[1],"disabled":[4],"isFocused":[32]},null,{"defaultValue":["handleDefaultValueChange"]}],[256,"justifi-form-address-fields",{"country":[1],"errors":[8],"defaultValues":[8,"default-values"],"inputHandler":[16]}]]],["p-19f1e643",[[256,"owner-form-core",{"ownerId":[1,"owner-id"],"businessId":[1,"business-id"],"getOwner":[16],"patchOwner":[16],"postOwner":[16],"allowOptionalFields":[4,"allow-optional-fields"],"removeOwner":[16],"newFormOpen":[4,"new-form-open"],"ownersLength":[2,"owners-length"],"country":[1],"isLoading":[32],"formController":[32],"errors":[32],"owner":[32],"returnOwnerData":[64],"validate":[64],"submit":[64],"validateAndSubmit":[64]},null,{"isLoading":["loadingWatcher"]}],[256,"owner-form-inputs",{"ownerDefaultValue":[8,"owner-default-value"],"errors":[8],"formController":[16],"country":[1],"isEditingIdentification":[32]}],[256,"form-control-number",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[1,"default-value"],"inputHandler":[16],"disabled":[4],"isFocused":[32]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["p-d62da4f2",[[256,"internal-tokenize-payment-method",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"disableBankAccount":[4,"disable-bank-account"],"disableCreditCard":[4,"disable-credit-card"],"hideBankAccountBillingForm":[4,"hide-bank-account-billing-form"],"hideCardBillingForm":[4,"hide-card-billing-form"],"hideSubmitButton":[4,"hide-submit-button"],"paymentMethodGroupId":[1,"payment-method-group-id"],"submitButtonText":[1,"submit-button-text"],"savePaymentMethodLabel":[1,"save-payment-method-label"],"computedHideSubmitButton":[32],"isLoading":[32],"selectedPaymentMethod":[32],"fillBillingForm":[64],"tokenizePaymentMethod":[64],"validate":[64],"tokenize":[64]},[[0,"radio-click","handleRadioClick"]],{"disableCreditCard":["paymentMethodsChanged"],"disableBankAccount":["paymentMethodsChanged"]}],[256,"justifi-billing-form",{"legend":[1025],"hideCardBillingForm":[4,"hide-card-billing-form"],"hideBankAccountBillingForm":[4,"hide-bank-account-billing-form"],"paymentMethodType":[1,"payment-method-type"],"getValues":[64],"fill":[64],"validate":[64]}],[257,"justifi-bank-account-form",{"iframeOrigin":[32],"isReady":[32],"tabId":[32],"validate":[64],"tokenize":[64]}],[257,"justifi-card-form",{"isReady":[32],"iframeOrigin":[32],"tabId":[32],"validate":[64],"tokenize":[64]}],[257,"justifi-radio-list-item",{"name":[1],"value":[1],"label":[8],"checked":[4],"hidden":[4],"class":[1]}],[257,"justifi-save-new-payment-method",{"label":[1],"isChecked":[32]}],[257,"justifi-button",{"text":[1],"variant":[1],"isLoading":[4,"is-loading"],"clickHandler":[16],"disabled":[4],"type":[1],"class":[1],"customStyle":[1,"custom-style"]}]]],["p-11402020",[[256,"justifi-shipping-details",{"disputeResponse":[8,"dispute-response"],"documentErrors":[8,"document-errors"],"form":[32],"errors":[32],"documents":[32],"documentList":[32],"validateAndSubmit":[64]}],[256,"justifi-customer-details",{"disputeResponse":[8,"dispute-response"],"documentErrors":[8,"document-errors"],"form":[32],"errors":[32],"documents":[32],"validateAndSubmit":[64]}],[256,"justifi-duplicate-charge",{"disputeResponse":[8,"dispute-response"],"documentErrors":[8,"document-errors"],"form":[32],"errors":[32],"documents":[32],"validateAndSubmit":[64]}],[256,"justifi-additional-statement",{"disputeResponse":[8,"dispute-response"],"documentErrors":[8,"document-errors"],"form":[32],"errors":[32],"acceptedTerms":[32],"acceptedTermsErrorText":[32],"documents":[32],"validateAndSubmit":[64]}],[256,"justifi-cancellation-policy",{"disputeResponse":[8,"dispute-response"],"documentErrors":[8,"document-errors"],"form":[32],"errors":[32],"documents":[32],"validateAndSubmit":[64]}],[256,"justifi-product-or-service",{"disputeResponse":[8,"dispute-response"],"documentErrors":[8,"document-errors"],"form":[32],"errors":[32],"documents":[32],"validateAndSubmit":[64]}],[256,"justifi-refund-policy",{"disputeResponse":[8,"dispute-response"],"documentErrors":[8,"document-errors"],"form":[32],"errors":[32],"documents":[32],"validateAndSubmit":[64]}],[256,"justifi-electronic-evidence",{"disputeResponse":[8,"dispute-response"],"documentErrors":[8,"document-errors"],"form":[32],"errors":[32],"documents":[32],"validateAndSubmit":[64]}]]],["p-12665340",[[256,"justifi-owner-form",{"authToken":[1,"auth-token"],"ownerId":[1,"owner-id"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"removeOwner":[16],"newFormOpen":[4,"new-form-open"],"ownersLength":[2,"owners-length"],"country":[1],"getOwner":[32],"patchOwner":[32],"postOwner":[32],"validate":[64],"submit":[64],"validateAndSubmit":[64]}],[256,"justifi-business-representative-form-inputs",{"representativeDefaultValue":[8,"representative-default-value"],"errors":[8],"formController":[16],"country":[1],"isEditingIdentification":[32]}],[256,"bank-account-form-inputs",{"defaultValue":[8,"default-value"],"errors":[8],"inputHandler":[16],"formDisabled":[4,"form-disabled"]}],[256,"bank-account-form-inputs-canada",{"defaultValue":[8,"default-value"],"errors":[8],"inputHandler":[16],"formDisabled":[4,"form-disabled"]}],[256,"bank-account-document-form-inputs",{"inputHandler":[16],"errors":[8],"storeFiles":[16]}],[256,"business-documents-on-file",{"documents":[8],"isLoading":[4,"is-loading"]}],[256,"plaid-verification",{"authToken":[1,"auth-token"],"accountId":[1,"account-id"],"businessId":[1,"business-id"],"linkToken":[32],"linkTokenId":[32],"plaidLink":[32],"isAuthenticating":[32],"isSuccess":[32],"error":[32],"isLoading":[32]}],[256,"form-control-file",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"multiple":[4],"documentType":[1,"document-type"],"inputHandler":[16],"disabled":[4],"files":[32],"fileString":[32],"isFocused":[32]}],[256,"bank-account-read-only-value",{"label":[1],"value":[1]}]]],["p-c725dc53",[[256,"justifi-payment-provisioning-form-steps",{"businessId":[1,"business-id"],"authToken":[1,"auth-token"],"refs":[16],"currentStep":[2,"current-step"],"allowOptionalFields":[4,"allow-optional-fields"],"country":[1],"handleFormLoading":[16]}],[256,"justifi-payment-provisioning-form-buttons",{"currentStep":[2,"current-step"],"totalSteps":[2,"total-steps"],"formLoading":[4,"form-loading"],"formDisabled":[4,"form-disabled"],"previousStepButtonOnClick":[16],"nextStepButtonOnClick":[16]}],[256,"justifi-business-owners-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"country":[1],"getBusiness":[32],"patchBusiness":[32],"ownersPayload":[32],"refs":[32],"newFormOpen":[32],"isLoading":[32],"representativeIsOwner":[32],"representative":[32],"validateAndSubmit":[64]},[[0,"ownerSubmitted","handleOwnerSubmit"]],{"authToken":["propChanged"],"businessId":["propChanged"],"ownersPayload":["ownersWatcher"]}],[256,"justifi-business-bank-account-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"country":[1],"formController":[32],"errors":[32],"bankAccount":[32],"existingDocuments":[32],"documentData":[32],"isLoading":[32],"isAddingNewBankAccount":[32],"getBusiness":[32],"postBankAccount":[32],"postDocumentRecord":[32],"postDocument":[32],"bankAccountVerification":[32],"platformAccountId":[32],"validateAndSubmit":[64]},null,{"authToken":["propChanged"],"businessId":["propChanged"],"isLoading":["watchHandler"]}],[256,"justifi-business-representative-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"country":[1],"getBusiness":[32],"patchBusiness":[32],"formController":[32],"errors":[32],"representative":[32],"isLoading":[32],"validateAndSubmit":[64]},null,{"authToken":["propChanged"],"businessId":["propChanged"]}],[256,"justifi-business-core-info-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"country":[1],"getBusiness":[32],"patchBusiness":[32],"formController":[32],"errors":[32],"coreInfo":[32],"isLoading":[32],"isEditingTaxId":[32],"validateAndSubmit":[64]},null,{"authToken":["propChanged"],"businessId":["propChanged"]}],[256,"justifi-additional-questions-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"getBusiness":[32],"patchBusiness":[32],"formController":[32],"errors":[32],"additional_questions":[32],"recurringPayments":[32],"isLoading":[32],"validateAndSubmit":[64]},null,{"authToken":["propChanged"],"businessId":["propChanged"],"additional_questions":["recurringPaymentsWatcher"]}],[256,"justifi-legal-address-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"country":[1],"getBusiness":[32],"patchBusiness":[32],"formController":[32],"errors":[32],"legal_address":[32],"isLoading":[32],"validateAndSubmit":[64]},null,{"authToken":["propChanged"],"businessId":["propChanged"]}],[256,"justifi-business-terms-conditions-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"formController":[32],"errors":[32],"acceptedTermsBefore":[32],"acceptedTerms":[32],"validateAndSubmit":[64]}]]]]'),e))));
|
package/package.json
CHANGED
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
import { checkoutStore } from "../store/checkout.store";
|
|
2
|
-
export var GooglePayButtonType;
|
|
3
|
-
(function (GooglePayButtonType) {
|
|
4
|
-
GooglePayButtonType["PLAIN"] = "plain";
|
|
5
|
-
GooglePayButtonType["BUY"] = "buy";
|
|
6
|
-
GooglePayButtonType["BOOK"] = "book";
|
|
7
|
-
GooglePayButtonType["CHECKOUT"] = "checkout";
|
|
8
|
-
GooglePayButtonType["DONATE"] = "donate";
|
|
9
|
-
GooglePayButtonType["ORDER"] = "order";
|
|
10
|
-
GooglePayButtonType["PAY"] = "pay";
|
|
11
|
-
GooglePayButtonType["SUBSCRIBE"] = "subscribe";
|
|
12
|
-
})(GooglePayButtonType || (GooglePayButtonType = {}));
|
|
13
|
-
export var GooglePayButtonStyle;
|
|
14
|
-
(function (GooglePayButtonStyle) {
|
|
15
|
-
GooglePayButtonStyle["BLACK"] = "black";
|
|
16
|
-
GooglePayButtonStyle["WHITE"] = "white";
|
|
17
|
-
})(GooglePayButtonStyle || (GooglePayButtonStyle = {}));
|
|
18
|
-
export var GooglePayButtonSizeMode;
|
|
19
|
-
(function (GooglePayButtonSizeMode) {
|
|
20
|
-
GooglePayButtonSizeMode["STATIC"] = "static";
|
|
21
|
-
GooglePayButtonSizeMode["FILL"] = "fill";
|
|
22
|
-
})(GooglePayButtonSizeMode || (GooglePayButtonSizeMode = {}));
|
|
23
|
-
export var GooglePayEnvironment;
|
|
24
|
-
(function (GooglePayEnvironment) {
|
|
25
|
-
GooglePayEnvironment["PRODUCTION"] = "PRODUCTION";
|
|
26
|
-
GooglePayEnvironment["TEST"] = "TEST";
|
|
27
|
-
})(GooglePayEnvironment || (GooglePayEnvironment = {}));
|
|
28
|
-
export class GooglePayConfig {
|
|
29
|
-
constructor(data) {
|
|
30
|
-
this.environment = data.environment;
|
|
31
|
-
this.merchantId = data.merchantId;
|
|
32
|
-
this.merchantName = data.merchantName;
|
|
33
|
-
this.buttonType = data.buttonType || GooglePayButtonType.PLAIN;
|
|
34
|
-
this.buttonStyle = data.buttonStyle || GooglePayButtonStyle.BLACK;
|
|
35
|
-
this.buttonSizeMode = data.buttonSizeMode || GooglePayButtonSizeMode.STATIC;
|
|
36
|
-
this.buttonLocale = data.buttonLocale || 'en';
|
|
37
|
-
}
|
|
38
|
-
get isValid() {
|
|
39
|
-
return !!(this.environment && this.merchantName);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
export class GooglePayPaymentDataRequest {
|
|
43
|
-
constructor(data) {
|
|
44
|
-
this.apiVersion = data.apiVersion;
|
|
45
|
-
this.apiVersionMinor = data.apiVersionMinor;
|
|
46
|
-
this.allowedPaymentMethods = data.allowedPaymentMethods;
|
|
47
|
-
this.transactionInfo = data.transactionInfo;
|
|
48
|
-
this.merchantInfo = data.merchantInfo;
|
|
49
|
-
this.callbackIntents = data.callbackIntents;
|
|
50
|
-
this.shippingAddressRequired = data.shippingAddressRequired;
|
|
51
|
-
this.shippingAddressParameters = data.shippingAddressParameters;
|
|
52
|
-
this.emailRequired = data.emailRequired;
|
|
53
|
-
}
|
|
54
|
-
get isValid() {
|
|
55
|
-
var _a, _b, _c, _d;
|
|
56
|
-
const hasApiVersion = typeof this.apiVersion === 'number' && this.apiVersion > 0;
|
|
57
|
-
const hasApiVersionMinor = typeof this.apiVersionMinor === 'number' && this.apiVersionMinor >= 0;
|
|
58
|
-
const hasAllowedMethods = Array.isArray(this.allowedPaymentMethods) &&
|
|
59
|
-
this.allowedPaymentMethods.length > 0;
|
|
60
|
-
const hasTxnCountry = Boolean((_a = this.transactionInfo) === null || _a === void 0 ? void 0 : _a.countryCode);
|
|
61
|
-
const hasTxnCurrency = Boolean((_b = this.transactionInfo) === null || _b === void 0 ? void 0 : _b.currencyCode);
|
|
62
|
-
const hasTxnTotal = Boolean((_c = this.transactionInfo) === null || _c === void 0 ? void 0 : _c.totalPrice);
|
|
63
|
-
const hasMerchantName = Boolean((_d = this.merchantInfo) === null || _d === void 0 ? void 0 : _d.merchantName);
|
|
64
|
-
return (hasApiVersion &&
|
|
65
|
-
hasApiVersionMinor &&
|
|
66
|
-
hasAllowedMethods &&
|
|
67
|
-
hasTxnCountry &&
|
|
68
|
-
hasTxnCurrency &&
|
|
69
|
-
hasTxnTotal &&
|
|
70
|
-
hasMerchantName);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
export class GooglePayHelpers {
|
|
74
|
-
/**
|
|
75
|
-
* Check if Google Pay is supported in the current environment
|
|
76
|
-
*/
|
|
77
|
-
static isGooglePaySupported() {
|
|
78
|
-
return (typeof window !== 'undefined' &&
|
|
79
|
-
'google' in window &&
|
|
80
|
-
'payments' in window.google &&
|
|
81
|
-
'api' in window.google.payments);
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Create a Google Pay client instance
|
|
85
|
-
*/
|
|
86
|
-
static createGooglePayClient(environment) {
|
|
87
|
-
if (!this.isGooglePaySupported()) {
|
|
88
|
-
return null;
|
|
89
|
-
}
|
|
90
|
-
try {
|
|
91
|
-
return new window.google.payments.api.PaymentsClient({
|
|
92
|
-
environment: environment === GooglePayEnvironment.PRODUCTION
|
|
93
|
-
? 'PRODUCTION'
|
|
94
|
-
: 'TEST',
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
catch (_error) {
|
|
98
|
-
return null;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* Format amount for Google Pay (expects string in full currency units)
|
|
103
|
-
*/
|
|
104
|
-
static formatAmount(amount) {
|
|
105
|
-
return (amount / 100).toFixed(2);
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Parse amount from Google Pay format to cents
|
|
109
|
-
*/
|
|
110
|
-
static parseAmount(amount) {
|
|
111
|
-
return Math.round(parseFloat(amount) * 100);
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* Create a line item for Google Pay
|
|
115
|
-
*/
|
|
116
|
-
static createLineItem(label, amount, type = 'LINE_ITEM') {
|
|
117
|
-
return {
|
|
118
|
-
label,
|
|
119
|
-
price: this.formatAmount(amount),
|
|
120
|
-
type,
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Get default supported card networks
|
|
125
|
-
*/
|
|
126
|
-
static getDefaultSupportedNetworks() {
|
|
127
|
-
return ['VISA', 'MASTERCARD', 'AMEX', 'DISCOVER'];
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* Get default allowed authentication methods
|
|
131
|
-
*/
|
|
132
|
-
static getDefaultAuthMethods() {
|
|
133
|
-
return ['CRYPTOGRAM_3DS', 'PAN_ONLY'];
|
|
134
|
-
}
|
|
135
|
-
/**
|
|
136
|
-
* Create default card parameters
|
|
137
|
-
*/
|
|
138
|
-
static createDefaultCardParameters() {
|
|
139
|
-
return {
|
|
140
|
-
allowedAuthMethods: this.getDefaultAuthMethods(),
|
|
141
|
-
allowedCardNetworks: this.getDefaultSupportedNetworks(),
|
|
142
|
-
billingAddressRequired: false,
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* Create default tokenization specification
|
|
147
|
-
*/
|
|
148
|
-
static createTokenizationSpecification() {
|
|
149
|
-
return {
|
|
150
|
-
type: 'PAYMENT_GATEWAY',
|
|
151
|
-
parameters: {
|
|
152
|
-
gateway: 'justifi',
|
|
153
|
-
gatewayMerchantId: checkoutStore.accountId,
|
|
154
|
-
},
|
|
155
|
-
};
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* Create default payment method data
|
|
159
|
-
*/
|
|
160
|
-
static createPaymentMethodData() {
|
|
161
|
-
return {
|
|
162
|
-
type: 'CARD',
|
|
163
|
-
parameters: this.createDefaultCardParameters(),
|
|
164
|
-
tokenizationSpecification: this.createTokenizationSpecification(),
|
|
165
|
-
};
|
|
166
|
-
}
|
|
167
|
-
/**
|
|
168
|
-
* Create base payment data request check
|
|
169
|
-
*/
|
|
170
|
-
static createBasePaymentDataRequest() {
|
|
171
|
-
const base = {
|
|
172
|
-
apiVersion: 2,
|
|
173
|
-
apiVersionMinor: 0,
|
|
174
|
-
allowedPaymentMethods: [this.createPaymentMethodData()],
|
|
175
|
-
};
|
|
176
|
-
// For development and broader availability of the button, do not require an existing card
|
|
177
|
-
// This allows isReadyToPay to return true on supported browsers even without a saved payment method
|
|
178
|
-
base.existingPaymentMethodRequired = false;
|
|
179
|
-
return base;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
@@ -1,241 +0,0 @@
|
|
|
1
|
-
import { Api } from "../Api";
|
|
2
|
-
import { GooglePayHelpers, GooglePayConfig, GooglePayPaymentDataRequest, } from "../GooglePay";
|
|
3
|
-
const PROCESS_TOKEN_ENDPOINT = 'google_pay/process_token';
|
|
4
|
-
export class GooglePayService {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.api = Api();
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Initialize Google Pay configuration
|
|
10
|
-
*/
|
|
11
|
-
initialize(googlePayConfig) {
|
|
12
|
-
this.googlePayConfig = new GooglePayConfig(googlePayConfig);
|
|
13
|
-
if (!this.googlePayConfig.isValid) {
|
|
14
|
-
throw new Error('Invalid Google Pay configuration provided');
|
|
15
|
-
}
|
|
16
|
-
// Create Google Pay client
|
|
17
|
-
this.googlePayClient = GooglePayHelpers.createGooglePayClient(this.googlePayConfig.environment);
|
|
18
|
-
if (!this.googlePayClient) {
|
|
19
|
-
throw new Error('Failed to create Google Pay client');
|
|
20
|
-
}
|
|
21
|
-
// No debug logs
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Process Google Pay payment via API
|
|
25
|
-
*/
|
|
26
|
-
async processPayment(authToken, accountId, payload) {
|
|
27
|
-
const endpoint = PROCESS_TOKEN_ENDPOINT;
|
|
28
|
-
try {
|
|
29
|
-
const result = await this.api.post({
|
|
30
|
-
endpoint,
|
|
31
|
-
authToken,
|
|
32
|
-
body: payload,
|
|
33
|
-
headers: {
|
|
34
|
-
'sub-account': accountId,
|
|
35
|
-
},
|
|
36
|
-
});
|
|
37
|
-
return {
|
|
38
|
-
success: result.id && !!result.data.token,
|
|
39
|
-
data: result,
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
catch (_error) {
|
|
43
|
-
throw new Error('Google Pay payment processing failed');
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Check if Google Pay is available on this device/browser
|
|
48
|
-
*/
|
|
49
|
-
isAvailable() {
|
|
50
|
-
return GooglePayHelpers.isGooglePaySupported() && !!this.googlePayClient;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Check if the user can make payments with Google Pay
|
|
54
|
-
*/
|
|
55
|
-
async canMakePayments() {
|
|
56
|
-
if (!this.googlePayClient || !this.googlePayConfig) {
|
|
57
|
-
return false;
|
|
58
|
-
}
|
|
59
|
-
try {
|
|
60
|
-
const baseRequest = GooglePayHelpers.createBasePaymentDataRequest();
|
|
61
|
-
const response = await this.googlePayClient.isReadyToPay(baseRequest);
|
|
62
|
-
return response.result;
|
|
63
|
-
}
|
|
64
|
-
catch (_error) {
|
|
65
|
-
return false;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Start Google Pay payment session
|
|
70
|
-
*/
|
|
71
|
-
async startPaymentSession(paymentDataRequest, authToken, accountId) {
|
|
72
|
-
var _a;
|
|
73
|
-
if (!this.googlePayConfig || !this.googlePayClient) {
|
|
74
|
-
throw new Error('Google Pay not initialized. Call initialize() first.');
|
|
75
|
-
}
|
|
76
|
-
if (!this.isAvailable()) {
|
|
77
|
-
throw new Error('Google Pay is not available on this device/browser');
|
|
78
|
-
}
|
|
79
|
-
const request = new GooglePayPaymentDataRequest(paymentDataRequest);
|
|
80
|
-
if (!request.isValid) {
|
|
81
|
-
throw new Error('Invalid payment data request provided');
|
|
82
|
-
}
|
|
83
|
-
try {
|
|
84
|
-
const paymentData = await this.googlePayClient.loadPaymentData(request);
|
|
85
|
-
// Build top-level snake_case fields from Google Pay tokenizationData
|
|
86
|
-
const tokenizationData = (_a = paymentData === null || paymentData === void 0 ? void 0 : paymentData.paymentMethodData) === null || _a === void 0 ? void 0 : _a.tokenizationData;
|
|
87
|
-
const tokenObj = (() => {
|
|
88
|
-
if ((tokenizationData === null || tokenizationData === void 0 ? void 0 : tokenizationData.token) &&
|
|
89
|
-
typeof tokenizationData.token === 'string') {
|
|
90
|
-
try {
|
|
91
|
-
return JSON.parse(tokenizationData.token);
|
|
92
|
-
}
|
|
93
|
-
catch (_e) {
|
|
94
|
-
return tokenizationData;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
return tokenizationData;
|
|
98
|
-
})();
|
|
99
|
-
const tokenProcessRequest = {
|
|
100
|
-
protocolVersion: tokenObj === null || tokenObj === void 0 ? void 0 : tokenObj.protocolVersion,
|
|
101
|
-
signature: tokenObj === null || tokenObj === void 0 ? void 0 : tokenObj.signature,
|
|
102
|
-
intermediateSigningKey: (tokenObj === null || tokenObj === void 0 ? void 0 : tokenObj.intermediateSigningKey)
|
|
103
|
-
? {
|
|
104
|
-
signedKey: tokenObj.intermediateSigningKey.signedKey,
|
|
105
|
-
signatures: tokenObj.intermediateSigningKey.signatures,
|
|
106
|
-
}
|
|
107
|
-
: undefined,
|
|
108
|
-
signedMessage: tokenObj === null || tokenObj === void 0 ? void 0 : tokenObj.signedMessage,
|
|
109
|
-
};
|
|
110
|
-
const paymentResult = await this.processPayment(authToken, accountId, tokenProcessRequest);
|
|
111
|
-
if (paymentResult.success) {
|
|
112
|
-
return {
|
|
113
|
-
success: true,
|
|
114
|
-
paymentData: paymentData,
|
|
115
|
-
paymentMethodId: paymentResult.data.id,
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
else {
|
|
119
|
-
return {
|
|
120
|
-
success: false,
|
|
121
|
-
error: {
|
|
122
|
-
code: 'PAYMENT_PROCESSING_ERROR',
|
|
123
|
-
message: 'Payment processing failed',
|
|
124
|
-
},
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
catch (error) {
|
|
129
|
-
// Handle different types of errors
|
|
130
|
-
if (error && typeof error === 'object' && 'statusCode' in error) {
|
|
131
|
-
const googlePayError = error;
|
|
132
|
-
switch (googlePayError.statusCode) {
|
|
133
|
-
case 'CANCELED':
|
|
134
|
-
return {
|
|
135
|
-
success: false,
|
|
136
|
-
error: {
|
|
137
|
-
code: 'USER_CANCELLED',
|
|
138
|
-
message: 'User cancelled the Google Pay session',
|
|
139
|
-
},
|
|
140
|
-
};
|
|
141
|
-
case 'DEVELOPER_ERROR':
|
|
142
|
-
return {
|
|
143
|
-
success: false,
|
|
144
|
-
error: {
|
|
145
|
-
code: 'DEVELOPER_ERROR',
|
|
146
|
-
message: 'Google Pay configuration error',
|
|
147
|
-
},
|
|
148
|
-
};
|
|
149
|
-
default:
|
|
150
|
-
return {
|
|
151
|
-
success: false,
|
|
152
|
-
error: {
|
|
153
|
-
code: 'PAYMENT_ERROR',
|
|
154
|
-
message: googlePayError.statusMessage || 'Google Pay payment failed',
|
|
155
|
-
},
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
return {
|
|
160
|
-
success: false,
|
|
161
|
-
error: {
|
|
162
|
-
code: 'PAYMENT_ERROR',
|
|
163
|
-
message: error instanceof Error
|
|
164
|
-
? error.message
|
|
165
|
-
: 'Google Pay payment failed',
|
|
166
|
-
},
|
|
167
|
-
};
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
* Create Google Pay button element
|
|
172
|
-
*/
|
|
173
|
-
createButton(options) {
|
|
174
|
-
if (!this.googlePayClient || !this.googlePayConfig) {
|
|
175
|
-
return null;
|
|
176
|
-
}
|
|
177
|
-
try {
|
|
178
|
-
return this.googlePayClient.createButton({
|
|
179
|
-
onClick: options.onClick,
|
|
180
|
-
buttonType: options.buttonType,
|
|
181
|
-
buttonSizeMode: options.buttonSizeMode,
|
|
182
|
-
buttonColor: options.buttonColor,
|
|
183
|
-
buttonLocale: options.buttonLocale,
|
|
184
|
-
});
|
|
185
|
-
}
|
|
186
|
-
catch (_error) {
|
|
187
|
-
return null;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
/**
|
|
191
|
-
* Prefetch payment data for faster loading
|
|
192
|
-
*/
|
|
193
|
-
prefetchPaymentData(paymentDataRequest) {
|
|
194
|
-
if (!this.googlePayClient) {
|
|
195
|
-
return;
|
|
196
|
-
}
|
|
197
|
-
const request = new GooglePayPaymentDataRequest(paymentDataRequest);
|
|
198
|
-
if (!request.isValid) {
|
|
199
|
-
return;
|
|
200
|
-
}
|
|
201
|
-
try {
|
|
202
|
-
this.googlePayClient.prefetchPaymentData(request);
|
|
203
|
-
}
|
|
204
|
-
catch (_error) { }
|
|
205
|
-
}
|
|
206
|
-
/**
|
|
207
|
-
* Create a basic payment data request
|
|
208
|
-
*/
|
|
209
|
-
static createPaymentDataRequest(amount, label, countryCode = 'US', currencyCode = 'USD', merchantName, merchantId) {
|
|
210
|
-
const request = {
|
|
211
|
-
apiVersion: 2,
|
|
212
|
-
apiVersionMinor: 0,
|
|
213
|
-
allowedPaymentMethods: [GooglePayHelpers.createPaymentMethodData()],
|
|
214
|
-
transactionInfo: {
|
|
215
|
-
countryCode,
|
|
216
|
-
currencyCode,
|
|
217
|
-
totalPriceStatus: 'FINAL',
|
|
218
|
-
totalPrice: GooglePayHelpers.formatAmount(amount),
|
|
219
|
-
totalPriceLabel: label,
|
|
220
|
-
},
|
|
221
|
-
merchantInfo: {
|
|
222
|
-
merchantName,
|
|
223
|
-
merchantId,
|
|
224
|
-
},
|
|
225
|
-
};
|
|
226
|
-
// No debug logs
|
|
227
|
-
return request;
|
|
228
|
-
}
|
|
229
|
-
/**
|
|
230
|
-
* Get current configuration
|
|
231
|
-
*/
|
|
232
|
-
getGooglePayConfig() {
|
|
233
|
-
return this.googlePayConfig;
|
|
234
|
-
}
|
|
235
|
-
/**
|
|
236
|
-
* Get current Google Pay client
|
|
237
|
-
*/
|
|
238
|
-
getGooglePayClient() {
|
|
239
|
-
return this.googlePayClient;
|
|
240
|
-
}
|
|
241
|
-
}
|