@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
|
@@ -5,10 +5,10 @@ import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
|
5
5
|
import { makeGetPayoutTransactions } from "../../actions/payout/get-payout-transactions";
|
|
6
6
|
import { PayoutService } from "../../api/services/payout.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, payoutTransactionTableCells, payoutTransactionTableColumns } from "./payout-transactions-table";
|
|
10
|
+
import { configState } from "../config-provider/config-state";
|
|
11
|
+
import { TableWrapper, TableComponent, TableHead, TableHeadRow, TableBody, TableRow, TableFoot, TableFootRow, TableFootCell, TableClickActions } from "../../ui-components";
|
|
12
12
|
export class PayoutTransactionsList {
|
|
13
13
|
constructor() {
|
|
14
14
|
this.balanceTransactions = [];
|
|
@@ -16,7 +16,6 @@ export class PayoutTransactionsList {
|
|
|
16
16
|
this.errorMessage = null;
|
|
17
17
|
this.paging = pagingDefaults;
|
|
18
18
|
this.pagingParams = {};
|
|
19
|
-
this.apiOrigin = PROXY_API_ORIGIN;
|
|
20
19
|
this.columns = defaultColumnsKeys;
|
|
21
20
|
this.handleClickPrevious = (beforeCursor) => {
|
|
22
21
|
this.pagingParams = { before_cursor: beforeCursor };
|
|
@@ -53,9 +52,9 @@ export class PayoutTransactionsList {
|
|
|
53
52
|
initializeApi() {
|
|
54
53
|
if (this.payoutId && this.authToken) {
|
|
55
54
|
const getPayoutTransactions = makeGetPayoutTransactions({
|
|
55
|
+
accountId: configState.accountId,
|
|
56
56
|
authToken: this.authToken,
|
|
57
|
-
service: new PayoutService()
|
|
58
|
-
apiOrigin: this.apiOrigin
|
|
57
|
+
service: new PayoutService()
|
|
59
58
|
});
|
|
60
59
|
getPayoutTransactions({
|
|
61
60
|
params: this.requestParams,
|
|
@@ -94,7 +93,7 @@ export class PayoutTransactionsList {
|
|
|
94
93
|
return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
|
|
95
94
|
}
|
|
96
95
|
render() {
|
|
97
|
-
return (h(StyledHost, { key: '
|
|
96
|
+
return (h(StyledHost, { key: 'c15333a496ff4f29710524031b91f979fc1040a8' }, h(TableWrapper, { key: '5dda158bb634fedd8be112998c38c5ec1b72b66b' }, h(TableComponent, { key: 'f544eb0dedb71c839acf940495eae56b011beef8' }, h(TableHead, { key: '8f2a6b42184729bbc28267fc4972b4fc30707ecf' }, h(TableHeadRow, { key: '856542645f4a044e50f0ac7b5dafb16d34c17402' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: 'ea02584be772897876cfbf5118d41a9a05ed334f' }, h(TableLoadingState, { key: 'c1decf54fc792f923bf7eee49dd64d8af9dd6ee8', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '55472bc004d891746153ce7ed8b3e900a9d9da94', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '6a3d87df445734a7c13fd96e8dc067e2df1ae0b0', 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: 'e5654630577e32efeb5243543fd53232827ab824' }, h(TableFootRow, { key: '331ad45703f29590dd1b03370ff431bde665e76d' }, h(TableFootCell, { key: '3c16d50d90c6c491d028a2ccbeaedab439338e77', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '8334f555005446837984ff51dc2b89ea5d7a0cd3', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
98
97
|
}
|
|
99
98
|
static get is() { return "justifi-payout-transactions-list"; }
|
|
100
99
|
static get encapsulation() { return "shadow"; }
|
|
@@ -138,26 +137,6 @@ export class PayoutTransactionsList {
|
|
|
138
137
|
"setter": false,
|
|
139
138
|
"reflect": false
|
|
140
139
|
},
|
|
141
|
-
"apiOrigin": {
|
|
142
|
-
"type": "string",
|
|
143
|
-
"attribute": "api-origin",
|
|
144
|
-
"mutable": false,
|
|
145
|
-
"complexType": {
|
|
146
|
-
"original": "string",
|
|
147
|
-
"resolved": "string",
|
|
148
|
-
"references": {}
|
|
149
|
-
},
|
|
150
|
-
"required": false,
|
|
151
|
-
"optional": true,
|
|
152
|
-
"docs": {
|
|
153
|
-
"tags": [],
|
|
154
|
-
"text": ""
|
|
155
|
-
},
|
|
156
|
-
"getter": false,
|
|
157
|
-
"setter": false,
|
|
158
|
-
"reflect": false,
|
|
159
|
-
"defaultValue": "PROXY_API_ORIGIN"
|
|
160
|
-
},
|
|
161
140
|
"columns": {
|
|
162
141
|
"type": "string",
|
|
163
142
|
"attribute": "columns",
|
|
@@ -5,8 +5,7 @@ import { TableEmptyState, TableErrorState, TableLoadingState } from "../../ui-co
|
|
|
5
5
|
import { payoutTableCells, payoutTableColumns } from "./payouts-table";
|
|
6
6
|
import { Table } from "../../utils/table";
|
|
7
7
|
import { getRequestParams, onQueryParamsChange } from "./payouts-list-params-state";
|
|
8
|
-
import {
|
|
9
|
-
import { TableClickActions } from "../../ui-components/table/event-types";
|
|
8
|
+
import { TableWrapper, TableComponent, TableHead, TableHeadRow, TableBody, TableRow, TableFoot, TableFootRow, TableFootCell, TableClickActions } from "../../ui-components";
|
|
10
9
|
export class PayoutsListCore {
|
|
11
10
|
constructor() {
|
|
12
11
|
this.payouts = [];
|
|
@@ -136,7 +135,7 @@ export class PayoutsListCore {
|
|
|
136
135
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
137
136
|
}
|
|
138
137
|
render() {
|
|
139
|
-
return (h(
|
|
138
|
+
return (h(TableWrapper, { key: '6a72c56b790f6d3bd656cadc3afa67b5ff9146a8' }, h(TableComponent, { key: '73a4df2c71493966d9dff59b1cb04ed2bc28de45' }, h(TableHead, { key: '238aad9fdc7dbbe23106527238a60bc66c071c89' }, h(TableHeadRow, { key: '57766da075cc1ca3ad2ef1ddd108c9868903a379' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: '287780d557ef70e52077fc4f29391010e16e801e' }, h(TableLoadingState, { key: 'e9a8e8170b426cc17792d2775098e43421a377dd', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'fa12703948e45d8fe9011d449a7e23933ceee245', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: '1287c1be18f6cf84f93747799e0a9c9e46de0fb8', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.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: '7f0c3b90cabe0db5859c80cbfc8e2fe0ea39346d' }, h(TableFootRow, { key: '9b702aadc9f9380f14ebe749ff67f8ea3ef62b1d' }, h(TableFootCell, { key: 'a8436f6401847c87b0a009005bb0abeff1498aad', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: '1121deb974ad2cd9b11152fbd7b539e91730f0ef', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
140
139
|
}
|
|
141
140
|
static get is() { return "payouts-list-core"; }
|
|
142
141
|
static get properties() {
|
|
@@ -6,13 +6,12 @@ import { PayoutService } from "../../api/services/payout.service";
|
|
|
6
6
|
import { makeGetPayouts } from "../../actions/payout/get-payouts";
|
|
7
7
|
import { makeGetPayoutCSV } from "../payout-details/get-payout-csv";
|
|
8
8
|
import { SubAccountService } from "../../api/services/subaccounts.service";
|
|
9
|
-
import { StyledHost
|
|
9
|
+
import { StyledHost } from "../../ui-components";
|
|
10
10
|
import { defaultColumnsKeys } from "./payouts-table";
|
|
11
11
|
import { makeGetSubAccounts } from "../../actions/sub-account/get-subaccounts";
|
|
12
12
|
export class PayoutsList {
|
|
13
13
|
constructor() {
|
|
14
14
|
this.errorMessage = null;
|
|
15
|
-
this.apiOrigin = PROXY_API_ORIGIN;
|
|
16
15
|
this.columns = defaultColumnsKeys;
|
|
17
16
|
this.handleOnError = (event) => {
|
|
18
17
|
this.errorMessage = event.detail.message;
|
|
@@ -39,8 +38,7 @@ export class PayoutsList {
|
|
|
39
38
|
const serviceParams = {
|
|
40
39
|
id: this.accountId,
|
|
41
40
|
authToken: this.authToken,
|
|
42
|
-
service: new PayoutService()
|
|
43
|
-
apiOrigin: this.apiOrigin
|
|
41
|
+
service: new PayoutService()
|
|
44
42
|
};
|
|
45
43
|
this.getPayouts = makeGetPayouts(serviceParams);
|
|
46
44
|
this.getPayoutCSV = makeGetPayoutCSV(serviceParams);
|
|
@@ -59,13 +57,12 @@ export class PayoutsList {
|
|
|
59
57
|
this.getSubAccounts = makeGetSubAccounts({
|
|
60
58
|
accountId: this.accountId,
|
|
61
59
|
authToken: this.authToken,
|
|
62
|
-
service: new SubAccountService()
|
|
63
|
-
apiOrigin: this.apiOrigin
|
|
60
|
+
service: new SubAccountService()
|
|
64
61
|
});
|
|
65
62
|
}
|
|
66
63
|
}
|
|
67
64
|
render() {
|
|
68
|
-
return (h(StyledHost, { key: '
|
|
65
|
+
return (h(StyledHost, { key: '7ce900caa8b472726cd7e100560359f2990798d9' }, h("payouts-list-core", { key: '4e5c40e2cfda6fcc5e2a5963eb432f500f76a8f9', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
|
|
69
66
|
}
|
|
70
67
|
static get is() { return "justifi-payouts-list"; }
|
|
71
68
|
static get encapsulation() { return "shadow"; }
|
|
@@ -109,26 +106,6 @@ export class PayoutsList {
|
|
|
109
106
|
"setter": false,
|
|
110
107
|
"reflect": false
|
|
111
108
|
},
|
|
112
|
-
"apiOrigin": {
|
|
113
|
-
"type": "string",
|
|
114
|
-
"attribute": "api-origin",
|
|
115
|
-
"mutable": false,
|
|
116
|
-
"complexType": {
|
|
117
|
-
"original": "string",
|
|
118
|
-
"resolved": "string",
|
|
119
|
-
"references": {}
|
|
120
|
-
},
|
|
121
|
-
"required": false,
|
|
122
|
-
"optional": true,
|
|
123
|
-
"docs": {
|
|
124
|
-
"tags": [],
|
|
125
|
-
"text": ""
|
|
126
|
-
},
|
|
127
|
-
"getter": false,
|
|
128
|
-
"setter": false,
|
|
129
|
-
"reflect": false,
|
|
130
|
-
"defaultValue": "PROXY_API_ORIGIN"
|
|
131
|
-
},
|
|
132
109
|
"columns": {
|
|
133
110
|
"type": "string",
|
|
134
111
|
"attribute": "columns",
|
|
@@ -20,7 +20,6 @@ export class RefundPayment {
|
|
|
20
20
|
this.paymentLoading = true;
|
|
21
21
|
this.refundLoading = false;
|
|
22
22
|
this.hideSubmitButton = false;
|
|
23
|
-
this.apiOrigin = PROXY_API_ORIGIN;
|
|
24
23
|
this.inputHandler = (name, value) => {
|
|
25
24
|
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
|
|
26
25
|
};
|
|
@@ -61,8 +60,7 @@ export class RefundPayment {
|
|
|
61
60
|
const getPayment = makeGetPaymentDetails({
|
|
62
61
|
id: this.paymentId,
|
|
63
62
|
authToken: this.authToken,
|
|
64
|
-
service: new PaymentService()
|
|
65
|
-
apiOrigin: this.apiOrigin
|
|
63
|
+
service: new PaymentService()
|
|
66
64
|
});
|
|
67
65
|
getPayment({
|
|
68
66
|
onSuccess: ({ payment }) => {
|
|
@@ -93,8 +91,7 @@ export class RefundPayment {
|
|
|
93
91
|
authToken: this.authToken,
|
|
94
92
|
accountId: this.accountId,
|
|
95
93
|
paymentId: this.paymentId,
|
|
96
|
-
service: new RefundService()
|
|
97
|
-
apiOrigin: this.apiOrigin
|
|
94
|
+
service: new RefundService()
|
|
98
95
|
});
|
|
99
96
|
const values = this.formController.values.getValue();
|
|
100
97
|
this.refundLoading = true;
|
|
@@ -204,26 +201,6 @@ export class RefundPayment {
|
|
|
204
201
|
"setter": false,
|
|
205
202
|
"reflect": false,
|
|
206
203
|
"defaultValue": "false"
|
|
207
|
-
},
|
|
208
|
-
"apiOrigin": {
|
|
209
|
-
"type": "string",
|
|
210
|
-
"attribute": "api-origin",
|
|
211
|
-
"mutable": false,
|
|
212
|
-
"complexType": {
|
|
213
|
-
"original": "string",
|
|
214
|
-
"resolved": "string",
|
|
215
|
-
"references": {}
|
|
216
|
-
},
|
|
217
|
-
"required": false,
|
|
218
|
-
"optional": true,
|
|
219
|
-
"docs": {
|
|
220
|
-
"tags": [],
|
|
221
|
-
"text": ""
|
|
222
|
-
},
|
|
223
|
-
"getter": false,
|
|
224
|
-
"setter": false,
|
|
225
|
-
"reflect": false,
|
|
226
|
-
"defaultValue": "PROXY_API_ORIGIN"
|
|
227
204
|
}
|
|
228
205
|
};
|
|
229
206
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { Table } from "../../utils/table";
|
|
3
|
-
import { table, tableCell } from "../../styles/parts";
|
|
4
3
|
import { TableEmptyState, TableErrorState, TableLoadingState } from "../../ui-components";
|
|
5
4
|
import { pagingDefaults } from "../../api";
|
|
6
5
|
import { terminalOrdersTableCells, terminalOrdersTableColumns } from "./terminal-orders-table";
|
|
7
|
-
import { TableClickActions } from "../../ui-components/table/event-types";
|
|
8
6
|
import { getRequestParams, onQueryParamsChange } from "./terminal-orders-list-params-state";
|
|
7
|
+
import { TableWrapper, TableComponent, TableHead, TableHeadRow, TableBody, TableRow, TableFoot, TableFootRow, TableFootCell, TableClickActions } from "../../ui-components";
|
|
9
8
|
export class TerminalOrdersListCore {
|
|
10
9
|
constructor() {
|
|
11
10
|
this.terminalOrders = [];
|
|
@@ -82,7 +81,7 @@ export class TerminalOrdersListCore {
|
|
|
82
81
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
83
82
|
}
|
|
84
83
|
render() {
|
|
85
|
-
return (h(
|
|
84
|
+
return (h(TableWrapper, { key: '762e52792b40b09a4c57d19d26b5320e704f713a' }, h(TableComponent, { key: '1562301b758030aba8fe9581c62adf9b74275bcd' }, h(TableHead, { key: '1dd7c7609faf3fb39946f05d1751611f63538b8d' }, h(TableHeadRow, { key: 'd37d994e00a6bbe8b93b562a93f123c67a3341c9' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: 'bd8ec9049642251c7f51c0525a07ef88a9a51335' }, h(TableLoadingState, { key: 'a2ff1894e1300d39ee84f190d531339e6086b68c', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '7e7df0ac99415c5d550479c274bd8bb88d8f5b58', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '954a6ee4143461c71624c39d09b41575e39f92da', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.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: 'd8d06e88358f2c07edd2abcb568c99705a3b384d' }, h(TableFootRow, { key: 'c02b4ab02901238f7e1e71178baa4f3f0ff0ee7e' }, h(TableFootCell, { key: 'f29db1ea1799cac1e459495e9029b9c12bfd559f', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '5a196810a73ffad57a2ee6556c6e2ad66f1079b0', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
86
85
|
}
|
|
87
86
|
static get is() { return "terminal-orders-list-core"; }
|
|
88
87
|
static get properties() {
|
|
@@ -9,7 +9,6 @@ import JustifiAnalytics from "../../api/Analytics";
|
|
|
9
9
|
export class TerminalOrdersList {
|
|
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;
|
|
@@ -26,8 +25,7 @@ export class TerminalOrdersList {
|
|
|
26
25
|
this.getTerminalOrders = makeGetTerminalOrders({
|
|
27
26
|
id: this.accountId,
|
|
28
27
|
authToken: this.authToken,
|
|
29
|
-
service: new TerminalOrderService()
|
|
30
|
-
apiOrigin: this.apiOrigin
|
|
28
|
+
service: new TerminalOrderService()
|
|
31
29
|
});
|
|
32
30
|
}
|
|
33
31
|
else {
|
|
@@ -40,7 +38,7 @@ export class TerminalOrdersList {
|
|
|
40
38
|
}
|
|
41
39
|
}
|
|
42
40
|
render() {
|
|
43
|
-
return (h(StyledHost, { key: '
|
|
41
|
+
return (h(StyledHost, { key: '4ebe88697536863b62a8bd63fac96eb5f93668d0' }, h("terminal-orders-list-core", { key: '6735068496d16cdd4df169708c93534bea78433a', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
44
42
|
}
|
|
45
43
|
static get is() { return "justifi-terminal-orders-list"; }
|
|
46
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -84,26 +82,6 @@ export class TerminalOrdersList {
|
|
|
84
82
|
"setter": false,
|
|
85
83
|
"reflect": false
|
|
86
84
|
},
|
|
87
|
-
"apiOrigin": {
|
|
88
|
-
"type": "string",
|
|
89
|
-
"attribute": "api-origin",
|
|
90
|
-
"mutable": false,
|
|
91
|
-
"complexType": {
|
|
92
|
-
"original": "string",
|
|
93
|
-
"resolved": "string",
|
|
94
|
-
"references": {}
|
|
95
|
-
},
|
|
96
|
-
"required": false,
|
|
97
|
-
"optional": true,
|
|
98
|
-
"docs": {
|
|
99
|
-
"tags": [],
|
|
100
|
-
"text": ""
|
|
101
|
-
},
|
|
102
|
-
"getter": false,
|
|
103
|
-
"setter": false,
|
|
104
|
-
"reflect": false,
|
|
105
|
-
"defaultValue": "PROXY_API_ORIGIN"
|
|
106
|
-
},
|
|
107
85
|
"columns": {
|
|
108
86
|
"type": "string",
|
|
109
87
|
"attribute": "columns",
|
|
@@ -4,8 +4,7 @@ import { TableEmptyState, TableErrorState, TableLoadingState } from "../../ui-co
|
|
|
4
4
|
import { terminalTableColumns, terminalTableCells } from "./terminals-table";
|
|
5
5
|
import { Table } from "../../utils/table";
|
|
6
6
|
import { getRequestParams, onQueryParamsChange } from "./terminals-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 TerminalsListCore {
|
|
10
9
|
constructor() {
|
|
11
10
|
this.terminals = [];
|
|
@@ -119,7 +118,7 @@ export class TerminalsListCore {
|
|
|
119
118
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
120
119
|
}
|
|
121
120
|
render() {
|
|
122
|
-
return (h(
|
|
121
|
+
return (h(TableWrapper, { key: 'e61c1a1c4c657391af256fa488187571914d270c' }, h(TableComponent, { key: '2878c1bd7a728f970d4818daf1543834672f6e48' }, h(TableHead, { key: 'b300dd224e6295e7d7ad38d2ff36ff2254ea652c' }, h(TableHeadRow, { key: '489ec5bc765f02611b8ccaa5d627c339963b07af' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: '0df4d9e27af46c419999fa7a2865ff19c8458dfb' }, h(TableLoadingState, { key: '0b78007d46a6191e47c3805c6c3a69ad17a20a7c', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '8f5763d3fb5dfdd774be0836833eb0bba9891d98', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: 'c9ecd51037ba42b721fe7f9daf6c290c6a14ccc0', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.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: '061d7606ab562de30d46f1e207eda3efae3a2f6c' }, h(TableFootRow, { key: 'e4c4751c3233b8f714fc3f809f108b0a6c6d8637' }, h(TableFootCell, { key: '16faad50eb6148f2bafac404961925b419e9d6f8', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '574f2e32ba7e10adac4e8e19c295b7ad5fd0da11', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
123
122
|
}
|
|
124
123
|
static get is() { return "terminals-list-core"; }
|
|
125
124
|
static get properties() {
|
|
@@ -11,7 +11,6 @@ import { makeGetSubAccounts } from "../../actions/sub-account/get-subaccounts";
|
|
|
11
11
|
export class TerminalsList {
|
|
12
12
|
constructor() {
|
|
13
13
|
this.errorMessage = null;
|
|
14
|
-
this.apiOrigin = PROXY_API_ORIGIN;
|
|
15
14
|
this.columns = defaultColumnsKeys;
|
|
16
15
|
this.handleErrorEvent = (event) => {
|
|
17
16
|
this.errorMessage = event.detail.message;
|
|
@@ -38,8 +37,7 @@ export class TerminalsList {
|
|
|
38
37
|
this.getTerminals = makeGetTerminals({
|
|
39
38
|
id: this.accountId,
|
|
40
39
|
authToken: this.authToken,
|
|
41
|
-
service: new TerminalService()
|
|
42
|
-
apiOrigin: this.apiOrigin
|
|
40
|
+
service: new TerminalService()
|
|
43
41
|
});
|
|
44
42
|
}
|
|
45
43
|
else {
|
|
@@ -56,13 +54,12 @@ export class TerminalsList {
|
|
|
56
54
|
this.getSubAccounts = makeGetSubAccounts({
|
|
57
55
|
accountId: this.accountId,
|
|
58
56
|
authToken: this.authToken,
|
|
59
|
-
service: new SubAccountService()
|
|
60
|
-
apiOrigin: this.apiOrigin
|
|
57
|
+
service: new SubAccountService()
|
|
61
58
|
});
|
|
62
59
|
}
|
|
63
60
|
}
|
|
64
61
|
render() {
|
|
65
|
-
return (h(StyledHost, { key: '
|
|
62
|
+
return (h(StyledHost, { key: 'f80199e30923fb9a50f66570087d41c5390e20a1' }, h("terminals-list-core", { key: 'ab3ed9809c1c629b3dd8ac5039294fd23b8c16a8', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
66
63
|
}
|
|
67
64
|
static get is() { return "justifi-terminals-list"; }
|
|
68
65
|
static get encapsulation() { return "shadow"; }
|
|
@@ -106,26 +103,6 @@ export class TerminalsList {
|
|
|
106
103
|
"setter": false,
|
|
107
104
|
"reflect": false
|
|
108
105
|
},
|
|
109
|
-
"apiOrigin": {
|
|
110
|
-
"type": "string",
|
|
111
|
-
"attribute": "api-origin",
|
|
112
|
-
"mutable": false,
|
|
113
|
-
"complexType": {
|
|
114
|
-
"original": "string",
|
|
115
|
-
"resolved": "string",
|
|
116
|
-
"references": {}
|
|
117
|
-
},
|
|
118
|
-
"required": false,
|
|
119
|
-
"optional": true,
|
|
120
|
-
"docs": {
|
|
121
|
-
"tags": [],
|
|
122
|
-
"text": ""
|
|
123
|
-
},
|
|
124
|
-
"getter": false,
|
|
125
|
-
"setter": false,
|
|
126
|
-
"reflect": false,
|
|
127
|
-
"defaultValue": "PROXY_API_ORIGIN"
|
|
128
|
-
},
|
|
129
106
|
"columns": {
|
|
130
107
|
"type": "string",
|
|
131
108
|
"attribute": "columns",
|
|
@@ -6,7 +6,6 @@ import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api";
|
|
|
6
6
|
export class TokenizePaymentMethod {
|
|
7
7
|
constructor() {
|
|
8
8
|
this.submitButtonText = 'Submit';
|
|
9
|
-
this.iframeOrigin = IFRAME_ORIGIN;
|
|
10
9
|
this.isLoading = false;
|
|
11
10
|
}
|
|
12
11
|
componentWillLoad() {
|
|
@@ -49,7 +48,7 @@ export class TokenizePaymentMethod {
|
|
|
49
48
|
return { isValid };
|
|
50
49
|
}
|
|
51
50
|
render() {
|
|
52
|
-
return (h(StyledHost, { key: '
|
|
51
|
+
return (h(StyledHost, { key: '793d33a01aea2b2fc0fb450f4cafdb7e9415a368' }, h("form", { key: '39eadbabf4dcdd4c833ddad8660b05be0c104e72' }, h("fieldset", { key: '513803de33328198b00331be2030f51461831fa4' }, h("div", { key: '8546fcdd07ec1e9838bf280e31eaa213c14fcea6', class: "row gy-3" }, h("div", { key: '073430ef8c08858e692728b4afc0bbc9a4a20957', class: "col-12" }, h("justifi-payment-method-options", { key: '096d12f54fcaab8242d1bcff21f2027f3bff6bb8', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, authToken: this.authToken, "account-id": this.accountId })), h("div", { key: 'dd257cd855231e9cd9ded138373d254cef484d6b', class: "col-12" }, h(Button, { key: '667161dfcb944ca6b62182cf0386be7e8a5fad1f', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText)))))));
|
|
53
52
|
}
|
|
54
53
|
static get is() { return "justifi-tokenize-payment-method"; }
|
|
55
54
|
static get encapsulation() { return "shadow"; }
|
|
@@ -226,26 +225,6 @@ export class TokenizePaymentMethod {
|
|
|
226
225
|
"getter": false,
|
|
227
226
|
"setter": false,
|
|
228
227
|
"reflect": false
|
|
229
|
-
},
|
|
230
|
-
"iframeOrigin": {
|
|
231
|
-
"type": "string",
|
|
232
|
-
"attribute": "iframe-origin",
|
|
233
|
-
"mutable": false,
|
|
234
|
-
"complexType": {
|
|
235
|
-
"original": "string",
|
|
236
|
-
"resolved": "string",
|
|
237
|
-
"references": {}
|
|
238
|
-
},
|
|
239
|
-
"required": false,
|
|
240
|
-
"optional": true,
|
|
241
|
-
"docs": {
|
|
242
|
-
"tags": [],
|
|
243
|
-
"text": ""
|
|
244
|
-
},
|
|
245
|
-
"getter": false,
|
|
246
|
-
"setter": false,
|
|
247
|
-
"reflect": false,
|
|
248
|
-
"defaultValue": "IFRAME_ORIGIN"
|
|
249
228
|
}
|
|
250
229
|
};
|
|
251
230
|
}
|
|
@@ -53,13 +53,26 @@ export const tooltipInner = `tooltip-inner ${text}`;
|
|
|
53
53
|
export const card = `card ${text} ${backgroundColor}`;
|
|
54
54
|
// Table
|
|
55
55
|
export const table = `table ${text} ${backgroundColor}`;
|
|
56
|
+
export const tableRow = `table-row ${text} ${backgroundColor}`;
|
|
56
57
|
export const tableCell = `table-cell ${text} ${backgroundColor}`;
|
|
57
|
-
export const
|
|
58
|
-
export const
|
|
59
|
-
export const
|
|
58
|
+
export const tableHead = `table-head`;
|
|
59
|
+
export const tableHeadRow = `table-head-row ${text} ${backgroundColor}`;
|
|
60
|
+
export const tableHeadCell = `table-head-cell ${tableCell}`;
|
|
61
|
+
export const tableFoot = `table-foot`;
|
|
62
|
+
export const tableFootRow = `table-foot-row ${text} ${backgroundColor}`;
|
|
63
|
+
export const tableFootCell = `table-foot-cell ${tableCell}`;
|
|
64
|
+
export const tableCellEven = `table-cell-even ${tableCell}`;
|
|
65
|
+
export const tableCellOdd = `table-cell-odd ${tableCell}`;
|
|
60
66
|
export const getAlternateTableCellPart = (index) => index % 2 ? tableCellEven : tableCellOdd;
|
|
61
67
|
export const tableEmpty = `table-empty ${text} ${backgroundColor}`;
|
|
62
68
|
export const tableError = `table-error ${text} ${backgroundColor}`;
|
|
69
|
+
// Pagination
|
|
70
|
+
export const paginationButton = `pagination-button ${button}`;
|
|
71
|
+
export const paginationButtonDisabled = `pagination-button-disabled ${buttonDisabled}`;
|
|
72
|
+
export const paginationButtonText = `pagination-button-text ${text}`;
|
|
73
|
+
export const paginationButtonIcon = `pagination-button-icon ${text}`;
|
|
74
|
+
export const paginationButtonIconNext = `pagination-button-icon-next ${paginationButtonIcon}`;
|
|
75
|
+
export const paginationButtonIconPrevious = `pagination-button-icon-previous ${paginationButtonIcon}`;
|
|
63
76
|
// Loading spinner
|
|
64
77
|
export const loadingSpinner = `loading-spinner`;
|
|
65
78
|
// Badge
|
|
@@ -74,6 +87,7 @@ export const badgeLight = `${badge} badge-light`;
|
|
|
74
87
|
export const badgeDark = `${badge} badge-dark`;
|
|
75
88
|
// Dropdown-menu
|
|
76
89
|
export const dropdownMenu = `dropdown-menu ${text}`;
|
|
90
|
+
export const dropdownMenuButton = `dropdown-menu-button ${buttonPrimary}`;
|
|
77
91
|
// Radio List Item
|
|
78
92
|
export const radioListItem = `radio-list-item ${text}`;
|
|
79
93
|
// Bootstrap list-group
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
export * from './button';
|
|
2
2
|
export * from './button-spinner';
|
|
3
3
|
export * from './styled-host/styled-host';
|
|
4
|
-
export * from './table/exported-parts';
|
|
5
|
-
export * from './table-empty-state';
|
|
6
|
-
export * from './table-error-state';
|
|
7
|
-
export * from './table-loading-state';
|
|
8
4
|
export * from './skeleton';
|
|
9
5
|
export * from './headers/header-1';
|
|
10
6
|
export * from './headers/header-2';
|
|
@@ -12,3 +8,4 @@ export * from './headers/header-3';
|
|
|
12
8
|
export * from './form/form-helpers/form-control-help-text';
|
|
13
9
|
export * from './form/form-helpers/form-control-error-text';
|
|
14
10
|
export * from './details/details';
|
|
11
|
+
export * from './table';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
import { ExtendedPagingDefaults } from "../../api/Pagination";
|
|
3
|
-
import {
|
|
3
|
+
import { paginationButton, paginationButtonDisabled, paginationButtonIconNext, paginationButtonIconPrevious, paginationButtonText } from "../../styles/parts";
|
|
4
4
|
export class PaginationMenu {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.paging = ExtendedPagingDefaults;
|
|
7
7
|
this.params = {};
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '7b821154b627026ef8624af6e4759e2176004676' }, h("nav", { key: '7990aee285d0cc3e6f83cb59bb216439e5364df5', "aria-label": "Table pagination", class: "d-flex justify-content-end gap-3" }, h("ul", { key: '02c68163934ce1aabf4abd607cc28e549e20ebe1', class: "pagination m-0" }, h("li", { key: 'aab661ae85fc61eecd230d058f135483796769c0', class: `page-item ${this.paging.has_previous ? '' : ' disabled'}` }, h("button", { key: 'ef42a41831a9890186c333418b161877761674e1', class: "page-link", onClick: (e) => {
|
|
11
11
|
e.preventDefault();
|
|
12
12
|
this.paging.handleClickPrevious(this.paging.start_cursor);
|
|
13
|
-
}, part: this.paging.has_previous ?
|
|
13
|
+
}, part: this.paging.has_previous ? paginationButton : paginationButtonDisabled }, h("span", { key: 'a898a92687e4a5fec37d9dab4208430260a9f274', class: "me-1", part: paginationButtonIconPrevious }, "\u00AB"), h("span", { key: 'ecc2eeedc064d405ad178b9a98ed088e12f1b2fb', part: paginationButtonText }, "Previous"))), h("li", { key: '56569cd9f9803ead8b1180e2f982a98d7009be1f', class: `page-item ${this.paging.has_next ? '' : ' disabled'}` }, h("button", { key: 'c39d389ab89609e8ce11b3dd81eb5c4a50d3521f', class: "page-link", onClick: (e) => {
|
|
14
14
|
e.preventDefault();
|
|
15
15
|
this.paging.handleClickNext(this.paging.end_cursor);
|
|
16
|
-
}, part: this.paging.has_next ?
|
|
16
|
+
}, part: this.paging.has_next ? paginationButton : paginationButtonDisabled }, h("span", { key: '6a01458a048a524931b03df6a964fa4a0ac403ac', part: paginationButtonText }, "Next"), h("span", { key: 'f4cb3d084647c00dff30b99f751180564463443f', class: "ms-1", part: paginationButtonIconNext }, "\u00BB")))))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "pagination-menu"; }
|
|
19
19
|
static get properties() {
|
package/dist/collection/ui-components/{table-loading-state.js → table/table-loading-state.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import Spinner from "
|
|
3
|
-
import { tableCell } from "
|
|
2
|
+
import Spinner from "../spinner";
|
|
3
|
+
import { tableCell } from "../../styles/parts";
|
|
4
4
|
export const TableLoadingState = (props) => {
|
|
5
5
|
const { columnSpan, isLoading } = props;
|
|
6
6
|
if (!columnSpan || !isLoading) {
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { table, tableRow, tableFoot, tableFootRow, tableFootCell, tableHead, tableHeadRow } from "../../styles/parts";
|
|
3
|
+
export const TableWrapper = (props, children) => {
|
|
4
|
+
return (h("div", Object.assign({ class: "table-wrapper", part: "table-wrapper" }, props), children));
|
|
5
|
+
};
|
|
6
|
+
export const TableComponent = (props, children) => {
|
|
7
|
+
return (h("table", Object.assign({ class: "table table-hover", part: table }, props), children));
|
|
8
|
+
};
|
|
9
|
+
export const TableBody = (props, children) => {
|
|
10
|
+
return (h("tbody", Object.assign({ class: "table-body" }, props), children));
|
|
11
|
+
};
|
|
12
|
+
export const TableRow = (props, children) => {
|
|
13
|
+
return (h("tr", Object.assign({ part: tableRow }, props), children));
|
|
14
|
+
};
|
|
15
|
+
export const TableHead = (props, children) => {
|
|
16
|
+
return (h("thead", Object.assign({ class: "table-head sticky-top", part: tableHead }, props), children));
|
|
17
|
+
};
|
|
18
|
+
export const TableHeadRow = (props, children) => {
|
|
19
|
+
return (h("tr", Object.assign({ class: "table-light text-nowrap", part: tableHeadRow }, props), children));
|
|
20
|
+
};
|
|
21
|
+
export const TableFoot = (props, children) => {
|
|
22
|
+
return (h("tfoot", Object.assign({ class: "sticky-bottom", part: tableFoot }, props), children));
|
|
23
|
+
};
|
|
24
|
+
export const TableFootRow = (props, children) => {
|
|
25
|
+
return (h("tr", Object.assign({ class: "table-light align-middle", part: tableFootRow }, props), children));
|
|
26
|
+
};
|
|
27
|
+
export const TableFootCell = (props, children) => {
|
|
28
|
+
return (h("td", Object.assign({ part: tableFootCell }, props), children));
|
|
29
|
+
};
|