@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
|
@@ -1,28 +1,29 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { A as Api } from './Api-
|
|
3
|
-
import { A as ApplePayConfig,
|
|
2
|
+
import { A as Api } from './Api-DjAL73GZ.js';
|
|
3
|
+
import { A as ApplePayConfig, r as ApplePayHelpers, s as ApplePayPaymentRequest, t as ApplePaySessionStatus, u as ApplePayButtonStyle, v as ApplePayButtonType, w as ApplePayMerchantCapability, C as ComponentErrorSeverity, b as ComponentErrorCodes, c as ComponentErrorMessages, I as ICheckoutStatus, x as PLAID_ERROR_SEVERITY, y as PLAID_ERROR_MESSAGES, z as PlaidErrorCodes } from './Plaid-C8qoMZLV.js';
|
|
4
4
|
import { S as StyledHost } from './styled-host-D84RBv1W.js';
|
|
5
5
|
import './event-types-CZfYo5-1.js';
|
|
6
6
|
import { S as Skeleton } from './skeleton-BEHo2ypu.js';
|
|
7
|
-
import { c as checkoutStore, o as onChange, a as onAnyChange, g as getAvailablePaymentMethodTypes, b as getCheckoutState } from './checkout.store-
|
|
7
|
+
import { c as checkoutStore, o as onChange, a as onAnyChange, g as getAvailablePaymentMethodTypes, b as getCheckoutState } from './checkout.store-DibfdUMm.js';
|
|
8
8
|
import { t as text, r as radioListItem } from './parts-CPKMvyV_.js';
|
|
9
|
-
import { f as formatCurrency } from './utils-
|
|
9
|
+
import { f as formatCurrency } from './utils-CcA8Y5hs.js';
|
|
10
10
|
import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
|
|
11
11
|
import { H as Header1 } from './header-1-evYxFIGN.js';
|
|
12
|
-
import { H as Header2, b as insuranceValuesOn, h as hasInsuranceValueChanged, i as insuranceValues } from './insurance-state-
|
|
12
|
+
import { H as Header2, b as insuranceValuesOn, h as hasInsuranceValueChanged, i as insuranceValues } from './insurance-state-C5OZqDCT.js';
|
|
13
13
|
import { H as Header3 } from './header-3-BUDap2xY.js';
|
|
14
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
15
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
14
|
+
import { J as JustifiAnalytics } from './Analytics-D_HycaxE.js';
|
|
15
|
+
import { c as checkPkgVersion } from './check-pkg-version-BfrWk42V.js';
|
|
16
16
|
import './dinero-HXpYMWUU.js';
|
|
17
17
|
import './Pagination-CLHwhyvu.js';
|
|
18
18
|
import './Business-BcNb9bVO.js';
|
|
19
|
-
import {
|
|
20
|
-
import { C as CheckoutService } from './checkout.service-
|
|
21
|
-
import { P as PlaidService } from './plaid.service-
|
|
19
|
+
import { m as makeGetCheckout, a as makeCheckoutComplete } from './checkout-actions-D8JS2l5e.js';
|
|
20
|
+
import { C as CheckoutService } from './checkout.service-sHKaW-M0.js';
|
|
21
|
+
import { P as PlaidService } from './plaid.service-5EpJEdwX.js';
|
|
22
22
|
import { P as PAYMENT_METHODS, a as PaymentMethod, b as PAYMENT_MODE } from './index-DkoufM1t.js';
|
|
23
23
|
import { C as CardBrandLabels } from './payment-method-option-utils-lUHAQVFl.js';
|
|
24
24
|
import './index-cDVGjRkU.js';
|
|
25
|
-
import './package-
|
|
25
|
+
import './package-DSavNeRB.js';
|
|
26
|
+
import './utils-myniydlM.js';
|
|
26
27
|
|
|
27
28
|
const JustifiRadioListItem = class {
|
|
28
29
|
constructor(hostRef) {
|
|
@@ -544,7 +545,6 @@ const JustifiApplePay = class {
|
|
|
544
545
|
this.buttonType = ApplePayButtonType.PLAIN;
|
|
545
546
|
this.buttonStyle = ApplePayButtonStyle.BLACK;
|
|
546
547
|
this.disabled = false;
|
|
547
|
-
this.showSkeleton = true;
|
|
548
548
|
this.width = "100%";
|
|
549
549
|
this.height = "48px";
|
|
550
550
|
this.isLoading = true;
|
|
@@ -742,7 +742,7 @@ const JustifiButton = class {
|
|
|
742
742
|
this.type = 'button';
|
|
743
743
|
}
|
|
744
744
|
render() {
|
|
745
|
-
return (h(StyledHost, { key: '
|
|
745
|
+
return (h(StyledHost, { key: '241fe8903788f0442b42bf5a6835d152d1944967' }, 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 })));
|
|
746
746
|
}
|
|
747
747
|
};
|
|
748
748
|
|
|
@@ -751,7 +751,7 @@ const JustifiCheckoutSummary = class {
|
|
|
751
751
|
registerInstance(this, hostRef);
|
|
752
752
|
}
|
|
753
753
|
render() {
|
|
754
|
-
return (h(StyledHost, { key: '
|
|
754
|
+
return (h(StyledHost, { key: '336fa6563952ee7905c2ed4a3330d73bbb33a0eb' }, h("section", { key: '48b8798a925d618f5a2c52d743190207b78eb70a' }, h("div", { key: '81d91167c10ccc49acb039ea54a9f97f4aa6e305' }, h("div", { key: '9744242f2c2c3082e9c1a3af6e716ec4cb28f1fd', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: '438062935abd2f00495c432ef6652e3808e5215f' }, h("span", { key: 'e3f24d9c52ddae0206cbefe61bd08f24697fe28e', part: text }, "Total"), "\u00A0", h("span", { key: '9835cb60de31a2c8946b7ac2dd6d1fa82f223110', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
|
|
755
755
|
}
|
|
756
756
|
};
|
|
757
757
|
|
|
@@ -782,7 +782,6 @@ const JustifiGooglePay = class {
|
|
|
782
782
|
this.googlePayStarted = createEvent(this, "googlePayStarted", 7);
|
|
783
783
|
this.googlePayCompleted = createEvent(this, "googlePayCompleted", 7);
|
|
784
784
|
this.googlePayCancelled = createEvent(this, "googlePayCancelled", 7);
|
|
785
|
-
this.environment = "PRODUCTION";
|
|
786
785
|
this.merchantDisplayName = "JustiFi Checkout";
|
|
787
786
|
this.iframeReady = false;
|
|
788
787
|
this.sdkLoaded = false;
|
|
@@ -841,12 +840,18 @@ const JustifiGooglePay = class {
|
|
|
841
840
|
disconnectedCallback() {
|
|
842
841
|
window.removeEventListener("message", this.handleMessage);
|
|
843
842
|
}
|
|
843
|
+
googlePayEnvironment() {
|
|
844
|
+
if (this.environment !== undefined) {
|
|
845
|
+
return this.environment;
|
|
846
|
+
}
|
|
847
|
+
return checkoutStore.checkoutMode === "test" ? "TEST" : "PRODUCTION";
|
|
848
|
+
}
|
|
844
849
|
sendInitialize() {
|
|
845
850
|
var _a;
|
|
846
851
|
if (!((_a = this.iframeElement) === null || _a === void 0 ? void 0 : _a.contentWindow))
|
|
847
852
|
return;
|
|
848
853
|
const config = {
|
|
849
|
-
environment: this.
|
|
854
|
+
environment: this.googlePayEnvironment(),
|
|
850
855
|
gatewayMerchantId: checkoutStore.accountId,
|
|
851
856
|
merchantName: this.merchantDisplayName,
|
|
852
857
|
authToken: checkoutStore.authToken,
|
|
@@ -900,62 +905,7 @@ const JustifiHeader = class {
|
|
|
900
905
|
}
|
|
901
906
|
render() {
|
|
902
907
|
const HeaderComponent = this.levels[this.level];
|
|
903
|
-
return (h(StyledHost, { key: '
|
|
904
|
-
}
|
|
905
|
-
};
|
|
906
|
-
|
|
907
|
-
const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
|
|
908
|
-
var _a;
|
|
909
|
-
try {
|
|
910
|
-
const response = await service.fetchCheckout(authToken, checkoutId);
|
|
911
|
-
if (!response.error) {
|
|
912
|
-
const checkout = response.data;
|
|
913
|
-
onSuccess({ checkout });
|
|
914
|
-
}
|
|
915
|
-
else {
|
|
916
|
-
const responseError = getErrorMessage(response.error);
|
|
917
|
-
const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
|
|
918
|
-
return onError({
|
|
919
|
-
error: responseError,
|
|
920
|
-
code,
|
|
921
|
-
severity: ComponentErrorSeverity.ERROR,
|
|
922
|
-
});
|
|
923
|
-
}
|
|
924
|
-
}
|
|
925
|
-
catch (error) {
|
|
926
|
-
const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
927
|
-
return onError({
|
|
928
|
-
error: error.message || error,
|
|
929
|
-
code,
|
|
930
|
-
severity: ComponentErrorSeverity.ERROR,
|
|
931
|
-
});
|
|
932
|
-
}
|
|
933
|
-
};
|
|
934
|
-
const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ payment, onSuccess, onError }) => {
|
|
935
|
-
var _a;
|
|
936
|
-
try {
|
|
937
|
-
const response = await service.complete(authToken, checkoutId, payment);
|
|
938
|
-
if (!response.error) {
|
|
939
|
-
const checkout = response.data;
|
|
940
|
-
onSuccess({ checkout });
|
|
941
|
-
}
|
|
942
|
-
else {
|
|
943
|
-
const responseError = getErrorMessage(response.error);
|
|
944
|
-
const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
|
|
945
|
-
return onError({
|
|
946
|
-
error: responseError,
|
|
947
|
-
code,
|
|
948
|
-
severity: ComponentErrorSeverity.ERROR,
|
|
949
|
-
});
|
|
950
|
-
}
|
|
951
|
-
}
|
|
952
|
-
catch (error) {
|
|
953
|
-
const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
954
|
-
return onError({
|
|
955
|
-
error: error.message || error,
|
|
956
|
-
code,
|
|
957
|
-
severity: ComponentErrorSeverity.ERROR,
|
|
958
|
-
});
|
|
908
|
+
return (h(StyledHost, { key: '5a0872ee486bdba3ba1c86145946889bb7d151f2' }, h(HeaderComponent, { key: '89807e249cdf64f7ef80800276cb50966083f28e', text: this.text, class: this.class })));
|
|
959
909
|
}
|
|
960
910
|
};
|
|
961
911
|
|
|
@@ -1117,24 +1067,30 @@ const JustifiModularCheckout = class {
|
|
|
1117
1067
|
}
|
|
1118
1068
|
}
|
|
1119
1069
|
updateStore(checkout) {
|
|
1120
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
1070
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1121
1071
|
checkoutStore.accountId = checkout.account_id;
|
|
1122
1072
|
checkoutStore.checkoutLoaded = true;
|
|
1123
|
-
|
|
1073
|
+
const rawMode = checkout.mode != null ? String(checkout.mode).toLowerCase() : '';
|
|
1074
|
+
checkoutStore.checkoutMode =
|
|
1075
|
+
rawMode === 'test' ? 'test' : rawMode === 'live' ? 'live' : null;
|
|
1076
|
+
const mappedPaymentMethods = checkout.payment_methods.map((paymentMethod) => new PaymentMethod(paymentMethod));
|
|
1077
|
+
const achEnabled = Boolean((_a = checkout.payment_settings) === null || _a === void 0 ? void 0 : _a.ach_payments);
|
|
1078
|
+
checkoutStore.paymentMethods = mappedPaymentMethods.filter((pm) => pm.type !== PAYMENT_METHODS.SAVED_BANK_ACCOUNT || achEnabled);
|
|
1124
1079
|
checkoutStore.paymentMethodGroupId = checkout.payment_method_group_id;
|
|
1125
1080
|
checkoutStore.paymentDescription = checkout.payment_description;
|
|
1126
1081
|
checkoutStore.totalAmount = checkout.total_amount;
|
|
1127
1082
|
checkoutStore.paymentAmount = checkout.payment_amount;
|
|
1128
1083
|
checkoutStore.bnplEnabled = checkout.payment_settings.bnpl_payments;
|
|
1129
1084
|
checkoutStore.insuranceEnabled = checkout.payment_settings.insurance_payments;
|
|
1130
|
-
checkoutStore.bankAccountVerification = (
|
|
1131
|
-
checkoutStore.applePayEnabled = (
|
|
1132
|
-
checkoutStore.googlePayEnabled = (
|
|
1133
|
-
checkoutStore.
|
|
1134
|
-
checkoutStore.
|
|
1135
|
-
checkoutStore.
|
|
1085
|
+
checkoutStore.bankAccountVerification = (_b = checkout.payment_settings) === null || _b === void 0 ? void 0 : _b.bank_account_verification;
|
|
1086
|
+
checkoutStore.applePayEnabled = (_c = checkout.payment_settings) === null || _c === void 0 ? void 0 : _c.apple_payments;
|
|
1087
|
+
checkoutStore.googlePayEnabled = (_d = checkout.payment_settings) === null || _d === void 0 ? void 0 : _d.google_payments;
|
|
1088
|
+
checkoutStore.achPaymentsEnabled = achEnabled;
|
|
1089
|
+
checkoutStore.bnplProviderClientId = (_e = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _e === void 0 ? void 0 : _e.provider_client_id;
|
|
1090
|
+
checkoutStore.bnplProviderMode = (_f = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _f === void 0 ? void 0 : _f.provider_mode;
|
|
1091
|
+
checkoutStore.bnplProviderApiVersion = (_g = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _g === void 0 ? void 0 : _g.provider_api_version;
|
|
1136
1092
|
checkoutStore.bnplProviderCheckoutUrl =
|
|
1137
|
-
(
|
|
1093
|
+
(_h = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _h === void 0 ? void 0 : _h.provider_checkout_url;
|
|
1138
1094
|
}
|
|
1139
1095
|
emitCheckoutChanged() {
|
|
1140
1096
|
const detail = {
|
|
@@ -1155,7 +1111,8 @@ const JustifiModularCheckout = class {
|
|
|
1155
1111
|
if (tag === 'justifi-card-form') {
|
|
1156
1112
|
checkoutStore.selectedPaymentMethod = { type: PAYMENT_METHODS.NEW_CARD };
|
|
1157
1113
|
}
|
|
1158
|
-
else if (tag === 'justifi-bank-account-form'
|
|
1114
|
+
else if (tag === 'justifi-bank-account-form' &&
|
|
1115
|
+
(!checkoutStore.checkoutLoaded || checkoutStore.achPaymentsEnabled)) {
|
|
1159
1116
|
checkoutStore.selectedPaymentMethod = { type: PAYMENT_METHODS.NEW_BANK_ACCOUNT };
|
|
1160
1117
|
}
|
|
1161
1118
|
}
|
|
@@ -1345,7 +1302,6 @@ const JustifiModularCheckout = class {
|
|
|
1345
1302
|
});
|
|
1346
1303
|
return;
|
|
1347
1304
|
}
|
|
1348
|
-
let payment;
|
|
1349
1305
|
const mapTypeToPaymentMode = (type) => {
|
|
1350
1306
|
switch (type) {
|
|
1351
1307
|
case PAYMENT_METHODS.NEW_CARD:
|
|
@@ -1364,7 +1320,7 @@ const JustifiModularCheckout = class {
|
|
|
1364
1320
|
return undefined;
|
|
1365
1321
|
}
|
|
1366
1322
|
};
|
|
1367
|
-
payment = {
|
|
1323
|
+
const payment = {
|
|
1368
1324
|
payment_mode: mapTypeToPaymentMode((_e = checkoutStore.selectedPaymentMethod) === null || _e === void 0 ? void 0 : _e.type),
|
|
1369
1325
|
payment_token: checkoutStore.paymentToken,
|
|
1370
1326
|
};
|
|
@@ -1401,7 +1357,7 @@ const JustifiModularCheckout = class {
|
|
|
1401
1357
|
});
|
|
1402
1358
|
}
|
|
1403
1359
|
render() {
|
|
1404
|
-
return h(Host, { key: '
|
|
1360
|
+
return h(Host, { key: '545e1cb07252ba0dc78fa980bd17ee5572559f6c' });
|
|
1405
1361
|
}
|
|
1406
1362
|
get hostEl() { return getElement(this); }
|
|
1407
1363
|
};
|
|
@@ -1430,6 +1386,7 @@ const JustifiPlaidPaymentMethod = class {
|
|
|
1430
1386
|
this.timeoutId = null;
|
|
1431
1387
|
this.abortController = null;
|
|
1432
1388
|
this.hasLoggedDisabledWarning = false;
|
|
1389
|
+
this.hasLoggedAchPaymentsDisabledWarning = false;
|
|
1433
1390
|
this.waitForStoreAndInitialize = () => {
|
|
1434
1391
|
// Check if store has necessary data
|
|
1435
1392
|
if (checkoutStore.authToken && checkoutStore.accountId && checkoutStore.checkoutId) {
|
|
@@ -1776,11 +1733,15 @@ const JustifiPlaidPaymentMethod = class {
|
|
|
1776
1733
|
if (checkoutStore.bankAccountVerification !== true)
|
|
1777
1734
|
return;
|
|
1778
1735
|
if (checkoutStore.checkoutLoaded) {
|
|
1779
|
-
|
|
1736
|
+
if (checkoutStore.achPaymentsEnabled) {
|
|
1737
|
+
this.loadPlaidSDK();
|
|
1738
|
+
}
|
|
1780
1739
|
}
|
|
1781
1740
|
else {
|
|
1782
1741
|
onChange('checkoutLoaded', (loaded) => {
|
|
1783
|
-
if (loaded &&
|
|
1742
|
+
if (loaded &&
|
|
1743
|
+
checkoutStore.bankAccountVerification === true &&
|
|
1744
|
+
checkoutStore.achPaymentsEnabled) {
|
|
1784
1745
|
this.loadPlaidSDK();
|
|
1785
1746
|
}
|
|
1786
1747
|
});
|
|
@@ -1909,6 +1870,13 @@ const JustifiPlaidPaymentMethod = class {
|
|
|
1909
1870
|
}
|
|
1910
1871
|
}
|
|
1911
1872
|
render() {
|
|
1873
|
+
if (checkoutStore.checkoutLoaded && !checkoutStore.achPaymentsEnabled) {
|
|
1874
|
+
if (!this.hasLoggedAchPaymentsDisabledWarning) {
|
|
1875
|
+
console.warn('[JustifiPlaidPaymentMethod] ACH payments are disabled for this checkout. Component will not render.');
|
|
1876
|
+
this.hasLoggedAchPaymentsDisabledWarning = true;
|
|
1877
|
+
}
|
|
1878
|
+
return null;
|
|
1879
|
+
}
|
|
1912
1880
|
// Only allow use if enabled in checkout settings
|
|
1913
1881
|
if (checkoutStore.bankAccountVerification !== true) {
|
|
1914
1882
|
if (!this.hasLoggedDisabledWarning) {
|
|
@@ -2200,7 +2168,8 @@ const JustifiTokenizePaymentMethod = class {
|
|
|
2200
2168
|
this.selectedPaymentMethod = PAYMENT_METHODS.NEW_CARD;
|
|
2201
2169
|
checkoutStore.selectedPaymentMethod = { type: PAYMENT_METHODS.NEW_CARD };
|
|
2202
2170
|
}
|
|
2203
|
-
else if (!this.disableBankAccount
|
|
2171
|
+
else if (!this.disableBankAccount &&
|
|
2172
|
+
(!checkoutStore.checkoutLoaded || checkoutStore.achPaymentsEnabled)) {
|
|
2204
2173
|
this.selectedPaymentMethod = PAYMENT_METHODS.NEW_BANK_ACCOUNT;
|
|
2205
2174
|
checkoutStore.selectedPaymentMethod = { type: PAYMENT_METHODS.NEW_BANK_ACCOUNT };
|
|
2206
2175
|
}
|
|
@@ -2228,10 +2197,11 @@ const JustifiTokenizePaymentMethod = class {
|
|
|
2228
2197
|
}
|
|
2229
2198
|
get availablePaymentMethods() {
|
|
2230
2199
|
const methods = [];
|
|
2200
|
+
const achAllowedForCheckout = !checkoutStore.checkoutLoaded || checkoutStore.achPaymentsEnabled;
|
|
2231
2201
|
if (!this.disableCreditCard) {
|
|
2232
2202
|
methods.push(PAYMENT_METHODS.NEW_CARD);
|
|
2233
2203
|
}
|
|
2234
|
-
if (!this.disableBankAccount) {
|
|
2204
|
+
if (!this.disableBankAccount && achAllowedForCheckout) {
|
|
2235
2205
|
methods.push(PAYMENT_METHODS.NEW_BANK_ACCOUNT);
|
|
2236
2206
|
}
|
|
2237
2207
|
return methods;
|
|
@@ -2321,7 +2291,7 @@ const JustifiTokenizePaymentMethod = class {
|
|
|
2321
2291
|
} }));
|
|
2322
2292
|
}
|
|
2323
2293
|
render() {
|
|
2324
|
-
return (h(StyledHost, { key: '
|
|
2294
|
+
return (h(StyledHost, { key: 'bc76697688be332ef84db56e61b6b455a6d1e986' }, h("form", { key: '8f64f55f945d4ff4ed0f144c724dbd71278ec771' }, h("fieldset", { key: '15b6d388117738391089cf91f999247cddb29714' }, h("div", { key: 'a4e23f7808b446dff6f7da437dba3cb57d2d62aa', class: "row gy-3" }, h("div", { key: '63b0584d217d9bb50036eb7d5837e7287be58760', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: 'c9345be3429cd8ab01a84e8584270938feceba39', class: "col-12" }, 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 })))))));
|
|
2325
2295
|
}
|
|
2326
2296
|
get host() { return getElement(this); }
|
|
2327
2297
|
static get watchers() { return {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
3
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
2
|
+
import { J as JustifiAnalytics } from './Analytics-D_HycaxE.js';
|
|
3
|
+
import { c as checkPkgVersion } from './check-pkg-version-BfrWk42V.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state-kKn89dp1.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host-D84RBv1W.js';
|
|
6
6
|
import './event-types-CZfYo5-1.js';
|
|
7
|
-
import './package-
|
|
8
|
-
import './Api-
|
|
9
|
-
import './utils-
|
|
7
|
+
import './package-DSavNeRB.js';
|
|
8
|
+
import './Api-DjAL73GZ.js';
|
|
9
|
+
import './utils-CcA8Y5hs.js';
|
|
10
10
|
import './dinero-HXpYMWUU.js';
|
|
11
|
-
import './Plaid-
|
|
11
|
+
import './Plaid-C8qoMZLV.js';
|
|
12
12
|
import './Pagination-CLHwhyvu.js';
|
|
13
13
|
import './Business-BcNb9bVO.js';
|
|
14
14
|
import './index-cDVGjRkU.js';
|
|
@@ -35,7 +35,7 @@ const JustifiBankAccountBillingFormSimple = class {
|
|
|
35
35
|
return (_b = (_a = this.bankAccountBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(StyledHost, { key: '
|
|
38
|
+
return (h(StyledHost, { key: '669227ed02e4f0791882b95ed814ea1865db80de' }, h("bank-account-billing-form-simple", { key: '97cbe9637d8969023b1f7d3a6b3091a246112032', legend: this.legend, ref: (el) => (this.bankAccountBillingFormSimpleRef = el) })));
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
3
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
2
|
+
import { c as checkPkgVersion } from './check-pkg-version-BfrWk42V.js';
|
|
3
|
+
import { J as JustifiAnalytics } from './Analytics-D_HycaxE.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state-kKn89dp1.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host-D84RBv1W.js';
|
|
6
6
|
import './event-types-CZfYo5-1.js';
|
|
7
|
-
import './package-
|
|
8
|
-
import './Api-
|
|
9
|
-
import './utils-
|
|
7
|
+
import './package-DSavNeRB.js';
|
|
8
|
+
import './Api-DjAL73GZ.js';
|
|
9
|
+
import './utils-CcA8Y5hs.js';
|
|
10
10
|
import './dinero-HXpYMWUU.js';
|
|
11
|
-
import './Plaid-
|
|
11
|
+
import './Plaid-C8qoMZLV.js';
|
|
12
12
|
import './Pagination-CLHwhyvu.js';
|
|
13
13
|
import './Business-BcNb9bVO.js';
|
|
14
14
|
import './index-cDVGjRkU.js';
|
|
@@ -27,13 +27,23 @@ const JustifiBankAccountForm = class {
|
|
|
27
27
|
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
28
28
|
}
|
|
29
29
|
async validate() {
|
|
30
|
+
if (!this.bankAccountFormElement) {
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
30
33
|
return this.bankAccountFormElement.validate();
|
|
31
34
|
}
|
|
32
35
|
async tokenize({ clientId, paymentMethodMetadata, account }) {
|
|
36
|
+
if (!this.bankAccountFormElement) {
|
|
37
|
+
return {
|
|
38
|
+
error: {
|
|
39
|
+
message: 'Bank account form is not available.',
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
}
|
|
33
43
|
return this.bankAccountFormElement.tokenize({ clientId, paymentMethodMetadata, account });
|
|
34
44
|
}
|
|
35
45
|
render() {
|
|
36
|
-
return (h(StyledHost, { key: '
|
|
46
|
+
return (h(StyledHost, { key: '3c8a48f6060f14433ae94399fc48097cb138e301' }, h("bank-account-form", { key: '30cd40b60629f5c7f874194dd7641ee3737e8b69', ref: (el) => (this.bankAccountFormElement = el) })));
|
|
37
47
|
}
|
|
38
48
|
};
|
|
39
49
|
|
|
@@ -15,7 +15,7 @@ const JustifiBillingFormFull = class {
|
|
|
15
15
|
return (_b = (_a = this.billingFormFullRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(StyledHost, { key: '
|
|
18
|
+
return (h(StyledHost, { key: 'be25329cda69d5b2c00a84d5abc8ec8a7c5c643d' }, h("billing-form-full", { key: 'c2437172bfbc1c52eb2a86efbef978747e76b4b7', legend: this.legend, ref: (el) => (this.billingFormFullRef = el) })));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
|
|
@@ -15,7 +15,7 @@ const JustifiBillingForm = class {
|
|
|
15
15
|
return (_b = (_a = this.billingFormRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(StyledHost, { key: '
|
|
18
|
+
return (h(StyledHost, { key: '40a8a4342204d1679c9b37fb775184131c68248b' }, h("billing-form", { key: '65156fc636a2196aa2d189ce5c4d66f755deb3f6', legend: this.legend, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: this.paymentMethodType, ref: (el) => (this.billingFormRef = el) })));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { h, F as Fragment, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { E as ErrorState } from './utils-CX6puxwf.js';
|
|
3
|
-
import { B as BusinessService } from './business.service-
|
|
4
|
-
import { m as makeGetBusiness } from './get-business-
|
|
5
|
-
import { C as ComponentErrorSeverity,
|
|
6
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
7
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
3
|
+
import { B as BusinessService } from './business.service-BGXqAyxu.js';
|
|
4
|
+
import { m as makeGetBusiness } from './get-business-DAv_b3vf.js';
|
|
5
|
+
import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-C8qoMZLV.js';
|
|
6
|
+
import { J as JustifiAnalytics } from './Analytics-D_HycaxE.js';
|
|
7
|
+
import { c as checkPkgVersion } from './check-pkg-version-BfrWk42V.js';
|
|
8
8
|
import { S as StyledHost } from './styled-host-D84RBv1W.js';
|
|
9
9
|
import './event-types-CZfYo5-1.js';
|
|
10
10
|
import { S as Skeleton } from './skeleton-BEHo2ypu.js';
|
|
11
11
|
import './parts-CPKMvyV_.js';
|
|
12
|
-
import './Api-
|
|
12
|
+
import './Api-DjAL73GZ.js';
|
|
13
13
|
import './config-state-kKn89dp1.js';
|
|
14
14
|
import './index-cDVGjRkU.js';
|
|
15
|
-
import './utils-
|
|
15
|
+
import './utils-CcA8Y5hs.js';
|
|
16
16
|
import './dinero-HXpYMWUU.js';
|
|
17
17
|
import './Pagination-CLHwhyvu.js';
|
|
18
18
|
import './Business-BcNb9bVO.js';
|
|
19
|
-
import './utils-
|
|
20
|
-
import './package-
|
|
19
|
+
import './utils-myniydlM.js';
|
|
20
|
+
import './package-DSavNeRB.js';
|
|
21
21
|
|
|
22
22
|
const BusinessDetailsLoading = () => {
|
|
23
23
|
const Block = () => (h("div", { class: "mt-5" }, h(Skeleton, { width: "40%", height: "1.5rem" }), h("hr", null), h("div", { class: "row g-3" }, h("div", { class: "col-12 col-md-6" }, h(Skeleton, null), h(Skeleton, null), h(Skeleton, null)), h("div", { class: "col-12 col-md-6" }, h(Skeleton, null), h(Skeleton, null), h(Skeleton, null)))));
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { c as create$3, F as FormController } from './index.esm-KCSohgHx.js';
|
|
3
|
-
import { b as businessCoreInfoSchemaUSA, i as identitySchemaUSA, a as additionalQuestionsSchema, c as addressSchemaUSA, d as businessCoreInfoSchemaCAN, e as identitySchemaCAN, f as addressSchemaCAN } from './business-identity-schema-
|
|
3
|
+
import { b as businessCoreInfoSchemaUSA, i as identitySchemaUSA, a as additionalQuestionsSchema, c as addressSchemaUSA, d as businessCoreInfoSchemaCAN, e as identitySchemaCAN, f as addressSchemaCAN } from './business-identity-schema-Csou60ZC.js';
|
|
4
4
|
import './config-state-kKn89dp1.js';
|
|
5
5
|
import './dinero-HXpYMWUU.js';
|
|
6
|
-
import { C as ComponentErrorSeverity,
|
|
6
|
+
import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-C8qoMZLV.js';
|
|
7
7
|
import './Pagination-CLHwhyvu.js';
|
|
8
8
|
import { C as CountryCode, B as Business, b as BusinessFormServerErrors } from './Business-BcNb9bVO.js';
|
|
9
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
9
|
+
import { J as JustifiAnalytics } from './Analytics-D_HycaxE.js';
|
|
10
10
|
import { B as Button } from './button-BvzOzV4l.js';
|
|
11
11
|
import { S as StyledHost } from './styled-host-D84RBv1W.js';
|
|
12
12
|
import { H as Header1 } from './header-1-evYxFIGN.js';
|
|
13
13
|
import './event-types-CZfYo5-1.js';
|
|
14
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
14
|
+
import { c as checkPkgVersion } from './check-pkg-version-BfrWk42V.js';
|
|
15
15
|
import { S as Skeleton } from './skeleton-BEHo2ypu.js';
|
|
16
16
|
import { B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
|
|
17
|
-
import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions-
|
|
18
|
-
import { B as BusinessService } from './business.service-
|
|
17
|
+
import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions-DI3QUsjh.js';
|
|
18
|
+
import { B as BusinessService } from './business.service-BGXqAyxu.js';
|
|
19
19
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
20
|
-
import './schema-validations-
|
|
21
|
-
import './country-config-
|
|
20
|
+
import './schema-validations-CySYE883.js';
|
|
21
|
+
import './country-config-CEJVOOGe.js';
|
|
22
22
|
import './business-form-options-DXjZp4Rl.js';
|
|
23
23
|
import './index-cDVGjRkU.js';
|
|
24
|
-
import './utils-
|
|
25
|
-
import './package-
|
|
26
|
-
import './Api-
|
|
24
|
+
import './utils-CcA8Y5hs.js';
|
|
25
|
+
import './package-DSavNeRB.js';
|
|
26
|
+
import './Api-DjAL73GZ.js';
|
|
27
27
|
import './parts-CPKMvyV_.js';
|
|
28
|
-
import './utils-
|
|
28
|
+
import './utils-myniydlM.js';
|
|
29
29
|
|
|
30
30
|
const businessFormSchemaUSA = create$3(Object.assign(Object.assign({}, businessCoreInfoSchemaUSA().fields), { legal_address: addressSchemaUSA(), additional_questions: additionalQuestionsSchema(), representative: identitySchemaUSA('representative') }));
|
|
31
31
|
create$3(Object.assign(Object.assign({}, businessCoreInfoSchemaCAN().fields), { legal_address: addressSchemaCAN(), additional_questions: additionalQuestionsSchema(), representative: identitySchemaCAN('representative') }));
|
|
@@ -15,7 +15,7 @@ const JustifiCardBillingFormSimple = class {
|
|
|
15
15
|
return (_b = (_a = this.cardBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(StyledHost, { key: '
|
|
18
|
+
return (h(StyledHost, { key: '799c9c1ed22b4794fc292a6cbe0986ad91c41cd9' }, h("card-billing-form-simple", { key: '5a96ecdd0a474fae719f6fa48bcb4a88fd74ef92', legend: this.legend, ref: (el) => (this.cardBillingFormSimpleRef = el) })));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
3
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
2
|
+
import { J as JustifiAnalytics } from './Analytics-D_HycaxE.js';
|
|
3
|
+
import { c as checkPkgVersion } from './check-pkg-version-BfrWk42V.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state-kKn89dp1.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host-D84RBv1W.js';
|
|
6
6
|
import './event-types-CZfYo5-1.js';
|
|
7
|
-
import './package-
|
|
8
|
-
import './Api-
|
|
9
|
-
import './utils-
|
|
7
|
+
import './package-DSavNeRB.js';
|
|
8
|
+
import './Api-DjAL73GZ.js';
|
|
9
|
+
import './utils-CcA8Y5hs.js';
|
|
10
10
|
import './dinero-HXpYMWUU.js';
|
|
11
|
-
import './Plaid-
|
|
11
|
+
import './Plaid-C8qoMZLV.js';
|
|
12
12
|
import './Pagination-CLHwhyvu.js';
|
|
13
13
|
import './Business-BcNb9bVO.js';
|
|
14
14
|
import './index-cDVGjRkU.js';
|
|
@@ -33,7 +33,7 @@ const JustifiCardForm = class {
|
|
|
33
33
|
return this.cardFormElement.tokenize({ clientId, paymentMethodMetadata, account });
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h(StyledHost, { key: '
|
|
36
|
+
return (h(StyledHost, { key: 'e8591312a00d22c68812fda0b56a125ffd763e01' }, h("card-form", { key: 'e987ea9f3bcd2bf0aa8b2c6749bff3b902f20519', ref: (el) => (this.cardFormElement = el) })));
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
|