@justifi/webcomponents 6.12.7-rc.3 → 6.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/cjs/{Analytics-GYqUuEeO.js → Analytics-DaegoP5G.js} +3 -3
- package/dist/cjs/{Api-Bukk55YZ.js → Api-BioDE5he.js} +1 -1
- package/dist/cjs/{Plaid-6FYKaSTI.js → Plaid-QLOFOTeC.js} +3 -3
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
- package/dist/cjs/additional-questions-form-step_15.cjs.entry.js +37 -27
- package/dist/cjs/additional-questions_5.cjs.entry.js +1 -1
- package/dist/cjs/additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +5 -5
- package/dist/cjs/bank-account-document-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/bank-account-form.cjs.entry.js +34 -5
- package/dist/cjs/{business-identity-schema-CC1wOwXd.js → business-identity-schema-BA385xf-.js} +3 -3
- package/dist/cjs/{business.service-t-p3-gP-.js → business.service-DOGeb2O6.js} +2 -2
- package/dist/cjs/card-form.cjs.entry.js +5 -5
- package/dist/cjs/{check-pkg-version-wcoV7eK1.js → check-pkg-version-BNGOOokA.js} +1 -1
- package/dist/cjs/checkout-actions-CjR16i7o.js +62 -0
- package/dist/cjs/{checkout.service-BiLHhmjP.js → checkout.service-Bdr5qUHj.js} +2 -2
- package/dist/cjs/{checkout.store-CztwuCnG.js → checkout.store-CZHrIuaP.js} +9 -3
- package/dist/cjs/{country-config-Ck-eEeZZ.js → country-config-C1bWmF8P.js} +9 -4
- package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
- package/dist/cjs/dispute-notification_2.cjs.entry.js +15 -15
- package/dist/cjs/{event-types-DcN23uI_.js → event-types-DWDQKDv4.js} +2 -2
- package/dist/cjs/form-address-fields_3.cjs.entry.js +3 -3
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-file.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary.cjs.entry.js +3 -3
- package/dist/cjs/form-control-number_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
- package/dist/cjs/{get-business-BqO_Sa6H.js → get-business-CrxvWZh6.js} +2 -2
- package/dist/cjs/{get-payment-details-Cs-P5xoW.js → get-payment-details-iCEkGDy4.js} +2 -2
- package/dist/cjs/{get-subaccounts-BbiIbUED.js → get-subaccounts-Dgl7ECtg.js} +3 -3
- package/dist/cjs/hidden-input_2.cjs.entry.js +6 -6
- package/dist/cjs/{insurance-state-Xe2auE-N.js → insurance-state-B-XQRmMs.js} +1 -1
- package/dist/cjs/internal-button.cjs.entry.js +1 -1
- package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +62 -92
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +7 -7
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +17 -7
- package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
- package/dist/cjs/justifi-billing-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-business-form.cjs.entry.js +12 -12
- package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +7 -7
- package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +3141 -0
- package/dist/cjs/justifi-checkout.cjs.entry.js +9 -9
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +11 -11
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +9 -9
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +10 -10
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payment-details.cjs.entry.js +17 -17
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payout-details.cjs.entry.js +12 -12
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -14
- package/dist/cjs/justifi-qr-terminal.cjs.entry.js +208 -0
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +11 -11
- package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +9 -9
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -13
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-BJUD_YSJ.js → package-BKwTzSig.js} +1 -1
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment-provisioning-actions-Dnvqbh2N.js → payment-provisioning-actions-B4x7lnyF.js} +9 -9
- package/dist/cjs/{payment.service-DWK3fO_g.js → payment.service-a5EL3s2d.js} +2 -2
- package/dist/cjs/{payout.service-Cjc3PPfP.js → payout.service-BJtGBHsQ.js} +2 -2
- package/dist/cjs/{payouts-status-DluZkb6X.js → payouts-status-viYMBknO.js} +2 -2
- package/dist/cjs/{plaid.service-BaHuE_zZ.js → plaid.service-DpiLY-5D.js} +2 -2
- package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
- package/dist/cjs/save-new-payment-method.cjs.entry.js +2 -2
- package/dist/cjs/{schema-validations-DackMxv7.js → schema-validations-C2XsZnqK.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-DmlAGx7U.js → terminal.service-DN2A-bNx.js} +2 -2
- package/dist/cjs/{utils-dnVbB8d6.js → utils-BVM6JCW0.js} +1 -1
- package/dist/cjs/{utils-BHi4j5rB.js → utils-D1CWnhex.js} +4 -4
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/actions/payment/get-payments.js +1 -1
- package/dist/collection/actions/refund/refund-actions.js +1 -1
- package/dist/collection/actions/terminal/get-terminal-orders.js +1 -1
- package/dist/collection/actions/void/void-actions.js +1 -1
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-options.js +23 -13
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-actions.js +7 -7
- package/dist/collection/components/business-forms/schemas/business-address-schema.js +1 -1
- package/dist/collection/components/business-forms/schemas/schema-helpers.js +1 -1
- package/dist/collection/components/business-forms/utils/country-config.js +9 -4
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +30 -2
- package/dist/collection/components/checkout/billing-form/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/checkout/billing-form/card-billing-form-simple.js +1 -1
- package/dist/collection/components/checkout/billing-form/justifi-billing-form.js +1 -1
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/justifi-checkout.js +21 -2
- package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/save-new-payment-method/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout-qr-code/justifi-checkout-qr-code.js +128 -0
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
- package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +2 -2
- package/dist/collection/components/dispute-management/dispute-notification.js +3 -3
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-actions.js +3 -3
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/dispute-management/justifi-dispute-management.js +1 -1
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/filters/utils.js +1 -1
- package/dist/collection/components/gross-payment-chart/chart-utils.js +3 -3
- package/dist/collection/components/insurance/insurance-state.js +1 -1
- package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +19 -13
- package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +0 -21
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +11 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-google-pay.js +10 -6
- package/dist/collection/components/modular-checkout/sub-components/justifi-plaid-payment-method.js +15 -2
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/order-terminals/justifi-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/justifi-payment-details.js +8 -8
- package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/justifi-payments-list.js +1 -1
- package/dist/collection/components/payout-details/justifi-payout-details.js +3 -3
- package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +1 -1
- package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/justifi-payouts-list.js +4 -4
- package/dist/collection/components/qr-terminal/justifi-qr-terminal.js +349 -0
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +2 -2
- package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/justifi-terminals-list.js +4 -4
- package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +5 -3
- package/dist/collection/store/checkout.store.js +9 -3
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +2 -2
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/internal-button.js +1 -1
- package/dist/collection/ui-components/radio-list-item.js +1 -1
- 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 +4 -4
- package/dist/docs.json +314 -39
- package/dist/esm/{Analytics-Bg6T3DQV.js → Analytics-D_HycaxE.js} +3 -3
- package/dist/esm/{Api-DMd8hTI-.js → Api-DjAL73GZ.js} +1 -1
- package/dist/esm/{Plaid-CeYMgNts.js → Plaid-C8qoMZLV.js} +2 -2
- package/dist/esm/additional-questions-details_5.entry.js +1 -1
- package/dist/esm/additional-questions-form-step_15.entry.js +37 -27
- package/dist/esm/additional-questions_5.entry.js +1 -1
- package/dist/esm/additional-statement_8.entry.js +8 -8
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +5 -5
- package/dist/esm/bank-account-document-form-inputs.entry.js +2 -2
- package/dist/esm/bank-account-form.entry.js +34 -5
- package/dist/esm/{business-identity-schema-D8L_UfWl.js → business-identity-schema-Csou60ZC.js} +3 -3
- package/dist/esm/{business.service-ZN8yGby7.js → business.service-BGXqAyxu.js} +2 -2
- package/dist/esm/card-form.entry.js +5 -5
- package/dist/esm/{check-pkg-version-BXdtk1fk.js → check-pkg-version-BfrWk42V.js} +1 -1
- package/dist/esm/checkout-actions-D8JS2l5e.js +59 -0
- package/dist/esm/{checkout.service-D_6Zw77V.js → checkout.service-sHKaW-M0.js} +2 -2
- package/dist/esm/{checkout.store-DFnkcDZ8.js → checkout.store-DibfdUMm.js} +9 -3
- package/dist/esm/{country-config-BW2dUoTJ.js → country-config-CEJVOOGe.js} +9 -4
- package/dist/esm/custom-popper_2.entry.js +2 -2
- package/dist/esm/dispute-notification_2.entry.js +15 -15
- package/dist/esm/{event-types-DXYUs2vg.js → event-types-ynZLear3.js} +2 -2
- package/dist/esm/form-address-fields_3.entry.js +3 -3
- package/dist/esm/form-control-checkbox.entry.js +2 -2
- package/dist/esm/form-control-date.entry.js +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +3 -3
- package/dist/esm/form-control-file.entry.js +2 -2
- package/dist/esm/form-control-monetary.entry.js +3 -3
- package/dist/esm/form-control-number_2.entry.js +3 -3
- package/dist/esm/form-control-radio.entry.js +2 -2
- package/dist/esm/form-control-select_2.entry.js +4 -4
- package/dist/esm/{get-business-rP66Ger-.js → get-business-DAv_b3vf.js} +2 -2
- package/dist/esm/{get-payment-details-zCO59zZz.js → get-payment-details-Bipad3jX.js} +2 -2
- package/dist/esm/{get-subaccounts-DUopdVm2.js → get-subaccounts-FqCT2s3S.js} +3 -3
- package/dist/esm/hidden-input_2.entry.js +6 -6
- package/dist/esm/{insurance-state-CLGc1-_4.js → insurance-state-C5OZqDCT.js} +1 -1
- package/dist/esm/internal-button.entry.js +1 -1
- package/dist/esm/justifi-apple-pay_11.entry.js +60 -90
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +7 -7
- package/dist/esm/justifi-bank-account-form.entry.js +17 -7
- package/dist/esm/justifi-billing-form-full.entry.js +1 -1
- package/dist/esm/justifi-billing-form.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +9 -9
- package/dist/esm/justifi-business-form.entry.js +12 -12
- package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +7 -7
- package/dist/esm/justifi-checkout-qr-code.entry.js +3139 -0
- package/dist/esm/justifi-checkout.entry.js +9 -9
- package/dist/esm/justifi-checkouts-list-filters.entry.js +4 -4
- package/dist/esm/justifi-checkouts-list.entry.js +11 -11
- package/dist/esm/justifi-dispute-management.entry.js +9 -9
- package/dist/esm/justifi-gross-payment-chart.entry.js +10 -10
- package/dist/esm/justifi-order-terminals.entry.js +11 -11
- package/dist/esm/justifi-payment-details.entry.js +17 -17
- package/dist/esm/justifi-payment-provisioning.entry.js +9 -9
- package/dist/esm/justifi-payment-transactions-list.entry.js +9 -9
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +10 -10
- package/dist/esm/justifi-payout-details.entry.js +12 -12
- package/dist/esm/justifi-payout-transactions-list.entry.js +9 -9
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payouts-list.entry.js +14 -14
- package/dist/esm/justifi-qr-terminal.entry.js +206 -0
- package/dist/esm/justifi-refund-payment.entry.js +11 -11
- package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -9
- package/dist/esm/justifi-skeleton.entry.js +1 -1
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -5
- package/dist/esm/justifi-terminal-orders-list.entry.js +10 -10
- package/dist/esm/justifi-terminals-list-filters.entry.js +3 -3
- package/dist/esm/justifi-terminals-list.entry.js +13 -13
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-DSjpDUHk.js → package-DSavNeRB.js} +1 -1
- package/dist/esm/payment-method-option.entry.js +1 -1
- package/dist/esm/{payment-provisioning-actions-BfMdBzzh.js → payment-provisioning-actions-DI3QUsjh.js} +9 -9
- package/dist/esm/{payment.service-CRgN4aGV.js → payment.service-wSNYSRyl.js} +2 -2
- package/dist/esm/{payout.service-B_APc0x_.js → payout.service-CTAksNmD.js} +2 -2
- package/dist/esm/{payouts-status-klusV0rp.js → payouts-status-CeZoirpf.js} +2 -2
- package/dist/esm/{plaid.service-DbrHt5kj.js → plaid.service-5EpJEdwX.js} +2 -2
- package/dist/esm/radio-list-item.entry.js +1 -1
- package/dist/esm/save-new-payment-method.entry.js +2 -2
- package/dist/esm/{schema-validations-CjqWFLKt.js → schema-validations-CySYE883.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +1 -1
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-B5ezhIvW.js → terminal.service-xjfU0mJT.js} +2 -2
- package/dist/esm/{utils-BTtxWI2r.js → utils-CcA8Y5hs.js} +4 -4
- package/dist/esm/{utils-CfBIEaJJ.js → utils-myniydlM.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Plaid.js +1 -1
- package/dist/module/additional-questions-form-step2.js +1 -1
- package/dist/module/additional-statement2.js +1 -1
- package/dist/module/bank-account-billing-form-simple2.js +1 -1
- package/dist/module/bank-account-form2.js +30 -2
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-core-info-form-step2.js +1 -1
- package/dist/module/business-representative-form-step2.js +1 -1
- package/dist/module/cancellation-policy2.js +1 -1
- package/dist/module/card-billing-form-simple2.js +1 -1
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout-actions.js +59 -0
- package/dist/module/checkout.store.js +9 -3
- package/dist/module/country-config.js +9 -4
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details2.js +1 -1
- package/dist/module/dispute-notification2.js +3 -3
- package/dist/module/dispute-response2.js +1 -1
- package/dist/module/document-upload-form-step2.js +24 -14
- package/dist/module/duplicate-charge2.js +1 -1
- package/dist/module/electronic-evidence2.js +1 -1
- package/dist/module/event-types3.js +3 -3
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number2.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/get-payment-details.js +1 -1
- package/dist/module/hidden-input2.js +2 -2
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/insurance-state.js +1 -1
- package/dist/module/internal-button2.js +1 -1
- package/dist/module/justifi-apple-pay2.js +0 -2
- package/dist/module/justifi-bank-account-billing-form-simple.js +1 -1
- package/dist/module/justifi-bank-account-form.js +11 -1
- package/dist/module/justifi-billing-form-full.js +1 -1
- package/dist/module/justifi-billing-form.js +1 -1
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-card-billing-form-simple.js +1 -1
- package/dist/module/justifi-card-form.js +1 -1
- package/dist/module/justifi-checkout-qr-code.d.ts +11 -0
- package/dist/module/justifi-checkout-qr-code.js +6 -0
- package/dist/module/justifi-checkout-qr-code2.js +3154 -0
- package/dist/module/justifi-checkout-summary2.js +1 -1
- package/dist/module/justifi-checkout.js +3 -2
- package/dist/module/justifi-checkouts-list-filters.js +2 -2
- package/dist/module/justifi-checkouts-list.js +3 -3
- package/dist/module/justifi-dispute-management.js +2 -2
- package/dist/module/justifi-google-pay2.js +7 -2
- package/dist/module/justifi-gross-payment-chart.js +3 -3
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-modular-checkout2.js +21 -70
- package/dist/module/justifi-order-terminals.js +2 -2
- package/dist/module/justifi-payment-details.js +9 -9
- package/dist/module/justifi-payment-transactions-list.js +2 -2
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +3 -3
- package/dist/module/justifi-payout-details.js +4 -4
- package/dist/module/justifi-payout-transactions-list.js +2 -2
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +5 -5
- package/dist/module/justifi-plaid-payment-method2.js +14 -2
- package/dist/module/justifi-qr-terminal.d.ts +11 -0
- package/dist/module/justifi-qr-terminal.js +234 -0
- package/dist/module/justifi-refund-payment.js +3 -3
- package/dist/module/justifi-save-new-payment-method.js +1 -1
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
- package/dist/module/justifi-terminal-orders-list.js +4 -4
- package/dist/module/justifi-terminals-list-filters.js +2 -2
- package/dist/module/justifi-terminals-list.js +5 -5
- package/dist/module/justifi-tokenize-payment-method2.js +5 -3
- package/dist/module/legal-address-form-step2.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment-provisioning-actions.js +7 -7
- package/dist/module/product-or-service2.js +1 -1
- package/dist/module/radio-list-item2.js +1 -1
- package/dist/module/refund-policy2.js +1 -1
- package/dist/module/save-new-payment-method2.js +1 -1
- package/dist/module/schema-validations.js +1 -1
- package/dist/module/shipping-details2.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/utils2.js +4 -4
- package/dist/stencil.config.js +40 -0
- package/dist/types/api/Checkout.d.ts +1 -2
- package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-options.d.ts +5 -1
- package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +2 -0
- package/dist/types/components/checkout/justifi-checkout.d.ts +2 -0
- package/dist/types/components/checkout-qr-code/justifi-checkout-qr-code.d.ts +18 -0
- package/dist/types/components/modular-checkout/sub-components/justifi-apple-pay.d.ts +0 -1
- package/dist/types/components/modular-checkout/sub-components/justifi-bank-account-form.d.ts +1 -1
- package/dist/types/components/modular-checkout/sub-components/justifi-google-pay.d.ts +3 -1
- package/dist/types/components/modular-checkout/sub-components/justifi-plaid-payment-method.d.ts +1 -0
- package/dist/types/components/qr-terminal/justifi-qr-terminal.d.ts +42 -0
- package/dist/types/components.d.ts +103 -11
- package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/stencil.config.d.ts +2 -0
- package/dist/types/store/checkout.store.d.ts +2 -0
- package/dist/webcomponents/p-015288c4.entry.js +1 -0
- package/dist/webcomponents/p-055640f9.entry.js +1 -0
- package/dist/webcomponents/p-0d98518e.entry.js +1 -0
- package/dist/webcomponents/p-0ea6aa9c.entry.js +1 -0
- package/dist/webcomponents/p-0ede7e82.entry.js +1 -0
- package/dist/webcomponents/{p-37676092.entry.js → p-0f2a1ac9.entry.js} +1 -1
- package/dist/webcomponents/p-1068ae13.entry.js +1 -0
- package/dist/webcomponents/p-14a03ad0.entry.js +1 -0
- package/dist/webcomponents/{p-69c5658c.entry.js → p-1a30f2d9.entry.js} +1 -1
- package/dist/webcomponents/p-1b51dea9.entry.js +1 -0
- package/dist/webcomponents/{p-89cd31f2.entry.js → p-1de248b1.entry.js} +1 -1
- package/dist/webcomponents/p-218b926a.entry.js +1 -0
- package/dist/webcomponents/p-25215ee7.entry.js +1 -0
- package/dist/webcomponents/p-266870f0.entry.js +1 -0
- package/dist/webcomponents/p-27c35a85.entry.js +1 -0
- package/dist/webcomponents/{p-D8MQn8ZW.js → p-2mMMaism.js} +1 -1
- package/dist/webcomponents/p-3a2629a2.entry.js +1 -0
- package/dist/webcomponents/p-3e56bbe5.entry.js +1 -0
- package/dist/webcomponents/p-4791c6d7.entry.js +1 -0
- package/dist/webcomponents/p-49d9c0a4.entry.js +1 -0
- package/dist/webcomponents/{p-49c0879b.entry.js → p-4a30693b.entry.js} +1 -1
- package/dist/webcomponents/{p-b2224f12.entry.js → p-4fab9314.entry.js} +1 -1
- package/dist/webcomponents/p-5218bcd0.entry.js +1 -0
- package/dist/webcomponents/{p-4b14b7e7.entry.js → p-53d775b9.entry.js} +1 -1
- package/dist/webcomponents/{p-70dcd833.entry.js → p-5a58f606.entry.js} +1 -1
- package/dist/webcomponents/p-5f6bc8e7.entry.js +1 -0
- package/dist/webcomponents/p-65908b5f.entry.js +1 -0
- package/dist/webcomponents/{p-5ec9634c.entry.js → p-67364f1d.entry.js} +1 -1
- package/dist/webcomponents/p-6bf4fea8.entry.js +1 -0
- package/dist/webcomponents/{p-0e4cda77.entry.js → p-6c3e9ebd.entry.js} +1 -1
- package/dist/webcomponents/{p-a9695714.entry.js → p-6fe329d6.entry.js} +1 -1
- package/dist/webcomponents/p-70e05aec.entry.js +1 -0
- package/dist/webcomponents/p-73deced9.entry.js +1 -0
- package/dist/webcomponents/p-762b1b7b.entry.js +1 -0
- package/dist/webcomponents/p-76ded81e.entry.js +1 -0
- package/dist/webcomponents/p-77cc572d.entry.js +1 -0
- package/dist/webcomponents/p-7b6cf400.entry.js +1 -0
- package/dist/webcomponents/p-8fd18ce2.entry.js +1 -0
- package/dist/webcomponents/{p-233fef57.entry.js → p-9c0760b9.entry.js} +1 -1
- package/dist/webcomponents/p-B62JX_Dh.js +1 -0
- package/dist/webcomponents/p-BB8Ce9rp.js +1 -0
- package/dist/webcomponents/{p-BRnBHsdq.js → p-BSs-2JKu.js} +1 -1
- package/dist/webcomponents/p-BUHsyQpA.js +1 -0
- package/dist/webcomponents/{p-D-zwk1J3.js → p-C-Jgmek8.js} +1 -1
- package/dist/webcomponents/p-C1gr32IS.js +1 -0
- package/dist/webcomponents/{p-DspPkDq4.js → p-C7hX61pS.js} +1 -1
- package/dist/webcomponents/{p-DIpFohcg.js → p-CO8ZGkfN.js} +1 -1
- package/dist/webcomponents/p-CPJC6tlj.js +1 -0
- package/dist/webcomponents/p-CdwzNfP1.js +1 -0
- package/dist/webcomponents/p-Cn7z5L7J.js +1 -0
- package/dist/webcomponents/{p-jlR7CJl2.js → p-CxBrydeX.js} +1 -1
- package/dist/webcomponents/p-DP9ysr2K.js +1 -0
- package/dist/webcomponents/{p-BzXQDB0t.js → p-DPA5TKvQ.js} +1 -1
- package/dist/webcomponents/p-DSavNeRB.js +1 -0
- package/dist/webcomponents/{p-DGbFOjOo.js → p-DXTa04jn.js} +1 -1
- package/dist/webcomponents/{p-CwP0ecN7.js → p-DYSc8uvs.js} +1 -1
- package/dist/webcomponents/p-Da3fPDxu.js +1 -0
- package/dist/webcomponents/{p-CYQvLgSs.js → p-De4Pig-y.js} +1 -1
- package/dist/webcomponents/p-DyPk4BJt.js +1 -0
- package/dist/webcomponents/p-NzPaWKbY.js +1 -0
- package/dist/webcomponents/{p-DlHomiZY.js → p-R_0S69Pr.js} +1 -1
- package/dist/webcomponents/{p-b393864a.entry.js → p-a1885b83.entry.js} +1 -1
- package/dist/webcomponents/p-a6b46f98.entry.js +1 -0
- package/dist/webcomponents/{p-cfe8eaf8.entry.js → p-a893d607.entry.js} +1 -1
- package/dist/webcomponents/{p-cab840bd.entry.js → p-b03e361e.entry.js} +1 -1
- package/dist/webcomponents/p-c3a25333.entry.js +1 -0
- package/dist/webcomponents/p-c60c4bed.entry.js +1 -0
- package/dist/webcomponents/{p-4f512f89.entry.js → p-c885cbf6.entry.js} +4 -4
- package/dist/webcomponents/p-c8bcc54f.entry.js +1 -0
- package/dist/webcomponents/p-d0c889e7.entry.js +1 -0
- package/dist/webcomponents/p-d554e0bb.entry.js +1 -0
- package/dist/webcomponents/p-d7e2ce48.entry.js +1 -0
- package/dist/webcomponents/{p-bbf54e31.entry.js → p-ddb885c3.entry.js} +1 -1
- package/dist/webcomponents/{p-1358a4f0.entry.js → p-ddffdec9.entry.js} +1 -1
- package/dist/webcomponents/{p-22d19755.entry.js → p-debc4768.entry.js} +1 -1
- package/dist/webcomponents/p-e1168904.entry.js +1 -0
- package/dist/webcomponents/p-e3021e22.entry.js +1 -0
- package/dist/webcomponents/p-e3f8541c.entry.js +1 -0
- package/dist/webcomponents/{p-c1539656.entry.js → p-eccc1fc6.entry.js} +1 -1
- package/dist/webcomponents/{p-3e10a0de.entry.js → p-f3c40c22.entry.js} +1 -1
- package/dist/webcomponents/{p-09d1663d.entry.js → p-f4de4ac0.entry.js} +1 -1
- package/dist/webcomponents/p-f953fd60.entry.js +1 -0
- package/dist/webcomponents/p-fdea8c57.entry.js +1 -0
- package/dist/webcomponents/p-z3RFjy9B.js +1 -0
- package/dist/webcomponents/{p-DOEMfCze.js → p-zZn1OXja.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +17 -15
- package/dist/webcomponents/p-00335f02.entry.js +0 -1
- package/dist/webcomponents/p-04480f3c.entry.js +0 -1
- package/dist/webcomponents/p-095e5b0e.entry.js +0 -1
- package/dist/webcomponents/p-0b169fac.entry.js +0 -1
- package/dist/webcomponents/p-12ae030d.entry.js +0 -1
- package/dist/webcomponents/p-1e34c488.entry.js +0 -1
- package/dist/webcomponents/p-1f3515a8.entry.js +0 -1
- package/dist/webcomponents/p-21473196.entry.js +0 -1
- package/dist/webcomponents/p-34f9fe96.entry.js +0 -1
- package/dist/webcomponents/p-382f49f6.entry.js +0 -1
- package/dist/webcomponents/p-3a28052f.entry.js +0 -1
- package/dist/webcomponents/p-46477dfe.entry.js +0 -1
- package/dist/webcomponents/p-48319292.entry.js +0 -1
- package/dist/webcomponents/p-494e1254.entry.js +0 -1
- package/dist/webcomponents/p-4ae8f4e9.entry.js +0 -1
- package/dist/webcomponents/p-4ccf9cd7.entry.js +0 -1
- package/dist/webcomponents/p-5fd4c94d.entry.js +0 -1
- package/dist/webcomponents/p-63b7abf3.entry.js +0 -1
- package/dist/webcomponents/p-649f78de.entry.js +0 -1
- package/dist/webcomponents/p-80fdd013.entry.js +0 -1
- package/dist/webcomponents/p-947950cc.entry.js +0 -1
- package/dist/webcomponents/p-9b944aa4.entry.js +0 -1
- package/dist/webcomponents/p-B1yVkh15.js +0 -1
- package/dist/webcomponents/p-BArmtmkq.js +0 -1
- package/dist/webcomponents/p-Bh1Vr2it.js +0 -1
- package/dist/webcomponents/p-BtPSM2n_.js +0 -1
- package/dist/webcomponents/p-C32sJPns.js +0 -1
- package/dist/webcomponents/p-Cdy3lPBL.js +0 -1
- package/dist/webcomponents/p-DSjpDUHk.js +0 -1
- package/dist/webcomponents/p-DV4n8kZd.js +0 -1
- package/dist/webcomponents/p-DfMQsL55.js +0 -1
- package/dist/webcomponents/p-DnDbpabY.js +0 -1
- package/dist/webcomponents/p-a3b48ba3.entry.js +0 -1
- package/dist/webcomponents/p-bd466218.entry.js +0 -1
- package/dist/webcomponents/p-be4aee79.entry.js +0 -1
- package/dist/webcomponents/p-cc558e25.entry.js +0 -1
- package/dist/webcomponents/p-d253a573.entry.js +0 -1
- package/dist/webcomponents/p-d9287237.entry.js +0 -1
- package/dist/webcomponents/p-d9eec0cc.entry.js +0 -1
- package/dist/webcomponents/p-daf41b49.entry.js +0 -1
- package/dist/webcomponents/p-e29e32aa.entry.js +0 -1
- package/dist/webcomponents/p-e5c2215a.entry.js +0 -1
- package/dist/webcomponents/p-e679b76b.entry.js +0 -1
- package/dist/webcomponents/p-eb6150a8.entry.js +0 -1
- package/dist/webcomponents/p-ebd5a44e.entry.js +0 -1
- package/dist/webcomponents/p-f0d8ffe0.entry.js +0 -1
- package/dist/webcomponents/p-f9aafb21.entry.js +0 -1
- package/dist/webcomponents/p-krYyRSq-.js +0 -1
- package/dist/webcomponents/p-rISpbtJR.js +0 -1
|
@@ -41,7 +41,7 @@ const ProductOrService = /*@__PURE__*/ proxyCustomElement(class ProductOrService
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a, _b, _c;
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: 'befcaee1dd5343ec47a55f27dc51c1d18cd57a71' }, h("div", { key: '56005c7449374963a548ea89250cc8ebbf2e75e4', class: "row gy-3" }, h("div", { key: 'ba5cdd019cb69288b49570d59317079665bf2b81', class: "col-12" }, h("h2", { key: '494feff3a2bb645653c77c7d7b031e761ed8c253', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '84db8064cd1c110e64b56961838f62f8676aed19', class: "col-12" }, h("form-control-text", { key: '98e82b9ca4b27476bc9e523afaf13ce55df9cce5', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: 'da06d2ef195dbc8cee8680e3a4c9107849836ab3', class: "col-12" }, h("form-control-date", { key: '3d2fb41fccfddb65d92468a78e3f5a4cfd9a67b5', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '824410485b182d8e309468506a9c8ae19ce1461f', class: "col-12" }, h("form-control-file-v2", { key: 'f8f5d542260b88754c05b61f0d50374d1f66a93e', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
|
|
45
45
|
}
|
|
46
46
|
}, [256, "product-or-service", {
|
|
47
47
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -17,7 +17,7 @@ const RadioListItem = /*@__PURE__*/ proxyCustomElement(class RadioListItem exten
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: 'c6313219de1fb0db111332b67364e4a5700c2856' }, h("div", { key: '73925451debf15dc46d8bb6b7183bfd85af4c315', class: `radio-list-item p-3 ${this.class || ''}`, part: radioListItem, onClick: this.handleClick, hidden: this.hidden }, h("form-control-radio", { key: 'd14da7ad38b1ee3b82e99f20957161f10eb744c4', name: this.name, value: this.value, checked: this.checked, label: this.label, inputHandler: () => null }))));
|
|
21
21
|
}
|
|
22
22
|
}, [256, "radio-list-item", {
|
|
23
23
|
"name": [1],
|
|
@@ -41,7 +41,7 @@ const RefundPolicy = /*@__PURE__*/ proxyCustomElement(class RefundPolicy extends
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a, _b, _c, _d;
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: 'd5419f7dc7ca4e66522437969b451c7adfda6b06' }, h("div", { key: 'f74344edd56fe88d481f3c428aee3f7a3170ef1a', class: "row gy-3" }, h("div", { key: 'ad826fd7a497664e8a9a97bf4f749ddd5f4899a4', class: "col-12" }, h("h2", { key: 'f792af239a7df56d2a7289fae8ee487048343851', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '5a159d8fbb74d7580a9d6ef34d1a752b68525251', class: "col-12" }, h("form-control-textarea", { key: '8fdcac1c9336874635d955f651b44389ddc3d576', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: 'ca0d7a0c5161d572a27459ec5847bd6aedda8552', class: "col-12" }, h("form-control-textarea", { key: '7dde3212e5453772afbc4dfff8de5285d29ec3b3', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: 'ec5615813cceb9b2eaaf327e4a4fb2785f341ce8', class: "col-12" }, h("form-control-file-v2", { key: '38d6901b619eb353da9b6066957579caa97064e3', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: '64245ce028bff37a6f9852e75d1b2e6ba27fd3ef', class: "col-12" }, h("form-control-file-v2", { key: '126ce22ff40995cfc0d4f059b2463a98a6dfcb50', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
|
|
45
45
|
}
|
|
46
46
|
}, [256, "refund-policy", {
|
|
47
47
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -18,7 +18,7 @@ const SaveNewPaymentMethod = /*@__PURE__*/ proxyCustomElement(class SaveNewPayme
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: 'a5ecfa60f9f55bdb91343394c1dd5bea542c20ed', hidden: this.hidden }, h("form-control-checkbox", { key: '282476dea11415eeec68336577ff17a5c03baad2', label: this.label || 'Save New Payment Method', name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
|
|
22
22
|
}
|
|
23
23
|
}, [256, "save-new-payment-method", {
|
|
24
24
|
"label": [1],
|
|
@@ -30,7 +30,7 @@ const validateRoutingNumber = (routingNumber) => {
|
|
|
30
30
|
return false;
|
|
31
31
|
};
|
|
32
32
|
const phoneRegex = /^\d{10}$/;
|
|
33
|
-
const urlRegex = /^(?:http(s)?:\/\/)?(?:www\.)?[-a-zA-Z0-9@:%._
|
|
33
|
+
const urlRegex = /^(?:http(s)?:\/\/)?(?:www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)$/;
|
|
34
34
|
const numbersOnlyRegex = /^\d+$/;
|
|
35
35
|
const ssnRegex = /^(?!000|666|9\d{2})\d{3}(?!00)\d{2}(?!0000)\d{4}$/;
|
|
36
36
|
const poBoxRegex = /P\.?\s?O\.?\s?Box|Postal\sBox/i;
|
|
@@ -46,7 +46,7 @@ const ShippingDetails = /*@__PURE__*/ proxyCustomElement(class ShippingDetails e
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b, _c, _d, _e;
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: 'dabe709653579ef5c19806146e149fdbfa65686c' }, h("div", { key: '07d9f91a68d770daed48f84678ffa2f2182b4625', class: "row gy-3" }, h("div", { key: '6052cb801e0e8cfc73a946e32d37a35e4726f8aa', class: "col-12" }, h("h2", { key: '8cea7d2ac9d5e53a01d4e8f3a14b3b6947e72f19', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '79adf032e4435f8e89e5d848e397c8389c35ee99', class: "col-12" }, h("form-control-text", { key: '4dd59285b595b33944168e5a959fbf7686b71c4c', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: 'e25cb74edb5133cfaa1c8abb6194a43104d51e80', class: "col-12" }, h("form-control-text", { key: 'bdb47ebe63e9717db4308d89e890bdd01ecad9fc', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: 'ccb5a0facc6aa6f7c311f3d1a395faa214b4c099', class: "col-12" }, h("form-control-date", { key: 'a2e1a7af287b7afae6ba7451bd4f51292e2e14fa', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: 'ce176cd89d1c2fbf4cb3e1a84d84fb38e7f77ae9', class: "col-12" }, h("form-control-textarea", { key: '5f09d91a79081a8dea6eb44b44e6500f5f9b547b', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: 'b41048055f1fc82bb383d300f32e13efa2a4f0fc', class: "col-12" }, h("form-control-file-v2", { key: '2fda26e5404c3a2a0c10261ffc1e005b688e057a', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
|
|
50
50
|
}
|
|
51
51
|
}, [256, "shipping-details", {
|
|
52
52
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -31,7 +31,7 @@ const TableFiltersMenu = /*@__PURE__*/ proxyCustomElement(class TableFiltersMenu
|
|
|
31
31
|
this.showClearButton = hasFilters(this.params);
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: 'bcecb736427ce7859174c8f91938f720f8e32782', class: "d-flex gap-2" }, h("div", { key: 'aadd72cb3aac3d676a340068304802dbc5dfeab2', class: "dropdown pb-3" }, h("button", { key: '2dbb5590ea8ed60d2228b0f0b262332e5d377810', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: 'c516ec2550207e3acc3d0186c6f86d351a6ca4a9', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: '4ee1c1bd0e5c9eacccb857986d3f2e37bb3d990b', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: 'b274f915722d1a59af4578935c4233bcf700c7b2' })))), h("div", { key: 'ce527862135dd31b9b198133a3a2c19699419c5d' }, h(Button, { key: '272022c173de7f8c41ba7a88cf5aa004da11b3a2', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
|
|
35
35
|
}
|
|
36
36
|
static get watchers() { return {
|
|
37
37
|
"params": ["watchParamsHandler"]
|
|
@@ -26,7 +26,7 @@ const TerminalQuantitySelector = /*@__PURE__*/ proxyCustomElement(class Terminal
|
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h("div", { key: '
|
|
29
|
+
return (h("div", { key: '1704fa75958fcfd09f49a3c0fe8116d573bfa2ed', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: '0efa6cc9b68c077928f808ae87de23bfdae8d114', class: "d-flex gap-3" }, h("div", { key: 'bffacd3f4efa0f4836df925c71cda7b557041041', class: "d-flex align-items-center" }, h("img", { key: '5d2d65f2e080408fce1c036f95b19829de05ec21', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '8c97aca0bf669cbd0b19f6d7eafffd36b20fd14e', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: '96ec8a7338c8d3bcaa032a8dd0f68a331901ba57', class: "row" }, h("div", { key: '85cf477f4bc74ef873d7087e8e087728f80d9412', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: '50357d9dad8c03ff4112a8a5f95aa8ccf99ea640', helpText: this.description })), h("div", { key: '598a1cd15123c470dcd3bc602a988ad335f07f39', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: '6868ee6d61d15ff37d01432e40126ae4f77a97cb', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: 'dff94157f9c0cf1afbe60ee655568cd6b109fc1f', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: '12aa22434ff134acd554a7eeb9782c81d14d7f02', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
|
|
30
30
|
}
|
|
31
31
|
}, [256, "terminal-quantity-selector", {
|
|
32
32
|
"modelName": [1, "model-name"],
|
package/dist/module/utils2.js
CHANGED
|
@@ -22272,13 +22272,13 @@ function processHTML(htmlString, functions) {
|
|
|
22272
22272
|
}
|
|
22273
22273
|
function formatPhoneNumber(number) {
|
|
22274
22274
|
// Remove all non-numeric characters
|
|
22275
|
-
|
|
22275
|
+
const cleaned = ('' + number).replace(/\D/g, '');
|
|
22276
22276
|
// Check if the number has the correct length
|
|
22277
22277
|
if (cleaned.length !== 10) {
|
|
22278
22278
|
return 'Invalid number';
|
|
22279
22279
|
}
|
|
22280
22280
|
// Format the number (XXX) XXX-XXXX
|
|
22281
|
-
|
|
22281
|
+
const formatted = cleaned.replace(/(\d{3})(\d{3})(\d{4})/, '($1) $2-$3');
|
|
22282
22282
|
return formatted;
|
|
22283
22283
|
}
|
|
22284
22284
|
function generateId(length = 10) {
|
|
@@ -22308,7 +22308,7 @@ function decodeJwt(token) {
|
|
|
22308
22308
|
const decoded = atob(payload.replace(/-/g, '+').replace(/_/g, '/'));
|
|
22309
22309
|
return JSON.parse(decoded);
|
|
22310
22310
|
}
|
|
22311
|
-
catch (
|
|
22311
|
+
catch (_a) {
|
|
22312
22312
|
throw new Error('Invalid JWT');
|
|
22313
22313
|
}
|
|
22314
22314
|
}
|
|
@@ -22320,7 +22320,7 @@ function isTokenExpired(token) {
|
|
|
22320
22320
|
}
|
|
22321
22321
|
return payload.exp * 1000 < Date.now();
|
|
22322
22322
|
}
|
|
22323
|
-
catch (
|
|
22323
|
+
catch (_a) {
|
|
22324
22324
|
return true; // Treat invalid token as expired
|
|
22325
22325
|
}
|
|
22326
22326
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import dotenv from "dotenv";
|
|
2
|
+
import replace from "@rollup/plugin-replace";
|
|
3
|
+
dotenv.config({ path: '../../.env' });
|
|
4
|
+
export const config = {
|
|
5
|
+
namespace: 'webcomponents',
|
|
6
|
+
outputTargets: [
|
|
7
|
+
{
|
|
8
|
+
type: 'dist',
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
type: 'dist-custom-elements',
|
|
12
|
+
dir: 'dist/module',
|
|
13
|
+
customElementsExportBehavior: 'auto-define-custom-elements',
|
|
14
|
+
isPrimaryPackageOutputTarget: true,
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
type: 'docs-json',
|
|
18
|
+
file: 'dist/docs.json',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
type: 'docs-json',
|
|
22
|
+
file: '../../docs/docs.json',
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
plugins: [
|
|
26
|
+
replace({
|
|
27
|
+
PROXY_API_ORIGIN: JSON.stringify(process.env.PROXY_API_ORIGIN),
|
|
28
|
+
IFRAME_ORIGIN: JSON.stringify(process.env.IFRAME_ORIGIN),
|
|
29
|
+
API_ORIGIN: JSON.stringify(process.env.API_ORIGIN),
|
|
30
|
+
}),
|
|
31
|
+
],
|
|
32
|
+
validatePrimaryPackageOutputTarget: true,
|
|
33
|
+
sourceMap: false,
|
|
34
|
+
testing: {
|
|
35
|
+
setupFiles: ['./setupTests.js'],
|
|
36
|
+
moduleNameMapper: {
|
|
37
|
+
'\\.(svg|png|jpg|jpeg|gif|webp)$': '<rootDir>/src/__mocks__/fileMock.js',
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
};
|
|
@@ -9,7 +9,7 @@ export interface IBnpl {
|
|
|
9
9
|
provider_order_id: string;
|
|
10
10
|
provider_api_version: string;
|
|
11
11
|
}
|
|
12
|
-
interface ICompletion {
|
|
12
|
+
export interface ICompletion {
|
|
13
13
|
payment_mode?: ICheckoutPaymentMode;
|
|
14
14
|
payment_token?: string | null;
|
|
15
15
|
payment_status?: string | null;
|
|
@@ -171,4 +171,3 @@ export interface ICheckoutPaymentMethod {
|
|
|
171
171
|
address_postal_code_check: string;
|
|
172
172
|
bin_details: null;
|
|
173
173
|
}
|
|
174
|
-
export {};
|
|
@@ -7,6 +7,10 @@ export declare const financialDocumentOptions: {
|
|
|
7
7
|
label: string;
|
|
8
8
|
value: string;
|
|
9
9
|
}[];
|
|
10
|
+
export declare const financialDocumentOptionsCAN: {
|
|
11
|
+
label: string;
|
|
12
|
+
value: string;
|
|
13
|
+
}[];
|
|
10
14
|
export declare const personalDocGroup1Options: {
|
|
11
15
|
label: string;
|
|
12
16
|
value: string;
|
|
@@ -33,7 +37,7 @@ export interface UploadedDocumentEntry {
|
|
|
33
37
|
file: File;
|
|
34
38
|
status: DocumentUploadStatus;
|
|
35
39
|
}
|
|
36
|
-
export declare
|
|
40
|
+
export declare function buildStaticCategories(country?: CountryCode): DocumentCategory[];
|
|
37
41
|
export declare function buildPersonalDocumentCategories(): DocumentCategory[];
|
|
38
42
|
export declare const financialOnlyCategories: DocumentCategory[];
|
|
39
43
|
export declare function buildAllCategories(country?: CountryCode): DocumentCategory[];
|
|
@@ -4,8 +4,10 @@ export declare class BankAccountForm {
|
|
|
4
4
|
tabId: string;
|
|
5
5
|
private accountNumberIframeElement;
|
|
6
6
|
private routingNumberIframeElement;
|
|
7
|
+
private hasLoggedAchDisabledWarning;
|
|
7
8
|
componentWillLoad(): Promise<void>;
|
|
8
9
|
componentDidRender(): void;
|
|
10
|
+
private isAchDisabledForCheckout;
|
|
9
11
|
validate(): Promise<any>;
|
|
10
12
|
tokenize({ clientId, paymentMethodMetadata, account }: {
|
|
11
13
|
clientId: string;
|
|
@@ -26,6 +26,8 @@ export declare class JustifiCheckout {
|
|
|
26
26
|
disablePaymentMethodGroup?: boolean;
|
|
27
27
|
hideBankAccountBillingForm?: boolean;
|
|
28
28
|
hideCardBillingForm?: boolean;
|
|
29
|
+
/** Passed to `justifi-google-pay` as `environment`. Omit to let the child use its default. */
|
|
30
|
+
googlePayEnv?: 'TEST' | 'PRODUCTION';
|
|
29
31
|
preCompleteHook?: Hook<CheckoutState>;
|
|
30
32
|
propChanged(): void;
|
|
31
33
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { ComponentErrorEvent } from '../../api/ComponentEvents';
|
|
3
|
+
import JustifiAnalytics from '../../api/Analytics';
|
|
4
|
+
export declare class JustifiCheckoutQrCode {
|
|
5
|
+
el: HTMLElement;
|
|
6
|
+
checkoutId: string;
|
|
7
|
+
size: number;
|
|
8
|
+
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
9
|
+
analytics: JustifiAnalytics;
|
|
10
|
+
private qrContainerEl;
|
|
11
|
+
componentWillLoad(): void;
|
|
12
|
+
componentDidLoad(): void;
|
|
13
|
+
disconnectedCallback(): void;
|
|
14
|
+
propChanged(): void;
|
|
15
|
+
private get checkoutUrl();
|
|
16
|
+
private renderQrCode;
|
|
17
|
+
render(): any;
|
|
18
|
+
}
|
package/dist/types/components/modular-checkout/sub-components/justifi-bank-account-form.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import JustifiAnalytics from "../../../api/Analytics";
|
|
2
2
|
export declare class JustifiBankAccountForm {
|
|
3
|
-
private bankAccountFormElement
|
|
3
|
+
private bankAccountFormElement?;
|
|
4
4
|
analytics: JustifiAnalytics;
|
|
5
5
|
componentWillLoad(): Promise<void>;
|
|
6
6
|
disconnectedCallback(): void;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
2
|
export declare class JustifiGooglePay {
|
|
3
3
|
private iframeElement;
|
|
4
|
-
environment:
|
|
4
|
+
/** If not provided, the environment will be determined by the account mode: 'test' or 'live'. */
|
|
5
|
+
environment?: "TEST" | "PRODUCTION";
|
|
5
6
|
merchantDisplayName: string;
|
|
6
7
|
iframeOrigin: string;
|
|
7
8
|
iframeReady: boolean;
|
|
@@ -23,6 +24,7 @@ export declare class JustifiGooglePay {
|
|
|
23
24
|
componentDidLoad(): void;
|
|
24
25
|
disconnectedCallback(): void;
|
|
25
26
|
private handleMessage;
|
|
27
|
+
private googlePayEnvironment;
|
|
26
28
|
private sendInitialize;
|
|
27
29
|
private sendStartPayment;
|
|
28
30
|
render(): any;
|
package/dist/types/components/modular-checkout/sub-components/justifi-plaid-payment-method.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export declare class JustifiPlaidPaymentMethod {
|
|
|
19
19
|
private timeoutId;
|
|
20
20
|
private abortController;
|
|
21
21
|
private hasLoggedDisabledWarning;
|
|
22
|
+
private hasLoggedAchPaymentsDisabledWarning;
|
|
22
23
|
paymentMethodOptionSelected: EventEmitter;
|
|
23
24
|
plaidError: EventEmitter;
|
|
24
25
|
plaidErrorRecovered: EventEmitter;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { ComponentErrorEvent } from '../../api/ComponentEvents';
|
|
3
|
+
import JustifiAnalytics from '../../api/Analytics';
|
|
4
|
+
type TerminalState = 'loading' | 'ready' | 'payment-failed' | 'completed' | 'expired' | 'error';
|
|
5
|
+
export declare class JustifiQrTerminal {
|
|
6
|
+
authToken: string;
|
|
7
|
+
checkoutId: string;
|
|
8
|
+
pollIntervalMs: number;
|
|
9
|
+
pollTimeoutMs: number;
|
|
10
|
+
terminalState: TerminalState;
|
|
11
|
+
paymentStatus: string;
|
|
12
|
+
errorMessage: string;
|
|
13
|
+
checkoutCompleted: EventEmitter<{
|
|
14
|
+
checkoutId: string;
|
|
15
|
+
paymentStatus: string;
|
|
16
|
+
}>;
|
|
17
|
+
checkoutExpired: EventEmitter<{
|
|
18
|
+
checkoutId: string;
|
|
19
|
+
}>;
|
|
20
|
+
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
21
|
+
analytics: JustifiAnalytics;
|
|
22
|
+
private pollIntervalHandle;
|
|
23
|
+
private pollTimeoutHandle;
|
|
24
|
+
private failedDismissHandle;
|
|
25
|
+
private seenCompletionCreatedAts;
|
|
26
|
+
private inFlight;
|
|
27
|
+
private getCheckout;
|
|
28
|
+
componentWillLoad(): void;
|
|
29
|
+
disconnectedCallback(): void;
|
|
30
|
+
propChanged(): void;
|
|
31
|
+
suppressInnerErrors(event: CustomEvent): void;
|
|
32
|
+
private get effectivePollInterval();
|
|
33
|
+
private initialize;
|
|
34
|
+
private handleInitialLoad;
|
|
35
|
+
private startPolling;
|
|
36
|
+
private tick;
|
|
37
|
+
private handlePollResult;
|
|
38
|
+
private resolvePaymentStatus;
|
|
39
|
+
private stopAll;
|
|
40
|
+
render(): any;
|
|
41
|
+
}
|
|
42
|
+
export {};
|
|
@@ -556,10 +556,6 @@ export namespace Components {
|
|
|
556
556
|
* @default "merchant.com.staging-justifi.checkout-dev"
|
|
557
557
|
*/
|
|
558
558
|
"merchantIdentifier": string;
|
|
559
|
-
/**
|
|
560
|
-
* @default true
|
|
561
|
-
*/
|
|
562
|
-
"showSkeleton": boolean;
|
|
563
559
|
/**
|
|
564
560
|
* @default "100%"
|
|
565
561
|
*/
|
|
@@ -653,6 +649,10 @@ export namespace Components {
|
|
|
653
649
|
*/
|
|
654
650
|
"disablePaymentMethodGroup"?: boolean;
|
|
655
651
|
"fillBillingForm": (fields: BillingFormFields) => Promise<void>;
|
|
652
|
+
/**
|
|
653
|
+
* Passed to `justifi-google-pay` as `environment`. Omit to let the child use its default.
|
|
654
|
+
*/
|
|
655
|
+
"googlePayEnv"?: 'TEST' | 'PRODUCTION';
|
|
656
656
|
/**
|
|
657
657
|
* @default false
|
|
658
658
|
*/
|
|
@@ -664,6 +664,13 @@ export namespace Components {
|
|
|
664
664
|
"preCompleteHook"?: Hook<CheckoutState>;
|
|
665
665
|
"validate": () => Promise<{ isValid: boolean; }>;
|
|
666
666
|
}
|
|
667
|
+
interface JustifiCheckoutQrCode {
|
|
668
|
+
"checkoutId": string;
|
|
669
|
+
/**
|
|
670
|
+
* @default 256
|
|
671
|
+
*/
|
|
672
|
+
"size": number;
|
|
673
|
+
}
|
|
667
674
|
interface JustifiCheckoutSummary {
|
|
668
675
|
}
|
|
669
676
|
interface JustifiCheckoutsList {
|
|
@@ -706,9 +713,9 @@ export namespace Components {
|
|
|
706
713
|
}
|
|
707
714
|
interface JustifiGooglePay {
|
|
708
715
|
/**
|
|
709
|
-
*
|
|
716
|
+
* If not provided, the environment will be determined by the account mode: 'test' or 'live'.
|
|
710
717
|
*/
|
|
711
|
-
"environment"
|
|
718
|
+
"environment"?: "TEST" | "PRODUCTION";
|
|
712
719
|
/**
|
|
713
720
|
* @default "JustiFi Checkout"
|
|
714
721
|
*/
|
|
@@ -831,6 +838,18 @@ export namespace Components {
|
|
|
831
838
|
"retry": () => Promise<void>;
|
|
832
839
|
"setSelected": (selected: boolean) => Promise<void>;
|
|
833
840
|
}
|
|
841
|
+
interface JustifiQrTerminal {
|
|
842
|
+
"authToken": string;
|
|
843
|
+
"checkoutId": string;
|
|
844
|
+
/**
|
|
845
|
+
* @default 3000
|
|
846
|
+
*/
|
|
847
|
+
"pollIntervalMs": number;
|
|
848
|
+
/**
|
|
849
|
+
* @default 600000
|
|
850
|
+
*/
|
|
851
|
+
"pollTimeoutMs": number;
|
|
852
|
+
}
|
|
834
853
|
interface JustifiRadioListItem {
|
|
835
854
|
/**
|
|
836
855
|
* @default false
|
|
@@ -1203,6 +1222,10 @@ export interface JustifiCheckoutCustomEvent<T> extends CustomEvent<T> {
|
|
|
1203
1222
|
detail: T;
|
|
1204
1223
|
target: HTMLJustifiCheckoutElement;
|
|
1205
1224
|
}
|
|
1225
|
+
export interface JustifiCheckoutQrCodeCustomEvent<T> extends CustomEvent<T> {
|
|
1226
|
+
detail: T;
|
|
1227
|
+
target: HTMLJustifiCheckoutQrCodeElement;
|
|
1228
|
+
}
|
|
1206
1229
|
export interface JustifiCheckoutsListCustomEvent<T> extends CustomEvent<T> {
|
|
1207
1230
|
detail: T;
|
|
1208
1231
|
target: HTMLJustifiCheckoutsListElement;
|
|
@@ -1259,6 +1282,10 @@ export interface JustifiPlaidPaymentMethodCustomEvent<T> extends CustomEvent<T>
|
|
|
1259
1282
|
detail: T;
|
|
1260
1283
|
target: HTMLJustifiPlaidPaymentMethodElement;
|
|
1261
1284
|
}
|
|
1285
|
+
export interface JustifiQrTerminalCustomEvent<T> extends CustomEvent<T> {
|
|
1286
|
+
detail: T;
|
|
1287
|
+
target: HTMLJustifiQrTerminalElement;
|
|
1288
|
+
}
|
|
1262
1289
|
export interface JustifiRadioListItemCustomEvent<T> extends CustomEvent<T> {
|
|
1263
1290
|
detail: T;
|
|
1264
1291
|
target: HTMLJustifiRadioListItemElement;
|
|
@@ -2053,6 +2080,23 @@ declare global {
|
|
|
2053
2080
|
prototype: HTMLJustifiCheckoutElement;
|
|
2054
2081
|
new (): HTMLJustifiCheckoutElement;
|
|
2055
2082
|
};
|
|
2083
|
+
interface HTMLJustifiCheckoutQrCodeElementEventMap {
|
|
2084
|
+
"error-event": ComponentErrorEvent;
|
|
2085
|
+
}
|
|
2086
|
+
interface HTMLJustifiCheckoutQrCodeElement extends Components.JustifiCheckoutQrCode, HTMLStencilElement {
|
|
2087
|
+
addEventListener<K extends keyof HTMLJustifiCheckoutQrCodeElementEventMap>(type: K, listener: (this: HTMLJustifiCheckoutQrCodeElement, ev: JustifiCheckoutQrCodeCustomEvent<HTMLJustifiCheckoutQrCodeElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2088
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2089
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2090
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2091
|
+
removeEventListener<K extends keyof HTMLJustifiCheckoutQrCodeElementEventMap>(type: K, listener: (this: HTMLJustifiCheckoutQrCodeElement, ev: JustifiCheckoutQrCodeCustomEvent<HTMLJustifiCheckoutQrCodeElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2092
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2093
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2094
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2095
|
+
}
|
|
2096
|
+
var HTMLJustifiCheckoutQrCodeElement: {
|
|
2097
|
+
prototype: HTMLJustifiCheckoutQrCodeElement;
|
|
2098
|
+
new (): HTMLJustifiCheckoutQrCodeElement;
|
|
2099
|
+
};
|
|
2056
2100
|
interface HTMLJustifiCheckoutSummaryElement extends Components.JustifiCheckoutSummary, HTMLStencilElement {
|
|
2057
2101
|
}
|
|
2058
2102
|
var HTMLJustifiCheckoutSummaryElement: {
|
|
@@ -2355,6 +2399,25 @@ declare global {
|
|
|
2355
2399
|
prototype: HTMLJustifiPlaidPaymentMethodElement;
|
|
2356
2400
|
new (): HTMLJustifiPlaidPaymentMethodElement;
|
|
2357
2401
|
};
|
|
2402
|
+
interface HTMLJustifiQrTerminalElementEventMap {
|
|
2403
|
+
"checkout-completed": { checkoutId: string; paymentStatus: string };
|
|
2404
|
+
"checkout-expired": { checkoutId: string };
|
|
2405
|
+
"error-event": ComponentErrorEvent;
|
|
2406
|
+
}
|
|
2407
|
+
interface HTMLJustifiQrTerminalElement extends Components.JustifiQrTerminal, HTMLStencilElement {
|
|
2408
|
+
addEventListener<K extends keyof HTMLJustifiQrTerminalElementEventMap>(type: K, listener: (this: HTMLJustifiQrTerminalElement, ev: JustifiQrTerminalCustomEvent<HTMLJustifiQrTerminalElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2409
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2410
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2411
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2412
|
+
removeEventListener<K extends keyof HTMLJustifiQrTerminalElementEventMap>(type: K, listener: (this: HTMLJustifiQrTerminalElement, ev: JustifiQrTerminalCustomEvent<HTMLJustifiQrTerminalElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2413
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2414
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2415
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2416
|
+
}
|
|
2417
|
+
var HTMLJustifiQrTerminalElement: {
|
|
2418
|
+
prototype: HTMLJustifiQrTerminalElement;
|
|
2419
|
+
new (): HTMLJustifiQrTerminalElement;
|
|
2420
|
+
};
|
|
2358
2421
|
interface HTMLJustifiRadioListItemElementEventMap {
|
|
2359
2422
|
"radio-click": string;
|
|
2360
2423
|
}
|
|
@@ -2788,6 +2851,7 @@ declare global {
|
|
|
2788
2851
|
"justifi-card-billing-form-simple": HTMLJustifiCardBillingFormSimpleElement;
|
|
2789
2852
|
"justifi-card-form": HTMLJustifiCardFormElement;
|
|
2790
2853
|
"justifi-checkout": HTMLJustifiCheckoutElement;
|
|
2854
|
+
"justifi-checkout-qr-code": HTMLJustifiCheckoutQrCodeElement;
|
|
2791
2855
|
"justifi-checkout-summary": HTMLJustifiCheckoutSummaryElement;
|
|
2792
2856
|
"justifi-checkouts-list": HTMLJustifiCheckoutsListElement;
|
|
2793
2857
|
"justifi-checkouts-list-filters": HTMLJustifiCheckoutsListFiltersElement;
|
|
@@ -2809,6 +2873,7 @@ declare global {
|
|
|
2809
2873
|
"justifi-payouts-list": HTMLJustifiPayoutsListElement;
|
|
2810
2874
|
"justifi-payouts-list-filters": HTMLJustifiPayoutsListFiltersElement;
|
|
2811
2875
|
"justifi-plaid-payment-method": HTMLJustifiPlaidPaymentMethodElement;
|
|
2876
|
+
"justifi-qr-terminal": HTMLJustifiQrTerminalElement;
|
|
2812
2877
|
"justifi-radio-list-item": HTMLJustifiRadioListItemElement;
|
|
2813
2878
|
"justifi-refund-payment": HTMLJustifiRefundPaymentElement;
|
|
2814
2879
|
"justifi-save-new-payment-method": HTMLJustifiSaveNewPaymentMethodElement;
|
|
@@ -3388,10 +3453,6 @@ declare namespace LocalJSX {
|
|
|
3388
3453
|
}>) => void;
|
|
3389
3454
|
"onApplePayError"?: (event: JustifiApplePayCustomEvent<{ error: string, code: string }>) => void;
|
|
3390
3455
|
"onApplePayStarted"?: (event: JustifiApplePayCustomEvent<void>) => void;
|
|
3391
|
-
/**
|
|
3392
|
-
* @default true
|
|
3393
|
-
*/
|
|
3394
|
-
"showSkeleton"?: boolean;
|
|
3395
3456
|
/**
|
|
3396
3457
|
* @default "100%"
|
|
3397
3458
|
*/
|
|
@@ -3476,6 +3537,10 @@ declare namespace LocalJSX {
|
|
|
3476
3537
|
* @default false
|
|
3477
3538
|
*/
|
|
3478
3539
|
"disablePaymentMethodGroup"?: boolean;
|
|
3540
|
+
/**
|
|
3541
|
+
* Passed to `justifi-google-pay` as `environment`. Omit to let the child use its default.
|
|
3542
|
+
*/
|
|
3543
|
+
"googlePayEnv"?: 'TEST' | 'PRODUCTION';
|
|
3479
3544
|
/**
|
|
3480
3545
|
* @default false
|
|
3481
3546
|
*/
|
|
@@ -3489,6 +3554,14 @@ declare namespace LocalJSX {
|
|
|
3489
3554
|
"onSubmit-event"?: (event: JustifiCheckoutCustomEvent<ComponentSubmitEvent>) => void;
|
|
3490
3555
|
"preCompleteHook"?: Hook<CheckoutState>;
|
|
3491
3556
|
}
|
|
3557
|
+
interface JustifiCheckoutQrCode {
|
|
3558
|
+
"checkoutId": string;
|
|
3559
|
+
"onError-event"?: (event: JustifiCheckoutQrCodeCustomEvent<ComponentErrorEvent>) => void;
|
|
3560
|
+
/**
|
|
3561
|
+
* @default 256
|
|
3562
|
+
*/
|
|
3563
|
+
"size"?: number;
|
|
3564
|
+
}
|
|
3492
3565
|
interface JustifiCheckoutSummary {
|
|
3493
3566
|
}
|
|
3494
3567
|
interface JustifiCheckoutsList {
|
|
@@ -3534,7 +3607,7 @@ declare namespace LocalJSX {
|
|
|
3534
3607
|
}
|
|
3535
3608
|
interface JustifiGooglePay {
|
|
3536
3609
|
/**
|
|
3537
|
-
*
|
|
3610
|
+
* If not provided, the environment will be determined by the account mode: 'test' or 'live'.
|
|
3538
3611
|
*/
|
|
3539
3612
|
"environment"?: "TEST" | "PRODUCTION";
|
|
3540
3613
|
/**
|
|
@@ -3678,6 +3751,21 @@ declare namespace LocalJSX {
|
|
|
3678
3751
|
"onPlaidError"?: (event: JustifiPlaidPaymentMethodCustomEvent<any>) => void;
|
|
3679
3752
|
"onPlaidErrorRecovered"?: (event: JustifiPlaidPaymentMethodCustomEvent<any>) => void;
|
|
3680
3753
|
}
|
|
3754
|
+
interface JustifiQrTerminal {
|
|
3755
|
+
"authToken": string;
|
|
3756
|
+
"checkoutId": string;
|
|
3757
|
+
"onCheckout-completed"?: (event: JustifiQrTerminalCustomEvent<{ checkoutId: string; paymentStatus: string }>) => void;
|
|
3758
|
+
"onCheckout-expired"?: (event: JustifiQrTerminalCustomEvent<{ checkoutId: string }>) => void;
|
|
3759
|
+
"onError-event"?: (event: JustifiQrTerminalCustomEvent<ComponentErrorEvent>) => void;
|
|
3760
|
+
/**
|
|
3761
|
+
* @default 3000
|
|
3762
|
+
*/
|
|
3763
|
+
"pollIntervalMs"?: number;
|
|
3764
|
+
/**
|
|
3765
|
+
* @default 600000
|
|
3766
|
+
*/
|
|
3767
|
+
"pollTimeoutMs"?: number;
|
|
3768
|
+
}
|
|
3681
3769
|
interface JustifiRadioListItem {
|
|
3682
3770
|
/**
|
|
3683
3771
|
* @default false
|
|
@@ -4012,6 +4100,7 @@ declare namespace LocalJSX {
|
|
|
4012
4100
|
"justifi-card-billing-form-simple": JustifiCardBillingFormSimple;
|
|
4013
4101
|
"justifi-card-form": JustifiCardForm;
|
|
4014
4102
|
"justifi-checkout": JustifiCheckout;
|
|
4103
|
+
"justifi-checkout-qr-code": JustifiCheckoutQrCode;
|
|
4015
4104
|
"justifi-checkout-summary": JustifiCheckoutSummary;
|
|
4016
4105
|
"justifi-checkouts-list": JustifiCheckoutsList;
|
|
4017
4106
|
"justifi-checkouts-list-filters": JustifiCheckoutsListFilters;
|
|
@@ -4033,6 +4122,7 @@ declare namespace LocalJSX {
|
|
|
4033
4122
|
"justifi-payouts-list": JustifiPayoutsList;
|
|
4034
4123
|
"justifi-payouts-list-filters": JustifiPayoutsListFilters;
|
|
4035
4124
|
"justifi-plaid-payment-method": JustifiPlaidPaymentMethod;
|
|
4125
|
+
"justifi-qr-terminal": JustifiQrTerminal;
|
|
4036
4126
|
"justifi-radio-list-item": JustifiRadioListItem;
|
|
4037
4127
|
"justifi-refund-payment": JustifiRefundPayment;
|
|
4038
4128
|
"justifi-save-new-payment-method": JustifiSaveNewPaymentMethod;
|
|
@@ -4140,6 +4230,7 @@ declare module "@stencil/core" {
|
|
|
4140
4230
|
"justifi-card-billing-form-simple": LocalJSX.JustifiCardBillingFormSimple & JSXBase.HTMLAttributes<HTMLJustifiCardBillingFormSimpleElement>;
|
|
4141
4231
|
"justifi-card-form": LocalJSX.JustifiCardForm & JSXBase.HTMLAttributes<HTMLJustifiCardFormElement>;
|
|
4142
4232
|
"justifi-checkout": LocalJSX.JustifiCheckout & JSXBase.HTMLAttributes<HTMLJustifiCheckoutElement>;
|
|
4233
|
+
"justifi-checkout-qr-code": LocalJSX.JustifiCheckoutQrCode & JSXBase.HTMLAttributes<HTMLJustifiCheckoutQrCodeElement>;
|
|
4143
4234
|
"justifi-checkout-summary": LocalJSX.JustifiCheckoutSummary & JSXBase.HTMLAttributes<HTMLJustifiCheckoutSummaryElement>;
|
|
4144
4235
|
"justifi-checkouts-list": LocalJSX.JustifiCheckoutsList & JSXBase.HTMLAttributes<HTMLJustifiCheckoutsListElement>;
|
|
4145
4236
|
"justifi-checkouts-list-filters": LocalJSX.JustifiCheckoutsListFilters & JSXBase.HTMLAttributes<HTMLJustifiCheckoutsListFiltersElement>;
|
|
@@ -4161,6 +4252,7 @@ declare module "@stencil/core" {
|
|
|
4161
4252
|
"justifi-payouts-list": LocalJSX.JustifiPayoutsList & JSXBase.HTMLAttributes<HTMLJustifiPayoutsListElement>;
|
|
4162
4253
|
"justifi-payouts-list-filters": LocalJSX.JustifiPayoutsListFilters & JSXBase.HTMLAttributes<HTMLJustifiPayoutsListFiltersElement>;
|
|
4163
4254
|
"justifi-plaid-payment-method": LocalJSX.JustifiPlaidPaymentMethod & JSXBase.HTMLAttributes<HTMLJustifiPlaidPaymentMethodElement>;
|
|
4255
|
+
"justifi-qr-terminal": LocalJSX.JustifiQrTerminal & JSXBase.HTMLAttributes<HTMLJustifiQrTerminalElement>;
|
|
4164
4256
|
"justifi-radio-list-item": LocalJSX.JustifiRadioListItem & JSXBase.HTMLAttributes<HTMLJustifiRadioListItemElement>;
|
|
4165
4257
|
"justifi-refund-payment": LocalJSX.JustifiRefundPayment & JSXBase.HTMLAttributes<HTMLJustifiRefundPaymentElement>;
|
|
4166
4258
|
"justifi-save-new-payment-method": LocalJSX.JustifiSaveNewPaymentMethod & JSXBase.HTMLAttributes<HTMLJustifiSaveNewPaymentMethodElement>;
|
|
@@ -9,6 +9,7 @@ interface IInitialState {
|
|
|
9
9
|
isWalletProcessing: boolean;
|
|
10
10
|
applePayEnabled: boolean;
|
|
11
11
|
googlePayEnabled: boolean;
|
|
12
|
+
achPaymentsEnabled: boolean;
|
|
12
13
|
insuranceEnabled: boolean;
|
|
13
14
|
bnplProviderApiVersion: string;
|
|
14
15
|
bnplProviderCheckoutUrl: string;
|
|
@@ -16,6 +17,7 @@ interface IInitialState {
|
|
|
16
17
|
bnplProviderMode: string;
|
|
17
18
|
checkoutId: string;
|
|
18
19
|
checkoutLoaded: boolean;
|
|
20
|
+
checkoutMode: 'test' | 'live' | null;
|
|
19
21
|
bankAccountVerification?: boolean;
|
|
20
22
|
disableBankAccount: boolean;
|
|
21
23
|
disableCreditCard: boolean;
|