@justifi/webcomponents 5.3.2 → 5.3.3
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/{check-pkg-version-fe4c6467.js → Analytics-f448aa27.js} +8 -23
- package/dist/cjs/{Api-089e7501.js → Api-f5280a80.js} +0 -13
- package/dist/cjs/{Business-cfd6a2dd.js → Business-d88b77fd.js} +6 -2
- package/dist/cjs/{Checkout-0f1c8abe.js → Checkout-1c07dc32.js} +14 -7
- package/dist/cjs/{SubAccount-509ebf93.js → SubAccount-b4811a8e.js} +6 -9
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-ccfe03bf.js → badge-86a6a7f8.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +9 -9
- package/dist/cjs/bank-account-form_9.cjs.entry.js +78 -5
- package/dist/cjs/billing-form_3.cjs.entry.js +11 -11
- package/dist/cjs/{business-additional-questions-schema-2cc0c6f7.js → business-additional-questions-schema-5c100f58.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{business-form-options-4bcb8943.js → business-form-options-62e9c8ab.js} +1 -1
- package/dist/cjs/{business-identity-schema-7d462eb3.js → business-identity-schema-3b4d16f1.js} +1 -1
- package/dist/cjs/{business.service-33d7c7f2.js → business.service-6b05ee96.js} +8 -8
- package/dist/cjs/{button-8b634147.js → button-5f6c437f.js} +1 -1
- package/dist/cjs/check-pkg-version-d75dc147.js +24 -0
- package/dist/cjs/{checkout.service-d9047ddb.js → checkout.service-aa037531.js} +6 -6
- package/dist/cjs/checkouts-list-core.cjs.entry.js +16 -15
- package/dist/cjs/checkouts-list-params-state-644d3639.js +22 -0
- package/dist/cjs/{checkouts-table-efa1cbab.js → checkouts-table-cf3e245e.js} +2 -2
- package/dist/cjs/custom-popper_4.cjs.entry.js +8 -8
- package/dist/cjs/{dispute.service-739631c7.js → dispute.service-27dcd7f4.js} +7 -7
- package/dist/cjs/event-types-b6d34593.js +8 -0
- package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-46a7f2dd.js → form-control-error-text-9905e3b8.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-help-text-98c882e3.js → form-control-help-text-8d031bfb.js} +1 -1
- package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/get-business-0bd063d2.js +34 -0
- package/dist/cjs/{get-payout-csv-bdaff21b.js → get-payout-csv-7646128d.js} +6 -15
- package/dist/cjs/{get-subaccounts-2db9fc01.js → get-subaccounts-cc933b3e.js} +4 -7
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
- package/dist/cjs/{header-1-4c21f7ca.js → header-1-b202dbbb.js} +1 -1
- package/dist/cjs/{header-3-130206cc.js → header-3-5f78acd1.js} +1 -1
- package/dist/cjs/{insurance-state-21fde44f.js → insurance-state-ba0c39a9.js} +1 -1
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +10 -10
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +9 -9
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/justifi-business-details.cjs.entry.js +13 -38
- package/dist/cjs/justifi-business-form.cjs.entry.js +17 -16
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkout.cjs.entry.js +11 -10
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +32 -9
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -13
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -9
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -14
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -7
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +102 -0
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -9
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -6
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +14 -13
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -9
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +20 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -14
- package/dist/cjs/justifi-refund-form.cjs.entry.js +5 -5
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -9
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +41 -0
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +27 -6
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +15 -20
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +11 -10
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-8b04bef0.js → package-a24ad889.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-b2ff8b68.js → parts-c2655003.js} +32 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +12 -12
- package/dist/cjs/{payment.service-87924c1a.js → payment.service-65fbac72.js} +5 -8
- package/dist/cjs/payments-list-core.cjs.entry.js +17 -16
- package/dist/cjs/{payments-status-ec12ee6a.js → payments-status-92abe577.js} +1 -1
- package/dist/cjs/{payments-table-f3aa174d.js → payments-table-c58e3ca8.js} +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +7 -7
- package/dist/cjs/payouts-list-core.cjs.entry.js +22 -17
- package/dist/cjs/payouts-list-params-state-033b76d6.js +22 -0
- package/dist/cjs/{payouts-status-9f2e9a3a.js → payouts-status-703d62af.js} +1 -1
- package/dist/cjs/{payouts-table-4efa53fa.js → payouts-table-70fc1498.js} +3 -3
- package/dist/cjs/{schema-validations-f948158d.js → schema-validations-47a256f4.js} +1 -1
- package/dist/cjs/{skeleton-0353466d.js → skeleton-84102a44.js} +1 -1
- package/dist/cjs/{spinner-4fc60a51.js → spinner-70f38e5e.js} +1 -1
- package/dist/cjs/{event-types-34b103b4.js → table-fc82fa81.js} +2 -9
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +80 -0
- package/dist/cjs/terminal-orders-table-61081532.js +18 -0
- package/dist/cjs/terminals-list-core.cjs.entry.js +16 -15
- package/dist/cjs/terminals-list-params-state-236f06f6.js +22 -0
- package/dist/cjs/{terminals-table-5e4bce93.js → terminals-table-db58a0c0.js} +3 -3
- package/dist/cjs/{utils-134dda01.js → utils-7c5b2837.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/{api → actions/sub-account}/get-subaccounts.js +2 -3
- package/dist/collection/api/Analytics.js +5 -0
- package/dist/collection/api/Business.js +6 -2
- package/dist/collection/api/Checkout.js +8 -1
- package/dist/collection/api/Payout.js +0 -3
- package/dist/collection/api/Terminal.js +6 -6
- package/dist/collection/api/services/analytics.service.js +1 -2
- package/dist/collection/api/services/business.service.js +7 -8
- package/dist/collection/api/services/checkout.service.js +4 -5
- package/dist/collection/api/services/dispute.service.js +4 -5
- package/dist/collection/api/services/insurance.service.js +2 -3
- package/dist/collection/api/services/payment.service.js +2 -6
- package/dist/collection/api/services/payout.service.js +3 -13
- package/dist/collection/api/services/provision.service.js +1 -2
- package/dist/collection/api/services/reports.service.js +1 -2
- package/dist/collection/api/services/subaccounts.service.js +1 -5
- package/dist/collection/api/services/terminal.service.js +2 -9
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/business-details/business-details.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-form.js +1 -2
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -3
- package/dist/collection/components/checkout/bank-account-form/bank-account-form-skeleton.js +10 -0
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +24 -1
- package/dist/collection/components/checkout/card-form/card-form-skeleton.js +10 -0
- package/dist/collection/components/checkout/card-form/card-form.js +26 -1
- package/dist/collection/components/checkout/checkout.js +5 -6
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +7 -9
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +75 -9
- package/dist/collection/components/checkouts-list/checkouts-list-params-state.js +11 -5
- package/dist/collection/components/checkouts-list/checkouts-list.js +5 -6
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +4 -5
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +3 -4
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +2 -2
- package/dist/collection/components/order-terminals/order-terminals-loading.js +6 -0
- package/dist/collection/components/order-terminals/order-terminals.js +139 -0
- package/dist/collection/components/payment-details/payment-details-core.js +7 -7
- package/dist/collection/components/payment-details/payment-details.js +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +7 -7
- package/dist/collection/components/payments-list/payments-list-filters.js +3 -3
- package/dist/collection/components/payments-list/payments-list.js +4 -5
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- package/dist/collection/components/payout-details/payout-details.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +12 -10
- package/dist/collection/components/payouts-list/payouts-list-filters.js +58 -3
- package/dist/collection/components/payouts-list/payouts-list-params-state.js +11 -5
- package/dist/collection/components/payouts-list/payouts-list.js +5 -6
- package/dist/collection/components/payouts-list/payouts-table.js +1 -1
- package/dist/collection/components/refund-form/refund-form.js +2 -3
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +141 -0
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +113 -0
- package/dist/collection/components/terminal-orders-list/terminal-orders-table.js +11 -0
- package/dist/collection/components/terminals-list/terminals-list-core.js +7 -9
- package/dist/collection/components/terminals-list/terminals-list-filters.js +64 -6
- package/dist/collection/components/terminals-list/terminals-list-params-state.js +11 -5
- package/dist/collection/components/terminals-list/terminals-list.js +5 -6
- package/dist/collection/components/terminals-list/terminals-table.js +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +3 -4
- package/dist/collection/styles/parts.js +19 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +23 -7
- package/dist/docs.json +515 -14
- package/dist/esm/{check-pkg-version-e2273f4f.js → Analytics-c083a998.js} +9 -23
- package/dist/esm/{Api-97801a4b.js → Api-391d00e2.js} +1 -13
- package/dist/esm/{Business-29c69f22.js → Business-0855931c.js} +6 -2
- package/dist/esm/{Checkout-8325c97a.js → Checkout-919eb1ba.js} +9 -2
- package/dist/esm/{ComponentError-3ce7f437.js → ComponentError-c61dce41.js} +1 -1
- package/dist/esm/{SubAccount-a73bf971.js → SubAccount-9aad3891.js} +7 -10
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{badge-938ba4b1.js → badge-2eb79416.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +10 -10
- package/dist/esm/bank-account-form_9.entry.js +79 -6
- package/dist/esm/billing-form_3.entry.js +12 -12
- package/dist/esm/{business-additional-questions-schema-60e9b76a.js → business-additional-questions-schema-df76728f.js} +1 -1
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-form-options-018f62a5.js → business-form-options-86a13078.js} +1 -1
- package/dist/esm/{business-identity-schema-191d85c2.js → business-identity-schema-0a78fc59.js} +1 -1
- package/dist/esm/{business.service-45c7df3c.js → business.service-98709b1e.js} +8 -8
- package/dist/esm/{button-4b3f3934.js → button-cc455199.js} +1 -1
- package/dist/esm/check-pkg-version-6d475fed.js +22 -0
- package/dist/esm/{checkout.service-36e3355e.js → checkout.service-9330c18a.js} +7 -7
- package/dist/esm/checkouts-list-core.entry.js +16 -15
- package/dist/esm/checkouts-list-params-state-7bdf00bd.js +16 -0
- package/dist/esm/{checkouts-table-1634366d.js → checkouts-table-53981285.js} +2 -2
- package/dist/esm/custom-popper_4.entry.js +8 -8
- package/dist/esm/{dispute.service-9b9b87e5.js → dispute.service-a14ac172.js} +8 -8
- package/dist/esm/event-types-0a83d0b4.js +8 -0
- package/dist/esm/form-alert_5.entry.js +3 -3
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-b3d14e92.js → form-control-error-text-74c6b38a.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +4 -4
- package/dist/esm/{form-control-help-text-7b07fc37.js → form-control-help-text-76a4196e.js} +1 -1
- package/dist/esm/form-control-monetary.entry.js +5 -5
- package/dist/esm/form-control-number-masked_2.entry.js +4 -4
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/get-business-464419f6.js +32 -0
- package/dist/esm/{get-payout-csv-80210301.js → get-payout-csv-87cc2147.js} +8 -17
- package/dist/esm/{get-subaccounts-d3eeb85d.js → get-subaccounts-26454771.js} +6 -9
- package/dist/esm/gross-payment-chart-core.entry.js +4 -4
- package/dist/esm/{header-1-4db0c986.js → header-1-797ca789.js} +1 -1
- package/dist/esm/{header-3-fd150ccf.js → header-3-544afa0b.js} +1 -1
- package/dist/esm/{insurance-state-529e2d0d.js → insurance-state-307335d6.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +11 -11
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +12 -12
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-business-details.entry.js +11 -36
- package/dist/esm/justifi-business-form.entry.js +17 -16
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-core.entry.js +7 -7
- package/dist/esm/justifi-checkout.entry.js +12 -11
- package/dist/esm/justifi-checkouts-list-filters.entry.js +32 -9
- package/dist/esm/justifi-checkouts-list.entry.js +15 -14
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +11 -10
- package/dist/esm/justifi-dispute-notification_3.entry.js +16 -15
- package/dist/esm/justifi-gross-payment-chart.entry.js +9 -8
- package/dist/esm/justifi-order-terminals.entry.js +98 -0
- package/dist/esm/justifi-owner-form_3.entry.js +11 -11
- package/dist/esm/justifi-payment-details.entry.js +11 -10
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +9 -8
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +15 -14
- package/dist/esm/justifi-payout-details.entry.js +11 -10
- package/dist/esm/justifi-payouts-list-filters.entry.js +20 -3
- package/dist/esm/justifi-payouts-list.entry.js +16 -15
- package/dist/esm/justifi-refund-form.entry.js +6 -6
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance.entry.js +11 -10
- package/dist/esm/justifi-terminal-orders-list.entry.js +37 -0
- package/dist/esm/justifi-terminals-list-filters.entry.js +27 -6
- package/dist/esm/justifi-terminals-list.entry.js +16 -21
- package/dist/esm/justifi-tokenize-payment-method.entry.js +11 -10
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-a8e8f775.js → package-13968013.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-ab2bb4b5.js → parts-489f0af6.js} +21 -1
- package/dist/esm/payment-details-core.entry.js +12 -12
- package/dist/esm/{payment-provisioning-actions-726795a0.js → payment-provisioning-actions-beadac34.js} +2 -2
- package/dist/esm/{payment.service-c847c1f6.js → payment.service-35bbab8f.js} +6 -9
- package/dist/esm/payments-list-core.entry.js +17 -16
- package/dist/esm/{payments-status-abf1724b.js → payments-status-35255b2c.js} +1 -1
- package/dist/esm/{payments-table-88fbab49.js → payments-table-6e97396a.js} +2 -2
- package/dist/esm/payout-details-core.entry.js +7 -7
- package/dist/esm/payouts-list-core.entry.js +22 -17
- package/dist/esm/payouts-list-params-state-ebcee300.js +16 -0
- package/dist/esm/{payouts-status-d9987a8a.js → payouts-status-a0cc00c5.js} +1 -1
- package/dist/esm/{payouts-table-055d3633.js → payouts-table-6b8ba8f1.js} +3 -3
- package/dist/esm/{schema-validations-38e8bc7b.js → schema-validations-b1aec6a0.js} +1 -1
- package/dist/esm/{skeleton-ee7c3b32.js → skeleton-74fbfb68.js} +1 -1
- package/dist/esm/{spinner-8ec6669a.js → spinner-6b708842.js} +1 -1
- package/dist/esm/{event-types-fd7a05d9.js → table-e287f1c0.js} +3 -10
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +76 -0
- package/dist/esm/terminal-orders-table-765c44d5.js +14 -0
- package/dist/esm/terminals-list-core.entry.js +16 -15
- package/dist/esm/terminals-list-params-state-e4b2ec23.js +16 -0
- package/dist/esm/{terminals-table-2963e65b.js → terminals-table-c6258344.js} +3 -3
- package/dist/esm/{utils-c2dc83b2.js → utils-6c26bccc.js} +1 -1
- package/dist/esm/{utils-b10dae27.js → utils-fd99b806.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +82 -0
- package/dist/module/{config.js → Api.js} +1 -13
- package/dist/module/Business.js +6 -2
- package/dist/module/Checkout.js +9 -2
- package/dist/module/SubAccount.js +7 -10
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/bank-account-form2.js +37 -2
- package/dist/module/business-terms-conditions-form-step.js +3 -3
- package/dist/module/business.service.js +8 -8
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-form2.js +43 -2
- package/dist/module/check-pkg-version.js +1 -75
- package/dist/module/checkout.service.js +4 -4
- package/dist/module/checkouts-list-core2.js +9 -9
- package/dist/module/checkouts-list-params-state.js +11 -5
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +2 -2
- package/dist/module/dispute-response-actions.js +5 -5
- package/dist/module/dispute-response-core.js +2 -2
- package/dist/module/dispute-response.js +4 -4
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- package/dist/module/event-types2.js +1 -55
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/get-business.js +32 -0
- package/dist/module/get-payout-csv.js +4 -13
- package/dist/module/get-subaccounts.js +2 -5
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +6 -7
- package/dist/module/justifi-business-details.js +4 -31
- package/dist/module/justifi-business-form.js +4 -3
- package/dist/module/justifi-checkout.js +5 -5
- package/dist/module/justifi-checkouts-list-filters.js +34 -10
- package/dist/module/justifi-checkouts-list.js +4 -4
- package/dist/module/justifi-dispute-management.js +4 -4
- package/dist/module/justifi-gross-payment-chart.js +4 -3
- package/dist/module/justifi-order-terminals.d.ts +11 -0
- package/dist/module/justifi-order-terminals.js +119 -0
- package/dist/module/justifi-payment-details.js +2 -1
- package/dist/module/justifi-payment-provisioning.js +4 -3
- package/dist/module/justifi-payments-list-filters.js +3 -3
- package/dist/module/justifi-payments-list.js +4 -4
- package/dist/module/justifi-payout-details.js +2 -1
- package/dist/module/justifi-payouts-list-filters.js +24 -4
- package/dist/module/justifi-payouts-list.js +4 -4
- package/dist/module/justifi-refund-form.js +3 -3
- package/dist/module/justifi-season-interruption-insurance.js +6 -5
- package/dist/module/justifi-terminal-orders-list.d.ts +11 -0
- package/dist/module/justifi-terminal-orders-list.js +73 -0
- package/dist/module/justifi-terminals-list-filters.js +29 -7
- package/dist/module/justifi-terminals-list.js +7 -12
- package/dist/module/justifi-tokenize-payment-method.js +4 -4
- package/dist/module/package.js +1 -1
- package/dist/module/parts.js +21 -1
- package/dist/module/payment-details-core2.js +7 -7
- package/dist/module/payment.service.js +3 -6
- package/dist/module/payments-list-core2.js +9 -8
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payouts-list-core2.js +15 -11
- package/dist/module/payouts-list-params-state.js +11 -5
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/table.js +55 -0
- package/dist/module/terminal-orders-list-core.d.ts +11 -0
- package/dist/module/terminal-orders-list-core.js +6 -0
- package/dist/module/terminal-orders-list-core2.js +117 -0
- package/dist/module/terminals-list-core2.js +10 -10
- package/dist/module/terminals-list-params-state.js +11 -5
- package/dist/types/api/Business.d.ts +4 -4
- package/dist/types/api/Checkout.d.ts +6 -1
- package/dist/types/api/Payout.d.ts +0 -1
- package/dist/types/api/Terminal.d.ts +6 -12
- package/dist/types/components/checkout/bank-account-form/bank-account-form-skeleton.d.ts +6 -0
- package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +2 -0
- package/dist/types/components/checkout/card-form/card-form-skeleton.d.ts +6 -0
- package/dist/types/components/checkout/card-form/card-form.d.ts +2 -0
- package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +1 -1
- package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +5 -2
- package/dist/types/components/checkouts-list/checkouts-list-params-state.d.ts +4 -3
- package/dist/types/components/order-terminals/order-terminals-loading.d.ts +1 -0
- package/dist/types/components/order-terminals/order-terminals.d.ts +16 -0
- package/dist/types/components/payments-list/payments-list-core.d.ts +1 -1
- package/dist/types/components/payouts-list/payouts-list-core.d.ts +1 -1
- package/dist/types/components/payouts-list/payouts-list-filters.d.ts +3 -0
- package/dist/types/components/payouts-list/payouts-list-params-state.d.ts +4 -3
- package/dist/types/components/terminal-orders-list/terminal-orders-list-core.d.ts +25 -0
- package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +11 -0
- package/dist/types/components/terminal-orders-list/terminal-orders-table.d.ts +9 -0
- package/dist/types/components/terminals-list/terminals-list-core.d.ts +1 -1
- package/dist/types/components/terminals-list/terminals-list-filters.d.ts +4 -1
- package/dist/types/components/terminals-list/terminals-list-params-state.d.ts +4 -3
- package/dist/types/components.d.ts +117 -2
- package/dist/types/styles/parts.d.ts +14 -0
- package/dist/types/ui-components/form/iframe-input.d.ts +2 -1
- package/dist/webcomponents/p-020e7d5d.entry.js +1 -0
- package/dist/webcomponents/{p-0f6ae5ea.entry.js → p-060896c4.entry.js} +1 -1
- package/dist/webcomponents/{p-298e290e.js → p-06f5b709.js} +1 -1
- package/dist/webcomponents/p-092515e0.js +1 -0
- package/dist/webcomponents/{p-94eba309.js → p-09496255.js} +1 -1
- package/dist/webcomponents/p-0b38cfbf.js +1 -0
- package/dist/webcomponents/p-0c768ac5.entry.js +1 -0
- package/dist/webcomponents/p-0e180654.js +1 -0
- package/dist/webcomponents/p-0f0c5556.entry.js +1 -0
- package/dist/webcomponents/{p-f19f9f61.js → p-1278dedf.js} +1 -1
- package/dist/webcomponents/p-15675401.entry.js +1 -0
- package/dist/webcomponents/p-185181a8.js +1 -0
- package/dist/webcomponents/{p-5bf4535a.entry.js → p-19063270.entry.js} +1 -1
- package/dist/webcomponents/p-1906c67d.entry.js +1 -0
- package/dist/webcomponents/p-1a2eea29.entry.js +1 -0
- package/dist/webcomponents/p-1f4e26f3.entry.js +1 -0
- package/dist/webcomponents/p-1f99a902.js +1 -0
- package/dist/webcomponents/{p-bada4783.entry.js → p-235abbd1.entry.js} +1 -1
- package/dist/webcomponents/p-245819b0.entry.js +1 -0
- package/dist/webcomponents/p-26864218.entry.js +1 -0
- package/dist/webcomponents/p-27c72b92.entry.js +1 -0
- package/dist/webcomponents/p-2e0ae487.js +1 -0
- package/dist/webcomponents/p-2f9af679.js +1 -0
- package/dist/webcomponents/{p-21431a04.js → p-300a99ee.js} +1 -1
- package/dist/webcomponents/p-309dc8aa.js +1 -0
- package/dist/webcomponents/p-32ca779f.js +1 -0
- package/dist/webcomponents/p-375b4d2c.entry.js +1 -0
- package/dist/webcomponents/p-37b7b200.entry.js +1 -0
- package/dist/webcomponents/p-389e1eb7.js +1 -0
- package/dist/webcomponents/p-3a7a2a64.entry.js +1 -0
- package/dist/webcomponents/p-3ab7a49e.entry.js +1 -0
- package/dist/webcomponents/{p-938993c7.js → p-3b680e50.js} +1 -1
- package/dist/webcomponents/p-3bb21097.entry.js +1 -0
- package/dist/webcomponents/p-3d486f37.entry.js +1 -0
- package/dist/webcomponents/p-42a48c59.js +1 -0
- package/dist/webcomponents/p-45bf8573.js +1 -0
- package/dist/webcomponents/p-49df4962.entry.js +1 -0
- package/dist/webcomponents/{p-ab1504b6.entry.js → p-4a71c90b.entry.js} +1 -1
- package/dist/webcomponents/{p-b0b40bcd.js → p-4acf8ca2.js} +1 -1
- package/dist/webcomponents/p-4b6256e0.entry.js +1 -0
- package/dist/webcomponents/p-553dba95.entry.js +1 -0
- package/dist/webcomponents/p-595479da.entry.js +1 -0
- package/dist/webcomponents/p-5a96a2a2.entry.js +1 -0
- package/dist/webcomponents/{p-275f2154.js → p-5d1d2fd7.js} +1 -1
- package/dist/webcomponents/p-61b5417f.entry.js +1 -0
- package/dist/webcomponents/p-66ae2a0e.entry.js +1 -0
- package/dist/webcomponents/p-69242bad.entry.js +1 -0
- package/dist/webcomponents/p-73b98298.entry.js +1 -0
- package/dist/webcomponents/p-78a204f9.entry.js +1 -0
- package/dist/webcomponents/p-794cce10.entry.js +1 -0
- package/dist/webcomponents/{p-b2edb944.js → p-7bf21156.js} +1 -1
- package/dist/webcomponents/p-7c541199.entry.js +1 -0
- package/dist/webcomponents/p-7ee5a90e.entry.js +1 -0
- package/dist/webcomponents/p-87a7c3aa.js +1 -0
- package/dist/webcomponents/{p-8115b2f4.js → p-87f8c596.js} +1 -1
- package/dist/webcomponents/{p-5afefc50.entry.js → p-89ecfbf4.entry.js} +2 -2
- package/dist/webcomponents/{p-3e716e03.js → p-8a7266b4.js} +1 -1
- package/dist/webcomponents/{p-8f25f016.js → p-8b16a20f.js} +1 -1
- package/dist/webcomponents/p-8bedece0.entry.js +1 -0
- package/dist/webcomponents/{p-e63fdbca.js → p-906a6027.js} +1 -1
- package/dist/webcomponents/p-939d0a35.entry.js +1 -0
- package/dist/webcomponents/{p-27c8ffa2.js → p-95e55bb1.js} +1 -1
- package/dist/webcomponents/p-95fbb4b0.entry.js +1 -0
- package/dist/webcomponents/p-9a4d0e1d.entry.js +1 -0
- package/dist/webcomponents/{p-14c91ffd.js → p-9dd8685c.js} +1 -1
- package/dist/webcomponents/p-9edd6ad8.js +1 -0
- package/dist/webcomponents/p-a0082e77.entry.js +1 -0
- package/dist/webcomponents/{p-1820fd87.entry.js → p-a31ba276.entry.js} +1 -1
- package/dist/webcomponents/p-a90d8f4f.entry.js +1 -0
- package/dist/webcomponents/p-ab45511e.js +1 -0
- package/dist/webcomponents/p-b1aa7d2b.entry.js +1 -0
- package/dist/webcomponents/p-b2d57b2c.entry.js +1 -0
- package/dist/webcomponents/p-b7084adc.js +1 -0
- package/dist/webcomponents/{p-f2f2e20e.js → p-b84ee6d8.js} +1 -1
- package/dist/webcomponents/p-c4ca0038.js +1 -0
- package/dist/webcomponents/p-c78b5581.js +1 -0
- package/dist/webcomponents/{p-0ea387a2.js → p-c9b78275.js} +1 -1
- package/dist/webcomponents/p-cba89310.entry.js +1 -0
- package/dist/webcomponents/p-cbb6cc19.js +1 -0
- package/dist/webcomponents/p-cbe05f11.js +1 -0
- package/dist/webcomponents/p-cc552f59.entry.js +1 -0
- package/dist/webcomponents/p-d398ce81.js +1 -0
- package/dist/webcomponents/p-d432f0fd.entry.js +1 -0
- package/dist/webcomponents/{p-849c68e5.js → p-d43a38a4.js} +1 -1
- package/dist/webcomponents/p-d5c41ec6.js +1 -0
- package/dist/webcomponents/{p-db37b175.entry.js → p-e007002a.entry.js} +1 -1
- package/dist/webcomponents/p-e15f749c.entry.js +1 -0
- package/dist/webcomponents/{p-1882d7d6.entry.js → p-e3e0d791.entry.js} +1 -1
- package/dist/webcomponents/p-e8cd9691.js +1 -0
- package/dist/webcomponents/{p-5baec916.entry.js → p-e8fc36c1.entry.js} +1 -1
- package/dist/webcomponents/p-e9e80a62.js +1 -0
- package/dist/webcomponents/{p-2710884e.entry.js → p-ea0f2446.entry.js} +1 -1
- package/dist/webcomponents/p-ebbe93ac.entry.js +1 -0
- package/dist/webcomponents/p-ec019b89.js +1 -0
- package/dist/webcomponents/p-edae0bb0.entry.js +1 -0
- package/dist/webcomponents/p-f162c569.entry.js +1 -0
- package/dist/webcomponents/p-f30cb232.js +1 -0
- package/dist/webcomponents/p-f4739d31.js +1 -0
- package/dist/webcomponents/{p-facada09.entry.js → p-f7d9ea0b.entry.js} +1 -1
- package/dist/webcomponents/{p-3e0f3d87.entry.js → p-fea43254.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/checkouts-list-params-state-418c75a3.js +0 -14
- package/dist/cjs/payouts-list-params-state-16348184.js +0 -14
- package/dist/cjs/terminals-list-params-state-95ff6a64.js +0 -14
- package/dist/config.js +0 -11
- package/dist/esm/checkouts-list-params-state-1d968971.js +0 -10
- package/dist/esm/payouts-list-params-state-49618e7a.js +0 -10
- package/dist/esm/terminals-list-params-state-2c48d35f.js +0 -10
- package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/config.d.ts +0 -11
- package/dist/webcomponents/p-01d4e35a.js +0 -1
- package/dist/webcomponents/p-02d36485.entry.js +0 -1
- package/dist/webcomponents/p-045d4ebf.entry.js +0 -1
- package/dist/webcomponents/p-08d87a52.entry.js +0 -1
- package/dist/webcomponents/p-0e68b7d6.entry.js +0 -1
- package/dist/webcomponents/p-131db5d1.entry.js +0 -1
- package/dist/webcomponents/p-1603fe4d.js +0 -1
- package/dist/webcomponents/p-16ba9bea.js +0 -1
- package/dist/webcomponents/p-18a7a9e6.entry.js +0 -1
- package/dist/webcomponents/p-1e8a1e01.entry.js +0 -1
- package/dist/webcomponents/p-25c9c88c.entry.js +0 -1
- package/dist/webcomponents/p-2916bb62.entry.js +0 -1
- package/dist/webcomponents/p-2f94d478.entry.js +0 -1
- package/dist/webcomponents/p-31e2d12c.entry.js +0 -1
- package/dist/webcomponents/p-35b00a0d.js +0 -1
- package/dist/webcomponents/p-39696abd.entry.js +0 -1
- package/dist/webcomponents/p-40e23b13.js +0 -1
- package/dist/webcomponents/p-40eabfca.entry.js +0 -1
- package/dist/webcomponents/p-44d2c762.entry.js +0 -1
- package/dist/webcomponents/p-4810f227.entry.js +0 -1
- package/dist/webcomponents/p-485814d8.entry.js +0 -1
- package/dist/webcomponents/p-4bad3621.js +0 -1
- package/dist/webcomponents/p-57206dc4.entry.js +0 -1
- package/dist/webcomponents/p-58f5e37b.entry.js +0 -1
- package/dist/webcomponents/p-5b72bab7.js +0 -1
- package/dist/webcomponents/p-62696f63.entry.js +0 -1
- package/dist/webcomponents/p-63a8b08f.entry.js +0 -1
- package/dist/webcomponents/p-63caad6e.entry.js +0 -1
- package/dist/webcomponents/p-66b6c56b.js +0 -1
- package/dist/webcomponents/p-67b75e01.entry.js +0 -1
- package/dist/webcomponents/p-68bf1a1d.entry.js +0 -1
- package/dist/webcomponents/p-6d2c8be2.entry.js +0 -1
- package/dist/webcomponents/p-72992c97.entry.js +0 -1
- package/dist/webcomponents/p-7b04f492.entry.js +0 -1
- package/dist/webcomponents/p-7bcec768.entry.js +0 -1
- package/dist/webcomponents/p-7c31ec70.js +0 -1
- package/dist/webcomponents/p-8da3667c.js +0 -1
- package/dist/webcomponents/p-933537ca.js +0 -1
- package/dist/webcomponents/p-9540d2f2.js +0 -1
- package/dist/webcomponents/p-960a8ec2.js +0 -1
- package/dist/webcomponents/p-98dad117.entry.js +0 -1
- package/dist/webcomponents/p-9ad6e792.entry.js +0 -1
- package/dist/webcomponents/p-9f773228.js +0 -1
- package/dist/webcomponents/p-a2076a0e.js +0 -1
- package/dist/webcomponents/p-a47c14cb.entry.js +0 -1
- package/dist/webcomponents/p-aa02cf71.js +0 -1
- package/dist/webcomponents/p-b01405ab.entry.js +0 -1
- package/dist/webcomponents/p-b15ad5df.js +0 -1
- package/dist/webcomponents/p-b2209632.entry.js +0 -1
- package/dist/webcomponents/p-b6e90400.entry.js +0 -1
- package/dist/webcomponents/p-c75481bf.entry.js +0 -1
- package/dist/webcomponents/p-d0bde1cb.js +0 -1
- package/dist/webcomponents/p-d8c04275.js +0 -1
- package/dist/webcomponents/p-dd867d1f.js +0 -1
- package/dist/webcomponents/p-ddcd2ff7.entry.js +0 -1
- package/dist/webcomponents/p-e22df884.entry.js +0 -1
- package/dist/webcomponents/p-e8c3c23f.js +0 -1
- package/dist/webcomponents/p-e8d0f978.entry.js +0 -1
- package/dist/webcomponents/p-f0c0cbc8.entry.js +0 -1
- package/dist/webcomponents/p-f694e1c8.js +0 -1
- package/dist/webcomponents/p-fa2b405c.entry.js +0 -1
- package/dist/webcomponents/p-fbe16023.entry.js +0 -1
- package/dist/webcomponents/p-fdbcd486.js +0 -1
- package/dist/webcomponents/p-ff955a18.entry.js +0 -1
- /package/dist/collection/{components/business-details → actions/business}/get-business.js +0 -0
- /package/dist/collection/{components → actions}/checkout/checkout-actions.js +0 -0
- /package/dist/collection/{components/checkouts-list → actions/checkout}/get-checkouts.js +0 -0
- /package/dist/collection/{components/dispute-management → actions/dispute}/dispute-actions.js +0 -0
- /package/dist/collection/{components/gross-payment-chart → actions/gross-payment}/get-gross-payment-chart-data.js +0 -0
- /package/dist/collection/{components → actions}/insurance/insurance-actions.js +0 -0
- /package/dist/collection/{components/payment-details → actions/payment}/get-payment-details.js +0 -0
- /package/dist/collection/{components/payments-list → actions/payment}/get-payments.js +0 -0
- /package/dist/collection/{components/payout-details → actions/payout}/get-payout-details.js +0 -0
- /package/dist/collection/{components/payouts-list → actions/payout}/get-payouts.js +0 -0
- /package/dist/collection/{components/terminals-list → actions/terminal}/get-terminal-detail.js +0 -0
- /package/dist/collection/{components/terminals-list → actions/terminal}/get-terminals.js +0 -0
- /package/dist/types/{components/business-details → actions/business}/get-business.d.ts +0 -0
- /package/dist/types/{components → actions}/checkout/checkout-actions.d.ts +0 -0
- /package/dist/types/{components/checkouts-list → actions/checkout}/get-checkouts.d.ts +0 -0
- /package/dist/types/{components/dispute-management → actions/dispute}/dispute-actions.d.ts +0 -0
- /package/dist/types/{components/gross-payment-chart → actions/gross-payment}/get-gross-payment-chart-data.d.ts +0 -0
- /package/dist/types/{components → actions}/insurance/insurance-actions.d.ts +0 -0
- /package/dist/types/{components/payment-details → actions/payment}/get-payment-details.d.ts +0 -0
- /package/dist/types/{components/payments-list → actions/payment}/get-payments.d.ts +0 -0
- /package/dist/types/{components/payout-details → actions/payout}/get-payout-details.d.ts +0 -0
- /package/dist/types/{components/payouts-list → actions/payout}/get-payouts.d.ts +0 -0
- /package/dist/types/{api → actions/sub-account}/get-subaccounts.d.ts +0 -0
- /package/dist/types/{components/terminals-list → actions/terminal}/get-terminal-detail.d.ts +0 -0
- /package/dist/types/{components/terminals-list → actions/terminal}/get-terminals.d.ts +0 -0
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { StyledHost } from "../../ui-components";
|
|
3
|
+
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
4
|
+
import { defaultColumnsKeys } from "./terminal-orders-table";
|
|
5
|
+
export class TerminalOrdersList {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.getTerminalOrders = undefined;
|
|
8
|
+
this.errorMessage = null;
|
|
9
|
+
this.businessId = undefined;
|
|
10
|
+
this.authToken = undefined;
|
|
11
|
+
this.apiOrigin = PROXY_API_ORIGIN;
|
|
12
|
+
this.columns = defaultColumnsKeys;
|
|
13
|
+
}
|
|
14
|
+
componentWillLoad() {
|
|
15
|
+
checkPkgVersion();
|
|
16
|
+
this.initializeGetTerminalOrders();
|
|
17
|
+
}
|
|
18
|
+
initializeGetTerminalOrders() {
|
|
19
|
+
if (this.businessId && this.authToken) {
|
|
20
|
+
this.getTerminalOrders = () => {
|
|
21
|
+
console.log('getTerminalOrders');
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
this.errorMessage = 'Business ID and Auth Token are required';
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
render() {
|
|
29
|
+
return (h(StyledHost, { key: '54ebb6b9b12b123caaa6d5190d0a1c6c2198d3e3' }, h("terminal-orders-list-core", { key: '99376fd9a6b5657d8777a4873f16b98a4bcf03cf', getTerminalOrders: this.getTerminalOrders, columns: this.columns })));
|
|
30
|
+
}
|
|
31
|
+
static get is() { return "justifi-terminal-orders-list"; }
|
|
32
|
+
static get encapsulation() { return "shadow"; }
|
|
33
|
+
static get properties() {
|
|
34
|
+
return {
|
|
35
|
+
"businessId": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"mutable": false,
|
|
38
|
+
"complexType": {
|
|
39
|
+
"original": "string",
|
|
40
|
+
"resolved": "string",
|
|
41
|
+
"references": {}
|
|
42
|
+
},
|
|
43
|
+
"required": false,
|
|
44
|
+
"optional": false,
|
|
45
|
+
"docs": {
|
|
46
|
+
"tags": [],
|
|
47
|
+
"text": ""
|
|
48
|
+
},
|
|
49
|
+
"attribute": "business-id",
|
|
50
|
+
"reflect": false
|
|
51
|
+
},
|
|
52
|
+
"authToken": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"mutable": false,
|
|
55
|
+
"complexType": {
|
|
56
|
+
"original": "string",
|
|
57
|
+
"resolved": "string",
|
|
58
|
+
"references": {}
|
|
59
|
+
},
|
|
60
|
+
"required": false,
|
|
61
|
+
"optional": false,
|
|
62
|
+
"docs": {
|
|
63
|
+
"tags": [],
|
|
64
|
+
"text": ""
|
|
65
|
+
},
|
|
66
|
+
"attribute": "auth-token",
|
|
67
|
+
"reflect": false
|
|
68
|
+
},
|
|
69
|
+
"apiOrigin": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"mutable": false,
|
|
72
|
+
"complexType": {
|
|
73
|
+
"original": "string",
|
|
74
|
+
"resolved": "string",
|
|
75
|
+
"references": {}
|
|
76
|
+
},
|
|
77
|
+
"required": false,
|
|
78
|
+
"optional": true,
|
|
79
|
+
"docs": {
|
|
80
|
+
"tags": [],
|
|
81
|
+
"text": ""
|
|
82
|
+
},
|
|
83
|
+
"attribute": "api-origin",
|
|
84
|
+
"reflect": false,
|
|
85
|
+
"defaultValue": "PROXY_API_ORIGIN"
|
|
86
|
+
},
|
|
87
|
+
"columns": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"mutable": false,
|
|
90
|
+
"complexType": {
|
|
91
|
+
"original": "string",
|
|
92
|
+
"resolved": "string",
|
|
93
|
+
"references": {}
|
|
94
|
+
},
|
|
95
|
+
"required": false,
|
|
96
|
+
"optional": true,
|
|
97
|
+
"docs": {
|
|
98
|
+
"tags": [],
|
|
99
|
+
"text": ""
|
|
100
|
+
},
|
|
101
|
+
"attribute": "columns",
|
|
102
|
+
"reflect": false,
|
|
103
|
+
"defaultValue": "defaultColumnsKeys"
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
static get states() {
|
|
108
|
+
return {
|
|
109
|
+
"getTerminalOrders": {},
|
|
110
|
+
"errorMessage": {}
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { getAlternateTableCellPart, tableHeadCell } from "../../styles/parts";
|
|
3
|
+
export const defaultColumnsKeys = 'id,status';
|
|
4
|
+
export const terminalOrdersTableColumns = {
|
|
5
|
+
id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The ID of the terminal order" }, "ID")),
|
|
6
|
+
status: () => (h("th", { part: tableHeadCell, scope: "col", title: "The status of the terminal order" }, "Status")),
|
|
7
|
+
};
|
|
8
|
+
export const terminalOrdersTableCells = {
|
|
9
|
+
id: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.id)),
|
|
10
|
+
status: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.status)),
|
|
11
|
+
};
|
|
@@ -3,7 +3,7 @@ import { pagingDefaults } from "../../api";
|
|
|
3
3
|
import { TableEmptyState, TableErrorState, TableLoadingState } from "../../ui-components";
|
|
4
4
|
import { terminalTableColumns, terminalTableCells } from "./terminals-table";
|
|
5
5
|
import { Table } from "../../utils/table";
|
|
6
|
-
import {
|
|
6
|
+
import { getRequestParams, onQueryParamsChange } from "./terminals-list-params-state";
|
|
7
7
|
import { table, tableCell } from "../../styles/parts";
|
|
8
8
|
import { TableClickActions } from "../../ui-components/table/event-types";
|
|
9
9
|
export class TerminalsListCore {
|
|
@@ -53,7 +53,7 @@ export class TerminalsListCore {
|
|
|
53
53
|
fetchData() {
|
|
54
54
|
this.loading = true;
|
|
55
55
|
this.getTerminals({
|
|
56
|
-
params: this.
|
|
56
|
+
params: this.terminalParams,
|
|
57
57
|
onSuccess: async ({ terminals, pagingInfo }) => {
|
|
58
58
|
this.terminals = terminals;
|
|
59
59
|
this.paging = pagingInfo;
|
|
@@ -100,9 +100,10 @@ export class TerminalsListCore {
|
|
|
100
100
|
},
|
|
101
101
|
});
|
|
102
102
|
}
|
|
103
|
-
get
|
|
104
|
-
const
|
|
105
|
-
|
|
103
|
+
get terminalParams() {
|
|
104
|
+
const requestParams = getRequestParams();
|
|
105
|
+
const params = Object.assign(Object.assign({}, requestParams), this.pagingParams);
|
|
106
|
+
return params;
|
|
106
107
|
}
|
|
107
108
|
get subAccountParams() {
|
|
108
109
|
let accountIdNumbers = this.terminals.map((terminal) => terminal.account_id);
|
|
@@ -123,7 +124,7 @@ export class TerminalsListCore {
|
|
|
123
124
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
124
125
|
}
|
|
125
126
|
render() {
|
|
126
|
-
return (h("div", { key: '
|
|
127
|
+
return (h("div", { key: '074b9925b7092b69d4073b86e926bc6e627ba8cd' }, h("div", { key: '195acd38db8ecc931e86e517a5e626ced44ce66f', class: "table-wrapper" }, h("table", { key: '6534aba9b68490de5a7bd03d9760021db02e3f61', class: "table table-hover", part: table }, h("thead", { key: 'bf8dc807e1b31ed1e8040f952b5bfc3cfa77116d', class: "table-head sticky-top" }, h("tr", { key: 'b6828dbb38504d1f410f4c1199ea12d03b66292a', class: "table-light text-nowrap" }, this.terminalsTable.columnData.map((column) => column))), h("tbody", { key: '2080463e7f6ac9995b30e38e52f1650f75983dab', class: "table-body" }, h(TableLoadingState, { key: '36b61e1fb8c23dea61aa3a41b2749f80dbfb34bb', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'c2a11b7e3ebb37538522026854faf3f10e405271', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: 'a40dd753552ee8ad3fae2655a4e890e67a8c14f0', 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 }, data)))), this.paging && (h("tfoot", { key: '0af6b6aefe2160a36e773deabed1c6d006d0cde2', class: "sticky-bottom" }, h("tr", { key: '8576eee95c757c41d6b0a6838933e9c123f519d3', class: "table-light align-middle" }, h("td", { key: '87ca55905ecb734ddb059dce080256af6a7f1be1', part: tableCell, colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '08f29c2415998948e4dc020487fe10215bf10c3d', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
127
128
|
}
|
|
128
129
|
static get is() { return "terminals-list-core"; }
|
|
129
130
|
static get properties() {
|
|
@@ -245,9 +246,6 @@ export class TerminalsListCore {
|
|
|
245
246
|
}
|
|
246
247
|
static get watchers() {
|
|
247
248
|
return [{
|
|
248
|
-
"propName": "queryParams",
|
|
249
|
-
"methodName": "updateOnPropChange"
|
|
250
|
-
}, {
|
|
251
249
|
"propName": "pagingParams",
|
|
252
250
|
"methodName": "updateOnPropChange"
|
|
253
251
|
}, {
|
|
@@ -1,28 +1,86 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { debounce } from "lodash";
|
|
3
|
-
import {
|
|
3
|
+
import { filterParams, propsParams, clearParams } from "./terminals-list-params-state";
|
|
4
4
|
import { StyledHost } from "../../ui-components";
|
|
5
|
+
import { ITerminalStatus } from "../../api";
|
|
6
|
+
import { terminalsListFilterMenu, terminalIdTerminalsListFilterParam, terminalStatusTerminalsListFilterParam } from "../../styles/parts";
|
|
5
7
|
export class TerminalsListFilters {
|
|
6
8
|
constructor() {
|
|
7
9
|
this.setParamsOnChange = (name, value) => {
|
|
8
|
-
|
|
10
|
+
filterParams[name] = value;
|
|
9
11
|
};
|
|
12
|
+
this.terminalId = undefined;
|
|
13
|
+
this.terminalStatus = undefined;
|
|
10
14
|
}
|
|
11
15
|
componentWillLoad() {
|
|
12
16
|
// debounced input handler for text input
|
|
13
17
|
this.debouncedSetParamsOnChange = debounce(this.setParamsOnChange, 300);
|
|
18
|
+
const propsToSet = {
|
|
19
|
+
terminal_id: this.terminalId,
|
|
20
|
+
status: this.terminalStatus,
|
|
21
|
+
};
|
|
22
|
+
Object.entries(propsToSet).forEach(([key, value]) => {
|
|
23
|
+
if (value) {
|
|
24
|
+
propsParams[key] = value;
|
|
25
|
+
}
|
|
26
|
+
});
|
|
14
27
|
}
|
|
15
28
|
get terminalStatusOptions() {
|
|
16
29
|
return [
|
|
17
30
|
{ label: 'All', value: '' },
|
|
18
|
-
{ label: 'Connected', value:
|
|
19
|
-
{ label: 'Disconnected', value:
|
|
20
|
-
{ label: 'Unknown', value:
|
|
31
|
+
{ label: 'Connected', value: ITerminalStatus.connected },
|
|
32
|
+
{ label: 'Disconnected', value: ITerminalStatus.disconnected },
|
|
33
|
+
{ label: 'Unknown', value: ITerminalStatus.unknown },
|
|
21
34
|
];
|
|
22
35
|
}
|
|
23
36
|
render() {
|
|
24
|
-
|
|
37
|
+
const filterMenuParams = Object.assign({}, filterParams);
|
|
38
|
+
return (h(StyledHost, { key: '9e55f56855ebf7f0755c5750bfe4ae57bcc2a48e' }, h("table-filters-menu", { key: 'dae12779f49c3264cb3a5362cc4e4edc2aa6447c', params: filterMenuParams, clearParams: clearParams, part: terminalsListFilterMenu }, h("div", { key: '9767d61b94a7de6bc290a1dc97e5ecdb7e75beb8', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'cab20a5aab288920f205835c4343b44502cc4a1e', class: "p-2" }, h("form-control-text", { key: '58600a426dded8a9efc05e444439c36e3eab5bc8', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdTerminalsListFilterParam })), h("div", { key: '81f513ae03435ea2c97e43f460aab430ebd4a490', class: "p-2" }, h("form-control-select", { key: 'ee04592e4f117f7b58984932d10081a4383d7a65', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status, disabled: !!this.terminalStatus, part: terminalStatusTerminalsListFilterParam }))))));
|
|
25
39
|
}
|
|
26
40
|
static get is() { return "justifi-terminals-list-filters"; }
|
|
27
41
|
static get encapsulation() { return "shadow"; }
|
|
42
|
+
static get properties() {
|
|
43
|
+
return {
|
|
44
|
+
"terminalId": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"mutable": false,
|
|
47
|
+
"complexType": {
|
|
48
|
+
"original": "string",
|
|
49
|
+
"resolved": "string",
|
|
50
|
+
"references": {}
|
|
51
|
+
},
|
|
52
|
+
"required": false,
|
|
53
|
+
"optional": true,
|
|
54
|
+
"docs": {
|
|
55
|
+
"tags": [],
|
|
56
|
+
"text": ""
|
|
57
|
+
},
|
|
58
|
+
"attribute": "terminal-id",
|
|
59
|
+
"reflect": false
|
|
60
|
+
},
|
|
61
|
+
"terminalStatus": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"mutable": false,
|
|
64
|
+
"complexType": {
|
|
65
|
+
"original": "ITerminalStatus",
|
|
66
|
+
"resolved": "ITerminalStatus.connected | ITerminalStatus.disconnected | ITerminalStatus.unknown",
|
|
67
|
+
"references": {
|
|
68
|
+
"ITerminalStatus": {
|
|
69
|
+
"location": "import",
|
|
70
|
+
"path": "../../api",
|
|
71
|
+
"id": "src/api/index.ts::ITerminalStatus"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"required": false,
|
|
76
|
+
"optional": true,
|
|
77
|
+
"docs": {
|
|
78
|
+
"tags": [],
|
|
79
|
+
"text": ""
|
|
80
|
+
},
|
|
81
|
+
"attribute": "terminal-status",
|
|
82
|
+
"reflect": false
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
}
|
|
28
86
|
}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { createStore } from "@stencil/store";
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
2
|
+
const filterParamsInitialState = {};
|
|
3
|
+
const propsParamsInitialState = {};
|
|
4
|
+
const filterParamsStore = createStore(() => filterParamsInitialState);
|
|
5
|
+
const { state: filterParams, on: onQueryParamsChange } = filterParamsStore;
|
|
6
|
+
const propsParamsStore = createStore(() => propsParamsInitialState);
|
|
7
|
+
const { state: propsParams } = propsParamsStore;
|
|
8
|
+
const getRequestParams = () => {
|
|
9
|
+
return Object.assign(Object.assign({}, filterParams), propsParams);
|
|
10
|
+
};
|
|
5
11
|
const clearParams = () => {
|
|
6
|
-
|
|
12
|
+
filterParamsStore.reset();
|
|
7
13
|
};
|
|
8
|
-
export {
|
|
14
|
+
export { filterParams, propsParams, onQueryParamsChange, clearParams, getRequestParams };
|
|
@@ -2,13 +2,12 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
|
|
3
3
|
import JustifiAnalytics from "../../api/Analytics";
|
|
4
4
|
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
5
|
-
import { config } from "../../../config";
|
|
6
5
|
import { TerminalService } from "../../api/services/terminal.service";
|
|
7
|
-
import { makeGetTerminals } from "
|
|
6
|
+
import { makeGetTerminals } from "../../actions/terminal/get-terminals";
|
|
8
7
|
import { SubAccountService } from "../../api/services/subaccounts.service";
|
|
9
|
-
import { makeGetSubAccounts } from "../../api/get-subaccounts";
|
|
10
8
|
import { StyledHost } from "../../ui-components";
|
|
11
9
|
import { defaultColumnsKeys } from "./terminals-table";
|
|
10
|
+
import { makeGetSubAccounts } from "../../actions/sub-account/get-subaccounts";
|
|
12
11
|
export class TerminalsList {
|
|
13
12
|
constructor() {
|
|
14
13
|
this.handleErrorEvent = (event) => {
|
|
@@ -20,7 +19,7 @@ export class TerminalsList {
|
|
|
20
19
|
this.errorMessage = null;
|
|
21
20
|
this.accountId = undefined;
|
|
22
21
|
this.authToken = undefined;
|
|
23
|
-
this.apiOrigin =
|
|
22
|
+
this.apiOrigin = PROXY_API_ORIGIN;
|
|
24
23
|
this.columns = defaultColumnsKeys;
|
|
25
24
|
}
|
|
26
25
|
componentWillLoad() {
|
|
@@ -67,7 +66,7 @@ export class TerminalsList {
|
|
|
67
66
|
}
|
|
68
67
|
}
|
|
69
68
|
render() {
|
|
70
|
-
return (h(StyledHost, { key: '
|
|
69
|
+
return (h(StyledHost, { key: '1534781e6264057b7c780e6b44f4a7a66a561296' }, h("terminals-list-core", { key: '8c0fb664d5ebe4fedcf6e45046e931adffb9d381', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
71
70
|
}
|
|
72
71
|
static get is() { return "justifi-terminals-list"; }
|
|
73
72
|
static get encapsulation() { return "shadow"; }
|
|
@@ -123,7 +122,7 @@ export class TerminalsList {
|
|
|
123
122
|
},
|
|
124
123
|
"attribute": "api-origin",
|
|
125
124
|
"reflect": false,
|
|
126
|
-
"defaultValue": "
|
|
125
|
+
"defaultValue": "PROXY_API_ORIGIN"
|
|
127
126
|
},
|
|
128
127
|
"columns": {
|
|
129
128
|
"type": "string",
|
|
@@ -4,7 +4,7 @@ import { getAlternateTableCellPart, tableHeadCell } from "../../styles/parts";
|
|
|
4
4
|
export const defaultColumnsKeys = 'nickname,provider_id,status';
|
|
5
5
|
export const terminalTableColumns = {
|
|
6
6
|
nickname: () => (h("th", { part: tableHeadCell, scope: "col", title: "The nickname associated with the terminal" }, "Nickname")),
|
|
7
|
-
provider_id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The provider ID of the terminal" }, "
|
|
7
|
+
provider_id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The serial number / provider ID of the terminal" }, "Serial Number")),
|
|
8
8
|
sub_account_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The sub account associated with the terminal" }, "Sub Account")),
|
|
9
9
|
status: () => (h("th", { part: tableHeadCell, scope: "col", title: "The current status of each terminal" }, "Status")),
|
|
10
10
|
};
|
|
@@ -2,7 +2,6 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { Button, StyledHost } from "../../ui-components";
|
|
3
3
|
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
4
4
|
import JustifiAnalytics from "../../api/Analytics";
|
|
5
|
-
import { config } from "../../../config";
|
|
6
5
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api";
|
|
7
6
|
export class TokenizePaymentMethod {
|
|
8
7
|
constructor() {
|
|
@@ -14,7 +13,7 @@ export class TokenizePaymentMethod {
|
|
|
14
13
|
this.disableBankAccount = undefined;
|
|
15
14
|
this.hideSubmitButton = undefined;
|
|
16
15
|
this.hideCardBillingForm = undefined;
|
|
17
|
-
this.iframeOrigin =
|
|
16
|
+
this.iframeOrigin = IFRAME_ORIGIN;
|
|
18
17
|
this.isLoading = false;
|
|
19
18
|
}
|
|
20
19
|
componentWillLoad() {
|
|
@@ -53,7 +52,7 @@ export class TokenizePaymentMethod {
|
|
|
53
52
|
this.paymentMethodOptionsRef.fillBillingForm(fields);
|
|
54
53
|
}
|
|
55
54
|
render() {
|
|
56
|
-
return (h(StyledHost, { key: '
|
|
55
|
+
return (h(StyledHost, { key: 'ac989aa84f6262ff1b72a88fc7c4ebb0e62175dc' }, h("form", { key: '482ebf3ca3ac67738fdd0243de8d29ad66754313' }, h("fieldset", { key: 'e563783b34d570bafd1788949a486454ce70ab4a' }, h("div", { key: 'a42f5625f5d0860153f4260aa9c5f76f4afcad06', class: "row gy-3" }, h("div", { key: 'f64bb331c9922be711bfdd9a50d76530773867c0', class: "col-12" }, h("justifi-payment-method-options", { key: 'dc23821a9130ee6435c92e20574a0bf056e1c29c', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, hideCardBillingForm: this.hideCardBillingForm, authToken: this.authToken, "account-id": this.accountId, iframeOrigin: this.iframeOrigin })), h("div", { key: '29ec96487c4a5d54c4883c4cfe4a6ee4a309042f', class: "col-12" }, h(Button, { key: 'fe116e392e79debf6a858c993ba11a21d417d998', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText || 'Submit')))))));
|
|
57
56
|
}
|
|
58
57
|
static get is() { return "justifi-tokenize-payment-method"; }
|
|
59
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -211,7 +210,7 @@ export class TokenizePaymentMethod {
|
|
|
211
210
|
},
|
|
212
211
|
"attribute": "iframe-origin",
|
|
213
212
|
"reflect": false,
|
|
214
|
-
"defaultValue": "
|
|
213
|
+
"defaultValue": "IFRAME_ORIGIN"
|
|
215
214
|
}
|
|
216
215
|
};
|
|
217
216
|
}
|
|
@@ -74,6 +74,9 @@ export const badgeDark = `${badge} badge-dark`;
|
|
|
74
74
|
export const dropdownMenu = `dropdown-menu ${text}`;
|
|
75
75
|
// Radio List Item
|
|
76
76
|
export const radioListItem = `radio-list-item ${text}`;
|
|
77
|
+
// Bootstrap list-group
|
|
78
|
+
export const listGroup = `list-group ${text} ${backgroundColor}`;
|
|
79
|
+
export const listGroupItem = `list-group-item ${text} ${backgroundColor}`;
|
|
77
80
|
// Skeleton
|
|
78
81
|
export const skeleton = `skeleton`;
|
|
79
82
|
// Component specific
|
|
@@ -83,6 +86,7 @@ export const billingForm = `billing-form`;
|
|
|
83
86
|
export const checkoutSummary = `checkout-summary`;
|
|
84
87
|
// Filters
|
|
85
88
|
export const filterMenu = `filter-menu`;
|
|
89
|
+
// Payments List Filters
|
|
86
90
|
export const paymentsListFilterMenu = `${filterMenu} payments-list-filter-menu`;
|
|
87
91
|
export const paymentsListFilterParam = `payments-list-filter-param`;
|
|
88
92
|
export const paymentIdPaymentsListFilterParam = `${paymentsListFilterParam} payment-id-payments-list-filter-param`;
|
|
@@ -90,3 +94,18 @@ export const terminalIdPaymentsListFilterParam = `${paymentsListFilterParam} ter
|
|
|
90
94
|
export const paymentStatusPaymentsListFilterParam = `${paymentsListFilterParam} payment-status-payments-list-filter-param`;
|
|
91
95
|
export const createdAfterPaymentsListFilterParam = `${paymentsListFilterParam} created-after-payments-list-filter-param`;
|
|
92
96
|
export const createdBeforePaymentsListFilterParam = `${paymentsListFilterParam} created-before-payments-list-filter-param`;
|
|
97
|
+
// Payouts List Filters
|
|
98
|
+
export const payoutsListFilterMenu = `${filterMenu} payouts-list-filter-menu`;
|
|
99
|
+
export const payoutsListFilterParam = `payouts-list-filter-param`;
|
|
100
|
+
export const createdAfterPayoutsListFilterParam = `${payoutsListFilterParam} created-after-payouts-list-filter-param`;
|
|
101
|
+
export const createdBeforePayoutsListFilterParam = `${payoutsListFilterParam} created-before-payouts-list-filter-param`;
|
|
102
|
+
// Checkouts List Filters
|
|
103
|
+
export const checkoutsListFilterMenu = `${filterMenu} checkouts-list-filter-menu`;
|
|
104
|
+
export const checkoutsListFilterParam = `checkouts-list-filter-param`;
|
|
105
|
+
export const statusCheckoutsListFilterParam = `${checkoutsListFilterParam} checkout-status-checkouts-list-filter-param`;
|
|
106
|
+
export const paymentModeCheckoutsListFilterParam = `${checkoutsListFilterParam} payment-mode-checkouts-list-filter-param`;
|
|
107
|
+
// Terminals List Filters
|
|
108
|
+
export const terminalsListFilterMenu = `${filterMenu} terminals-list-filter-menu`;
|
|
109
|
+
export const terminalsListFilterParam = `terminals-list-filter-param`;
|
|
110
|
+
export const terminalIdTerminalsListFilterParam = `${terminalsListFilterParam} terminal-id-terminals-list-filter-param`;
|
|
111
|
+
export const terminalStatusTerminalsListFilterParam = `${terminalsListFilterParam} terminal-status-terminals-list-filter-param`;
|
|
@@ -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: '1b95226961006ba80bb96911078f7cde90f32def' }, h("style", { key: '3b20790da8600b3835e5874acab8cd49a741dbfa' }, `
|
|
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: '05d166976a3aa254c1d0722c272bd9b0adc24862', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '95d3a563a9d7a1598ec35c8042a9a1088070a4bc' }))));
|
|
93
93
|
}
|
|
94
94
|
static get is() { return "custom-popper"; }
|
|
95
95
|
static get properties() {
|
|
@@ -23,7 +23,7 @@ export class TableFiltersMenu {
|
|
|
23
23
|
this.showClearButton = hasFilters(this.params);
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h("div", { key: '
|
|
26
|
+
return (h("div", { key: 'b55be2aa2f9d4677989da12bb114f620a9ec2e45', class: "d-flex gap-2" }, h("div", { key: 'dffb2be68ead3abb60a8740869e48bb48bbf558c', class: "dropdown pb-3" }, h(Button, { key: '2e7b2d3afc80963abfe9c8c2690a61b911a1b747', variant: "primary", type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '9e2b1b988bc5440f18d26c5b8402f5e30e73cdad', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: '573161a7515d1b16665138ba739133379b9b6850', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '9597e79f125e1e41c343fa3d2d583b5cf7ab9c31' })))), h("div", { key: '67ed29ac8e10f3ae1380514ae1a1e1e8aed7d9b6' }, h(Button, { key: '9b3dc6176c11226e82ecb1f9f88705ad40bf6e32', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
|
|
27
27
|
}
|
|
28
28
|
static get is() { return "table-filters-menu"; }
|
|
29
29
|
static get properties() {
|
|
@@ -38,10 +38,10 @@ export class CheckboxInput {
|
|
|
38
38
|
return inputCheckbox;
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: '8161ae3e7ce79824b21b97647b403646dd7d2db8' }, h("div", { key: 'e1aae62dd392cf208c342d727182a4b98dcabbbc', class: 'form-group d-flex flex-column' }, h("div", { key: '582178c2b18f6d535f692d2b1f16e71555bb6f2e', class: "form-check" }, h("input", { key: '531a98078cee60acc5c8838a3ea7ea43c84fe846', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
42
42
|
this.isFocused = false;
|
|
43
43
|
this.formControlBlur.emit();
|
|
44
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '
|
|
44
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '8a12404a24a3b1c4cbec230444436c80faeba2d8', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: '8cda3874473523f86dadc9e1e3dfb3e4448f3a6f', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '951395dc28c0af8d35aa8c8f38011204a82eb008', errorText: this.errorText, name: this.name }))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "form-control-checkbox"; }
|
|
47
47
|
static get properties() {
|
|
@@ -50,10 +50,10 @@ export class DateInput {
|
|
|
50
50
|
return part;
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: 'c1add6b2191a1b3263c12bcbf5d0be368df38dab' }, h("div", { key: '34be414bc3a4499a8fef8de45855ecc1e00edcd4', class: "form-group d-flex flex-column" }, h("div", { key: 'f5198a9aabd0e12c0f1597ac357a433a84ce56a6', class: "d-flex gap-2" }, h("label", { key: '084a1eb6ddfd7b728e0c5402c995b1f561e9cc7d', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '0328133482e9cc0f3082aa41c143fd21e95ee8ee', helpText: this.helpText })), h("input", { key: '59cbf8ccd7d2a08f38f07c73b1b457eb109d1571', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
54
54
|
this.isFocused = false;
|
|
55
55
|
this.formControlBlur.emit();
|
|
56
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '
|
|
56
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: 'd71b3de2d560c4a44a3a00a7e5f28d9bfc5843b1', errorText: this.errorText, name: this.name }))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "form-control-date"; }
|
|
59
59
|
static get properties() {
|
|
@@ -11,7 +11,7 @@ export class FileInput {
|
|
|
11
11
|
this.disabled = undefined;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '68bfcee3ae8e8baa627c2e03731de655f7a29ef5', exportparts: "label,input,input-invalid" }, h("div", { key: 'a63ff9900d7612d933e35a0fd95335e8abc45ea7', class: "form-group d-flex flex-column" }, h("div", { key: '74124ffdbf2ac3c28299a78469f387c494140db5', class: "d-flex align-items-start gap-2" }, h("label", { key: 'ec6c237392b1b520a5aab9c6f6a9cb328613e663', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '60f734ebac8d88e2e2775deb0433e2dfe3002402', helpText: this.helpText })), h("input", { key: '2859f4d46dcd5a666017fdb6ae0f10a266bdea4a', 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, onBlur: () => this.formControlBlur.emit() }), h("form-control-error-text", { key: 'c667c4882412d5d43b60beae55e3ebab2c43f07d', errorText: this.errorText, name: this.name }))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "form-control-file-v2"; }
|
|
17
17
|
static get properties() {
|
|
@@ -47,10 +47,10 @@ export class FileInput {
|
|
|
47
47
|
return part;
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: '09e633d625a1f8f2233d80e8b999fcd7e4a16f62' }, h("div", { key: 'b788fd0963c0ab62d0f7e236fb47ea86430b522e', class: "form-group d-flex flex-column" }, h("div", { key: '1e7a11e13ec3c386c9f30b5cd38c3afa99c88da5', class: "d-flex align-items-start gap-2" }, h("label", { key: '45cd0d97ae44c32b4d1e0d87187ac1871511c319', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'd312e4f181dfb18c0b86048960ec0a333760f290', helpText: this.helpText })), h("input", { key: '73ff59959c75dc99cccddde819ebbeb6bc1de4ab', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
51
51
|
this.isFocused = false;
|
|
52
52
|
this.formControlBlur.emit();
|
|
53
|
-
} }), h(FormControlErrorText, { key: '
|
|
53
|
+
} }), h(FormControlErrorText, { key: 'cb9c8bd4f623ebd82bdbd9725805f6038b0e1f8c', errorText: this.errorText, name: this.name }))));
|
|
54
54
|
}
|
|
55
55
|
static get is() { return "form-control-file"; }
|
|
56
56
|
static get properties() {
|
|
@@ -63,10 +63,10 @@ export class MonetaryInput {
|
|
|
63
63
|
return part;
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: 'c7a92629b644f797bc0c199b66f2b3a7802e24af' }, h("div", { key: 'b21ec4bd76d52d6ebe23de04748b344529bd5e91', class: "form-group d-flex flex-column" }, h("label", { key: 'c1a4d2c44d19a81ea594c36c8ce537956e32f8be', part: label, class: "form-label", htmlFor: this.name }, this.label), h("div", { key: '3c7858f3b1bff3d304e2d6ef4613570307abb031', class: "input-group" }, h("span", { key: '57f667463d22682820a688ff4583429203d35c88', class: "input-group-text", part: text }, "$"), h("input", { key: '8027bd97c1e8974089b9438972e449c9fe00e984', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
67
67
|
this.isFocused = false;
|
|
68
68
|
this.formControlBlur.emit();
|
|
69
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h(FormControlHelpText, { key: '
|
|
69
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h(FormControlHelpText, { key: '2b983d18e5544d78015ce9d9f15ac0fba9991193', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '1cbf33304b3243fed47f2d6cc5459010d9502347', errorText: this.errorText, name: this.name }))));
|
|
70
70
|
}
|
|
71
71
|
static get is() { return "form-control-monetary"; }
|
|
72
72
|
static get properties() {
|
|
@@ -67,10 +67,10 @@ export class NumberInputMasked {
|
|
|
67
67
|
return input;
|
|
68
68
|
}
|
|
69
69
|
render() {
|
|
70
|
-
return (h(Host, { key: '
|
|
70
|
+
return (h(Host, { key: '84b2b9707b77df0865ca506c3c974f9974f698e3' }, h("div", { key: '6817ba99efccf056fa28535db39a672cdb18bc0a', class: "form-group d-flex flex-column" }, h("div", { key: '2f0f64dc35352659740292397f82f6490f32b6ee', class: "d-flex align-items-start gap-2" }, h("label", { key: 'f5eff8109b6403b2cdc53e6c0a23538ef3dcb817', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '633b66f6d99fea7688652fa6e5f11e0d68666f69', helpText: this.helpText })), h("input", { key: '3df0af7941cb957ddf3df89f3216a2d3187e1e9d', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => (this.isFocused = true), onBlur: () => {
|
|
71
71
|
this.isFocused = false;
|
|
72
72
|
this.formControlBlur.emit();
|
|
73
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '
|
|
73
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '9d634135126b399aea1071fd5cc53784728b01c1', errorText: this.errorText, name: this.name }))));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "form-control-number-masked"; }
|
|
76
76
|
static get properties() {
|
|
@@ -43,10 +43,10 @@ export class NumberInput {
|
|
|
43
43
|
return input;
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '8c60e7494ce6878f591699baa07e5a5d562090b4' }, h("div", { key: '49c2ebe33aa6317c5960ab8a1cc1d8998e06ff9e', class: 'form-group d-flex flex-column' }, h("label", { key: '9132628d047ad3c2b243e87b013b77f367aef274', part: label, class: "form-label", htmlFor: this.name }, this.label), h("input", { key: '25d4df4f8bc7eafde56f8b6aaf77eac3acd78035', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
47
47
|
this.isFocused = false;
|
|
48
48
|
this.formControlBlur.emit();
|
|
49
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h(FormControlHelpText, { key: '
|
|
49
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h(FormControlHelpText, { key: '47d213b459ddfb9d9704d217f82e0d30d3166465', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '4835e71589d825d56d36ef99b00fdd877690a04d', errorText: this.errorText, name: this.name }))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "form-control-number"; }
|
|
52
52
|
static get properties() {
|
|
@@ -34,10 +34,10 @@ export class RadioInput {
|
|
|
34
34
|
return inputRadio;
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: 'dd02a226957e079505a8149565e42883eb0c63e8', class: 'form-group d-flex flex-column' }, h("div", { key: '8951df4569607dc68808b57423566dd1d60caa0c', class: "form-check" }, h("input", { key: '7b2e93768b210191dbb3aa9cf81e2520ffaac5ff', ref: el => (this.radioElement = el), type: "radio", id: `${this.name}-${this.value}`, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
38
38
|
this.isFocused = false;
|
|
39
39
|
this.formControlBlur.emit();
|
|
40
|
-
}, onChange: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value, checked: this.checked }), h("label", { key: '
|
|
40
|
+
}, onChange: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value, checked: this.checked }), h("label", { key: 'fd413c400f607c07d704cfe56d7e304082027d5c', class: "form-check-label", htmlFor: `${this.name}-${this.value}`, part: label }, this.label)), h("form-control-help-text", { key: '4e7cc2ac52d39092be5e46f1a2df1a7d31f380eb', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '420052233ae56f98712559707a4372644f915aec', errorText: this.errorText, name: this.name })));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "form-control-radio"; }
|
|
43
43
|
static get properties() {
|