@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
|
@@ -4,8 +4,8 @@ import { b as businessCoreInfoSchema } from './business-core-info-schema.js';
|
|
|
4
4
|
import { a as additionalQuestionsSchema } from './business-additional-questions-schema.js';
|
|
5
5
|
import { i as identitySchema } from './business-identity-schema.js';
|
|
6
6
|
import { a as addressSchema } from './business-address-schema.js';
|
|
7
|
-
import
|
|
8
|
-
import './ComponentError.js';
|
|
7
|
+
import './utils2.js';
|
|
8
|
+
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
|
|
9
9
|
import './Checkout.js';
|
|
10
10
|
import './Pagination.js';
|
|
11
11
|
import './Payment.js';
|
|
@@ -17,8 +17,11 @@ import { B as Button } from './button.js';
|
|
|
17
17
|
import { S as StyledHost } from './styled-host.js';
|
|
18
18
|
import { H as Header1 } from './header-1.js';
|
|
19
19
|
import './details.js';
|
|
20
|
+
import './event-types.js';
|
|
20
21
|
import { S as Skeleton } from './skeleton.js';
|
|
21
|
-
import { a as BusinessFormClickActions } from './event-
|
|
22
|
+
import { a as BusinessFormClickActions } from './event-types2.js';
|
|
23
|
+
import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions.js';
|
|
24
|
+
import { B as BusinessService } from './business.service.js';
|
|
22
25
|
import { d as defineCustomElement$e } from './custom-popper2.js';
|
|
23
26
|
import { d as defineCustomElement$d } from './form-alert2.js';
|
|
24
27
|
import { d as defineCustomElement$c } from './form-control-date2.js';
|
|
@@ -62,43 +65,34 @@ const BusinessForm = /*@__PURE__*/ proxyCustomElement(class BusinessForm extends
|
|
|
62
65
|
this.__attachShadow();
|
|
63
66
|
this.submitEvent = createEvent(this, "submit-event", 7);
|
|
64
67
|
this.clickEvent = createEvent(this, "click-event", 7);
|
|
68
|
+
this.errorEvent = createEvent(this, "error-event", 7);
|
|
69
|
+
this.isLoading = false;
|
|
70
|
+
this.isSaving = false;
|
|
65
71
|
this.hideErrors = false;
|
|
66
72
|
this.formTitle = 'Business Information';
|
|
67
73
|
this.removeTitle = false;
|
|
68
|
-
this.isLoading = false;
|
|
69
|
-
this.isSaving = false;
|
|
70
74
|
this.instantiateBusiness = (data) => {
|
|
71
75
|
const business = new Business(data);
|
|
72
76
|
this.formController.setInitialValues(Object.assign({}, business));
|
|
73
77
|
};
|
|
74
78
|
this.sendData = async () => {
|
|
75
79
|
this.isSaving = true;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
try {
|
|
93
|
-
const response = await this.api.get(this.businessEndpoint);
|
|
94
|
-
this.instantiateBusiness(response.data);
|
|
95
|
-
}
|
|
96
|
-
catch (error) {
|
|
97
|
-
this.errorMessage = BusinessFormServerErrors.fetchData;
|
|
98
|
-
}
|
|
99
|
-
finally {
|
|
100
|
-
this.isLoading = false;
|
|
101
|
-
}
|
|
80
|
+
const values = this.formController.values.getValue();
|
|
81
|
+
const initialValues = this.formController.getInitialValues();
|
|
82
|
+
const payload = new Business(Object.assign(Object.assign({}, initialValues), values)).payload;
|
|
83
|
+
this.patchBusiness({
|
|
84
|
+
payload,
|
|
85
|
+
onSuccess: (response) => {
|
|
86
|
+
this.handleReponse(response);
|
|
87
|
+
},
|
|
88
|
+
onError: ({ error, code, severity }) => {
|
|
89
|
+
this.errorMessage = error.message;
|
|
90
|
+
this.errorEvent.emit({ errorCode: code, message: error.message, severity });
|
|
91
|
+
},
|
|
92
|
+
final: () => {
|
|
93
|
+
this.isSaving = false;
|
|
94
|
+
}
|
|
95
|
+
});
|
|
102
96
|
};
|
|
103
97
|
this.validateAndSubmit = (event) => {
|
|
104
98
|
event.preventDefault();
|
|
@@ -108,15 +102,8 @@ const BusinessForm = /*@__PURE__*/ proxyCustomElement(class BusinessForm extends
|
|
|
108
102
|
componentWillLoad() {
|
|
109
103
|
checkPkgVersion();
|
|
110
104
|
this.analytics = new JustifiAnalytics(this);
|
|
111
|
-
const missingAuthTokenMessage = 'Warning: Missing auth-token. The form will not be functional without it.';
|
|
112
|
-
const missingBusinessIdMessage = 'Warning: Missing business-id. The form requires an existing business-id to function.';
|
|
113
|
-
if (!this.authToken)
|
|
114
|
-
console.error(missingAuthTokenMessage);
|
|
115
|
-
if (!this.businessId)
|
|
116
|
-
console.error(missingBusinessIdMessage);
|
|
117
105
|
this.formController = new FormController(businessFormSchema);
|
|
118
|
-
this.
|
|
119
|
-
this.fetchData();
|
|
106
|
+
this.initializeApi();
|
|
120
107
|
}
|
|
121
108
|
disconnectedCallback() {
|
|
122
109
|
this.analytics.cleanup();
|
|
@@ -130,11 +117,44 @@ const BusinessForm = /*@__PURE__*/ proxyCustomElement(class BusinessForm extends
|
|
|
130
117
|
get businessEndpoint() {
|
|
131
118
|
return `entities/business/${this.businessId}`;
|
|
132
119
|
}
|
|
120
|
+
initializeApi() {
|
|
121
|
+
if (this.authToken && this.businessId) {
|
|
122
|
+
this.getBusiness = makeGetBusiness({
|
|
123
|
+
authToken: this.authToken,
|
|
124
|
+
businessId: this.businessId,
|
|
125
|
+
service: new BusinessService()
|
|
126
|
+
});
|
|
127
|
+
this.patchBusiness = makePatchBusiness({
|
|
128
|
+
authToken: this.authToken,
|
|
129
|
+
businessId: this.businessId,
|
|
130
|
+
service: new BusinessService()
|
|
131
|
+
});
|
|
132
|
+
this.getBusiness({
|
|
133
|
+
onSuccess: (response) => {
|
|
134
|
+
this.instantiateBusiness(response.data);
|
|
135
|
+
},
|
|
136
|
+
onError: ({ error, code, severity }) => {
|
|
137
|
+
this.errorMessage = error.message;
|
|
138
|
+
this.errorEvent.emit({ errorCode: code, message: error.message, severity });
|
|
139
|
+
},
|
|
140
|
+
final: () => {
|
|
141
|
+
this.isLoading = false;
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
else {
|
|
146
|
+
this.errorEvent.emit({
|
|
147
|
+
message: 'auth-token and business-id are required',
|
|
148
|
+
errorCode: ComponentErrorCodes.MISSING_PROPS,
|
|
149
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
}
|
|
133
153
|
handleReponse(response) {
|
|
134
154
|
if (response.error) {
|
|
135
155
|
this.errorMessage = BusinessFormServerErrors.patchData;
|
|
136
156
|
}
|
|
137
|
-
this.submitEvent.emit({ response
|
|
157
|
+
this.submitEvent.emit({ response });
|
|
138
158
|
this.instantiateBusiness(response.data);
|
|
139
159
|
}
|
|
140
160
|
render() {
|
|
@@ -82,7 +82,6 @@ const Checkout = /*@__PURE__*/ proxyCustomElement(class Checkout extends HTMLEle
|
|
|
82
82
|
this.__registerHost();
|
|
83
83
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
84
84
|
this.loadedEvent = createEvent(this, "loaded", 7);
|
|
85
|
-
this.iframeOrigin = "https://components.justifi.ai";
|
|
86
85
|
this.errorMessage = '';
|
|
87
86
|
}
|
|
88
87
|
componentWillLoad() {
|
|
@@ -125,11 +124,11 @@ const Checkout = /*@__PURE__*/ proxyCustomElement(class Checkout extends HTMLEle
|
|
|
125
124
|
return { isValid };
|
|
126
125
|
}
|
|
127
126
|
render() {
|
|
128
|
-
return (h("justifi-checkout-core", { key: '
|
|
127
|
+
return (h("justifi-checkout-core", { key: '2a0e3529580beae8de71d6305e3ca9af2c705ee5', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, ref: el => {
|
|
129
128
|
if (el) {
|
|
130
129
|
this.checkoutCoreRef = el;
|
|
131
130
|
}
|
|
132
|
-
} }, h("div", { key: '
|
|
131
|
+
} }, h("div", { key: '132ad877917930b63fdd9d4ff5432d2f6a82a76d', slot: "insurance" }, h("slot", { key: '9854d96105ebac1adc176ea195f0e0b2b792b125', name: "insurance" }))));
|
|
133
132
|
}
|
|
134
133
|
static get watchers() { return {
|
|
135
134
|
"authToken": ["propChanged"],
|
|
@@ -144,7 +143,6 @@ const Checkout = /*@__PURE__*/ proxyCustomElement(class Checkout extends HTMLEle
|
|
|
144
143
|
"disablePaymentMethodGroup": [4, "disable-payment-method-group"],
|
|
145
144
|
"hideCardBillingForm": [4, "hide-card-billing-form"],
|
|
146
145
|
"hideBankAccountBillingForm": [4, "hide-bank-account-billing-form"],
|
|
147
|
-
"iframeOrigin": [1, "iframe-origin"],
|
|
148
146
|
"getCheckout": [32],
|
|
149
147
|
"complete": [32],
|
|
150
148
|
"errorMessage": [32],
|
|
@@ -7,9 +7,10 @@ import './Payment.js';
|
|
|
7
7
|
import './Refund.js';
|
|
8
8
|
import './Document.js';
|
|
9
9
|
import { f as filterParams, p as propsParams, c as clearParams } from './checkouts-list-params-state.js';
|
|
10
|
-
import {
|
|
10
|
+
import { a2 as checkoutsListFilterMenu, a3 as statusCheckoutsListFilterParam, a4 as paymentModeCheckoutsListFilterParam } from './parts.js';
|
|
11
11
|
import { S as StyledHost } from './styled-host.js';
|
|
12
12
|
import './details.js';
|
|
13
|
+
import './event-types.js';
|
|
13
14
|
import { d as defineCustomElement$5 } from './custom-popper2.js';
|
|
14
15
|
import { d as defineCustomElement$4 } from './form-control-select2.js';
|
|
15
16
|
import { d as defineCustomElement$3 } from './form-control-tooltip2.js';
|
|
@@ -12,13 +12,14 @@ import { C as CheckoutService } from './checkout.service.js';
|
|
|
12
12
|
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
|
|
13
13
|
import { S as StyledHost } from './styled-host.js';
|
|
14
14
|
import './details.js';
|
|
15
|
+
import './event-types.js';
|
|
15
16
|
import { d as defineCustomElement$3, a as defaultColumnsKeys } from './checkouts-list-core2.js';
|
|
16
17
|
import { d as defineCustomElement$2 } from './pagination-menu2.js';
|
|
17
18
|
|
|
18
|
-
const makeGetCheckouts = ({ accountId, authToken, service
|
|
19
|
+
const makeGetCheckouts = ({ accountId, authToken, service }) => async ({ params, onSuccess, onError }) => {
|
|
19
20
|
var _a, _b;
|
|
20
21
|
try {
|
|
21
|
-
const response = await service.fetchCheckouts(accountId, authToken, params
|
|
22
|
+
const response = await service.fetchCheckouts(accountId, authToken, params);
|
|
22
23
|
if (!response.error) {
|
|
23
24
|
const pagingInfo = Object.assign({}, response.page_info);
|
|
24
25
|
const checkouts = ((_a = response.data) === null || _a === void 0 ? void 0 : _a.map((dataItem) => new Checkout(dataItem))) || [];
|
|
@@ -51,7 +52,6 @@ const CheckoutsList = /*@__PURE__*/ proxyCustomElement(class CheckoutsList exten
|
|
|
51
52
|
this.__attachShadow();
|
|
52
53
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
53
54
|
this.errorMessage = null;
|
|
54
|
-
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
55
55
|
this.columns = defaultColumnsKeys;
|
|
56
56
|
this.handleErrorEvent = (event) => {
|
|
57
57
|
this.errorMessage = event.detail.message;
|
|
@@ -78,8 +78,7 @@ const CheckoutsList = /*@__PURE__*/ proxyCustomElement(class CheckoutsList exten
|
|
|
78
78
|
this.getCheckouts = makeGetCheckouts({
|
|
79
79
|
accountId: this.accountId,
|
|
80
80
|
authToken: this.authToken,
|
|
81
|
-
service: new CheckoutService()
|
|
82
|
-
apiOrigin: this.apiOrigin,
|
|
81
|
+
service: new CheckoutService()
|
|
83
82
|
});
|
|
84
83
|
}
|
|
85
84
|
else {
|
|
@@ -96,13 +95,12 @@ const CheckoutsList = /*@__PURE__*/ proxyCustomElement(class CheckoutsList exten
|
|
|
96
95
|
this.getSubAccounts = makeGetSubAccounts({
|
|
97
96
|
accountId: this.accountId,
|
|
98
97
|
authToken: this.authToken,
|
|
99
|
-
service: new SubAccountService()
|
|
100
|
-
apiOrigin: this.apiOrigin
|
|
98
|
+
service: new SubAccountService()
|
|
101
99
|
});
|
|
102
100
|
}
|
|
103
101
|
}
|
|
104
102
|
render() {
|
|
105
|
-
return (h(StyledHost, { key: '
|
|
103
|
+
return (h(StyledHost, { key: '086d85512b11a65ac2d8960f515e373093d4bd96' }, h("checkouts-list-core", { key: 'abe06be934ac5f13ec98425f29c6b6b7c0ff4456', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
106
104
|
}
|
|
107
105
|
static get watchers() { return {
|
|
108
106
|
"accountId": ["propChanged"],
|
|
@@ -111,7 +109,6 @@ const CheckoutsList = /*@__PURE__*/ proxyCustomElement(class CheckoutsList exten
|
|
|
111
109
|
}, [1, "justifi-checkouts-list", {
|
|
112
110
|
"accountId": [1, "account-id"],
|
|
113
111
|
"authToken": [1, "auth-token"],
|
|
114
|
-
"apiOrigin": [1, "api-origin"],
|
|
115
112
|
"columns": [1],
|
|
116
113
|
"getCheckouts": [32],
|
|
117
114
|
"getSubAccounts": [32],
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface JustifiConfigProvider extends Components.JustifiConfigProvider, HTMLElement {}
|
|
4
|
+
export const JustifiConfigProvider: {
|
|
5
|
+
prototype: JustifiConfigProvider;
|
|
6
|
+
new (): JustifiConfigProvider;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement } from '@stencil/core/internal/client';
|
|
2
|
+
import { s as setConfigState } from './config-state.js';
|
|
3
|
+
|
|
4
|
+
const ConfigProvider = /*@__PURE__*/ proxyCustomElement(class ConfigProvider extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
9
|
+
this.iframeOrigin = "https://components.justifi.ai";
|
|
10
|
+
this.accountId = '';
|
|
11
|
+
}
|
|
12
|
+
componentWillLoad() {
|
|
13
|
+
setConfigState({
|
|
14
|
+
apiOrigin: this.apiOrigin,
|
|
15
|
+
iframeOrigin: this.iframeOrigin,
|
|
16
|
+
accountId: this.accountId
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
render() {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
}, [0, "justifi-config-provider", {
|
|
23
|
+
"apiOrigin": [1, "api-origin"],
|
|
24
|
+
"iframeOrigin": [1, "iframe-origin"],
|
|
25
|
+
"accountId": [1, "account-id"]
|
|
26
|
+
}]);
|
|
27
|
+
function defineCustomElement$1() {
|
|
28
|
+
if (typeof customElements === "undefined") {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
const components = ["justifi-config-provider"];
|
|
32
|
+
components.forEach(tagName => { switch (tagName) {
|
|
33
|
+
case "justifi-config-provider":
|
|
34
|
+
if (!customElements.get(tagName)) {
|
|
35
|
+
customElements.define(tagName, ConfigProvider);
|
|
36
|
+
}
|
|
37
|
+
break;
|
|
38
|
+
} });
|
|
39
|
+
}
|
|
40
|
+
defineCustomElement$1();
|
|
41
|
+
|
|
42
|
+
const JustifiConfigProvider = ConfigProvider;
|
|
43
|
+
const defineCustomElement = defineCustomElement$1;
|
|
44
|
+
|
|
45
|
+
export { JustifiConfigProvider, defineCustomElement };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
|
|
3
3
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
|
|
4
|
-
import {
|
|
4
|
+
import { a as Dispute } from './Dispute.js';
|
|
5
5
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
6
6
|
import { D as DisputeService } from './dispute-response-actions.js';
|
|
7
7
|
import { d as defineCustomElement$k } from './custom-popper2.js';
|
|
@@ -24,10 +24,10 @@ import { d as defineCustomElement$4 } from './product-or-service.js';
|
|
|
24
24
|
import { d as defineCustomElement$3 } from './refund-policy.js';
|
|
25
25
|
import { d as defineCustomElement$2 } from './shipping-details.js';
|
|
26
26
|
|
|
27
|
-
const makeGetDispute = ({ id, authToken, service
|
|
27
|
+
const makeGetDispute = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
28
28
|
var _a;
|
|
29
29
|
try {
|
|
30
|
-
const response = await service.fetchDispute(id, authToken
|
|
30
|
+
const response = await service.fetchDispute(id, authToken);
|
|
31
31
|
if (!response.error) {
|
|
32
32
|
const pagingInfo = Object.assign({}, response.page_info);
|
|
33
33
|
const dispute = new Dispute(response.data);
|
|
@@ -58,7 +58,6 @@ const DisputeManagement = /*@__PURE__*/ proxyCustomElement(class DisputeManageme
|
|
|
58
58
|
super();
|
|
59
59
|
this.__registerHost();
|
|
60
60
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
61
|
-
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
62
61
|
this.errorMessage = null;
|
|
63
62
|
this.handleErrorEvent = event => {
|
|
64
63
|
this.errorMessage = event.detail.message;
|
|
@@ -82,8 +81,7 @@ const DisputeManagement = /*@__PURE__*/ proxyCustomElement(class DisputeManageme
|
|
|
82
81
|
this.getDispute = makeGetDispute({
|
|
83
82
|
id: this.disputeId,
|
|
84
83
|
authToken: this.authToken,
|
|
85
|
-
service: new DisputeService()
|
|
86
|
-
apiOrigin: this.apiOrigin,
|
|
84
|
+
service: new DisputeService()
|
|
87
85
|
});
|
|
88
86
|
}
|
|
89
87
|
else {
|
|
@@ -96,7 +94,7 @@ const DisputeManagement = /*@__PURE__*/ proxyCustomElement(class DisputeManageme
|
|
|
96
94
|
}
|
|
97
95
|
}
|
|
98
96
|
render() {
|
|
99
|
-
return (h("justifi-dispute-management-core", { key: '
|
|
97
|
+
return (h("justifi-dispute-management-core", { key: '12e281244496ede936b191dbc5b4069404d931e9', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
|
|
100
98
|
}
|
|
101
99
|
static get watchers() { return {
|
|
102
100
|
"disputeId": ["propChanged"],
|
|
@@ -105,7 +103,6 @@ const DisputeManagement = /*@__PURE__*/ proxyCustomElement(class DisputeManageme
|
|
|
105
103
|
}, [0, "justifi-dispute-management", {
|
|
106
104
|
"disputeId": [1, "dispute-id"],
|
|
107
105
|
"authToken": [1, "auth-token"],
|
|
108
|
-
"apiOrigin": [1, "api-origin"],
|
|
109
106
|
"getDispute": [32],
|
|
110
107
|
"errorMessage": [32]
|
|
111
108
|
}, undefined, {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { X as heading4, _ as heading5, a0 as buttonPrimary, t as text } from './parts.js';
|
|
3
3
|
import { S as StyledHost } from './styled-host.js';
|
|
4
4
|
import './details.js';
|
|
5
|
+
import './event-types.js';
|
|
5
6
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
|
|
6
7
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
|
|
7
8
|
import { B as BusinessService } from './business.service.js';
|
|
@@ -57,10 +58,10 @@ const TerminalSelectorLoading = () => {
|
|
|
57
58
|
h(Skeleton, null)))))));
|
|
58
59
|
};
|
|
59
60
|
|
|
60
|
-
const makeGetTerminalModels = ({ id, authToken, service
|
|
61
|
+
const makeGetTerminalModels = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
61
62
|
var _a, _b, _c, _d;
|
|
62
63
|
try {
|
|
63
|
-
const response = await service.fetchTerminalModels(id, authToken
|
|
64
|
+
const response = await service.fetchTerminalModels(id, authToken);
|
|
64
65
|
if (!response.error) {
|
|
65
66
|
const terminals = ((_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.terminal_order_models) === null || _b === void 0 ? void 0 : _b.map((dataItem) => new TerminalModel(dataItem))) || [];
|
|
66
67
|
const orderLimit = (_c = response.data) === null || _c === void 0 ? void 0 : _c.order_limit;
|
|
@@ -122,7 +123,6 @@ const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals ext
|
|
|
122
123
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
123
124
|
this.submitted = createEvent(this, "submit-event", 7);
|
|
124
125
|
this.shipping = false;
|
|
125
|
-
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
126
126
|
this.submitButtonText = 'Submit Order';
|
|
127
127
|
this.loading = {
|
|
128
128
|
business: true,
|
|
@@ -158,8 +158,7 @@ const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals ext
|
|
|
158
158
|
makeGetBusiness({
|
|
159
159
|
id: this.businessId,
|
|
160
160
|
authToken: this.authToken,
|
|
161
|
-
service: new BusinessService()
|
|
162
|
-
apiOrigin: this.apiOrigin,
|
|
161
|
+
service: new BusinessService()
|
|
163
162
|
})({
|
|
164
163
|
onSuccess: ({ business }) => {
|
|
165
164
|
this.business = new Business(business);
|
|
@@ -175,8 +174,7 @@ const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals ext
|
|
|
175
174
|
makeGetTerminalModels({
|
|
176
175
|
id: this.accountId,
|
|
177
176
|
authToken: this.authToken,
|
|
178
|
-
service: new TerminalService()
|
|
179
|
-
apiOrigin: this.apiOrigin,
|
|
177
|
+
service: new TerminalService()
|
|
180
178
|
})({
|
|
181
179
|
onSuccess: ({ terminals, orderLimit }) => {
|
|
182
180
|
this.terminalModels = terminals;
|
|
@@ -192,8 +190,7 @@ const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals ext
|
|
|
192
190
|
submitOrder() {
|
|
193
191
|
const orderTerminals = makeOrderTerminals({
|
|
194
192
|
authToken: this.authToken,
|
|
195
|
-
service: new TerminalService()
|
|
196
|
-
apiOrigin: this.apiOrigin,
|
|
193
|
+
service: new TerminalService()
|
|
197
194
|
});
|
|
198
195
|
this.submitting = true;
|
|
199
196
|
orderTerminals({
|
|
@@ -230,14 +227,13 @@ const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals ext
|
|
|
230
227
|
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))));
|
|
231
228
|
}
|
|
232
229
|
render() {
|
|
233
|
-
return (h(StyledHost, { key: '
|
|
230
|
+
return (h(StyledHost, { key: '47251af3261d16cfc067bca3b3810805d93ba36d' }, h("div", { key: '13c73bb09cdbad48ee7b15089daf1b6bf56cf256', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
|
|
234
231
|
}
|
|
235
232
|
}, [1, "justifi-order-terminals", {
|
|
236
233
|
"businessId": [1, "business-id"],
|
|
237
234
|
"authToken": [1, "auth-token"],
|
|
238
235
|
"accountId": [1, "account-id"],
|
|
239
236
|
"shipping": [4],
|
|
240
|
-
"apiOrigin": [1, "api-origin"],
|
|
241
237
|
"submitButtonText": [1, "submit-button-text"],
|
|
242
238
|
"loading": [32],
|
|
243
239
|
"submitting": [32],
|
|
@@ -13,7 +13,6 @@ const PaymentDetails = /*@__PURE__*/ proxyCustomElement(class PaymentDetails ext
|
|
|
13
13
|
this.__registerHost();
|
|
14
14
|
this.__attachShadow();
|
|
15
15
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
16
|
-
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
17
16
|
this.errorMessage = null;
|
|
18
17
|
this.paymentService = new PaymentService();
|
|
19
18
|
this.handleErrorEvent = event => {
|
|
@@ -38,8 +37,7 @@ const PaymentDetails = /*@__PURE__*/ proxyCustomElement(class PaymentDetails ext
|
|
|
38
37
|
this.getPaymentDetails = makeGetPaymentDetails({
|
|
39
38
|
id: this.paymentId,
|
|
40
39
|
authToken: this.authToken,
|
|
41
|
-
service: new PaymentService()
|
|
42
|
-
apiOrigin: this.apiOrigin
|
|
40
|
+
service: new PaymentService()
|
|
43
41
|
});
|
|
44
42
|
}
|
|
45
43
|
else {
|
|
@@ -64,7 +62,6 @@ const PaymentDetails = /*@__PURE__*/ proxyCustomElement(class PaymentDetails ext
|
|
|
64
62
|
}, [1, "justifi-payment-details", {
|
|
65
63
|
"paymentId": [1, "payment-id"],
|
|
66
64
|
"authToken": [1, "auth-token"],
|
|
67
|
-
"apiOrigin": [1, "api-origin"],
|
|
68
65
|
"getPaymentDetails": [32],
|
|
69
66
|
"errorMessage": [32]
|
|
70
67
|
}, undefined, {
|
|
@@ -3,7 +3,7 @@ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version
|
|
|
3
3
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
|
|
4
4
|
import { m as makeGetBusiness, g as makePostProvisioning } from './payment-provisioning-actions.js';
|
|
5
5
|
import { B as BusinessService } from './business.service.js';
|
|
6
|
-
import { A as Api } from './
|
|
6
|
+
import { A as Api } from './ApiNew.js';
|
|
7
7
|
import { d as defineCustomElement$y } from './bank-account-document-inputs.js';
|
|
8
8
|
import { d as defineCustomElement$x } from './bank-account-form-inputs2.js';
|
|
9
9
|
import { d as defineCustomElement$w } from './business-documents-on-file2.js';
|
|
@@ -38,17 +38,15 @@ import { d as defineCustomElement$4 } from './payment-provisioning-form-steps.js
|
|
|
38
38
|
import { d as defineCustomElement$3 } from './owner-form-core2.js';
|
|
39
39
|
import { d as defineCustomElement$2 } from './owner-form-inputs2.js';
|
|
40
40
|
|
|
41
|
+
const api = Api();
|
|
41
42
|
class ProvisionService {
|
|
42
43
|
async postProvisioning(authToken, businessId, product) {
|
|
43
44
|
const endpoint = `entities/provisioning`;
|
|
44
|
-
const
|
|
45
|
+
const body = {
|
|
45
46
|
business_id: businessId,
|
|
46
47
|
product_category: product,
|
|
47
48
|
};
|
|
48
|
-
return
|
|
49
|
-
endpoint,
|
|
50
|
-
body: payload,
|
|
51
|
-
});
|
|
49
|
+
return api.post({ endpoint, body, authToken });
|
|
52
50
|
}
|
|
53
51
|
}
|
|
54
52
|
|
|
@@ -9,16 +9,17 @@ import './Document.js';
|
|
|
9
9
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
|
|
10
10
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
11
11
|
import { P as PaymentService } from './payment.service.js';
|
|
12
|
-
import { T as
|
|
13
|
-
import { n as tableHeadCell, a2 as getAlternateTableCellPart, m as table, o as tableCell } from './parts.js';
|
|
12
|
+
import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
|
|
14
13
|
import { S as StyledHost } from './styled-host.js';
|
|
15
14
|
import './details.js';
|
|
15
|
+
import { T as TableClickActions } from './event-types.js';
|
|
16
|
+
import { n as tableHeadCell, a7 as getAlternateTableCellPart } from './parts.js';
|
|
16
17
|
import { d as defineCustomElement$2 } from './pagination-menu2.js';
|
|
17
18
|
|
|
18
|
-
const makeGetPaymentTransactions = ({ id, authToken, service
|
|
19
|
+
const makeGetPaymentTransactions = ({ id, authToken, service }) => async ({ params, onSuccess, onError, final }) => {
|
|
19
20
|
var _a;
|
|
20
21
|
try {
|
|
21
|
-
const response = await service.fetchPaymentTransactions(id, authToken, params
|
|
22
|
+
const response = await service.fetchPaymentTransactions(id, authToken, params);
|
|
22
23
|
if (!response.error) {
|
|
23
24
|
const balanceTransactions = response.data.map((dataItem) => new PaymentBalanceTransaction(dataItem));
|
|
24
25
|
const pagingInfo = Object.assign({}, response.page_info);
|
|
@@ -104,7 +105,6 @@ const PaymentTransactionsList = /*@__PURE__*/ proxyCustomElement(class PaymentTr
|
|
|
104
105
|
this.errorMessage = null;
|
|
105
106
|
this.paging = pagingDefaults;
|
|
106
107
|
this.pagingParams = {};
|
|
107
|
-
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
108
108
|
this.columns = defaultColumnsKeys;
|
|
109
109
|
this.handleClickPrevious = (beforeCursor) => {
|
|
110
110
|
this.pagingParams = { before_cursor: beforeCursor };
|
|
@@ -143,8 +143,7 @@ const PaymentTransactionsList = /*@__PURE__*/ proxyCustomElement(class PaymentTr
|
|
|
143
143
|
const getPaymentTransactions = makeGetPaymentTransactions({
|
|
144
144
|
id: this.paymentId,
|
|
145
145
|
authToken: this.authToken,
|
|
146
|
-
service: new PaymentService()
|
|
147
|
-
apiOrigin: this.apiOrigin
|
|
146
|
+
service: new PaymentService()
|
|
148
147
|
});
|
|
149
148
|
getPaymentTransactions({
|
|
150
149
|
params: this.pagingParams,
|
|
@@ -180,7 +179,7 @@ const PaymentTransactionsList = /*@__PURE__*/ proxyCustomElement(class PaymentTr
|
|
|
180
179
|
return !this.showEmptyState && !this.showErrorState && !this.isLoading;
|
|
181
180
|
}
|
|
182
181
|
render() {
|
|
183
|
-
return (h(StyledHost, { key: '
|
|
182
|
+
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 }) })))))))));
|
|
184
183
|
}
|
|
185
184
|
static get watchers() { return {
|
|
186
185
|
"pagingParams": ["propChanged"],
|
|
@@ -190,7 +189,6 @@ const PaymentTransactionsList = /*@__PURE__*/ proxyCustomElement(class PaymentTr
|
|
|
190
189
|
}, [1, "justifi-payment-transactions-list", {
|
|
191
190
|
"paymentId": [1, "payment-id"],
|
|
192
191
|
"authToken": [1, "auth-token"],
|
|
193
|
-
"apiOrigin": [1, "api-origin"],
|
|
194
192
|
"columns": [1],
|
|
195
193
|
"balanceTransactions": [32],
|
|
196
194
|
"transactionsTable": [32],
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { l as lodashExports } from './lodash.js';
|
|
3
3
|
import { f as filterParams, p as propsParams, c as clearParams } from './payments-list-params-state.js';
|
|
4
|
-
import {
|
|
4
|
+
import { a8 as paymentsListFilterMenu, a9 as paymentIdPaymentsListFilterParam, aa as terminalIdPaymentsListFilterParam, ab as paymentStatusPaymentsListFilterParam, ac as createdAfterPaymentsListFilterParam, ad as createdBeforePaymentsListFilterParam } from './parts.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host.js';
|
|
6
6
|
import './details.js';
|
|
7
|
+
import './event-types.js';
|
|
7
8
|
import { j as convertToUTC, h as convertToLocal } from './utils2.js';
|
|
8
9
|
import { d as defineCustomElement$7 } from './custom-popper2.js';
|
|
9
10
|
import { d as defineCustomElement$6 } from './form-control-date2.js';
|
|
@@ -4,20 +4,21 @@ import './utils2.js';
|
|
|
4
4
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
|
|
5
5
|
import './Checkout.js';
|
|
6
6
|
import './Pagination.js';
|
|
7
|
-
import {
|
|
7
|
+
import { a as Payment } from './Payment.js';
|
|
8
8
|
import './Refund.js';
|
|
9
9
|
import './Document.js';
|
|
10
10
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
11
11
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
|
|
12
12
|
import { S as StyledHost } from './styled-host.js';
|
|
13
13
|
import './details.js';
|
|
14
|
+
import './event-types.js';
|
|
14
15
|
import { d as defineCustomElement$2, a as defaultColumnsKeys } from './payments-list-core2.js';
|
|
15
16
|
import { d as defineCustomElement$3 } from './pagination-menu2.js';
|
|
16
17
|
|
|
17
|
-
const makeGetPayments = ({ id, authToken, service
|
|
18
|
+
const makeGetPayments = ({ id, authToken, service }) => async ({ params, onSuccess, onError, final }) => {
|
|
18
19
|
var _a, _b;
|
|
19
20
|
try {
|
|
20
|
-
const response = await service.fetchPayments(id, authToken, params
|
|
21
|
+
const response = await service.fetchPayments(id, authToken, params);
|
|
21
22
|
if (!response.error) {
|
|
22
23
|
const pagingInfo = Object.assign({}, response.page_info);
|
|
23
24
|
const payments = ((_a = response.data) === null || _a === void 0 ? void 0 : _a.map((dataItem) => new Payment(dataItem))) || [];
|
|
@@ -53,7 +54,6 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
|
|
|
53
54
|
this.__attachShadow();
|
|
54
55
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
55
56
|
this.errorMessage = null;
|
|
56
|
-
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
57
57
|
this.columns = defaultColumnsKeys;
|
|
58
58
|
this.handleErrorEvent = (event) => {
|
|
59
59
|
this.errorMessage = event.detail.message;
|
|
@@ -76,8 +76,7 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
|
|
|
76
76
|
this.getPayments = makeGetPayments({
|
|
77
77
|
id: this.accountId,
|
|
78
78
|
authToken: this.authToken,
|
|
79
|
-
service: new PaymentService()
|
|
80
|
-
apiOrigin: this.apiOrigin,
|
|
79
|
+
service: new PaymentService()
|
|
81
80
|
});
|
|
82
81
|
}
|
|
83
82
|
else {
|
|
@@ -90,7 +89,7 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
|
|
|
90
89
|
}
|
|
91
90
|
}
|
|
92
91
|
render() {
|
|
93
|
-
return (h(StyledHost, { key: '
|
|
92
|
+
return (h(StyledHost, { key: '1527d43387894949810bae0fa5ebeb172f71bbaf' }, h("payments-list-core", { key: '198cbb929b4793c37a0963554d841ac7999e3c29', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
94
93
|
}
|
|
95
94
|
static get watchers() { return {
|
|
96
95
|
"accountId": ["propChanged"],
|
|
@@ -99,7 +98,6 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
|
|
|
99
98
|
}, [1, "justifi-payments-list", {
|
|
100
99
|
"accountId": [1, "account-id"],
|
|
101
100
|
"authToken": [1, "auth-token"],
|
|
102
|
-
"apiOrigin": [1, "api-origin"],
|
|
103
101
|
"columns": [1],
|
|
104
102
|
"getPayments": [32],
|
|
105
103
|
"errorMessage": [32]
|