@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
|
@@ -5,7 +5,7 @@ var index = require('./index-W-zoNiyM.js');
|
|
|
5
5
|
var parts = require('./parts-BXshb_S-.js');
|
|
6
6
|
var _commonjsHelpers = require('./_commonjsHelpers-BJu3ubxk.js');
|
|
7
7
|
var formControlErrorText = require('./form-control-error-text-BO58Y6zF.js');
|
|
8
|
-
var _package = require('./package-
|
|
8
|
+
var _package = require('./package-BKwTzSig.js');
|
|
9
9
|
|
|
10
10
|
const iframeInputStylesStore = index.createStore({
|
|
11
11
|
focused: {
|
|
@@ -78,7 +78,7 @@ const HiddenInput = class {
|
|
|
78
78
|
this.focusWithoutPageScroll(this.hiddenInput);
|
|
79
79
|
setTimeout(() => {
|
|
80
80
|
this.hiddenInput.blur();
|
|
81
|
-
|
|
81
|
+
const computedStyles = getComputedStyle(this.hiddenInput);
|
|
82
82
|
resolve({
|
|
83
83
|
boxShadow: computedStyles.boxShadow,
|
|
84
84
|
border: computedStyles.border,
|
|
@@ -114,7 +114,7 @@ const HiddenInput = class {
|
|
|
114
114
|
return parts.input;
|
|
115
115
|
}
|
|
116
116
|
render() {
|
|
117
|
-
return (index$1.h(index$1.Host, { key: '
|
|
117
|
+
return (index$1.h(index$1.Host, { key: 'c3b2f0cb5160d888b3ecbaca95285749c0b71002' }, index$1.h("input", { key: 'f6d0ad00733d086dfa09b646f7599d60f91e5f50', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
120
|
|
|
@@ -1729,10 +1729,10 @@ const IframeInput = class {
|
|
|
1729
1729
|
return params;
|
|
1730
1730
|
}
|
|
1731
1731
|
render() {
|
|
1732
|
-
return (index$1.h(index$1.Host, { key: '
|
|
1732
|
+
return (index$1.h(index$1.Host, { key: '60e76f1a33ddd4ea5b89cd31a1b6906ff53c5ddb', class: "form-group d-flex flex-column" }, index$1.h("div", { key: '5fdef33ae8deb616929478d06fddc01b97233f0a', style: {
|
|
1733
1733
|
visibility: this.iframeLoaded ? 'visible' : 'hidden',
|
|
1734
1734
|
height: this.iframeLoaded ? 'auto' : '0',
|
|
1735
|
-
} }, index$1.h("label", { key: '
|
|
1735
|
+
} }, index$1.h("label", { key: 'e37adecf5024d4c77561d3ca269f49c398fc8fd7', class: "form-label", htmlFor: "", part: parts.label }, this.label || ''), index$1.h("div", { key: '206a703cd84d713155aa754576410f495b4329fe', class: `p-0 d-flex form-control ${this.isValid ? '' : 'is-invalid'}`, part: this.part, style: Object.assign(Object.assign({}, this.style), { overflow: 'hidden' }) }, index$1.h("iframe", { key: '214ecd5b4fa9d075b91ea73b9edd09fdfa0cdf12', id: this.inputId, name: this.inputId, src: `${this.iframeOrigin}?${this.urlParams}`, ref: el => {
|
|
1736
1736
|
this.iframeElement = el;
|
|
1737
1737
|
this.initializeFrameCommunicationService();
|
|
1738
1738
|
}, width: "100%", onLoad: () => {
|
|
@@ -1742,7 +1742,7 @@ const IframeInput = class {
|
|
|
1742
1742
|
this.iframeLoaded.emit();
|
|
1743
1743
|
}
|
|
1744
1744
|
}, this.iframeElement);
|
|
1745
|
-
} })), index$1.h(formControlErrorText.FormControlErrorText, { key: '
|
|
1745
|
+
} })), index$1.h(formControlErrorText.FormControlErrorText, { key: 'bec41e86a063eacb8f1f741b446c64db540d9e4d', errorText: this.errorText, name: this.inputId }))));
|
|
1746
1746
|
}
|
|
1747
1747
|
get el() { return index$1.getElement(this); }
|
|
1748
1748
|
};
|
|
@@ -30,7 +30,7 @@ const validateInsuranceValues = () => {
|
|
|
30
30
|
};
|
|
31
31
|
// Helper function to check if a value has actually changed (not just initially set)
|
|
32
32
|
const hasInsuranceValueChanged = (key, newValue) => {
|
|
33
|
-
const hadPreviousValue =
|
|
33
|
+
const hadPreviousValue = Object.prototype.hasOwnProperty.call(previousInsuranceValues, key);
|
|
34
34
|
const previousValue = previousInsuranceValues[key];
|
|
35
35
|
if (!hadPreviousValue) {
|
|
36
36
|
// First time setting this value, track it but don't consider it a "change"
|
|
@@ -11,7 +11,7 @@ const InternalButton = class {
|
|
|
11
11
|
this.type = 'button';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (index.h(button.Button, { key: '
|
|
14
|
+
return (index.h(button.Button, { key: 'a20d0f251ab26062356b54965b3981af7953c71f', variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, class: this.class, type: this.type, disabled: this.disabled, style: this.customStyle, hidden: this.hidden }, this.text));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var Api = require('./Api-
|
|
5
|
-
var Plaid = require('./Plaid-
|
|
4
|
+
var Api = require('./Api-BioDE5he.js');
|
|
5
|
+
var Plaid = require('./Plaid-QLOFOTeC.js');
|
|
6
6
|
var styledHost = require('./styled-host-Ch0-dxF-.js');
|
|
7
7
|
require('./event-types-YOY5TKUN.js');
|
|
8
8
|
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
9
|
-
var checkout_store = require('./checkout.store-
|
|
9
|
+
var checkout_store = require('./checkout.store-CZHrIuaP.js');
|
|
10
10
|
var parts = require('./parts-BXshb_S-.js');
|
|
11
|
-
var utils = require('./utils-
|
|
11
|
+
var utils = require('./utils-D1CWnhex.js');
|
|
12
12
|
var configState = require('./config-state-BIgGhhe9.js');
|
|
13
13
|
var header1 = require('./header-1-CsBQoo1f.js');
|
|
14
|
-
var insuranceState = require('./insurance-state-
|
|
14
|
+
var insuranceState = require('./insurance-state-B-XQRmMs.js');
|
|
15
15
|
var header3 = require('./header-3-DCYJhPro.js');
|
|
16
|
-
var Analytics = require('./Analytics-
|
|
17
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
16
|
+
var Analytics = require('./Analytics-DaegoP5G.js');
|
|
17
|
+
var checkPkgVersion = require('./check-pkg-version-BNGOOokA.js');
|
|
18
18
|
require('./dinero-BwNN_k7x.js');
|
|
19
19
|
require('./Pagination-Dediz133.js');
|
|
20
20
|
require('./Business-oBifyXkW.js');
|
|
21
|
-
var
|
|
22
|
-
var checkout_service = require('./checkout.service-
|
|
23
|
-
var plaid_service = require('./plaid.service-
|
|
21
|
+
var checkoutActions = require('./checkout-actions-CjR16i7o.js');
|
|
22
|
+
var checkout_service = require('./checkout.service-Bdr5qUHj.js');
|
|
23
|
+
var plaid_service = require('./plaid.service-DpiLY-5D.js');
|
|
24
24
|
var index$1 = require('./index-CajjbB9t.js');
|
|
25
25
|
var paymentMethodOptionUtils = require('./payment-method-option-utils-WYHIHy-l.js');
|
|
26
26
|
require('./index-W-zoNiyM.js');
|
|
27
|
-
require('./package-
|
|
27
|
+
require('./package-BKwTzSig.js');
|
|
28
|
+
require('./utils-BVM6JCW0.js');
|
|
28
29
|
|
|
29
30
|
const JustifiRadioListItem = class {
|
|
30
31
|
constructor(hostRef) {
|
|
@@ -546,7 +547,6 @@ const JustifiApplePay = class {
|
|
|
546
547
|
this.buttonType = Plaid.ApplePayButtonType.PLAIN;
|
|
547
548
|
this.buttonStyle = Plaid.ApplePayButtonStyle.BLACK;
|
|
548
549
|
this.disabled = false;
|
|
549
|
-
this.showSkeleton = true;
|
|
550
550
|
this.width = "100%";
|
|
551
551
|
this.height = "48px";
|
|
552
552
|
this.isLoading = true;
|
|
@@ -744,7 +744,7 @@ const JustifiButton = class {
|
|
|
744
744
|
this.type = 'button';
|
|
745
745
|
}
|
|
746
746
|
render() {
|
|
747
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
747
|
+
return (index.h(styledHost.StyledHost, { key: '241fe8903788f0442b42bf5a6835d152d1944967' }, index.h("internal-button", { key: '7c13bd1fa53cf9faae26e521af5a40a08659fe92', text: this.text, variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, type: this.type, disabled: this.disabled, class: this.class, customStyle: this.customStyle, hidden: this.hidden })));
|
|
748
748
|
}
|
|
749
749
|
};
|
|
750
750
|
|
|
@@ -753,7 +753,7 @@ const JustifiCheckoutSummary = class {
|
|
|
753
753
|
index.registerInstance(this, hostRef);
|
|
754
754
|
}
|
|
755
755
|
render() {
|
|
756
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
756
|
+
return (index.h(styledHost.StyledHost, { key: '336fa6563952ee7905c2ed4a3330d73bbb33a0eb' }, index.h("section", { key: '48b8798a925d618f5a2c52d743190207b78eb70a' }, index.h("div", { key: '81d91167c10ccc49acb039ea54a9f97f4aa6e305' }, index.h("div", { key: '9744242f2c2c3082e9c1a3af6e716ec4cb28f1fd', part: parts.text }, checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.paymentDescription), index.h("div", { key: '438062935abd2f00495c432ef6652e3808e5215f' }, index.h("span", { key: 'e3f24d9c52ddae0206cbefe61bd08f24697fe28e', part: parts.text }, "Total"), "\u00A0", index.h("span", { key: '9835cb60de31a2c8946b7ac2dd6d1fa82f223110', part: parts.text }, utils.formatCurrency(+(checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.totalAmount))))))));
|
|
757
757
|
}
|
|
758
758
|
};
|
|
759
759
|
|
|
@@ -784,7 +784,6 @@ const JustifiGooglePay = class {
|
|
|
784
784
|
this.googlePayStarted = index.createEvent(this, "googlePayStarted", 7);
|
|
785
785
|
this.googlePayCompleted = index.createEvent(this, "googlePayCompleted", 7);
|
|
786
786
|
this.googlePayCancelled = index.createEvent(this, "googlePayCancelled", 7);
|
|
787
|
-
this.environment = "PRODUCTION";
|
|
788
787
|
this.merchantDisplayName = "JustiFi Checkout";
|
|
789
788
|
this.iframeReady = false;
|
|
790
789
|
this.sdkLoaded = false;
|
|
@@ -843,12 +842,18 @@ const JustifiGooglePay = class {
|
|
|
843
842
|
disconnectedCallback() {
|
|
844
843
|
window.removeEventListener("message", this.handleMessage);
|
|
845
844
|
}
|
|
845
|
+
googlePayEnvironment() {
|
|
846
|
+
if (this.environment !== undefined) {
|
|
847
|
+
return this.environment;
|
|
848
|
+
}
|
|
849
|
+
return checkout_store.checkoutStore.checkoutMode === "test" ? "TEST" : "PRODUCTION";
|
|
850
|
+
}
|
|
846
851
|
sendInitialize() {
|
|
847
852
|
var _a;
|
|
848
853
|
if (!((_a = this.iframeElement) === null || _a === void 0 ? void 0 : _a.contentWindow))
|
|
849
854
|
return;
|
|
850
855
|
const config = {
|
|
851
|
-
environment: this.
|
|
856
|
+
environment: this.googlePayEnvironment(),
|
|
852
857
|
gatewayMerchantId: checkout_store.checkoutStore.accountId,
|
|
853
858
|
merchantName: this.merchantDisplayName,
|
|
854
859
|
authToken: checkout_store.checkoutStore.authToken,
|
|
@@ -902,62 +907,7 @@ const JustifiHeader = class {
|
|
|
902
907
|
}
|
|
903
908
|
render() {
|
|
904
909
|
const HeaderComponent = this.levels[this.level];
|
|
905
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
906
|
-
}
|
|
907
|
-
};
|
|
908
|
-
|
|
909
|
-
const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
|
|
910
|
-
var _a;
|
|
911
|
-
try {
|
|
912
|
-
const response = await service.fetchCheckout(authToken, checkoutId);
|
|
913
|
-
if (!response.error) {
|
|
914
|
-
const checkout = response.data;
|
|
915
|
-
onSuccess({ checkout });
|
|
916
|
-
}
|
|
917
|
-
else {
|
|
918
|
-
const responseError = utils$1.getErrorMessage(response.error);
|
|
919
|
-
const code = utils$1.getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
|
|
920
|
-
return onError({
|
|
921
|
-
error: responseError,
|
|
922
|
-
code,
|
|
923
|
-
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
924
|
-
});
|
|
925
|
-
}
|
|
926
|
-
}
|
|
927
|
-
catch (error) {
|
|
928
|
-
const code = utils$1.getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
929
|
-
return onError({
|
|
930
|
-
error: error.message || error,
|
|
931
|
-
code,
|
|
932
|
-
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
933
|
-
});
|
|
934
|
-
}
|
|
935
|
-
};
|
|
936
|
-
const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ payment, onSuccess, onError }) => {
|
|
937
|
-
var _a;
|
|
938
|
-
try {
|
|
939
|
-
const response = await service.complete(authToken, checkoutId, payment);
|
|
940
|
-
if (!response.error) {
|
|
941
|
-
const checkout = response.data;
|
|
942
|
-
onSuccess({ checkout });
|
|
943
|
-
}
|
|
944
|
-
else {
|
|
945
|
-
const responseError = utils$1.getErrorMessage(response.error);
|
|
946
|
-
const code = utils$1.getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
|
|
947
|
-
return onError({
|
|
948
|
-
error: responseError,
|
|
949
|
-
code,
|
|
950
|
-
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
951
|
-
});
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
catch (error) {
|
|
955
|
-
const code = utils$1.getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
956
|
-
return onError({
|
|
957
|
-
error: error.message || error,
|
|
958
|
-
code,
|
|
959
|
-
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
960
|
-
});
|
|
910
|
+
return (index.h(styledHost.StyledHost, { key: '5a0872ee486bdba3ba1c86145946889bb7d151f2' }, index.h(HeaderComponent, { key: '89807e249cdf64f7ef80800276cb50966083f28e', text: this.text, class: this.class })));
|
|
961
911
|
}
|
|
962
912
|
};
|
|
963
913
|
|
|
@@ -1047,8 +997,8 @@ const JustifiModularCheckout = class {
|
|
|
1047
997
|
checkoutId: this.checkoutId,
|
|
1048
998
|
service: new checkout_service.CheckoutService(),
|
|
1049
999
|
};
|
|
1050
|
-
this.getCheckout = makeGetCheckout(config);
|
|
1051
|
-
this.completeCheckout = makeCheckoutComplete(config);
|
|
1000
|
+
this.getCheckout = checkoutActions.makeGetCheckout(config);
|
|
1001
|
+
this.completeCheckout = checkoutActions.makeCheckoutComplete(config);
|
|
1052
1002
|
// Emit checkout-changed whenever any store key changes
|
|
1053
1003
|
checkout_store.onAnyChange(() => {
|
|
1054
1004
|
this.emitCheckoutChanged();
|
|
@@ -1119,24 +1069,30 @@ const JustifiModularCheckout = class {
|
|
|
1119
1069
|
}
|
|
1120
1070
|
}
|
|
1121
1071
|
updateStore(checkout) {
|
|
1122
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
1072
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1123
1073
|
checkout_store.checkoutStore.accountId = checkout.account_id;
|
|
1124
1074
|
checkout_store.checkoutStore.checkoutLoaded = true;
|
|
1125
|
-
|
|
1075
|
+
const rawMode = checkout.mode != null ? String(checkout.mode).toLowerCase() : '';
|
|
1076
|
+
checkout_store.checkoutStore.checkoutMode =
|
|
1077
|
+
rawMode === 'test' ? 'test' : rawMode === 'live' ? 'live' : null;
|
|
1078
|
+
const mappedPaymentMethods = checkout.payment_methods.map((paymentMethod) => new index$1.PaymentMethod(paymentMethod));
|
|
1079
|
+
const achEnabled = Boolean((_a = checkout.payment_settings) === null || _a === void 0 ? void 0 : _a.ach_payments);
|
|
1080
|
+
checkout_store.checkoutStore.paymentMethods = mappedPaymentMethods.filter((pm) => pm.type !== index$1.PAYMENT_METHODS.SAVED_BANK_ACCOUNT || achEnabled);
|
|
1126
1081
|
checkout_store.checkoutStore.paymentMethodGroupId = checkout.payment_method_group_id;
|
|
1127
1082
|
checkout_store.checkoutStore.paymentDescription = checkout.payment_description;
|
|
1128
1083
|
checkout_store.checkoutStore.totalAmount = checkout.total_amount;
|
|
1129
1084
|
checkout_store.checkoutStore.paymentAmount = checkout.payment_amount;
|
|
1130
1085
|
checkout_store.checkoutStore.bnplEnabled = checkout.payment_settings.bnpl_payments;
|
|
1131
1086
|
checkout_store.checkoutStore.insuranceEnabled = checkout.payment_settings.insurance_payments;
|
|
1132
|
-
checkout_store.checkoutStore.bankAccountVerification = (
|
|
1133
|
-
checkout_store.checkoutStore.applePayEnabled = (
|
|
1134
|
-
checkout_store.checkoutStore.googlePayEnabled = (
|
|
1135
|
-
checkout_store.checkoutStore.
|
|
1136
|
-
checkout_store.checkoutStore.
|
|
1137
|
-
checkout_store.checkoutStore.
|
|
1087
|
+
checkout_store.checkoutStore.bankAccountVerification = (_b = checkout.payment_settings) === null || _b === void 0 ? void 0 : _b.bank_account_verification;
|
|
1088
|
+
checkout_store.checkoutStore.applePayEnabled = (_c = checkout.payment_settings) === null || _c === void 0 ? void 0 : _c.apple_payments;
|
|
1089
|
+
checkout_store.checkoutStore.googlePayEnabled = (_d = checkout.payment_settings) === null || _d === void 0 ? void 0 : _d.google_payments;
|
|
1090
|
+
checkout_store.checkoutStore.achPaymentsEnabled = achEnabled;
|
|
1091
|
+
checkout_store.checkoutStore.bnplProviderClientId = (_e = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _e === void 0 ? void 0 : _e.provider_client_id;
|
|
1092
|
+
checkout_store.checkoutStore.bnplProviderMode = (_f = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _f === void 0 ? void 0 : _f.provider_mode;
|
|
1093
|
+
checkout_store.checkoutStore.bnplProviderApiVersion = (_g = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _g === void 0 ? void 0 : _g.provider_api_version;
|
|
1138
1094
|
checkout_store.checkoutStore.bnplProviderCheckoutUrl =
|
|
1139
|
-
(
|
|
1095
|
+
(_h = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _h === void 0 ? void 0 : _h.provider_checkout_url;
|
|
1140
1096
|
}
|
|
1141
1097
|
emitCheckoutChanged() {
|
|
1142
1098
|
const detail = {
|
|
@@ -1157,7 +1113,8 @@ const JustifiModularCheckout = class {
|
|
|
1157
1113
|
if (tag === 'justifi-card-form') {
|
|
1158
1114
|
checkout_store.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.NEW_CARD };
|
|
1159
1115
|
}
|
|
1160
|
-
else if (tag === 'justifi-bank-account-form'
|
|
1116
|
+
else if (tag === 'justifi-bank-account-form' &&
|
|
1117
|
+
(!checkout_store.checkoutStore.checkoutLoaded || checkout_store.checkoutStore.achPaymentsEnabled)) {
|
|
1161
1118
|
checkout_store.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT };
|
|
1162
1119
|
}
|
|
1163
1120
|
}
|
|
@@ -1347,7 +1304,6 @@ const JustifiModularCheckout = class {
|
|
|
1347
1304
|
});
|
|
1348
1305
|
return;
|
|
1349
1306
|
}
|
|
1350
|
-
let payment;
|
|
1351
1307
|
const mapTypeToPaymentMode = (type) => {
|
|
1352
1308
|
switch (type) {
|
|
1353
1309
|
case index$1.PAYMENT_METHODS.NEW_CARD:
|
|
@@ -1366,7 +1322,7 @@ const JustifiModularCheckout = class {
|
|
|
1366
1322
|
return undefined;
|
|
1367
1323
|
}
|
|
1368
1324
|
};
|
|
1369
|
-
payment = {
|
|
1325
|
+
const payment = {
|
|
1370
1326
|
payment_mode: mapTypeToPaymentMode((_e = checkout_store.checkoutStore.selectedPaymentMethod) === null || _e === void 0 ? void 0 : _e.type),
|
|
1371
1327
|
payment_token: checkout_store.checkoutStore.paymentToken,
|
|
1372
1328
|
};
|
|
@@ -1403,7 +1359,7 @@ const JustifiModularCheckout = class {
|
|
|
1403
1359
|
});
|
|
1404
1360
|
}
|
|
1405
1361
|
render() {
|
|
1406
|
-
return index.h(index.Host, { key: '
|
|
1362
|
+
return index.h(index.Host, { key: '545e1cb07252ba0dc78fa980bd17ee5572559f6c' });
|
|
1407
1363
|
}
|
|
1408
1364
|
get hostEl() { return index.getElement(this); }
|
|
1409
1365
|
};
|
|
@@ -1432,6 +1388,7 @@ const JustifiPlaidPaymentMethod = class {
|
|
|
1432
1388
|
this.timeoutId = null;
|
|
1433
1389
|
this.abortController = null;
|
|
1434
1390
|
this.hasLoggedDisabledWarning = false;
|
|
1391
|
+
this.hasLoggedAchPaymentsDisabledWarning = false;
|
|
1435
1392
|
this.waitForStoreAndInitialize = () => {
|
|
1436
1393
|
// Check if store has necessary data
|
|
1437
1394
|
if (checkout_store.checkoutStore.authToken && checkout_store.checkoutStore.accountId && checkout_store.checkoutStore.checkoutId) {
|
|
@@ -1778,11 +1735,15 @@ const JustifiPlaidPaymentMethod = class {
|
|
|
1778
1735
|
if (checkout_store.checkoutStore.bankAccountVerification !== true)
|
|
1779
1736
|
return;
|
|
1780
1737
|
if (checkout_store.checkoutStore.checkoutLoaded) {
|
|
1781
|
-
|
|
1738
|
+
if (checkout_store.checkoutStore.achPaymentsEnabled) {
|
|
1739
|
+
this.loadPlaidSDK();
|
|
1740
|
+
}
|
|
1782
1741
|
}
|
|
1783
1742
|
else {
|
|
1784
1743
|
checkout_store.onChange('checkoutLoaded', (loaded) => {
|
|
1785
|
-
if (loaded &&
|
|
1744
|
+
if (loaded &&
|
|
1745
|
+
checkout_store.checkoutStore.bankAccountVerification === true &&
|
|
1746
|
+
checkout_store.checkoutStore.achPaymentsEnabled) {
|
|
1786
1747
|
this.loadPlaidSDK();
|
|
1787
1748
|
}
|
|
1788
1749
|
});
|
|
@@ -1911,6 +1872,13 @@ const JustifiPlaidPaymentMethod = class {
|
|
|
1911
1872
|
}
|
|
1912
1873
|
}
|
|
1913
1874
|
render() {
|
|
1875
|
+
if (checkout_store.checkoutStore.checkoutLoaded && !checkout_store.checkoutStore.achPaymentsEnabled) {
|
|
1876
|
+
if (!this.hasLoggedAchPaymentsDisabledWarning) {
|
|
1877
|
+
console.warn('[JustifiPlaidPaymentMethod] ACH payments are disabled for this checkout. Component will not render.');
|
|
1878
|
+
this.hasLoggedAchPaymentsDisabledWarning = true;
|
|
1879
|
+
}
|
|
1880
|
+
return null;
|
|
1881
|
+
}
|
|
1914
1882
|
// Only allow use if enabled in checkout settings
|
|
1915
1883
|
if (checkout_store.checkoutStore.bankAccountVerification !== true) {
|
|
1916
1884
|
if (!this.hasLoggedDisabledWarning) {
|
|
@@ -2202,7 +2170,8 @@ const JustifiTokenizePaymentMethod = class {
|
|
|
2202
2170
|
this.selectedPaymentMethod = index$1.PAYMENT_METHODS.NEW_CARD;
|
|
2203
2171
|
checkout_store.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.NEW_CARD };
|
|
2204
2172
|
}
|
|
2205
|
-
else if (!this.disableBankAccount
|
|
2173
|
+
else if (!this.disableBankAccount &&
|
|
2174
|
+
(!checkout_store.checkoutStore.checkoutLoaded || checkout_store.checkoutStore.achPaymentsEnabled)) {
|
|
2206
2175
|
this.selectedPaymentMethod = index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT;
|
|
2207
2176
|
checkout_store.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT };
|
|
2208
2177
|
}
|
|
@@ -2230,10 +2199,11 @@ const JustifiTokenizePaymentMethod = class {
|
|
|
2230
2199
|
}
|
|
2231
2200
|
get availablePaymentMethods() {
|
|
2232
2201
|
const methods = [];
|
|
2202
|
+
const achAllowedForCheckout = !checkout_store.checkoutStore.checkoutLoaded || checkout_store.checkoutStore.achPaymentsEnabled;
|
|
2233
2203
|
if (!this.disableCreditCard) {
|
|
2234
2204
|
methods.push(index$1.PAYMENT_METHODS.NEW_CARD);
|
|
2235
2205
|
}
|
|
2236
|
-
if (!this.disableBankAccount) {
|
|
2206
|
+
if (!this.disableBankAccount && achAllowedForCheckout) {
|
|
2237
2207
|
methods.push(index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT);
|
|
2238
2208
|
}
|
|
2239
2209
|
return methods;
|
|
@@ -2323,7 +2293,7 @@ const JustifiTokenizePaymentMethod = class {
|
|
|
2323
2293
|
} }));
|
|
2324
2294
|
}
|
|
2325
2295
|
render() {
|
|
2326
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
2296
|
+
return (index.h(styledHost.StyledHost, { key: 'bc76697688be332ef84db56e61b6b455a6d1e986' }, index.h("form", { key: '8f64f55f945d4ff4ed0f144c724dbd71278ec771' }, index.h("fieldset", { key: '15b6d388117738391089cf91f999247cddb29714' }, index.h("div", { key: 'a4e23f7808b446dff6f7da437dba3cb57d2d62aa', class: "row gy-3" }, index.h("div", { key: '63b0584d217d9bb50036eb7d5837e7287be58760', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), index.h("div", { key: 'c9345be3429cd8ab01a84e8584270938feceba39', class: "col-12" }, index.h("internal-button", { key: 'aa56df7b6b1250e9b81fbc281b969d2a37a05428', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
|
|
2327
2297
|
}
|
|
2328
2298
|
get host() { return index.getElement(this); }
|
|
2329
2299
|
static get watchers() { return {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var Analytics = require('./Analytics-
|
|
5
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
4
|
+
var Analytics = require('./Analytics-DaegoP5G.js');
|
|
5
|
+
var checkPkgVersion = require('./check-pkg-version-BNGOOokA.js');
|
|
6
6
|
var configState = require('./config-state-BIgGhhe9.js');
|
|
7
7
|
var styledHost = require('./styled-host-Ch0-dxF-.js');
|
|
8
8
|
require('./event-types-YOY5TKUN.js');
|
|
9
|
-
require('./package-
|
|
10
|
-
require('./Api-
|
|
11
|
-
require('./utils-
|
|
9
|
+
require('./package-BKwTzSig.js');
|
|
10
|
+
require('./Api-BioDE5he.js');
|
|
11
|
+
require('./utils-D1CWnhex.js');
|
|
12
12
|
require('./dinero-BwNN_k7x.js');
|
|
13
|
-
require('./Plaid-
|
|
13
|
+
require('./Plaid-QLOFOTeC.js');
|
|
14
14
|
require('./Pagination-Dediz133.js');
|
|
15
15
|
require('./Business-oBifyXkW.js');
|
|
16
16
|
require('./index-W-zoNiyM.js');
|
|
@@ -37,7 +37,7 @@ const JustifiBankAccountBillingFormSimple = class {
|
|
|
37
37
|
return (_b = (_a = this.bankAccountBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
40
|
+
return (index.h(styledHost.StyledHost, { key: '669227ed02e4f0791882b95ed814ea1865db80de' }, index.h("bank-account-billing-form-simple", { key: '97cbe9637d8969023b1f7d3a6b3091a246112032', legend: this.legend, ref: (el) => (this.bankAccountBillingFormSimpleRef = el) })));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
5
|
-
var Analytics = require('./Analytics-
|
|
4
|
+
var checkPkgVersion = require('./check-pkg-version-BNGOOokA.js');
|
|
5
|
+
var Analytics = require('./Analytics-DaegoP5G.js');
|
|
6
6
|
var configState = require('./config-state-BIgGhhe9.js');
|
|
7
7
|
var styledHost = require('./styled-host-Ch0-dxF-.js');
|
|
8
8
|
require('./event-types-YOY5TKUN.js');
|
|
9
|
-
require('./package-
|
|
10
|
-
require('./Api-
|
|
11
|
-
require('./utils-
|
|
9
|
+
require('./package-BKwTzSig.js');
|
|
10
|
+
require('./Api-BioDE5he.js');
|
|
11
|
+
require('./utils-D1CWnhex.js');
|
|
12
12
|
require('./dinero-BwNN_k7x.js');
|
|
13
|
-
require('./Plaid-
|
|
13
|
+
require('./Plaid-QLOFOTeC.js');
|
|
14
14
|
require('./Pagination-Dediz133.js');
|
|
15
15
|
require('./Business-oBifyXkW.js');
|
|
16
16
|
require('./index-W-zoNiyM.js');
|
|
@@ -29,13 +29,23 @@ const JustifiBankAccountForm = class {
|
|
|
29
29
|
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
30
30
|
}
|
|
31
31
|
async validate() {
|
|
32
|
+
if (!this.bankAccountFormElement) {
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
32
35
|
return this.bankAccountFormElement.validate();
|
|
33
36
|
}
|
|
34
37
|
async tokenize({ clientId, paymentMethodMetadata, account }) {
|
|
38
|
+
if (!this.bankAccountFormElement) {
|
|
39
|
+
return {
|
|
40
|
+
error: {
|
|
41
|
+
message: 'Bank account form is not available.',
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
}
|
|
35
45
|
return this.bankAccountFormElement.tokenize({ clientId, paymentMethodMetadata, account });
|
|
36
46
|
}
|
|
37
47
|
render() {
|
|
38
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
48
|
+
return (index.h(styledHost.StyledHost, { key: '3c8a48f6060f14433ae94399fc48097cb138e301' }, index.h("bank-account-form", { key: '30cd40b60629f5c7f874194dd7641ee3737e8b69', ref: (el) => (this.bankAccountFormElement = el) })));
|
|
39
49
|
}
|
|
40
50
|
};
|
|
41
51
|
|
|
@@ -17,7 +17,7 @@ const JustifiBillingFormFull = class {
|
|
|
17
17
|
return (_b = (_a = this.billingFormFullRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
20
|
+
return (index.h(styledHost.StyledHost, { key: 'be25329cda69d5b2c00a84d5abc8ec8a7c5c643d' }, index.h("billing-form-full", { key: 'c2437172bfbc1c52eb2a86efbef978747e76b4b7', legend: this.legend, ref: (el) => (this.billingFormFullRef = el) })));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -17,7 +17,7 @@ const JustifiBillingForm = class {
|
|
|
17
17
|
return (_b = (_a = this.billingFormRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
20
|
+
return (index.h(styledHost.StyledHost, { key: '40a8a4342204d1679c9b37fb775184131c68248b' }, index.h("billing-form", { key: '65156fc636a2196aa2d189ce5c4d66f755deb3f6', legend: this.legend, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: this.paymentMethodType, ref: (el) => (this.billingFormRef = el) })));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
4
|
var utils = require('./utils-8RGQVADu.js');
|
|
5
|
-
var business_service = require('./business.service-
|
|
6
|
-
var getBusiness = require('./get-business-
|
|
7
|
-
var Plaid = require('./Plaid-
|
|
8
|
-
var Analytics = require('./Analytics-
|
|
9
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
5
|
+
var business_service = require('./business.service-DOGeb2O6.js');
|
|
6
|
+
var getBusiness = require('./get-business-CrxvWZh6.js');
|
|
7
|
+
var Plaid = require('./Plaid-QLOFOTeC.js');
|
|
8
|
+
var Analytics = require('./Analytics-DaegoP5G.js');
|
|
9
|
+
var checkPkgVersion = require('./check-pkg-version-BNGOOokA.js');
|
|
10
10
|
var styledHost = require('./styled-host-Ch0-dxF-.js');
|
|
11
11
|
require('./event-types-YOY5TKUN.js');
|
|
12
12
|
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
13
13
|
require('./parts-BXshb_S-.js');
|
|
14
|
-
require('./Api-
|
|
14
|
+
require('./Api-BioDE5he.js');
|
|
15
15
|
require('./config-state-BIgGhhe9.js');
|
|
16
16
|
require('./index-W-zoNiyM.js');
|
|
17
|
-
require('./utils-
|
|
17
|
+
require('./utils-D1CWnhex.js');
|
|
18
18
|
require('./dinero-BwNN_k7x.js');
|
|
19
19
|
require('./Pagination-Dediz133.js');
|
|
20
20
|
require('./Business-oBifyXkW.js');
|
|
21
|
-
require('./utils-
|
|
22
|
-
require('./package-
|
|
21
|
+
require('./utils-BVM6JCW0.js');
|
|
22
|
+
require('./package-BKwTzSig.js');
|
|
23
23
|
|
|
24
24
|
const BusinessDetailsLoading = () => {
|
|
25
25
|
const Block = () => (index.h("div", { class: "mt-5" }, index.h(skeleton.Skeleton, { width: "40%", height: "1.5rem" }), index.h("hr", null), index.h("div", { class: "row g-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null)), index.h("div", { class: "col-12 col-md-6" }, index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null)))));
|
|
@@ -2,32 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
4
|
var index_esm = require('./index.esm-BNETBIV_.js');
|
|
5
|
-
var businessIdentitySchema = require('./business-identity-schema-
|
|
5
|
+
var businessIdentitySchema = require('./business-identity-schema-BA385xf-.js');
|
|
6
6
|
require('./config-state-BIgGhhe9.js');
|
|
7
7
|
require('./dinero-BwNN_k7x.js');
|
|
8
|
-
var Plaid = require('./Plaid-
|
|
8
|
+
var Plaid = require('./Plaid-QLOFOTeC.js');
|
|
9
9
|
require('./Pagination-Dediz133.js');
|
|
10
10
|
var Business = require('./Business-oBifyXkW.js');
|
|
11
|
-
var Analytics = require('./Analytics-
|
|
11
|
+
var Analytics = require('./Analytics-DaegoP5G.js');
|
|
12
12
|
var button = require('./button-CR9Rl1-o.js');
|
|
13
13
|
var styledHost = require('./styled-host-Ch0-dxF-.js');
|
|
14
14
|
var header1 = require('./header-1-CsBQoo1f.js');
|
|
15
15
|
require('./event-types-YOY5TKUN.js');
|
|
16
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
16
|
+
var checkPkgVersion = require('./check-pkg-version-BNGOOokA.js');
|
|
17
17
|
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
18
18
|
var eventTypes = require('./event-types-DNOUef41.js');
|
|
19
|
-
var paymentProvisioningActions = require('./payment-provisioning-actions-
|
|
20
|
-
var business_service = require('./business.service-
|
|
19
|
+
var paymentProvisioningActions = require('./payment-provisioning-actions-B4x7lnyF.js');
|
|
20
|
+
var business_service = require('./business.service-DOGeb2O6.js');
|
|
21
21
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
22
|
-
require('./schema-validations-
|
|
23
|
-
require('./country-config-
|
|
22
|
+
require('./schema-validations-C2XsZnqK.js');
|
|
23
|
+
require('./country-config-C1bWmF8P.js');
|
|
24
24
|
require('./business-form-options-CnlrfbQ6.js');
|
|
25
25
|
require('./index-W-zoNiyM.js');
|
|
26
|
-
require('./utils-
|
|
27
|
-
require('./package-
|
|
28
|
-
require('./Api-
|
|
26
|
+
require('./utils-D1CWnhex.js');
|
|
27
|
+
require('./package-BKwTzSig.js');
|
|
28
|
+
require('./Api-BioDE5he.js');
|
|
29
29
|
require('./parts-BXshb_S-.js');
|
|
30
|
-
require('./utils-
|
|
30
|
+
require('./utils-BVM6JCW0.js');
|
|
31
31
|
|
|
32
32
|
const businessFormSchemaUSA = index_esm.create$3(Object.assign(Object.assign({}, businessIdentitySchema.businessCoreInfoSchemaUSA().fields), { legal_address: businessIdentitySchema.addressSchemaUSA(), additional_questions: businessIdentitySchema.additionalQuestionsSchema(), representative: businessIdentitySchema.identitySchemaUSA('representative') }));
|
|
33
33
|
index_esm.create$3(Object.assign(Object.assign({}, businessIdentitySchema.businessCoreInfoSchemaCAN().fields), { legal_address: businessIdentitySchema.addressSchemaCAN(), additional_questions: businessIdentitySchema.additionalQuestionsSchema(), representative: businessIdentitySchema.identitySchemaCAN('representative') }));
|
|
@@ -17,7 +17,7 @@ const JustifiCardBillingFormSimple = class {
|
|
|
17
17
|
return (_b = (_a = this.cardBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
20
|
+
return (index.h(styledHost.StyledHost, { key: '799c9c1ed22b4794fc292a6cbe0986ad91c41cd9' }, index.h("card-billing-form-simple", { key: '5a96ecdd0a474fae719f6fa48bcb4a88fd74ef92', legend: this.legend, ref: (el) => (this.cardBillingFormSimpleRef = el) })));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var Analytics = require('./Analytics-
|
|
5
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
4
|
+
var Analytics = require('./Analytics-DaegoP5G.js');
|
|
5
|
+
var checkPkgVersion = require('./check-pkg-version-BNGOOokA.js');
|
|
6
6
|
var configState = require('./config-state-BIgGhhe9.js');
|
|
7
7
|
var styledHost = require('./styled-host-Ch0-dxF-.js');
|
|
8
8
|
require('./event-types-YOY5TKUN.js');
|
|
9
|
-
require('./package-
|
|
10
|
-
require('./Api-
|
|
11
|
-
require('./utils-
|
|
9
|
+
require('./package-BKwTzSig.js');
|
|
10
|
+
require('./Api-BioDE5he.js');
|
|
11
|
+
require('./utils-D1CWnhex.js');
|
|
12
12
|
require('./dinero-BwNN_k7x.js');
|
|
13
|
-
require('./Plaid-
|
|
13
|
+
require('./Plaid-QLOFOTeC.js');
|
|
14
14
|
require('./Pagination-Dediz133.js');
|
|
15
15
|
require('./Business-oBifyXkW.js');
|
|
16
16
|
require('./index-W-zoNiyM.js');
|
|
@@ -35,7 +35,7 @@ const JustifiCardForm = class {
|
|
|
35
35
|
return this.cardFormElement.tokenize({ clientId, paymentMethodMetadata, account });
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
38
|
+
return (index.h(styledHost.StyledHost, { key: 'e8591312a00d22c68812fda0b56a125ffd763e01' }, index.h("card-form", { key: 'e987ea9f3bcd2bf0aa8b2c6749bff3b902f20519', ref: (el) => (this.cardFormElement = el) })));
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
|