@justifi/webcomponents 5.6.0 → 5.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ApiNew-C8nf_gS9.js +86 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
- package/dist/cjs/{badge-DwSZ83Bm.js → badge-BxoJOyTJ.js} +2 -2
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +5 -4
- package/dist/cjs/bank-account-form_9.cjs.entry.js +31 -21
- package/dist/cjs/{business-additional-questions-schema-mzZ2gYHQ.js → business-additional-questions-schema-gVepoR4V.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +6 -5
- package/dist/cjs/{business.service-Crmkeulk.js → business.service-yVtplFhh.js} +15 -24
- package/dist/cjs/{button-Cp4u5YgP.js → button-BPFSRx4d.js} +2 -2
- package/dist/cjs/{check-pkg-version-C4d9pl8G.js → check-pkg-version-BYKcQDik.js} +4 -3
- package/dist/cjs/checkout.service-Dd2AbBn2.js +28 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +11 -10
- package/dist/cjs/{payouts-list-params-state-DX4jg37H.js → checkouts-list-params-state-BvG5Ysrg.js} +1 -1
- package/dist/cjs/{checkouts-table-nsXjlcI1.js → checkouts-table-_T5eblyc.js} +3 -3
- package/dist/cjs/config-state-D7p-XunE.js +42 -0
- package/dist/cjs/custom-popper_4.cjs.entry.js +4 -3
- package/dist/cjs/dispute.service-C0J-Wh-Y.js +28 -0
- package/dist/cjs/event-types-YOY5TKUN.js +8 -0
- package/dist/cjs/form-alert_5.cjs.entry.js +2 -2
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -4
- package/dist/cjs/form-control-date.cjs.entry.js +4 -3
- package/dist/cjs/{form-control-error-text-NbHDc1JL.js → form-control-error-text-D9XDyFoW.js} +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/{form-control-help-text-bc3qGHAG.js → form-control-help-text-J_boqSMc.js} +2 -2
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +5 -4
- package/dist/cjs/form-control-monetary.cjs.entry.js +5 -4
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -3
- package/dist/cjs/form-control-number.cjs.entry.js +5 -4
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/{get-business-BBzGEPBG.js → get-business-DHg5rpse.js} +2 -2
- package/dist/cjs/{get-payment-details-DQyJtwTw.js → get-payment-details-DqvDYbnK.js} +2 -2
- package/dist/cjs/{get-payout-csv-Jr_0DmmY.js → get-payout-csv-CXEQkjDm.js} +2 -2
- package/dist/cjs/{get-subaccounts-zwxhG-O3.js → get-subaccounts-CquZS5kP.js} +8 -8
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
- package/dist/cjs/{header-1-kwWMtg3s.js → header-1-auSUfIpO.js} +2 -2
- package/dist/cjs/{header-3-CNWIH9ZU.js → header-3-B-bXHCpC.js} +2 -2
- package/dist/cjs/{iframe-input-styles-state-jHHRvqzM.js → iframe-input-styles-state-D9vhHzZQ.js} +1 -1
- package/dist/cjs/iframe-input.cjs.entry.js +6 -6
- package/dist/cjs/{index-DzQdh5ij.js → index-B8ljHEN1.js} +1 -1
- package/dist/cjs/{index-BRQfozbS.js → index-BYd8IvAa.js} +1 -1
- package/dist/cjs/{insurance-state-DbXkNYds.js → insurance-state-CFxbKNWH.js} +3 -3
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +7 -6
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +8 -4
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-details.cjs.entry.js +10 -8
- package/dist/cjs/justifi-business-form.cjs.entry.js +72 -49
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +11 -10
- package/dist/cjs/justifi-checkout.cjs.entry.js +9 -14
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -5
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +18 -18
- package/dist/cjs/justifi-config-provider.cjs.entry.js +26 -0
- package/dist/cjs/justifi-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +11 -16
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +12 -15
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -5
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +19 -20
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -5
- package/dist/cjs/justifi-payment-details.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +5 -4
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +17 -16
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +6 -5
- package/dist/cjs/justifi-payments-list.cjs.entry.js +17 -16
- package/dist/cjs/justifi-payout-details.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +18 -16
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +6 -5
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +20 -26
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +21 -20
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +7 -6
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +6 -3
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +6 -5
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +19 -22
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +6 -5
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +18 -18
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +11 -9
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-S6wVKDKx.js → package-CX6Njc5t.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +5 -5
- package/dist/cjs/{parts-D_uKOPFe.js → parts-9jMf1erK.js} +29 -4
- package/dist/cjs/payment-details-core.cjs.entry.js +12 -8
- package/dist/cjs/payment.service-BvTU2Orj.js +21 -0
- package/dist/cjs/payments-list-core.cjs.entry.js +12 -11
- package/dist/cjs/{terminal-orders-list-params-state-DX4jg37H.js → payments-list-params-state-BvG5Ysrg.js} +1 -1
- package/dist/cjs/{payments-status-CQq7KrHL.js → payments-status-BTykBx8i.js} +2 -2
- package/dist/cjs/{payments-table-ClOxMnZ8.js → payments-table-BkRhDePE.js} +3 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +13 -9
- package/dist/cjs/payout.service-C99pgxvg.js +26 -0
- package/dist/cjs/payouts-list-core.cjs.entry.js +12 -11
- package/dist/cjs/{checkouts-list-params-state-DX4jg37H.js → payouts-list-params-state-BvG5Ysrg.js} +1 -1
- package/dist/cjs/{payouts-status-BdfV3jvX.js → payouts-status-YCqmbd4K.js} +2 -2
- package/dist/cjs/{payouts-table-Bo3pLf4Z.js → payouts-table-DJMz3bVh.js} +3 -3
- package/dist/cjs/{skeleton-BXVndBVC.js → skeleton-aMh0RMHq.js} +2 -2
- package/dist/cjs/{spinner-CSH2OUiV.js → spinner-BTyIjlMM.js} +2 -2
- package/dist/cjs/{styled-host-CzJ8Ux1t.js → styled-host-udkBJV5h.js} +1 -1
- package/dist/cjs/{event-types-CjInBN20.js → table-DKVauFHc.js} +40 -10
- package/dist/cjs/table-filters-menu.cjs.entry.js +4 -4
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +11 -10
- package/dist/cjs/{payments-list-params-state-DX4jg37H.js → terminal-orders-list-params-state-BvG5Ysrg.js} +1 -1
- package/dist/cjs/{terminal-orders-table-CXmVc7uU.js → terminal-orders-table-BeeUTKtj.js} +3 -3
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/terminal.service-DEGcoaCb.js +29 -0
- package/dist/cjs/terminals-list-core.cjs.entry.js +11 -10
- package/dist/cjs/terminals-list-params-state-BvG5Ysrg.js +22 -0
- package/dist/cjs/{terminals-table-vYbTPOpy.js → terminals-table-D2XUsf_J.js} +3 -3
- package/dist/cjs/{utils-DxbncJhj.js → utils-5lco6NzU.js} +2 -2
- package/dist/cjs/webcomponents.cjs.js +3 -3
- package/dist/collection/actions/business/get-business.js +2 -2
- package/dist/collection/actions/checkout/get-checkouts.js +2 -2
- package/dist/collection/actions/dispute/dispute-actions.js +2 -2
- package/dist/collection/actions/payment/get-payment-details.js +2 -2
- package/dist/collection/actions/payment/get-payment-transactions.js +2 -2
- package/dist/collection/actions/payment/get-payments.js +2 -2
- package/dist/collection/actions/payout/get-payout-transactions.js +2 -2
- package/dist/collection/actions/payout/get-payouts.js +2 -2
- package/dist/collection/actions/refund/refund-actions.js +2 -2
- package/dist/collection/actions/sub-account/get-subaccounts.js +2 -2
- package/dist/collection/actions/terminal/get-terminal-models.js +2 -2
- package/dist/collection/actions/terminal/get-terminal-orders.js +2 -2
- package/dist/collection/actions/terminal/get-terminals.js +2 -2
- package/dist/collection/api/ApiNew.js +82 -0
- package/dist/collection/api/services/analytics.service.js +3 -2
- package/dist/collection/api/services/business.service.js +15 -24
- package/dist/collection/api/services/checkout.service.js +9 -15
- package/dist/collection/api/services/dispute.service.js +9 -14
- package/dist/collection/api/services/payment.service.js +8 -8
- package/dist/collection/api/services/payout.service.js +11 -13
- package/dist/collection/api/services/provision.service.js +4 -6
- package/dist/collection/api/services/refund.service.js +5 -4
- package/dist/collection/api/services/subaccounts.service.js +5 -5
- package/dist/collection/api/services/terminal.service.js +14 -15
- package/dist/collection/api/services/terminal_orders.service.js +5 -9
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/business-forms/business-form/business-form.js +77 -38
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +1 -1
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +1 -1
- 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 +2 -23
- 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 +3 -26
- package/dist/collection/components/config-provider/config-provider.js +83 -0
- package/dist/collection/components/config-provider/config-state.js +36 -0
- package/dist/collection/components/dispute-management/dispute-management.js +2 -24
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-actions.js +2 -2
- package/dist/collection/{ui-components → components}/filters/table-filters-menu.js +3 -3
- package/dist/collection/components/order-terminals/order-terminals.js +4 -28
- package/dist/collection/components/payment-details/payment-details-core.js +4 -1
- package/dist/collection/components/payment-details/payment-details.js +1 -23
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +3 -26
- package/dist/collection/components/payments-list/payments-list-core.js +2 -3
- package/dist/collection/components/payments-list/payments-list.js +2 -24
- package/dist/collection/components/payout-details/get-payout-csv.js +2 -2
- package/dist/collection/components/payout-details/payout-details-core.js +4 -1
- package/dist/collection/components/payout-details/payout-details.js +1 -23
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +5 -26
- package/dist/collection/components/payouts-list/payouts-list-core.js +2 -3
- package/dist/collection/components/payouts-list/payouts-list.js +4 -27
- package/dist/collection/components/refund-payment/refund-payment.js +2 -25
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +2 -3
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +2 -24
- package/dist/collection/components/terminals-list/terminals-list-core.js +2 -3
- package/dist/collection/components/terminals-list/terminals-list.js +3 -26
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -22
- package/dist/collection/styles/parts.js +17 -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 +119 -473
- package/dist/esm/ApiNew-KYhsw8Nv.js +84 -0
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-D5PvLnZT.js → badge-Du9GTXoB.js} +2 -2
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +5 -4
- package/dist/esm/bank-account-form_9.entry.js +31 -21
- package/dist/esm/{business-additional-questions-schema-W6okG5Xu.js → business-additional-questions-schema-DWnZs60Z.js} +1 -1
- package/dist/esm/business-details-core.entry.js +6 -5
- package/dist/esm/business.service-_645Z23O.js +46 -0
- package/dist/esm/{button-wgHJf7hN.js → button-CjH5C0pG.js} +2 -2
- package/dist/esm/{check-pkg-version-iIBw3nCc.js → check-pkg-version-Dh7UNmHL.js} +4 -3
- package/dist/esm/checkout.service-7FGjq0rO.js +26 -0
- package/dist/esm/checkouts-list-core.entry.js +10 -9
- package/dist/esm/{checkouts-list-params-state-qgJxi6iW.js → checkouts-list-params-state-Bn7pL-8x.js} +1 -1
- package/dist/esm/{checkouts-table-DQfjKgR-.js → checkouts-table-DKd0QLys.js} +3 -3
- package/dist/esm/config-state-CkKrqnpZ.js +38 -0
- package/dist/esm/custom-popper_4.entry.js +4 -3
- package/dist/esm/dispute.service-lJlAFuE6.js +26 -0
- package/dist/esm/event-types-CZfYo5-1.js +8 -0
- package/dist/esm/form-alert_5.entry.js +2 -2
- package/dist/esm/form-control-checkbox.entry.js +5 -4
- package/dist/esm/form-control-date.entry.js +4 -3
- package/dist/esm/{form-control-error-text-nyeinPVQ.js → form-control-error-text-tGFxd6kW.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +3 -3
- package/dist/esm/{form-control-help-text-QhxeQeTV.js → form-control-help-text-2DawN8-N.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +5 -4
- package/dist/esm/form-control-monetary.entry.js +5 -4
- package/dist/esm/form-control-number-masked_2.entry.js +4 -3
- package/dist/esm/form-control-number.entry.js +5 -4
- package/dist/esm/form-control-radio.entry.js +2 -2
- package/dist/esm/{get-business-B3c5gg1D.js → get-business-CIKToQur.js} +2 -2
- package/dist/esm/{get-payment-details-Bzh5t6A8.js → get-payment-details-CXiGG9cO.js} +2 -2
- package/dist/esm/{get-payout-csv-bM3pZLKB.js → get-payout-csv-D7IYYqVL.js} +2 -2
- package/dist/esm/{get-subaccounts-BB3Sqb3H.js → get-subaccounts-DIJtLFsb.js} +8 -8
- package/dist/esm/gross-payment-chart-core.entry.js +4 -4
- package/dist/esm/{header-1-DNg4xuR6.js → header-1-D2gZb3iT.js} +2 -2
- package/dist/esm/{header-3-BD_mh7vB.js → header-3-DAg8Vh4B.js} +2 -2
- package/dist/esm/{iframe-input-styles-state-DeH54Fkx.js → iframe-input-styles-state-ibYqbF--.js} +1 -1
- package/dist/esm/iframe-input.entry.js +6 -6
- package/dist/esm/{index-4sfb1rKO.js → index-Cc3u0uDC.js} +1 -1
- package/dist/esm/{index-D4-FKsCU.js → index-D6FDxSyt.js} +1 -1
- package/dist/esm/{insurance-state-CXUWRQQk.js → insurance-state-CsZbKSgm.js} +3 -3
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +7 -6
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +9 -5
- package/dist/esm/justifi-additional-statement_8.entry.js +2 -2
- package/dist/esm/justifi-business-details.entry.js +10 -8
- package/dist/esm/justifi-business-form.entry.js +72 -49
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/justifi-checkout-core.entry.js +11 -10
- package/dist/esm/justifi-checkout.entry.js +9 -14
- package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -5
- package/dist/esm/justifi-checkouts-list.entry.js +18 -18
- package/dist/esm/justifi-config-provider.entry.js +24 -0
- package/dist/esm/justifi-details.entry.js +3 -3
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +11 -16
- package/dist/esm/justifi-dispute-notification_3.entry.js +12 -15
- package/dist/esm/justifi-gross-payment-chart.entry.js +8 -5
- package/dist/esm/justifi-order-terminals.entry.js +19 -20
- package/dist/esm/justifi-owner-form_3.entry.js +9 -6
- package/dist/esm/justifi-payment-details.entry.js +11 -11
- package/dist/esm/justifi-payment-provisioning-core.entry.js +5 -4
- package/dist/esm/justifi-payment-provisioning.entry.js +11 -11
- package/dist/esm/justifi-payment-transactions-list.entry.js +16 -15
- package/dist/esm/justifi-payments-list-filters.entry.js +6 -5
- package/dist/esm/justifi-payments-list.entry.js +17 -16
- package/dist/esm/justifi-payout-details.entry.js +11 -11
- package/dist/esm/justifi-payout-transactions-list.entry.js +17 -15
- package/dist/esm/justifi-payouts-list-filters.entry.js +6 -5
- package/dist/esm/justifi-payouts-list.entry.js +20 -26
- package/dist/esm/justifi-refund-payment.entry.js +21 -20
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +7 -6
- package/dist/esm/justifi-season-interruption-insurance.entry.js +6 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +6 -5
- package/dist/esm/justifi-terminal-orders-list.entry.js +19 -22
- package/dist/esm/justifi-terminals-list-filters.entry.js +6 -5
- package/dist/esm/justifi-terminals-list.entry.js +18 -18
- package/dist/esm/justifi-tokenize-payment-method.entry.js +11 -9
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-DGWLSvML.js → package-DLLK41AX.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +5 -5
- package/dist/esm/{parts-6ctk_bhj.js → parts-BrLVc_85.js} +18 -4
- package/dist/esm/payment-details-core.entry.js +12 -8
- package/dist/esm/{payment-provisioning-actions-CZYFFdTf.js → payment-provisioning-actions-BIfyW239.js} +1 -1
- package/dist/esm/payment.service-DdCJ1Dc7.js +19 -0
- package/dist/esm/payments-list-core.entry.js +11 -10
- package/dist/esm/{payments-list-params-state-qgJxi6iW.js → payments-list-params-state-Bn7pL-8x.js} +1 -1
- package/dist/esm/{payments-status-nKLMqTrO.js → payments-status-CIUXcA0w.js} +2 -2
- package/dist/esm/{payments-table-BrvZHeak.js → payments-table-BBf5fV74.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +13 -9
- package/dist/esm/payout.service-G1Isezyi.js +24 -0
- package/dist/esm/payouts-list-core.entry.js +11 -10
- package/dist/esm/{payouts-list-params-state-qgJxi6iW.js → payouts-list-params-state-Bn7pL-8x.js} +1 -1
- package/dist/esm/{payouts-status-tVJFGPCs.js → payouts-status-Clo03qUI.js} +2 -2
- package/dist/esm/{payouts-table-CgfTp9tE.js → payouts-table-DhZEXhGH.js} +3 -3
- package/dist/esm/{skeleton-D8dsThNX.js → skeleton-Dlpibtr0.js} +2 -2
- package/dist/esm/{spinner-BVJ-upD0.js → spinner-onCBxbdo.js} +2 -2
- package/dist/esm/{styled-host-D594Ui4d.js → styled-host-C7vaWLiB.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +4 -4
- package/dist/esm/table-p4dOlFPi.js +83 -0
- package/dist/esm/terminal-orders-list-core.entry.js +10 -9
- package/dist/esm/{terminal-orders-list-params-state-qgJxi6iW.js → terminal-orders-list-params-state-Bn7pL-8x.js} +1 -1
- package/dist/esm/{terminal-orders-table-CgioW1d8.js → terminal-orders-table-BlT9YrFD.js} +3 -3
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/terminal.service-aFe-O3PC.js +27 -0
- package/dist/esm/terminals-list-core.entry.js +10 -9
- package/dist/esm/terminals-list-params-state-Bn7pL-8x.js +16 -0
- package/dist/esm/{terminals-table-D7LKwR85.js → terminals-table-CkWr-6tD.js} +3 -3
- package/dist/esm/{utils-1z8cNzLu.js → utils-BpP_VJGf.js} +2 -2
- package/dist/esm/webcomponents.js +4 -4
- package/dist/module/ApiNew.js +84 -0
- package/dist/module/Dispute.js +57 -0
- package/dist/module/Payment.js +2 -57
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/badge.js +1 -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-bank-account-form-step-core.js +1 -1
- package/dist/module/business-core-info-form-step-core.js +2 -2
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-details-core2.js +1 -0
- package/dist/module/business-documents-on-file2.js +1 -0
- package/dist/module/business-owners-form-step-core.js +2 -1
- package/dist/module/business-representative-form-step-core.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +1 -1
- package/dist/module/business.service.js +15 -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 +3 -2
- package/dist/module/checkout-core.js +4 -4
- package/dist/module/checkout.service.js +9 -21
- package/dist/module/checkouts-list-core2.js +4 -3
- package/dist/module/config-state.js +38 -0
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dispute-management-core.js +2 -2
- package/dist/module/dispute-notification.js +3 -2
- package/dist/module/dispute-response-actions.js +9 -19
- package/dist/module/dispute-response-core.js +2 -2
- package/dist/module/dispute-response.js +1 -0
- 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-alert2.js +1 -1
- package/dist/module/form-control-checkbox2.js +2 -1
- package/dist/module/form-control-date2.js +1 -0
- package/dist/module/form-control-file2.js +1 -0
- package/dist/module/form-control-monetary-provisioning2.js +2 -1
- package/dist/module/form-control-monetary2.js +2 -1
- package/dist/module/form-control-number-masked2.js +1 -0
- package/dist/module/form-control-number.js +2 -1
- package/dist/module/form-control-radio2.js +1 -1
- package/dist/module/form-control-select2.js +1 -0
- package/dist/module/form-control-text2.js +1 -0
- package/dist/module/form-control-textarea2.js +1 -1
- package/dist/module/get-business.js +2 -2
- package/dist/module/get-payment-details.js +3 -3
- package/dist/module/get-payout-csv.js +2 -2
- package/dist/module/get-subaccounts.js +8 -8
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +1 -1
- package/dist/module/justifi-business-form.js +60 -40
- package/dist/module/justifi-checkout.js +2 -4
- package/dist/module/justifi-checkouts-list-filters.js +2 -1
- package/dist/module/justifi-checkouts-list.js +6 -9
- package/dist/module/justifi-config-provider.d.ts +11 -0
- package/dist/module/justifi-config-provider.js +45 -0
- package/dist/module/justifi-dispute-management.js +5 -8
- package/dist/module/justifi-order-terminals.js +8 -12
- package/dist/module/justifi-payment-details.js +1 -4
- package/dist/module/justifi-payment-provisioning.js +4 -6
- package/dist/module/justifi-payment-transactions-list.js +7 -9
- package/dist/module/justifi-payments-list-filters.js +2 -1
- package/dist/module/justifi-payments-list.js +6 -8
- package/dist/module/justifi-payout-details.js +1 -4
- package/dist/module/justifi-payout-transactions-list.js +9 -9
- package/dist/module/justifi-payouts-list-filters.js +2 -1
- package/dist/module/justifi-payouts-list.js +6 -15
- package/dist/module/justifi-refund-payment.js +10 -12
- package/dist/module/justifi-terminal-orders-list-filters.js +2 -1
- package/dist/module/justifi-terminal-orders-list.js +10 -16
- package/dist/module/justifi-terminals-list-filters.js +2 -1
- package/dist/module/justifi-terminals-list.js +6 -9
- package/dist/module/justifi-tokenize-payment-method.js +2 -3
- package/dist/module/legal-address-form-step-core.js +1 -1
- package/dist/module/new-payment-method.js +3 -4
- package/dist/module/owner-form-core2.js +3 -2
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +4 -4
- package/dist/module/parts.js +18 -4
- package/dist/module/payment-details-core2.js +5 -1
- package/dist/module/payment-method-options.js +2 -3
- package/dist/module/payment-provisioning-core.js +2 -1
- 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 +8 -14
- package/dist/module/payments-list-core2.js +4 -3
- package/dist/module/payout-details-core2.js +5 -1
- package/dist/module/payout.service.js +11 -19
- package/dist/module/payouts-list-core2.js +4 -3
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/saved-payment-method.js +1 -1
- package/dist/module/season-interruption-insurance-core.js +1 -0
- package/dist/module/sezzle-payment-method.js +1 -1
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/spinner.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 +4 -3
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminal.service.js +14 -21
- package/dist/module/terminals-list-core2.js +4 -3
- package/dist/types/actions/business/get-business.d.ts +1 -2
- 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/actions/payment/get-payment-details.d.ts +1 -2
- package/dist/types/actions/payment/get-payment-transactions.d.ts +1 -2
- package/dist/types/actions/payment/get-payments.d.ts +1 -2
- package/dist/types/actions/payout/get-payout-transactions.d.ts +2 -2
- package/dist/types/actions/payout/get-payouts.d.ts +1 -2
- package/dist/types/actions/refund/refund-actions.d.ts +1 -2
- package/dist/types/actions/sub-account/get-subaccounts.d.ts +1 -2
- package/dist/types/actions/terminal/get-terminal-models.d.ts +1 -2
- package/dist/types/actions/terminal/get-terminal-orders.d.ts +1 -2
- package/dist/types/actions/terminal/get-terminals.d.ts +1 -2
- package/dist/types/api/ApiNew.d.ts +61 -0
- package/dist/types/api/services/business.service.d.ts +1 -1
- package/dist/types/api/services/checkout.service.d.ts +2 -2
- package/dist/types/api/services/payment.service.d.ts +7 -7
- package/dist/types/api/services/payout.service.d.ts +10 -9
- package/dist/types/api/services/refund.service.d.ts +2 -2
- package/dist/types/api/services/subaccounts.service.d.ts +4 -3
- package/dist/types/api/services/terminal.service.d.ts +8 -8
- package/dist/types/api/services/terminal_orders.service.d.ts +2 -2
- package/dist/types/components/business-forms/business-form/business-form.d.ts +8 -6
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +2 -2
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +1 -1
- 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 +7 -0
- package/dist/types/components/config-provider/config-state.d.ts +13 -0
- 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 +0 -1
- package/dist/types/components/payment-details/payment-details.d.ts +0 -1
- package/dist/types/components/payment-transactions-list/payment-transactions-list.d.ts +0 -1
- package/dist/types/components/payments-list/payments-list.d.ts +0 -1
- package/dist/types/components/payout-details/get-payout-csv.d.ts +1 -2
- package/dist/types/components/payout-details/payout-details.d.ts +0 -1
- package/dist/types/components/payout-transactions-list/payout-transactions-list.d.ts +0 -1
- package/dist/types/components/payouts-list/payouts-list.d.ts +0 -1
- package/dist/types/components/refund-payment/refund-payment.d.ts +0 -1
- package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +0 -1
- package/dist/types/components/terminals-list/terminals-list.d.ts +0 -1
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +0 -1
- package/dist/types/components.d.ts +21 -38
- package/dist/types/styles/parts.d.ts +17 -4
- 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-05138b5d.entry.js +1 -0
- package/dist/webcomponents/p-0661622e.entry.js +1 -0
- package/dist/webcomponents/p-0a4abfba.entry.js +1 -0
- package/dist/webcomponents/p-0d73af88.entry.js +1 -0
- package/dist/webcomponents/p-107fdd99.entry.js +1 -0
- package/dist/webcomponents/{p-3b1f69fd.entry.js → p-12674a89.entry.js} +1 -1
- package/dist/webcomponents/p-12ea3a21.entry.js +1 -0
- package/dist/webcomponents/p-13a56c04.entry.js +1 -0
- package/dist/webcomponents/p-22e9ff07.entry.js +1 -0
- package/dist/webcomponents/p-2ce8e7ac.entry.js +1 -0
- package/dist/webcomponents/p-32345016.entry.js +1 -0
- package/dist/webcomponents/p-357e1077.entry.js +1 -0
- package/dist/webcomponents/p-3a691b9a.entry.js +1 -0
- package/dist/webcomponents/p-3adEM48l.js +1 -0
- package/dist/webcomponents/p-3bb94f41.entry.js +1 -0
- package/dist/webcomponents/p-3e94cf62.entry.js +1 -0
- package/dist/webcomponents/p-460eae73.entry.js +1 -0
- package/dist/webcomponents/p-48d84a6f.entry.js +1 -0
- package/dist/webcomponents/p-4a3ee65c.entry.js +1 -0
- package/dist/webcomponents/p-58f415f4.entry.js +1 -0
- package/dist/webcomponents/p-5e467788.entry.js +1 -0
- package/dist/webcomponents/p-5ff7f253.entry.js +1 -0
- package/dist/webcomponents/p-6334c2bc.entry.js +1 -0
- package/dist/webcomponents/p-639baa7d.entry.js +1 -0
- package/dist/webcomponents/p-6429afb4.entry.js +1 -0
- package/dist/webcomponents/p-6780e07e.entry.js +1 -0
- package/dist/webcomponents/p-6a3a8a7a.entry.js +1 -0
- package/dist/webcomponents/p-6n7viK-J.js +1 -0
- package/dist/webcomponents/p-76d1a604.entry.js +1 -0
- package/dist/webcomponents/{p-529bf046.entry.js → p-7733b67b.entry.js} +1 -1
- package/dist/webcomponents/{p-54aa7e86.entry.js → p-774eee26.entry.js} +1 -1
- package/dist/webcomponents/p-7c62b59d.entry.js +1 -0
- package/dist/webcomponents/p-8224e3c2.entry.js +1 -0
- package/dist/webcomponents/p-82515f70.entry.js +1 -0
- package/dist/webcomponents/{p-DgQyL5KO.js → p-82kiZkHt.js} +1 -1
- package/dist/webcomponents/p-833576ca.entry.js +1 -0
- package/dist/webcomponents/p-83d4ac72.entry.js +1 -0
- package/dist/webcomponents/{p-40614f67.entry.js → p-90c24cda.entry.js} +1 -1
- package/dist/webcomponents/p-9c1a79c5.entry.js +1 -0
- package/dist/webcomponents/p-9dae8152.entry.js +1 -0
- package/dist/webcomponents/p-B0cQ2RjH.js +1 -0
- package/dist/webcomponents/p-B190pN0v.js +1 -0
- package/dist/webcomponents/p-B1ubyLhU.js +1 -0
- package/dist/webcomponents/{p-bplwtwD3.js → p-BTS3E50C.js} +1 -1
- package/dist/webcomponents/p-BrLVc_85.js +1 -0
- package/dist/webcomponents/{p-BwgcVN7d.js → p-ByRPlUBS.js} +1 -1
- package/dist/webcomponents/p-C0IqfGFc.js +1 -0
- package/dist/webcomponents/{p-DBfKxfCX.js → p-C0WFYqwq.js} +1 -1
- package/dist/webcomponents/p-C0piBrye.js +1 -0
- package/dist/webcomponents/p-CQdeVKF8.js +1 -0
- package/dist/webcomponents/p-CZfYo5-1.js +1 -0
- package/dist/webcomponents/{p-CCN8wTYX.js → p-Cd06j2SL.js} +1 -1
- package/dist/webcomponents/p-CegkOiUz.js +1 -0
- package/dist/webcomponents/{p-CG9te8PM.js → p-CgxzrbM_.js} +1 -1
- package/dist/webcomponents/p-CkrVt-dj.js +1 -0
- package/dist/webcomponents/{p-CZLIteZz.js → p-D0ptm6-3.js} +1 -1
- package/dist/webcomponents/p-D4Mv5jCp.js +1 -0
- package/dist/webcomponents/p-D5Sh88BE.js +1 -0
- package/dist/webcomponents/{p-C3uv9u0l.js → p-D5XSsLKb.js} +1 -1
- package/dist/webcomponents/{p-CgS6VBEy.js → p-DDEz7_ad.js} +1 -1
- package/dist/webcomponents/p-DJzjeg3x.js +1 -0
- package/dist/webcomponents/p-DLLK41AX.js +1 -0
- package/dist/webcomponents/p-Da_GeglS.js +1 -0
- package/dist/webcomponents/p-DgfzEZny.js +1 -0
- package/dist/webcomponents/p-Dgxn_B6C.js +1 -0
- package/dist/webcomponents/p-DjGTAHJM.js +1 -0
- package/dist/webcomponents/p-DmIOVniD.js +1 -0
- package/dist/webcomponents/p-DniQ6yo6.js +1 -0
- package/dist/webcomponents/p-DqOTECuf.js +1 -0
- package/dist/webcomponents/{p-lvlr3zXn.js → p-DuYlA4lj.js} +1 -1
- package/dist/webcomponents/{p-BLdGqrQH.js → p-DvHZ2jYI.js} +1 -1
- package/dist/webcomponents/p-Dz-Ft5b1.js +1 -0
- package/dist/webcomponents/p-OSmuQKbK.js +1 -0
- package/dist/webcomponents/p-U30-0DaA.js +1 -0
- package/dist/webcomponents/p-a5af8397.entry.js +1 -0
- package/dist/webcomponents/p-a61f9b3c.entry.js +1 -0
- package/dist/webcomponents/p-a6fb7730.entry.js +1 -0
- package/dist/webcomponents/{p-DmBEzYCU.js → p-aTcDcUMZ.js} +1 -1
- package/dist/webcomponents/p-aa954ce9.entry.js +1 -0
- package/dist/webcomponents/p-ac4ac963.entry.js +1 -0
- package/dist/webcomponents/p-ae7c6b81.entry.js +1 -0
- package/dist/webcomponents/p-ae8c3dab.entry.js +1 -0
- package/dist/webcomponents/{p-0b1bbf91.entry.js → p-afa54e39.entry.js} +1 -1
- package/dist/webcomponents/p-b061c21c.entry.js +1 -0
- package/dist/webcomponents/{p-487514c2.entry.js → p-b2192f8b.entry.js} +1 -1
- package/dist/webcomponents/p-b40108c0.entry.js +1 -0
- package/dist/webcomponents/p-b4d857b2.entry.js +1 -0
- package/dist/webcomponents/p-bb45705e.entry.js +1 -0
- package/dist/webcomponents/p-bb50155f.entry.js +1 -0
- package/dist/webcomponents/p-bf3e8295.entry.js +1 -0
- package/dist/webcomponents/p-c2f3d7da.entry.js +1 -0
- package/dist/webcomponents/{p-d7ea4db7.entry.js → p-c7227fc1.entry.js} +1 -1
- package/dist/webcomponents/p-c8f70818.entry.js +1 -0
- package/dist/webcomponents/p-c9288f47.entry.js +1 -0
- package/dist/webcomponents/p-cNABKY0P.js +1 -0
- package/dist/webcomponents/{p-D6mhG0dV.js → p-d-_oUZor.js} +1 -1
- package/dist/webcomponents/p-d1a440e3.entry.js +1 -0
- package/dist/webcomponents/{p-4c4cc0ad.entry.js → p-d2dc6f22.entry.js} +3 -3
- package/dist/webcomponents/p-dd89c516.entry.js +1 -0
- package/dist/webcomponents/p-e39b5ffd.entry.js +1 -0
- package/dist/webcomponents/p-e5d35016.entry.js +1 -0
- package/dist/webcomponents/p-ebd7753d.entry.js +1 -0
- package/dist/webcomponents/p-ec47b7c8.entry.js +1 -0
- package/dist/webcomponents/{p-D5q9gEvl.js → p-l3o3Ndc0.js} +1 -1
- package/dist/webcomponents/p-n2YROtpe.js +1 -0
- package/dist/webcomponents/p-um3YdOwW.js +1 -0
- package/dist/webcomponents/p-wqUvt1PB.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/checkout.service-DP9FnXBx.js +0 -40
- package/dist/cjs/dispute.service-F-M8EJxq.js +0 -39
- package/dist/cjs/payment.service-BstXaxH5.js +0 -27
- package/dist/cjs/payout.service-DWOtnFdn.js +0 -34
- package/dist/cjs/terminal.service-ghxwDinY.js +0 -36
- package/dist/cjs/terminals-list-params-state-DX4jg37H.js +0 -22
- package/dist/collection/ui-components/table/exported-parts.js +0 -5
- package/dist/esm/business.service-B136meVo.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-Dv-I6YqZ.js +0 -62
- package/dist/esm/payment.service-CeGn-K_X.js +0 -25
- package/dist/esm/payout.service-dukCI9Kl.js +0 -32
- package/dist/esm/terminal.service-L0EoPXUE.js +0 -34
- package/dist/esm/terminals-list-params-state-qgJxi6iW.js +0 -16
- package/dist/types/ui-components/table/exported-parts.d.ts +0 -1
- package/dist/webcomponents/p-009c6766.entry.js +0 -1
- package/dist/webcomponents/p-048ed3f0.entry.js +0 -1
- package/dist/webcomponents/p-0764cfde.entry.js +0 -1
- package/dist/webcomponents/p-08dcbb41.entry.js +0 -1
- package/dist/webcomponents/p-0b0e44c4.entry.js +0 -1
- package/dist/webcomponents/p-0c9c8d6f.entry.js +0 -1
- package/dist/webcomponents/p-103692ef.entry.js +0 -1
- package/dist/webcomponents/p-103deee0.entry.js +0 -1
- package/dist/webcomponents/p-10ad134d.entry.js +0 -1
- package/dist/webcomponents/p-175a913f.entry.js +0 -1
- package/dist/webcomponents/p-1c2bedfe.entry.js +0 -1
- package/dist/webcomponents/p-36656ed1.entry.js +0 -1
- package/dist/webcomponents/p-3678f5fb.entry.js +0 -1
- package/dist/webcomponents/p-405f135e.entry.js +0 -1
- package/dist/webcomponents/p-41a0b83c.entry.js +0 -1
- package/dist/webcomponents/p-4361ae88.entry.js +0 -1
- package/dist/webcomponents/p-4994c980.entry.js +0 -1
- package/dist/webcomponents/p-4d5b8876.entry.js +0 -1
- package/dist/webcomponents/p-5321c7d5.entry.js +0 -1
- package/dist/webcomponents/p-5aeOUdhX.js +0 -1
- package/dist/webcomponents/p-601669bb.entry.js +0 -1
- package/dist/webcomponents/p-63c835b9.entry.js +0 -1
- package/dist/webcomponents/p-656ec7b6.entry.js +0 -1
- package/dist/webcomponents/p-6ctk_bhj.js +0 -1
- package/dist/webcomponents/p-6d36d6a7.entry.js +0 -1
- package/dist/webcomponents/p-76e7c283.entry.js +0 -1
- package/dist/webcomponents/p-81a1be23.entry.js +0 -1
- package/dist/webcomponents/p-81d682ba.entry.js +0 -1
- package/dist/webcomponents/p-85681d97.entry.js +0 -1
- package/dist/webcomponents/p-88539215.entry.js +0 -1
- package/dist/webcomponents/p-896e4fb2.entry.js +0 -1
- package/dist/webcomponents/p-8bc32c27.entry.js +0 -1
- package/dist/webcomponents/p-8d4d2ac3.entry.js +0 -1
- package/dist/webcomponents/p-9349d32e.entry.js +0 -1
- package/dist/webcomponents/p-938e0dbc.entry.js +0 -1
- package/dist/webcomponents/p-94d81903.entry.js +0 -1
- package/dist/webcomponents/p-9767500b.entry.js +0 -1
- package/dist/webcomponents/p-9cf5ed80.entry.js +0 -1
- package/dist/webcomponents/p-B2H14Naw.js +0 -1
- package/dist/webcomponents/p-B4iBNBBM.js +0 -1
- package/dist/webcomponents/p-BAXE_ZfF.js +0 -1
- package/dist/webcomponents/p-BODr6HXb.js +0 -1
- package/dist/webcomponents/p-BoPxMyJA.js +0 -1
- package/dist/webcomponents/p-BupmNfQ5.js +0 -1
- package/dist/webcomponents/p-BvWS8buZ.js +0 -1
- package/dist/webcomponents/p-BxGoUIgN.js +0 -1
- package/dist/webcomponents/p-CGz3XHQc.js +0 -1
- package/dist/webcomponents/p-CRgzzPY4.js +0 -1
- package/dist/webcomponents/p-C_9TcvwA.js +0 -1
- package/dist/webcomponents/p-CbZjB3qJ.js +0 -1
- package/dist/webcomponents/p-CfbB7agn.js +0 -1
- package/dist/webcomponents/p-D5wGYrfz.js +0 -1
- package/dist/webcomponents/p-DArbkdtn.js +0 -1
- package/dist/webcomponents/p-DEa8EbZW.js +0 -1
- package/dist/webcomponents/p-DGWLSvML.js +0 -1
- package/dist/webcomponents/p-DPC4A7AZ.js +0 -1
- package/dist/webcomponents/p-DavDfnxI.js +0 -1
- package/dist/webcomponents/p-EbYREopN.js +0 -1
- package/dist/webcomponents/p-NI7Keg2H.js +0 -1
- package/dist/webcomponents/p-XazJ9qLe.js +0 -1
- package/dist/webcomponents/p-Xql8Xhsx.js +0 -1
- package/dist/webcomponents/p-a4e7d24f.entry.js +0 -1
- package/dist/webcomponents/p-a78bf0f7.entry.js +0 -1
- package/dist/webcomponents/p-a83bf2c0.entry.js +0 -1
- package/dist/webcomponents/p-b15d6c77.entry.js +0 -1
- package/dist/webcomponents/p-b5dd55b1.entry.js +0 -1
- package/dist/webcomponents/p-b8096d2b.entry.js +0 -1
- package/dist/webcomponents/p-bbc56c17.entry.js +0 -1
- package/dist/webcomponents/p-bc3d56a7.entry.js +0 -1
- package/dist/webcomponents/p-bf83ba04.entry.js +0 -1
- package/dist/webcomponents/p-c5b66da3.entry.js +0 -1
- package/dist/webcomponents/p-c7dc7184.entry.js +0 -1
- package/dist/webcomponents/p-cb8b91ea.entry.js +0 -1
- package/dist/webcomponents/p-dadb97e1.entry.js +0 -1
- package/dist/webcomponents/p-dafac427.entry.js +0 -1
- package/dist/webcomponents/p-dca205de.entry.js +0 -1
- package/dist/webcomponents/p-df3fb523.entry.js +0 -1
- package/dist/webcomponents/p-f-9W4QBD.js +0 -1
- package/dist/webcomponents/p-f604d6ea.entry.js +0 -1
- package/dist/webcomponents/p-ffbf35a4.entry.js +0 -1
- package/dist/webcomponents/p-obi7kkCX.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
- /package/dist/webcomponents/{p-D4-FKsCU.js → p-D6FDxSyt.js} +0 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var configState = require('./config-state-D7p-XunE.js');
|
|
4
|
+
var utils = require('./utils-DmZ8Dia3.js');
|
|
5
|
+
|
|
6
|
+
const Api = () => {
|
|
7
|
+
async function getAuthorizationHeader(authToken) {
|
|
8
|
+
if (!authToken) {
|
|
9
|
+
return {
|
|
10
|
+
'Content-Type': 'application/json',
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
Authorization: `Bearer ${authToken}`,
|
|
15
|
+
'Idempotency-Key': utils.generateId(),
|
|
16
|
+
'Content-Type': 'application/json',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
async function makeRequest(props) {
|
|
20
|
+
const { authToken, endpoint, method, params, body, signal, headers } = props;
|
|
21
|
+
await configState.waitForConfig();
|
|
22
|
+
const apiOrigin = configState.configState.apiOrigin;
|
|
23
|
+
const url = `${apiOrigin}/v1/${endpoint}`;
|
|
24
|
+
const requestUrl = params ? `${url}?${new URLSearchParams(params)}` : url;
|
|
25
|
+
const defaultHeaders = await getAuthorizationHeader(authToken);
|
|
26
|
+
const mergedHeaders = Object.assign(Object.assign({}, defaultHeaders), headers);
|
|
27
|
+
const response = await fetch(requestUrl, {
|
|
28
|
+
method: method,
|
|
29
|
+
headers: mergedHeaders,
|
|
30
|
+
body: body,
|
|
31
|
+
signal: signal,
|
|
32
|
+
});
|
|
33
|
+
if (response) {
|
|
34
|
+
return response.status === 204 ? {} : response.json();
|
|
35
|
+
}
|
|
36
|
+
handleError(requestUrl);
|
|
37
|
+
}
|
|
38
|
+
async function get(props) {
|
|
39
|
+
const { authToken, endpoint, params, signal, headers } = props;
|
|
40
|
+
return makeRequest({ authToken, endpoint, method: 'GET', params, signal, headers });
|
|
41
|
+
}
|
|
42
|
+
async function post(props) {
|
|
43
|
+
const { authToken, endpoint, body, params, signal, headers } = props;
|
|
44
|
+
return makeRequest({
|
|
45
|
+
authToken,
|
|
46
|
+
endpoint,
|
|
47
|
+
method: 'POST',
|
|
48
|
+
params,
|
|
49
|
+
body: JSON.stringify(body),
|
|
50
|
+
signal,
|
|
51
|
+
headers,
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
async function put(props) {
|
|
55
|
+
const { authToken, endpoint, body, params, signal } = props;
|
|
56
|
+
return makeRequest({
|
|
57
|
+
authToken,
|
|
58
|
+
endpoint,
|
|
59
|
+
method: 'PUT',
|
|
60
|
+
params,
|
|
61
|
+
body: JSON.stringify(body),
|
|
62
|
+
signal,
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
async function patch(props) {
|
|
66
|
+
const { authToken, endpoint, body, params, signal } = props;
|
|
67
|
+
return makeRequest({
|
|
68
|
+
authToken,
|
|
69
|
+
endpoint,
|
|
70
|
+
method: 'PATCH',
|
|
71
|
+
params,
|
|
72
|
+
body: JSON.stringify(body),
|
|
73
|
+
signal,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
async function destroy(props) {
|
|
77
|
+
const { authToken, endpoint, params, signal } = props;
|
|
78
|
+
return makeRequest({ authToken, endpoint, method: 'DELETE', params, signal });
|
|
79
|
+
}
|
|
80
|
+
return { get, post, put, patch, destroy };
|
|
81
|
+
};
|
|
82
|
+
function handleError(requestUrl) {
|
|
83
|
+
console.error(`Error fetching from ${requestUrl}`);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
exports.Api = Api;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var utils$1 = require('./utils-
|
|
3
|
+
var index = require('./index-BYd8IvAa.js');
|
|
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,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BYd8IvAa.js');
|
|
4
4
|
var utils$1 = require('./utils-DmZ8Dia3.js');
|
|
5
5
|
require('./ComponentError-C4MdBBMe.js');
|
|
6
6
|
require('./Checkout-RAGvjVPj.js');
|
|
@@ -11,9 +11,10 @@ var Document = require('./Document-rXGBUaOh.js');
|
|
|
11
11
|
var businessFormOptions = require('./business-form-options-BCj0efiD.js');
|
|
12
12
|
require('./event-types-DNOUef41.js');
|
|
13
13
|
var utils = require('./utils-DAyWinG2.js');
|
|
14
|
-
var parts = require('./parts-
|
|
15
|
-
var skeleton = require('./skeleton-
|
|
16
|
-
|
|
14
|
+
var parts = require('./parts-9jMf1erK.js');
|
|
15
|
+
var skeleton = require('./skeleton-aMh0RMHq.js');
|
|
16
|
+
require('./event-types-YOY5TKUN.js');
|
|
17
|
+
var formControlErrorText = require('./form-control-error-text-D9XDyFoW.js');
|
|
17
18
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
18
19
|
require('./Dispute-CruQTF6_.js');
|
|
19
20
|
require('./Business-DyiDiIuO.js');
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var skeleton = require('./skeleton-
|
|
5
|
-
var
|
|
6
|
-
var
|
|
3
|
+
var index = require('./index-BYd8IvAa.js');
|
|
4
|
+
var skeleton = require('./skeleton-aMh0RMHq.js');
|
|
5
|
+
var configState = require('./config-state-D7p-XunE.js');
|
|
6
|
+
var iframeInputStylesState = require('./iframe-input-styles-state-D9vhHzZQ.js');
|
|
7
|
+
var parts = require('./parts-9jMf1erK.js');
|
|
7
8
|
var index_esm = require('./index.esm-CVuJLXJZ.js');
|
|
8
9
|
var schemaValidations = require('./schema-validations-p4OCdblz.js');
|
|
9
|
-
var header3 = require('./header-3-
|
|
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
14
|
var Payment = require('./Payment-CQCmj3Ck.js');
|
|
13
15
|
var utils$1 = require('./utils-DmZ8Dia3.js');
|
|
14
|
-
require('./index-
|
|
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');
|
|
@@ -40,13 +42,9 @@ const BankAccountForm = class {
|
|
|
40
42
|
index.registerInstance(this, hostRef);
|
|
41
43
|
this.isReady = false;
|
|
42
44
|
}
|
|
43
|
-
async
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
return accountNumberIsValid && routingNumberIsValid;
|
|
47
|
-
}
|
|
48
|
-
async tokenize(clientId, paymentMethodMetadata, account) {
|
|
49
|
-
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
45
|
+
async componentWillLoad() {
|
|
46
|
+
await configState.waitForConfig();
|
|
47
|
+
this.iframeOrigin = configState.configState.iframeOrigin;
|
|
50
48
|
}
|
|
51
49
|
componentDidRender() {
|
|
52
50
|
const elements = [
|
|
@@ -61,11 +59,19 @@ const BankAccountForm = class {
|
|
|
61
59
|
this.isReady = true;
|
|
62
60
|
});
|
|
63
61
|
}
|
|
62
|
+
async validate() {
|
|
63
|
+
const accountNumberIsValid = await this.accountNumberIframeElement.validate();
|
|
64
|
+
const routingNumberIsValid = await this.routingNumberIframeElement.validate();
|
|
65
|
+
return accountNumberIsValid && routingNumberIsValid;
|
|
66
|
+
}
|
|
67
|
+
async tokenize(clientId, paymentMethodMetadata, account) {
|
|
68
|
+
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
69
|
+
}
|
|
64
70
|
render() {
|
|
65
|
-
return (index.h(index.Host, { key: '
|
|
71
|
+
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
72
|
opacity: this.isReady ? '1' : '0',
|
|
67
73
|
height: this.isReady ? 'auto' : '0',
|
|
68
|
-
} }, index.h("div", { key: '
|
|
74
|
+
} }, 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
75
|
}
|
|
70
76
|
};
|
|
71
77
|
|
|
@@ -94,6 +100,10 @@ const CardForm = class {
|
|
|
94
100
|
index.registerInstance(this, hostRef);
|
|
95
101
|
this.isReady = false;
|
|
96
102
|
}
|
|
103
|
+
async componentWillLoad() {
|
|
104
|
+
await configState.waitForConfig();
|
|
105
|
+
this.iframeOrigin = configState.configState.iframeOrigin;
|
|
106
|
+
}
|
|
97
107
|
componentDidRender() {
|
|
98
108
|
const elements = [
|
|
99
109
|
this.cardNumberIframeElement,
|
|
@@ -120,10 +130,10 @@ const CardForm = class {
|
|
|
120
130
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
121
131
|
}
|
|
122
132
|
render() {
|
|
123
|
-
return (index.h(index.Host, { key: '
|
|
133
|
+
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
134
|
opacity: this.isReady ? '1' : '0',
|
|
125
135
|
height: this.isReady ? 'auto' : '0',
|
|
126
|
-
} }, index.h("div", { key: '
|
|
136
|
+
} }, 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
137
|
}
|
|
128
138
|
};
|
|
129
139
|
|
|
@@ -336,14 +346,14 @@ const NewPaymentMethod = class {
|
|
|
336
346
|
showNewPaymentMethodForm() {
|
|
337
347
|
var _a;
|
|
338
348
|
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
|
|
349
|
+
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
350
|
}
|
|
341
351
|
get hiddenRadioInput() {
|
|
342
352
|
return !this.showAch || !this.showCard;
|
|
343
353
|
}
|
|
344
354
|
render() {
|
|
345
355
|
var _a, _b;
|
|
346
|
-
return (index.h(index.Host, { key: '
|
|
356
|
+
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
357
|
}
|
|
348
358
|
};
|
|
349
359
|
|
|
@@ -418,13 +428,13 @@ const PaymentMethodOptions = class {
|
|
|
418
428
|
}
|
|
419
429
|
render() {
|
|
420
430
|
var _a;
|
|
421
|
-
return (index.h(index.Host, { key: '
|
|
431
|
+
return (index.h(index.Host, { key: '506450161ed363330132c2bfa99a6a7729e94778' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
|
|
422
432
|
const newCard = paymentMethodOption.id === Payment.PaymentMethodTypes.card;
|
|
423
433
|
const newBankAccount = paymentMethodOption.id === Payment.PaymentMethodTypes.bankAccount;
|
|
424
434
|
const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
|
|
425
435
|
const sezzle = paymentMethodOption.id === Payment.PaymentMethodTypes.sezzle;
|
|
426
436
|
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,
|
|
437
|
+
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
438
|
if (isSelected) {
|
|
429
439
|
this.selectedPaymentMethodOptionRef = el;
|
|
430
440
|
}
|
|
@@ -12,7 +12,7 @@ const businessCoreInfoSchema = (allowOptionalFields) => {
|
|
|
12
12
|
doing_business_as: schemaValidations.doingBusinessAsValidation.nullable(),
|
|
13
13
|
classification: schemaValidations.businessClassificationValidation.required('Select business classification'),
|
|
14
14
|
industry: schemaValidations.industryValidation.required('Enter a business industry'),
|
|
15
|
-
tax_id: schemaValidations.taxIdValidation.required('Enter tax
|
|
15
|
+
tax_id: schemaValidations.taxIdValidation.required('Enter valid tax ID (SSN or EIN) without dashes'),
|
|
16
16
|
date_of_incorporation: schemaValidations.dateOfIncorporationValidation.required('Enter date of incorporation'),
|
|
17
17
|
});
|
|
18
18
|
const easySchema = index_esm.create$3({
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var utils = require('./utils-
|
|
5
|
-
var styledHost = require('./styled-host-
|
|
6
|
-
|
|
7
|
-
require('./
|
|
3
|
+
var index = require('./index-BYd8IvAa.js');
|
|
4
|
+
var utils = require('./utils-5lco6NzU.js');
|
|
5
|
+
var styledHost = require('./styled-host-udkBJV5h.js');
|
|
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" },
|
|
@@ -1,56 +1,47 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var ApiNew = require('./ApiNew-C8nf_gS9.js');
|
|
4
4
|
|
|
5
|
+
const api = ApiNew.Api();
|
|
5
6
|
class BusinessService {
|
|
6
|
-
async fetchBusiness(businessId, authToken
|
|
7
|
+
async fetchBusiness(businessId, authToken) {
|
|
7
8
|
const endpoint = `entities/business/${businessId}`;
|
|
8
|
-
return
|
|
9
|
+
return api.get({ endpoint, authToken });
|
|
9
10
|
}
|
|
10
11
|
async patchBusiness(authToken, businessId, payload) {
|
|
11
12
|
const endpoint = `entities/business/${businessId}`;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
body: payload,
|
|
15
|
-
});
|
|
13
|
+
const body = payload;
|
|
14
|
+
return api.patch({ endpoint, body, authToken });
|
|
16
15
|
}
|
|
17
16
|
}
|
|
18
17
|
class IdentityService {
|
|
19
18
|
async fetchIdentity(identityId, authToken) {
|
|
20
19
|
const endpoint = `entities/identity/${identityId}`;
|
|
21
|
-
return
|
|
20
|
+
return api.get({ endpoint, authToken });
|
|
22
21
|
}
|
|
23
22
|
async patchIdentity(authToken, identityId, payload) {
|
|
24
23
|
const endpoint = `entities/identity/${identityId}`;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
body: payload,
|
|
28
|
-
});
|
|
24
|
+
const body = payload;
|
|
25
|
+
return api.patch({ endpoint, body, authToken });
|
|
29
26
|
}
|
|
30
27
|
async postIdentity(authToken, payload) {
|
|
31
28
|
const endpoint = `entities/identity`;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
body: payload,
|
|
35
|
-
});
|
|
29
|
+
const body = payload;
|
|
30
|
+
return api.post({ endpoint, body, authToken });
|
|
36
31
|
}
|
|
37
32
|
}
|
|
38
33
|
class BusinessBankAccountService {
|
|
39
34
|
async postBankAccount(authToken, payload) {
|
|
40
35
|
const endpoint = `entities/bank_accounts`;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
body: payload,
|
|
44
|
-
});
|
|
36
|
+
const body = payload;
|
|
37
|
+
return api.post({ endpoint, body, authToken });
|
|
45
38
|
}
|
|
46
39
|
}
|
|
47
40
|
class DocumentRecordService {
|
|
48
41
|
async postDocumentRecord(authToken, payload) {
|
|
49
42
|
const endpoint = `entities/document`;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
body: payload,
|
|
53
|
-
});
|
|
43
|
+
const body = payload;
|
|
44
|
+
return api.post({ endpoint, body, authToken });
|
|
54
45
|
}
|
|
55
46
|
}
|
|
56
47
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var parts = require('./parts-
|
|
3
|
+
var index = require('./index-BYd8IvAa.js');
|
|
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,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _package = require('./package-
|
|
4
|
-
var
|
|
3
|
+
var _package = require('./package-CX6Njc5t.js');
|
|
4
|
+
var ApiNew = require('./ApiNew-C8nf_gS9.js');
|
|
5
5
|
|
|
6
|
+
const api = ApiNew.Api();
|
|
6
7
|
class AnalyticsService {
|
|
7
8
|
async record(body) {
|
|
8
9
|
const endpoint = 'analytics';
|
|
9
|
-
return
|
|
10
|
+
return api.post({ endpoint, body });
|
|
10
11
|
}
|
|
11
12
|
}
|
|
12
13
|
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var ApiNew = require('./ApiNew-C8nf_gS9.js');
|
|
4
|
+
|
|
5
|
+
const api = ApiNew.Api();
|
|
6
|
+
class CheckoutService {
|
|
7
|
+
async fetchCheckout(authToken, checkoutId) {
|
|
8
|
+
const endpoint = `checkouts/${checkoutId}`;
|
|
9
|
+
return api.get({ endpoint, authToken });
|
|
10
|
+
}
|
|
11
|
+
async fetchCheckouts(accountId, authToken, params) {
|
|
12
|
+
const endpoint = 'checkouts';
|
|
13
|
+
const headers = { Account: accountId };
|
|
14
|
+
return api.get({ endpoint, params, headers, authToken });
|
|
15
|
+
}
|
|
16
|
+
async complete(authToken, checkoutId, payment) {
|
|
17
|
+
const endpoint = `checkouts/${checkoutId}/complete`;
|
|
18
|
+
const body = {
|
|
19
|
+
payment_mode: payment.payment_mode,
|
|
20
|
+
};
|
|
21
|
+
if (payment.payment_token) {
|
|
22
|
+
body.payment_token = payment.payment_token;
|
|
23
|
+
}
|
|
24
|
+
return api.post({ endpoint, body, authToken });
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
exports.CheckoutService = CheckoutService;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BYd8IvAa.js');
|
|
4
4
|
require('./utils-DmZ8Dia3.js');
|
|
5
5
|
require('./ComponentError-C4MdBBMe.js');
|
|
6
6
|
require('./Checkout-RAGvjVPj.js');
|
|
@@ -8,15 +8,16 @@ var Pagination = require('./Pagination-Dediz133.js');
|
|
|
8
8
|
require('./Payment-CQCmj3Ck.js');
|
|
9
9
|
require('./Refund-CpurRc4w.js');
|
|
10
10
|
require('./Document-rXGBUaOh.js');
|
|
11
|
-
var
|
|
12
|
-
var eventTypes = require('./event-types-
|
|
13
|
-
var checkoutsTable = require('./checkouts-table-
|
|
14
|
-
var checkoutsListParamsState = require('./checkouts-list-params-state-
|
|
11
|
+
var table = require('./table-DKVauFHc.js');
|
|
12
|
+
var eventTypes = require('./event-types-YOY5TKUN.js');
|
|
13
|
+
var checkoutsTable = require('./checkouts-table-_T5eblyc.js');
|
|
14
|
+
var checkoutsListParamsState = require('./checkouts-list-params-state-BvG5Ysrg.js');
|
|
15
15
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
16
16
|
require('./Dispute-CruQTF6_.js');
|
|
17
|
-
require('./
|
|
18
|
-
require('./
|
|
19
|
-
require('./
|
|
17
|
+
require('./parts-9jMf1erK.js');
|
|
18
|
+
require('./spinner-BTyIjlMM.js');
|
|
19
|
+
require('./badge-BxoJOyTJ.js');
|
|
20
|
+
require('./index-B8ljHEN1.js');
|
|
20
21
|
|
|
21
22
|
const CheckoutsListCore = class {
|
|
22
23
|
constructor(hostRef) {
|
|
@@ -48,7 +49,7 @@ const CheckoutsListCore = class {
|
|
|
48
49
|
this.fetchData();
|
|
49
50
|
}
|
|
50
51
|
componentWillLoad() {
|
|
51
|
-
this.checkoutsTable = new
|
|
52
|
+
this.checkoutsTable = new table.Table(this.checkouts, this.columns, checkoutsTable.checkoutTableColumns, checkoutsTable.checkoutTableCells);
|
|
52
53
|
if (this.getCheckouts && this.getSubAccounts) {
|
|
53
54
|
this.fetchData();
|
|
54
55
|
}
|
|
@@ -134,7 +135,7 @@ const CheckoutsListCore = class {
|
|
|
134
135
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
135
136
|
}
|
|
136
137
|
render() {
|
|
137
|
-
return (index.h(
|
|
138
|
+
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
139
|
}
|
|
139
140
|
static get watchers() { return {
|
|
140
141
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
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 = {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-B8ljHEN1.js');
|
|
4
|
+
|
|
5
|
+
const initialState = {
|
|
6
|
+
apiOrigin: "https://wc-proxy.justifi.ai",
|
|
7
|
+
iframeOrigin: "https://components.justifi.ai",
|
|
8
|
+
accountId: '',
|
|
9
|
+
};
|
|
10
|
+
const configStore = index.createStore(() => initialState);
|
|
11
|
+
const { state: configState} = configStore;
|
|
12
|
+
// resolver for the “ready” promise
|
|
13
|
+
let resolveConfigReady;
|
|
14
|
+
// initial “handshake” promise
|
|
15
|
+
const configReady = new Promise(r => {
|
|
16
|
+
resolveConfigReady = r;
|
|
17
|
+
});
|
|
18
|
+
// called by <justifi-config-provider>
|
|
19
|
+
const setConfigState = (vals) => {
|
|
20
|
+
Object.assign(configState, vals);
|
|
21
|
+
resolveConfigReady();
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Wait for configProvider to run, but safe guard against never mounting.
|
|
25
|
+
* @param timeoutMs max time to wait before resolving with default values
|
|
26
|
+
*/
|
|
27
|
+
const waitForConfig = (timeoutMs = 200) => {
|
|
28
|
+
return new Promise(resolve => {
|
|
29
|
+
const timer = setTimeout(() => {
|
|
30
|
+
// timeout expired, proceed with default config state values
|
|
31
|
+
resolve();
|
|
32
|
+
}, timeoutMs);
|
|
33
|
+
configReady.then(() => {
|
|
34
|
+
clearTimeout(timer);
|
|
35
|
+
resolve();
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
exports.configState = configState;
|
|
41
|
+
exports.setConfigState = setConfigState;
|
|
42
|
+
exports.waitForConfig = waitForConfig;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var parts = require('./parts-
|
|
5
|
-
var formControlErrorText = require('./form-control-error-text-
|
|
3
|
+
var index = require('./index-BYd8IvAa.js');
|
|
4
|
+
var parts = require('./parts-9jMf1erK.js');
|
|
5
|
+
var formControlErrorText = require('./form-control-error-text-D9XDyFoW.js');
|
|
6
|
+
require('./event-types-YOY5TKUN.js');
|
|
6
7
|
|
|
7
8
|
var top = 'top';
|
|
8
9
|
var bottom = 'bottom';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var ApiNew = require('./ApiNew-C8nf_gS9.js');
|
|
4
|
+
|
|
5
|
+
const api = ApiNew.Api();
|
|
6
|
+
class DisputeService {
|
|
7
|
+
async fetchDispute(disputeId, authToken) {
|
|
8
|
+
const endpoint = `disputes/${disputeId}`;
|
|
9
|
+
return api.get({ endpoint, authToken });
|
|
10
|
+
}
|
|
11
|
+
async updateDisputeResponse(disputeId, authToken, payload) {
|
|
12
|
+
const endpoint = `disputes/${disputeId}/response`;
|
|
13
|
+
const body = payload;
|
|
14
|
+
return api.patch({ endpoint, body, authToken });
|
|
15
|
+
}
|
|
16
|
+
async submitDisputeResponse(disputeId, authToken, payload) {
|
|
17
|
+
const endpoint = `disputes/${disputeId}/response`;
|
|
18
|
+
const body = payload;
|
|
19
|
+
return api.post({ endpoint, body, authToken });
|
|
20
|
+
}
|
|
21
|
+
async createDisputeEvidence(disputeId, authToken, payload) {
|
|
22
|
+
const endpoint = `disputes/${disputeId}/evidence`;
|
|
23
|
+
const body = payload;
|
|
24
|
+
return api.put({ endpoint, body, authToken });
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
exports.DisputeService = DisputeService;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
exports.TableClickActions = void 0;
|
|
4
|
+
(function (TableClickActions) {
|
|
5
|
+
TableClickActions["row"] = "tableRow";
|
|
6
|
+
TableClickActions["next"] = "nextPage";
|
|
7
|
+
TableClickActions["previous"] = "previousPage";
|
|
8
|
+
})(exports.TableClickActions || (exports.TableClickActions = {}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var parts = require('./parts-
|
|
3
|
+
var index = require('./index-BYd8IvAa.js');
|
|
4
|
+
var parts = require('./parts-9jMf1erK.js');
|
|
5
5
|
var businessFormOptions = require('./business-form-options-BCj0efiD.js');
|
|
6
6
|
var formInputMasks = require('./form-input-masks-DgXd0f4V.js');
|
|
7
7
|
var Business = require('./Business-DyiDiIuO.js');
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var parts = require('./parts-
|
|
5
|
-
var formControlHelpText = require('./form-control-help-text-
|
|
6
|
-
var formControlErrorText = require('./form-control-error-text-
|
|
3
|
+
var index = require('./index-BYd8IvAa.js');
|
|
4
|
+
var parts = require('./parts-9jMf1erK.js');
|
|
5
|
+
var formControlHelpText = require('./form-control-help-text-J_boqSMc.js');
|
|
6
|
+
var formControlErrorText = require('./form-control-error-text-D9XDyFoW.js');
|
|
7
|
+
require('./event-types-YOY5TKUN.js');
|
|
7
8
|
|
|
8
9
|
const CheckboxInput = class {
|
|
9
10
|
constructor(hostRef) {
|