@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
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"components/checkouts-list/checkouts-list-core.js",
|
|
54
54
|
"components/checkouts-list/checkouts-list-filters.js",
|
|
55
55
|
"components/checkouts-list/checkouts-list.js",
|
|
56
|
-
"
|
|
56
|
+
"components/filters/table-filters-menu.js",
|
|
57
57
|
"ui-components/form/form-control-select.js",
|
|
58
58
|
"components/config-provider/config-provider.js",
|
|
59
59
|
"components/dispute-management/dispute-management-core.js",
|
|
@@ -12,8 +12,10 @@ export class BusinessDetails {
|
|
|
12
12
|
this.initializeGetBusiness();
|
|
13
13
|
}
|
|
14
14
|
disconnectedCallback() {
|
|
15
|
-
|
|
15
|
+
var _a;
|
|
16
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
16
17
|
}
|
|
18
|
+
;
|
|
17
19
|
initializeGetBusiness() {
|
|
18
20
|
if (!this.businessId || !this.authToken) {
|
|
19
21
|
this.errorMessage = 'Invalid business id or auth token';
|
|
@@ -1,52 +1,44 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { FormController } from "../../../ui-components/form/form";
|
|
3
3
|
import { businessFormSchema } from "../schemas/business-form-schema";
|
|
4
|
-
import {
|
|
4
|
+
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../../api";
|
|
5
5
|
import { Business, BusinessFormServerErrors } from "../../../api/Business";
|
|
6
6
|
import JustifiAnalytics from "../../../api/Analytics";
|
|
7
7
|
import { Button, Header1, StyledHost } from "../../../ui-components";
|
|
8
8
|
import { checkPkgVersion } from "../../../utils/check-pkg-version";
|
|
9
9
|
import { BusinessFormLoading } from "./business-form-loading";
|
|
10
10
|
import { BusinessFormClickActions } from "../utils";
|
|
11
|
+
import { makeGetBusiness, makePatchBusiness } from "../payment-provisioning/payment-provisioning-actions";
|
|
12
|
+
import { BusinessService } from "../../../api/services/business.service";
|
|
11
13
|
export class BusinessForm {
|
|
12
14
|
constructor() {
|
|
15
|
+
this.isLoading = false;
|
|
16
|
+
this.isSaving = false;
|
|
13
17
|
this.hideErrors = false;
|
|
14
18
|
this.formTitle = 'Business Information';
|
|
15
19
|
this.removeTitle = false;
|
|
16
|
-
this.isLoading = false;
|
|
17
|
-
this.isSaving = false;
|
|
18
20
|
this.instantiateBusiness = (data) => {
|
|
19
21
|
const business = new Business(data);
|
|
20
22
|
this.formController.setInitialValues(Object.assign({}, business));
|
|
21
23
|
};
|
|
22
24
|
this.sendData = async () => {
|
|
23
25
|
this.isSaving = true;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
try {
|
|
41
|
-
const response = await this.api.get(this.businessEndpoint);
|
|
42
|
-
this.instantiateBusiness(response.data);
|
|
43
|
-
}
|
|
44
|
-
catch (error) {
|
|
45
|
-
this.errorMessage = BusinessFormServerErrors.fetchData;
|
|
46
|
-
}
|
|
47
|
-
finally {
|
|
48
|
-
this.isLoading = false;
|
|
49
|
-
}
|
|
26
|
+
const values = this.formController.values.getValue();
|
|
27
|
+
const initialValues = this.formController.getInitialValues();
|
|
28
|
+
const payload = new Business(Object.assign(Object.assign({}, initialValues), values)).payload;
|
|
29
|
+
this.patchBusiness({
|
|
30
|
+
payload,
|
|
31
|
+
onSuccess: (response) => {
|
|
32
|
+
this.handleReponse(response);
|
|
33
|
+
},
|
|
34
|
+
onError: ({ error, code, severity }) => {
|
|
35
|
+
this.errorMessage = error.message;
|
|
36
|
+
this.errorEvent.emit({ errorCode: code, message: error.message, severity });
|
|
37
|
+
},
|
|
38
|
+
final: () => {
|
|
39
|
+
this.isSaving = false;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
50
42
|
};
|
|
51
43
|
this.validateAndSubmit = (event) => {
|
|
52
44
|
event.preventDefault();
|
|
@@ -56,19 +48,14 @@ export class BusinessForm {
|
|
|
56
48
|
componentWillLoad() {
|
|
57
49
|
checkPkgVersion();
|
|
58
50
|
this.analytics = new JustifiAnalytics(this);
|
|
59
|
-
const missingAuthTokenMessage = 'Warning: Missing auth-token. The form will not be functional without it.';
|
|
60
|
-
const missingBusinessIdMessage = 'Warning: Missing business-id. The form requires an existing business-id to function.';
|
|
61
|
-
if (!this.authToken)
|
|
62
|
-
console.error(missingAuthTokenMessage);
|
|
63
|
-
if (!this.businessId)
|
|
64
|
-
console.error(missingBusinessIdMessage);
|
|
65
51
|
this.formController = new FormController(businessFormSchema);
|
|
66
|
-
this.
|
|
67
|
-
this.fetchData();
|
|
52
|
+
this.initializeApi();
|
|
68
53
|
}
|
|
69
54
|
disconnectedCallback() {
|
|
70
|
-
|
|
55
|
+
var _a;
|
|
56
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
71
57
|
}
|
|
58
|
+
;
|
|
72
59
|
get title() {
|
|
73
60
|
return this.removeTitle ? '' : this.formTitle;
|
|
74
61
|
}
|
|
@@ -78,11 +65,44 @@ export class BusinessForm {
|
|
|
78
65
|
get businessEndpoint() {
|
|
79
66
|
return `entities/business/${this.businessId}`;
|
|
80
67
|
}
|
|
68
|
+
initializeApi() {
|
|
69
|
+
if (this.authToken && this.businessId) {
|
|
70
|
+
this.getBusiness = makeGetBusiness({
|
|
71
|
+
authToken: this.authToken,
|
|
72
|
+
businessId: this.businessId,
|
|
73
|
+
service: new BusinessService()
|
|
74
|
+
});
|
|
75
|
+
this.patchBusiness = makePatchBusiness({
|
|
76
|
+
authToken: this.authToken,
|
|
77
|
+
businessId: this.businessId,
|
|
78
|
+
service: new BusinessService()
|
|
79
|
+
});
|
|
80
|
+
this.getBusiness({
|
|
81
|
+
onSuccess: (response) => {
|
|
82
|
+
this.instantiateBusiness(response.data);
|
|
83
|
+
},
|
|
84
|
+
onError: ({ error, code, severity }) => {
|
|
85
|
+
this.errorMessage = error.message;
|
|
86
|
+
this.errorEvent.emit({ errorCode: code, message: error.message, severity });
|
|
87
|
+
},
|
|
88
|
+
final: () => {
|
|
89
|
+
this.isLoading = false;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
this.errorEvent.emit({
|
|
95
|
+
message: 'auth-token and business-id are required',
|
|
96
|
+
errorCode: ComponentErrorCodes.MISSING_PROPS,
|
|
97
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}
|
|
81
101
|
handleReponse(response) {
|
|
82
102
|
if (response.error) {
|
|
83
103
|
this.errorMessage = BusinessFormServerErrors.patchData;
|
|
84
104
|
}
|
|
85
|
-
this.submitEvent.emit({ response
|
|
105
|
+
this.submitEvent.emit({ response });
|
|
86
106
|
this.instantiateBusiness(response.data);
|
|
87
107
|
}
|
|
88
108
|
render() {
|
|
@@ -245,6 +265,27 @@ export class BusinessForm {
|
|
|
245
265
|
}
|
|
246
266
|
}
|
|
247
267
|
}
|
|
268
|
+
}, {
|
|
269
|
+
"method": "errorEvent",
|
|
270
|
+
"name": "error-event",
|
|
271
|
+
"bubbles": true,
|
|
272
|
+
"cancelable": true,
|
|
273
|
+
"composed": true,
|
|
274
|
+
"docs": {
|
|
275
|
+
"tags": [],
|
|
276
|
+
"text": ""
|
|
277
|
+
},
|
|
278
|
+
"complexType": {
|
|
279
|
+
"original": "ComponentErrorEvent",
|
|
280
|
+
"resolved": "ComponentErrorEvent",
|
|
281
|
+
"references": {
|
|
282
|
+
"ComponentErrorEvent": {
|
|
283
|
+
"location": "import",
|
|
284
|
+
"path": "../../../api/ComponentEvents",
|
|
285
|
+
"id": "src/api/ComponentEvents.ts::ComponentErrorEvent"
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
248
289
|
}];
|
|
249
290
|
}
|
|
250
291
|
}
|
package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js
CHANGED
|
@@ -19,8 +19,10 @@ export class PaymentProvisioning {
|
|
|
19
19
|
this.initializeApi();
|
|
20
20
|
}
|
|
21
21
|
disconnectedCallback() {
|
|
22
|
-
|
|
22
|
+
var _a;
|
|
23
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
23
24
|
}
|
|
25
|
+
;
|
|
24
26
|
initializeApi() {
|
|
25
27
|
if (this.authToken && this.businessId) {
|
|
26
28
|
this.getBusiness = makeGetBusiness({
|
|
@@ -44,7 +46,7 @@ export class PaymentProvisioning {
|
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
48
|
render() {
|
|
47
|
-
return (h("justifi-payment-provisioning-core", { key: '
|
|
49
|
+
return (h("justifi-payment-provisioning-core", { key: '11871305b4b4974787a9278195ea0b314be250b0', businessId: this.businessId, authToken: this.authToken, allowOptionalFields: this.allowOptionalFields, formTitle: this.formTitle, getBusiness: this.getBusiness, postProvisioning: this.postProvisioning }));
|
|
48
50
|
}
|
|
49
51
|
static get is() { return "justifi-payment-provisioning"; }
|
|
50
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,7 +11,7 @@ export class BusinessTermsConditionsFormStep {
|
|
|
11
11
|
this.fetchData = async () => {
|
|
12
12
|
this.formLoading.emit(true);
|
|
13
13
|
try {
|
|
14
|
-
const response = await this.api.get({ endpoint: this.businessEndpoint });
|
|
14
|
+
const response = await this.api.get({ endpoint: this.businessEndpoint, authToken: this.authToken });
|
|
15
15
|
this.acceptedTermsBefore = response.data.terms_conditions_accepted;
|
|
16
16
|
}
|
|
17
17
|
catch (error) {
|
|
@@ -67,7 +67,7 @@ export class BusinessTermsConditionsFormStep {
|
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
69
|
async componentWillLoad() {
|
|
70
|
-
this.api = Api(
|
|
70
|
+
this.api = Api();
|
|
71
71
|
this.formController = new FormController(businessTermsConditionsSchema(this.allowOptionalFields));
|
|
72
72
|
if (this.businessId && this.authToken) {
|
|
73
73
|
this.fetchData();
|
|
@@ -108,7 +108,7 @@ export class BusinessTermsConditionsFormStep {
|
|
|
108
108
|
return (h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (h("form", { key: '
|
|
111
|
+
return (h("form", { key: '6bba766ba11512058470225103aa2afff318ab99' }, h("fieldset", { key: '318755ea4fc772e61ac9f8318ccf95494f71bf73' }, h("legend", { key: 'e5a268e9be8ed0a69eb8eed23ffc742228218685', part: heading2 }, "Terms and Conditions"), h("hr", { key: '100eed0ad0c8e7a5c652640c337d899be6f2131a' }), h("div", { key: '08a878a7fe9cd7b8ccb2217932d5d3a3b53bb0c9' }, h("p", { key: 'a5b3ddc655c511187327028229a893f7ea06c7ca' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: '5c021ef8a8bce686a615a7478a4312f842eb4248' }), h("div", { key: '6b3172972459d33e70e6bf4b8c2c9d93a843b7f4', class: "row-gy-3" }, h("div", { key: '1e99c4eab265b0b0f370a02ddf76b15d27db961c', class: "col-12" }, h("form-control-checkbox", { key: '4c974e3fd58f34000fa70d38d3da312f9bd1fe0d', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
|
|
112
112
|
}
|
|
113
113
|
static get is() { return "justifi-business-terms-conditions-form-step"; }
|
|
114
114
|
static get properties() {
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
import BankAccountFormSkeleton from "./bank-account-form-skeleton";
|
|
3
|
+
import { configState, waitForConfig } from "../../config-provider/config-state";
|
|
3
4
|
export class BankAccountForm {
|
|
4
5
|
constructor() {
|
|
5
6
|
this.isReady = false;
|
|
6
7
|
}
|
|
7
|
-
async
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
return accountNumberIsValid && routingNumberIsValid;
|
|
11
|
-
}
|
|
12
|
-
async tokenize(clientId, paymentMethodMetadata, account) {
|
|
13
|
-
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
8
|
+
async componentWillLoad() {
|
|
9
|
+
await waitForConfig();
|
|
10
|
+
this.iframeOrigin = configState.iframeOrigin;
|
|
14
11
|
}
|
|
15
12
|
componentDidRender() {
|
|
16
13
|
const elements = [
|
|
@@ -25,39 +22,25 @@ export class BankAccountForm {
|
|
|
25
22
|
this.isReady = true;
|
|
26
23
|
});
|
|
27
24
|
}
|
|
25
|
+
async validate() {
|
|
26
|
+
const accountNumberIsValid = await this.accountNumberIframeElement.validate();
|
|
27
|
+
const routingNumberIsValid = await this.routingNumberIframeElement.validate();
|
|
28
|
+
return accountNumberIsValid && routingNumberIsValid;
|
|
29
|
+
}
|
|
30
|
+
async tokenize(clientId, paymentMethodMetadata, account) {
|
|
31
|
+
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
32
|
+
}
|
|
28
33
|
render() {
|
|
29
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: 'b6cdf5a9320d92a5390daaa0a5218274f2dfc178' }, h(BankAccountFormSkeleton, { key: '286fcc38a26820d166ced0bc886143ed3d880da4', isReady: this.isReady }), h("div", { key: '041fcacff70d7cdfc0c8f41258bd9db18703e4c1', class: "container-fluid p-0", style: {
|
|
30
35
|
opacity: this.isReady ? '1' : '0',
|
|
31
36
|
height: this.isReady ? 'auto' : '0',
|
|
32
|
-
} }, h("div", { key: '
|
|
37
|
+
} }, h("div", { key: '94dc0eb0d79b40ade96e1961611e3e7a8eef20ea', class: "row mb-3" }, h("iframe-input", { key: '41c82b772e7873a45409e35ed56dfea16c20c2ee', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '1c95618a50e2d36a3a9a3a7b691ae0dfa6a09936', class: "row" }, h("iframe-input", { key: '28a4dde70c8f55b4f6bf6ce2d3beee6acbebbc0b', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
|
|
33
38
|
}
|
|
34
39
|
static get is() { return "bank-account-form"; }
|
|
35
|
-
static get properties() {
|
|
36
|
-
return {
|
|
37
|
-
"iframeOrigin": {
|
|
38
|
-
"type": "string",
|
|
39
|
-
"attribute": "iframe-origin",
|
|
40
|
-
"mutable": false,
|
|
41
|
-
"complexType": {
|
|
42
|
-
"original": "string",
|
|
43
|
-
"resolved": "string",
|
|
44
|
-
"references": {}
|
|
45
|
-
},
|
|
46
|
-
"required": false,
|
|
47
|
-
"optional": false,
|
|
48
|
-
"docs": {
|
|
49
|
-
"tags": [],
|
|
50
|
-
"text": ""
|
|
51
|
-
},
|
|
52
|
-
"getter": false,
|
|
53
|
-
"setter": false,
|
|
54
|
-
"reflect": false
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
40
|
static get states() {
|
|
59
41
|
return {
|
|
60
|
-
"isReady": {}
|
|
42
|
+
"isReady": {},
|
|
43
|
+
"iframeOrigin": {}
|
|
61
44
|
};
|
|
62
45
|
}
|
|
63
46
|
static get methods() {
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
import CardFormSkeleton from "./card-form-skeleton";
|
|
3
|
+
import { configState, waitForConfig } from "../../config-provider/config-state";
|
|
3
4
|
export class CardForm {
|
|
4
5
|
constructor() {
|
|
5
6
|
this.isReady = false;
|
|
6
7
|
}
|
|
8
|
+
async componentWillLoad() {
|
|
9
|
+
await waitForConfig();
|
|
10
|
+
this.iframeOrigin = configState.iframeOrigin;
|
|
11
|
+
}
|
|
7
12
|
componentDidRender() {
|
|
8
13
|
const elements = [
|
|
9
14
|
this.cardNumberIframeElement,
|
|
@@ -30,38 +35,16 @@ export class CardForm {
|
|
|
30
35
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
31
36
|
}
|
|
32
37
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '3d28e96f020196a359a359507237b50dd9fed020' }, h(CardFormSkeleton, { key: 'ee07eb10acf142fcaab1398278e335df49f1abe9', isReady: this.isReady }), h("div", { key: 'bfce475f392cbb2bad3fd1c76f16c6e6a6718c1f', class: "container-fluid p-0", style: {
|
|
34
39
|
opacity: this.isReady ? '1' : '0',
|
|
35
40
|
height: this.isReady ? 'auto' : '0',
|
|
36
|
-
} }, h("div", { key: '
|
|
41
|
+
} }, h("div", { key: 'e8517852800a9a165e61308f8d1cf875a87c021e', class: "mb-3" }, h("iframe-input", { key: '6efe224b7f4a2f63eec601d3e48c454d78c30300', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: 'cb6df3c5d9788a22c26255d1fe94331544730d24', class: "row" }, h("div", { key: '895943798b131da4215b24da822f7109e045e05b', class: "col-4 align-content-end" }, h("iframe-input", { key: 'ebea71cabe9f783734f924cfd0b03797cd203ce7', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: 'a65042ba66ca4a2a6f520147d316eb20f82369ea', class: "col-4 align-content-end" }, h("iframe-input", { key: '8ef921245a3075ba36c310955bea671b71aca658', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'e37d637b078a36736ba698d0d96465e138fcf5ab', class: "col-4 align-content-end" }, h("iframe-input", { key: 'df20adb17524ea29f55e1c223267a9f0294b6062', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
|
|
37
42
|
}
|
|
38
43
|
static get is() { return "card-form"; }
|
|
39
|
-
static get properties() {
|
|
40
|
-
return {
|
|
41
|
-
"iframeOrigin": {
|
|
42
|
-
"type": "string",
|
|
43
|
-
"attribute": "iframe-origin",
|
|
44
|
-
"mutable": false,
|
|
45
|
-
"complexType": {
|
|
46
|
-
"original": "string",
|
|
47
|
-
"resolved": "string",
|
|
48
|
-
"references": {}
|
|
49
|
-
},
|
|
50
|
-
"required": false,
|
|
51
|
-
"optional": false,
|
|
52
|
-
"docs": {
|
|
53
|
-
"tags": [],
|
|
54
|
-
"text": ""
|
|
55
|
-
},
|
|
56
|
-
"getter": false,
|
|
57
|
-
"setter": false,
|
|
58
|
-
"reflect": false
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
44
|
static get states() {
|
|
63
45
|
return {
|
|
64
|
-
"isReady": {}
|
|
46
|
+
"isReady": {},
|
|
47
|
+
"iframeOrigin": {}
|
|
65
48
|
};
|
|
66
49
|
}
|
|
67
50
|
static get methods() {
|
|
@@ -115,14 +115,14 @@ export class CheckoutCore {
|
|
|
115
115
|
}
|
|
116
116
|
get paymentType() {
|
|
117
117
|
var _a, _b, _c, _d, _e;
|
|
118
|
-
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "300px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("justifi-payment-method-options", { ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": !this.disableBnpl, paymentMethodGroupId: (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_method_group_id, "show-saved-payment-methods": !this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, bnpl: (_b = this.checkout) === null || _b === void 0 ? void 0 : _b.bnpl, authToken: this.authToken, "account-id": (_c = this.checkout) === null || _c === void 0 ? void 0 : _c.account_id, savedPaymentMethods: ((_d = this.checkout) === null || _d === void 0 ? void 0 : _d.payment_methods) || [], paymentAmount: (_e = this.checkout) === null || _e === void 0 ? void 0 : _e.payment_amount, insuranceToggled: this.insuranceToggled
|
|
118
|
+
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "300px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("justifi-payment-method-options", { ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": !this.disableBnpl, paymentMethodGroupId: (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_method_group_id, "show-saved-payment-methods": !this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, bnpl: (_b = this.checkout) === null || _b === void 0 ? void 0 : _b.bnpl, authToken: this.authToken, "account-id": (_c = this.checkout) === null || _c === void 0 ? void 0 : _c.account_id, savedPaymentMethods: ((_d = this.checkout) === null || _d === void 0 ? void 0 : _d.payment_methods) || [], paymentAmount: (_e = this.checkout) === null || _e === void 0 ? void 0 : _e.payment_amount, insuranceToggled: this.insuranceToggled }))));
|
|
119
119
|
}
|
|
120
120
|
get summary() {
|
|
121
121
|
var _a, _b;
|
|
122
122
|
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "24px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("div", { part: text }, (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_description), h("div", null, h("span", { part: text }, "Total"), "\u00A0", h("span", { part: text }, formatCurrency(+((_b = this.checkout) === null || _b === void 0 ? void 0 : _b.total_amount)))))));
|
|
123
123
|
}
|
|
124
124
|
render() {
|
|
125
|
-
return (h(StyledHost, { key: '
|
|
125
|
+
return (h(StyledHost, { key: '2fb8b2c2b543712023c74cf9b41dc57675c89237' }, h("div", { key: 'caba36e076e4162d9c92844f7c0632b5bf678de6', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '6a27d64005d785815d5567894d6e2a6e1e515cf8', class: "col-12", part: checkoutSummary }, h(Header2, { key: '645fe4250331805e86811700b453458f065188bd', text: "Summary", class: "fs-5 fw-bold pb-3" }), this.summary), h("div", { key: 'c49c73eb3462ad17e0344e74be508abe958a9358', class: "col-12" }, h("slot", { key: 'be626bff57c95b92f9853e2e9b63dd9279834142', name: "insurance" })), h("div", { key: '025b0400164935f10d6c79d445bfdcf157290fd6', class: "col-12 mt-4" }, h(Header2, { key: '483b5d53b5cea3ae6fccfbb3aa9d3efe0dc8fcab', text: "Payment", class: "fs-5 fw-bold pb-3" }), h(Header3, { key: '21abbd4d669e351c8ad0a87b7b408a4998948b46', text: "Select payment type", class: "fs-6 fw-bold lh-lg" }), h("div", { key: '9441e97e1bd64b796ebcf1404d4ca04964990982', class: "d-flex flex-column" }, this.paymentType)), h("div", { key: '9db2e4fccff5b868e7d329d9b0be864942adcc3d', class: "col-12" }, h("div", { key: '2eaef4ed6062b27de2516de7b71a056c829f8cab', class: "d-flex justify-content-end" }, h(Button, { key: '505869afa61094d628b58a32749c44f678e4fda3', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
|
|
126
126
|
}
|
|
127
127
|
static get is() { return "justifi-checkout-core"; }
|
|
128
128
|
static get encapsulation() { return "shadow"; }
|
|
@@ -212,25 +212,6 @@ export class CheckoutCore {
|
|
|
212
212
|
"setter": false,
|
|
213
213
|
"reflect": false
|
|
214
214
|
},
|
|
215
|
-
"iframeOrigin": {
|
|
216
|
-
"type": "string",
|
|
217
|
-
"attribute": "iframe-origin",
|
|
218
|
-
"mutable": false,
|
|
219
|
-
"complexType": {
|
|
220
|
-
"original": "string",
|
|
221
|
-
"resolved": "string",
|
|
222
|
-
"references": {}
|
|
223
|
-
},
|
|
224
|
-
"required": false,
|
|
225
|
-
"optional": false,
|
|
226
|
-
"docs": {
|
|
227
|
-
"tags": [],
|
|
228
|
-
"text": ""
|
|
229
|
-
},
|
|
230
|
-
"getter": false,
|
|
231
|
-
"setter": false,
|
|
232
|
-
"reflect": false
|
|
233
|
-
},
|
|
234
215
|
"disableCreditCard": {
|
|
235
216
|
"type": "boolean",
|
|
236
217
|
"attribute": "disable-credit-card",
|
|
@@ -6,7 +6,6 @@ import JustifiAnalytics from "../../api/Analytics";
|
|
|
6
6
|
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
7
7
|
export class Checkout {
|
|
8
8
|
constructor() {
|
|
9
|
-
this.iframeOrigin = IFRAME_ORIGIN;
|
|
10
9
|
this.errorMessage = '';
|
|
11
10
|
}
|
|
12
11
|
componentWillLoad() {
|
|
@@ -15,8 +14,10 @@ export class Checkout {
|
|
|
15
14
|
this.initializeGetCheckout();
|
|
16
15
|
}
|
|
17
16
|
disconnectedCallback() {
|
|
18
|
-
|
|
17
|
+
var _a;
|
|
18
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
19
19
|
}
|
|
20
|
+
;
|
|
20
21
|
initializeGetCheckout() {
|
|
21
22
|
if (this.authToken && this.checkoutId) {
|
|
22
23
|
this.getCheckout = makeGetCheckout({
|
|
@@ -49,11 +50,11 @@ export class Checkout {
|
|
|
49
50
|
return { isValid };
|
|
50
51
|
}
|
|
51
52
|
render() {
|
|
52
|
-
return (h("justifi-checkout-core", { key: '
|
|
53
|
+
return (h("justifi-checkout-core", { key: 'c1c7cf4f1aadce928e3ed6a6ae05a7824d875d68', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, ref: el => {
|
|
53
54
|
if (el) {
|
|
54
55
|
this.checkoutCoreRef = el;
|
|
55
56
|
}
|
|
56
|
-
} }, h("div", { key: '
|
|
57
|
+
} }, h("div", { key: '7a4be7220e5eb199f94c5086c23e10dce68d4854', slot: "insurance" }, h("slot", { key: 'f5db23ef6dc82d0521518ea2dbfe99d8c8b6c2cc', name: "insurance" }))));
|
|
57
58
|
}
|
|
58
59
|
static get is() { return "justifi-checkout"; }
|
|
59
60
|
static get properties() {
|
|
@@ -209,26 +210,6 @@ export class Checkout {
|
|
|
209
210
|
"getter": false,
|
|
210
211
|
"setter": false,
|
|
211
212
|
"reflect": false
|
|
212
|
-
},
|
|
213
|
-
"iframeOrigin": {
|
|
214
|
-
"type": "string",
|
|
215
|
-
"attribute": "iframe-origin",
|
|
216
|
-
"mutable": false,
|
|
217
|
-
"complexType": {
|
|
218
|
-
"original": "string",
|
|
219
|
-
"resolved": "string",
|
|
220
|
-
"references": {}
|
|
221
|
-
},
|
|
222
|
-
"required": false,
|
|
223
|
-
"optional": true,
|
|
224
|
-
"docs": {
|
|
225
|
-
"tags": [],
|
|
226
|
-
"text": ""
|
|
227
|
-
},
|
|
228
|
-
"getter": false,
|
|
229
|
-
"setter": false,
|
|
230
|
-
"reflect": false,
|
|
231
|
-
"defaultValue": "IFRAME_ORIGIN"
|
|
232
213
|
}
|
|
233
214
|
};
|
|
234
215
|
}
|
|
@@ -69,14 +69,14 @@ export class NewPaymentMethod {
|
|
|
69
69
|
showNewPaymentMethodForm() {
|
|
70
70
|
var _a;
|
|
71
71
|
const paymentMethodType = (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id;
|
|
72
|
-
return (h("div", { class: "mt-4 pb-4" }, h("hidden-input", null), paymentMethodType === 'card' ? (h("card-form", { ref: (el) => this.paymentMethodFormRef = el
|
|
72
|
+
return (h("div", { class: "mt-4 pb-4" }, h("hidden-input", null), paymentMethodType === 'card' ? (h("card-form", { ref: (el) => this.paymentMethodFormRef = el })) : (h("bank-account-form", { ref: (el) => this.paymentMethodFormRef = el })), h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el), hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodType }), h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupId })));
|
|
73
73
|
}
|
|
74
74
|
get hiddenRadioInput() {
|
|
75
75
|
return !this.showAch || !this.showCard;
|
|
76
76
|
}
|
|
77
77
|
render() {
|
|
78
78
|
var _a, _b;
|
|
79
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: 'b80791923e2276322ebe0ce3b25b2073beac188d', class: "payment-method" }, h("div", { key: '47dc555bc135d4562958cf371ca3c8b80ee7236d', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick, hidden: this.hiddenRadioInput }, 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));
|
|
80
80
|
}
|
|
81
81
|
static get is() { return "justifi-new-payment-method"; }
|
|
82
82
|
static get properties() {
|
|
@@ -256,25 +256,6 @@ export class NewPaymentMethod {
|
|
|
256
256
|
"getter": false,
|
|
257
257
|
"setter": false,
|
|
258
258
|
"reflect": false
|
|
259
|
-
},
|
|
260
|
-
"iframeOrigin": {
|
|
261
|
-
"type": "string",
|
|
262
|
-
"attribute": "iframe-origin",
|
|
263
|
-
"mutable": false,
|
|
264
|
-
"complexType": {
|
|
265
|
-
"original": "string",
|
|
266
|
-
"resolved": "string",
|
|
267
|
-
"references": {}
|
|
268
|
-
},
|
|
269
|
-
"required": false,
|
|
270
|
-
"optional": false,
|
|
271
|
-
"docs": {
|
|
272
|
-
"tags": [],
|
|
273
|
-
"text": ""
|
|
274
|
-
},
|
|
275
|
-
"getter": false,
|
|
276
|
-
"setter": false,
|
|
277
|
-
"reflect": false
|
|
278
259
|
}
|
|
279
260
|
};
|
|
280
261
|
}
|
|
@@ -51,13 +51,13 @@ export class PaymentMethodOptions {
|
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
53
|
var _a;
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: '506450161ed363330132c2bfa99a6a7729e94778' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
|
|
55
55
|
const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
|
|
56
56
|
const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
|
|
57
57
|
const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
|
|
58
58
|
const sezzle = paymentMethodOption.id === PaymentMethodTypes.sezzle;
|
|
59
59
|
if (newCard || newBankAccount) {
|
|
60
|
-
return (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,
|
|
60
|
+
return (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) => {
|
|
61
61
|
if (isSelected) {
|
|
62
62
|
this.selectedPaymentMethodOptionRef = el;
|
|
63
63
|
}
|
|
@@ -333,25 +333,6 @@ export class PaymentMethodOptions {
|
|
|
333
333
|
"getter": false,
|
|
334
334
|
"setter": false,
|
|
335
335
|
"reflect": false
|
|
336
|
-
},
|
|
337
|
-
"iframeOrigin": {
|
|
338
|
-
"type": "string",
|
|
339
|
-
"attribute": "iframe-origin",
|
|
340
|
-
"mutable": false,
|
|
341
|
-
"complexType": {
|
|
342
|
-
"original": "string",
|
|
343
|
-
"resolved": "string",
|
|
344
|
-
"references": {}
|
|
345
|
-
},
|
|
346
|
-
"required": false,
|
|
347
|
-
"optional": false,
|
|
348
|
-
"docs": {
|
|
349
|
-
"tags": [],
|
|
350
|
-
"text": ""
|
|
351
|
-
},
|
|
352
|
-
"getter": false,
|
|
353
|
-
"setter": false,
|
|
354
|
-
"reflect": false
|
|
355
336
|
}
|
|
356
337
|
};
|
|
357
338
|
}
|
|
@@ -4,8 +4,7 @@ import { TableEmptyState, TableErrorState, TableLoadingState } from "../../ui-co
|
|
|
4
4
|
import { checkoutTableColumns, checkoutTableCells } from "./checkouts-table";
|
|
5
5
|
import { Table } from "../../utils/table";
|
|
6
6
|
import { getRequestParams, onQueryParamsChange } from "./checkouts-list-params-state";
|
|
7
|
-
import {
|
|
8
|
-
import { TableClickActions } from "../../ui-components/table/event-types";
|
|
7
|
+
import { TableWrapper, TableComponent, TableHead, TableHeadRow, TableBody, TableRow, TableFoot, TableFootRow, TableFootCell, TableClickActions } from "../../ui-components";
|
|
9
8
|
export class CheckoutsListCore {
|
|
10
9
|
constructor() {
|
|
11
10
|
this.checkouts = [];
|
|
@@ -119,7 +118,7 @@ export class CheckoutsListCore {
|
|
|
119
118
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
120
119
|
}
|
|
121
120
|
render() {
|
|
122
|
-
return (h(
|
|
121
|
+
return (h(TableWrapper, { key: '79f36b8dd358285868187892962f5e2138942fe8' }, h(TableComponent, { key: 'e48c644e425ac45ab27b92548bc49af35b599245' }, h(TableHead, { key: '6d47b68c0a74f0eff3146dfc4720b0cc0f6fc24d' }, h(TableHeadRow, { key: 'a3660ae82b53ba7dead2e577fd8d573426935dc6' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '08fbd465bae0afa3de8d472c84e0410150509673' }, h(TableLoadingState, { key: 'ba7d778f9fc029166d6228fe9b1a8f1598a68c5a', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '312b176371526658852b74ae228524695f5c1947', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'a24680fb1d681397a3cb266ec34ab5c9310dfa64', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '503ffd707d958a353a18a6f06d1280a0cb01c741' }, h(TableFootRow, { key: '250fcfc3961881ab460221e5e0160d5b6d35e5c3' }, h(TableFootCell, { key: '2631d54b49bbee1502e5412cd9303d7d67746525', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: 'd7bb27501b62a1089090b06c82b2a2c328a2e0b6', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
123
122
|
}
|
|
124
123
|
static get is() { return "checkouts-list-core"; }
|
|
125
124
|
static get properties() {
|