@justifi/webcomponents 5.6.1 → 5.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ApiNew-DG13rvk6.js → Api-C8nf_gS9.js} +1 -1
- package/dist/cjs/{Payment-CQCmj3Ck.js → Document-CL5Zc72Q.js} +57 -0
- package/dist/cjs/{Refund-CpurRc4w.js → Refund-CYxocU06.js} +1 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-ByWVHNyJ.js → badge-BxoJOyTJ.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +12 -10
- package/dist/cjs/bank-account-form_9.cjs.entry.js +39 -30
- package/dist/cjs/{business-additional-questions-schema-gVepoR4V.js → business-additional-questions-schema-DR8vt11M.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +4 -3
- package/dist/cjs/{business-identity-schema-dt0zCW0R.js → business-identity-schema-BYaCsboD.js} +1 -1
- package/dist/cjs/{business.service-Vcq4kPU8.js → business.service-C2rg_zSw.js} +20 -24
- package/dist/cjs/{button-Bn9jOYbx.js → button-BPFSRx4d.js} +1 -1
- package/dist/cjs/{check-pkg-version-7gGchZzS.js → check-pkg-version-BqC8BOhm.js} +14 -3
- package/dist/cjs/checkout.service-CyvIIMeq.js +35 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +16 -12
- package/dist/cjs/{checkouts-table-C_cpZa-i.js → checkouts-table-_T5eblyc.js} +2 -2
- package/dist/cjs/{config-state-Bm8-EuFE.js → config-state-D7p-XunE.js} +1 -1
- package/dist/cjs/custom-popper_4.cjs.entry.js +7 -6
- package/dist/cjs/{dispute.service-F-M8EJxq.js → dispute.service-CKPR1vFS.js} +13 -17
- package/dist/cjs/event-types-YOY5TKUN.js +8 -0
- package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
- package/dist/cjs/form-control-checkbox.cjs.entry.js +6 -5
- package/dist/cjs/form-control-date.cjs.entry.js +5 -4
- package/dist/cjs/{form-control-error-text-CBAVQoZ3.js → form-control-error-text-D9XDyFoW.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-DQz5O3wX.js → form-control-help-text-J_boqSMc.js} +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +4 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +6 -5
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -4
- package/dist/cjs/form-control-number.cjs.entry.js +6 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/{get-payment-details-DqvDYbnK.js → get-payment-details-C9HqIv-M.js} +6 -4
- package/dist/cjs/{get-subaccounts-CasN5tDA.js → get-subaccounts-BNpIanJ9.js} +8 -6
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
- package/dist/cjs/{header-1-Bl1S9jV8.js → header-1-auSUfIpO.js} +1 -1
- package/dist/cjs/{header-3-DYzIjFIZ.js → header-3-B-bXHCpC.js} +1 -1
- package/dist/cjs/iframe-input.cjs.entry.js +6 -6
- package/dist/cjs/{insurance-state-BbmHHQl0.js → insurance-state-CFxbKNWH.js} +1 -1
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +12 -10
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +13 -14
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +16 -10
- package/dist/cjs/justifi-business-form.cjs.entry.js +78 -54
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -7
- package/dist/cjs/justifi-checkout.cjs.entry.js +16 -11
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -6
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +24 -22
- package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +17 -14
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +19 -12
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +20 -8
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +19 -15
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +14 -10
- package/dist/cjs/justifi-payment-details.cjs.entry.js +15 -13
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +20 -13
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +21 -17
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +21 -17
- package/dist/cjs/justifi-payout-details.cjs.entry.js +16 -13
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +21 -17
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +21 -23
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +17 -15
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +7 -4
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +19 -19
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +11 -7
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +22 -15
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +10 -6
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +20 -16
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +20 -11
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-CseQI95t.js → package-Biee4Hdo.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +4 -4
- package/dist/cjs/{parts-Du1T2dvF.js → parts-9jMf1erK.js} +24 -8
- package/dist/cjs/payment-details-core.cjs.entry.js +16 -12
- package/dist/cjs/{payment.service-CAJSEb2x.js → payment.service-C996aLGw.js} +9 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +17 -13
- package/dist/cjs/{payments-status-hksfHuBH.js → payments-status-BTykBx8i.js} +1 -1
- package/dist/cjs/{payments-table-CmvP6owu.js → payments-table-BkRhDePE.js} +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +11 -7
- package/dist/cjs/{payout.service-wOnSu52a.js → payout.service-BwKgEbDo.js} +9 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +17 -13
- package/dist/cjs/{payouts-status-DfNhfSsm.js → payouts-status-YCqmbd4K.js} +1 -1
- package/dist/cjs/{payouts-table-CpgWxl8A.js → payouts-table-DJMz3bVh.js} +2 -2
- package/dist/cjs/{schema-validations-p4OCdblz.js → schema-validations-Bhz09M42.js} +1 -1
- package/dist/cjs/{skeleton-BFtuPBwQ.js → skeleton-aMh0RMHq.js} +1 -1
- package/dist/cjs/{spinner-C9z2tkh2.js → spinner-BTyIjlMM.js} +1 -1
- package/dist/cjs/{event-types-cB_-SsYZ.js → table-DKVauFHc.js} +39 -9
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +16 -12
- package/dist/cjs/{terminal-orders-table-CpVY3VsQ.js → terminal-orders-table-CxY1ykZ7.js} +7 -5
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-cGQB3xiL.js → terminal.service-D7dxg9ZQ.js} +9 -2
- package/dist/cjs/terminals-list-core.cjs.entry.js +16 -12
- package/dist/cjs/{terminals-table-DRQQjYAE.js → terminals-table-D2XUsf_J.js} +2 -2
- package/dist/cjs/{utils-B_Ol6YlL.js → utils-5lco6NzU.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/actions/checkout/get-checkouts.js +2 -2
- package/dist/collection/actions/dispute/dispute-actions.js +2 -2
- package/dist/collection/api/Analytics.js +3 -0
- package/dist/collection/api/Api.js +23 -12
- package/dist/collection/api/Payment.js +1 -0
- package/dist/collection/api/Payout.js +1 -0
- package/dist/collection/api/index.js +5 -1
- package/dist/collection/api/services/analytics.service.js +3 -2
- package/dist/collection/api/services/business.service.js +13 -24
- package/dist/collection/api/services/checkout.service.js +8 -14
- package/dist/collection/api/services/dispute.service.js +8 -13
- package/dist/collection/api/services/insurance.service.js +5 -8
- package/dist/collection/api/services/payment.service.js +1 -1
- package/dist/collection/api/services/payout.service.js +1 -1
- package/dist/collection/api/services/provision.service.js +4 -6
- package/dist/collection/api/services/refund.service.js +1 -1
- package/dist/collection/api/services/reports.service.js +3 -3
- package/dist/collection/api/services/subaccounts.service.js +1 -1
- package/dist/collection/api/services/terminal.service.js +1 -1
- package/dist/collection/api/services/terminal_orders.service.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/business-details/business-details.js +3 -1
- package/dist/collection/components/business-forms/business-form/business-form.js +80 -39
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +4 -2
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +3 -3
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +16 -33
- package/dist/collection/components/checkout/card-form/card-form.js +9 -26
- package/dist/collection/components/checkout/checkout-core.js +2 -21
- package/dist/collection/components/checkout/checkout.js +5 -24
- package/dist/collection/components/checkout/new-payment-method.js +2 -21
- package/dist/collection/components/checkout/payment-method-options.js +2 -21
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +2 -3
- package/dist/collection/components/checkouts-list/checkouts-list.js +5 -25
- package/dist/collection/components/config-provider/config-provider.js +4 -4
- package/dist/collection/components/config-provider/config-state.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +4 -25
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-actions.js +2 -2
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +4 -2
- package/dist/collection/{ui-components → components}/filters/table-filters-menu.js +3 -3
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +3 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +4 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +3 -4
- package/dist/collection/components/order-terminals/order-terminals.js +6 -1
- package/dist/collection/components/payment-details/payment-details-core.js +11 -7
- package/dist/collection/components/payment-details/payment-details.js +2 -1
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +5 -4
- package/dist/collection/components/payments-list/payments-list-core.js +2 -3
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +4 -2
- package/dist/collection/components/payout-details/payout-details-core.js +5 -1
- package/dist/collection/components/payout-details/payout-details.js +3 -1
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +5 -4
- package/dist/collection/components/payouts-list/payouts-list-core.js +2 -3
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +5 -3
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +2 -3
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +6 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +2 -3
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +4 -2
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +6 -22
- package/dist/collection/styles/parts.js +12 -5
- 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-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 +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/index.js +1 -4
- package/dist/collection/ui-components/pagination-menu/pagination-menu.js +4 -4
- package/dist/collection/ui-components/table/index.js +5 -0
- package/dist/collection/ui-components/{table-empty-state.js → table/table-empty-state.js} +1 -1
- package/dist/collection/ui-components/{table-error-state.js → table/table-error-state.js} +1 -1
- package/dist/collection/ui-components/{table-loading-state.js → table/table-loading-state.js} +2 -2
- package/dist/collection/ui-components/table/table.js +29 -0
- package/dist/docs.json +29 -235
- package/dist/esm/{ApiNew-UOnmIWcv.js → Api-KYhsw8Nv.js} +1 -1
- package/dist/esm/{Dispute-7MWRbTXI.js → Dispute-BH0Xfn-F.js} +1 -1
- package/dist/esm/{Payment-BADkZFaz.js → Document-cNXrKmGy.js} +57 -2
- package/dist/esm/{Refund-DOvd7RJp.js → Refund-2YJqP9qX.js} +1 -0
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{badge-B191hCAo.js → badge-Du9GTXoB.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +12 -10
- package/dist/esm/bank-account-form_9.entry.js +32 -23
- package/dist/esm/{business-additional-questions-schema-DWnZs60Z.js → business-additional-questions-schema-GpN_koGK.js} +1 -1
- package/dist/esm/business-details-core.entry.js +4 -3
- package/dist/esm/{business-identity-schema-lqdJS3MT.js → business-identity-schema-BjuQ6ajL.js} +1 -1
- package/dist/esm/{business.service-B1VD22Tz.js → business.service-ClD_YDeT.js} +20 -24
- package/dist/esm/{button-BRFA5syj.js → button-CjH5C0pG.js} +1 -1
- package/dist/esm/{check-pkg-version-DpVT68Qo.js → check-pkg-version-DxnKX9GQ.js} +14 -3
- package/dist/esm/checkout.service-DfzkmIe4.js +33 -0
- package/dist/esm/checkouts-list-core.entry.js +15 -11
- package/dist/esm/{checkouts-table-BIO5rpvV.js → checkouts-table-DKd0QLys.js} +2 -2
- package/dist/esm/{config-state-Bl6vWekp.js → config-state-CkKrqnpZ.js} +1 -1
- package/dist/esm/custom-popper_4.entry.js +7 -6
- package/dist/esm/dispute.service-BTOWqnmk.js +33 -0
- package/dist/esm/event-types-CZfYo5-1.js +8 -0
- package/dist/esm/form-alert_5.entry.js +1 -1
- package/dist/esm/form-control-checkbox.entry.js +6 -5
- package/dist/esm/form-control-date.entry.js +5 -4
- package/dist/esm/{form-control-error-text-CVPFeRt0.js → form-control-error-text-tGFxd6kW.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-D-ReDn6e.js → form-control-help-text-2DawN8-N.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +4 -3
- package/dist/esm/form-control-monetary.entry.js +6 -5
- package/dist/esm/form-control-number-masked_2.entry.js +5 -4
- package/dist/esm/form-control-number.entry.js +6 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/{get-payment-details-CXiGG9cO.js → get-payment-details-D-prcfRc.js} +5 -3
- package/dist/esm/{get-subaccounts-COe5GtaY.js → get-subaccounts-B0uEyOp_.js} +7 -5
- package/dist/esm/gross-payment-chart-core.entry.js +3 -3
- package/dist/esm/{header-1-ClU-iUGF.js → header-1-D2gZb3iT.js} +1 -1
- package/dist/esm/{header-3-jLYjhsUb.js → header-3-DAg8Vh4B.js} +1 -1
- package/dist/esm/iframe-input.entry.js +6 -6
- package/dist/esm/{insurance-state-5MPrBdwI.js → insurance-state-CsZbKSgm.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +12 -10
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +14 -15
- package/dist/esm/justifi-additional-statement_8.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +16 -10
- package/dist/esm/justifi-business-form.entry.js +78 -54
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-core.entry.js +8 -7
- package/dist/esm/justifi-checkout.entry.js +17 -12
- package/dist/esm/justifi-checkouts-list-filters.entry.js +10 -6
- package/dist/esm/justifi-checkouts-list.entry.js +24 -22
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +18 -15
- package/dist/esm/justifi-dispute-notification_3.entry.js +20 -13
- package/dist/esm/justifi-gross-payment-chart.entry.js +20 -8
- package/dist/esm/justifi-order-terminals.entry.js +19 -15
- package/dist/esm/justifi-owner-form_3.entry.js +15 -11
- package/dist/esm/justifi-payment-details.entry.js +16 -14
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +21 -14
- package/dist/esm/justifi-payment-transactions-list.entry.js +20 -16
- package/dist/esm/justifi-payments-list-filters.entry.js +4 -3
- package/dist/esm/justifi-payments-list.entry.js +20 -16
- package/dist/esm/justifi-payout-details.entry.js +16 -13
- package/dist/esm/justifi-payout-transactions-list.entry.js +20 -16
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -3
- package/dist/esm/justifi-payouts-list.entry.js +21 -23
- package/dist/esm/justifi-refund-payment.entry.js +16 -14
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +7 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +19 -19
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +11 -7
- package/dist/esm/justifi-terminal-orders-list.entry.js +21 -14
- package/dist/esm/justifi-terminals-list-filters.entry.js +10 -6
- package/dist/esm/justifi-terminals-list.entry.js +20 -16
- package/dist/esm/justifi-tokenize-payment-method.entry.js +20 -11
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-D2EbqwBe.js → package-DPiTQ9dr.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +4 -4
- package/dist/esm/{parts-CjO1GttX.js → parts-BrLVc_85.js} +14 -5
- package/dist/esm/payment-details-core.entry.js +16 -12
- package/dist/esm/{payment-provisioning-actions-CZYFFdTf.js → payment-provisioning-actions-BIfyW239.js} +1 -1
- package/dist/esm/{payment.service-B9_zvpM_.js → payment.service-CgwLo1_s.js} +8 -1
- package/dist/esm/payments-list-core.entry.js +16 -12
- package/dist/esm/{payments-status-CQQH_5oM.js → payments-status-CIUXcA0w.js} +1 -1
- package/dist/esm/{payments-table-BdQtWUO-.js → payments-table-BBf5fV74.js} +2 -2
- package/dist/esm/payout-details-core.entry.js +11 -7
- package/dist/esm/{payout.service-BGSaI-j9.js → payout.service-DYFCNfLa.js} +8 -1
- package/dist/esm/payouts-list-core.entry.js +16 -12
- package/dist/esm/{payouts-status-Cz9DL-Ph.js → payouts-status-Clo03qUI.js} +1 -1
- package/dist/esm/{payouts-table-bOrdlN_0.js → payouts-table-DhZEXhGH.js} +2 -2
- package/dist/esm/{schema-validations-BsbYeDDR.js → schema-validations-D9YNVLiI.js} +1 -1
- package/dist/esm/{skeleton-t69TLGP9.js → skeleton-Dlpibtr0.js} +1 -1
- package/dist/esm/{spinner-Bo1Ff3L8.js → spinner-onCBxbdo.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/table-p4dOlFPi.js +83 -0
- package/dist/esm/terminal-orders-list-core.entry.js +15 -11
- package/dist/esm/{terminal-orders-table-5gemV24y.js → terminal-orders-table-BopP465z.js} +7 -5
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-B0Rc9vED.js → terminal.service-f-whs_d4.js} +8 -1
- package/dist/esm/terminals-list-core.entry.js +15 -11
- package/dist/esm/{terminals-table-DFxuyQM-.js → terminals-table-CkWr-6tD.js} +2 -2
- package/dist/esm/{utils-CK8L6CE7.js → utils-BpP_VJGf.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Api.js +23 -11
- package/dist/module/Checkout.js +22 -2
- package/dist/module/Payment.js +2 -1
- package/dist/module/Refund.js +2 -1
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/bank-account-document-inputs.js +2 -1
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form2.js +15 -10
- package/dist/module/billing-form.js +2 -1
- package/dist/module/business-additional-questions-form-step-core.js +1 -1
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +3 -3
- package/dist/module/business-bank-account-form-step.js +3 -2
- package/dist/module/business-core-info-form-step-core.js +1 -1
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-details-core2.js +1 -0
- package/dist/module/business-documents-on-file2.js +2 -1
- package/dist/module/business-owners-form-step-core.js +2 -1
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-step-core.js +1 -1
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +6 -7
- package/dist/module/business.service.js +19 -24
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-form2.js +8 -3
- package/dist/module/check-pkg-version.js +11 -1
- package/dist/module/checkout-core.js +6 -7
- package/dist/module/checkout.service.js +9 -15
- package/dist/module/checkouts-list-core2.js +7 -5
- package/dist/module/config-state.js +1 -1
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +3 -2
- package/dist/module/dispute-response-actions.js +10 -15
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +6 -3
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- package/dist/module/event-types.js +7 -22
- package/dist/module/event-types2.js +22 -21
- package/dist/module/event-types3.js +21 -61
- package/dist/module/form-control-checkbox2.js +3 -2
- package/dist/module/form-control-date2.js +3 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +3 -2
- package/dist/module/form-control-monetary-provisioning2.js +1 -0
- package/dist/module/form-control-monetary2.js +4 -3
- package/dist/module/form-control-number-masked2.js +3 -2
- package/dist/module/form-control-number.js +3 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +1 -0
- package/dist/module/form-control-text2.js +3 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/get-business.js +1 -1
- package/dist/module/get-payment-details.js +3 -2
- package/dist/module/get-payout-csv.js +1 -1
- package/dist/module/get-subaccounts.js +5 -4
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/justifi-business-details.js +4 -2
- package/dist/module/justifi-business-form.js +64 -42
- package/dist/module/justifi-checkout.js +6 -6
- package/dist/module/justifi-checkouts-list-filters.js +5 -3
- package/dist/module/justifi-checkouts-list.js +11 -10
- package/dist/module/justifi-config-provider.js +3 -3
- package/dist/module/justifi-dispute-management.js +7 -9
- package/dist/module/justifi-gross-payment-chart.js +11 -4
- package/dist/module/justifi-order-terminals.js +10 -4
- package/dist/module/justifi-payment-details.js +3 -2
- package/dist/module/justifi-payment-provisioning.js +13 -8
- package/dist/module/justifi-payment-transactions-list.js +10 -6
- package/dist/module/justifi-payments-list-filters.js +4 -3
- package/dist/module/justifi-payments-list.js +8 -4
- package/dist/module/justifi-payout-details.js +6 -3
- package/dist/module/justifi-payout-transactions-list.js +10 -7
- package/dist/module/justifi-payouts-list-filters.js +4 -3
- package/dist/module/justifi-payouts-list.js +8 -10
- package/dist/module/justifi-refund-payment.js +6 -4
- package/dist/module/justifi-season-interruption-insurance.js +10 -14
- package/dist/module/justifi-terminal-orders-list-filters.js +6 -4
- package/dist/module/justifi-terminal-orders-list.js +11 -4
- package/dist/module/justifi-terminals-list-filters.js +5 -3
- package/dist/module/justifi-terminals-list.js +8 -4
- package/dist/module/justifi-tokenize-payment-method.js +10 -5
- package/dist/module/legal-address-form-step-core.js +1 -1
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/new-payment-method.js +2 -3
- package/dist/module/owner-details2.js +1 -1
- package/dist/module/owner-form-core2.js +2 -1
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +4 -4
- package/dist/module/parts.js +14 -5
- package/dist/module/payment-details-core2.js +13 -8
- package/dist/module/payment-method-options.js +2 -3
- package/dist/module/payment-provisioning-actions.js +1 -1
- package/dist/module/payment-provisioning-core.js +3 -2
- package/dist/module/payment-provisioning-form-buttons.js +2 -1
- package/dist/module/payment-provisioning-loading.js +1 -0
- package/dist/module/payment.service.js +7 -1
- package/dist/module/payments-list-core2.js +6 -4
- package/dist/module/payout-details-core2.js +7 -2
- package/dist/module/payout.service.js +7 -1
- package/dist/module/payouts-list-core2.js +7 -5
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/representative-details2.js +1 -1
- package/dist/module/season-interruption-insurance-core.js +7 -3
- package/dist/module/sezzle-payment-method.js +1 -1
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/table.js +83 -0
- package/dist/module/terminal-orders-list-core2.js +6 -4
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminal.service.js +7 -1
- package/dist/module/terminals-list-core2.js +6 -4
- package/dist/module/utils2.js +1 -1
- package/dist/module/utils4.js +1 -1
- package/dist/types/actions/checkout/get-checkouts.d.ts +1 -2
- package/dist/types/actions/dispute/dispute-actions.d.ts +1 -2
- package/dist/types/api/Api.d.ts +41 -35
- package/dist/types/api/Payment.d.ts +2 -0
- package/dist/types/api/Payout.d.ts +2 -0
- package/dist/types/api/index.d.ts +5 -1
- package/dist/types/api/services/business.service.d.ts +1 -5
- package/dist/types/api/services/checkout.service.d.ts +2 -2
- package/dist/types/api/services/dispute.service.d.ts +1 -2
- package/dist/types/api/services/payout.service.d.ts +1 -2
- package/dist/types/api/services/provision.service.d.ts +1 -1
- package/dist/types/api/services/reports.service.d.ts +1 -2
- package/dist/types/api/services/subaccounts.service.d.ts +1 -2
- package/dist/types/components/business-forms/business-form/business-form.d.ts +8 -6
- package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +3 -2
- package/dist/types/components/checkout/card-form/card-form.d.ts +2 -1
- package/dist/types/components/checkout/checkout-core.d.ts +0 -1
- package/dist/types/components/checkout/checkout.d.ts +0 -1
- package/dist/types/components/checkout/new-payment-method.d.ts +0 -1
- package/dist/types/components/checkout/payment-method-options.d.ts +0 -1
- package/dist/types/components/checkouts-list/checkouts-list.d.ts +0 -1
- package/dist/types/components/config-provider/config-provider.d.ts +1 -1
- package/dist/types/components/config-provider/config-state.d.ts +1 -1
- package/dist/types/components/dispute-management/dispute-management.d.ts +0 -1
- package/dist/types/components/dispute-management/dispute-response/dispute-response-actions.d.ts +1 -2
- package/dist/types/components/order-terminals/order-terminals.d.ts +1 -0
- package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +1 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -1
- package/dist/types/components.d.ts +4 -20
- package/dist/types/styles/parts.d.ts +12 -5
- package/dist/types/ui-components/index.d.ts +1 -4
- package/dist/types/ui-components/table/index.d.ts +5 -0
- package/dist/types/ui-components/table/table.d.ts +9 -0
- package/dist/webcomponents/p-0ab2f675.entry.js +1 -0
- package/dist/webcomponents/p-0b57ecc3.entry.js +1 -0
- package/dist/webcomponents/p-0deb6a38.entry.js +1 -0
- package/dist/webcomponents/p-16adfe77.entry.js +1 -0
- package/dist/webcomponents/p-19b9c96a.entry.js +1 -0
- package/dist/webcomponents/p-1a85f26f.entry.js +1 -0
- package/dist/webcomponents/p-1b22572d.entry.js +1 -0
- package/dist/webcomponents/p-22a0b397.entry.js +1 -0
- package/dist/webcomponents/p-22e9ff07.entry.js +1 -0
- package/dist/webcomponents/p-24792e8e.entry.js +1 -0
- package/dist/webcomponents/p-25ea4450.entry.js +1 -0
- package/dist/webcomponents/p-2adda453.entry.js +1 -0
- package/dist/webcomponents/p-2b8ac00a.entry.js +1 -0
- package/dist/webcomponents/p-2dbc4b19.entry.js +1 -0
- package/dist/webcomponents/p-3368d3d5.entry.js +1 -0
- package/dist/webcomponents/{p-12674a89.entry.js → p-3a979295.entry.js} +1 -1
- package/dist/webcomponents/p-3abc8eab.entry.js +1 -0
- package/dist/webcomponents/{p-805269fd.entry.js → p-3babed12.entry.js} +1 -1
- package/dist/webcomponents/p-3e94cf62.entry.js +1 -0
- package/dist/webcomponents/p-40541e0c.entry.js +1 -0
- package/dist/webcomponents/p-4194214c.entry.js +1 -0
- package/dist/webcomponents/p-43d6bbed.entry.js +1 -0
- package/dist/webcomponents/p-44d8c2b1.entry.js +1 -0
- package/dist/webcomponents/p-4749e0d0.entry.js +1 -0
- package/dist/webcomponents/p-4ee0cd96.entry.js +1 -0
- package/dist/webcomponents/p-54281359.entry.js +1 -0
- package/dist/webcomponents/p-59abf1de.entry.js +1 -0
- package/dist/webcomponents/p-5e467788.entry.js +1 -0
- package/dist/webcomponents/{p-c899df50.entry.js → p-639baa7d.entry.js} +1 -1
- package/dist/webcomponents/p-6429afb4.entry.js +1 -0
- package/dist/webcomponents/{p-78511d66.entry.js → p-7733b67b.entry.js} +1 -1
- package/dist/webcomponents/p-799000c1.entry.js +1 -0
- package/dist/webcomponents/p-7c62b59d.entry.js +1 -0
- package/dist/webcomponents/p-82515f70.entry.js +1 -0
- package/dist/webcomponents/{p-Cixn6QDS.js → p-82kiZkHt.js} +1 -1
- package/dist/webcomponents/p-83154291.entry.js +1 -0
- package/dist/webcomponents/p-84d27581.entry.js +1 -0
- package/dist/webcomponents/{p-4f98895d.entry.js → p-90c24cda.entry.js} +1 -1
- package/dist/webcomponents/p-9105f700.entry.js +1 -0
- package/dist/webcomponents/p-916ea4fc.entry.js +1 -0
- package/dist/webcomponents/p-935bbc62.entry.js +1 -0
- package/dist/webcomponents/p-935fa555.entry.js +1 -0
- package/dist/webcomponents/p-947239a6.entry.js +1 -0
- package/dist/webcomponents/p-99b080d9.entry.js +1 -0
- package/dist/webcomponents/p-B0cQ2RjH.js +1 -0
- package/dist/webcomponents/p-B190pN0v.js +1 -0
- package/dist/webcomponents/{p-7MWRbTXI.js → p-BH0Xfn-F.js} +1 -1
- package/dist/webcomponents/p-BM5lviat.js +1 -0
- package/dist/webcomponents/{p-bplwtwD3.js → p-BTS3E50C.js} +1 -1
- package/dist/webcomponents/p-BWJ7zamv.js +1 -0
- package/dist/webcomponents/p-BiPRf6d2.js +1 -0
- package/dist/webcomponents/p-BmWpHZ-Z.js +1 -0
- package/dist/webcomponents/p-BrLVc_85.js +1 -0
- package/dist/webcomponents/{p-DyIEclkx.js → p-ByRPlUBS.js} +1 -1
- package/dist/webcomponents/p-BzPi8Ea_.js +1 -0
- package/dist/webcomponents/p-C0IqfGFc.js +1 -0
- package/dist/webcomponents/p-C0UUR9CN.js +1 -0
- package/dist/webcomponents/{p-D9q8WsW5.js → p-C0WFYqwq.js} +1 -1
- package/dist/webcomponents/{p-CegkOiUz.js → p-CCGhF18e.js} +1 -1
- package/dist/webcomponents/p-CQdeVKF8.js +1 -0
- package/dist/webcomponents/p-CZfYo5-1.js +1 -0
- package/dist/webcomponents/p-CffckWWF.js +1 -0
- package/dist/webcomponents/{p-BQEAUdoy.js → p-CgxzrbM_.js} +1 -1
- package/dist/webcomponents/p-D0ptm6-3.js +1 -0
- package/dist/webcomponents/{p-CN_YheWL.js → p-D4Mv5jCp.js} +1 -1
- package/dist/webcomponents/{p-GTA6l_sT.js → p-D5XSsLKb.js} +1 -1
- package/dist/webcomponents/p-DNt_pMGt.js +1 -0
- package/dist/webcomponents/p-DPiTQ9dr.js +1 -0
- package/dist/webcomponents/p-DZfxGQ1I.js +1 -0
- package/dist/webcomponents/p-DgfzEZny.js +1 -0
- package/dist/webcomponents/p-DuBhW0xA.js +1 -0
- package/dist/webcomponents/p-DvHZ2jYI.js +1 -0
- package/dist/webcomponents/p-M61ygz6l.js +1 -0
- package/dist/webcomponents/{p-KLQjERL5.js → p-OSmuQKbK.js} +1 -1
- package/dist/webcomponents/p-U30-0DaA.js +1 -0
- package/dist/webcomponents/p-ZE1NEnP3.js +1 -0
- package/dist/webcomponents/p-a46730eb.entry.js +1 -0
- package/dist/webcomponents/p-a4dd3835.entry.js +1 -0
- package/dist/webcomponents/p-ad85bd0d.entry.js +1 -0
- package/dist/webcomponents/p-af2c38f7.entry.js +1 -0
- package/dist/webcomponents/{p-b182796a.entry.js → p-afa54e39.entry.js} +1 -1
- package/dist/webcomponents/{p-493c9bd9.entry.js → p-b2192f8b.entry.js} +1 -1
- package/dist/webcomponents/p-bb50155f.entry.js +1 -0
- package/dist/webcomponents/p-bf3e8295.entry.js +1 -0
- package/dist/webcomponents/p-cNABKY0P.js +1 -0
- package/dist/webcomponents/p-cab175e9.entry.js +1 -0
- package/dist/webcomponents/p-ceefc483.entry.js +1 -0
- package/dist/webcomponents/{p-BdNmdBIx.js → p-d-_oUZor.js} +1 -1
- package/dist/webcomponents/p-d1331dbb.entry.js +1 -0
- package/dist/webcomponents/{p-5a1238a1.entry.js → p-d2dc6f22.entry.js} +3 -3
- package/dist/webcomponents/p-d9c70010.entry.js +1 -0
- package/dist/webcomponents/p-dd05cce1.entry.js +1 -0
- package/dist/webcomponents/p-e00aeb33.entry.js +1 -0
- package/dist/webcomponents/p-e1c5ee0a.entry.js +1 -0
- package/dist/webcomponents/p-ea8dd3e7.entry.js +1 -0
- package/dist/webcomponents/p-f389c2aa.entry.js +1 -0
- package/dist/webcomponents/p-f8b205f7.entry.js +1 -0
- package/dist/webcomponents/p-l3o3Ndc0.js +1 -0
- package/dist/webcomponents/p-n2YROtpe.js +1 -0
- package/dist/webcomponents/p-o_73WSki.js +1 -0
- package/dist/webcomponents/p-vb3fTJEZ.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/Api-KMweahmp.js +0 -74
- package/dist/cjs/Document-rXGBUaOh.js +0 -58
- package/dist/cjs/checkout.service-DP9FnXBx.js +0 -40
- package/dist/collection/api/ApiNew.js +0 -82
- package/dist/collection/ui-components/table/exported-parts.js +0 -5
- package/dist/esm/Api-C9CDE-UM.js +0 -72
- package/dist/esm/Document-Ct-uNz2r.js +0 -55
- package/dist/esm/checkout.service-92ld4w-G.js +0 -38
- package/dist/esm/dispute.service-H2Oaq2af.js +0 -37
- package/dist/esm/event-types-BIryDMGV.js +0 -62
- package/dist/module/ApiNew.js +0 -84
- package/dist/module/ComponentError.js +0 -21
- package/dist/types/api/ApiNew.d.ts +0 -61
- package/dist/types/ui-components/table/exported-parts.d.ts +0 -1
- package/dist/webcomponents/p-00eb2bc9.entry.js +0 -1
- package/dist/webcomponents/p-0c2f2ea9.entry.js +0 -1
- package/dist/webcomponents/p-11344996.entry.js +0 -1
- package/dist/webcomponents/p-19581139.entry.js +0 -1
- package/dist/webcomponents/p-19d21f35.entry.js +0 -1
- package/dist/webcomponents/p-2294e63b.entry.js +0 -1
- package/dist/webcomponents/p-24e04f78.entry.js +0 -1
- package/dist/webcomponents/p-2P4kwjNi.js +0 -1
- package/dist/webcomponents/p-30466d27.entry.js +0 -1
- package/dist/webcomponents/p-32c156c6.entry.js +0 -1
- package/dist/webcomponents/p-32ff6641.entry.js +0 -1
- package/dist/webcomponents/p-38d6c034.entry.js +0 -1
- package/dist/webcomponents/p-3add8d1b.entry.js +0 -1
- package/dist/webcomponents/p-3c01edb0.entry.js +0 -1
- package/dist/webcomponents/p-3cd9d9d8.entry.js +0 -1
- package/dist/webcomponents/p-4028ccb0.entry.js +0 -1
- package/dist/webcomponents/p-43140695.entry.js +0 -1
- package/dist/webcomponents/p-4ac754e7.entry.js +0 -1
- package/dist/webcomponents/p-4afcb015.entry.js +0 -1
- package/dist/webcomponents/p-4c64b1e9.entry.js +0 -1
- package/dist/webcomponents/p-4e3aca7a.entry.js +0 -1
- package/dist/webcomponents/p-4e489cf9.entry.js +0 -1
- package/dist/webcomponents/p-4e61f480.entry.js +0 -1
- package/dist/webcomponents/p-4fc851c0.entry.js +0 -1
- package/dist/webcomponents/p-526be31d.entry.js +0 -1
- package/dist/webcomponents/p-575fc637.entry.js +0 -1
- package/dist/webcomponents/p-581ca781.entry.js +0 -1
- package/dist/webcomponents/p-5b4cbfd4.entry.js +0 -1
- package/dist/webcomponents/p-5d8d1818.entry.js +0 -1
- package/dist/webcomponents/p-5eb85754.entry.js +0 -1
- package/dist/webcomponents/p-5f02ec20.entry.js +0 -1
- package/dist/webcomponents/p-6567b171.entry.js +0 -1
- package/dist/webcomponents/p-6d701784.entry.js +0 -1
- package/dist/webcomponents/p-7b649051.entry.js +0 -1
- package/dist/webcomponents/p-9d354918.entry.js +0 -1
- package/dist/webcomponents/p-AVaenhw9.js +0 -1
- package/dist/webcomponents/p-B4Bi1JkP.js +0 -1
- package/dist/webcomponents/p-BBsCnePk.js +0 -1
- package/dist/webcomponents/p-BHbsXXRt.js +0 -1
- package/dist/webcomponents/p-BMDJA9xX.js +0 -1
- package/dist/webcomponents/p-BS-e1gnL.js +0 -1
- package/dist/webcomponents/p-BXey6mVj.js +0 -1
- package/dist/webcomponents/p-Bl3qFMoN.js +0 -1
- package/dist/webcomponents/p-Bl79NorO.js +0 -1
- package/dist/webcomponents/p-Bxs6fi7a.js +0 -1
- package/dist/webcomponents/p-CPXN4Ths.js +0 -1
- package/dist/webcomponents/p-CSwEbNEl.js +0 -1
- package/dist/webcomponents/p-CWpAvtGa.js +0 -1
- package/dist/webcomponents/p-C_9TcvwA.js +0 -1
- package/dist/webcomponents/p-CiKdTI9h.js +0 -1
- package/dist/webcomponents/p-CjO1GttX.js +0 -1
- package/dist/webcomponents/p-Ct-uNz2r.js +0 -1
- package/dist/webcomponents/p-Cy4aIACq.js +0 -1
- package/dist/webcomponents/p-D2EbqwBe.js +0 -1
- package/dist/webcomponents/p-DD14E0K0.js +0 -1
- package/dist/webcomponents/p-DavDfnxI.js +0 -1
- package/dist/webcomponents/p-DmIOVniD.js +0 -1
- package/dist/webcomponents/p-Dss1xCBW.js +0 -1
- package/dist/webcomponents/p-Dumd8fMw.js +0 -1
- package/dist/webcomponents/p-ERVEQjR2.js +0 -1
- package/dist/webcomponents/p-OjYukdAC.js +0 -1
- package/dist/webcomponents/p-_bsEVFir.js +0 -1
- package/dist/webcomponents/p-a2f77373.entry.js +0 -1
- package/dist/webcomponents/p-a4c08055.entry.js +0 -1
- package/dist/webcomponents/p-a93cceca.entry.js +0 -1
- package/dist/webcomponents/p-ab5cde61.entry.js +0 -1
- package/dist/webcomponents/p-ac98a15e.entry.js +0 -1
- package/dist/webcomponents/p-b0430518.entry.js +0 -1
- package/dist/webcomponents/p-b05693c6.entry.js +0 -1
- package/dist/webcomponents/p-b25b8534.entry.js +0 -1
- package/dist/webcomponents/p-b2db4fae.entry.js +0 -1
- package/dist/webcomponents/p-bb5c9475.entry.js +0 -1
- package/dist/webcomponents/p-bb97192f.entry.js +0 -1
- package/dist/webcomponents/p-c77481fe.entry.js +0 -1
- package/dist/webcomponents/p-ca11ad58.entry.js +0 -1
- package/dist/webcomponents/p-d06f7faf.entry.js +0 -1
- package/dist/webcomponents/p-d2fbf7ea.entry.js +0 -1
- package/dist/webcomponents/p-d7a04fdd.entry.js +0 -1
- package/dist/webcomponents/p-d8f7a73b.entry.js +0 -1
- package/dist/webcomponents/p-d90b8cc2.entry.js +0 -1
- package/dist/webcomponents/p-e558eab8.entry.js +0 -1
- package/dist/webcomponents/p-f2dc1405.entry.js +0 -1
- package/dist/webcomponents/p-oPo_KSwO.js +0 -1
- /package/dist/collection/{ui-components → components}/filters/utils.js +0 -0
- /package/dist/types/{ui-components → components}/filters/table-filters-menu.d.ts +0 -0
- /package/dist/types/{ui-components → components}/filters/utils.d.ts +0 -0
- /package/dist/types/ui-components/{table-empty-state.d.ts → table/table-empty-state.d.ts} +0 -0
- /package/dist/types/ui-components/{table-error-state.d.ts → table/table-error-state.d.ts} +0 -0
- /package/dist/types/ui-components/{table-loading-state.d.ts → table/table-loading-state.d.ts} +0 -0
|
@@ -103,6 +103,7 @@ class Payment {
|
|
|
103
103
|
this.disputes = payment.disputes;
|
|
104
104
|
this.error_code = payment.error_code;
|
|
105
105
|
this.error_description = payment.error_description;
|
|
106
|
+
this.expedited = payment.expedited;
|
|
106
107
|
this.fee_amount = payment.fee_amount;
|
|
107
108
|
this.is_test = payment.is_test;
|
|
108
109
|
this.metadata = payment.metadata;
|
|
@@ -147,4 +148,60 @@ class Payment {
|
|
|
147
148
|
}
|
|
148
149
|
}
|
|
149
150
|
|
|
151
|
+
exports.EntityDocumentType = void 0;
|
|
152
|
+
(function (EntityDocumentType) {
|
|
153
|
+
EntityDocumentType["voidedCheck"] = "voided_check";
|
|
154
|
+
EntityDocumentType["balanceSheet"] = "balance_sheet";
|
|
155
|
+
EntityDocumentType["bankStatement"] = "bank_statement";
|
|
156
|
+
EntityDocumentType["governmentId"] = "government_id";
|
|
157
|
+
EntityDocumentType["profitAndLossStatement"] = "profit_and_loss_statement";
|
|
158
|
+
EntityDocumentType["taxReturn"] = "tax_return";
|
|
159
|
+
EntityDocumentType["other"] = "other";
|
|
160
|
+
})(exports.EntityDocumentType || (exports.EntityDocumentType = {}));
|
|
161
|
+
var EntityDocumentStatus;
|
|
162
|
+
(function (EntityDocumentStatus) {
|
|
163
|
+
EntityDocumentStatus["pending"] = "pending";
|
|
164
|
+
EntityDocumentStatus["uploaded"] = "uploaded";
|
|
165
|
+
EntityDocumentStatus["canceled"] = "canceled";
|
|
166
|
+
EntityDocumentStatus["needed"] = "needed";
|
|
167
|
+
})(EntityDocumentStatus || (EntityDocumentStatus = {}));
|
|
168
|
+
class EntityDocumentStorage {
|
|
169
|
+
constructor() {
|
|
170
|
+
this.voided_check = [];
|
|
171
|
+
this.balance_sheet = [];
|
|
172
|
+
this.bank_statement = [];
|
|
173
|
+
this.government_id = [];
|
|
174
|
+
this.profit_and_loss_statement = [];
|
|
175
|
+
this.tax_return = [];
|
|
176
|
+
this.other = [];
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
class EntityDocument {
|
|
180
|
+
constructor(fileData, business_id) {
|
|
181
|
+
this.file = fileData.file;
|
|
182
|
+
this.fileString = this.getFileString();
|
|
183
|
+
this.document_type = fileData.document_type;
|
|
184
|
+
this.presigned_url = null;
|
|
185
|
+
this.record_data = {
|
|
186
|
+
business_id: business_id,
|
|
187
|
+
document_type: this.document_type,
|
|
188
|
+
file_name: this.file.name,
|
|
189
|
+
file_type: this.file.type,
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
getFileString() {
|
|
193
|
+
let reader = new FileReader();
|
|
194
|
+
reader.onload = (e) => {
|
|
195
|
+
this.fileString = e.target.result;
|
|
196
|
+
};
|
|
197
|
+
reader.readAsDataURL(this.file);
|
|
198
|
+
return this.fileString;
|
|
199
|
+
}
|
|
200
|
+
setPresignedUrl(url) {
|
|
201
|
+
this.presigned_url = url;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
exports.EntityDocument = EntityDocument;
|
|
206
|
+
exports.EntityDocumentStorage = EntityDocumentStorage;
|
|
150
207
|
exports.Payment = Payment;
|
|
@@ -84,6 +84,7 @@ class Payout {
|
|
|
84
84
|
this.metadata = payout.metadata;
|
|
85
85
|
this.created_at = payout.created_at;
|
|
86
86
|
this.updated_at = payout.updated_at;
|
|
87
|
+
this.settlement_priority = payout.settlement_priority || 'standard';
|
|
87
88
|
}
|
|
88
89
|
formattedPaymentAmount(amount) {
|
|
89
90
|
return utils.formatCurrency(amount, this.currency);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BYd8IvAa.js');
|
|
4
|
-
var utils$1 = require('./utils-
|
|
4
|
+
var utils$1 = require('./utils-5lco6NzU.js');
|
|
5
5
|
var utils = require('./utils-DmZ8Dia3.js');
|
|
6
|
-
require('./parts-
|
|
6
|
+
require('./parts-9jMf1erK.js');
|
|
7
7
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
8
8
|
|
|
9
9
|
const AdditionalQuestionsDetails = class {
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BYd8IvAa.js');
|
|
4
|
+
require('./config-state-D7p-XunE.js');
|
|
4
5
|
var utils$1 = require('./utils-DmZ8Dia3.js');
|
|
5
6
|
require('./ComponentError-C4MdBBMe.js');
|
|
6
7
|
require('./Checkout-RAGvjVPj.js');
|
|
7
8
|
require('./Pagination-Dediz133.js');
|
|
8
|
-
require('./
|
|
9
|
-
require('./Refund-
|
|
10
|
-
|
|
9
|
+
var Document = require('./Document-CL5Zc72Q.js');
|
|
10
|
+
require('./Refund-CYxocU06.js');
|
|
11
|
+
require('./Business-DyiDiIuO.js');
|
|
12
|
+
require('./Dispute-CruQTF6_.js');
|
|
11
13
|
var businessFormOptions = require('./business-form-options-BCj0efiD.js');
|
|
12
14
|
require('./event-types-DNOUef41.js');
|
|
13
15
|
var utils = require('./utils-DAyWinG2.js');
|
|
14
|
-
var parts = require('./parts-
|
|
15
|
-
var skeleton = require('./skeleton-
|
|
16
|
-
|
|
16
|
+
var parts = require('./parts-9jMf1erK.js');
|
|
17
|
+
var skeleton = require('./skeleton-aMh0RMHq.js');
|
|
18
|
+
require('./event-types-YOY5TKUN.js');
|
|
19
|
+
var formControlErrorText = require('./form-control-error-text-D9XDyFoW.js');
|
|
20
|
+
require('./index-B8ljHEN1.js');
|
|
17
21
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
18
|
-
require('./Dispute-CruQTF6_.js');
|
|
19
|
-
require('./Business-DyiDiIuO.js');
|
|
20
22
|
require('./helpers-B5OCqlIM.js');
|
|
21
23
|
require('./state-options-CIT9xdTz.js');
|
|
22
24
|
|
|
@@ -98,10 +100,10 @@ const FileInput = class {
|
|
|
98
100
|
return part;
|
|
99
101
|
}
|
|
100
102
|
render() {
|
|
101
|
-
return (index.h(index.Host, { key: '
|
|
103
|
+
return (index.h(index.Host, { key: 'c34cbf8874c33d945d81a93646372ac9dc687362' }, index.h("div", { key: 'cacf5f210a0adb6f408ac05efe4279d9eb1ae3b8', class: "form-group d-flex flex-column" }, index.h("div", { key: '936cb5268fa2c63f9931895f7a0b46ed5b4776ec', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '6dc1dd3be36337cc3c4bb72a4e4d42c6e7c2a239', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '4c4a2c965882e7e96d36b16e6448fa4efd003950', helpText: this.helpText })), index.h("input", { key: '469cf033fae879306ecbfdcdb9e6d74fdb4b4265', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
102
104
|
this.isFocused = false;
|
|
103
105
|
this.formControlBlur.emit();
|
|
104
|
-
} }), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
106
|
+
} }), index.h(formControlErrorText.FormControlErrorText, { key: '7359b6f39ac038230ce1d2d60454a4d4e69c6bb9', errorText: this.errorText, name: this.name }))));
|
|
105
107
|
}
|
|
106
108
|
get el() { return index.getElement(this); }
|
|
107
109
|
};
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BYd8IvAa.js');
|
|
4
|
-
var skeleton = require('./skeleton-
|
|
4
|
+
var skeleton = require('./skeleton-aMh0RMHq.js');
|
|
5
|
+
var configState = require('./config-state-D7p-XunE.js');
|
|
5
6
|
var iframeInputStylesState = require('./iframe-input-styles-state-D9vhHzZQ.js');
|
|
6
|
-
var parts = require('./parts-
|
|
7
|
+
var parts = require('./parts-9jMf1erK.js');
|
|
7
8
|
var index_esm = require('./index.esm-CVuJLXJZ.js');
|
|
8
|
-
var schemaValidations = require('./schema-validations-
|
|
9
|
-
var header3 = require('./header-3-
|
|
9
|
+
var schemaValidations = require('./schema-validations-Bhz09M42.js');
|
|
10
|
+
var header3 = require('./header-3-B-bXHCpC.js');
|
|
11
|
+
require('./event-types-YOY5TKUN.js');
|
|
10
12
|
var utils = require('./utils-DAyWinG2.js');
|
|
11
13
|
var stateOptions = require('./state-options-CIT9xdTz.js');
|
|
12
|
-
var
|
|
14
|
+
var Document = require('./Document-CL5Zc72Q.js');
|
|
13
15
|
var utils$1 = require('./utils-DmZ8Dia3.js');
|
|
14
16
|
require('./index-B8ljHEN1.js');
|
|
15
17
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
16
18
|
require('./business-form-options-BCj0efiD.js');
|
|
17
19
|
require('./Business-DyiDiIuO.js');
|
|
18
20
|
require('./helpers-B5OCqlIM.js');
|
|
19
|
-
require('./Document-rXGBUaOh.js');
|
|
20
21
|
require('./Dispute-CruQTF6_.js');
|
|
21
22
|
|
|
22
23
|
const BankAccountFormSkeleton = (props) => {
|
|
@@ -40,13 +41,9 @@ const BankAccountForm = class {
|
|
|
40
41
|
index.registerInstance(this, hostRef);
|
|
41
42
|
this.isReady = false;
|
|
42
43
|
}
|
|
43
|
-
async
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
return accountNumberIsValid && routingNumberIsValid;
|
|
47
|
-
}
|
|
48
|
-
async tokenize(clientId, paymentMethodMetadata, account) {
|
|
49
|
-
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
44
|
+
async componentWillLoad() {
|
|
45
|
+
await configState.waitForConfig();
|
|
46
|
+
this.iframeOrigin = configState.configState.iframeOrigin;
|
|
50
47
|
}
|
|
51
48
|
componentDidRender() {
|
|
52
49
|
const elements = [
|
|
@@ -61,11 +58,19 @@ const BankAccountForm = class {
|
|
|
61
58
|
this.isReady = true;
|
|
62
59
|
});
|
|
63
60
|
}
|
|
61
|
+
async validate() {
|
|
62
|
+
const accountNumberIsValid = await this.accountNumberIframeElement.validate();
|
|
63
|
+
const routingNumberIsValid = await this.routingNumberIframeElement.validate();
|
|
64
|
+
return accountNumberIsValid && routingNumberIsValid;
|
|
65
|
+
}
|
|
66
|
+
async tokenize(clientId, paymentMethodMetadata, account) {
|
|
67
|
+
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
68
|
+
}
|
|
64
69
|
render() {
|
|
65
|
-
return (index.h(index.Host, { key: '
|
|
70
|
+
return (index.h(index.Host, { key: 'b6cdf5a9320d92a5390daaa0a5218274f2dfc178' }, index.h(BankAccountFormSkeleton, { key: '286fcc38a26820d166ced0bc886143ed3d880da4', isReady: this.isReady }), index.h("div", { key: '041fcacff70d7cdfc0c8f41258bd9db18703e4c1', class: "container-fluid p-0", style: {
|
|
66
71
|
opacity: this.isReady ? '1' : '0',
|
|
67
72
|
height: this.isReady ? 'auto' : '0',
|
|
68
|
-
} }, index.h("div", { key: '
|
|
73
|
+
} }, index.h("div", { key: '94dc0eb0d79b40ade96e1961611e3e7a8eef20ea', class: "row mb-3" }, index.h("iframe-input", { key: '41c82b772e7873a45409e35ed56dfea16c20c2ee', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), index.h("div", { key: '1c95618a50e2d36a3a9a3a7b691ae0dfa6a09936', class: "row" }, index.h("iframe-input", { key: '28a4dde70c8f55b4f6bf6ce2d3beee6acbebbc0b', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
|
|
69
74
|
}
|
|
70
75
|
};
|
|
71
76
|
|
|
@@ -94,6 +99,10 @@ const CardForm = class {
|
|
|
94
99
|
index.registerInstance(this, hostRef);
|
|
95
100
|
this.isReady = false;
|
|
96
101
|
}
|
|
102
|
+
async componentWillLoad() {
|
|
103
|
+
await configState.waitForConfig();
|
|
104
|
+
this.iframeOrigin = configState.configState.iframeOrigin;
|
|
105
|
+
}
|
|
97
106
|
componentDidRender() {
|
|
98
107
|
const elements = [
|
|
99
108
|
this.cardNumberIframeElement,
|
|
@@ -120,10 +129,10 @@ const CardForm = class {
|
|
|
120
129
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
121
130
|
}
|
|
122
131
|
render() {
|
|
123
|
-
return (index.h(index.Host, { key: '
|
|
132
|
+
return (index.h(index.Host, { key: '3d28e96f020196a359a359507237b50dd9fed020' }, index.h(CardFormSkeleton, { key: 'ee07eb10acf142fcaab1398278e335df49f1abe9', isReady: this.isReady }), index.h("div", { key: 'bfce475f392cbb2bad3fd1c76f16c6e6a6718c1f', class: "container-fluid p-0", style: {
|
|
124
133
|
opacity: this.isReady ? '1' : '0',
|
|
125
134
|
height: this.isReady ? 'auto' : '0',
|
|
126
|
-
} }, index.h("div", { key: '
|
|
135
|
+
} }, index.h("div", { key: 'e8517852800a9a165e61308f8d1cf875a87c021e', class: "mb-3" }, index.h("iframe-input", { key: '6efe224b7f4a2f63eec601d3e48c454d78c30300', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), index.h("div", { key: 'cb6df3c5d9788a22c26255d1fe94331544730d24', class: "row" }, index.h("div", { key: '895943798b131da4215b24da822f7109e045e05b', class: "col-4 align-content-end" }, index.h("iframe-input", { key: 'ebea71cabe9f783734f924cfd0b03797cd203ce7', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), index.h("div", { key: 'a65042ba66ca4a2a6f520147d316eb20f82369ea', class: "col-4 align-content-end" }, index.h("iframe-input", { key: '8ef921245a3075ba36c310955bea671b71aca658', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), index.h("div", { key: 'e37d637b078a36736ba698d0d96465e138fcf5ab', class: "col-4 align-content-end" }, index.h("iframe-input", { key: 'df20adb17524ea29f55e1c223267a9f0294b6062', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
|
|
127
136
|
}
|
|
128
137
|
};
|
|
129
138
|
|
|
@@ -200,7 +209,7 @@ const HiddenInput = class {
|
|
|
200
209
|
return parts.input;
|
|
201
210
|
}
|
|
202
211
|
render() {
|
|
203
|
-
return (index.h(index.Host, { key: '
|
|
212
|
+
return (index.h(index.Host, { key: '32b302de9983db3ced26f1780bf116e63091b9ad' }, index.h("input", { key: 'c8fbe6dc11c8b743d307557aab107852403441ae', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
|
|
204
213
|
}
|
|
205
214
|
};
|
|
206
215
|
|
|
@@ -336,14 +345,14 @@ const NewPaymentMethod = class {
|
|
|
336
345
|
showNewPaymentMethodForm() {
|
|
337
346
|
var _a;
|
|
338
347
|
const paymentMethodType = (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id;
|
|
339
|
-
return (index.h("div", { class: "mt-4 pb-4" }, index.h("hidden-input", null), paymentMethodType === 'card' ? (index.h("card-form", { ref: (el) => this.paymentMethodFormRef = el
|
|
348
|
+
return (index.h("div", { class: "mt-4 pb-4" }, index.h("hidden-input", null), paymentMethodType === 'card' ? (index.h("card-form", { ref: (el) => this.paymentMethodFormRef = el })) : (index.h("bank-account-form", { ref: (el) => this.paymentMethodFormRef = el })), index.h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el), hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodType }), index.h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupId })));
|
|
340
349
|
}
|
|
341
350
|
get hiddenRadioInput() {
|
|
342
351
|
return !this.showAch || !this.showCard;
|
|
343
352
|
}
|
|
344
353
|
render() {
|
|
345
354
|
var _a, _b;
|
|
346
|
-
return (index.h(index.Host, { key: '
|
|
355
|
+
return (index.h(index.Host, { key: 'b80791923e2276322ebe0ce3b25b2073beac188d', class: "payment-method" }, index.h("div", { key: '47dc555bc135d4562958cf371ca3c8b80ee7236d', class: "radio-list-item p-3", part: parts.radioListItem, onClick: this.onPaymentMethodOptionClick, hidden: this.hiddenRadioInput }, index.h("form-control-radio", { key: 'e485347f39fa4b7d46d64e231931d6bdf541687c', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: PaymentMethodTypeLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.id] })), this.isSelected ? this.showNewPaymentMethodForm() : null));
|
|
347
356
|
}
|
|
348
357
|
};
|
|
349
358
|
|
|
@@ -388,17 +397,17 @@ const PaymentMethodOptions = class {
|
|
|
388
397
|
.map((paymentMethod) => new PaymentMethodOption(paymentMethod))
|
|
389
398
|
.filter((paymentMethod) => {
|
|
390
399
|
// Don't saved card or bank account if they are disabled
|
|
391
|
-
return ((this.showCard || paymentMethod.type !==
|
|
392
|
-
(this.showAch || paymentMethod.type !==
|
|
400
|
+
return ((this.showCard || paymentMethod.type !== Document.PaymentMethodTypes.card) &&
|
|
401
|
+
(this.showAch || paymentMethod.type !== Document.PaymentMethodTypes.bankAccount));
|
|
393
402
|
});
|
|
394
403
|
if (this.showBnpl && ((_a = this.bnpl) === null || _a === void 0 ? void 0 : _a.provider) === 'sezzle' && !this.insuranceToggled) {
|
|
395
|
-
this.paymentMethodOptions.push(new PaymentMethodOption({ id:
|
|
404
|
+
this.paymentMethodOptions.push(new PaymentMethodOption({ id: Document.PaymentMethodTypes.sezzle }));
|
|
396
405
|
}
|
|
397
406
|
if (this.showCard) {
|
|
398
|
-
this.paymentMethodOptions.push(new PaymentMethodOption({ id:
|
|
407
|
+
this.paymentMethodOptions.push(new PaymentMethodOption({ id: Document.PaymentMethodTypes.card }));
|
|
399
408
|
}
|
|
400
409
|
if (this.showAch) {
|
|
401
|
-
this.paymentMethodOptions.push(new PaymentMethodOption({ id:
|
|
410
|
+
this.paymentMethodOptions.push(new PaymentMethodOption({ id: Document.PaymentMethodTypes.bankAccount }));
|
|
402
411
|
}
|
|
403
412
|
if (!this.selectedPaymentMethodId) {
|
|
404
413
|
this.selectedPaymentMethodId = (_b = this.paymentMethodOptions[0]) === null || _b === void 0 ? void 0 : _b.id;
|
|
@@ -418,13 +427,13 @@ const PaymentMethodOptions = class {
|
|
|
418
427
|
}
|
|
419
428
|
render() {
|
|
420
429
|
var _a;
|
|
421
|
-
return (index.h(index.Host, { key: '
|
|
422
|
-
const newCard = paymentMethodOption.id ===
|
|
423
|
-
const newBankAccount = paymentMethodOption.id ===
|
|
430
|
+
return (index.h(index.Host, { key: '506450161ed363330132c2bfa99a6a7729e94778' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
|
|
431
|
+
const newCard = paymentMethodOption.id === Document.PaymentMethodTypes.card;
|
|
432
|
+
const newBankAccount = paymentMethodOption.id === Document.PaymentMethodTypes.bankAccount;
|
|
424
433
|
const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
|
|
425
|
-
const sezzle = paymentMethodOption.id ===
|
|
434
|
+
const sezzle = paymentMethodOption.id === Document.PaymentMethodTypes.sezzle;
|
|
426
435
|
if (newCard || newBankAccount) {
|
|
427
|
-
return (index.h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, "show-card": this.showCard, "show-ach": this.showAch, paymentMethodGroupId: this.paymentMethodGroupId, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm,
|
|
436
|
+
return (index.h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, "show-card": this.showCard, "show-ach": this.showAch, paymentMethodGroupId: this.paymentMethodGroupId, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, ref: (el) => {
|
|
428
437
|
if (isSelected) {
|
|
429
438
|
this.selectedPaymentMethodOptionRef = el;
|
|
430
439
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index_esm = require('./index.esm-CVuJLXJZ.js');
|
|
4
|
-
var schemaValidations = require('./schema-validations-
|
|
4
|
+
var schemaValidations = require('./schema-validations-Bhz09M42.js');
|
|
5
5
|
|
|
6
6
|
const businessCoreInfoSchema = (allowOptionalFields) => {
|
|
7
7
|
const schema = index_esm.create$3({
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BYd8IvAa.js');
|
|
4
|
-
var utils = require('./utils-
|
|
4
|
+
var utils = require('./utils-5lco6NzU.js');
|
|
5
5
|
var styledHost = require('./styled-host-udkBJV5h.js');
|
|
6
|
-
|
|
7
|
-
require('./
|
|
6
|
+
require('./event-types-YOY5TKUN.js');
|
|
7
|
+
var skeleton = require('./skeleton-aMh0RMHq.js');
|
|
8
|
+
require('./parts-9jMf1erK.js');
|
|
8
9
|
|
|
9
10
|
const BusinessDetailsLoading = () => {
|
|
10
11
|
const Block = () => (index.h("div", { class: "mt-5" },
|
package/dist/cjs/{business-identity-schema-dt0zCW0R.js → business-identity-schema-BYaCsboD.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index_esm = require('./index.esm-CVuJLXJZ.js');
|
|
4
|
-
var schemaValidations = require('./schema-validations-
|
|
4
|
+
var schemaValidations = require('./schema-validations-Bhz09M42.js');
|
|
5
5
|
|
|
6
6
|
const addressSchema = (allowOptionalFields) => {
|
|
7
7
|
const schema = index_esm.create$3({
|
|
@@ -1,58 +1,54 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Api = require('./Api-
|
|
4
|
-
|
|
3
|
+
var Api = require('./Api-C8nf_gS9.js');
|
|
4
|
+
require('./ComponentError-C4MdBBMe.js');
|
|
5
|
+
require('./Checkout-RAGvjVPj.js');
|
|
6
|
+
require('./Pagination-Dediz133.js');
|
|
7
|
+
require('./Document-CL5Zc72Q.js');
|
|
8
|
+
require('./Refund-CYxocU06.js');
|
|
9
|
+
require('./Business-DyiDiIuO.js');
|
|
10
|
+
require('./Dispute-CruQTF6_.js');
|
|
5
11
|
|
|
12
|
+
const api = Api.Api();
|
|
6
13
|
class BusinessService {
|
|
7
14
|
async fetchBusiness(businessId, authToken) {
|
|
8
|
-
const api = ApiNew.Api();
|
|
9
15
|
const endpoint = `entities/business/${businessId}`;
|
|
10
16
|
return api.get({ endpoint, authToken });
|
|
11
17
|
}
|
|
12
18
|
async patchBusiness(authToken, businessId, payload) {
|
|
13
19
|
const endpoint = `entities/business/${businessId}`;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
body: payload,
|
|
17
|
-
});
|
|
20
|
+
const body = payload;
|
|
21
|
+
return api.patch({ endpoint, body, authToken });
|
|
18
22
|
}
|
|
19
23
|
}
|
|
20
24
|
class IdentityService {
|
|
21
25
|
async fetchIdentity(identityId, authToken) {
|
|
22
26
|
const endpoint = `entities/identity/${identityId}`;
|
|
23
|
-
return
|
|
27
|
+
return api.get({ endpoint, authToken });
|
|
24
28
|
}
|
|
25
29
|
async patchIdentity(authToken, identityId, payload) {
|
|
26
30
|
const endpoint = `entities/identity/${identityId}`;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
body: payload,
|
|
30
|
-
});
|
|
31
|
+
const body = payload;
|
|
32
|
+
return api.patch({ endpoint, body, authToken });
|
|
31
33
|
}
|
|
32
34
|
async postIdentity(authToken, payload) {
|
|
33
35
|
const endpoint = `entities/identity`;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
body: payload,
|
|
37
|
-
});
|
|
36
|
+
const body = payload;
|
|
37
|
+
return api.post({ endpoint, body, authToken });
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
class BusinessBankAccountService {
|
|
41
41
|
async postBankAccount(authToken, payload) {
|
|
42
42
|
const endpoint = `entities/bank_accounts`;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
body: payload,
|
|
46
|
-
});
|
|
43
|
+
const body = payload;
|
|
44
|
+
return api.post({ endpoint, body, authToken });
|
|
47
45
|
}
|
|
48
46
|
}
|
|
49
47
|
class DocumentRecordService {
|
|
50
48
|
async postDocumentRecord(authToken, payload) {
|
|
51
49
|
const endpoint = `entities/document`;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
body: payload,
|
|
55
|
-
});
|
|
50
|
+
const body = payload;
|
|
51
|
+
return api.post({ endpoint, body, authToken });
|
|
56
52
|
}
|
|
57
53
|
}
|
|
58
54
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BYd8IvAa.js');
|
|
4
|
-
var parts = require('./parts-
|
|
4
|
+
var parts = require('./parts-9jMf1erK.js');
|
|
5
5
|
|
|
6
6
|
const ButtonSpinner = () => (index.h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" },
|
|
7
7
|
index.h("span", { class: "visually-hidden" }, "Loading...")));
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _package = require('./package-
|
|
4
|
-
var Api = require('./Api-
|
|
3
|
+
var _package = require('./package-Biee4Hdo.js');
|
|
4
|
+
var Api = require('./Api-C8nf_gS9.js');
|
|
5
|
+
require('./ComponentError-C4MdBBMe.js');
|
|
6
|
+
require('./Checkout-RAGvjVPj.js');
|
|
7
|
+
require('./Pagination-Dediz133.js');
|
|
8
|
+
require('./Document-CL5Zc72Q.js');
|
|
9
|
+
require('./Refund-CYxocU06.js');
|
|
10
|
+
require('./Business-DyiDiIuO.js');
|
|
11
|
+
require('./Dispute-CruQTF6_.js');
|
|
5
12
|
|
|
13
|
+
const api = Api.Api();
|
|
6
14
|
class AnalyticsService {
|
|
7
15
|
async record(body) {
|
|
8
16
|
const endpoint = 'analytics';
|
|
9
|
-
return
|
|
17
|
+
return api.post({ endpoint, body });
|
|
10
18
|
}
|
|
11
19
|
}
|
|
12
20
|
|
|
@@ -75,6 +83,9 @@ class JustifiAnalytics {
|
|
|
75
83
|
}
|
|
76
84
|
cleanup() {
|
|
77
85
|
// Remove event listeners
|
|
86
|
+
if (!this.eventEmitters) {
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
78
89
|
this.eventEmitters.forEach((event) => {
|
|
79
90
|
this.componentInstance.removeEventListener(event, this.handleCustomEvent);
|
|
80
91
|
});
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var Api = require('./Api-C8nf_gS9.js');
|
|
4
|
+
require('./ComponentError-C4MdBBMe.js');
|
|
5
|
+
require('./Checkout-RAGvjVPj.js');
|
|
6
|
+
require('./Pagination-Dediz133.js');
|
|
7
|
+
require('./Document-CL5Zc72Q.js');
|
|
8
|
+
require('./Refund-CYxocU06.js');
|
|
9
|
+
require('./Business-DyiDiIuO.js');
|
|
10
|
+
require('./Dispute-CruQTF6_.js');
|
|
11
|
+
|
|
12
|
+
const api = Api.Api();
|
|
13
|
+
class CheckoutService {
|
|
14
|
+
async fetchCheckout(authToken, checkoutId) {
|
|
15
|
+
const endpoint = `checkouts/${checkoutId}`;
|
|
16
|
+
return api.get({ endpoint, authToken });
|
|
17
|
+
}
|
|
18
|
+
async fetchCheckouts(accountId, authToken, params) {
|
|
19
|
+
const endpoint = 'checkouts';
|
|
20
|
+
const headers = { Account: accountId };
|
|
21
|
+
return api.get({ endpoint, params, headers, authToken });
|
|
22
|
+
}
|
|
23
|
+
async complete(authToken, checkoutId, payment) {
|
|
24
|
+
const endpoint = `checkouts/${checkoutId}/complete`;
|
|
25
|
+
const body = {
|
|
26
|
+
payment_mode: payment.payment_mode,
|
|
27
|
+
};
|
|
28
|
+
if (payment.payment_token) {
|
|
29
|
+
body.payment_token = payment.payment_token;
|
|
30
|
+
}
|
|
31
|
+
return api.post({ endpoint, body, authToken });
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.CheckoutService = CheckoutService;
|
|
@@ -1,22 +1,26 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BYd8IvAa.js');
|
|
4
|
+
require('./config-state-D7p-XunE.js');
|
|
4
5
|
require('./utils-DmZ8Dia3.js');
|
|
5
6
|
require('./ComponentError-C4MdBBMe.js');
|
|
6
7
|
require('./Checkout-RAGvjVPj.js');
|
|
7
8
|
var Pagination = require('./Pagination-Dediz133.js');
|
|
8
|
-
require('./
|
|
9
|
-
require('./Refund-
|
|
10
|
-
require('./
|
|
11
|
-
var parts = require('./parts-Du1T2dvF.js');
|
|
12
|
-
var eventTypes = require('./event-types-cB_-SsYZ.js');
|
|
13
|
-
var checkoutsTable = require('./checkouts-table-C_cpZa-i.js');
|
|
14
|
-
var checkoutsListParamsState = require('./checkouts-list-params-state-BvG5Ysrg.js');
|
|
15
|
-
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
9
|
+
require('./Document-CL5Zc72Q.js');
|
|
10
|
+
require('./Refund-CYxocU06.js');
|
|
11
|
+
require('./Business-DyiDiIuO.js');
|
|
16
12
|
require('./Dispute-CruQTF6_.js');
|
|
17
|
-
require('./
|
|
18
|
-
require('./
|
|
13
|
+
var table = require('./table-DKVauFHc.js');
|
|
14
|
+
var eventTypes = require('./event-types-YOY5TKUN.js');
|
|
15
|
+
var checkoutsTable = require('./checkouts-table-_T5eblyc.js');
|
|
16
|
+
var checkoutsListParamsState = require('./checkouts-list-params-state-BvG5Ysrg.js');
|
|
19
17
|
require('./index-B8ljHEN1.js');
|
|
18
|
+
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
19
|
+
require('./helpers-B5OCqlIM.js');
|
|
20
|
+
require('./state-options-CIT9xdTz.js');
|
|
21
|
+
require('./parts-9jMf1erK.js');
|
|
22
|
+
require('./spinner-BTyIjlMM.js');
|
|
23
|
+
require('./badge-BxoJOyTJ.js');
|
|
20
24
|
|
|
21
25
|
const CheckoutsListCore = class {
|
|
22
26
|
constructor(hostRef) {
|
|
@@ -48,7 +52,7 @@ const CheckoutsListCore = class {
|
|
|
48
52
|
this.fetchData();
|
|
49
53
|
}
|
|
50
54
|
componentWillLoad() {
|
|
51
|
-
this.checkoutsTable = new
|
|
55
|
+
this.checkoutsTable = new table.Table(this.checkouts, this.columns, checkoutsTable.checkoutTableColumns, checkoutsTable.checkoutTableCells);
|
|
52
56
|
if (this.getCheckouts && this.getSubAccounts) {
|
|
53
57
|
this.fetchData();
|
|
54
58
|
}
|
|
@@ -134,7 +138,7 @@ const CheckoutsListCore = class {
|
|
|
134
138
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
135
139
|
}
|
|
136
140
|
render() {
|
|
137
|
-
return (index.h(
|
|
141
|
+
return (index.h(table.TableWrapper, { key: '79f36b8dd358285868187892962f5e2138942fe8' }, index.h(table.TableComponent, { key: 'e48c644e425ac45ab27b92548bc49af35b599245' }, index.h(table.TableHead, { key: '6d47b68c0a74f0eff3146dfc4720b0cc0f6fc24d' }, index.h(table.TableHeadRow, { key: 'a3660ae82b53ba7dead2e577fd8d573426935dc6' }, this.checkoutsTable.columnData.map((column) => column))), index.h(table.TableBody, { key: '08fbd465bae0afa3de8d472c84e0410150509673' }, index.h(table.TableLoadingState, { key: 'ba7d778f9fc029166d6228fe9b1a8f1598a68c5a', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), index.h(table.TableEmptyState, { key: '312b176371526658852b74ae228524695f5c1947', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), index.h(table.TableErrorState, { key: 'a24680fb1d681397a3cb266ec34ab5c9310dfa64', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index$1) => (index.h(table.TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h(table.TableFoot, { key: '503ffd707d958a353a18a6f06d1280a0cb01c741' }, index.h(table.TableFootRow, { key: '250fcfc3961881ab460221e5e0160d5b6d35e5c3' }, index.h(table.TableFootCell, { key: '2631d54b49bbee1502e5412cd9303d7d67746525', colSpan: this.checkoutsTable.columnData.length }, index.h("pagination-menu", { key: 'd7bb27501b62a1089090b06c82b2a2c328a2e0b6', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
138
142
|
}
|
|
139
143
|
static get watchers() { return {
|
|
140
144
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BYd8IvAa.js');
|
|
4
4
|
var utils = require('./utils-DmZ8Dia3.js');
|
|
5
|
-
var badge = require('./badge-
|
|
6
|
-
var parts = require('./parts-
|
|
5
|
+
var badge = require('./badge-BxoJOyTJ.js');
|
|
6
|
+
var parts = require('./parts-9jMf1erK.js');
|
|
7
7
|
|
|
8
8
|
const MapCheckoutStatusToBadge = (status) => {
|
|
9
9
|
const statusToBadgeProps = {
|
|
@@ -4,7 +4,7 @@ var index = require('./index-B8ljHEN1.js');
|
|
|
4
4
|
|
|
5
5
|
const initialState = {
|
|
6
6
|
apiOrigin: "https://wc-proxy.justifi.ai",
|
|
7
|
-
|
|
7
|
+
iframeOrigin: "https://components.justifi.ai",
|
|
8
8
|
accountId: '',
|
|
9
9
|
};
|
|
10
10
|
const configStore = index.createStore(() => initialState);
|