@justifi/webcomponents 6.14.4-rc.1 → 6.14.4
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-CLtNL7cp.js → Analytics-CMv0MKQ4.js} +3 -3
- package/dist/cjs/{Api-j0tZ-Tix.js → Api-ChUqJ75C.js} +2 -2
- package/dist/cjs/{Plaid-CbaU5Arm.js → Plaid-B2o4c_Ej.js} +2 -0
- package/dist/cjs/additional-questions-form-step_15.cjs.entry.js +9 -9
- package/dist/cjs/{additional-questions_5.cjs.entry.js → additional-questions_4.cjs.entry.js} +0 -16
- package/dist/cjs/additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +2 -2
- package/dist/cjs/bank-account-document-form-inputs.cjs.entry.js +3 -3
- package/dist/cjs/bank-account-form.cjs.entry.js +77 -27
- package/dist/cjs/{business.service-BGTzzUHv.js → business.service-BSoN1ENP.js} +2 -2
- package/dist/cjs/card-form.cjs.entry.js +79 -26
- package/dist/cjs/{check-pkg-version-IIkBL56i.js → check-pkg-version-mt-o0WFo.js} +1 -1
- package/dist/cjs/{checkout-actions-Cm38ZPqN.js → checkout-actions-VCJi-q4z.js} +2 -2
- package/dist/cjs/{checkout.service-C6banXoZ.js → checkout.service-BDUrLWyA.js} +2 -2
- package/dist/cjs/{checkout.store-CZHrIuaP.js → checkout.store-DOa1-SjA.js} +18 -4
- package/dist/cjs/{payments-list-params-state-vGJZ6Oe2.js → checkouts-list-params-state-DDpRrUTY.js} +1 -1
- package/dist/cjs/{config-state-BIgGhhe9.js → config-state-C1YMiFpR.js} +1 -1
- package/dist/cjs/dispute-notification_2.cjs.entry.js +12 -12
- package/dist/cjs/{event-types-CuvC_5oJ.js → event-types-DlZRGu3q.js} +2 -2
- package/dist/cjs/{hidden-input_2.cjs.entry.js → form-alert_3.cjs.entry.js} +34 -12
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-select_2.cjs.entry.js +2 -2
- package/dist/cjs/{get-business-B3Jf5X7U.js → get-business-BBDsPv-b.js} +2 -2
- package/dist/cjs/{get-payment-details-Q9lHwr8Y.js → get-payment-details-BYZeUFAB.js} +3 -3
- package/dist/cjs/{get-subaccounts-BPqMUWqF.js → get-subaccounts-w4iQAASi.js} +4 -4
- package/dist/cjs/{index-W-zoNiyM.js → index-DDrfAj-j.js} +21 -15
- package/dist/cjs/{insurance-state-B-XQRmMs.js → insurance-state-CHQD1ZGw.js} +1 -1
- package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +22 -25
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +7 -7
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +7 -7
- package/dist/cjs/justifi-business-details.cjs.entry.js +10 -10
- package/dist/cjs/justifi-business-form.cjs.entry.js +10 -10
- package/dist/cjs/justifi-card-form.cjs.entry.js +7 -7
- package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +7 -7
- package/dist/cjs/justifi-checkout.cjs.entry.js +10 -15
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +13 -13
- package/dist/cjs/justifi-config-provider.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -8
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -10
- 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 +12 -12
- package/dist/cjs/justifi-qr-terminal.cjs.entry.js +10 -10
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +12 -12
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -10
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +11 -11
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-D_k65Ek-.js → package-V2lnhWch.js} +1 -1
- package/dist/cjs/{payment-provisioning-actions-DeURi9ZW.js → payment-provisioning-actions-CIsDrh8k.js} +2 -2
- package/dist/cjs/{payment.service-CsRgUBpg.js → payment.service-CUuADjYH.js} +2 -2
- package/dist/cjs/{checkouts-list-params-state-vGJZ6Oe2.js → payments-list-params-state-DDpRrUTY.js} +1 -1
- package/dist/cjs/{payout.service-B9Uy-vnZ.js → payout.service-D_gucuzq.js} +2 -2
- package/dist/cjs/{payouts-list-params-state-vGJZ6Oe2.js → payouts-list-params-state-DDpRrUTY.js} +1 -1
- package/dist/cjs/{payouts-status-BKO9VMJ_.js → payouts-status-DVU5138C.js} +2 -2
- package/dist/cjs/{plaid.service-BO5TCVg-.js → plaid.service-DIPjzg_M.js} +2 -2
- package/dist/cjs/save-new-payment-method.cjs.entry.js +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/{terminal-orders-list-params-state-vGJZ6Oe2.js → terminal-orders-list-params-state-DDpRrUTY.js} +1 -1
- package/dist/cjs/{terminal.service-IQgeT2S0.js → terminal.service-DVxXWBU7.js} +2 -2
- package/dist/cjs/terminals-list-params-state-DDpRrUTY.js +22 -0
- package/dist/cjs/{utils-8zgGi717.js → utils-WrOn06xB.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/ComponentError.js +2 -0
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/checkout/bank-account-form/bank-account-form-skeleton.js +1 -5
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +93 -19
- package/dist/collection/components/checkout/card-form/card-form-skeleton.js +1 -5
- package/dist/collection/components/checkout/card-form/card-form.js +96 -19
- package/dist/collection/components/checkout/justifi-checkout.js +2 -7
- package/dist/collection/components/checkout/test/use-bridged-fake-timers.js +14 -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 +2 -2
- 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.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/modular-checkout/justifi-modular-checkout.js +8 -5
- package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +1 -7
- package/dist/collection/components/refund-payment/justifi-refund-payment.js +2 -2
- package/dist/collection/store/checkout.store.js +17 -3
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/iframe-input.js +26 -3
- package/dist/docs.json +100 -18
- package/dist/esm/{Analytics-CkVFbWbI.js → Analytics-C8-CZjVs.js} +4 -4
- package/dist/esm/{Api-C_lKBDA2.js → Api-BmZr64rt.js} +2 -2
- package/dist/esm/{Business-BcNb9bVO.js → Business-DaDqgDrb.js} +1 -1
- package/dist/esm/{Plaid-D389VmvK.js → Plaid-DJ-4YL0_.js} +2 -0
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/additional-questions-form-step_15.entry.js +19 -19
- package/dist/esm/{additional-questions_5.entry.js → additional-questions_4.entry.js} +5 -20
- package/dist/esm/additional-statement_8.entry.js +9 -9
- package/dist/esm/{badge-Dlcl9qdm.js → badge-B7QMpafx.js} +1 -1
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +8 -8
- package/dist/esm/bank-account-document-form-inputs.entry.js +4 -4
- package/dist/esm/bank-account-form.entry.js +80 -30
- package/dist/esm/bank-account-read-only-value.entry.js +1 -1
- package/dist/esm/{business-form-options-DXjZp4Rl.js → business-form-options-BxVQL9ar.js} +1 -1
- package/dist/esm/{business-identity-schema-CXfLi-Wi.js → business-identity-schema-BkmRlnQo.js} +3 -3
- package/dist/esm/{business.service-CFAfsTjM.js → business.service-BTTf2CSv.js} +3 -3
- package/dist/esm/{button-BvzOzV4l.js → button-CBzHAOFW.js} +1 -1
- package/dist/esm/card-form.entry.js +82 -29
- package/dist/esm/{check-pkg-version-D8eS1EP8.js → check-pkg-version-B697jYyG.js} +1 -1
- package/dist/esm/{checkout-actions-Bmn6v-SS.js → checkout-actions-DhL8YxrK.js} +2 -2
- package/dist/esm/{checkout.service-B3kWd3Cb.js → checkout.service-B3BXVtHv.js} +3 -3
- package/dist/esm/{checkout.store-DibfdUMm.js → checkout.store-B6amfNq_.js} +18 -4
- package/dist/esm/{checkouts-list-params-state-CiGfmyWW.js → checkouts-list-params-state-DfRLZrOO.js} +1 -1
- package/dist/esm/{config-state-kKn89dp1.js → config-state-BKOsYBXZ.js} +1 -1
- package/dist/esm/{country-config-CEJVOOGe.js → country-config-CJwnhkdq.js} +1 -1
- package/dist/esm/custom-popper_2.entry.js +1 -1
- package/dist/esm/dispute-notification_2.entry.js +16 -16
- package/dist/esm/{event-types-CWcuMhpX.js → event-types-DEIzZDtB.js} +3 -3
- package/dist/esm/form-address-fields_3.entry.js +4 -4
- package/dist/esm/{hidden-input_2.entry.js → form-alert_3.entry.js} +29 -8
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +2 -2
- package/dist/esm/{form-control-error-text-Di9QePY5.js → form-control-error-text-FyanxO4T.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +2 -2
- package/dist/esm/form-control-file.entry.js +2 -2
- package/dist/esm/{form-control-help-text-DGMpMuAm.js → form-control-help-text-DxvEdU36.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +3 -3
- package/dist/esm/form-control-number_2.entry.js +7 -7
- package/dist/esm/form-control-radio.entry.js +1 -1
- package/dist/esm/form-control-select_2.entry.js +4 -4
- package/dist/esm/{get-business-CDr7VlTq.js → get-business-BSyOONF0.js} +3 -3
- package/dist/esm/{get-payment-details-CpM_upcS.js → get-payment-details-CoGzqJ6o.js} +4 -4
- package/dist/esm/{get-subaccounts-DX2J9fAE.js → get-subaccounts-CnKtCpiU.js} +5 -5
- package/dist/esm/{header-1-evYxFIGN.js → header-1-BI0o3rMW.js} +1 -1
- package/dist/esm/{header-3-BUDap2xY.js → header-3-DNqRk_HO.js} +1 -1
- package/dist/esm/{index-cDVGjRkU.js → index-3wWWWrhn.js} +21 -15
- package/dist/esm/{input-handlers-1lVyzImK.js → input-handlers-Dfuc6aDW.js} +1 -1
- package/dist/esm/{insurance-state-C5OZqDCT.js → insurance-state-DM0VaTpH.js} +2 -2
- package/dist/esm/internal-button.entry.js +2 -2
- package/dist/esm/justifi-apple-pay_11.entry.js +27 -30
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +8 -8
- package/dist/esm/justifi-bank-account-form.entry.js +8 -8
- package/dist/esm/justifi-business-details.entry.js +14 -14
- package/dist/esm/justifi-business-form.entry.js +19 -19
- package/dist/esm/justifi-card-form.entry.js +8 -8
- package/dist/esm/justifi-checkout-qr-code.entry.js +8 -8
- package/dist/esm/justifi-checkout.entry.js +12 -17
- package/dist/esm/justifi-checkouts-list-filters.entry.js +8 -8
- package/dist/esm/justifi-checkouts-list.entry.js +18 -18
- package/dist/esm/justifi-config-provider.entry.js +2 -2
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +11 -11
- package/dist/esm/justifi-gross-payment-chart.entry.js +12 -12
- package/dist/esm/justifi-order-terminals.entry.js +14 -14
- package/dist/esm/justifi-payment-details.entry.js +16 -16
- package/dist/esm/justifi-payment-provisioning.entry.js +15 -15
- package/dist/esm/justifi-payment-transactions-list.entry.js +13 -13
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +16 -16
- package/dist/esm/justifi-payout-details.entry.js +16 -16
- package/dist/esm/justifi-payout-transactions-list.entry.js +13 -13
- package/dist/esm/justifi-payouts-list-filters.entry.js +6 -6
- package/dist/esm/justifi-payouts-list.entry.js +17 -17
- package/dist/esm/justifi-qr-terminal.entry.js +11 -11
- package/dist/esm/justifi-refund-payment.entry.js +16 -16
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +13 -13
- package/dist/esm/justifi-skeleton.entry.js +2 -2
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +6 -6
- package/dist/esm/justifi-terminal-orders-list.entry.js +14 -14
- package/dist/esm/justifi-terminals-list-filters.entry.js +6 -6
- package/dist/esm/justifi-terminals-list.entry.js +16 -16
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-XQGYXcNa.js → package-DlhPMNzz.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-CPKMvyV_.js → parts-Bu7gdOaV.js} +1 -1
- package/dist/esm/payment-method-option.entry.js +1 -1
- package/dist/esm/{payment-provisioning-actions-BJYx_JgF.js → payment-provisioning-actions-DJKGndr3.js} +2 -2
- package/dist/esm/payment-provisioning-form-buttons_2.entry.js +3 -3
- package/dist/esm/{payment-provisioning-loading-Dve2xQA4.js → payment-provisioning-loading-BxHRVFDi.js} +1 -1
- package/dist/esm/{payment.service-DICpfY3q.js → payment.service-Ciw1eGvT.js} +3 -3
- package/dist/esm/{payments-list-params-state-CiGfmyWW.js → payments-list-params-state-DfRLZrOO.js} +1 -1
- package/dist/esm/{payments-status-BlVUt4C1.js → payments-status-If2fvwlv.js} +1 -1
- package/dist/esm/{payout.service-C0dmZtzu.js → payout.service-2jjZOOvC.js} +3 -3
- package/dist/esm/{payouts-list-params-state-CiGfmyWW.js → payouts-list-params-state-DfRLZrOO.js} +1 -1
- package/dist/esm/{payouts-status-BnB9006T.js → payouts-status-C0nijel1.js} +3 -3
- package/dist/esm/{plaid.service-CDwe-YbI.js → plaid.service-CuAL_uL3.js} +3 -3
- 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-DJilm-Nh.js → schema-validations-8dbMCACI.js} +3 -3
- package/dist/esm/{skeleton-BEHo2ypu.js → skeleton-dbktEkFS.js} +1 -1
- package/dist/esm/{spinner-DIiQZd6_.js → spinner-EZmqiSfd.js} +1 -1
- package/dist/esm/{table-DqGfsdys.js → table-CD17nv9n.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/{terminal-orders-list-params-state-CiGfmyWW.js → terminal-orders-list-params-state-DfRLZrOO.js} +1 -1
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-DIDTZ_fB.js → terminal.service-Di5Ma4sp.js} +3 -3
- package/dist/esm/terminals-list-params-state-DfRLZrOO.js +16 -0
- package/dist/esm/{utils-CX6puxwf.js → utils-BFduyAPr.js} +1 -1
- package/dist/esm/{utils-BdBZQD1G.js → utils-D6LKoG0M.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Plaid.js +2 -0
- package/dist/module/additional-statement2.js +1 -1
- package/dist/module/bank-account-form2.js +84 -25
- package/dist/module/business-bank-account-form-step2.js +1 -1
- package/dist/module/business-core-info-form-step2.js +1 -1
- package/dist/module/business-core-info2.js +1 -1
- package/dist/module/business-documents-on-file2.js +1 -1
- package/dist/module/business-owners-form-step2.js +1 -1
- package/dist/module/business-representative-form-inputs2.js +1 -1
- package/dist/module/business-representative2.js +1 -1
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy2.js +1 -1
- package/dist/module/card-form2.js +87 -25
- package/dist/module/checkout.store.js +17 -3
- package/dist/module/customer-details2.js +1 -1
- package/dist/module/dispute-notification2.js +3 -3
- package/dist/module/dispute-response2.js +2 -2
- package/dist/module/document-upload-list2.js +1 -1
- package/dist/module/duplicate-charge2.js +1 -1
- package/dist/module/electronic-evidence2.js +1 -1
- package/dist/module/form-alert2.js +1 -1
- package/dist/module/form-control-checkbox2.js +3 -3
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/header-3.js +1 -1
- package/dist/module/iframe-input2.js +11 -4
- package/dist/module/index3.js +21 -15
- package/dist/module/justifi-apple-pay2.js +1 -7
- package/dist/module/justifi-bank-account-form.js +8 -2
- package/dist/module/justifi-card-form.js +8 -2
- package/dist/module/justifi-checkout.js +22 -21
- 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 +1 -1
- package/dist/module/justifi-modular-checkout2.js +8 -5
- package/dist/module/justifi-order-terminals.js +1 -1
- package/dist/module/justifi-payment-transactions-list.js +1 -1
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -1
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-refund-payment.js +2 -2
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/justifi-tokenize-payment-method2.js +20 -14
- package/dist/module/owner-form-inputs2.js +1 -1
- package/dist/module/owner-form2.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/parts.js +1 -1
- package/dist/module/plaid-verification2.js +1 -1
- package/dist/module/product-or-service2.js +1 -1
- package/dist/module/refund-policy2.js +1 -1
- package/dist/module/shipping-details2.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 +1 -1
- package/dist/types/api/ComponentError.d.ts +2 -0
- package/dist/types/components/checkout/bank-account-form/bank-account-form-skeleton.d.ts +1 -4
- package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +11 -1
- package/dist/types/components/checkout/card-form/card-form-skeleton.d.ts +1 -4
- package/dist/types/components/checkout/card-form/card-form.d.ts +12 -2
- package/dist/types/components/checkout/test/use-bridged-fake-timers.d.ts +1 -0
- package/dist/types/components/modular-checkout/justifi-modular-checkout.d.ts +1 -0
- package/dist/types/components/modular-checkout/sub-components/justifi-apple-pay.d.ts +0 -1
- package/dist/types/components.d.ts +33 -0
- package/dist/types/store/checkout.store.d.ts +1 -3
- package/dist/types/ui-components/form/iframe-input.d.ts +2 -0
- package/dist/webcomponents/{p-932f6c6f.entry.js → p-003cd0b9.entry.js} +1 -1
- package/dist/webcomponents/p-041a22dd.entry.js +1 -0
- package/dist/webcomponents/{p-ec6978cb.entry.js → p-0464be7b.entry.js} +1 -1
- package/dist/webcomponents/p-0ae95f48.entry.js +1 -0
- package/dist/webcomponents/p-0c2848c8.entry.js +1 -0
- package/dist/webcomponents/{p-a7d0cc9f.entry.js → p-11294ee2.entry.js} +1 -1
- package/dist/webcomponents/{p-4a5d5dbb.entry.js → p-1255176f.entry.js} +1 -1
- package/dist/webcomponents/{p-1cff91b7.entry.js → p-15934f30.entry.js} +1 -1
- package/dist/webcomponents/p-19721f28.entry.js +1 -0
- package/dist/webcomponents/{p-c0698710.entry.js → p-1a1591e3.entry.js} +1 -1
- package/dist/webcomponents/{p-0a4fcb15.entry.js → p-1cdbe8c1.entry.js} +1 -1
- package/dist/webcomponents/{p-debc4768.entry.js → p-2139497d.entry.js} +1 -1
- package/dist/webcomponents/{p-f8c2ee31.entry.js → p-34a4924b.entry.js} +1 -1
- package/dist/webcomponents/p-359e35b5.entry.js +1 -0
- package/dist/webcomponents/{p-8fd18ce2.entry.js → p-36d7033b.entry.js} +1 -1
- package/dist/webcomponents/{p-dc0cc4aa.entry.js → p-3ef039ec.entry.js} +1 -1
- package/dist/webcomponents/p-40332723.entry.js +1 -0
- package/dist/webcomponents/{p-65c3288f.entry.js → p-465e9e1c.entry.js} +1 -1
- package/dist/webcomponents/{p-b03e361e.entry.js → p-49e40ebe.entry.js} +1 -1
- package/dist/webcomponents/{p-5a58f606.entry.js → p-4d60d249.entry.js} +1 -1
- package/dist/webcomponents/p-546e5799.entry.js +1 -0
- package/dist/webcomponents/{p-2dfdecbb.entry.js → p-558677a7.entry.js} +1 -1
- package/dist/webcomponents/{p-f953fd60.entry.js → p-568b81a2.entry.js} +1 -1
- package/dist/webcomponents/p-5_w3jWjY.js +1 -0
- package/dist/webcomponents/{p-73deced9.entry.js → p-61eae8cd.entry.js} +1 -1
- package/dist/webcomponents/p-63ed941e.entry.js +1 -0
- package/dist/webcomponents/{p-a504a830.entry.js → p-661f50a9.entry.js} +1 -1
- package/dist/webcomponents/p-6f34fa90.entry.js +1 -0
- package/dist/webcomponents/{p-e020f003.entry.js → p-6f88f836.entry.js} +1 -1
- package/dist/webcomponents/{p-9399f4f1.entry.js → p-715df6a8.entry.js} +1 -1
- package/dist/webcomponents/{p-8ef24398.entry.js → p-73f97f6a.entry.js} +1 -1
- package/dist/webcomponents/{p-5071aaa4.entry.js → p-74de23d8.entry.js} +1 -1
- package/dist/webcomponents/{p-222a5422.entry.js → p-8507bd99.entry.js} +1 -1
- package/dist/webcomponents/p-851a5865.entry.js +1 -0
- package/dist/webcomponents/p-8bf07094.entry.js +1 -0
- package/dist/webcomponents/p-8fO8CrtQ.js +1 -0
- package/dist/webcomponents/p-9c506058.entry.js +1 -0
- package/dist/webcomponents/{p-ebbb72db.entry.js → p-9f3b1212.entry.js} +1 -1
- package/dist/webcomponents/p-B-Ik8b-s.js +1 -0
- package/dist/webcomponents/p-B4Xi-t8v.js +1 -0
- package/dist/webcomponents/{p-DVJaoI_m.js → p-B4vLfYnZ.js} +1 -1
- package/dist/webcomponents/p-BAB1lPu0.js +1 -0
- package/dist/webcomponents/p-BLhz_ggG.js +1 -0
- package/dist/webcomponents/p-BTuqVZ6O.js +1 -0
- package/dist/webcomponents/{p-Cu7hgXL1.js → p-Bh6Q8AqQ.js} +1 -1
- package/dist/webcomponents/{p-D1_eip6x.js → p-Bi_GCMx0.js} +1 -1
- package/dist/webcomponents/{p-CV9bTMsT.js → p-BpFSR2PV.js} +1 -1
- package/dist/webcomponents/{p-Da3ZlxHS.js → p-BsnuluAl.js} +1 -1
- package/dist/webcomponents/{p-CPKMvyV_.js → p-Bu7gdOaV.js} +1 -1
- package/dist/webcomponents/p-BzjgvHHT.js +1 -0
- package/dist/webcomponents/{p-ynzkwSZi.js → p-C1x6dkgs.js} +1 -1
- package/dist/webcomponents/p-CArdj6i_.js +1 -0
- package/dist/webcomponents/p-CGnRD4wF.js +1 -0
- package/dist/webcomponents/p-CLZcevBz.js +1 -0
- package/dist/webcomponents/p-CMvr3y5s.js +1 -0
- package/dist/webcomponents/{p-CHo7TfsM.js → p-CU2Dwa94.js} +1 -1
- package/dist/webcomponents/p-CZk3i5Tu.js +1 -0
- package/dist/webcomponents/p-CaLXuYmg.js +1 -0
- package/dist/webcomponents/{p-DPA5TKvQ.js → p-CawcnSoV.js} +1 -1
- package/dist/webcomponents/p-CbyGKcz_.js +1 -0
- package/dist/webcomponents/{p-M5r3mgPH.js → p-CfYe14W-.js} +1 -1
- package/dist/webcomponents/p-Chs1q3Hw.js +1 -0
- package/dist/webcomponents/{p-B9fbqJSf.js → p-Co3Rtlnu.js} +1 -1
- package/dist/webcomponents/p-CumGHL0N.js +1 -0
- package/dist/webcomponents/p-D1H6VUbM.js +1 -0
- package/dist/webcomponents/p-D437Px2O.js +1 -0
- package/dist/webcomponents/p-DCwSevh5.js +1 -0
- package/dist/webcomponents/p-DD9-ceDZ.js +1 -0
- package/dist/webcomponents/p-DNuxxP2B.js +1 -0
- package/dist/webcomponents/p-DNxN6bjU.js +1 -0
- package/dist/webcomponents/p-DUtecvro.js +1 -0
- package/dist/webcomponents/{p-BICxxa69.js → p-DZr0wLGh.js} +1 -1
- package/dist/webcomponents/{p-BcNb9bVO.js → p-DaDqgDrb.js} +1 -1
- package/dist/webcomponents/p-DgTOxu8x.js +1 -0
- package/dist/webcomponents/p-Dl0CAW76.js +1 -0
- package/dist/webcomponents/p-DlhPMNzz.js +1 -0
- package/dist/webcomponents/{p-DHB_XJ12.js → p-Do9dxNjh.js} +1 -1
- package/dist/webcomponents/{p-Tf63eN3X.js → p-DwLofzXZ.js} +1 -1
- package/dist/webcomponents/{p-CHw7tICr.js → p-Dz8KJn2G.js} +1 -1
- package/dist/webcomponents/p-MPer3Rw7.js +1 -0
- package/dist/webcomponents/{p-BBSnDYJw.js → p-OReJ-ZQb.js} +1 -1
- package/dist/webcomponents/{p-4baac05b.entry.js → p-a0515894.entry.js} +1 -1
- package/dist/webcomponents/{p-76ded81e.entry.js → p-a14d3d7d.entry.js} +1 -1
- package/dist/webcomponents/p-a6f68a03.entry.js +1 -0
- package/dist/webcomponents/{p-49c13952.entry.js → p-af0c6421.entry.js} +1 -1
- package/dist/webcomponents/p-b140a8b8.entry.js +1 -0
- package/dist/webcomponents/{p-528eef2d.entry.js → p-b17fabdc.entry.js} +1 -1
- package/dist/webcomponents/{p-db09f306.entry.js → p-b2129553.entry.js} +1 -1
- package/dist/webcomponents/{p-605bd107.entry.js → p-b39dd96b.entry.js} +1 -1
- package/dist/webcomponents/{p-b0deb260.entry.js → p-b4d216cf.entry.js} +1 -1
- package/dist/webcomponents/{p-e1e91bbb.entry.js → p-b8d46fc5.entry.js} +1 -1
- package/dist/webcomponents/{p-53d775b9.entry.js → p-b945fa49.entry.js} +1 -1
- package/dist/webcomponents/{p-75b5d6ac.entry.js → p-b9b5d046.entry.js} +1 -1
- package/dist/webcomponents/p-bc435cae.entry.js +1 -0
- package/dist/webcomponents/{p-43a53ae2.entry.js → p-bd46911b.entry.js} +1 -1
- package/dist/webcomponents/p-bf3866b3.entry.js +1 -0
- package/dist/webcomponents/p-c4799285.entry.js +1 -0
- package/dist/webcomponents/p-cb5d2198.entry.js +1 -0
- package/dist/webcomponents/p-cb977890.entry.js +1 -0
- package/dist/webcomponents/{p-58e8d646.entry.js → p-d6122124.entry.js} +1 -1
- package/dist/webcomponents/{p-a686ebeb.entry.js → p-db71a012.entry.js} +1 -1
- package/dist/webcomponents/p-dd2654f5.entry.js +1 -0
- package/dist/webcomponents/{p-14a03ad0.entry.js → p-de8c6cd4.entry.js} +1 -1
- package/dist/webcomponents/p-eBK-iWrz.js +1 -0
- package/dist/webcomponents/{p-ba8eae66.entry.js → p-ee78df81.entry.js} +1 -1
- package/dist/webcomponents/p-f0083ace.entry.js +1 -0
- package/dist/webcomponents/{p-eccc1fc6.entry.js → p-f6941969.entry.js} +1 -1
- package/dist/webcomponents/p-f9d0b34d.entry.js +1 -0
- package/dist/webcomponents/{p-0d0167f8.entry.js → p-fbd08a2e.entry.js} +4 -4
- package/dist/webcomponents/p-x2oNTAWh.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +15 -15
- package/dist/cjs/terminals-list-params-state-vGJZ6Oe2.js +0 -22
- package/dist/esm/terminals-list-params-state-CiGfmyWW.js +0 -16
- package/dist/webcomponents/p-02097c85.entry.js +0 -1
- package/dist/webcomponents/p-0da78470.entry.js +0 -1
- package/dist/webcomponents/p-0f2a1ac9.entry.js +0 -1
- package/dist/webcomponents/p-1b51dea9.entry.js +0 -1
- package/dist/webcomponents/p-1de248b1.entry.js +0 -1
- package/dist/webcomponents/p-20f07ac9.entry.js +0 -1
- package/dist/webcomponents/p-25215ee7.entry.js +0 -1
- package/dist/webcomponents/p-35a01bf7.entry.js +0 -1
- package/dist/webcomponents/p-3d89543a.entry.js +0 -1
- package/dist/webcomponents/p-64377ff6.entry.js +0 -1
- package/dist/webcomponents/p-6624dcf8.entry.js +0 -1
- package/dist/webcomponents/p-6fe329d6.entry.js +0 -1
- package/dist/webcomponents/p-8cb504d4.entry.js +0 -1
- package/dist/webcomponents/p-8fabef40.entry.js +0 -1
- package/dist/webcomponents/p-9525003b.entry.js +0 -1
- package/dist/webcomponents/p-9cc293aa.entry.js +0 -1
- package/dist/webcomponents/p-AMVhBsGv.js +0 -1
- package/dist/webcomponents/p-AyLerOda.js +0 -1
- package/dist/webcomponents/p-B5gBiARs.js +0 -1
- package/dist/webcomponents/p-BPTtWj7E.js +0 -1
- package/dist/webcomponents/p-BwPS3971.js +0 -1
- package/dist/webcomponents/p-C-Jgmek8.js +0 -1
- package/dist/webcomponents/p-C6o0liMT.js +0 -1
- package/dist/webcomponents/p-CXIRxyAr.js +0 -1
- package/dist/webcomponents/p-CXZRiaUw.js +0 -1
- package/dist/webcomponents/p-CYH0JCan.js +0 -1
- package/dist/webcomponents/p-CZTtbCDg.js +0 -1
- package/dist/webcomponents/p-Ce_W43gc.js +0 -1
- package/dist/webcomponents/p-CmmWlVnF.js +0 -1
- package/dist/webcomponents/p-CpGEMRkH.js +0 -1
- package/dist/webcomponents/p-CqiVXthx.js +0 -1
- package/dist/webcomponents/p-D8GTwl9v.js +0 -1
- package/dist/webcomponents/p-DMB1dln7.js +0 -1
- package/dist/webcomponents/p-DSclFZ32.js +0 -1
- package/dist/webcomponents/p-DYHjzFnJ.js +0 -1
- package/dist/webcomponents/p-Dm07nLGs.js +0 -1
- package/dist/webcomponents/p-DnaE803u.js +0 -1
- package/dist/webcomponents/p-Dsm1jN-a.js +0 -1
- package/dist/webcomponents/p-Dw63wyhO.js +0 -1
- package/dist/webcomponents/p-DyPk4BJt.js +0 -1
- package/dist/webcomponents/p-IcPtYL88.js +0 -1
- package/dist/webcomponents/p-XQGYXcNa.js +0 -1
- package/dist/webcomponents/p-b36bdd5e.entry.js +0 -1
- package/dist/webcomponents/p-b6c45aa2.entry.js +0 -1
- package/dist/webcomponents/p-bpbC1knu.js +0 -1
- package/dist/webcomponents/p-c902503d.entry.js +0 -1
- package/dist/webcomponents/p-e3021e22.entry.js +0 -1
- package/dist/webcomponents/p-e7cfee5a.entry.js +0 -1
- package/dist/webcomponents/p-f3977cfe.entry.js +0 -1
- package/dist/webcomponents/p-jIDKmNHy.js +0 -1
- package/dist/webcomponents/p-rpFC83GL.js +0 -1
- package/dist/webcomponents/p-uZ5KAseb.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-V2lnhWch.js');
|
|
4
|
+
var Api = require('./Api-ChUqJ75C.js');
|
|
5
|
+
require('./Plaid-B2o4c_Ej.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
7
|
require('./Business-oBifyXkW.js');
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var configState = require('./config-state-
|
|
3
|
+
var configState = require('./config-state-C1YMiFpR.js');
|
|
4
4
|
var utils = require('./utils-DB4XHlAU.js');
|
|
5
|
-
var _package = require('./package-
|
|
5
|
+
var _package = require('./package-V2lnhWch.js');
|
|
6
6
|
|
|
7
7
|
const Api = () => {
|
|
8
8
|
async function getAuthorizationHeader(authToken) {
|
|
@@ -4,6 +4,7 @@ var utils = require('./utils-DB4XHlAU.js');
|
|
|
4
4
|
|
|
5
5
|
exports.ComponentErrorCodes = void 0;
|
|
6
6
|
(function (ComponentErrorCodes) {
|
|
7
|
+
ComponentErrorCodes["IFRAME_LOAD_ERROR"] = "iframe-load-error";
|
|
7
8
|
ComponentErrorCodes["MISSING_PROPS"] = "missing-props";
|
|
8
9
|
ComponentErrorCodes["FETCH_ERROR"] = "fetch-error";
|
|
9
10
|
ComponentErrorCodes["PATCH_ERROR"] = "patch-error";
|
|
@@ -27,6 +28,7 @@ exports.ComponentErrorSeverity = void 0;
|
|
|
27
28
|
})(exports.ComponentErrorSeverity || (exports.ComponentErrorSeverity = {}));
|
|
28
29
|
exports.ComponentErrorMessages = void 0;
|
|
29
30
|
(function (ComponentErrorMessages) {
|
|
31
|
+
ComponentErrorMessages["IFRAME_LOAD_ERROR"] = "Payment form failed to load. Please try again.";
|
|
30
32
|
ComponentErrorMessages["NOT_AUTHENTICATED"] = "Not authenticated. Please provide a valid auth token, checkout id, and account id.";
|
|
31
33
|
ComponentErrorMessages["CHECKOUT_ALREADY_COMPLETED"] = "Checkout already completed. Please create a new checkout.";
|
|
32
34
|
ComponentErrorMessages["CHECKOUT_EXPIRED"] = "Checkout expired. Please create a new checkout.";
|
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
4
|
+
var Plaid = require('./Plaid-B2o4c_Ej.js');
|
|
5
|
+
var paymentProvisioningActions = require('./payment-provisioning-actions-CIsDrh8k.js');
|
|
6
|
+
var business_service = require('./business.service-BSoN1ENP.js');
|
|
7
7
|
var businessIdentitySchema = require('./business-identity-schema-hpDJFnB4.js');
|
|
8
8
|
var index_esm = require('./index.esm-BNETBIV_.js');
|
|
9
9
|
var Business = require('./Business-oBifyXkW.js');
|
|
@@ -13,7 +13,7 @@ var paymentProvisioningLoading = require('./payment-provisioning-loading-tM9WWmx
|
|
|
13
13
|
var businessFormOptions = require('./business-form-options-CnlrfbQ6.js');
|
|
14
14
|
var eventTypes = require('./event-types-DNOUef41.js');
|
|
15
15
|
var utils = require('./utils-DAyWinG2.js');
|
|
16
|
-
require('./config-state-
|
|
16
|
+
require('./config-state-C1YMiFpR.js');
|
|
17
17
|
require('./dinero-BwNN_k7x.js');
|
|
18
18
|
require('./Pagination-Dediz133.js');
|
|
19
19
|
var schemaValidations = require('./schema-validations-DehT309E.js');
|
|
@@ -23,13 +23,13 @@ var countryConfig = require('./country-config-C1bWmF8P.js');
|
|
|
23
23
|
var utils$1 = require('./utils-DB4XHlAU.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-ChUqJ75C.js');
|
|
27
27
|
var styledHost = require('./styled-host-CW1WUnUq.js');
|
|
28
|
-
var plaid_service = require('./plaid.service-
|
|
29
|
-
require('./utils-
|
|
28
|
+
var plaid_service = require('./plaid.service-DIPjzg_M.js');
|
|
29
|
+
require('./utils-WrOn06xB.js');
|
|
30
30
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
31
|
-
require('./index-
|
|
32
|
-
require('./package-
|
|
31
|
+
require('./index-DDrfAj-j.js');
|
|
32
|
+
require('./package-V2lnhWch.js');
|
|
33
33
|
|
|
34
34
|
// Emits a MISSING_PROPS error naming each falsy prop. Returns true when all props are present.
|
|
35
35
|
// `props` keys are the public attribute names, e.g. { 'auth-token': this.authToken }.
|
package/dist/cjs/{additional-questions_5.cjs.entry.js → additional-questions_4.cjs.entry.js}
RENAMED
|
@@ -93,21 +93,6 @@ const BusinessRepresentative = class {
|
|
|
93
93
|
}
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
const FormAlert = class {
|
|
97
|
-
constructor(hostRef) {
|
|
98
|
-
index.registerInstance(this, hostRef);
|
|
99
|
-
}
|
|
100
|
-
render() {
|
|
101
|
-
if (!this.text) {
|
|
102
|
-
return null;
|
|
103
|
-
}
|
|
104
|
-
if (this.hideAlert) {
|
|
105
|
-
return null;
|
|
106
|
-
}
|
|
107
|
-
return (index.h("div", { class: 'alert alert-danger d-flex align-items-center', role: 'alert', part: parts.alertDanger }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", fill: "currentColor", class: "bi bi-exclamation-triangle-fill flex-shrink-0 me-2", viewBox: "0 0 16 16", role: "img", "aria-label": "Warning:" }, index.h("path", { d: "M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z" })), index.h("div", null, this.text)));
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
|
|
111
96
|
const LegalAddressForm = class {
|
|
112
97
|
constructor(hostRef) {
|
|
113
98
|
index.registerInstance(this, hostRef);
|
|
@@ -131,5 +116,4 @@ const LegalAddressForm = class {
|
|
|
131
116
|
exports.additional_questions = AdditionalQuestions;
|
|
132
117
|
exports.business_core_info = BusinessCoreInfo;
|
|
133
118
|
exports.business_representative = BusinessRepresentative;
|
|
134
|
-
exports.form_alert = FormAlert;
|
|
135
119
|
exports.legal_address_form = LegalAddressForm;
|
|
@@ -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: '705936da10f418086c5757af0de3e53ab10716e0' }, index.h("div", { key: '56606aa326884a0e4417259a47739d867c2adfd7', class: "row gy-3" }, index.h("div", { key: '77d1e0eac15050e686f603dee1ca43f55373129f', class: "col-12" }, index.h("h2", { key: '7ded76e33d6190d0bf38c04ae1be16d3fbe90ee6', class: "h5", part: parts.heading5 }, "Additional Evidence")), index.h("div", { key: '62ac6a05b02dd2572faf39c1676300d01e72b953', class: "col-12" }, index.h("form-control-textarea", { key: '04aecc2015fea1ecf1e8a4dc5c17ae126040eaba', 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: 'f483f7187b15facbc60411659aee39b59f5046eb', class: "col-12" }, index.h("form-control-file-v2", { key: '7d11206b29a51d5ad493488f8446fcf1254ed411', 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: '97168f1e084510db91708b5f769d680506e48378' }, index.h("div", { key: 'fed6ca9c4aa195adbbc702957f94ce13be6d12ea', class: "row gy-3" }, index.h("div", { key: '6ac7b963019a8b83e3068940a3219338e5603f20', class: "col-12" }, index.h("h2", { key: '0a9a79bfc840aa2190eb48b7860db7eab1e94d6b', class: "h5", part: parts.heading5 }, "Cancellation Policy")), index.h("div", { key: '662b83a4b580d8f2621a6475fa693314a1459d77', class: "col-12" }, index.h("form-control-textarea", { key: '5c1edfe81316fa0da00ed80ad448e4165eff4445', 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: '36c6f8408c1975ba23bb41cd44c8442a3c5ef952', class: "col-12" }, index.h("form-control-textarea", { key: '570795ddd085ea26d8456908efe0651793f4490a', 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: '4cb3da1f399fb639e08474d6ec6d82071d31968f', class: "col-12" }, index.h("form-control-file-v2", { key: '701338b09a213b850347a4204d2b0c536406afd3', 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: 'e4f028d0369b88c270aa610ab457921ee729f1cb' }, index.h("div", { key: 'ba4d130e343603baa3c1b3d8141b981f97cb7133', class: "row gy-3" }, index.h("div", { key: 'a21d574e6fbd3daef4960b39aba9568060a79ebd', class: "col-12" }, index.h("h2", { key: 'a87274deacfdb31ae769252f7418416152528d43', class: "h5", part: parts.heading5 }, "Customer Details")), index.h("div", { key: '2aa05a739cc38a95860b255dab7142fd1a7932d3', class: "col-12" }, index.h("form-control-text", { key: 'b4fa7ef3c75d3c2ddc83292c2a13c80ee2a6a4cf', 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: 'b8a6851094599ed3683f3c14f18305ff0a8ed557', class: "col-12" }, index.h("form-control-text", { key: '4c8d73b3001a36502c6e6083eafdc8e06af86d23', 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: '45d406392c4ba199d77583f18874797f4b7c125e', class: "col-12" }, index.h("form-control-textarea", { key: '757de489531e8e28beb052403842d191e2a45be1', 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: '3e339e0f275e1ab8e195d77973b60af364d5cdc6', class: "col-12" }, index.h("form-control-file-v2", { key: '64175687470e62ce55d62163b8d231c481fce2a6', 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: '27d1ac884a8986c8e9a23c92296e2f8871ec0f45', class: "col-12" }, index.h("form-control-file-v2", { key: 'f7169172d91f4ea785d1532bb4a442cba8cc1c9e', 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: 'a4be51ca28d0558a06a96429c9f6967de65f7687' }, index.h("div", { key: 'e240189e3a8d31963667e6779a9497ab8258f983', class: "row gy-3" }, index.h("div", { key: 'c22af27a5e94810c4daa4105d30b69a9bac3ea84', class: "col-12" }, index.h("h2", { key: '6b09237bb4a404c03a20f1dd3687b1b2b6c02f72', class: "h5", part: parts.heading5 }, "Duplicate Charge")), index.h("div", { key: '91cca8f6bfe938aad35d57f1360cea9c8a46b89b', class: "col-12" }, index.h("form-control-text", { key: '88cd9fad95f55f1302cf8b638eee372279c0b601', 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: '930ddf5ae0d1f22e87f40d422cc7cc3cf202cf78', class: "col-12" }, index.h("form-control-textarea", { key: 'ab6764a1f982f6be6dd0fc94d5f6630b54fca654', 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: '8ca0a2a0b69d577022bd82d7f04fe8205ee66e7f', class: "col-12" }, index.h("form-control-file-v2", { key: '9a5e4ac52a949a8a7b4bcabd397f8b38edbff159', 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: 'edbcd0fd94da7a6fb25403bca804133cd20be070' }, index.h("div", { key: '82263da6e6a92b478366025bf648fce4f3f91db6', class: "row gy-3" }, index.h("div", { key: 'f6435773410b5561ead0e4a20637a57b785b8c50', class: "col-12" }, index.h("h2", { key: 'c911fb7238d292f9d11627e13729cf613192cb13', class: "h5", part: parts.heading5 }, "Electronic Evidence")), index.h("div", { key: 'ae43f664aa254449df9cf2c6e851e2e9c532c90e', class: "col-12" }, index.h("form-control-text", { key: 'a7781046a1ef45514831affa9c650b7849100817', 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: '47ba5795dde01a4d62fbdeae9e5b7b29cd538cc5', class: "col-12" }, index.h("form-control-file-v2", { key: 'a44528a479ec5fa2d60e357aa577b1a44f81a074', 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: '05c536ee29807808dde18056696f0874d58efbe9' }, index.h("div", { key: '07927d573fff06c4b65330a4cfb493f594e362d4', class: "row gy-3" }, index.h("div", { key: 'c38ab76b089b7b66aad0dd89dbc74b2a3fedddda', class: "col-12" }, index.h("h2", { key: '830d1384bc17af43bcd20145eab870ca293d965d', class: "h5", part: parts.heading5 }, "Product & Service Details")), index.h("div", { key: '6b5fb4827719e7dd29a90935ec5afd540c1c81fd', class: "col-12" }, index.h("form-control-text", { key: '0fed87fcbb554a739285431f6256f8b8d7802b9a', 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: '8a59d2bb505dd211126d6e4a6e741aaed959edc7', class: "col-12" }, index.h("form-control-date", { key: 'ffa4f5323aaa7c274950f2176774a4f7946c4ca4', 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: 'c9e7aca6c2e9c66ec0884b34533af18a1c581b4d', class: "col-12" }, index.h("form-control-file-v2", { key: '8db8543f45b02496d2cc6f04794c18da55f4c146', 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: 'baf5ee051fb023d19f3d0c21d4a7ee651e283c76' }, index.h("div", { key: 'c8e4870b875bff53184b90e2d254acdee795e51c', class: "row gy-3" }, index.h("div", { key: '872d7f45c1b5832234d013a3f7065d05f9896d80', class: "col-12" }, index.h("h2", { key: '7ae62cf2f5ab51537349b91db8fa9d2fa351e685', class: "h5", part: parts.heading5 }, "Refund Policy and Receipt")), index.h("div", { key: '48a8249261d3bcf981e45dba6aaf260c4419816e', class: "col-12" }, index.h("form-control-textarea", { key: '31b6c4b3ffadc1fe812a00fb5e4d40de423b635e', 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: 'f5504c3367bc74127dec92d95d0934a9bbb00b29', class: "col-12" }, index.h("form-control-textarea", { key: '9fe085d5435561251b3192169904438f0b6501e6', 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: 'ae8110175bfd1880b62e41fc1b474f31a9523cfb', class: "col-12" }, index.h("form-control-file-v2", { key: 'ba38271cac7afd52ba6669086d664cec2e008f77', 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: '31ff66405fdae65e1b441b847a0e5f048822e0fc', class: "col-12" }, index.h("form-control-file-v2", { key: 'a36cb88846ba11690a4525ffbb27c0b4fb2140af', 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: '079899510230700b1b0164642856719267e0dc09' }, index.h("div", { key: '23229775a0a57e60cd6de4ceff1bcb60d2502283', class: "row gy-3" }, index.h("div", { key: '9376fd2dfe64983f734f93354c08a38cbe6d46d4', class: "col-12" }, index.h("h2", { key: '141a2e2a5098388d15e4626a4311a0d95991af3b', class: "h5", part: parts.heading5 }, "Shipping Details")), index.h("div", { key: 'c1eae745411ea51d07839c84abce48742cf8e31b', class: "col-12" }, index.h("form-control-text", { key: '37ffbdb5be2e0bcffcc78b19ce5a125fd3a7cbd5', 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: '27f39470af011e3cbae85e35e56c544a331c1241', class: "col-12" }, index.h("form-control-text", { key: 'dda7d915ab28bb2845cbfd1338222b1c50aab063', 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: 'bbf1cff1e23632597fad5c84b4c6ceb8080be547', class: "col-12" }, index.h("form-control-date", { key: '8a0bc94d48e7ccde53408ad6a3f20ffcfe7a6263', 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: '55e9efd42f6380c0bb645de90dde4eb63ce80a5d', class: "col-12" }, index.h("form-control-textarea", { key: '0dac6c8521bec728b7dd182841552b72f38dbbec', 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: '488034d64bc2808d27b9a072515cb84593e72db9', class: "col-12" }, index.h("form-control-file-v2", { key: '609b0177ed8279fe483f5b4e59ee076b4b471ee7', 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
|
|
|
@@ -4,7 +4,7 @@ var index = require('./index-p7cvUYAE.js');
|
|
|
4
4
|
var index_esm = require('./index.esm-BNETBIV_.js');
|
|
5
5
|
var schemaValidations = require('./schema-validations-DehT309E.js');
|
|
6
6
|
var parts = require('./parts-BXshb_S-.js');
|
|
7
|
-
var checkout_store = require('./checkout.store-
|
|
7
|
+
var checkout_store = require('./checkout.store-DOa1-SjA.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');
|
|
@@ -12,7 +12,7 @@ require('./_commonjsHelpers-BJu3ubxk.js');
|
|
|
12
12
|
require('./country-config-C1bWmF8P.js');
|
|
13
13
|
require('./Business-oBifyXkW.js');
|
|
14
14
|
require('./business-form-options-CnlrfbQ6.js');
|
|
15
|
-
require('./index-
|
|
15
|
+
require('./index-DDrfAj-j.js');
|
|
16
16
|
|
|
17
17
|
const fullBillingSchema = () => index_esm.create$3({
|
|
18
18
|
name: schemaValidations.identityNameValidation.required('Enter full name'),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
require('./config-state-
|
|
4
|
+
require('./config-state-C1YMiFpR.js');
|
|
5
5
|
require('./dinero-BwNN_k7x.js');
|
|
6
|
-
var Plaid = require('./Plaid-
|
|
6
|
+
var Plaid = require('./Plaid-B2o4c_Ej.js');
|
|
7
7
|
require('./Pagination-Dediz133.js');
|
|
8
8
|
require('./Business-oBifyXkW.js');
|
|
9
|
-
require('./index-
|
|
9
|
+
require('./index-DDrfAj-j.js');
|
|
10
10
|
require('./utils-DB4XHlAU.js');
|
|
11
11
|
|
|
12
12
|
const BankAccountDocumentFormInputs = class {
|
|
@@ -2,29 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
4
|
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
5
|
-
var configState = require('./config-state-
|
|
5
|
+
var configState = require('./config-state-C1YMiFpR.js');
|
|
6
6
|
var utils = require('./utils-DB4XHlAU.js');
|
|
7
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
8
|
-
var checkout_store = require('./checkout.store-
|
|
7
|
+
var checkPkgVersion = require('./check-pkg-version-mt-o0WFo.js');
|
|
8
|
+
var checkout_store = require('./checkout.store-DOa1-SjA.js');
|
|
9
|
+
var Plaid = require('./Plaid-B2o4c_Ej.js');
|
|
10
|
+
require('./Pagination-Dediz133.js');
|
|
11
|
+
require('./Business-oBifyXkW.js');
|
|
12
|
+
var button = require('./button-CR9Rl1-o.js');
|
|
13
|
+
require('./event-types-YOY5TKUN.js');
|
|
9
14
|
require('./parts-BXshb_S-.js');
|
|
10
|
-
require('./index-
|
|
15
|
+
require('./index-DDrfAj-j.js');
|
|
11
16
|
require('./dinero-BwNN_k7x.js');
|
|
12
|
-
require('./package-
|
|
17
|
+
require('./package-V2lnhWch.js');
|
|
13
18
|
require('./index-CajjbB9t.js');
|
|
14
19
|
|
|
15
|
-
const BankAccountFormSkeleton = (
|
|
16
|
-
const { isReady } = props;
|
|
17
|
-
if (isReady) {
|
|
18
|
-
return null;
|
|
19
|
-
}
|
|
20
|
+
const BankAccountFormSkeleton = () => {
|
|
20
21
|
return (index.h("div", { class: "container-fluid p-0" }, index.h("div", { class: "row mb-3" }, index.h("div", { class: "col-12 align-content-end" }, index.h(skeleton.Skeleton, { height: "18px", width: "120px" }), index.h(skeleton.Skeleton, { height: "36px" }))), index.h("div", { class: "row" }, index.h("div", { class: "col-12 align-content-end" }, index.h(skeleton.Skeleton, { height: "18px", width: "110px" }), index.h(skeleton.Skeleton, { height: "36px" })))));
|
|
21
22
|
};
|
|
22
23
|
|
|
23
24
|
const BankAccountForm = class {
|
|
24
25
|
constructor(hostRef) {
|
|
25
26
|
index.registerInstance(this, hostRef);
|
|
26
|
-
this.
|
|
27
|
+
this.errorEvent = index.createEvent(this, "error-event", 7);
|
|
28
|
+
this.iframeState = 'loading';
|
|
27
29
|
this.hasLoggedAchDisabledWarning = false;
|
|
30
|
+
this.reloadIframes = () => {
|
|
31
|
+
this.iframeState = 'loading';
|
|
32
|
+
this.iframeElements.forEach((element) => element.reload());
|
|
33
|
+
this.watchIframesLoad();
|
|
34
|
+
};
|
|
28
35
|
}
|
|
29
36
|
async componentWillLoad() {
|
|
30
37
|
await configState.waitForConfig();
|
|
@@ -33,23 +40,14 @@ const BankAccountForm = class {
|
|
|
33
40
|
checkPkgVersion.checkPkgVersion();
|
|
34
41
|
}
|
|
35
42
|
componentDidRender() {
|
|
36
|
-
if (this.
|
|
43
|
+
if (this.loadAbortController || !this.iframeElements.every(Boolean)) {
|
|
37
44
|
return;
|
|
38
45
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
return;
|
|
45
|
-
}
|
|
46
|
-
Promise.all(elements.map((element) => {
|
|
47
|
-
return new Promise((resolve) => {
|
|
48
|
-
element.addEventListener('iframeLoaded', () => { resolve(); });
|
|
49
|
-
});
|
|
50
|
-
})).then(() => {
|
|
51
|
-
this.isReady = true;
|
|
52
|
-
});
|
|
46
|
+
this.watchIframesLoad();
|
|
47
|
+
}
|
|
48
|
+
disconnectedCallback() {
|
|
49
|
+
var _a;
|
|
50
|
+
(_a = this.loadAbortController) === null || _a === void 0 ? void 0 : _a.abort();
|
|
53
51
|
}
|
|
54
52
|
isAchDisabledForCheckout() {
|
|
55
53
|
return (checkout_store.checkoutStore.checkoutLoaded && !checkout_store.checkoutStore.achPaymentsEnabled);
|
|
@@ -73,6 +71,58 @@ const BankAccountForm = class {
|
|
|
73
71
|
const result = await this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
74
72
|
return result;
|
|
75
73
|
}
|
|
74
|
+
get isReady() {
|
|
75
|
+
return this.iframeState === 'ready';
|
|
76
|
+
}
|
|
77
|
+
get iframeElements() {
|
|
78
|
+
return [
|
|
79
|
+
this.accountNumberIframeElement,
|
|
80
|
+
this.routingNumberIframeElement,
|
|
81
|
+
];
|
|
82
|
+
}
|
|
83
|
+
watchIframesLoad() {
|
|
84
|
+
var _a;
|
|
85
|
+
(_a = this.loadAbortController) === null || _a === void 0 ? void 0 : _a.abort();
|
|
86
|
+
const { signal } = (this.loadAbortController = new AbortController());
|
|
87
|
+
const pending = new Set(this.iframeElements.map((element) => element.inputId));
|
|
88
|
+
const loaded = Promise.all(this.iframeElements.map((element) => (new Promise((resolve) => {
|
|
89
|
+
element.addEventListener('iframeLoaded', () => {
|
|
90
|
+
pending.delete(element.inputId);
|
|
91
|
+
resolve();
|
|
92
|
+
}, { once: true, signal });
|
|
93
|
+
}))));
|
|
94
|
+
const deadline = new Promise((_resolve, reject) => {
|
|
95
|
+
const timeoutId = window.setTimeout(() => reject(new Error(`Iframes failed to load: ${Array.from(pending).join(', ')}`)), 10000);
|
|
96
|
+
signal.addEventListener('abort', () => {
|
|
97
|
+
window.clearTimeout(timeoutId);
|
|
98
|
+
reject(new Error('iframe load watch aborted'));
|
|
99
|
+
}, { once: true });
|
|
100
|
+
});
|
|
101
|
+
Promise.race([loaded, deadline]).then(() => {
|
|
102
|
+
var _a;
|
|
103
|
+
if (signal.aborted)
|
|
104
|
+
return;
|
|
105
|
+
this.iframeState = 'ready';
|
|
106
|
+
(_a = this.loadAbortController) === null || _a === void 0 ? void 0 : _a.abort();
|
|
107
|
+
}).catch((e) => {
|
|
108
|
+
var _a;
|
|
109
|
+
if (signal.aborted)
|
|
110
|
+
return;
|
|
111
|
+
this.iframeState = 'error';
|
|
112
|
+
(_a = this.loadAbortController) === null || _a === void 0 ? void 0 : _a.abort();
|
|
113
|
+
this.errorEvent.emit({
|
|
114
|
+
errorCode: Plaid.ComponentErrorCodes.IFRAME_LOAD_ERROR,
|
|
115
|
+
message: Plaid.ComponentErrorMessages.IFRAME_LOAD_ERROR,
|
|
116
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
117
|
+
data: {
|
|
118
|
+
errorMessage: e.message,
|
|
119
|
+
},
|
|
120
|
+
});
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
renderIframeError() {
|
|
124
|
+
return (index.h("div", null, index.h("form-alert", { text: Plaid.ComponentErrorMessages.IFRAME_LOAD_ERROR, hideAlert: false }), index.h(button.Button, { variant: "link", clickHandler: this.reloadIframes, "aria-label": "Reload bank account form", type: "button" }, "Try again")));
|
|
125
|
+
}
|
|
76
126
|
render() {
|
|
77
127
|
if (this.isAchDisabledForCheckout()) {
|
|
78
128
|
if (!this.hasLoggedAchDisabledWarning) {
|
|
@@ -81,7 +131,7 @@ const BankAccountForm = class {
|
|
|
81
131
|
}
|
|
82
132
|
return null;
|
|
83
133
|
}
|
|
84
|
-
return (index.h("div", null, index.h(BankAccountFormSkeleton,
|
|
134
|
+
return (index.h("div", null, this.iframeState === 'loading' && index.h(BankAccountFormSkeleton, null), this.iframeState === 'error' && this.renderIframeError(), index.h("hidden-input", null), index.h("div", { class: "container-fluid p-0", style: {
|
|
85
135
|
opacity: this.isReady ? '1' : '0',
|
|
86
136
|
height: this.isReady ? 'auto' : '0',
|
|
87
137
|
} }, 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}` })))));
|
|
@@ -2,26 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
4
|
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
5
|
-
var configState = require('./config-state-
|
|
5
|
+
var configState = require('./config-state-C1YMiFpR.js');
|
|
6
6
|
var utils = require('./utils-DB4XHlAU.js');
|
|
7
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
7
|
+
var checkPkgVersion = require('./check-pkg-version-mt-o0WFo.js');
|
|
8
|
+
var Plaid = require('./Plaid-B2o4c_Ej.js');
|
|
9
|
+
require('./Pagination-Dediz133.js');
|
|
10
|
+
require('./Business-oBifyXkW.js');
|
|
11
|
+
var button = require('./button-CR9Rl1-o.js');
|
|
12
|
+
require('./event-types-YOY5TKUN.js');
|
|
8
13
|
require('./parts-BXshb_S-.js');
|
|
9
|
-
require('./index-
|
|
14
|
+
require('./index-DDrfAj-j.js');
|
|
10
15
|
require('./dinero-BwNN_k7x.js');
|
|
11
|
-
require('./package-
|
|
16
|
+
require('./package-V2lnhWch.js');
|
|
12
17
|
|
|
13
|
-
const CardFormSkeleton = (
|
|
14
|
-
const { isReady } = props;
|
|
15
|
-
if (isReady) {
|
|
16
|
-
return null;
|
|
17
|
-
}
|
|
18
|
+
const CardFormSkeleton = () => {
|
|
18
19
|
return (index.h("div", { class: "container-fluid p-0" }, index.h("div", { class: "mb-3" }, index.h(skeleton.Skeleton, { height: "18px", width: "100px" }), index.h(skeleton.Skeleton, { height: "36px" })), index.h("div", { class: "row" }, index.h("div", { class: "col-4 align-content-end" }, index.h(skeleton.Skeleton, { height: "18px", width: "80px" }), index.h(skeleton.Skeleton, { height: "36px" })), index.h("div", { class: "col-4 align-content-end" }, index.h(skeleton.Skeleton, { height: "36px" })), index.h("div", { class: "col-4 align-content-end" }, index.h(skeleton.Skeleton, { height: "18px", width: "30px" }), index.h(skeleton.Skeleton, { height: "36px" })))));
|
|
19
20
|
};
|
|
20
21
|
|
|
21
22
|
const CardForm = class {
|
|
22
23
|
constructor(hostRef) {
|
|
23
24
|
index.registerInstance(this, hostRef);
|
|
24
|
-
this.
|
|
25
|
+
this.errorEvent = index.createEvent(this, "error-event", 7);
|
|
26
|
+
this.iframeState = 'loading';
|
|
27
|
+
this.reloadIframes = () => {
|
|
28
|
+
this.iframeState = 'loading';
|
|
29
|
+
this.iframeElements.forEach((element) => element.reload());
|
|
30
|
+
this.watchIframesLoad();
|
|
31
|
+
};
|
|
25
32
|
}
|
|
26
33
|
async componentWillLoad() {
|
|
27
34
|
await configState.waitForConfig();
|
|
@@ -29,20 +36,12 @@ const CardForm = class {
|
|
|
29
36
|
this.tabId = utils.generateTabId();
|
|
30
37
|
checkPkgVersion.checkPkgVersion();
|
|
31
38
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
];
|
|
39
|
-
Promise.all(elements.map((element) => {
|
|
40
|
-
return new Promise((resolve) => {
|
|
41
|
-
element.addEventListener('iframeLoaded', () => { resolve(); });
|
|
42
|
-
});
|
|
43
|
-
})).then(() => {
|
|
44
|
-
this.isReady = true;
|
|
45
|
-
});
|
|
39
|
+
componentDidLoad() {
|
|
40
|
+
this.watchIframesLoad();
|
|
41
|
+
}
|
|
42
|
+
disconnectedCallback() {
|
|
43
|
+
var _a;
|
|
44
|
+
(_a = this.loadAbortController) === null || _a === void 0 ? void 0 : _a.abort();
|
|
46
45
|
}
|
|
47
46
|
async validate() {
|
|
48
47
|
const cardNumberIsValid = await this.cardNumberIframeElement.validate();
|
|
@@ -55,11 +54,65 @@ const CardForm = class {
|
|
|
55
54
|
const result = await this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
56
55
|
return result;
|
|
57
56
|
}
|
|
57
|
+
get isReady() {
|
|
58
|
+
return this.iframeState === 'ready';
|
|
59
|
+
}
|
|
60
|
+
get iframeElements() {
|
|
61
|
+
return [
|
|
62
|
+
this.cardNumberIframeElement,
|
|
63
|
+
this.expirationMonthIframeElement,
|
|
64
|
+
this.expirationYearIframeElement,
|
|
65
|
+
this.cvvIframeElement,
|
|
66
|
+
];
|
|
67
|
+
}
|
|
68
|
+
watchIframesLoad() {
|
|
69
|
+
var _a;
|
|
70
|
+
(_a = this.loadAbortController) === null || _a === void 0 ? void 0 : _a.abort();
|
|
71
|
+
const { signal } = (this.loadAbortController = new AbortController());
|
|
72
|
+
const pending = new Set(this.iframeElements.map((element) => element.inputId));
|
|
73
|
+
const loaded = Promise.all(this.iframeElements.map((element) => (new Promise((resolve) => {
|
|
74
|
+
element.addEventListener('iframeLoaded', () => {
|
|
75
|
+
pending.delete(element.inputId);
|
|
76
|
+
resolve();
|
|
77
|
+
}, { once: true, signal });
|
|
78
|
+
}))));
|
|
79
|
+
const deadline = new Promise((_resolve, reject) => {
|
|
80
|
+
const timeoutId = window.setTimeout(() => reject(new Error(`Iframes failed to load: ${Array.from(pending).join(', ')}`)), 10000);
|
|
81
|
+
signal.addEventListener('abort', () => {
|
|
82
|
+
window.clearTimeout(timeoutId);
|
|
83
|
+
reject(new Error('iframe load watch aborted'));
|
|
84
|
+
}, { once: true });
|
|
85
|
+
});
|
|
86
|
+
Promise.race([loaded, deadline]).then(() => {
|
|
87
|
+
var _a;
|
|
88
|
+
if (signal.aborted)
|
|
89
|
+
return;
|
|
90
|
+
this.iframeState = 'ready';
|
|
91
|
+
(_a = this.loadAbortController) === null || _a === void 0 ? void 0 : _a.abort();
|
|
92
|
+
}).catch((e) => {
|
|
93
|
+
var _a;
|
|
94
|
+
if (signal.aborted)
|
|
95
|
+
return;
|
|
96
|
+
this.iframeState = 'error';
|
|
97
|
+
(_a = this.loadAbortController) === null || _a === void 0 ? void 0 : _a.abort();
|
|
98
|
+
this.errorEvent.emit({
|
|
99
|
+
errorCode: Plaid.ComponentErrorCodes.IFRAME_LOAD_ERROR,
|
|
100
|
+
message: Plaid.ComponentErrorMessages.IFRAME_LOAD_ERROR,
|
|
101
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
102
|
+
data: {
|
|
103
|
+
errorMessage: e.message,
|
|
104
|
+
},
|
|
105
|
+
});
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
renderIframeError() {
|
|
109
|
+
return (index.h("div", null, index.h("form-alert", { text: Plaid.ComponentErrorMessages.IFRAME_LOAD_ERROR, hideAlert: false }), index.h(button.Button, { variant: "link", clickHandler: this.reloadIframes, "aria-label": "Reload payment form", type: "button" }, "Try again")));
|
|
110
|
+
}
|
|
58
111
|
render() {
|
|
59
|
-
return (index.h("div", { key: '
|
|
112
|
+
return (index.h("div", { key: 'e6250721d89b25d536a5c40743decb7c2f0e9037' }, this.iframeState === 'loading' && index.h(CardFormSkeleton, { key: 'd3885015e28ade3f1d166d3a3ea91c212e4c08f9' }), this.iframeState === 'error' && this.renderIframeError(), index.h("hidden-input", { key: '083b462140adf1907e4c796ec99ce72f68a3dcef' }), index.h("div", { key: 'd20f7dccc152cb16bd216eb5886c7eee46cbd4f1', class: "container-fluid p-0", style: {
|
|
60
113
|
opacity: this.isReady ? '1' : '0',
|
|
61
114
|
height: this.isReady ? 'auto' : '0',
|
|
62
|
-
} }, index.h("div", { key: '
|
|
115
|
+
} }, index.h("div", { key: 'd06fa0c936dc7963caf3e27ab4cbfee804822bc3', class: "mb-3" }, index.h("iframe-input", { key: '1050720e0aec9b5e38b7a97fce95229faf490b6f', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), index.h("div", { key: '5a37f9da6509890bc3b6e5e5d3061fef82ac8650', class: "row" }, index.h("div", { key: '249456011e5dca659243dc68495da16fdff5a183', class: "col-4 align-content-end" }, index.h("iframe-input", { key: '49f3a8baa14867708a9f1dad7f61830d86847473', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), index.h("div", { key: 'e7fd325d2f39c7c293789931fda9de2f76faa4d4', class: "col-4 align-content-end" }, index.h("iframe-input", { key: '10beda8d2bfacdcf8ab3b17ffae858306312a06f', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), index.h("div", { key: 'de4a844a20da09910f710567e62d2b06f144abe7', class: "col-4 align-content-end" }, index.h("iframe-input", { key: '555a6c96fadb9e5466c76ea259c5d001e16468d6', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
|
|
63
116
|
}
|
|
64
117
|
};
|
|
65
118
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Plaid = require('./Plaid-
|
|
4
|
-
var utils = require('./utils-
|
|
3
|
+
var Plaid = require('./Plaid-B2o4c_Ej.js');
|
|
4
|
+
var utils = require('./utils-WrOn06xB.js');
|
|
5
5
|
|
|
6
6
|
const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
|
|
7
7
|
var _a;
|