@justifi/webcomponents 4.20.0 → 4.21.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-03981aad.js → Analytics-880f5152.js} +1 -1
- package/dist/cjs/{Payment-1a8a8ca6.js → Payment-04a842f4.js} +15 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +1 -1
- package/dist/cjs/{business-form-types-6e1fcda3.js → business-form-types-719b7f52.js} +11 -0
- package/dist/cjs/{check-pkg-version-89d6d146.js → check-pkg-version-54f7dfda.js} +1 -1
- package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_5.cjs.entry.js} +121 -2
- package/dist/cjs/form-control-checkbox_9.cjs.entry.js +51 -28
- package/dist/cjs/form-control-date_3.cjs.entry.js +47 -8
- package/dist/cjs/form-control-file.cjs.entry.js +1 -1
- package/dist/cjs/{form-control-monetary.cjs.entry.js → form-control-help-text_2.cjs.entry.js} +16 -1
- package/dist/cjs/form-control-number.cjs.entry.js +1 -1
- package/dist/cjs/{get-payout-csv-3a3260ec.js → get-payout-csv-a82b2c1c.js} +1 -1
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +23 -11
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-business-form.cjs.entry.js +6 -6
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkout.cjs.entry.js +6 -6
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -3
- package/dist/cjs/justifi-new-payment-method_4.cjs.entry.js +6 -6
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-details.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payment-form.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning-core.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 +12 -10
- package/dist/cjs/justifi-payout-details.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +5 -5
- package/dist/cjs/justifi-refund-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-7fdd14b9.js → package-cb1b1015.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +9 -9
- package/dist/cjs/{payment.service-4b1c0a20.js → payment.service-6f79aad2.js} +6 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +14 -14
- package/dist/cjs/payments-list-filters_2.cjs.entry.js +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +5 -5
- package/dist/cjs/styled-host-1adf46c3.js +14 -0
- package/dist/cjs/{utils-af1b60a9.js → utils-52fb7fa1.js} +13 -10
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Payment.js +15 -0
- package/dist/collection/api/services/payment.service.js +5 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +42 -2
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +31 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +24 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +25 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +24 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +25 -2
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/input-configurations.js +17 -17
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +24 -1
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +24 -2
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +1 -1
- package/dist/collection/components/business-forms/utils/business-form-types.js +11 -0
- package/dist/collection/components/card-form/card-form.js +1 -1
- package/dist/collection/components/checkout/checkout-core.js +1 -1
- package/dist/collection/components/checkout/checkout.js +2 -2
- package/dist/collection/components/checkout/new-payment-method.js +1 -1
- package/dist/collection/components/checkout/payment-method-options.js +1 -1
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkout/sezzle-payment-method.js +1 -1
- package/dist/collection/components/details/details.js +1 -1
- package/dist/collection/components/form/form-control-checkbox.js +1 -1
- package/dist/collection/components/form/form-control-date.js +80 -6
- package/dist/collection/components/form/form-control-file.js +1 -1
- package/dist/collection/components/form/form-control-monetary.js +1 -1
- package/dist/collection/components/form/form-control-number-masked.js +1 -1
- package/dist/collection/components/form/form-control-number.js +1 -1
- package/dist/collection/components/form/form-control-select.js +1 -1
- package/dist/collection/components/form/form-control-text.js +1 -1
- package/dist/collection/components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +63 -0
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +2 -2
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +7 -7
- package/dist/collection/components/payment-form/payment-form.js +3 -3
- package/dist/collection/components/payment-form/payment-method-selector.js +1 -1
- package/dist/collection/components/payments-list/get-payments.js +2 -2
- package/dist/collection/components/payments-list/payments-list-core.js +11 -11
- package/dist/collection/components/payments-list/payments-list-filters.js +1 -1
- package/dist/collection/components/payments-list/payments-list.js +23 -2
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +2 -2
- package/dist/collection/components/refund-form/refund-form.js +1 -1
- package/dist/collection/ui-components/custom-popper/custom-popper.js +8 -4
- package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
- package/dist/collection/utils/utils.js +13 -10
- package/dist/docs.json +650 -149
- package/dist/esm/{Analytics-3103f8e9.js → Analytics-3dde5a98.js} +1 -1
- package/dist/esm/{Payment-6bf26fe2.js → Payment-30790721.js} +15 -0
- package/dist/esm/additional-questions-details_5.entry.js +1 -1
- package/dist/esm/business-details-core.entry.js +1 -1
- package/dist/esm/{business-form-types-1bc5fe08.js → business-form-types-8fd61b0e.js} +12 -1
- package/dist/esm/{check-pkg-version-44e6ad15.js → check-pkg-version-4d144b72.js} +1 -1
- package/dist/esm/{custom-popper.entry.js → custom-popper_5.entry.js} +119 -4
- package/dist/esm/form-control-checkbox_9.entry.js +51 -28
- package/dist/esm/form-control-date_3.entry.js +47 -8
- package/dist/esm/form-control-file.entry.js +1 -1
- package/dist/esm/{form-control-monetary.entry.js → form-control-help-text_2.entry.js} +17 -3
- package/dist/esm/form-control-number.entry.js +1 -1
- package/dist/esm/{get-payout-csv-93427146.js → get-payout-csv-d29146ee.js} +1 -1
- package/dist/esm/gross-payment-chart-core.entry.js +2 -2
- package/dist/esm/justifi-additional-questions-form-step_10.entry.js +23 -11
- package/dist/esm/justifi-bank-account-form.entry.js +2 -2
- package/dist/esm/justifi-billing-form_2.entry.js +2 -2
- package/dist/esm/justifi-business-details.entry.js +3 -3
- package/dist/esm/justifi-business-form.entry.js +6 -6
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +3 -3
- package/dist/esm/justifi-checkout-core.entry.js +3 -3
- package/dist/esm/justifi-checkout.entry.js +6 -6
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-gross-payment-chart.entry.js +3 -3
- package/dist/esm/justifi-new-payment-method_4.entry.js +6 -6
- package/dist/esm/justifi-owner-form_3.entry.js +2 -2
- package/dist/esm/justifi-payment-details.entry.js +5 -5
- package/dist/esm/justifi-payment-form.entry.js +9 -9
- package/dist/esm/justifi-payment-method-form.entry.js +2 -2
- package/dist/esm/justifi-payment-method-selector.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +12 -10
- package/dist/esm/justifi-payout-details.entry.js +5 -5
- package/dist/esm/justifi-payouts-list.entry.js +5 -5
- package/dist/esm/justifi-refund-form.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-0e3cc41e.js → package-4ab64620.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +9 -9
- package/dist/esm/{payment.service-02c596b9.js → payment.service-f9c3e9d7.js} +6 -3
- package/dist/esm/payments-list-core.entry.js +14 -14
- package/dist/esm/payments-list-filters_2.entry.js +2 -2
- package/dist/esm/payout-details-core.entry.js +3 -3
- package/dist/esm/payouts-list-core.entry.js +5 -5
- package/dist/esm/styled-host-e0ddb759.js +12 -0
- package/dist/esm/{utils-e66d8bca.js → utils-620f2d78.js} +13 -10
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Payment.js +15 -0
- package/dist/module/additional-questions.js +22 -10
- package/dist/module/billing-form.js +13 -7
- package/dist/module/business-additional-questions-form-step-core.js +42 -11
- package/dist/module/business-additional-questions-form-step.js +23 -11
- package/dist/module/business-bank-account-form-step.js +23 -10
- package/dist/module/business-core-info-form-step-core.js +19 -10
- package/dist/module/business-core-info-form-step.js +16 -10
- package/dist/module/business-core-info.js +15 -9
- package/dist/module/business-document-upload-form-step.js +14 -5
- package/dist/module/business-document-upload-input-group.js +27 -21
- package/dist/module/business-form-types.js +12 -1
- package/dist/module/business-owners-form-step-core.js +20 -12
- package/dist/module/business-owners-form-step.js +16 -10
- package/dist/module/business-representative-form-inputs.js +16 -10
- package/dist/module/business-representative-form-step-core.js +19 -10
- package/dist/module/business-representative-form-step.js +16 -10
- package/dist/module/business-representative.js +15 -9
- package/dist/module/business-terms-conditions-form-step.js +4 -2
- package/dist/module/business-terms-conditions-text.js +1 -1
- package/dist/module/checkout-core.js +14 -8
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/details.js +1 -1
- package/dist/module/form-control-checkbox2.js +1 -1
- package/dist/module/form-control-date2.js +57 -10
- package/dist/module/form-control-file2.js +10 -4
- package/dist/module/form-control-monetary2.js +1 -1
- package/dist/module/form-control-number-masked2.js +10 -4
- package/dist/module/form-control-number.js +1 -1
- package/dist/module/form-control-select2.js +10 -4
- package/dist/module/form-control-text2.js +10 -4
- package/dist/module/form-control-tooltip.d.ts +11 -0
- package/dist/module/form-control-tooltip.js +6 -0
- package/dist/module/form-control-tooltip2.js +49 -0
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/identity-address-form.js +14 -8
- package/dist/module/justifi-business-form.js +29 -17
- package/dist/module/justifi-card-form.js +1 -1
- package/dist/module/justifi-checkout.js +15 -9
- package/dist/module/justifi-payment-form.js +16 -10
- package/dist/module/justifi-payment-provisioning.js +30 -18
- package/dist/module/justifi-payments-list.js +15 -11
- package/dist/module/justifi-payouts-list.js +9 -3
- package/dist/module/justifi-refund-form.js +21 -9
- package/dist/module/justifi-season-interruption-insurance.js +1 -1
- package/dist/module/legal-address-form-step-core.js +17 -8
- package/dist/module/legal-address-form-step.js +14 -8
- package/dist/module/legal-address-form.js +13 -7
- package/dist/module/new-payment-method.js +14 -8
- package/dist/module/owner-form-core2.js +16 -10
- package/dist/module/owner-form-inputs2.js +16 -10
- package/dist/module/owner-form.js +15 -9
- package/dist/module/package.js +1 -1
- package/dist/module/payment-details-core2.js +7 -7
- package/dist/module/payment-method-options.js +14 -8
- package/dist/module/payment-method-selector.js +1 -1
- package/dist/module/payment-provisioning-core.js +31 -19
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +30 -18
- package/dist/module/payment.service.js +5 -2
- package/dist/module/payments-list-core2.js +18 -18
- package/dist/module/payments-list-filters2.js +8 -8
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payouts-list-core2.js +11 -5
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/saved-payment-method.js +1 -1
- package/dist/module/season-interruption-insurance-core.js +2 -2
- package/dist/module/sezzle-payment-method.js +1 -1
- package/dist/module/styled-host.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/utils2.js +13 -10
- package/dist/types/api/Payment.d.ts +8 -0
- package/dist/types/api/services/payment.service.d.ts +2 -2
- package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +4 -1
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +2 -1
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +2 -1
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +2 -1
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +2 -1
- package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +2 -1
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +2 -1
- package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +2 -1
- package/dist/types/components/business-forms/utils/business-form-types.d.ts +15 -0
- package/dist/types/components/form/form-control-date.d.ts +5 -0
- package/dist/types/components/form/form-helpers/form-control-tooltip/form-control-tooltip.d.ts +8 -0
- package/dist/types/components/payments-list/get-payments.d.ts +2 -1
- package/dist/types/components/payments-list/payments-list.d.ts +3 -2
- package/dist/types/components.d.ts +41 -4
- package/dist/types/ui-components/custom-popper/custom-popper.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +2 -2
- package/dist/webcomponents/{p-0de026dd.entry.js → p-08d88fd2.entry.js} +1 -1
- package/dist/webcomponents/p-0c2d91a2.entry.js +1 -0
- package/dist/webcomponents/p-11f01df5.entry.js +1 -0
- package/dist/webcomponents/p-122c2a11.entry.js +1 -0
- package/dist/webcomponents/{p-4628cc9b.entry.js → p-1d29488a.entry.js} +1 -1
- package/dist/webcomponents/{p-1eee25f3.entry.js → p-1e178dd1.entry.js} +2 -2
- package/dist/webcomponents/p-1eb60948.entry.js +1 -0
- package/dist/webcomponents/{p-05718341.entry.js → p-23f95a19.entry.js} +1 -1
- package/dist/webcomponents/{p-0e84986e.entry.js → p-2874d4b2.entry.js} +1 -1
- package/dist/webcomponents/{p-430f81c6.entry.js → p-43dfda70.entry.js} +1 -1
- package/dist/webcomponents/{p-804c0f1f.entry.js → p-55fe2cf2.entry.js} +1 -1
- package/dist/webcomponents/{p-8c83b73e.entry.js → p-5df26e65.entry.js} +1 -1
- package/dist/webcomponents/p-5e5e8a85.js +1 -0
- package/dist/webcomponents/{p-20dafb46.entry.js → p-605614f2.entry.js} +1 -1
- package/dist/webcomponents/{p-d76002d5.entry.js → p-61514f78.entry.js} +1 -1
- package/dist/webcomponents/p-6962044f.entry.js +1 -0
- package/dist/webcomponents/{p-570a0f02.entry.js → p-6a9e908b.entry.js} +1 -1
- package/dist/webcomponents/p-6ba660f2.entry.js +1 -0
- package/dist/webcomponents/{p-8281f09a.js → p-6d4b585d.js} +1 -1
- package/dist/webcomponents/p-6e258b5f.entry.js +1 -0
- package/dist/webcomponents/p-74da98da.js +1 -0
- package/dist/webcomponents/{p-ad47f37c.entry.js → p-770f60f9.entry.js} +1 -1
- package/dist/webcomponents/p-799ee8c3.js +1 -0
- package/dist/webcomponents/p-7cb3854c.entry.js +1 -0
- package/dist/webcomponents/p-7fec2bcb.js +1 -0
- package/dist/webcomponents/{p-b14da2fd.entry.js → p-80730b71.entry.js} +1 -1
- package/dist/webcomponents/{p-938bf2b4.entry.js → p-8f04747b.entry.js} +1 -1
- package/dist/webcomponents/{p-c64ce69d.entry.js → p-8f447993.entry.js} +1 -1
- package/dist/webcomponents/p-9a37eee5.entry.js +1 -0
- package/dist/webcomponents/{p-428e9b64.entry.js → p-a1d037cb.entry.js} +1 -1
- package/dist/webcomponents/{p-056e75be.entry.js → p-a3265844.entry.js} +1 -1
- package/dist/webcomponents/{p-f6a2dc78.entry.js → p-a680c982.entry.js} +1 -1
- package/dist/webcomponents/{p-e2c88817.entry.js → p-a765230f.entry.js} +1 -1
- package/dist/webcomponents/p-a76ece26.js +1 -0
- package/dist/webcomponents/p-b7b18954.entry.js +1 -0
- package/dist/webcomponents/{p-437f9114.js → p-bc9ae56f.js} +1 -1
- package/dist/webcomponents/p-c241cc62.entry.js +1 -0
- package/dist/webcomponents/{p-5e2c9ec8.js → p-ca8e126f.js} +1 -1
- package/dist/webcomponents/{p-e31f0f3e.entry.js → p-cd74be05.entry.js} +1 -1
- package/dist/webcomponents/{p-8d03a7bd.entry.js → p-d0ffb01c.entry.js} +1 -1
- package/dist/webcomponents/p-da316a74.entry.js +1 -0
- package/dist/webcomponents/{p-7bdffc78.entry.js → p-db3d1d7d.entry.js} +1 -1
- package/dist/webcomponents/{p-dbc1d7b3.entry.js → p-dee2a3f8.entry.js} +1 -1
- package/dist/webcomponents/{p-7ff329b1.js → p-e56ade55.js} +1 -1
- package/dist/webcomponents/p-e927fd5c.entry.js +1 -0
- package/dist/webcomponents/p-f3e00572.entry.js +1 -0
- package/dist/webcomponents/p-f71a5975.entry.js +1 -0
- package/dist/webcomponents/{p-3c7fac29.entry.js → p-ffe27126.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/form-control-error-text_4.cjs.entry.js +0 -118
- package/dist/cjs/styled-host-9e0b67b3.js +0 -14
- package/dist/esm/form-control-error-text_4.entry.js +0 -111
- package/dist/esm/styled-host-3171ae1f.js +0 -12
- package/dist/webcomponents/p-1612894d.js +0 -1
- package/dist/webcomponents/p-3a1f19f3.entry.js +0 -1
- package/dist/webcomponents/p-44055818.js +0 -1
- package/dist/webcomponents/p-4cc9df76.entry.js +0 -1
- package/dist/webcomponents/p-5540a47c.entry.js +0 -1
- package/dist/webcomponents/p-59cf5391.entry.js +0 -1
- package/dist/webcomponents/p-6ac806ff.entry.js +0 -1
- package/dist/webcomponents/p-7ddfce86.entry.js +0 -1
- package/dist/webcomponents/p-7fe67d7f.entry.js +0 -1
- package/dist/webcomponents/p-8921a478.entry.js +0 -1
- package/dist/webcomponents/p-8a7112a0.entry.js +0 -1
- package/dist/webcomponents/p-9b154d98.entry.js +0 -1
- package/dist/webcomponents/p-aedb421f.entry.js +0 -1
- package/dist/webcomponents/p-bbed6107.entry.js +0 -1
- package/dist/webcomponents/p-bdc91c61.entry.js +0 -1
- package/dist/webcomponents/p-d8355f91.entry.js +0 -1
- package/dist/webcomponents/p-d89bad72.js +0 -1
- package/dist/webcomponents/p-df21aaad.js +0 -1
- package/dist/webcomponents/p-e3f4a2a6.js +0 -1
- package/dist/webcomponents/p-eea79a55.entry.js +0 -1
- package/dist/webcomponents/p-f0866375.entry.js +0 -1
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const utils$1 = require('./utils-
|
|
6
|
+
const utils$1 = require('./utils-52fb7fa1.js');
|
|
7
7
|
const utils = require('./utils-c1d2e426.js');
|
|
8
|
-
const styledHost = require('./styled-host-
|
|
8
|
+
const styledHost = require('./styled-host-1adf46c3.js');
|
|
9
9
|
|
|
10
10
|
const PaymentDetailsCore = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -45,14 +45,14 @@ const PaymentDetailsCore = class {
|
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
47
|
var _a;
|
|
48
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
49
|
-
this.payment && (index.h("justifi-details", { key: '
|
|
50
|
-
index.h(utils.DetailSectionTitle, { key: '
|
|
51
|
-
index.h("div", { key: '
|
|
48
|
+
return (index.h(styledHost.StyledHost, { key: '0c00d8b9511be884b5455156295adc5a16e90d68' }, this.loading && utils.LoadingState(), !this.loading && this.errorMessage && utils.ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
49
|
+
this.payment && (index.h("justifi-details", { key: '84020bce088514c6922aa9f4c60fd36515b255f2', "error-message": this.errorMessage }, index.h(utils.EntityHeadInfo, { key: 'f86bc0807e905d95f92019a9f2e5431fa04f663d', slot: "head-info", badge: index.h("span", { slot: 'badge', innerHTML: utils$1.MapPaymentStatusToBadge(this.payment.status) }), title: `${utils$1.formatCurrency(this.payment.amount)} ${(_a = this.payment) === null || _a === void 0 ? void 0 : _a.currency.toUpperCase()}` }, index.h(utils.EntityHeadInfoItem, { key: '44d62082ccbb3b99e97a4a43c697c4c9de643983', classes: "border-1 border-end", title: "Updated At", value: `${utils$1.formatDate(this.payment.updated_at)} ${utils$1.formatTime(this.payment.updated_at)}` }), index.h(utils.EntityHeadInfoItem, { key: '20cbf3475cdc79e8160b7bee05cb1d7492bdbd22', classes: "border-1 border-end", title: "Created At", value: `${utils$1.formatDate(this.payment.created_at)} ${utils$1.formatTime(this.payment.created_at)}` }), index.h(utils.EntityHeadInfoItem, { key: 'bd008154f65e9133aa1d370f84925c5c0b15200b', title: "ID", value: this.payment.id })), index.h("div", { key: 'eba9206b8b934c5bf61d039640b6729bb7d1e61e', slot: 'detail-sections' }, index.h(utils.DetailSectionTitle, { key: '5f69927701e6295f339e071ce529e94870122c1c', sectionTitle: "Details" }), index.h("div", { key: 'd4dba46b241ba5ed150246f1d8dafcd64a9bb019', class: "d-table gap-2 w-100" }, index.h(utils.DetailItem, { key: '9fc3188f51f5ffb019f9253a62d962536a34d6cf', title: "Amount", value: utils$1.formatCurrency(this.payment.amount) }), index.h(utils.DetailItem, { key: '1c4e12cde8f7368f441d92cad4f3bcf1cc9e3d52', title: "Fees", value: utils$1.formatCurrency(this.payment.fee_amount) }), index.h(utils.DetailItem, { key: '9dc3a4d6c5911b48122e584cfaafee1d5ec757a8', title: "Refunded", value: utils$1.formatCurrency(this.payment.amount_refunded) }), index.h(utils.DetailItem, { key: 'a5fcb34e1af863504c4b54b024f2960e73bd9148', title: "Net", value: utils$1.formatCurrency(this.payment.balance) }), index.h(utils.DetailItem, { key: '2d7960988b5dfd90645c08399ceb658f33fb8e54', title: "Status", value: utils$1.MapPaymentStatusToBadge(this.payment.status) }), index.h(utils.DetailItem, { key: '92ae117d22f20074494a606af6eaca5b2cf51330', title: "Payment ID", value: this.payment.id }), index.h(utils.DetailItem, { key: '65dccd244aaca65369e2402c41c34614f95bcdd7', title: "Processing Fees", value: utils$1.formatCurrency(this.payment.fee_amount) }), index.h(utils.DetailItem, { key: 'b0b2516b604b1b60358b50a02094948200e472a1', title: "Statement Descriptor", value: this.payment.statement_descriptor }), index.h(utils.DetailItem, { key: 'd26d5d18b727831fa7d7f1cdc3dbcb5187170e9c', title: "Description", value: this.payment.description })), this.payment.payment_method.card && [
|
|
50
|
+
index.h(utils.DetailSectionTitle, { key: '415d1b2d0861d3eaaed37914fee27677d36d7f04', sectionTitle: "Payment Method" }),
|
|
51
|
+
index.h("div", { key: '56f0388177528afc4ab8acee6b1b884b93c6eaa1', class: "d-table gap-2 w-100" }, index.h(utils.DetailItem, { key: '04aac1ae9748061527f58144593a1ebd35f4c697', title: "ID", value: this.payment.payment_method.card.id }), index.h(utils.DetailItem, { key: '7a3e672ba11d55e9cafbda06ba141e7d9d489280', title: "Payment Type", value: "Card" }), index.h(utils.DetailItem, { key: '03a1001268a22552cdf65e60a08fd45db21f471b', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), index.h(utils.DetailItem, { key: 'df62f6d86a93d7c32eabade0ce0be19439bee824', title: "Brand", value: utils$1.snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), index.h(utils.DetailItem, { key: 'f80a25dfa9351a409483901d7e8b4fb298562c04', title: "Cardholder", value: this.payment.payment_method.payersName }))
|
|
52
52
|
], this.payment.payment_method.bank_account && [
|
|
53
|
-
index.h(utils.DetailSectionTitle, { key: '
|
|
54
|
-
index.h("div", { key: '
|
|
55
|
-
], index.h(utils.DetailSectionTitle, { key: '
|
|
53
|
+
index.h(utils.DetailSectionTitle, { key: '87d0832646aa0b72c1bf999f0faf35165f12b61d', sectionTitle: "Payment Method" }),
|
|
54
|
+
index.h("div", { key: 'f92a4413b6f156bc4205a51c69d082623ab4fdc0', class: "d-table gap-2 w-100" }, index.h(utils.DetailItem, { key: '437ca707e081f3f6a8c199044f8b5c3a8d5c64ce', title: "ID", value: this.payment.payment_method.bank_account.id }), index.h(utils.DetailItem, { key: 'fb951661cc27c09858dbaa2819824fb67c026a3e', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), index.h(utils.DetailItem, { key: '34ef47bb23fc7c490afa84fdad3923ec371f954a', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), index.h(utils.DetailItem, { key: '0af5278b4449beb21e0c4e6af04f803e5b82dff7', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
55
|
+
], index.h(utils.DetailSectionTitle, { key: '9412b62344613441a40a9cd328e30eef2a024f6c', sectionTitle: 'Metadata' }), index.h("div", { key: '8553e41975e932bcb132284d3dcae576a21fedb7', class: "d-table gap-2 w-100" }, index.h(utils.CodeBlock, { key: '328e6815791d601ffe68af891ed46e0aff8d28c0', metadata: this.payment.metadata })))))));
|
|
56
56
|
}
|
|
57
57
|
static get watchers() { return {
|
|
58
58
|
"getPaymentDetails": ["updateOnPropChange"]
|
|
@@ -2,13 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
const Api = require('./Api-b98b256f.js');
|
|
4
4
|
require('./Pagination-0da8f095.js');
|
|
5
|
-
require('./Payment-
|
|
5
|
+
require('./Payment-04a842f4.js');
|
|
6
6
|
require('./Payout-a2dd7b01.js');
|
|
7
7
|
const config = require('./config-05767cba.js');
|
|
8
8
|
|
|
9
9
|
class PaymentService {
|
|
10
|
-
async fetchPayments(accountId, authToken, params) {
|
|
11
|
-
|
|
10
|
+
async fetchPayments(accountId, authToken, params, apiOrigin) {
|
|
11
|
+
if (!apiOrigin) {
|
|
12
|
+
apiOrigin = config.config.proxyApiOrigin;
|
|
13
|
+
}
|
|
14
|
+
const api = Api.Api({ authToken, apiOrigin: apiOrigin });
|
|
12
15
|
const endpoint = `account/${accountId}/payments`;
|
|
13
16
|
return api.get(endpoint, params);
|
|
14
17
|
}
|
|
@@ -4,11 +4,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const Pagination = require('./Pagination-0da8f095.js');
|
|
7
|
-
require('./Payment-
|
|
7
|
+
require('./Payment-04a842f4.js');
|
|
8
8
|
require('./Payout-a2dd7b01.js');
|
|
9
|
-
const utils$1 = require('./utils-
|
|
9
|
+
const utils$1 = require('./utils-52fb7fa1.js');
|
|
10
10
|
const exportedParts = require('./exported-parts-b18c68c2.js');
|
|
11
|
-
const styledHost = require('./styled-host-
|
|
11
|
+
const styledHost = require('./styled-host-1adf46c3.js');
|
|
12
12
|
const tableLoadingState = require('./table-loading-state-8b406852.js');
|
|
13
13
|
const utils = require('./utils-f8a6962c.js');
|
|
14
14
|
|
|
@@ -80,13 +80,13 @@ const PaymentsListCore = class {
|
|
|
80
80
|
}
|
|
81
81
|
get columnData() {
|
|
82
82
|
return [
|
|
83
|
-
['
|
|
83
|
+
['Date', 'The date and time each payment was made'],
|
|
84
84
|
['Amount', 'The dollar amount of each payment'],
|
|
85
|
+
['Status', 'The current status of each payment'],
|
|
86
|
+
['Type', 'The type of each payment'],
|
|
85
87
|
['Description', 'The payment description, if you provided one'],
|
|
86
|
-
['
|
|
88
|
+
['Account Holder', 'The name associated with the payment method'],
|
|
87
89
|
['Payment Method', 'The brand and last 4 digits of the payment method'],
|
|
88
|
-
['Status', 'The current status of each payment'],
|
|
89
|
-
['Payment ID', 'The unique identifier of each payment'],
|
|
90
90
|
];
|
|
91
91
|
}
|
|
92
92
|
get rowData() {
|
|
@@ -98,15 +98,15 @@ const PaymentsListCore = class {
|
|
|
98
98
|
<div class="fw-bold">${utils$1.formatTime(payment.created_at)}</div>
|
|
99
99
|
`,
|
|
100
100
|
},
|
|
101
|
-
utils$1.formatCurrency(payment.amount),
|
|
102
|
-
payment.description,
|
|
103
|
-
payment.payment_method.payersName,
|
|
104
|
-
payment.payment_method.lastFourDigits,
|
|
101
|
+
utils$1.formatCurrency(payment.amount, true, true),
|
|
105
102
|
{
|
|
106
103
|
type: 'inner',
|
|
107
104
|
value: utils$1.MapPaymentStatusToBadge(payment.status),
|
|
108
105
|
},
|
|
109
|
-
payment.
|
|
106
|
+
payment.paymentType,
|
|
107
|
+
payment.description,
|
|
108
|
+
payment.payment_method.payersName,
|
|
109
|
+
payment.payment_method.lastFourDigits,
|
|
110
110
|
]);
|
|
111
111
|
}
|
|
112
112
|
get showEmptyState() {
|
|
@@ -120,7 +120,7 @@ const PaymentsListCore = class {
|
|
|
120
120
|
}
|
|
121
121
|
render() {
|
|
122
122
|
var _a, _b;
|
|
123
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
123
|
+
return (index.h(styledHost.StyledHost, { key: 'c9b7ac6aadf6ff3e3c913ca3c35fb656665e79ec', exportparts: exportedParts.tableExportedParts }, index.h("payments-list-filters", { key: '36e602e9e8f607834f33a774fd171904592d28bb', params: this.params, setParamsOnChange: this.setParamsOnChange, clearParams: this.clearParams }), index.h("div", { key: '8ec5781a7884f9e785bc02dcc1037148a7553d1f', class: "table-wrapper" }, index.h("table", { key: 'b6f23a3e7f3d33839f72f76eaf388dc4b665fa5d', class: "table table-hover" }, index.h("thead", { key: 'eddf66479fe049392aa839786785f6e422e34292', class: "table-head sticky-top", part: "table-head" }, index.h("tr", { key: '5753f6b0f1ff3c860019398dd2e37be00720eee0', class: "table-light text-nowrap", part: "table-head-row" }, (_a = this.columnData) === null || _a === void 0 ? void 0 : _a.map((column) => (index.h("th", { part: "table-head-cell", scope: "col", title: Array.isArray(column) ? column[1] : "" }, !Array.isArray(column) ? column : column[0]))))), index.h("tbody", { key: '509aadeae776e891e06b8a558ddbdffd61109bef', class: "table-body", part: "table-body" }, index.h(tableLoadingState.TableLoadingState, { key: '7cdbec5333849e8430ff437a58282e83674f3a9f', columnSpan: this.columnData.length, isLoading: this.loading }), index.h(tableLoadingState.TableEmptyState, { key: 'e57c861b6c2628a9d7f5f0349ec16ddf25319352', isEmpty: this.showEmptyState, columnSpan: this.columnData.length }), index.h(tableLoadingState.TableErrorState, { key: 'e904618285b0ed49cd49976f3feb7184aff5649a', columnSpan: this.columnData.length, errorMessage: this.errorMessage }), this.showRowData &&
|
|
124
124
|
this.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler, part: `table-row ${index$1 % 2 ? "table-row-even" : "table-row-odd"}` }, data.map((dataEntry) => {
|
|
125
125
|
let nestedHtml = dataEntry === null || dataEntry === void 0 ? void 0 : dataEntry.type;
|
|
126
126
|
if (nestedHtml) {
|
|
@@ -129,7 +129,7 @@ const PaymentsListCore = class {
|
|
|
129
129
|
else {
|
|
130
130
|
return index.h("td", { part: "table-cell" }, dataEntry);
|
|
131
131
|
}
|
|
132
|
-
}))))), this.paging && (index.h("tfoot", { key: '
|
|
132
|
+
}))))), this.paging && (index.h("tfoot", { key: '5be3c247a0f19ccb4463ece1d7e2f973cd00162a', class: "sticky-bottom" }, index.h("tr", { key: '41714e1fca135c22a849983e71c1a93d7a6330e9', class: "table-light align-middle" }, index.h("td", { key: '8af7acb966f43f353c7590ab02525c9f3e01b379', part: "pagination-bar", colSpan: (_b = this.columnData) === null || _b === void 0 ? void 0 : _b.length }, index.h("pagination-menu", { key: 'e6ec8d634dfd8dca68e8a9e1fc41782046f2115a', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }), params: this.params })))))))));
|
|
133
133
|
}
|
|
134
134
|
static get watchers() { return {
|
|
135
135
|
"params": ["updateOnPropChange"],
|
|
@@ -17232,7 +17232,7 @@ const PaymentsListFilters = class {
|
|
|
17232
17232
|
];
|
|
17233
17233
|
}
|
|
17234
17234
|
render() {
|
|
17235
|
-
return (index.h("table-filters-menu", { key: '
|
|
17235
|
+
return (index.h("table-filters-menu", { key: '96bffa87c69967fd1a5af7d171eb3836d82f994b', params: this.params, clearParams: this.clearParams }, index.h("div", { key: 'cf77c3d54377829e813b1ab53f4cbcbd38fe721b', class: "grid-cols-2 gap-3 p-1" }, index.h("div", { key: '8d0ce058ca9419e35202838d689c67266adc58e8', class: "p-2" }, index.h("form-control-text", { key: '7485f3e7366531240819370a62341b1e1cd1a647', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.params.payment_id })), index.h("div", { key: '95a92490bb414ab5ee4ec5c9dc1ae49bf10f4adc', class: "p-2" }, index.h("form-control-text", { key: '6fec7cbb05410cafacb374221582301d819aac10', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.params.terminal_id })), index.h("div", { key: '2d3bebafb9dc28c0e8a23a954af6019497d0b404', class: "p-2" }, index.h("form-control-select", { key: '48705b2cf089301674bf8147445ca00ebb9f1240', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.params.payment_status })), index.h("div", { key: 'bfc71e6a99f805d00a777b3374a20ede9abd90ea', class: "p-2" }, index.h("form-control-date", { key: '69183a8905039fd6e021ac9da1dcbb2897009101', name: "created_after", label: "Start Date", inputHandler: this.setParamsOnChange, defaultValue: this.params.created_after, showTime: true, filterTimeZone: true })), index.h("div", { key: '9eabcbc9ec8156f3ad490c91e0d9fae9a51dc3cd', class: "p-2" }, index.h("form-control-date", { key: '838d06eebe74acdff6e6025da2d46a6fcca98d72', name: "created_before", label: "End Date", inputHandler: this.setParamsOnChange, defaultValue: this.params.created_before, showTime: true, filterTimeZone: true })))));
|
|
17236
17236
|
}
|
|
17237
17237
|
};
|
|
17238
17238
|
|
|
@@ -17255,7 +17255,7 @@ const TableFiltersMenu = class {
|
|
|
17255
17255
|
this.menu.classList.remove('show');
|
|
17256
17256
|
}
|
|
17257
17257
|
render() {
|
|
17258
|
-
return (index.h("div", { key: '
|
|
17258
|
+
return (index.h("div", { key: 'aa914e16d2a733c8b7b6fee24225120d6901f0b5', class: "d-flex gap-2" }, index.h("div", { key: 'b53ff88da49d4060edfb1b96bf4577babf8e66f8', class: "dropdown pb-3" }, index.h(button.Button, { key: '176da3d69ae445dbc46e9c6602258ccb9bdeb515', variant: "primary", type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), index.h("custom-popper", { key: '562c6961a08e7b66518d9c2a283ddcb8a5787fa3', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, index.h("form", { key: '28d51e3aaa14f8208c9680b65058d3fd9f85f4d7', class: "dropdown-menu", part: "dropdown-menu", "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, index.h("slot", { key: 'f00fb0dafac62c1a4283f1c2eb80c34dadaecd15' })))), index.h("div", { key: 'b8b9b9c7af5bfd7a20a34be4f28cda59a048f97a' }, index.h(button.Button, { key: '46746c3524824bf88120baf7e19c1687c3b8fa71', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
|
|
17259
17259
|
}
|
|
17260
17260
|
static get watchers() { return {
|
|
17261
17261
|
"params": ["watchParamsHandler"]
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const utils$1 = require('./utils-
|
|
6
|
+
const utils$1 = require('./utils-52fb7fa1.js');
|
|
7
7
|
const utils = require('./utils-c1d2e426.js');
|
|
8
|
-
const styledHost = require('./styled-host-
|
|
8
|
+
const styledHost = require('./styled-host-1adf46c3.js');
|
|
9
9
|
|
|
10
10
|
const PayoutDetailsCore = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -59,7 +59,7 @@ const PayoutDetailsCore = class {
|
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
61
|
var _a;
|
|
62
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
62
|
+
return (index.h(styledHost.StyledHost, { key: 'b538a72063f57deea45d1ce74c173156a499e08f' }, this.loading && utils.LoadingState(), !this.loading && this.errorMessage && utils.ErrorState(this.errorMessage), !this.loading && this.payout && (index.h("justifi-details", { key: '5ea45dac87ab9959a0d821c2d2cae5ee9cf0894b', "error-message": this.errorMessage }, index.h(utils.EntityHeadInfo, { key: '372a13f727ec9d0d375b37ae029a5ab2df3d72d3', slot: "head-info", badge: index.h("span", { slot: 'badge', innerHTML: utils$1.MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status) }), title: `${utils$1.formatCurrency(this.payout.amount)} ${this.payout.currency.toUpperCase()}` }, index.h(utils.EntityHeadInfoItem, { key: '9afd1e327235bb0d3a48697ea01b68a5516789c2', classes: "border-1 border-end", title: "Updated At", value: `${utils$1.formatDate(this.payout.updated_at)} ${utils$1.formatTime(this.payout.updated_at)}` }), index.h(utils.EntityHeadInfoItem, { key: 'f00add046d617c12540be0cfc4540808719e0e65', classes: "border-1 border-end", title: "Created At", value: `${utils$1.formatDate(this.payout.created_at)} ${utils$1.formatTime(this.payout.created_at)}` }), index.h(utils.EntityHeadInfoItem, { key: '239849324e65aa9eea6070c4fca8d2a85c490bb1', title: "ID", value: this.payout.id }), index.h("div", { key: '0f2ea65e410f9e89499e60b14b91005d3e98838d', class: "m-4" }, index.h("button", { key: '09b9efcd24c0aa3364be75f2ec07055a381f100a', class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), index.h("div", { key: 'a8ff31263826356fb0c0ea7dbc3433e04e45d413', slot: 'detail-sections' }, index.h(utils.DetailSectionTitle, { key: '47923246812e7ef3828fc33914c3f01cb6a38b31', sectionTitle: "Details" }), index.h("div", { key: '37bf9c3a58e2a2678bb96b6aaca739e032ea61b9', class: "d-table gap-2 w-100" }, index.h(utils.DetailItem, { key: '772024dd509058d54e6da5d3a6450a163774fd36', title: "Date paid", value: utils$1.formatDate(this.payout.deposits_at) }), index.h(utils.DetailItem, { key: '2925020997b1da4e263ae44ef55605765407c386', title: "Statement Description", value: this.payout.description }), index.h(utils.DetailItem, { key: 'e34388b87e09d4c94ca4463f3a5ede078f41d938', title: "Payout Method", value: this.payout.delivery_method }), index.h(utils.DetailItem, { key: '931e4fc84ad6932b40824cdbb8bf8909bacee2c7', title: "Amount", value: utils$1.formatCurrency(this.payout.amount) }), index.h(utils.DetailItem, { key: '38c1be3b0872d990dfafcdd796ed2a9be6a8bfa1', title: "Fee", value: utils$1.formatCurrency(this.payout.fees_total) })), index.h(utils.DetailSectionTitle, { key: '0057ad126e391f2f55307a3c6035c8feb1ca959b', sectionTitle: "Account" }), index.h("div", { key: '2d19e06db0a626313481f91a4602239634c846c7', class: "d-table gap-2 w-100" }, index.h(utils.DetailItem, { key: '147e30b77458b02cc0d996ba91e253dfa11e58a0', title: "ID", value: this.payout.account_id }), index.h(utils.DetailItem, { key: '32f4ffcd4c44e3adc97e94da99aaafa0412fe258', title: "Account Type", value: this.payout.bank_account.account_type }), index.h(utils.DetailItem, { key: '293bbea794dd126fbaada4b263f2b85ed0d9fbb4', title: "Institution", value: this.payout.bank_account.account_type }), index.h(utils.DetailItem, { key: '0dbb60bb773745657961d1a20a3621ba319436c0', title: "Routing Number", value: this.payout.bank_account.routing_number }), index.h(utils.DetailItem, { key: '5dbf5b3225b33cf7d6f838e0621eac4ace8351c9', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), index.h(utils.DetailSectionTitle, { key: 'e89cdd81cb5ef15d964c0a00a0bbb2f57fadc5d2', sectionTitle: 'Metadata' }), index.h("div", { key: '6c3da5b9aeaef544d28504708af32219164c37ca', class: "d-table gap-2 w-100" }, index.h(utils.CodeBlock, { key: '0ad346c1bfb3639852b64fc3ab4906efad584f54', metadata: this.payout.metadata })))))));
|
|
63
63
|
}
|
|
64
64
|
static get watchers() { return {
|
|
65
65
|
"getPayout": ["getPayoutWatcher"]
|
|
@@ -4,12 +4,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const Pagination = require('./Pagination-0da8f095.js');
|
|
7
|
-
require('./Payment-
|
|
7
|
+
require('./Payment-04a842f4.js');
|
|
8
8
|
const Payout = require('./Payout-a2dd7b01.js');
|
|
9
|
-
const utils = require('./utils-
|
|
9
|
+
const utils = require('./utils-52fb7fa1.js');
|
|
10
10
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
11
11
|
const exportedParts = require('./exported-parts-b18c68c2.js');
|
|
12
|
-
const styledHost = require('./styled-host-
|
|
12
|
+
const styledHost = require('./styled-host-1adf46c3.js');
|
|
13
13
|
const tableLoadingState = require('./table-loading-state-8b406852.js');
|
|
14
14
|
|
|
15
15
|
const DownloadIcon = (props) => (index.h("svg", Object.assign({ xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' }, props),
|
|
@@ -154,8 +154,8 @@ const PayoutsListCore = class {
|
|
|
154
154
|
return !this.showEmptyState && !this.showErrorState;
|
|
155
155
|
}
|
|
156
156
|
render() {
|
|
157
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
158
|
-
this.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler, part: `table-row ${index$1 % 2 ? 'table-row-even' : 'table-row-odd'}` }, data.map((dataEntry) => ((dataEntry === null || dataEntry === void 0 ? void 0 : dataEntry.type) ? (index.h("td", { part: "table-cell", innerHTML: dataEntry.value })) : (index.h("td", { part: "table-cell" }, dataEntry)))))))), this.paging && (index.h("tfoot", { key: '
|
|
157
|
+
return (index.h(styledHost.StyledHost, { key: '832eff9b77800d6631c73559b61af3b8c5c1eb5b', exportedparts: exportedParts.tableExportedParts }, index.h("div", { key: 'b2a127643e0a48888c643f77d9235082502a2549', class: "row gy-3 mb-4" }, index.h("div", { key: '6b2ef796b48da76e816ed5090126bf6c891687ce', class: "col-2" }, index.h("form-control-date", { key: '52c7507bd47a665d8986cdde06a1e26f30a5f9e0', name: "created_after", label: "Date from:", inputHandler: this.handleDateChange })), index.h("div", { key: 'acb3307eec6b6d36b229d59683782bfbb2e65239', class: "col-2" }, index.h("form-control-date", { key: '294f40153e9eb61b53152763ff54e942620962a0', name: "created_before", label: "Date to:", inputHandler: this.handleDateChange }))), index.h("div", { key: '0d55a8fe0017a7fc3a3a675b11aeff9f0eb71cef', class: "table-wrapper" }, index.h("table", { key: 'c7fe79007a7ddb600117df904e376465abec406e', class: "table table-hover" }, index.h("thead", { key: '451a5f744c76a6b6beb2ad0cafd3677fd0f0b190', class: "table-head sticky-top", part: "table-head" }, index.h("tr", { key: 'c7b58d5e0a96536df39673f8ac928c0809fe7f64', class: "table-light text-nowrap", part: "table-head-row" }, this.columnData.map((column) => (index.h("th", { part: "table-head-cell", scope: "col", title: Array.isArray(column) ? column[1] : '' }, Array.isArray(column) ? column[0] : column))))), index.h("tbody", { key: '638cac393da61b6c73a7b287f5c9b13d0817390e', class: "table-body", part: "table-body" }, index.h(tableLoadingState.TableLoadingState, { key: 'dd768838da9b29c4f1e251eb27ba2c5b467a4a7d', columnSpan: this.columnData.length, isLoading: this.loading }), index.h(tableLoadingState.TableEmptyState, { key: '412fe6a904e37f095c5c7a0aeb2356b893cfef7b', isEmpty: this.showEmptyState, columnSpan: this.columnData.length }), index.h(tableLoadingState.TableErrorState, { key: '144bf2bf71789a1a29b638291ec5ca16ab31b2fc', columnSpan: this.columnData.length, errorMessage: this.errorMessage }), this.showRowData &&
|
|
158
|
+
this.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler, part: `table-row ${index$1 % 2 ? 'table-row-even' : 'table-row-odd'}` }, data.map((dataEntry) => ((dataEntry === null || dataEntry === void 0 ? void 0 : dataEntry.type) ? (index.h("td", { part: "table-cell", innerHTML: dataEntry.value })) : (index.h("td", { part: "table-cell" }, dataEntry)))))))), this.paging && (index.h("tfoot", { key: '0df80be6f5c3e2cd18fa27c0ec2e1cb560348908', class: "sticky-bottom" }, index.h("tr", { key: '0d25309ea10e119e07e6d5438b70dd5a83b22f2b', class: "table-light align-middle" }, index.h("td", { key: '25a111ea022692ea8502ddfdf92dd9811fde6024', part: "pagination-bar", colSpan: this.columnData.length }, index.h("pagination-menu", { key: '5cc20eba110ab7c974dc43c8d20e94f6cb17ec81', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }), params: this.params })))))))));
|
|
159
159
|
}
|
|
160
160
|
static get watchers() { return {
|
|
161
161
|
"params": ["updateOnPropChange"],
|