@justifi/webcomponents 4.22.2 → 4.23.1
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-7ab90cae.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-f5591026.js} +2 -2
- package/dist/cjs/{business-identity-schema-3d241053.js → business-identity-schema-804a4bd7.js} +1 -1
- package/dist/cjs/{check-pkg-version-9bd49ad6.js → check-pkg-version-fe8c72a9.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-6d1daab8.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-f0363047.js} +1 -13
- 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 +2 -11
- 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-77dc80f3.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-d94f8975.js} +2 -2
- package/dist/esm/{business-identity-schema-b31178a1.js → business-identity-schema-2756dbc6.js} +1 -1
- package/dist/esm/{check-pkg-version-5e658940.js → check-pkg-version-fbf01ce7.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-627f73c1.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-93a9d504.js} +1 -13
- 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 +1 -13
- 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-22e38d5b.js → p-25d2ed4c.js} +1 -1
- package/dist/webcomponents/p-286b87ab.js +1 -0
- package/dist/webcomponents/p-28bd6dcd.js +1 -0
- package/dist/webcomponents/{p-90b8acc6.js → p-297faf3d.js} +1 -1
- package/dist/webcomponents/{p-5fd72c29.entry.js → p-29c8fa3d.entry.js} +1 -1
- 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-3bfb4f80.entry.js +1 -0
- package/dist/webcomponents/p-3db8b3c7.js +1 -0
- package/dist/webcomponents/{p-927a147c.entry.js → p-3ed7fc42.entry.js} +1 -1
- package/dist/webcomponents/{p-eed325b7.entry.js → p-404a847c.entry.js} +1 -1
- package/dist/webcomponents/{p-a91a2152.entry.js → p-41c1c1f7.entry.js} +1 -1
- package/dist/webcomponents/{p-c458fc48.entry.js → p-41c7ee13.entry.js} +1 -1
- package/dist/webcomponents/p-420adedb.entry.js +1 -0
- package/dist/webcomponents/{p-83b01812.entry.js → p-431d7a9e.entry.js} +1 -1
- package/dist/webcomponents/p-448826a7.entry.js +1 -0
- 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-4cf7f4ae.js +1 -0
- package/dist/webcomponents/{p-09fb7dd6.entry.js → p-52f9d8a0.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-b459d0b0.js → p-57125bd1.js} +1 -1
- package/dist/webcomponents/p-5ec82df8.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-6d51aed8.entry.js +1 -0
- package/dist/webcomponents/{p-9e7204b5.js → p-8037704c.js} +1 -1
- package/dist/webcomponents/p-89f6691e.js +1 -0
- package/dist/webcomponents/p-91de21cc.js +1 -0
- package/dist/webcomponents/{p-55f78fcc.entry.js → p-942be28b.entry.js} +1 -1
- 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-abe513e6.entry.js +1 -0
- package/dist/webcomponents/p-ada9ac19.entry.js +1 -0
- package/dist/webcomponents/p-b0311e88.js +1 -0
- package/dist/webcomponents/{p-91711083.entry.js → p-b0dc68b3.entry.js} +1 -1
- package/dist/webcomponents/p-b3cac576.entry.js +1 -0
- package/dist/webcomponents/{p-0c03a971.entry.js → p-b97233cc.entry.js} +1 -1
- package/dist/webcomponents/p-bb71cef3.js +1 -0
- package/dist/webcomponents/{p-2a9f48f0.entry.js → p-bc1984ec.entry.js} +1 -1
- 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-c8243721.js +1 -0
- package/dist/webcomponents/p-cd19c597.entry.js +1 -0
- package/dist/webcomponents/{p-7fec2bcb.js → p-d1f75fa6.js} +1 -1
- package/dist/webcomponents/{p-2dc7751f.entry.js → p-d291dc4c.entry.js} +1 -1
- package/dist/webcomponents/{p-7a8c13ba.entry.js → p-da176d01.entry.js} +1 -1
- package/dist/webcomponents/{p-2c8c214f.entry.js → p-dcb288a3.entry.js} +1 -1
- 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-8e2e24d8.entry.js → p-e8be1b55.entry.js} +1 -1
- package/dist/webcomponents/p-e99957ff.entry.js +1 -0
- package/dist/webcomponents/p-ed95feec.entry.js +1 -0
- package/dist/webcomponents/{p-92a766d8.entry.js → p-f28a4c03.entry.js} +1 -1
- package/dist/webcomponents/{p-8f212554.entry.js → p-f698d6d9.entry.js} +1 -1
- package/dist/webcomponents/{p-9ef4d294.entry.js → p-fc6f697d.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-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-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
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { convertToLocal, convertToUTC } from "../../utils/utils";
|
|
3
|
+
export class PayoutsListFilters {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.handleDateInput = (name, value) => {
|
|
6
|
+
const utcDate = convertToUTC(value, { setEndOfDay: true });
|
|
7
|
+
this.setParamsOnChange(name, utcDate);
|
|
8
|
+
};
|
|
9
|
+
this.params = undefined;
|
|
10
|
+
this.setParamsOnChange = undefined;
|
|
11
|
+
this.clearParams = undefined;
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return (h("table-filters-menu", { key: '2f80b6ac3308af53f20f1c8c8fbc596937eeda1d', params: this.params, clearParams: this.clearParams }, h("div", { key: '6e0bf319268d1bcbbd81e922f0855eb1c497815f', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '8c29a63ea0c4836a0b002db9adc75ea69cdde988', class: "p-2" }, h("form-control-date", { key: '74399fdd150d71758f817454944ef34c9b443240', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.params.created_after, { showInputDate: true }) })), h("div", { key: 'e98911d5b92ed5a6642d8f59b23abbebf4f1f85b', class: "p-2" }, h("form-control-date", { key: '4f233e95aeae496357938c69f25336123fbf1f0f', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.params.created_before, { showInputDate: true }) })))));
|
|
15
|
+
}
|
|
16
|
+
static get is() { return "payouts-list-filters"; }
|
|
17
|
+
static get properties() {
|
|
18
|
+
return {
|
|
19
|
+
"params": {
|
|
20
|
+
"type": "unknown",
|
|
21
|
+
"mutable": false,
|
|
22
|
+
"complexType": {
|
|
23
|
+
"original": "PayoutsTableFilterParams",
|
|
24
|
+
"resolved": "PayoutsTableFilterParams",
|
|
25
|
+
"references": {
|
|
26
|
+
"PayoutsTableFilterParams": {
|
|
27
|
+
"location": "import",
|
|
28
|
+
"path": "../../api",
|
|
29
|
+
"id": "src/api/index.ts::PayoutsTableFilterParams"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": false,
|
|
34
|
+
"optional": false,
|
|
35
|
+
"docs": {
|
|
36
|
+
"tags": [],
|
|
37
|
+
"text": ""
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"setParamsOnChange": {
|
|
41
|
+
"type": "unknown",
|
|
42
|
+
"mutable": false,
|
|
43
|
+
"complexType": {
|
|
44
|
+
"original": "(name: string, value: string) => void",
|
|
45
|
+
"resolved": "(name: string, value: string) => void",
|
|
46
|
+
"references": {}
|
|
47
|
+
},
|
|
48
|
+
"required": false,
|
|
49
|
+
"optional": false,
|
|
50
|
+
"docs": {
|
|
51
|
+
"tags": [],
|
|
52
|
+
"text": ""
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"clearParams": {
|
|
56
|
+
"type": "unknown",
|
|
57
|
+
"mutable": false,
|
|
58
|
+
"complexType": {
|
|
59
|
+
"original": "() => void",
|
|
60
|
+
"resolved": "() => void",
|
|
61
|
+
"references": {}
|
|
62
|
+
},
|
|
63
|
+
"required": false,
|
|
64
|
+
"optional": false,
|
|
65
|
+
"docs": {
|
|
66
|
+
"tags": [],
|
|
67
|
+
"text": ""
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import {
|
|
2
|
+
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
|
|
3
|
+
import JustifiAnalytics from "../../api/Analytics";
|
|
4
|
+
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
5
|
+
import { config } from "../../../config";
|
|
3
6
|
import { PayoutService } from "../../api/services/payout.service";
|
|
4
7
|
import { makeGetPayouts } from "./get-payouts";
|
|
5
|
-
import { ComponentErrorCodes } from "../../api/ComponentError";
|
|
6
|
-
import JustifiAnalytics from "../../api/Analytics";
|
|
7
8
|
import { makeGetPayoutCSV } from "../payout-details/get-payout-csv";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
9
|
+
import { makeGetSubAccounts } from "../../api/get-subaccounts";
|
|
10
|
+
import { SubAccountService } from "../../api/services/subaccounts.service";
|
|
11
|
+
import { StyledHost, tableExportedParts } from "../../ui-components";
|
|
12
|
+
import { defaultColumnsKeys } from "./payouts-table";
|
|
10
13
|
/**
|
|
11
14
|
* @exportedPart label: Label for inputs
|
|
12
15
|
* @exportedPart input: The input fields
|
|
@@ -35,29 +38,37 @@ export class PayoutsList {
|
|
|
35
38
|
this.errorMessage = event.detail.message;
|
|
36
39
|
this.errorEvent.emit(event.detail);
|
|
37
40
|
};
|
|
38
|
-
this.accountId = undefined;
|
|
39
|
-
this.authToken = undefined;
|
|
40
41
|
this.getPayouts = undefined;
|
|
41
42
|
this.getPayoutCSV = undefined;
|
|
43
|
+
this.getSubAccounts = undefined;
|
|
42
44
|
this.errorMessage = null;
|
|
45
|
+
this.accountId = undefined;
|
|
46
|
+
this.authToken = undefined;
|
|
47
|
+
this.apiOrigin = config.proxyApiOrigin;
|
|
48
|
+
this.columns = defaultColumnsKeys;
|
|
43
49
|
}
|
|
44
50
|
componentWillLoad() {
|
|
45
51
|
checkPkgVersion();
|
|
46
52
|
this.analytics = new JustifiAnalytics(this);
|
|
47
|
-
this.
|
|
53
|
+
this.initializeGetData();
|
|
48
54
|
}
|
|
49
55
|
disconnectedCallback() {
|
|
50
56
|
this.analytics.cleanup();
|
|
51
57
|
}
|
|
52
58
|
propChanged() {
|
|
53
|
-
this.
|
|
59
|
+
this.initializeGetData();
|
|
54
60
|
}
|
|
55
|
-
|
|
61
|
+
initializeGetData() {
|
|
62
|
+
this.initializePayoutsServices();
|
|
63
|
+
this.initializeGetSubAccounts();
|
|
64
|
+
}
|
|
65
|
+
initializePayoutsServices() {
|
|
56
66
|
if (this.accountId && this.authToken) {
|
|
57
67
|
const serviceParams = {
|
|
58
68
|
id: this.accountId,
|
|
59
69
|
authToken: this.authToken,
|
|
60
70
|
service: new PayoutService(),
|
|
71
|
+
apiOrigin: this.apiOrigin
|
|
61
72
|
};
|
|
62
73
|
this.getPayouts = makeGetPayouts(serviceParams);
|
|
63
74
|
this.getPayoutCSV = makeGetPayoutCSV(serviceParams);
|
|
@@ -66,12 +77,23 @@ export class PayoutsList {
|
|
|
66
77
|
this.errorMessage = 'Account ID and Auth Token are required';
|
|
67
78
|
this.errorEvent.emit({
|
|
68
79
|
errorCode: ComponentErrorCodes.MISSING_PROPS,
|
|
69
|
-
message:
|
|
80
|
+
message: this.errorMessage,
|
|
81
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
initializeGetSubAccounts() {
|
|
86
|
+
if (this.accountId && this.authToken) {
|
|
87
|
+
this.getSubAccounts = makeGetSubAccounts({
|
|
88
|
+
accountId: this.accountId,
|
|
89
|
+
authToken: this.authToken,
|
|
90
|
+
service: new SubAccountService(),
|
|
91
|
+
apiOrigin: this.apiOrigin
|
|
70
92
|
});
|
|
71
93
|
}
|
|
72
94
|
}
|
|
73
95
|
render() {
|
|
74
|
-
return (h(StyledHost, { key: '
|
|
96
|
+
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 })));
|
|
75
97
|
}
|
|
76
98
|
static get is() { return "justifi-payouts-list"; }
|
|
77
99
|
static get encapsulation() { return "shadow"; }
|
|
@@ -110,6 +132,42 @@ export class PayoutsList {
|
|
|
110
132
|
},
|
|
111
133
|
"attribute": "auth-token",
|
|
112
134
|
"reflect": false
|
|
135
|
+
},
|
|
136
|
+
"apiOrigin": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"mutable": false,
|
|
139
|
+
"complexType": {
|
|
140
|
+
"original": "string",
|
|
141
|
+
"resolved": "string",
|
|
142
|
+
"references": {}
|
|
143
|
+
},
|
|
144
|
+
"required": false,
|
|
145
|
+
"optional": true,
|
|
146
|
+
"docs": {
|
|
147
|
+
"tags": [],
|
|
148
|
+
"text": ""
|
|
149
|
+
},
|
|
150
|
+
"attribute": "api-origin",
|
|
151
|
+
"reflect": false,
|
|
152
|
+
"defaultValue": "config.proxyApiOrigin"
|
|
153
|
+
},
|
|
154
|
+
"columns": {
|
|
155
|
+
"type": "string",
|
|
156
|
+
"mutable": false,
|
|
157
|
+
"complexType": {
|
|
158
|
+
"original": "string",
|
|
159
|
+
"resolved": "string",
|
|
160
|
+
"references": {}
|
|
161
|
+
},
|
|
162
|
+
"required": false,
|
|
163
|
+
"optional": true,
|
|
164
|
+
"docs": {
|
|
165
|
+
"tags": [],
|
|
166
|
+
"text": ""
|
|
167
|
+
},
|
|
168
|
+
"attribute": "columns",
|
|
169
|
+
"reflect": false,
|
|
170
|
+
"defaultValue": "defaultColumnsKeys"
|
|
113
171
|
}
|
|
114
172
|
};
|
|
115
173
|
}
|
|
@@ -117,6 +175,7 @@ export class PayoutsList {
|
|
|
117
175
|
return {
|
|
118
176
|
"getPayouts": {},
|
|
119
177
|
"getPayoutCSV": {},
|
|
178
|
+
"getSubAccounts": {},
|
|
120
179
|
"errorMessage": {}
|
|
121
180
|
};
|
|
122
181
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { convertToLocal, formatCurrency } from "../../utils/utils";
|
|
3
|
+
import { MapPayoutStatusToBadge } from "./payouts-status";
|
|
4
|
+
export const defaultColumnsKeys = 'created_at,amount,status,payments_total,refunds_total,fees_total,other_total,csv';
|
|
5
|
+
export const payoutTableColumns = {
|
|
6
|
+
created_at: () => (h("th", { part: "table-head-cell", scope: "col", title: "The date the payout was deposited" }, "Created")),
|
|
7
|
+
sub_account_name: () => (h("th", { part: "table-head-cell", scope: "col", title: "The sub account associated with the payout" }, "Sub Account")),
|
|
8
|
+
payments_total: () => (h("th", { part: "table-head-cell", scope: "col", title: "The total payments amount associated with the payout" }, "Payments")),
|
|
9
|
+
refunds_total: () => (h("th", { part: "table-head-cell", scope: "col", title: "The total refunds amount associated with the payout" }, "Refunds")),
|
|
10
|
+
fees_total: () => (h("th", { part: "table-head-cell", scope: "col", title: "The total fees amount associated with the payout" }, "Fees")),
|
|
11
|
+
other_total: () => (h("th", { part: "table-head-cell", scope: "col", title: "The total other amount" }, "Other")),
|
|
12
|
+
amount: () => (h("th", { part: "table-head-cell", scope: "col", title: "The total amount of the payout" }, "Amount")),
|
|
13
|
+
status: () => (h("th", { part: "table-head-cell", scope: "col", title: "The real-time status of each payout" }, "Status")),
|
|
14
|
+
csv: () => (h("th", { part: "table-head-cell", scope: "col", title: "Export CSV" })),
|
|
15
|
+
};
|
|
16
|
+
export const payoutTableCells = (downloadCSV) => ({
|
|
17
|
+
created_at: (value) => (h("td", { part: "table-cell" }, h("div", { class: "fw-bold" }, convertToLocal(value, { showDisplayDate: true }), " "))),
|
|
18
|
+
sub_account_name: (value) => (h("td", { part: "table-cell" }, value)),
|
|
19
|
+
payments_total: (value) => (h("td", { part: "table-cell" }, formatCurrency(value))),
|
|
20
|
+
refunds_total: (value) => (h("td", { part: "table-cell" }, formatCurrency(value))),
|
|
21
|
+
fees_total: (value) => (h("td", { part: "table-cell" }, formatCurrency(value))),
|
|
22
|
+
other_total: (value) => (h("td", { part: "table-cell" }, formatCurrency(value))),
|
|
23
|
+
amount: (value) => (h("td", { part: "table-cell" }, formatCurrency(value))),
|
|
24
|
+
status: (value) => (h("td", { part: "table-cell", innerHTML: MapPayoutStatusToBadge(value) })),
|
|
25
|
+
csv: (value) => (h("td", { part: "table-cell" }, h("a", { href: "#", onClick: (event) => { event.preventDefault(); downloadCSV(value); } }, "CSV"))),
|
|
26
|
+
});
|
|
@@ -75,7 +75,7 @@ export class RefundForm {
|
|
|
75
75
|
}
|
|
76
76
|
render() {
|
|
77
77
|
var _a;
|
|
78
|
-
return (h(StyledHost, { key: '
|
|
78
|
+
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))))));
|
|
79
79
|
}
|
|
80
80
|
static get is() { return "justifi-refund-form"; }
|
|
81
81
|
static get encapsulation() { return "shadow"; }
|
|
@@ -119,7 +119,7 @@ export class TerminalsListCore {
|
|
|
119
119
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
120
120
|
}
|
|
121
121
|
render() {
|
|
122
|
-
return (h("div", { key: '
|
|
122
|
+
return (h("div", { key: 'd022a41666a6483bcb405bfe477b7eba1e5ca5dd' }, h("terminals-list-filters", { key: 'cb0d38d4b51c5cb9482c1f567dce4462bf12a055', params: this.params, setParamsOnChange: this.setParamsOnChange, clearParams: this.clearParams }), h("div", { key: '82cbf05382d9ecaf0d01c4e0b5f61618b1442690', class: "table-wrapper" }, h("table", { key: '5c8bd36b6523cf56542b016e3195188781b2cb03', class: "table table-hover" }, h("thead", { key: 'f35d86ae84f673437e0fc51ad3e26b1839153590', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: '7727a4e30dddd62d6dc3c405c7ca505f91a71643', class: "table-light text-nowrap", part: "table-head-row" }, this.terminalsTable.columnData.map((column) => column))), h("tbody", { key: '4e0ee2053a33622037e7961ec289036e52632e3f', class: "table-body", part: "table-body" }, h(TableLoadingState, { key: '96cb647d4f5c2e4a1ecb33be46b868e1318762ca', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '062aeeb69a149b2f15e49c81bb3bd16a6d5a5dfd', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '750a04c3ecb53271b3affced7e9245733c64bd57', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler, part: `table-row ${index % 2 ? "table-row-even" : "table-row-odd"}` }, data)))), this.paging && (h("tfoot", { key: '19edc599b2ccd6212c03045b754fe251335fa665', class: "sticky-bottom" }, h("tr", { key: 'dd793c33355dd6b0448e327a62b3cc08a0d09bad', class: "table-light align-middle" }, h("td", { key: '0b142d2c1b658e1bb084741fa461d7f350c3449c', part: "pagination-bar", colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '757d9ba17e1a768aa0bcf573a2d02b455bac3df3', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }), params: this.params })))))))));
|
|
123
123
|
}
|
|
124
124
|
static get is() { return "terminals-list-core"; }
|
|
125
125
|
static get properties() {
|
|
@@ -19,7 +19,7 @@ export class TerminalsListFilters {
|
|
|
19
19
|
];
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h("table-filters-menu", { key: '
|
|
22
|
+
return (h("table-filters-menu", { key: '486847f69064b497b72521312d27097690eb19b2', params: this.params, clearParams: this.clearParams }, h("div", { key: '622e3572ff1cf85a60ffa30c4fa5d39780375abb', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '2cef9085c3d09e96907cdaa8330e8b8b80d8ceec', class: "p-2" }, h("form-control-text", { key: 'a3922b71cbdc93bbdddd519e44bad25379c6b5f4', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.params.terminal_id })), h("div", { key: '1027edf52dc1ceacc4779b29bda4b7d08c8a3c8c', class: "p-2" }, h("form-control-select", { key: 'e1f122b2868282a64dccc99b3e9d19fe7cc768fb', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.params.status || '' })))));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "terminals-list-filters"; }
|
|
25
25
|
static get properties() {
|
|
@@ -89,7 +89,7 @@ export class TerminalsList {
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
render() {
|
|
92
|
-
return (h(StyledHost, { key: '
|
|
92
|
+
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 })));
|
|
93
93
|
}
|
|
94
94
|
static get is() { return "justifi-terminals-list"; }
|
|
95
95
|
static get encapsulation() { return "shadow"; }
|
|
@@ -156,7 +156,7 @@ export class TerminalsList {
|
|
|
156
156
|
"references": {}
|
|
157
157
|
},
|
|
158
158
|
"required": false,
|
|
159
|
-
"optional":
|
|
159
|
+
"optional": true,
|
|
160
160
|
"docs": {
|
|
161
161
|
"tags": [],
|
|
162
162
|
"text": ""
|
|
@@ -8,8 +8,8 @@ export const terminalTableColumns = {
|
|
|
8
8
|
status: () => (h("th", { part: "table-head-cell", scope: "col", title: "The current status of each terminal" }, "Status")),
|
|
9
9
|
};
|
|
10
10
|
export const terminalTableCells = {
|
|
11
|
-
nickname: (value) => (h("td",
|
|
12
|
-
provider_id: (value) => (h("td",
|
|
13
|
-
sub_account_name: (value) => (h("td",
|
|
14
|
-
status: (value) => (h("td", { innerHTML: MapTerminalStatusToBadge(value) })),
|
|
11
|
+
nickname: (value) => (h("td", { part: "table-cell" }, value)),
|
|
12
|
+
provider_id: (value) => (h("td", { part: "table-cell" }, value)),
|
|
13
|
+
sub_account_name: (value) => (h("td", { part: "table-cell" }, value)),
|
|
14
|
+
status: (value) => (h("td", { part: "table-cell", innerHTML: MapTerminalStatusToBadge(value) })),
|
|
15
15
|
};
|
|
@@ -36,7 +36,7 @@ export class TokenizePaymentMethod {
|
|
|
36
36
|
this.paymentMethodOptionsRef.fillBillingForm(fields);
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h(StyledHost, { key: '
|
|
39
|
+
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')))))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "justifi-tokenize-payment-method"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -81,7 +81,7 @@ export class CustomPopper {
|
|
|
81
81
|
this.hideEvent.emit();
|
|
82
82
|
}
|
|
83
83
|
render() {
|
|
84
|
-
return (h("div", { key: '
|
|
84
|
+
return (h("div", { key: '486c7b71b1b4f6d3ad8a9b9042fe5bdfe0427443' }, h("style", { key: '54a5bed99c8cf367642c63650200376cc5a90142' }, `
|
|
85
85
|
.popper-content {
|
|
86
86
|
display: none;
|
|
87
87
|
}
|
|
@@ -89,7 +89,7 @@ export class CustomPopper {
|
|
|
89
89
|
display: block;
|
|
90
90
|
z-index: 1030;
|
|
91
91
|
}
|
|
92
|
-
`), h("div", { key: '
|
|
92
|
+
`), h("div", { key: '1c4dc36300485c1c331f39998bf23127ea5e6177', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '9dbb8f23779595303814ef10762663b809447c32' }))));
|
|
93
93
|
}
|
|
94
94
|
static get is() { return "custom-popper"; }
|
|
95
95
|
static get properties() {
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
export function composeQueryParams(values) {
|
|
2
|
+
const queryParams = values.map((value) => {
|
|
3
|
+
if (value === values[0]) {
|
|
4
|
+
return (value = `?${value}`);
|
|
5
|
+
}
|
|
6
|
+
else {
|
|
7
|
+
return (value = `&${value}`);
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
return queryParams.join('');
|
|
11
|
+
}
|
|
1
12
|
export const onFilterChange = (newFilters, params) => {
|
|
2
13
|
let newParams = Object.assign({}, params);
|
|
3
14
|
delete newParams.before_cursor;
|
|
@@ -25,7 +25,7 @@ export class CheckboxInput {
|
|
|
25
25
|
this.updateInput(this.defaultValue);
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '62c7e5756a185d29a941dd63a431756beed3d554', exportparts: "label,input,input-invalid" }, h("div", { key: 'db89c096aa07aecd8c5205905c26f56ac4282a3a', class: 'form-group d-flex flex-column' }, h("div", { key: '8f6c06c0150eee6284d3b2465b3aca916c2d7f83', class: "form-check" }, h("input", { key: '25b9b0a620ee3fce0f4fa4892a38b289e0a0d521', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input-checkbox ${this.errorText ? 'input-checkbox-invalid' : ''}`, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled }), h("label", { key: '783d5dbbafeeeceab3400361eff65cd6a075f637', class: "form-check-label", htmlFor: this.name }, this.label)), h("form-control-help-text", { key: '4b129fa8360d7d305f14939d213667a9003c6b94', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '303b12a3b51634866a4266486ac6295f5d582ab6', errorText: this.errorText, name: this.name }))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "form-control-checkbox"; }
|
|
31
31
|
static get properties() {
|
|
@@ -2,17 +2,9 @@ import { Host, h, } from "@stencil/core";
|
|
|
2
2
|
export class DateInput {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.handleFormControlInput = (event) => {
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const utcDate = this.convertToUTC(localValue);
|
|
9
|
-
this.inputHandler(this.name, utcDate);
|
|
10
|
-
this.formControlInput.emit({ name: this.name, value: utcDate });
|
|
11
|
-
}
|
|
12
|
-
else {
|
|
13
|
-
this.inputHandler(this.name, localValue);
|
|
14
|
-
this.formControlInput.emit({ name: this.name, value: localValue });
|
|
15
|
-
}
|
|
5
|
+
const dateValue = event.target.value;
|
|
6
|
+
this.inputHandler(this.name, dateValue);
|
|
7
|
+
this.formControlInput.emit({ name: this.name, value: dateValue });
|
|
16
8
|
};
|
|
17
9
|
this.name = undefined;
|
|
18
10
|
this.label = undefined;
|
|
@@ -21,17 +13,11 @@ export class DateInput {
|
|
|
21
13
|
this.helpText = undefined;
|
|
22
14
|
this.errorText = undefined;
|
|
23
15
|
this.disabled = undefined;
|
|
24
|
-
this.filterTimeZone = false;
|
|
25
16
|
this.showTime = undefined;
|
|
26
17
|
this.maxDate = this.currentDate;
|
|
27
18
|
}
|
|
28
19
|
handleDefaultValueChange(newValue) {
|
|
29
|
-
|
|
30
|
-
this.updateInput(this.convertToLocal(newValue));
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
this.updateInput(newValue);
|
|
34
|
-
}
|
|
20
|
+
this.updateInput(newValue);
|
|
35
21
|
}
|
|
36
22
|
get currentDate() {
|
|
37
23
|
if (!this.showTime) {
|
|
@@ -42,30 +28,13 @@ export class DateInput {
|
|
|
42
28
|
}
|
|
43
29
|
}
|
|
44
30
|
componentDidLoad() {
|
|
45
|
-
|
|
46
|
-
this.updateInput(this.convertToLocal(this.defaultValue));
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
this.updateInput(this.defaultValue);
|
|
50
|
-
}
|
|
31
|
+
this.updateInput(this.defaultValue);
|
|
51
32
|
}
|
|
52
33
|
updateInput(value) {
|
|
53
34
|
this.dateInput.value = value;
|
|
54
35
|
}
|
|
55
|
-
convertToUTC(value) {
|
|
56
|
-
const dateObj = new Date(value);
|
|
57
|
-
return new Date(dateObj.toUTCString()).toISOString();
|
|
58
|
-
}
|
|
59
|
-
convertToLocal(value) {
|
|
60
|
-
if (!value)
|
|
61
|
-
return value;
|
|
62
|
-
const date = new Date(value);
|
|
63
|
-
// Adjust the date to the local timezone
|
|
64
|
-
const localDate = new Date(date.getTime() - date.getTimezoneOffset() * 60000);
|
|
65
|
-
return this.showTime ? localDate.toISOString().slice(0, 16) : localDate.toISOString().split('T')[0];
|
|
66
|
-
}
|
|
67
36
|
render() {
|
|
68
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '29a793e97ef8cc6bd532ce6f86e31028e6a3a783', exportparts: "label,input,input-invalid" }, h("div", { key: '32487660602957a69c9cd82625bd019335e76124', class: "form-group d-flex flex-column" }, h("div", { key: '5d45a740e61f328cb0bec179117b97ea9449bc03', class: "d-flex gap-2" }, h("label", { key: 'ba01fd2ce1f8f8cfa3a0599b21c01071eb6400a0', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'aeaaf6caa4b4999ec1ecd419f4699aceb72d6cb1', helpText: this.helpText })), h("input", { key: 'af713ff971ca5b8c046199ff1252db40649a8f94', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h("form-control-error-text", { key: '02338706e4d55074014d8e177c27c002181a93e6', errorText: this.errorText, name: this.name }))));
|
|
69
38
|
}
|
|
70
39
|
static get is() { return "form-control-date"; }
|
|
71
40
|
static get properties() {
|
|
@@ -187,24 +156,6 @@ export class DateInput {
|
|
|
187
156
|
"attribute": "disabled",
|
|
188
157
|
"reflect": false
|
|
189
158
|
},
|
|
190
|
-
"filterTimeZone": {
|
|
191
|
-
"type": "boolean",
|
|
192
|
-
"mutable": false,
|
|
193
|
-
"complexType": {
|
|
194
|
-
"original": "boolean",
|
|
195
|
-
"resolved": "boolean",
|
|
196
|
-
"references": {}
|
|
197
|
-
},
|
|
198
|
-
"required": false,
|
|
199
|
-
"optional": true,
|
|
200
|
-
"docs": {
|
|
201
|
-
"tags": [],
|
|
202
|
-
"text": ""
|
|
203
|
-
},
|
|
204
|
-
"attribute": "filter-time-zone",
|
|
205
|
-
"reflect": false,
|
|
206
|
-
"defaultValue": "false"
|
|
207
|
-
},
|
|
208
159
|
"showTime": {
|
|
209
160
|
"type": "boolean",
|
|
210
161
|
"mutable": false,
|
|
@@ -31,7 +31,7 @@ export class FileInput {
|
|
|
31
31
|
this.fileInput = this.el.querySelector('input');
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: 'e67b1c78293ee490ff9f468e98533c2eed03a14a', exportparts: "label,input,input-invalid" }, h("div", { key: '373c4ccfdbdd49f00bfe3673bb284930706f7842', class: "form-group d-flex flex-column" }, h("div", { key: '93d7524b79cc2a537f4ccc6bea300182ddd31f40', class: "d-flex align-items-start gap-2" }, h("label", { key: 'f5619fd58b973b31c8ea47b52715ede5f5891283', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'fd0979253100c2e3efbb30a6fd698b756cf42bbe', helpText: this.helpText })), h("input", { key: '8185ccf0fdae02ec7c8cfd6d6cdedfe80f012f4e', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onBlur: () => this.formControlBlur.emit() }), h("form-control-error-text", { key: '0aef8ab535103ef7a0b8f7df3b23508985559072', errorText: this.errorText, name: this.name }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "form-control-file"; }
|
|
37
37
|
static get properties() {
|
|
@@ -47,7 +47,7 @@ export class MonetaryInput {
|
|
|
47
47
|
(_a = this.imask) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: '27e8570c7ddb6747f8b78fdf0222747022b2e4b2', exportparts: "label,input,input-group-input,input-group-text,input-invalid" }, h("div", { key: '1ee22eda4b9f5b5ddf42f1d15d4ec3ee084e967e', class: "form-group d-flex flex-column" }, h("label", { key: '73930260feaeca6edab8b9947da211358474b680', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("div", { key: '7da2e46e0538563151f4603bfbeee22a447e7310', class: "input-group" }, h("span", { key: '3209947bf3c65c2ecfd3b56a0da27d663b444742', class: "input-group-text", part: "input-group-text" }, "$"), h("input", { key: 'ba3d0b0a55ba25a9b7315fc9e95e408073b47cf5', ref: el => (this.textInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input input-group-input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h("form-control-help-text", { key: 'af50f5b6f8f9ce1ac80be790f64dfbcd5067f5aa', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '2d134789d103c82c545c97428e6a4e4da1c0e099', errorText: this.errorText, name: this.name }))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "form-control-monetary"; }
|
|
53
53
|
static get properties() {
|
|
@@ -52,7 +52,7 @@ export class NumberInputMasked {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: '2347d776d2ca3dba7c4c331bbeb3d4e359268704', exportparts: "label,input,input-invalid" }, h("div", { key: '16d437f201888fdef6148630e5afc75ee7c36bae', class: "form-group d-flex flex-column" }, h("div", { key: 'd776ff7c160cbba0436ec36e20cb0c81edbc380f', class: "d-flex align-items-start gap-2" }, h("label", { key: '8c6664087dc2593870380341cf51fc5511a95e35', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '1495842c0cd7117c50c62888cf90e001a4e15756', helpText: this.helpText })), h("input", { key: 'f2468b56ba6f1e7482c5437ce728a4dc39db966b', ref: el => (this.textInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h("form-control-error-text", { key: '7e2485e91f263e8a970b91628adf945eb3280c2d', errorText: this.errorText, name: this.name }))));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "form-control-number-masked"; }
|
|
58
58
|
static get properties() {
|
|
@@ -28,7 +28,7 @@ export class NumberInput {
|
|
|
28
28
|
this.updateInput(this.defaultValue);
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: '3b2f42c3cd26fb238f2b728522608c9d37d087a9', exportparts: 'label,input,input-invalid' }, h("div", { key: '01a3382ef37353f3cad6d6ffb66ce2ff5f13b8de', class: 'form-group d-flex flex-column' }, h("label", { key: '981f1089d6ec68cda5c91ced9025b5ff021aad50', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("input", { key: 'e1e2630c0d5921eb2c09f66495f534ac39f64f09', id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h("form-control-help-text", { key: '8e2b99df6f3a2d5c3bca0903d0f74ff404a73cf8', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '03f12d2baa3aac08f460332a4867ab7ef8e82143', errorText: this.errorText, name: this.name }))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "form-control-number"; }
|
|
34
34
|
static get properties() {
|
|
@@ -26,7 +26,7 @@ export class RadioInput {
|
|
|
26
26
|
this.updateInput(this.defaultChecked);
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: 'd06ffa17fb7ef51b08b8c0d52c6d83ec040a15a7', exportparts: "label,input,input-invalid" }, h("div", { key: '9dc89af6c7118dae09d29daa6739847ee11ba7ff', class: 'form-group d-flex flex-column' }, h("div", { key: 'fa028b5f9901ca403fe120bc16e9fb48e2a5c92d', class: "form-check" }, h("input", { key: '78222c89d2713c070b2d38be3bc7953cd5c18677', ref: el => (this.radioElement = el), type: "radio", id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input-radio ${this.errorText ? 'input-radio-invalid' : ''}`, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value }), h("label", { key: 'ef2c6c45bf587d87bad6883fe79622a648d80d80', class: "form-check-label", htmlFor: this.name }, this.label)), h("form-control-help-text", { key: '28b32ee27148438b72bb909cc9cc309de936b158', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '8485f4d22f4bc0bb2238de5ab5bf7071203bac2b', errorText: this.errorText, name: this.name }))));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "form-control-radio"; }
|
|
32
32
|
static get properties() {
|
|
@@ -30,7 +30,7 @@ export class TextInput {
|
|
|
30
30
|
this.updateInput(this.defaultValue);
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '31f393afa67b52bea6b833a12be0bd06ce673bb2', exportparts: "label,input,input-invalid" }, h("div", { key: '14e875434e0f5c942623cbac1c338ef8775ed24d', class: "form-group d-flex flex-column" }, h("div", { key: '7c43ad5f89675b4db4b70e1e43a862e493ebeb30', class: "d-flex align-items-start gap-2" }, h("label", { key: '7d97de55470f39608349cf54225b927f9f029db8', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'fd857b971360bf3bc87d902e28e15b17c1484bdd', helpText: this.helpText })), h("input", { key: 'ba0e1464cd736c8761cdee43715f9986480639c7', 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", type: "text", disabled: this.disabled }), h("form-control-error-text", { key: '31c1a57ce24a129a199864f20a0498957c2a43ea', errorText: this.errorText, name: this.name }))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "form-control-text"; }
|
|
36
36
|
static get properties() {
|
|
@@ -30,7 +30,7 @@ export class TextInput {
|
|
|
30
30
|
this.updateInput(this.defaultValue);
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
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 }))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "form-control-textarea"; }
|
|
36
36
|
static get properties() {
|
|
@@ -3,8 +3,8 @@ export class Table {
|
|
|
3
3
|
return this.columnKeys.map((key) => this.tableColumns[key]());
|
|
4
4
|
}
|
|
5
5
|
get rowData() {
|
|
6
|
-
return this.collection.map((
|
|
7
|
-
return this.columnKeys.map((key) => this.tableCells[key](
|
|
6
|
+
return this.collection.map((dataEntry) => {
|
|
7
|
+
return this.columnKeys.map((key) => this.tableCells[key](dataEntry[key]));
|
|
8
8
|
});
|
|
9
9
|
}
|
|
10
10
|
set collectionData(collection) {
|