@justifi/webcomponents 6.13.0-rc.1 → 6.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/cjs/{Analytics-Be2I_aiS.js → Analytics-DMppKXYI.js} +5 -5
- package/dist/cjs/{Api-Bukk55YZ.js → Api-BioDE5he.js} +1 -1
- package/dist/cjs/{Plaid-Aw35bhCX.js → Plaid-QLOFOTeC.js} +13 -13
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{additional-questions-form-step_14.cjs.entry.js → additional-questions-form-step_15.cjs.entry.js} +391 -175
- package/dist/cjs/additional-questions_5.cjs.entry.js +7 -7
- package/dist/cjs/additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +10 -10
- package/dist/cjs/bank-account-document-form-inputs.cjs.entry.js +21 -0
- package/dist/cjs/bank-account-form.cjs.entry.js +34 -5
- package/dist/cjs/{business-form-options-D_nM7NDk.js → business-form-options-CnlrfbQ6.js} +51 -0
- package/dist/cjs/{business-identity-schema-DI9XFbaD.js → business-identity-schema-BA385xf-.js} +12 -8
- package/dist/cjs/{business.service-CylI3Qrg.js → business.service-DOGeb2O6.js} +2 -2
- package/dist/cjs/card-form.cjs.entry.js +5 -5
- package/dist/cjs/{check-pkg-version-BLLLh6v-.js → check-pkg-version-DcgenUqU.js} +1 -1
- package/dist/cjs/{checkout-actions-8-MUczKw.js → checkout-actions-CjR16i7o.js} +2 -2
- package/dist/cjs/{checkout.service-BYpinbSR.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-D7fss2oF.js → country-config-C1bWmF8P.js} +12 -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-DptNnCEP.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 +7 -6
- 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-D10Tmct1.js → get-business-CrxvWZh6.js} +2 -2
- package/dist/cjs/{get-payment-details-BB5aa48u.js → get-payment-details-iCEkGDy4.js} +2 -2
- package/dist/cjs/{get-subaccounts-CSD2nAqD.js → get-subaccounts-Dgl7ECtg.js} +3 -3
- package/dist/cjs/hidden-input_2.cjs.entry.js +6 -6
- package/dist/cjs/{index.esm-C1ZPG85l.js → index.esm-BNETBIV_.js} +0 -18
- 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 +63 -38
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +8 -8
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +18 -8
- package/dist/cjs/justifi-billing-form-full.cjs.entry.js +2 -2
- package/dist/cjs/justifi-billing-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-details.cjs.entry.js +10 -10
- package/dist/cjs/justifi-business-form.cjs.entry.js +15 -15
- package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +2 -2
- package/dist/cjs/justifi-card-form.cjs.entry.js +8 -8
- package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkout.cjs.entry.js +10 -10
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +11 -11
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -12
- package/dist/cjs/justifi-payment-details.cjs.entry.js +18 -18
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payout-details.cjs.entry.js +14 -14
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -15
- package/dist/cjs/justifi-qr-terminal.cjs.entry.js +9 -9
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +13 -13
- package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -10
- package/dist/cjs/justifi-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +11 -11
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +14 -14
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{lodash-CxSkBibc.js → lodash-C4mGy21w.js} +38 -27
- package/dist/cjs/{package-gx36QXN1.js → package-CS22fAzw.js} +1 -1
- package/dist/cjs/payment-method-option.cjs.entry.js +2 -2
- package/dist/cjs/{payment-provisioning-actions-DimM0KGV.js → payment-provisioning-actions-B4x7lnyF.js} +9 -9
- package/dist/cjs/payment-provisioning-form-buttons_2.cjs.entry.js +3 -2
- package/dist/cjs/{payment.service-fy5bXXmA.js → payment.service-a5EL3s2d.js} +2 -2
- package/dist/cjs/{payout.service-hp3PTXWI.js → payout.service-BJtGBHsQ.js} +2 -2
- package/dist/cjs/{payouts-status-CF1YT_RL.js → payouts-status-viYMBknO.js} +2 -2
- package/dist/cjs/{plaid.service-9PmS4X0g.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-_yWWnnaG.js → schema-validations-C2XsZnqK.js} +24 -10
- package/dist/cjs/styled-host-Ch0-dxF-.js +11 -0
- 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-D5D76Cnn.js → terminal.service-DN2A-bNx.js} +2 -2
- package/dist/cjs/{utils-Dcde8Zpt.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/api/Analytics.js +2 -2
- package/dist/collection/api/Document.js +12 -0
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/business-details/owner-details/owner-details.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +5 -3
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +4 -2
- package/dist/collection/components/business-forms/owner-form/owner-form.js +46 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/additional-questions-form-step.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +6 -114
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +9 -0
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +4 -2
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-form-step.js +433 -0
- package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-list.js +52 -0
- package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-options.js +80 -0
- package/dist/collection/components/business-forms/payment-provisioning/justifi-payment-provisioning.js +1 -1
- 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/payment-provisioning/payment-provisioning-form-steps.js +3 -2
- package/dist/collection/components/business-forms/schemas/business-address-schema.js +1 -1
- package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +10 -38
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +1 -1
- package/dist/collection/components/business-forms/schemas/business-identity-schema.js +7 -3
- package/dist/collection/components/business-forms/schemas/schema-helpers.js +1 -1
- package/dist/collection/components/business-forms/schemas/schema-validations.js +10 -7
- package/dist/collection/components/business-forms/utils/business-form-options.js +50 -0
- package/dist/collection/components/business-forms/utils/country-config.js +11 -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/billing-form-full.js +2 -2
- package/dist/collection/components/checkout/billing-form/billing-form-schema.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/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 +16 -10
- 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 +4 -4
- 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/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 +3 -3
- 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/checkout-billing-state-options.js +12 -0
- package/dist/collection/utils/utils.js +4 -4
- package/dist/docs.json +537 -106
- package/dist/esm/{Analytics-DZWGizAK.js → Analytics-CTY3Jgn8.js} +5 -5
- package/dist/esm/{Api-DMd8hTI-.js → Api-DjAL73GZ.js} +1 -1
- package/dist/esm/{Plaid-fhlY0CIN.js → Plaid-C8qoMZLV.js} +14 -13
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{additional-questions-form-step_14.entry.js → additional-questions-form-step_15.entry.js} +390 -175
- package/dist/esm/additional-questions_5.entry.js +8 -8
- package/dist/esm/additional-statement_8.entry.js +9 -9
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +10 -10
- package/dist/esm/bank-account-document-form-inputs.entry.js +19 -0
- package/dist/esm/bank-account-form.entry.js +34 -5
- package/dist/esm/{business-form-options-DRalxlqN.js → business-form-options-DXjZp4Rl.js} +51 -1
- package/dist/esm/{business-identity-schema-D-Nk9aGV.js → business-identity-schema-Csou60ZC.js} +12 -8
- package/dist/esm/{business.service-Crs-0Mdy.js → business.service-BGXqAyxu.js} +2 -2
- package/dist/esm/card-form.entry.js +5 -5
- package/dist/esm/{check-pkg-version-CVyuA8aH.js → check-pkg-version-BOQqkWpf.js} +1 -1
- package/dist/esm/{checkout-actions-BMnp3uHK.js → checkout-actions-D8JS2l5e.js} +2 -2
- package/dist/esm/{checkout.service-BMAQVmHa.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-B_fuF6JU.js → country-config-CEJVOOGe.js} +12 -5
- 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-CVVB5p_Q.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 +7 -6
- 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-B9ZS1tVq.js → get-business-DAv_b3vf.js} +2 -2
- package/dist/esm/{get-payment-details-CiR6FrkO.js → get-payment-details-Bipad3jX.js} +2 -2
- package/dist/esm/{get-subaccounts-VpDr7yN4.js → get-subaccounts-FqCT2s3S.js} +3 -3
- package/dist/esm/hidden-input_2.entry.js +6 -6
- package/dist/esm/{index.esm-CgNcFueq.js → index.esm-KCSohgHx.js} +1 -18
- 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 +63 -38
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +8 -8
- package/dist/esm/justifi-bank-account-form.entry.js +18 -8
- package/dist/esm/justifi-billing-form-full.entry.js +2 -2
- package/dist/esm/justifi-billing-form.entry.js +2 -2
- package/dist/esm/justifi-business-details.entry.js +10 -10
- package/dist/esm/justifi-business-form.entry.js +15 -15
- package/dist/esm/justifi-card-billing-form-simple.entry.js +2 -2
- package/dist/esm/justifi-card-form.entry.js +8 -8
- package/dist/esm/justifi-checkout-qr-code.entry.js +6 -6
- package/dist/esm/justifi-checkout.entry.js +10 -10
- package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -6
- package/dist/esm/justifi-checkouts-list.entry.js +12 -12
- package/dist/esm/justifi-dispute-management.entry.js +10 -10
- package/dist/esm/justifi-gross-payment-chart.entry.js +11 -11
- package/dist/esm/justifi-order-terminals.entry.js +12 -12
- package/dist/esm/justifi-payment-details.entry.js +18 -18
- package/dist/esm/justifi-payment-provisioning.entry.js +11 -11
- package/dist/esm/justifi-payment-transactions-list.entry.js +10 -10
- package/dist/esm/justifi-payments-list-filters.entry.js +5 -5
- package/dist/esm/justifi-payments-list.entry.js +11 -11
- package/dist/esm/justifi-payout-details.entry.js +14 -14
- package/dist/esm/justifi-payout-transactions-list.entry.js +10 -10
- package/dist/esm/justifi-payouts-list-filters.entry.js +5 -5
- package/dist/esm/justifi-payouts-list.entry.js +15 -15
- package/dist/esm/justifi-qr-terminal.entry.js +9 -9
- package/dist/esm/justifi-refund-payment.entry.js +13 -13
- package/dist/esm/justifi-save-new-payment-method.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +10 -10
- package/dist/esm/justifi-skeleton.entry.js +2 -2
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +7 -7
- package/dist/esm/justifi-terminal-orders-list.entry.js +11 -11
- package/dist/esm/justifi-terminals-list-filters.entry.js +5 -5
- package/dist/esm/justifi-terminals-list.entry.js +14 -14
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{lodash-CrGKVSPp.js → lodash-BF_QgjtL.js} +38 -27
- package/dist/esm/{package-CZa-hHhJ.js → package-DNd24RUQ.js} +1 -1
- package/dist/esm/payment-method-option.entry.js +2 -2
- package/dist/esm/{payment-provisioning-actions-CcDadiRe.js → payment-provisioning-actions-DI3QUsjh.js} +9 -9
- package/dist/esm/payment-provisioning-form-buttons_2.entry.js +3 -2
- package/dist/esm/{payment.service-BiKQPL4M.js → payment.service-wSNYSRyl.js} +2 -2
- package/dist/esm/{payout.service-B9_cyUiU.js → payout.service-CTAksNmD.js} +2 -2
- package/dist/esm/{payouts-status-xOa5tT66.js → payouts-status-CeZoirpf.js} +2 -2
- package/dist/esm/{plaid.service-bU3qIoKd.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-u9_XnlUL.js → schema-validations-CySYE883.js} +24 -11
- package/dist/esm/styled-host-D84RBv1W.js +9 -0
- 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-BM6BvevW.js → terminal.service-xjfU0mJT.js} +2 -2
- package/dist/esm/{utils-BTtxWI2r.js → utils-CcA8Y5hs.js} +4 -4
- package/dist/esm/{utils-BogmBHgt.js → utils-myniydlM.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +2 -2
- package/dist/module/Plaid.js +13 -12
- package/dist/module/additional-questions-form-step2.js +12 -6
- package/dist/module/additional-statement2.js +1 -1
- package/dist/module/bank-account-billing-form-simple2.js +1 -1
- package/dist/module/bank-account-document-form-inputs.js +55 -1
- package/dist/module/bank-account-form2.js +30 -2
- package/dist/module/billing-form-full2.js +2 -2
- package/dist/module/billing-form-schema.js +1 -1
- package/dist/module/business-address-schema.js +2 -2
- package/dist/module/business-bank-account-form-step2.js +25 -178
- package/dist/module/business-core-info-form-step2.js +3 -3
- package/dist/module/business-core-info-schema.js +2 -2
- package/dist/module/business-core-info2.js +3 -3
- package/dist/module/business-documents-on-file2.js +1 -1
- package/dist/module/business-form-options.js +51 -1
- package/dist/module/business-identity-schema.js +8 -4
- package/dist/module/business-owners-form-step2.js +9 -0
- package/dist/module/business-representative-form-inputs2.js +5 -3
- package/dist/module/business-representative-form-step2.js +1 -1
- package/dist/module/business-representative2.js +6 -5
- package/dist/module/button.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.store.js +9 -3
- package/dist/module/country-config.js +12 -5
- 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-step.d.ts +11 -0
- package/dist/module/document-upload-form-step.js +6 -0
- package/dist/module/document-upload-form-step2.js +403 -0
- package/dist/module/document-upload-list.d.ts +11 -0
- package/dist/module/document-upload-list.js +6 -0
- package/dist/module/document-upload-list2.js +46 -0
- 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 +3 -3
- 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 +3 -3
- package/dist/module/form.js +1 -18
- package/dist/module/hidden-input2.js +3 -3
- package/dist/module/iframe-input2.js +4 -4
- 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-summary2.js +1 -1
- package/dist/module/justifi-checkout.js +3 -2
- package/dist/module/justifi-checkouts-list-filters.js +3 -3
- package/dist/module/justifi-checkouts-list.js +4 -4
- package/dist/module/justifi-dispute-management.js +2 -2
- package/dist/module/justifi-google-pay2.js +10 -4
- 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 +19 -13
- package/dist/module/justifi-order-terminals.js +3 -3
- package/dist/module/justifi-payment-details.js +9 -9
- package/dist/module/justifi-payment-provisioning.js +33 -27
- package/dist/module/justifi-payment-transactions-list.js +3 -3
- 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 +5 -5
- package/dist/module/justifi-payout-transactions-list.js +3 -3
- package/dist/module/justifi-payouts-list-filters.js +3 -3
- package/dist/module/justifi-payouts-list.js +6 -6
- package/dist/module/justifi-plaid-payment-method2.js +14 -2
- package/dist/module/justifi-qr-terminal.js +1 -1
- 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 +5 -5
- package/dist/module/justifi-terminals-list-filters.js +2 -2
- package/dist/module/justifi-terminals-list.js +6 -6
- package/dist/module/justifi-tokenize-payment-method2.js +5 -3
- package/dist/module/legal-address-form-step2.js +1 -1
- package/dist/module/lodash.js +38 -27
- package/dist/module/owner-details2.js +1 -1
- package/dist/module/owner-form-inputs2.js +5 -3
- package/dist/module/owner-form2.js +10 -1
- package/dist/module/package.js +1 -1
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment-provisioning-actions.js +8 -8
- package/dist/module/payment-provisioning-form-steps2.js +35 -28
- package/dist/module/plaid-verification2.js +1 -1
- 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 +22 -9
- package/dist/module/shipping-details2.js +1 -1
- package/dist/module/skeleton.js +1 -1
- package/dist/module/styled-host.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/table.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +2 -2
- package/dist/module/utils2.js +4 -4
- package/dist/stencil.config.js +40 -0
- package/dist/types/api/Document.d.ts +13 -1
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +1 -12
- package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-form-step.d.ts +44 -0
- package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-list.d.ts +6 -0
- package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-options.d.ts +45 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +1 -0
- package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +4 -4
- package/dist/types/components/business-forms/utils/business-form-options.d.ts +1 -0
- 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/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 +4 -2
- package/dist/types/components/modular-checkout/sub-components/justifi-plaid-payment-method.d.ts +1 -0
- package/dist/types/components.d.ts +86 -13
- 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/types/utils/checkout-billing-state-options.d.ts +9 -0
- package/dist/webcomponents/p-055640f9.entry.js +1 -0
- package/dist/webcomponents/{p-ca87c609.entry.js → p-0a4fcb15.entry.js} +1 -1
- package/dist/webcomponents/p-0dc3c605.entry.js +1 -0
- package/dist/webcomponents/p-0f2a1ac9.entry.js +1 -0
- package/dist/webcomponents/p-14a03ad0.entry.js +1 -0
- package/dist/webcomponents/p-1737a7fc.entry.js +1 -0
- 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-8d602e60.entry.js → p-2092b278.entry.js} +1 -1
- package/dist/webcomponents/p-25215ee7.entry.js +1 -0
- package/dist/webcomponents/p-2757b61e.entry.js +1 -0
- package/dist/webcomponents/{p-ff5c5499.entry.js → p-2bab43ac.entry.js} +4 -4
- package/dist/webcomponents/{p-37fd1862.entry.js → p-2ebc862f.entry.js} +1 -1
- package/dist/webcomponents/p-32ee9101.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-4a30693b.entry.js +1 -0
- package/dist/webcomponents/p-4fab9314.entry.js +1 -0
- package/dist/webcomponents/{p-a80f69a9.entry.js → p-53d775b9.entry.js} +1 -1
- package/dist/webcomponents/{p-0fb8fb8c.entry.js → p-5984e9df.entry.js} +1 -1
- package/dist/webcomponents/{p-70dcd833.entry.js → p-5a58f606.entry.js} +1 -1
- package/dist/webcomponents/{p-392f0c1c.entry.js → p-5d9d6dd5.entry.js} +1 -1
- package/dist/webcomponents/p-65908b5f.entry.js +1 -0
- package/dist/webcomponents/{p-3d6b9434.entry.js → p-67364f1d.entry.js} +1 -1
- package/dist/webcomponents/p-6c3e9ebd.entry.js +1 -0
- package/dist/webcomponents/p-6d1299db.entry.js +1 -0
- package/dist/webcomponents/{p-a9695714.entry.js → p-6fe329d6.entry.js} +1 -1
- package/dist/webcomponents/p-70a2f59a.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-7b6cf400.entry.js +1 -0
- package/dist/webcomponents/p-863daddf.entry.js +1 -0
- package/dist/webcomponents/p-8fd18ce2.entry.js +1 -0
- package/dist/webcomponents/{p-bd678d4a.entry.js → p-90c5af69.entry.js} +1 -1
- package/dist/webcomponents/p-9c0760b9.entry.js +1 -0
- package/dist/webcomponents/{p-CqPcl9v7.js → p-B62JX_Dh.js} +1 -1
- package/dist/webcomponents/p-BB8Ce9rp.js +1 -0
- package/dist/webcomponents/{p-Bt4GjEWL.js → p-BBSnDYJw.js} +1 -1
- 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-D4E9P7df.js → p-C7hX61pS.js} +1 -1
- package/dist/webcomponents/p-CO8ZGkfN.js +1 -0
- package/dist/webcomponents/p-CPJC6tlj.js +1 -0
- package/dist/webcomponents/{p-DHFQtPCq.js → p-CQqmTKij.js} +1 -1
- package/dist/webcomponents/{p-Cg_3KsGO.js → p-CdwzNfP1.js} +1 -1
- package/dist/webcomponents/p-Cn7z5L7J.js +1 -0
- package/dist/webcomponents/{p-BGvaX-lJ.js → p-CxBrydeX.js} +1 -1
- package/dist/webcomponents/{p-DwoT0UoX.js → p-D9sqTVmd.js} +1 -1
- package/dist/webcomponents/p-DNd24RUQ.js +1 -0
- package/dist/webcomponents/p-DP9ysr2K.js +1 -0
- package/dist/webcomponents/p-DPA5TKvQ.js +1 -0
- package/dist/webcomponents/{p-CSgcCWLS.js → p-DXTa04jn.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-DzEdYT8R.js +1 -0
- package/dist/webcomponents/p-NzPaWKbY.js +1 -0
- package/dist/webcomponents/p-OeJ-3w3l.js +9 -0
- package/dist/webcomponents/{p-eK8hZOMg.js → p-R_0S69Pr.js} +1 -1
- package/dist/webcomponents/p-_GBnYSuR.js +1 -0
- package/dist/webcomponents/p-a5913b33.entry.js +1 -0
- package/dist/webcomponents/p-a5cc55af.entry.js +1 -0
- package/dist/webcomponents/p-a7bd5651.entry.js +1 -0
- package/dist/webcomponents/p-ac08992c.entry.js +1 -0
- package/dist/webcomponents/p-b03e361e.entry.js +1 -0
- package/dist/webcomponents/p-b73c5779.entry.js +1 -0
- package/dist/webcomponents/p-c47db9f5.entry.js +1 -0
- package/dist/webcomponents/p-c60c4bed.entry.js +1 -0
- package/dist/webcomponents/p-c8bcc54f.entry.js +1 -0
- package/dist/webcomponents/{p-22d19755.entry.js → p-debc4768.entry.js} +1 -1
- package/dist/webcomponents/p-e3021e22.entry.js +1 -0
- package/dist/webcomponents/{p-aee2295b.entry.js → p-e3f8541c.entry.js} +1 -1
- package/dist/webcomponents/{p-9fca25fc.entry.js → p-e63cd41f.entry.js} +1 -1
- package/dist/webcomponents/p-e711f221.entry.js +1 -0
- package/dist/webcomponents/p-e8875186.entry.js +1 -0
- package/dist/webcomponents/p-ebd1c09f.entry.js +1 -0
- package/dist/webcomponents/p-ec845aa4.entry.js +1 -0
- package/dist/webcomponents/{p-c1539656.entry.js → p-eccc1fc6.entry.js} +1 -1
- package/dist/webcomponents/{p-c4767c7b.entry.js → p-f3c40c22.entry.js} +1 -1
- package/dist/webcomponents/p-f4de4ac0.entry.js +1 -0
- package/dist/webcomponents/p-f52fe722.entry.js +1 -0
- package/dist/webcomponents/p-f60bfe16.entry.js +1 -0
- package/dist/webcomponents/p-f953fd60.entry.js +1 -0
- package/dist/webcomponents/{p-b20b8805.entry.js → p-fb2e1557.entry.js} +1 -1
- package/dist/webcomponents/p-fca0ca4d.entry.js +1 -0
- package/dist/webcomponents/p-z3RFjy9B.js +1 -0
- package/dist/webcomponents/{p-qju4tNG1.js → p-zZn1OXja.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +16 -16
- package/readme.md +7 -14
- package/dist/cjs/styled-host-DAi5SuFa.js +0 -11
- package/dist/esm/styled-host-D6byRazK.js +0 -9
- package/dist/module/bank-account-document-form-inputs2.js +0 -57
- package/dist/webcomponents/p-06e8df55.entry.js +0 -1
- package/dist/webcomponents/p-0708cb76.entry.js +0 -1
- package/dist/webcomponents/p-07f2f1bf.entry.js +0 -1
- package/dist/webcomponents/p-10087a53.entry.js +0 -1
- package/dist/webcomponents/p-12ae030d.entry.js +0 -1
- package/dist/webcomponents/p-1d7b8c21.entry.js +0 -1
- package/dist/webcomponents/p-21c89e22.entry.js +0 -1
- package/dist/webcomponents/p-2ec7cd88.entry.js +0 -1
- package/dist/webcomponents/p-2qotS5d_.js +0 -1
- package/dist/webcomponents/p-355a5c8d.entry.js +0 -1
- package/dist/webcomponents/p-37b95a11.entry.js +0 -1
- package/dist/webcomponents/p-383b8317.entry.js +0 -1
- package/dist/webcomponents/p-44cf13ac.entry.js +0 -1
- package/dist/webcomponents/p-46477dfe.entry.js +0 -1
- package/dist/webcomponents/p-4ccf9cd7.entry.js +0 -1
- package/dist/webcomponents/p-55fdab4e.entry.js +0 -1
- package/dist/webcomponents/p-5ccb46ee.entry.js +0 -1
- package/dist/webcomponents/p-5f8dfa8d.entry.js +0 -1
- package/dist/webcomponents/p-63b7abf3.entry.js +0 -1
- package/dist/webcomponents/p-6RTf1SXX.js +0 -1
- package/dist/webcomponents/p-70cd2808.entry.js +0 -1
- package/dist/webcomponents/p-769d3d93.entry.js +0 -1
- package/dist/webcomponents/p-79bd744e.entry.js +0 -1
- package/dist/webcomponents/p-7a4cd292.entry.js +0 -1
- package/dist/webcomponents/p-9153c121.entry.js +0 -1
- package/dist/webcomponents/p-94f14640.entry.js +0 -1
- package/dist/webcomponents/p-98f399ec.entry.js +0 -1
- package/dist/webcomponents/p-9b944aa4.entry.js +0 -1
- package/dist/webcomponents/p-9fc7714d.entry.js +0 -1
- package/dist/webcomponents/p-BArmtmkq.js +0 -1
- package/dist/webcomponents/p-BqNNwq6C.js +0 -1
- package/dist/webcomponents/p-CZa-hHhJ.js +0 -1
- package/dist/webcomponents/p-C_ifLmT1.js +0 -9
- package/dist/webcomponents/p-CvgL8YaH.js +0 -1
- package/dist/webcomponents/p-DD-_8sbs.js +0 -1
- package/dist/webcomponents/p-DMqJWUK2.js +0 -1
- package/dist/webcomponents/p-DZAMzLxa.js +0 -1
- package/dist/webcomponents/p-DbOUuBHs.js +0 -1
- package/dist/webcomponents/p-DyucNSA4.js +0 -1
- package/dist/webcomponents/p-Eb1f86_V.js +0 -1
- package/dist/webcomponents/p-KXLYEe1D.js +0 -1
- package/dist/webcomponents/p-XxG-t-Sl.js +0 -1
- package/dist/webcomponents/p-a7a1b168.entry.js +0 -1
- package/dist/webcomponents/p-b0b6083f.entry.js +0 -1
- package/dist/webcomponents/p-b341efd6.entry.js +0 -1
- package/dist/webcomponents/p-b62ff001.entry.js +0 -1
- package/dist/webcomponents/p-bb5de874.entry.js +0 -1
- package/dist/webcomponents/p-c8ee1e4c.entry.js +0 -1
- package/dist/webcomponents/p-ce1dde85.entry.js +0 -1
- package/dist/webcomponents/p-d253a573.entry.js +0 -1
- package/dist/webcomponents/p-d620d4b4.entry.js +0 -1
- package/dist/webcomponents/p-dcd600ca.entry.js +0 -1
- package/dist/webcomponents/p-e4cb7c21.entry.js +0 -1
- package/dist/webcomponents/p-e5c2215a.entry.js +0 -1
- package/dist/webcomponents/p-e6b9dfe1.entry.js +0 -1
- package/dist/webcomponents/p-eCeOsPHx.js +0 -1
- package/dist/webcomponents/p-f1b9cbf0.entry.js +0 -1
- package/dist/webcomponents/p-f9aafb21.entry.js +0 -1
|
@@ -11107,23 +11107,6 @@ for (const method of ['validate', 'validateSync']) Schema.prototype[`${method}At
|
|
|
11107
11107
|
for (const alias of ['equals', 'is']) Schema.prototype[alias] = Schema.prototype.oneOf;
|
|
11108
11108
|
for (const alias of ['not', 'nope']) Schema.prototype[alias] = Schema.prototype.notOneOf;
|
|
11109
11109
|
|
|
11110
|
-
const returnsTrue = () => true;
|
|
11111
|
-
function create$8(spec) {
|
|
11112
|
-
return new MixedSchema(spec);
|
|
11113
|
-
}
|
|
11114
|
-
class MixedSchema extends Schema {
|
|
11115
|
-
constructor(spec) {
|
|
11116
|
-
super(typeof spec === 'function' ? {
|
|
11117
|
-
type: 'mixed',
|
|
11118
|
-
check: spec
|
|
11119
|
-
} : Object.assign({
|
|
11120
|
-
type: 'mixed',
|
|
11121
|
-
check: returnsTrue
|
|
11122
|
-
}, spec));
|
|
11123
|
-
}
|
|
11124
|
-
}
|
|
11125
|
-
create$8.prototype = MixedSchema.prototype;
|
|
11126
|
-
|
|
11127
11110
|
function create$7() {
|
|
11128
11111
|
return new BooleanSchema();
|
|
11129
11112
|
}
|
|
@@ -11941,4 +11924,4 @@ class ObjectSchema extends Schema {
|
|
|
11941
11924
|
}
|
|
11942
11925
|
create$3.prototype = ObjectSchema.prototype;
|
|
11943
11926
|
|
|
11944
|
-
export { FormController as F, create$
|
|
11927
|
+
export { FormController as F, create$6 as a, create$7 as b, create$3 as c };
|
|
@@ -28,7 +28,7 @@ const validateInsuranceValues = () => {
|
|
|
28
28
|
};
|
|
29
29
|
// Helper function to check if a value has actually changed (not just initially set)
|
|
30
30
|
const hasInsuranceValueChanged = (key, newValue) => {
|
|
31
|
-
const hadPreviousValue =
|
|
31
|
+
const hadPreviousValue = Object.prototype.hasOwnProperty.call(previousInsuranceValues, key);
|
|
32
32
|
const previousValue = previousInsuranceValues[key];
|
|
33
33
|
if (!hadPreviousValue) {
|
|
34
34
|
// First time setting this value, track it but don't consider it a "change"
|
|
@@ -9,7 +9,7 @@ const InternalButton = class {
|
|
|
9
9
|
this.type = 'button';
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Button, { key: '
|
|
12
|
+
return (h(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));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
|
|
@@ -1,29 +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, 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-
|
|
4
|
-
import { S as StyledHost } from './styled-host-
|
|
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
|
+
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-CTY3Jgn8.js';
|
|
15
|
+
import { c as checkPkgVersion } from './check-pkg-version-BOQqkWpf.js';
|
|
16
16
|
import './dinero-HXpYMWUU.js';
|
|
17
17
|
import './Pagination-CLHwhyvu.js';
|
|
18
18
|
import './Business-BcNb9bVO.js';
|
|
19
|
-
import { m as makeGetCheckout, a as makeCheckoutComplete } from './checkout-actions-
|
|
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-
|
|
26
|
-
import './utils-
|
|
25
|
+
import './package-DNd24RUQ.js';
|
|
26
|
+
import './utils-myniydlM.js';
|
|
27
27
|
|
|
28
28
|
const JustifiRadioListItem = class {
|
|
29
29
|
constructor(hostRef) {
|
|
@@ -545,7 +545,6 @@ const JustifiApplePay = class {
|
|
|
545
545
|
this.buttonType = ApplePayButtonType.PLAIN;
|
|
546
546
|
this.buttonStyle = ApplePayButtonStyle.BLACK;
|
|
547
547
|
this.disabled = false;
|
|
548
|
-
this.showSkeleton = true;
|
|
549
548
|
this.width = "100%";
|
|
550
549
|
this.height = "48px";
|
|
551
550
|
this.isLoading = true;
|
|
@@ -743,7 +742,7 @@ const JustifiButton = class {
|
|
|
743
742
|
this.type = 'button';
|
|
744
743
|
}
|
|
745
744
|
render() {
|
|
746
|
-
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 })));
|
|
747
746
|
}
|
|
748
747
|
};
|
|
749
748
|
|
|
@@ -752,7 +751,7 @@ const JustifiCheckoutSummary = class {
|
|
|
752
751
|
registerInstance(this, hostRef);
|
|
753
752
|
}
|
|
754
753
|
render() {
|
|
755
|
-
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))))))));
|
|
756
755
|
}
|
|
757
756
|
};
|
|
758
757
|
|
|
@@ -783,7 +782,7 @@ const JustifiGooglePay = class {
|
|
|
783
782
|
this.googlePayStarted = createEvent(this, "googlePayStarted", 7);
|
|
784
783
|
this.googlePayCompleted = createEvent(this, "googlePayCompleted", 7);
|
|
785
784
|
this.googlePayCancelled = createEvent(this, "googlePayCancelled", 7);
|
|
786
|
-
this.
|
|
785
|
+
this.merchantDisplayName = "JustiFi Checkout";
|
|
787
786
|
this.iframeReady = false;
|
|
788
787
|
this.sdkLoaded = false;
|
|
789
788
|
this.isReadyToPay = false;
|
|
@@ -841,14 +840,20 @@ 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
|
-
merchantName: this.
|
|
856
|
+
merchantName: this.merchantDisplayName,
|
|
852
857
|
authToken: checkoutStore.authToken,
|
|
853
858
|
accountId: checkoutStore.accountId,
|
|
854
859
|
};
|
|
@@ -900,7 +905,7 @@ const JustifiHeader = class {
|
|
|
900
905
|
}
|
|
901
906
|
render() {
|
|
902
907
|
const HeaderComponent = this.levels[this.level];
|
|
903
|
-
return (h(StyledHost, { key: '
|
|
908
|
+
return (h(StyledHost, { key: '5a0872ee486bdba3ba1c86145946889bb7d151f2' }, h(HeaderComponent, { key: '89807e249cdf64f7ef80800276cb50966083f28e', text: this.text, class: this.class })));
|
|
904
909
|
}
|
|
905
910
|
};
|
|
906
911
|
|
|
@@ -1062,24 +1067,30 @@ const JustifiModularCheckout = class {
|
|
|
1062
1067
|
}
|
|
1063
1068
|
}
|
|
1064
1069
|
updateStore(checkout) {
|
|
1065
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
1070
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1066
1071
|
checkoutStore.accountId = checkout.account_id;
|
|
1067
1072
|
checkoutStore.checkoutLoaded = true;
|
|
1068
|
-
|
|
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);
|
|
1069
1079
|
checkoutStore.paymentMethodGroupId = checkout.payment_method_group_id;
|
|
1070
1080
|
checkoutStore.paymentDescription = checkout.payment_description;
|
|
1071
1081
|
checkoutStore.totalAmount = checkout.total_amount;
|
|
1072
1082
|
checkoutStore.paymentAmount = checkout.payment_amount;
|
|
1073
1083
|
checkoutStore.bnplEnabled = checkout.payment_settings.bnpl_payments;
|
|
1074
1084
|
checkoutStore.insuranceEnabled = checkout.payment_settings.insurance_payments;
|
|
1075
|
-
checkoutStore.bankAccountVerification = (
|
|
1076
|
-
checkoutStore.applePayEnabled = (
|
|
1077
|
-
checkoutStore.googlePayEnabled = (
|
|
1078
|
-
checkoutStore.
|
|
1079
|
-
checkoutStore.
|
|
1080
|
-
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;
|
|
1081
1092
|
checkoutStore.bnplProviderCheckoutUrl =
|
|
1082
|
-
(
|
|
1093
|
+
(_h = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _h === void 0 ? void 0 : _h.provider_checkout_url;
|
|
1083
1094
|
}
|
|
1084
1095
|
emitCheckoutChanged() {
|
|
1085
1096
|
const detail = {
|
|
@@ -1100,7 +1111,8 @@ const JustifiModularCheckout = class {
|
|
|
1100
1111
|
if (tag === 'justifi-card-form') {
|
|
1101
1112
|
checkoutStore.selectedPaymentMethod = { type: PAYMENT_METHODS.NEW_CARD };
|
|
1102
1113
|
}
|
|
1103
|
-
else if (tag === 'justifi-bank-account-form'
|
|
1114
|
+
else if (tag === 'justifi-bank-account-form' &&
|
|
1115
|
+
(!checkoutStore.checkoutLoaded || checkoutStore.achPaymentsEnabled)) {
|
|
1104
1116
|
checkoutStore.selectedPaymentMethod = { type: PAYMENT_METHODS.NEW_BANK_ACCOUNT };
|
|
1105
1117
|
}
|
|
1106
1118
|
}
|
|
@@ -1290,7 +1302,6 @@ const JustifiModularCheckout = class {
|
|
|
1290
1302
|
});
|
|
1291
1303
|
return;
|
|
1292
1304
|
}
|
|
1293
|
-
let payment;
|
|
1294
1305
|
const mapTypeToPaymentMode = (type) => {
|
|
1295
1306
|
switch (type) {
|
|
1296
1307
|
case PAYMENT_METHODS.NEW_CARD:
|
|
@@ -1309,7 +1320,7 @@ const JustifiModularCheckout = class {
|
|
|
1309
1320
|
return undefined;
|
|
1310
1321
|
}
|
|
1311
1322
|
};
|
|
1312
|
-
payment = {
|
|
1323
|
+
const payment = {
|
|
1313
1324
|
payment_mode: mapTypeToPaymentMode((_e = checkoutStore.selectedPaymentMethod) === null || _e === void 0 ? void 0 : _e.type),
|
|
1314
1325
|
payment_token: checkoutStore.paymentToken,
|
|
1315
1326
|
};
|
|
@@ -1346,7 +1357,7 @@ const JustifiModularCheckout = class {
|
|
|
1346
1357
|
});
|
|
1347
1358
|
}
|
|
1348
1359
|
render() {
|
|
1349
|
-
return h(Host, { key: '
|
|
1360
|
+
return h(Host, { key: '545e1cb07252ba0dc78fa980bd17ee5572559f6c' });
|
|
1350
1361
|
}
|
|
1351
1362
|
get hostEl() { return getElement(this); }
|
|
1352
1363
|
};
|
|
@@ -1375,6 +1386,7 @@ const JustifiPlaidPaymentMethod = class {
|
|
|
1375
1386
|
this.timeoutId = null;
|
|
1376
1387
|
this.abortController = null;
|
|
1377
1388
|
this.hasLoggedDisabledWarning = false;
|
|
1389
|
+
this.hasLoggedAchPaymentsDisabledWarning = false;
|
|
1378
1390
|
this.waitForStoreAndInitialize = () => {
|
|
1379
1391
|
// Check if store has necessary data
|
|
1380
1392
|
if (checkoutStore.authToken && checkoutStore.accountId && checkoutStore.checkoutId) {
|
|
@@ -1721,11 +1733,15 @@ const JustifiPlaidPaymentMethod = class {
|
|
|
1721
1733
|
if (checkoutStore.bankAccountVerification !== true)
|
|
1722
1734
|
return;
|
|
1723
1735
|
if (checkoutStore.checkoutLoaded) {
|
|
1724
|
-
|
|
1736
|
+
if (checkoutStore.achPaymentsEnabled) {
|
|
1737
|
+
this.loadPlaidSDK();
|
|
1738
|
+
}
|
|
1725
1739
|
}
|
|
1726
1740
|
else {
|
|
1727
1741
|
onChange('checkoutLoaded', (loaded) => {
|
|
1728
|
-
if (loaded &&
|
|
1742
|
+
if (loaded &&
|
|
1743
|
+
checkoutStore.bankAccountVerification === true &&
|
|
1744
|
+
checkoutStore.achPaymentsEnabled) {
|
|
1729
1745
|
this.loadPlaidSDK();
|
|
1730
1746
|
}
|
|
1731
1747
|
});
|
|
@@ -1854,6 +1870,13 @@ const JustifiPlaidPaymentMethod = class {
|
|
|
1854
1870
|
}
|
|
1855
1871
|
}
|
|
1856
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
|
+
}
|
|
1857
1880
|
// Only allow use if enabled in checkout settings
|
|
1858
1881
|
if (checkoutStore.bankAccountVerification !== true) {
|
|
1859
1882
|
if (!this.hasLoggedDisabledWarning) {
|
|
@@ -2145,7 +2168,8 @@ const JustifiTokenizePaymentMethod = class {
|
|
|
2145
2168
|
this.selectedPaymentMethod = PAYMENT_METHODS.NEW_CARD;
|
|
2146
2169
|
checkoutStore.selectedPaymentMethod = { type: PAYMENT_METHODS.NEW_CARD };
|
|
2147
2170
|
}
|
|
2148
|
-
else if (!this.disableBankAccount
|
|
2171
|
+
else if (!this.disableBankAccount &&
|
|
2172
|
+
(!checkoutStore.checkoutLoaded || checkoutStore.achPaymentsEnabled)) {
|
|
2149
2173
|
this.selectedPaymentMethod = PAYMENT_METHODS.NEW_BANK_ACCOUNT;
|
|
2150
2174
|
checkoutStore.selectedPaymentMethod = { type: PAYMENT_METHODS.NEW_BANK_ACCOUNT };
|
|
2151
2175
|
}
|
|
@@ -2173,10 +2197,11 @@ const JustifiTokenizePaymentMethod = class {
|
|
|
2173
2197
|
}
|
|
2174
2198
|
get availablePaymentMethods() {
|
|
2175
2199
|
const methods = [];
|
|
2200
|
+
const achAllowedForCheckout = !checkoutStore.checkoutLoaded || checkoutStore.achPaymentsEnabled;
|
|
2176
2201
|
if (!this.disableCreditCard) {
|
|
2177
2202
|
methods.push(PAYMENT_METHODS.NEW_CARD);
|
|
2178
2203
|
}
|
|
2179
|
-
if (!this.disableBankAccount) {
|
|
2204
|
+
if (!this.disableBankAccount && achAllowedForCheckout) {
|
|
2180
2205
|
methods.push(PAYMENT_METHODS.NEW_BANK_ACCOUNT);
|
|
2181
2206
|
}
|
|
2182
2207
|
return methods;
|
|
@@ -2266,7 +2291,7 @@ const JustifiTokenizePaymentMethod = class {
|
|
|
2266
2291
|
} }));
|
|
2267
2292
|
}
|
|
2268
2293
|
render() {
|
|
2269
|
-
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 })))))));
|
|
2270
2295
|
}
|
|
2271
2296
|
get host() { return getElement(this); }
|
|
2272
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-CTY3Jgn8.js';
|
|
3
|
+
import { c as checkPkgVersion } from './check-pkg-version-BOQqkWpf.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state-kKn89dp1.js';
|
|
5
|
-
import { S as StyledHost } from './styled-host-
|
|
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-DNd24RUQ.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-BOQqkWpf.js';
|
|
3
|
+
import { J as JustifiAnalytics } from './Analytics-CTY3Jgn8.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state-kKn89dp1.js';
|
|
5
|
-
import { S as StyledHost } from './styled-host-
|
|
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-DNd24RUQ.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
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { S as StyledHost } from './styled-host-
|
|
2
|
+
import { S as StyledHost } from './styled-host-D84RBv1W.js';
|
|
3
3
|
import './event-types-CZfYo5-1.js';
|
|
4
4
|
|
|
5
5
|
const JustifiBillingFormFull = class {
|
|
@@ -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
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { S as StyledHost } from './styled-host-
|
|
2
|
+
import { S as StyledHost } from './styled-host-D84RBv1W.js';
|
|
3
3
|
import './event-types-CZfYo5-1.js';
|
|
4
4
|
|
|
5
5
|
const JustifiBillingForm = class {
|
|
@@ -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, b as ComponentErrorCodes } from './Plaid-
|
|
6
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
7
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
8
|
-
import { S as StyledHost } from './styled-host-
|
|
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-CTY3Jgn8.js';
|
|
7
|
+
import { c as checkPkgVersion } from './check-pkg-version-BOQqkWpf.js';
|
|
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-DNd24RUQ.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
|
-
import {
|
|
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-
|
|
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-Csou60ZC.js';
|
|
4
4
|
import './config-state-kKn89dp1.js';
|
|
5
5
|
import './dinero-HXpYMWUU.js';
|
|
6
|
-
import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-
|
|
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-CTY3Jgn8.js';
|
|
10
10
|
import { B as Button } from './button-BvzOzV4l.js';
|
|
11
|
-
import { S as StyledHost } from './styled-host-
|
|
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-BOQqkWpf.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-
|
|
22
|
-
import './business-form-options-
|
|
20
|
+
import './schema-validations-CySYE883.js';
|
|
21
|
+
import './country-config-CEJVOOGe.js';
|
|
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-DNd24RUQ.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') }));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { S as StyledHost } from './styled-host-
|
|
2
|
+
import { S as StyledHost } from './styled-host-D84RBv1W.js';
|
|
3
3
|
import './event-types-CZfYo5-1.js';
|
|
4
4
|
|
|
5
5
|
const JustifiCardBillingFormSimple = class {
|
|
@@ -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-CTY3Jgn8.js';
|
|
3
|
+
import { c as checkPkgVersion } from './check-pkg-version-BOQqkWpf.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state-kKn89dp1.js';
|
|
5
|
-
import { S as StyledHost } from './styled-host-
|
|
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-DNd24RUQ.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
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-BFTU3MAI.js';
|
|
3
|
-
import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-
|
|
4
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
5
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
6
|
-
import './utils-
|
|
3
|
+
import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-C8qoMZLV.js';
|
|
4
|
+
import { J as JustifiAnalytics } from './Analytics-CTY3Jgn8.js';
|
|
5
|
+
import { c as checkPkgVersion } from './check-pkg-version-BOQqkWpf.js';
|
|
6
|
+
import './utils-CcA8Y5hs.js';
|
|
7
7
|
import './dinero-HXpYMWUU.js';
|
|
8
|
-
import './package-
|
|
9
|
-
import './Api-
|
|
8
|
+
import './package-DNd24RUQ.js';
|
|
9
|
+
import './Api-DjAL73GZ.js';
|
|
10
10
|
import './config-state-kKn89dp1.js';
|
|
11
11
|
import './index-cDVGjRkU.js';
|
|
12
12
|
import './Pagination-CLHwhyvu.js';
|