@justifi/webcomponents 5.3.2 → 5.3.4-rc
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-25d07997.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-776142b1.js} +8 -8
- package/dist/cjs/{button-8b634147.js → button-5f6c437f.js} +1 -1
- package/dist/cjs/check-pkg-version-407ee257.js +24 -0
- package/dist/cjs/{checkout.service-d9047ddb.js → checkout.service-b23994d2.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-c192dd33.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-78297c3a.js} +6 -15
- package/dist/cjs/{get-subaccounts-2db9fc01.js → get-subaccounts-b2e6ab82.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-74690e82.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-f53022c3.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-1051e87d.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-f7c3b9f7.js} +8 -8
- package/dist/esm/{button-4b3f3934.js → button-cc455199.js} +1 -1
- package/dist/esm/check-pkg-version-cdc4a3de.js +22 -0
- package/dist/esm/{checkout.service-36e3355e.js → checkout.service-bb45d248.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-9008b3b7.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-be3ee3f0.js} +8 -17
- package/dist/esm/{get-subaccounts-d3eeb85d.js → get-subaccounts-3af0844a.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-8bc1e068.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-a8ee345c.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-06d34949.entry.js +1 -0
- 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-0e180654.js +1 -0
- package/dist/webcomponents/{p-f19f9f61.js → p-1278dedf.js} +1 -1
- package/dist/webcomponents/p-13de2830.entry.js +1 -0
- package/dist/webcomponents/p-14f40baa.js +1 -0
- package/dist/webcomponents/{p-5bf4535a.entry.js → p-19063270.entry.js} +1 -1
- package/dist/webcomponents/p-1f270bb9.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-2208ab4c.entry.js +1 -0
- package/dist/webcomponents/{p-bada4783.entry.js → p-235abbd1.entry.js} +1 -1
- package/dist/webcomponents/p-27c72b92.entry.js +1 -0
- package/dist/webcomponents/p-29fbbc93.js +1 -0
- package/dist/webcomponents/p-2e0ae487.js +1 -0
- package/dist/webcomponents/p-2e1081d7.entry.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-37b7b200.entry.js +1 -0
- package/dist/webcomponents/p-389e1eb7.js +1 -0
- package/dist/webcomponents/p-39d421c9.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-3d486f37.entry.js +1 -0
- package/dist/webcomponents/p-42a48c59.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-4b718a6c.entry.js +1 -0
- package/dist/webcomponents/{p-2710884e.entry.js → p-4fbdf440.entry.js} +1 -1
- package/dist/webcomponents/p-553dba95.entry.js +1 -0
- package/dist/webcomponents/p-58a3c5a6.entry.js +1 -0
- package/dist/webcomponents/p-595479da.entry.js +1 -0
- package/dist/webcomponents/p-59918c9e.entry.js +1 -0
- package/dist/webcomponents/p-5a96a2a2.entry.js +1 -0
- package/dist/webcomponents/p-5ab25e5d.js +1 -0
- package/dist/webcomponents/{p-275f2154.js → p-5d1d2fd7.js} +1 -1
- package/dist/webcomponents/p-5d2d11be.entry.js +1 -0
- package/dist/webcomponents/p-60948775.entry.js +1 -0
- package/dist/webcomponents/p-65880158.entry.js +1 -0
- package/dist/webcomponents/p-66ae2a0e.entry.js +1 -0
- package/dist/webcomponents/p-7746acac.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-7c541199.entry.js +1 -0
- package/dist/webcomponents/p-7ee5a90e.entry.js +1 -0
- package/dist/webcomponents/p-82cbcce9.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-8b6a3249.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-93accc9a.entry.js +1 -0
- package/dist/webcomponents/{p-27c8ffa2.js → p-95e55bb1.js} +1 -1
- 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-ad0fffc5.entry.js +1 -0
- package/dist/webcomponents/p-af945fc0.entry.js +1 -0
- package/dist/webcomponents/p-b2d57b2c.entry.js +1 -0
- package/dist/webcomponents/p-b4ed5a2c.js +1 -0
- package/dist/webcomponents/p-b57cfe54.entry.js +1 -0
- package/dist/webcomponents/{p-f2f2e20e.js → p-b84ee6d8.js} +1 -1
- package/dist/webcomponents/p-c3ada049.entry.js +1 -0
- package/dist/webcomponents/p-c4ca0038.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-cbe05f11.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-dfebd7a4.js +1 -0
- package/dist/webcomponents/{p-db37b175.entry.js → p-e007002a.entry.js} +1 -1
- 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-e8fdbc36.entry.js +1 -0
- package/dist/webcomponents/p-e9e80a62.js +1 -0
- package/dist/webcomponents/p-ebbe93ac.entry.js +1 -0
- package/dist/webcomponents/p-ec019b89.js +1 -0
- package/dist/webcomponents/p-f30cb232.js +1 -0
- package/dist/webcomponents/p-f4739d31.js +1 -0
- package/dist/webcomponents/p-f6aa31bc.entry.js +1 -0
- package/dist/webcomponents/{p-facada09.entry.js → p-f7d9ea0b.entry.js} +1 -1
- package/dist/webcomponents/p-f9ff808d.js +1 -0
- package/dist/webcomponents/{p-3e0f3d87.entry.js → p-fea43254.entry.js} +1 -1
- package/dist/webcomponents/p-ff1f2d65.js +1 -0
- 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-b2edb944.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
|
@@ -51,10 +51,10 @@ const SelectInput = /*@__PURE__*/ proxyCustomElement(class SelectInput extends H
|
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
53
|
var _a;
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: 'f55283c73225466b10cec78e6e5ff1c268142d1b' }, h("div", { key: '48beb377ca664b867598f8e472a3bb4825aecf9b', class: "form-group d-flex flex-column" }, h("div", { key: '13debfb6a725d7f247eb5601e3361a3964b826e9', class: "d-flex align-items-start gap-2" }, h("label", { key: '15ac64fb03a5c1cb8f55c18bd7eb41d66328e599', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '3d8b43ed6e997234f7c64daf41b2286bec93340e', helpText: this.helpText })), h("select", { key: '1c3eb5699a0b76c694a02fe50e8070483b2960e6', ref: el => (this.selectElement = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
55
55
|
this.isFocused = false;
|
|
56
56
|
this.formControlBlur.emit();
|
|
57
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (h("option", { value: option.value }, option.label)))), h(FormControlErrorText, { key: '
|
|
57
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (h("option", { value: option.value }, option.label)))), h(FormControlErrorText, { key: 'd223fd1fad44de99812b0e3a3429e3931b798c2c', errorText: this.errorText, name: this.name }))));
|
|
58
58
|
}
|
|
59
59
|
static get watchers() { return {
|
|
60
60
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -53,10 +53,10 @@ const TextInput = /*@__PURE__*/ proxyCustomElement(class TextInput extends HTMLE
|
|
|
53
53
|
return input;
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: 'd84e000c15b64815eb0f8eb2e1e1f774fd786956' }, h("div", { key: 'fc751f6b2da9d20bee791e854a2bb7d3f9ce7456', class: "form-group d-flex flex-column" }, h("div", { key: '6853a85e1dced30edb8b84070d7dc16b65e47ce6', class: "d-flex align-items-start gap-2" }, h("label", { key: '5c020f8419308ceac4c00220ce9df8fac8ce1f0f', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '81662d978c47c8d3e10342cb2b2a005af4ecf608', helpText: this.helpText })), h("input", { key: '14fd9610e3a92e0b6125ab41a5878268a7cc3157', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
57
57
|
this.isFocused = false;
|
|
58
58
|
this.formControlBlur.emit();
|
|
59
|
-
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '
|
|
59
|
+
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: 'be05bd72e34afa9c8b4dd42cb5eda4fb6407224d', errorText: this.errorText, name: this.name }))));
|
|
60
60
|
}
|
|
61
61
|
get el() { return this; }
|
|
62
62
|
static get watchers() { return {
|
|
@@ -53,10 +53,10 @@ const TextInput = /*@__PURE__*/ proxyCustomElement(class TextInput extends HTMLE
|
|
|
53
53
|
return input;
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: 'beabdb77220c0ad180cf1e0143521ce03fea1eb5' }, h("div", { key: '16e2375d19c75d34c7f1ad1eb1a3a5920fa4ba08', class: "form-group d-flex flex-column" }, h("label", { key: 'dbe6e6816c5b500363964c771654d772bb25de62', part: label, class: "form-label", htmlFor: this.name }, this.label), h("textarea", { key: 'b7c5f64138c846756051bd4984152ad382f24dba', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
57
57
|
this.isFocused = false;
|
|
58
58
|
this.formControlBlur.emit();
|
|
59
|
-
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), h("form-control-help-text", { key: '
|
|
59
|
+
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), h("form-control-help-text", { key: '65ef4b15eda7ac206e935aa13b8ed30000af23d8', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '3fa530e3c915efdb63776a0146356873cf8e1e6a', errorText: this.errorText, name: this.name }))));
|
|
60
60
|
}
|
|
61
61
|
get el() { return this; }
|
|
62
62
|
static get watchers() { return {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { a as Business } from './Business.js';
|
|
2
|
+
import { a as ComponentErrorSeverity } from './ComponentError.js';
|
|
3
|
+
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
4
|
+
|
|
5
|
+
const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
6
|
+
var _a;
|
|
7
|
+
try {
|
|
8
|
+
const response = await service.fetchBusiness(id, authToken);
|
|
9
|
+
if (!response.error) {
|
|
10
|
+
onSuccess({ business: new Business(response.data) });
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
const responseError = getErrorMessage(response.error);
|
|
14
|
+
const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
|
|
15
|
+
return onError({
|
|
16
|
+
error: responseError,
|
|
17
|
+
code,
|
|
18
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
catch (error) {
|
|
23
|
+
const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
24
|
+
return onError({
|
|
25
|
+
error: error.message || error,
|
|
26
|
+
code,
|
|
27
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export { makeGetBusiness as m };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Api
|
|
1
|
+
import { A as Api } from './Api.js';
|
|
2
2
|
import { a as ComponentErrorSeverity } from './ComponentError.js';
|
|
3
3
|
import './Checkout.js';
|
|
4
4
|
import './Pagination.js';
|
|
@@ -8,26 +8,17 @@ import './Document.js';
|
|
|
8
8
|
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
9
9
|
|
|
10
10
|
class PayoutService {
|
|
11
|
-
async fetchPayouts(accountId, authToken, params, apiOrigin) {
|
|
12
|
-
if (!apiOrigin) {
|
|
13
|
-
apiOrigin = config.proxyApiOrigin;
|
|
14
|
-
}
|
|
11
|
+
async fetchPayouts(accountId, authToken, params, apiOrigin = "https://wc-proxy.justifi.ai") {
|
|
15
12
|
const api = Api({ authToken, apiOrigin });
|
|
16
13
|
const endpoint = `account/${accountId}/payouts`;
|
|
17
14
|
return api.get(endpoint, params);
|
|
18
15
|
}
|
|
19
|
-
async fetchPayout(payoutId, authToken, apiOrigin) {
|
|
20
|
-
if (!apiOrigin) {
|
|
21
|
-
apiOrigin = config.proxyApiOrigin;
|
|
22
|
-
}
|
|
16
|
+
async fetchPayout(payoutId, authToken, apiOrigin = "https://wc-proxy.justifi.ai") {
|
|
23
17
|
const api = Api({ authToken, apiOrigin });
|
|
24
18
|
const endpoint = `payouts/${payoutId}`;
|
|
25
19
|
return api.get(endpoint);
|
|
26
20
|
}
|
|
27
|
-
async fetchCSV(payoutId, authToken, apiOrigin) {
|
|
28
|
-
if (!apiOrigin) {
|
|
29
|
-
apiOrigin = config.proxyApiOrigin;
|
|
30
|
-
}
|
|
21
|
+
async fetchCSV(payoutId, authToken, apiOrigin = "https://wc-proxy.justifi.ai") {
|
|
31
22
|
const api = Api({ authToken, apiOrigin });
|
|
32
23
|
const endpoint = `reports/payouts/${payoutId}`;
|
|
33
24
|
return api.get(endpoint);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Api
|
|
1
|
+
import { A as Api } from './Api.js';
|
|
2
2
|
import { a as ComponentErrorSeverity } from './ComponentError.js';
|
|
3
3
|
import './Checkout.js';
|
|
4
4
|
import './Pagination.js';
|
|
@@ -8,10 +8,7 @@ import './Document.js';
|
|
|
8
8
|
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
9
9
|
|
|
10
10
|
class SubAccountService {
|
|
11
|
-
async fetchSubAccounts(accountId, authToken, params, apiOrigin) {
|
|
12
|
-
if (!apiOrigin) {
|
|
13
|
-
apiOrigin = config.proxyApiOrigin;
|
|
14
|
-
}
|
|
11
|
+
async fetchSubAccounts(accountId, authToken, params, apiOrigin = "https://wc-proxy.justifi.ai") {
|
|
15
12
|
const headers = { Account: accountId };
|
|
16
13
|
const api = Api({ authToken, apiOrigin: apiOrigin });
|
|
17
14
|
const endpoint = 'sub_accounts';
|
|
@@ -11040,7 +11040,7 @@ const GrossPaymentChartCore = /*@__PURE__*/ proxyCustomElement(class GrossPaymen
|
|
|
11040
11040
|
}
|
|
11041
11041
|
}
|
|
11042
11042
|
render() {
|
|
11043
|
-
return (h(Host, { key: '
|
|
11043
|
+
return (h(Host, { key: 'b336dc186a34b6624d415cb072819b4dfe10620f' }, this.loading && h(Spinner, { key: '5a2ca3c4efd9f5acd2bac804490877654d44b39c' }), !this.errorMessage ? h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : ErrorState(this.errorMessage)));
|
|
11044
11044
|
}
|
|
11045
11045
|
static get watchers() { return {
|
|
11046
11046
|
"getGrossPayment": ["propChanged"],
|
|
@@ -76,7 +76,7 @@ const HiddenInput = /*@__PURE__*/ proxyCustomElement(class HiddenInput extends H
|
|
|
76
76
|
return input;
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: '7bfd14ae6eb04d3bccb6f95398213655bc5c1073' }, h("input", { key: 'a40b6c6b2fd4e217af572f2032b158cc0ad603d2', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
|
|
80
80
|
}
|
|
81
81
|
}, [0, "hidden-input", {
|
|
82
82
|
"isFocused": [32],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { F as FormControlErrorText } from './form-control-error-text.js';
|
|
3
3
|
import { p as packageJson } from './package.js';
|
|
4
4
|
import { i as iframeInputStyles } from './iframe-input-styles-state.js';
|
|
@@ -1540,6 +1540,7 @@ const IframeInput = /*@__PURE__*/ proxyCustomElement(class IframeInput extends H
|
|
|
1540
1540
|
constructor() {
|
|
1541
1541
|
super();
|
|
1542
1542
|
this.__registerHost();
|
|
1543
|
+
this.iframeLoaded = createEvent(this, "iframeLoaded", 7);
|
|
1543
1544
|
this.dispatchMessageEvent = (event) => {
|
|
1544
1545
|
const { eventType, data } = event.data;
|
|
1545
1546
|
if ((data === null || data === void 0 ? void 0 : data.id) !== this.inputId) {
|
|
@@ -1555,7 +1556,6 @@ const IframeInput = /*@__PURE__*/ proxyCustomElement(class IframeInput extends H
|
|
|
1555
1556
|
this.isFocused = false;
|
|
1556
1557
|
this.isValid = true;
|
|
1557
1558
|
this.errorText = undefined;
|
|
1558
|
-
this.iframeLoaded = false;
|
|
1559
1559
|
this.inputId = undefined;
|
|
1560
1560
|
this.label = undefined;
|
|
1561
1561
|
this.iframeOrigin = undefined;
|
|
@@ -1614,20 +1614,20 @@ const IframeInput = /*@__PURE__*/ proxyCustomElement(class IframeInput extends H
|
|
|
1614
1614
|
return params;
|
|
1615
1615
|
}
|
|
1616
1616
|
render() {
|
|
1617
|
-
return (h(Host, { key: '
|
|
1617
|
+
return (h(Host, { key: '871d71c6240e94e24f7ccc4c4ec8225b4123d865', class: "form-group d-flex flex-column" }, h("div", { key: '0a1d98cba0960599d29db3c269bb8b458cdfddc8', style: {
|
|
1618
1618
|
visibility: this.iframeLoaded ? 'visible' : 'hidden',
|
|
1619
1619
|
height: this.iframeLoaded ? 'auto' : '0',
|
|
1620
|
-
} }, h("label", { key: '
|
|
1620
|
+
} }, h("label", { key: 'bfd2e61b544db648cada7a52b45809bebf5722a8', class: "form-label", htmlFor: "", part: label }, this.label || ''), h("div", { key: '53e9f9a29e07edcdcbb00b023ba0f24d09d852ab', class: `p-0 d-flex form-control ${this.isValid ? '' : 'is-invalid'}`, part: this.part, style: Object.assign(Object.assign({}, this.style), { overflow: 'hidden' }) }, h("iframe", { key: '2adc709c4094c44181dd83906763b4809b3f168b', id: this.inputId, name: this.inputId, src: `${this.iframeOrigin}?${this.urlParams}`, ref: el => {
|
|
1621
1621
|
this.iframeElement = el;
|
|
1622
1622
|
this.initializeFrameCommunicationService();
|
|
1623
1623
|
}, width: "100%", onLoad: () => {
|
|
1624
1624
|
iFrameResize({
|
|
1625
1625
|
log: false,
|
|
1626
1626
|
onResized: () => {
|
|
1627
|
-
this.iframeLoaded
|
|
1627
|
+
this.iframeLoaded.emit();
|
|
1628
1628
|
}
|
|
1629
1629
|
}, this.iframeElement);
|
|
1630
|
-
} })), h(FormControlErrorText, { key: '
|
|
1630
|
+
} })), h(FormControlErrorText, { key: 'c54bafd097b1e3e896901252d3520bfdfe5c71b6', errorText: this.errorText, name: this.inputId }))));
|
|
1631
1631
|
}
|
|
1632
1632
|
get el() { return this; }
|
|
1633
1633
|
}, [0, "iframe-input", {
|
|
@@ -1637,7 +1637,6 @@ const IframeInput = /*@__PURE__*/ proxyCustomElement(class IframeInput extends H
|
|
|
1637
1637
|
"isFocused": [32],
|
|
1638
1638
|
"isValid": [32],
|
|
1639
1639
|
"errorText": [32],
|
|
1640
|
-
"iframeLoaded": [32],
|
|
1641
1640
|
"validate": [64],
|
|
1642
1641
|
"tokenize": [64]
|
|
1643
1642
|
}]);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { E as ErrorState } from './utils.js';
|
|
3
3
|
import { B as BusinessService } from './business.service.js';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { c as checkPkgVersion
|
|
4
|
+
import { m as makeGetBusiness } from './get-business.js';
|
|
5
|
+
import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError.js';
|
|
6
|
+
import { J as JustifiAnalytics } from './Analytics.js';
|
|
7
|
+
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
8
8
|
import { d as defineCustomElement$7 } from './additional-questions-details2.js';
|
|
9
9
|
import { d as defineCustomElement$6 } from './business-details-core2.js';
|
|
10
10
|
import { d as defineCustomElement$5 } from './generic-info-details2.js';
|
|
@@ -12,33 +12,6 @@ import { d as defineCustomElement$4 } from './legal-address-details2.js';
|
|
|
12
12
|
import { d as defineCustomElement$3 } from './owner-details2.js';
|
|
13
13
|
import { d as defineCustomElement$2 } from './representative-details2.js';
|
|
14
14
|
|
|
15
|
-
const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
16
|
-
var _a;
|
|
17
|
-
try {
|
|
18
|
-
const response = await service.fetchBusiness(id, authToken);
|
|
19
|
-
if (!response.error) {
|
|
20
|
-
onSuccess({ business: new Business(response.data) });
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
const responseError = getErrorMessage(response.error);
|
|
24
|
-
const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
|
|
25
|
-
return onError({
|
|
26
|
-
error: responseError,
|
|
27
|
-
code,
|
|
28
|
-
severity: ComponentErrorSeverity.ERROR,
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
catch (error) {
|
|
33
|
-
const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
34
|
-
return onError({
|
|
35
|
-
error: error.message || error,
|
|
36
|
-
code,
|
|
37
|
-
severity: ComponentErrorSeverity.ERROR,
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
|
|
42
15
|
const BusinessDetails = /*@__PURE__*/ proxyCustomElement(class BusinessDetails extends HTMLElement {
|
|
43
16
|
constructor() {
|
|
44
17
|
super();
|
|
@@ -4,7 +4,7 @@ import { b as businessCoreInfoSchema } from './business-core-info-schema.js';
|
|
|
4
4
|
import { a as additionalQuestionsSchema } from './business-additional-questions-schema.js';
|
|
5
5
|
import { i as identitySchema } from './business-identity-schema.js';
|
|
6
6
|
import { a as addressSchema } from './business-address-schema.js';
|
|
7
|
-
import { A as Api
|
|
7
|
+
import { A as Api } from './Api.js';
|
|
8
8
|
import './ComponentError.js';
|
|
9
9
|
import './Checkout.js';
|
|
10
10
|
import './Pagination.js';
|
|
@@ -12,11 +12,12 @@ import './Payment.js';
|
|
|
12
12
|
import './SubAccount.js';
|
|
13
13
|
import './Document.js';
|
|
14
14
|
import { a as Business, b as BusinessFormServerErrors } from './Business.js';
|
|
15
|
-
import {
|
|
15
|
+
import { J as JustifiAnalytics } from './Analytics.js';
|
|
16
16
|
import { B as Button } from './button.js';
|
|
17
17
|
import { S as StyledHost } from './styled-host.js';
|
|
18
18
|
import { H as Header1 } from './header-1.js';
|
|
19
19
|
import './details.js';
|
|
20
|
+
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
20
21
|
import { S as Skeleton } from './skeleton.js';
|
|
21
22
|
import { a as BusinessFormClickActions } from './event-types.js';
|
|
22
23
|
import { d as defineCustomElement$e } from './custom-popper2.js';
|
|
@@ -118,7 +119,7 @@ const BusinessForm = /*@__PURE__*/ proxyCustomElement(class BusinessForm extends
|
|
|
118
119
|
if (!this.businessId)
|
|
119
120
|
console.error(missingBusinessIdMessage);
|
|
120
121
|
this.formController = new FormController(businessFormSchema);
|
|
121
|
-
this.api = Api({ authToken: this.authToken, apiOrigin:
|
|
122
|
+
this.api = Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
122
123
|
this.fetchData();
|
|
123
124
|
}
|
|
124
125
|
disconnectedCallback() {
|
|
@@ -2,8 +2,8 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
|
|
|
2
2
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
|
|
3
3
|
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
4
4
|
import { C as CheckoutService } from './checkout.service.js';
|
|
5
|
-
import {
|
|
6
|
-
import { c as
|
|
5
|
+
import { J as JustifiAnalytics } from './Analytics.js';
|
|
6
|
+
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
7
7
|
import { d as defineCustomElement$l } from './bank-account-form2.js';
|
|
8
8
|
import { d as defineCustomElement$k } from './billing-form2.js';
|
|
9
9
|
import { d as defineCustomElement$j } from './card-form2.js';
|
|
@@ -92,7 +92,7 @@ const Checkout = /*@__PURE__*/ proxyCustomElement(class Checkout extends HTMLEle
|
|
|
92
92
|
this.disableBnpl = undefined;
|
|
93
93
|
this.disablePaymentMethodGroup = undefined;
|
|
94
94
|
this.hideCardBillingForm = undefined;
|
|
95
|
-
this.iframeOrigin =
|
|
95
|
+
this.iframeOrigin = "https://components.justifi.ai/v2";
|
|
96
96
|
this.getCheckout = undefined;
|
|
97
97
|
this.complete = undefined;
|
|
98
98
|
this.errorMessage = '';
|
|
@@ -133,11 +133,11 @@ const Checkout = /*@__PURE__*/ proxyCustomElement(class Checkout extends HTMLEle
|
|
|
133
133
|
this.checkoutCoreRef.fillBillingForm(fields);
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
|
-
return (h("justifi-checkout-core", { key: '
|
|
136
|
+
return (h("justifi-checkout-core", { key: '52aca1a3ce8016a382f428ef142abc8aee9da41d', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, iframeOrigin: this.iframeOrigin, ref: el => {
|
|
137
137
|
if (el) {
|
|
138
138
|
this.checkoutCoreRef = el;
|
|
139
139
|
}
|
|
140
|
-
} }, h("div", { key: '
|
|
140
|
+
} }, h("div", { key: 'fabb53264f26320fff2aa0a603c664f47ca380d0', slot: "insurance" }, h("slot", { key: 'ce09504ef5a48d6b963f4ba39252d681f23d0168', name: "insurance" }))));
|
|
141
141
|
}
|
|
142
142
|
static get watchers() { return {
|
|
143
143
|
"authToken": ["propChanged"],
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
-
import
|
|
2
|
+
import './ComponentError.js';
|
|
3
|
+
import { I as ICheckoutStatus, a as ICheckoutPaymentMode } from './Checkout.js';
|
|
4
|
+
import './Pagination.js';
|
|
5
|
+
import './Payment.js';
|
|
6
|
+
import './SubAccount.js';
|
|
7
|
+
import './Document.js';
|
|
8
|
+
import { f as filterParams, p as propsParams, c as clearParams } from './checkouts-list-params-state.js';
|
|
9
|
+
import { $ as checkoutsListFilterMenu, a0 as statusCheckoutsListFilterParam, a1 as paymentModeCheckoutsListFilterParam } from './parts.js';
|
|
3
10
|
import { S as StyledHost } from './styled-host.js';
|
|
4
11
|
import './details.js';
|
|
5
12
|
import { d as defineCustomElement$5 } from './custom-popper2.js';
|
|
@@ -13,29 +20,46 @@ const CheckoutsListFilters = /*@__PURE__*/ proxyCustomElement(class CheckoutsLis
|
|
|
13
20
|
this.__registerHost();
|
|
14
21
|
this.__attachShadow();
|
|
15
22
|
this.setParamsOnChange = (name, value) => {
|
|
16
|
-
|
|
23
|
+
filterParams[name] = value;
|
|
17
24
|
};
|
|
25
|
+
this.checkoutStatus = undefined;
|
|
26
|
+
this.paymentMode = undefined;
|
|
27
|
+
}
|
|
28
|
+
componentWillLoad() {
|
|
29
|
+
const propsToSet = {
|
|
30
|
+
status: this.checkoutStatus,
|
|
31
|
+
payment_mode: this.paymentMode,
|
|
32
|
+
};
|
|
33
|
+
Object.entries(propsToSet).forEach(([key, value]) => {
|
|
34
|
+
if (value) {
|
|
35
|
+
propsParams[key] = value;
|
|
36
|
+
}
|
|
37
|
+
});
|
|
18
38
|
}
|
|
19
39
|
get checkoutStatusOptions() {
|
|
20
40
|
return [
|
|
21
41
|
{ label: 'All', value: '' },
|
|
22
|
-
{ label: 'Created', value:
|
|
23
|
-
{ label: 'Completed', value:
|
|
24
|
-
{ label: 'Attempted', value:
|
|
25
|
-
{ label: 'Expired', value:
|
|
42
|
+
{ label: 'Created', value: ICheckoutStatus.created },
|
|
43
|
+
{ label: 'Completed', value: ICheckoutStatus.completed },
|
|
44
|
+
{ label: 'Attempted', value: ICheckoutStatus.attempted },
|
|
45
|
+
{ label: 'Expired', value: ICheckoutStatus.expired },
|
|
26
46
|
];
|
|
27
47
|
}
|
|
28
48
|
get checkoutPaymentModeOptions() {
|
|
29
49
|
return [
|
|
30
50
|
{ label: 'All', value: '' },
|
|
31
|
-
{ label: 'E-commerce', value:
|
|
32
|
-
{ label: 'BNPL', value:
|
|
51
|
+
{ label: 'E-commerce', value: ICheckoutPaymentMode.ecom },
|
|
52
|
+
{ label: 'BNPL', value: ICheckoutPaymentMode.bnpl },
|
|
33
53
|
];
|
|
34
54
|
}
|
|
35
55
|
render() {
|
|
36
|
-
|
|
56
|
+
const filterMenuParams = Object.assign({}, filterParams);
|
|
57
|
+
return (h(StyledHost, { key: 'cd70cc85372ea03d544340c36de1bc559cce757d' }, h("table-filters-menu", { key: '332fbf23bcf5e542aa3439b93bcfe046889b89b0', params: filterMenuParams, clearParams: clearParams, part: checkoutsListFilterMenu }, h("div", { key: 'a95f24fa9b92cd35e0dd15a7fc5cafb2cca84c9f', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'd58366e790b1bb2fb3aa8605a806a8197ea4f5c9', class: "p-2" }, h("form-control-select", { key: '1e48969ede334298a5d058f22bf5b1e39c78f535', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status, disabled: !!this.checkoutStatus, part: statusCheckoutsListFilterParam })), h("div", { key: '33d8d552c77a6355423e9252779f85b288e123d1', class: "p-2" }, h("form-control-select", { key: 'a1ae23979fb00d92a9a1c7972c375494cabde720', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode, disabled: !!this.paymentMode, part: paymentModeCheckoutsListFilterParam }))))));
|
|
37
58
|
}
|
|
38
|
-
}, [1, "justifi-checkouts-list-filters"
|
|
59
|
+
}, [1, "justifi-checkouts-list-filters", {
|
|
60
|
+
"checkoutStatus": [1, "checkout-status"],
|
|
61
|
+
"paymentMode": [1, "payment-mode"]
|
|
62
|
+
}]);
|
|
39
63
|
function defineCustomElement$1() {
|
|
40
64
|
if (typeof customElements === "undefined") {
|
|
41
65
|
return;
|
|
@@ -6,8 +6,8 @@ import './Payment.js';
|
|
|
6
6
|
import './SubAccount.js';
|
|
7
7
|
import './Document.js';
|
|
8
8
|
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
9
|
-
import { c as checkPkgVersion
|
|
10
|
-
import {
|
|
9
|
+
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
10
|
+
import { J as JustifiAnalytics } from './Analytics.js';
|
|
11
11
|
import { C as CheckoutService } from './checkout.service.js';
|
|
12
12
|
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
|
|
13
13
|
import { S as StyledHost } from './styled-host.js';
|
|
@@ -59,7 +59,7 @@ const CheckoutsList = /*@__PURE__*/ proxyCustomElement(class CheckoutsList exten
|
|
|
59
59
|
this.errorMessage = null;
|
|
60
60
|
this.accountId = undefined;
|
|
61
61
|
this.authToken = undefined;
|
|
62
|
-
this.apiOrigin =
|
|
62
|
+
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
63
63
|
this.columns = defaultColumnsKeys;
|
|
64
64
|
}
|
|
65
65
|
componentWillLoad() {
|
|
@@ -106,7 +106,7 @@ const CheckoutsList = /*@__PURE__*/ proxyCustomElement(class CheckoutsList exten
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
|
-
return (h(StyledHost, { key: '
|
|
109
|
+
return (h(StyledHost, { key: 'ae2a18885c69808bd589848ae1b33f4a4a3085e9' }, h("checkouts-list-core", { key: '86201976540a348eb800ee07e9c50f68a1f1a1cf', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
110
110
|
}
|
|
111
111
|
static get watchers() { return {
|
|
112
112
|
"accountId": ["propChanged"],
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
|
|
3
|
-
import {
|
|
3
|
+
import { J as JustifiAnalytics } from './Analytics.js';
|
|
4
|
+
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
4
5
|
import { D as Dispute } from './Payment.js';
|
|
5
6
|
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
6
7
|
import { D as DisputeService } from './dispute-response-actions.js';
|
|
7
|
-
import { c as config } from './config.js';
|
|
8
8
|
import { d as defineCustomElement$k } from './custom-popper2.js';
|
|
9
9
|
import { d as defineCustomElement$j } from './form-control-date2.js';
|
|
10
10
|
import { d as defineCustomElement$i } from './form-control-file-v22.js';
|
|
@@ -65,7 +65,7 @@ const DisputeManagement = /*@__PURE__*/ proxyCustomElement(class DisputeManageme
|
|
|
65
65
|
};
|
|
66
66
|
this.disputeId = undefined;
|
|
67
67
|
this.authToken = undefined;
|
|
68
|
-
this.apiOrigin =
|
|
68
|
+
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
69
69
|
this.getDispute = undefined;
|
|
70
70
|
this.errorMessage = null;
|
|
71
71
|
}
|
|
@@ -100,7 +100,7 @@ const DisputeManagement = /*@__PURE__*/ proxyCustomElement(class DisputeManageme
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
render() {
|
|
103
|
-
return (h("justifi-dispute-management-core", { key: '
|
|
103
|
+
return (h("justifi-dispute-management-core", { key: 'ae0e4a208d6250c4da7033e1d8bf8c33ec041c36', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
|
|
104
104
|
}
|
|
105
105
|
static get watchers() { return {
|
|
106
106
|
"disputeId": ["propChanged"],
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { A as Api
|
|
2
|
+
import { A as Api } from './Api.js';
|
|
3
3
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
|
|
4
4
|
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
5
5
|
import { E as ErrorState } from './utils.js';
|
|
6
|
-
import {
|
|
6
|
+
import { J as JustifiAnalytics } from './Analytics.js';
|
|
7
|
+
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
7
8
|
import { d as defineCustomElement$2 } from './gross-payment-chart-core2.js';
|
|
8
9
|
|
|
9
10
|
class ReportsService {
|
|
10
11
|
async fetchGrossVolumeChartData(accountId, authToken) {
|
|
11
|
-
const api = Api({ authToken: authToken, apiOrigin:
|
|
12
|
+
const api = Api({ authToken: authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
12
13
|
const endpoint = `account/${accountId}/reports/gross_volume`;
|
|
13
14
|
return api.get(endpoint);
|
|
14
15
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface JustifiOrderTerminals extends Components.JustifiOrderTerminals, HTMLElement {}
|
|
4
|
+
export const JustifiOrderTerminals: {
|
|
5
|
+
prototype: JustifiOrderTerminals;
|
|
6
|
+
new (): JustifiOrderTerminals;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
|
+
import { t as text, a3 as heading4, a4 as listGroup, a5 as listGroupItem } from './parts.js';
|
|
3
|
+
import { S as StyledHost } from './styled-host.js';
|
|
4
|
+
import './details.js';
|
|
5
|
+
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
6
|
+
import { J as JustifiAnalytics } from './Analytics.js';
|
|
7
|
+
import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError.js';
|
|
8
|
+
import { B as BusinessService } from './business.service.js';
|
|
9
|
+
import { E as ErrorState } from './utils.js';
|
|
10
|
+
import { a as Business } from './Business.js';
|
|
11
|
+
import { m as makeGetBusiness } from './get-business.js';
|
|
12
|
+
import { S as Skeleton } from './skeleton.js';
|
|
13
|
+
|
|
14
|
+
const FormBlock = () => (h("div", { class: "row gap-3" },
|
|
15
|
+
h("div", { class: "col-12" },
|
|
16
|
+
h(Skeleton, { width: "25%" })),
|
|
17
|
+
h("div", { class: "col-12" },
|
|
18
|
+
h(Skeleton, { width: "100%" })),
|
|
19
|
+
h("div", { class: "col-12 d-flex gap-3" },
|
|
20
|
+
h(Skeleton, { width: "50%" }),
|
|
21
|
+
h(Skeleton, { width: "50%" })),
|
|
22
|
+
h("div", { class: "col-12 d-flex gap-3" },
|
|
23
|
+
h(Skeleton, { width: "65%" }),
|
|
24
|
+
h(Skeleton, { width: "35%" }))));
|
|
25
|
+
const OrderTerminalsLoading = () => {
|
|
26
|
+
return (h("div", { class: "row gap-5" },
|
|
27
|
+
h("div", { class: "col-12" },
|
|
28
|
+
h(Skeleton, { width: "40%", height: "40px" })),
|
|
29
|
+
h(FormBlock, null),
|
|
30
|
+
h(FormBlock, null),
|
|
31
|
+
h(FormBlock, null)));
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals extends HTMLElement {
|
|
35
|
+
constructor() {
|
|
36
|
+
super();
|
|
37
|
+
this.__registerHost();
|
|
38
|
+
this.__attachShadow();
|
|
39
|
+
this.errorEvent = createEvent(this, "error-event", 7);
|
|
40
|
+
this.businessId = undefined;
|
|
41
|
+
this.authToken = undefined;
|
|
42
|
+
this.errorMessage = undefined;
|
|
43
|
+
this.isLoading = true;
|
|
44
|
+
this.business = undefined;
|
|
45
|
+
}
|
|
46
|
+
componentWillLoad() {
|
|
47
|
+
checkPkgVersion();
|
|
48
|
+
this.analytics = new JustifiAnalytics(this);
|
|
49
|
+
this.initializeGetBusiness();
|
|
50
|
+
}
|
|
51
|
+
initializeGetBusiness() {
|
|
52
|
+
if (!this.businessId || !this.authToken) {
|
|
53
|
+
this.errorMessage = 'Invalid business id or auth token';
|
|
54
|
+
this.errorEvent.emit({
|
|
55
|
+
errorCode: ComponentErrorCodes.MISSING_PROPS,
|
|
56
|
+
message: this.errorMessage,
|
|
57
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
58
|
+
});
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
const getBusiness = makeGetBusiness({
|
|
62
|
+
id: this.businessId,
|
|
63
|
+
authToken: this.authToken,
|
|
64
|
+
service: new BusinessService(),
|
|
65
|
+
});
|
|
66
|
+
getBusiness({
|
|
67
|
+
onSuccess: ({ business }) => {
|
|
68
|
+
this.business = new Business(business);
|
|
69
|
+
this.isLoading = false;
|
|
70
|
+
},
|
|
71
|
+
onError: ({ error, code, severity }) => {
|
|
72
|
+
this.errorMessage = error;
|
|
73
|
+
this.errorEvent.emit({
|
|
74
|
+
errorCode: code,
|
|
75
|
+
message: error,
|
|
76
|
+
severity,
|
|
77
|
+
});
|
|
78
|
+
this.isLoading = false;
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
render() {
|
|
83
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
84
|
+
return (h(StyledHost, { key: 'd5ac7406c2ec045832411cb7a7deecde13243a41' }, this.isLoading && h(OrderTerminalsLoading, { key: 'ec71fe4b766244bbf2c04714bca66b69f367ece5' }), !this.isLoading && this.errorMessage && ErrorState(this.errorMessage), !this.isLoading && !this.errorMessage && this.business && (h("div", { key: '6492a8df913cb3360153715192bd30d656df4968', class: "row gap-5 pt-5", part: text }, h("div", { key: '607b534001238efc4d226cb26d8f1c1288b5ac29', class: "row" }, h("div", { key: '55e7bae0aad2ae9ec9a28961269cd532a2e00922', class: "col-12" }, h("h2", { key: 'c4e01bd6e3a9e46cb15d8b72093dc9de2d463feb', part: heading4 }, "Business Information:"), h("p", { key: 'cd3c01f074c8d55b968e713ec4805a22f1ffc3ba' }, "Business Name: ", this.business.legal_name))), h("div", { key: '20062e4aa0cad46f002821972fec7ec1fc8be01e', class: "row" }, h("div", { key: '433a4a200edd564fa0d206378a706ad84aa2696e', class: "col-6" }, h("h2", { key: 'e4a4fc4c632ccb3b6b187ccb87fb5cce398e43ca', part: heading4 }, "Representative:"), h("ul", { key: '02449f299dddc9fee8544fed405acc436217a60b', class: "list-group", part: listGroup }, h("li", { key: 'a1eff4e8974b8fe57c206fb9c6ce30e89c79d702', class: "list-group-item", part: listGroupItem }, "Name: ", (_b = (_a = this.business) === null || _a === void 0 ? void 0 : _a.representative) === null || _b === void 0 ? void 0 :
|
|
85
|
+
_b.name), h("li", { key: '4e04f41d044b92560f401e6edbb1993b84fca7a6', class: "list-group-item", part: listGroupItem }, "Title: ", (_d = (_c = this.business) === null || _c === void 0 ? void 0 : _c.representative) === null || _d === void 0 ? void 0 :
|
|
86
|
+
_d.title), h("li", { key: 'b354a893098b9f26819ab34966a5e47226fd280b', class: "list-group-item", part: listGroupItem }, "Email: ", (_f = (_e = this.business) === null || _e === void 0 ? void 0 : _e.representative) === null || _f === void 0 ? void 0 :
|
|
87
|
+
_f.email), h("li", { key: 'd1d94089d4f7db78c64143820601b359a77ab09f', class: "list-group-item", part: listGroupItem }, "Phone: ", (_h = (_g = this.business) === null || _g === void 0 ? void 0 : _g.representative) === null || _h === void 0 ? void 0 :
|
|
88
|
+
_h.phone))), h("div", { key: '91ee402f8f7886c1750b8050433992cfd9964b02', class: "col-6" }, h("h2", { key: '143f76c17de7af724c325439767275efa7c8e903', part: heading4 }, "Shipping Address:"), h("ul", { key: 'dae75ec772c3971a9e690648e4e28b2eec22c638', class: "list-group", part: listGroup }, h("li", { key: '0d83cea35521361eee13912f1cb107bf7496abcc', class: "list-group-item", part: listGroupItem }, "Street: ", (_j = this.business.legal_address) === null || _j === void 0 ? void 0 :
|
|
89
|
+
_j.line1), h("li", { key: 'be4d3d8a0c61645ac4f622235f7ecf2f3ac8e097', class: "list-group-item", part: listGroupItem }, (_k = this.business.legal_address) === null || _k === void 0 ? void 0 : _k.line2), h("li", { key: '2572604b85008e401a835abdbf6c291c3191a9c7', class: "list-group-item", part: listGroupItem }, "Postal Code: ", (_l = this.business.legal_address) === null || _l === void 0 ? void 0 :
|
|
90
|
+
_l.postal_code), h("li", { key: 'e5fd5aa1d9b1bf78c75ca667b058629575be06d3', class: "list-group-item", part: listGroupItem }, "City: ", (_m = this.business.legal_address) === null || _m === void 0 ? void 0 :
|
|
91
|
+
_m.city), h("li", { key: '9acd18a7faed0ab283e110c616d9314410a93cee', class: "list-group-item", part: listGroupItem }, "State: ", (_o = this.business.legal_address) === null || _o === void 0 ? void 0 :
|
|
92
|
+
_o.state))))))));
|
|
93
|
+
}
|
|
94
|
+
}, [1, "justifi-order-terminals", {
|
|
95
|
+
"businessId": [1, "business-id"],
|
|
96
|
+
"authToken": [1, "auth-token"],
|
|
97
|
+
"errorMessage": [32],
|
|
98
|
+
"isLoading": [32],
|
|
99
|
+
"business": [32]
|
|
100
|
+
}]);
|
|
101
|
+
function defineCustomElement$1() {
|
|
102
|
+
if (typeof customElements === "undefined") {
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
const components = ["justifi-order-terminals"];
|
|
106
|
+
components.forEach(tagName => { switch (tagName) {
|
|
107
|
+
case "justifi-order-terminals":
|
|
108
|
+
if (!customElements.get(tagName)) {
|
|
109
|
+
customElements.define(tagName, OrderTerminals);
|
|
110
|
+
}
|
|
111
|
+
break;
|
|
112
|
+
} });
|
|
113
|
+
}
|
|
114
|
+
defineCustomElement$1();
|
|
115
|
+
|
|
116
|
+
const JustifiOrderTerminals = OrderTerminals;
|
|
117
|
+
const defineCustomElement = defineCustomElement$1;
|
|
118
|
+
|
|
119
|
+
export { JustifiOrderTerminals, defineCustomElement };
|