@justifi/webcomponents 6.13.0-rc.1 → 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-Be2I_aiS.js → Analytics-DaegoP5G.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-BNGOOokA.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 +13 -13
- 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-BKwTzSig.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 +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/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-D_HycaxE.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-BfrWk42V.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 +13 -13
- 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-DSavNeRB.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 +4 -4
- 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-015288c4.entry.js +1 -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-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-0f2a1ac9.entry.js +1 -0
- package/dist/webcomponents/p-1068ae13.entry.js +1 -0
- package/dist/webcomponents/p-14a03ad0.entry.js +1 -0
- package/dist/webcomponents/p-1a30f2d9.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-218b926a.entry.js +1 -0
- package/dist/webcomponents/p-25215ee7.entry.js +1 -0
- package/dist/webcomponents/{p-9fca25fc.entry.js → p-266870f0.entry.js} +1 -1
- package/dist/webcomponents/p-27c35a85.entry.js +1 -0
- package/dist/webcomponents/{p-DHFQtPCq.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-4a30693b.entry.js +1 -0
- package/dist/webcomponents/p-4fab9314.entry.js +1 -0
- package/dist/webcomponents/{p-b20b8805.entry.js → p-5218bcd0.entry.js} +1 -1
- package/dist/webcomponents/{p-a80f69a9.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-3d6b9434.entry.js → p-67364f1d.entry.js} +1 -1
- package/dist/webcomponents/{p-bd678d4a.entry.js → p-6bf4fea8.entry.js} +1 -1
- package/dist/webcomponents/p-6c3e9ebd.entry.js +1 -0
- 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-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-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-DP9ysr2K.js +1 -0
- package/dist/webcomponents/p-DPA5TKvQ.js +1 -0
- package/dist/webcomponents/p-DSavNeRB.js +1 -0
- package/dist/webcomponents/{p-CSgcCWLS.js → p-DXTa04jn.js} +1 -1
- package/dist/webcomponents/p-DYSc8uvs.js +1 -0
- 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-392f0c1c.entry.js → p-a1885b83.entry.js} +1 -1
- package/dist/webcomponents/p-a6b46f98.entry.js +1 -0
- package/dist/webcomponents/{p-0fb8fb8c.entry.js → p-a893d607.entry.js} +1 -1
- package/dist/webcomponents/p-b03e361e.entry.js +1 -0
- package/dist/webcomponents/{p-37fd1862.entry.js → p-c3a25333.entry.js} +1 -1
- package/dist/webcomponents/p-c60c4bed.entry.js +1 -0
- package/dist/webcomponents/{p-ff5c5499.entry.js → p-c885cbf6.entry.js} +4 -4
- package/dist/webcomponents/p-c8bcc54f.entry.js +1 -0
- package/dist/webcomponents/{p-8d602e60.entry.js → p-d0c889e7.entry.js} +1 -1
- package/dist/webcomponents/p-d554e0bb.entry.js +1 -0
- package/dist/webcomponents/p-d7e2ce48.entry.js +1 -0
- package/dist/webcomponents/p-ddb885c3.entry.js +1 -0
- package/dist/webcomponents/p-ddffdec9.entry.js +1 -0
- 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-aee2295b.entry.js → p-e3f8541c.entry.js} +1 -1
- 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-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-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
|
@@ -14,6 +14,7 @@ const initialState = {
|
|
|
14
14
|
isWalletProcessing: false,
|
|
15
15
|
applePayEnabled: false,
|
|
16
16
|
googlePayEnabled: false,
|
|
17
|
+
achPaymentsEnabled: false,
|
|
17
18
|
insuranceEnabled: false,
|
|
18
19
|
bnplProviderApiVersion: '',
|
|
19
20
|
bnplProviderCheckoutUrl: '',
|
|
@@ -21,6 +22,7 @@ const initialState = {
|
|
|
21
22
|
bnplProviderMode: '',
|
|
22
23
|
checkoutId: '',
|
|
23
24
|
checkoutLoaded: false,
|
|
25
|
+
checkoutMode: null,
|
|
24
26
|
bankAccountVerification: undefined,
|
|
25
27
|
disableBankAccount: false,
|
|
26
28
|
disableCreditCard: false,
|
|
@@ -48,6 +50,7 @@ Object.keys(initialState).forEach((key) => {
|
|
|
48
50
|
function getAvailablePaymentMethodTypes() {
|
|
49
51
|
var _a;
|
|
50
52
|
const methods = [];
|
|
53
|
+
const achAllowedForCheckout = !checkoutStore.checkoutLoaded || checkoutStore.achPaymentsEnabled;
|
|
51
54
|
if (!checkoutStore.disablePaymentMethodGroup &&
|
|
52
55
|
((_a = checkoutStore.paymentMethods) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
53
56
|
const hasSavedCard = checkoutStore.paymentMethods.some((pm) => pm.type === index$1.PAYMENT_METHODS.SAVED_CARD);
|
|
@@ -55,14 +58,16 @@ function getAvailablePaymentMethodTypes() {
|
|
|
55
58
|
if (hasSavedCard && !checkoutStore.disableCreditCard) {
|
|
56
59
|
methods.push(index$1.PAYMENT_METHODS.SAVED_CARD);
|
|
57
60
|
}
|
|
58
|
-
if (hasSavedBank &&
|
|
61
|
+
if (hasSavedBank &&
|
|
62
|
+
!checkoutStore.disableBankAccount &&
|
|
63
|
+
achAllowedForCheckout) {
|
|
59
64
|
methods.push(index$1.PAYMENT_METHODS.SAVED_BANK_ACCOUNT);
|
|
60
65
|
}
|
|
61
66
|
}
|
|
62
67
|
if (!checkoutStore.disableCreditCard) {
|
|
63
68
|
methods.push(index$1.PAYMENT_METHODS.NEW_CARD);
|
|
64
69
|
}
|
|
65
|
-
if (!checkoutStore.disableBankAccount) {
|
|
70
|
+
if (!checkoutStore.disableBankAccount && achAllowedForCheckout) {
|
|
66
71
|
methods.push(index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT);
|
|
67
72
|
}
|
|
68
73
|
if (checkoutStore.bnplEnabled) {
|
|
@@ -75,7 +80,8 @@ function getAvailablePaymentMethodTypes() {
|
|
|
75
80
|
methods.push(index$1.PAYMENT_METHODS.GOOGLE_PAY);
|
|
76
81
|
}
|
|
77
82
|
if (checkoutStore.bankAccountVerification === true &&
|
|
78
|
-
!checkoutStore.disableBankAccount
|
|
83
|
+
!checkoutStore.disableBankAccount &&
|
|
84
|
+
achAllowedForCheckout) {
|
|
79
85
|
methods.push(index$1.PAYMENT_METHODS.PLAID);
|
|
80
86
|
}
|
|
81
87
|
return methods;
|
|
@@ -30,24 +30,31 @@ const countryLabels = {
|
|
|
30
30
|
idNumberLabelOptional: 'SSN (optional)',
|
|
31
31
|
identityHelpText: 'Enter your full Social Security Number. It is required for Federal OFAC check.',
|
|
32
32
|
taxIdLabel: 'Tax ID (EIN or SSN)',
|
|
33
|
+
taxIdLabelOptional: '',
|
|
33
34
|
taxIdHelpText: "Employer Identification Numbers (EINs) are nine digits. The federal tax identification number/EIN issued to you by the IRS. It can be found on your tax returns. Enter value without dashes.",
|
|
34
35
|
},
|
|
35
36
|
CAN: {
|
|
36
|
-
stateLabel: 'Province',
|
|
37
|
-
postalLabel: 'Postal Code',
|
|
37
|
+
stateLabel: 'Province / State',
|
|
38
|
+
postalLabel: 'Postal / Zip Code',
|
|
38
39
|
idNumberLabel: 'SIN',
|
|
39
40
|
idNumberLabelOptional: 'SIN (optional)',
|
|
40
41
|
identityHelpText: 'Enter your full Social Insurance Number.',
|
|
41
42
|
taxIdLabel: 'Business Number (BN)',
|
|
43
|
+
taxIdLabelOptional: 'Business Number (BN) (optional)',
|
|
42
44
|
taxIdHelpText: 'Business Numbers (BN) are nine digits. Enter value without spaces or dashes.',
|
|
43
45
|
},
|
|
44
46
|
};
|
|
47
|
+
const provinceAndStateOptions = [
|
|
48
|
+
{ label: 'Choose province / state', value: '' },
|
|
49
|
+
...ProvinceOptions.filter(o => o.value !== ''),
|
|
50
|
+
...Business.StateOptions.filter(o => o.value !== ''),
|
|
51
|
+
];
|
|
45
52
|
const countryOptions = {
|
|
46
53
|
USA: {
|
|
47
54
|
stateOptions: Business.StateOptions,
|
|
48
55
|
},
|
|
49
56
|
CAN: {
|
|
50
|
-
stateOptions:
|
|
57
|
+
stateOptions: provinceAndStateOptions,
|
|
51
58
|
},
|
|
52
59
|
};
|
|
53
60
|
const countryValidation = {
|
|
@@ -57,12 +64,13 @@ const countryValidation = {
|
|
|
57
64
|
taxIdDigits: 9,
|
|
58
65
|
},
|
|
59
66
|
CAN: {
|
|
60
|
-
postalRegex: /^[A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d$/,
|
|
67
|
+
postalRegex: /^([A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d|[0-9]{5}(-[0-9]{4})?)$/,
|
|
61
68
|
identityDigits: 9,
|
|
62
69
|
taxIdDigits: 9,
|
|
63
70
|
},
|
|
64
71
|
};
|
|
65
72
|
|
|
73
|
+
exports.ProvinceOptions = ProvinceOptions;
|
|
66
74
|
exports.countryLabels = countryLabels;
|
|
67
75
|
exports.countryOptions = countryOptions;
|
|
68
76
|
exports.countryValidation = countryValidation;
|
|
@@ -1903,7 +1903,7 @@ const CustomPopper = class {
|
|
|
1903
1903
|
this.hideEvent.emit();
|
|
1904
1904
|
}
|
|
1905
1905
|
render() {
|
|
1906
|
-
return (index.h("div", { key: '
|
|
1906
|
+
return (index.h("div", { key: 'dd78d45fac5784e4e35b567edd830849d7a6e7e6' }, index.h("style", { key: '9eb0b20522bf597e5220c0ccd83e0ee7bd8e5b3e' }, `
|
|
1907
1907
|
.popper-content {
|
|
1908
1908
|
display: none;
|
|
1909
1909
|
}
|
|
@@ -1911,7 +1911,7 @@ const CustomPopper = class {
|
|
|
1911
1911
|
display: block;
|
|
1912
1912
|
z-index: 1030;
|
|
1913
1913
|
}
|
|
1914
|
-
`), index.h("div", { key: '
|
|
1914
|
+
`), index.h("div", { key: 'de0afbe656eacf34ed147beeeb8d5485b8e1c187', class: "popper-content", ref: (el) => this.popperContentRef = el }, index.h("slot", { key: 'ebb302495c71a1e5f1fd5236ce75495b5d4bc3b3' }))));
|
|
1915
1915
|
}
|
|
1916
1916
|
static get watchers() { return {
|
|
1917
1917
|
"anchorRef": ["onAnchorRefChange"]
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var utils$1 = require('./utils-
|
|
4
|
+
var utils$1 = require('./utils-D1CWnhex.js');
|
|
5
5
|
var parts = require('./parts-BXshb_S-.js');
|
|
6
6
|
var button = require('./button-CR9Rl1-o.js');
|
|
7
7
|
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
8
8
|
require('./event-types-YOY5TKUN.js');
|
|
9
|
-
var Plaid = require('./Plaid-
|
|
10
|
-
var utils = require('./utils-
|
|
11
|
-
var eventTypes = require('./event-types-
|
|
12
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
13
|
-
var Analytics = require('./Analytics-
|
|
9
|
+
var Plaid = require('./Plaid-QLOFOTeC.js');
|
|
10
|
+
var utils = require('./utils-BVM6JCW0.js');
|
|
11
|
+
var eventTypes = require('./event-types-DWDQKDv4.js');
|
|
12
|
+
var checkPkgVersion = require('./check-pkg-version-BNGOOokA.js');
|
|
13
|
+
var Analytics = require('./Analytics-DaegoP5G.js');
|
|
14
14
|
require('./dinero-BwNN_k7x.js');
|
|
15
|
-
require('./Api-
|
|
15
|
+
require('./Api-BioDE5he.js');
|
|
16
16
|
require('./config-state-BIgGhhe9.js');
|
|
17
17
|
require('./index-W-zoNiyM.js');
|
|
18
18
|
require('./Pagination-Dediz133.js');
|
|
19
19
|
require('./Business-oBifyXkW.js');
|
|
20
|
-
require('./package-
|
|
20
|
+
require('./package-BKwTzSig.js');
|
|
21
21
|
|
|
22
22
|
const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
|
|
23
23
|
var _a;
|
|
@@ -45,7 +45,7 @@ const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async (
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
finally {
|
|
48
|
-
|
|
48
|
+
final();
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
const makeSubmitDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
|
|
@@ -74,7 +74,7 @@ const makeSubmitDisputeResponse = ({ authToken, disputeId, service }) => async (
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
finally {
|
|
77
|
-
|
|
77
|
+
final();
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
80
|
const makeCreateDisputeEvidence = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
|
|
@@ -103,7 +103,7 @@ const makeCreateDisputeEvidence = ({ authToken, disputeId, service }) => async (
|
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
105
|
finally {
|
|
106
|
-
|
|
106
|
+
final();
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
|
|
@@ -143,7 +143,7 @@ const DisputeNotification = class {
|
|
|
143
143
|
}
|
|
144
144
|
// Fix for JavaScript Date object parsing
|
|
145
145
|
// https://stackoverflow.com/a/31732581
|
|
146
|
-
const dueDate = new Date(this.dispute.due_date.replace(/-/g, '
|
|
146
|
+
const dueDate = new Date(this.dispute.due_date.replace(/-/g, '/').replace(/T.+/, ''));
|
|
147
147
|
const today = new Date();
|
|
148
148
|
// Reset time to compare only dates
|
|
149
149
|
today.setHours(0, 0, 0, 0);
|
|
@@ -152,8 +152,8 @@ const DisputeNotification = class {
|
|
|
152
152
|
}
|
|
153
153
|
render() {
|
|
154
154
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
155
|
-
return (index.h("div", { key: '
|
|
156
|
-
_b.due_date, ") for this dispute has passed"), index.h("p", { key: '
|
|
155
|
+
return (index.h("div", { key: '325018c414e82b5c1bc7d9c5aa444b5a9d4e83d6', class: "dispute-notification-root" }, this.isLoading && (index.h("div", { key: 'deffb8ef248e32962aca084a564e83aa5f222b0a', style: { marginBottom: '8px' } }, index.h(skeleton.Skeleton, { key: '6f6c630b3122b1b2fd480470f5df7683f19de612', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), index.h(skeleton.Skeleton, { key: '11f46711fed1094496c64551f084351c08f598be', height: '18px', styles: { marginBottom: '8px' } }), index.h(skeleton.Skeleton, { key: 'fc7e2eac76e1cbc329147f3da39a8c28c51a7b6a', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && this.isDueDatePassed() && (index.h("div", { key: '0ef159acf9fe5b12dc0dcddab6b7583e5fc9a799', part: parts.text }, index.h("h1", { key: 'db263006990c5b4cf178f7f81650ad7602765532', class: "h4", part: parts.heading4 }, "The due date (", (_b = this.dispute) === null || _b === void 0 ? void 0 :
|
|
156
|
+
_b.due_date, ") for this dispute has passed"), index.h("p", { key: '185c6f952ef46e3aec625cab73c943b3046ef6b4' }, "You can no longer submit evidence to counter this dispute."))), ((_c = this.dispute) === null || _c === void 0 ? void 0 : _c.needsResponse) && !this.isDueDatePassed() && (index.h("div", { key: 'd4536104addc500277fbde990b7b33ba8ff54c7e', part: parts.text }, index.h("h1", { key: '198138cc6541c0aeeae458e2de1e3ae0c695328d', class: "h4", part: parts.heading4 }, "This payment is disputed"), index.h("p", { key: '6902ce5e3e94ab7f71ee6d0c6a7604ef97f0e740' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), index.h("h2", { key: 'f49d1ac855365480edc61e0af117230e2f3dbe1f', class: "h5" }, "Dispute details"), index.h("div", { key: 'f3868a098dbc4a613d676b8580c053527f9d5fad', class: "d-table gap-2" }, index.h("div", { key: '7699bc619b652ffe1c77cf6e5e0dac967679b1e6', class: "d-table-row gap-2" }, index.h("span", { key: '9de67b45877120f54f724f1efe7b3f4d4b035d30', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), index.h("span", { key: 'bfd79f86b5b81daf2a34f5874fcff03a05d1e64d', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, utils$1.formatCurrency((_d = this.dispute) === null || _d === void 0 ? void 0 : _d.amount))), index.h("div", { key: '0e57d56172859eb5857a1930cb837569157026d9', class: "d-table-row gap-2" }, index.h("span", { key: '0b615bd8f9a9add7d18d50be4f4f644707576de2', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), index.h("span", { key: '46288c67be32fe2d95fea88f5b0148f22552a2c9', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_e = this.dispute) === null || _e === void 0 ? void 0 : _e.reason)), index.h("div", { key: 'c68280b0f36280804fb6231236d942174c189456', class: "d-table-row gap-2" }, index.h("span", { key: 'ed3f145aa0f2c949b80d7033e4ecb818a4a4fa68', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Due Date"), index.h("span", { key: '4c4530acbc570fb13b5f53947714bd250ff99cab', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_f = this.dispute) === null || _f === void 0 ? void 0 : _f.due_date))), index.h("div", { key: '3244bb6bdbed2b4e28c479c2d4db2d0ae152f2f0', class: "d-flex gap-2 mt-4 justify-content-end" }, index.h(button.Button, { key: '3716a28cec93e70690ad96bfc0c5f3b7b56f8ecb', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), index.h(button.Button, { key: '7f326ed6f298c9f1091b160c63e386864329190e', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.underReview) && (index.h("div", { key: 'd705ae48c1f30b904ac31bbdbab9e955868f51e1', part: parts.text }, index.h("h1", { key: '712cebef3699a8c2a97bcb69ae68e0b491090c88', class: "h4", part: parts.heading4 }, "This payment is disputed and under review"), index.h("p", { key: 'ca95b2c8bdc6083a3fbb1dd63c6bdaa4699ae2a7' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_h = this.dispute) === null || _h === void 0 ? void 0 : _h.won) && (index.h("div", { key: 'c0cb4c8342aa4f022d76e95123a047b7b707f562', part: parts.text }, index.h("h1", { key: '797966d237d4b46eb1b880deb7fa21746f5b3b1e', class: "h4", part: parts.heading4 }, "This payment was disputed"), index.h("p", { key: '2f9eed1a5f34f772206112488af22aa8b35c07b6' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_j = this.dispute) === null || _j === void 0 ? void 0 : _j.lost) && (index.h("div", { key: '9a90af51218ed921e27519363995f12e29713bfd', part: parts.text }, index.h("h1", { key: '736ee5cf8f65d780d4812e24ea9050dcc0d109a4', class: "h4", part: parts.heading4 }, "This payment was disputed"), index.h("p", { key: '9ca83087b028e1078bcc2cd0b552e8f5379932d1' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
159
|
|
|
@@ -354,7 +354,7 @@ const DisputeResponse = class {
|
|
|
354
354
|
return this.currentStep === 0;
|
|
355
355
|
}
|
|
356
356
|
render() {
|
|
357
|
-
return (index.h("div", { key: '
|
|
357
|
+
return (index.h("div", { key: '7f9c8d56cfb86cea73ab2f299b83ff0de28f5c3e', class: "dispute-response-root" }, index.h("div", { key: 'a805bf54df79453127557bf651c3d776a381241f', class: "row gy-3" }, index.h("div", { key: '2e6bc9cbe369e0ea5d200bc0934b4cad50f3c76f', class: "col-12" }, index.h("h1", { key: '9876e9c87c6dfb405e7bad46d64fdb40ad048142', class: "h4", part: parts.heading4 }, "Counter dispute")), index.h("div", { key: '045028232da5331c7041ad222c4e98364674ace3', class: "col-12" }, this.currentStepComponent), index.h("div", { key: '0455c4856a44340ce25c1c4c8f776abb197f919f', class: "col-12" }, index.h("div", { key: '5b990cc1d41b3a7152d727c941e9758ed70f75a1', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (index.h(button.Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (index.h(button.Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (index.h(button.Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (index.h(button.Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next")))))));
|
|
358
358
|
}
|
|
359
359
|
static get watchers() { return {
|
|
360
360
|
"disputeId": ["propChanged"],
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
4
|
var Business = require('./Business-oBifyXkW.js');
|
|
5
5
|
var utils = require('./utils-DAyWinG2.js');
|
|
6
|
-
var countryConfig = require('./country-config-
|
|
6
|
+
var countryConfig = require('./country-config-C1bWmF8P.js');
|
|
7
7
|
var index$1 = require('./index-1MT3Z4XI.js');
|
|
8
8
|
var parts = require('./parts-BXshb_S-.js');
|
|
9
9
|
var formControlErrorText = require('./form-control-error-text-BO58Y6zF.js');
|
|
@@ -86,10 +86,10 @@ const FormControlNumberMasked = class {
|
|
|
86
86
|
return parts.input;
|
|
87
87
|
}
|
|
88
88
|
render() {
|
|
89
|
-
return (index.h(index.Host, { key: '
|
|
89
|
+
return (index.h(index.Host, { key: '0ff6ce9901d9e804d1b82f9e8830a6d2a4cab67f' }, index.h("div", { key: '1846069b3d0682c1c1059a9a6192610dc6ac7e66', class: "form-group d-flex flex-column" }, index.h("div", { key: '2739a42086660392c2c508c37cdb387303efe592', class: "d-flex align-items-start gap-2" }, index.h("label", { key: 'e2e8149f7284cdfc0548131afa0c0a1d8f2e9385', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: 'ed0552645fd9929fa10ccd56dae495f27283c168', helpText: this.helpText })), index.h("input", { key: '1f52622e4724ac43f8b430f4742b6f9ed0a5ccf6', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => (this.isFocused = true), onBlur: () => {
|
|
90
90
|
this.isFocused = false;
|
|
91
91
|
this.formControlBlur.emit();
|
|
92
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
92
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), index.h(formControlErrorText.FormControlErrorText, { key: '2cce6d31bf2ff20a8c32e1e3d28e1cb8040b192b', errorText: this.errorText, name: this.name }))));
|
|
93
93
|
}
|
|
94
94
|
static get watchers() { return {
|
|
95
95
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -42,10 +42,10 @@ const FormControlCheckbox = class {
|
|
|
42
42
|
return parts.inputCheckbox;
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (index.h(index.Host, { key: '
|
|
45
|
+
return (index.h(index.Host, { key: 'dc2fdbd7fd92a0205b15e4b302458d8f0d775b35' }, index.h("div", { key: 'f32f7d5cb559282cece071f3623bdab80998bc04', class: 'form-group d-flex flex-column' }, index.h("div", { key: '5481439484b97ad733a0051f1722a5c3ed45778d', class: "form-check" }, index.h("input", { key: '9e96a563e5b0b1a9589dff7eb4f3eb3038d4918b', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
46
46
|
this.isFocused = false;
|
|
47
47
|
this.formControlBlur.emit();
|
|
48
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), index.h("label", { key: '
|
|
48
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), index.h("label", { key: '11a27a415d7741d8a29dde8d1fd029c2e143f235', class: "form-check-label", htmlFor: this.name, part: parts.label }, this.label)), index.h(formControlHelpText.FormControlHelpText, { key: '3e0ef15182200a48d3cf3142c3511a0ad8095db3', helpText: this.helpText, name: this.name }), index.h(formControlErrorText.FormControlErrorText, { key: 'e85175ea76f6073d7ee813a3f2d8eaecc044601a', errorText: this.errorText, name: this.name }))));
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
|
|
@@ -49,10 +49,10 @@ const FormControlDate = class {
|
|
|
49
49
|
return part;
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (index.h(index.Host, { key: '
|
|
52
|
+
return (index.h(index.Host, { key: 'a7bf2b14b5b1d29ea4ae370c440d9fbeac550ca4' }, index.h("div", { key: 'bdb2162f367f5fdec34fae2d8732d084958246da', class: "form-group d-flex flex-column" }, index.h("div", { key: 'eb9483d77d8f1d1effd3278b83e4540b6017ee4c', class: "d-flex gap-2" }, index.h("label", { key: '2947a82052e88c4bb44d9d32e409d7a39baf157f', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: 'edfbc6ddb02cb5d70abd0867f8da8bab860ba598', helpText: this.helpText })), index.h("input", { key: '2a2d8d464e330ae2ba56f76dadede59c180cdcb6', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
53
53
|
this.isFocused = false;
|
|
54
54
|
this.formControlBlur.emit();
|
|
55
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
55
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), index.h(formControlErrorText.FormControlErrorText, { key: '8837370dd05097b6d43489855ac87eff8270ae25', errorText: this.errorText, name: this.name }))));
|
|
56
56
|
}
|
|
57
57
|
static get watchers() { return {
|
|
58
58
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -14,7 +14,7 @@ const FormControlFileV2 = class {
|
|
|
14
14
|
this.disabled = false;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (index.h(index.Host, { key: '
|
|
17
|
+
return (index.h(index.Host, { key: '52fee4080e9475313f4043c1a1e116d07881fd72', exportparts: "label,input,input-invalid" }, index.h("div", { key: 'efe6ee7fae0693fad8086e7849fdc03a01525368', class: "form-group d-flex flex-column" }, index.h("div", { key: 'dd224535e329aa82cc86be2f32f40b4a8904e1bc', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '6cee04c50d6eaba123d00ee5ffdad036e46bbf7d', part: "label", class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '30e545c71fa6a5e4eac985ea6073dc5b2ab78629', helpText: this.helpText })), index.h("input", { key: '3ba7425da1d80314acdd0050c90aa8a795473584', type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onBlur: () => this.formControlBlur.emit(), onChange: () => this.errorText = "" }), index.h(formControlErrorText.FormControlErrorText, { key: '9ad4526e2937d98d555b325e60d20dc7305ee786', errorText: this.errorText, name: this.name }))));
|
|
18
18
|
}
|
|
19
19
|
get el() { return index.getElement(this); }
|
|
20
20
|
};
|
|
@@ -64,10 +64,10 @@ const FormControlTextarea = class {
|
|
|
64
64
|
return parts.input;
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
|
-
return (index.h(index.Host, { key: '
|
|
67
|
+
return (index.h(index.Host, { key: 'f6c4833f4a582e5b310b89356716acce6ef24f8f' }, index.h("div", { key: 'dc576c3df86ede178fef9dd2975ea2307fd1bd5f', class: "form-group d-flex flex-column" }, index.h("label", { key: '4217d6bbe9fb6331c2ab5e9d043659079a7af1dc', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("textarea", { key: '42ab7f076431ee0a1e744eb648de1590e39554f7', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
68
68
|
this.isFocused = false;
|
|
69
69
|
this.formControlBlur.emit();
|
|
70
|
-
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), index.h("form-control-help-text", { key: '
|
|
70
|
+
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), index.h("form-control-help-text", { key: 'a1d8a2b674e5faf81c778a07ca270094f77e7281', helpText: this.helpText, name: this.name }), index.h("form-control-error-text", { key: 'a47839b4edc4007b6c9dfc1b6689dd1e1750cc60', errorText: this.errorText, name: this.name }))));
|
|
71
71
|
}
|
|
72
72
|
get el() { return index.getElement(this); }
|
|
73
73
|
static get watchers() { return {
|
|
@@ -48,10 +48,10 @@ const FormControlFile = class {
|
|
|
48
48
|
return part;
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (index.h(index.Host, { key: '
|
|
51
|
+
return (index.h(index.Host, { key: '9463f54c8850245de8d3ae92a45447fe8d2ce329' }, index.h("div", { key: 'fec5946a226ef5c270514e6b1f8a95de60d6bcb0', class: "form-group d-flex flex-column" }, index.h("div", { key: '95783cbeab704b1b970af6619191667991814e73', class: "d-flex align-items-start gap-2" }, index.h("label", { key: 'c258720ecba808fcf18d3408569b4e391ca0e31f', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '280b23806bc9616506eb56025318b5c6fe395762', helpText: this.helpText })), index.h("input", { key: '2fcdd1ad6c923de9b28587ee3d1349d0fdf021eb', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
52
52
|
this.isFocused = false;
|
|
53
53
|
this.formControlBlur.emit();
|
|
54
|
-
} }), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
54
|
+
} }), index.h(formControlErrorText.FormControlErrorText, { key: 'df64bb1a0ac921da01fa8a4c3b63a8f5880781d2', errorText: this.errorText, name: this.name }))));
|
|
55
55
|
}
|
|
56
56
|
get el() { return index.getElement(this); }
|
|
57
57
|
};
|
|
@@ -5,7 +5,7 @@ var parts = require('./parts-BXshb_S-.js');
|
|
|
5
5
|
var formControlHelpText = require('./form-control-help-text-BdbTxD5g.js');
|
|
6
6
|
var formControlErrorText = require('./form-control-error-text-BO58Y6zF.js');
|
|
7
7
|
require('./event-types-YOY5TKUN.js');
|
|
8
|
-
var utils = require('./utils-
|
|
8
|
+
var utils = require('./utils-D1CWnhex.js');
|
|
9
9
|
require('./dinero-BwNN_k7x.js');
|
|
10
10
|
|
|
11
11
|
const FormControlMonetary = class {
|
|
@@ -51,10 +51,10 @@ const FormControlMonetary = class {
|
|
|
51
51
|
return parts.input;
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (index.h(index.Host, { key: '
|
|
54
|
+
return (index.h(index.Host, { key: '6b13b9d4871571ab80480c044b813f70db17a85b' }, index.h("div", { key: 'de33d4a9dc8c5b5048c8b95d9c860433cb488c7c', class: "form-group d-flex flex-column" }, index.h("label", { key: 'e243e257c45018233a948c880e4fb15676f1b776', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h(formControlHelpText.FormControlHelpText, { key: 'c490aa1db17d5a181666631cd95c509dbb32aece', name: this.name, helpText: this.helpText }), index.h("div", { key: '69dd679301294e3c6a31ce0b880ec291ee6cf23e', class: "input-group" }, index.h("span", { key: '71ed3716a7ea67933950b2140db4552799968193', class: "input-group-text", part: parts.inputAdornment }, "$"), index.h("input", { key: 'a1ddad4f875b56fde2d1a0054dd2cfe0c3797e0d', ref: el => this.formControl = el, id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
55
55
|
this.isFocused = false;
|
|
56
56
|
this.formControlBlur.emit();
|
|
57
|
-
}, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
57
|
+
}, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), index.h(formControlErrorText.FormControlErrorText, { key: '6bce010df58a187981efcad682cdc54150422bd6', errorText: this.errorText, name: this.name }))));
|
|
58
58
|
}
|
|
59
59
|
static get watchers() { return {
|
|
60
60
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -7,8 +7,9 @@ var formControlErrorText = require('./form-control-error-text-BO58Y6zF.js');
|
|
|
7
7
|
require('./event-types-YOY5TKUN.js');
|
|
8
8
|
var formInputMasks = require('./form-input-masks-BnNFJ3IJ.js');
|
|
9
9
|
var inputHandlers = require('./input-handlers-_51J5q7J.js');
|
|
10
|
-
var
|
|
11
|
-
require('./
|
|
10
|
+
var Business = require('./Business-oBifyXkW.js');
|
|
11
|
+
var countryConfig = require('./country-config-C1bWmF8P.js');
|
|
12
|
+
var businessFormOptions = require('./business-form-options-CnlrfbQ6.js');
|
|
12
13
|
|
|
13
14
|
const FormControlNumber = class {
|
|
14
15
|
constructor(hostRef) {
|
|
@@ -49,10 +50,10 @@ const FormControlNumber = class {
|
|
|
49
50
|
return parts.input;
|
|
50
51
|
}
|
|
51
52
|
render() {
|
|
52
|
-
return (index.h(index.Host, { key: '
|
|
53
|
+
return (index.h(index.Host, { key: 'a47de1fbb4fbd97b47c4dc934d58a628c65f1dbf' }, index.h("div", { key: 'bbd063c3f0c68bdad5f1849fed8ac318ebb423ef', class: 'form-group d-flex flex-column' }, index.h("label", { key: '796cb0253dc523ceb21464f3ce528509abffecfa', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("input", { key: '8ceaf162d7db2c639b679a431dea7b962593eb09', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
53
54
|
this.isFocused = false;
|
|
54
55
|
this.formControlBlur.emit();
|
|
55
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), index.h(formControlHelpText.FormControlHelpText, { key: '
|
|
56
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), index.h(formControlHelpText.FormControlHelpText, { key: '6935e075c057a55f0af02051eb97310b187ae807', helpText: this.helpText, name: this.name }), index.h(formControlErrorText.FormControlErrorText, { key: '019b48db586768219622e657e121772e4f0203c5', errorText: this.errorText, name: this.name }))));
|
|
56
57
|
}
|
|
57
58
|
get el() { return index.getElement(this); }
|
|
58
59
|
static get watchers() { return {
|
|
@@ -73,14 +74,14 @@ const OwnerFormInputs = class {
|
|
|
73
74
|
}
|
|
74
75
|
render() {
|
|
75
76
|
var _a, _b, _c;
|
|
76
|
-
return (index.h("div", { key: '
|
|
77
|
+
return (index.h("div", { key: '6f4bb241699db7c16cb99016363cbbc1a4484a4a', class: "row gy-3" }, index.h("div", { key: 'fc0317736a62ac34f98f2b7a43a5073d785dfa0d', class: "col-12 col-md-8" }, index.h("form-control-text", { key: '8123035dfd371841e0830d0019c425d25977c160', name: "name", label: "Full Name", defaultValue: this.ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { key: 'a16e9ecc81fd4965d3a42b2569a7ea0615ecbf97', class: "col-12 col-md-4" }, index.h("form-control-select", { key: 'bd9b0ee5c7cf45ac3d67da96f951f167c93033e0', name: "title", label: "Title", options: businessFormOptions.businessTitleOptions, defaultValue: this.ownerDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), index.h("div", { key: '5376a38a98ad715a3159ccf4e8c8e54b48fa1c7c', class: "col-12 col-md-6" }, index.h("form-control-text", { key: '7d08e58ae5fc15d5299c8646d5260602a51b9fbf', name: "email", label: "Email Address", defaultValue: this.ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: '6f80f898cb354b40d8d6784110abd5a1c49ff9d9', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: '8a7d577c4c1c5b54f733ee51a1970c17de27d0b0', name: "phone", label: "Phone Number", defaultValue: this.ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US })), index.h("div", { key: '5ace697b3fb38b52dca74ccd49207498b779ade8', class: "col-12 col-md-3" }, index.h("form-control-date", { key: 'ec8d614b62fe2913c52fd228e7df1fef1b1d7d83', name: "dob_full", label: "Birth Date", defaultValue: this.ownerDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => inputHandlers.updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), index.h("div", { key: '8fad1824571295e3464d26191eb23d373591e47d', class: "col-12 col-md-3" }, index.h("form-control-number", { key: 'c0ffdbf26ea5d65de8c3e98c2cd7d03430d4a8c2', name: "ownership_percentage", label: "% of Ownership", defaultValue: (_a = this.ownerDefaultValue) === null || _a === void 0 ? void 0 : _a.ownership_percentage, errorText: this.errors.ownership_percentage, inputHandler: this.inputHandler })), index.h("div", { key: '94d93a03f2513bb69da43bd68c3fddc62dbc18d6', class: "col-12 col-md-6" }, (!((_b = this.ownerDefaultValue) === null || _b === void 0 ? void 0 : _b.ssn_last4) || this.isEditingIdentification) ? (index.h("form-control-number-masked", { name: "identification_number", label: this.country === Business.CountryCode.CAN ? countryConfig.countryLabels[this.country].idNumberLabelOptional : countryConfig.countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : this.ownerDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: formInputMasks.IDENTITY_MASKS[this.country], helpText: countryConfig.countryLabels[this.country].identityHelpText })) : (index.h("div", null, index.h("label", { class: "form-label", part: parts.label }, this.country === Business.CountryCode.CAN ? countryConfig.countryLabels[this.country].idNumberLabelOptional : countryConfig.countryLabels[this.country].idNumberLabel), index.h("div", { class: "input-group mb-3" }, index.h("input", { type: "text", class: "form-control", part: parts.inputDisabled, value: `****${(_c = this.ownerDefaultValue) === null || _c === void 0 ? void 0 : _c.ssn_last4}`, disabled: true }), index.h("button", { class: "btn btn-secondary", type: "button", part: parts.buttonSecondary, onClick: () => {
|
|
77
78
|
this.isEditingIdentification = true;
|
|
78
79
|
// Clear last4 and current value to force validation
|
|
79
80
|
inputHandlers.updateFormValues(this.formController, {
|
|
80
81
|
ssn_last4: null,
|
|
81
82
|
identification_number: ''
|
|
82
83
|
});
|
|
83
|
-
} }, "Change"))))), index.h("div", { key: '
|
|
84
|
+
} }, "Change"))))), index.h("div", { key: '63d73015c84a1ab370b6686a643797b92096212f', class: "col-12" }, index.h("identity-address-form", { key: '4eff1f856b32e6d31cc18315b5b338c932723cf9', errors: this.errors.address, defaultValues: this.ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))));
|
|
84
85
|
}
|
|
85
86
|
;
|
|
86
87
|
};
|
|
@@ -35,10 +35,10 @@ const FormControlRadio = class {
|
|
|
35
35
|
return parts.inputRadio;
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (index.h(index.Host, { key: '
|
|
38
|
+
return (index.h(index.Host, { key: '0c6362e375e04d23c7e31a6be9ea6a43fbfdaac2', class: 'form-group d-flex flex-column' }, index.h("div", { key: '81b22f74d5b872318e121a2be0cbd8108c3f32ec', class: "form-check" }, index.h("input", { key: '903e8b0ad9cb30241d175da091de758bf4ac2471', ref: el => (this.radioElement = el), type: "radio", id: `${this.name}-${this.value}`, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
39
39
|
this.isFocused = false;
|
|
40
40
|
this.formControlBlur.emit();
|
|
41
|
-
}, onChange: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value, checked: this.checked }), index.h("label", { key: '
|
|
41
|
+
}, onChange: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value, checked: this.checked }), index.h("label", { key: 'df1402687b5965cbbd41ab65dc3de46a2e6e86b8', class: "form-check-label", htmlFor: `${this.name}-${this.value}`, part: parts.label }, this.label)), index.h("form-control-help-text", { key: 'cf5498002674765b9cc5a0a09be1851be4221e9f', helpText: this.helpText, name: this.name }), index.h("form-control-error-text", { key: 'c5b50668f0451d1d5cbf94c1399057758ac93a5e', errorText: this.errorText, name: this.name })));
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
|
|
@@ -42,10 +42,10 @@ const FormControlSelect = class {
|
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
44
|
var _a;
|
|
45
|
-
return (index.h(index.Host, { key: '
|
|
45
|
+
return (index.h(index.Host, { key: 'bf6556107b1f272aa6bc4f89cb0f2a889f8b9d1d' }, index.h("div", { key: 'be1644d78987676c9af452831e25c3effc31a67c', class: "form-group d-flex flex-column" }, index.h("div", { key: '62eaea4bdbee959d6e785c00c4f41f642c0a16af', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '641ada798c78ca0c649ec76029c157069636838b', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '3a04fe21799a54e402e8afead34b60898c804af4', helpText: this.helpText })), index.h("select", { key: '54188864be36aed540647275cd84eae738eb633f', ref: el => (this.selectElement = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
46
46
|
this.isFocused = false;
|
|
47
47
|
this.formControlBlur.emit();
|
|
48
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (index.h("option", { value: option.value }, option.label)))), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
48
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (index.h("option", { value: option.value }, option.label)))), index.h(formControlErrorText.FormControlErrorText, { key: '387753bf79494f44a91858175af74d48a9e9c051', errorText: this.errorText, name: this.name }))));
|
|
49
49
|
}
|
|
50
50
|
static get watchers() { return {
|
|
51
51
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -90,10 +90,10 @@ const FormControlText = class {
|
|
|
90
90
|
return parts.input;
|
|
91
91
|
}
|
|
92
92
|
render() {
|
|
93
|
-
return (index.h(index.Host, { key: '
|
|
93
|
+
return (index.h(index.Host, { key: '5732a2a92dd945b8520e277bf10e22ea296b0949' }, index.h("div", { key: '9f58456015584c0cd945686e8bc7d629f46a39a2', class: "form-group d-flex flex-column" }, index.h("div", { key: '1dccca5e3f97a41e895e7572f24f0e21d2b912c1', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '54d52a444a22f460579911ecf869633b041bcab9', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '65f9c29cb659be24d88697c72dac422c70431209', helpText: this.helpText })), index.h("input", { key: 'ba4b46b0e3e66112ed90e64425de6fd9c97559d2', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
94
94
|
this.isFocused = false;
|
|
95
95
|
this.formControlBlur.emit();
|
|
96
|
-
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
96
|
+
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), index.h(formControlErrorText.FormControlErrorText, { key: 'f7bf2c8f5f1c30cfdc4e6c2927434a50f7f58add', errorText: this.errorText, name: this.name }))));
|
|
97
97
|
}
|
|
98
98
|
get el() { return index.getElement(this); }
|
|
99
99
|
static get watchers() { return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var Business = require('./Business-oBifyXkW.js');
|
|
4
|
-
var Plaid = require('./Plaid-
|
|
5
|
-
var utils = require('./utils-
|
|
4
|
+
var Plaid = require('./Plaid-QLOFOTeC.js');
|
|
5
|
+
var utils = require('./utils-BVM6JCW0.js');
|
|
6
6
|
|
|
7
7
|
const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError, final }) => {
|
|
8
8
|
var _a;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
require('./config-state-BIgGhhe9.js');
|
|
4
4
|
require('./dinero-BwNN_k7x.js');
|
|
5
|
-
var Plaid = require('./Plaid-
|
|
5
|
+
var Plaid = require('./Plaid-QLOFOTeC.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
7
|
require('./Business-oBifyXkW.js');
|
|
8
|
-
var utils = require('./utils-
|
|
8
|
+
var utils = require('./utils-BVM6JCW0.js');
|
|
9
9
|
|
|
10
10
|
const makeGetPaymentDetails = ({ id, authToken, service }) => async ({ onSuccess, onError, final }) => {
|
|
11
11
|
var _a;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Api = require('./Api-
|
|
4
|
-
var Plaid = require('./Plaid-
|
|
3
|
+
var Api = require('./Api-BioDE5he.js');
|
|
4
|
+
var Plaid = require('./Plaid-QLOFOTeC.js');
|
|
5
5
|
require('./Pagination-Dediz133.js');
|
|
6
6
|
require('./Business-oBifyXkW.js');
|
|
7
7
|
require('./config-state-BIgGhhe9.js');
|
|
8
8
|
require('./dinero-BwNN_k7x.js');
|
|
9
|
-
var utils = require('./utils-
|
|
9
|
+
var utils = require('./utils-BVM6JCW0.js');
|
|
10
10
|
|
|
11
11
|
const api = Api.Api();
|
|
12
12
|
class SubAccountService {
|
|
@@ -5,7 +5,7 @@ var index = require('./index-W-zoNiyM.js');
|
|
|
5
5
|
var parts = require('./parts-BXshb_S-.js');
|
|
6
6
|
var _commonjsHelpers = require('./_commonjsHelpers-BJu3ubxk.js');
|
|
7
7
|
var formControlErrorText = require('./form-control-error-text-BO58Y6zF.js');
|
|
8
|
-
var _package = require('./package-
|
|
8
|
+
var _package = require('./package-BKwTzSig.js');
|
|
9
9
|
|
|
10
10
|
const iframeInputStylesStore = index.createStore({
|
|
11
11
|
focused: {
|
|
@@ -78,7 +78,7 @@ const HiddenInput = class {
|
|
|
78
78
|
this.focusWithoutPageScroll(this.hiddenInput);
|
|
79
79
|
setTimeout(() => {
|
|
80
80
|
this.hiddenInput.blur();
|
|
81
|
-
|
|
81
|
+
const computedStyles = getComputedStyle(this.hiddenInput);
|
|
82
82
|
resolve({
|
|
83
83
|
boxShadow: computedStyles.boxShadow,
|
|
84
84
|
border: computedStyles.border,
|
|
@@ -114,7 +114,7 @@ const HiddenInput = class {
|
|
|
114
114
|
return parts.input;
|
|
115
115
|
}
|
|
116
116
|
render() {
|
|
117
|
-
return (index$1.h(index$1.Host, { key: '
|
|
117
|
+
return (index$1.h(index$1.Host, { key: 'c3b2f0cb5160d888b3ecbaca95285749c0b71002' }, index$1.h("input", { key: 'f6d0ad00733d086dfa09b646f7599d60f91e5f50', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
120
|
|
|
@@ -1729,10 +1729,10 @@ const IframeInput = class {
|
|
|
1729
1729
|
return params;
|
|
1730
1730
|
}
|
|
1731
1731
|
render() {
|
|
1732
|
-
return (index$1.h(index$1.Host, { key: '
|
|
1732
|
+
return (index$1.h(index$1.Host, { key: '60e76f1a33ddd4ea5b89cd31a1b6906ff53c5ddb', class: "form-group d-flex flex-column" }, index$1.h("div", { key: '5fdef33ae8deb616929478d06fddc01b97233f0a', style: {
|
|
1733
1733
|
visibility: this.iframeLoaded ? 'visible' : 'hidden',
|
|
1734
1734
|
height: this.iframeLoaded ? 'auto' : '0',
|
|
1735
|
-
} }, index$1.h("label", { key: '
|
|
1735
|
+
} }, index$1.h("label", { key: 'e37adecf5024d4c77561d3ca269f49c398fc8fd7', class: "form-label", htmlFor: "", part: parts.label }, this.label || ''), index$1.h("div", { key: '206a703cd84d713155aa754576410f495b4329fe', class: `p-0 d-flex form-control ${this.isValid ? '' : 'is-invalid'}`, part: this.part, style: Object.assign(Object.assign({}, this.style), { overflow: 'hidden' }) }, index$1.h("iframe", { key: '214ecd5b4fa9d075b91ea73b9edd09fdfa0cdf12', id: this.inputId, name: this.inputId, src: `${this.iframeOrigin}?${this.urlParams}`, ref: el => {
|
|
1736
1736
|
this.iframeElement = el;
|
|
1737
1737
|
this.initializeFrameCommunicationService();
|
|
1738
1738
|
}, width: "100%", onLoad: () => {
|
|
@@ -1742,7 +1742,7 @@ const IframeInput = class {
|
|
|
1742
1742
|
this.iframeLoaded.emit();
|
|
1743
1743
|
}
|
|
1744
1744
|
}, this.iframeElement);
|
|
1745
|
-
} })), index$1.h(formControlErrorText.FormControlErrorText, { key: '
|
|
1745
|
+
} })), index$1.h(formControlErrorText.FormControlErrorText, { key: 'bec41e86a063eacb8f1f741b446c64db540d9e4d', errorText: this.errorText, name: this.inputId }))));
|
|
1746
1746
|
}
|
|
1747
1747
|
get el() { return index$1.getElement(this); }
|
|
1748
1748
|
};
|