@justifi/webcomponents 6.12.7-rc.3 → 6.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/cjs/{Analytics-GYqUuEeO.js → Analytics-DaegoP5G.js} +3 -3
- package/dist/cjs/{Api-Bukk55YZ.js → Api-BioDE5he.js} +1 -1
- package/dist/cjs/{Plaid-6FYKaSTI.js → Plaid-QLOFOTeC.js} +3 -3
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
- package/dist/cjs/additional-questions-form-step_15.cjs.entry.js +37 -27
- package/dist/cjs/additional-questions_5.cjs.entry.js +1 -1
- package/dist/cjs/additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +5 -5
- package/dist/cjs/bank-account-document-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/bank-account-form.cjs.entry.js +34 -5
- package/dist/cjs/{business-identity-schema-CC1wOwXd.js → business-identity-schema-BA385xf-.js} +3 -3
- package/dist/cjs/{business.service-t-p3-gP-.js → business.service-DOGeb2O6.js} +2 -2
- package/dist/cjs/card-form.cjs.entry.js +5 -5
- package/dist/cjs/{check-pkg-version-wcoV7eK1.js → check-pkg-version-BNGOOokA.js} +1 -1
- package/dist/cjs/checkout-actions-CjR16i7o.js +62 -0
- package/dist/cjs/{checkout.service-BiLHhmjP.js → checkout.service-Bdr5qUHj.js} +2 -2
- package/dist/cjs/{checkout.store-CztwuCnG.js → checkout.store-CZHrIuaP.js} +9 -3
- package/dist/cjs/{country-config-Ck-eEeZZ.js → country-config-C1bWmF8P.js} +9 -4
- package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
- package/dist/cjs/dispute-notification_2.cjs.entry.js +15 -15
- package/dist/cjs/{event-types-DcN23uI_.js → event-types-DWDQKDv4.js} +2 -2
- package/dist/cjs/form-address-fields_3.cjs.entry.js +3 -3
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-file.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary.cjs.entry.js +3 -3
- package/dist/cjs/form-control-number_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
- package/dist/cjs/{get-business-BqO_Sa6H.js → get-business-CrxvWZh6.js} +2 -2
- package/dist/cjs/{get-payment-details-Cs-P5xoW.js → get-payment-details-iCEkGDy4.js} +2 -2
- package/dist/cjs/{get-subaccounts-BbiIbUED.js → get-subaccounts-Dgl7ECtg.js} +3 -3
- package/dist/cjs/hidden-input_2.cjs.entry.js +6 -6
- package/dist/cjs/{insurance-state-Xe2auE-N.js → insurance-state-B-XQRmMs.js} +1 -1
- package/dist/cjs/internal-button.cjs.entry.js +1 -1
- package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +62 -92
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +7 -7
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +17 -7
- package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
- package/dist/cjs/justifi-billing-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-business-form.cjs.entry.js +12 -12
- package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +7 -7
- package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +3141 -0
- package/dist/cjs/justifi-checkout.cjs.entry.js +9 -9
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +11 -11
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +9 -9
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +10 -10
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payment-details.cjs.entry.js +17 -17
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payout-details.cjs.entry.js +12 -12
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -14
- package/dist/cjs/justifi-qr-terminal.cjs.entry.js +208 -0
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +11 -11
- package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +9 -9
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -13
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-BJUD_YSJ.js → package-BKwTzSig.js} +1 -1
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment-provisioning-actions-Dnvqbh2N.js → payment-provisioning-actions-B4x7lnyF.js} +9 -9
- package/dist/cjs/{payment.service-DWK3fO_g.js → payment.service-a5EL3s2d.js} +2 -2
- package/dist/cjs/{payout.service-Cjc3PPfP.js → payout.service-BJtGBHsQ.js} +2 -2
- package/dist/cjs/{payouts-status-DluZkb6X.js → payouts-status-viYMBknO.js} +2 -2
- package/dist/cjs/{plaid.service-BaHuE_zZ.js → plaid.service-DpiLY-5D.js} +2 -2
- package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
- package/dist/cjs/save-new-payment-method.cjs.entry.js +2 -2
- package/dist/cjs/{schema-validations-DackMxv7.js → schema-validations-C2XsZnqK.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-DmlAGx7U.js → terminal.service-DN2A-bNx.js} +2 -2
- package/dist/cjs/{utils-dnVbB8d6.js → utils-BVM6JCW0.js} +1 -1
- package/dist/cjs/{utils-BHi4j5rB.js → utils-D1CWnhex.js} +4 -4
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/actions/payment/get-payments.js +1 -1
- package/dist/collection/actions/refund/refund-actions.js +1 -1
- package/dist/collection/actions/terminal/get-terminal-orders.js +1 -1
- package/dist/collection/actions/void/void-actions.js +1 -1
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-options.js +23 -13
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-actions.js +7 -7
- package/dist/collection/components/business-forms/schemas/business-address-schema.js +1 -1
- package/dist/collection/components/business-forms/schemas/schema-helpers.js +1 -1
- package/dist/collection/components/business-forms/utils/country-config.js +9 -4
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +30 -2
- package/dist/collection/components/checkout/billing-form/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/checkout/billing-form/card-billing-form-simple.js +1 -1
- package/dist/collection/components/checkout/billing-form/justifi-billing-form.js +1 -1
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/justifi-checkout.js +21 -2
- package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/save-new-payment-method/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout-qr-code/justifi-checkout-qr-code.js +128 -0
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
- package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +2 -2
- package/dist/collection/components/dispute-management/dispute-notification.js +3 -3
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-actions.js +3 -3
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/dispute-management/justifi-dispute-management.js +1 -1
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/filters/utils.js +1 -1
- package/dist/collection/components/gross-payment-chart/chart-utils.js +3 -3
- package/dist/collection/components/insurance/insurance-state.js +1 -1
- package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +19 -13
- package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +0 -21
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +11 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-google-pay.js +10 -6
- package/dist/collection/components/modular-checkout/sub-components/justifi-plaid-payment-method.js +15 -2
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/order-terminals/justifi-order-terminals.js +1 -1
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/justifi-payment-details.js +8 -8
- package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/justifi-payments-list.js +1 -1
- package/dist/collection/components/payout-details/justifi-payout-details.js +3 -3
- package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +1 -1
- package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/justifi-payouts-list.js +4 -4
- package/dist/collection/components/qr-terminal/justifi-qr-terminal.js +349 -0
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +2 -2
- package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/justifi-terminals-list.js +4 -4
- package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +5 -3
- package/dist/collection/store/checkout.store.js +9 -3
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +2 -2
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/internal-button.js +1 -1
- package/dist/collection/ui-components/radio-list-item.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/collection/utils/utils.js +4 -4
- package/dist/docs.json +314 -39
- package/dist/esm/{Analytics-Bg6T3DQV.js → Analytics-D_HycaxE.js} +3 -3
- package/dist/esm/{Api-DMd8hTI-.js → Api-DjAL73GZ.js} +1 -1
- package/dist/esm/{Plaid-CeYMgNts.js → Plaid-C8qoMZLV.js} +2 -2
- package/dist/esm/additional-questions-details_5.entry.js +1 -1
- package/dist/esm/additional-questions-form-step_15.entry.js +37 -27
- package/dist/esm/additional-questions_5.entry.js +1 -1
- package/dist/esm/additional-statement_8.entry.js +8 -8
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +5 -5
- package/dist/esm/bank-account-document-form-inputs.entry.js +2 -2
- package/dist/esm/bank-account-form.entry.js +34 -5
- package/dist/esm/{business-identity-schema-D8L_UfWl.js → business-identity-schema-Csou60ZC.js} +3 -3
- package/dist/esm/{business.service-ZN8yGby7.js → business.service-BGXqAyxu.js} +2 -2
- package/dist/esm/card-form.entry.js +5 -5
- package/dist/esm/{check-pkg-version-BXdtk1fk.js → check-pkg-version-BfrWk42V.js} +1 -1
- package/dist/esm/checkout-actions-D8JS2l5e.js +59 -0
- package/dist/esm/{checkout.service-D_6Zw77V.js → checkout.service-sHKaW-M0.js} +2 -2
- package/dist/esm/{checkout.store-DFnkcDZ8.js → checkout.store-DibfdUMm.js} +9 -3
- package/dist/esm/{country-config-BW2dUoTJ.js → country-config-CEJVOOGe.js} +9 -4
- package/dist/esm/custom-popper_2.entry.js +2 -2
- package/dist/esm/dispute-notification_2.entry.js +15 -15
- package/dist/esm/{event-types-DXYUs2vg.js → event-types-ynZLear3.js} +2 -2
- package/dist/esm/form-address-fields_3.entry.js +3 -3
- package/dist/esm/form-control-checkbox.entry.js +2 -2
- package/dist/esm/form-control-date.entry.js +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +3 -3
- package/dist/esm/form-control-file.entry.js +2 -2
- package/dist/esm/form-control-monetary.entry.js +3 -3
- package/dist/esm/form-control-number_2.entry.js +3 -3
- package/dist/esm/form-control-radio.entry.js +2 -2
- package/dist/esm/form-control-select_2.entry.js +4 -4
- package/dist/esm/{get-business-rP66Ger-.js → get-business-DAv_b3vf.js} +2 -2
- package/dist/esm/{get-payment-details-zCO59zZz.js → get-payment-details-Bipad3jX.js} +2 -2
- package/dist/esm/{get-subaccounts-DUopdVm2.js → get-subaccounts-FqCT2s3S.js} +3 -3
- package/dist/esm/hidden-input_2.entry.js +6 -6
- package/dist/esm/{insurance-state-CLGc1-_4.js → insurance-state-C5OZqDCT.js} +1 -1
- package/dist/esm/internal-button.entry.js +1 -1
- package/dist/esm/justifi-apple-pay_11.entry.js +60 -90
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +7 -7
- package/dist/esm/justifi-bank-account-form.entry.js +17 -7
- package/dist/esm/justifi-billing-form-full.entry.js +1 -1
- package/dist/esm/justifi-billing-form.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +9 -9
- package/dist/esm/justifi-business-form.entry.js +12 -12
- package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +7 -7
- package/dist/esm/justifi-checkout-qr-code.entry.js +3139 -0
- package/dist/esm/justifi-checkout.entry.js +9 -9
- package/dist/esm/justifi-checkouts-list-filters.entry.js +4 -4
- package/dist/esm/justifi-checkouts-list.entry.js +11 -11
- package/dist/esm/justifi-dispute-management.entry.js +9 -9
- package/dist/esm/justifi-gross-payment-chart.entry.js +10 -10
- package/dist/esm/justifi-order-terminals.entry.js +11 -11
- package/dist/esm/justifi-payment-details.entry.js +17 -17
- package/dist/esm/justifi-payment-provisioning.entry.js +9 -9
- package/dist/esm/justifi-payment-transactions-list.entry.js +9 -9
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +10 -10
- package/dist/esm/justifi-payout-details.entry.js +12 -12
- package/dist/esm/justifi-payout-transactions-list.entry.js +9 -9
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payouts-list.entry.js +14 -14
- package/dist/esm/justifi-qr-terminal.entry.js +206 -0
- package/dist/esm/justifi-refund-payment.entry.js +11 -11
- package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -9
- package/dist/esm/justifi-skeleton.entry.js +1 -1
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -5
- package/dist/esm/justifi-terminal-orders-list.entry.js +10 -10
- package/dist/esm/justifi-terminals-list-filters.entry.js +3 -3
- package/dist/esm/justifi-terminals-list.entry.js +13 -13
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-DSjpDUHk.js → package-DSavNeRB.js} +1 -1
- package/dist/esm/payment-method-option.entry.js +1 -1
- package/dist/esm/{payment-provisioning-actions-BfMdBzzh.js → payment-provisioning-actions-DI3QUsjh.js} +9 -9
- package/dist/esm/{payment.service-CRgN4aGV.js → payment.service-wSNYSRyl.js} +2 -2
- package/dist/esm/{payout.service-B_APc0x_.js → payout.service-CTAksNmD.js} +2 -2
- package/dist/esm/{payouts-status-klusV0rp.js → payouts-status-CeZoirpf.js} +2 -2
- package/dist/esm/{plaid.service-DbrHt5kj.js → plaid.service-5EpJEdwX.js} +2 -2
- package/dist/esm/radio-list-item.entry.js +1 -1
- package/dist/esm/save-new-payment-method.entry.js +2 -2
- package/dist/esm/{schema-validations-CjqWFLKt.js → schema-validations-CySYE883.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +1 -1
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-B5ezhIvW.js → terminal.service-xjfU0mJT.js} +2 -2
- package/dist/esm/{utils-BTtxWI2r.js → utils-CcA8Y5hs.js} +4 -4
- package/dist/esm/{utils-CfBIEaJJ.js → utils-myniydlM.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Plaid.js +1 -1
- package/dist/module/additional-questions-form-step2.js +1 -1
- package/dist/module/additional-statement2.js +1 -1
- package/dist/module/bank-account-billing-form-simple2.js +1 -1
- package/dist/module/bank-account-form2.js +30 -2
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-core-info-form-step2.js +1 -1
- package/dist/module/business-representative-form-step2.js +1 -1
- package/dist/module/cancellation-policy2.js +1 -1
- package/dist/module/card-billing-form-simple2.js +1 -1
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout-actions.js +59 -0
- package/dist/module/checkout.store.js +9 -3
- package/dist/module/country-config.js +9 -4
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details2.js +1 -1
- package/dist/module/dispute-notification2.js +3 -3
- package/dist/module/dispute-response2.js +1 -1
- package/dist/module/document-upload-form-step2.js +24 -14
- package/dist/module/duplicate-charge2.js +1 -1
- package/dist/module/electronic-evidence2.js +1 -1
- package/dist/module/event-types3.js +3 -3
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number2.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/get-payment-details.js +1 -1
- package/dist/module/hidden-input2.js +2 -2
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/insurance-state.js +1 -1
- package/dist/module/internal-button2.js +1 -1
- package/dist/module/justifi-apple-pay2.js +0 -2
- package/dist/module/justifi-bank-account-billing-form-simple.js +1 -1
- package/dist/module/justifi-bank-account-form.js +11 -1
- package/dist/module/justifi-billing-form-full.js +1 -1
- package/dist/module/justifi-billing-form.js +1 -1
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-card-billing-form-simple.js +1 -1
- package/dist/module/justifi-card-form.js +1 -1
- package/dist/module/justifi-checkout-qr-code.d.ts +11 -0
- package/dist/module/justifi-checkout-qr-code.js +6 -0
- package/dist/module/justifi-checkout-qr-code2.js +3154 -0
- package/dist/module/justifi-checkout-summary2.js +1 -1
- package/dist/module/justifi-checkout.js +3 -2
- package/dist/module/justifi-checkouts-list-filters.js +2 -2
- package/dist/module/justifi-checkouts-list.js +3 -3
- package/dist/module/justifi-dispute-management.js +2 -2
- package/dist/module/justifi-google-pay2.js +7 -2
- package/dist/module/justifi-gross-payment-chart.js +3 -3
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-modular-checkout2.js +21 -70
- package/dist/module/justifi-order-terminals.js +2 -2
- package/dist/module/justifi-payment-details.js +9 -9
- package/dist/module/justifi-payment-transactions-list.js +2 -2
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +3 -3
- package/dist/module/justifi-payout-details.js +4 -4
- package/dist/module/justifi-payout-transactions-list.js +2 -2
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +5 -5
- package/dist/module/justifi-plaid-payment-method2.js +14 -2
- package/dist/module/justifi-qr-terminal.d.ts +11 -0
- package/dist/module/justifi-qr-terminal.js +234 -0
- package/dist/module/justifi-refund-payment.js +3 -3
- package/dist/module/justifi-save-new-payment-method.js +1 -1
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
- package/dist/module/justifi-terminal-orders-list.js +4 -4
- package/dist/module/justifi-terminals-list-filters.js +2 -2
- package/dist/module/justifi-terminals-list.js +5 -5
- package/dist/module/justifi-tokenize-payment-method2.js +5 -3
- package/dist/module/legal-address-form-step2.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment-provisioning-actions.js +7 -7
- package/dist/module/product-or-service2.js +1 -1
- package/dist/module/radio-list-item2.js +1 -1
- package/dist/module/refund-policy2.js +1 -1
- package/dist/module/save-new-payment-method2.js +1 -1
- package/dist/module/schema-validations.js +1 -1
- package/dist/module/shipping-details2.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/utils2.js +4 -4
- package/dist/stencil.config.js +40 -0
- package/dist/types/api/Checkout.d.ts +1 -2
- package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-options.d.ts +5 -1
- package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +2 -0
- package/dist/types/components/checkout/justifi-checkout.d.ts +2 -0
- package/dist/types/components/checkout-qr-code/justifi-checkout-qr-code.d.ts +18 -0
- package/dist/types/components/modular-checkout/sub-components/justifi-apple-pay.d.ts +0 -1
- package/dist/types/components/modular-checkout/sub-components/justifi-bank-account-form.d.ts +1 -1
- package/dist/types/components/modular-checkout/sub-components/justifi-google-pay.d.ts +3 -1
- package/dist/types/components/modular-checkout/sub-components/justifi-plaid-payment-method.d.ts +1 -0
- package/dist/types/components/qr-terminal/justifi-qr-terminal.d.ts +42 -0
- package/dist/types/components.d.ts +103 -11
- package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/stencil.config.d.ts +2 -0
- package/dist/types/store/checkout.store.d.ts +2 -0
- package/dist/webcomponents/p-015288c4.entry.js +1 -0
- package/dist/webcomponents/p-055640f9.entry.js +1 -0
- package/dist/webcomponents/p-0d98518e.entry.js +1 -0
- package/dist/webcomponents/p-0ea6aa9c.entry.js +1 -0
- package/dist/webcomponents/p-0ede7e82.entry.js +1 -0
- package/dist/webcomponents/{p-37676092.entry.js → p-0f2a1ac9.entry.js} +1 -1
- package/dist/webcomponents/p-1068ae13.entry.js +1 -0
- package/dist/webcomponents/p-14a03ad0.entry.js +1 -0
- package/dist/webcomponents/{p-69c5658c.entry.js → p-1a30f2d9.entry.js} +1 -1
- package/dist/webcomponents/p-1b51dea9.entry.js +1 -0
- package/dist/webcomponents/{p-89cd31f2.entry.js → p-1de248b1.entry.js} +1 -1
- package/dist/webcomponents/p-218b926a.entry.js +1 -0
- package/dist/webcomponents/p-25215ee7.entry.js +1 -0
- package/dist/webcomponents/p-266870f0.entry.js +1 -0
- package/dist/webcomponents/p-27c35a85.entry.js +1 -0
- package/dist/webcomponents/{p-D8MQn8ZW.js → p-2mMMaism.js} +1 -1
- package/dist/webcomponents/p-3a2629a2.entry.js +1 -0
- package/dist/webcomponents/p-3e56bbe5.entry.js +1 -0
- package/dist/webcomponents/p-4791c6d7.entry.js +1 -0
- package/dist/webcomponents/p-49d9c0a4.entry.js +1 -0
- package/dist/webcomponents/{p-49c0879b.entry.js → p-4a30693b.entry.js} +1 -1
- package/dist/webcomponents/{p-b2224f12.entry.js → p-4fab9314.entry.js} +1 -1
- package/dist/webcomponents/p-5218bcd0.entry.js +1 -0
- package/dist/webcomponents/{p-4b14b7e7.entry.js → p-53d775b9.entry.js} +1 -1
- package/dist/webcomponents/{p-70dcd833.entry.js → p-5a58f606.entry.js} +1 -1
- package/dist/webcomponents/p-5f6bc8e7.entry.js +1 -0
- package/dist/webcomponents/p-65908b5f.entry.js +1 -0
- package/dist/webcomponents/{p-5ec9634c.entry.js → p-67364f1d.entry.js} +1 -1
- package/dist/webcomponents/p-6bf4fea8.entry.js +1 -0
- package/dist/webcomponents/{p-0e4cda77.entry.js → p-6c3e9ebd.entry.js} +1 -1
- package/dist/webcomponents/{p-a9695714.entry.js → p-6fe329d6.entry.js} +1 -1
- package/dist/webcomponents/p-70e05aec.entry.js +1 -0
- package/dist/webcomponents/p-73deced9.entry.js +1 -0
- package/dist/webcomponents/p-762b1b7b.entry.js +1 -0
- package/dist/webcomponents/p-76ded81e.entry.js +1 -0
- package/dist/webcomponents/p-77cc572d.entry.js +1 -0
- package/dist/webcomponents/p-7b6cf400.entry.js +1 -0
- package/dist/webcomponents/p-8fd18ce2.entry.js +1 -0
- package/dist/webcomponents/{p-233fef57.entry.js → p-9c0760b9.entry.js} +1 -1
- package/dist/webcomponents/p-B62JX_Dh.js +1 -0
- package/dist/webcomponents/p-BB8Ce9rp.js +1 -0
- package/dist/webcomponents/{p-BRnBHsdq.js → p-BSs-2JKu.js} +1 -1
- package/dist/webcomponents/p-BUHsyQpA.js +1 -0
- package/dist/webcomponents/{p-D-zwk1J3.js → p-C-Jgmek8.js} +1 -1
- package/dist/webcomponents/p-C1gr32IS.js +1 -0
- package/dist/webcomponents/{p-DspPkDq4.js → p-C7hX61pS.js} +1 -1
- package/dist/webcomponents/{p-DIpFohcg.js → p-CO8ZGkfN.js} +1 -1
- package/dist/webcomponents/p-CPJC6tlj.js +1 -0
- package/dist/webcomponents/p-CdwzNfP1.js +1 -0
- package/dist/webcomponents/p-Cn7z5L7J.js +1 -0
- package/dist/webcomponents/{p-jlR7CJl2.js → p-CxBrydeX.js} +1 -1
- package/dist/webcomponents/p-DP9ysr2K.js +1 -0
- package/dist/webcomponents/{p-BzXQDB0t.js → p-DPA5TKvQ.js} +1 -1
- package/dist/webcomponents/p-DSavNeRB.js +1 -0
- package/dist/webcomponents/{p-DGbFOjOo.js → p-DXTa04jn.js} +1 -1
- package/dist/webcomponents/{p-CwP0ecN7.js → p-DYSc8uvs.js} +1 -1
- package/dist/webcomponents/p-Da3fPDxu.js +1 -0
- package/dist/webcomponents/{p-CYQvLgSs.js → p-De4Pig-y.js} +1 -1
- package/dist/webcomponents/p-DyPk4BJt.js +1 -0
- package/dist/webcomponents/p-NzPaWKbY.js +1 -0
- package/dist/webcomponents/{p-DlHomiZY.js → p-R_0S69Pr.js} +1 -1
- package/dist/webcomponents/{p-b393864a.entry.js → p-a1885b83.entry.js} +1 -1
- package/dist/webcomponents/p-a6b46f98.entry.js +1 -0
- package/dist/webcomponents/{p-cfe8eaf8.entry.js → p-a893d607.entry.js} +1 -1
- package/dist/webcomponents/{p-cab840bd.entry.js → p-b03e361e.entry.js} +1 -1
- package/dist/webcomponents/p-c3a25333.entry.js +1 -0
- package/dist/webcomponents/p-c60c4bed.entry.js +1 -0
- package/dist/webcomponents/{p-4f512f89.entry.js → p-c885cbf6.entry.js} +4 -4
- package/dist/webcomponents/p-c8bcc54f.entry.js +1 -0
- package/dist/webcomponents/p-d0c889e7.entry.js +1 -0
- package/dist/webcomponents/p-d554e0bb.entry.js +1 -0
- package/dist/webcomponents/p-d7e2ce48.entry.js +1 -0
- package/dist/webcomponents/{p-bbf54e31.entry.js → p-ddb885c3.entry.js} +1 -1
- package/dist/webcomponents/{p-1358a4f0.entry.js → p-ddffdec9.entry.js} +1 -1
- package/dist/webcomponents/{p-22d19755.entry.js → p-debc4768.entry.js} +1 -1
- package/dist/webcomponents/p-e1168904.entry.js +1 -0
- package/dist/webcomponents/p-e3021e22.entry.js +1 -0
- package/dist/webcomponents/p-e3f8541c.entry.js +1 -0
- package/dist/webcomponents/{p-c1539656.entry.js → p-eccc1fc6.entry.js} +1 -1
- package/dist/webcomponents/{p-3e10a0de.entry.js → p-f3c40c22.entry.js} +1 -1
- package/dist/webcomponents/{p-09d1663d.entry.js → p-f4de4ac0.entry.js} +1 -1
- package/dist/webcomponents/p-f953fd60.entry.js +1 -0
- package/dist/webcomponents/p-fdea8c57.entry.js +1 -0
- package/dist/webcomponents/p-z3RFjy9B.js +1 -0
- package/dist/webcomponents/{p-DOEMfCze.js → p-zZn1OXja.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +17 -15
- package/dist/webcomponents/p-00335f02.entry.js +0 -1
- package/dist/webcomponents/p-04480f3c.entry.js +0 -1
- package/dist/webcomponents/p-095e5b0e.entry.js +0 -1
- package/dist/webcomponents/p-0b169fac.entry.js +0 -1
- package/dist/webcomponents/p-12ae030d.entry.js +0 -1
- package/dist/webcomponents/p-1e34c488.entry.js +0 -1
- package/dist/webcomponents/p-1f3515a8.entry.js +0 -1
- package/dist/webcomponents/p-21473196.entry.js +0 -1
- package/dist/webcomponents/p-34f9fe96.entry.js +0 -1
- package/dist/webcomponents/p-382f49f6.entry.js +0 -1
- package/dist/webcomponents/p-3a28052f.entry.js +0 -1
- package/dist/webcomponents/p-46477dfe.entry.js +0 -1
- package/dist/webcomponents/p-48319292.entry.js +0 -1
- package/dist/webcomponents/p-494e1254.entry.js +0 -1
- package/dist/webcomponents/p-4ae8f4e9.entry.js +0 -1
- package/dist/webcomponents/p-4ccf9cd7.entry.js +0 -1
- package/dist/webcomponents/p-5fd4c94d.entry.js +0 -1
- package/dist/webcomponents/p-63b7abf3.entry.js +0 -1
- package/dist/webcomponents/p-649f78de.entry.js +0 -1
- package/dist/webcomponents/p-80fdd013.entry.js +0 -1
- package/dist/webcomponents/p-947950cc.entry.js +0 -1
- package/dist/webcomponents/p-9b944aa4.entry.js +0 -1
- package/dist/webcomponents/p-B1yVkh15.js +0 -1
- package/dist/webcomponents/p-BArmtmkq.js +0 -1
- package/dist/webcomponents/p-Bh1Vr2it.js +0 -1
- package/dist/webcomponents/p-BtPSM2n_.js +0 -1
- package/dist/webcomponents/p-C32sJPns.js +0 -1
- package/dist/webcomponents/p-Cdy3lPBL.js +0 -1
- package/dist/webcomponents/p-DSjpDUHk.js +0 -1
- package/dist/webcomponents/p-DV4n8kZd.js +0 -1
- package/dist/webcomponents/p-DfMQsL55.js +0 -1
- package/dist/webcomponents/p-DnDbpabY.js +0 -1
- package/dist/webcomponents/p-a3b48ba3.entry.js +0 -1
- package/dist/webcomponents/p-bd466218.entry.js +0 -1
- package/dist/webcomponents/p-be4aee79.entry.js +0 -1
- package/dist/webcomponents/p-cc558e25.entry.js +0 -1
- package/dist/webcomponents/p-d253a573.entry.js +0 -1
- package/dist/webcomponents/p-d9287237.entry.js +0 -1
- package/dist/webcomponents/p-d9eec0cc.entry.js +0 -1
- package/dist/webcomponents/p-daf41b49.entry.js +0 -1
- package/dist/webcomponents/p-e29e32aa.entry.js +0 -1
- package/dist/webcomponents/p-e5c2215a.entry.js +0 -1
- package/dist/webcomponents/p-e679b76b.entry.js +0 -1
- package/dist/webcomponents/p-eb6150a8.entry.js +0 -1
- package/dist/webcomponents/p-ebd5a44e.entry.js +0 -1
- package/dist/webcomponents/p-f0d8ffe0.entry.js +0 -1
- package/dist/webcomponents/p-f9aafb21.entry.js +0 -1
- package/dist/webcomponents/p-krYyRSq-.js +0 -1
- package/dist/webcomponents/p-rISpbtJR.js +0 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 JustiFi Technologies, Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _package = require('./package-
|
|
4
|
-
var Api = require('./Api-
|
|
5
|
-
require('./Plaid-
|
|
3
|
+
var _package = require('./package-BKwTzSig.js');
|
|
4
|
+
var Api = require('./Api-BioDE5he.js');
|
|
5
|
+
require('./Plaid-QLOFOTeC.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
7
|
require('./Business-oBifyXkW.js');
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var utils = require('./utils-
|
|
3
|
+
var utils = require('./utils-D1CWnhex.js');
|
|
4
4
|
|
|
5
5
|
exports.ComponentErrorCodes = void 0;
|
|
6
6
|
(function (ComponentErrorCodes) {
|
|
@@ -124,11 +124,11 @@ exports.ICheckoutStatus = void 0;
|
|
|
124
124
|
ICheckoutStatus["attempted"] = "attempted";
|
|
125
125
|
ICheckoutStatus["expired"] = "expired";
|
|
126
126
|
})(exports.ICheckoutStatus || (exports.ICheckoutStatus = {}));
|
|
127
|
-
|
|
127
|
+
exports.CompletionStatuses = void 0;
|
|
128
128
|
(function (CompletionStatuses) {
|
|
129
129
|
CompletionStatuses["failed"] = "failed";
|
|
130
130
|
CompletionStatuses["succeeded"] = "succeeded";
|
|
131
|
-
})(CompletionStatuses || (CompletionStatuses = {}));
|
|
131
|
+
})(exports.CompletionStatuses || (exports.CompletionStatuses = {}));
|
|
132
132
|
|
|
133
133
|
exports.DisputeStatus = void 0;
|
|
134
134
|
(function (DisputeStatus) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var Plaid = require('./Plaid-
|
|
5
|
-
var paymentProvisioningActions = require('./payment-provisioning-actions-
|
|
6
|
-
var business_service = require('./business.service-
|
|
7
|
-
var businessIdentitySchema = require('./business-identity-schema-
|
|
4
|
+
var Plaid = require('./Plaid-QLOFOTeC.js');
|
|
5
|
+
var paymentProvisioningActions = require('./payment-provisioning-actions-B4x7lnyF.js');
|
|
6
|
+
var business_service = require('./business.service-DOGeb2O6.js');
|
|
7
|
+
var businessIdentitySchema = require('./business-identity-schema-BA385xf-.js');
|
|
8
8
|
var index_esm = require('./index.esm-BNETBIV_.js');
|
|
9
9
|
var Business = require('./Business-oBifyXkW.js');
|
|
10
10
|
var formInputMasks = require('./form-input-masks-BnNFJ3IJ.js');
|
|
@@ -16,17 +16,17 @@ var utils = require('./utils-DAyWinG2.js');
|
|
|
16
16
|
require('./config-state-BIgGhhe9.js');
|
|
17
17
|
require('./dinero-BwNN_k7x.js');
|
|
18
18
|
require('./Pagination-Dediz133.js');
|
|
19
|
-
var schemaValidations = require('./schema-validations-
|
|
19
|
+
var schemaValidations = require('./schema-validations-C2XsZnqK.js');
|
|
20
20
|
var button = require('./button-CR9Rl1-o.js');
|
|
21
21
|
require('./event-types-YOY5TKUN.js');
|
|
22
|
-
var countryConfig = require('./country-config-
|
|
23
|
-
var utils$1 = require('./utils-
|
|
22
|
+
var countryConfig = require('./country-config-C1bWmF8P.js');
|
|
23
|
+
var utils$1 = require('./utils-D1CWnhex.js');
|
|
24
24
|
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
25
25
|
var inputHandlers = require('./input-handlers-_51J5q7J.js');
|
|
26
|
-
var Api = require('./Api-
|
|
26
|
+
var Api = require('./Api-BioDE5he.js');
|
|
27
27
|
var styledHost = require('./styled-host-Ch0-dxF-.js');
|
|
28
|
-
var plaid_service = require('./plaid.service-
|
|
29
|
-
require('./utils-
|
|
28
|
+
var plaid_service = require('./plaid.service-DpiLY-5D.js');
|
|
29
|
+
require('./utils-BVM6JCW0.js');
|
|
30
30
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
31
31
|
require('./index-W-zoNiyM.js');
|
|
32
32
|
|
|
@@ -141,7 +141,7 @@ const AdditionalQuestionsFormStep = class {
|
|
|
141
141
|
this.formController.validateAndSubmit(() => this.sendData(onSuccess));
|
|
142
142
|
}
|
|
143
143
|
get patchPayload() {
|
|
144
|
-
|
|
144
|
+
const formValues = new Business.AdditionalQuestions(this.formController.values.getValue()).payload;
|
|
145
145
|
return { additional_questions: formValues };
|
|
146
146
|
}
|
|
147
147
|
componentWillLoad() {
|
|
@@ -598,7 +598,7 @@ const BusinessCoreInfoFormStep = class {
|
|
|
598
598
|
this.formController.validateAndSubmit(() => this.sendData(onSuccess));
|
|
599
599
|
}
|
|
600
600
|
get patchPayload() {
|
|
601
|
-
|
|
601
|
+
const formValues = new Business.CoreBusinessInfo(this.formController.values.getValue()).payload;
|
|
602
602
|
return formValues;
|
|
603
603
|
}
|
|
604
604
|
componentWillLoad() {
|
|
@@ -999,7 +999,7 @@ const BusinessRepresentativeFormStep = class {
|
|
|
999
999
|
});
|
|
1000
1000
|
}
|
|
1001
1001
|
get patchPayload() {
|
|
1002
|
-
|
|
1002
|
+
const formValues = new Business.Representative(this.formController.values.getValue()).payload;
|
|
1003
1003
|
return { representative: formValues };
|
|
1004
1004
|
}
|
|
1005
1005
|
render() {
|
|
@@ -1148,6 +1148,11 @@ const financialDocumentOptions = [
|
|
|
1148
1148
|
{ label: 'Voided Check', value: 'voided_check' },
|
|
1149
1149
|
{ label: 'Bank Statement', value: 'bank_statement' },
|
|
1150
1150
|
];
|
|
1151
|
+
const financialDocumentOptionsCAN = [
|
|
1152
|
+
{ label: 'Select a document type', value: '' },
|
|
1153
|
+
{ label: 'Voided Check', value: 'voided_check' },
|
|
1154
|
+
{ label: 'Bank Letter', value: 'bank_statement' },
|
|
1155
|
+
];
|
|
1151
1156
|
const personalDocGroup1Options = [
|
|
1152
1157
|
{ label: 'Select a document type', value: '' },
|
|
1153
1158
|
{ label: 'Canadian Passport', value: 'passport' },
|
|
@@ -1166,18 +1171,23 @@ const personalDocGroup2Options = [
|
|
|
1166
1171
|
{ label: 'Social Insurance Number (SIN) Card', value: 'sin_card' },
|
|
1167
1172
|
{ label: 'Social Security Number (SSN) Card', value: 'ssn_card' },
|
|
1168
1173
|
];
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1174
|
+
function buildStaticCategories(country) {
|
|
1175
|
+
const financialOptions = country === Business.CountryCode.CAN
|
|
1176
|
+
? financialDocumentOptionsCAN
|
|
1177
|
+
: financialDocumentOptions;
|
|
1178
|
+
return [
|
|
1179
|
+
{
|
|
1180
|
+
label: 'Business Document',
|
|
1181
|
+
value: 'business_document',
|
|
1182
|
+
docTypeOptions: businessDocumentOptions,
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
label: 'Financial Document',
|
|
1186
|
+
value: 'financial_document',
|
|
1187
|
+
docTypeOptions: financialOptions,
|
|
1188
|
+
},
|
|
1189
|
+
];
|
|
1190
|
+
}
|
|
1181
1191
|
function buildPersonalDocumentCategories() {
|
|
1182
1192
|
return [
|
|
1183
1193
|
{
|
|
@@ -1203,7 +1213,7 @@ function buildAllCategories(country) {
|
|
|
1203
1213
|
if (country === Business.CountryCode.USA) {
|
|
1204
1214
|
return financialOnlyCategories;
|
|
1205
1215
|
}
|
|
1206
|
-
return [...
|
|
1216
|
+
return [...buildStaticCategories(country), ...buildPersonalDocumentCategories()];
|
|
1207
1217
|
}
|
|
1208
1218
|
const personalDocGroup1Types = new Set(personalDocGroup1Options.filter(o => o.value).map(o => o.value));
|
|
1209
1219
|
const personalDocGroup2Types = new Set(personalDocGroup2Options.filter(o => o.value).map(o => o.value));
|
|
@@ -1535,7 +1545,7 @@ const LegalAddressFormStep = class {
|
|
|
1535
1545
|
this.formController.validateAndSubmit(() => this.sendData(onSuccess));
|
|
1536
1546
|
}
|
|
1537
1547
|
get patchPayload() {
|
|
1538
|
-
|
|
1548
|
+
const formValues = new Business.Address(this.formController.values.getValue()).payload;
|
|
1539
1549
|
return { legal_address: formValues };
|
|
1540
1550
|
}
|
|
1541
1551
|
componentWillLoad() {
|
|
@@ -5,7 +5,7 @@ var businessFormOptions = require('./business-form-options-CnlrfbQ6.js');
|
|
|
5
5
|
var formInputMasks = require('./form-input-masks-BnNFJ3IJ.js');
|
|
6
6
|
var parts = require('./parts-BXshb_S-.js');
|
|
7
7
|
var Business = require('./Business-oBifyXkW.js');
|
|
8
|
-
var countryConfig = require('./country-config-
|
|
8
|
+
var countryConfig = require('./country-config-C1bWmF8P.js');
|
|
9
9
|
|
|
10
10
|
const AdditionalQuestions = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -100,7 +100,7 @@ const AdditionalStatement = class {
|
|
|
100
100
|
}
|
|
101
101
|
render() {
|
|
102
102
|
var _a, _b;
|
|
103
|
-
return (index.h("div", { key: '
|
|
103
|
+
return (index.h("div", { key: 'fc937111b48c5141d31085bb6282fb58cc2d000a' }, index.h("div", { key: 'c24bc0ce7a89b8c138abed0d7bcf8a81cc910a71', class: "row gy-3" }, index.h("div", { key: 'ec340664ce128f61c231e8545ae69b1561f704bb', class: "col-12" }, index.h("h2", { key: '37369432e8ab4d6d871127e8535a675f91f2b07e', class: "h5", part: parts.heading5 }, "Additional Evidence")), index.h("div", { key: 'f96c72ebf7aaed5c757ca31c251abdbcf09684ae', class: "col-12" }, index.h("form-control-textarea", { key: '30f0bb97c38ed8782d23f72563d2c679640defea', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), index.h("div", { key: '5fd9944de7b9bc0395dc8d791e0d138398162e45', class: "col-12" }, index.h("form-control-file-v2", { key: '37200d108ab06c455de1469746e122a125d57d75', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
106
|
|
|
@@ -134,7 +134,7 @@ const CancellationPolicy = class {
|
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
136
|
var _a, _b, _c;
|
|
137
|
-
return (index.h("div", { key: '
|
|
137
|
+
return (index.h("div", { key: '8812e04b5497b1b75d4afcc18084ff224efe11e0' }, index.h("div", { key: 'fd414b2ebd443b490ec68bb1788efce0824877e6', class: "row gy-3" }, index.h("div", { key: '300e7b1afa78dac54bd3240af7ad1bdd6f386134', class: "col-12" }, index.h("h2", { key: 'c85c78cf40224ad06db9746c929d312d6ac53613', class: "h5", part: parts.heading5 }, "Cancellation Policy")), index.h("div", { key: 'fab79ca4fb6f343674698b87fd5e713c6028ce8b', class: "col-12" }, index.h("form-control-textarea", { key: '106094d74237d258091a60d14e0bdeecf1106584', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), index.h("div", { key: 'ac5d1d534d30176483fc490947e3bf65fe41afa3', class: "col-12" }, index.h("form-control-textarea", { key: 'd0972bf1837f9f23de6925517756ec18e1fac3fe', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), index.h("div", { key: '135463253e19c6a2d5ff86b04413e6838f824a89', class: "col-12" }, index.h("form-control-file-v2", { key: 'ef0a3a1d1113f5cb4e97bbf1017841b75463f690', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
140
|
|
|
@@ -169,7 +169,7 @@ const CustomerDetails = class {
|
|
|
169
169
|
}
|
|
170
170
|
render() {
|
|
171
171
|
var _a, _b, _c, _d, _e;
|
|
172
|
-
return (index.h("div", { key: '
|
|
172
|
+
return (index.h("div", { key: '91b627ab79cff98fc4bb2b76e9e9159b99bcdc44' }, index.h("div", { key: 'ddb074202926fca96c40fba3724b1a603ef29bf8', class: "row gy-3" }, index.h("div", { key: '680d03bb31e19a1ab7aa560195a802dc2a7f1bcf', class: "col-12" }, index.h("h2", { key: 'b9e47dc34c931a18373053384dac93ccd45e4823', class: "h5", part: parts.heading5 }, "Customer Details")), index.h("div", { key: '286716947b073de829fe525eb855864f51d72234', class: "col-12" }, index.h("form-control-text", { key: '2b9369bfbb55fa87ee8448324f6ff8480679ba58', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), index.h("div", { key: '89f384a11dcac912a189b4909586a3e1db603f25', class: "col-12" }, index.h("form-control-text", { key: 'c6dfbeb68b117d840a39bfe4e96be7d18d5395b7', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), index.h("div", { key: '29c2e48fabafe27b878294e3267a9ec04a91a2a4', class: "col-12" }, index.h("form-control-textarea", { key: 'ec734cbef65f6263e462b86332be24c92a1173ad', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), index.h("div", { key: 'f944aca1e6594cdcc20bb69bd1aa625536d05ac0', class: "col-12" }, index.h("form-control-file-v2", { key: 'f227a8b81e6b8409152f61ae6906319577663dd3', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), index.h("div", { key: '4804ef68cc6f5d0006568aca8bc57086243af4de', class: "col-12" }, index.h("form-control-file-v2", { key: 'a0dba5cfa046de4bca065d7bb20ec2a5abd57fc9', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
|
|
173
173
|
}
|
|
174
174
|
};
|
|
175
175
|
|
|
@@ -203,7 +203,7 @@ const DuplicateCharge = class {
|
|
|
203
203
|
}
|
|
204
204
|
render() {
|
|
205
205
|
var _a, _b, _c;
|
|
206
|
-
return (index.h("div", { key: '
|
|
206
|
+
return (index.h("div", { key: 'ec4cfa15f2830ec56dfd9184728c1badeb9e1dfd' }, index.h("div", { key: '0e107461e759478735aecabea93baf060169dd14', class: "row gy-3" }, index.h("div", { key: '22b9223c3e92d2183d65d9125a3ebefd341c140f', class: "col-12" }, index.h("h2", { key: 'cf386e687b18a4f232b935a847270d8ad463db32', class: "h5", part: parts.heading5 }, "Duplicate Charge")), index.h("div", { key: 'dd8cc52b7b6cfe955a09e29c145f70761db87068', class: "col-12" }, index.h("form-control-text", { key: 'ff024fd4e90adc3a991036eb535258bad98ab199', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), index.h("div", { key: '0df77b3c8d8a8a777c8258cd0ca075df73552ee4', class: "col-12" }, index.h("form-control-textarea", { key: '27bfe00c3bdab393b35f3ca26360db65f487d789', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), index.h("div", { key: '8420318e367111cb73c1235c363973d7f34aa25c', class: "col-12" }, index.h("form-control-file-v2", { key: '71717a0c8d02e2c8198b365f61b1a6727a619e6b', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
|
|
207
207
|
}
|
|
208
208
|
};
|
|
209
209
|
|
|
@@ -236,7 +236,7 @@ const ElectronicEvidence = class {
|
|
|
236
236
|
}
|
|
237
237
|
render() {
|
|
238
238
|
var _a, _b;
|
|
239
|
-
return (index.h("div", { key: '
|
|
239
|
+
return (index.h("div", { key: 'cf4615613589be984c7d5b6b50f0b5239895d81d' }, index.h("div", { key: '1f96c50146d009cc4d0d0ccbee41c31144e7f746', class: "row gy-3" }, index.h("div", { key: '3a671ff5c959efaee8dc57dda073de113489f0a6', class: "col-12" }, index.h("h2", { key: '3b73879b357d3465c6c76b27db17b6dbdce7c538', class: "h5", part: parts.heading5 }, "Electronic Evidence")), index.h("div", { key: '35c0ff43bc1dcdba8916b51da636347395c98901', class: "col-12" }, index.h("form-control-text", { key: 'cdabf70034babf41ba227f66936f8b340f104ca3', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), index.h("div", { key: 'd9920bf1548e14c6adadbc63dc41a1a90cc1a3cc', class: "col-12" }, index.h("form-control-file-v2", { key: '8eec5b79872eeeda77702d9f4cc9003a627e6682', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
|
|
240
240
|
}
|
|
241
241
|
};
|
|
242
242
|
|
|
@@ -270,7 +270,7 @@ const ProductOrService = class {
|
|
|
270
270
|
}
|
|
271
271
|
render() {
|
|
272
272
|
var _a, _b, _c;
|
|
273
|
-
return (index.h("div", { key: '
|
|
273
|
+
return (index.h("div", { key: 'befcaee1dd5343ec47a55f27dc51c1d18cd57a71' }, index.h("div", { key: '56005c7449374963a548ea89250cc8ebbf2e75e4', class: "row gy-3" }, index.h("div", { key: 'ba5cdd019cb69288b49570d59317079665bf2b81', class: "col-12" }, index.h("h2", { key: '494feff3a2bb645653c77c7d7b031e761ed8c253', class: "h5", part: parts.heading5 }, "Product & Service Details")), index.h("div", { key: '84db8064cd1c110e64b56961838f62f8676aed19', class: "col-12" }, index.h("form-control-text", { key: '98e82b9ca4b27476bc9e523afaf13ce55df9cce5', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), index.h("div", { key: 'da06d2ef195dbc8cee8680e3a4c9107849836ab3', class: "col-12" }, index.h("form-control-date", { key: '3d2fb41fccfddb65d92468a78e3f5a4cfd9a67b5', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), index.h("div", { key: '824410485b182d8e309468506a9c8ae19ce1461f', class: "col-12" }, index.h("form-control-file-v2", { key: 'f8f5d542260b88754c05b61f0d50374d1f66a93e', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
|
|
274
274
|
}
|
|
275
275
|
};
|
|
276
276
|
|
|
@@ -304,7 +304,7 @@ const RefundPolicy = class {
|
|
|
304
304
|
}
|
|
305
305
|
render() {
|
|
306
306
|
var _a, _b, _c, _d;
|
|
307
|
-
return (index.h("div", { key: '
|
|
307
|
+
return (index.h("div", { key: 'd5419f7dc7ca4e66522437969b451c7adfda6b06' }, index.h("div", { key: 'f74344edd56fe88d481f3c428aee3f7a3170ef1a', class: "row gy-3" }, index.h("div", { key: 'ad826fd7a497664e8a9a97bf4f749ddd5f4899a4', class: "col-12" }, index.h("h2", { key: 'f792af239a7df56d2a7289fae8ee487048343851', class: "h5", part: parts.heading5 }, "Refund Policy and Receipt")), index.h("div", { key: '5a159d8fbb74d7580a9d6ef34d1a752b68525251', class: "col-12" }, index.h("form-control-textarea", { key: '8fdcac1c9336874635d955f651b44389ddc3d576', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), index.h("div", { key: 'ca0d7a0c5161d572a27459ec5847bd6aedda8552', class: "col-12" }, index.h("form-control-textarea", { key: '7dde3212e5453772afbc4dfff8de5285d29ec3b3', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), index.h("div", { key: 'ec5615813cceb9b2eaaf327e4a4fb2785f341ce8', class: "col-12" }, index.h("form-control-file-v2", { key: '38d6901b619eb353da9b6066957579caa97064e3', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), index.h("div", { key: '64245ce028bff37a6f9852e75d1b2e6ba27fd3ef', class: "col-12" }, index.h("form-control-file-v2", { key: '126ce22ff40995cfc0d4f059b2463a98a6dfcb50', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
|
|
308
308
|
}
|
|
309
309
|
};
|
|
310
310
|
|
|
@@ -341,7 +341,7 @@ const ShippingDetails = class {
|
|
|
341
341
|
}
|
|
342
342
|
render() {
|
|
343
343
|
var _a, _b, _c, _d, _e;
|
|
344
|
-
return (index.h("div", { key: '
|
|
344
|
+
return (index.h("div", { key: 'dabe709653579ef5c19806146e149fdbfa65686c' }, index.h("div", { key: '07d9f91a68d770daed48f84678ffa2f2182b4625', class: "row gy-3" }, index.h("div", { key: '6052cb801e0e8cfc73a946e32d37a35e4726f8aa', class: "col-12" }, index.h("h2", { key: '8cea7d2ac9d5e53a01d4e8f3a14b3b6947e72f19', class: "h5", part: parts.heading5 }, "Shipping Details")), index.h("div", { key: '79adf032e4435f8e89e5d848e397c8389c35ee99', class: "col-12" }, index.h("form-control-text", { key: '4dd59285b595b33944168e5a959fbf7686b71c4c', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), index.h("div", { key: 'e25cb74edb5133cfaa1c8abb6194a43104d51e80', class: "col-12" }, index.h("form-control-text", { key: 'bdb47ebe63e9717db4308d89e890bdd01ecad9fc', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), index.h("div", { key: 'ccb5a0facc6aa6f7c311f3d1a395faa214b4c099', class: "col-12" }, index.h("form-control-date", { key: 'a2e1a7af287b7afae6ba7451bd4f51292e2e14fa', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), index.h("div", { key: 'ce176cd89d1c2fbf4cb3e1a84d84fb38e7f77ae9', class: "col-12" }, index.h("form-control-textarea", { key: '5f09d91a79081a8dea6eb44b44e6500f5f9b547b', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), index.h("div", { key: 'b41048055f1fc82bb383d300f32e13efa2a4f0fc', class: "col-12" }, index.h("form-control-file-v2", { key: '2fda26e5404c3a2a0c10261ffc1e005b688e057a', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
|
|
345
345
|
}
|
|
346
346
|
};
|
|
347
347
|
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
4
|
var index_esm = require('./index.esm-BNETBIV_.js');
|
|
5
|
-
var schemaValidations = require('./schema-validations-
|
|
5
|
+
var schemaValidations = require('./schema-validations-C2XsZnqK.js');
|
|
6
6
|
var parts = require('./parts-BXshb_S-.js');
|
|
7
|
-
var checkout_store = require('./checkout.store-
|
|
7
|
+
var checkout_store = require('./checkout.store-CZHrIuaP.js');
|
|
8
8
|
var index$1 = require('./index-CajjbB9t.js');
|
|
9
9
|
var header3 = require('./header-3-DCYJhPro.js');
|
|
10
10
|
require('./event-types-YOY5TKUN.js');
|
|
11
11
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
12
|
-
require('./country-config-
|
|
12
|
+
require('./country-config-C1bWmF8P.js');
|
|
13
13
|
require('./Business-oBifyXkW.js');
|
|
14
14
|
require('./business-form-options-CnlrfbQ6.js');
|
|
15
15
|
require('./index-W-zoNiyM.js');
|
|
@@ -77,7 +77,7 @@ const BankAccountBillingFormSimple = class {
|
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
79
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
80
|
-
return (index.h("div", { key: '
|
|
80
|
+
return (index.h("div", { key: 'e8c53c98793d0296d69799c8449d762084d9859b', part: parts.billingForm, class: "mt-4" }, index.h("form", { key: '83e59bb7bdcf4a3e0b4ed4320358796eae91726f' }, index.h("fieldset", { key: 'd92a4a02c531a08a270562701bc71440add5b545' }, this.legend && (index.h("legend", { key: '74ac1eb2c6fc629323f31be515e3aa204ae302a2' }, this.legend)), index.h("div", { key: '161888eb0680a4c9d6280440961f2926b08ac1ed', class: "row gy-3" }, index.h("div", { key: '9f6c899b7a4ff25a5eba5278bffe7d4e86eb00df', class: "col-12" }, index.h("form-control-text", { key: '74a9958fb74de730067fe4d87dfac33c12522169', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })))))));
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
83
|
|
|
@@ -193,7 +193,7 @@ const CardBillingFormSimple = class {
|
|
|
193
193
|
}
|
|
194
194
|
render() {
|
|
195
195
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
196
|
-
return (index.h("div", { key: '
|
|
196
|
+
return (index.h("div", { key: '41a7f26e12bfa3da4e7926d8a535218a0580be14', part: parts.billingForm }, index.h("form", { key: 'b48cf148ec6d16fd8e5859dfe96a3b9fd6d3036d' }, index.h("fieldset", { key: '88094544642af8fadb270dfafd838d450ad88cdd' }, this.legend && (index.h("legend", { key: '13c19557aa4c0c127305cc54f6346eeb74d4f750' }, this.legend)), index.h("div", { key: 'bbcf1a622720df2d21db718eaf823e4e33155070', class: "row gy-3" }, index.h("div", { key: '96b9d590fd68fd4f2a54760e58c0f2bc166a832b', class: "col-12" }, index.h("form-control-text", { key: '57050d0274782cb2ff5f1a9b13726a8319438a36', name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 })))))));
|
|
197
197
|
}
|
|
198
198
|
};
|
|
199
199
|
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
4
|
require('./config-state-BIgGhhe9.js');
|
|
5
5
|
require('./dinero-BwNN_k7x.js');
|
|
6
|
-
var Plaid = require('./Plaid-
|
|
6
|
+
var Plaid = require('./Plaid-QLOFOTeC.js');
|
|
7
7
|
require('./Pagination-Dediz133.js');
|
|
8
8
|
require('./Business-oBifyXkW.js');
|
|
9
9
|
require('./index-W-zoNiyM.js');
|
|
10
|
-
require('./utils-
|
|
10
|
+
require('./utils-D1CWnhex.js');
|
|
11
11
|
|
|
12
12
|
const BankAccountDocumentFormInputs = class {
|
|
13
13
|
constructor(hostRef) {
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
4
|
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
5
5
|
var configState = require('./config-state-BIgGhhe9.js');
|
|
6
|
-
var utils = require('./utils-
|
|
7
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
6
|
+
var utils = require('./utils-D1CWnhex.js');
|
|
7
|
+
var checkPkgVersion = require('./check-pkg-version-BNGOOokA.js');
|
|
8
|
+
var checkout_store = require('./checkout.store-CZHrIuaP.js');
|
|
8
9
|
require('./parts-BXshb_S-.js');
|
|
9
10
|
require('./index-W-zoNiyM.js');
|
|
10
11
|
require('./dinero-BwNN_k7x.js');
|
|
11
|
-
require('./package-
|
|
12
|
+
require('./package-BKwTzSig.js');
|
|
13
|
+
require('./index-CajjbB9t.js');
|
|
12
14
|
|
|
13
15
|
const BankAccountFormSkeleton = (props) => {
|
|
14
16
|
const { isReady } = props;
|
|
@@ -22,6 +24,7 @@ const BankAccountForm = class {
|
|
|
22
24
|
constructor(hostRef) {
|
|
23
25
|
index.registerInstance(this, hostRef);
|
|
24
26
|
this.isReady = false;
|
|
27
|
+
this.hasLoggedAchDisabledWarning = false;
|
|
25
28
|
}
|
|
26
29
|
async componentWillLoad() {
|
|
27
30
|
await configState.waitForConfig();
|
|
@@ -30,10 +33,16 @@ const BankAccountForm = class {
|
|
|
30
33
|
checkPkgVersion.checkPkgVersion();
|
|
31
34
|
}
|
|
32
35
|
componentDidRender() {
|
|
36
|
+
if (this.isAchDisabledForCheckout()) {
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
33
39
|
const elements = [
|
|
34
40
|
this.accountNumberIframeElement,
|
|
35
41
|
this.routingNumberIframeElement,
|
|
36
42
|
];
|
|
43
|
+
if (!elements.every(Boolean)) {
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
37
46
|
Promise.all(elements.map((element) => {
|
|
38
47
|
return new Promise((resolve) => {
|
|
39
48
|
element.addEventListener('iframeLoaded', () => { resolve(); });
|
|
@@ -42,20 +51,40 @@ const BankAccountForm = class {
|
|
|
42
51
|
this.isReady = true;
|
|
43
52
|
});
|
|
44
53
|
}
|
|
54
|
+
isAchDisabledForCheckout() {
|
|
55
|
+
return (checkout_store.checkoutStore.checkoutLoaded && !checkout_store.checkoutStore.achPaymentsEnabled);
|
|
56
|
+
}
|
|
45
57
|
async validate() {
|
|
58
|
+
if (this.isAchDisabledForCheckout()) {
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
46
61
|
const accountNumberIsValid = await this.accountNumberIframeElement.validate();
|
|
47
62
|
const routingNumberIsValid = await this.routingNumberIframeElement.validate();
|
|
48
63
|
return accountNumberIsValid && routingNumberIsValid;
|
|
49
64
|
}
|
|
50
65
|
async tokenize({ clientId, paymentMethodMetadata, account }) {
|
|
66
|
+
if (this.isAchDisabledForCheckout()) {
|
|
67
|
+
return {
|
|
68
|
+
error: {
|
|
69
|
+
message: 'ACH payments are disabled for this checkout (payment_settings.ach_payments=false).',
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
}
|
|
51
73
|
const result = await this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
52
74
|
return result;
|
|
53
75
|
}
|
|
54
76
|
render() {
|
|
55
|
-
|
|
77
|
+
if (this.isAchDisabledForCheckout()) {
|
|
78
|
+
if (!this.hasLoggedAchDisabledWarning) {
|
|
79
|
+
console.warn('[bank-account-form] ACH payments are disabled for this checkout (payment_settings.ach_payments=false).');
|
|
80
|
+
this.hasLoggedAchDisabledWarning = true;
|
|
81
|
+
}
|
|
82
|
+
return null;
|
|
83
|
+
}
|
|
84
|
+
return (index.h("div", null, index.h(BankAccountFormSkeleton, { isReady: this.isReady }), index.h("hidden-input", null), index.h("div", { class: "container-fluid p-0", style: {
|
|
56
85
|
opacity: this.isReady ? '1' : '0',
|
|
57
86
|
height: this.isReady ? 'auto' : '0',
|
|
58
|
-
} }, index.h("div", {
|
|
87
|
+
} }, index.h("div", { class: "row mb-3" }, index.h("iframe-input", { inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), index.h("div", { class: "row" }, index.h("iframe-input", { inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
|
|
59
88
|
}
|
|
60
89
|
};
|
|
61
90
|
|
package/dist/cjs/{business-identity-schema-CC1wOwXd.js → business-identity-schema-BA385xf-.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index_esm = require('./index.esm-BNETBIV_.js');
|
|
4
|
-
var schemaValidations = require('./schema-validations-
|
|
4
|
+
var schemaValidations = require('./schema-validations-C2XsZnqK.js');
|
|
5
5
|
var Business = require('./Business-oBifyXkW.js');
|
|
6
|
-
var countryConfig = require('./country-config-
|
|
6
|
+
var countryConfig = require('./country-config-C1bWmF8P.js');
|
|
7
7
|
|
|
8
8
|
// Base schema (no country-specific rules for classification/tax id)
|
|
9
9
|
const baseBusinessCoreInfoSchema = (allowOptionalFields) => {
|
|
@@ -95,7 +95,7 @@ const strictSchemaCAN$1 = () => index_esm.create$3({
|
|
|
95
95
|
line1: schemaValidations.lineOneValidation.required('Enter street address'),
|
|
96
96
|
line2: schemaValidations.lineTwoValidation.nullable(),
|
|
97
97
|
city: schemaValidations.cityValidation.required('Enter city'),
|
|
98
|
-
state: index_esm.create$6().required('Select province'),
|
|
98
|
+
state: index_esm.create$6().required('Select province or state'),
|
|
99
99
|
postal_code: schemaValidations.makePostalValidation(Business.CountryCode.CAN).required('Enter postal code'),
|
|
100
100
|
});
|
|
101
101
|
// Public API
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
4
|
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
5
5
|
var configState = require('./config-state-BIgGhhe9.js');
|
|
6
|
-
var utils = require('./utils-
|
|
7
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
6
|
+
var utils = require('./utils-D1CWnhex.js');
|
|
7
|
+
var checkPkgVersion = require('./check-pkg-version-BNGOOokA.js');
|
|
8
8
|
require('./parts-BXshb_S-.js');
|
|
9
9
|
require('./index-W-zoNiyM.js');
|
|
10
10
|
require('./dinero-BwNN_k7x.js');
|
|
11
|
-
require('./package-
|
|
11
|
+
require('./package-BKwTzSig.js');
|
|
12
12
|
|
|
13
13
|
const CardFormSkeleton = (props) => {
|
|
14
14
|
const { isReady } = props;
|
|
@@ -56,10 +56,10 @@ const CardForm = class {
|
|
|
56
56
|
return result;
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (index.h("div", { key: '
|
|
59
|
+
return (index.h("div", { key: 'd3cb1fca6595f60e5f5f122b73d3d6c11a826423' }, index.h(CardFormSkeleton, { key: 'f83dcbbc214d460bb21c015ec051436ed5cf6670', isReady: this.isReady }), index.h("hidden-input", { key: '5fad0d06303d0ddb55c30c2cd94014255f2a8cec' }), index.h("div", { key: '68440756a1aad69b5c95245e7a2a5feb16899dca', class: "container-fluid p-0", style: {
|
|
60
60
|
opacity: this.isReady ? '1' : '0',
|
|
61
61
|
height: this.isReady ? 'auto' : '0',
|
|
62
|
-
} }, index.h("div", { key: '
|
|
62
|
+
} }, index.h("div", { key: 'b39eab56c79463935f1a1bb15cc867997f026e7b', class: "mb-3" }, index.h("iframe-input", { key: '25a2390a8c3c92d5e6eceafe6b821202ecb22d76', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), index.h("div", { key: '68766798d954a0b3d093ae13c3c2955f819da4f2', class: "row" }, index.h("div", { key: '05539f1ac8ebb0397574d55b4b76d7acdb7d2dca', class: "col-4 align-content-end" }, index.h("iframe-input", { key: '4c437a4384e6c301e18824d799784c1133e70ee3', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), index.h("div", { key: 'b9a5b8b5dda1d8ab6305c9dc1ef9b655eb02fb3d', class: "col-4 align-content-end" }, index.h("iframe-input", { key: 'c1a412c20e75d21c1084a4b93f22362c367c1907', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), index.h("div", { key: 'abdfdbd7eb784871011397a7c5fdf371e3c6baf0', class: "col-4 align-content-end" }, index.h("iframe-input", { key: '08dff072e785846d7543018c194b4df6ce5b343e', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
|