@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
|
@@ -37,7 +37,7 @@ const TextInput = /*@__PURE__*/ proxyCustomElement(class TextInput extends HTMLE
|
|
|
37
37
|
this.updateInput(this.defaultValue);
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: 'df50b59fa604d9411c904096342910fa7bda38c5', exportparts: "label,input,input-invalid" }, h("div", { key: '586ec64cf4e9fa5c557745225a24b500ccbe2479', class: "form-group d-flex flex-column" }, h("label", { key: 'eb2134c04fb7ed8e23606eaef6257767451fc4f1', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("textarea", { key: '786ba64947c1ecfc70bbca823490a227c9fcd544', id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: `input ${this.errorText ? 'input-invalid ' : ''}${this.disabled ? ' input-disabled' : ''}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), h("form-control-help-text", { key: 'a3d0c605439eb3f6dab7c61dc49c14dad0207623', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '0f0abe694c8b7a66378b447728a466407b51b082', errorText: this.errorText, name: this.name }))));
|
|
41
41
|
}
|
|
42
42
|
get el() { return this; }
|
|
43
43
|
static get watchers() { return {
|
|
@@ -5,21 +5,30 @@ import './Payment.js';
|
|
|
5
5
|
import './SubAccount.js';
|
|
6
6
|
import { c as config } from './config.js';
|
|
7
7
|
import { a as ComponentErrorSeverity } from './ComponentError.js';
|
|
8
|
-
import { g as getErrorMessage, a as getErrorCode } from './
|
|
8
|
+
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
9
9
|
|
|
10
10
|
class PayoutService {
|
|
11
|
-
async fetchPayouts(accountId, authToken, params) {
|
|
12
|
-
|
|
11
|
+
async fetchPayouts(accountId, authToken, params, apiOrigin) {
|
|
12
|
+
if (!apiOrigin) {
|
|
13
|
+
apiOrigin = config.proxyApiOrigin;
|
|
14
|
+
}
|
|
15
|
+
const api = Api({ authToken, apiOrigin });
|
|
13
16
|
const endpoint = `account/${accountId}/payouts`;
|
|
14
17
|
return api.get(endpoint, params);
|
|
15
18
|
}
|
|
16
|
-
async fetchPayout(payoutId, authToken) {
|
|
17
|
-
|
|
19
|
+
async fetchPayout(payoutId, authToken, apiOrigin) {
|
|
20
|
+
if (!apiOrigin) {
|
|
21
|
+
apiOrigin = config.proxyApiOrigin;
|
|
22
|
+
}
|
|
23
|
+
const api = Api({ authToken, apiOrigin });
|
|
18
24
|
const endpoint = `payouts/${payoutId}`;
|
|
19
25
|
return api.get(endpoint);
|
|
20
26
|
}
|
|
21
|
-
async fetchCSV(payoutId, authToken) {
|
|
22
|
-
|
|
27
|
+
async fetchCSV(payoutId, authToken, apiOrigin) {
|
|
28
|
+
if (!apiOrigin) {
|
|
29
|
+
apiOrigin = config.proxyApiOrigin;
|
|
30
|
+
}
|
|
31
|
+
const api = Api({ authToken, apiOrigin });
|
|
23
32
|
const endpoint = `reports/payouts/${payoutId}`;
|
|
24
33
|
return api.get(endpoint);
|
|
25
34
|
}
|
|
@@ -5,7 +5,7 @@ import './Payment.js';
|
|
|
5
5
|
import { S as SubAccount } from './SubAccount.js';
|
|
6
6
|
import { c as config } from './config.js';
|
|
7
7
|
import { a as ComponentErrorSeverity } from './ComponentError.js';
|
|
8
|
-
import { g as getErrorMessage, a as getErrorCode } from './
|
|
8
|
+
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
9
9
|
|
|
10
10
|
class SubAccountService {
|
|
11
11
|
async fetchSubAccounts(accountId, authToken, params, apiOrigin) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { S as StateOptions } from './state-options.js';
|
|
3
|
-
import { n as numberOnlyHandler } from './
|
|
3
|
+
import { n as numberOnlyHandler } from './utils5.js';
|
|
4
4
|
import { d as defineCustomElement$5 } from './custom-popper2.js';
|
|
5
5
|
import { d as defineCustomElement$4 } from './form-control-error-text2.js';
|
|
6
6
|
import { d as defineCustomElement$3 } from './form-control-select2.js';
|
|
@@ -3,7 +3,7 @@ import { E as ErrorState } from './utils.js';
|
|
|
3
3
|
import { B as BusinessService } from './business.service.js';
|
|
4
4
|
import { a as Business } from './Business.js';
|
|
5
5
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
|
|
6
|
-
import { g as getErrorMessage, a as getErrorCode } from './
|
|
6
|
+
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
7
7
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
8
8
|
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
9
9
|
import { d as defineCustomElement$7 } from './additional-questions-details2.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
|
|
3
|
-
import { g as getErrorMessage, a as getErrorCode } from './
|
|
3
|
+
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
4
4
|
import { C as CheckoutService } from './checkout.service.js';
|
|
5
5
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
6
6
|
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
@@ -4,7 +4,7 @@ import './Pagination.js';
|
|
|
4
4
|
import './Payment.js';
|
|
5
5
|
import './SubAccount.js';
|
|
6
6
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
|
|
7
|
-
import { g as getErrorMessage, a as getErrorCode } from './
|
|
7
|
+
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
8
8
|
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
9
9
|
import { c as config } from './config.js';
|
|
10
10
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
@@ -112,7 +112,7 @@ const CheckoutsList = /*@__PURE__*/ proxyCustomElement(class CheckoutsList exten
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
render() {
|
|
115
|
-
return (h(StyledHost, { key: '
|
|
115
|
+
return (h(StyledHost, { key: '34696607c3d7588b1909a055cbc80a8b96689037', exportparts: tableExportedParts }, h("checkouts-list-core", { key: 'ee0682ff230d2ae4ec38dc7caef942a85acd4871', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
116
116
|
}
|
|
117
117
|
static get watchers() { return {
|
|
118
118
|
"accountId": ["propChanged"],
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
|
|
|
2
2
|
import { c as config } from './config.js';
|
|
3
3
|
import { A as Api } from './Api.js';
|
|
4
4
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
|
|
5
|
-
import { g as getErrorMessage, a as getErrorCode } from './
|
|
5
|
+
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
6
6
|
import { E as ErrorState } from './utils.js';
|
|
7
7
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
8
8
|
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
@@ -5,7 +5,7 @@ import './Pagination.js';
|
|
|
5
5
|
import { a as Payment } from './Payment.js';
|
|
6
6
|
import './SubAccount.js';
|
|
7
7
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
|
|
8
|
-
import { g as getErrorMessage, a as getErrorCode } from './
|
|
8
|
+
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
9
9
|
import { E as ErrorState } from './utils.js';
|
|
10
10
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
11
11
|
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
@@ -6,7 +6,7 @@ import './SubAccount.js';
|
|
|
6
6
|
import { l as loadFontsOnParent } from './utils2.js';
|
|
7
7
|
import { c as config } from './config.js';
|
|
8
8
|
import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError.js';
|
|
9
|
-
import { g as getErrorMessage } from './
|
|
9
|
+
import { g as getErrorMessage } from './utils4.js';
|
|
10
10
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
11
11
|
import { B as Button } from './button.js';
|
|
12
12
|
import { S as StyledHost } from './styled-host.js';
|
|
@@ -5,12 +5,13 @@ import './Pagination.js';
|
|
|
5
5
|
import { a as Payment } from './Payment.js';
|
|
6
6
|
import './SubAccount.js';
|
|
7
7
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
|
|
8
|
-
import { g as getErrorMessage, a as getErrorCode } from './
|
|
8
|
+
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
9
9
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
10
10
|
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
11
11
|
import { c as config } from './config.js';
|
|
12
12
|
import { S as StyledHost } from './styled-host.js';
|
|
13
13
|
import { t as tableExportedParts } from './exported-parts.js';
|
|
14
|
+
import { d as defineCustomElement$4, a as defaultColumnsKeys } from './payments-list-core2.js';
|
|
14
15
|
import { d as defineCustomElement$b } from './custom-popper2.js';
|
|
15
16
|
import { d as defineCustomElement$a } from './form-control-date2.js';
|
|
16
17
|
import { d as defineCustomElement$9 } from './form-control-error-text2.js';
|
|
@@ -18,7 +19,6 @@ import { d as defineCustomElement$8 } from './form-control-select2.js';
|
|
|
18
19
|
import { d as defineCustomElement$7 } from './form-control-text2.js';
|
|
19
20
|
import { d as defineCustomElement$6 } from './form-control-tooltip2.js';
|
|
20
21
|
import { d as defineCustomElement$5 } from './pagination-menu2.js';
|
|
21
|
-
import { d as defineCustomElement$4 } from './payments-list-core2.js';
|
|
22
22
|
import { d as defineCustomElement$3 } from './payments-list-filters2.js';
|
|
23
23
|
import { d as defineCustomElement$2 } from './table-filters-menu2.js';
|
|
24
24
|
|
|
@@ -66,6 +66,7 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
|
|
|
66
66
|
this.accountId = undefined;
|
|
67
67
|
this.authToken = undefined;
|
|
68
68
|
this.apiOrigin = config.proxyApiOrigin;
|
|
69
|
+
this.columns = defaultColumnsKeys;
|
|
69
70
|
}
|
|
70
71
|
componentWillLoad() {
|
|
71
72
|
checkPkgVersion();
|
|
@@ -97,7 +98,7 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
|
|
|
97
98
|
}
|
|
98
99
|
}
|
|
99
100
|
render() {
|
|
100
|
-
return (h(StyledHost, { key: '
|
|
101
|
+
return (h(StyledHost, { key: '78b8e22426135db19223ca0ddc62aaf6f42a1080', exportparts: tableExportedParts }, h("payments-list-core", { key: '23c5aeeb9a6766de2ddb42f62a2163fa8f14ac81', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
101
102
|
}
|
|
102
103
|
static get watchers() { return {
|
|
103
104
|
"accountId": ["propChanged"],
|
|
@@ -107,6 +108,7 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
|
|
|
107
108
|
"accountId": [1, "account-id"],
|
|
108
109
|
"authToken": [1, "auth-token"],
|
|
109
110
|
"apiOrigin": [1, "api-origin"],
|
|
111
|
+
"columns": [1],
|
|
110
112
|
"getPayments": [32],
|
|
111
113
|
"errorMessage": [32]
|
|
112
114
|
}, undefined, {
|
|
@@ -5,7 +5,7 @@ import './Pagination.js';
|
|
|
5
5
|
import './Payment.js';
|
|
6
6
|
import { P as Payout } from './SubAccount.js';
|
|
7
7
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
|
|
8
|
-
import { g as getErrorMessage, a as getErrorCode } from './
|
|
8
|
+
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
9
9
|
import { E as ErrorState } from './utils.js';
|
|
10
10
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
11
11
|
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
@@ -1,26 +1,30 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
|
|
3
|
+
import { J as JustifiAnalytics } from './Analytics.js';
|
|
4
|
+
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
5
|
+
import { c as config } from './config.js';
|
|
3
6
|
import { m as makeGetPayoutCSV, P as PayoutService } from './get-payout-csv.js';
|
|
4
7
|
import './Checkout.js';
|
|
5
8
|
import './Pagination.js';
|
|
6
9
|
import './Payment.js';
|
|
7
10
|
import { P as Payout } from './SubAccount.js';
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { J as JustifiAnalytics } from './Analytics.js';
|
|
11
|
-
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
11
|
+
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
12
|
+
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
|
|
12
13
|
import { S as StyledHost } from './styled-host.js';
|
|
13
|
-
import {
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
16
|
-
import { d as defineCustomElement$
|
|
17
|
-
import { d as defineCustomElement$
|
|
18
|
-
import { d as defineCustomElement$
|
|
14
|
+
import { t as tableExportedParts } from './exported-parts.js';
|
|
15
|
+
import { d as defineCustomElement$4, a as defaultColumnsKeys } from './payouts-list-core2.js';
|
|
16
|
+
import { d as defineCustomElement$9 } from './custom-popper2.js';
|
|
17
|
+
import { d as defineCustomElement$8 } from './form-control-date2.js';
|
|
18
|
+
import { d as defineCustomElement$7 } from './form-control-error-text2.js';
|
|
19
|
+
import { d as defineCustomElement$6 } from './form-control-tooltip2.js';
|
|
20
|
+
import { d as defineCustomElement$5 } from './pagination-menu2.js';
|
|
21
|
+
import { d as defineCustomElement$3 } from './payouts-list-filters2.js';
|
|
22
|
+
import { d as defineCustomElement$2 } from './table-filters-menu2.js';
|
|
19
23
|
|
|
20
|
-
const makeGetPayouts = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
|
|
24
|
+
const makeGetPayouts = ({ id, authToken, service, apiOrigin }) => async ({ params, onSuccess, onError }) => {
|
|
21
25
|
var _a, _b;
|
|
22
26
|
try {
|
|
23
|
-
const response = await service.fetchPayouts(id, authToken, params);
|
|
27
|
+
const response = await service.fetchPayouts(id, authToken, params, apiOrigin);
|
|
24
28
|
if (!response.error) {
|
|
25
29
|
const pagingInfo = Object.assign({}, response.page_info);
|
|
26
30
|
const payouts = ((_a = response.data) === null || _a === void 0 ? void 0 : _a.map((dataItem) => new Payout(dataItem))) || [];
|
|
@@ -37,10 +41,9 @@ const makeGetPayouts = ({ id, authToken, service }) => async ({ params, onSucces
|
|
|
37
41
|
}
|
|
38
42
|
}
|
|
39
43
|
catch (error) {
|
|
40
|
-
const message = getErrorMessage(error);
|
|
41
44
|
const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
42
45
|
return onError({
|
|
43
|
-
error: message,
|
|
46
|
+
error: error.message || error,
|
|
44
47
|
code,
|
|
45
48
|
severity: ComponentErrorSeverity.ERROR,
|
|
46
49
|
});
|
|
@@ -57,29 +60,37 @@ const PayoutsList = /*@__PURE__*/ proxyCustomElement(class PayoutsList extends H
|
|
|
57
60
|
this.errorMessage = event.detail.message;
|
|
58
61
|
this.errorEvent.emit(event.detail);
|
|
59
62
|
};
|
|
60
|
-
this.accountId = undefined;
|
|
61
|
-
this.authToken = undefined;
|
|
62
63
|
this.getPayouts = undefined;
|
|
63
64
|
this.getPayoutCSV = undefined;
|
|
65
|
+
this.getSubAccounts = undefined;
|
|
64
66
|
this.errorMessage = null;
|
|
67
|
+
this.accountId = undefined;
|
|
68
|
+
this.authToken = undefined;
|
|
69
|
+
this.apiOrigin = config.proxyApiOrigin;
|
|
70
|
+
this.columns = defaultColumnsKeys;
|
|
65
71
|
}
|
|
66
72
|
componentWillLoad() {
|
|
67
73
|
checkPkgVersion();
|
|
68
74
|
this.analytics = new JustifiAnalytics(this);
|
|
69
|
-
this.
|
|
75
|
+
this.initializeGetData();
|
|
70
76
|
}
|
|
71
77
|
disconnectedCallback() {
|
|
72
78
|
this.analytics.cleanup();
|
|
73
79
|
}
|
|
74
80
|
propChanged() {
|
|
75
|
-
this.
|
|
81
|
+
this.initializeGetData();
|
|
76
82
|
}
|
|
77
|
-
|
|
83
|
+
initializeGetData() {
|
|
84
|
+
this.initializePayoutsServices();
|
|
85
|
+
this.initializeGetSubAccounts();
|
|
86
|
+
}
|
|
87
|
+
initializePayoutsServices() {
|
|
78
88
|
if (this.accountId && this.authToken) {
|
|
79
89
|
const serviceParams = {
|
|
80
90
|
id: this.accountId,
|
|
81
91
|
authToken: this.authToken,
|
|
82
92
|
service: new PayoutService(),
|
|
93
|
+
apiOrigin: this.apiOrigin
|
|
83
94
|
};
|
|
84
95
|
this.getPayouts = makeGetPayouts(serviceParams);
|
|
85
96
|
this.getPayoutCSV = makeGetPayoutCSV(serviceParams);
|
|
@@ -88,12 +99,23 @@ const PayoutsList = /*@__PURE__*/ proxyCustomElement(class PayoutsList extends H
|
|
|
88
99
|
this.errorMessage = 'Account ID and Auth Token are required';
|
|
89
100
|
this.errorEvent.emit({
|
|
90
101
|
errorCode: ComponentErrorCodes.MISSING_PROPS,
|
|
91
|
-
message:
|
|
102
|
+
message: this.errorMessage,
|
|
103
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
initializeGetSubAccounts() {
|
|
108
|
+
if (this.accountId && this.authToken) {
|
|
109
|
+
this.getSubAccounts = makeGetSubAccounts({
|
|
110
|
+
accountId: this.accountId,
|
|
111
|
+
authToken: this.authToken,
|
|
112
|
+
service: new SubAccountService(),
|
|
113
|
+
apiOrigin: this.apiOrigin
|
|
92
114
|
});
|
|
93
115
|
}
|
|
94
116
|
}
|
|
95
117
|
render() {
|
|
96
|
-
return (h(StyledHost, { key: '
|
|
118
|
+
return (h(StyledHost, { key: '5f482e2ab5d1a022c9f54f13a8ab31860ff4b6ec', exportedparts: tableExportedParts }, h("payouts-list-core", { key: 'fe5decfcda48b54bbcded8c605d0f3a2576c35cb', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
|
|
97
119
|
}
|
|
98
120
|
static get watchers() { return {
|
|
99
121
|
"accountId": ["propChanged"],
|
|
@@ -102,8 +124,11 @@ const PayoutsList = /*@__PURE__*/ proxyCustomElement(class PayoutsList extends H
|
|
|
102
124
|
}, [1, "justifi-payouts-list", {
|
|
103
125
|
"accountId": [1, "account-id"],
|
|
104
126
|
"authToken": [1, "auth-token"],
|
|
127
|
+
"apiOrigin": [1, "api-origin"],
|
|
128
|
+
"columns": [1],
|
|
105
129
|
"getPayouts": [32],
|
|
106
130
|
"getPayoutCSV": [32],
|
|
131
|
+
"getSubAccounts": [32],
|
|
107
132
|
"errorMessage": [32]
|
|
108
133
|
}, undefined, {
|
|
109
134
|
"accountId": ["propChanged"],
|
|
@@ -113,7 +138,7 @@ function defineCustomElement$1() {
|
|
|
113
138
|
if (typeof customElements === "undefined") {
|
|
114
139
|
return;
|
|
115
140
|
}
|
|
116
|
-
const components = ["justifi-payouts-list", "custom-popper", "form-control-date", "form-control-error-text", "form-control-tooltip", "pagination-menu", "payouts-list-core"];
|
|
141
|
+
const components = ["justifi-payouts-list", "custom-popper", "form-control-date", "form-control-error-text", "form-control-tooltip", "pagination-menu", "payouts-list-core", "payouts-list-filters", "table-filters-menu"];
|
|
117
142
|
components.forEach(tagName => { switch (tagName) {
|
|
118
143
|
case "justifi-payouts-list":
|
|
119
144
|
if (!customElements.get(tagName)) {
|
|
@@ -122,30 +147,40 @@ function defineCustomElement$1() {
|
|
|
122
147
|
break;
|
|
123
148
|
case "custom-popper":
|
|
124
149
|
if (!customElements.get(tagName)) {
|
|
125
|
-
defineCustomElement$
|
|
150
|
+
defineCustomElement$9();
|
|
126
151
|
}
|
|
127
152
|
break;
|
|
128
153
|
case "form-control-date":
|
|
129
154
|
if (!customElements.get(tagName)) {
|
|
130
|
-
defineCustomElement$
|
|
155
|
+
defineCustomElement$8();
|
|
131
156
|
}
|
|
132
157
|
break;
|
|
133
158
|
case "form-control-error-text":
|
|
134
159
|
if (!customElements.get(tagName)) {
|
|
135
|
-
defineCustomElement$
|
|
160
|
+
defineCustomElement$7();
|
|
136
161
|
}
|
|
137
162
|
break;
|
|
138
163
|
case "form-control-tooltip":
|
|
139
164
|
if (!customElements.get(tagName)) {
|
|
140
|
-
defineCustomElement$
|
|
165
|
+
defineCustomElement$6();
|
|
141
166
|
}
|
|
142
167
|
break;
|
|
143
168
|
case "pagination-menu":
|
|
144
169
|
if (!customElements.get(tagName)) {
|
|
145
|
-
defineCustomElement$
|
|
170
|
+
defineCustomElement$5();
|
|
146
171
|
}
|
|
147
172
|
break;
|
|
148
173
|
case "payouts-list-core":
|
|
174
|
+
if (!customElements.get(tagName)) {
|
|
175
|
+
defineCustomElement$4();
|
|
176
|
+
}
|
|
177
|
+
break;
|
|
178
|
+
case "payouts-list-filters":
|
|
179
|
+
if (!customElements.get(tagName)) {
|
|
180
|
+
defineCustomElement$3();
|
|
181
|
+
}
|
|
182
|
+
break;
|
|
183
|
+
case "table-filters-menu":
|
|
149
184
|
if (!customElements.get(tagName)) {
|
|
150
185
|
defineCustomElement$2();
|
|
151
186
|
}
|
|
@@ -103,7 +103,7 @@ const RefundForm = /*@__PURE__*/ proxyCustomElement(class RefundForm extends HTM
|
|
|
103
103
|
}
|
|
104
104
|
render() {
|
|
105
105
|
var _a;
|
|
106
|
-
return (h(StyledHost, { key: '
|
|
106
|
+
return (h(StyledHost, { key: '63863f5db62aa514fdf76c673d33634d0ce091b5' }, h("h1", { key: '3cd25385bb1d14a041abde024db70f052b913479' }, "Refund"), this.refundInfoText && (h("div", { key: 'df4fdf161bdc6330db3d04fab06b023b19dd4be6', class: "d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3", role: "alert" }, h("img", { key: '053bc242826eeb92456ad1869e11a0083c8a65f6', src: "/info-icon.svg", alt: "Information", height: "30", width: "30" }), h("p", { key: 'cec5c737d36aba8328e07871717aaa6107f3ff8d', class: "m-0", innerHTML: this.refundInfoText }))), h("form", { key: 'f43a1ec8344b9a6222470bb59924743583d61699', onSubmit: e => this.handleSubmit(e), class: "d-grid gap-4" }, h("div", { key: 'bdb96e4a7b9aacd6d85d5736bcc3bfa9c7b949dc', class: "form-group" }, h("form-control-monetary", { key: '59c922da8305ea8069de82f94f287a9d4a885f08', name: "amount", label: "Refund Amount", defaultValue: ((_a = this.amount) === null || _a === void 0 ? void 0 : _a.toString()) || '', maskOptions: CURRENCY_MASK.DECIMAL, inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.amount })), h("div", { key: '536874e5887e8085409bc6e2220de0029f986613', class: "form-group" }, h("form-control-text", { key: '25ad446fa05c176169b45b72b26fedfb759376b0', name: "notes", label: "Additional Notes", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.notes })), this.withButton && (h("div", { key: '51a1334769beb7911e2bee6416f1e325e9b6e456', class: "form-group d-flex flex-row-reverse" }, h("button", { key: '1fe584c4c1fcb7e4f36063774303ac17132debbf', type: "submit", disabled: !!this.isSubmitting, class: "btn btn-primary ml-auto" }, this.submitButtonText))))));
|
|
107
107
|
}
|
|
108
108
|
static get style() { return JustifiRefundFormStyle0; }
|
|
109
109
|
}, [1, "justifi-refund-form", {
|
|
@@ -5,7 +5,7 @@ import './Pagination.js';
|
|
|
5
5
|
import './Payment.js';
|
|
6
6
|
import './SubAccount.js';
|
|
7
7
|
import { c as config } from './config.js';
|
|
8
|
-
import { g as getErrorMessage, a as getErrorCode } from './
|
|
8
|
+
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
9
9
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
|
|
10
10
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
11
11
|
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
@@ -8,7 +8,7 @@ import './Checkout.js';
|
|
|
8
8
|
import './Pagination.js';
|
|
9
9
|
import './Payment.js';
|
|
10
10
|
import { T as Terminal } from './SubAccount.js';
|
|
11
|
-
import { g as getErrorMessage, a as getErrorCode } from './
|
|
11
|
+
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
12
12
|
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
|
|
13
13
|
import { S as StyledHost } from './styled-host.js';
|
|
14
14
|
import { t as tableExportedParts } from './exported-parts.js';
|
|
@@ -28,7 +28,7 @@ class TerminalService {
|
|
|
28
28
|
apiOrigin = config.proxyApiOrigin;
|
|
29
29
|
}
|
|
30
30
|
const headers = { Account: accountId };
|
|
31
|
-
const api = Api({ authToken, apiOrigin
|
|
31
|
+
const api = Api({ authToken, apiOrigin });
|
|
32
32
|
const endpoint = 'terminals';
|
|
33
33
|
return api.get(endpoint, params, null, headers);
|
|
34
34
|
}
|
|
@@ -132,7 +132,7 @@ const TerminalsList = /*@__PURE__*/ proxyCustomElement(class TerminalsList exten
|
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
render() {
|
|
135
|
-
return (h(StyledHost, { key: '
|
|
135
|
+
return (h(StyledHost, { key: 'b0109248be43245cc91a844960f83c80b09b88a3', exportparts: tableExportedParts }, h("terminals-list-core", { key: 'c1b6467303b606863c544f898a3c0b8e37c597c2', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
136
136
|
}
|
|
137
137
|
static get watchers() { return {
|
|
138
138
|
"accountId": ["propChanged"],
|
|
@@ -58,7 +58,7 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
|
|
|
58
58
|
this.paymentMethodOptionsRef.fillBillingForm(fields);
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h(StyledHost, { key: '
|
|
61
|
+
return (h(StyledHost, { key: 'ff495ccfaf453b5efc1e09d6a3dbeae2f7056368' }, h("form", { key: '92e7ce29d3d7f12def1f83e35130de8ec3637140' }, h("fieldset", { key: 'b0e1b306f0ad87cabf04429760f9043319ea45c3' }, h("div", { key: '1176a0d441ed62522ddabf573f674903e39b17f2', class: "row gy-3" }, h("div", { key: 'c920e3759b0ae8dabda8947823831a5bac39b33a', class: "col-12" }, h("justifi-payment-method-options", { key: '1e764236818baef88ce825dbc8903f2767d2fa95', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, authToken: this.authToken, "account-id": this.accountId })), h("div", { key: 'f1cd3b08d4c558933b3da04073e527b5b0958f8b', class: "col-12" }, h(Button, { key: 'd321de173c8deaf8dcb382d14d9688cbd83ee3b9', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button" }, this.submitButtonText || 'Submit')))))));
|
|
62
62
|
}
|
|
63
63
|
static get style() { return JustifiTokenizePaymentMethodStyle0; }
|
|
64
64
|
}, [1, "justifi-tokenize-payment-method", {
|
|
@@ -4,7 +4,7 @@ import { F as FormController } from './form.js';
|
|
|
4
4
|
import { b as Address } from './Business.js';
|
|
5
5
|
import { B as BusinessFormStepV2 } from './business-form-types.js';
|
|
6
6
|
import { S as StateOptions } from './state-options.js';
|
|
7
|
-
import { n as numberOnlyHandler } from './
|
|
7
|
+
import { n as numberOnlyHandler } from './utils5.js';
|
|
8
8
|
import { d as defineCustomElement$5 } from './custom-popper2.js';
|
|
9
9
|
import { d as defineCustomElement$4 } from './form-control-error-text2.js';
|
|
10
10
|
import { d as defineCustomElement$3 } from './form-control-select2.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { S as StateOptions } from './state-options.js';
|
|
3
|
-
import { n as numberOnlyHandler } from './
|
|
3
|
+
import { n as numberOnlyHandler } from './utils5.js';
|
|
4
4
|
import { d as defineCustomElement$5 } from './custom-popper2.js';
|
|
5
5
|
import { d as defineCustomElement$4 } from './form-control-error-text2.js';
|
|
6
6
|
import { d as defineCustomElement$3 } from './form-control-select2.js';
|
package/dist/module/package.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const name = "@justifi/webcomponents";
|
|
2
|
-
const version = "4.
|
|
2
|
+
const version = "4.23.0";
|
|
3
3
|
const description = "JustiFi Web Components";
|
|
4
4
|
const collection = "dist/collection/collection-manifest.json";
|
|
5
5
|
const main = "dist/index.cjs.js";
|
|
@@ -32,7 +32,7 @@ const dependencies = {
|
|
|
32
32
|
"@stencil/store": "^2.0.8",
|
|
33
33
|
bootstrap: "^5.2.3",
|
|
34
34
|
"chart.js": "^4.4.1",
|
|
35
|
-
"date-fns": "^2.
|
|
35
|
+
"date-fns": "^2.30.0",
|
|
36
36
|
"dinero.js": "^1.9.1",
|
|
37
37
|
"iframe-resizer": "^4.3.7",
|
|
38
38
|
imask: "^7.6.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { p as packageJson } from './package.js';
|
|
3
|
-
import {
|
|
3
|
+
import { c as composeQueryParams } from './utils3.js';
|
|
4
4
|
|
|
5
5
|
var iframeResizer = {exports: {}};
|
|
6
6
|
|
|
@@ -1670,7 +1670,7 @@ const PaymentMethodForm = /*@__PURE__*/ proxyCustomElement(class PaymentMethodFo
|
|
|
1670
1670
|
(_a = this.frameService) === null || _a === void 0 ? void 0 : _a.addMessageListener(this.dispatchMessageEvent);
|
|
1671
1671
|
}
|
|
1672
1672
|
render() {
|
|
1673
|
-
return (h(Host, { key: '
|
|
1673
|
+
return (h(Host, { key: '73a54aaa587c49fb9087160095c21f9945687d04' }, h("iframe", { key: '08c49fd1101a79521288fac3aa8aef375054d0e2', id: `justifi-payment-method-form-${this.paymentMethodFormType}`, src: this.getIframeSrc(), ref: el => {
|
|
1674
1674
|
this.iframeElement = el;
|
|
1675
1675
|
this.initializeFrameCommunicationService();
|
|
1676
1676
|
}, onLoad: () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as ComponentErrorSeverity } from './ComponentError.js';
|
|
2
|
-
import { g as getErrorMessage, a as getErrorCode } from './
|
|
2
|
+
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
3
3
|
|
|
4
4
|
// Entity API Actions
|
|
5
5
|
const makeGetBusiness = ({ authToken, businessId, service }) => async ({ onSuccess, onError, final = () => { } }) => {
|