@justifi/webcomponents 5.6.1 → 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-DG13rvk6.js → ApiNew-C8nf_gS9.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-ByWVHNyJ.js → badge-BxoJOyTJ.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +4 -3
- package/dist/cjs/bank-account-form_9.cjs.entry.js +28 -18
- package/dist/cjs/business-details-core.cjs.entry.js +4 -3
- package/dist/cjs/{business.service-Vcq4kPU8.js → business.service-yVtplFhh.js} +13 -24
- package/dist/cjs/{button-Bn9jOYbx.js → button-BPFSRx4d.js} +1 -1
- package/dist/cjs/{check-pkg-version-7gGchZzS.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 +8 -7
- package/dist/cjs/{checkouts-table-C_cpZa-i.js → checkouts-table-_T5eblyc.js} +2 -2
- package/dist/cjs/{config-state-Bm8-EuFE.js → config-state-D7p-XunE.js} +1 -1
- package/dist/cjs/custom-popper_4.cjs.entry.js +3 -2
- 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 +1 -1
- package/dist/cjs/form-control-checkbox.cjs.entry.js +4 -3
- package/dist/cjs/form-control-date.cjs.entry.js +3 -2
- package/dist/cjs/{form-control-error-text-CBAVQoZ3.js → form-control-error-text-D9XDyFoW.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +2 -2
- package/dist/cjs/{form-control-help-text-DQz5O3wX.js → form-control-help-text-J_boqSMc.js} +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +4 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +4 -3
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +3 -2
- package/dist/cjs/form-control-number.cjs.entry.js +4 -3
- package/dist/cjs/form-control-radio.cjs.entry.js +1 -1
- package/dist/cjs/{get-subaccounts-CasN5tDA.js → get-subaccounts-CquZS5kP.js} +1 -1
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
- package/dist/cjs/{header-1-Bl1S9jV8.js → header-1-auSUfIpO.js} +1 -1
- package/dist/cjs/{header-3-DYzIjFIZ.js → header-3-B-bXHCpC.js} +1 -1
- package/dist/cjs/iframe-input.cjs.entry.js +3 -3
- package/dist/cjs/{insurance-state-BbmHHQl0.js → insurance-state-CFxbKNWH.js} +1 -1
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +4 -3
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +6 -5
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +8 -9
- package/dist/cjs/justifi-business-form.cjs.entry.js +69 -46
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -7
- package/dist/cjs/justifi-checkout.cjs.entry.js +8 -13
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -1
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -16
- package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -15
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +10 -13
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +7 -4
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +9 -9
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payment-details.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +8 -11
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -1
- package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -1
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -18
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +9 -9
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -2
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +2 -1
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -1
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +9 -7
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-CseQI95t.js → package-CX6Njc5t.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +4 -4
- package/dist/cjs/{parts-Du1T2dvF.js → parts-9jMf1erK.js} +24 -8
- package/dist/cjs/payment-details-core.cjs.entry.js +10 -6
- package/dist/cjs/{payment.service-CAJSEb2x.js → payment.service-BvTU2Orj.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +9 -8
- package/dist/cjs/{payments-status-hksfHuBH.js → payments-status-BTykBx8i.js} +1 -1
- package/dist/cjs/{payments-table-CmvP6owu.js → payments-table-BkRhDePE.js} +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +11 -7
- package/dist/cjs/{payout.service-wOnSu52a.js → payout.service-C99pgxvg.js} +1 -1
- package/dist/cjs/payouts-list-core.cjs.entry.js +9 -8
- package/dist/cjs/{payouts-status-DfNhfSsm.js → payouts-status-YCqmbd4K.js} +1 -1
- package/dist/cjs/{payouts-table-CpgWxl8A.js → payouts-table-DJMz3bVh.js} +2 -2
- package/dist/cjs/{skeleton-BFtuPBwQ.js → skeleton-aMh0RMHq.js} +1 -1
- package/dist/cjs/{spinner-C9z2tkh2.js → spinner-BTyIjlMM.js} +1 -1
- package/dist/cjs/{event-types-cB_-SsYZ.js → table-DKVauFHc.js} +39 -9
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +8 -7
- package/dist/cjs/{terminal-orders-table-CpVY3VsQ.js → terminal-orders-table-BeeUTKtj.js} +2 -2
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-cGQB3xiL.js → terminal.service-DEGcoaCb.js} +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +8 -7
- package/dist/cjs/{terminals-table-DRQQjYAE.js → terminals-table-D2XUsf_J.js} +2 -2
- package/dist/cjs/{utils-B_Ol6YlL.js → utils-5lco6NzU.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/actions/checkout/get-checkouts.js +2 -2
- package/dist/collection/actions/dispute/dispute-actions.js +2 -2
- package/dist/collection/api/services/analytics.service.js +3 -2
- package/dist/collection/api/services/business.service.js +13 -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/provision.service.js +4 -6
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/business-forms/business-form/business-form.js +77 -38
- 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 +2 -24
- package/dist/collection/components/config-provider/config-provider.js +4 -4
- package/dist/collection/components/config-provider/config-state.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +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/payment-details/payment-details-core.js +4 -1
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +2 -3
- package/dist/collection/components/payments-list/payments-list-core.js +2 -3
- package/dist/collection/components/payout-details/payout-details-core.js +4 -1
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +2 -3
- package/dist/collection/components/payouts-list/payouts-list-core.js +2 -3
- package/dist/collection/components/payouts-list/payouts-list.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +2 -3
- package/dist/collection/components/terminals-list/terminals-list-core.js +2 -3
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -22
- package/dist/collection/styles/parts.js +12 -5
- 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 +28 -234
- package/dist/esm/{ApiNew-UOnmIWcv.js → ApiNew-KYhsw8Nv.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{badge-B191hCAo.js → badge-Du9GTXoB.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +4 -3
- package/dist/esm/bank-account-form_9.entry.js +28 -18
- package/dist/esm/business-details-core.entry.js +4 -3
- package/dist/esm/{business.service-B1VD22Tz.js → business.service-_645Z23O.js} +13 -24
- package/dist/esm/{button-BRFA5syj.js → button-CjH5C0pG.js} +1 -1
- package/dist/esm/{check-pkg-version-DpVT68Qo.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 +7 -6
- package/dist/esm/{checkouts-table-BIO5rpvV.js → checkouts-table-DKd0QLys.js} +2 -2
- package/dist/esm/{config-state-Bl6vWekp.js → config-state-CkKrqnpZ.js} +1 -1
- package/dist/esm/custom-popper_4.entry.js +3 -2
- 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 +1 -1
- package/dist/esm/form-control-checkbox.entry.js +4 -3
- package/dist/esm/form-control-date.entry.js +3 -2
- package/dist/esm/{form-control-error-text-CVPFeRt0.js → form-control-error-text-tGFxd6kW.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +2 -2
- package/dist/esm/{form-control-help-text-D-ReDn6e.js → form-control-help-text-2DawN8-N.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +4 -3
- package/dist/esm/form-control-monetary.entry.js +4 -3
- package/dist/esm/form-control-number-masked_2.entry.js +3 -2
- package/dist/esm/form-control-number.entry.js +4 -3
- package/dist/esm/form-control-radio.entry.js +1 -1
- package/dist/esm/{get-subaccounts-COe5GtaY.js → get-subaccounts-DIJtLFsb.js} +1 -1
- package/dist/esm/gross-payment-chart-core.entry.js +3 -3
- package/dist/esm/{header-1-ClU-iUGF.js → header-1-D2gZb3iT.js} +1 -1
- package/dist/esm/{header-3-jLYjhsUb.js → header-3-DAg8Vh4B.js} +1 -1
- package/dist/esm/iframe-input.entry.js +3 -3
- package/dist/esm/{insurance-state-5MPrBdwI.js → insurance-state-CsZbKSgm.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +4 -3
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +7 -6
- package/dist/esm/justifi-additional-statement_8.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +8 -9
- package/dist/esm/justifi-business-form.entry.js +69 -46
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-core.entry.js +8 -7
- package/dist/esm/justifi-checkout.entry.js +8 -13
- package/dist/esm/justifi-checkouts-list-filters.entry.js +2 -1
- package/dist/esm/justifi-checkouts-list.entry.js +14 -16
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +10 -15
- package/dist/esm/justifi-dispute-notification_3.entry.js +10 -13
- package/dist/esm/justifi-gross-payment-chart.entry.js +7 -4
- package/dist/esm/justifi-order-terminals.entry.js +9 -9
- package/dist/esm/justifi-owner-form_3.entry.js +8 -8
- package/dist/esm/justifi-payment-details.entry.js +7 -8
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +9 -12
- package/dist/esm/justifi-payment-transactions-list.entry.js +10 -10
- package/dist/esm/justifi-payments-list-filters.entry.js +2 -1
- package/dist/esm/justifi-payments-list.entry.js +10 -10
- package/dist/esm/justifi-payout-details.entry.js +7 -8
- package/dist/esm/justifi-payout-transactions-list.entry.js +10 -10
- package/dist/esm/justifi-payouts-list-filters.entry.js +2 -1
- package/dist/esm/justifi-payouts-list.entry.js +12 -18
- package/dist/esm/justifi-refund-payment.entry.js +9 -9
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -3
- package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -2
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +2 -1
- package/dist/esm/justifi-terminal-orders-list.entry.js +8 -8
- package/dist/esm/justifi-terminals-list-filters.entry.js +2 -1
- package/dist/esm/justifi-terminals-list.entry.js +10 -10
- package/dist/esm/justifi-tokenize-payment-method.entry.js +9 -7
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-D2EbqwBe.js → package-DLLK41AX.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +4 -4
- package/dist/esm/{parts-CjO1GttX.js → parts-BrLVc_85.js} +14 -5
- package/dist/esm/payment-details-core.entry.js +10 -6
- package/dist/esm/{payment-provisioning-actions-CZYFFdTf.js → payment-provisioning-actions-BIfyW239.js} +1 -1
- package/dist/esm/{payment.service-B9_zvpM_.js → payment.service-DdCJ1Dc7.js} +1 -1
- package/dist/esm/payments-list-core.entry.js +8 -7
- package/dist/esm/{payments-status-CQQH_5oM.js → payments-status-CIUXcA0w.js} +1 -1
- package/dist/esm/{payments-table-BdQtWUO-.js → payments-table-BBf5fV74.js} +2 -2
- package/dist/esm/payout-details-core.entry.js +11 -7
- package/dist/esm/{payout.service-BGSaI-j9.js → payout.service-G1Isezyi.js} +1 -1
- package/dist/esm/payouts-list-core.entry.js +8 -7
- package/dist/esm/{payouts-status-Cz9DL-Ph.js → payouts-status-Clo03qUI.js} +1 -1
- package/dist/esm/{payouts-table-bOrdlN_0.js → payouts-table-DhZEXhGH.js} +2 -2
- package/dist/esm/{skeleton-t69TLGP9.js → skeleton-Dlpibtr0.js} +1 -1
- package/dist/esm/{spinner-Bo1Ff3L8.js → spinner-onCBxbdo.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/table-p4dOlFPi.js +83 -0
- package/dist/esm/terminal-orders-list-core.entry.js +7 -6
- package/dist/esm/{terminal-orders-table-5gemV24y.js → terminal-orders-table-BlT9YrFD.js} +2 -2
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-B0Rc9vED.js → terminal.service-aFe-O3PC.js} +1 -1
- package/dist/esm/terminals-list-core.entry.js +7 -6
- package/dist/esm/{terminals-table-DFxuyQM-.js → terminals-table-CkWr-6tD.js} +2 -2
- package/dist/esm/{utils-CK8L6CE7.js → utils-BpP_VJGf.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Dispute.js +57 -0
- package/dist/module/Payment.js +2 -57
- package/dist/module/additional-statement.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 +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 +12 -23
- 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 +1 -1
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dispute-management-core.js +2 -2
- package/dist/module/dispute-notification.js +2 -1
- package/dist/module/dispute-response-actions.js +9 -19
- package/dist/module/dispute-response-core.js +1 -1
- 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-control-checkbox2.js +1 -0
- 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 +1 -0
- package/dist/module/form-control-monetary2.js +1 -0
- package/dist/module/form-control-number-masked2.js +1 -0
- package/dist/module/form-control-number.js +1 -0
- package/dist/module/form-control-select2.js +1 -0
- package/dist/module/form-control-text2.js +1 -0
- package/dist/module/get-payment-details.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 +5 -7
- package/dist/module/justifi-config-provider.js +3 -3
- package/dist/module/justifi-dispute-management.js +5 -8
- package/dist/module/justifi-order-terminals.js +2 -1
- package/dist/module/justifi-payment-provisioning.js +4 -6
- package/dist/module/justifi-payment-transactions-list.js +4 -3
- package/dist/module/justifi-payments-list-filters.js +2 -1
- package/dist/module/justifi-payments-list.js +2 -1
- package/dist/module/justifi-payout-transactions-list.js +4 -3
- package/dist/module/justifi-payouts-list-filters.js +2 -1
- package/dist/module/justifi-payouts-list.js +2 -7
- package/dist/module/justifi-refund-payment.js +1 -0
- package/dist/module/justifi-terminal-orders-list-filters.js +2 -1
- package/dist/module/justifi-terminal-orders-list.js +1 -0
- package/dist/module/justifi-terminals-list-filters.js +2 -1
- package/dist/module/justifi-terminals-list.js +1 -0
- 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 +2 -3
- package/dist/module/owner-form-core2.js +2 -1
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +4 -4
- package/dist/module/parts.js +14 -5
- package/dist/module/payment-details-core2.js +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/payments-list-core2.js +4 -3
- package/dist/module/payout-details-core2.js +5 -1
- 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/season-interruption-insurance-core.js +1 -0
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/table.js +83 -0
- package/dist/module/terminal-orders-list-core2.js +4 -3
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +4 -3
- package/dist/types/actions/checkout/get-checkouts.d.ts +1 -2
- package/dist/types/actions/dispute/dispute-actions.d.ts +1 -2
- package/dist/types/api/ApiNew.d.ts +1 -1
- package/dist/types/api/services/checkout.service.d.ts +2 -2
- package/dist/types/components/business-forms/business-form/business-form.d.ts +8 -6
- package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +3 -2
- package/dist/types/components/checkout/card-form/card-form.d.ts +2 -1
- package/dist/types/components/checkout/checkout-core.d.ts +0 -1
- package/dist/types/components/checkout/checkout.d.ts +0 -1
- package/dist/types/components/checkout/new-payment-method.d.ts +0 -1
- package/dist/types/components/checkout/payment-method-options.d.ts +0 -1
- package/dist/types/components/checkouts-list/checkouts-list.d.ts +0 -1
- package/dist/types/components/config-provider/config-provider.d.ts +1 -1
- package/dist/types/components/config-provider/config-state.d.ts +1 -1
- package/dist/types/components/dispute-management/dispute-management.d.ts +0 -1
- package/dist/types/components/dispute-management/dispute-response/dispute-response-actions.d.ts +1 -2
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +0 -1
- package/dist/types/components.d.ts +4 -20
- package/dist/types/styles/parts.d.ts +12 -5
- package/dist/types/ui-components/index.d.ts +1 -4
- package/dist/types/ui-components/table/index.d.ts +5 -0
- package/dist/types/ui-components/table/table.d.ts +9 -0
- package/dist/webcomponents/{p-9d354918.entry.js → p-05138b5d.entry.js} +1 -1
- 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-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-c899df50.entry.js → p-639baa7d.entry.js} +1 -1
- 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-76d1a604.entry.js +1 -0
- package/dist/webcomponents/{p-78511d66.entry.js → p-7733b67b.entry.js} +1 -1
- package/dist/webcomponents/{p-805269fd.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-Cixn6QDS.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-4f98895d.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-DyIEclkx.js → p-ByRPlUBS.js} +1 -1
- package/dist/webcomponents/p-C0IqfGFc.js +1 -0
- package/dist/webcomponents/{p-D9q8WsW5.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-BQEAUdoy.js → p-CgxzrbM_.js} +1 -1
- package/dist/webcomponents/{p-BS-e1gnL.js → p-CkrVt-dj.js} +1 -1
- package/dist/webcomponents/p-D0ptm6-3.js +1 -0
- package/dist/webcomponents/{p-CN_YheWL.js → p-D4Mv5jCp.js} +1 -1
- package/dist/webcomponents/{p-GTA6l_sT.js → p-D5XSsLKb.js} +1 -1
- package/dist/webcomponents/p-DLLK41AX.js +1 -0
- package/dist/webcomponents/{p-BMDJA9xX.js → p-Da_GeglS.js} +1 -1
- package/dist/webcomponents/p-DgfzEZny.js +1 -0
- package/dist/webcomponents/{p-ERVEQjR2.js → p-Dgxn_B6C.js} +1 -1
- package/dist/webcomponents/p-DqOTECuf.js +1 -0
- package/dist/webcomponents/p-DvHZ2jYI.js +1 -0
- package/dist/webcomponents/{p-oPo_KSwO.js → p-Dz-Ft5b1.js} +1 -1
- package/dist/webcomponents/{p-KLQjERL5.js → p-OSmuQKbK.js} +1 -1
- 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-43140695.entry.js → p-a6fb7730.entry.js} +1 -1
- package/dist/webcomponents/{p-BXey6mVj.js → p-aTcDcUMZ.js} +1 -1
- package/dist/webcomponents/p-aa954ce9.entry.js +1 -0
- package/dist/webcomponents/{p-4fc851c0.entry.js → p-ac4ac963.entry.js} +1 -1
- package/dist/webcomponents/p-ae7c6b81.entry.js +1 -0
- package/dist/webcomponents/p-ae8c3dab.entry.js +1 -0
- package/dist/webcomponents/{p-b182796a.entry.js → p-afa54e39.entry.js} +1 -1
- package/dist/webcomponents/p-b061c21c.entry.js +1 -0
- package/dist/webcomponents/{p-493c9bd9.entry.js → p-b2192f8b.entry.js} +1 -1
- 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-5d8d1818.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-BdNmdBIx.js → p-d-_oUZor.js} +1 -1
- package/dist/webcomponents/p-d1a440e3.entry.js +1 -0
- package/dist/webcomponents/{p-5a1238a1.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-l3o3Ndc0.js +1 -0
- package/dist/webcomponents/p-n2YROtpe.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/collection/ui-components/table/exported-parts.js +0 -5
- package/dist/esm/checkout.service-92ld4w-G.js +0 -38
- package/dist/esm/dispute.service-H2Oaq2af.js +0 -37
- package/dist/esm/event-types-BIryDMGV.js +0 -62
- package/dist/types/ui-components/table/exported-parts.d.ts +0 -1
- package/dist/webcomponents/p-00eb2bc9.entry.js +0 -1
- package/dist/webcomponents/p-0c2f2ea9.entry.js +0 -1
- package/dist/webcomponents/p-11344996.entry.js +0 -1
- package/dist/webcomponents/p-19581139.entry.js +0 -1
- package/dist/webcomponents/p-19d21f35.entry.js +0 -1
- package/dist/webcomponents/p-2294e63b.entry.js +0 -1
- package/dist/webcomponents/p-24e04f78.entry.js +0 -1
- package/dist/webcomponents/p-2P4kwjNi.js +0 -1
- package/dist/webcomponents/p-30466d27.entry.js +0 -1
- package/dist/webcomponents/p-32c156c6.entry.js +0 -1
- package/dist/webcomponents/p-32ff6641.entry.js +0 -1
- package/dist/webcomponents/p-38d6c034.entry.js +0 -1
- package/dist/webcomponents/p-3add8d1b.entry.js +0 -1
- package/dist/webcomponents/p-3c01edb0.entry.js +0 -1
- package/dist/webcomponents/p-3cd9d9d8.entry.js +0 -1
- package/dist/webcomponents/p-4028ccb0.entry.js +0 -1
- package/dist/webcomponents/p-4ac754e7.entry.js +0 -1
- package/dist/webcomponents/p-4afcb015.entry.js +0 -1
- package/dist/webcomponents/p-4c64b1e9.entry.js +0 -1
- package/dist/webcomponents/p-4e3aca7a.entry.js +0 -1
- package/dist/webcomponents/p-4e489cf9.entry.js +0 -1
- package/dist/webcomponents/p-4e61f480.entry.js +0 -1
- package/dist/webcomponents/p-526be31d.entry.js +0 -1
- package/dist/webcomponents/p-575fc637.entry.js +0 -1
- package/dist/webcomponents/p-581ca781.entry.js +0 -1
- package/dist/webcomponents/p-5b4cbfd4.entry.js +0 -1
- package/dist/webcomponents/p-5eb85754.entry.js +0 -1
- package/dist/webcomponents/p-5f02ec20.entry.js +0 -1
- package/dist/webcomponents/p-6567b171.entry.js +0 -1
- package/dist/webcomponents/p-6d701784.entry.js +0 -1
- package/dist/webcomponents/p-7b649051.entry.js +0 -1
- package/dist/webcomponents/p-B4Bi1JkP.js +0 -1
- package/dist/webcomponents/p-Bl3qFMoN.js +0 -1
- package/dist/webcomponents/p-Bl79NorO.js +0 -1
- package/dist/webcomponents/p-CPXN4Ths.js +0 -1
- package/dist/webcomponents/p-CSwEbNEl.js +0 -1
- package/dist/webcomponents/p-CWpAvtGa.js +0 -1
- package/dist/webcomponents/p-C_9TcvwA.js +0 -1
- package/dist/webcomponents/p-CiKdTI9h.js +0 -1
- package/dist/webcomponents/p-CjO1GttX.js +0 -1
- package/dist/webcomponents/p-D2EbqwBe.js +0 -1
- package/dist/webcomponents/p-DD14E0K0.js +0 -1
- package/dist/webcomponents/p-DavDfnxI.js +0 -1
- package/dist/webcomponents/p-Dss1xCBW.js +0 -1
- package/dist/webcomponents/p-Dumd8fMw.js +0 -1
- package/dist/webcomponents/p-OjYukdAC.js +0 -1
- package/dist/webcomponents/p-_bsEVFir.js +0 -1
- package/dist/webcomponents/p-a2f77373.entry.js +0 -1
- package/dist/webcomponents/p-a4c08055.entry.js +0 -1
- package/dist/webcomponents/p-a93cceca.entry.js +0 -1
- package/dist/webcomponents/p-ab5cde61.entry.js +0 -1
- package/dist/webcomponents/p-ac98a15e.entry.js +0 -1
- package/dist/webcomponents/p-b0430518.entry.js +0 -1
- package/dist/webcomponents/p-b05693c6.entry.js +0 -1
- package/dist/webcomponents/p-b25b8534.entry.js +0 -1
- package/dist/webcomponents/p-b2db4fae.entry.js +0 -1
- package/dist/webcomponents/p-bb5c9475.entry.js +0 -1
- package/dist/webcomponents/p-bb97192f.entry.js +0 -1
- package/dist/webcomponents/p-c77481fe.entry.js +0 -1
- package/dist/webcomponents/p-ca11ad58.entry.js +0 -1
- package/dist/webcomponents/p-d06f7faf.entry.js +0 -1
- package/dist/webcomponents/p-d2fbf7ea.entry.js +0 -1
- package/dist/webcomponents/p-d7a04fdd.entry.js +0 -1
- package/dist/webcomponents/p-d8f7a73b.entry.js +0 -1
- package/dist/webcomponents/p-d90b8cc2.entry.js +0 -1
- package/dist/webcomponents/p-e558eab8.entry.js +0 -1
- package/dist/webcomponents/p-f2dc1405.entry.js +0 -1
- /package/dist/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
|
@@ -51,13 +51,13 @@ export class PaymentMethodOptions {
|
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
53
|
var _a;
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: '506450161ed363330132c2bfa99a6a7729e94778' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
|
|
55
55
|
const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
|
|
56
56
|
const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
|
|
57
57
|
const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
|
|
58
58
|
const sezzle = paymentMethodOption.id === PaymentMethodTypes.sezzle;
|
|
59
59
|
if (newCard || newBankAccount) {
|
|
60
|
-
return (h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, "show-card": this.showCard, "show-ach": this.showAch, paymentMethodGroupId: this.paymentMethodGroupId, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm,
|
|
60
|
+
return (h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, "show-card": this.showCard, "show-ach": this.showAch, paymentMethodGroupId: this.paymentMethodGroupId, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, ref: (el) => {
|
|
61
61
|
if (isSelected) {
|
|
62
62
|
this.selectedPaymentMethodOptionRef = el;
|
|
63
63
|
}
|
|
@@ -333,25 +333,6 @@ export class PaymentMethodOptions {
|
|
|
333
333
|
"getter": false,
|
|
334
334
|
"setter": false,
|
|
335
335
|
"reflect": false
|
|
336
|
-
},
|
|
337
|
-
"iframeOrigin": {
|
|
338
|
-
"type": "string",
|
|
339
|
-
"attribute": "iframe-origin",
|
|
340
|
-
"mutable": false,
|
|
341
|
-
"complexType": {
|
|
342
|
-
"original": "string",
|
|
343
|
-
"resolved": "string",
|
|
344
|
-
"references": {}
|
|
345
|
-
},
|
|
346
|
-
"required": false,
|
|
347
|
-
"optional": false,
|
|
348
|
-
"docs": {
|
|
349
|
-
"tags": [],
|
|
350
|
-
"text": ""
|
|
351
|
-
},
|
|
352
|
-
"getter": false,
|
|
353
|
-
"setter": false,
|
|
354
|
-
"reflect": false
|
|
355
336
|
}
|
|
356
337
|
};
|
|
357
338
|
}
|
|
@@ -4,8 +4,7 @@ import { TableEmptyState, TableErrorState, TableLoadingState } from "../../ui-co
|
|
|
4
4
|
import { checkoutTableColumns, checkoutTableCells } from "./checkouts-table";
|
|
5
5
|
import { Table } from "../../utils/table";
|
|
6
6
|
import { getRequestParams, onQueryParamsChange } from "./checkouts-list-params-state";
|
|
7
|
-
import {
|
|
8
|
-
import { TableClickActions } from "../../ui-components/table/event-types";
|
|
7
|
+
import { TableWrapper, TableComponent, TableHead, TableHeadRow, TableBody, TableRow, TableFoot, TableFootRow, TableFootCell, TableClickActions } from "../../ui-components";
|
|
9
8
|
export class CheckoutsListCore {
|
|
10
9
|
constructor() {
|
|
11
10
|
this.checkouts = [];
|
|
@@ -119,7 +118,7 @@ export class CheckoutsListCore {
|
|
|
119
118
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
120
119
|
}
|
|
121
120
|
render() {
|
|
122
|
-
return (h(
|
|
121
|
+
return (h(TableWrapper, { key: '79f36b8dd358285868187892962f5e2138942fe8' }, h(TableComponent, { key: 'e48c644e425ac45ab27b92548bc49af35b599245' }, h(TableHead, { key: '6d47b68c0a74f0eff3146dfc4720b0cc0f6fc24d' }, h(TableHeadRow, { key: 'a3660ae82b53ba7dead2e577fd8d573426935dc6' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '08fbd465bae0afa3de8d472c84e0410150509673' }, h(TableLoadingState, { key: 'ba7d778f9fc029166d6228fe9b1a8f1598a68c5a', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '312b176371526658852b74ae228524695f5c1947', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'a24680fb1d681397a3cb266ec34ab5c9310dfa64', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '503ffd707d958a353a18a6f06d1280a0cb01c741' }, h(TableFootRow, { key: '250fcfc3961881ab460221e5e0160d5b6d35e5c3' }, h(TableFootCell, { key: '2631d54b49bbee1502e5412cd9303d7d67746525', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: 'd7bb27501b62a1089090b06c82b2a2c328a2e0b6', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
123
122
|
}
|
|
124
123
|
static get is() { return "checkouts-list-core"; }
|
|
125
124
|
static get properties() {
|
|
@@ -11,7 +11,6 @@ import { defaultColumnsKeys } from "./checkouts-table";
|
|
|
11
11
|
export class CheckoutsList {
|
|
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 CheckoutsList {
|
|
|
38
37
|
this.getCheckouts = makeGetCheckouts({
|
|
39
38
|
accountId: this.accountId,
|
|
40
39
|
authToken: this.authToken,
|
|
41
|
-
service: new CheckoutService()
|
|
42
|
-
apiOrigin: this.apiOrigin,
|
|
40
|
+
service: new CheckoutService()
|
|
43
41
|
});
|
|
44
42
|
}
|
|
45
43
|
else {
|
|
@@ -61,7 +59,7 @@ export class CheckoutsList {
|
|
|
61
59
|
}
|
|
62
60
|
}
|
|
63
61
|
render() {
|
|
64
|
-
return (h(StyledHost, { key: '
|
|
62
|
+
return (h(StyledHost, { key: '086d85512b11a65ac2d8960f515e373093d4bd96' }, h("checkouts-list-core", { key: 'abe06be934ac5f13ec98425f29c6b6b7c0ff4456', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
65
63
|
}
|
|
66
64
|
static get is() { return "justifi-checkouts-list"; }
|
|
67
65
|
static get encapsulation() { return "shadow"; }
|
|
@@ -105,26 +103,6 @@ export class CheckoutsList {
|
|
|
105
103
|
"setter": false,
|
|
106
104
|
"reflect": false
|
|
107
105
|
},
|
|
108
|
-
"apiOrigin": {
|
|
109
|
-
"type": "string",
|
|
110
|
-
"attribute": "api-origin",
|
|
111
|
-
"mutable": false,
|
|
112
|
-
"complexType": {
|
|
113
|
-
"original": "string",
|
|
114
|
-
"resolved": "string",
|
|
115
|
-
"references": {}
|
|
116
|
-
},
|
|
117
|
-
"required": false,
|
|
118
|
-
"optional": true,
|
|
119
|
-
"docs": {
|
|
120
|
-
"tags": [],
|
|
121
|
-
"text": ""
|
|
122
|
-
},
|
|
123
|
-
"getter": false,
|
|
124
|
-
"setter": false,
|
|
125
|
-
"reflect": false,
|
|
126
|
-
"defaultValue": "PROXY_API_ORIGIN"
|
|
127
|
-
},
|
|
128
106
|
"columns": {
|
|
129
107
|
"type": "string",
|
|
130
108
|
"attribute": "columns",
|
|
@@ -2,13 +2,13 @@ import { setConfigState } from "./config-state";
|
|
|
2
2
|
export class ConfigProvider {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.apiOrigin = PROXY_API_ORIGIN;
|
|
5
|
-
this.
|
|
5
|
+
this.iframeOrigin = IFRAME_ORIGIN;
|
|
6
6
|
this.accountId = '';
|
|
7
7
|
}
|
|
8
8
|
componentWillLoad() {
|
|
9
9
|
setConfigState({
|
|
10
10
|
apiOrigin: this.apiOrigin,
|
|
11
|
-
|
|
11
|
+
iframeOrigin: this.iframeOrigin,
|
|
12
12
|
accountId: this.accountId
|
|
13
13
|
});
|
|
14
14
|
}
|
|
@@ -38,9 +38,9 @@ export class ConfigProvider {
|
|
|
38
38
|
"reflect": false,
|
|
39
39
|
"defaultValue": "PROXY_API_ORIGIN"
|
|
40
40
|
},
|
|
41
|
-
"
|
|
41
|
+
"iframeOrigin": {
|
|
42
42
|
"type": "string",
|
|
43
|
-
"attribute": "
|
|
43
|
+
"attribute": "iframe-origin",
|
|
44
44
|
"mutable": false,
|
|
45
45
|
"complexType": {
|
|
46
46
|
"original": "string",
|
|
@@ -6,7 +6,6 @@ import { makeGetDispute } from "../../actions/dispute/dispute-actions";
|
|
|
6
6
|
import { DisputeService } from "../../api/services/dispute.service";
|
|
7
7
|
export class DisputeManagement {
|
|
8
8
|
constructor() {
|
|
9
|
-
this.apiOrigin = PROXY_API_ORIGIN;
|
|
10
9
|
this.errorMessage = null;
|
|
11
10
|
this.handleErrorEvent = event => {
|
|
12
11
|
this.errorMessage = event.detail.message;
|
|
@@ -30,8 +29,7 @@ export class DisputeManagement {
|
|
|
30
29
|
this.getDispute = makeGetDispute({
|
|
31
30
|
id: this.disputeId,
|
|
32
31
|
authToken: this.authToken,
|
|
33
|
-
service: new DisputeService()
|
|
34
|
-
apiOrigin: this.apiOrigin,
|
|
32
|
+
service: new DisputeService()
|
|
35
33
|
});
|
|
36
34
|
}
|
|
37
35
|
else {
|
|
@@ -44,7 +42,7 @@ export class DisputeManagement {
|
|
|
44
42
|
}
|
|
45
43
|
}
|
|
46
44
|
render() {
|
|
47
|
-
return (h("justifi-dispute-management-core", { key: '
|
|
45
|
+
return (h("justifi-dispute-management-core", { key: '12e281244496ede936b191dbc5b4069404d931e9', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
|
|
48
46
|
}
|
|
49
47
|
static get is() { return "justifi-dispute-management"; }
|
|
50
48
|
static get properties() {
|
|
@@ -86,26 +84,6 @@ export class DisputeManagement {
|
|
|
86
84
|
"getter": false,
|
|
87
85
|
"setter": false,
|
|
88
86
|
"reflect": false
|
|
89
|
-
},
|
|
90
|
-
"apiOrigin": {
|
|
91
|
-
"type": "string",
|
|
92
|
-
"attribute": "api-origin",
|
|
93
|
-
"mutable": false,
|
|
94
|
-
"complexType": {
|
|
95
|
-
"original": "string",
|
|
96
|
-
"resolved": "string",
|
|
97
|
-
"references": {}
|
|
98
|
-
},
|
|
99
|
-
"required": false,
|
|
100
|
-
"optional": true,
|
|
101
|
-
"docs": {
|
|
102
|
-
"tags": [],
|
|
103
|
-
"text": ""
|
|
104
|
-
},
|
|
105
|
-
"getter": false,
|
|
106
|
-
"setter": false,
|
|
107
|
-
"reflect": false,
|
|
108
|
-
"defaultValue": "PROXY_API_ORIGIN"
|
|
109
87
|
}
|
|
110
88
|
};
|
|
111
89
|
}
|
package/dist/collection/components/dispute-management/dispute-response/dispute-response-actions.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ComponentErrorSeverity } from "../../../api/ComponentError";
|
|
2
2
|
import { getErrorCode, getErrorMessage } from "../../../api/services/utils";
|
|
3
|
-
export const makeGetDisputeResponse = ({ id, authToken, service
|
|
3
|
+
export const makeGetDisputeResponse = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
|
|
4
4
|
var _a;
|
|
5
5
|
try {
|
|
6
|
-
const response = await service.fetchDisputeResponse(id, authToken, params
|
|
6
|
+
const response = await service.fetchDisputeResponse(id, authToken, params);
|
|
7
7
|
if (!response.error) {
|
|
8
8
|
const pagingInfo = Object.assign({}, response.page_info);
|
|
9
9
|
const disputeResponse = response.data;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { Button } from "
|
|
2
|
+
import { Button } from "../../ui-components/button";
|
|
3
3
|
import { hasFilters } from "./utils";
|
|
4
|
-
import { dropdownMenu } from "../../styles/parts";
|
|
4
|
+
import { dropdownMenu, dropdownMenuButton } from "../../styles/parts";
|
|
5
5
|
export class TableFiltersMenu {
|
|
6
6
|
constructor() {
|
|
7
7
|
this.showClearButton = false;
|
|
@@ -19,7 +19,7 @@ export class TableFiltersMenu {
|
|
|
19
19
|
this.showClearButton = hasFilters(this.params);
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h("div", { key: '
|
|
22
|
+
return (h("div", { key: '73b213c0381a163e3ccd4b4df158daf8dc128d83', class: "d-flex gap-2" }, h("div", { key: '817823777638fc8501bb7230d0b061c110e4f82b', class: "dropdown pb-3" }, h("button", { key: '6ad7b2c32bfc44b836071db2706e86d649c5ccb3', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '124ac66fe0be636f74009bdd07e392fa82fd943e', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'b1421bdd7f7318012dcbd280eab4d8aeabbfee8c', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '7a251b4a2b2840f435d07605a6333b86180ab88e' })))), h("div", { key: '2badf2863bb80ef70508347049becdd0aec5196e' }, h(Button, { key: 'ee90184cb3aa0e7c4ff8d69cf299aef4fda114bd', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "table-filters-menu"; }
|
|
25
25
|
static get properties() {
|
|
@@ -44,7 +44,10 @@ export class PaymentDetailsCore {
|
|
|
44
44
|
], this.payment.payment_method.bank_account && [
|
|
45
45
|
h(DetailSectionTitle, { key: '84dae904db3c22ff5ed03abaeb57d3b0736d1fbb', sectionTitle: "Payment Method" }),
|
|
46
46
|
h("div", { key: '400801019a53feec0478273866fffa5683b408aa', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'ca7bb52e4275659b18daacfa6367de2f32617e70', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '4885d2b5f05b6a713d61074271c7a95b23604dca', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '604ec4efe78a12a1c36d8416c9fdec70351a6dad', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '1ef77a81232e19d1063af9e863f5c9ada183715f', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
47
|
-
],
|
|
47
|
+
], this.payment.metadata && [
|
|
48
|
+
h(DetailSectionTitle, { key: '703ee104edf87c55034c38bb9fe0de6907980a0e', sectionTitle: 'Metadata' }),
|
|
49
|
+
h("div", { key: 'c10b66a975c6a221f86226893e13cbf57bf0d8dd', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'e73dfd81f110ec7c275fd37d1ecc71bbc22580b5', metadata: this.payment.metadata }))
|
|
50
|
+
])))));
|
|
48
51
|
}
|
|
49
52
|
static get is() { return "payment-details-core"; }
|
|
50
53
|
static get properties() {
|
|
@@ -5,10 +5,9 @@ import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
|
5
5
|
import { makeGetPaymentTransactions } from "../../actions/payment/get-payment-transactions";
|
|
6
6
|
import { PaymentService } from "../../api/services/payment.service";
|
|
7
7
|
import { Table } from "../../utils/table";
|
|
8
|
-
import { TableClickActions } from "../../ui-components/table/event-types";
|
|
9
|
-
import { table, tableCell } from "../../styles/parts";
|
|
10
8
|
import { StyledHost, TableEmptyState, TableErrorState, TableLoadingState } from "../../ui-components";
|
|
11
9
|
import { defaultColumnsKeys, paymentTransactionTableCells, paymentTransactionTableColumns } from "./payment-transactions-table";
|
|
10
|
+
import { TableWrapper, TableComponent, TableHead, TableHeadRow, TableBody, TableRow, TableFoot, TableFootRow, TableFootCell, TableClickActions } from "../../ui-components";
|
|
12
11
|
export class PaymentTransactionsList {
|
|
13
12
|
constructor() {
|
|
14
13
|
this.balanceTransactions = [];
|
|
@@ -90,7 +89,7 @@ export class PaymentTransactionsList {
|
|
|
90
89
|
return !this.showEmptyState && !this.showErrorState && !this.isLoading;
|
|
91
90
|
}
|
|
92
91
|
render() {
|
|
93
|
-
return (h(StyledHost, { key: '
|
|
92
|
+
return (h(StyledHost, { key: '95b1793a1b1dd1f30857a2da18884569bb37673a' }, h(TableWrapper, { key: '213c53810f28609c5166c4b7865a4b923db64148' }, h(TableComponent, { key: 'c4c9ad468955900dd3dadf55bf74961b347db725' }, h(TableHead, { key: '0aaa96e09c54865f5bbe74abf236db20a69c0df9' }, h(TableHeadRow, { key: '69258a4be5ddba8c3db1f2e801c7101a51efadd2' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '961a12de0888c9ab76ae708f1694955cadc05ffb' }, h(TableLoadingState, { key: 'd5d5b788698eb28ff2dcccf902694fb166f7e805', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '311f9238c5ed98e1801cd482967814e2d1b98547', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '86c6728fb2a4ff6a1de0032cda9a5e6fdfb2a19c', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '4fe703ff7a69a534424fde0154203a0f1f0a2240' }, h(TableFootRow, { key: 'b6dafac49888c3745461a18723b74f46d1353478' }, h(TableFootCell, { key: '1906f0ab8f62c94cb976a37eb12ffb479ccb8333', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '114ec152e59ddd485f465774a7f8f656d618083a', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
94
93
|
}
|
|
95
94
|
static get is() { return "justifi-payment-transactions-list"; }
|
|
96
95
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,8 +4,7 @@ import { TableEmptyState, TableErrorState, TableLoadingState } from "../../ui-co
|
|
|
4
4
|
import { paymentTableCells, paymentTableColumns } from "./payments-table";
|
|
5
5
|
import { Table } from "../../utils/table";
|
|
6
6
|
import { getRequestParams, onQueryParamsChange } from "./payments-list-params-state";
|
|
7
|
-
import {
|
|
8
|
-
import { TableClickActions } from "../../ui-components/table/event-types";
|
|
7
|
+
import { TableWrapper, TableComponent, TableHead, TableHeadRow, TableBody, TableRow, TableFoot, TableFootRow, TableFootCell, TableClickActions } from "../../ui-components";
|
|
9
8
|
export class PaymentsListCore {
|
|
10
9
|
constructor() {
|
|
11
10
|
this.payments = [];
|
|
@@ -84,7 +83,7 @@ export class PaymentsListCore {
|
|
|
84
83
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
85
84
|
}
|
|
86
85
|
render() {
|
|
87
|
-
return (h(
|
|
86
|
+
return (h(TableWrapper, { key: '1317635730164f2193e9556589c1c8584b70cfbb' }, h(TableComponent, { key: '98f458d904f17105aa7f6fde313487fa1af08034' }, h(TableHead, { key: 'a70f53dc6484a001d51f2c937e9696ad4ea68d2c' }, h(TableHeadRow, { key: '93a807d6627175ff4030fc4de8e067809486b274' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: '4051081286f20f72d3e34f2484ada5413327b608' }, h(TableLoadingState, { key: 'e94bc4c5d2d4f2a24ee8ec906aa936ad0d497b84', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: 'be3fe38c674d7a587f77d91c4133d39359954135', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '55bb4161c9677940b78badbbc2a621e29404e213', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '23e336810c59ab014b4a11fa5f9f087db2de9fa1' }, h(TableFootRow, { key: '848eb4d2cfd643472de22f6cd86d9a7121acdca6' }, h(TableFootCell, { key: 'b0c325d98775e1784173d45375018d94f8fc71cc', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: 'b61510a421ed0fcf54ff3b3318bc8b80db18c6b1', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
88
87
|
}
|
|
89
88
|
static get is() { return "payments-list-core"; }
|
|
90
89
|
static get properties() {
|
|
@@ -51,7 +51,10 @@ export class PayoutDetailsCore {
|
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
53
|
var _a;
|
|
54
|
-
return (h(StyledHost, { key: '62711161d74a4d4e76ea5dba50cdf658722ba3a5' }, this.loading && h(PayoutDetailsLoading, { key: '170bf58456fb93c687a9e5b71e364ed6d54ec965' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'eafc4215df8ecba2f3e767e91df54a67c48e0e69', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '849a324f0d5f545e502c1632a5af30da3f6caf74', slot: "head-info", badge: MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: 'ae0b4f158d3baf397880061f6fe25916ca870ac6', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '2e2f16f8c1e2f5b34fe986a311be4ae084d385ab', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '724abe3799d1a1c8f9a54130af715a2057218510', title: "ID", value: this.payout.id }), h("div", { key: '7ac70b4b6eee073384e223b01304d0ad0aaf0a64', class: "m-4" }, h(Button, { key: 'fc78f5a3b14e58aa3861592e81bc60c155d520e3', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '9ebede365566df145b3412b24d255e1b90740541', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '71cfc2676e1ac51b44de391547589fafb5189266', sectionTitle: "Details" }), h("div", { key: 'cba9946a2406c577d3b190cfbfe4b1eeaa27001e', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '1af9837addfc6fd3829fac3df8376958b7dbfbc7', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'f54690ff4578b7383feadd6420b14df1c79d398b', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '5013c67ee0ac8bd9495209fb5854a36665317d84', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '41cd7f0989ff44be01d78475e03486b2fb158911', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '6f047db81aae911ed4553fecda7baacdc5ff9209', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: 'b342e899b13489045a82051e563ff56c027107e8', sectionTitle: "Account" }), h("div", { key: '709be895334d0a4963ceeb762ac6e66a5a603d07', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '1e14ae8f0b329038ee2aea938be0ab4c1d2c35c9', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: '54ef8f31b5dd0698d50efe617db9fbdb8a2088eb', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '3cbe4043e92bc3d2a07d2970473b06bd92e56f33', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '482efcf4498b79cf724a50dd0d3ba0f38d02576d', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '7b3b961659e263e83268e178991627d04a2fcd46', title: "Account Number", value: this.payout.bank_account.account_number_last4 })),
|
|
54
|
+
return (h(StyledHost, { key: '62711161d74a4d4e76ea5dba50cdf658722ba3a5' }, this.loading && h(PayoutDetailsLoading, { key: '170bf58456fb93c687a9e5b71e364ed6d54ec965' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'eafc4215df8ecba2f3e767e91df54a67c48e0e69', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '849a324f0d5f545e502c1632a5af30da3f6caf74', slot: "head-info", badge: MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: 'ae0b4f158d3baf397880061f6fe25916ca870ac6', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '2e2f16f8c1e2f5b34fe986a311be4ae084d385ab', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '724abe3799d1a1c8f9a54130af715a2057218510', title: "ID", value: this.payout.id }), h("div", { key: '7ac70b4b6eee073384e223b01304d0ad0aaf0a64', class: "m-4" }, h(Button, { key: 'fc78f5a3b14e58aa3861592e81bc60c155d520e3', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '9ebede365566df145b3412b24d255e1b90740541', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '71cfc2676e1ac51b44de391547589fafb5189266', sectionTitle: "Details" }), h("div", { key: 'cba9946a2406c577d3b190cfbfe4b1eeaa27001e', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '1af9837addfc6fd3829fac3df8376958b7dbfbc7', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'f54690ff4578b7383feadd6420b14df1c79d398b', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '5013c67ee0ac8bd9495209fb5854a36665317d84', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '41cd7f0989ff44be01d78475e03486b2fb158911', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '6f047db81aae911ed4553fecda7baacdc5ff9209', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: 'b342e899b13489045a82051e563ff56c027107e8', sectionTitle: "Account" }), h("div", { key: '709be895334d0a4963ceeb762ac6e66a5a603d07', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '1e14ae8f0b329038ee2aea938be0ab4c1d2c35c9', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: '54ef8f31b5dd0698d50efe617db9fbdb8a2088eb', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '3cbe4043e92bc3d2a07d2970473b06bd92e56f33', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '482efcf4498b79cf724a50dd0d3ba0f38d02576d', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '7b3b961659e263e83268e178991627d04a2fcd46', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
|
|
55
|
+
h(DetailSectionTitle, { key: 'ea5e5e83e0889ee8b542fba2ddaedc7c0adcf15a', sectionTitle: 'Metadata' }),
|
|
56
|
+
h("div", { key: '52ed0e8f84b2a22e9846040877850b336db53a2a', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '50e37d3e2a27191b6e4899fcef64f9bd39241c9e', metadata: this.payout.metadata }))
|
|
57
|
+
])))));
|
|
55
58
|
}
|
|
56
59
|
static get is() { return "payout-details-core"; }
|
|
57
60
|
static get properties() {
|
|
@@ -5,11 +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";
|
|
12
10
|
import { configState } from "../config-provider/config-state";
|
|
11
|
+
import { TableWrapper, TableComponent, TableHead, TableHeadRow, TableBody, TableRow, TableFoot, TableFootRow, TableFootCell, TableClickActions } from "../../ui-components";
|
|
13
12
|
export class PayoutTransactionsList {
|
|
14
13
|
constructor() {
|
|
15
14
|
this.balanceTransactions = [];
|
|
@@ -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"; }
|
|
@@ -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,7 +6,7 @@ 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 {
|
|
@@ -62,7 +62,7 @@ export class PayoutsList {
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
render() {
|
|
65
|
-
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 })));
|
|
66
66
|
}
|
|
67
67
|
static get is() { return "justifi-payouts-list"; }
|
|
68
68
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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() {
|
|
@@ -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() {
|
|
@@ -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
|
}
|
|
@@ -55,18 +55,24 @@ export const card = `card ${text} ${backgroundColor}`;
|
|
|
55
55
|
export const table = `table ${text} ${backgroundColor}`;
|
|
56
56
|
export const tableRow = `table-row ${text} ${backgroundColor}`;
|
|
57
57
|
export const tableCell = `table-cell ${text} ${backgroundColor}`;
|
|
58
|
+
export const tableHead = `table-head`;
|
|
59
|
+
export const tableHeadRow = `table-head-row ${text} ${backgroundColor}`;
|
|
58
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}`;
|
|
59
64
|
export const tableCellEven = `table-cell-even ${tableCell}`;
|
|
60
65
|
export const tableCellOdd = `table-cell-odd ${tableCell}`;
|
|
61
66
|
export const getAlternateTableCellPart = (index) => index % 2 ? tableCellEven : tableCellOdd;
|
|
62
67
|
export const tableEmpty = `table-empty ${text} ${backgroundColor}`;
|
|
63
68
|
export const tableError = `table-error ${text} ${backgroundColor}`;
|
|
64
69
|
// Pagination
|
|
65
|
-
export const
|
|
66
|
-
export const
|
|
67
|
-
export const
|
|
68
|
-
export const
|
|
69
|
-
export const
|
|
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}`;
|
|
70
76
|
// Loading spinner
|
|
71
77
|
export const loadingSpinner = `loading-spinner`;
|
|
72
78
|
// Badge
|
|
@@ -81,6 +87,7 @@ export const badgeLight = `${badge} badge-light`;
|
|
|
81
87
|
export const badgeDark = `${badge} badge-dark`;
|
|
82
88
|
// Dropdown-menu
|
|
83
89
|
export const dropdownMenu = `dropdown-menu ${text}`;
|
|
90
|
+
export const dropdownMenuButton = `dropdown-menu-button ${buttonPrimary}`;
|
|
84
91
|
// Radio List Item
|
|
85
92
|
export const radioListItem = `radio-list-item ${text}`;
|
|
86
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';
|