@justifi/webcomponents 5.3.2 → 5.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{check-pkg-version-fe4c6467.js → Analytics-f448aa27.js} +8 -23
- package/dist/cjs/{Api-089e7501.js → Api-f5280a80.js} +0 -13
- package/dist/cjs/{Business-cfd6a2dd.js → Business-d88b77fd.js} +6 -2
- package/dist/cjs/{Checkout-0f1c8abe.js → Checkout-1c07dc32.js} +14 -7
- package/dist/cjs/{SubAccount-509ebf93.js → SubAccount-b4811a8e.js} +6 -9
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-ccfe03bf.js → badge-86a6a7f8.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +9 -9
- package/dist/cjs/bank-account-form_9.cjs.entry.js +78 -5
- package/dist/cjs/billing-form_3.cjs.entry.js +11 -11
- package/dist/cjs/{business-additional-questions-schema-2cc0c6f7.js → business-additional-questions-schema-5c100f58.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{business-form-options-4bcb8943.js → business-form-options-62e9c8ab.js} +1 -1
- package/dist/cjs/{business-identity-schema-7d462eb3.js → business-identity-schema-3b4d16f1.js} +1 -1
- package/dist/cjs/{business.service-33d7c7f2.js → business.service-6b05ee96.js} +8 -8
- package/dist/cjs/{button-8b634147.js → button-5f6c437f.js} +1 -1
- package/dist/cjs/check-pkg-version-d75dc147.js +24 -0
- package/dist/cjs/{checkout.service-d9047ddb.js → checkout.service-aa037531.js} +6 -6
- package/dist/cjs/checkouts-list-core.cjs.entry.js +16 -15
- package/dist/cjs/checkouts-list-params-state-644d3639.js +22 -0
- package/dist/cjs/{checkouts-table-efa1cbab.js → checkouts-table-cf3e245e.js} +2 -2
- package/dist/cjs/custom-popper_4.cjs.entry.js +8 -8
- package/dist/cjs/{dispute.service-739631c7.js → dispute.service-27dcd7f4.js} +7 -7
- package/dist/cjs/event-types-b6d34593.js +8 -0
- package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-46a7f2dd.js → form-control-error-text-9905e3b8.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-help-text-98c882e3.js → form-control-help-text-8d031bfb.js} +1 -1
- package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/get-business-0bd063d2.js +34 -0
- package/dist/cjs/{get-payout-csv-bdaff21b.js → get-payout-csv-7646128d.js} +6 -15
- package/dist/cjs/{get-subaccounts-2db9fc01.js → get-subaccounts-cc933b3e.js} +4 -7
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
- package/dist/cjs/{header-1-4c21f7ca.js → header-1-b202dbbb.js} +1 -1
- package/dist/cjs/{header-3-130206cc.js → header-3-5f78acd1.js} +1 -1
- package/dist/cjs/{insurance-state-21fde44f.js → insurance-state-ba0c39a9.js} +1 -1
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +10 -10
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +9 -9
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/justifi-business-details.cjs.entry.js +13 -38
- package/dist/cjs/justifi-business-form.cjs.entry.js +17 -16
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkout.cjs.entry.js +11 -10
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +32 -9
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -13
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -9
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -14
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -7
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +102 -0
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -9
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -6
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +14 -13
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -9
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +20 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -14
- package/dist/cjs/justifi-refund-form.cjs.entry.js +5 -5
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -9
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +41 -0
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +27 -6
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +15 -20
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +11 -10
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-8b04bef0.js → package-a24ad889.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-b2ff8b68.js → parts-c2655003.js} +32 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +12 -12
- package/dist/cjs/{payment.service-87924c1a.js → payment.service-65fbac72.js} +5 -8
- package/dist/cjs/payments-list-core.cjs.entry.js +17 -16
- package/dist/cjs/{payments-status-ec12ee6a.js → payments-status-92abe577.js} +1 -1
- package/dist/cjs/{payments-table-f3aa174d.js → payments-table-c58e3ca8.js} +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +7 -7
- package/dist/cjs/payouts-list-core.cjs.entry.js +22 -17
- package/dist/cjs/payouts-list-params-state-033b76d6.js +22 -0
- package/dist/cjs/{payouts-status-9f2e9a3a.js → payouts-status-703d62af.js} +1 -1
- package/dist/cjs/{payouts-table-4efa53fa.js → payouts-table-70fc1498.js} +3 -3
- package/dist/cjs/{schema-validations-f948158d.js → schema-validations-47a256f4.js} +1 -1
- package/dist/cjs/{skeleton-0353466d.js → skeleton-84102a44.js} +1 -1
- package/dist/cjs/{spinner-4fc60a51.js → spinner-70f38e5e.js} +1 -1
- package/dist/cjs/{event-types-34b103b4.js → table-fc82fa81.js} +2 -9
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +80 -0
- package/dist/cjs/terminal-orders-table-61081532.js +18 -0
- package/dist/cjs/terminals-list-core.cjs.entry.js +16 -15
- package/dist/cjs/terminals-list-params-state-236f06f6.js +22 -0
- package/dist/cjs/{terminals-table-5e4bce93.js → terminals-table-db58a0c0.js} +3 -3
- package/dist/cjs/{utils-134dda01.js → utils-7c5b2837.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/{api → actions/sub-account}/get-subaccounts.js +2 -3
- package/dist/collection/api/Analytics.js +5 -0
- package/dist/collection/api/Business.js +6 -2
- package/dist/collection/api/Checkout.js +8 -1
- package/dist/collection/api/Payout.js +0 -3
- package/dist/collection/api/Terminal.js +6 -6
- package/dist/collection/api/services/analytics.service.js +1 -2
- package/dist/collection/api/services/business.service.js +7 -8
- package/dist/collection/api/services/checkout.service.js +4 -5
- package/dist/collection/api/services/dispute.service.js +4 -5
- package/dist/collection/api/services/insurance.service.js +2 -3
- package/dist/collection/api/services/payment.service.js +2 -6
- package/dist/collection/api/services/payout.service.js +3 -13
- package/dist/collection/api/services/provision.service.js +1 -2
- package/dist/collection/api/services/reports.service.js +1 -2
- package/dist/collection/api/services/subaccounts.service.js +1 -5
- package/dist/collection/api/services/terminal.service.js +2 -9
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/business-details/business-details.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-form.js +1 -2
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -3
- package/dist/collection/components/checkout/bank-account-form/bank-account-form-skeleton.js +10 -0
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +24 -1
- package/dist/collection/components/checkout/card-form/card-form-skeleton.js +10 -0
- package/dist/collection/components/checkout/card-form/card-form.js +26 -1
- package/dist/collection/components/checkout/checkout.js +5 -6
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +7 -9
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +75 -9
- package/dist/collection/components/checkouts-list/checkouts-list-params-state.js +11 -5
- package/dist/collection/components/checkouts-list/checkouts-list.js +5 -6
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +4 -5
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +3 -4
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +2 -2
- package/dist/collection/components/order-terminals/order-terminals-loading.js +6 -0
- package/dist/collection/components/order-terminals/order-terminals.js +139 -0
- package/dist/collection/components/payment-details/payment-details-core.js +7 -7
- package/dist/collection/components/payment-details/payment-details.js +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +7 -7
- package/dist/collection/components/payments-list/payments-list-filters.js +3 -3
- package/dist/collection/components/payments-list/payments-list.js +4 -5
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- package/dist/collection/components/payout-details/payout-details.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +12 -10
- package/dist/collection/components/payouts-list/payouts-list-filters.js +58 -3
- package/dist/collection/components/payouts-list/payouts-list-params-state.js +11 -5
- package/dist/collection/components/payouts-list/payouts-list.js +5 -6
- package/dist/collection/components/payouts-list/payouts-table.js +1 -1
- package/dist/collection/components/refund-form/refund-form.js +2 -3
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +141 -0
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +113 -0
- package/dist/collection/components/terminal-orders-list/terminal-orders-table.js +11 -0
- package/dist/collection/components/terminals-list/terminals-list-core.js +7 -9
- package/dist/collection/components/terminals-list/terminals-list-filters.js +64 -6
- package/dist/collection/components/terminals-list/terminals-list-params-state.js +11 -5
- package/dist/collection/components/terminals-list/terminals-list.js +5 -6
- package/dist/collection/components/terminals-list/terminals-table.js +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +3 -4
- package/dist/collection/styles/parts.js +19 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +23 -7
- package/dist/docs.json +515 -14
- package/dist/esm/{check-pkg-version-e2273f4f.js → Analytics-c083a998.js} +9 -23
- package/dist/esm/{Api-97801a4b.js → Api-391d00e2.js} +1 -13
- package/dist/esm/{Business-29c69f22.js → Business-0855931c.js} +6 -2
- package/dist/esm/{Checkout-8325c97a.js → Checkout-919eb1ba.js} +9 -2
- package/dist/esm/{ComponentError-3ce7f437.js → ComponentError-c61dce41.js} +1 -1
- package/dist/esm/{SubAccount-a73bf971.js → SubAccount-9aad3891.js} +7 -10
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{badge-938ba4b1.js → badge-2eb79416.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +10 -10
- package/dist/esm/bank-account-form_9.entry.js +79 -6
- package/dist/esm/billing-form_3.entry.js +12 -12
- package/dist/esm/{business-additional-questions-schema-60e9b76a.js → business-additional-questions-schema-df76728f.js} +1 -1
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-form-options-018f62a5.js → business-form-options-86a13078.js} +1 -1
- package/dist/esm/{business-identity-schema-191d85c2.js → business-identity-schema-0a78fc59.js} +1 -1
- package/dist/esm/{business.service-45c7df3c.js → business.service-98709b1e.js} +8 -8
- package/dist/esm/{button-4b3f3934.js → button-cc455199.js} +1 -1
- package/dist/esm/check-pkg-version-6d475fed.js +22 -0
- package/dist/esm/{checkout.service-36e3355e.js → checkout.service-9330c18a.js} +7 -7
- package/dist/esm/checkouts-list-core.entry.js +16 -15
- package/dist/esm/checkouts-list-params-state-7bdf00bd.js +16 -0
- package/dist/esm/{checkouts-table-1634366d.js → checkouts-table-53981285.js} +2 -2
- package/dist/esm/custom-popper_4.entry.js +8 -8
- package/dist/esm/{dispute.service-9b9b87e5.js → dispute.service-a14ac172.js} +8 -8
- package/dist/esm/event-types-0a83d0b4.js +8 -0
- package/dist/esm/form-alert_5.entry.js +3 -3
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-b3d14e92.js → form-control-error-text-74c6b38a.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +4 -4
- package/dist/esm/{form-control-help-text-7b07fc37.js → form-control-help-text-76a4196e.js} +1 -1
- package/dist/esm/form-control-monetary.entry.js +5 -5
- package/dist/esm/form-control-number-masked_2.entry.js +4 -4
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/get-business-464419f6.js +32 -0
- package/dist/esm/{get-payout-csv-80210301.js → get-payout-csv-87cc2147.js} +8 -17
- package/dist/esm/{get-subaccounts-d3eeb85d.js → get-subaccounts-26454771.js} +6 -9
- package/dist/esm/gross-payment-chart-core.entry.js +4 -4
- package/dist/esm/{header-1-4db0c986.js → header-1-797ca789.js} +1 -1
- package/dist/esm/{header-3-fd150ccf.js → header-3-544afa0b.js} +1 -1
- package/dist/esm/{insurance-state-529e2d0d.js → insurance-state-307335d6.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +11 -11
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +12 -12
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-business-details.entry.js +11 -36
- package/dist/esm/justifi-business-form.entry.js +17 -16
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-core.entry.js +7 -7
- package/dist/esm/justifi-checkout.entry.js +12 -11
- package/dist/esm/justifi-checkouts-list-filters.entry.js +32 -9
- package/dist/esm/justifi-checkouts-list.entry.js +15 -14
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +11 -10
- package/dist/esm/justifi-dispute-notification_3.entry.js +16 -15
- package/dist/esm/justifi-gross-payment-chart.entry.js +9 -8
- package/dist/esm/justifi-order-terminals.entry.js +98 -0
- package/dist/esm/justifi-owner-form_3.entry.js +11 -11
- package/dist/esm/justifi-payment-details.entry.js +11 -10
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +9 -8
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +15 -14
- package/dist/esm/justifi-payout-details.entry.js +11 -10
- package/dist/esm/justifi-payouts-list-filters.entry.js +20 -3
- package/dist/esm/justifi-payouts-list.entry.js +16 -15
- package/dist/esm/justifi-refund-form.entry.js +6 -6
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance.entry.js +11 -10
- package/dist/esm/justifi-terminal-orders-list.entry.js +37 -0
- package/dist/esm/justifi-terminals-list-filters.entry.js +27 -6
- package/dist/esm/justifi-terminals-list.entry.js +16 -21
- package/dist/esm/justifi-tokenize-payment-method.entry.js +11 -10
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-a8e8f775.js → package-13968013.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-ab2bb4b5.js → parts-489f0af6.js} +21 -1
- package/dist/esm/payment-details-core.entry.js +12 -12
- package/dist/esm/{payment-provisioning-actions-726795a0.js → payment-provisioning-actions-beadac34.js} +2 -2
- package/dist/esm/{payment.service-c847c1f6.js → payment.service-35bbab8f.js} +6 -9
- package/dist/esm/payments-list-core.entry.js +17 -16
- package/dist/esm/{payments-status-abf1724b.js → payments-status-35255b2c.js} +1 -1
- package/dist/esm/{payments-table-88fbab49.js → payments-table-6e97396a.js} +2 -2
- package/dist/esm/payout-details-core.entry.js +7 -7
- package/dist/esm/payouts-list-core.entry.js +22 -17
- package/dist/esm/payouts-list-params-state-ebcee300.js +16 -0
- package/dist/esm/{payouts-status-d9987a8a.js → payouts-status-a0cc00c5.js} +1 -1
- package/dist/esm/{payouts-table-055d3633.js → payouts-table-6b8ba8f1.js} +3 -3
- package/dist/esm/{schema-validations-38e8bc7b.js → schema-validations-b1aec6a0.js} +1 -1
- package/dist/esm/{skeleton-ee7c3b32.js → skeleton-74fbfb68.js} +1 -1
- package/dist/esm/{spinner-8ec6669a.js → spinner-6b708842.js} +1 -1
- package/dist/esm/{event-types-fd7a05d9.js → table-e287f1c0.js} +3 -10
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +76 -0
- package/dist/esm/terminal-orders-table-765c44d5.js +14 -0
- package/dist/esm/terminals-list-core.entry.js +16 -15
- package/dist/esm/terminals-list-params-state-e4b2ec23.js +16 -0
- package/dist/esm/{terminals-table-2963e65b.js → terminals-table-c6258344.js} +3 -3
- package/dist/esm/{utils-c2dc83b2.js → utils-6c26bccc.js} +1 -1
- package/dist/esm/{utils-b10dae27.js → utils-fd99b806.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +82 -0
- package/dist/module/{config.js → Api.js} +1 -13
- package/dist/module/Business.js +6 -2
- package/dist/module/Checkout.js +9 -2
- package/dist/module/SubAccount.js +7 -10
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/bank-account-form2.js +37 -2
- package/dist/module/business-terms-conditions-form-step.js +3 -3
- package/dist/module/business.service.js +8 -8
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-form2.js +43 -2
- package/dist/module/check-pkg-version.js +1 -75
- package/dist/module/checkout.service.js +4 -4
- package/dist/module/checkouts-list-core2.js +9 -9
- package/dist/module/checkouts-list-params-state.js +11 -5
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +2 -2
- package/dist/module/dispute-response-actions.js +5 -5
- package/dist/module/dispute-response-core.js +2 -2
- package/dist/module/dispute-response.js +4 -4
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- package/dist/module/event-types2.js +1 -55
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/get-business.js +32 -0
- package/dist/module/get-payout-csv.js +4 -13
- package/dist/module/get-subaccounts.js +2 -5
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +6 -7
- package/dist/module/justifi-business-details.js +4 -31
- package/dist/module/justifi-business-form.js +4 -3
- package/dist/module/justifi-checkout.js +5 -5
- package/dist/module/justifi-checkouts-list-filters.js +34 -10
- package/dist/module/justifi-checkouts-list.js +4 -4
- package/dist/module/justifi-dispute-management.js +4 -4
- package/dist/module/justifi-gross-payment-chart.js +4 -3
- package/dist/module/justifi-order-terminals.d.ts +11 -0
- package/dist/module/justifi-order-terminals.js +119 -0
- package/dist/module/justifi-payment-details.js +2 -1
- package/dist/module/justifi-payment-provisioning.js +4 -3
- package/dist/module/justifi-payments-list-filters.js +3 -3
- package/dist/module/justifi-payments-list.js +4 -4
- package/dist/module/justifi-payout-details.js +2 -1
- package/dist/module/justifi-payouts-list-filters.js +24 -4
- package/dist/module/justifi-payouts-list.js +4 -4
- package/dist/module/justifi-refund-form.js +3 -3
- package/dist/module/justifi-season-interruption-insurance.js +6 -5
- package/dist/module/justifi-terminal-orders-list.d.ts +11 -0
- package/dist/module/justifi-terminal-orders-list.js +73 -0
- package/dist/module/justifi-terminals-list-filters.js +29 -7
- package/dist/module/justifi-terminals-list.js +7 -12
- package/dist/module/justifi-tokenize-payment-method.js +4 -4
- package/dist/module/package.js +1 -1
- package/dist/module/parts.js +21 -1
- package/dist/module/payment-details-core2.js +7 -7
- package/dist/module/payment.service.js +3 -6
- package/dist/module/payments-list-core2.js +9 -8
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payouts-list-core2.js +15 -11
- package/dist/module/payouts-list-params-state.js +11 -5
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/table.js +55 -0
- package/dist/module/terminal-orders-list-core.d.ts +11 -0
- package/dist/module/terminal-orders-list-core.js +6 -0
- package/dist/module/terminal-orders-list-core2.js +117 -0
- package/dist/module/terminals-list-core2.js +10 -10
- package/dist/module/terminals-list-params-state.js +11 -5
- package/dist/types/api/Business.d.ts +4 -4
- package/dist/types/api/Checkout.d.ts +6 -1
- package/dist/types/api/Payout.d.ts +0 -1
- package/dist/types/api/Terminal.d.ts +6 -12
- package/dist/types/components/checkout/bank-account-form/bank-account-form-skeleton.d.ts +6 -0
- package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +2 -0
- package/dist/types/components/checkout/card-form/card-form-skeleton.d.ts +6 -0
- package/dist/types/components/checkout/card-form/card-form.d.ts +2 -0
- package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +1 -1
- package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +5 -2
- package/dist/types/components/checkouts-list/checkouts-list-params-state.d.ts +4 -3
- package/dist/types/components/order-terminals/order-terminals-loading.d.ts +1 -0
- package/dist/types/components/order-terminals/order-terminals.d.ts +16 -0
- package/dist/types/components/payments-list/payments-list-core.d.ts +1 -1
- package/dist/types/components/payouts-list/payouts-list-core.d.ts +1 -1
- package/dist/types/components/payouts-list/payouts-list-filters.d.ts +3 -0
- package/dist/types/components/payouts-list/payouts-list-params-state.d.ts +4 -3
- package/dist/types/components/terminal-orders-list/terminal-orders-list-core.d.ts +25 -0
- package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +11 -0
- package/dist/types/components/terminal-orders-list/terminal-orders-table.d.ts +9 -0
- package/dist/types/components/terminals-list/terminals-list-core.d.ts +1 -1
- package/dist/types/components/terminals-list/terminals-list-filters.d.ts +4 -1
- package/dist/types/components/terminals-list/terminals-list-params-state.d.ts +4 -3
- package/dist/types/components.d.ts +117 -2
- package/dist/types/styles/parts.d.ts +14 -0
- package/dist/types/ui-components/form/iframe-input.d.ts +2 -1
- package/dist/webcomponents/p-020e7d5d.entry.js +1 -0
- package/dist/webcomponents/{p-0f6ae5ea.entry.js → p-060896c4.entry.js} +1 -1
- package/dist/webcomponents/{p-298e290e.js → p-06f5b709.js} +1 -1
- package/dist/webcomponents/p-092515e0.js +1 -0
- package/dist/webcomponents/{p-94eba309.js → p-09496255.js} +1 -1
- package/dist/webcomponents/p-0b38cfbf.js +1 -0
- package/dist/webcomponents/p-0c768ac5.entry.js +1 -0
- package/dist/webcomponents/p-0e180654.js +1 -0
- package/dist/webcomponents/p-0f0c5556.entry.js +1 -0
- package/dist/webcomponents/{p-f19f9f61.js → p-1278dedf.js} +1 -1
- package/dist/webcomponents/p-15675401.entry.js +1 -0
- package/dist/webcomponents/p-185181a8.js +1 -0
- package/dist/webcomponents/{p-5bf4535a.entry.js → p-19063270.entry.js} +1 -1
- package/dist/webcomponents/p-1906c67d.entry.js +1 -0
- package/dist/webcomponents/p-1a2eea29.entry.js +1 -0
- package/dist/webcomponents/p-1f4e26f3.entry.js +1 -0
- package/dist/webcomponents/p-1f99a902.js +1 -0
- package/dist/webcomponents/{p-bada4783.entry.js → p-235abbd1.entry.js} +1 -1
- package/dist/webcomponents/p-245819b0.entry.js +1 -0
- package/dist/webcomponents/p-26864218.entry.js +1 -0
- package/dist/webcomponents/p-27c72b92.entry.js +1 -0
- package/dist/webcomponents/p-2e0ae487.js +1 -0
- package/dist/webcomponents/p-2f9af679.js +1 -0
- package/dist/webcomponents/{p-21431a04.js → p-300a99ee.js} +1 -1
- package/dist/webcomponents/p-309dc8aa.js +1 -0
- package/dist/webcomponents/p-32ca779f.js +1 -0
- package/dist/webcomponents/p-375b4d2c.entry.js +1 -0
- package/dist/webcomponents/p-37b7b200.entry.js +1 -0
- package/dist/webcomponents/p-389e1eb7.js +1 -0
- package/dist/webcomponents/p-3a7a2a64.entry.js +1 -0
- package/dist/webcomponents/p-3ab7a49e.entry.js +1 -0
- package/dist/webcomponents/{p-938993c7.js → p-3b680e50.js} +1 -1
- package/dist/webcomponents/p-3bb21097.entry.js +1 -0
- package/dist/webcomponents/p-3d486f37.entry.js +1 -0
- package/dist/webcomponents/p-42a48c59.js +1 -0
- package/dist/webcomponents/p-45bf8573.js +1 -0
- package/dist/webcomponents/p-49df4962.entry.js +1 -0
- package/dist/webcomponents/{p-ab1504b6.entry.js → p-4a71c90b.entry.js} +1 -1
- package/dist/webcomponents/{p-b0b40bcd.js → p-4acf8ca2.js} +1 -1
- package/dist/webcomponents/p-4b6256e0.entry.js +1 -0
- package/dist/webcomponents/p-553dba95.entry.js +1 -0
- package/dist/webcomponents/p-595479da.entry.js +1 -0
- package/dist/webcomponents/p-5a96a2a2.entry.js +1 -0
- package/dist/webcomponents/{p-275f2154.js → p-5d1d2fd7.js} +1 -1
- package/dist/webcomponents/p-61b5417f.entry.js +1 -0
- package/dist/webcomponents/p-66ae2a0e.entry.js +1 -0
- package/dist/webcomponents/p-69242bad.entry.js +1 -0
- package/dist/webcomponents/p-73b98298.entry.js +1 -0
- package/dist/webcomponents/p-78a204f9.entry.js +1 -0
- package/dist/webcomponents/p-794cce10.entry.js +1 -0
- package/dist/webcomponents/{p-b2edb944.js → p-7bf21156.js} +1 -1
- package/dist/webcomponents/p-7c541199.entry.js +1 -0
- package/dist/webcomponents/p-7ee5a90e.entry.js +1 -0
- package/dist/webcomponents/p-87a7c3aa.js +1 -0
- package/dist/webcomponents/{p-8115b2f4.js → p-87f8c596.js} +1 -1
- package/dist/webcomponents/{p-5afefc50.entry.js → p-89ecfbf4.entry.js} +2 -2
- package/dist/webcomponents/{p-3e716e03.js → p-8a7266b4.js} +1 -1
- package/dist/webcomponents/{p-8f25f016.js → p-8b16a20f.js} +1 -1
- package/dist/webcomponents/p-8bedece0.entry.js +1 -0
- package/dist/webcomponents/{p-e63fdbca.js → p-906a6027.js} +1 -1
- package/dist/webcomponents/p-939d0a35.entry.js +1 -0
- package/dist/webcomponents/{p-27c8ffa2.js → p-95e55bb1.js} +1 -1
- package/dist/webcomponents/p-95fbb4b0.entry.js +1 -0
- package/dist/webcomponents/p-9a4d0e1d.entry.js +1 -0
- package/dist/webcomponents/{p-14c91ffd.js → p-9dd8685c.js} +1 -1
- package/dist/webcomponents/p-9edd6ad8.js +1 -0
- package/dist/webcomponents/p-a0082e77.entry.js +1 -0
- package/dist/webcomponents/{p-1820fd87.entry.js → p-a31ba276.entry.js} +1 -1
- package/dist/webcomponents/p-a90d8f4f.entry.js +1 -0
- package/dist/webcomponents/p-ab45511e.js +1 -0
- package/dist/webcomponents/p-b1aa7d2b.entry.js +1 -0
- package/dist/webcomponents/p-b2d57b2c.entry.js +1 -0
- package/dist/webcomponents/p-b7084adc.js +1 -0
- package/dist/webcomponents/{p-f2f2e20e.js → p-b84ee6d8.js} +1 -1
- package/dist/webcomponents/p-c4ca0038.js +1 -0
- package/dist/webcomponents/p-c78b5581.js +1 -0
- package/dist/webcomponents/{p-0ea387a2.js → p-c9b78275.js} +1 -1
- package/dist/webcomponents/p-cba89310.entry.js +1 -0
- package/dist/webcomponents/p-cbb6cc19.js +1 -0
- package/dist/webcomponents/p-cbe05f11.js +1 -0
- package/dist/webcomponents/p-cc552f59.entry.js +1 -0
- package/dist/webcomponents/p-d398ce81.js +1 -0
- package/dist/webcomponents/p-d432f0fd.entry.js +1 -0
- package/dist/webcomponents/{p-849c68e5.js → p-d43a38a4.js} +1 -1
- package/dist/webcomponents/p-d5c41ec6.js +1 -0
- package/dist/webcomponents/{p-db37b175.entry.js → p-e007002a.entry.js} +1 -1
- package/dist/webcomponents/p-e15f749c.entry.js +1 -0
- package/dist/webcomponents/{p-1882d7d6.entry.js → p-e3e0d791.entry.js} +1 -1
- package/dist/webcomponents/p-e8cd9691.js +1 -0
- package/dist/webcomponents/{p-5baec916.entry.js → p-e8fc36c1.entry.js} +1 -1
- package/dist/webcomponents/p-e9e80a62.js +1 -0
- package/dist/webcomponents/{p-2710884e.entry.js → p-ea0f2446.entry.js} +1 -1
- package/dist/webcomponents/p-ebbe93ac.entry.js +1 -0
- package/dist/webcomponents/p-ec019b89.js +1 -0
- package/dist/webcomponents/p-edae0bb0.entry.js +1 -0
- package/dist/webcomponents/p-f162c569.entry.js +1 -0
- package/dist/webcomponents/p-f30cb232.js +1 -0
- package/dist/webcomponents/p-f4739d31.js +1 -0
- package/dist/webcomponents/{p-facada09.entry.js → p-f7d9ea0b.entry.js} +1 -1
- package/dist/webcomponents/{p-3e0f3d87.entry.js → p-fea43254.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/checkouts-list-params-state-418c75a3.js +0 -14
- package/dist/cjs/payouts-list-params-state-16348184.js +0 -14
- package/dist/cjs/terminals-list-params-state-95ff6a64.js +0 -14
- package/dist/config.js +0 -11
- package/dist/esm/checkouts-list-params-state-1d968971.js +0 -10
- package/dist/esm/payouts-list-params-state-49618e7a.js +0 -10
- package/dist/esm/terminals-list-params-state-2c48d35f.js +0 -10
- package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/config.d.ts +0 -11
- package/dist/webcomponents/p-01d4e35a.js +0 -1
- package/dist/webcomponents/p-02d36485.entry.js +0 -1
- package/dist/webcomponents/p-045d4ebf.entry.js +0 -1
- package/dist/webcomponents/p-08d87a52.entry.js +0 -1
- package/dist/webcomponents/p-0e68b7d6.entry.js +0 -1
- package/dist/webcomponents/p-131db5d1.entry.js +0 -1
- package/dist/webcomponents/p-1603fe4d.js +0 -1
- package/dist/webcomponents/p-16ba9bea.js +0 -1
- package/dist/webcomponents/p-18a7a9e6.entry.js +0 -1
- package/dist/webcomponents/p-1e8a1e01.entry.js +0 -1
- package/dist/webcomponents/p-25c9c88c.entry.js +0 -1
- package/dist/webcomponents/p-2916bb62.entry.js +0 -1
- package/dist/webcomponents/p-2f94d478.entry.js +0 -1
- package/dist/webcomponents/p-31e2d12c.entry.js +0 -1
- package/dist/webcomponents/p-35b00a0d.js +0 -1
- package/dist/webcomponents/p-39696abd.entry.js +0 -1
- package/dist/webcomponents/p-40e23b13.js +0 -1
- package/dist/webcomponents/p-40eabfca.entry.js +0 -1
- package/dist/webcomponents/p-44d2c762.entry.js +0 -1
- package/dist/webcomponents/p-4810f227.entry.js +0 -1
- package/dist/webcomponents/p-485814d8.entry.js +0 -1
- package/dist/webcomponents/p-4bad3621.js +0 -1
- package/dist/webcomponents/p-57206dc4.entry.js +0 -1
- package/dist/webcomponents/p-58f5e37b.entry.js +0 -1
- package/dist/webcomponents/p-5b72bab7.js +0 -1
- package/dist/webcomponents/p-62696f63.entry.js +0 -1
- package/dist/webcomponents/p-63a8b08f.entry.js +0 -1
- package/dist/webcomponents/p-63caad6e.entry.js +0 -1
- package/dist/webcomponents/p-66b6c56b.js +0 -1
- package/dist/webcomponents/p-67b75e01.entry.js +0 -1
- package/dist/webcomponents/p-68bf1a1d.entry.js +0 -1
- package/dist/webcomponents/p-6d2c8be2.entry.js +0 -1
- package/dist/webcomponents/p-72992c97.entry.js +0 -1
- package/dist/webcomponents/p-7b04f492.entry.js +0 -1
- package/dist/webcomponents/p-7bcec768.entry.js +0 -1
- package/dist/webcomponents/p-7c31ec70.js +0 -1
- package/dist/webcomponents/p-8da3667c.js +0 -1
- package/dist/webcomponents/p-933537ca.js +0 -1
- package/dist/webcomponents/p-9540d2f2.js +0 -1
- package/dist/webcomponents/p-960a8ec2.js +0 -1
- package/dist/webcomponents/p-98dad117.entry.js +0 -1
- package/dist/webcomponents/p-9ad6e792.entry.js +0 -1
- package/dist/webcomponents/p-9f773228.js +0 -1
- package/dist/webcomponents/p-a2076a0e.js +0 -1
- package/dist/webcomponents/p-a47c14cb.entry.js +0 -1
- package/dist/webcomponents/p-aa02cf71.js +0 -1
- package/dist/webcomponents/p-b01405ab.entry.js +0 -1
- package/dist/webcomponents/p-b15ad5df.js +0 -1
- package/dist/webcomponents/p-b2209632.entry.js +0 -1
- package/dist/webcomponents/p-b6e90400.entry.js +0 -1
- package/dist/webcomponents/p-c75481bf.entry.js +0 -1
- package/dist/webcomponents/p-d0bde1cb.js +0 -1
- package/dist/webcomponents/p-d8c04275.js +0 -1
- package/dist/webcomponents/p-dd867d1f.js +0 -1
- package/dist/webcomponents/p-ddcd2ff7.entry.js +0 -1
- package/dist/webcomponents/p-e22df884.entry.js +0 -1
- package/dist/webcomponents/p-e8c3c23f.js +0 -1
- package/dist/webcomponents/p-e8d0f978.entry.js +0 -1
- package/dist/webcomponents/p-f0c0cbc8.entry.js +0 -1
- package/dist/webcomponents/p-f694e1c8.js +0 -1
- package/dist/webcomponents/p-fa2b405c.entry.js +0 -1
- package/dist/webcomponents/p-fbe16023.entry.js +0 -1
- package/dist/webcomponents/p-fdbcd486.js +0 -1
- package/dist/webcomponents/p-ff955a18.entry.js +0 -1
- /package/dist/collection/{components/business-details → actions/business}/get-business.js +0 -0
- /package/dist/collection/{components → actions}/checkout/checkout-actions.js +0 -0
- /package/dist/collection/{components/checkouts-list → actions/checkout}/get-checkouts.js +0 -0
- /package/dist/collection/{components/dispute-management → actions/dispute}/dispute-actions.js +0 -0
- /package/dist/collection/{components/gross-payment-chart → actions/gross-payment}/get-gross-payment-chart-data.js +0 -0
- /package/dist/collection/{components → actions}/insurance/insurance-actions.js +0 -0
- /package/dist/collection/{components/payment-details → actions/payment}/get-payment-details.js +0 -0
- /package/dist/collection/{components/payments-list → actions/payment}/get-payments.js +0 -0
- /package/dist/collection/{components/payout-details → actions/payout}/get-payout-details.js +0 -0
- /package/dist/collection/{components/payouts-list → actions/payout}/get-payouts.js +0 -0
- /package/dist/collection/{components/terminals-list → actions/terminal}/get-terminal-detail.js +0 -0
- /package/dist/collection/{components/terminals-list → actions/terminal}/get-terminals.js +0 -0
- /package/dist/types/{components/business-details → actions/business}/get-business.d.ts +0 -0
- /package/dist/types/{components → actions}/checkout/checkout-actions.d.ts +0 -0
- /package/dist/types/{components/checkouts-list → actions/checkout}/get-checkouts.d.ts +0 -0
- /package/dist/types/{components/dispute-management → actions/dispute}/dispute-actions.d.ts +0 -0
- /package/dist/types/{components/gross-payment-chart → actions/gross-payment}/get-gross-payment-chart-data.d.ts +0 -0
- /package/dist/types/{components → actions}/insurance/insurance-actions.d.ts +0 -0
- /package/dist/types/{components/payment-details → actions/payment}/get-payment-details.d.ts +0 -0
- /package/dist/types/{components/payments-list → actions/payment}/get-payments.d.ts +0 -0
- /package/dist/types/{components/payout-details → actions/payout}/get-payout-details.d.ts +0 -0
- /package/dist/types/{components/payouts-list → actions/payout}/get-payouts.d.ts +0 -0
- /package/dist/types/{api → actions/sub-account}/get-subaccounts.d.ts +0 -0
- /package/dist/types/{components/terminals-list → actions/terminal}/get-terminal-detail.d.ts +0 -0
- /package/dist/types/{components/terminals-list → actions/terminal}/get-terminals.d.ts +0 -0
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { makeGetCheckouts } from "
|
|
2
|
+
import { makeGetCheckouts } from "../../actions/checkout/get-checkouts";
|
|
3
3
|
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
4
|
-
import { config } from "../../../config";
|
|
5
4
|
import JustifiAnalytics from "../../api/Analytics";
|
|
6
5
|
import { CheckoutService } from "../../api/services/checkout.service";
|
|
7
6
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
|
|
8
7
|
import { SubAccountService } from "../../api/services/subaccounts.service";
|
|
9
|
-
import { makeGetSubAccounts } from "../../
|
|
8
|
+
import { makeGetSubAccounts } from "../../actions/sub-account/get-subaccounts";
|
|
10
9
|
import { StyledHost } from "../../ui-components";
|
|
11
10
|
import { defaultColumnsKeys } from "./checkouts-table";
|
|
12
11
|
export class CheckoutsList {
|
|
@@ -20,7 +19,7 @@ export class CheckoutsList {
|
|
|
20
19
|
this.errorMessage = null;
|
|
21
20
|
this.accountId = undefined;
|
|
22
21
|
this.authToken = undefined;
|
|
23
|
-
this.apiOrigin =
|
|
22
|
+
this.apiOrigin = PROXY_API_ORIGIN;
|
|
24
23
|
this.columns = defaultColumnsKeys;
|
|
25
24
|
}
|
|
26
25
|
componentWillLoad() {
|
|
@@ -67,7 +66,7 @@ export class CheckoutsList {
|
|
|
67
66
|
}
|
|
68
67
|
}
|
|
69
68
|
render() {
|
|
70
|
-
return (h(StyledHost, { key: '
|
|
69
|
+
return (h(StyledHost, { key: 'ae2a18885c69808bd589848ae1b33f4a4a3085e9' }, h("checkouts-list-core", { key: '86201976540a348eb800ee07e9c50f68a1f1a1cf', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
71
70
|
}
|
|
72
71
|
static get is() { return "justifi-checkouts-list"; }
|
|
73
72
|
static get encapsulation() { return "shadow"; }
|
|
@@ -123,7 +122,7 @@ export class CheckoutsList {
|
|
|
123
122
|
},
|
|
124
123
|
"attribute": "api-origin",
|
|
125
124
|
"reflect": false,
|
|
126
|
-
"defaultValue": "
|
|
125
|
+
"defaultValue": "PROXY_API_ORIGIN"
|
|
127
126
|
},
|
|
128
127
|
"columns": {
|
|
129
128
|
"type": "string",
|
|
@@ -50,7 +50,7 @@ export class DisputeManagementCore {
|
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (h("div", { key: '
|
|
53
|
+
return (h("div", { key: '5a8663529813801b730d449c835cfafb9924d860' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
|
|
54
54
|
}
|
|
55
55
|
static get is() { return "justifi-dispute-management-core"; }
|
|
56
56
|
static get properties() {
|
|
@@ -2,9 +2,8 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
|
|
3
3
|
import JustifiAnalytics from "../../api/Analytics";
|
|
4
4
|
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
5
|
-
import { makeGetDispute } from "
|
|
5
|
+
import { makeGetDispute } from "../../actions/dispute/dispute-actions";
|
|
6
6
|
import { DisputeService } from "../../api/services/dispute.service";
|
|
7
|
-
import { config } from "../../../config";
|
|
8
7
|
export class DisputeManagement {
|
|
9
8
|
constructor() {
|
|
10
9
|
this.handleErrorEvent = event => {
|
|
@@ -13,7 +12,7 @@ export class DisputeManagement {
|
|
|
13
12
|
};
|
|
14
13
|
this.disputeId = undefined;
|
|
15
14
|
this.authToken = undefined;
|
|
16
|
-
this.apiOrigin =
|
|
15
|
+
this.apiOrigin = PROXY_API_ORIGIN;
|
|
17
16
|
this.getDispute = undefined;
|
|
18
17
|
this.errorMessage = null;
|
|
19
18
|
}
|
|
@@ -48,7 +47,7 @@ export class DisputeManagement {
|
|
|
48
47
|
}
|
|
49
48
|
}
|
|
50
49
|
render() {
|
|
51
|
-
return (h("justifi-dispute-management-core", { key: '
|
|
50
|
+
return (h("justifi-dispute-management-core", { key: 'ae0e4a208d6250c4da7033e1d8bf8c33ec041c36', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
|
|
52
51
|
}
|
|
53
52
|
static get is() { return "justifi-dispute-management"; }
|
|
54
53
|
static get properties() {
|
|
@@ -103,7 +102,7 @@ export class DisputeManagement {
|
|
|
103
102
|
},
|
|
104
103
|
"attribute": "api-origin",
|
|
105
104
|
"reflect": false,
|
|
106
|
-
"defaultValue": "
|
|
105
|
+
"defaultValue": "PROXY_API_ORIGIN"
|
|
107
106
|
}
|
|
108
107
|
};
|
|
109
108
|
}
|
|
@@ -35,7 +35,7 @@ export class DisputeNotification {
|
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
37
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
38
|
-
return (h(StyledHost, { key: '
|
|
38
|
+
return (h(StyledHost, { key: '77119b1227200909f4742e24df0a45e1f631c65c' }, this.isLoading && (h("div", { key: 'f0766ff057fb2f4b75b34c7d4a386bde43e49652', style: { marginBottom: '8px' } }, h(Skeleton, { key: 'd7268194dea5ac2a3b87aea8e17573b4768e308f', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: 'f8863e45a917f56be302ca1b0b3d472119f6465c', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: 'c7b8c9c89d9488eea3be8ea0b4536f98a8151487', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: '875fe7def317ce1c4547e04e83baf2b232209058', part: text }, h("h1", { key: '09646afc2aac3bf4ef9737bc12442660bbafb2dd', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: '14224cffb16726eaa589118be954e0f844ffaee8' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '415028b91872a2391796872fdffdbee837a2a511', class: "h5" }, "Dispute details"), h("div", { key: 'c2b8c6be3132f98eb8c686ab88a5a6a68f92a60e', class: "d-table gap-2" }, h("div", { key: 'd11bd8b3bc680183e8bee40281cc2c294aedbd5a', class: "d-table-row gap-2" }, h("span", { key: 'd77796c0d2764329c3b482ae49ceb8b4cac03d37', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: '716d8af2a250c3237af6e23b43bf50e032e9f203', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_b = this.dispute) === null || _b === void 0 ? void 0 : _b.amount))), h("div", { key: 'daba4379197533d2a4b246e81139d81cd15761c6', class: "d-table-row gap-2" }, h("span", { key: 'a039fbf47aff16445e3411c33a7b53716c42866d', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '19087aba5c516d0c71e9f84e8b3323a044ae532a', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_c = this.dispute) === null || _c === void 0 ? void 0 : _c.reason)), h("div", { key: '68ef78b15627df3b22bcde4b90f7c216466e7468', class: "d-table-row gap-2" }, h("span", { key: '9463c281d76b5e201a55c2993253fc22d04168dc', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: '5cffed27038f5571f37377c5023a88c8b7773a59', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.id))), h("div", { key: 'e856d924edac10116781425f6d7c4c8c6b26ced2', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '6d5278a91f79c2fe8fbdd9e391b109a6491b13b6', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '242b9076b482aae731ab6bedc1592a1a826e24c5', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: 'f3711546ce5bf8b6a4a8689f5db3fdbf58f45bf4' }, h("h1", { key: '06e39be43cfacf667919adbd2f4f8c596702c340', class: "h4" }, "This payment is disputed and under review"), h("p", { key: 'b3bfef2d40e197f8dc9df6f71d9f13017a4b923d' }, "The cardholder is disputing this payment. A counter dispute has been submitEvent and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (h("div", { key: 'cb6185865417d70ab67734db37b880f67160ea62' }, h("h1", { key: '96dfe178f6d5de97f190f0df6bb0bf19e7b04227', class: "h4" }, "This payment was disputed"), h("p", { key: '4f6e8bdd940b69d34c1d84564b83f0a1f8c76059' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.lost) && (h("div", { key: '3852f5221f59739d5079ad0e56b99409167678b0' }, h("h1", { key: 'f6052feaabc3b94c727465a8f02534805ba968c8', class: "h4" }, "This payment was disputed"), h("p", { key: 'b0c91b828828842bf7a706e794124d0a8404c25e' }, "The cardholder disputed this payment and the card issuer has settled it their favor.")))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "justifi-dispute-notification"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/dispute-management/dispute-response/additional-statement.js
CHANGED
|
@@ -38,7 +38,7 @@ export class AdditionalStatement {
|
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
40
|
var _a;
|
|
41
|
-
return (h("div", { key: '
|
|
41
|
+
return (h("div", { key: '083f14b645e1e04bdcbf966ae3b7849559c41104' }, h("div", { key: '08bfee9d04c586bb56a5a077363f05c39aad1330', class: "row gy-3" }, h("div", { key: 'd118d863cfd771562eea8ab95027e0c68f78fb83', class: "col-12" }, h("h2", { key: 'ed467dd3210f8a7f8da11e0c38ab6e2b30cf7137', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: 'aabe0f4f662cd44db39b28d17bd37514aa7e3be0', class: "col-12" }, h("form-control-textarea", { key: 'ea4c86dd49d91ed386db8e00bf42315813a0ee62', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: 'a9279734278c970e210795ca6a52c1fd9e44de91', class: "col-12" }, h("form-control-file-v2", { key: 'edc1e80a9a2115ca0b0aacaf43bec320edcce150', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: this.handleFileSelection })))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "justifi-additional-statement"; }
|
|
44
44
|
static get properties() {
|
package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js
CHANGED
|
@@ -36,7 +36,7 @@ export class CancellationPolicy {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
var _a, _b;
|
|
39
|
-
return (h("div", { key: '
|
|
39
|
+
return (h("div", { key: 'a3547f9f1e7f9a00e08a63302138574b1e21ac77' }, h("div", { key: '5cb90af6d52f208e70e82abe7486f8f02320b94b', class: "row gy-3" }, h("div", { key: 'b042e320b7017a836f0d075ca9131dfeaf696eaf', class: "col-12" }, h("h2", { key: '6d055390874e5679f073a4641933aa979864c916', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: 'd05a7f01f33b16b887fcd08d8dbccd6656286cc6', class: "col-12" }, h("form-control-textarea", { key: 'd6a09e94f42aee41d7147be39df6cd1771ea4b36', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: '4d72c534c23013caa94ba3f61a3570f742194c45', class: "col-12" }, h("form-control-textarea", { key: 'b63ddec49b8ca7e10b1a7003d6cbab7e22c667d6', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: '13f3dddacbf160789af2364455e138ea156929b9', class: "col-12" }, h("form-control-file-v2", { key: '9f950b05c37edf21f342ef880d0c784df93b11d5', label: "Upload Cancellation Policy", name: "cancellation_policy_file", onChange: this.handleFileSelection })))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "justifi-cancellation-policy"; }
|
|
42
42
|
static get properties() {
|
|
@@ -36,7 +36,7 @@ export class CustomerDetails {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
var _a, _b, _c;
|
|
39
|
-
return (h("div", { key: '
|
|
39
|
+
return (h("div", { key: '7c8bb0293eee2006e4e8e7aa65a692b3ce211c43' }, h("div", { key: '677de6f4bbf636dbbba97f5a188b076985fc6f0a', class: "row gy-3" }, h("div", { key: 'b1044548517ab9bc2f8a873965e1f81fd98a6216', class: "col-12" }, h("h2", { key: 'e3c6706441eee0adbfdf540528511353686d1fb9', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '2e5e5eda8c07941358a02430aa06bcd4ce13a5ca', class: "col-12" }, h("form-control-text", { key: '6271fd7c5def3e501501f5a8af00bcbc77b5e67d', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: '4347830601eda422e863cbdd70cf4d9862d19fb2', class: "col-12" }, h("form-control-text", { key: '4dbb512ac5a81de067d2fb9c2b9edeffda1f199b', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: 'ee16ae4bd2ea9c4e3949af9705e05fd6709b7f5d', class: "col-12" }, h("form-control-textarea", { key: 'd2339c6ebc8ffbe24f68ce079f0d623f7107cf29', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: 'eff1fb76a8cab96b0fba6e7b8a1aab2b6dc405e7', class: "col-12" }, h("form-control-file-v2", { key: 'ece727a3d010e0ba4741874992ed3e92d711b338', label: "Customer Signature", name: "customer_signature", onChange: this.handleFileSelection })), h("div", { key: 'b585af6033d79e16a71ff8ff9ee34176910ae109', class: "col-12" }, h("form-control-file-v2", { key: '74473ea1ac14a7efaa4a0032bea1d2c4b5ca6339', label: "Customer Communication", name: "customer_communication", onChange: this.handleFileSelection })))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "justifi-customer-details"; }
|
|
42
42
|
static get properties() {
|
package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js
CHANGED
|
@@ -153,7 +153,7 @@ export class DisputeResponseCore {
|
|
|
153
153
|
return this.currentStep === 0;
|
|
154
154
|
}
|
|
155
155
|
render() {
|
|
156
|
-
return (h("div", { key: '
|
|
156
|
+
return (h("div", { key: 'a031de7ea80f4f31c6e841be4b4640a8b7db7dcd', class: "row gy-3" }, h("div", { key: 'cd7ef54b4643e1a74022ed7c2e075e75076c4c44', class: "col-12" }, h("h1", { key: '705612783bc67e0d01f4d24e01c9c09d1b2a7362', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '72c35e89dc87377fe4dbcbb9fe2e2c1b58767a21', class: "col-12" }, this.currentStepComponent), h("div", { key: '37d85a8980293390f15b45271f8b2a8fa4cadb29', class: "col-12" }, h("div", { key: 'c3b281e02b19598b11acdb09a34212edf1745173', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
|
|
157
157
|
}
|
|
158
158
|
static get is() { return "justifi-dispute-response-core"; }
|
|
159
159
|
static get properties() {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { checkPkgVersion } from "../../../utils/check-pkg-version";
|
|
3
|
-
import { config } from "../../../../config";
|
|
4
3
|
import { StyledHost } from "../../../ui-components";
|
|
5
4
|
import { makeCreateDisputeEvidence, makeUpdateDisputeResponse, makeSubmitDisputeResponse } from "./dispute-response-actions";
|
|
6
5
|
import JustifiAnalytics from "../../../api/Analytics";
|
|
@@ -19,7 +18,7 @@ export class DisputeResponse {
|
|
|
19
18
|
this.authToken = undefined;
|
|
20
19
|
this.disputeId = undefined;
|
|
21
20
|
this.disputeResponse = undefined;
|
|
22
|
-
this.apiOrigin =
|
|
21
|
+
this.apiOrigin = PROXY_API_ORIGIN;
|
|
23
22
|
}
|
|
24
23
|
componentWillLoad() {
|
|
25
24
|
checkPkgVersion();
|
|
@@ -60,7 +59,7 @@ export class DisputeResponse {
|
|
|
60
59
|
}
|
|
61
60
|
}
|
|
62
61
|
render() {
|
|
63
|
-
return (h(StyledHost, { key: '
|
|
62
|
+
return (h(StyledHost, { key: '4c0cd0b8a082d9f2f4428868d88cbb9bde2a3a5d' }, h("justifi-dispute-response-core", { key: '58bbf7f5b2ce8efea0467efddfeffe3c752a3402', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
|
|
64
63
|
}
|
|
65
64
|
;
|
|
66
65
|
static get is() { return "justifi-dispute-response"; }
|
|
@@ -137,7 +136,7 @@ export class DisputeResponse {
|
|
|
137
136
|
},
|
|
138
137
|
"attribute": "api-origin",
|
|
139
138
|
"reflect": false,
|
|
140
|
-
"defaultValue": "
|
|
139
|
+
"defaultValue": "PROXY_API_ORIGIN"
|
|
141
140
|
}
|
|
142
141
|
};
|
|
143
142
|
}
|
|
@@ -36,7 +36,7 @@ export class DuplicateCharge {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
var _a, _b;
|
|
39
|
-
return (h("div", { key: '
|
|
39
|
+
return (h("div", { key: '3714de9262cead1d09db56792ba11b3357f54a0a' }, h("div", { key: '10d1612387d0d5085a1e98b761a59eff4fb8d9a9', class: "row gy-3" }, h("div", { key: 'b69b5b378e9104c5aa413a7099868b8376dac04c', class: "col-12" }, h("h2", { key: '39c935c74773c20de95b7f735e7efc11e1b16618', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '63531ffa973de2f6948ad61091467661cd22c917', class: "col-12" }, h("form-control-text", { key: '8a1346115f3e3c1e12e6b6fc50d816829dd218f6', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: '7f6f5ba85681e208d2c5727c1d3d6512e43df99a', class: "col-12" }, h("form-control-textarea", { key: '4265b06d5980c7bea096c001f52d80180c20fec5', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: '9bdfeb8fd8d334de4bf51d10e76752a28d54ff55', class: "col-12" }, h("form-control-file-v2", { key: '03062c1a7e8e2dc98cc8b43394562720843d4956', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: this.handleFileSelection })))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "justifi-duplicate-charge"; }
|
|
42
42
|
static get properties() {
|
package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js
CHANGED
|
@@ -36,7 +36,7 @@ export class ElectronicEvidence {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
var _a;
|
|
39
|
-
return (h("div", { key: '
|
|
39
|
+
return (h("div", { key: 'a75975ee478e0754c38e67edd1fbf702364f23a7' }, h("div", { key: '32f60518951cd7270901c50b44acf11bde22a041', class: "row gy-3" }, h("div", { key: '8f3aed3249af4852b3ef9d35b5ad09b80947c5b3', class: "col-12" }, h("h2", { key: '7fee82b939aab2131eb573fcf3189aac8a816e7d', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: 'db919599078f089e70b182b44980a62588ce90cf', class: "col-12" }, h("form-control-text", { key: 'ea3e78ebe16d9def88b08910a700f01f5f5e0992', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: 'e4d03c158110ef7d10bf290b036536bc654f36ea', class: "col-12" }, h("form-control-file-v2", { key: 'a87c4d1502434b740e41e01a3ddc33d5d069557d', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: this.handleFileSelection, errorText: this.errors.activity_log })))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "justifi-electronic-evidence"; }
|
|
42
42
|
static get properties() {
|
package/dist/collection/components/dispute-management/dispute-response/product-or-service.js
CHANGED
|
@@ -36,7 +36,7 @@ export class ProductOrService {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
var _a, _b;
|
|
39
|
-
return (h("div", { key: '
|
|
39
|
+
return (h("div", { key: '5a6f2b3a9c40e31c2be9a0c98abb64793ac37996' }, h("div", { key: '7ff77c4cba89dad5195aed658a13f559953f9632', class: "row gy-3" }, h("div", { key: '407d0c1d31ec876fcd1a7ba0f160caeecf8ea2f6', class: "col-12" }, h("h2", { key: '6da19469c4d0570d666e7d57144f60a7c2ec0a53', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '35c1de85ef91b00d26231c836f9ea56cb1b83a44', class: "col-12" }, h("form-control-text", { key: '48027fd45015c44bf0a15b53bba6976422002d4f', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '96966b5a210ac7c21b7c39d12967619044227055', class: "col-12" }, h("form-control-text", { key: 'ed1d72fd0768e58df68f3df48f1e7d4ed2c6a9ed', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '74b8735faf5261fd631539c0447903b9c94abd1b', class: "col-12" }, h("form-control-file-v2", { key: '24273cc84eded001b7224aa3c413c444f8697798', label: "Service Documentation", name: "service_documentation", onChange: this.handleFileSelection, errorText: this.errors.service_documentation })))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "justifi-product-or-service"; }
|
|
42
42
|
static get properties() {
|
|
@@ -36,7 +36,7 @@ export class RefundPolicy {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
var _a, _b;
|
|
39
|
-
return (h("div", { key: '
|
|
39
|
+
return (h("div", { key: '703c5efe2968f84e6cc83ee725c23170076d43b5' }, h("div", { key: 'c04272ce41b0591b3f03f469ff531bc90de82c73', class: "row gy-3" }, h("div", { key: 'e50b1bfe25275aafcbc1ba2a78e1c64957744808', class: "col-12" }, h("h2", { key: '0f61003e430d370024f9f81b67755feb24646b62', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: 'e6e6b3154767c841dcdcd77766fccd2403d19512', class: "col-12" }, h("form-control-textarea", { key: '2d57333ac337dd0045dbfc764e85a9d5ae3a4d7e', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: 'bf37aa030c4d45a75899a7933bb3fe13729a5507', class: "col-12" }, h("form-control-textarea", { key: 'cd5c88fc04d6b8f0489b080eacc81b2e301e0480', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: '7bad042eda98c6f94772734708046de75946b48f', class: "col-12" }, h("form-control-file-v2", { key: 'ff350d9ea2dc50b7b306c2127384732816576865', label: "Upload Refund Policy", name: "refund_policy", onChange: this.handleFileSelection })), h("div", { key: '3dbd9e591e6a38ba57fa4bddb5f876c50b480a78', class: "col-12" }, h("form-control-file-v2", { key: 'fd6df99ca40e36ba36be6ab127f104506697e623', label: "Upload Receipt", name: "receipt", onChange: this.handleFileSelection })))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "justifi-refund-policy"; }
|
|
42
42
|
static get properties() {
|
|
@@ -36,7 +36,7 @@ export class ShippingDetails {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
var _a, _b, _c, _d;
|
|
39
|
-
return (h("div", { key: '
|
|
39
|
+
return (h("div", { key: '67cfe365cdb518bfd098502e11d24fff63581052' }, h("div", { key: '6adf6e14084452e52cfa6bce8433c3531e7e5a95', class: "row gy-3" }, h("div", { key: '2ea11029c2d0c3f7c1bd75ea52f50a84cf4a23c7', class: "col-12" }, h("h2", { key: 'ca0e8158b9c7b31bd627ad48dab5c6f59e8c33b9', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '71a3ff8825b1d824d262cf78e1ce226cc265453b', class: "col-12" }, h("form-control-text", { key: 'b1436af6043ec687d245b923d0df7605a47bb9d5', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '3d163ebab9371d6ba03f7859c851518c2b9c42e0', class: "col-12" }, h("form-control-text", { key: 'b37976e6a54dc322cfbfb44081dd57e6425cba9c', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '3476796fbca30f969fe71da1c049dc83ed691891', class: "col-12" }, h("form-control-date", { key: 'ba734764e4702ee2f1846f3f580cdbf0e7156ff6', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '8f2690c1f1fddaad3915f1b8aca5f934a45b5f71', class: "col-12" }, h("form-control-textarea", { key: 'dd26eedba648b038e2b414825d7f26c1a326db2f', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: 'ce3e63025adfe560a466522411d93968d8abd420', class: "col-12" }, h("form-control-file-v2", { key: '099d48a3c6b2b7999442e1a0609c4fdac2f67c66', label: "Shipping Documentation", name: "shipping_documentation", onChange: this.handleFileSelection })))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "justifi-shipping-details"; }
|
|
42
42
|
static get properties() {
|
|
@@ -69,7 +69,7 @@ export class GrossPaymentChartCore {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
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)));
|
|
73
73
|
}
|
|
74
74
|
static get is() { return "gross-payment-chart-core"; }
|
|
75
75
|
static get properties() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { ReportsService } from "../../api/services/reports.service";
|
|
3
|
-
import { makeGetGrossPaymentChartData } from "
|
|
3
|
+
import { makeGetGrossPaymentChartData } from "../../actions/gross-payment/get-gross-payment-chart-data";
|
|
4
4
|
import { ErrorState } from "../../ui-components/details/utils";
|
|
5
5
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
|
|
6
6
|
import JustifiAnalytics from "../../api/Analytics";
|
package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { InsuranceService } from "../../../api/services/insurance.service";
|
|
3
|
-
import { makeGetQuote, makeToggleCoverage } from "
|
|
3
|
+
import { makeGetQuote, makeToggleCoverage } from "../../../actions/insurance/insurance-actions";
|
|
4
4
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../../api/ComponentError";
|
|
5
5
|
import JustifiAnalytics from "../../../api/Analytics";
|
|
6
6
|
import { checkPkgVersion } from "../../../utils/check-pkg-version";
|
|
@@ -55,7 +55,7 @@ export class SeasonInterruptionInsurance {
|
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
return (h("justifi-season-interruption-insurance-core", { key: '
|
|
58
|
+
return (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 }));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "justifi-season-interruption-insurance"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { Skeleton } from "../../ui-components";
|
|
3
|
+
const FormBlock = () => (h("div", { class: "row gap-3" }, h("div", { class: "col-12" }, h(Skeleton, { width: "25%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "100%" })), h("div", { class: "col-12 d-flex gap-3" }, h(Skeleton, { width: "50%" }), h(Skeleton, { width: "50%" })), h("div", { class: "col-12 d-flex gap-3" }, h(Skeleton, { width: "65%" }), h(Skeleton, { width: "35%" }))));
|
|
4
|
+
export const OrderTerminalsLoading = () => {
|
|
5
|
+
return (h("div", { class: "row gap-5" }, h("div", { class: "col-12" }, h(Skeleton, { width: "40%", height: "40px" })), h(FormBlock, null), h(FormBlock, null), h(FormBlock, null)));
|
|
6
|
+
};
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { StyledHost } from "../../ui-components";
|
|
3
|
+
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
4
|
+
import JustifiAnalytics from "../../api/Analytics";
|
|
5
|
+
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
|
|
6
|
+
import { BusinessService } from "../../api/services/business.service";
|
|
7
|
+
import { ErrorState } from "../../ui-components/details/utils";
|
|
8
|
+
import { Business } from "../../api/Business";
|
|
9
|
+
import { makeGetBusiness } from "../../actions/business/get-business";
|
|
10
|
+
import { OrderTerminalsLoading } from "./order-terminals-loading";
|
|
11
|
+
import { heading4, listGroup, listGroupItem, text } from "../../styles/parts";
|
|
12
|
+
export class OrderTerminals {
|
|
13
|
+
constructor() {
|
|
14
|
+
this.businessId = undefined;
|
|
15
|
+
this.authToken = undefined;
|
|
16
|
+
this.errorMessage = undefined;
|
|
17
|
+
this.isLoading = true;
|
|
18
|
+
this.business = undefined;
|
|
19
|
+
}
|
|
20
|
+
componentWillLoad() {
|
|
21
|
+
checkPkgVersion();
|
|
22
|
+
this.analytics = new JustifiAnalytics(this);
|
|
23
|
+
this.initializeGetBusiness();
|
|
24
|
+
}
|
|
25
|
+
initializeGetBusiness() {
|
|
26
|
+
if (!this.businessId || !this.authToken) {
|
|
27
|
+
this.errorMessage = 'Invalid business id or auth token';
|
|
28
|
+
this.errorEvent.emit({
|
|
29
|
+
errorCode: ComponentErrorCodes.MISSING_PROPS,
|
|
30
|
+
message: this.errorMessage,
|
|
31
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
32
|
+
});
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
const getBusiness = makeGetBusiness({
|
|
36
|
+
id: this.businessId,
|
|
37
|
+
authToken: this.authToken,
|
|
38
|
+
service: new BusinessService(),
|
|
39
|
+
});
|
|
40
|
+
getBusiness({
|
|
41
|
+
onSuccess: ({ business }) => {
|
|
42
|
+
this.business = new Business(business);
|
|
43
|
+
this.isLoading = false;
|
|
44
|
+
},
|
|
45
|
+
onError: ({ error, code, severity }) => {
|
|
46
|
+
this.errorMessage = error;
|
|
47
|
+
this.errorEvent.emit({
|
|
48
|
+
errorCode: code,
|
|
49
|
+
message: error,
|
|
50
|
+
severity,
|
|
51
|
+
});
|
|
52
|
+
this.isLoading = false;
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
render() {
|
|
57
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
58
|
+
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 :
|
|
59
|
+
_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 :
|
|
60
|
+
_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 :
|
|
61
|
+
_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 :
|
|
62
|
+
_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 :
|
|
63
|
+
_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 :
|
|
64
|
+
_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 :
|
|
65
|
+
_m.city), h("li", { key: '9acd18a7faed0ab283e110c616d9314410a93cee', class: "list-group-item", part: listGroupItem }, "State: ", (_o = this.business.legal_address) === null || _o === void 0 ? void 0 :
|
|
66
|
+
_o.state))))))));
|
|
67
|
+
}
|
|
68
|
+
static get is() { return "justifi-order-terminals"; }
|
|
69
|
+
static get encapsulation() { return "shadow"; }
|
|
70
|
+
static get properties() {
|
|
71
|
+
return {
|
|
72
|
+
"businessId": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"mutable": false,
|
|
75
|
+
"complexType": {
|
|
76
|
+
"original": "string",
|
|
77
|
+
"resolved": "string",
|
|
78
|
+
"references": {}
|
|
79
|
+
},
|
|
80
|
+
"required": false,
|
|
81
|
+
"optional": false,
|
|
82
|
+
"docs": {
|
|
83
|
+
"tags": [],
|
|
84
|
+
"text": ""
|
|
85
|
+
},
|
|
86
|
+
"attribute": "business-id",
|
|
87
|
+
"reflect": false
|
|
88
|
+
},
|
|
89
|
+
"authToken": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"mutable": false,
|
|
92
|
+
"complexType": {
|
|
93
|
+
"original": "string",
|
|
94
|
+
"resolved": "string",
|
|
95
|
+
"references": {}
|
|
96
|
+
},
|
|
97
|
+
"required": false,
|
|
98
|
+
"optional": false,
|
|
99
|
+
"docs": {
|
|
100
|
+
"tags": [],
|
|
101
|
+
"text": ""
|
|
102
|
+
},
|
|
103
|
+
"attribute": "auth-token",
|
|
104
|
+
"reflect": false
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
static get states() {
|
|
109
|
+
return {
|
|
110
|
+
"errorMessage": {},
|
|
111
|
+
"isLoading": {},
|
|
112
|
+
"business": {}
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
static get events() {
|
|
116
|
+
return [{
|
|
117
|
+
"method": "errorEvent",
|
|
118
|
+
"name": "error-event",
|
|
119
|
+
"bubbles": true,
|
|
120
|
+
"cancelable": true,
|
|
121
|
+
"composed": true,
|
|
122
|
+
"docs": {
|
|
123
|
+
"tags": [],
|
|
124
|
+
"text": ""
|
|
125
|
+
},
|
|
126
|
+
"complexType": {
|
|
127
|
+
"original": "ComponentErrorEvent",
|
|
128
|
+
"resolved": "ComponentErrorEvent",
|
|
129
|
+
"references": {
|
|
130
|
+
"ComponentErrorEvent": {
|
|
131
|
+
"location": "import",
|
|
132
|
+
"path": "../../api",
|
|
133
|
+
"id": "src/api/index.ts::ComponentErrorEvent"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}];
|
|
138
|
+
}
|
|
139
|
+
}
|
|
@@ -39,14 +39,14 @@ export class PaymentDetailsCore {
|
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h(StyledHost, { key: '
|
|
43
|
-
this.payment && (h("justifi-details", { key: '
|
|
44
|
-
h(DetailSectionTitle, { key: '
|
|
45
|
-
h("div", { key: '
|
|
42
|
+
return (h(StyledHost, { key: 'e03ea25b2d3a3388a613cc6fedd8912bb5092d63' }, this.loading && h(PaymentDetailsLoading, { key: '3343cc38deec7b87b2466b3bc43c0170a1962625' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
43
|
+
this.payment && (h("justifi-details", { key: '18e494e5cb1aaed74ec35dfff5c659061d30cb82', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '466e6c0105eb09485907674aec32752001949e53', slot: "head-info", badge: MapPaymentStatusToBadge(this.payment.status), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: '4da3f6800f98c2af8dfa6bae1ef464752aba14be', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '99a9e776d1dfc3ecf5de3d484212930824ebf4e2', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '55795658b170234f9f94ed97dbf45c9727f865fc', title: "ID", value: this.payment.id })), h("div", { key: '2b17cd70a0b8abe36596a61f8bf0c6ae039db579', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'a663bf74079da6a51ec611addf2adb25b8e4c950', sectionTitle: "Details" }), h("div", { key: '48b0e215500c30da77c3cc1f8f46199bda52dc24', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'd8311d8cf23d4e66effc7e2f86aa0bb56456f7ec', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '7084b4469a769fed1499f5c6cfd50e6caa88a1a5', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '40546b209614c410ff5725a01a60bbfde70cd4f6', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: 'd933346f3518d423b278a1ac41e603399c2c8b8b', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: 'f89fb7d083501dbdf481f63d0a587a6323a3fd6e', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: 'a2494f54c8a4f1792f373adf6a6e1dbab3e5798d', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '80a1118c3043a91d37bbb3da26a9fbdcf3d3b7ee', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '7787c8d9713ace6113c4685d2ea2279e570849eb', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: '7e12595f71d7dd2f85b8d332aa349d90df595727', title: "Description", value: this.payment.description })), this.payment.payment_method.card && [
|
|
44
|
+
h(DetailSectionTitle, { key: '9150caced60639279da39a84db67eef97199d78d', sectionTitle: "Payment Method" }),
|
|
45
|
+
h("div", { key: '5add69653bc6838ed1f1792217c04cf289f1a2f0', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '8dd22e082c3e4aa0b2836ee8e533d8dc63452498', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: 'c8130661f5684b91db68b4c9d8a45518e610d17b', title: "Payment Type", value: "Card" }), h(DetailItem, { key: 'f47a9d1689f67133bb9183e88830dff7b4ef64e8', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '9101ce4f03dbb78d9c4f825c3747871c275c7a86', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '93f34140d96fae056674b1767219ae94164160c7', title: "Cardholder", value: this.payment.payment_method.payersName }))
|
|
46
46
|
], this.payment.payment_method.bank_account && [
|
|
47
|
-
h(DetailSectionTitle, { key: '
|
|
48
|
-
h("div", { key: '
|
|
49
|
-
], h(DetailSectionTitle, { key: '
|
|
47
|
+
h(DetailSectionTitle, { key: '67cf738bc3e636aeaf97f0d66046d515ea096a50', sectionTitle: "Payment Method" }),
|
|
48
|
+
h("div", { key: '89d17e5925ad5057972f9bf11f558ff008409004', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '31ee0758b992bbe2672ac02a699cb6ad8c3f6631', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '43a23b3ea5c53a56b5888a798f0195f84933588b', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '79572125fe01f0bcd1d029dc36a723fac6bf7ceb', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '76633c06b486c6b2315ff6062d2beab0f4531a6d', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
49
|
+
], h(DetailSectionTitle, { key: 'f537f98a91e780c460052a7530ffb5fadc077562', sectionTitle: 'Metadata' }), h("div", { key: '324a3eb360ff1091154907f996cfd3f406f8c4d6', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'b52628f75fa99b719d7ad150cb678d686e77f3bf', metadata: this.payment.metadata })))))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "payment-details-core"; }
|
|
52
52
|
static get properties() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { PaymentService } from "../../api/services/payment.service";
|
|
3
|
-
import { makeGetPaymentDetails } from "
|
|
3
|
+
import { makeGetPaymentDetails } from "../../actions/payment/get-payment-details";
|
|
4
4
|
import { ErrorState } from "../../ui-components/details/utils";
|
|
5
5
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
|
|
6
6
|
import JustifiAnalytics from "../../api/Analytics";
|