@justifi/webcomponents 5.3.1 → 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-526a9ce5.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-2f66f025.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-be495474.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 +23 -14
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-45874555.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-cc4e6071.js → schema-validations-47a256f4.js} +2 -2
- 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/business-forms/schemas/schema-validations.js +1 -1
- 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 +26 -21
- 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 +537 -31
- package/dist/esm/{check-pkg-version-f91ed31f.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-212a96ed.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-05bd2a5f.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 +23 -14
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-2b7c7bc0.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-ccea6a06.js → schema-validations-b1aec6a0.js} +2 -2
- 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 +16 -10
- 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/schema-validations.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/tokenize-payment-method/tokenize-payment-method.d.ts +4 -3
- package/dist/types/components.d.ts +125 -12
- 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-c5c03d88.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-4c820f81.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-de13f23c.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-0277c1b2.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-d07c45e6.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-7542ebd6.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-00c32bb9.entry.js +0 -1
- package/dist/webcomponents/p-01d4e35a.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-189affee.entry.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-2916bb62.entry.js +0 -1
- package/dist/webcomponents/p-2f94d478.entry.js +0 -1
- package/dist/webcomponents/p-31cbc05a.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-40e23b13.js +0 -1
- package/dist/webcomponents/p-415deed1.entry.js +0 -1
- package/dist/webcomponents/p-44d2c762.entry.js +0 -1
- package/dist/webcomponents/p-47a3003c.entry.js +0 -1
- package/dist/webcomponents/p-4bad3621.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-63caad6e.entry.js +0 -1
- package/dist/webcomponents/p-66b6c56b.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-72ff0d5f.entry.js +0 -1
- package/dist/webcomponents/p-74014392.entry.js +0 -1
- package/dist/webcomponents/p-778e9dd0.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-85b5eeb6.entry.js +0 -1
- package/dist/webcomponents/p-8815bf82.entry.js +0 -1
- package/dist/webcomponents/p-8da3667c.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-991df3a1.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-aa02cf71.js +0 -1
- package/dist/webcomponents/p-ab254da1.entry.js +0 -1
- package/dist/webcomponents/p-af66f580.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-ca361ef6.entry.js +0 -1
- package/dist/webcomponents/p-ccd91d8a.entry.js +0 -1
- package/dist/webcomponents/p-d0bde1cb.js +0 -1
- package/dist/webcomponents/p-d8c04275.js +0 -1
- package/dist/webcomponents/p-d91c46dc.js +0 -1
- package/dist/webcomponents/p-dd867d1f.js +0 -1
- package/dist/webcomponents/p-ddcd2ff7.entry.js +0 -1
- package/dist/webcomponents/p-e8c3c23f.js +0 -1
- package/dist/webcomponents/p-eae512f0.entry.js +0 -1
- package/dist/webcomponents/p-f0c0cbc8.entry.js +0 -1
- package/dist/webcomponents/p-f28ddbe8.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-fdbcd486.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
|
@@ -4,24 +4,25 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
6
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const getPayoutCsv = require('./get-payout-csv-
|
|
10
|
-
require('./Checkout-
|
|
7
|
+
const Analytics = require('./Analytics-f448aa27.js');
|
|
8
|
+
const checkPkgVersion = require('./check-pkg-version-d75dc147.js');
|
|
9
|
+
const getPayoutCsv = require('./get-payout-csv-7646128d.js');
|
|
10
|
+
require('./Checkout-1c07dc32.js');
|
|
11
11
|
require('./Pagination-0da8f095.js');
|
|
12
12
|
require('./Payment-c47ed1e1.js');
|
|
13
|
-
const SubAccount = require('./SubAccount-
|
|
13
|
+
const SubAccount = require('./SubAccount-b4811a8e.js');
|
|
14
14
|
require('./Document-0b828345.js');
|
|
15
15
|
const utils = require('./utils-7a478c37.js');
|
|
16
|
-
const getSubaccounts = require('./get-subaccounts-
|
|
16
|
+
const getSubaccounts = require('./get-subaccounts-cc933b3e.js');
|
|
17
17
|
const styledHost = require('./styled-host-94309bab.js');
|
|
18
|
-
const payoutsTable = require('./payouts-table-
|
|
19
|
-
require('./package-
|
|
18
|
+
const payoutsTable = require('./payouts-table-70fc1498.js');
|
|
19
|
+
require('./package-a24ad889.js');
|
|
20
|
+
require('./Api-f5280a80.js');
|
|
20
21
|
require('./utils-337befa9.js');
|
|
21
22
|
require('./Dispute-eb6bad54.js');
|
|
22
|
-
require('./payouts-status-
|
|
23
|
-
require('./badge-
|
|
24
|
-
require('./parts-
|
|
23
|
+
require('./payouts-status-703d62af.js');
|
|
24
|
+
require('./badge-86a6a7f8.js');
|
|
25
|
+
require('./parts-c2655003.js');
|
|
25
26
|
|
|
26
27
|
const tableExportedParts = `
|
|
27
28
|
table-head,table-head-row,table-head-cell,table-body,table-row,table-row-even,
|
|
@@ -72,12 +73,12 @@ const PayoutsList = class {
|
|
|
72
73
|
this.errorMessage = null;
|
|
73
74
|
this.accountId = undefined;
|
|
74
75
|
this.authToken = undefined;
|
|
75
|
-
this.apiOrigin =
|
|
76
|
+
this.apiOrigin = undefined;
|
|
76
77
|
this.columns = payoutsTable.defaultColumnsKeys;
|
|
77
78
|
}
|
|
78
79
|
componentWillLoad() {
|
|
79
80
|
checkPkgVersion.checkPkgVersion();
|
|
80
|
-
this.analytics = new
|
|
81
|
+
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
81
82
|
this.initializeGetData();
|
|
82
83
|
}
|
|
83
84
|
disconnectedCallback() {
|
|
@@ -121,7 +122,7 @@ const PayoutsList = class {
|
|
|
121
122
|
}
|
|
122
123
|
}
|
|
123
124
|
render() {
|
|
124
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
125
|
+
return (index.h(styledHost.StyledHost, { key: '259a62df9d161fc97d731ccc8488f556580f5378', exportedparts: tableExportedParts }, index.h("payouts-list-core", { key: '9733d459d09173f4b9dec953d9c763910ac54e1d', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
|
|
125
126
|
}
|
|
126
127
|
static get watchers() { return {
|
|
127
128
|
"accountId": ["propChanged"],
|
|
@@ -4,12 +4,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
6
|
const index_esm = require('./index.esm-a397536a.js');
|
|
7
|
-
const Api = require('./Api-
|
|
7
|
+
const Api = require('./Api-f5280a80.js');
|
|
8
8
|
require('./ComponentError-233ac749.js');
|
|
9
|
-
require('./Checkout-
|
|
9
|
+
require('./Checkout-1c07dc32.js');
|
|
10
10
|
require('./Pagination-0da8f095.js');
|
|
11
11
|
require('./Payment-c47ed1e1.js');
|
|
12
|
-
require('./SubAccount-
|
|
12
|
+
require('./SubAccount-b4811a8e.js');
|
|
13
13
|
require('./Document-0b828345.js');
|
|
14
14
|
const formInputMasks = require('./form-input-masks-0879c139.js');
|
|
15
15
|
const styledHost = require('./styled-host-94309bab.js');
|
|
@@ -95,11 +95,11 @@ const RefundForm = class {
|
|
|
95
95
|
if (!this.authToken) {
|
|
96
96
|
console.warn('Warning: Missing auth-token.');
|
|
97
97
|
}
|
|
98
|
-
this.api = Api.Api({ authToken: this.authToken, apiOrigin:
|
|
98
|
+
this.api = Api.Api({ authToken: this.authToken, apiOrigin: undefined });
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
101
|
var _a;
|
|
102
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
102
|
+
return (index.h(styledHost.StyledHost, { key: '10aa3a31daedcb1bc4213abb3062b09745427370' }, index.h("h1", { key: '1b0b9c6a22dda364275f6da46e8e58015eb3378d' }, "Refund"), this.refundInfoText && (index.h("div", { key: '1d51f74c4e2c6419afe046a95f23f16f99209982', class: "d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3", role: "alert" }, index.h("img", { key: '4d6b0140f2bd3666000df1374a2ab6573ce2a7ee', src: "/info-icon.svg", alt: "Information", height: "30", width: "30" }), index.h("p", { key: '1e740ebd882fd08df43d23919325f6556ac04b29', class: "m-0", innerHTML: this.refundInfoText }))), index.h("form", { key: '242bfd0f2a30be1fdaa477341e2d480108633551', onSubmit: e => this.handleSubmit(e), class: "d-grid gap-4" }, index.h("div", { key: '681a00fc41eb1701f8f189fa5139bf42ce43453f', class: "form-group" }, index.h("form-control-monetary", { key: '2f5a906d7a415391a339236d7e7e189db4febd95', name: "amount", label: "Refund Amount", defaultValue: ((_a = this.amount) === null || _a === void 0 ? void 0 : _a.toString()) || '', maskOptions: formInputMasks.CURRENCY_MASK.DECIMAL, inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.amount })), index.h("div", { key: '9f0f6b5c2f5010ba1c51757bf4667ced40615738', class: "form-group" }, index.h("form-control-text", { key: 'c4f9a4431224763820dacc404ea1b693630a7ede', name: "notes", label: "Additional Notes", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.notes })), this.withButton && (index.h("div", { key: 'df5d528c865684da0c7583114a7d02b6cb6d5a6e', class: "form-group d-flex flex-row-reverse" }, index.h("button", { key: '05af832414b65d41760ca6d8b001a4affbf807c4', type: "submit", disabled: !!this.isSubmitting, class: "btn btn-primary ml-auto" }, this.submitButtonText))))));
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
|
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
6
|
const utils = require('./utils-337befa9.js');
|
|
7
|
-
const insuranceState = require('./insurance-state-
|
|
8
|
-
const parts = require('./parts-
|
|
7
|
+
const insuranceState = require('./insurance-state-ba0c39a9.js');
|
|
8
|
+
const parts = require('./parts-c2655003.js');
|
|
9
9
|
const styledHost = require('./styled-host-94309bab.js');
|
|
10
|
-
const skeleton = require('./skeleton-
|
|
10
|
+
const skeleton = require('./skeleton-84102a44.js');
|
|
11
11
|
require('./index-d2d0b181.js');
|
|
12
12
|
|
|
13
13
|
const SeasonInterruptionInsuranceLoading = () => (index.h("div", { class: "row gap-3" },
|
|
@@ -3,27 +3,28 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
|
-
const Api = require('./Api-
|
|
6
|
+
const Api = require('./Api-f5280a80.js');
|
|
7
7
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
8
|
-
require('./Checkout-
|
|
8
|
+
require('./Checkout-1c07dc32.js');
|
|
9
9
|
require('./Pagination-0da8f095.js');
|
|
10
10
|
require('./Payment-c47ed1e1.js');
|
|
11
|
-
require('./SubAccount-
|
|
11
|
+
require('./SubAccount-b4811a8e.js');
|
|
12
12
|
require('./Document-0b828345.js');
|
|
13
13
|
const utils = require('./utils-7a478c37.js');
|
|
14
|
-
const
|
|
14
|
+
const Analytics = require('./Analytics-f448aa27.js');
|
|
15
|
+
const checkPkgVersion = require('./check-pkg-version-d75dc147.js');
|
|
15
16
|
require('./utils-337befa9.js');
|
|
16
17
|
require('./Dispute-eb6bad54.js');
|
|
17
|
-
require('./package-
|
|
18
|
+
require('./package-a24ad889.js');
|
|
18
19
|
|
|
19
20
|
class InsuranceService {
|
|
20
21
|
async fetchQuote(authToken, payload) {
|
|
21
22
|
const endpoint = 'insurance/quotes';
|
|
22
|
-
return Api.Api({ authToken, apiOrigin:
|
|
23
|
+
return Api.Api({ authToken, apiOrigin: undefined }).post(endpoint, payload);
|
|
23
24
|
}
|
|
24
25
|
async toggleCoverage(authToken, quoteId, payload) {
|
|
25
26
|
const endpoint = `insurance/quotes/${quoteId}/toggle`;
|
|
26
|
-
return Api.Api({ authToken, apiOrigin:
|
|
27
|
+
return Api.Api({ authToken, apiOrigin: undefined }).post(endpoint, payload);
|
|
27
28
|
}
|
|
28
29
|
}
|
|
29
30
|
|
|
@@ -108,7 +109,7 @@ const SeasonInterruptionInsurance = class {
|
|
|
108
109
|
}
|
|
109
110
|
componentWillLoad() {
|
|
110
111
|
checkPkgVersion.checkPkgVersion();
|
|
111
|
-
this.analytics = new
|
|
112
|
+
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
112
113
|
this.initializeServiceMethods();
|
|
113
114
|
}
|
|
114
115
|
disconnectedCallback() {
|
|
@@ -135,7 +136,7 @@ const SeasonInterruptionInsurance = class {
|
|
|
135
136
|
});
|
|
136
137
|
}
|
|
137
138
|
render() {
|
|
138
|
-
return (index.h("justifi-season-interruption-insurance-core", { key: '
|
|
139
|
+
return (index.h("justifi-season-interruption-insurance-core", { key: '09686ee78334afa3648039ef1f6edcc307017f02', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
|
|
139
140
|
}
|
|
140
141
|
};
|
|
141
142
|
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-5b9a3b5f.js');
|
|
6
|
+
const styledHost = require('./styled-host-94309bab.js');
|
|
7
|
+
const checkPkgVersion = require('./check-pkg-version-d75dc147.js');
|
|
8
|
+
const terminalOrdersTable = require('./terminal-orders-table-61081532.js');
|
|
9
|
+
require('./package-a24ad889.js');
|
|
10
|
+
require('./parts-c2655003.js');
|
|
11
|
+
|
|
12
|
+
const TerminalOrdersList = class {
|
|
13
|
+
constructor(hostRef) {
|
|
14
|
+
index.registerInstance(this, hostRef);
|
|
15
|
+
this.getTerminalOrders = undefined;
|
|
16
|
+
this.errorMessage = null;
|
|
17
|
+
this.businessId = undefined;
|
|
18
|
+
this.authToken = undefined;
|
|
19
|
+
this.apiOrigin = undefined;
|
|
20
|
+
this.columns = terminalOrdersTable.defaultColumnsKeys;
|
|
21
|
+
}
|
|
22
|
+
componentWillLoad() {
|
|
23
|
+
checkPkgVersion.checkPkgVersion();
|
|
24
|
+
this.initializeGetTerminalOrders();
|
|
25
|
+
}
|
|
26
|
+
initializeGetTerminalOrders() {
|
|
27
|
+
if (this.businessId && this.authToken) {
|
|
28
|
+
this.getTerminalOrders = () => {
|
|
29
|
+
console.log('getTerminalOrders');
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
this.errorMessage = 'Business ID and Auth Token are required';
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
render() {
|
|
37
|
+
return (index.h(styledHost.StyledHost, { key: '54ebb6b9b12b123caaa6d5190d0a1c6c2198d3e3' }, index.h("terminal-orders-list-core", { key: '99376fd9a6b5657d8777a4873f16b98a4bcf03cf', getTerminalOrders: this.getTerminalOrders, columns: this.columns })));
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
exports.justifi_terminal_orders_list = TerminalOrdersList;
|
|
@@ -4,31 +4,52 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
6
|
const lodash = require('./lodash-dbf6a6a4.js');
|
|
7
|
-
const terminalsListParamsState = require('./terminals-list-params-state-
|
|
7
|
+
const terminalsListParamsState = require('./terminals-list-params-state-236f06f6.js');
|
|
8
|
+
const parts = require('./parts-c2655003.js');
|
|
8
9
|
const styledHost = require('./styled-host-94309bab.js');
|
|
10
|
+
require('./ComponentError-233ac749.js');
|
|
11
|
+
require('./Checkout-1c07dc32.js');
|
|
12
|
+
require('./Pagination-0da8f095.js');
|
|
13
|
+
require('./Payment-c47ed1e1.js');
|
|
14
|
+
const SubAccount = require('./SubAccount-b4811a8e.js');
|
|
15
|
+
require('./Document-0b828345.js');
|
|
9
16
|
require('./index-d2d0b181.js');
|
|
17
|
+
require('./utils-337befa9.js');
|
|
18
|
+
require('./Dispute-eb6bad54.js');
|
|
10
19
|
|
|
11
20
|
const TerminalsListFilters = class {
|
|
12
21
|
constructor(hostRef) {
|
|
13
22
|
index.registerInstance(this, hostRef);
|
|
14
23
|
this.setParamsOnChange = (name, value) => {
|
|
15
|
-
terminalsListParamsState.
|
|
24
|
+
terminalsListParamsState.filterParams[name] = value;
|
|
16
25
|
};
|
|
26
|
+
this.terminalId = undefined;
|
|
27
|
+
this.terminalStatus = undefined;
|
|
17
28
|
}
|
|
18
29
|
componentWillLoad() {
|
|
19
30
|
// debounced input handler for text input
|
|
20
31
|
this.debouncedSetParamsOnChange = lodash.lodash.exports.debounce(this.setParamsOnChange, 300);
|
|
32
|
+
const propsToSet = {
|
|
33
|
+
terminal_id: this.terminalId,
|
|
34
|
+
status: this.terminalStatus,
|
|
35
|
+
};
|
|
36
|
+
Object.entries(propsToSet).forEach(([key, value]) => {
|
|
37
|
+
if (value) {
|
|
38
|
+
terminalsListParamsState.propsParams[key] = value;
|
|
39
|
+
}
|
|
40
|
+
});
|
|
21
41
|
}
|
|
22
42
|
get terminalStatusOptions() {
|
|
23
43
|
return [
|
|
24
44
|
{ label: 'All', value: '' },
|
|
25
|
-
{ label: 'Connected', value:
|
|
26
|
-
{ label: 'Disconnected', value:
|
|
27
|
-
{ label: 'Unknown', value:
|
|
45
|
+
{ label: 'Connected', value: SubAccount.ITerminalStatus.connected },
|
|
46
|
+
{ label: 'Disconnected', value: SubAccount.ITerminalStatus.disconnected },
|
|
47
|
+
{ label: 'Unknown', value: SubAccount.ITerminalStatus.unknown },
|
|
28
48
|
];
|
|
29
49
|
}
|
|
30
50
|
render() {
|
|
31
|
-
|
|
51
|
+
const filterMenuParams = Object.assign({}, terminalsListParamsState.filterParams);
|
|
52
|
+
return (index.h(styledHost.StyledHost, { key: '9e55f56855ebf7f0755c5750bfe4ae57bcc2a48e' }, index.h("table-filters-menu", { key: 'dae12779f49c3264cb3a5362cc4e4edc2aa6447c', params: filterMenuParams, clearParams: terminalsListParamsState.clearParams, part: parts.terminalsListFilterMenu }, index.h("div", { key: '9767d61b94a7de6bc290a1dc97e5ecdb7e75beb8', class: "grid-cols-2 gap-3 p-1" }, index.h("div", { key: 'cab20a5aab288920f205835c4343b44502cc4a1e', class: "p-2" }, index.h("form-control-text", { key: '58600a426dded8a9efc05e444439c36e3eab5bc8', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || terminalsListParamsState.filterParams.terminal_id, disabled: !!this.terminalId, part: parts.terminalIdTerminalsListFilterParam })), index.h("div", { key: '81f513ae03435ea2c97e43f460aab430ebd4a490', class: "p-2" }, index.h("form-control-select", { key: 'ee04592e4f117f7b58984932d10081a4383d7a65', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || terminalsListParamsState.filterParams.status, disabled: !!this.terminalStatus, part: parts.terminalStatusTerminalsListFilterParam }))))));
|
|
32
53
|
}
|
|
33
54
|
};
|
|
34
55
|
|
|
@@ -4,37 +4,32 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
6
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
require('./
|
|
7
|
+
const Analytics = require('./Analytics-f448aa27.js');
|
|
8
|
+
const checkPkgVersion = require('./check-pkg-version-d75dc147.js');
|
|
9
|
+
const Api = require('./Api-f5280a80.js');
|
|
10
|
+
require('./Checkout-1c07dc32.js');
|
|
10
11
|
require('./Pagination-0da8f095.js');
|
|
11
12
|
require('./Payment-c47ed1e1.js');
|
|
12
|
-
const SubAccount = require('./SubAccount-
|
|
13
|
+
const SubAccount = require('./SubAccount-b4811a8e.js');
|
|
13
14
|
require('./Document-0b828345.js');
|
|
14
15
|
const utils = require('./utils-7a478c37.js');
|
|
15
|
-
const getSubaccounts = require('./get-subaccounts-
|
|
16
|
+
const getSubaccounts = require('./get-subaccounts-cc933b3e.js');
|
|
16
17
|
const styledHost = require('./styled-host-94309bab.js');
|
|
17
|
-
const terminalsTable = require('./terminals-table-
|
|
18
|
-
require('./package-
|
|
18
|
+
const terminalsTable = require('./terminals-table-db58a0c0.js');
|
|
19
|
+
require('./package-a24ad889.js');
|
|
19
20
|
require('./utils-337befa9.js');
|
|
20
21
|
require('./Dispute-eb6bad54.js');
|
|
21
|
-
require('./badge-
|
|
22
|
-
require('./parts-
|
|
22
|
+
require('./badge-86a6a7f8.js');
|
|
23
|
+
require('./parts-c2655003.js');
|
|
23
24
|
|
|
24
25
|
class TerminalService {
|
|
25
|
-
async fetchTerminals(accountId, authToken, params, apiOrigin) {
|
|
26
|
-
if (!apiOrigin) {
|
|
27
|
-
apiOrigin = Api.config.proxyApiOrigin;
|
|
28
|
-
}
|
|
26
|
+
async fetchTerminals(accountId, authToken, params, apiOrigin = undefined) {
|
|
29
27
|
const headers = { Account: accountId };
|
|
30
28
|
const api = Api.Api({ authToken, apiOrigin });
|
|
31
29
|
const endpoint = 'terminals';
|
|
32
30
|
return api.get(endpoint, params, null, headers);
|
|
33
31
|
}
|
|
34
|
-
async fetchTerminal(terminalId, authToken, apiOrigin) {
|
|
35
|
-
if (!apiOrigin) {
|
|
36
|
-
apiOrigin = Api.config.proxyApiOrigin;
|
|
37
|
-
}
|
|
32
|
+
async fetchTerminal(terminalId, authToken, apiOrigin = undefined) {
|
|
38
33
|
const endpoint = `terminals/${terminalId}`;
|
|
39
34
|
return Api.Api({ authToken, apiOrigin: apiOrigin }).get(endpoint);
|
|
40
35
|
}
|
|
@@ -82,12 +77,12 @@ const TerminalsList = class {
|
|
|
82
77
|
this.errorMessage = null;
|
|
83
78
|
this.accountId = undefined;
|
|
84
79
|
this.authToken = undefined;
|
|
85
|
-
this.apiOrigin =
|
|
80
|
+
this.apiOrigin = undefined;
|
|
86
81
|
this.columns = terminalsTable.defaultColumnsKeys;
|
|
87
82
|
}
|
|
88
83
|
componentWillLoad() {
|
|
89
84
|
checkPkgVersion.checkPkgVersion();
|
|
90
|
-
this.analytics = new
|
|
85
|
+
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
91
86
|
this.initializeGetData();
|
|
92
87
|
}
|
|
93
88
|
disconnectedCallback() {
|
|
@@ -129,7 +124,7 @@ const TerminalsList = class {
|
|
|
129
124
|
}
|
|
130
125
|
}
|
|
131
126
|
render() {
|
|
132
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
127
|
+
return (index.h(styledHost.StyledHost, { key: '1534781e6264057b7c780e6b44f4a7a66a561296' }, index.h("terminals-list-core", { key: '8c0fb664d5ebe4fedcf6e45046e931adffb9d381', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
133
128
|
}
|
|
134
129
|
static get watchers() { return {
|
|
135
130
|
"accountId": ["propChanged"],
|
|
@@ -3,13 +3,21 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
|
-
const button = require('./button-
|
|
6
|
+
const button = require('./button-5f6c437f.js');
|
|
7
7
|
const styledHost = require('./styled-host-94309bab.js');
|
|
8
|
+
const checkPkgVersion = require('./check-pkg-version-d75dc147.js');
|
|
9
|
+
const Analytics = require('./Analytics-f448aa27.js');
|
|
8
10
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
require('./
|
|
12
|
-
require('./
|
|
11
|
+
require('./Checkout-1c07dc32.js');
|
|
12
|
+
require('./Pagination-0da8f095.js');
|
|
13
|
+
require('./Payment-c47ed1e1.js');
|
|
14
|
+
require('./SubAccount-b4811a8e.js');
|
|
15
|
+
require('./Document-0b828345.js');
|
|
16
|
+
require('./parts-c2655003.js');
|
|
17
|
+
require('./package-a24ad889.js');
|
|
18
|
+
require('./Api-f5280a80.js');
|
|
19
|
+
require('./utils-337befa9.js');
|
|
20
|
+
require('./Dispute-eb6bad54.js');
|
|
13
21
|
|
|
14
22
|
const TokenizePaymentMethod = class {
|
|
15
23
|
constructor(hostRef) {
|
|
@@ -24,18 +32,19 @@ const TokenizePaymentMethod = class {
|
|
|
24
32
|
this.disableBankAccount = undefined;
|
|
25
33
|
this.hideSubmitButton = undefined;
|
|
26
34
|
this.hideCardBillingForm = undefined;
|
|
27
|
-
this.iframeOrigin =
|
|
35
|
+
this.iframeOrigin = undefined;
|
|
28
36
|
this.isLoading = false;
|
|
29
37
|
}
|
|
30
38
|
componentWillLoad() {
|
|
31
39
|
checkPkgVersion.checkPkgVersion();
|
|
32
|
-
this.analytics = new
|
|
40
|
+
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
33
41
|
}
|
|
34
42
|
async tokenizePaymentMethod(event) {
|
|
35
43
|
event && event.preventDefault();
|
|
36
44
|
this.isLoading = true;
|
|
45
|
+
let tokenizeResponse;
|
|
37
46
|
try {
|
|
38
|
-
|
|
47
|
+
tokenizeResponse = await this.paymentMethodOptionsRef.resolvePaymentMethod({ isValid: true });
|
|
39
48
|
if (tokenizeResponse.error) {
|
|
40
49
|
this.errorEvent.emit({
|
|
41
50
|
errorCode: tokenizeResponse.error.code,
|
|
@@ -43,26 +52,26 @@ const TokenizePaymentMethod = class {
|
|
|
43
52
|
severity: ComponentError.ComponentErrorSeverity.ERROR,
|
|
44
53
|
});
|
|
45
54
|
}
|
|
46
|
-
else if (tokenizeResponse.token) {
|
|
47
|
-
this.submitEvent.emit({ response: tokenizeResponse });
|
|
48
|
-
}
|
|
49
55
|
}
|
|
50
56
|
catch (error) {
|
|
51
|
-
|
|
57
|
+
const errorData = {
|
|
52
58
|
errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
|
|
53
59
|
message: error.message,
|
|
54
60
|
severity: ComponentError.ComponentErrorSeverity.ERROR,
|
|
55
|
-
}
|
|
61
|
+
};
|
|
62
|
+
this.errorEvent.emit(errorData);
|
|
56
63
|
}
|
|
57
64
|
finally {
|
|
65
|
+
this.submitEvent.emit({ response: tokenizeResponse });
|
|
58
66
|
this.isLoading = false;
|
|
67
|
+
return tokenizeResponse;
|
|
59
68
|
}
|
|
60
69
|
}
|
|
61
70
|
async fillBillingForm(fields) {
|
|
62
71
|
this.paymentMethodOptionsRef.fillBillingForm(fields);
|
|
63
72
|
}
|
|
64
73
|
render() {
|
|
65
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
74
|
+
return (index.h(styledHost.StyledHost, { key: 'ac989aa84f6262ff1b72a88fc7c4ebb0e62175dc' }, index.h("form", { key: '482ebf3ca3ac67738fdd0243de8d29ad66754313' }, index.h("fieldset", { key: 'e563783b34d570bafd1788949a486454ce70ab4a' }, index.h("div", { key: 'a42f5625f5d0860153f4260aa9c5f76f4afcad06', class: "row gy-3" }, index.h("div", { key: 'f64bb331c9922be711bfdd9a50d76530773867c0', class: "col-12" }, index.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 })), index.h("div", { key: '29ec96487c4a5d54c4883c4cfe4a6ee4a309042f', class: "col-12" }, index.h(button.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')))))));
|
|
66
75
|
}
|
|
67
76
|
};
|
|
68
77
|
|