@justifi/webcomponents 4.22.2 → 4.23.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/{Analytics-99a3c7f8.js → Analytics-25d3d168.js} +1 -1
- package/dist/cjs/{Payment-04a842f4.js → Payment-87b47c43.js} +7 -1
- package/dist/cjs/{SubAccount-cc95a4a0.js → SubAccount-fda5ec5b.js} +3 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
- package/dist/cjs/{business-additional-questions-schema-d82355b0.js → business-additional-questions-schema-0cddd038.js} +2 -2
- package/dist/cjs/{business-identity-schema-3d241053.js → business-identity-schema-f5a3b008.js} +1 -1
- package/dist/cjs/{check-pkg-version-9bd49ad6.js → check-pkg-version-f5b03b02.js} +1 -1
- package/dist/cjs/{checkout.service-160f3a9c.js → checkout.service-aae1996c.js} +2 -2
- package/dist/cjs/checkouts-list-core.cjs.entry.js +7 -8
- package/dist/cjs/{checkouts-table-24c065ff.js → checkouts-table-00b6482f.js} +7 -7
- package/dist/cjs/custom-popper_4.cjs.entry.js +3 -3
- package/dist/cjs/form-control-checkbox_9.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +6 -37
- package/dist/cjs/form-control-file.cjs.entry.js +1 -1
- package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +1 -1
- package/dist/cjs/form-control-number.cjs.entry.js +1 -1
- package/dist/cjs/form-control-radio.cjs.entry.js +1 -1
- package/dist/cjs/form-control-textarea.cjs.entry.js +1 -1
- package/dist/cjs/{get-payout-csv-12dc9540.js → get-payout-csv-1eed32ee.js} +17 -8
- package/dist/cjs/{get-subaccounts-8f7a930f.js → get-subaccounts-1d2fb201.js} +2 -2
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +3 -3
- package/dist/cjs/justifi-additional-statement_11.cjs.entry.js +6 -6
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +4 -4
- package/dist/cjs/justifi-business-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-business-form.cjs.entry.js +8 -8
- package/dist/cjs/justifi-card-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -3
- package/dist/cjs/justifi-new-payment-method_5.cjs.entry.js +2 -2
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payment-form.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -7
- package/dist/cjs/justifi-payout-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +42 -20
- package/dist/cjs/justifi-refund-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-e25f61a8.js → package-bc606eae.js} +2 -2
- package/dist/cjs/{pagination-menu.cjs.entry.js → pagination-menu_2.cjs.entry.js} +29 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +2 -2
- package/dist/cjs/{payment.service-83da752a.js → payment.service-86871f43.js} +2 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +18 -52
- package/dist/cjs/payments-list-filters.cjs.entry.js +6 -1
- package/dist/cjs/{payments-status-58e45b2e.js → payments-status-68ac449d.js} +2 -2
- package/dist/cjs/payments-table-7087e771.js +31 -0
- package/dist/cjs/payout-details-core.cjs.entry.js +2 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +66 -59
- package/dist/cjs/payouts-list-filters.cjs.entry.js +24 -0
- package/dist/cjs/payouts-table-4858eb84.js +37 -0
- package/dist/cjs/{schema-validations-7a9afa7c.js → schema-validations-e8a17401.js} +0 -12
- package/dist/cjs/{table-loading-state-8b406852.js → table-ec9ce9f7.js} +21 -0
- package/dist/cjs/terminals-list-core.cjs.entry.js +6 -7
- package/dist/cjs/terminals-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/{terminals-table-99a7b87b.js → terminals-table-12410159.js} +4 -4
- package/dist/cjs/{utils-f8a6962c.js → utils-ba79e868.js} +12 -0
- package/dist/cjs/{utils-3d84442d.js → utils-e88fbc94.js} +49 -32
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Payment.js +7 -1
- package/dist/collection/api/Payout.js +4 -0
- package/dist/collection/api/services/payout.service.js +15 -6
- package/dist/collection/api/services/terminal.service.js +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +1 -1
- package/dist/collection/components/business-forms/schemas/schema-validations.js +1 -10
- package/dist/collection/components/checkouts-list/checkouts-list.js +2 -2
- package/dist/collection/components/checkouts-list/checkouts-table.js +6 -6
- package/dist/collection/components/dispute-management/counter-dispute/counter-dispute.js +4 -4
- package/dist/collection/components/dispute-management/dispute-management-core.js +3 -3
- package/dist/collection/components/dispute-management/dispute-notification.js +4 -4
- package/dist/collection/components/payment-method-form/payment-method-form.js +2 -2
- package/dist/collection/components/payments-list/payments-list-core.js +32 -47
- package/dist/collection/components/payments-list/payments-list-filters.js +6 -1
- package/dist/collection/components/payments-list/payments-list.js +22 -3
- package/dist/collection/components/payments-list/payments-status.js +2 -2
- package/dist/collection/components/payments-list/payments-table.js +22 -0
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- package/dist/collection/components/payouts-list/get-payouts.js +3 -4
- package/dist/collection/components/payouts-list/payouts-list-core.js +102 -51
- package/dist/collection/components/payouts-list/payouts-list-filters.js +72 -0
- package/dist/collection/components/payouts-list/payouts-list.js +71 -12
- package/dist/collection/components/payouts-list/payouts-table.js +26 -0
- package/dist/collection/components/refund-form/refund-form.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +2 -2
- package/dist/collection/components/terminals-list/terminals-table.js +4 -4
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/filters/utils.js +11 -0
- package/dist/collection/ui-components/form/form-control-checkbox.js +1 -1
- package/dist/collection/ui-components/form/form-control-date.js +6 -55
- package/dist/collection/ui-components/form/form-control-file.js +1 -1
- package/dist/collection/ui-components/form/form-control-monetary.js +1 -1
- package/dist/collection/ui-components/form/form-control-number-masked.js +1 -1
- package/dist/collection/ui-components/form/form-control-number.js +1 -1
- package/dist/collection/ui-components/form/form-control-radio.js +1 -1
- package/dist/collection/ui-components/form/form-control-text.js +1 -1
- package/dist/collection/ui-components/form/form-control-textarea.js +1 -1
- package/dist/collection/utils/table.js +2 -2
- package/dist/collection/utils/utils.js +49 -52
- package/dist/docs.json +276 -49
- package/dist/esm/{Analytics-f4e959b2.js → Analytics-810c3026.js} +1 -1
- package/dist/esm/{Payment-30790721.js → Payment-2a868d0c.js} +7 -1
- package/dist/esm/{SubAccount-7f7e4c56.js → SubAccount-99a00594.js} +3 -0
- package/dist/esm/additional-questions-details_5.entry.js +1 -1
- package/dist/esm/{business-additional-questions-schema-a5072d2b.js → business-additional-questions-schema-af4aa8ae.js} +2 -2
- package/dist/esm/{business-identity-schema-b31178a1.js → business-identity-schema-1a5cb306.js} +1 -1
- package/dist/esm/{check-pkg-version-5e658940.js → check-pkg-version-434f72bf.js} +1 -1
- package/dist/esm/{checkout.service-ef1549c6.js → checkout.service-c1e44e0c.js} +2 -2
- package/dist/esm/checkouts-list-core.entry.js +6 -7
- package/dist/esm/{checkouts-table-62c44909.js → checkouts-table-cd33b57c.js} +7 -7
- package/dist/esm/custom-popper_4.entry.js +3 -3
- package/dist/esm/form-control-checkbox_9.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +6 -37
- package/dist/esm/form-control-file.entry.js +1 -1
- package/dist/esm/form-control-monetary.entry.js +1 -1
- package/dist/esm/form-control-number-masked_2.entry.js +1 -1
- package/dist/esm/form-control-number.entry.js +1 -1
- package/dist/esm/form-control-radio.entry.js +1 -1
- package/dist/esm/form-control-textarea.entry.js +1 -1
- package/dist/esm/{get-payout-csv-70974763.js → get-payout-csv-3b83b088.js} +17 -8
- package/dist/esm/{get-subaccounts-16c8ce40.js → get-subaccounts-dd20cfa4.js} +2 -2
- package/dist/esm/gross-payment-chart-core.entry.js +1 -1
- package/dist/esm/justifi-additional-questions-form-step_10.entry.js +3 -3
- package/dist/esm/justifi-additional-statement_11.entry.js +6 -6
- package/dist/esm/justifi-bank-account-form.entry.js +2 -2
- package/dist/esm/justifi-billing-form_2.entry.js +4 -4
- package/dist/esm/justifi-business-details.entry.js +3 -3
- package/dist/esm/justifi-business-form.entry.js +8 -8
- package/dist/esm/justifi-card-form.entry.js +2 -2
- package/dist/esm/justifi-checkout-core.entry.js +1 -1
- package/dist/esm/justifi-checkout.entry.js +6 -6
- package/dist/esm/justifi-checkouts-list.entry.js +10 -10
- package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
- package/dist/esm/justifi-gross-payment-chart.entry.js +3 -3
- package/dist/esm/justifi-new-payment-method_5.entry.js +2 -2
- package/dist/esm/justifi-owner-form_3.entry.js +2 -2
- package/dist/esm/justifi-payment-details.entry.js +6 -6
- package/dist/esm/justifi-payment-form.entry.js +6 -6
- package/dist/esm/justifi-payment-method-selector.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +11 -7
- package/dist/esm/justifi-payout-details.entry.js +6 -6
- package/dist/esm/justifi-payouts-list.entry.js +42 -20
- package/dist/esm/justifi-refund-form.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
- package/dist/esm/justifi-terminals-list.entry.js +9 -9
- package/dist/esm/justifi-tokenize-payment-method.entry.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-95aca142.js → package-16f4801d.js} +2 -2
- package/dist/esm/{pagination-menu.entry.js → pagination-menu_2.entry.js} +29 -1
- package/dist/esm/payment-details-core.entry.js +2 -2
- package/dist/esm/{payment.service-2f67410b.js → payment.service-ca6b5bc5.js} +2 -2
- package/dist/esm/payments-list-core.entry.js +18 -52
- package/dist/esm/payments-list-filters.entry.js +6 -1
- package/dist/esm/{payments-status-4937a170.js → payments-status-a7c18f2a.js} +2 -2
- package/dist/esm/payments-table-bba91324.js +27 -0
- package/dist/esm/payout-details-core.entry.js +2 -2
- package/dist/esm/payouts-list-core.entry.js +67 -60
- package/dist/esm/payouts-list-filters.entry.js +20 -0
- package/dist/esm/payouts-table-edff9bbe.js +33 -0
- package/dist/esm/{schema-validations-cd8c5f69.js → schema-validations-5dc879a9.js} +0 -12
- package/dist/esm/{table-loading-state-356c7215.js → table-44e3d1e7.js} +21 -1
- package/dist/esm/terminals-list-core.entry.js +6 -7
- package/dist/esm/terminals-list-filters.entry.js +1 -1
- package/dist/esm/{terminals-table-059c473e.js → terminals-table-dc787616.js} +4 -4
- package/dist/esm/{utils-3daada24.js → utils-1df1e55a.js} +48 -32
- package/dist/esm/{utils-3a4d8f3a.js → utils-4006c425.js} +12 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Payment.js +7 -1
- package/dist/module/SubAccount.js +3 -0
- package/dist/module/billing-form.js +1 -1
- package/dist/module/business-bank-account-form-step.js +1 -1
- package/dist/module/business-core-info-form-step-core.js +1 -1
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-document-upload-input-group.js +1 -1
- package/dist/module/business-documents-on-file.js +1 -1
- package/dist/module/checkouts-list-core2.js +9 -9
- package/dist/module/counter-dispute.js +3 -3
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/dispute-management-core.js +2 -2
- package/dist/module/dispute-notification.js +3 -3
- package/dist/module/form-control-checkbox2.js +1 -1
- package/dist/module/form-control-date2.js +6 -38
- package/dist/module/form-control-file2.js +1 -1
- package/dist/module/form-control-monetary2.js +1 -1
- package/dist/module/form-control-number-masked2.js +1 -1
- package/dist/module/form-control-number.js +1 -1
- package/dist/module/form-control-radio2.js +1 -1
- package/dist/module/form-control-text2.js +1 -1
- package/dist/module/form-control-textarea2.js +1 -1
- package/dist/module/get-payout-csv.js +16 -7
- package/dist/module/get-subaccounts.js +1 -1
- package/dist/module/identity-address-form.js +1 -1
- package/dist/module/justifi-business-details.js +1 -1
- package/dist/module/justifi-checkout.js +1 -1
- package/dist/module/justifi-checkouts-list.js +2 -2
- package/dist/module/justifi-gross-payment-chart.js +1 -1
- package/dist/module/justifi-payment-details.js +1 -1
- package/dist/module/justifi-payment-form.js +1 -1
- package/dist/module/justifi-payments-list.js +5 -3
- package/dist/module/justifi-payout-details.js +1 -1
- package/dist/module/justifi-payouts-list.js +63 -28
- package/dist/module/justifi-refund-form.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +1 -1
- package/dist/module/justifi-terminals-list.js +3 -3
- package/dist/module/justifi-tokenize-payment-method.js +1 -1
- package/dist/module/legal-address-form-step-core.js +1 -1
- package/dist/module/legal-address-form.js +1 -1
- package/dist/module/package.js +2 -2
- package/dist/module/payment-method-form.js +2 -2
- package/dist/module/payment-provisioning-actions.js +1 -1
- package/dist/module/payments-list-core2.js +43 -52
- package/dist/module/payments-list-filters2.js +6 -1
- package/dist/module/payments-status.js +2 -2
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payouts-list-core2.js +118 -67
- package/dist/module/payouts-list-filters.d.ts +11 -0
- package/dist/module/payouts-list-filters.js +6 -0
- package/dist/module/payouts-list-filters2.js +69 -0
- package/dist/module/saved-payment-method.js +1 -1
- package/dist/module/schema-validations.js +0 -12
- package/dist/module/table-filters-menu2.js +2 -22
- package/dist/module/table.js +36 -3
- package/dist/module/terminals-list-core2.js +8 -8
- package/dist/module/terminals-list-filters2.js +1 -1
- package/dist/module/utils2.js +48 -32
- package/dist/module/utils3.js +30 -25
- package/dist/module/utils4.js +24 -23
- package/dist/module/utils5.js +27 -0
- package/dist/types/api/Payment.d.ts +3 -1
- package/dist/types/api/Payout.d.ts +8 -0
- package/dist/types/api/services/payout.service.d.ts +5 -5
- package/dist/types/components/checkouts-list/checkouts-list.d.ts +1 -1
- package/dist/types/components/dispute-management/counter-dispute/counter-dispute.d.ts +1 -1
- package/dist/types/components/dispute-management/dispute-management-core.d.ts +1 -1
- package/dist/types/components/dispute-management/dispute-notification.d.ts +1 -1
- package/dist/types/components/payments-list/payments-list-core.d.ts +4 -6
- package/dist/types/components/payments-list/payments-list-filters.d.ts +1 -0
- package/dist/types/components/payments-list/payments-list.d.ts +1 -0
- package/dist/types/components/payments-list/payments-status.d.ts +1 -1
- package/dist/types/components/payments-list/payments-table.d.ts +19 -0
- package/dist/types/components/payouts-list/get-payouts.d.ts +2 -1
- package/dist/types/components/payouts-list/payouts-list-core.d.ts +15 -7
- package/dist/types/components/payouts-list/payouts-list-filters.d.ts +8 -0
- package/dist/types/components/payouts-list/payouts-list.d.ts +8 -3
- package/dist/types/components/payouts-list/payouts-table.d.ts +23 -0
- package/dist/types/components/terminals-list/terminals-list.d.ts +1 -1
- package/dist/types/components.d.ts +41 -12
- package/dist/types/ui-components/filters/utils.d.ts +1 -0
- package/dist/types/ui-components/form/form-control-date.d.ts +0 -3
- package/dist/types/utils/utils.d.ts +15 -16
- package/dist/webcomponents/p-0a963f7e.entry.js +1 -0
- package/dist/webcomponents/{p-8e228e5a.js → p-0d6ddff2.js} +1 -1
- package/dist/webcomponents/p-0fbab710.entry.js +1 -0
- package/dist/webcomponents/{p-91711083.entry.js → p-10277025.entry.js} +1 -1
- package/dist/webcomponents/{p-09fb7dd6.entry.js → p-157ddb71.entry.js} +1 -1
- package/dist/webcomponents/p-17984027.entry.js +1 -0
- package/dist/webcomponents/{p-7a8c13ba.entry.js → p-229f2096.entry.js} +1 -1
- package/dist/webcomponents/p-286b87ab.js +1 -0
- package/dist/webcomponents/p-28bd6dcd.js +1 -0
- package/dist/webcomponents/p-2f422aad.entry.js +1 -0
- package/dist/webcomponents/{p-869ae0c7.entry.js → p-3186d1fb.entry.js} +1 -1
- package/dist/webcomponents/p-3db8b3c7.js +1 -0
- package/dist/webcomponents/p-3ec27a31.entry.js +1 -0
- package/dist/webcomponents/{p-927a147c.entry.js → p-3ed7fc42.entry.js} +1 -1
- package/dist/webcomponents/{p-83b01812.entry.js → p-4046e45c.entry.js} +1 -1
- package/dist/webcomponents/p-420adedb.entry.js +1 -0
- package/dist/webcomponents/{p-b459d0b0.js → p-4408a32d.js} +1 -1
- package/dist/webcomponents/p-448826a7.entry.js +1 -0
- package/dist/webcomponents/{p-22e38d5b.js → p-44d3f5ed.js} +1 -1
- package/dist/webcomponents/{p-6caf6f09.entry.js → p-469804a9.entry.js} +1 -1
- package/dist/webcomponents/{p-0de9e97b.entry.js → p-486da67e.entry.js} +1 -1
- package/dist/webcomponents/{p-a3143d62.entry.js → p-4a5e5574.entry.js} +1 -1
- package/dist/webcomponents/p-54145a37.entry.js +1 -0
- package/dist/webcomponents/p-544a4e7a.js +1 -0
- package/dist/webcomponents/p-59959934.entry.js +1 -0
- package/dist/webcomponents/{p-286a4e72.entry.js → p-628693c1.entry.js} +1 -1
- package/dist/webcomponents/{p-02cf5e6f.js → p-673cf8c4.js} +1 -1
- package/dist/webcomponents/{p-c30c8f39.entry.js → p-69527219.entry.js} +1 -1
- package/dist/webcomponents/{p-9ef4d294.entry.js → p-74340f69.entry.js} +1 -1
- package/dist/webcomponents/p-7fc27a1a.js +1 -0
- package/dist/webcomponents/{p-c458fc48.entry.js → p-81635086.entry.js} +1 -1
- package/dist/webcomponents/p-89f6691e.js +1 -0
- package/dist/webcomponents/p-91de21cc.js +1 -0
- package/dist/webcomponents/p-95ec39f6.entry.js +1 -0
- package/dist/webcomponents/p-9690eca9.entry.js +1 -0
- package/dist/webcomponents/{p-efb56234.entry.js → p-a7830e98.entry.js} +1 -1
- package/dist/webcomponents/p-a856444a.entry.js +1 -0
- package/dist/webcomponents/{p-a91a2152.entry.js → p-a9775002.entry.js} +1 -1
- package/dist/webcomponents/p-ada9ac19.entry.js +1 -0
- package/dist/webcomponents/{p-eed325b7.entry.js → p-b607a07f.entry.js} +1 -1
- package/dist/webcomponents/p-bb71cef3.js +1 -0
- package/dist/webcomponents/{p-c5c6e61d.js → p-bc8205ec.js} +1 -1
- package/dist/webcomponents/{p-a8f22d4d.js → p-c13a7d10.js} +1 -1
- package/dist/webcomponents/p-c3fb5d3a.entry.js +1 -0
- package/dist/webcomponents/p-c420cb7d.entry.js +1 -0
- package/dist/webcomponents/{p-90b8acc6.js → p-c5175bd7.js} +1 -1
- package/dist/webcomponents/p-c8243721.js +1 -0
- package/dist/webcomponents/p-cd19c597.entry.js +1 -0
- package/dist/webcomponents/{p-9e7204b5.js → p-ce94232f.js} +1 -1
- package/dist/webcomponents/{p-92a766d8.entry.js → p-d09e9336.entry.js} +1 -1
- package/dist/webcomponents/{p-7fec2bcb.js → p-d1f75fa6.js} +1 -1
- package/dist/webcomponents/{p-55f78fcc.entry.js → p-daa7872f.entry.js} +1 -1
- package/dist/webcomponents/{p-2c8c214f.entry.js → p-dcb288a3.entry.js} +1 -1
- package/dist/webcomponents/p-dd43bf3d.entry.js +1 -0
- package/dist/webcomponents/p-df3ca87f.entry.js +1 -0
- package/dist/webcomponents/p-df5a1202.entry.js +1 -0
- package/dist/webcomponents/p-e2ce097c.js +1 -0
- package/dist/webcomponents/{p-eeb70281.entry.js → p-e5790011.entry.js} +1 -1
- package/dist/webcomponents/p-e9919d54.entry.js +1 -0
- package/dist/webcomponents/p-e99957ff.entry.js +1 -0
- package/dist/webcomponents/p-eab21e1f.entry.js +1 -0
- package/dist/webcomponents/{p-8e2e24d8.entry.js → p-ed05a597.entry.js} +1 -1
- package/dist/webcomponents/p-ed95feec.entry.js +1 -0
- package/dist/webcomponents/{p-8f212554.entry.js → p-f698d6d9.entry.js} +1 -1
- package/dist/webcomponents/p-fd5f2836.js +1 -0
- package/dist/webcomponents/{p-5fd72c29.entry.js → p-fea520c6.entry.js} +1 -1
- package/dist/webcomponents/{p-2dc7751f.entry.js → p-ff4bac14.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/table-20e9a053.js +0 -23
- package/dist/cjs/table-filters-menu.cjs.entry.js +0 -35
- package/dist/esm/table-5da154e7.js +0 -21
- package/dist/esm/table-filters-menu.entry.js +0 -31
- package/dist/module/table-loading-state.js +0 -34
- package/dist/webcomponents/p-0c03a971.entry.js +0 -1
- package/dist/webcomponents/p-0ec27543.entry.js +0 -1
- package/dist/webcomponents/p-0f7b9555.entry.js +0 -1
- package/dist/webcomponents/p-1251a3f5.entry.js +0 -1
- package/dist/webcomponents/p-1ab798f4.entry.js +0 -1
- package/dist/webcomponents/p-269ba6fe.entry.js +0 -1
- package/dist/webcomponents/p-2a9f48f0.entry.js +0 -1
- package/dist/webcomponents/p-2c2b57b3.js +0 -1
- package/dist/webcomponents/p-2c51d29f.js +0 -1
- package/dist/webcomponents/p-3f82f724.entry.js +0 -1
- package/dist/webcomponents/p-44f7f729.entry.js +0 -1
- package/dist/webcomponents/p-47dbe17d.js +0 -1
- package/dist/webcomponents/p-4b14abbf.entry.js +0 -1
- package/dist/webcomponents/p-638c6285.entry.js +0 -1
- package/dist/webcomponents/p-7285c687.js +0 -1
- package/dist/webcomponents/p-8480e3ab.entry.js +0 -1
- package/dist/webcomponents/p-88efdd31.js +0 -1
- package/dist/webcomponents/p-8ec550d7.entry.js +0 -1
- package/dist/webcomponents/p-919e6e67.entry.js +0 -1
- package/dist/webcomponents/p-935188c8.entry.js +0 -1
- package/dist/webcomponents/p-9f56ad71.js +0 -1
- package/dist/webcomponents/p-ad443df5.entry.js +0 -1
- package/dist/webcomponents/p-b16269d7.js +0 -1
- package/dist/webcomponents/p-bba131f9.entry.js +0 -1
- package/dist/webcomponents/p-c717646f.entry.js +0 -1
- package/dist/webcomponents/p-cd4eaeb7.js +0 -1
- package/dist/webcomponents/p-cd7e866c.entry.js +0 -1
- package/dist/webcomponents/p-e333620e.js +0 -1
- package/dist/webcomponents/p-e412a713.entry.js +0 -1
- package/dist/webcomponents/p-e6be8845.entry.js +0 -1
- package/dist/webcomponents/p-e8797be0.entry.js +0 -1
- package/dist/webcomponents/p-f45197b9.entry.js +0 -1
- package/dist/webcomponents/p-fc4de0d2.js +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent
|
|
1
|
+
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
2
|
import './Checkout.js';
|
|
3
3
|
import { p as pagingDefaults } from './Pagination.js';
|
|
4
4
|
import './Payment.js';
|
|
5
5
|
import './SubAccount.js';
|
|
6
|
-
import { a as
|
|
7
|
-
import {
|
|
8
|
-
import { d as defineCustomElement$1, o as onFilterChange } from './table-filters-menu2.js';
|
|
6
|
+
import { T as Table, a as TableLoadingState, b as TableEmptyState, c as TableErrorState } from './table.js';
|
|
7
|
+
import { o as onFilterChange } from './utils3.js';
|
|
9
8
|
import { M as MapPaymentStatusToBadge } from './payments-status.js';
|
|
9
|
+
import { j as convertToLocal, c as formatCurrency } from './utils2.js';
|
|
10
10
|
import { d as defineCustomElement$9 } from './custom-popper2.js';
|
|
11
11
|
import { d as defineCustomElement$8 } from './form-control-date2.js';
|
|
12
12
|
import { d as defineCustomElement$7 } from './form-control-error-text2.js';
|
|
@@ -15,6 +15,29 @@ import { d as defineCustomElement$5 } from './form-control-text2.js';
|
|
|
15
15
|
import { d as defineCustomElement$4 } from './form-control-tooltip2.js';
|
|
16
16
|
import { d as defineCustomElement$3 } from './pagination-menu2.js';
|
|
17
17
|
import { d as defineCustomElement$2 } from './payments-list-filters2.js';
|
|
18
|
+
import { d as defineCustomElement$1 } from './table-filters-menu2.js';
|
|
19
|
+
|
|
20
|
+
const defaultColumnsKeys = 'created_at,amount,status,payment_type,description,payers_name,last_four_digits';
|
|
21
|
+
const paymentTableColumns = {
|
|
22
|
+
created_at: () => (h("th", { part: "table-head-cell", scope: "col", title: "The date and time each payment was made" }, "Date")),
|
|
23
|
+
amount: () => (h("th", { part: "table-head-cell", scope: "col", title: "The dollar amount of each payment" }, "Amount")),
|
|
24
|
+
status: () => (h("th", { part: "table-head-cell", scope: "col", title: "The current status of each payment" }, "Status")),
|
|
25
|
+
payment_type: () => (h("th", { part: "table-head-cell", scope: "col", title: "The type of each payment" }, "Type")),
|
|
26
|
+
description: () => (h("th", { part: "table-head-cell", scope: "col", title: "The payment description, if you provided one" }, "Description")),
|
|
27
|
+
payers_name: () => (h("th", { part: "table-head-cell", scope: "col", title: "The name associated with the payment method" }, "Account Holder")),
|
|
28
|
+
last_four_digits: () => (h("th", { part: "table-head-cell", scope: "col", title: "The brand and last 4 digits of the payment method" }, "Payment Method")),
|
|
29
|
+
};
|
|
30
|
+
const paymentTableCells = {
|
|
31
|
+
created_at: (value) => (h("td", { part: "table-cell" },
|
|
32
|
+
h("div", { class: "fw-bold" }, convertToLocal(value, { showDisplayDate: true })),
|
|
33
|
+
h("div", { class: "fw-bold" }, convertToLocal(value, { showTime: true })))),
|
|
34
|
+
amount: (value) => (h("td", { part: "table-cell" }, formatCurrency(value, true, true))),
|
|
35
|
+
status: (value) => (h("td", { part: "table-cell", innerHTML: MapPaymentStatusToBadge(value) })),
|
|
36
|
+
payment_type: (value) => (h("td", { part: "table-cell" }, value)),
|
|
37
|
+
description: (value) => (h("td", { part: "table-cell" }, value)),
|
|
38
|
+
payers_name: (value) => (h("td", { part: "table-cell" }, value)),
|
|
39
|
+
last_four_digits: (value) => (h("td", { part: "table-cell" }, value))
|
|
40
|
+
};
|
|
18
41
|
|
|
19
42
|
const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore extends HTMLElement {
|
|
20
43
|
constructor() {
|
|
@@ -43,19 +66,23 @@ const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore
|
|
|
43
66
|
this.params = onFilterChange(newParams, this.params);
|
|
44
67
|
};
|
|
45
68
|
this.clearParams = () => {
|
|
69
|
+
this.errorMessage = '';
|
|
46
70
|
this.params = {};
|
|
47
71
|
};
|
|
72
|
+
this.getPayments = undefined;
|
|
73
|
+
this.columns = undefined;
|
|
48
74
|
this.payments = [];
|
|
75
|
+
this.paymentsTable = undefined;
|
|
49
76
|
this.loading = true;
|
|
50
77
|
this.errorMessage = undefined;
|
|
51
78
|
this.paging = pagingDefaults;
|
|
52
79
|
this.params = {};
|
|
53
|
-
this.getPayments = undefined;
|
|
54
80
|
}
|
|
55
81
|
updateOnPropChange() {
|
|
56
82
|
this.fetchData();
|
|
57
83
|
}
|
|
58
84
|
componentWillLoad() {
|
|
85
|
+
this.paymentsTable = new Table(this.payments, this.columns, paymentTableColumns, paymentTableCells);
|
|
59
86
|
if (this.getPayments) {
|
|
60
87
|
this.fetchData();
|
|
61
88
|
}
|
|
@@ -67,6 +94,7 @@ const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore
|
|
|
67
94
|
onSuccess: ({ payments, pagingInfo }) => {
|
|
68
95
|
this.payments = payments;
|
|
69
96
|
this.paging = pagingInfo;
|
|
97
|
+
this.paymentsTable.collectionData = this.payments;
|
|
70
98
|
this.loading = false;
|
|
71
99
|
},
|
|
72
100
|
onError: ({ error, code, severity }) => {
|
|
@@ -83,73 +111,36 @@ const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore
|
|
|
83
111
|
get entityId() {
|
|
84
112
|
return this.payments.map((payment) => payment.id);
|
|
85
113
|
}
|
|
86
|
-
get columnData() {
|
|
87
|
-
return [
|
|
88
|
-
['Date', 'The date and time each payment was made'],
|
|
89
|
-
['Amount', 'The dollar amount of each payment'],
|
|
90
|
-
['Status', 'The current status of each payment'],
|
|
91
|
-
['Type', 'The type of each payment'],
|
|
92
|
-
['Description', 'The payment description, if you provided one'],
|
|
93
|
-
['Account Holder', 'The name associated with the payment method'],
|
|
94
|
-
['Payment Method', 'The brand and last 4 digits of the payment method'],
|
|
95
|
-
];
|
|
96
|
-
}
|
|
97
|
-
get rowData() {
|
|
98
|
-
return this.payments.map((payment) => [
|
|
99
|
-
{
|
|
100
|
-
type: 'head',
|
|
101
|
-
value: `
|
|
102
|
-
<div class="fw-bold">${formatDate(payment.created_at)}</div>
|
|
103
|
-
<div class="fw-bold">${formatTime(payment.created_at)}</div>
|
|
104
|
-
`,
|
|
105
|
-
},
|
|
106
|
-
formatCurrency(payment.amount, true, true),
|
|
107
|
-
{
|
|
108
|
-
type: 'inner',
|
|
109
|
-
value: MapPaymentStatusToBadge(payment.status),
|
|
110
|
-
},
|
|
111
|
-
payment.paymentType,
|
|
112
|
-
payment.description,
|
|
113
|
-
payment.payment_method.payersName,
|
|
114
|
-
payment.payment_method.lastFourDigits,
|
|
115
|
-
]);
|
|
116
|
-
}
|
|
117
114
|
get showEmptyState() {
|
|
118
|
-
return !this.loading && !this.errorMessage && this.rowData.length < 1;
|
|
115
|
+
return !this.loading && !this.errorMessage && this.paymentsTable.rowData.length < 1;
|
|
119
116
|
}
|
|
120
117
|
get showErrorState() {
|
|
121
118
|
return !this.loading && !!this.errorMessage;
|
|
122
119
|
}
|
|
123
120
|
get showRowData() {
|
|
124
|
-
return !this.showEmptyState && !this.showErrorState;
|
|
121
|
+
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
125
122
|
}
|
|
126
123
|
render() {
|
|
127
|
-
|
|
128
|
-
return (h("div", { key: 'e51632f2cff6529131bf09250374f5609b8bbbd2' }, h("payments-list-filters", { key: '335944968281577a826fe2aa2a3866b282c6528c', params: this.params, setParamsOnChange: this.setParamsOnChange, clearParams: this.clearParams }), h("div", { key: 'ebff773b76f1a4b68a00675fa3499b8de71b1fe2', class: "table-wrapper" }, h("table", { key: '88e00cb3e4a98aa456b8bfb8d2d444d407aadb55', class: "table table-hover" }, h("thead", { key: '8c0bda771073274164ab4299bfdee85d70b0ccd8', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: '1d3774f8ecfa33cd68bd299d5d6f5f9364f557c4', class: "table-light text-nowrap", part: "table-head-row" }, (_a = this.columnData) === null || _a === void 0 ? void 0 : _a.map((column) => (h("th", { part: "table-head-cell", scope: "col", title: Array.isArray(column) ? column[1] : "" }, !Array.isArray(column) ? column : column[0]))))), h("tbody", { key: '9ef8a6b5e19edf824ca91c58ce901a83b12e5d86', class: "table-body", part: "table-body" }, h(TableLoadingState, { key: '6f41adae546948d437b09c73611df813160be2d1', columnSpan: this.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: 'd359e393f80cdf45d9746a5e4ee979079a11b870', isEmpty: this.showEmptyState, columnSpan: this.columnData.length }), h(TableErrorState, { key: 'd2d81ee9b5abcf732972afa56e6e2abc3c7c2e98', columnSpan: this.columnData.length, errorMessage: this.errorMessage }), this.showRowData &&
|
|
129
|
-
this.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler, part: `table-row ${index % 2 ? "table-row-even" : "table-row-odd"}` }, data.map((dataEntry) => {
|
|
130
|
-
let nestedHtml = dataEntry === null || dataEntry === void 0 ? void 0 : dataEntry.type;
|
|
131
|
-
if (nestedHtml) {
|
|
132
|
-
return h("td", { part: "table-cell", innerHTML: dataEntry.value });
|
|
133
|
-
}
|
|
134
|
-
else {
|
|
135
|
-
return h("td", { part: "table-cell" }, dataEntry);
|
|
136
|
-
}
|
|
137
|
-
}))))), this.paging && (h("tfoot", { key: '556eb5c90bf12c3d1b577fc74911e3318a95b87c', class: "sticky-bottom" }, h("tr", { key: 'e69f4f7a9510131a737460568a2e398908315848', class: "table-light align-middle" }, h("td", { key: '518a89afe7e7aaf02857ef9e7f0bad0fc0220eeb', part: "pagination-bar", colSpan: (_b = this.columnData) === null || _b === void 0 ? void 0 : _b.length }, h("pagination-menu", { key: '4510a747b96502d86615c90f8ba0d051b3f1cec8', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }), params: this.params })))))))));
|
|
124
|
+
return (h("div", { key: 'f9ad62dd7a3b3112af2b9d9ca3165a68730ad838' }, h("payments-list-filters", { key: '25453b8b93c43d6f9629688771bba820306cef5c', params: this.params, setParamsOnChange: this.setParamsOnChange, clearParams: this.clearParams }), h("div", { key: 'ec2b2799972ae5baeaed5c8f9547f1445295965b', class: "table-wrapper" }, h("table", { key: '323a3de363600940aecd8234b9d4e801bd0f0b70', class: "table table-hover" }, h("thead", { key: '9505ebb231fdb87c6be5a1e4313d8fee2afb1a0b', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: '995bd6b6f7ab40891cf4a9aa63cfb9adc92d596e', class: "table-light text-nowrap", part: "table-head-row" }, this.paymentsTable.columnData.map((column) => column))), h("tbody", { key: 'e85cd3ca47511afb2afdaf4cca9547b62d9ecb9e', class: "table-body", part: "table-body" }, h(TableLoadingState, { key: 'a1f20762b14b9cf0f03f0b36ce6cdae8bdb8f3c9', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '1e1e89ec8a2cbf6abe7d2183f5e1499374a9f33f', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: 'bfdd4bf25ab283f015cecf72603ea1d7f8921ee3', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler, part: `table-row ${index % 2 ? "table-row-even" : "table-row-odd"}` }, data)))), this.paging && (h("tfoot", { key: '0832e67b126a1cd7d8d936df635dc87023a683b0', class: "sticky-bottom" }, h("tr", { key: '2536f710f027d8fb0865c88b86a30111f012977e', class: "table-light align-middle" }, h("td", { key: '5f0c707ed1d855db83531297af9ace5d1212d35d', part: "pagination-bar", colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '01f751294ff54854be1434e15369153a5527414a', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }), params: this.params })))))))));
|
|
138
125
|
}
|
|
139
126
|
static get watchers() { return {
|
|
140
127
|
"params": ["updateOnPropChange"],
|
|
141
|
-
"getPayments": ["updateOnPropChange"]
|
|
128
|
+
"getPayments": ["updateOnPropChange"],
|
|
129
|
+
"columns": ["updateOnPropChange"]
|
|
142
130
|
}; }
|
|
143
131
|
}, [0, "payments-list-core", {
|
|
144
132
|
"getPayments": [16],
|
|
133
|
+
"columns": [1],
|
|
145
134
|
"payments": [32],
|
|
135
|
+
"paymentsTable": [32],
|
|
146
136
|
"loading": [32],
|
|
147
137
|
"errorMessage": [32],
|
|
148
138
|
"paging": [32],
|
|
149
139
|
"params": [32]
|
|
150
140
|
}, undefined, {
|
|
151
141
|
"params": ["updateOnPropChange"],
|
|
152
|
-
"getPayments": ["updateOnPropChange"]
|
|
142
|
+
"getPayments": ["updateOnPropChange"],
|
|
143
|
+
"columns": ["updateOnPropChange"]
|
|
153
144
|
}]);
|
|
154
145
|
function defineCustomElement() {
|
|
155
146
|
if (typeof customElements === "undefined") {
|
|
@@ -211,4 +202,4 @@ function defineCustomElement() {
|
|
|
211
202
|
}
|
|
212
203
|
defineCustomElement();
|
|
213
204
|
|
|
214
|
-
export { PaymentsListCore as P, defineCustomElement as d };
|
|
205
|
+
export { PaymentsListCore as P, defaultColumnsKeys as a, defineCustomElement as d };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { l as lodash } from './lodash.js';
|
|
3
|
+
import { k as convertToUTC, j as convertToLocal } from './utils2.js';
|
|
3
4
|
import { d as defineCustomElement$7 } from './custom-popper2.js';
|
|
4
5
|
import { d as defineCustomElement$6 } from './form-control-date2.js';
|
|
5
6
|
import { d as defineCustomElement$5 } from './form-control-error-text2.js';
|
|
@@ -12,6 +13,10 @@ const PaymentsListFilters = /*@__PURE__*/ proxyCustomElement(class PaymentsListF
|
|
|
12
13
|
constructor() {
|
|
13
14
|
super();
|
|
14
15
|
this.__registerHost();
|
|
16
|
+
this.handleDateInput = (name, value) => {
|
|
17
|
+
const utcDate = convertToUTC(value, { setExactTime: true });
|
|
18
|
+
this.setParamsOnChange(name, utcDate);
|
|
19
|
+
};
|
|
15
20
|
this.params = {};
|
|
16
21
|
this.setParamsOnChange = undefined;
|
|
17
22
|
this.clearParams = undefined;
|
|
@@ -32,7 +37,7 @@ const PaymentsListFilters = /*@__PURE__*/ proxyCustomElement(class PaymentsListF
|
|
|
32
37
|
];
|
|
33
38
|
}
|
|
34
39
|
render() {
|
|
35
|
-
return (h("table-filters-menu", { key: '
|
|
40
|
+
return (h("table-filters-menu", { key: '64b3b8cc77a08a6aa58c89b99248380bf8d9ad0f', params: this.params, clearParams: this.clearParams }, h("div", { key: 'ce5c017776a3b066d688ee25b9c7ef567df66695', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '8cf5d22905c448b3ddb4496483e6b6788b0d19db', class: "p-2" }, h("form-control-text", { key: '7156ecff36896b91d5cd600488a0739ff8ed4d96', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.params.payment_id })), h("div", { key: 'e04ca45af970a4d0e4725b8e7a0ba63ef7a5f5e9', class: "p-2" }, h("form-control-text", { key: '006191433fd479f95539dcdb2f2d6de3ac6d9828', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.params.terminal_id })), h("div", { key: 'fb5b1dfe7964ed7b95b349285e6df6bd0d83746b', class: "p-2" }, h("form-control-select", { key: '9832248a99214d5121f6420879fe596dbe3bd3e9', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.params.payment_status || '' })), h("div", { key: '138911f0f97f91910cda968208da26b3c9fd8303', class: "p-2" }, h("form-control-date", { key: 'd6a7a2ef2df3740af32edd6f454bbda154d5c3ef', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.params.created_after, { showInputDateTime: true }) || '', showTime: true })), h("div", { key: 'b4a808a46fd88c21e5e6f01381c1aaedc5ec9e39', class: "p-2" }, h("form-control-date", { key: 'a23eab0b41cb51786eaaecec6c91898ab70121ea', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.params.created_before, { showInputDateTime: true }) || '', showTime: true })))));
|
|
36
41
|
}
|
|
37
42
|
}, [0, "payments-list-filters", {
|
|
38
43
|
"params": [16],
|
|
@@ -5,11 +5,11 @@ const MapPaymentStatusToBadge = (status) => {
|
|
|
5
5
|
case 'authorized':
|
|
6
6
|
return "<span class='badge bg-primary' title='This card payment was authorized, but not captured. It could still succeed or fail.'>Authorized</span>";
|
|
7
7
|
case 'pending':
|
|
8
|
-
return "<span class='badge bg-primary' title='This ACH payment was processed, but the funds
|
|
8
|
+
return "<span class='badge bg-primary' title='This ACH payment was processed, but the funds have not settled. It could still succeed or fail.'>Pending</span>";
|
|
9
9
|
case 'achFailed':
|
|
10
10
|
return "<span class='badge bg-danger' title='The funds couldn't be collected for this ACH payment (in addition to the original payment, an ACH return and fee will appear in a payout)'>Failed</span>";
|
|
11
11
|
case 'failed':
|
|
12
|
-
return "<span class='badge bg-danger' title='This card payment
|
|
12
|
+
return "<span class='badge bg-danger' title='This card payment did not go through (it will not appear in a payout)'>Failed</span>";
|
|
13
13
|
case 'canceled':
|
|
14
14
|
return "<span class='badge bg-danger' title='This payment was canceled'>Canceled</span>";
|
|
15
15
|
case 'disputed':
|
|
@@ -58,7 +58,7 @@ const PayoutDetailsCore = /*@__PURE__*/ proxyCustomElement(class PayoutDetailsCo
|
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
60
|
var _a;
|
|
61
|
-
return (h(StyledHost, { key: '
|
|
61
|
+
return (h(StyledHost, { key: '5bbb9c0cacc3bf2efe7a1e935e586944578f735f' }, this.loading && LoadingState(), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: '93b7b7abde3b10e4e4d79526b02b8db0713c8fc6', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: 'ac86860de5b1861971b0a9b7e3b9c5d6240ccc2a', slot: "head-info", badge: h("span", { slot: 'badge', innerHTML: MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status) }), title: `${formatCurrency(this.payout.amount)} ${this.payout.currency.toUpperCase()}` }, h(EntityHeadInfoItem, { key: '537d48671755958de63c4c5c9e8b9272bc507e6b', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: 'cdac6a8d733ad1bd45b923f10350601b72b22e8f', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: 'a11a7d54baefaadd46be03d983f78754a3b4e7a2', title: "ID", value: this.payout.id }), h("div", { key: '71f41756d098d1863344f298549d32a3c0235e2c', class: "m-4" }, h("button", { key: '0bc57fc73b3e64da59e357d8882df4d9e1806af1', class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: 'f1be7616f853affa6a32c1ce598c46efb34497cc', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'b483ced9513bb46fe249ab50192663de025fa3f7', sectionTitle: "Details" }), h("div", { key: '510a10f8730d3b0afd2422d349f5ac656d1059e1', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '0564098e173c62fa3b73bcb112b3b1e516bcb094', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '91900371ae342a2ff8c79952786e5f0a999113da', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: 'c0a216b12b91c56d2b3c2c7b678c2bd893fefe02', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: 'afaafd44d645f458cd4299f9c8f504388ff1df53', title: "Amount", value: formatCurrency(this.payout.amount) }), h(DetailItem, { key: 'dbe4a06db4e8736c520db79cc45a37637ed02962', title: "Fee", value: formatCurrency(this.payout.fees_total) })), h(DetailSectionTitle, { key: '605964367e17fdbbd72763c818ba4dd42043f96f', sectionTitle: "Account" }), h("div", { key: '662a14b06e2fca1c305b9c8cbc3e724589117602', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '6b195d37ffb700b8ce2c7a095d196af52d92eb00', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: '011fb64b10627221ef1495da127f929bc63dbab6', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '4130703cb2a6b567392819f997dd574a9e087df4', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '541d23f1645541e461280a0ddd449530df79aa76', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: 'b544a37bae800ce24bbf11cc9654ab6b4aabc0da', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), h(DetailSectionTitle, { key: '40d9206806dfba438fbf700b7767a03c449ee1a9', sectionTitle: 'Metadata' }), h("div", { key: '435aff888f41675e1a2bf8729fc1c859cafaa20b', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '1c9f32bf899914aa052375e4be2e8f92134da196', metadata: this.payout.metadata })))))));
|
|
62
62
|
}
|
|
63
63
|
static get watchers() { return {
|
|
64
64
|
"getPayout": ["getPayoutWatcher"]
|
|
@@ -3,20 +3,46 @@ import './Checkout.js';
|
|
|
3
3
|
import { p as pagingDefaults } from './Pagination.js';
|
|
4
4
|
import './Payment.js';
|
|
5
5
|
import './SubAccount.js';
|
|
6
|
-
import { a as formatDate, b as formatTime, c as formatCurrency } from './utils2.js';
|
|
7
6
|
import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError.js';
|
|
8
|
-
import { T as
|
|
7
|
+
import { T as Table, a as TableLoadingState, b as TableEmptyState, c as TableErrorState } from './table.js';
|
|
8
|
+
import { o as onFilterChange } from './utils3.js';
|
|
9
|
+
import { j as convertToLocal, c as formatCurrency } from './utils2.js';
|
|
9
10
|
import { M as MapPayoutStatusToBadge } from './payouts-status.js';
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
11
|
+
import { d as defineCustomElement$7 } from './custom-popper2.js';
|
|
12
|
+
import { d as defineCustomElement$6 } from './form-control-date2.js';
|
|
13
|
+
import { d as defineCustomElement$5 } from './form-control-error-text2.js';
|
|
14
|
+
import { d as defineCustomElement$4 } from './form-control-tooltip2.js';
|
|
15
|
+
import { d as defineCustomElement$3 } from './pagination-menu2.js';
|
|
16
|
+
import { d as defineCustomElement$2 } from './payouts-list-filters2.js';
|
|
17
|
+
import { d as defineCustomElement$1 } from './table-filters-menu2.js';
|
|
15
18
|
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
h("
|
|
19
|
-
h("
|
|
19
|
+
const defaultColumnsKeys = 'created_at,amount,status,payments_total,refunds_total,fees_total,other_total,csv';
|
|
20
|
+
const payoutTableColumns = {
|
|
21
|
+
created_at: () => (h("th", { part: "table-head-cell", scope: "col", title: "The date the payout was deposited" }, "Created")),
|
|
22
|
+
sub_account_name: () => (h("th", { part: "table-head-cell", scope: "col", title: "The sub account associated with the payout" }, "Sub Account")),
|
|
23
|
+
payments_total: () => (h("th", { part: "table-head-cell", scope: "col", title: "The total payments amount associated with the payout" }, "Payments")),
|
|
24
|
+
refunds_total: () => (h("th", { part: "table-head-cell", scope: "col", title: "The total refunds amount associated with the payout" }, "Refunds")),
|
|
25
|
+
fees_total: () => (h("th", { part: "table-head-cell", scope: "col", title: "The total fees amount associated with the payout" }, "Fees")),
|
|
26
|
+
other_total: () => (h("th", { part: "table-head-cell", scope: "col", title: "The total other amount" }, "Other")),
|
|
27
|
+
amount: () => (h("th", { part: "table-head-cell", scope: "col", title: "The total amount of the payout" }, "Amount")),
|
|
28
|
+
status: () => (h("th", { part: "table-head-cell", scope: "col", title: "The real-time status of each payout" }, "Status")),
|
|
29
|
+
csv: () => (h("th", { part: "table-head-cell", scope: "col", title: "Export CSV" })),
|
|
30
|
+
};
|
|
31
|
+
const payoutTableCells = (downloadCSV) => ({
|
|
32
|
+
created_at: (value) => (h("td", { part: "table-cell" },
|
|
33
|
+
h("div", { class: "fw-bold" },
|
|
34
|
+
convertToLocal(value, { showDisplayDate: true }),
|
|
35
|
+
" "))),
|
|
36
|
+
sub_account_name: (value) => (h("td", { part: "table-cell" }, value)),
|
|
37
|
+
payments_total: (value) => (h("td", { part: "table-cell" }, formatCurrency(value))),
|
|
38
|
+
refunds_total: (value) => (h("td", { part: "table-cell" }, formatCurrency(value))),
|
|
39
|
+
fees_total: (value) => (h("td", { part: "table-cell" }, formatCurrency(value))),
|
|
40
|
+
other_total: (value) => (h("td", { part: "table-cell" }, formatCurrency(value))),
|
|
41
|
+
amount: (value) => (h("td", { part: "table-cell" }, formatCurrency(value))),
|
|
42
|
+
status: (value) => (h("td", { part: "table-cell", innerHTML: MapPayoutStatusToBadge(value) })),
|
|
43
|
+
csv: (value) => (h("td", { part: "table-cell" },
|
|
44
|
+
h("a", { href: "#", onClick: (event) => { event.preventDefault(); downloadCSV(value); } }, "CSV"))),
|
|
45
|
+
});
|
|
20
46
|
|
|
21
47
|
const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore extends HTMLElement {
|
|
22
48
|
constructor() {
|
|
@@ -36,9 +62,6 @@ const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore e
|
|
|
36
62
|
},
|
|
37
63
|
});
|
|
38
64
|
};
|
|
39
|
-
this.handleDateChange = (name, value) => {
|
|
40
|
-
this.params = Object.assign(Object.assign({}, this.params), { [name]: value });
|
|
41
|
-
};
|
|
42
65
|
this.handleClickPrevious = (beforeCursor) => {
|
|
43
66
|
const newParams = Object.assign({}, this.params);
|
|
44
67
|
delete newParams.after_cursor;
|
|
@@ -55,29 +78,72 @@ const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore e
|
|
|
55
78
|
return;
|
|
56
79
|
this.rowClicked.emit(this.payouts.find((payout) => payout.id === clickedPayoutID));
|
|
57
80
|
};
|
|
81
|
+
this.setParamsOnChange = (name, value) => {
|
|
82
|
+
let newParams = { [name]: value };
|
|
83
|
+
this.params = onFilterChange(newParams, this.params);
|
|
84
|
+
};
|
|
85
|
+
this.clearParams = () => {
|
|
86
|
+
this.errorMessage = '';
|
|
87
|
+
this.params = {};
|
|
88
|
+
};
|
|
58
89
|
this.getPayouts = undefined;
|
|
90
|
+
this.getSubAccounts = undefined;
|
|
59
91
|
this.getPayoutCSV = undefined;
|
|
92
|
+
this.columns = undefined;
|
|
60
93
|
this.payouts = [];
|
|
94
|
+
this.payoutsTable = undefined;
|
|
95
|
+
this.subAccounts = [];
|
|
61
96
|
this.loading = true;
|
|
62
97
|
this.errorMessage = undefined;
|
|
63
98
|
this.paging = pagingDefaults;
|
|
64
|
-
this.params =
|
|
99
|
+
this.params = {};
|
|
65
100
|
}
|
|
66
101
|
updateOnPropChange() {
|
|
67
|
-
this.
|
|
102
|
+
this.fetchPayouts();
|
|
68
103
|
}
|
|
69
104
|
componentWillLoad() {
|
|
70
|
-
|
|
71
|
-
|
|
105
|
+
this.payoutsTable = new Table(this.payouts, this.columns, payoutTableColumns, payoutTableCells(this.downloadCSV));
|
|
106
|
+
if (this.getPayouts && this.getSubAccounts) {
|
|
107
|
+
this.fetchPayouts();
|
|
72
108
|
}
|
|
73
109
|
}
|
|
74
|
-
|
|
110
|
+
fetchPayouts() {
|
|
75
111
|
this.loading = true;
|
|
76
112
|
this.getPayouts({
|
|
77
113
|
params: this.params,
|
|
78
114
|
onSuccess: ({ payouts, pagingInfo }) => {
|
|
79
115
|
this.payouts = payouts;
|
|
80
116
|
this.paging = pagingInfo;
|
|
117
|
+
this.payoutsTable.collectionData = this.payouts;
|
|
118
|
+
const shouldFetchSubAccounts = this.payoutsTable.columnKeys.includes('sub_account_name');
|
|
119
|
+
if (shouldFetchSubAccounts) {
|
|
120
|
+
this.fetchSubAccounts();
|
|
121
|
+
}
|
|
122
|
+
else {
|
|
123
|
+
this.loading = false;
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
onError: ({ error, code, severity }) => {
|
|
127
|
+
this.errorMessage = error;
|
|
128
|
+
this.errorEvent.emit({
|
|
129
|
+
errorCode: code,
|
|
130
|
+
message: error,
|
|
131
|
+
severity,
|
|
132
|
+
});
|
|
133
|
+
this.loading = false;
|
|
134
|
+
},
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
async fetchSubAccounts() {
|
|
138
|
+
this.getSubAccounts({
|
|
139
|
+
params: this.subAccountParams,
|
|
140
|
+
onSuccess: ({ subAccounts }) => {
|
|
141
|
+
this.subAccounts = subAccounts;
|
|
142
|
+
this.payouts = this.payouts.map((payout) => {
|
|
143
|
+
var _a;
|
|
144
|
+
payout.sub_account_name = (_a = this.subAccounts.find((subAccount) => subAccount.id === payout.account_id)) === null || _a === void 0 ? void 0 : _a.name;
|
|
145
|
+
return payout;
|
|
146
|
+
});
|
|
81
147
|
this.loading = false;
|
|
82
148
|
},
|
|
83
149
|
onError: ({ error, code, severity }) => {
|
|
@@ -91,79 +157,54 @@ const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore e
|
|
|
91
157
|
},
|
|
92
158
|
});
|
|
93
159
|
}
|
|
160
|
+
get subAccountParams() {
|
|
161
|
+
let accountIdNumbers = this.payouts.map((payout) => payout.account_id);
|
|
162
|
+
let uniqueAccountIds = [...new Set(accountIdNumbers)];
|
|
163
|
+
let accountIdString = uniqueAccountIds.join(',');
|
|
164
|
+
return { sub_account_id: accountIdString };
|
|
165
|
+
}
|
|
94
166
|
get entityId() {
|
|
95
167
|
return this.payouts.map((payout) => payout.id);
|
|
96
168
|
}
|
|
97
|
-
get columnData() {
|
|
98
|
-
return [
|
|
99
|
-
['Paid Out On', 'The date each transaction occurred'],
|
|
100
|
-
['Type', 'The type of each transaction'],
|
|
101
|
-
['Account', 'The ID of the account associated with each payout'],
|
|
102
|
-
['Paid Out To', 'The bank account to which each payout was transferred'],
|
|
103
|
-
['Payments', 'Sum of payments in each payout'],
|
|
104
|
-
['Refunds', 'Sum of refunds in each payout'],
|
|
105
|
-
['Fees', 'Sum of fees in each payout'],
|
|
106
|
-
['Other', 'Sum of less common transactions in each payout'],
|
|
107
|
-
['Payout Amount', 'The net sum of all transactions in each payout'],
|
|
108
|
-
['Status', 'The real-time status of each payout'],
|
|
109
|
-
['Actions', ''],
|
|
110
|
-
];
|
|
111
|
-
}
|
|
112
|
-
get rowData() {
|
|
113
|
-
return this.payouts.map((payout) => [
|
|
114
|
-
{
|
|
115
|
-
type: 'head',
|
|
116
|
-
value: `
|
|
117
|
-
<div class='fw-bold'>${formatDate(payout.created_at)}</div>
|
|
118
|
-
<div class='fw-bold'>${formatTime(payout.created_at)}</div>
|
|
119
|
-
`,
|
|
120
|
-
},
|
|
121
|
-
payout.payout_type,
|
|
122
|
-
payout.account_id,
|
|
123
|
-
`${payout.bank_account.full_name} ${payout.bank_account.account_number_last4}`,
|
|
124
|
-
formatCurrency(payout.payments_total),
|
|
125
|
-
formatCurrency(payout.refunds_total),
|
|
126
|
-
formatCurrency(payout.fees_total),
|
|
127
|
-
formatCurrency(payout.other_total),
|
|
128
|
-
formatCurrency(payout.amount),
|
|
129
|
-
{ type: 'inner', value: MapPayoutStatusToBadge(payout.status) },
|
|
130
|
-
(h(DownloadIcon, { title: "Export CSV", onClick: () => this.downloadCSV(payout.id), style: { height: '24px', width: '24px', cursor: 'pointer' } })),
|
|
131
|
-
]);
|
|
132
|
-
}
|
|
133
169
|
get showEmptyState() {
|
|
134
|
-
return !this.loading && !this.errorMessage && this.rowData.length < 1;
|
|
170
|
+
return !this.loading && !this.errorMessage && this.payoutsTable.rowData.length < 1;
|
|
135
171
|
}
|
|
136
172
|
get showErrorState() {
|
|
137
173
|
return !this.loading && !!this.errorMessage;
|
|
138
174
|
}
|
|
139
175
|
get showRowData() {
|
|
140
|
-
return !this.showEmptyState && !this.showErrorState;
|
|
176
|
+
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
141
177
|
}
|
|
142
178
|
render() {
|
|
143
|
-
return (h("div", { key: '
|
|
144
|
-
this.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler, part: `table-row ${index % 2 ? 'table-row-even' : 'table-row-odd'}` }, data.map((dataEntry) => ((dataEntry === null || dataEntry === void 0 ? void 0 : dataEntry.type) ? (h("td", { part: "table-cell", innerHTML: dataEntry.value })) : (h("td", { part: "table-cell" }, dataEntry)))))))), this.paging && (h("tfoot", { key: 'd2a1b0dd2340cf64816ad05c1c03f136b21df0a6', class: "sticky-bottom" }, h("tr", { key: 'abb87b7c026475da175a6bec772887bf3ac08933', class: "table-light align-middle" }, h("td", { key: '32070f512aebc77a42693a93e717d31ef9ed4509', part: "pagination-bar", colSpan: this.columnData.length }, h("pagination-menu", { key: '57ee656553f4afee96f5dbdac5866f103cde97eb', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }), params: this.params })))))))));
|
|
179
|
+
return (h("div", { key: '3768192e14155536f0fb53d2abc5f1e92b04cc01' }, h("payouts-list-filters", { key: '3fec8cfc6b9d68798148e9eea0725079d32e3406', params: this.params, setParamsOnChange: this.setParamsOnChange, clearParams: this.clearParams }), h("div", { key: '291b7a53bb5657c87568169ebccc1dead39d10c9', class: "table-wrapper" }, h("table", { key: '624389fddf8b00dcaf70a75693b542b2f4af4982', class: "table table-hover" }, h("thead", { key: '1e28a2a6988eac106c40b8f029d9fa2118cbdb6d', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: '1f05dd4c54fb350545cf6b1b3e86b80d96932585', class: "table-light text-nowrap", part: "table-head-row" }, this.payoutsTable.columnData.map((column) => column))), h("tbody", { key: '3af09dc61461f31f61c2cfdf7896b7dfe9441450', class: "table-body", part: "table-body" }, h(TableLoadingState, { key: '715a3d0732e45810bdfdcbe5c7db8f29934a1a62', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '3aac2554828eac0c6b0645da5df811b5e5463235', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: 'cf2b312830b9f59550346085f00bc519e496b2b2', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler, part: `table-row ${index % 2 ? "table-row-even" : "table-row-odd"}` }, data)))), this.paging && (h("tfoot", { key: '3d7389fb825a7eafcd456b3ae95b115a4218fea3', class: "sticky-bottom" }, h("tr", { key: '4c10aa64144a281d8303b04f013bfcc2390f4d04', class: "table-light align-middle" }, h("td", { key: '63614e636203a5f15beb26b4d19eed393b6ea481', part: "pagination-bar", colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: '7708ac8b21d2db0ec9ade773dd46cd944374ede5', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }), params: this.params })))))))));
|
|
145
180
|
}
|
|
146
181
|
static get watchers() { return {
|
|
147
182
|
"params": ["updateOnPropChange"],
|
|
148
|
-
"getPayouts": ["updateOnPropChange"]
|
|
183
|
+
"getPayouts": ["updateOnPropChange"],
|
|
184
|
+
"getSubAccounts": ["updateOnPropChange"]
|
|
149
185
|
}; }
|
|
150
186
|
}, [0, "payouts-list-core", {
|
|
151
187
|
"getPayouts": [16],
|
|
188
|
+
"getSubAccounts": [16],
|
|
152
189
|
"getPayoutCSV": [16],
|
|
190
|
+
"columns": [1],
|
|
153
191
|
"payouts": [32],
|
|
192
|
+
"payoutsTable": [32],
|
|
193
|
+
"subAccounts": [32],
|
|
154
194
|
"loading": [32],
|
|
155
195
|
"errorMessage": [32],
|
|
156
196
|
"paging": [32],
|
|
157
197
|
"params": [32]
|
|
158
198
|
}, undefined, {
|
|
159
199
|
"params": ["updateOnPropChange"],
|
|
160
|
-
"getPayouts": ["updateOnPropChange"]
|
|
200
|
+
"getPayouts": ["updateOnPropChange"],
|
|
201
|
+
"getSubAccounts": ["updateOnPropChange"]
|
|
161
202
|
}]);
|
|
162
203
|
function defineCustomElement() {
|
|
163
204
|
if (typeof customElements === "undefined") {
|
|
164
205
|
return;
|
|
165
206
|
}
|
|
166
|
-
const components = ["payouts-list-core", "custom-popper", "form-control-date", "form-control-error-text", "form-control-tooltip", "pagination-menu"];
|
|
207
|
+
const components = ["payouts-list-core", "custom-popper", "form-control-date", "form-control-error-text", "form-control-tooltip", "pagination-menu", "payouts-list-filters", "table-filters-menu"];
|
|
167
208
|
components.forEach(tagName => { switch (tagName) {
|
|
168
209
|
case "payouts-list-core":
|
|
169
210
|
if (!customElements.get(tagName)) {
|
|
@@ -172,25 +213,35 @@ function defineCustomElement() {
|
|
|
172
213
|
break;
|
|
173
214
|
case "custom-popper":
|
|
174
215
|
if (!customElements.get(tagName)) {
|
|
175
|
-
defineCustomElement$
|
|
216
|
+
defineCustomElement$7();
|
|
176
217
|
}
|
|
177
218
|
break;
|
|
178
219
|
case "form-control-date":
|
|
179
220
|
if (!customElements.get(tagName)) {
|
|
180
|
-
defineCustomElement$
|
|
221
|
+
defineCustomElement$6();
|
|
181
222
|
}
|
|
182
223
|
break;
|
|
183
224
|
case "form-control-error-text":
|
|
184
225
|
if (!customElements.get(tagName)) {
|
|
185
|
-
defineCustomElement$
|
|
226
|
+
defineCustomElement$5();
|
|
186
227
|
}
|
|
187
228
|
break;
|
|
188
229
|
case "form-control-tooltip":
|
|
189
230
|
if (!customElements.get(tagName)) {
|
|
190
|
-
defineCustomElement$
|
|
231
|
+
defineCustomElement$4();
|
|
191
232
|
}
|
|
192
233
|
break;
|
|
193
234
|
case "pagination-menu":
|
|
235
|
+
if (!customElements.get(tagName)) {
|
|
236
|
+
defineCustomElement$3();
|
|
237
|
+
}
|
|
238
|
+
break;
|
|
239
|
+
case "payouts-list-filters":
|
|
240
|
+
if (!customElements.get(tagName)) {
|
|
241
|
+
defineCustomElement$2();
|
|
242
|
+
}
|
|
243
|
+
break;
|
|
244
|
+
case "table-filters-menu":
|
|
194
245
|
if (!customElements.get(tagName)) {
|
|
195
246
|
defineCustomElement$1();
|
|
196
247
|
}
|
|
@@ -199,4 +250,4 @@ function defineCustomElement() {
|
|
|
199
250
|
}
|
|
200
251
|
defineCustomElement();
|
|
201
252
|
|
|
202
|
-
export { PayoutsListCore as P, defineCustomElement as d };
|
|
253
|
+
export { PayoutsListCore as P, defaultColumnsKeys as a, defineCustomElement as d };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface PayoutsListFilters extends Components.PayoutsListFilters, HTMLElement {}
|
|
4
|
+
export const PayoutsListFilters: {
|
|
5
|
+
prototype: PayoutsListFilters;
|
|
6
|
+
new (): PayoutsListFilters;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|