@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,83 @@
|
|
|
1
|
+
import { setConfigState } from "./config-state";
|
|
2
|
+
export class ConfigProvider {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.apiOrigin = PROXY_API_ORIGIN;
|
|
5
|
+
this.iframeOrigin = IFRAME_ORIGIN;
|
|
6
|
+
this.accountId = '';
|
|
7
|
+
}
|
|
8
|
+
componentWillLoad() {
|
|
9
|
+
setConfigState({
|
|
10
|
+
apiOrigin: this.apiOrigin,
|
|
11
|
+
iframeOrigin: this.iframeOrigin,
|
|
12
|
+
accountId: this.accountId
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
render() {
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
18
|
+
static get is() { return "justifi-config-provider"; }
|
|
19
|
+
static get properties() {
|
|
20
|
+
return {
|
|
21
|
+
"apiOrigin": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"attribute": "api-origin",
|
|
24
|
+
"mutable": false,
|
|
25
|
+
"complexType": {
|
|
26
|
+
"original": "string",
|
|
27
|
+
"resolved": "string",
|
|
28
|
+
"references": {}
|
|
29
|
+
},
|
|
30
|
+
"required": false,
|
|
31
|
+
"optional": true,
|
|
32
|
+
"docs": {
|
|
33
|
+
"tags": [],
|
|
34
|
+
"text": ""
|
|
35
|
+
},
|
|
36
|
+
"getter": false,
|
|
37
|
+
"setter": false,
|
|
38
|
+
"reflect": false,
|
|
39
|
+
"defaultValue": "PROXY_API_ORIGIN"
|
|
40
|
+
},
|
|
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": true,
|
|
52
|
+
"docs": {
|
|
53
|
+
"tags": [],
|
|
54
|
+
"text": ""
|
|
55
|
+
},
|
|
56
|
+
"getter": false,
|
|
57
|
+
"setter": false,
|
|
58
|
+
"reflect": false,
|
|
59
|
+
"defaultValue": "IFRAME_ORIGIN"
|
|
60
|
+
},
|
|
61
|
+
"accountId": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"attribute": "account-id",
|
|
64
|
+
"mutable": false,
|
|
65
|
+
"complexType": {
|
|
66
|
+
"original": "string",
|
|
67
|
+
"resolved": "string",
|
|
68
|
+
"references": {}
|
|
69
|
+
},
|
|
70
|
+
"required": false,
|
|
71
|
+
"optional": true,
|
|
72
|
+
"docs": {
|
|
73
|
+
"tags": [],
|
|
74
|
+
"text": ""
|
|
75
|
+
},
|
|
76
|
+
"getter": false,
|
|
77
|
+
"setter": false,
|
|
78
|
+
"reflect": false,
|
|
79
|
+
"defaultValue": "''"
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { createStore } from "@stencil/store";
|
|
2
|
+
const initialState = {
|
|
3
|
+
apiOrigin: PROXY_API_ORIGIN,
|
|
4
|
+
iframeOrigin: IFRAME_ORIGIN,
|
|
5
|
+
accountId: '',
|
|
6
|
+
};
|
|
7
|
+
const configStore = createStore(() => initialState);
|
|
8
|
+
const { state: configState, on: onConfigChange } = configStore;
|
|
9
|
+
// resolver for the “ready” promise
|
|
10
|
+
let resolveConfigReady;
|
|
11
|
+
// initial “handshake” promise
|
|
12
|
+
const configReady = new Promise(r => {
|
|
13
|
+
resolveConfigReady = r;
|
|
14
|
+
});
|
|
15
|
+
// called by <justifi-config-provider>
|
|
16
|
+
const setConfigState = (vals) => {
|
|
17
|
+
Object.assign(configState, vals);
|
|
18
|
+
resolveConfigReady();
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Wait for configProvider to run, but safe guard against never mounting.
|
|
22
|
+
* @param timeoutMs max time to wait before resolving with default values
|
|
23
|
+
*/
|
|
24
|
+
const waitForConfig = (timeoutMs = 200) => {
|
|
25
|
+
return new Promise(resolve => {
|
|
26
|
+
const timer = setTimeout(() => {
|
|
27
|
+
// timeout expired, proceed with default config state values
|
|
28
|
+
resolve();
|
|
29
|
+
}, timeoutMs);
|
|
30
|
+
configReady.then(() => {
|
|
31
|
+
clearTimeout(timer);
|
|
32
|
+
resolve();
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
export { configState, onConfigChange, setConfigState, waitForConfig };
|
|
@@ -6,7 +6,6 @@ import { makeGetDispute } from "../../actions/dispute/dispute-actions";
|
|
|
6
6
|
import { DisputeService } from "../../api/services/dispute.service";
|
|
7
7
|
export class DisputeManagement {
|
|
8
8
|
constructor() {
|
|
9
|
-
this.apiOrigin = PROXY_API_ORIGIN;
|
|
10
9
|
this.errorMessage = null;
|
|
11
10
|
this.handleErrorEvent = event => {
|
|
12
11
|
this.errorMessage = event.detail.message;
|
|
@@ -30,8 +29,7 @@ export class DisputeManagement {
|
|
|
30
29
|
this.getDispute = makeGetDispute({
|
|
31
30
|
id: this.disputeId,
|
|
32
31
|
authToken: this.authToken,
|
|
33
|
-
service: new DisputeService()
|
|
34
|
-
apiOrigin: this.apiOrigin,
|
|
32
|
+
service: new DisputeService()
|
|
35
33
|
});
|
|
36
34
|
}
|
|
37
35
|
else {
|
|
@@ -44,7 +42,7 @@ export class DisputeManagement {
|
|
|
44
42
|
}
|
|
45
43
|
}
|
|
46
44
|
render() {
|
|
47
|
-
return (h("justifi-dispute-management-core", { key: '
|
|
45
|
+
return (h("justifi-dispute-management-core", { key: '12e281244496ede936b191dbc5b4069404d931e9', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
|
|
48
46
|
}
|
|
49
47
|
static get is() { return "justifi-dispute-management"; }
|
|
50
48
|
static get properties() {
|
|
@@ -86,26 +84,6 @@ export class DisputeManagement {
|
|
|
86
84
|
"getter": false,
|
|
87
85
|
"setter": false,
|
|
88
86
|
"reflect": false
|
|
89
|
-
},
|
|
90
|
-
"apiOrigin": {
|
|
91
|
-
"type": "string",
|
|
92
|
-
"attribute": "api-origin",
|
|
93
|
-
"mutable": false,
|
|
94
|
-
"complexType": {
|
|
95
|
-
"original": "string",
|
|
96
|
-
"resolved": "string",
|
|
97
|
-
"references": {}
|
|
98
|
-
},
|
|
99
|
-
"required": false,
|
|
100
|
-
"optional": true,
|
|
101
|
-
"docs": {
|
|
102
|
-
"tags": [],
|
|
103
|
-
"text": ""
|
|
104
|
-
},
|
|
105
|
-
"getter": false,
|
|
106
|
-
"setter": false,
|
|
107
|
-
"reflect": false,
|
|
108
|
-
"defaultValue": "PROXY_API_ORIGIN"
|
|
109
87
|
}
|
|
110
88
|
};
|
|
111
89
|
}
|
package/dist/collection/components/dispute-management/dispute-response/dispute-response-actions.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ComponentErrorSeverity } from "../../../api/ComponentError";
|
|
2
2
|
import { getErrorCode, getErrorMessage } from "../../../api/services/utils";
|
|
3
|
-
export const makeGetDisputeResponse = ({ id, authToken, service
|
|
3
|
+
export const makeGetDisputeResponse = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
|
|
4
4
|
var _a;
|
|
5
5
|
try {
|
|
6
|
-
const response = await service.fetchDisputeResponse(id, authToken, params
|
|
6
|
+
const response = await service.fetchDisputeResponse(id, authToken, params);
|
|
7
7
|
if (!response.error) {
|
|
8
8
|
const pagingInfo = Object.assign({}, response.page_info);
|
|
9
9
|
const disputeResponse = response.data;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { Button } from "
|
|
2
|
+
import { Button } from "../../ui-components/button";
|
|
3
3
|
import { hasFilters } from "./utils";
|
|
4
|
-
import { dropdownMenu } from "../../styles/parts";
|
|
4
|
+
import { dropdownMenu, dropdownMenuButton } from "../../styles/parts";
|
|
5
5
|
export class TableFiltersMenu {
|
|
6
6
|
constructor() {
|
|
7
7
|
this.showClearButton = false;
|
|
@@ -19,7 +19,7 @@ export class TableFiltersMenu {
|
|
|
19
19
|
this.showClearButton = hasFilters(this.params);
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h("div", { key: '
|
|
22
|
+
return (h("div", { key: '73b213c0381a163e3ccd4b4df158daf8dc128d83', class: "d-flex gap-2" }, h("div", { key: '817823777638fc8501bb7230d0b061c110e4f82b', class: "dropdown pb-3" }, h("button", { key: '6ad7b2c32bfc44b836071db2706e86d649c5ccb3', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '124ac66fe0be636f74009bdd07e392fa82fd943e', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'b1421bdd7f7318012dcbd280eab4d8aeabbfee8c', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '7a251b4a2b2840f435d07605a6333b86180ab88e' })))), h("div", { key: '2badf2863bb80ef70508347049becdd0aec5196e' }, h(Button, { key: 'ee90184cb3aa0e7c4ff8d69cf299aef4fda114bd', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "table-filters-menu"; }
|
|
25
25
|
static get properties() {
|
|
@@ -17,7 +17,6 @@ import { formatPhoneNumber } from "../../utils/utils";
|
|
|
17
17
|
export class OrderTerminals {
|
|
18
18
|
constructor() {
|
|
19
19
|
this.shipping = false;
|
|
20
|
-
this.apiOrigin = PROXY_API_ORIGIN;
|
|
21
20
|
this.submitButtonText = 'Submit Order';
|
|
22
21
|
this.loading = {
|
|
23
22
|
business: true,
|
|
@@ -53,8 +52,7 @@ export class OrderTerminals {
|
|
|
53
52
|
makeGetBusiness({
|
|
54
53
|
id: this.businessId,
|
|
55
54
|
authToken: this.authToken,
|
|
56
|
-
service: new BusinessService()
|
|
57
|
-
apiOrigin: this.apiOrigin,
|
|
55
|
+
service: new BusinessService()
|
|
58
56
|
})({
|
|
59
57
|
onSuccess: ({ business }) => {
|
|
60
58
|
this.business = new Business(business);
|
|
@@ -70,8 +68,7 @@ export class OrderTerminals {
|
|
|
70
68
|
makeGetTerminalModels({
|
|
71
69
|
id: this.accountId,
|
|
72
70
|
authToken: this.authToken,
|
|
73
|
-
service: new TerminalService()
|
|
74
|
-
apiOrigin: this.apiOrigin,
|
|
71
|
+
service: new TerminalService()
|
|
75
72
|
})({
|
|
76
73
|
onSuccess: ({ terminals, orderLimit }) => {
|
|
77
74
|
this.terminalModels = terminals;
|
|
@@ -87,8 +84,7 @@ export class OrderTerminals {
|
|
|
87
84
|
submitOrder() {
|
|
88
85
|
const orderTerminals = makeOrderTerminals({
|
|
89
86
|
authToken: this.authToken,
|
|
90
|
-
service: new TerminalService()
|
|
91
|
-
apiOrigin: this.apiOrigin,
|
|
87
|
+
service: new TerminalService()
|
|
92
88
|
});
|
|
93
89
|
this.submitting = true;
|
|
94
90
|
orderTerminals({
|
|
@@ -125,7 +121,7 @@ export class OrderTerminals {
|
|
|
125
121
|
return (h("div", { class: "mt-3" }, h("div", { class: "text-end" }, "Order limit: ", this.orderLimit), h("div", { class: "d-flex justify-content-end mt-3" }, h("button", { class: "btn btn-primary submit-btn", onClick: this.submitOrder.bind(this), disabled: this.order.totalQuantity === 0 || this.submitting, part: buttonPrimary }, this.submitting ? 'Submitting...' : this.submitButtonText))));
|
|
126
122
|
}
|
|
127
123
|
render() {
|
|
128
|
-
return (h(StyledHost, { key: '
|
|
124
|
+
return (h(StyledHost, { key: '47251af3261d16cfc067bca3b3810805d93ba36d' }, h("div", { key: '13c73bb09cdbad48ee7b15089daf1b6bf56cf256', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
|
|
129
125
|
}
|
|
130
126
|
static get is() { return "justifi-order-terminals"; }
|
|
131
127
|
static get encapsulation() { return "shadow"; }
|
|
@@ -208,26 +204,6 @@ export class OrderTerminals {
|
|
|
208
204
|
"reflect": false,
|
|
209
205
|
"defaultValue": "false"
|
|
210
206
|
},
|
|
211
|
-
"apiOrigin": {
|
|
212
|
-
"type": "string",
|
|
213
|
-
"attribute": "api-origin",
|
|
214
|
-
"mutable": false,
|
|
215
|
-
"complexType": {
|
|
216
|
-
"original": "string",
|
|
217
|
-
"resolved": "string",
|
|
218
|
-
"references": {}
|
|
219
|
-
},
|
|
220
|
-
"required": false,
|
|
221
|
-
"optional": true,
|
|
222
|
-
"docs": {
|
|
223
|
-
"tags": [],
|
|
224
|
-
"text": ""
|
|
225
|
-
},
|
|
226
|
-
"getter": false,
|
|
227
|
-
"setter": false,
|
|
228
|
-
"reflect": false,
|
|
229
|
-
"defaultValue": "PROXY_API_ORIGIN"
|
|
230
|
-
},
|
|
231
207
|
"submitButtonText": {
|
|
232
208
|
"type": "string",
|
|
233
209
|
"attribute": "submit-button-text",
|
|
@@ -44,7 +44,10 @@ export class PaymentDetailsCore {
|
|
|
44
44
|
], this.payment.payment_method.bank_account && [
|
|
45
45
|
h(DetailSectionTitle, { key: '84dae904db3c22ff5ed03abaeb57d3b0736d1fbb', sectionTitle: "Payment Method" }),
|
|
46
46
|
h("div", { key: '400801019a53feec0478273866fffa5683b408aa', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'ca7bb52e4275659b18daacfa6367de2f32617e70', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '4885d2b5f05b6a713d61074271c7a95b23604dca', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '604ec4efe78a12a1c36d8416c9fdec70351a6dad', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '1ef77a81232e19d1063af9e863f5c9ada183715f', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
47
|
-
],
|
|
47
|
+
], this.payment.metadata && [
|
|
48
|
+
h(DetailSectionTitle, { key: '703ee104edf87c55034c38bb9fe0de6907980a0e', sectionTitle: 'Metadata' }),
|
|
49
|
+
h("div", { key: 'c10b66a975c6a221f86226893e13cbf57bf0d8dd', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'e73dfd81f110ec7c275fd37d1ecc71bbc22580b5', metadata: this.payment.metadata }))
|
|
50
|
+
])))));
|
|
48
51
|
}
|
|
49
52
|
static get is() { return "payment-details-core"; }
|
|
50
53
|
static get properties() {
|
|
@@ -7,7 +7,6 @@ import JustifiAnalytics from "../../api/Analytics";
|
|
|
7
7
|
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
8
8
|
export class PaymentDetails {
|
|
9
9
|
constructor() {
|
|
10
|
-
this.apiOrigin = PROXY_API_ORIGIN;
|
|
11
10
|
this.errorMessage = null;
|
|
12
11
|
this.paymentService = new PaymentService();
|
|
13
12
|
this.handleErrorEvent = event => {
|
|
@@ -32,8 +31,7 @@ export class PaymentDetails {
|
|
|
32
31
|
this.getPaymentDetails = makeGetPaymentDetails({
|
|
33
32
|
id: this.paymentId,
|
|
34
33
|
authToken: this.authToken,
|
|
35
|
-
service: new PaymentService()
|
|
36
|
-
apiOrigin: this.apiOrigin
|
|
34
|
+
service: new PaymentService()
|
|
37
35
|
});
|
|
38
36
|
}
|
|
39
37
|
else {
|
|
@@ -92,26 +90,6 @@ export class PaymentDetails {
|
|
|
92
90
|
"getter": false,
|
|
93
91
|
"setter": false,
|
|
94
92
|
"reflect": false
|
|
95
|
-
},
|
|
96
|
-
"apiOrigin": {
|
|
97
|
-
"type": "string",
|
|
98
|
-
"attribute": "api-origin",
|
|
99
|
-
"mutable": false,
|
|
100
|
-
"complexType": {
|
|
101
|
-
"original": "string",
|
|
102
|
-
"resolved": "string",
|
|
103
|
-
"references": {}
|
|
104
|
-
},
|
|
105
|
-
"required": false,
|
|
106
|
-
"optional": true,
|
|
107
|
-
"docs": {
|
|
108
|
-
"tags": [],
|
|
109
|
-
"text": ""
|
|
110
|
-
},
|
|
111
|
-
"getter": false,
|
|
112
|
-
"setter": false,
|
|
113
|
-
"reflect": false,
|
|
114
|
-
"defaultValue": "PROXY_API_ORIGIN"
|
|
115
93
|
}
|
|
116
94
|
};
|
|
117
95
|
}
|
|
@@ -5,10 +5,9 @@ import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
|
5
5
|
import { makeGetPaymentTransactions } from "../../actions/payment/get-payment-transactions";
|
|
6
6
|
import { PaymentService } from "../../api/services/payment.service";
|
|
7
7
|
import { Table } from "../../utils/table";
|
|
8
|
-
import { TableClickActions } from "../../ui-components/table/event-types";
|
|
9
|
-
import { table, tableCell } from "../../styles/parts";
|
|
10
8
|
import { StyledHost, TableEmptyState, TableErrorState, TableLoadingState } from "../../ui-components";
|
|
11
9
|
import { defaultColumnsKeys, paymentTransactionTableCells, paymentTransactionTableColumns } from "./payment-transactions-table";
|
|
10
|
+
import { TableWrapper, TableComponent, TableHead, TableHeadRow, TableBody, TableRow, TableFoot, TableFootRow, TableFootCell, TableClickActions } from "../../ui-components";
|
|
12
11
|
export class PaymentTransactionsList {
|
|
13
12
|
constructor() {
|
|
14
13
|
this.balanceTransactions = [];
|
|
@@ -16,7 +15,6 @@ export class PaymentTransactionsList {
|
|
|
16
15
|
this.errorMessage = null;
|
|
17
16
|
this.paging = pagingDefaults;
|
|
18
17
|
this.pagingParams = {};
|
|
19
|
-
this.apiOrigin = PROXY_API_ORIGIN;
|
|
20
18
|
this.columns = defaultColumnsKeys;
|
|
21
19
|
this.handleClickPrevious = (beforeCursor) => {
|
|
22
20
|
this.pagingParams = { before_cursor: beforeCursor };
|
|
@@ -55,8 +53,7 @@ export class PaymentTransactionsList {
|
|
|
55
53
|
const getPaymentTransactions = makeGetPaymentTransactions({
|
|
56
54
|
id: this.paymentId,
|
|
57
55
|
authToken: this.authToken,
|
|
58
|
-
service: new PaymentService()
|
|
59
|
-
apiOrigin: this.apiOrigin
|
|
56
|
+
service: new PaymentService()
|
|
60
57
|
});
|
|
61
58
|
getPaymentTransactions({
|
|
62
59
|
params: this.pagingParams,
|
|
@@ -92,7 +89,7 @@ export class PaymentTransactionsList {
|
|
|
92
89
|
return !this.showEmptyState && !this.showErrorState && !this.isLoading;
|
|
93
90
|
}
|
|
94
91
|
render() {
|
|
95
|
-
return (h(StyledHost, { key: '
|
|
92
|
+
return (h(StyledHost, { key: '95b1793a1b1dd1f30857a2da18884569bb37673a' }, h(TableWrapper, { key: '213c53810f28609c5166c4b7865a4b923db64148' }, h(TableComponent, { key: 'c4c9ad468955900dd3dadf55bf74961b347db725' }, h(TableHead, { key: '0aaa96e09c54865f5bbe74abf236db20a69c0df9' }, h(TableHeadRow, { key: '69258a4be5ddba8c3db1f2e801c7101a51efadd2' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '961a12de0888c9ab76ae708f1694955cadc05ffb' }, h(TableLoadingState, { key: 'd5d5b788698eb28ff2dcccf902694fb166f7e805', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '311f9238c5ed98e1801cd482967814e2d1b98547', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '86c6728fb2a4ff6a1de0032cda9a5e6fdfb2a19c', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.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: '4fe703ff7a69a534424fde0154203a0f1f0a2240' }, h(TableFootRow, { key: 'b6dafac49888c3745461a18723b74f46d1353478' }, h(TableFootCell, { key: '1906f0ab8f62c94cb976a37eb12ffb479ccb8333', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '114ec152e59ddd485f465774a7f8f656d618083a', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
96
93
|
}
|
|
97
94
|
static get is() { return "justifi-payment-transactions-list"; }
|
|
98
95
|
static get encapsulation() { return "shadow"; }
|
|
@@ -136,26 +133,6 @@ export class PaymentTransactionsList {
|
|
|
136
133
|
"setter": false,
|
|
137
134
|
"reflect": false
|
|
138
135
|
},
|
|
139
|
-
"apiOrigin": {
|
|
140
|
-
"type": "string",
|
|
141
|
-
"attribute": "api-origin",
|
|
142
|
-
"mutable": false,
|
|
143
|
-
"complexType": {
|
|
144
|
-
"original": "string",
|
|
145
|
-
"resolved": "string",
|
|
146
|
-
"references": {}
|
|
147
|
-
},
|
|
148
|
-
"required": false,
|
|
149
|
-
"optional": true,
|
|
150
|
-
"docs": {
|
|
151
|
-
"tags": [],
|
|
152
|
-
"text": ""
|
|
153
|
-
},
|
|
154
|
-
"getter": false,
|
|
155
|
-
"setter": false,
|
|
156
|
-
"reflect": false,
|
|
157
|
-
"defaultValue": "PROXY_API_ORIGIN"
|
|
158
|
-
},
|
|
159
136
|
"columns": {
|
|
160
137
|
"type": "string",
|
|
161
138
|
"attribute": "columns",
|
|
@@ -4,8 +4,7 @@ import { TableEmptyState, TableErrorState, TableLoadingState } from "../../ui-co
|
|
|
4
4
|
import { paymentTableCells, paymentTableColumns } from "./payments-table";
|
|
5
5
|
import { Table } from "../../utils/table";
|
|
6
6
|
import { getRequestParams, onQueryParamsChange } from "./payments-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 PaymentsListCore {
|
|
10
9
|
constructor() {
|
|
11
10
|
this.payments = [];
|
|
@@ -84,7 +83,7 @@ export class PaymentsListCore {
|
|
|
84
83
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
85
84
|
}
|
|
86
85
|
render() {
|
|
87
|
-
return (h(
|
|
86
|
+
return (h(TableWrapper, { key: '1317635730164f2193e9556589c1c8584b70cfbb' }, h(TableComponent, { key: '98f458d904f17105aa7f6fde313487fa1af08034' }, h(TableHead, { key: 'a70f53dc6484a001d51f2c937e9696ad4ea68d2c' }, h(TableHeadRow, { key: '93a807d6627175ff4030fc4de8e067809486b274' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: '4051081286f20f72d3e34f2484ada5413327b608' }, h(TableLoadingState, { key: 'e94bc4c5d2d4f2a24ee8ec906aa936ad0d497b84', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: 'be3fe38c674d7a587f77d91c4133d39359954135', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '55bb4161c9677940b78badbbc2a621e29404e213', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.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: '23e336810c59ab014b4a11fa5f9f087db2de9fa1' }, h(TableFootRow, { key: '848eb4d2cfd643472de22f6cd86d9a7121acdca6' }, h(TableFootCell, { key: 'b0c325d98775e1784173d45375018d94f8fc71cc', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: 'b61510a421ed0fcf54ff3b3318bc8b80db18c6b1', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
88
87
|
}
|
|
89
88
|
static get is() { return "payments-list-core"; }
|
|
90
89
|
static get properties() {
|
|
@@ -9,7 +9,6 @@ import { defaultColumnsKeys } from "./payments-table";
|
|
|
9
9
|
export class PaymentsList {
|
|
10
10
|
constructor() {
|
|
11
11
|
this.errorMessage = null;
|
|
12
|
-
this.apiOrigin = PROXY_API_ORIGIN;
|
|
13
12
|
this.columns = defaultColumnsKeys;
|
|
14
13
|
this.handleErrorEvent = (event) => {
|
|
15
14
|
this.errorMessage = event.detail.message;
|
|
@@ -32,8 +31,7 @@ export class PaymentsList {
|
|
|
32
31
|
this.getPayments = makeGetPayments({
|
|
33
32
|
id: this.accountId,
|
|
34
33
|
authToken: this.authToken,
|
|
35
|
-
service: new PaymentService()
|
|
36
|
-
apiOrigin: this.apiOrigin,
|
|
34
|
+
service: new PaymentService()
|
|
37
35
|
});
|
|
38
36
|
}
|
|
39
37
|
else {
|
|
@@ -46,7 +44,7 @@ export class PaymentsList {
|
|
|
46
44
|
}
|
|
47
45
|
}
|
|
48
46
|
render() {
|
|
49
|
-
return (h(StyledHost, { key: '
|
|
47
|
+
return (h(StyledHost, { key: '1527d43387894949810bae0fa5ebeb172f71bbaf' }, h("payments-list-core", { key: '198cbb929b4793c37a0963554d841ac7999e3c29', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
50
48
|
}
|
|
51
49
|
static get is() { return "justifi-payments-list"; }
|
|
52
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -90,26 +88,6 @@ export class PaymentsList {
|
|
|
90
88
|
"setter": false,
|
|
91
89
|
"reflect": false
|
|
92
90
|
},
|
|
93
|
-
"apiOrigin": {
|
|
94
|
-
"type": "string",
|
|
95
|
-
"attribute": "api-origin",
|
|
96
|
-
"mutable": false,
|
|
97
|
-
"complexType": {
|
|
98
|
-
"original": "string",
|
|
99
|
-
"resolved": "string",
|
|
100
|
-
"references": {}
|
|
101
|
-
},
|
|
102
|
-
"required": false,
|
|
103
|
-
"optional": true,
|
|
104
|
-
"docs": {
|
|
105
|
-
"tags": [],
|
|
106
|
-
"text": ""
|
|
107
|
-
},
|
|
108
|
-
"getter": false,
|
|
109
|
-
"setter": false,
|
|
110
|
-
"reflect": false,
|
|
111
|
-
"defaultValue": "PROXY_API_ORIGIN"
|
|
112
|
-
},
|
|
113
91
|
"columns": {
|
|
114
92
|
"type": "string",
|
|
115
93
|
"attribute": "columns",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ComponentErrorSeverity } from "../../api/ComponentError";
|
|
2
2
|
import { getErrorCode, getErrorMessage } from "../../api/services/utils";
|
|
3
|
-
export const makeGetPayoutCSV = ({ authToken, service
|
|
3
|
+
export const makeGetPayoutCSV = ({ authToken, service }) => async ({ payoutId, onError }) => {
|
|
4
4
|
try {
|
|
5
|
-
const { data } = await service.fetchCSV(payoutId, authToken
|
|
5
|
+
const { data } = await service.fetchCSV(payoutId, authToken);
|
|
6
6
|
const a = document.createElement('a');
|
|
7
7
|
a.href = data.csv_url;
|
|
8
8
|
a.click();
|
|
@@ -51,7 +51,10 @@ export class PayoutDetailsCore {
|
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
53
|
var _a;
|
|
54
|
-
return (h(StyledHost, { key: '62711161d74a4d4e76ea5dba50cdf658722ba3a5' }, this.loading && h(PayoutDetailsLoading, { key: '170bf58456fb93c687a9e5b71e364ed6d54ec965' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'eafc4215df8ecba2f3e767e91df54a67c48e0e69', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '849a324f0d5f545e502c1632a5af30da3f6caf74', slot: "head-info", badge: MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: 'ae0b4f158d3baf397880061f6fe25916ca870ac6', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '2e2f16f8c1e2f5b34fe986a311be4ae084d385ab', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '724abe3799d1a1c8f9a54130af715a2057218510', title: "ID", value: this.payout.id }), h("div", { key: '7ac70b4b6eee073384e223b01304d0ad0aaf0a64', class: "m-4" }, h(Button, { key: 'fc78f5a3b14e58aa3861592e81bc60c155d520e3', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '9ebede365566df145b3412b24d255e1b90740541', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '71cfc2676e1ac51b44de391547589fafb5189266', sectionTitle: "Details" }), h("div", { key: 'cba9946a2406c577d3b190cfbfe4b1eeaa27001e', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '1af9837addfc6fd3829fac3df8376958b7dbfbc7', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'f54690ff4578b7383feadd6420b14df1c79d398b', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '5013c67ee0ac8bd9495209fb5854a36665317d84', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '41cd7f0989ff44be01d78475e03486b2fb158911', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '6f047db81aae911ed4553fecda7baacdc5ff9209', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: 'b342e899b13489045a82051e563ff56c027107e8', sectionTitle: "Account" }), h("div", { key: '709be895334d0a4963ceeb762ac6e66a5a603d07', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '1e14ae8f0b329038ee2aea938be0ab4c1d2c35c9', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: '54ef8f31b5dd0698d50efe617db9fbdb8a2088eb', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '3cbe4043e92bc3d2a07d2970473b06bd92e56f33', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '482efcf4498b79cf724a50dd0d3ba0f38d02576d', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '7b3b961659e263e83268e178991627d04a2fcd46', title: "Account Number", value: this.payout.bank_account.account_number_last4 })),
|
|
54
|
+
return (h(StyledHost, { key: '62711161d74a4d4e76ea5dba50cdf658722ba3a5' }, this.loading && h(PayoutDetailsLoading, { key: '170bf58456fb93c687a9e5b71e364ed6d54ec965' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'eafc4215df8ecba2f3e767e91df54a67c48e0e69', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '849a324f0d5f545e502c1632a5af30da3f6caf74', slot: "head-info", badge: MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: 'ae0b4f158d3baf397880061f6fe25916ca870ac6', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '2e2f16f8c1e2f5b34fe986a311be4ae084d385ab', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '724abe3799d1a1c8f9a54130af715a2057218510', title: "ID", value: this.payout.id }), h("div", { key: '7ac70b4b6eee073384e223b01304d0ad0aaf0a64', class: "m-4" }, h(Button, { key: 'fc78f5a3b14e58aa3861592e81bc60c155d520e3', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '9ebede365566df145b3412b24d255e1b90740541', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '71cfc2676e1ac51b44de391547589fafb5189266', sectionTitle: "Details" }), h("div", { key: 'cba9946a2406c577d3b190cfbfe4b1eeaa27001e', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '1af9837addfc6fd3829fac3df8376958b7dbfbc7', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'f54690ff4578b7383feadd6420b14df1c79d398b', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '5013c67ee0ac8bd9495209fb5854a36665317d84', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '41cd7f0989ff44be01d78475e03486b2fb158911', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '6f047db81aae911ed4553fecda7baacdc5ff9209', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: 'b342e899b13489045a82051e563ff56c027107e8', sectionTitle: "Account" }), h("div", { key: '709be895334d0a4963ceeb762ac6e66a5a603d07', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '1e14ae8f0b329038ee2aea938be0ab4c1d2c35c9', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: '54ef8f31b5dd0698d50efe617db9fbdb8a2088eb', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '3cbe4043e92bc3d2a07d2970473b06bd92e56f33', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '482efcf4498b79cf724a50dd0d3ba0f38d02576d', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '7b3b961659e263e83268e178991627d04a2fcd46', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
|
|
55
|
+
h(DetailSectionTitle, { key: 'ea5e5e83e0889ee8b542fba2ddaedc7c0adcf15a', sectionTitle: 'Metadata' }),
|
|
56
|
+
h("div", { key: '52ed0e8f84b2a22e9846040877850b336db53a2a', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '50e37d3e2a27191b6e4899fcef64f9bd39241c9e', metadata: this.payout.metadata }))
|
|
57
|
+
])))));
|
|
55
58
|
}
|
|
56
59
|
static get is() { return "payout-details-core"; }
|
|
57
60
|
static get properties() {
|
|
@@ -8,7 +8,6 @@ import { makeGetPayoutCSV } from "./get-payout-csv";
|
|
|
8
8
|
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
9
9
|
export class PayoutDetails {
|
|
10
10
|
constructor() {
|
|
11
|
-
this.apiOrigin = PROXY_API_ORIGIN;
|
|
12
11
|
this.errorMessage = null;
|
|
13
12
|
this.handleErrorEvent = (event) => {
|
|
14
13
|
this.errorMessage = event.detail.message;
|
|
@@ -35,8 +34,7 @@ export class PayoutDetails {
|
|
|
35
34
|
});
|
|
36
35
|
this.getPayoutCSV = makeGetPayoutCSV({
|
|
37
36
|
authToken: this.authToken,
|
|
38
|
-
service: new PayoutService()
|
|
39
|
-
apiOrigin: this.apiOrigin
|
|
37
|
+
service: new PayoutService()
|
|
40
38
|
});
|
|
41
39
|
}
|
|
42
40
|
else {
|
|
@@ -95,26 +93,6 @@ export class PayoutDetails {
|
|
|
95
93
|
"getter": false,
|
|
96
94
|
"setter": false,
|
|
97
95
|
"reflect": false
|
|
98
|
-
},
|
|
99
|
-
"apiOrigin": {
|
|
100
|
-
"type": "string",
|
|
101
|
-
"attribute": "api-origin",
|
|
102
|
-
"mutable": false,
|
|
103
|
-
"complexType": {
|
|
104
|
-
"original": "string",
|
|
105
|
-
"resolved": "string",
|
|
106
|
-
"references": {}
|
|
107
|
-
},
|
|
108
|
-
"required": false,
|
|
109
|
-
"optional": true,
|
|
110
|
-
"docs": {
|
|
111
|
-
"tags": [],
|
|
112
|
-
"text": ""
|
|
113
|
-
},
|
|
114
|
-
"getter": false,
|
|
115
|
-
"setter": false,
|
|
116
|
-
"reflect": false,
|
|
117
|
-
"defaultValue": "PROXY_API_ORIGIN"
|
|
118
96
|
}
|
|
119
97
|
};
|
|
120
98
|
}
|