@justifi/webcomponents 5.4.4 → 5.6.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/Api-KMweahmp.js +74 -0
- package/dist/cjs/{Business-d88b77fd.js → Business-DyiDiIuO.js} +1 -1
- package/dist/cjs/{Checkout-5352009d.js → Checkout-RAGvjVPj.js} +1 -1
- package/dist/cjs/{ComponentError-233ac749.js → ComponentError-C4MdBBMe.js} +1 -0
- package/dist/cjs/{Payment-bccd8f7d.js → Payment-CQCmj3Ck.js} +2 -2
- package/dist/cjs/{SubAccount-2a302ead.js → Refund-CpurRc4w.js} +104 -1
- package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +10 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +5 -11
- package/dist/cjs/{badge-364e6311.js → badge-DwSZ83Bm.js} +2 -2
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +25 -43
- package/dist/cjs/bank-account-form_9.cjs.entry.js +93 -97
- package/dist/cjs/{business-additional-questions-schema-8568cb79.js → business-additional-questions-schema-mzZ2gYHQ.js} +2 -2
- package/dist/cjs/business-details-core.cjs.entry.js +6 -10
- package/dist/cjs/{business-form-options-62e9c8ab.js → business-form-options-BCj0efiD.js} +1 -1
- package/dist/cjs/{business-identity-schema-518ab6eb.js → business-identity-schema-dt0zCW0R.js} +2 -2
- package/dist/cjs/{business.service-6e8a29a2.js → business.service-Crmkeulk.js} +23 -8
- package/dist/cjs/{button-4a9fd41e.js → button-Cp4u5YgP.js} +2 -2
- package/dist/cjs/{check-pkg-version-e6dcbeb7.js → check-pkg-version-C4d9pl8G.js} +3 -3
- package/dist/cjs/{checkout.service-0a7835dc.js → checkout.service-DP9FnXBx.js} +13 -10
- package/dist/cjs/checkouts-list-core.cjs.entry.js +25 -31
- package/dist/cjs/{payments-list-params-state-442d9944.js → checkouts-list-params-state-DX4jg37H.js} +1 -1
- package/dist/cjs/{checkouts-table-8a1b49ff.js → checkouts-table-nsXjlcI1.js} +4 -4
- package/dist/cjs/custom-popper_4.cjs.entry.js +27 -52
- package/dist/cjs/{dispute.service-6efc7d7f.js → dispute.service-F-M8EJxq.js} +20 -11
- package/dist/cjs/{event-types-5a6ce2b0.js → event-types-CjInBN20.js} +3 -3
- package/dist/cjs/form-alert_5.cjs.entry.js +10 -19
- package/dist/cjs/form-control-checkbox.cjs.entry.js +9 -18
- package/dist/cjs/form-control-date.cjs.entry.js +9 -19
- package/dist/cjs/{form-control-error-text-3cff9b7b.js → form-control-error-text-NbHDc1JL.js} +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +11 -30
- package/dist/cjs/{form-control-help-text-94ffed2c.js → form-control-help-text-bc3qGHAG.js} +2 -2
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -5
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +13 -22
- package/dist/cjs/form-control-monetary.cjs.entry.js +13 -22
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +12 -25
- package/dist/cjs/form-control-number.cjs.entry.js +9 -18
- package/dist/cjs/form-control-radio.cjs.entry.js +7 -17
- package/dist/cjs/{get-business-d8f5db51.js → get-business-BBzGEPBG.js} +3 -3
- package/dist/cjs/get-payment-details-DQyJtwTw.js +42 -0
- package/dist/cjs/get-payout-csv-Jr_0DmmY.js +24 -0
- package/dist/cjs/{get-subaccounts-ae5b35a8.js → get-subaccounts-zwxhG-O3.js} +11 -10
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +262 -270
- package/dist/cjs/{header-1-43b2b905.js → header-1-kwWMtg3s.js} +2 -2
- package/dist/cjs/{header-3-eb250a04.js → header-3-CNWIH9ZU.js} +2 -2
- package/dist/cjs/{helpers-602962eb.js → helpers-B5OCqlIM.js} +1 -1
- package/dist/cjs/{iframe-input-styles-state-d0de0b24.js → iframe-input-styles-state-jHHRvqzM.js} +2 -2
- package/dist/cjs/iframe-input.cjs.entry.js +1640 -0
- package/dist/cjs/{index-750475a3.js → index-1MT3Z4XI.js} +1 -1
- package/dist/cjs/{index-5b9a3b5f.js → index-BRQfozbS.js} +460 -271
- package/dist/cjs/{index-d2d0b181.js → index-DzQdh5ij.js} +4 -5
- package/dist/cjs/index.esm-CVuJLXJZ.js +11807 -0
- package/dist/cjs/{input-handlers-cff032bb.js → input-handlers-DYl_0IwC.js} +1 -1
- package/dist/cjs/{insurance-state-71f8b653.js → insurance-state-DbXkNYds.js} +3 -3
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +64 -94
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +36 -86
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +36 -54
- package/dist/cjs/justifi-business-details.cjs.entry.js +16 -20
- package/dist/cjs/justifi-business-form.cjs.entry.js +34 -38
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +6 -11
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +31 -34
- package/dist/cjs/justifi-checkout.cjs.entry.js +23 -29
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +15 -18
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +25 -30
- package/dist/cjs/justifi-details.cjs.entry.js +3 -6
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +5 -11
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +19 -23
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +38 -52
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +13 -16
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +29 -37
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +29 -52
- package/dist/cjs/justifi-payment-details.cjs.entry.js +24 -52
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +15 -23
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +15 -16
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +195 -0
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +11 -17
- package/dist/cjs/justifi-payments-list.cjs.entry.js +25 -29
- package/dist/cjs/justifi-payout-details.cjs.entry.js +24 -28
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +203 -0
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +9 -12
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +29 -34
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +189 -69
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +10 -27
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +24 -35
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +24 -26
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +29 -29
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +21 -25
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +26 -31
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +24 -28
- package/dist/cjs/loader.cjs.js +3 -5
- package/dist/cjs/lodash-CvSCBJ_8.js +17216 -0
- package/dist/cjs/package-S6wVKDKx.js +9 -0
- package/dist/cjs/pagination-menu.cjs.entry.js +3 -5
- package/dist/cjs/{parts-5ca90f9a.js → parts-D_uKOPFe.js} +3 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +19 -22
- package/dist/cjs/{payment-provisioning-actions-382ab48c.js → payment-provisioning-actions-BkWSDJQQ.js} +2 -2
- package/dist/cjs/payment.service-BstXaxH5.js +27 -0
- package/dist/cjs/payments-list-core.cjs.entry.js +25 -30
- package/dist/cjs/{terminal-orders-list-params-state-c419078f.js → payments-list-params-state-DX4jg37H.js} +1 -1
- package/dist/cjs/{payments-status-075aad0a.js → payments-status-CQq7KrHL.js} +2 -2
- package/dist/cjs/{payments-table-a076755a.js → payments-table-ClOxMnZ8.js} +4 -4
- package/dist/cjs/payout-details-core.cjs.entry.js +14 -18
- package/dist/cjs/payout.service-DWOtnFdn.js +34 -0
- package/dist/cjs/payouts-list-core.cjs.entry.js +26 -33
- package/dist/cjs/{checkouts-list-params-state-644d3639.js → payouts-list-params-state-DX4jg37H.js} +1 -1
- package/dist/cjs/{payouts-status-ced97c2b.js → payouts-status-BdfV3jvX.js} +2 -2
- package/dist/cjs/{payouts-table-aedce326.js → payouts-table-Bo3pLf4Z.js} +4 -4
- package/dist/cjs/{schema-validations-a7cefbdf.js → schema-validations-p4OCdblz.js} +4 -4
- package/dist/cjs/{skeleton-e8aa41d0.js → skeleton-BXVndBVC.js} +2 -2
- package/dist/cjs/{spinner-580453f2.js → spinner-CSH2OUiV.js} +2 -2
- package/dist/cjs/{styled-host-94309bab.js → styled-host-CzJ8Ux1t.js} +2 -3
- package/dist/cjs/table-filters-menu.cjs.entry.js +4 -10
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +24 -29
- package/dist/cjs/{payouts-list-params-state-033b76d6.js → terminal-orders-list-params-state-DX4jg37H.js} +1 -1
- package/dist/cjs/{terminal-orders-table-3b247193.js → terminal-orders-table-CXmVc7uU.js} +35 -5
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +6 -12
- package/dist/cjs/{terminal.service-ab62c344.js → terminal.service-ghxwDinY.js} +11 -11
- package/dist/cjs/terminals-list-core.cjs.entry.js +25 -31
- package/dist/cjs/terminals-list-params-state-DX4jg37H.js +22 -0
- package/dist/cjs/{terminals-table-594643fd.js → terminals-table-vYbTPOpy.js} +4 -4
- package/dist/cjs/utils-DmZ8Dia3.js +23987 -0
- package/dist/cjs/{utils-f8714daa.js → utils-DxbncJhj.js} +2 -2
- package/dist/cjs/{utils-7a478c37.js → utils-l0veqT9y.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +7 -7
- package/dist/collection/actions/payment/get-payment-details.js +5 -2
- package/dist/collection/actions/payment/get-payment-transactions.js +34 -0
- package/dist/collection/actions/payout/get-payout-transactions.js +34 -0
- package/dist/collection/actions/refund/refund-actions.js +31 -0
- package/dist/collection/api/Api.js +32 -13
- package/dist/collection/api/ComponentError.js +1 -0
- package/dist/collection/api/PaymentBalanceTransaction.js +45 -0
- package/dist/collection/api/PayoutBalanceTransaction.js +35 -0
- package/dist/collection/api/Refund.js +32 -0
- package/dist/collection/api/TerminalOrder.js +3 -0
- package/dist/collection/api/index.js +3 -0
- package/dist/collection/api/services/analytics.service.js +1 -1
- package/dist/collection/api/services/business.service.js +22 -7
- package/dist/collection/api/services/checkout.service.js +6 -3
- package/dist/collection/api/services/dispute.service.js +13 -4
- package/dist/collection/api/services/insurance.service.js +8 -2
- package/dist/collection/api/services/payment.service.js +7 -3
- package/dist/collection/api/services/payout.service.js +8 -3
- package/dist/collection/api/services/provision.service.js +4 -1
- package/dist/collection/api/services/refund.service.js +10 -0
- package/dist/collection/api/services/reports.service.js +1 -1
- package/dist/collection/api/services/subaccounts.service.js +1 -1
- package/dist/collection/api/services/terminal.service.js +4 -4
- package/dist/collection/api/services/terminal_orders.service.js +5 -1
- package/dist/collection/collection-manifest.json +5 -5
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +4 -4
- package/dist/collection/components/business-details/business-details-core.js +4 -3
- package/dist/collection/components/business-details/business-details.js +6 -8
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +4 -4
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +4 -4
- package/dist/collection/components/business-details/owner-details/owner-details.js +4 -4
- package/dist/collection/components/business-details/representative-details/representative-details.js +4 -4
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +4 -2
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +4 -2
- package/dist/collection/components/business-forms/business-form/business-form.js +20 -13
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +6 -4
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +4 -3
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +11 -7
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +34 -22
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +10 -6
- package/dist/collection/components/business-forms/owner-form/owner-form.js +22 -19
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +15 -11
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +11 -8
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +13 -10
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +23 -16
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +9 -12
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-documents-on-file.js +6 -2
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +17 -12
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +20 -14
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +10 -6
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +14 -10
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +31 -21
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +14 -10
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +24 -16
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +20 -14
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +21 -12
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +12 -8
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +13 -13
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +3 -2
- package/dist/collection/components/checkout/billing-form/billing-form-schema.js +21 -0
- package/dist/collection/components/checkout/billing-form/billing-form.js +203 -0
- package/dist/collection/components/checkout/card-form/card-form.js +5 -4
- package/dist/collection/components/checkout/checkout-core.js +88 -37
- package/dist/collection/components/checkout/checkout.js +70 -28
- package/dist/collection/components/checkout/new-payment-method.js +110 -30
- package/dist/collection/components/checkout/payment-method-options.js +91 -36
- package/dist/collection/components/checkout/saved-payment-method.js +7 -4
- package/dist/collection/components/checkout/sezzle-payment-method.js +19 -15
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +17 -14
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +7 -5
- package/dist/collection/components/checkouts-list/checkouts-list.js +16 -12
- package/dist/collection/components/dispute-management/dispute-management-core.js +11 -8
- package/dist/collection/components/dispute-management/dispute-management.js +12 -9
- package/dist/collection/components/dispute-management/dispute-notification.js +11 -9
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +10 -9
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +21 -14
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +16 -13
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +10 -8
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +5 -4
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +7 -6
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +44 -30
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +40 -32
- package/dist/collection/components/order-terminals/order-terminals.js +19 -14
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +19 -13
- package/dist/collection/components/payment-details/payment-details-core.js +13 -12
- package/dist/collection/components/payment-details/payment-details.js +29 -6
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +248 -0
- package/dist/collection/components/payment-transactions-list/payment-transactions-table.js +45 -0
- package/dist/collection/components/payments-list/payments-list-core.js +12 -11
- package/dist/collection/components/payments-list/payments-list-filters.js +17 -12
- package/dist/collection/components/payments-list/payments-list.js +16 -11
- package/dist/collection/components/payout-details/payout-details-core.js +11 -8
- package/dist/collection/components/payout-details/payout-details.js +11 -9
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +250 -0
- package/dist/collection/components/payout-transactions-list/payout-transactions-table.js +47 -0
- package/dist/collection/components/payouts-list/payouts-list-core.js +21 -16
- package/dist/collection/components/payouts-list/payouts-list-filters.js +8 -6
- package/dist/collection/components/payouts-list/payouts-list.js +16 -13
- package/dist/collection/components/refund-payment/refund-loading.js +6 -0
- package/dist/collection/components/refund-payment/refund-payment-schema.js +26 -11
- package/dist/collection/components/refund-payment/refund-payment.js +157 -57
- package/dist/collection/components/terminal-orders-list/terminal-order-status.js +15 -0
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +12 -11
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +18 -11
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +16 -11
- package/dist/collection/components/terminal-orders-list/terminal-orders-table.js +11 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +17 -14
- package/dist/collection/components/terminals-list/terminals-list-filters.js +10 -7
- package/dist/collection/components/terminals-list/terminals-list.js +16 -12
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +71 -19
- package/dist/collection/styles/parts.js +2 -1
- package/dist/collection/ui-components/custom-popper/custom-popper.js +19 -8
- package/dist/collection/ui-components/details/details.js +3 -4
- package/dist/collection/ui-components/filters/table-filters-menu.js +8 -7
- package/dist/collection/ui-components/form/form-control-checkbox.js +25 -17
- package/dist/collection/ui-components/form/form-control-date.js +32 -21
- package/dist/collection/ui-components/form/form-control-file-v2.js +23 -18
- package/dist/collection/ui-components/form/form-control-file.js +28 -21
- package/dist/collection/ui-components/form/form-control-monetary.js +35 -23
- package/dist/collection/ui-components/form/form-control-number-masked.js +28 -19
- package/dist/collection/ui-components/form/form-control-number.js +25 -17
- package/dist/collection/ui-components/form/form-control-radio.js +28 -19
- package/dist/collection/ui-components/form/form-control-select.js +29 -19
- package/dist/collection/ui-components/form/form-control-text.js +32 -21
- package/dist/collection/ui-components/form/form-control-textarea.js +32 -21
- package/dist/collection/ui-components/form/form-helpers/form-alert/form-alert.js +6 -6
- package/dist/collection/ui-components/form/form-helpers/form-control-help-text/form-control-help-text.js +6 -6
- package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +3 -6
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +14 -12
- package/dist/collection/ui-components/pagination-menu/pagination-menu.js +6 -0
- package/dist/collection/utils/utils.js +8 -0
- package/dist/docs.d.ts +8 -0
- package/dist/docs.json +2216 -947
- package/dist/esm/Api-C9CDE-UM.js +72 -0
- package/dist/esm/{Business-0855931c.js → Business-D6XNzizo.js} +2 -2
- package/dist/esm/{Checkout-18d8bf94.js → Checkout-Dfpql997.js} +1 -1
- package/dist/esm/{ComponentError-c61dce41.js → ComponentError-SdntD1xf.js} +2 -1
- package/dist/esm/{Document-1907c0d4.js → Document-Ct-uNz2r.js} +1 -1
- package/dist/esm/{Payment-806af354.js → Payment-BADkZFaz.js} +2 -2
- package/dist/esm/{SubAccount-7520271c.js → Refund-DOvd7RJp.js} +102 -2
- package/dist/esm/_commonjsHelpers-BFTU3MAI.js +7 -0
- package/dist/esm/additional-questions-details_5.entry.js +5 -9
- package/dist/esm/{badge-1be14e8c.js → badge-D5PvLnZT.js} +3 -3
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +25 -41
- package/dist/esm/bank-account-form_9.entry.js +91 -93
- package/dist/esm/{business-additional-questions-schema-56308a54.js → business-additional-questions-schema-W6okG5Xu.js} +2 -2
- package/dist/esm/business-details-core.entry.js +6 -8
- package/dist/esm/{business-form-options-86a13078.js → business-form-options-Bn05PRR4.js} +1 -1
- package/dist/esm/{business-identity-schema-24fcc4ef.js → business-identity-schema-lqdJS3MT.js} +2 -2
- package/dist/esm/{business.service-999196a4.js → business.service-B136meVo.js} +23 -8
- package/dist/esm/{button-fcee4da7.js → button-wgHJf7hN.js} +2 -2
- package/dist/esm/{check-pkg-version-47fc35a7.js → check-pkg-version-iIBw3nCc.js} +3 -3
- package/dist/esm/{checkout.service-e38e477f.js → checkout.service-92ld4w-G.js} +13 -10
- package/dist/esm/checkouts-list-core.entry.js +25 -29
- package/dist/esm/{checkouts-list-params-state-7bdf00bd.js → checkouts-list-params-state-qgJxi6iW.js} +1 -1
- package/dist/esm/{checkouts-table-39a031a0.js → checkouts-table-DQfjKgR-.js} +4 -4
- package/dist/esm/custom-popper_4.entry.js +27 -50
- package/dist/esm/{dispute.service-7ba6d5a4.js → dispute.service-H2Oaq2af.js} +20 -11
- package/dist/esm/{event-types-1bc52f1f.js → event-types-Dv-I6YqZ.js} +3 -3
- package/dist/esm/form-alert_5.entry.js +10 -17
- package/dist/esm/form-control-checkbox.entry.js +9 -16
- package/dist/esm/form-control-date.entry.js +9 -17
- package/dist/esm/{form-control-error-text-176d20d8.js → form-control-error-text-nyeinPVQ.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +11 -28
- package/dist/esm/{form-control-help-text-83764e14.js → form-control-help-text-QhxeQeTV.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -3
- package/dist/esm/form-control-monetary-provisioning.entry.js +13 -20
- package/dist/esm/form-control-monetary.entry.js +13 -20
- package/dist/esm/form-control-number-masked_2.entry.js +12 -23
- package/dist/esm/form-control-number.entry.js +9 -16
- package/dist/esm/form-control-radio.entry.js +7 -15
- package/dist/esm/{get-business-b7511690.js → get-business-B3c5gg1D.js} +3 -3
- package/dist/esm/get-payment-details-Bzh5t6A8.js +40 -0
- package/dist/esm/get-payout-csv-bM3pZLKB.js +22 -0
- package/dist/esm/{get-subaccounts-3c6b9e84.js → get-subaccounts-BB3Sqb3H.js} +10 -9
- package/dist/esm/gross-payment-chart-core.entry.js +262 -268
- package/dist/esm/{header-1-215a146f.js → header-1-DNg4xuR6.js} +2 -2
- package/dist/esm/{header-3-afd16f23.js → header-3-BD_mh7vB.js} +2 -2
- package/dist/esm/{helpers-96ea3464.js → helpers-Mu7LQT-w.js} +2 -2
- package/dist/esm/{iframe-input-styles-state-ff730fe5.js → iframe-input-styles-state-DeH54Fkx.js} +3 -3
- package/dist/esm/iframe-input.entry.js +1638 -0
- package/dist/esm/{index-a47fdc7f.js → index-4sfb1rKO.js} +4 -5
- package/dist/esm/{index-d9a73ce3.js → index-Ce_F4E0f.js} +1 -1
- package/dist/esm/{index-29fcfdf5.js → index-D4-FKsCU.js} +459 -250
- package/dist/esm/index.esm-BCNUj0Dx.js +11801 -0
- package/dist/esm/{input-handlers-270ac806.js → input-handlers-CX6mSvOM.js} +1 -1
- package/dist/esm/{insurance-state-d2df8e88.js → insurance-state-CXUWRQQk.js} +3 -3
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +64 -92
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +36 -84
- package/dist/esm/justifi-additional-statement_8.entry.js +36 -52
- package/dist/esm/justifi-business-details.entry.js +16 -18
- package/dist/esm/justifi-business-form.entry.js +34 -36
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +6 -9
- package/dist/esm/justifi-checkout-core.entry.js +31 -32
- package/dist/esm/justifi-checkout.entry.js +23 -27
- package/dist/esm/justifi-checkouts-list-filters.entry.js +15 -16
- package/dist/esm/justifi-checkouts-list.entry.js +25 -28
- package/dist/esm/justifi-details.entry.js +3 -4
- package/dist/esm/justifi-dispute-management-core.entry.js +5 -9
- package/dist/esm/justifi-dispute-management.entry.js +19 -21
- package/dist/esm/justifi-dispute-notification_3.entry.js +38 -50
- package/dist/esm/justifi-gross-payment-chart.entry.js +13 -14
- package/dist/esm/justifi-order-terminals.entry.js +26 -32
- package/dist/esm/justifi-owner-form_3.entry.js +29 -50
- package/dist/esm/justifi-payment-details.entry.js +22 -48
- package/dist/esm/justifi-payment-provisioning-core.entry.js +15 -21
- package/dist/esm/justifi-payment-provisioning.entry.js +15 -14
- package/dist/esm/justifi-payment-transactions-list.entry.js +193 -0
- package/dist/esm/justifi-payments-list-filters.entry.js +11 -15
- package/dist/esm/justifi-payments-list.entry.js +25 -27
- package/dist/esm/justifi-payout-details.entry.js +21 -23
- package/dist/esm/justifi-payout-transactions-list.entry.js +201 -0
- package/dist/esm/justifi-payouts-list-filters.entry.js +9 -10
- package/dist/esm/justifi-payouts-list.entry.js +27 -30
- package/dist/esm/justifi-refund-payment.entry.js +189 -67
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +10 -25
- package/dist/esm/justifi-season-interruption-insurance.entry.js +24 -33
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +19 -19
- package/dist/esm/justifi-terminal-orders-list.entry.js +28 -26
- package/dist/esm/justifi-terminals-list-filters.entry.js +17 -19
- package/dist/esm/justifi-terminals-list.entry.js +25 -28
- package/dist/esm/justifi-tokenize-payment-method.entry.js +24 -26
- package/dist/esm/loader.js +4 -4
- package/dist/esm/lodash-BqWxUrkh.js +17214 -0
- package/dist/esm/package-DGWLSvML.js +7 -0
- package/dist/esm/pagination-menu.entry.js +3 -3
- package/dist/esm/{parts-fd740f54.js → parts-6ctk_bhj.js} +3 -2
- package/dist/esm/payment-details-core.entry.js +19 -20
- package/dist/esm/{payment-provisioning-actions-beadac34.js → payment-provisioning-actions-CZYFFdTf.js} +3 -3
- package/dist/esm/payment.service-CeGn-K_X.js +25 -0
- package/dist/esm/payments-list-core.entry.js +25 -28
- package/dist/esm/{payments-list-params-state-d05b24aa.js → payments-list-params-state-qgJxi6iW.js} +1 -1
- package/dist/esm/{payments-status-74d22728.js → payments-status-nKLMqTrO.js} +2 -2
- package/dist/esm/{payments-table-8134f5e1.js → payments-table-BrvZHeak.js} +4 -4
- package/dist/esm/payout-details-core.entry.js +14 -16
- package/dist/esm/payout.service-dukCI9Kl.js +32 -0
- package/dist/esm/payouts-list-core.entry.js +26 -31
- package/dist/esm/{payouts-list-params-state-ebcee300.js → payouts-list-params-state-qgJxi6iW.js} +1 -1
- package/dist/esm/{payouts-status-29d31099.js → payouts-status-tVJFGPCs.js} +2 -2
- package/dist/esm/{payouts-table-c1ced46a.js → payouts-table-CgfTp9tE.js} +4 -4
- package/dist/esm/{schema-validations-5af4266a.js → schema-validations-BsbYeDDR.js} +5 -5
- package/dist/esm/{skeleton-ab3f676e.js → skeleton-D8dsThNX.js} +2 -2
- package/dist/esm/{spinner-27479716.js → spinner-BVJ-upD0.js} +2 -2
- package/dist/esm/{styled-host-32228b45.js → styled-host-D594Ui4d.js} +2 -3
- package/dist/esm/table-filters-menu.entry.js +4 -8
- package/dist/esm/terminal-orders-list-core.entry.js +24 -27
- package/dist/esm/{terminal-orders-list-params-state-8fec0a0b.js → terminal-orders-list-params-state-qgJxi6iW.js} +1 -1
- package/dist/esm/{terminal-orders-table-93e84d25.js → terminal-orders-table-CgioW1d8.js} +35 -5
- package/dist/esm/terminal-quantity-selector.entry.js +6 -10
- package/dist/esm/{terminal.service-d173566d.js → terminal.service-L0EoPXUE.js} +11 -11
- package/dist/esm/terminals-list-core.entry.js +25 -29
- package/dist/esm/terminals-list-params-state-qgJxi6iW.js +16 -0
- package/dist/esm/{terminals-table-ff24bf27.js → terminals-table-D7LKwR85.js} +4 -4
- package/dist/esm/{utils-96d9c205.js → utils-1z8cNzLu.js} +2 -2
- package/dist/esm/utils-BWcTxbSg.js +23969 -0
- package/dist/esm/{utils-fd99b806.js → utils-Dccsn9BY.js} +2 -2
- package/dist/esm/webcomponents.js +6 -5
- package/dist/module/Api.js +32 -76
- package/dist/module/Business.js +2 -2
- package/dist/module/ComponentError.js +2 -1
- package/dist/module/Document.js +1 -1
- package/dist/module/{SubAccount.js → Refund.js} +101 -1
- package/dist/module/_commonjsHelpers.js +7 -0
- package/dist/module/additional-questions-details2.js +1 -2
- package/dist/module/additional-questions.js +2 -3
- package/dist/module/additional-statement.js +6 -9
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-document-inputs.js +4 -6
- package/dist/module/bank-account-form-inputs2.js +1 -5
- package/dist/module/bank-account-form2.js +0 -1
- package/dist/module/billing-form.js +122 -4
- package/dist/module/business-additional-questions-form-step-core.js +7 -11
- package/dist/module/business-additional-questions-form-step.js +1 -6
- package/dist/module/business-additional-questions-schema.js +1 -1
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +13 -18
- package/dist/module/business-bank-account-form-step.js +3 -9
- package/dist/module/business-core-info-form-step-core.js +6 -11
- package/dist/module/business-core-info-form-step.js +1 -6
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-core-info.js +2 -3
- package/dist/module/business-details-core2.js +1 -3
- package/dist/module/business-documents-on-file2.js +1 -1
- package/dist/module/business-form-options.js +1 -1
- package/dist/module/business-identity-schema.js +1 -1
- package/dist/module/business-owners-form-step-core.js +5 -11
- package/dist/module/business-owners-form-step.js +1 -6
- package/dist/module/business-representative-form-inputs.js +1 -4
- package/dist/module/business-representative-form-step-core.js +5 -9
- package/dist/module/business-representative-form-step.js +1 -6
- package/dist/module/business-representative.js +3 -4
- package/dist/module/business-terms-conditions-form-step.js +6 -12
- package/dist/module/business.service.js +22 -7
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +6 -8
- package/dist/module/card-form2.js +2 -3
- package/dist/module/check-pkg-version.js +1 -1
- package/dist/module/checkout-core.js +57 -69
- package/dist/module/checkout.service.js +7 -4
- package/dist/module/checkouts-list-core2.js +12 -17
- package/dist/module/custom-popper2.js +13 -16
- package/dist/module/customer-details.js +6 -8
- package/dist/module/details.js +0 -1
- package/dist/module/dispute-management-core.js +4 -8
- package/dist/module/dispute-notification.js +3 -6
- package/dist/module/dispute-response-actions.js +16 -7
- package/dist/module/dispute-response-core.js +12 -16
- package/dist/module/dispute-response.js +6 -12
- package/dist/module/duplicate-charge.js +6 -8
- package/dist/module/electronic-evidence.js +5 -7
- package/dist/module/event-types2.js +21 -61
- package/dist/module/event-types3.js +61 -21
- package/dist/module/form-alert2.js +1 -3
- package/dist/module/form-control-checkbox2.js +6 -13
- package/dist/module/form-control-date2.js +6 -14
- package/dist/module/form-control-file-v22.js +2 -10
- package/dist/module/form-control-file2.js +5 -15
- package/dist/module/form-control-help-text.js +1 -1
- package/dist/module/form-control-help-text2.js +30 -9
- package/dist/module/form-control-help-text3.js +9 -32
- package/dist/module/form-control-monetary-provisioning2.js +8 -15
- package/dist/module/form-control-monetary2.js +9 -17
- package/dist/module/form-control-number-masked2.js +4 -12
- package/dist/module/form-control-number.js +6 -13
- package/dist/module/form-control-radio2.js +6 -14
- package/dist/module/form-control-select2.js +5 -13
- package/dist/module/form-control-text2.js +5 -14
- package/dist/module/form-control-textarea2.js +7 -16
- package/dist/module/form-control-tooltip2.js +0 -3
- package/dist/module/form.js +9773 -903
- package/dist/module/generic-info-details2.js +0 -1
- package/dist/module/get-business.js +2 -2
- package/dist/module/get-payment-details.js +40 -0
- package/dist/module/get-payout-csv.js +3 -27
- package/dist/module/get-subaccounts.js +5 -4
- package/dist/module/gross-payment-chart-core2.js +257 -264
- package/dist/module/helpers.js +1 -1
- package/dist/module/hidden-input2.js +3 -3
- package/dist/module/identity-address-form.js +2 -5
- package/dist/module/iframe-input-styles-state.js +2 -2
- package/dist/module/iframe-input2.js +1481 -1478
- package/dist/module/index.js +1 -1
- package/dist/module/index2.js +3 -4
- package/dist/module/index3.js +1 -1
- package/dist/module/{billing-form.d.ts → justifi-billing-form.d.ts} +4 -4
- package/dist/module/justifi-billing-form.js +6 -0
- package/dist/module/justifi-business-details.js +1 -5
- package/dist/module/justifi-business-form.js +7 -10
- package/dist/module/justifi-checkout.js +47 -62
- package/dist/module/justifi-checkouts-list-filters.js +4 -5
- package/dist/module/justifi-checkouts-list.js +8 -11
- package/dist/module/justifi-dispute-management.js +6 -9
- package/dist/module/justifi-gross-payment-chart.js +4 -7
- package/dist/module/justifi-order-terminals.js +6 -13
- package/dist/module/justifi-payment-details.js +6 -38
- package/dist/module/justifi-payment-provisioning.js +5 -6
- package/dist/module/justifi-payment-transactions-list.d.ts +11 -0
- package/dist/module/justifi-payment-transactions-list.js +229 -0
- package/dist/module/justifi-payments-list-filters.js +6 -11
- package/dist/module/justifi-payments-list.js +8 -10
- package/dist/module/justifi-payout-details.js +8 -10
- package/dist/module/justifi-payout-transactions-list.d.ts +11 -0
- package/dist/module/justifi-payout-transactions-list.js +237 -0
- package/dist/module/justifi-payouts-list-filters.js +4 -6
- package/dist/module/justifi-payouts-list.js +10 -13
- package/dist/module/justifi-refund-payment.js +184 -61
- package/dist/module/justifi-season-interruption-insurance.js +13 -23
- package/dist/module/justifi-terminal-orders-list-filters.js +8 -9
- package/dist/module/justifi-terminal-orders-list.js +13 -11
- package/dist/module/justifi-terminals-list-filters.js +6 -8
- package/dist/module/justifi-terminals-list.js +8 -11
- package/dist/module/justifi-tokenize-payment-method.js +46 -58
- package/dist/module/legal-address-details2.js +1 -2
- package/dist/module/legal-address-form-step-core.js +6 -10
- package/dist/module/legal-address-form-step.js +1 -6
- package/dist/module/legal-address-form.js +1 -3
- package/dist/module/lodash.js +17201 -17191
- package/dist/module/new-payment-method.js +43 -55
- package/dist/module/owner-details2.js +0 -1
- package/dist/module/owner-form-core2.js +8 -18
- package/dist/module/owner-form-inputs2.js +1 -4
- package/dist/module/owner-form.js +1 -11
- package/dist/module/package.js +3 -77
- package/dist/module/pagination-menu2.js +1 -1
- package/dist/module/parts.js +3 -2
- package/dist/module/payment-details-core2.js +11 -13
- package/dist/module/payment-method-options.js +43 -61
- package/dist/module/payment-provisioning-actions.js +2 -2
- package/dist/module/payment-provisioning-core.js +8 -14
- package/dist/module/payment-provisioning-form-buttons.js +2 -8
- package/dist/module/payment-provisioning-form-steps.js +2 -7
- package/dist/module/payment.service.js +8 -4
- package/dist/module/payments-list-core2.js +10 -14
- package/dist/module/payout-details-core2.js +6 -9
- package/dist/module/payout.service.js +32 -0
- package/dist/module/payouts-list-core2.js +14 -20
- package/dist/module/product-or-service.js +5 -7
- package/dist/module/refund-policy.js +6 -8
- package/dist/module/representative-details2.js +0 -1
- package/dist/module/saved-payment-method.js +4 -6
- package/dist/module/schema-validations.js +2 -2
- package/dist/module/season-interruption-insurance-core.js +4 -20
- package/dist/module/sezzle-payment-method.js +3 -12
- package/dist/module/shipping-details.js +6 -8
- package/dist/module/spinner.js +1 -1
- package/dist/module/styled-host.js +1 -2
- package/dist/module/table-filters-menu2.js +3 -7
- package/dist/module/terminal-orders-list-core2.js +35 -15
- package/dist/module/terminal-quantity-selector2.js +4 -8
- package/dist/module/terminal.service.js +5 -5
- package/dist/module/terminals-list-core2.js +12 -17
- package/dist/module/utils.js +1 -1
- package/dist/module/utils2.js +23787 -3819
- package/dist/module/utils4.js +2 -2
- package/dist/types/actions/payment/get-payment-details.d.ts +4 -2
- package/dist/types/actions/payment/get-payment-transactions.d.ts +11 -0
- package/dist/types/actions/payout/get-payout-transactions.d.ts +10 -0
- package/dist/types/actions/refund/refund-actions.d.ts +12 -0
- package/dist/types/api/Api.d.ts +30 -5
- package/dist/types/api/ComponentError.d.ts +2 -1
- package/dist/types/api/Payment.d.ts +1 -11
- package/dist/types/api/PaymentBalanceTransaction.d.ts +42 -0
- package/dist/types/api/PayoutBalanceTransaction.d.ts +46 -0
- package/dist/types/api/Refund.d.ts +45 -0
- package/dist/types/api/TerminalOrder.d.ts +4 -1
- package/dist/types/api/index.d.ts +3 -0
- package/dist/types/api/services/payment.service.d.ts +4 -2
- package/dist/types/api/services/payout.service.d.ts +3 -1
- package/dist/types/api/services/refund.service.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +1 -1
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +3 -3
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +1 -1
- package/dist/types/components/checkout/{billing-forms → billing-form}/billing-form-schema.d.ts +1 -11
- package/dist/types/components/checkout/{billing-forms/billing-form → billing-form}/billing-form.d.ts +8 -6
- package/dist/types/components/checkout/checkout-core.d.ts +6 -2
- package/dist/types/components/checkout/checkout.d.ts +6 -2
- package/dist/types/components/checkout/new-payment-method.d.ts +7 -3
- package/dist/types/components/checkout/payment-method-options.d.ts +6 -2
- package/dist/types/components/payment-details/payment-details.d.ts +1 -0
- package/dist/types/components/payment-transactions-list/payment-transactions-list.d.ts +32 -0
- package/dist/types/components/payment-transactions-list/payment-transactions-table.d.ts +43 -0
- package/dist/types/components/payout-transactions-list/payout-transactions-list.d.ts +33 -0
- package/dist/types/components/payout-transactions-list/payout-transactions-table.d.ts +45 -0
- package/dist/types/components/refund-payment/refund-loading.d.ts +1 -0
- package/dist/types/components/refund-payment/refund-payment-schema.d.ts +6 -6
- package/dist/types/components/refund-payment/refund-payment.d.ts +18 -12
- package/dist/types/components/terminal-orders-list/terminal-orders-list-filters.d.ts +1 -1
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +4 -0
- package/dist/types/components.d.ts +123 -74
- package/dist/types/stencil-public-runtime.d.ts +28 -0
- package/dist/types/styles/parts.d.ts +6 -5
- package/dist/types/ui-components/form/form-control-monetary.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/webcomponents/p-009c6766.entry.js +1 -0
- package/dist/webcomponents/p-048ed3f0.entry.js +1 -0
- package/dist/webcomponents/p-0764cfde.entry.js +1 -0
- package/dist/webcomponents/p-08dcbb41.entry.js +1 -0
- package/dist/webcomponents/p-0b0e44c4.entry.js +1 -0
- package/dist/webcomponents/p-0b1bbf91.entry.js +1 -0
- package/dist/webcomponents/p-0c9c8d6f.entry.js +1 -0
- package/dist/webcomponents/p-103692ef.entry.js +1 -0
- package/dist/webcomponents/p-103deee0.entry.js +1 -0
- package/dist/webcomponents/p-10ad134d.entry.js +1 -0
- package/dist/webcomponents/p-175a913f.entry.js +1 -0
- package/dist/webcomponents/p-1c2bedfe.entry.js +1 -0
- package/dist/webcomponents/p-1ydcg9ti.js +1 -0
- package/dist/webcomponents/p-36656ed1.entry.js +1 -0
- package/dist/webcomponents/p-3678f5fb.entry.js +1 -0
- package/dist/webcomponents/p-3b1f69fd.entry.js +1 -0
- package/dist/webcomponents/p-405f135e.entry.js +1 -0
- package/dist/webcomponents/p-40614f67.entry.js +1 -0
- package/dist/webcomponents/p-41a0b83c.entry.js +1 -0
- package/dist/webcomponents/p-4361ae88.entry.js +1 -0
- package/dist/webcomponents/p-487514c2.entry.js +1 -0
- package/dist/webcomponents/p-4994c980.entry.js +1 -0
- package/dist/webcomponents/p-4c4cc0ad.entry.js +20 -0
- package/dist/webcomponents/p-4d5b8876.entry.js +1 -0
- package/dist/webcomponents/p-529bf046.entry.js +1 -0
- package/dist/webcomponents/p-5321c7d5.entry.js +1 -0
- package/dist/webcomponents/p-54aa7e86.entry.js +1 -0
- package/dist/webcomponents/p-5aeOUdhX.js +1 -0
- package/dist/webcomponents/p-601669bb.entry.js +1 -0
- package/dist/webcomponents/p-63c835b9.entry.js +1 -0
- package/dist/webcomponents/p-656ec7b6.entry.js +1 -0
- package/dist/webcomponents/p-6ctk_bhj.js +1 -0
- package/dist/webcomponents/p-6d36d6a7.entry.js +1 -0
- package/dist/webcomponents/p-76e7c283.entry.js +1 -0
- package/dist/webcomponents/p-81a1be23.entry.js +1 -0
- package/dist/webcomponents/p-81d682ba.entry.js +1 -0
- package/dist/webcomponents/p-85681d97.entry.js +1 -0
- package/dist/webcomponents/p-88539215.entry.js +1 -0
- package/dist/webcomponents/p-896e4fb2.entry.js +1 -0
- package/dist/webcomponents/p-8bc32c27.entry.js +1 -0
- package/dist/webcomponents/p-8d4d2ac3.entry.js +1 -0
- package/dist/webcomponents/p-9349d32e.entry.js +1 -0
- package/dist/webcomponents/p-938e0dbc.entry.js +1 -0
- package/dist/webcomponents/p-94d81903.entry.js +1 -0
- package/dist/webcomponents/p-9767500b.entry.js +1 -0
- package/dist/webcomponents/p-9cf5ed80.entry.js +1 -0
- package/dist/webcomponents/p-AVaenhw9.js +1 -0
- package/dist/webcomponents/p-B2H14Naw.js +1 -0
- package/dist/webcomponents/p-B4iBNBBM.js +1 -0
- package/dist/webcomponents/p-BAXE_ZfF.js +1 -0
- package/dist/webcomponents/p-BBsCnePk.js +1 -0
- package/dist/webcomponents/p-BFTU3MAI.js +1 -0
- package/dist/webcomponents/p-BHbsXXRt.js +1 -0
- package/dist/webcomponents/p-BLdGqrQH.js +1 -0
- package/dist/webcomponents/p-BODr6HXb.js +1 -0
- package/dist/webcomponents/p-Bde7dY9t.js +9 -0
- package/dist/webcomponents/{p-1366a019.js → p-BjB_yKBJ.js} +1 -1
- package/dist/webcomponents/p-BoPxMyJA.js +1 -0
- package/dist/webcomponents/{p-5d1d2fd7.js → p-BrvbVMVq.js} +1 -1
- package/dist/webcomponents/p-BupmNfQ5.js +1 -0
- package/dist/webcomponents/p-BvWS8buZ.js +1 -0
- package/dist/webcomponents/{p-ca6cdfe6.js → p-BwgcVN7d.js} +1 -1
- package/dist/webcomponents/p-BxGoUIgN.js +1 -0
- package/dist/webcomponents/{p-3f5e6602.js → p-Bxs6fi7a.js} +1 -1
- package/dist/webcomponents/p-C3uv9u0l.js +1 -0
- package/dist/webcomponents/{p-87f8c596.js → p-C5RuuShs.js} +1 -1
- package/dist/webcomponents/p-CCN8wTYX.js +1 -0
- package/dist/webcomponents/p-CG9te8PM.js +1 -0
- package/dist/webcomponents/p-CGz3XHQc.js +1 -0
- package/dist/webcomponents/p-CRgzzPY4.js +1 -0
- package/dist/webcomponents/p-CZLIteZz.js +1 -0
- package/dist/webcomponents/p-C_9TcvwA.js +1 -0
- package/dist/webcomponents/p-CbZjB3qJ.js +1 -0
- package/dist/webcomponents/p-CfbB7agn.js +1 -0
- package/dist/webcomponents/{p-4cc3c7f9.js → p-CgS6VBEy.js} +1 -1
- package/dist/webcomponents/p-CpTwq2jw.js +1 -0
- package/dist/webcomponents/{p-61f0a2ce.js → p-Ct-uNz2r.js} +1 -1
- package/dist/webcomponents/p-Cy4aIACq.js +1 -0
- package/dist/webcomponents/p-D4-FKsCU.js +2 -0
- package/dist/webcomponents/{p-12074378.js → p-D5q9gEvl.js} +1 -1
- package/dist/webcomponents/p-D5wGYrfz.js +1 -0
- package/dist/webcomponents/{p-701a13ca.js → p-D6mhG0dV.js} +1 -1
- package/dist/webcomponents/p-DArbkdtn.js +1 -0
- package/dist/webcomponents/{p-a5579f53.js → p-DBfKxfCX.js} +1 -1
- package/dist/webcomponents/p-DEa8EbZW.js +1 -0
- package/dist/webcomponents/p-DGWLSvML.js +1 -0
- package/dist/webcomponents/p-DPC4A7AZ.js +1 -0
- package/dist/webcomponents/p-DVnVdicA.js +1 -0
- package/dist/webcomponents/p-DavDfnxI.js +1 -0
- package/dist/webcomponents/{p-70be104e.js → p-DgQyL5KO.js} +1 -1
- package/dist/webcomponents/p-DmBEzYCU.js +1 -0
- package/dist/webcomponents/p-Dt-vy9Le.js +1 -0
- package/dist/webcomponents/p-EbYREopN.js +1 -0
- package/dist/webcomponents/{p-c9b78275.js → p-IA90llLO.js} +1 -1
- package/dist/webcomponents/p-NI7Keg2H.js +1 -0
- package/dist/webcomponents/{p-9dd8685c.js → p-SdntD1xf.js} +1 -1
- package/dist/webcomponents/p-XazJ9qLe.js +1 -0
- package/dist/webcomponents/p-Xql8Xhsx.js +1 -0
- package/dist/webcomponents/p-a4e7d24f.entry.js +1 -0
- package/dist/webcomponents/p-a78bf0f7.entry.js +1 -0
- package/dist/webcomponents/p-a83bf2c0.entry.js +1 -0
- package/dist/webcomponents/p-b15d6c77.entry.js +1 -0
- package/dist/webcomponents/p-b5dd55b1.entry.js +1 -0
- package/dist/webcomponents/p-b8096d2b.entry.js +1 -0
- package/dist/webcomponents/p-bbc56c17.entry.js +1 -0
- package/dist/webcomponents/p-bc3d56a7.entry.js +1 -0
- package/dist/webcomponents/p-bf83ba04.entry.js +1 -0
- package/dist/webcomponents/p-bplwtwD3.js +1 -0
- package/dist/webcomponents/p-c5b66da3.entry.js +1 -0
- package/dist/webcomponents/p-c7dc7184.entry.js +1 -0
- package/dist/webcomponents/p-cb8b91ea.entry.js +1 -0
- package/dist/webcomponents/p-d7ea4db7.entry.js +1 -0
- package/dist/webcomponents/p-dadb97e1.entry.js +1 -0
- package/dist/webcomponents/p-dafac427.entry.js +1 -0
- package/dist/webcomponents/p-dca205de.entry.js +1 -0
- package/dist/webcomponents/p-df3fb523.entry.js +1 -0
- package/dist/webcomponents/p-f-9W4QBD.js +1 -0
- package/dist/webcomponents/p-f604d6ea.entry.js +1 -0
- package/dist/webcomponents/p-ffbf35a4.entry.js +1 -0
- package/dist/webcomponents/{p-bfe9748b.js → p-lvlr3zXn.js} +1 -1
- package/dist/webcomponents/p-obi7kkCX.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +6 -7
- package/dist/cjs/Api-83d93333.js +0 -118
- package/dist/cjs/billing-form_3.cjs.entry.js +0 -1733
- package/dist/cjs/get-payout-csv-7607c71e.js +0 -49
- package/dist/cjs/index.esm-544c08fd.js +0 -2937
- package/dist/cjs/lodash-dbf6a6a4.js +0 -17206
- package/dist/cjs/package-5a9f02b2.js +0 -83
- package/dist/cjs/payment.service-537e049d.js +0 -23
- package/dist/cjs/terminals-list-params-state-236f06f6.js +0 -22
- package/dist/cjs/utils-4120664c.js +0 -4018
- package/dist/collection/components/checkout/billing-forms/billing-form/billing-form.js +0 -137
- package/dist/collection/components/checkout/billing-forms/billing-form-schema.js +0 -26
- package/dist/collection/components/checkout/billing-forms/billing-form-wrapper.js +0 -183
- package/dist/collection/components/checkout/billing-forms/postal-form/postal-form.js +0 -136
- package/dist/esm/Api-52242eb0.js +0 -116
- package/dist/esm/billing-form_3.entry.js +0 -1727
- package/dist/esm/get-payout-csv-fa34f40b.js +0 -46
- package/dist/esm/index.esm-feedf26f.js +0 -2931
- package/dist/esm/lodash-faeb5a52.js +0 -17204
- package/dist/esm/package-c8466624.js +0 -81
- package/dist/esm/payment.service-af5bd8be.js +0 -21
- package/dist/esm/terminals-list-params-state-e4b2ec23.js +0 -16
- package/dist/esm/utils-ec50661e.js +0 -4001
- package/dist/loader/package.json +0 -11
- package/dist/module/billing-form-schema.js +0 -16
- package/dist/module/billing-form-wrapper.js +0 -114
- package/dist/module/billing-form2.js +0 -90
- package/dist/module/justifi-billing-form-wrapper.d.ts +0 -11
- package/dist/module/justifi-billing-form-wrapper.js +0 -6
- package/dist/module/postal-form.d.ts +0 -11
- package/dist/module/postal-form.js +0 -6
- package/dist/module/postal-form2.js +0 -83
- package/dist/types/components/checkout/billing-forms/billing-form-wrapper.d.ts +0 -19
- package/dist/types/components/checkout/billing-forms/postal-form/postal-form.d.ts +0 -20
- package/dist/webcomponents/p-01033194.js +0 -1
- package/dist/webcomponents/p-04d6b37e.entry.js +0 -1
- package/dist/webcomponents/p-092515e0.js +0 -1
- package/dist/webcomponents/p-0b61d4d3.entry.js +0 -1
- package/dist/webcomponents/p-0c7ec110.entry.js +0 -1
- package/dist/webcomponents/p-0f0020e1.entry.js +0 -1
- package/dist/webcomponents/p-0fa216eb.entry.js +0 -1
- package/dist/webcomponents/p-1361d8eb.entry.js +0 -1
- package/dist/webcomponents/p-13717638.entry.js +0 -1
- package/dist/webcomponents/p-142bfae3.js +0 -1
- package/dist/webcomponents/p-1cfa5df9.entry.js +0 -1
- package/dist/webcomponents/p-1ff8810b.js +0 -1
- package/dist/webcomponents/p-2123c150.js +0 -1
- package/dist/webcomponents/p-21def20b.entry.js +0 -1
- package/dist/webcomponents/p-23cd76af.entry.js +0 -1
- package/dist/webcomponents/p-25b82529.entry.js +0 -1
- package/dist/webcomponents/p-27546fa9.entry.js +0 -1
- package/dist/webcomponents/p-275c3dc9.js +0 -1
- package/dist/webcomponents/p-2783e363.js +0 -2
- package/dist/webcomponents/p-290fa30d.entry.js +0 -1
- package/dist/webcomponents/p-2a9d7f6b.js +0 -1
- package/dist/webcomponents/p-2aad7e3b.entry.js +0 -1
- package/dist/webcomponents/p-2b8aaa7d.entry.js +0 -1
- package/dist/webcomponents/p-3075b7e1.entry.js +0 -1
- package/dist/webcomponents/p-31dcaeaf.entry.js +0 -1
- package/dist/webcomponents/p-35c296fc.entry.js +0 -1
- package/dist/webcomponents/p-373a19fe.entry.js +0 -1
- package/dist/webcomponents/p-375657fe.entry.js +0 -1
- package/dist/webcomponents/p-3cc7527a.entry.js +0 -1
- package/dist/webcomponents/p-3cf317d3.entry.js +0 -1
- package/dist/webcomponents/p-407d6d29.entry.js +0 -1
- package/dist/webcomponents/p-4451de8d.entry.js +0 -1
- package/dist/webcomponents/p-4f7432c3.entry.js +0 -1
- package/dist/webcomponents/p-536497fe.entry.js +0 -1
- package/dist/webcomponents/p-536fb8e2.js +0 -1
- package/dist/webcomponents/p-537bce77.js +0 -1
- package/dist/webcomponents/p-54556fc6.js +0 -1
- package/dist/webcomponents/p-56c7fc8d.js +0 -1
- package/dist/webcomponents/p-58ee6ce9.js +0 -1
- package/dist/webcomponents/p-5a541d35.js +0 -1
- package/dist/webcomponents/p-5a9d7ca0.entry.js +0 -1
- package/dist/webcomponents/p-5b76dbe1.entry.js +0 -1
- package/dist/webcomponents/p-5f6b4bc9.js +0 -1
- package/dist/webcomponents/p-645db2cb.entry.js +0 -1
- package/dist/webcomponents/p-673c1bca.js +0 -1
- package/dist/webcomponents/p-753d983c.entry.js +0 -1
- package/dist/webcomponents/p-76549a24.js +0 -1
- package/dist/webcomponents/p-7d85af5c.js +0 -1
- package/dist/webcomponents/p-7e8732f7.entry.js +0 -1
- package/dist/webcomponents/p-81a6c3e2.entry.js +0 -1
- package/dist/webcomponents/p-829480e7.entry.js +0 -1
- package/dist/webcomponents/p-86605101.js +0 -1
- package/dist/webcomponents/p-87a4fb5b.js +0 -1
- package/dist/webcomponents/p-927cb6df.js +0 -1
- package/dist/webcomponents/p-94e4f1f1.entry.js +0 -1
- package/dist/webcomponents/p-96c23cda.entry.js +0 -1
- package/dist/webcomponents/p-9a9732e1.js +0 -1
- package/dist/webcomponents/p-9fecad5a.js +0 -1
- package/dist/webcomponents/p-a3cced75.entry.js +0 -1
- package/dist/webcomponents/p-a5f5cc2e.entry.js +0 -1
- package/dist/webcomponents/p-a8c69f51.entry.js +0 -1
- package/dist/webcomponents/p-ab45511e.js +0 -1
- package/dist/webcomponents/p-ad713ab6.entry.js +0 -1
- package/dist/webcomponents/p-adecb91a.entry.js +0 -1
- package/dist/webcomponents/p-ae7edce5.js +0 -1
- package/dist/webcomponents/p-ae891abb.entry.js +0 -1
- package/dist/webcomponents/p-af3315b5.entry.js +0 -1
- package/dist/webcomponents/p-b218af87.entry.js +0 -1
- package/dist/webcomponents/p-b50ca848.entry.js +0 -1
- package/dist/webcomponents/p-b84ee6d8.js +0 -1
- package/dist/webcomponents/p-b8664571.entry.js +0 -1
- package/dist/webcomponents/p-bb4b3f79.entry.js +0 -1
- package/dist/webcomponents/p-beec0b60.js +0 -1
- package/dist/webcomponents/p-bf12999f.js +0 -1
- package/dist/webcomponents/p-bf195b35.js +0 -1
- package/dist/webcomponents/p-bfc2d88a.js +0 -1
- package/dist/webcomponents/p-c6be72b0.js +0 -10
- package/dist/webcomponents/p-c8b78136.js +0 -1
- package/dist/webcomponents/p-cbad44b7.js +0 -1
- package/dist/webcomponents/p-cc2f75a3.entry.js +0 -1
- package/dist/webcomponents/p-ccb9ee53.js +0 -1
- package/dist/webcomponents/p-cd93c62b.entry.js +0 -19
- package/dist/webcomponents/p-d757fcf5.js +0 -1
- package/dist/webcomponents/p-dbc1a95b.js +0 -1
- package/dist/webcomponents/p-dd2938d3.entry.js +0 -1
- package/dist/webcomponents/p-de03d0f8.js +0 -1
- package/dist/webcomponents/p-dec18cc4.js +0 -1
- package/dist/webcomponents/p-e1ae5e80.entry.js +0 -1
- package/dist/webcomponents/p-e3855f51.entry.js +0 -1
- package/dist/webcomponents/p-e73be1b9.entry.js +0 -1
- package/dist/webcomponents/p-e9867f8b.entry.js +0 -1
- package/dist/webcomponents/p-ef1db3da.entry.js +0 -1
- package/dist/webcomponents/p-f13b2991.entry.js +0 -1
- package/dist/webcomponents/p-f20466f7.entry.js +0 -1
- package/dist/webcomponents/p-f20b6ce1.js +0 -1
- package/dist/webcomponents/p-f4739d31.js +0 -1
- package/dist/webcomponents/p-f4aeb100.js +0 -1
- package/dist/webcomponents/p-f8fccf44.js +0 -1
- package/dist/webcomponents/p-f930504f.entry.js +0 -1
- package/dist/webcomponents/p-faa35b47.entry.js +0 -1
- package/dist/webcomponents/p-fb2db8da.entry.js +0 -1
- package/dist/webcomponents/p-fca89e9b.entry.js +0 -1
- /package/dist/cjs/{Dispute-eb6bad54.js → Dispute-CruQTF6_.js} +0 -0
- /package/dist/cjs/{Document-0b828345.js → Document-rXGBUaOh.js} +0 -0
- /package/dist/cjs/{Pagination-0da8f095.js → Pagination-Dediz133.js} +0 -0
- /package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -0
- /package/dist/cjs/{event-types-8edaabbb.js → event-types-BWQT2lwu.js} +0 -0
- /package/dist/cjs/{event-types-180a85a9.js → event-types-DNOUef41.js} +0 -0
- /package/dist/cjs/{form-input-masks-0879c139.js → form-input-masks-DgXd0f4V.js} +0 -0
- /package/dist/cjs/{state-options-4fbcb48a.js → state-options-CIT9xdTz.js} +0 -0
- /package/dist/cjs/{utils-bc03ca40.js → utils-DAyWinG2.js} +0 -0
- /package/dist/esm/{Dispute-5fd28ec9.js → Dispute-7MWRbTXI.js} +0 -0
- /package/dist/esm/{Pagination-afc8f96d.js → Pagination-CLHwhyvu.js} +0 -0
- /package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
- /package/dist/esm/{event-types-07cdb9a0.js → event-types-Bg2SZArf.js} +0 -0
- /package/dist/esm/{event-types-5c87de02.js → event-types-XYgDHrVL.js} +0 -0
- /package/dist/esm/{form-input-masks-0e18300f.js → form-input-masks-B-iV5cYd.js} +0 -0
- /package/dist/esm/{state-options-a356fb11.js → state-options-BX8GieXu.js} +0 -0
- /package/dist/esm/{utils-20cdf321.js → utils-BnjCmwMr.js} +0 -0
- /package/dist/webcomponents/{p-abdbcd8e.js → p-7MWRbTXI.js} +0 -0
- /package/dist/webcomponents/{p-525db3e8.js → p-B-iV5cYd.js} +0 -0
- /package/dist/webcomponents/{p-6078a370.js → p-BX8GieXu.js} +0 -0
- /package/dist/webcomponents/{p-667ebd79.js → p-Bg2SZArf.js} +0 -0
- /package/dist/webcomponents/{p-e3c22aa9.js → p-BnjCmwMr.js} +0 -0
- /package/dist/webcomponents/{p-56f6ce4c.js → p-CLHwhyvu.js} +0 -0
- /package/dist/webcomponents/{p-1ad5995e.js → p-Ce_F4E0f.js} +0 -0
- /package/dist/webcomponents/{p-e1255160.js → p-DQuL1Twl.js} +0 -0
- /package/dist/webcomponents/{p-73f9be7c.js → p-XYgDHrVL.js} +0 -0
|
@@ -13,11 +13,6 @@ export class PaymentsListFilters {
|
|
|
13
13
|
const utcDate = convertToUTC(value, { setExactTime: true });
|
|
14
14
|
this.setParamsOnChange(name, utcDate);
|
|
15
15
|
};
|
|
16
|
-
this.paymentId = undefined;
|
|
17
|
-
this.terminalId = undefined;
|
|
18
|
-
this.paymentStatus = undefined;
|
|
19
|
-
this.createdAfter = undefined;
|
|
20
|
-
this.createdBefore = undefined;
|
|
21
16
|
}
|
|
22
17
|
componentWillLoad() {
|
|
23
18
|
// debounced input handler for text input
|
|
@@ -48,8 +43,8 @@ export class PaymentsListFilters {
|
|
|
48
43
|
}
|
|
49
44
|
render() {
|
|
50
45
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
51
|
-
return (h(StyledHost, { key: '
|
|
52
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: '
|
|
46
|
+
return (h(StyledHost, { key: '10829c1f0fc63fa2f7d051d0cfecf99cfa7d5d53' }, h("table-filters-menu", { key: 'c59be37898d0eb1b6b6d19c4b338a527efcb6cc6', params: filterMenuParams, clearParams: clearParams, part: paymentsListFilterMenu }, h("div", { key: '716e807db90c39aa977e9b5daf6a411d3086ca63', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'a6f176d96dc459cc78135bdb2eab080876883c9e', class: "p-2" }, h("form-control-text", { key: '08acfb9b4d70e641a33482abfb20085ef1dfe193', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: paymentIdPaymentsListFilterParam })), h("div", { key: 'bb19e9f99e3365163701450b28e008decd59596a', class: "p-2" }, h("form-control-text", { key: 'bbeec69309d93ac6dc519369fea831a37e09cff1', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdPaymentsListFilterParam })), h("div", { key: 'c4a260634c01d93cffe4106dc2d39b74ee74d1bb', class: "p-2" }, h("form-control-select", { key: 'f9bf9bea0a8de4387523379494a2ef6da763a532', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status, disabled: !!this.paymentStatus, part: paymentStatusPaymentsListFilterParam })), h("div", { key: 'b9f48f0df0007629e0046a9c001b4ed92e29e229', class: "p-2" }, h("form-control-date", { key: 'c997c468c94710e8f16bd5125092390d6444b247', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
47
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: '792715eec40293f7877377b06d97402a9befe6c9', class: "p-2" }, h("form-control-date", { key: '5a175d01c307a5273a9d41dc8c319554dc32e2e0', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
53
48
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforePaymentsListFilterParam }))))));
|
|
54
49
|
}
|
|
55
50
|
static get is() { return "justifi-payments-list-filters"; }
|
|
@@ -58,6 +53,7 @@ export class PaymentsListFilters {
|
|
|
58
53
|
return {
|
|
59
54
|
"paymentId": {
|
|
60
55
|
"type": "string",
|
|
56
|
+
"attribute": "payment-id",
|
|
61
57
|
"mutable": false,
|
|
62
58
|
"complexType": {
|
|
63
59
|
"original": "string",
|
|
@@ -70,11 +66,13 @@ export class PaymentsListFilters {
|
|
|
70
66
|
"tags": [],
|
|
71
67
|
"text": ""
|
|
72
68
|
},
|
|
73
|
-
"
|
|
69
|
+
"getter": false,
|
|
70
|
+
"setter": false,
|
|
74
71
|
"reflect": false
|
|
75
72
|
},
|
|
76
73
|
"terminalId": {
|
|
77
74
|
"type": "string",
|
|
75
|
+
"attribute": "terminal-id",
|
|
78
76
|
"mutable": false,
|
|
79
77
|
"complexType": {
|
|
80
78
|
"original": "string",
|
|
@@ -87,11 +85,13 @@ export class PaymentsListFilters {
|
|
|
87
85
|
"tags": [],
|
|
88
86
|
"text": ""
|
|
89
87
|
},
|
|
90
|
-
"
|
|
88
|
+
"getter": false,
|
|
89
|
+
"setter": false,
|
|
91
90
|
"reflect": false
|
|
92
91
|
},
|
|
93
92
|
"paymentStatus": {
|
|
94
93
|
"type": "string",
|
|
94
|
+
"attribute": "payment-status",
|
|
95
95
|
"mutable": false,
|
|
96
96
|
"complexType": {
|
|
97
97
|
"original": "string",
|
|
@@ -104,11 +104,13 @@ export class PaymentsListFilters {
|
|
|
104
104
|
"tags": [],
|
|
105
105
|
"text": ""
|
|
106
106
|
},
|
|
107
|
-
"
|
|
107
|
+
"getter": false,
|
|
108
|
+
"setter": false,
|
|
108
109
|
"reflect": false
|
|
109
110
|
},
|
|
110
111
|
"createdAfter": {
|
|
111
112
|
"type": "string",
|
|
113
|
+
"attribute": "created-after",
|
|
112
114
|
"mutable": false,
|
|
113
115
|
"complexType": {
|
|
114
116
|
"original": "string",
|
|
@@ -121,11 +123,13 @@ export class PaymentsListFilters {
|
|
|
121
123
|
"tags": [],
|
|
122
124
|
"text": ""
|
|
123
125
|
},
|
|
124
|
-
"
|
|
126
|
+
"getter": false,
|
|
127
|
+
"setter": false,
|
|
125
128
|
"reflect": false
|
|
126
129
|
},
|
|
127
130
|
"createdBefore": {
|
|
128
131
|
"type": "string",
|
|
132
|
+
"attribute": "created-before",
|
|
129
133
|
"mutable": false,
|
|
130
134
|
"complexType": {
|
|
131
135
|
"original": "string",
|
|
@@ -138,7 +142,8 @@ export class PaymentsListFilters {
|
|
|
138
142
|
"tags": [],
|
|
139
143
|
"text": ""
|
|
140
144
|
},
|
|
141
|
-
"
|
|
145
|
+
"getter": false,
|
|
146
|
+
"setter": false,
|
|
142
147
|
"reflect": false
|
|
143
148
|
}
|
|
144
149
|
};
|
|
@@ -8,16 +8,13 @@ import { StyledHost } from "../../ui-components";
|
|
|
8
8
|
import { defaultColumnsKeys } from "./payments-table";
|
|
9
9
|
export class PaymentsList {
|
|
10
10
|
constructor() {
|
|
11
|
+
this.errorMessage = null;
|
|
12
|
+
this.apiOrigin = PROXY_API_ORIGIN;
|
|
13
|
+
this.columns = defaultColumnsKeys;
|
|
11
14
|
this.handleErrorEvent = (event) => {
|
|
12
15
|
this.errorMessage = event.detail.message;
|
|
13
16
|
this.errorEvent.emit(event.detail);
|
|
14
17
|
};
|
|
15
|
-
this.getPayments = undefined;
|
|
16
|
-
this.errorMessage = null;
|
|
17
|
-
this.accountId = undefined;
|
|
18
|
-
this.authToken = undefined;
|
|
19
|
-
this.apiOrigin = PROXY_API_ORIGIN;
|
|
20
|
-
this.columns = defaultColumnsKeys;
|
|
21
18
|
}
|
|
22
19
|
componentWillLoad() {
|
|
23
20
|
checkPkgVersion();
|
|
@@ -49,7 +46,7 @@ export class PaymentsList {
|
|
|
49
46
|
}
|
|
50
47
|
}
|
|
51
48
|
render() {
|
|
52
|
-
return (h(StyledHost, { key: '
|
|
49
|
+
return (h(StyledHost, { key: '97f98385d5b9f4664776f920183901136b1e3d1a' }, h("payments-list-core", { key: 'be6558d801908c60c8c0c0f66741d2ee7049d5e3', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
53
50
|
}
|
|
54
51
|
static get is() { return "justifi-payments-list"; }
|
|
55
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -57,6 +54,7 @@ export class PaymentsList {
|
|
|
57
54
|
return {
|
|
58
55
|
"accountId": {
|
|
59
56
|
"type": "string",
|
|
57
|
+
"attribute": "account-id",
|
|
60
58
|
"mutable": false,
|
|
61
59
|
"complexType": {
|
|
62
60
|
"original": "string",
|
|
@@ -69,11 +67,13 @@ export class PaymentsList {
|
|
|
69
67
|
"tags": [],
|
|
70
68
|
"text": ""
|
|
71
69
|
},
|
|
72
|
-
"
|
|
70
|
+
"getter": false,
|
|
71
|
+
"setter": false,
|
|
73
72
|
"reflect": false
|
|
74
73
|
},
|
|
75
74
|
"authToken": {
|
|
76
75
|
"type": "string",
|
|
76
|
+
"attribute": "auth-token",
|
|
77
77
|
"mutable": false,
|
|
78
78
|
"complexType": {
|
|
79
79
|
"original": "string",
|
|
@@ -86,11 +86,13 @@ export class PaymentsList {
|
|
|
86
86
|
"tags": [],
|
|
87
87
|
"text": ""
|
|
88
88
|
},
|
|
89
|
-
"
|
|
89
|
+
"getter": false,
|
|
90
|
+
"setter": false,
|
|
90
91
|
"reflect": false
|
|
91
92
|
},
|
|
92
93
|
"apiOrigin": {
|
|
93
94
|
"type": "string",
|
|
95
|
+
"attribute": "api-origin",
|
|
94
96
|
"mutable": false,
|
|
95
97
|
"complexType": {
|
|
96
98
|
"original": "string",
|
|
@@ -103,12 +105,14 @@ export class PaymentsList {
|
|
|
103
105
|
"tags": [],
|
|
104
106
|
"text": ""
|
|
105
107
|
},
|
|
106
|
-
"
|
|
108
|
+
"getter": false,
|
|
109
|
+
"setter": false,
|
|
107
110
|
"reflect": false,
|
|
108
111
|
"defaultValue": "PROXY_API_ORIGIN"
|
|
109
112
|
},
|
|
110
113
|
"columns": {
|
|
111
114
|
"type": "string",
|
|
115
|
+
"attribute": "columns",
|
|
112
116
|
"mutable": false,
|
|
113
117
|
"complexType": {
|
|
114
118
|
"original": "string",
|
|
@@ -121,7 +125,8 @@ export class PaymentsList {
|
|
|
121
125
|
"tags": [],
|
|
122
126
|
"text": ""
|
|
123
127
|
},
|
|
124
|
-
"
|
|
128
|
+
"getter": false,
|
|
129
|
+
"setter": false,
|
|
125
130
|
"reflect": false,
|
|
126
131
|
"defaultValue": "defaultColumnsKeys"
|
|
127
132
|
}
|
|
@@ -6,6 +6,8 @@ import { MapPayoutStatusToBadge } from "../payouts-list/payouts-status";
|
|
|
6
6
|
import PayoutDetailsLoading from "./payout-details-loading";
|
|
7
7
|
export class PayoutDetailsCore {
|
|
8
8
|
constructor() {
|
|
9
|
+
this.loading = true;
|
|
10
|
+
this.errorMessage = null;
|
|
9
11
|
this.downloadCSV = () => {
|
|
10
12
|
this.getPayoutCSV({
|
|
11
13
|
payoutId: this.payout.id,
|
|
@@ -19,11 +21,6 @@ export class PayoutDetailsCore {
|
|
|
19
21
|
},
|
|
20
22
|
});
|
|
21
23
|
};
|
|
22
|
-
this.getPayout = undefined;
|
|
23
|
-
this.getPayoutCSV = undefined;
|
|
24
|
-
this.payout = undefined;
|
|
25
|
-
this.loading = true;
|
|
26
|
-
this.errorMessage = null;
|
|
27
24
|
}
|
|
28
25
|
componentWillLoad() {
|
|
29
26
|
if (this.getPayout) {
|
|
@@ -54,13 +51,14 @@ export class PayoutDetailsCore {
|
|
|
54
51
|
}
|
|
55
52
|
render() {
|
|
56
53
|
var _a;
|
|
57
|
-
return (h(StyledHost, { key: '
|
|
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 })), h(DetailSectionTitle, { key: '49b355b672f7fabe75798931e7e36bb1ccfe7370', sectionTitle: 'Metadata' }), h("div", { key: '66669969009dda1eacc194a4ad035836e5fd83c7', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '5700a8404cb548fd4c2a62fde70e56bd78ea8ac6', metadata: this.payout.metadata })))))));
|
|
58
55
|
}
|
|
59
56
|
static get is() { return "payout-details-core"; }
|
|
60
57
|
static get properties() {
|
|
61
58
|
return {
|
|
62
59
|
"getPayout": {
|
|
63
60
|
"type": "unknown",
|
|
61
|
+
"attribute": "get-payout",
|
|
64
62
|
"mutable": false,
|
|
65
63
|
"complexType": {
|
|
66
64
|
"original": "Function",
|
|
@@ -77,10 +75,13 @@ export class PayoutDetailsCore {
|
|
|
77
75
|
"docs": {
|
|
78
76
|
"tags": [],
|
|
79
77
|
"text": ""
|
|
80
|
-
}
|
|
78
|
+
},
|
|
79
|
+
"getter": false,
|
|
80
|
+
"setter": false
|
|
81
81
|
},
|
|
82
82
|
"getPayoutCSV": {
|
|
83
83
|
"type": "unknown",
|
|
84
|
+
"attribute": "get-payout-c-s-v",
|
|
84
85
|
"mutable": false,
|
|
85
86
|
"complexType": {
|
|
86
87
|
"original": "Function",
|
|
@@ -97,7 +98,9 @@ export class PayoutDetailsCore {
|
|
|
97
98
|
"docs": {
|
|
98
99
|
"tags": [],
|
|
99
100
|
"text": ""
|
|
100
|
-
}
|
|
101
|
+
},
|
|
102
|
+
"getter": false,
|
|
103
|
+
"setter": false
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
106
|
}
|
|
@@ -8,16 +8,12 @@ import { makeGetPayoutCSV } from "./get-payout-csv";
|
|
|
8
8
|
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
9
9
|
export class PayoutDetails {
|
|
10
10
|
constructor() {
|
|
11
|
+
this.apiOrigin = PROXY_API_ORIGIN;
|
|
12
|
+
this.errorMessage = null;
|
|
11
13
|
this.handleErrorEvent = (event) => {
|
|
12
14
|
this.errorMessage = event.detail.message;
|
|
13
15
|
this.errorEvent.emit(event.detail);
|
|
14
16
|
};
|
|
15
|
-
this.payoutId = undefined;
|
|
16
|
-
this.authToken = undefined;
|
|
17
|
-
this.apiOrigin = PROXY_API_ORIGIN;
|
|
18
|
-
this.getPayout = undefined;
|
|
19
|
-
this.getPayoutCSV = undefined;
|
|
20
|
-
this.errorMessage = null;
|
|
21
17
|
}
|
|
22
18
|
componentWillLoad() {
|
|
23
19
|
checkPkgVersion();
|
|
@@ -64,6 +60,7 @@ export class PayoutDetails {
|
|
|
64
60
|
return {
|
|
65
61
|
"payoutId": {
|
|
66
62
|
"type": "string",
|
|
63
|
+
"attribute": "payout-id",
|
|
67
64
|
"mutable": false,
|
|
68
65
|
"complexType": {
|
|
69
66
|
"original": "string",
|
|
@@ -76,11 +73,13 @@ export class PayoutDetails {
|
|
|
76
73
|
"tags": [],
|
|
77
74
|
"text": ""
|
|
78
75
|
},
|
|
79
|
-
"
|
|
76
|
+
"getter": false,
|
|
77
|
+
"setter": false,
|
|
80
78
|
"reflect": false
|
|
81
79
|
},
|
|
82
80
|
"authToken": {
|
|
83
81
|
"type": "string",
|
|
82
|
+
"attribute": "auth-token",
|
|
84
83
|
"mutable": false,
|
|
85
84
|
"complexType": {
|
|
86
85
|
"original": "string",
|
|
@@ -93,11 +92,13 @@ export class PayoutDetails {
|
|
|
93
92
|
"tags": [],
|
|
94
93
|
"text": ""
|
|
95
94
|
},
|
|
96
|
-
"
|
|
95
|
+
"getter": false,
|
|
96
|
+
"setter": false,
|
|
97
97
|
"reflect": false
|
|
98
98
|
},
|
|
99
99
|
"apiOrigin": {
|
|
100
100
|
"type": "string",
|
|
101
|
+
"attribute": "api-origin",
|
|
101
102
|
"mutable": false,
|
|
102
103
|
"complexType": {
|
|
103
104
|
"original": "string",
|
|
@@ -110,7 +111,8 @@ export class PayoutDetails {
|
|
|
110
111
|
"tags": [],
|
|
111
112
|
"text": ""
|
|
112
113
|
},
|
|
113
|
-
"
|
|
114
|
+
"getter": false,
|
|
115
|
+
"setter": false,
|
|
114
116
|
"reflect": false,
|
|
115
117
|
"defaultValue": "PROXY_API_ORIGIN"
|
|
116
118
|
}
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { ComponentErrorCodes, ComponentErrorSeverity, pagingDefaults } from "../../api";
|
|
3
|
+
import JustifiAnalytics from "../../api/Analytics";
|
|
4
|
+
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
5
|
+
import { makeGetPayoutTransactions } from "../../actions/payout/get-payout-transactions";
|
|
6
|
+
import { PayoutService } from "../../api/services/payout.service";
|
|
7
|
+
import { Table } from "../../utils/table";
|
|
8
|
+
import { TableClickActions } from "../../ui-components/table/event-types";
|
|
9
|
+
import { table, tableCell } from "../../styles/parts";
|
|
10
|
+
import { StyledHost, TableEmptyState, TableErrorState, TableLoadingState } from "../../ui-components";
|
|
11
|
+
import { defaultColumnsKeys, payoutTransactionTableCells, payoutTransactionTableColumns } from "./payout-transactions-table";
|
|
12
|
+
export class PayoutTransactionsList {
|
|
13
|
+
constructor() {
|
|
14
|
+
this.balanceTransactions = [];
|
|
15
|
+
this.isLoading = true;
|
|
16
|
+
this.errorMessage = null;
|
|
17
|
+
this.paging = pagingDefaults;
|
|
18
|
+
this.pagingParams = {};
|
|
19
|
+
this.apiOrigin = PROXY_API_ORIGIN;
|
|
20
|
+
this.columns = defaultColumnsKeys;
|
|
21
|
+
this.handleClickPrevious = (beforeCursor) => {
|
|
22
|
+
this.pagingParams = { before_cursor: beforeCursor };
|
|
23
|
+
this.clickEvent.emit({ name: TableClickActions.previous });
|
|
24
|
+
};
|
|
25
|
+
this.handleClickNext = (afterCursor) => {
|
|
26
|
+
this.pagingParams = { after_cursor: afterCursor };
|
|
27
|
+
this.clickEvent.emit({ name: TableClickActions.next });
|
|
28
|
+
};
|
|
29
|
+
this.rowClickHandler = (e) => {
|
|
30
|
+
const clickedPayoutId = e.target.closest('tr').dataset.rowEntityId;
|
|
31
|
+
if (!clickedPayoutId)
|
|
32
|
+
return;
|
|
33
|
+
const transactionData = this.balanceTransactions.find((payout) => payout.id === clickedPayoutId);
|
|
34
|
+
this.clickEvent.emit({ name: TableClickActions.row, data: transactionData });
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
componentWillLoad() {
|
|
38
|
+
this.transactionsTable = new Table(this.balanceTransactions, this.columns, payoutTransactionTableColumns, payoutTransactionTableCells);
|
|
39
|
+
checkPkgVersion();
|
|
40
|
+
this.analytics = new JustifiAnalytics(this);
|
|
41
|
+
this.initializeApi();
|
|
42
|
+
}
|
|
43
|
+
disconnectedCallback() {
|
|
44
|
+
this.analytics.cleanup();
|
|
45
|
+
}
|
|
46
|
+
propChanged() {
|
|
47
|
+
this.initializeApi();
|
|
48
|
+
}
|
|
49
|
+
handleError(code, errorMessage, severity) {
|
|
50
|
+
this.isLoading = false;
|
|
51
|
+
this.errorEvent.emit({ errorCode: code, message: errorMessage, severity });
|
|
52
|
+
}
|
|
53
|
+
initializeApi() {
|
|
54
|
+
if (this.payoutId && this.authToken) {
|
|
55
|
+
const getPayoutTransactions = makeGetPayoutTransactions({
|
|
56
|
+
authToken: this.authToken,
|
|
57
|
+
service: new PayoutService(),
|
|
58
|
+
apiOrigin: this.apiOrigin
|
|
59
|
+
});
|
|
60
|
+
getPayoutTransactions({
|
|
61
|
+
params: this.requestParams,
|
|
62
|
+
onSuccess: ({ balanceTransactions, pagingInfo }) => {
|
|
63
|
+
this.balanceTransactions = balanceTransactions;
|
|
64
|
+
this.paging = pagingInfo;
|
|
65
|
+
this.transactionsTable.collectionData = this.balanceTransactions;
|
|
66
|
+
},
|
|
67
|
+
onError: ({ error, code, severity }) => {
|
|
68
|
+
this.errorMessage = error.message;
|
|
69
|
+
this.handleError(error, code, severity);
|
|
70
|
+
},
|
|
71
|
+
final: () => {
|
|
72
|
+
this.isLoading = false;
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
this.errorMessage = 'payout-id and auth-token props are required';
|
|
78
|
+
this.handleError(ComponentErrorCodes.MISSING_PROPS, this.errorMessage, ComponentErrorSeverity.ERROR);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
get entityId() {
|
|
82
|
+
return this.balanceTransactions.map((transaction) => transaction.id);
|
|
83
|
+
}
|
|
84
|
+
get showEmptyState() {
|
|
85
|
+
return !this.isLoading && !this.errorMessage && this.transactionsTable.rowData.length < 1;
|
|
86
|
+
}
|
|
87
|
+
get showErrorState() {
|
|
88
|
+
return !this.isLoading && !!this.errorMessage;
|
|
89
|
+
}
|
|
90
|
+
get showRowData() {
|
|
91
|
+
return !this.showEmptyState && !this.showErrorState && !this.isLoading;
|
|
92
|
+
}
|
|
93
|
+
get requestParams() {
|
|
94
|
+
return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
|
|
95
|
+
}
|
|
96
|
+
render() {
|
|
97
|
+
return (h(StyledHost, { key: '90a9bdb7acbaabba3e2d99936ab8ff4af752b89f' }, h("div", { key: '546c52c26422482ebc03c363e1b7251b00628612', class: "table-wrapper" }, h("table", { key: '8cafebb253b276b747be56ffdde3430eebd8165b', class: "table table-hover", part: table }, h("thead", { key: '1b701619c17d926a95ddfb7fbb84fe3a6fd7c9b9', class: "table-head sticky-top" }, h("tr", { key: '94b5d386d8eed15eb54761c450603e3edba05e28', class: "table-light text-nowrap" }, this.transactionsTable.columnData.map((column) => column))), h("tbody", { key: 'cf4057bac5a7b9b49448bc0cc6fe60b031e71428', class: "table-body" }, h(TableLoadingState, { key: '0336b83d2842ba8cc450e6169161c5a32b65d5ca', columnSpan: this.transactionsTable.columnData.length, isLoading: this.isLoading }), h(TableEmptyState, { key: 'ecb336f7cf73ae652eafa2068e916055c908b351', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnData.length }), h(TableErrorState, { key: 'fa99aae26090ced86423af1c1458b51880299260', columnSpan: this.transactionsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: 'e1232dddefdbfaad0616841797235afd61422ec6', class: "sticky-bottom" }, h("tr", { key: 'f399c65e0d5c25206d2194841ba98e88d3fd7ebd', class: "table-light align-middle" }, h("td", { key: 'cb2e12c7d397c5c9be12ff2f3ad53bfba072f814', part: tableCell, colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: 'b485f5ba2817f9781f53d67b22ea3836caca448a', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
98
|
+
}
|
|
99
|
+
static get is() { return "justifi-payout-transactions-list"; }
|
|
100
|
+
static get encapsulation() { return "shadow"; }
|
|
101
|
+
static get properties() {
|
|
102
|
+
return {
|
|
103
|
+
"payoutId": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"attribute": "payout-id",
|
|
106
|
+
"mutable": false,
|
|
107
|
+
"complexType": {
|
|
108
|
+
"original": "string",
|
|
109
|
+
"resolved": "string",
|
|
110
|
+
"references": {}
|
|
111
|
+
},
|
|
112
|
+
"required": false,
|
|
113
|
+
"optional": false,
|
|
114
|
+
"docs": {
|
|
115
|
+
"tags": [],
|
|
116
|
+
"text": ""
|
|
117
|
+
},
|
|
118
|
+
"getter": false,
|
|
119
|
+
"setter": false,
|
|
120
|
+
"reflect": false
|
|
121
|
+
},
|
|
122
|
+
"authToken": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"attribute": "auth-token",
|
|
125
|
+
"mutable": false,
|
|
126
|
+
"complexType": {
|
|
127
|
+
"original": "string",
|
|
128
|
+
"resolved": "string",
|
|
129
|
+
"references": {}
|
|
130
|
+
},
|
|
131
|
+
"required": false,
|
|
132
|
+
"optional": false,
|
|
133
|
+
"docs": {
|
|
134
|
+
"tags": [],
|
|
135
|
+
"text": ""
|
|
136
|
+
},
|
|
137
|
+
"getter": false,
|
|
138
|
+
"setter": false,
|
|
139
|
+
"reflect": false
|
|
140
|
+
},
|
|
141
|
+
"apiOrigin": {
|
|
142
|
+
"type": "string",
|
|
143
|
+
"attribute": "api-origin",
|
|
144
|
+
"mutable": false,
|
|
145
|
+
"complexType": {
|
|
146
|
+
"original": "string",
|
|
147
|
+
"resolved": "string",
|
|
148
|
+
"references": {}
|
|
149
|
+
},
|
|
150
|
+
"required": false,
|
|
151
|
+
"optional": true,
|
|
152
|
+
"docs": {
|
|
153
|
+
"tags": [],
|
|
154
|
+
"text": ""
|
|
155
|
+
},
|
|
156
|
+
"getter": false,
|
|
157
|
+
"setter": false,
|
|
158
|
+
"reflect": false,
|
|
159
|
+
"defaultValue": "PROXY_API_ORIGIN"
|
|
160
|
+
},
|
|
161
|
+
"columns": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"attribute": "columns",
|
|
164
|
+
"mutable": false,
|
|
165
|
+
"complexType": {
|
|
166
|
+
"original": "string",
|
|
167
|
+
"resolved": "string",
|
|
168
|
+
"references": {}
|
|
169
|
+
},
|
|
170
|
+
"required": false,
|
|
171
|
+
"optional": true,
|
|
172
|
+
"docs": {
|
|
173
|
+
"tags": [],
|
|
174
|
+
"text": ""
|
|
175
|
+
},
|
|
176
|
+
"getter": false,
|
|
177
|
+
"setter": false,
|
|
178
|
+
"reflect": false,
|
|
179
|
+
"defaultValue": "defaultColumnsKeys"
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
static get states() {
|
|
184
|
+
return {
|
|
185
|
+
"balanceTransactions": {},
|
|
186
|
+
"transactionsTable": {},
|
|
187
|
+
"isLoading": {},
|
|
188
|
+
"errorMessage": {},
|
|
189
|
+
"paging": {},
|
|
190
|
+
"pagingParams": {}
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
static get events() {
|
|
194
|
+
return [{
|
|
195
|
+
"method": "clickEvent",
|
|
196
|
+
"name": "click-event",
|
|
197
|
+
"bubbles": true,
|
|
198
|
+
"cancelable": true,
|
|
199
|
+
"composed": true,
|
|
200
|
+
"docs": {
|
|
201
|
+
"tags": [],
|
|
202
|
+
"text": ""
|
|
203
|
+
},
|
|
204
|
+
"complexType": {
|
|
205
|
+
"original": "ComponentClickEvent",
|
|
206
|
+
"resolved": "ComponentClickEvent",
|
|
207
|
+
"references": {
|
|
208
|
+
"ComponentClickEvent": {
|
|
209
|
+
"location": "import",
|
|
210
|
+
"path": "../../api",
|
|
211
|
+
"id": "src/api/index.ts::ComponentClickEvent"
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}, {
|
|
216
|
+
"method": "errorEvent",
|
|
217
|
+
"name": "error-event",
|
|
218
|
+
"bubbles": true,
|
|
219
|
+
"cancelable": true,
|
|
220
|
+
"composed": true,
|
|
221
|
+
"docs": {
|
|
222
|
+
"tags": [],
|
|
223
|
+
"text": ""
|
|
224
|
+
},
|
|
225
|
+
"complexType": {
|
|
226
|
+
"original": "ComponentErrorEvent",
|
|
227
|
+
"resolved": "ComponentErrorEvent",
|
|
228
|
+
"references": {
|
|
229
|
+
"ComponentErrorEvent": {
|
|
230
|
+
"location": "import",
|
|
231
|
+
"path": "../../api",
|
|
232
|
+
"id": "src/api/index.ts::ComponentErrorEvent"
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}];
|
|
237
|
+
}
|
|
238
|
+
static get watchers() {
|
|
239
|
+
return [{
|
|
240
|
+
"propName": "pagingParams",
|
|
241
|
+
"methodName": "propChanged"
|
|
242
|
+
}, {
|
|
243
|
+
"propName": "payoutId",
|
|
244
|
+
"methodName": "propChanged"
|
|
245
|
+
}, {
|
|
246
|
+
"propName": "authToken",
|
|
247
|
+
"methodName": "propChanged"
|
|
248
|
+
}];
|
|
249
|
+
}
|
|
250
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { convertToLocal } from "../../utils/utils";
|
|
3
|
+
import { getAlternateTableCellPart, tableHeadCell } from "../../styles/parts";
|
|
4
|
+
export const defaultColumnsKeys = 'created_at,txn_type,description,amount,fee,net';
|
|
5
|
+
export const payoutTransactionTableColumns = {
|
|
6
|
+
id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The unique identifier of each transaction" }, "ID")),
|
|
7
|
+
account_id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The unique identifier of the account associated with each transaction" }, "Account ID")),
|
|
8
|
+
payout_id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The unique identifier of the payout associated with each transaction" }, "Payout ID")),
|
|
9
|
+
financial_transaction_id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The unique identifier of the financial transaction associated with the payment balance transaction" }, "Financial Transaction ID")),
|
|
10
|
+
amount: () => (h("th", { part: tableHeadCell, scope: "col", title: "The dollar amount of each transaction" }, "Amount")),
|
|
11
|
+
fee: () => (h("th", { part: tableHeadCell, scope: "col", title: "The fee associated with each transaction" }, "Fee")),
|
|
12
|
+
net: () => (h("th", { part: tableHeadCell, scope: "col", title: "The net amount of each transaction" }, "Net")),
|
|
13
|
+
currency: () => (h("th", { part: tableHeadCell, scope: "col", title: "The currency of each transaction" }, "Currency")),
|
|
14
|
+
description: () => (h("th", { part: tableHeadCell, scope: "col", title: "The description of each transaction" }, "Description")),
|
|
15
|
+
source_id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The unique identifier of the source object associated with the payment balance transaction" }, "Source ID")),
|
|
16
|
+
txn_type: () => (h("th", { part: tableHeadCell, scope: "col", title: "The type of each transaction" }, "Type")),
|
|
17
|
+
created_at: () => (h("th", { part: tableHeadCell, scope: "col", title: "The date and time each transaction was made" }, "Processed On")),
|
|
18
|
+
available_on: () => (h("th", { part: tableHeadCell, scope: "col", title: "The date and time each transaction will be available" }, "Available On")),
|
|
19
|
+
updated_at: () => (h("th", { part: tableHeadCell, scope: "col", title: "The date and time each transaction was last updated" }, "Updated On")),
|
|
20
|
+
};
|
|
21
|
+
export const payoutTransactionTypes = {
|
|
22
|
+
fee: "Fee",
|
|
23
|
+
payment: "Payment",
|
|
24
|
+
payout: "Payout",
|
|
25
|
+
seller_payment_refund: "Seller Payment Refund",
|
|
26
|
+
dispute_amount_collected: "Dispute Amount Collected",
|
|
27
|
+
dispute_fee_collected: "Dispute Fee Collected",
|
|
28
|
+
seller_payment: "Seller Payment",
|
|
29
|
+
transfer: "Transfer",
|
|
30
|
+
partner_platform_proceeds_credit: "Partner Platform Proceeds Credit"
|
|
31
|
+
};
|
|
32
|
+
export const payoutTransactionTableCells = {
|
|
33
|
+
id: (transaction) => (h("td", { part: getAlternateTableCellPart(transaction.id) }, transaction.id)),
|
|
34
|
+
account_id: (transaction) => (h("td", { part: getAlternateTableCellPart(transaction.account_id) }, transaction.account_id)),
|
|
35
|
+
payout_id: (transaction) => (h("td", { part: getAlternateTableCellPart(transaction.payout_id) }, transaction.payout_id)),
|
|
36
|
+
financial_transaction_id: (transaction) => (h("td", { part: getAlternateTableCellPart(transaction.financial_transaction_id) }, transaction.financial_transaction_id)),
|
|
37
|
+
amount: (transaction) => (h("td", { part: getAlternateTableCellPart(transaction.amount) }, transaction.formattedPaymentAmount(transaction.amount))),
|
|
38
|
+
fee: (transaction) => (h("td", { part: getAlternateTableCellPart(transaction.fee) }, transaction.formattedPaymentAmount(transaction.fee))),
|
|
39
|
+
net: (transaction) => (h("td", { part: getAlternateTableCellPart(transaction.net) }, transaction.formattedPaymentAmount(transaction.net))),
|
|
40
|
+
currency: (transaction) => (h("td", { part: getAlternateTableCellPart(transaction.currency) }, transaction.currency)),
|
|
41
|
+
description: (transaction) => (h("td", { part: getAlternateTableCellPart(transaction.description) }, transaction.description)),
|
|
42
|
+
source_id: (transaction) => (h("td", { part: getAlternateTableCellPart(transaction.source_id) }, transaction.source_id)),
|
|
43
|
+
txn_type: (transaction) => (h("td", { part: getAlternateTableCellPart(transaction.txn_type) }, payoutTransactionTypes[transaction.txn_type])),
|
|
44
|
+
created_at: (transaction) => (h("td", { part: getAlternateTableCellPart(transaction.created_at) }, h("div", { class: "fw-bold" }, convertToLocal(transaction.created_at, { showDisplayDate: true })), h("div", { class: "fw-bold" }, convertToLocal(transaction.created_at, { showTime: true })))),
|
|
45
|
+
available_on: (transaction) => (h("td", { part: getAlternateTableCellPart(transaction.available_on) }, h("div", { class: "fw-bold" }, convertToLocal(transaction.available_on, { showDisplayDate: true })), h("div", { class: "fw-bold" }, convertToLocal(transaction.available_on, { showTime: true })))),
|
|
46
|
+
updated_at: (transaction) => (h("td", { part: getAlternateTableCellPart(transaction.updated_at) }, h("div", { class: "fw-bold" }, convertToLocal(transaction.updated_at, { showDisplayDate: true })), h("div", { class: "fw-bold" }, convertToLocal(transaction.updated_at, { showTime: true })))),
|
|
47
|
+
};
|